Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=cacerts.csi.cert-manager.io
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CAProviderClass
- type CAProviderClassList
- type CAProviderClassSpec
- type CAProviderClassStatus
- type ObjectRef
- type TypedObjectReference
Constants ¶
const ( ResourceKindCAProviderClass = "CAProviderClass" ResourceCAProviderClass = "caproviderclass" ResourceCAProviderClasses = "caproviderclasses" )
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: cacerts.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶ added in v0.0.3
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CAProviderClass ¶
type CAProviderClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CAProviderClassSpec `json:"spec,omitempty"` Status CAProviderClassStatus `json:"status,omitempty"` }
+genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:path=caproviderclasses,singular=caproviderclass,shortName=cap,categories={appscode,all} +kubebuilder:subresource:status
func (CAProviderClass) CustomResourceDefinition ¶
func (_ CAProviderClass) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*CAProviderClass) DeepCopy ¶
func (in *CAProviderClass) DeepCopy() *CAProviderClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAProviderClass.
func (*CAProviderClass) DeepCopyInto ¶
func (in *CAProviderClass) DeepCopyInto(out *CAProviderClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAProviderClass) DeepCopyObject ¶
func (in *CAProviderClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAProviderClassList ¶
type CAProviderClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CAProviderClass `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true
func (*CAProviderClassList) DeepCopy ¶
func (in *CAProviderClassList) DeepCopy() *CAProviderClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAProviderClassList.
func (*CAProviderClassList) DeepCopyInto ¶
func (in *CAProviderClassList) DeepCopyInto(out *CAProviderClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAProviderClassList) DeepCopyObject ¶
func (in *CAProviderClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAProviderClassSpec ¶
type CAProviderClassSpec struct { // Selects secrets, issuers, cluster issuers, certificates or external issuers // +optional Refs []TypedObjectReference `json:"refs,omitempty"` }
CAProviderClassSpec defines the desired state of CAProviderClass
func (*CAProviderClassSpec) DeepCopy ¶
func (in *CAProviderClassSpec) DeepCopy() *CAProviderClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAProviderClassSpec.
func (*CAProviderClassSpec) DeepCopyInto ¶
func (in *CAProviderClassSpec) DeepCopyInto(out *CAProviderClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAProviderClassStatus ¶
type CAProviderClassStatus struct{}
CAProviderClassStatus defines the observed state of CAProviderClass
func (*CAProviderClassStatus) DeepCopy ¶
func (in *CAProviderClassStatus) DeepCopy() *CAProviderClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAProviderClassStatus.
func (*CAProviderClassStatus) DeepCopyInto ¶
func (in *CAProviderClassStatus) DeepCopyInto(out *CAProviderClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectRef ¶
type ObjectRef struct { APIGroup string `json:"apiGroup"` Kind string `json:"kind"` Namespace string `json:"namespace,omitempty"` Name string `json:"name"` Key string `json:"key,omitempty"` }
func RefFrom ¶
func RefFrom(pc CAProviderClass, ref TypedObjectReference) ObjectRef
func (*ObjectRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectRef.
func (*ObjectRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ObjectRef) ObjKey ¶
func (ref ObjectRef) ObjKey() types.NamespacedName
type TypedObjectReference ¶
type TypedObjectReference struct { // APIGroup is the group for the resource being referenced. // If APIGroup is not specified, the specified Kind must be in the core API group. // For any other third-party types, APIGroup is required. // +optional APIGroup *string `json:"apiGroup"` // Kind is the type of resource being referenced Kind string `json:"kind"` // Namespace of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ // +optional Namespace string `json:"namespace,omitempty"` // Name is the name of resource being referenced Name string `json:"name"` // The key of the secret to select from. Must be a valid secret key. // +optional Key string `json:"key,omitempty"` }
TypedObjectReference contains enough information to let you locate the typed referenced object. +structType=atomic
func (*TypedObjectReference) DeepCopy ¶
func (in *TypedObjectReference) DeepCopy() *TypedObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedObjectReference.
func (*TypedObjectReference) DeepCopyInto ¶
func (in *TypedObjectReference) DeepCopyInto(out *TypedObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.