hydrate-tfworkspaces
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-tfworkspaces@1a41b56befcd37d5585076623a4346da4fc5414e
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()
}
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)
}
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)
}
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)
}
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)
}
render() 🔗
Return Type
[Directory ! ] !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimName | String ! | - | No description provided |
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, dotFirestartrDir *Directory, claimName string) []*Directory {
return dag.
HydrateTfworkspaces(valuesDir, wetRepoDir, dotFirestartrDir).
Render(claimName)
}
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)
}
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
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
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