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: 14 Imported by: 0

Documentation

Overview

+groupName=custom.mongodbatlas.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: custom.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 DbRole

type DbRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DbRoleSpec   `json:"spec,omitempty"`
	Status            DbRoleStatus `json:"status,omitempty"`
}

func (*DbRole) DeepCopy

func (in *DbRole) DeepCopy() *DbRole

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

func (*DbRole) DeepCopyInto

func (in *DbRole) DeepCopyInto(out *DbRole)

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

func (*DbRole) DeepCopyObject

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

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

func (*DbRole) SetupWebhookWithManager

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

func (*DbRole) ValidateCreate

func (r *DbRole) ValidateCreate() error

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

func (*DbRole) ValidateDelete

func (r *DbRole) ValidateDelete() error

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

func (*DbRole) ValidateUpdate

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

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

type DbRoleList

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

DbRoleList is a list of DbRoles

func (*DbRoleList) DeepCopy

func (in *DbRoleList) DeepCopy() *DbRoleList

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

func (*DbRoleList) DeepCopyInto

func (in *DbRoleList) DeepCopyInto(out *DbRoleList)

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

func (*DbRoleList) DeepCopyObject

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

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

type DbRoleSpec

type DbRoleSpec struct {
	State *DbRoleSpecResource `json:"state,omitempty" tf:"-"`

	Resource DbRoleSpecResource `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 (*DbRoleSpec) DeepCopy

func (in *DbRoleSpec) DeepCopy() *DbRoleSpec

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

func (*DbRoleSpec) DeepCopyInto

func (in *DbRoleSpec) DeepCopyInto(out *DbRoleSpec)

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

type DbRoleSpecActions

type DbRoleSpecActions struct {
	Action    *string                      `json:"action" tf:"action"`
	Resources []DbRoleSpecActionsResources `json:"resources" tf:"resources"`
}

func (*DbRoleSpecActions) DeepCopy

func (in *DbRoleSpecActions) DeepCopy() *DbRoleSpecActions

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

func (*DbRoleSpecActions) DeepCopyInto

func (in *DbRoleSpecActions) DeepCopyInto(out *DbRoleSpecActions)

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

type DbRoleSpecActionsResources

type DbRoleSpecActionsResources struct {
	// +optional
	Cluster *bool `json:"cluster,omitempty" tf:"cluster"`
	// +optional
	CollectionName *string `json:"collectionName,omitempty" tf:"collection_name"`
	// +optional
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name"`
}

func (*DbRoleSpecActionsResources) DeepCopy

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

func (*DbRoleSpecActionsResources) DeepCopyInto

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

type DbRoleSpecInheritedRoles

type DbRoleSpecInheritedRoles struct {
	DatabaseName *string `json:"databaseName" tf:"database_name"`
	RoleName     *string `json:"roleName" tf:"role_name"`
}

func (*DbRoleSpecInheritedRoles) DeepCopy

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

func (*DbRoleSpecInheritedRoles) DeepCopyInto

func (in *DbRoleSpecInheritedRoles) DeepCopyInto(out *DbRoleSpecInheritedRoles)

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

type DbRoleSpecResource

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

	// +optional
	Actions []DbRoleSpecActions `json:"actions,omitempty" tf:"actions"`
	// +optional
	InheritedRoles []DbRoleSpecInheritedRoles `json:"inheritedRoles,omitempty" tf:"inherited_roles"`
	ProjectID      *string                    `json:"projectID" tf:"project_id"`
	RoleName       *string                    `json:"roleName" tf:"role_name"`
}

func (*DbRoleSpecResource) DeepCopy

func (in *DbRoleSpecResource) DeepCopy() *DbRoleSpecResource

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

func (*DbRoleSpecResource) DeepCopyInto

func (in *DbRoleSpecResource) DeepCopyInto(out *DbRoleSpecResource)

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

type DbRoleStatus

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

func (in *DbRoleStatus) DeepCopy() *DbRoleStatus

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

func (*DbRoleStatus) DeepCopyInto

func (in *DbRoleStatus) DeepCopyInto(out *DbRoleStatus)

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

type DnsConfigurationClusterAws

type DnsConfigurationClusterAws struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DnsConfigurationClusterAwsSpec   `json:"spec,omitempty"`
	Status            DnsConfigurationClusterAwsStatus `json:"status,omitempty"`
}

func (*DnsConfigurationClusterAws) DeepCopy

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

func (*DnsConfigurationClusterAws) DeepCopyInto

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

func (*DnsConfigurationClusterAws) DeepCopyObject

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

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

func (*DnsConfigurationClusterAws) SetupWebhookWithManager

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

func (*DnsConfigurationClusterAws) ValidateCreate

func (r *DnsConfigurationClusterAws) ValidateCreate() error

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

func (*DnsConfigurationClusterAws) ValidateDelete

func (r *DnsConfigurationClusterAws) ValidateDelete() error

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

func (*DnsConfigurationClusterAws) ValidateUpdate

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

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

type DnsConfigurationClusterAwsList

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

DnsConfigurationClusterAwsList is a list of DnsConfigurationClusterAwss

func (*DnsConfigurationClusterAwsList) DeepCopy

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

func (*DnsConfigurationClusterAwsList) DeepCopyInto

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

func (*DnsConfigurationClusterAwsList) DeepCopyObject

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

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

type DnsConfigurationClusterAwsSpec

type DnsConfigurationClusterAwsSpec struct {
	State *DnsConfigurationClusterAwsSpecResource `json:"state,omitempty" tf:"-"`

	Resource DnsConfigurationClusterAwsSpecResource `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 (*DnsConfigurationClusterAwsSpec) DeepCopy

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

func (*DnsConfigurationClusterAwsSpec) DeepCopyInto

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

type DnsConfigurationClusterAwsSpecResource

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

	Enabled   *bool   `json:"enabled" tf:"enabled"`
	ProjectID *string `json:"projectID" tf:"project_id"`
}

func (*DnsConfigurationClusterAwsSpecResource) DeepCopy

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

func (*DnsConfigurationClusterAwsSpecResource) DeepCopyInto

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

type DnsConfigurationClusterAwsStatus

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

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

func (*DnsConfigurationClusterAwsStatus) DeepCopyInto

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