common

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValueOrSecretKeySelectorPair

type KeyValueOrSecretKeySelectorPair struct {
	// Key is the key part of the key/value pair.
	Key string `json:"key"`
	// Value is the optional value part of the key/value pair.
	// +optional
	Value ValueOrSecretKeySelector `json:"value,omitempty"`
}

KeyValueOrSecretKeySelectorPair is useful when wanting to realize a map as a list of key/value pairs where each value could also reference data stored in a Secret resource.

func (*KeyValueOrSecretKeySelectorPair) DeepCopy

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

func (*KeyValueOrSecretKeySelectorPair) DeepCopyInto

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

type KeyValuePair

type KeyValuePair struct {
	// Key is the key part of the key/value pair.
	Key string `json:"key"`
	// Value is the optional value part of the key/value pair.
	// +optional
	Value string `json:"value,omitempty"`
}

KeyValuePair is useful when wanting to realize a map as a list of key/value pairs.

func (*KeyValuePair) DeepCopy

func (in *KeyValuePair) DeepCopy() *KeyValuePair

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

func (*KeyValuePair) DeepCopyInto

func (in *KeyValuePair) DeepCopyInto(out *KeyValuePair)

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

type LocalObjectRef

type LocalObjectRef struct {
	// APIVersion defines the versioned schema of this representation of an
	// object. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion"`

	// Kind is a string value representing the REST resource this object
	// represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind"`

	// Name refers to a unique resource in the current namespace.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `json:"name"`
}

LocalObjectRef describes a reference to another object in the same namespace as the referrer.

func (*LocalObjectRef) DeepCopy

func (in *LocalObjectRef) DeepCopy() *LocalObjectRef

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

func (*LocalObjectRef) DeepCopyInto

func (in *LocalObjectRef) DeepCopyInto(out *LocalObjectRef)

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

type NameValuePair

type NameValuePair struct {
	// Name is the name part of the name/value pair.
	Name string `json:"name"`
	// Value is the optional value part of the name/value pair.
	// +optional
	Value string `json:"value,omitempty"`
}

NameValuePair is useful when wanting to realize a map as a list of name/value pairs.

func (*NameValuePair) DeepCopy

func (in *NameValuePair) DeepCopy() *NameValuePair

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

func (*NameValuePair) DeepCopyInto

func (in *NameValuePair) DeepCopyInto(out *NameValuePair)

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

type PartialObjectRef

type PartialObjectRef struct {
	metav1.TypeMeta `json:",inline"`

	// Name refers to a unique resource in the current namespace.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `json:"name"`
}

PartialObjectRef describes a reference to another object in the same namespace as the referrer. The reference can be just a name but may also include the referred resource's APIVersion and Kind.

func (*PartialObjectRef) DeepCopy

func (in *PartialObjectRef) DeepCopy() *PartialObjectRef

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

func (*PartialObjectRef) DeepCopyInto

func (in *PartialObjectRef) DeepCopyInto(out *PartialObjectRef)

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

type SecretKeySelector added in v1.8.5

type SecretKeySelector struct {
	// Name is the name of the secret.
	Name string `json:"name"`

	// Key is the key in the secret that specifies the requested data.
	Key string `json:"key"`
}

SecretKeySelector references data from a Secret resource by a specific key.

func (*SecretKeySelector) DeepCopy added in v1.8.5

func (in *SecretKeySelector) DeepCopy() *SecretKeySelector

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

func (*SecretKeySelector) DeepCopyInto added in v1.8.5

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

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

type ValueOrSecretKeySelector

type ValueOrSecretKeySelector struct {
	// From is specified to reference a value from a Secret resource.
	//
	// Please note this field is mutually exclusive with the Value field.
	//
	// +optional
	From *SecretKeySelector `json:"from,omitempty"`

	// Value is used to directly specify a value.
	//
	// Please note this field is mutually exclusive with the From field.
	//
	// +optional
	Value *string `json:"value,omitempty"`
}

ValueOrSecretKeySelector describes a value from either a SecretKeySelector or value directly in this object.

func (*ValueOrSecretKeySelector) DeepCopy

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

func (*ValueOrSecretKeySelector) DeepCopyInto

func (in *ValueOrSecretKeySelector) DeepCopyInto(out *ValueOrSecretKeySelector)

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