cert-manager: github.com/jetstack/cert-manager/pkg/apis/meta/v1 Index | Files

package v1

import "github.com/jetstack/cert-manager/pkg/apis/meta/v1"

Package meta contains meta types for cert-manager APIs +k8s:deepcopy-gen=package +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +gencrdrefdocs:force +groupName=meta.cert-manager.io

Index

Package Files

doc.go register.go types.go zz_generated.deepcopy.go

Constants

const (
    // Used as a data key in Secret resources to store a CA certificate.
    TLSCAKey = "ca.crt"
)

Variables

var (
    SchemeBuilder runtime.SchemeBuilder

    AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: cmmeta.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type ConditionStatus Uses

type ConditionStatus string

ConditionStatus represents a condition's status. +kubebuilder:validation:Enum=True;False;Unknown

const (
    // ConditionTrue represents the fact that a given condition is true
    ConditionTrue ConditionStatus = "True"

    // ConditionFalse represents the fact that a given condition is false
    ConditionFalse ConditionStatus = "False"

    // ConditionUnknown represents the fact that a given condition is unknown
    ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type LocalObjectReference Uses

type LocalObjectReference struct {
    // Name of the resource being referred to.
    // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    Name string `json:"name"`
}

A reference to an object in the same namespace as the referent. If the referent is a cluster-scoped resource (e.g. a ClusterIssuer), the reference instead refers to the resource with the given name in the configured 'cluster resource namespace', which is set as a flag on the controller component (and defaults to the namespace that cert-manager runs in).

func (*LocalObjectReference) DeepCopy Uses

func (in *LocalObjectReference) DeepCopy() *LocalObjectReference

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

func (*LocalObjectReference) DeepCopyInto Uses

func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)

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

type ObjectReference Uses

type ObjectReference struct {
    // Name of the resource being referred to.
    Name string `json:"name"`
    // Kind of the resource being referred to.
    // +optional
    Kind string `json:"kind,omitempty"`
    // Group of the resource being referred to.
    // +optional
    Group string `json:"group,omitempty"`
}

ObjectReference is a reference to an object with a given name, kind and group.

func (*ObjectReference) DeepCopy Uses

func (in *ObjectReference) DeepCopy() *ObjectReference

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

func (*ObjectReference) DeepCopyInto Uses

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

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

type SecretKeySelector Uses

type SecretKeySelector struct {
    // The name of the Secret resource being referred to.
    LocalObjectReference `json:",inline"`

    // The key of the entry in the Secret resource's `data` field to be used.
    // Some instances of this field may be defaulted, in others it may be
    // required.
    // +optional
    Key string `json:"key,omitempty"`
}

A reference to a specific 'key' within a Secret resource. In some instances, `key` is a required field.

func (*SecretKeySelector) DeepCopy Uses

func (in *SecretKeySelector) DeepCopy() *SecretKeySelector

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

func (*SecretKeySelector) DeepCopyInto Uses

func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector)

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

Package v1 imports 3 packages (graph) and is imported by 96 packages. Updated 2020-06-30. Refresh now. Tools for package owners.