helm_template

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (DataPostrenderAttributes) InternalRef

func (p DataPostrenderAttributes) InternalRef() (terra.Reference, error)

func (DataPostrenderAttributes) InternalTokens

func (p DataPostrenderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPostrenderAttributes) InternalWithRef

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 (DataSetAttributes) Type

func (DataSetAttributes) Value

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 (DataSetListAttributes) Name

func (DataSetListAttributes) Value

type DataSetListState

type DataSetListState struct {
	Name  string   `json:"name"`
	Value []string `json:"value"`
}

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 (DataSetSensitiveAttributes) Name

func (DataSetSensitiveAttributes) Type

func (DataSetSensitiveAttributes) Value

type DataSetSensitiveState

type DataSetSensitiveState struct {
	Name  string `json:"name"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type DataSetState

type DataSetState struct {
	Name  string `json:"name"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

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 (DataSetStringAttributes) Name

func (DataSetStringAttributes) Value

type DataSetStringState

type DataSetStringState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL