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
- Variables
- type SLV
- func (in *SLV) DeepCopy() *SLV
- func (in *SLV) DeepCopyInto(out *SLV)
- func (in *SLV) DeepCopyObject() runtime.Object
- func (r *SLV) Default()
- func (r *SLV) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *SLV) ValidateCreate() (admission.Warnings, error)
- func (r *SLV) ValidateDelete() (admission.Warnings, error)
- func (r *SLV) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type SLVList
- type SLVSpec
- type SLVStatus
Constants ¶
const ( Group = config.K8SLVGroup Version = config.K8SLVVersion Kind = config.K8SLVKind )
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLV.
func (*SLV) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SLV) DeepCopyObject ¶
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 ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*SLV) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SLV) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLVList.
func (*SLVList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SLVList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SLVSpec ¶
SLVSpec defines the desired state of SLV
func (*SLVSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLVSpec.
func (*SLVSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLVStatus.
func (*SLVStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.