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=vault.oci.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: vault.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 Secret

type Secret struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SecretSpec   `json:"spec,omitempty"`
	Status            SecretStatus `json:"status,omitempty"`
}

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

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

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

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

func (*Secret) DeepCopyObject

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

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

func (*Secret) SetupWebhookWithManager

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

func (*Secret) ValidateCreate

func (r *Secret) ValidateCreate() error

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

func (*Secret) ValidateDelete

func (r *Secret) ValidateDelete() error

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

func (*Secret) ValidateUpdate

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

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

type SecretList

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

SecretList is a list of Secrets

func (*SecretList) DeepCopy

func (in *SecretList) DeepCopy() *SecretList

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

func (*SecretList) DeepCopyInto

func (in *SecretList) DeepCopyInto(out *SecretList)

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

func (*SecretList) DeepCopyObject

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

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

type SecretSpec

type SecretSpec struct {
	State *SecretSpecResource `json:"state,omitempty" tf:"-"`

	Resource SecretSpecResource `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 (*SecretSpec) DeepCopy

func (in *SecretSpec) DeepCopy() *SecretSpec

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

func (*SecretSpec) DeepCopyInto

func (in *SecretSpec) DeepCopyInto(out *SecretSpec)

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

type SecretSpecResource

type SecretSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	CurrentVersionNumber *string `json:"currentVersionNumber,omitempty" tf:"current_version_number"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	KeyID        *string           `json:"keyID" tf:"key_id"`
	// +optional
	LifecycleDetails *string `json:"lifecycleDetails,omitempty" tf:"lifecycle_details"`
	// +optional
	Metadata      map[string]string        `json:"metadata,omitempty" tf:"metadata"`
	SecretContent *SecretSpecSecretContent `json:"secretContent" tf:"secret_content"`
	SecretName    *string                  `json:"secretName" tf:"secret_name"`
	// +optional
	SecretRules []SecretSpecSecretRules `json:"secretRules,omitempty" tf:"secret_rules"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeOfCurrentVersionExpiry *string `json:"timeOfCurrentVersionExpiry,omitempty" tf:"time_of_current_version_expiry"`
	// +optional
	TimeOfDeletion *string `json:"timeOfDeletion,omitempty" tf:"time_of_deletion"`
	VaultID        *string `json:"vaultID" tf:"vault_id"`
}

func (*SecretSpecResource) DeepCopy

func (in *SecretSpecResource) DeepCopy() *SecretSpecResource

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

func (*SecretSpecResource) DeepCopyInto

func (in *SecretSpecResource) DeepCopyInto(out *SecretSpecResource)

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

type SecretSpecSecretContent

type SecretSpecSecretContent struct {
	Content     *string `json:"content" tf:"content"`
	ContentType *string `json:"contentType" tf:"content_type"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Stage *string `json:"stage,omitempty" tf:"stage"`
}

func (*SecretSpecSecretContent) DeepCopy

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

func (*SecretSpecSecretContent) DeepCopyInto

func (in *SecretSpecSecretContent) DeepCopyInto(out *SecretSpecSecretContent)

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

type SecretSpecSecretContentCodec

type SecretSpecSecretContentCodec struct {
}

+k8s:deepcopy-gen=false

func (SecretSpecSecretContentCodec) Decode

func (SecretSpecSecretContentCodec) Encode

func (SecretSpecSecretContentCodec) IsEmpty

type SecretSpecSecretRules

type SecretSpecSecretRules struct {
	// +optional
	IsEnforcedOnDeletedSecretVersions *bool `json:"isEnforcedOnDeletedSecretVersions,omitempty" tf:"is_enforced_on_deleted_secret_versions"`
	// +optional
	IsSecretContentRetrievalBlockedOnExpiry *bool   `json:"isSecretContentRetrievalBlockedOnExpiry,omitempty" tf:"is_secret_content_retrieval_blocked_on_expiry"`
	RuleType                                *string `json:"ruleType" tf:"rule_type"`
	// +optional
	SecretVersionExpiryInterval *string `json:"secretVersionExpiryInterval,omitempty" tf:"secret_version_expiry_interval"`
	// +optional
	TimeOfAbsoluteExpiry *string `json:"timeOfAbsoluteExpiry,omitempty" tf:"time_of_absolute_expiry"`
}

func (*SecretSpecSecretRules) DeepCopy

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

func (*SecretSpecSecretRules) DeepCopyInto

func (in *SecretSpecSecretRules) DeepCopyInto(out *SecretSpecSecretRules)

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

type SecretStatus

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

func (in *SecretStatus) DeepCopy() *SecretStatus

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

func (*SecretStatus) DeepCopyInto

func (in *SecretStatus) DeepCopyInto(out *SecretStatus)

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