Documentation ¶
Index ¶
- type Args
- type MetadataAttributes
- func (m MetadataAttributes) AppVersion() terra.StringValue
- func (m MetadataAttributes) Chart() terra.StringValue
- func (m MetadataAttributes) InternalRef() (terra.Reference, error)
- func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
- func (m MetadataAttributes) Name() terra.StringValue
- func (m MetadataAttributes) Namespace() terra.StringValue
- func (m MetadataAttributes) Revision() terra.NumberValue
- func (m MetadataAttributes) Values() terra.StringValue
- func (m MetadataAttributes) Version() terra.StringValue
- type MetadataState
- type Postrender
- type PostrenderAttributes
- func (p PostrenderAttributes) Args() terra.ListValue[terra.StringValue]
- func (p PostrenderAttributes) BinaryPath() terra.StringValue
- func (p PostrenderAttributes) InternalRef() (terra.Reference, error)
- func (p PostrenderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PostrenderAttributes) InternalWithRef(ref terra.Reference) PostrenderAttributes
- type PostrenderState
- type Resource
- func (hr *Resource) Attributes() helmReleaseAttributes
- func (hr *Resource) Configuration() interface{}
- func (hr *Resource) DependOn() terra.Reference
- func (hr *Resource) Dependencies() terra.Dependencies
- func (hr *Resource) ImportState(state io.Reader) error
- func (hr *Resource) LifecycleManagement() *terra.Lifecycle
- func (hr *Resource) LocalName() string
- func (hr *Resource) State() (*helmReleaseState, bool)
- func (hr *Resource) StateMust() *helmReleaseState
- func (hr *Resource) Type() string
- type Set
- type SetAttributes
- func (s SetAttributes) InternalRef() (terra.Reference, error)
- func (s SetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SetAttributes) InternalWithRef(ref terra.Reference) SetAttributes
- func (s SetAttributes) Name() terra.StringValue
- func (s SetAttributes) Type() terra.StringValue
- func (s SetAttributes) Value() terra.StringValue
- type SetList
- type SetListAttributes
- func (sl SetListAttributes) InternalRef() (terra.Reference, error)
- func (sl SetListAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl SetListAttributes) InternalWithRef(ref terra.Reference) SetListAttributes
- func (sl SetListAttributes) Name() terra.StringValue
- func (sl SetListAttributes) Value() terra.ListValue[terra.StringValue]
- type SetListState
- type SetSensitive
- type SetSensitiveAttributes
- func (ss SetSensitiveAttributes) InternalRef() (terra.Reference, error)
- func (ss SetSensitiveAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss SetSensitiveAttributes) InternalWithRef(ref terra.Reference) SetSensitiveAttributes
- func (ss SetSensitiveAttributes) Name() terra.StringValue
- func (ss SetSensitiveAttributes) Type() terra.StringValue
- func (ss SetSensitiveAttributes) Value() terra.StringValue
- type SetSensitiveState
- type SetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Atomic: bool, optional Atomic terra.BoolValue `hcl:"atomic,attr"` // Chart: string, required Chart terra.StringValue `hcl:"chart,attr" validate:"required"` // CleanupOnFail: bool, optional CleanupOnFail terra.BoolValue `hcl:"cleanup_on_fail,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"` // DisableCrdHooks: bool, optional DisableCrdHooks terra.BoolValue `hcl:"disable_crd_hooks,attr"` // DisableOpenapiValidation: bool, optional DisableOpenapiValidation terra.BoolValue `hcl:"disable_openapi_validation,attr"` // DisableWebhooks: bool, optional DisableWebhooks terra.BoolValue `hcl:"disable_webhooks,attr"` // ForceUpdate: bool, optional ForceUpdate terra.BoolValue `hcl:"force_update,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Keyring: string, optional Keyring terra.StringValue `hcl:"keyring,attr"` // Lint: bool, optional Lint terra.BoolValue `hcl:"lint,attr"` // MaxHistory: number, optional MaxHistory terra.NumberValue `hcl:"max_history,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // PassCredentials: bool, optional PassCredentials terra.BoolValue `hcl:"pass_credentials,attr"` // RecreatePods: bool, optional RecreatePods terra.BoolValue `hcl:"recreate_pods,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"` // SkipCrds: bool, optional SkipCrds terra.BoolValue `hcl:"skip_crds,attr"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,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"` // WaitForJobs: bool, optional WaitForJobs terra.BoolValue `hcl:"wait_for_jobs,attr"` // Postrender: optional Postrender *Postrender `hcl:"postrender,block"` // Set: min=0 Set []Set `hcl:"set,block" validate:"min=0"` // SetList: min=0 SetList []SetList `hcl:"set_list,block" validate:"min=0"` // SetSensitive: min=0 SetSensitive []SetSensitive `hcl:"set_sensitive,block" validate:"min=0"` }
Args contains the configurations for helm_release.
type MetadataAttributes ¶
type MetadataAttributes struct {
// contains filtered or unexported fields
}
func (MetadataAttributes) AppVersion ¶
func (m MetadataAttributes) AppVersion() terra.StringValue
func (MetadataAttributes) Chart ¶
func (m MetadataAttributes) Chart() terra.StringValue
func (MetadataAttributes) InternalRef ¶
func (m MetadataAttributes) InternalRef() (terra.Reference, error)
func (MetadataAttributes) InternalTokens ¶
func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataAttributes) InternalWithRef ¶
func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
func (MetadataAttributes) Name ¶
func (m MetadataAttributes) Name() terra.StringValue
func (MetadataAttributes) Namespace ¶
func (m MetadataAttributes) Namespace() terra.StringValue
func (MetadataAttributes) Revision ¶
func (m MetadataAttributes) Revision() terra.NumberValue
func (MetadataAttributes) Values ¶
func (m MetadataAttributes) Values() terra.StringValue
func (MetadataAttributes) Version ¶
func (m MetadataAttributes) Version() terra.StringValue
type MetadataState ¶
type Postrender ¶
type Postrender struct { // Args: list of string, optional Args terra.ListValue[terra.StringValue] `hcl:"args,attr"` // BinaryPath: string, required BinaryPath terra.StringValue `hcl:"binary_path,attr" validate:"required"` }
type PostrenderAttributes ¶
type PostrenderAttributes struct {
// contains filtered or unexported fields
}
func (PostrenderAttributes) Args ¶
func (p PostrenderAttributes) Args() terra.ListValue[terra.StringValue]
func (PostrenderAttributes) BinaryPath ¶
func (p PostrenderAttributes) BinaryPath() terra.StringValue
func (PostrenderAttributes) InternalRef ¶
func (p PostrenderAttributes) InternalRef() (terra.Reference, error)
func (PostrenderAttributes) InternalTokens ¶
func (p PostrenderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PostrenderAttributes) InternalWithRef ¶
func (p PostrenderAttributes) InternalWithRef(ref terra.Reference) PostrenderAttributes
type PostrenderState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource helm_release.
func (*Resource) Attributes ¶
func (hr *Resource) Attributes() helmReleaseAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (hr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (hr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Set ¶
type Set 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 SetAttributes ¶
type SetAttributes struct {
// contains filtered or unexported fields
}
func (SetAttributes) InternalRef ¶
func (s SetAttributes) InternalRef() (terra.Reference, error)
func (SetAttributes) InternalTokens ¶
func (s SetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SetAttributes) InternalWithRef ¶
func (s SetAttributes) InternalWithRef(ref terra.Reference) SetAttributes
func (SetAttributes) Name ¶
func (s SetAttributes) Name() terra.StringValue
func (SetAttributes) Type ¶
func (s SetAttributes) Type() terra.StringValue
func (SetAttributes) Value ¶
func (s SetAttributes) Value() terra.StringValue
type SetList ¶
type SetList 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 SetListAttributes ¶
type SetListAttributes struct {
// contains filtered or unexported fields
}
func (SetListAttributes) InternalRef ¶
func (sl SetListAttributes) InternalRef() (terra.Reference, error)
func (SetListAttributes) InternalTokens ¶
func (sl SetListAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SetListAttributes) InternalWithRef ¶
func (sl SetListAttributes) InternalWithRef(ref terra.Reference) SetListAttributes
func (SetListAttributes) Name ¶
func (sl SetListAttributes) Name() terra.StringValue
func (SetListAttributes) Value ¶
func (sl SetListAttributes) Value() terra.ListValue[terra.StringValue]
type SetListState ¶
type SetSensitive ¶
type SetSensitive 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 SetSensitiveAttributes ¶
type SetSensitiveAttributes struct {
// contains filtered or unexported fields
}
func (SetSensitiveAttributes) InternalRef ¶
func (ss SetSensitiveAttributes) InternalRef() (terra.Reference, error)
func (SetSensitiveAttributes) InternalTokens ¶
func (ss SetSensitiveAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SetSensitiveAttributes) InternalWithRef ¶
func (ss SetSensitiveAttributes) InternalWithRef(ref terra.Reference) SetSensitiveAttributes
func (SetSensitiveAttributes) Name ¶
func (ss SetSensitiveAttributes) Name() terra.StringValue
func (SetSensitiveAttributes) Type ¶
func (ss SetSensitiveAttributes) Type() terra.StringValue
func (SetSensitiveAttributes) Value ¶
func (ss SetSensitiveAttributes) Value() terra.StringValue
type SetSensitiveState ¶
Click to show internal directories.
Click to hide internal directories.