v1

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the slv v1 API group +kubebuilder:object:generate=true +groupName=slv.oss.amagi.com

Index

Constants

View Source
const (
	Group   = config.K8SLVGroup
	Version = config.K8SLVVersion
	Kind    = config.K8SLVKind
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type SLV

type SLV struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Type   string    `json:"type,omitempty"`
	Spec   SLVSpec   `json:"spec"`
	Status SLVStatus `json:"status,omitempty"`
}

SLV is the Schema for the slvs API

func (*SLV) DeepCopy

func (in *SLV) DeepCopy() *SLV

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

func (*SLV) DeepCopyInto

func (in *SLV) DeepCopyInto(out *SLV)

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

func (*SLV) DeepCopyObject

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

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

func (*SLV) Default

func (r *SLV) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*SLV) SetupWebhookWithManager

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

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*SLV) ValidateCreate

func (r *SLV) ValidateCreate() (admission.Warnings, error)

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

func (*SLV) ValidateDelete

func (r *SLV) ValidateDelete() (admission.Warnings, error)

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

func (*SLV) ValidateUpdate

func (r *SLV) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

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

type SLVList

type SLVList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SLV `json:"items"`
}

SLVList contains a list of SLV

func (*SLVList) DeepCopy

func (in *SLVList) DeepCopy() *SLVList

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

func (*SLVList) DeepCopyInto

func (in *SLVList) DeepCopyInto(out *SLVList)

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

func (*SLVList) DeepCopyObject

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

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

type SLVSpec

type SLVSpec struct {
	vaults.Vault `json:",inline"`
}

SLVSpec defines the desired state of SLV

func (*SLVSpec) DeepCopy

func (in *SLVSpec) DeepCopy() *SLVSpec

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

func (*SLVSpec) DeepCopyInto

func (in *SLVSpec) DeepCopyInto(out *SLVSpec)

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

type SLVStatus

type SLVStatus struct {
	Error string `json:"error,omitempty"`
}

SLVStatus defines the observed state of SLV

func (*SLVStatus) DeepCopy

func (in *SLVStatus) DeepCopy() *SLVStatus

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

func (*SLVStatus) DeepCopyInto

func (in *SLVStatus) DeepCopyInto(out *SLVStatus)

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
JackTT - Gopher 🇻🇳