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=athena.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: athena.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 Database

type Database struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseSpec   `json:"spec,omitempty"`
	Status            DatabaseStatus `json:"status,omitempty"`
}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

func (*Database) SetupWebhookWithManager

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

func (*Database) ValidateCreate

func (r *Database) ValidateCreate() error

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

func (*Database) ValidateDelete

func (r *Database) ValidateDelete() error

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

func (*Database) ValidateUpdate

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

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

type DatabaseList

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

DatabaseList is a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

type DatabaseSpec

type DatabaseSpec struct {
	State *DatabaseSpecResource `json:"state,omitempty" tf:"-"`

	Resource DatabaseSpecResource `json:"resource" tf:"resource"`

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

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

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

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

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseSpecEncryptionConfiguration

type DatabaseSpecEncryptionConfiguration struct {
	EncryptionOption *string `json:"encryptionOption" tf:"encryption_option"`
	// +optional
	KmsKey *string `json:"kmsKey,omitempty" tf:"kms_key"`
}

func (*DatabaseSpecEncryptionConfiguration) DeepCopy

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

func (*DatabaseSpecEncryptionConfiguration) DeepCopyInto

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

type DatabaseSpecEncryptionConfigurationCodec

type DatabaseSpecEncryptionConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (DatabaseSpecEncryptionConfigurationCodec) Decode

func (DatabaseSpecEncryptionConfigurationCodec) Encode

func (DatabaseSpecEncryptionConfigurationCodec) IsEmpty

type DatabaseSpecResource

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

	Bucket *string `json:"bucket" tf:"bucket"`
	// +optional
	EncryptionConfiguration *DatabaseSpecEncryptionConfiguration `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration"`
	// +optional
	ForceDestroy *bool   `json:"forceDestroy,omitempty" tf:"force_destroy"`
	Name         *string `json:"name" tf:"name"`
}

func (*DatabaseSpecResource) DeepCopy

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

func (*DatabaseSpecResource) DeepCopyInto

func (in *DatabaseSpecResource) DeepCopyInto(out *DatabaseSpecResource)

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

type DatabaseStatus

type DatabaseStatus 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 (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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

type NamedQuery

type NamedQuery struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NamedQuerySpec   `json:"spec,omitempty"`
	Status            NamedQueryStatus `json:"status,omitempty"`
}

func (*NamedQuery) DeepCopy

func (in *NamedQuery) DeepCopy() *NamedQuery

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

func (*NamedQuery) DeepCopyInto

func (in *NamedQuery) DeepCopyInto(out *NamedQuery)

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

func (*NamedQuery) DeepCopyObject

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

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

func (*NamedQuery) SetupWebhookWithManager

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

func (*NamedQuery) ValidateCreate

func (r *NamedQuery) ValidateCreate() error

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

func (*NamedQuery) ValidateDelete

func (r *NamedQuery) ValidateDelete() error

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

func (*NamedQuery) ValidateUpdate

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

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

type NamedQueryList

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

NamedQueryList is a list of NamedQuerys

func (*NamedQueryList) DeepCopy

func (in *NamedQueryList) DeepCopy() *NamedQueryList

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

func (*NamedQueryList) DeepCopyInto

func (in *NamedQueryList) DeepCopyInto(out *NamedQueryList)

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

func (*NamedQueryList) DeepCopyObject

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

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

type NamedQuerySpec

type NamedQuerySpec struct {
	State *NamedQuerySpecResource `json:"state,omitempty" tf:"-"`

	Resource NamedQuerySpecResource `json:"resource" tf:"resource"`

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

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

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

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

func (*NamedQuerySpec) DeepCopy

func (in *NamedQuerySpec) DeepCopy() *NamedQuerySpec

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

func (*NamedQuerySpec) DeepCopyInto

func (in *NamedQuerySpec) DeepCopyInto(out *NamedQuerySpec)

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

type NamedQuerySpecResource

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

	Database *string `json:"database" tf:"database"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Name        *string `json:"name" tf:"name"`
	Query       *string `json:"query" tf:"query"`
	// +optional
	Workgroup *string `json:"workgroup,omitempty" tf:"workgroup"`
}

func (*NamedQuerySpecResource) DeepCopy

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

func (*NamedQuerySpecResource) DeepCopyInto

func (in *NamedQuerySpecResource) DeepCopyInto(out *NamedQuerySpecResource)

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

type NamedQueryStatus

type NamedQueryStatus 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 (*NamedQueryStatus) DeepCopy

func (in *NamedQueryStatus) DeepCopy() *NamedQueryStatus

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

func (*NamedQueryStatus) DeepCopyInto

func (in *NamedQueryStatus) DeepCopyInto(out *NamedQueryStatus)

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

type Workgroup

type Workgroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkgroupSpec   `json:"spec,omitempty"`
	Status            WorkgroupStatus `json:"status,omitempty"`
}

func (*Workgroup) DeepCopy

func (in *Workgroup) DeepCopy() *Workgroup

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

func (*Workgroup) DeepCopyInto

func (in *Workgroup) DeepCopyInto(out *Workgroup)

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

func (*Workgroup) DeepCopyObject

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

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

func (*Workgroup) SetupWebhookWithManager

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

func (*Workgroup) ValidateCreate

func (r *Workgroup) ValidateCreate() error

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

func (*Workgroup) ValidateDelete

func (r *Workgroup) ValidateDelete() error

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

func (*Workgroup) ValidateUpdate

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

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

type WorkgroupList

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

WorkgroupList is a list of Workgroups

func (*WorkgroupList) DeepCopy

func (in *WorkgroupList) DeepCopy() *WorkgroupList

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

func (*WorkgroupList) DeepCopyInto

func (in *WorkgroupList) DeepCopyInto(out *WorkgroupList)

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

func (*WorkgroupList) DeepCopyObject

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

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

type WorkgroupSpec

type WorkgroupSpec struct {
	State *WorkgroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource WorkgroupSpecResource `json:"resource" tf:"resource"`

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

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

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

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

func (*WorkgroupSpec) DeepCopy

func (in *WorkgroupSpec) DeepCopy() *WorkgroupSpec

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

func (*WorkgroupSpec) DeepCopyInto

func (in *WorkgroupSpec) DeepCopyInto(out *WorkgroupSpec)

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

type WorkgroupSpecConfiguration

type WorkgroupSpecConfiguration struct {
	// +optional
	BytesScannedCutoffPerQuery *int64 `json:"bytesScannedCutoffPerQuery,omitempty" tf:"bytes_scanned_cutoff_per_query"`
	// +optional
	EnforceWorkgroupConfiguration *bool `json:"enforceWorkgroupConfiguration,omitempty" tf:"enforce_workgroup_configuration"`
	// +optional
	EngineVersion *WorkgroupSpecConfigurationEngineVersion `json:"engineVersion,omitempty" tf:"engine_version"`
	// +optional
	PublishCloudwatchMetricsEnabled *bool `json:"publishCloudwatchMetricsEnabled,omitempty" tf:"publish_cloudwatch_metrics_enabled"`
	// +optional
	RequesterPaysEnabled *bool `json:"requesterPaysEnabled,omitempty" tf:"requester_pays_enabled"`
	// +optional
	ResultConfiguration *WorkgroupSpecConfigurationResultConfiguration `json:"resultConfiguration,omitempty" tf:"result_configuration"`
}

func (*WorkgroupSpecConfiguration) DeepCopy

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

func (*WorkgroupSpecConfiguration) DeepCopyInto

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

type WorkgroupSpecConfigurationCodec

type WorkgroupSpecConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (WorkgroupSpecConfigurationCodec) Decode

func (WorkgroupSpecConfigurationCodec) Encode

func (WorkgroupSpecConfigurationCodec) IsEmpty

type WorkgroupSpecConfigurationEngineVersion added in v0.5.0

type WorkgroupSpecConfigurationEngineVersion struct {
	// +optional
	EffectiveEngineVersion *string `json:"effectiveEngineVersion,omitempty" tf:"effective_engine_version"`
	// +optional
	SelectedEngineVersion *string `json:"selectedEngineVersion,omitempty" tf:"selected_engine_version"`
}

func (*WorkgroupSpecConfigurationEngineVersion) DeepCopy added in v0.5.0

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

func (*WorkgroupSpecConfigurationEngineVersion) DeepCopyInto added in v0.5.0

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

type WorkgroupSpecConfigurationEngineVersionCodec added in v0.5.0

type WorkgroupSpecConfigurationEngineVersionCodec struct {
}

+k8s:deepcopy-gen=false

func (WorkgroupSpecConfigurationEngineVersionCodec) Decode added in v0.5.0

func (WorkgroupSpecConfigurationEngineVersionCodec) Encode added in v0.5.0

func (WorkgroupSpecConfigurationEngineVersionCodec) IsEmpty added in v0.5.0

type WorkgroupSpecConfigurationResultConfiguration

type WorkgroupSpecConfigurationResultConfiguration struct {
	// +optional
	EncryptionConfiguration *WorkgroupSpecConfigurationResultConfigurationEncryptionConfiguration `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration"`
	// +optional
	OutputLocation *string `json:"outputLocation,omitempty" tf:"output_location"`
}

func (*WorkgroupSpecConfigurationResultConfiguration) DeepCopy

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

func (*WorkgroupSpecConfigurationResultConfiguration) DeepCopyInto

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

type WorkgroupSpecConfigurationResultConfigurationCodec

type WorkgroupSpecConfigurationResultConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (WorkgroupSpecConfigurationResultConfigurationCodec) Decode

func (WorkgroupSpecConfigurationResultConfigurationCodec) Encode

func (WorkgroupSpecConfigurationResultConfigurationCodec) IsEmpty

type WorkgroupSpecConfigurationResultConfigurationEncryptionConfiguration

type WorkgroupSpecConfigurationResultConfigurationEncryptionConfiguration struct {
	// +optional
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option"`
	// +optional
	KmsKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn"`
}

func (*WorkgroupSpecConfigurationResultConfigurationEncryptionConfiguration) DeepCopy

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

func (*WorkgroupSpecConfigurationResultConfigurationEncryptionConfiguration) DeepCopyInto

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

type WorkgroupSpecConfigurationResultConfigurationEncryptionConfigurationCodec

type WorkgroupSpecConfigurationResultConfigurationEncryptionConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (WorkgroupSpecConfigurationResultConfigurationEncryptionConfigurationCodec) Decode

func (WorkgroupSpecConfigurationResultConfigurationEncryptionConfigurationCodec) Encode

func (WorkgroupSpecConfigurationResultConfigurationEncryptionConfigurationCodec) IsEmpty

type WorkgroupSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	Configuration *WorkgroupSpecConfiguration `json:"configuration,omitempty" tf:"configuration"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	ForceDestroy *bool   `json:"forceDestroy,omitempty" tf:"force_destroy"`
	Name         *string `json:"name" tf:"name"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*WorkgroupSpecResource) DeepCopy

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

func (*WorkgroupSpecResource) DeepCopyInto

func (in *WorkgroupSpecResource) DeepCopyInto(out *WorkgroupSpecResource)

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

type WorkgroupStatus

type WorkgroupStatus 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 (*WorkgroupStatus) DeepCopy

func (in *WorkgroupStatus) DeepCopy() *WorkgroupStatus

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

func (*WorkgroupStatus) DeepCopyInto

func (in *WorkgroupStatus) DeepCopyInto(out *WorkgroupStatus)

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