hydrate-tfworkspaces
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-tfworkspaces@0226ed335a5f2bd21e7576501f30af22064443fc
Entrypoint
Return Type
HydrateTfworkspaces !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
valuesDir | Directory ! | - | No description provided |
wetRepoDir | Directory ! | - | No description provided |
dotFirestartrDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory) *HydrateTfworkspaces {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir)
}
Types
HydrateTfworkspaces 🔗
valuesDir() 🔗
Return Type
Directory !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
ValuesDir()
}
wetRepoDir() 🔗
Return Type
Directory !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
WetRepoDir()
}
dotFirestartrDir() 🔗
Return Type
Directory !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
DotFirestartrDir()
}
config() 🔗
Return Type
HydrateTfworkspacesConfig !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory) *HydrateTfworkspacesConfig {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
Config()
}
addAnnotationsToCr() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
image | String ! | - | No description provided |
path | String ! | - | No description provided |
crsDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string, image string, path string, crsDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
AddAnnotationsToCr(claimName, image, path, crsDir)
}
addPrAnnotationToCr() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
prNumber | String ! | - | No description provided |
org | String ! | - | No description provided |
repo | String ! | - | No description provided |
crsDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string, prNumber string, org string, repo string, crsDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
AddPrAnnotationToCr(claimName, prNumber, org, repo, crsDir)
}
getCrFileByClaimName() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
dir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string, dir *Directory) *File {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
GetCrFileByClaimName(claimName, dir)
}
patchClaimWithInferredProviders() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
claimsDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string, claimsDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
PatchClaimWithInferredProviders(claimName, claimsDir)
}
findProvidersBy() 🔗
Return Type
HydrateTfworkspacesContext !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
resourceType | String ! | - | No description provided |
platform | String ! | - | No description provided |
tenant | String ! | - | No description provided |
env | String ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, resourceType string, platform string, tenant string, env string) *HydrateTfworkspacesContext {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
FindProvidersBy(resourceType, platform, tenant, env)
}
renderWithFirestartrContainer() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimsDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimsDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
RenderWithFirestartrContainer(claimsDir)
}
patchClaimWithNewImageValues() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
matrix | HydrateTfworkspacesImageMatrix ! | - | No description provided |
appDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, matrix *HydrateTfworkspacesImageMatrix, appDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
PatchClaimWithNewImageValues(matrix, appDir)
}
patchClaimWithPreviousImages() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
cr | HydrateTfworkspacesCr ! | - | No description provided |
appClaimsDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, cr *HydrateTfworkspacesCr, appClaimsDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
PatchClaimWithPreviousImages(cr, appClaimsDir)
}
patchClaim() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | String ! | - | No description provided |
value | String ! | - | No description provided |
yamlContent | String ! | - | No description provided |
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, path string, value string, yamlContent string) string {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
PatchClaim(ctx, path, value, yamlContent)
}
render() 🔗
Return Type
[Directory ! ] !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
app | String ! | - | No description provided |
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string, app string) []*Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
Render(claimName, app)
}
inferSecretsClaimData() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
app | String ! | - | No description provided |
secretsDir | Directory ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, app string, secretsDir *Directory) *Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
InferSecretsClaimData(app, secretsDir)
}
patchSecretClaimData() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
app | String ! | - | No description provided |
tenant | String ! | - | No description provided |
env | String ! | - | No description provided |
claimData | String ! | - | No description provided |
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, app string, tenant string, env string, claimData string) string {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
PatchSecretClaimData(ctx, app, tenant, env, claimData)
}
getPreviousCr() 🔗
Return Type
HydrateTfworkspacesCr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string) *HydrateTfworkspacesCr {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
GetPreviousCr(claimName)
}
HydrateTfworkspacesContext 🔗
providers() 🔗
Return Type
[HydrateTfworkspacesProvider ! ] !
Example
func (m *myModule) example(resourceType string, platform string, tenant string, env string) []*HydrateTfworkspacesProvider {
return dag.
HydrateTfworkspaces().
FindProvidersBy(resourceType, platform, tenant, env).
Providers()
}
backend() 🔗
Return Type
HydrateTfworkspacesBackend !
Example
func (m *myModule) example(resourceType string, platform string, tenant string, env string) *HydrateTfworkspacesBackend {
return dag.
HydrateTfworkspaces().
FindProvidersBy(resourceType, platform, tenant, env).
Backend()
}
HydrateTfworkspacesImageMatrix 🔗
images() 🔗
Return Type
[HydrateTfworkspacesImageData ! ] !
Example
Function HydrateTfworkspacesImageMatrix.images is not accessible from the hydrate-tfworkspaces module
HydrateTfworkspacesCr 🔗
kind() 🔗
Return Type
String !
Example
func (m *myModule) example(ctx context.Context, claimName string) string {
return dag.
HydrateTfworkspaces().
GetPreviousCr(claimName).
Kind(ctx)
}
metadata() 🔗
Return Type
HydrateTfworkspacesMetadata !
Example
func (m *myModule) example(claimName string) *HydrateTfworkspacesMetadata {
return dag.
HydrateTfworkspaces().
GetPreviousCr(claimName).
Metadata()
}
apiVersion() 🔗
Return Type
String !
Example
func (m *myModule) example(ctx context.Context, claimName string) string {
return dag.
HydrateTfworkspaces().
GetPreviousCr(claimName).
ApiVersion(ctx)
}
HydrateTfworkspacesConfig 🔗
image() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesConfig.image is not accessible from the hydrate-tfworkspaces module
HydrateTfworkspacesProvider 🔗
name() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesProvider.name is not accessible from the hydrate-tfworkspaces module
HydrateTfworkspacesBackend 🔗
name() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesBackend.name is not accessible from the hydrate-tfworkspaces module
HydrateTfworkspacesImageData 🔗
tenant() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.tenant is not accessible from the hydrate-tfworkspaces module
app() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.app is not accessible from the hydrate-tfworkspaces module
env() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.env is not accessible from the hydrate-tfworkspaces module
serviceNameList() 🔗
Return Type
[String ! ] !
Example
Function HydrateTfworkspacesImageData.serviceNameList is not accessible from the hydrate-tfworkspaces module
imageKeys() 🔗
Return Type
[String ! ] !
Example
Function HydrateTfworkspacesImageData.imageKeys is not accessible from the hydrate-tfworkspaces module
image() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.image is not accessible from the hydrate-tfworkspaces module
reviewers() 🔗
Return Type
[String ! ] !
Example
Function HydrateTfworkspacesImageData.reviewers is not accessible from the hydrate-tfworkspaces module
platform() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.platform is not accessible from the hydrate-tfworkspaces module
claim() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.claim is not accessible from the hydrate-tfworkspaces module
technology() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.technology is not accessible from the hydrate-tfworkspaces module
repositoryCaller() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesImageData.repositoryCaller is not accessible from the hydrate-tfworkspaces module
HydrateTfworkspacesMetadata 🔗
annotations() 🔗
Return Type
HydrateTfworkspacesAnnotations !
Example
Function HydrateTfworkspacesMetadata.annotations is not accessible from the hydrate-tfworkspaces module
HydrateTfworkspacesAnnotations 🔗
microServicePointer() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesAnnotations.microServicePointer is not accessible from the hydrate-tfworkspaces module
image() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesAnnotations.image is not accessible from the hydrate-tfworkspaces module
claimRef() 🔗
Return Type
String !
Example
Function HydrateTfworkspacesAnnotations.claimRef is not accessible from the hydrate-tfworkspaces module