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=auditing.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: auditing.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 Auditing

type Auditing struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AuditingSpec   `json:"spec,omitempty"`
	Status            AuditingStatus `json:"status,omitempty"`
}

func (*Auditing) DeepCopy

func (in *Auditing) DeepCopy() *Auditing

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

func (*Auditing) DeepCopyInto

func (in *Auditing) DeepCopyInto(out *Auditing)

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

func (*Auditing) DeepCopyObject

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

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

func (*Auditing) SetupWebhookWithManager

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

func (*Auditing) ValidateCreate

func (r *Auditing) ValidateCreate() error

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

func (*Auditing) ValidateDelete

func (r *Auditing) ValidateDelete() error

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

func (*Auditing) ValidateUpdate

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

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

type AuditingList

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

AuditingList is a list of Auditings

func (*AuditingList) DeepCopy

func (in *AuditingList) DeepCopy() *AuditingList

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

func (*AuditingList) DeepCopyInto

func (in *AuditingList) DeepCopyInto(out *AuditingList)

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

func (*AuditingList) DeepCopyObject

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

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

type AuditingSpec

type AuditingSpec struct {
	State *AuditingSpecResource `json:"state,omitempty" tf:"-"`

	Resource AuditingSpecResource `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 (*AuditingSpec) DeepCopy

func (in *AuditingSpec) DeepCopy() *AuditingSpec

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

func (*AuditingSpec) DeepCopyInto

func (in *AuditingSpec) DeepCopyInto(out *AuditingSpec)

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

type AuditingSpecResource

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

	// +optional
	AuditAuthorizationSuccess *bool `json:"auditAuthorizationSuccess,omitempty" tf:"audit_authorization_success"`
	// +optional
	AuditFilter *string `json:"auditFilter,omitempty" tf:"audit_filter"`
	// +optional
	ConfigurationType *string `json:"configurationType,omitempty" tf:"configuration_type"`
	// +optional
	Enabled   *bool   `json:"enabled,omitempty" tf:"enabled"`
	ProjectID *string `json:"projectID" tf:"project_id"`
}

func (*AuditingSpecResource) DeepCopy

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

func (*AuditingSpecResource) DeepCopyInto

func (in *AuditingSpecResource) DeepCopyInto(out *AuditingSpecResource)

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

type AuditingStatus

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

func (in *AuditingStatus) DeepCopy() *AuditingStatus

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

func (*AuditingStatus) DeepCopyInto

func (in *AuditingStatus) DeepCopyInto(out *AuditingStatus)

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