v1beta1

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 contains the core resources of the Terraform provider. +kubebuilder:object:generate=true +groupName=tf.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	Group   = "tf.upbound.io"
	Version = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	ProviderConfigKind             = reflect.TypeOf(ProviderConfig{}).Name()
	ProviderConfigGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderConfigKind}.String()
	ProviderConfigKindAPIVersion   = ProviderConfigKind + "." + SchemeGroupVersion.String()
	ProviderConfigGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigKind)
)

ProviderConfig type metadata.

View Source
var (
	ProviderConfigUsageKind             = reflect.TypeOf(ProviderConfigUsage{}).Name()
	ProviderConfigUsageGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderConfigUsageKind}.String()
	ProviderConfigUsageKindAPIVersion   = ProviderConfigUsageKind + "." + SchemeGroupVersion.String()
	ProviderConfigUsageGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigUsageKind)

	ProviderConfigUsageListKind             = reflect.TypeOf(ProviderConfigUsageList{}).Name()
	ProviderConfigUsageListGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderConfigUsageListKind}.String()
	ProviderConfigUsageListKindAPIVersion   = ProviderConfigUsageListKind + "." + SchemeGroupVersion.String()
	ProviderConfigUsageListGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigUsageListKind)
)

ProviderConfigUsage type metadata.

View Source
var (
	WorkspaceKind             = reflect.TypeOf(Workspace{}).Name()
	WorkspaceGroupKind        = schema.GroupKind{Group: Group, Kind: WorkspaceKind}.String()
	WorkspaceKindAPIVersion   = WorkspaceKind + "." + SchemeGroupVersion.String()
	WorkspaceGroupVersionKind = SchemeGroupVersion.WithKind(WorkspaceKind)
)

Workspace type metadata.

View Source
var (
	StoreConfigKind             = reflect.TypeOf(StoreConfig{}).Name()
	StoreConfigGroupKind        = schema.GroupKind{Group: Group, Kind: StoreConfigKind}.String()
	StoreConfigKindAPIVersion   = StoreConfigKind + "." + SchemeGroupVersion.String()
	StoreConfigGroupVersionKind = SchemeGroupVersion.WithKind(StoreConfigKind)
)

StoreConfig type metadata.

Functions

This section is empty.

Types

type EnvVar added in v0.16.0

type EnvVar struct {
	Name  string `json:"name"`
	Value string `json:"value,omitempty"`

	// A ConfigMap key containing the desired env var value.
	ConfigMapKeyReference *KeyReference `json:"configMapKeyRef,omitempty"`

	// A Secret key containing the desired env var value.
	SecretKeyReference *KeyReference `json:"secretKeyRef,omitempty"`
}

An EnvVar specifies an environment variable to be set for the workspace.

func (*EnvVar) DeepCopy added in v0.16.0

func (in *EnvVar) DeepCopy() *EnvVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.

func (*EnvVar) DeepCopyInto added in v0.16.0

func (in *EnvVar) DeepCopyInto(out *EnvVar)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeyReference

type KeyReference struct {
	// Namespace of the referenced resource.
	Namespace string `json:"namespace"`

	// Name of the referenced resource.
	Name string `json:"name"`

	// Key within the referenced resource.
	Key string `json:"key"`
}

A KeyReference references a key within a Secret or a ConfigMap.

func (*KeyReference) DeepCopy

func (in *KeyReference) DeepCopy() *KeyReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyReference.

func (*KeyReference) DeepCopyInto

func (in *KeyReference) DeepCopyInto(out *KeyReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleSource

type ModuleSource string

A ModuleSource represents the source of a Terraform module. +kubebuilder:validation:Enum=Remote;Inline

const (
	ModuleSourceRemote ModuleSource = "Remote"
	ModuleSourceInline ModuleSource = "Inline"
)

Module sources.

type ProviderConfig

type ProviderConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ProviderConfigSpec   `json:"spec"`
	Status ProviderConfigStatus `json:"status,omitempty"`
}

A ProviderConfig configures a Terraform provider. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="SECRET-NAME",type="string",JSONPath=".spec.credentials.secretRef.name",priority=1 +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,terraform}

func (*ProviderConfig) DeepCopy

func (in *ProviderConfig) DeepCopy() *ProviderConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfig.

func (*ProviderConfig) DeepCopyInto

func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProviderConfig) DeepCopyObject

func (in *ProviderConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProviderConfig) GetCondition

func (p *ProviderConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ProviderConfig.

func (*ProviderConfig) GetUsers

func (p *ProviderConfig) GetUsers() int64

GetUsers of this ProviderConfig.

func (*ProviderConfig) SetConditions

func (p *ProviderConfig) SetConditions(c ...xpv1.Condition)

SetConditions of this ProviderConfig.

func (*ProviderConfig) SetUsers

func (p *ProviderConfig) SetUsers(i int64)

SetUsers of this ProviderConfig.

type ProviderConfigList

type ProviderConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProviderConfig `json:"items"`
}

ProviderConfigList contains a list of ProviderConfig.

func (*ProviderConfigList) DeepCopy

func (in *ProviderConfigList) DeepCopy() *ProviderConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigList.

func (*ProviderConfigList) DeepCopyInto

func (in *ProviderConfigList) DeepCopyInto(out *ProviderConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProviderConfigList) DeepCopyObject

func (in *ProviderConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProviderConfigSpec

type ProviderConfigSpec struct {
	// Credentials required to authenticate to this provider.
	// +optional
	Credentials []ProviderCredentials `json:"credentials"`

	// Configuration that should be injected into all workspaces that use
	// this provider config, expressed as inline HCL. This can be used to
	// automatically inject Terraform provider configuration blocks.
	// +optional
	Configuration *string `json:"configuration,omitempty"`

	// Terraform backend file configuration content,
	// it has the contents of the backend block as top-level attributes,
	// without the need to wrap it in another terraform or backend block.
	// More details at https://developer.hashicorp.com/terraform/language/settings/backends/configuration#file.
	// +optional
	BackendFile *string `json:"backendFile,omitempty"`

	// PluginCache enables terraform provider plugin caching mechanism
	// https://developer.hashicorp.com/terraform/cli/config/config-file#provider-plugin-cache
	// +optional
	// +kubebuilder:default=true
	PluginCache *bool `json:"pluginCache,omitempty"`
}

A ProviderConfigSpec defines the desired state of a ProviderConfig.

func (*ProviderConfigSpec) DeepCopy

func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigSpec.

func (*ProviderConfigSpec) DeepCopyInto

func (in *ProviderConfigSpec) DeepCopyInto(out *ProviderConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderConfigStatus

type ProviderConfigStatus struct {
	xpv1.ProviderConfigStatus `json:",inline"`
}

A ProviderConfigStatus reflects the observed state of a ProviderConfig.

func (*ProviderConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigStatus.

func (*ProviderConfigStatus) DeepCopyInto

func (in *ProviderConfigStatus) DeepCopyInto(out *ProviderConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderConfigUsage

type ProviderConfigUsage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	xpv1.ProviderConfigUsage `json:",inline"`
}

A ProviderConfigUsage indicates that a resource is using a ProviderConfig. +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="CONFIG-NAME",type="string",JSONPath=".providerConfigRef.name" +kubebuilder:printcolumn:name="RESOURCE-KIND",type="string",JSONPath=".resourceRef.kind" +kubebuilder:printcolumn:name="RESOURCE-NAME",type="string",JSONPath=".resourceRef.name" +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,terraform}

func (*ProviderConfigUsage) DeepCopy

func (in *ProviderConfigUsage) DeepCopy() *ProviderConfigUsage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigUsage.

func (*ProviderConfigUsage) DeepCopyInto

func (in *ProviderConfigUsage) DeepCopyInto(out *ProviderConfigUsage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProviderConfigUsage) DeepCopyObject

func (in *ProviderConfigUsage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProviderConfigUsage) GetProviderConfigReference

func (p *ProviderConfigUsage) GetProviderConfigReference() xpv1.Reference

GetProviderConfigReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) GetResourceReference

func (p *ProviderConfigUsage) GetResourceReference() xpv1.TypedReference

GetResourceReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) SetProviderConfigReference

func (p *ProviderConfigUsage) SetProviderConfigReference(r xpv1.Reference)

SetProviderConfigReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) SetResourceReference

func (p *ProviderConfigUsage) SetResourceReference(r xpv1.TypedReference)

SetResourceReference of this ProviderConfigUsage.

type ProviderConfigUsageList

type ProviderConfigUsageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProviderConfigUsage `json:"items"`
}

ProviderConfigUsageList contains a list of ProviderConfigUsage

func (*ProviderConfigUsageList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigUsageList.

func (*ProviderConfigUsageList) DeepCopyInto

func (in *ProviderConfigUsageList) DeepCopyInto(out *ProviderConfigUsageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProviderConfigUsageList) DeepCopyObject

func (in *ProviderConfigUsageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProviderConfigUsageList) GetItems

GetItems of this ProviderConfigUsageList.

type ProviderCredentials

type ProviderCredentials struct {
	// Filename (relative to main.tf) to which these provider credentials
	// should be written.
	Filename string `json:"filename"`

	// Source of the provider credentials.
	// +kubebuilder:validation:Enum=None;Secret;Environment;Filesystem
	Source xpv1.CredentialsSource `json:"source"`

	xpv1.CommonCredentialSelectors `json:",inline"`
}

ProviderCredentials required to authenticate.

func (*ProviderCredentials) DeepCopy

func (in *ProviderCredentials) DeepCopy() *ProviderCredentials

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderCredentials.

func (*ProviderCredentials) DeepCopyInto

func (in *ProviderCredentials) DeepCopyInto(out *ProviderCredentials)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StoreConfig

type StoreConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   StoreConfigSpec   `json:"spec"`
	Status StoreConfigStatus `json:"status,omitempty"`
}

A StoreConfig configures how GCP controller should store connection details. +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="TYPE",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="DEFAULT-SCOPE",type="string",JSONPath=".spec.defaultScope" +kubebuilder:resource:scope=Cluster,categories={crossplane,store,gcp} +kubebuilder:subresource:status

func (*StoreConfig) DeepCopy

func (in *StoreConfig) DeepCopy() *StoreConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfig.

func (*StoreConfig) DeepCopyInto

func (in *StoreConfig) DeepCopyInto(out *StoreConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StoreConfig) DeepCopyObject

func (in *StoreConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*StoreConfig) GetCondition

func (in *StoreConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this StoreConfig.

func (*StoreConfig) GetStoreConfig

func (in *StoreConfig) GetStoreConfig() xpv1.SecretStoreConfig

GetStoreConfig returns SecretStoreConfig

func (*StoreConfig) SetConditions

func (in *StoreConfig) SetConditions(c ...xpv1.Condition)

SetConditions of this StoreConfig.

type StoreConfigList

type StoreConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StoreConfig `json:"items"`
}

StoreConfigList contains a list of StoreConfig

func (*StoreConfigList) DeepCopy

func (in *StoreConfigList) DeepCopy() *StoreConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfigList.

func (*StoreConfigList) DeepCopyInto

func (in *StoreConfigList) DeepCopyInto(out *StoreConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StoreConfigList) DeepCopyObject

func (in *StoreConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StoreConfigSpec

type StoreConfigSpec struct {
	xpv1.SecretStoreConfig `json:",inline"`
}

A StoreConfigSpec defines the desired state of a ProviderConfig.

func (*StoreConfigSpec) DeepCopy

func (in *StoreConfigSpec) DeepCopy() *StoreConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfigSpec.

func (*StoreConfigSpec) DeepCopyInto

func (in *StoreConfigSpec) DeepCopyInto(out *StoreConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StoreConfigStatus

type StoreConfigStatus struct {
	xpv1.ConditionedStatus `json:",inline"`
}

A StoreConfigStatus represents the status of a StoreConfig.

func (*StoreConfigStatus) DeepCopy

func (in *StoreConfigStatus) DeepCopy() *StoreConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfigStatus.

func (*StoreConfigStatus) DeepCopyInto

func (in *StoreConfigStatus) DeepCopyInto(out *StoreConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Var

type Var struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

A Var represents a Terraform configuration variable.

func (*Var) DeepCopy

func (in *Var) DeepCopy() *Var

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Var.

func (*Var) DeepCopyInto

func (in *Var) DeepCopyInto(out *Var)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VarFile

type VarFile struct {
	// Source of this vars file.
	Source VarFileSource `json:"source"`

	// Format of this vars file.
	// +kubebuilder:default=HCL
	// +optional
	Format *VarFileFormat `json:"format,omitempty"`

	// A ConfigMap key containing the vars file.
	// +optional
	ConfigMapKeyReference *KeyReference `json:"configMapKeyRef,omitempty"`

	// A Secret key containing the vars file.
	// +optional
	SecretKeyReference *KeyReference `json:"secretKeyRef,omitempty"`
}

A VarFile is a file containing many Terraform variables.

func (*VarFile) DeepCopy

func (in *VarFile) DeepCopy() *VarFile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VarFile.

func (*VarFile) DeepCopyInto

func (in *VarFile) DeepCopyInto(out *VarFile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VarFileFormat

type VarFileFormat string

A VarFileFormat specifies the format of a Terraform vars file. +kubebuilder:validation:Enum=HCL;JSON

var (
	VarFileFormatHCL  VarFileFormat = "HCL"
	VarFileFormatJSON VarFileFormat = "JSON"
)

Vars file formats.

type VarFileSource

type VarFileSource string

A VarFileSource specifies the source of a Terraform vars file. +kubebuilder:validation:Enum=ConfigMapKey;SecretKey

const (
	VarFileSourceConfigMapKey VarFileSource = "ConfigMapKey"
	VarFileSourceSecretKey    VarFileSource = "SecretKey"
)

Vars file sources.

type Workspace

type Workspace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkspaceSpec   `json:"spec"`
	Status WorkspaceStatus `json:"status,omitempty"`
}

A Workspace of Terraform Configuration. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,terraform}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Workspace) DeepCopyObject

func (in *Workspace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workspace) GetCondition

func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Workspace.

func (*Workspace) GetDeletionPolicy

func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Workspace.

func (*Workspace) GetManagementPolicies added in v0.11.0

func (mg *Workspace) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Workspace.

func (*Workspace) GetProviderConfigReference

func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Workspace.

func (*Workspace) GetPublishConnectionDetailsTo

func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) GetWriteConnectionSecretToReference

func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Workspace.

func (*Workspace) SetConditions

func (mg *Workspace) SetConditions(c ...xpv1.Condition)

SetConditions of this Workspace.

func (*Workspace) SetDeletionPolicy

func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Workspace.

func (*Workspace) SetManagementPolicies added in v0.11.0

func (mg *Workspace) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Workspace.

func (*Workspace) SetProviderConfigReference

func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Workspace.

func (*Workspace) SetPublishConnectionDetailsTo

func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) SetWriteConnectionSecretToReference

func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Workspace.

type WorkspaceList

type WorkspaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Workspace `json:"items"`
}

WorkspaceList contains a list of Workspace

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceList) DeepCopyObject

func (in *WorkspaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceList) GetItems

func (l *WorkspaceList) GetItems() []resource.Managed

GetItems of this WorkspaceList.

type WorkspaceObservation

type WorkspaceObservation struct {
	Checksum string                       `json:"checksum,omitempty"`
	Outputs  map[string]extensionsV1.JSON `json:"outputs,omitempty"`
}

WorkspaceObservation are the observable fields of a Workspace.

func (*WorkspaceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation.

func (*WorkspaceObservation) DeepCopyInto

func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceParameters

type WorkspaceParameters struct {
	// The root module of this workspace; i.e. the module containing its main.tf
	// file. When the workspace's source is 'Remote' (the default) this can be
	// any address supported by terraform init -from-module, for example a git
	// repository or an S3 bucket. When the workspace's source is 'Inline' the
	// content of a simple main.tf file may be written inline.
	Module string `json:"module"`

	// Source of the root module of this workspace.
	Source ModuleSource `json:"source"`

	// Entrypoint for `terraform init` within the module
	// +kubebuilder:default=""
	// +optional
	Entrypoint string `json:"entrypoint"`

	// Environment variables.
	// +optional
	Env []EnvVar `json:"env,omitempty"`

	// Configuration variables.
	// +optional
	Vars []Var `json:"vars,omitempty"`

	// Terraform Variable Map. Should be a valid JSON representation of the input vars
	// +optional
	VarMap *runtime.RawExtension `json:"varmap,omitempty"`

	// Files of configuration variables. Explicitly declared vars take
	// precedence.
	// +optional
	VarFiles []VarFile `json:"varFiles,omitempty"`

	// Arguments to be included in the terraform init CLI command
	InitArgs []string `json:"initArgs,omitempty"`

	// Arguments to be included in the terraform plan CLI command
	PlanArgs []string `json:"planArgs,omitempty"`

	// Arguments to be included in the terraform apply CLI command
	ApplyArgs []string `json:"applyArgs,omitempty"`

	// Arguments to be included in the terraform destroy CLI command
	DestroyArgs []string `json:"destroyArgs,omitempty"`
}

WorkspaceParameters are the configurable fields of a Workspace.

func (*WorkspaceParameters) DeepCopy

func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters.

func (*WorkspaceParameters) DeepCopyInto

func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpec

type WorkspaceSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       WorkspaceParameters `json:"forProvider"`
}

A WorkspaceSpec defines the desired state of a Workspace.

func (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceStatus

type WorkspaceStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          WorkspaceObservation `json:"atProvider,omitempty"`
}

A WorkspaceStatus represents the observed state of a Workspace.

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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