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=ldap.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: ldap.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 Configuration

type Configuration struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConfigurationSpec   `json:"spec,omitempty"`
	Status            ConfigurationStatus `json:"status,omitempty"`
}

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

func (*Configuration) SetupWebhookWithManager

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

func (*Configuration) ValidateCreate

func (r *Configuration) ValidateCreate() error

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

func (*Configuration) ValidateDelete

func (r *Configuration) ValidateDelete() error

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

func (*Configuration) ValidateUpdate

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

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

type ConfigurationList

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

ConfigurationList is a list of Configurations

func (*ConfigurationList) DeepCopy

func (in *ConfigurationList) DeepCopy() *ConfigurationList

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

func (*ConfigurationList) DeepCopyInto

func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)

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

func (*ConfigurationList) DeepCopyObject

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

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

type ConfigurationSpec

type ConfigurationSpec struct {
	State *ConfigurationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ConfigurationSpecResource `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 (*ConfigurationSpec) DeepCopy

func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec

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

func (*ConfigurationSpec) DeepCopyInto

func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)

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

type ConfigurationSpecResource

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

	AuthenticationEnabled *bool `json:"authenticationEnabled" tf:"authentication_enabled"`
	// +optional
	AuthorizationEnabled *bool `json:"authorizationEnabled,omitempty" tf:"authorization_enabled"`
	// +optional
	AuthzQueryTemplate *string `json:"authzQueryTemplate,omitempty" tf:"authz_query_template"`
	BindPassword       *string `json:"-" sensitive:"true" tf:"bind_password"`
	BindUsername       *string `json:"bindUsername" tf:"bind_username"`
	// +optional
	CaCertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate"`
	Hostname      *string `json:"hostname" tf:"hostname"`
	// +optional
	Port      *int64  `json:"port,omitempty" tf:"port"`
	ProjectID *string `json:"projectID" tf:"project_id"`
	// +optional
	UserToDnMapping []ConfigurationSpecUserToDnMapping `json:"userToDnMapping,omitempty" tf:"user_to_dn_mapping"`
}

func (*ConfigurationSpecResource) DeepCopy

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

func (*ConfigurationSpecResource) DeepCopyInto

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

type ConfigurationSpecUserToDnMapping

type ConfigurationSpecUserToDnMapping struct {
	// +optional
	LdapQuery *string `json:"ldapQuery,omitempty" tf:"ldap_query"`
	// +optional
	Match *string `json:"match,omitempty" tf:"match"`
	// +optional
	Substitution *string `json:"substitution,omitempty" tf:"substitution"`
}

func (*ConfigurationSpecUserToDnMapping) DeepCopy

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

func (*ConfigurationSpecUserToDnMapping) DeepCopyInto

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

type ConfigurationStatus

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

func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus

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

func (*ConfigurationStatus) DeepCopyInto

func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)

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

type Verify

type Verify struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VerifySpec   `json:"spec,omitempty"`
	Status            VerifyStatus `json:"status,omitempty"`
}

func (*Verify) DeepCopy

func (in *Verify) DeepCopy() *Verify

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

func (*Verify) DeepCopyInto

func (in *Verify) DeepCopyInto(out *Verify)

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

func (*Verify) DeepCopyObject

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

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

func (*Verify) SetupWebhookWithManager

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

func (*Verify) ValidateCreate

func (r *Verify) ValidateCreate() error

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

func (*Verify) ValidateDelete

func (r *Verify) ValidateDelete() error

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

func (*Verify) ValidateUpdate

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

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

type VerifyList

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

VerifyList is a list of Verifys

func (*VerifyList) DeepCopy

func (in *VerifyList) DeepCopy() *VerifyList

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

func (*VerifyList) DeepCopyInto

func (in *VerifyList) DeepCopyInto(out *VerifyList)

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

func (*VerifyList) DeepCopyObject

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

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

type VerifySpec

type VerifySpec struct {
	State *VerifySpecResource `json:"state,omitempty" tf:"-"`

	Resource VerifySpecResource `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 (*VerifySpec) DeepCopy

func (in *VerifySpec) DeepCopy() *VerifySpec

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

func (*VerifySpec) DeepCopyInto

func (in *VerifySpec) DeepCopyInto(out *VerifySpec)

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

type VerifySpecLinks struct {
	// +optional
	Href *string `json:"href,omitempty" tf:"href"`
	// +optional
	Rel *string `json:"rel,omitempty" tf:"rel"`
}

func (*VerifySpecLinks) DeepCopy

func (in *VerifySpecLinks) DeepCopy() *VerifySpecLinks

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

func (*VerifySpecLinks) DeepCopyInto

func (in *VerifySpecLinks) DeepCopyInto(out *VerifySpecLinks)

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

type VerifySpecResource

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

	// +optional
	AuthzQueryTemplate *string `json:"authzQueryTemplate,omitempty" tf:"authz_query_template"`
	BindPassword       *string `json:"bindPassword" tf:"bind_password"`
	BindUsername       *string `json:"bindUsername" tf:"bind_username"`
	// +optional
	CaCertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate"`
	Hostname      *string `json:"hostname" tf:"hostname"`
	// +optional
	Links     []VerifySpecLinks `json:"links,omitempty" tf:"links"`
	Port      *int64            `json:"port" tf:"port"`
	ProjectID *string           `json:"projectID" tf:"project_id"`
	// +optional
	RequestID *string `json:"requestID,omitempty" tf:"request_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Validations []VerifySpecValidations `json:"validations,omitempty" tf:"validations"`
}

func (*VerifySpecResource) DeepCopy

func (in *VerifySpecResource) DeepCopy() *VerifySpecResource

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

func (*VerifySpecResource) DeepCopyInto

func (in *VerifySpecResource) DeepCopyInto(out *VerifySpecResource)

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

type VerifySpecValidations

type VerifySpecValidations struct {
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	ValidationType *string `json:"validationType,omitempty" tf:"validation_type"`
}

func (*VerifySpecValidations) DeepCopy

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

func (*VerifySpecValidations) DeepCopyInto

func (in *VerifySpecValidations) DeepCopyInto(out *VerifySpecValidations)

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

type VerifyStatus

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

func (in *VerifyStatus) DeepCopy() *VerifyStatus

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

func (*VerifyStatus) DeepCopyInto

func (in *VerifyStatus) DeepCopyInto(out *VerifyStatus)

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