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=lakeformation.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: lakeformation.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 DataLakeSettings

type DataLakeSettings struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DataLakeSettingsSpec   `json:"spec,omitempty"`
	Status            DataLakeSettingsStatus `json:"status,omitempty"`
}

func (*DataLakeSettings) DeepCopy

func (in *DataLakeSettings) DeepCopy() *DataLakeSettings

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

func (*DataLakeSettings) DeepCopyInto

func (in *DataLakeSettings) DeepCopyInto(out *DataLakeSettings)

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

func (*DataLakeSettings) DeepCopyObject

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

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

func (*DataLakeSettings) SetupWebhookWithManager

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

func (*DataLakeSettings) ValidateCreate

func (r *DataLakeSettings) ValidateCreate() error

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

func (*DataLakeSettings) ValidateDelete

func (r *DataLakeSettings) ValidateDelete() error

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

func (*DataLakeSettings) ValidateUpdate

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

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

type DataLakeSettingsList

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

DataLakeSettingsList is a list of DataLakeSettingss

func (*DataLakeSettingsList) DeepCopy

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

func (*DataLakeSettingsList) DeepCopyInto

func (in *DataLakeSettingsList) DeepCopyInto(out *DataLakeSettingsList)

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

func (*DataLakeSettingsList) DeepCopyObject

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

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

type DataLakeSettingsSpec

type DataLakeSettingsSpec struct {
	State *DataLakeSettingsSpecResource `json:"state,omitempty" tf:"-"`

	Resource DataLakeSettingsSpecResource `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 (*DataLakeSettingsSpec) DeepCopy

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

func (*DataLakeSettingsSpec) DeepCopyInto

func (in *DataLakeSettingsSpec) DeepCopyInto(out *DataLakeSettingsSpec)

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

type DataLakeSettingsSpecCreateDatabaseDefaultPermissions

type DataLakeSettingsSpecCreateDatabaseDefaultPermissions struct {
	// +optional
	Permissions []string `json:"permissions,omitempty" tf:"permissions"`
	// +optional
	Principal *string `json:"principal,omitempty" tf:"principal"`
}

func (*DataLakeSettingsSpecCreateDatabaseDefaultPermissions) DeepCopy

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

func (*DataLakeSettingsSpecCreateDatabaseDefaultPermissions) DeepCopyInto

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

type DataLakeSettingsSpecCreateTableDefaultPermissions

type DataLakeSettingsSpecCreateTableDefaultPermissions struct {
	// +optional
	Permissions []string `json:"permissions,omitempty" tf:"permissions"`
	// +optional
	Principal *string `json:"principal,omitempty" tf:"principal"`
}

func (*DataLakeSettingsSpecCreateTableDefaultPermissions) DeepCopy

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

func (*DataLakeSettingsSpecCreateTableDefaultPermissions) DeepCopyInto

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

type DataLakeSettingsSpecResource

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

	// +optional
	Admins []string `json:"admins,omitempty" tf:"admins"`
	// +optional
	CatalogID *string `json:"catalogID,omitempty" tf:"catalog_id"`
	// +optional
	// +kubebuilder:validation:MaxItems=3
	CreateDatabaseDefaultPermissions []DataLakeSettingsSpecCreateDatabaseDefaultPermissions `json:"createDatabaseDefaultPermissions,omitempty" tf:"create_database_default_permissions"`
	// +optional
	// +kubebuilder:validation:MaxItems=3
	CreateTableDefaultPermissions []DataLakeSettingsSpecCreateTableDefaultPermissions `json:"createTableDefaultPermissions,omitempty" tf:"create_table_default_permissions"`
	// +optional
	TrustedResourceOwners []string `json:"trustedResourceOwners,omitempty" tf:"trusted_resource_owners"`
}

func (*DataLakeSettingsSpecResource) DeepCopy

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

func (*DataLakeSettingsSpecResource) DeepCopyInto

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

type DataLakeSettingsStatus

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

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

func (*DataLakeSettingsStatus) DeepCopyInto

func (in *DataLakeSettingsStatus) DeepCopyInto(out *DataLakeSettingsStatus)

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

type LakeformationResource

type LakeformationResource struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LakeformationResourceSpec   `json:"spec,omitempty"`
	Status            LakeformationResourceStatus `json:"status,omitempty"`
}

func (*LakeformationResource) DeepCopy

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

func (*LakeformationResource) DeepCopyInto

func (in *LakeformationResource) DeepCopyInto(out *LakeformationResource)

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

func (*LakeformationResource) DeepCopyObject

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

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

func (*LakeformationResource) SetupWebhookWithManager

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

func (*LakeformationResource) ValidateCreate

func (r *LakeformationResource) ValidateCreate() error

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

func (*LakeformationResource) ValidateDelete

func (r *LakeformationResource) ValidateDelete() error

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

func (*LakeformationResource) ValidateUpdate

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

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

type LakeformationResourceList

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

LakeformationResourceList is a list of LakeformationResources

func (*LakeformationResourceList) DeepCopy

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

func (*LakeformationResourceList) DeepCopyInto

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

func (*LakeformationResourceList) DeepCopyObject

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

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

type LakeformationResourceSpec

type LakeformationResourceSpec struct {
	State *LakeformationResourceSpecResource `json:"state,omitempty" tf:"-"`

	Resource LakeformationResourceSpecResource `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 (*LakeformationResourceSpec) DeepCopy

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

func (*LakeformationResourceSpec) DeepCopyInto

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

type LakeformationResourceSpecResource

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

	Arn *string `json:"arn" tf:"arn"`
	// +optional
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified"`
	// +optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn"`
}

func (*LakeformationResourceSpecResource) DeepCopy

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

func (*LakeformationResourceSpecResource) DeepCopyInto

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

type LakeformationResourceStatus

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

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

func (*LakeformationResourceStatus) DeepCopyInto

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

type Permissions

type Permissions struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PermissionsSpec   `json:"spec,omitempty"`
	Status            PermissionsStatus `json:"status,omitempty"`
}

func (*Permissions) DeepCopy

func (in *Permissions) DeepCopy() *Permissions

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

func (*Permissions) DeepCopyInto

func (in *Permissions) DeepCopyInto(out *Permissions)

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

func (*Permissions) DeepCopyObject

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

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

func (*Permissions) SetupWebhookWithManager

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

func (*Permissions) ValidateCreate

func (r *Permissions) ValidateCreate() error

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

func (*Permissions) ValidateDelete

func (r *Permissions) ValidateDelete() error

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

func (*Permissions) ValidateUpdate

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

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

type PermissionsList

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

PermissionsList is a list of Permissionss

func (*PermissionsList) DeepCopy

func (in *PermissionsList) DeepCopy() *PermissionsList

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

func (*PermissionsList) DeepCopyInto

func (in *PermissionsList) DeepCopyInto(out *PermissionsList)

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

func (*PermissionsList) DeepCopyObject

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

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

type PermissionsSpec

type PermissionsSpec struct {
	State *PermissionsSpecResource `json:"state,omitempty" tf:"-"`

	Resource PermissionsSpecResource `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 (*PermissionsSpec) DeepCopy

func (in *PermissionsSpec) DeepCopy() *PermissionsSpec

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

func (*PermissionsSpec) DeepCopyInto

func (in *PermissionsSpec) DeepCopyInto(out *PermissionsSpec)

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

type PermissionsSpecDataLocation

type PermissionsSpecDataLocation struct {
	Arn *string `json:"arn" tf:"arn"`
	// +optional
	CatalogID *string `json:"catalogID,omitempty" tf:"catalog_id"`
}

func (*PermissionsSpecDataLocation) DeepCopy

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

func (*PermissionsSpecDataLocation) DeepCopyInto

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

type PermissionsSpecDataLocationCodec

type PermissionsSpecDataLocationCodec struct {
}

+k8s:deepcopy-gen=false

func (PermissionsSpecDataLocationCodec) Decode

func (PermissionsSpecDataLocationCodec) Encode

func (PermissionsSpecDataLocationCodec) IsEmpty

type PermissionsSpecDatabase

type PermissionsSpecDatabase struct {
	// +optional
	CatalogID *string `json:"catalogID,omitempty" tf:"catalog_id"`
	Name      *string `json:"name" tf:"name"`
}

func (*PermissionsSpecDatabase) DeepCopy

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

func (*PermissionsSpecDatabase) DeepCopyInto

func (in *PermissionsSpecDatabase) DeepCopyInto(out *PermissionsSpecDatabase)

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

type PermissionsSpecDatabaseCodec

type PermissionsSpecDatabaseCodec struct {
}

+k8s:deepcopy-gen=false

func (PermissionsSpecDatabaseCodec) Decode

func (PermissionsSpecDatabaseCodec) Encode

func (PermissionsSpecDatabaseCodec) IsEmpty

type PermissionsSpecResource

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

	// +optional
	CatalogID *string `json:"catalogID,omitempty" tf:"catalog_id"`
	// +optional
	CatalogResource *bool `json:"catalogResource,omitempty" tf:"catalog_resource"`
	// +optional
	DataLocation *PermissionsSpecDataLocation `json:"dataLocation,omitempty" tf:"data_location"`
	// +optional
	Database *PermissionsSpecDatabase `json:"database,omitempty" tf:"database"`
	// +kubebuilder:validation:MinItems=1
	Permissions []string `json:"permissions" tf:"permissions"`
	// +optional
	PermissionsWithGrantOption []string `json:"permissionsWithGrantOption,omitempty" tf:"permissions_with_grant_option"`
	Principal                  *string  `json:"principal" tf:"principal"`
	// +optional
	Table *PermissionsSpecTable `json:"table,omitempty" tf:"table"`
	// +optional
	TableWithColumns *PermissionsSpecTableWithColumns `json:"tableWithColumns,omitempty" tf:"table_with_columns"`
}

func (*PermissionsSpecResource) DeepCopy

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

func (*PermissionsSpecResource) DeepCopyInto

func (in *PermissionsSpecResource) DeepCopyInto(out *PermissionsSpecResource)

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

type PermissionsSpecTable

type PermissionsSpecTable struct {
	// +optional
	CatalogID    *string `json:"catalogID,omitempty" tf:"catalog_id"`
	DatabaseName *string `json:"databaseName" tf:"database_name"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Wildcard *bool `json:"wildcard,omitempty" tf:"wildcard"`
}

func (*PermissionsSpecTable) DeepCopy

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

func (*PermissionsSpecTable) DeepCopyInto

func (in *PermissionsSpecTable) DeepCopyInto(out *PermissionsSpecTable)

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

type PermissionsSpecTableCodec

type PermissionsSpecTableCodec struct {
}

+k8s:deepcopy-gen=false

func (PermissionsSpecTableCodec) Decode

func (PermissionsSpecTableCodec) Encode

func (PermissionsSpecTableCodec) IsEmpty

type PermissionsSpecTableWithColumns

type PermissionsSpecTableWithColumns struct {
	// +optional
	CatalogID *string `json:"catalogID,omitempty" tf:"catalog_id"`
	// +optional
	ColumnNames  []string `json:"columnNames,omitempty" tf:"column_names"`
	DatabaseName *string  `json:"databaseName" tf:"database_name"`
	// +optional
	ExcludedColumnNames []string `json:"excludedColumnNames,omitempty" tf:"excluded_column_names"`
	Name                *string  `json:"name" tf:"name"`
	// +optional
	Wildcard *bool `json:"wildcard,omitempty" tf:"wildcard"`
}

func (*PermissionsSpecTableWithColumns) DeepCopy

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

func (*PermissionsSpecTableWithColumns) DeepCopyInto

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

type PermissionsSpecTableWithColumnsCodec

type PermissionsSpecTableWithColumnsCodec struct {
}

+k8s:deepcopy-gen=false

func (PermissionsSpecTableWithColumnsCodec) Decode

func (PermissionsSpecTableWithColumnsCodec) Encode

func (PermissionsSpecTableWithColumnsCodec) IsEmpty

type PermissionsStatus

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

func (in *PermissionsStatus) DeepCopy() *PermissionsStatus

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

func (*PermissionsStatus) DeepCopyInto

func (in *PermissionsStatus) DeepCopyInto(out *PermissionsStatus)

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