Documentation ¶
Index ¶
- type DataArgs
- type DataPostrender
- type DataPostrenderAttributes
- func (p DataPostrenderAttributes) BinaryPath() terra.StringValue
- func (p DataPostrenderAttributes) InternalRef() (terra.Reference, error)
- func (p DataPostrenderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p DataPostrenderAttributes) InternalWithRef(ref terra.Reference) DataPostrenderAttributes
- type DataPostrenderState
- type DataSet
- type DataSetAttributes
- func (s DataSetAttributes) InternalRef() (terra.Reference, error)
- func (s DataSetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSetAttributes) InternalWithRef(ref terra.Reference) DataSetAttributes
- func (s DataSetAttributes) Name() terra.StringValue
- func (s DataSetAttributes) Type() terra.StringValue
- func (s DataSetAttributes) Value() terra.StringValue
- type DataSetList
- type DataSetListAttributes
- func (sl DataSetListAttributes) InternalRef() (terra.Reference, error)
- func (sl DataSetListAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl DataSetListAttributes) InternalWithRef(ref terra.Reference) DataSetListAttributes
- func (sl DataSetListAttributes) Name() terra.StringValue
- func (sl DataSetListAttributes) Value() terra.ListValue[terra.StringValue]
- type DataSetListState
- type DataSetSensitive
- type DataSetSensitiveAttributes
- func (ss DataSetSensitiveAttributes) InternalRef() (terra.Reference, error)
- func (ss DataSetSensitiveAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss DataSetSensitiveAttributes) InternalWithRef(ref terra.Reference) DataSetSensitiveAttributes
- func (ss DataSetSensitiveAttributes) Name() terra.StringValue
- func (ss DataSetSensitiveAttributes) Type() terra.StringValue
- func (ss DataSetSensitiveAttributes) Value() terra.StringValue
- type DataSetSensitiveState
- type DataSetState
- type DataSetString
- type DataSetStringAttributes
- func (ss DataSetStringAttributes) InternalRef() (terra.Reference, error)
- func (ss DataSetStringAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss DataSetStringAttributes) InternalWithRef(ref terra.Reference) DataSetStringAttributes
- func (ss DataSetStringAttributes) Name() terra.StringValue
- func (ss DataSetStringAttributes) Value() terra.StringValue
- type DataSetStringState
- type DataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataArgs ¶
type DataArgs struct { // ApiVersions: list of string, optional ApiVersions terra.ListValue[terra.StringValue] `hcl:"api_versions,attr"` // Atomic: bool, optional Atomic terra.BoolValue `hcl:"atomic,attr"` // Chart: string, required Chart terra.StringValue `hcl:"chart,attr" validate:"required"` // Crds: list of string, optional Crds terra.ListValue[terra.StringValue] `hcl:"crds,attr"` // CreateNamespace: bool, optional CreateNamespace terra.BoolValue `hcl:"create_namespace,attr"` // DependencyUpdate: bool, optional DependencyUpdate terra.BoolValue `hcl:"dependency_update,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Devel: bool, optional Devel terra.BoolValue `hcl:"devel,attr"` // DisableOpenapiValidation: bool, optional DisableOpenapiValidation terra.BoolValue `hcl:"disable_openapi_validation,attr"` // DisableWebhooks: bool, optional DisableWebhooks terra.BoolValue `hcl:"disable_webhooks,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IncludeCrds: bool, optional IncludeCrds terra.BoolValue `hcl:"include_crds,attr"` // IsUpgrade: bool, optional IsUpgrade terra.BoolValue `hcl:"is_upgrade,attr"` // Keyring: string, optional Keyring terra.StringValue `hcl:"keyring,attr"` // KubeVersion: string, optional KubeVersion terra.StringValue `hcl:"kube_version,attr"` // Manifest: string, optional Manifest terra.StringValue `hcl:"manifest,attr"` // Manifests: map of string, optional Manifests terra.MapValue[terra.StringValue] `hcl:"manifests,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // Notes: string, optional Notes terra.StringValue `hcl:"notes,attr"` // PassCredentials: bool, optional PassCredentials terra.BoolValue `hcl:"pass_credentials,attr"` // RenderSubchartNotes: bool, optional RenderSubchartNotes terra.BoolValue `hcl:"render_subchart_notes,attr"` // Replace: bool, optional Replace terra.BoolValue `hcl:"replace,attr"` // Repository: string, optional Repository terra.StringValue `hcl:"repository,attr"` // RepositoryCaFile: string, optional RepositoryCaFile terra.StringValue `hcl:"repository_ca_file,attr"` // RepositoryCertFile: string, optional RepositoryCertFile terra.StringValue `hcl:"repository_cert_file,attr"` // RepositoryKeyFile: string, optional RepositoryKeyFile terra.StringValue `hcl:"repository_key_file,attr"` // RepositoryPassword: string, optional RepositoryPassword terra.StringValue `hcl:"repository_password,attr"` // RepositoryUsername: string, optional RepositoryUsername terra.StringValue `hcl:"repository_username,attr"` // ResetValues: bool, optional ResetValues terra.BoolValue `hcl:"reset_values,attr"` // ReuseValues: bool, optional ReuseValues terra.BoolValue `hcl:"reuse_values,attr"` // ShowOnly: list of string, optional ShowOnly terra.ListValue[terra.StringValue] `hcl:"show_only,attr"` // SkipCrds: bool, optional SkipCrds terra.BoolValue `hcl:"skip_crds,attr"` // SkipTests: bool, optional SkipTests terra.BoolValue `hcl:"skip_tests,attr"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // Validate: bool, optional Validate terra.BoolValue `hcl:"validate,attr"` // Values: list of string, optional Values terra.ListValue[terra.StringValue] `hcl:"values,attr"` // Verify: bool, optional Verify terra.BoolValue `hcl:"verify,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` // Wait: bool, optional Wait terra.BoolValue `hcl:"wait,attr"` // Postrender: optional Postrender *DataPostrender `hcl:"postrender,block"` // Set: min=0 Set []DataSet `hcl:"set,block" validate:"min=0"` // SetList: min=0 SetList []DataSetList `hcl:"set_list,block" validate:"min=0"` // SetSensitive: min=0 SetSensitive []DataSetSensitive `hcl:"set_sensitive,block" validate:"min=0"` // SetString: min=0 SetString []DataSetString `hcl:"set_string,block" validate:"min=0"` }
DataArgs contains the configurations for helm_template.
type DataPostrender ¶
type DataPostrender struct { // BinaryPath: string, required BinaryPath terra.StringValue `hcl:"binary_path,attr" validate:"required"` }
type DataPostrenderAttributes ¶
type DataPostrenderAttributes struct {
// contains filtered or unexported fields
}
func (DataPostrenderAttributes) BinaryPath ¶
func (p DataPostrenderAttributes) BinaryPath() terra.StringValue
func (DataPostrenderAttributes) InternalRef ¶
func (p DataPostrenderAttributes) InternalRef() (terra.Reference, error)
func (DataPostrenderAttributes) InternalTokens ¶
func (p DataPostrenderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPostrenderAttributes) InternalWithRef ¶
func (p DataPostrenderAttributes) InternalWithRef(ref terra.Reference) DataPostrenderAttributes
type DataPostrenderState ¶
type DataPostrenderState struct {
BinaryPath string `json:"binary_path"`
}
type DataSet ¶
type DataSet struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type DataSetAttributes ¶
type DataSetAttributes struct {
// contains filtered or unexported fields
}
func (DataSetAttributes) InternalRef ¶
func (s DataSetAttributes) InternalRef() (terra.Reference, error)
func (DataSetAttributes) InternalTokens ¶
func (s DataSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSetAttributes) InternalWithRef ¶
func (s DataSetAttributes) InternalWithRef(ref terra.Reference) DataSetAttributes
func (DataSetAttributes) Name ¶
func (s DataSetAttributes) Name() terra.StringValue
func (DataSetAttributes) Type ¶
func (s DataSetAttributes) Type() terra.StringValue
func (DataSetAttributes) Value ¶
func (s DataSetAttributes) Value() terra.StringValue
type DataSetList ¶
type DataSetList struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: list of string, required Value terra.ListValue[terra.StringValue] `hcl:"value,attr" validate:"required"` }
type DataSetListAttributes ¶
type DataSetListAttributes struct {
// contains filtered or unexported fields
}
func (DataSetListAttributes) InternalRef ¶
func (sl DataSetListAttributes) InternalRef() (terra.Reference, error)
func (DataSetListAttributes) InternalTokens ¶
func (sl DataSetListAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSetListAttributes) InternalWithRef ¶
func (sl DataSetListAttributes) InternalWithRef(ref terra.Reference) DataSetListAttributes
func (DataSetListAttributes) Name ¶
func (sl DataSetListAttributes) Name() terra.StringValue
func (DataSetListAttributes) Value ¶
func (sl DataSetListAttributes) Value() terra.ListValue[terra.StringValue]
type DataSetListState ¶
type DataSetSensitive ¶
type DataSetSensitive struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type DataSetSensitiveAttributes ¶
type DataSetSensitiveAttributes struct {
// contains filtered or unexported fields
}
func (DataSetSensitiveAttributes) InternalRef ¶
func (ss DataSetSensitiveAttributes) InternalRef() (terra.Reference, error)
func (DataSetSensitiveAttributes) InternalTokens ¶
func (ss DataSetSensitiveAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSetSensitiveAttributes) InternalWithRef ¶
func (ss DataSetSensitiveAttributes) InternalWithRef(ref terra.Reference) DataSetSensitiveAttributes
func (DataSetSensitiveAttributes) Name ¶
func (ss DataSetSensitiveAttributes) Name() terra.StringValue
func (DataSetSensitiveAttributes) Type ¶
func (ss DataSetSensitiveAttributes) Type() terra.StringValue
func (DataSetSensitiveAttributes) Value ¶
func (ss DataSetSensitiveAttributes) Value() terra.StringValue
type DataSetSensitiveState ¶
type DataSetState ¶
type DataSetString ¶
type DataSetString struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type DataSetStringAttributes ¶
type DataSetStringAttributes struct {
// contains filtered or unexported fields
}
func (DataSetStringAttributes) InternalRef ¶
func (ss DataSetStringAttributes) InternalRef() (terra.Reference, error)
func (DataSetStringAttributes) InternalTokens ¶
func (ss DataSetStringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSetStringAttributes) InternalWithRef ¶
func (ss DataSetStringAttributes) InternalWithRef(ref terra.Reference) DataSetStringAttributes
func (DataSetStringAttributes) Name ¶
func (ss DataSetStringAttributes) Name() terra.StringValue
func (DataSetStringAttributes) Value ¶
func (ss DataSetStringAttributes) Value() terra.StringValue
type DataSetStringState ¶
type DataSource ¶
DataSource represents the Terraform data resource helm_template.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ht *DataSource) Attributes() dataHelmTemplateAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ht *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ht *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ht *DataSource) LocalName() string
LocalName returns the local name for DataSource.
Click to show internal directories.
Click to hide internal directories.