Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the terraform v1 API group +kubebuilder:object:generate=true +groupName=terraform.patoarvizu.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "terraform.patoarvizu.dev", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ArtifactoryConfig ¶ added in v0.2.0
type ConsulConfig ¶
type ConsulConfig struct { Path string `json:"path"` AccessToken string `json:"accessToken,omitempty"` Address string `json:"address,omitempty"` Scheme string `json:"scheme,omitempty"` Datacenter string `json:"datacenter,omitempty"` HTTPAuth string `json:"httpAuth,omitempty"` CAFile string `json:"caFile,omitempty"` CertFile string `json:"certFile,omitempty"` KeyFile string `json:"keyFile,omitempty"` }
func (*ConsulConfig) DeepCopy ¶
func (in *ConsulConfig) DeepCopy() *ConsulConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulConfig.
func (*ConsulConfig) DeepCopyInto ¶
func (in *ConsulConfig) DeepCopyInto(out *ConsulConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdV3Config ¶ added in v0.2.0
type EtcdV3Config struct { // +nullable Endpoints []string `json:"endpoints"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Prefix string `json:"prefix,omitempty"` Lock bool `json:"lock,omitempty"` CACertPath string `json:"caCertPath,omitempty"` CertPath string `json:"certPath,omitempty"` KeyPath string `json:"keyPath,omitempty"` MaxRequestBytes string `json:"maxRequestBytes,omitempty"` }
type KubernetesConfig ¶ added in v0.2.0
type KubernetesConfig struct { SecretSuffix string `json:"secretSuffix"` Namespace string `json:"namespace,omitempty"` InClusterConfig bool `json:"inClusterConfig,omitempty"` Host string `json:"host,omitempty"` Insecure bool `json:"insecure,omitempty"` ConfigPath string `json:"configPath,omitempty"` }
type PostgresConfig ¶ added in v0.2.0
type RemoteConfig ¶
type RemoteConfig struct { Hostname string `json:"hostname"` Organization string `json:"organization"` Token string `json:"token,omitempty"` Workspaces WorkspacesConfig `json:"workspaces"` }
func (*RemoteConfig) DeepCopy ¶
func (in *RemoteConfig) DeepCopy() *RemoteConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteConfig.
func (*RemoteConfig) DeepCopyInto ¶
func (in *RemoteConfig) DeepCopyInto(out *RemoteConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Config ¶
type S3Config struct { Bucket string `json:"bucket"` Key string `json:"key"` Region string `json:"region,omitempty"` AccessKey string `json:"accessKey,omitempty"` SecretKey string `json:"secretKey,omitempty"` IAMEndpoint string `json:"iamEndpoint,omitempty"` MaxRetries int64 `json:"maxRetries,omitempty"` Profile string `json:"profile,omitempty"` SkipCredentialsValidation bool `json:"skipCredentialsValidation,omitempty"` SkipRegionValidation bool `json:"skipRegionValidation,omitempty"` SkipMetadataAPICheck bool `json:"skipMetadataAPICheck,omitempty"` STSEndpoint string `json:"stsEndpoint,omitempty"` Token string `json:"token,omitempty"` AssumeRoleDurationSeconds int64 `json:"assumeRoleDurationSeconds,omitempty"` AssumeRolePolicy string `json:"assumeRolePolicy,omitempty"` AssumeRolePolicyARNs []string `json:"assumeRolePolicyARNs,omitempty"` AssumeRoleTags map[string]string `json:"assumeRoleTags,omitempty"` AssumeRoleTransitiveTagKeys []string `json:"assumeRoleTransitiveTagKeys,omitempty"` ExternalID string `json:"externalID,omitempty"` RoleARN string `json:"roleARN,omitempty"` SessionName string `json:"sessionName,omitempty"` Endpoint string `json:"endpoint,omitempty"` ForcePathStyle bool `json:"forcePathStyle,omitempty"` KMSKeyID string `json:"kmsKeyID,omitempty"` SSECustomerKey string `json:"sseCustomerKey,omitempty"` WorkspaceKeyPrefix string `json:"workspaceKeyPrefix,omitempty"` }
func (*S3Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Config.
func (*S3Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { // +kubebuilder:validation:Enum={"configmap","secret"} Type string `json:"type"` Name string `json:"name"` }
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TerraformState ¶
type TerraformState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TerraformStateSpec `json:"spec,omitempty"` Status TerraformStateStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=terraformstates,scope=Namespaced,shortName=tfs
func (*TerraformState) DeepCopy ¶
func (in *TerraformState) DeepCopy() *TerraformState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerraformState.
func (*TerraformState) DeepCopyInto ¶
func (in *TerraformState) DeepCopyInto(out *TerraformState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TerraformState) DeepCopyObject ¶
func (in *TerraformState) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TerraformStateList ¶
type TerraformStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TerraformState `json:"items"` }
func (*TerraformStateList) DeepCopy ¶
func (in *TerraformStateList) DeepCopy() *TerraformStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerraformStateList.
func (*TerraformStateList) DeepCopyInto ¶
func (in *TerraformStateList) DeepCopyInto(out *TerraformStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TerraformStateList) DeepCopyObject ¶
func (in *TerraformStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TerraformStateSpec ¶
type TerraformStateSpec struct { Type string `json:"type"` RemoteConfig RemoteConfig `json:"remoteConfig,omitempty"` S3Config S3Config `json:"s3Config,omitempty"` ConsulConfig ConsulConfig `json:"consulConfig,omitempty"` KubernetesConfig KubernetesConfig `json:"kubernetesConfig,omitempty"` GCSConfig GCSConfig `json:"gcsConfig,omitempty"` PostgresConfig PostgresConfig `json:"postgresConfig,omitempty"` ArtifactoryConfig ArtifactoryConfig `json:"artifactoryConfig,omitempty"` EtcdV3Config EtcdV3Config `json:"etcdv3Config,omitempty"` Target Target `json:"target"` }
func (*TerraformStateSpec) DeepCopy ¶
func (in *TerraformStateSpec) DeepCopy() *TerraformStateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerraformStateSpec.
func (*TerraformStateSpec) DeepCopyInto ¶
func (in *TerraformStateSpec) DeepCopyInto(out *TerraformStateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TerraformStateStatus ¶
type TerraformStateStatus struct{}
func (*TerraformStateStatus) DeepCopy ¶
func (in *TerraformStateStatus) DeepCopy() *TerraformStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerraformStateStatus.
func (*TerraformStateStatus) DeepCopyInto ¶
func (in *TerraformStateStatus) DeepCopyInto(out *TerraformStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspacesConfig ¶
type WorkspacesConfig struct { Name string `json:"name,omitempty"` Prefix string `json:"prefix,omitempty"` }
func (*WorkspacesConfig) DeepCopy ¶
func (in *WorkspacesConfig) DeepCopy() *WorkspacesConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspacesConfig.
func (*WorkspacesConfig) DeepCopyInto ¶
func (in *WorkspacesConfig) DeepCopyInto(out *WorkspacesConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.