v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Overview

+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=cacerts.csi.cert-manager.io

Index

Constants

View Source
const (
	ResourceKindCAProviderClass = "CAProviderClass"
	ResourceCAProviderClass     = "caproviderclass"
	ResourceCAProviderClasses   = "caproviderclasses"
)

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: cacerts.GroupName, Version: "v1alpha1"}

Functions

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 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

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

func (in *ObjectRef) DeepCopy() *ObjectRef

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

func (*ObjectRef) DeepCopyInto

func (in *ObjectRef) DeepCopyInto(out *ObjectRef)

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

func (ObjectRef) GroupKind

func (ref ObjectRef) GroupKind() schema.GroupKind

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL