v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=mwaa.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: mwaa.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Environment

type Environment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnvironmentSpec   `json:"spec,omitempty"`
	Status            EnvironmentStatus `json:"status,omitempty"`
}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

func (*Environment) SetupWebhookWithManager

func (r *Environment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Environment) ValidateCreate

func (r *Environment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Environment) ValidateDelete

func (r *Environment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Environment) ValidateUpdate

func (r *Environment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EnvironmentList

type EnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Environment CRD objects
	Items []Environment `json:"items,omitempty"`
}

EnvironmentList is a list of Environments

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

type EnvironmentSpec

type EnvironmentSpec struct {
	State *EnvironmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnvironmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentSpecLastUpdated

type EnvironmentSpecLastUpdated struct {
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// +optional
	Error []EnvironmentSpecLastUpdatedError `json:"error,omitempty" tf:"error"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*EnvironmentSpecLastUpdated) DeepCopy

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

func (*EnvironmentSpecLastUpdated) DeepCopyInto

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

type EnvironmentSpecLastUpdatedError

type EnvironmentSpecLastUpdatedError struct {
	// +optional
	ErrorCode *string `json:"errorCode,omitempty" tf:"error_code"`
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty" tf:"error_message"`
}

func (*EnvironmentSpecLastUpdatedError) DeepCopy

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

func (*EnvironmentSpecLastUpdatedError) DeepCopyInto

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

type EnvironmentSpecLoggingConfiguration

type EnvironmentSpecLoggingConfiguration struct {
	// +optional
	DagProcessingLogs *EnvironmentSpecLoggingConfigurationDagProcessingLogs `json:"dagProcessingLogs,omitempty" tf:"dag_processing_logs"`
	// +optional
	SchedulerLogs *EnvironmentSpecLoggingConfigurationSchedulerLogs `json:"schedulerLogs,omitempty" tf:"scheduler_logs"`
	// +optional
	TaskLogs *EnvironmentSpecLoggingConfigurationTaskLogs `json:"taskLogs,omitempty" tf:"task_logs"`
	// +optional
	WebserverLogs *EnvironmentSpecLoggingConfigurationWebserverLogs `json:"webserverLogs,omitempty" tf:"webserver_logs"`
	// +optional
	WorkerLogs *EnvironmentSpecLoggingConfigurationWorkerLogs `json:"workerLogs,omitempty" tf:"worker_logs"`
}

func (*EnvironmentSpecLoggingConfiguration) DeepCopy

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

func (*EnvironmentSpecLoggingConfiguration) DeepCopyInto

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

type EnvironmentSpecLoggingConfigurationCodec

type EnvironmentSpecLoggingConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecLoggingConfigurationCodec) Decode

func (EnvironmentSpecLoggingConfigurationCodec) Encode

func (EnvironmentSpecLoggingConfigurationCodec) IsEmpty

type EnvironmentSpecLoggingConfigurationDagProcessingLogs

type EnvironmentSpecLoggingConfigurationDagProcessingLogs struct {
	// +optional
	CloudWatchLogGroupArn *string `json:"cloudWatchLogGroupArn,omitempty" tf:"cloud_watch_log_group_arn"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level"`
}

func (*EnvironmentSpecLoggingConfigurationDagProcessingLogs) DeepCopy

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

func (*EnvironmentSpecLoggingConfigurationDagProcessingLogs) DeepCopyInto

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

type EnvironmentSpecLoggingConfigurationDagProcessingLogsCodec

type EnvironmentSpecLoggingConfigurationDagProcessingLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecLoggingConfigurationDagProcessingLogsCodec) Decode

func (EnvironmentSpecLoggingConfigurationDagProcessingLogsCodec) Encode

func (EnvironmentSpecLoggingConfigurationDagProcessingLogsCodec) IsEmpty

type EnvironmentSpecLoggingConfigurationSchedulerLogs

type EnvironmentSpecLoggingConfigurationSchedulerLogs struct {
	// +optional
	CloudWatchLogGroupArn *string `json:"cloudWatchLogGroupArn,omitempty" tf:"cloud_watch_log_group_arn"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level"`
}

func (*EnvironmentSpecLoggingConfigurationSchedulerLogs) DeepCopy

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

func (*EnvironmentSpecLoggingConfigurationSchedulerLogs) DeepCopyInto

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

type EnvironmentSpecLoggingConfigurationSchedulerLogsCodec

type EnvironmentSpecLoggingConfigurationSchedulerLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecLoggingConfigurationSchedulerLogsCodec) Decode

func (EnvironmentSpecLoggingConfigurationSchedulerLogsCodec) Encode

func (EnvironmentSpecLoggingConfigurationSchedulerLogsCodec) IsEmpty

type EnvironmentSpecLoggingConfigurationTaskLogs

type EnvironmentSpecLoggingConfigurationTaskLogs struct {
	// +optional
	CloudWatchLogGroupArn *string `json:"cloudWatchLogGroupArn,omitempty" tf:"cloud_watch_log_group_arn"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level"`
}

func (*EnvironmentSpecLoggingConfigurationTaskLogs) DeepCopy

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

func (*EnvironmentSpecLoggingConfigurationTaskLogs) DeepCopyInto

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

type EnvironmentSpecLoggingConfigurationTaskLogsCodec

type EnvironmentSpecLoggingConfigurationTaskLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecLoggingConfigurationTaskLogsCodec) Decode

func (EnvironmentSpecLoggingConfigurationTaskLogsCodec) Encode

func (EnvironmentSpecLoggingConfigurationTaskLogsCodec) IsEmpty

type EnvironmentSpecLoggingConfigurationWebserverLogs

type EnvironmentSpecLoggingConfigurationWebserverLogs struct {
	// +optional
	CloudWatchLogGroupArn *string `json:"cloudWatchLogGroupArn,omitempty" tf:"cloud_watch_log_group_arn"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level"`
}

func (*EnvironmentSpecLoggingConfigurationWebserverLogs) DeepCopy

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

func (*EnvironmentSpecLoggingConfigurationWebserverLogs) DeepCopyInto

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

type EnvironmentSpecLoggingConfigurationWebserverLogsCodec

type EnvironmentSpecLoggingConfigurationWebserverLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecLoggingConfigurationWebserverLogsCodec) Decode

func (EnvironmentSpecLoggingConfigurationWebserverLogsCodec) Encode

func (EnvironmentSpecLoggingConfigurationWebserverLogsCodec) IsEmpty

type EnvironmentSpecLoggingConfigurationWorkerLogs

type EnvironmentSpecLoggingConfigurationWorkerLogs struct {
	// +optional
	CloudWatchLogGroupArn *string `json:"cloudWatchLogGroupArn,omitempty" tf:"cloud_watch_log_group_arn"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level"`
}

func (*EnvironmentSpecLoggingConfigurationWorkerLogs) DeepCopy

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

func (*EnvironmentSpecLoggingConfigurationWorkerLogs) DeepCopyInto

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

type EnvironmentSpecLoggingConfigurationWorkerLogsCodec

type EnvironmentSpecLoggingConfigurationWorkerLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecLoggingConfigurationWorkerLogsCodec) Decode

func (EnvironmentSpecLoggingConfigurationWorkerLogsCodec) Encode

func (EnvironmentSpecLoggingConfigurationWorkerLogsCodec) IsEmpty

type EnvironmentSpecNetworkConfiguration

type EnvironmentSpecNetworkConfiguration struct {
	// +kubebuilder:validation:MinItems=1
	SecurityGroupIDS []string `json:"securityGroupIDS" tf:"security_group_ids"`
	// +kubebuilder:validation:MinItems=2
	SubnetIDS []string `json:"subnetIDS" tf:"subnet_ids"`
}

func (*EnvironmentSpecNetworkConfiguration) DeepCopy

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

func (*EnvironmentSpecNetworkConfiguration) DeepCopyInto

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

type EnvironmentSpecNetworkConfigurationCodec

type EnvironmentSpecNetworkConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecNetworkConfigurationCodec) Decode

func (EnvironmentSpecNetworkConfigurationCodec) Encode

func (EnvironmentSpecNetworkConfigurationCodec) IsEmpty

type EnvironmentSpecResource

type EnvironmentSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AirflowConfigurationOptions *map[string]string `json:"-" sensitive:"true" tf:"airflow_configuration_options"`
	// +optional
	AirflowVersion *string `json:"airflowVersion,omitempty" tf:"airflow_version"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	DagS3Path *string `json:"dagS3Path" tf:"dag_s3_path"`
	// +optional
	EnvironmentClass *string `json:"environmentClass,omitempty" tf:"environment_class"`
	ExecutionRoleArn *string `json:"executionRoleArn" tf:"execution_role_arn"`
	// +optional
	KmsKey *string `json:"kmsKey,omitempty" tf:"kms_key"`
	// +optional
	LastUpdated []EnvironmentSpecLastUpdated `json:"lastUpdated,omitempty" tf:"last_updated"`
	// +optional
	LoggingConfiguration *EnvironmentSpecLoggingConfiguration `json:"loggingConfiguration,omitempty" tf:"logging_configuration"`
	// +optional
	MaxWorkers *int64 `json:"maxWorkers,omitempty" tf:"max_workers"`
	// +optional
	MinWorkers           *int64                               `json:"minWorkers,omitempty" tf:"min_workers"`
	Name                 *string                              `json:"name" tf:"name"`
	NetworkConfiguration *EnvironmentSpecNetworkConfiguration `json:"networkConfiguration" tf:"network_configuration"`
	// +optional
	PluginsS3ObjectVersion *string `json:"pluginsS3ObjectVersion,omitempty" tf:"plugins_s3_object_version"`
	// +optional
	PluginsS3Path *string `json:"pluginsS3Path,omitempty" tf:"plugins_s3_path"`
	// +optional
	RequirementsS3ObjectVersion *string `json:"requirementsS3ObjectVersion,omitempty" tf:"requirements_s3_object_version"`
	// +optional
	RequirementsS3Path *string `json:"requirementsS3Path,omitempty" tf:"requirements_s3_path"`
	// +optional
	ServiceRoleArn  *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn"`
	SourceBucketArn *string `json:"sourceBucketArn" tf:"source_bucket_arn"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	WebserverAccessMode *string `json:"webserverAccessMode,omitempty" tf:"webserver_access_mode"`
	// +optional
	WebserverURL *string `json:"webserverURL,omitempty" tf:"webserver_url"`
	// +optional
	WeeklyMaintenanceWindowStart *string `json:"weeklyMaintenanceWindowStart,omitempty" tf:"weekly_maintenance_window_start"`
}

func (*EnvironmentSpecResource) DeepCopy

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

func (*EnvironmentSpecResource) DeepCopyInto

func (in *EnvironmentSpecResource) DeepCopyInto(out *EnvironmentSpecResource)

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

type EnvironmentStatus

type EnvironmentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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