v1alpha1

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=operators.coreos.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operators.coreos.com", Version: "v1alpha1"}

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

type Subscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// SubscriptionSpec defines an Application that can be installed
	Spec *SubscriptionSpec `json:"spec,omitempty"`

	// Status corresponds to the JSON schema field "status".
	Status *SubscriptionStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject

func (in *Subscription) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SubscriptionList

type SubscriptionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// A list of Kafka objects.
	Items []Subscription `json:"items,omitempty"`
}

+kubebuilder:object:root=true

func (*SubscriptionList) DeepCopy

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject

func (in *SubscriptionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SubscriptionSpec

type SubscriptionSpec struct {
	// Channel corresponds to the JSON schema field "channel".
	Channel *string `json:"channel,omitempty"`

	// SubscriptionConfig contains configuration specified for a subscription.
	Config *SubscriptionSpecConfig `json:"config,omitempty"`

	// Approval is the user approval policy for an InstallPlan. It must be one of
	// "Automatic" or "Manual".
	InstallPlanApproval *string `json:"installPlanApproval,omitempty"`

	// Name corresponds to the JSON schema field "name".
	Name string `json:"name"`

	// Source corresponds to the JSON schema field "source".
	Source string `json:"source"`

	// SourceNamespace corresponds to the JSON schema field "sourceNamespace".
	SourceNamespace string `json:"sourceNamespace"`

	// StartingCSV corresponds to the JSON schema field "startingCSV".
	StartingCSV *string `json:"startingCSV,omitempty"`
}

SubscriptionSpec defines an Application that can be installed

func (*SubscriptionSpec) DeepCopy

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

func (*SubscriptionSpec) UnmarshalJSON

func (j *SubscriptionSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfig

type SubscriptionSpecConfig struct {
	// Env is a list of environment variables to set in the container. Cannot be
	// updated.
	Env []SubscriptionSpecConfigEnvElem `json:"env,omitempty"`

	// EnvFrom is a list of sources to populate environment variables in the
	// container. The keys defined within a source must be a C_IDENTIFIER. All invalid
	// keys will be reported as an event when the container is starting. When a key
	// exists in multiple sources, the value associated with the last source will take
	// precedence. Values defined by an Env with a duplicate key will take precedence.
	// Immutable.
	EnvFrom []SubscriptionSpecConfigEnvFromElem `json:"envFrom,omitempty"`

	// NodeSelector is a selector which must be true for the pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that
	// node. More info:
	// https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	NodeSelector *apiextensions.JSON `json:"nodeSelector,omitempty"`

	// Resources represents compute resources required by this container. Immutable.
	// More info:
	// https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Resources *SubscriptionSpecConfigResources `json:"resources,omitempty"`

	// Selector is the label selector for pods to be configured. Existing ReplicaSets
	// whose pods are selected by this will be the ones affected by this deployment.
	// It must match the pod template's labels.
	Selector *SubscriptionSpecConfigSelector `json:"selector,omitempty"`

	// Tolerations are the pod's tolerations.
	Tolerations []SubscriptionSpecConfigTolerationsElem `json:"tolerations,omitempty"`

	// List of VolumeMounts to set in the container.
	VolumeMounts []SubscriptionSpecConfigVolumeMountsElem `json:"volumeMounts,omitempty"`

	// List of Volumes to set in the podSpec.
	Volumes []SubscriptionSpecConfigVolumesElem `json:"volumes,omitempty"`
}

SubscriptionConfig contains configuration specified for a subscription.

func (*SubscriptionSpecConfig) DeepCopy

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

func (*SubscriptionSpecConfig) DeepCopyInto

func (in *SubscriptionSpecConfig) DeepCopyInto(out *SubscriptionSpecConfig)

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

type SubscriptionSpecConfigEnvElem

type SubscriptionSpecConfigEnvElem struct {
	// Name of the environment variable. Must be a C_IDENTIFIER.
	Name string `json:"name"`

	// Variable references $(VAR_NAME) are expanded using the previously defined
	// environment variables in the container and any service environment variables.
	// If a variable cannot be resolved, the reference in the input string will be
	// unchanged. Double $$ are reduced to a single $, which allows for escaping the
	// $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal
	// "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether
	// the variable exists or not. Defaults to "".
	Value *string `json:"value,omitempty"`

	// Source for the environment variable's value. Cannot be used if value is not
	// empty.
	ValueFrom *SubscriptionSpecConfigEnvElemValueFrom `json:"valueFrom,omitempty"`
}

EnvVar represents an environment variable present in a Container.

func (*SubscriptionSpecConfigEnvElem) DeepCopy

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

func (*SubscriptionSpecConfigEnvElem) DeepCopyInto

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

func (*SubscriptionSpecConfigEnvElem) UnmarshalJSON

func (j *SubscriptionSpecConfigEnvElem) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigEnvElemValueFrom

type SubscriptionSpecConfigEnvElemValueFrom struct {
	// Selects a key of a ConfigMap.
	ConfigMapKeyRef *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef `json:"configMapKeyRef,omitempty"`

	// Selects a field of the pod: supports metadata.name, metadata.namespace,
	// `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName,
	// spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
	FieldRef *SubscriptionSpecConfigEnvElemValueFromFieldRef `json:"fieldRef,omitempty"`

	// Selects a resource of the container: only resources limits and requests
	// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu,
	// requests.memory and requests.ephemeral-storage) are currently supported.
	ResourceFieldRef *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef `json:"resourceFieldRef,omitempty"`

	// Selects a key of a secret in the pod's namespace
	SecretKeyRef *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef `json:"secretKeyRef,omitempty"`
}

Source for the environment variable's value. Cannot be used if value is not empty.

func (*SubscriptionSpecConfigEnvElemValueFrom) DeepCopy

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

func (*SubscriptionSpecConfigEnvElemValueFrom) DeepCopyInto

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

type SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef

type SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef struct {
	// The key to select.
	Key string `json:"key"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its key must be defined
	Optional *bool `json:"optional,omitempty"`
}

Selects a key of a ConfigMap.

func (*SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopy

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

func (*SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopyInto

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

func (*SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigEnvElemValueFromFieldRef

type SubscriptionSpecConfigEnvElemValueFromFieldRef struct {
	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	ApiVersion *string `json:"apiVersion,omitempty"`

	// Path of the field to select in the specified API version.
	FieldPath string `json:"fieldPath"`
}

Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

func (*SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopy

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

func (*SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopyInto

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

func (*SubscriptionSpecConfigEnvElemValueFromFieldRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigEnvElemValueFromResourceFieldRef

type SubscriptionSpecConfigEnvElemValueFromResourceFieldRef struct {
	// Container name: required for volumes, optional for env vars
	ContainerName *string `json:"containerName,omitempty"`

	// Specifies the output format of the exposed resources, defaults to "1"
	Divisor *apiextensions.JSON `json:"divisor,omitempty"`

	// Required: resource to select
	Resource string `json:"resource"`
}

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

func (*SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopy

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

func (*SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopyInto

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

func (*SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigEnvElemValueFromSecretKeyRef

type SubscriptionSpecConfigEnvElemValueFromSecretKeyRef struct {
	// The key of the secret to select from.  Must be a valid secret key.
	Key string `json:"key"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the Secret or its key must be defined
	Optional *bool `json:"optional,omitempty"`
}

Selects a key of a secret in the pod's namespace

func (*SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopy

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

func (*SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopyInto

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

func (*SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigEnvFromElem

type SubscriptionSpecConfigEnvFromElem struct {
	// The ConfigMap to select from
	ConfigMapRef *SubscriptionSpecConfigEnvFromElemConfigMapRef `json:"configMapRef,omitempty"`

	// An optional identifier to prepend to each key in the ConfigMap. Must be a
	// C_IDENTIFIER.
	Prefix *string `json:"prefix,omitempty"`

	// The Secret to select from
	SecretRef *SubscriptionSpecConfigEnvFromElemSecretRef `json:"secretRef,omitempty"`
}

EnvFromSource represents the source of a set of ConfigMaps

func (*SubscriptionSpecConfigEnvFromElem) DeepCopy

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

func (*SubscriptionSpecConfigEnvFromElem) DeepCopyInto

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

type SubscriptionSpecConfigEnvFromElemConfigMapRef

type SubscriptionSpecConfigEnvFromElemConfigMapRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the ConfigMap must be defined
	Optional *bool `json:"optional,omitempty"`
}

The ConfigMap to select from

func (*SubscriptionSpecConfigEnvFromElemConfigMapRef) DeepCopy

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

func (*SubscriptionSpecConfigEnvFromElemConfigMapRef) DeepCopyInto

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

type SubscriptionSpecConfigEnvFromElemSecretRef

type SubscriptionSpecConfigEnvFromElemSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the Secret must be defined
	Optional *bool `json:"optional,omitempty"`
}

The Secret to select from

func (*SubscriptionSpecConfigEnvFromElemSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigEnvFromElemSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigResources

type SubscriptionSpecConfigResources struct {
	// Limits describes the maximum amount of compute resources allowed. More info:
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	Limits *apiextensions.JSON `json:"limits,omitempty"`

	// Requests describes the minimum amount of compute resources required. If
	// Requests is omitted for a container, it defaults to Limits if that is
	// explicitly specified, otherwise to an implementation-defined value. More info:
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	Requests *apiextensions.JSON `json:"requests,omitempty"`
}

Resources represents compute resources required by this container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

func (*SubscriptionSpecConfigResources) DeepCopy

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

func (*SubscriptionSpecConfigResources) DeepCopyInto

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

type SubscriptionSpecConfigSelector

type SubscriptionSpecConfigSelector struct {
	// matchExpressions is a list of label selector requirements. The requirements are
	// ANDed.
	MatchExpressions []SubscriptionSpecConfigSelectorMatchExpressionsElem `json:"matchExpressions,omitempty"`

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the
	// matchLabels map is equivalent to an element of matchExpressions, whose key
	// field is "key", the operator is "In", and the values array contains only
	// "value". The requirements are ANDed.
	MatchLabels *apiextensions.JSON `json:"matchLabels,omitempty"`
}

Selector is the label selector for pods to be configured. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.

func (*SubscriptionSpecConfigSelector) DeepCopy

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

func (*SubscriptionSpecConfigSelector) DeepCopyInto

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

type SubscriptionSpecConfigSelectorMatchExpressionsElem

type SubscriptionSpecConfigSelectorMatchExpressionsElem struct {
	// key is the label key that the selector applies to.
	Key string `json:"key"`

	// operator represents a key's relationship to a set of values. Valid operators
	// are In, NotIn, Exists and DoesNotExist.
	Operator string `json:"operator"`

	// values is an array of string values. If the operator is In or NotIn, the values
	// array must be non-empty. If the operator is Exists or DoesNotExist, the values
	// array must be empty. This array is replaced during a strategic merge patch.
	Values []string `json:"values,omitempty"`
}

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopy

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

func (*SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigSelectorMatchExpressionsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigTolerationsElem

type SubscriptionSpecConfigTolerationsElem struct {
	// Effect indicates the taint effect to match. Empty means match all taint
	// effects. When specified, allowed values are NoSchedule, PreferNoSchedule and
	// NoExecute.
	Effect *string `json:"effect,omitempty"`

	// Key is the taint key that the toleration applies to. Empty means match all
	// taint keys. If the key is empty, operator must be Exists; this combination
	// means to match all values and all keys.
	Key *string `json:"key,omitempty"`

	// Operator represents a key's relationship to the value. Valid operators are
	// Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for
	// value, so that a pod can tolerate all taints of a particular category.
	Operator *string `json:"operator,omitempty"`

	// TolerationSeconds represents the period of time the toleration (which must be
	// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By
	// default, it is not set, which means tolerate the taint forever (do not evict).
	// Zero and negative values will be treated as 0 (evict immediately) by the
	// system.
	TolerationSeconds *int `json:"tolerationSeconds,omitempty"`

	// Value is the taint value the toleration matches to. If the operator is Exists,
	// the value should be empty, otherwise just a regular string.
	Value *string `json:"value,omitempty"`
}

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

func (*SubscriptionSpecConfigTolerationsElem) DeepCopy

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

func (*SubscriptionSpecConfigTolerationsElem) DeepCopyInto

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

type SubscriptionSpecConfigVolumeMountsElem

type SubscriptionSpecConfigVolumeMountsElem struct {
	// Path within the container at which the volume should be mounted.  Must not
	// contain ':'.
	MountPath string `json:"mountPath"`

	// mountPropagation determines how mounts are propagated from the host to
	// container and the other way around. When not set, MountPropagationNone is used.
	// This field is beta in 1.10.
	MountPropagation *string `json:"mountPropagation,omitempty"`

	// This must match the Name of a Volume.
	Name string `json:"name"`

	// Mounted read-only if true, read-write otherwise (false or unspecified).
	// Defaults to false.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Path within the volume from which the container's volume should be mounted.
	// Defaults to "" (volume's root).
	SubPath *string `json:"subPath,omitempty"`

	// Expanded path within the volume from which the container's volume should be
	// mounted. Behaves similarly to SubPath but environment variable references
	// $(VAR_NAME) are expanded using the container's environment. Defaults to ""
	// (volume's root). SubPathExpr and SubPath are mutually exclusive.
	SubPathExpr *string `json:"subPathExpr,omitempty"`
}

VolumeMount describes a mounting of a Volume within a container.

func (*SubscriptionSpecConfigVolumeMountsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumeMountsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumeMountsElem) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumeMountsElem) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElem

type SubscriptionSpecConfigVolumesElem struct {
	// AWSElasticBlockStore represents an AWS Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	AwsElasticBlockStore *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore `json:"awsElasticBlockStore,omitempty"`

	// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the
	// pod.
	AzureDisk *SubscriptionSpecConfigVolumesElemAzureDisk `json:"azureDisk,omitempty"`

	// AzureFile represents an Azure File Service mount on the host and bind mount to
	// the pod.
	AzureFile *SubscriptionSpecConfigVolumesElemAzureFile `json:"azureFile,omitempty"`

	// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
	Cephfs *SubscriptionSpecConfigVolumesElemCephfs `json:"cephfs,omitempty"`

	// Cinder represents a cinder volume attached and mounted on kubelets host
	// machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	Cinder *SubscriptionSpecConfigVolumesElemCinder `json:"cinder,omitempty"`

	// ConfigMap represents a configMap that should populate this volume
	ConfigMap *SubscriptionSpecConfigVolumesElemConfigMap `json:"configMap,omitempty"`

	// CSI (Container Storage Interface) represents ephemeral storage that is handled
	// by certain external CSI drivers (Beta feature).
	Csi *SubscriptionSpecConfigVolumesElemCsi `json:"csi,omitempty"`

	// DownwardAPI represents downward API about the pod that should populate this
	// volume
	DownwardAPI *SubscriptionSpecConfigVolumesElemDownwardAPI `json:"downwardAPI,omitempty"`

	// EmptyDir represents a temporary directory that shares a pod's lifetime. More
	// info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	EmptyDir *SubscriptionSpecConfigVolumesElemEmptyDir `json:"emptyDir,omitempty"`

	// Ephemeral represents a volume that is handled by a cluster storage driver. The
	// volume's lifecycle is tied to the pod that defines it - it will be created
	// before the pod starts, and deleted when the pod is removed.
	//  Use this if: a) the volume is only needed while the pod runs, b) features of
	// normal volumes like restoring from snapshot or capacity    tracking are needed,
	// c) the storage driver is specified through a storage class, and d) the storage
	// driver supports dynamic volume provisioning through    a PersistentVolumeClaim
	// (see EphemeralVolumeSource for more    information on the connection between
	// this volume type    and PersistentVolumeClaim).
	//  Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that
	// persist for longer than the lifecycle of an individual pod.
	//  Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
	// be used that way - see the documentation of the driver for more information.
	//  A pod can use both types of ephemeral volumes and persistent volumes at the
	// same time.
	//  This is a beta feature and only available when the GenericEphemeralVolume
	// feature gate is enabled.
	Ephemeral *SubscriptionSpecConfigVolumesElemEphemeral `json:"ephemeral,omitempty"`

	// FC represents a Fibre Channel resource that is attached to a kubelet's host
	// machine and then exposed to the pod.
	Fc *SubscriptionSpecConfigVolumesElemFc `json:"fc,omitempty"`

	// FlexVolume represents a generic volume resource that is provisioned/attached
	// using an exec based plugin.
	FlexVolume *SubscriptionSpecConfigVolumesElemFlexVolume `json:"flexVolume,omitempty"`

	// Flocker represents a Flocker volume attached to a kubelet's host machine. This
	// depends on the Flocker control service being running
	Flocker *SubscriptionSpecConfigVolumesElemFlocker `json:"flocker,omitempty"`

	// GCEPersistentDisk represents a GCE Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	GcePersistentDisk *SubscriptionSpecConfigVolumesElemGcePersistentDisk `json:"gcePersistentDisk,omitempty"`

	// GitRepo represents a git repository at a particular revision. DEPRECATED:
	// GitRepo is deprecated. To provision a container with a git repo, mount an
	// EmptyDir into an InitContainer that clones the repo using git, then mount the
	// EmptyDir into the Pod's container.
	GitRepo *SubscriptionSpecConfigVolumesElemGitRepo `json:"gitRepo,omitempty"`

	// Glusterfs represents a Glusterfs mount on the host that shares a pod's
	// lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
	Glusterfs *SubscriptionSpecConfigVolumesElemGlusterfs `json:"glusterfs,omitempty"`

	// HostPath represents a pre-existing file or directory on the host machine that
	// is directly exposed to the container. This is generally used for system agents
	// or other privileged things that are allowed to see the host machine. Most
	// containers will NOT need this. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl)
	// We need to restrict who can use host directory mounts and who can/can not mount
	// host directories as read/write.
	HostPath *SubscriptionSpecConfigVolumesElemHostPath `json:"hostPath,omitempty"`

	// ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host
	// machine and then exposed to the pod. More info:
	// https://examples.k8s.io/volumes/iscsi/README.md
	Iscsi *SubscriptionSpecConfigVolumesElemIscsi `json:"iscsi,omitempty"`

	// Volume's name. Must be a DNS_LABEL and unique within the pod. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name"`

	// NFS represents an NFS mount on the host that shares a pod's lifetime More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Nfs *SubscriptionSpecConfigVolumesElemNfs `json:"nfs,omitempty"`

	// PersistentVolumeClaimVolumeSource represents a reference to a
	// PersistentVolumeClaim in the same namespace. More info:
	// https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	PersistentVolumeClaim *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim `json:"persistentVolumeClaim,omitempty"`

	// PhotonPersistentDisk represents a PhotonController persistent disk attached and
	// mounted on kubelets host machine
	PhotonPersistentDisk *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk `json:"photonPersistentDisk,omitempty"`

	// PortworxVolume represents a portworx volume attached and mounted on kubelets
	// host machine
	PortworxVolume *SubscriptionSpecConfigVolumesElemPortworxVolume `json:"portworxVolume,omitempty"`

	// Items for all in one resources secrets, configmaps, and downward API
	Projected *SubscriptionSpecConfigVolumesElemProjected `json:"projected,omitempty"`

	// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
	Quobyte *SubscriptionSpecConfigVolumesElemQuobyte `json:"quobyte,omitempty"`

	// RBD represents a Rados Block Device mount on the host that shares a pod's
	// lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
	Rbd *SubscriptionSpecConfigVolumesElemRbd `json:"rbd,omitempty"`

	// ScaleIO represents a ScaleIO persistent volume attached and mounted on
	// Kubernetes nodes.
	ScaleIO *SubscriptionSpecConfigVolumesElemScaleIO `json:"scaleIO,omitempty"`

	// Secret represents a secret that should populate this volume. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#secret
	Secret *SubscriptionSpecConfigVolumesElemSecret `json:"secret,omitempty"`

	// StorageOS represents a StorageOS volume attached and mounted on Kubernetes
	// nodes.
	Storageos *SubscriptionSpecConfigVolumesElemStorageos `json:"storageos,omitempty"`

	// VsphereVolume represents a vSphere volume attached and mounted on kubelets host
	// machine
	VsphereVolume *SubscriptionSpecConfigVolumesElemVsphereVolume `json:"vsphereVolume,omitempty"`
}

Volume represents a named volume in a pod that may be accessed by any container in the pod.

func (*SubscriptionSpecConfigVolumesElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElem) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElem) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemAwsElasticBlockStore

type SubscriptionSpecConfigVolumesElemAwsElasticBlockStore struct {
	// Filesystem type of the volume that you want to mount. Tip: Ensure that the
	// filesystem type is supported by the host operating system. Examples: "ext4",
	// "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO:
	// how do we prevent errors in the filesystem from compromising the machine
	FsType *string `json:"fsType,omitempty"`

	// The partition in the volume that you want to mount. If omitted, the default is
	// to mount by volume name. Examples: For volume /dev/sda1, you specify the
	// partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you
	// can leave the property empty).
	Partition *int `json:"partition,omitempty"`

	// Specify "true" to force and set the ReadOnly property in VolumeMounts to
	// "true". If omitted, the default is "false". More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More
	// info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	VolumeID string `json:"volumeID"`
}

AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

func (*SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemAzureDisk

type SubscriptionSpecConfigVolumesElemAzureDisk struct {
	// Host Caching mode: None, Read Only, Read Write.
	CachingMode *string `json:"cachingMode,omitempty"`

	// The Name of the data disk in the blob storage
	DiskName string `json:"diskName"`

	// The URI the data disk in the blob storage
	DiskURI string `json:"diskURI"`

	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
	// if unspecified.
	FsType *string `json:"fsType,omitempty"`

	// Expected values Shared: multiple blob disks per storage account  Dedicated:
	// single blob disk per storage account  Managed: azure managed data disk (only in
	// managed availability set). defaults to shared
	Kind *string `json:"kind,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting
	// in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`
}

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

func (*SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemAzureDisk) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemAzureFile

type SubscriptionSpecConfigVolumesElemAzureFile struct {
	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting
	// in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// the name of secret that contains Azure Storage Account Name and Key
	SecretName string `json:"secretName"`

	// Share Name
	ShareName string `json:"shareName"`
}

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

func (*SubscriptionSpecConfigVolumesElemAzureFile) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemAzureFile) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemAzureFile) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemCephfs

type SubscriptionSpecConfigVolumesElemCephfs struct {
	// Required: Monitors is a collection of Ceph monitors More info:
	// https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	Monitors []string `json:"monitors"`

	// Optional: Used as the mounted root, rather than the full Ceph tree, default is
	// /
	Path *string `json:"path,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly
	// setting in VolumeMounts. More info:
	// https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Optional: SecretFile is the path to key ring for User, default is
	// /etc/ceph/user.secret More info:
	// https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretFile *string `json:"secretFile,omitempty"`

	// Optional: SecretRef is reference to the authentication secret for User, default
	// is empty. More info:
	// https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretRef *SubscriptionSpecConfigVolumesElemCephfsSecretRef `json:"secretRef,omitempty"`

	// Optional: User is the rados user name, default is admin More info:
	// https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	User *string `json:"user,omitempty"`
}

CephFS represents a Ceph FS mount on the host that shares a pod's lifetime

func (*SubscriptionSpecConfigVolumesElemCephfs) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemCephfs) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemCephfs) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemCephfs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemCephfsSecretRef

type SubscriptionSpecConfigVolumesElemCephfsSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

func (*SubscriptionSpecConfigVolumesElemCephfsSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemCephfsSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemCinder

type SubscriptionSpecConfigVolumesElemCinder struct {
	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be
	// "ext4" if unspecified. More info:
	// https://examples.k8s.io/mysql-cinder-pd/README.md
	FsType *string `json:"fsType,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly
	// setting in VolumeMounts. More info:
	// https://examples.k8s.io/mysql-cinder-pd/README.md
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Optional: points to a secret object containing parameters used to connect to
	// OpenStack.
	SecretRef *SubscriptionSpecConfigVolumesElemCinderSecretRef `json:"secretRef,omitempty"`

	// volume id used to identify the volume in cinder. More info:
	// https://examples.k8s.io/mysql-cinder-pd/README.md
	VolumeID string `json:"volumeID"`
}

Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

func (*SubscriptionSpecConfigVolumesElemCinder) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemCinder) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemCinder) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemCinder) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemCinderSecretRef

type SubscriptionSpecConfigVolumesElemCinderSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

Optional: points to a secret object containing parameters used to connect to OpenStack.

func (*SubscriptionSpecConfigVolumesElemCinderSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemCinderSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemConfigMap

type SubscriptionSpecConfigVolumesElemConfigMap struct {
	// Optional: mode bits used to set permissions on created files by default. Must
	// be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for
	// mode bits. Defaults to 0644. Directories within the path are not affected by
	// this setting. This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	DefaultMode *int `json:"defaultMode,omitempty"`

	// If unspecified, each key-value pair in the Data field of the referenced
	// ConfigMap will be projected into the volume as a file whose name is the key and
	// content is the value. If specified, the listed keys will be projected into the
	// specified paths, and unlisted keys will not be present. If a key is specified
	// which is not present in the ConfigMap, the volume setup will error unless it is
	// marked optional. Paths must be relative and may not contain the '..' path or
	// start with '..'.
	Items []SubscriptionSpecConfigVolumesElemConfigMapItemsElem `json:"items,omitempty"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its keys must be defined
	Optional *bool `json:"optional,omitempty"`
}

ConfigMap represents a configMap that should populate this volume

func (*SubscriptionSpecConfigVolumesElemConfigMap) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemConfigMap) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemConfigMapItemsElem

type SubscriptionSpecConfigVolumesElemConfigMapItemsElem struct {
	// The key to project.
	Key string `json:"key"`

	// Optional: mode bits used to set permissions on this file. Must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits. If
	// not specified, the volume defaultMode will be used. This might be in conflict
	// with other options that affect the file mode, like fsGroup, and the result can
	// be other mode bits set.
	Mode *int `json:"mode,omitempty"`

	// The relative path of the file to map the key to. May not be an absolute path.
	// May not contain the path element '..'. May not start with the string '..'.
	Path string `json:"path"`
}

Maps a string key to a path within a volume.

func (*SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemConfigMapItemsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemCsi

type SubscriptionSpecConfigVolumesElemCsi struct {
	// Driver is the name of the CSI driver that handles this volume. Consult with
	// your admin for the correct name as registered in the cluster.
	Driver string `json:"driver"`

	// Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty
	// value is passed to the associated CSI driver which will determine the default
	// filesystem to apply.
	FsType *string `json:"fsType,omitempty"`

	// NodePublishSecretRef is a reference to the secret object containing sensitive
	// information to pass to the CSI driver to complete the CSI NodePublishVolume and
	// NodeUnpublishVolume calls. This field is optional, and  may be empty if no
	// secret is required. If the secret object contains more than one secret, all
	// secret references are passed.
	NodePublishSecretRef *SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef `json:"nodePublishSecretRef,omitempty"`

	// Specifies a read-only configuration for the volume. Defaults to false
	// (read/write).
	ReadOnly *bool `json:"readOnly,omitempty"`

	// VolumeAttributes stores driver-specific properties that are passed to the CSI
	// driver. Consult your driver's documentation for supported values.
	VolumeAttributes *apiextensions.JSON `json:"volumeAttributes,omitempty"`
}

CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).

func (*SubscriptionSpecConfigVolumesElemCsi) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemCsi) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemCsi) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemCsi) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef

type SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.

func (*SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemDownwardAPI

type SubscriptionSpecConfigVolumesElemDownwardAPI struct {
	// Optional: mode bits to use on created files by default. Must be a Optional:
	// mode bits used to set permissions on created files by default. Must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits.
	// Defaults to 0644. Directories within the path are not affected by this setting.
	// This might be in conflict with other options that affect the file mode, like
	// fsGroup, and the result can be other mode bits set.
	DefaultMode *int `json:"defaultMode,omitempty"`

	// Items is a list of downward API volume file
	Items []SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem `json:"items,omitempty"`
}

DownwardAPI represents downward API about the pod that should populate this volume

func (*SubscriptionSpecConfigVolumesElemDownwardAPI) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPI) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem

type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem struct {
	// Required: Selects a field of the pod: only annotations, labels, name and
	// namespace are supported.
	FieldRef *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef `json:"fieldRef,omitempty"`

	// Optional: mode bits used to set permissions on this file, must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits. If
	// not specified, the volume defaultMode will be used. This might be in conflict
	// with other options that affect the file mode, like fsGroup, and the result can
	// be other mode bits set.
	Mode *int `json:"mode,omitempty"`

	// Required: Path is  the relative path name of the file to be created. Must not
	// be absolute or contain the '..' path. Must be utf-8 encoded. The first item of
	// the relative path must not start with '..'
	Path string `json:"path"`

	// Selects a resource of the container: only resources limits and requests
	// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently
	// supported.
	ResourceFieldRef *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef `json:"resourceFieldRef,omitempty"`
}

DownwardAPIVolumeFile represents information to create the file containing the pod field

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef

type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef struct {
	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	ApiVersion *string `json:"apiVersion,omitempty"`

	// Path of the field to select in the specified API version.
	FieldPath string `json:"fieldPath"`
}

Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef

type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef struct {
	// Container name: required for volumes, optional for env vars
	ContainerName *string `json:"containerName,omitempty"`

	// Specifies the output format of the exposed resources, defaults to "1"
	Divisor *apiextensions.JSON `json:"divisor,omitempty"`

	// Required: resource to select
	Resource string `json:"resource"`
}

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemEmptyDir

type SubscriptionSpecConfigVolumesElemEmptyDir struct {
	// What type of storage medium should back this directory. The default is "" which
	// means to use the node's default medium. Must be an empty string (default) or
	// Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	Medium *string `json:"medium,omitempty"`

	// Total amount of local storage required for this EmptyDir volume. The size limit
	// is also applicable for memory medium. The maximum usage on memory medium
	// EmptyDir would be the minimum value between the SizeLimit specified here and
	// the sum of memory limits of all containers in a pod. The default is nil which
	// means that the limit is undefined. More info:
	// http://kubernetes.io/docs/user-guide/volumes#emptydir
	SizeLimit *apiextensions.JSON `json:"sizeLimit,omitempty"`
}

EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

func (*SubscriptionSpecConfigVolumesElemEmptyDir) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEmptyDir) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemEphemeral

type SubscriptionSpecConfigVolumesElemEphemeral struct {
	// Will be used to create a stand-alone PVC to provision the volume. The pod in
	// which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e.
	// the PVC will be deleted together with the pod.  The name of the PVC will be
	// `<pod name>-<volume name>` where `<volume name>` is the name from the
	// `PodSpec.Volumes` array entry. Pod validation will reject the pod if the
	// concatenated name is not valid for a PVC (for example, too long).
	//  An existing PVC with that name that is not owned by the pod will *not* be used
	// for the pod to avoid using an unrelated volume by mistake. Starting the pod is
	// then blocked until the unrelated PVC is removed. If such a pre-created PVC is
	// meant to be used by the pod, the PVC has to updated with an owner reference to
	// the pod once the pod exists. Normally this should not be necessary, but it may
	// be useful when manually reconstructing a broken cluster.
	//  This field is read-only and no changes will be made by Kubernetes to the PVC
	// after it has been created.
	//  Required, must not be nil.
	VolumeClaimTemplate *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate `json:"volumeClaimTemplate,omitempty"`
}

Ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.

Use this if: a) the volume is only needed while the pod runs, b) features of

normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim).

Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that

persist for longer than the lifecycle of an individual pod.

Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to

be used that way - see the documentation of the driver for more information.

A pod can use both types of ephemeral volumes and persistent volumes at the

same time.

This is a beta feature and only available when the GenericEphemeralVolume

feature gate is enabled.

func (*SubscriptionSpecConfigVolumesElemEphemeral) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeral) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate struct {
	// May contain labels and annotations that will be copied into the PVC when
	// creating it. No other fields are allowed and will be rejected during
	// validation.
	Metadata *apiextensions.JSON `json:"metadata,omitempty"`

	// The specification for the PersistentVolumeClaim. The entire content is copied
	// unchanged into the PVC that gets created from this template. The same fields as
	// in a PersistentVolumeClaim are also valid here.
	Spec SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec `json:"spec"`
}

Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `<pod name>-<volume name>` where `<volume name>` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).

An existing PVC with that name that is not owned by the pod will *not* be used

for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.

This field is read-only and no changes will be made by Kubernetes to the PVC

after it has been created.

Required, must not be nil.

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec struct {
	// AccessModes contains the desired access modes the volume should have. More
	// info:
	// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
	AccessModes []string `json:"accessModes,omitempty"`

	// This field can be used to specify either: * An existing VolumeSnapshot object
	// (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC
	// (PersistentVolumeClaim) If the provisioner or an external controller can
	// support the specified data source, it will create a new volume based on the
	// contents of the specified data source. If the AnyVolumeDataSource feature gate
	// is enabled, this field will always have the same contents as the DataSourceRef
	// field.
	DataSource *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource `json:"dataSource,omitempty"`

	// Specifies the object from which to populate the volume with data, if a
	// non-empty volume is desired. This may be any local object from a non-empty API
	// group (non core object) or a PersistentVolumeClaim object. When this field is
	// specified, volume binding will only succeed if the type of the specified object
	// matches some installed volume populator or dynamic provisioner. This field will
	// replace the functionality of the DataSource field and as such if both fields
	// are non-empty, they must have the same value. For backwards compatibility, both
	// fields (DataSource and DataSourceRef) will be set to the same value
	// automatically if one of them is empty and the other is non-empty. There are two
	// important differences between DataSource and DataSourceRef: * While DataSource
	// only allows two specific types of objects, DataSourceRef   allows any non-core
	// object, as well as PersistentVolumeClaim objects. * While DataSource ignores
	// disallowed values (dropping them), DataSourceRef   preserves all values, and
	// generates an error if a disallowed value is   specified. (Alpha) Using this
	// field requires the AnyVolumeDataSource feature gate to be enabled.
	DataSourceRef *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef `json:"dataSourceRef,omitempty"`

	// Resources represents the minimum resources the volume should have. More info:
	// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	Resources *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources `json:"resources,omitempty"`

	// A label query over volumes to consider for binding.
	Selector *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector `json:"selector,omitempty"`

	// Name of the StorageClass required by the claim. More info:
	// https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
	StorageClassName *string `json:"storageClassName,omitempty"`

	// volumeMode defines what type of volume is required by the claim. Value of
	// Filesystem is implied when not included in claim spec.
	VolumeMode *string `json:"volumeMode,omitempty"`

	// VolumeName is the binding reference to the PersistentVolume backing this claim.
	VolumeName *string `json:"volumeName,omitempty"`
}

The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource 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.
	ApiGroup *string `json:"apiGroup,omitempty"`

	// Kind is the type of resource being referenced
	Kind string `json:"kind"`

	// Name is the name of resource being referenced
	Name string `json:"name"`
}

This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef 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.
	ApiGroup *string `json:"apiGroup,omitempty"`

	// Kind is the type of resource being referenced
	Kind string `json:"kind"`

	// Name is the name of resource being referenced
	Name string `json:"name"`
}

Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled.

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources struct {
	// Limits describes the maximum amount of compute resources allowed. More info:
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	Limits *apiextensions.JSON `json:"limits,omitempty"`

	// Requests describes the minimum amount of compute resources required. If
	// Requests is omitted for a container, it defaults to Limits if that is
	// explicitly specified, otherwise to an implementation-defined value. More info:
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	Requests *apiextensions.JSON `json:"requests,omitempty"`
}

Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector struct {
	// matchExpressions is a list of label selector requirements. The requirements are
	// ANDed.
	MatchExpressions []SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem `json:"matchExpressions,omitempty"`

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the
	// matchLabels map is equivalent to an element of matchExpressions, whose key
	// field is "key", the operator is "In", and the values array contains only
	// "value". The requirements are ANDed.
	MatchLabels *apiextensions.JSON `json:"matchLabels,omitempty"`
}

A label query over volumes to consider for binding.

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem

type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem struct {
	// key is the label key that the selector applies to.
	Key string `json:"key"`

	// operator represents a key's relationship to a set of values. Valid operators
	// are In, NotIn, Exists and DoesNotExist.
	Operator string `json:"operator"`

	// values is an array of string values. If the operator is In or NotIn, the values
	// array must be non-empty. If the operator is Exists or DoesNotExist, the values
	// array must be empty. This array is replaced during a strategic merge patch.
	Values []string `json:"values,omitempty"`
}

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemFc

type SubscriptionSpecConfigVolumesElemFc struct {
	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
	// if unspecified. TODO: how do we prevent errors in the filesystem from
	// compromising the machine
	FsType *string `json:"fsType,omitempty"`

	// Optional: FC target lun number
	Lun *int `json:"lun,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly
	// setting in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Optional: FC target worldwide names (WWNs)
	TargetWWNs []string `json:"targetWWNs,omitempty"`

	// Optional: FC volume world wide identifiers (wwids) Either wwids or combination
	// of targetWWNs and lun must be set, but not both simultaneously.
	Wwids []string `json:"wwids,omitempty"`
}

FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

func (*SubscriptionSpecConfigVolumesElemFc) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemFc) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemFlexVolume

type SubscriptionSpecConfigVolumesElemFlexVolume struct {
	// Driver is the name of the driver to use for this volume.
	Driver string `json:"driver"`

	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on
	// FlexVolume script.
	FsType *string `json:"fsType,omitempty"`

	// Optional: Extra command options if any.
	Options *apiextensions.JSON `json:"options,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly
	// setting in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Optional: SecretRef is reference to the secret object containing sensitive
	// information to pass to the plugin scripts. This may be empty if no secret
	// object is specified. If the secret object contains more than one secret, all
	// secrets are passed to the plugin scripts.
	SecretRef *SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef `json:"secretRef,omitempty"`
}

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

func (*SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemFlexVolume) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef

type SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

func (*SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemFlocker

type SubscriptionSpecConfigVolumesElemFlocker struct {
	// Name of the dataset stored as metadata -> name on the dataset for Flocker
	// should be considered as deprecated
	DatasetName *string `json:"datasetName,omitempty"`

	// UUID of the dataset. This is unique identifier of a Flocker dataset
	DatasetUUID *string `json:"datasetUUID,omitempty"`
}

Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running

func (*SubscriptionSpecConfigVolumesElemFlocker) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemFlocker) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemGcePersistentDisk

type SubscriptionSpecConfigVolumesElemGcePersistentDisk struct {
	// Filesystem type of the volume that you want to mount. Tip: Ensure that the
	// filesystem type is supported by the host operating system. Examples: "ext4",
	// "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how
	// do we prevent errors in the filesystem from compromising the machine
	FsType *string `json:"fsType,omitempty"`

	// The partition in the volume that you want to mount. If omitted, the default is
	// to mount by volume name. Examples: For volume /dev/sda1, you specify the
	// partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you
	// can leave the property empty). More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	Partition *int `json:"partition,omitempty"`

	// Unique name of the PD resource in GCE. Used to identify the disk in GCE. More
	// info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	PdName string `json:"pdName"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to
	// false. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	ReadOnly *bool `json:"readOnly,omitempty"`
}

GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

func (*SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemGcePersistentDisk) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemGitRepo

type SubscriptionSpecConfigVolumesElemGitRepo struct {
	// Target directory name. Must not contain or start with '..'.  If '.' is
	// supplied, the volume directory will be the git repository.  Otherwise, if
	// specified, the volume will contain the git repository in the subdirectory with
	// the given name.
	Directory *string `json:"directory,omitempty"`

	// Repository URL
	Repository string `json:"repository"`

	// Commit hash for the specified revision.
	Revision *string `json:"revision,omitempty"`
}

GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

func (*SubscriptionSpecConfigVolumesElemGitRepo) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemGitRepo) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemGitRepo) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemGitRepo) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemGlusterfs

type SubscriptionSpecConfigVolumesElemGlusterfs struct {
	// EndpointsName is the endpoint name that details Glusterfs topology. More info:
	// https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Endpoints string `json:"endpoints"`

	// Path is the Glusterfs volume path. More info:
	// https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Path string `json:"path"`

	// ReadOnly here will force the Glusterfs volume to be mounted with read-only
	// permissions. Defaults to false. More info:
	// https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	ReadOnly *bool `json:"readOnly,omitempty"`
}

Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md

func (*SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemGlusterfs) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemHostPath

type SubscriptionSpecConfigVolumesElemHostPath struct {
	// Path of the directory on the host. If the path is a symlink, it will follow the
	// link to the real path. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	Path string `json:"path"`

	// Type for HostPath Volume Defaults to "" More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	Type *string `json:"type,omitempty"`
}

HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write.

func (*SubscriptionSpecConfigVolumesElemHostPath) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemHostPath) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemHostPath) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemIscsi

type SubscriptionSpecConfigVolumesElemIscsi struct {
	// whether support iSCSI Discovery CHAP authentication
	ChapAuthDiscovery *bool `json:"chapAuthDiscovery,omitempty"`

	// whether support iSCSI Session CHAP authentication
	ChapAuthSession *bool `json:"chapAuthSession,omitempty"`

	// Filesystem type of the volume that you want to mount. Tip: Ensure that the
	// filesystem type is supported by the host operating system. Examples: "ext4",
	// "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we
	// prevent errors in the filesystem from compromising the machine
	FsType *string `json:"fsType,omitempty"`

	// Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface
	// simultaneously, new iSCSI interface <target portal>:<volume name> will be
	// created for the connection.
	InitiatorName *string `json:"initiatorName,omitempty"`

	// Target iSCSI Qualified Name.
	Iqn string `json:"iqn"`

	// iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
	IscsiInterface *string `json:"iscsiInterface,omitempty"`

	// iSCSI Target Lun number.
	Lun int `json:"lun"`

	// iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the
	// port is other than default (typically TCP ports 860 and 3260).
	Portals []string `json:"portals,omitempty"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to
	// false.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// CHAP Secret for iSCSI target and initiator authentication
	SecretRef *SubscriptionSpecConfigVolumesElemIscsiSecretRef `json:"secretRef,omitempty"`

	// iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is
	// other than default (typically TCP ports 860 and 3260).
	TargetPortal string `json:"targetPortal"`
}

ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md

func (*SubscriptionSpecConfigVolumesElemIscsi) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemIscsi) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemIscsi) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemIscsi) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemIscsiSecretRef

type SubscriptionSpecConfigVolumesElemIscsiSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

CHAP Secret for iSCSI target and initiator authentication

func (*SubscriptionSpecConfigVolumesElemIscsiSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemIscsiSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemNfs

type SubscriptionSpecConfigVolumesElemNfs struct {
	// Path that is exported by the NFS server. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Path string `json:"path"`

	// ReadOnly here will force the NFS export to be mounted with read-only
	// permissions. Defaults to false. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#nfs
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Server is the hostname or IP address of the NFS server. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Server string `json:"server"`
}

NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

func (*SubscriptionSpecConfigVolumesElemNfs) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemNfs) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemNfs) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemNfs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemPersistentVolumeClaim

type SubscriptionSpecConfigVolumesElemPersistentVolumeClaim struct {
	// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the
	// pod using this volume. More info:
	// https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	ClaimName string `json:"claimName"`

	// Will force the ReadOnly setting in VolumeMounts. Default false.
	ReadOnly *bool `json:"readOnly,omitempty"`
}

PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

func (*SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemPhotonPersistentDisk

type SubscriptionSpecConfigVolumesElemPhotonPersistentDisk struct {
	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
	// if unspecified.
	FsType *string `json:"fsType,omitempty"`

	// ID that identifies Photon Controller persistent disk
	PdID string `json:"pdID"`
}

PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine

func (*SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemPortworxVolume

type SubscriptionSpecConfigVolumesElemPortworxVolume struct {
	// FSType represents the filesystem type to mount Must be a filesystem type
	// supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred
	// to be "ext4" if unspecified.
	FsType *string `json:"fsType,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting
	// in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// VolumeID uniquely identifies a Portworx volume
	VolumeID string `json:"volumeID"`
}

PortworxVolume represents a portworx volume attached and mounted on kubelets host machine

func (*SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemPortworxVolume) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemProjected

type SubscriptionSpecConfigVolumesElemProjected struct {
	// Mode bits used to set permissions on created files by default. Must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits.
	// Directories within the path are not affected by this setting. This might be in
	// conflict with other options that affect the file mode, like fsGroup, and the
	// result can be other mode bits set.
	DefaultMode *int `json:"defaultMode,omitempty"`

	// list of volume projections
	Sources []SubscriptionSpecConfigVolumesElemProjectedSourcesElem `json:"sources,omitempty"`
}

Items for all in one resources secrets, configmaps, and downward API

func (*SubscriptionSpecConfigVolumesElemProjected) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjected) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemProjectedSourcesElem

type SubscriptionSpecConfigVolumesElemProjectedSourcesElem struct {
	// information about the configMap data to project
	ConfigMap *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap `json:"configMap,omitempty"`

	// information about the downwardAPI data to project
	DownwardAPI *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI `json:"downwardAPI,omitempty"`

	// information about the secret data to project
	Secret *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret `json:"secret,omitempty"`

	// information about the serviceAccountToken data to project
	ServiceAccountToken *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken `json:"serviceAccountToken,omitempty"`
}

Projection that may be projected along with other supported volume types

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElem) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap struct {
	// If unspecified, each key-value pair in the Data field of the referenced
	// ConfigMap will be projected into the volume as a file whose name is the key and
	// content is the value. If specified, the listed keys will be projected into the
	// specified paths, and unlisted keys will not be present. If a key is specified
	// which is not present in the ConfigMap, the volume setup will error unless it is
	// marked optional. Paths must be relative and may not contain the '..' path or
	// start with '..'.
	Items []SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem `json:"items,omitempty"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its keys must be defined
	Optional *bool `json:"optional,omitempty"`
}

information about the configMap data to project

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem struct {
	// The key to project.
	Key string `json:"key"`

	// Optional: mode bits used to set permissions on this file. Must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits. If
	// not specified, the volume defaultMode will be used. This might be in conflict
	// with other options that affect the file mode, like fsGroup, and the result can
	// be other mode bits set.
	Mode *int `json:"mode,omitempty"`

	// The relative path of the file to map the key to. May not be an absolute path.
	// May not contain the path element '..'. May not start with the string '..'.
	Path string `json:"path"`
}

Maps a string key to a path within a volume.

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI struct {
	// Items is a list of DownwardAPIVolume file
	Items []SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem `json:"items,omitempty"`
}

information about the downwardAPI data to project

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem struct {
	// Required: Selects a field of the pod: only annotations, labels, name and
	// namespace are supported.
	FieldRef *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef `json:"fieldRef,omitempty"`

	// Optional: mode bits used to set permissions on this file, must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits. If
	// not specified, the volume defaultMode will be used. This might be in conflict
	// with other options that affect the file mode, like fsGroup, and the result can
	// be other mode bits set.
	Mode *int `json:"mode,omitempty"`

	// Required: Path is  the relative path name of the file to be created. Must not
	// be absolute or contain the '..' path. Must be utf-8 encoded. The first item of
	// the relative path must not start with '..'
	Path string `json:"path"`

	// Selects a resource of the container: only resources limits and requests
	// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently
	// supported.
	ResourceFieldRef *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef `json:"resourceFieldRef,omitempty"`
}

DownwardAPIVolumeFile represents information to create the file containing the pod field

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef struct {
	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	ApiVersion *string `json:"apiVersion,omitempty"`

	// Path of the field to select in the specified API version.
	FieldPath string `json:"fieldPath"`
}

Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef struct {
	// Container name: required for volumes, optional for env vars
	ContainerName *string `json:"containerName,omitempty"`

	// Specifies the output format of the exposed resources, defaults to "1"
	Divisor apiextensions.JSON `json:"divisor,omitempty"`

	// Required: resource to select
	Resource string `json:"resource"`
}

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret struct {
	// If unspecified, each key-value pair in the Data field of the referenced Secret
	// will be projected into the volume as a file whose name is the key and content
	// is the value. If specified, the listed keys will be projected into the
	// specified paths, and unlisted keys will not be present. If a key is specified
	// which is not present in the Secret, the volume setup will error unless it is
	// marked optional. Paths must be relative and may not contain the '..' path or
	// start with '..'.
	Items []SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem `json:"items,omitempty"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`

	// Specify whether the Secret or its key must be defined
	Optional *bool `json:"optional,omitempty"`
}

information about the secret data to project

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem struct {
	// The key to project.
	Key string `json:"key"`

	// Optional: mode bits used to set permissions on this file. Must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits. If
	// not specified, the volume defaultMode will be used. This might be in conflict
	// with other options that affect the file mode, like fsGroup, and the result can
	// be other mode bits set.
	Mode *int `json:"mode,omitempty"`

	// The relative path of the file to map the key to. May not be an absolute path.
	// May not contain the path element '..'. May not start with the string '..'.
	Path string `json:"path"`
}

Maps a string key to a path within a volume.

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken

type SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken struct {
	// Audience is the intended audience of the token. A recipient of a token must
	// identify itself with an identifier specified in the audience of the token, and
	// otherwise should reject the token. The audience defaults to the identifier of
	// the apiserver.
	Audience *string `json:"audience,omitempty"`

	// ExpirationSeconds is the requested duration of validity of the service account
	// token. As the token approaches expiration, the kubelet volume plugin will
	// proactively rotate the service account token. The kubelet will start trying to
	// rotate the token if the token is older than 80 percent of its time to live or
	// if the token is older than 24 hours.Defaults to 1 hour and must be at least 10
	// minutes.
	ExpirationSeconds *int `json:"expirationSeconds,omitempty"`

	// Path is the path relative to the mount point of the file to project the token
	// into.
	Path string `json:"path"`
}

information about the serviceAccountToken data to project

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemQuobyte

type SubscriptionSpecConfigVolumesElemQuobyte struct {
	// Group to map volume access to Default is no group
	Group *string `json:"group,omitempty"`

	// ReadOnly here will force the Quobyte volume to be mounted with read-only
	// permissions. Defaults to false.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Registry represents a single or multiple Quobyte Registry services specified as
	// a string as host:port pair (multiple entries are separated with commas) which
	// acts as the central registry for volumes
	Registry string `json:"registry"`

	// Tenant owning the given Quobyte volume in the Backend Used with dynamically
	// provisioned Quobyte volumes, value is set by the plugin
	Tenant *string `json:"tenant,omitempty"`

	// User to map volume access to Defaults to serivceaccount user
	User *string `json:"user,omitempty"`

	// Volume is a string that references an already created Quobyte volume by name.
	Volume string `json:"volume"`
}

Quobyte represents a Quobyte mount on the host that shares a pod's lifetime

func (*SubscriptionSpecConfigVolumesElemQuobyte) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemQuobyte) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemQuobyte) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemQuobyte) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemRbd

type SubscriptionSpecConfigVolumesElemRbd struct {
	// Filesystem type of the volume that you want to mount. Tip: Ensure that the
	// filesystem type is supported by the host operating system. Examples: "ext4",
	// "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent
	// errors in the filesystem from compromising the machine
	FsType *string `json:"fsType,omitempty"`

	// The rados image name. More info:
	// https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Image string `json:"image"`

	// Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More
	// info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Keyring *string `json:"keyring,omitempty"`

	// A collection of Ceph monitors. More info:
	// https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Monitors []string `json:"monitors"`

	// The rados pool name. Default is rbd. More info:
	// https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Pool *string `json:"pool,omitempty"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to
	// false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	ReadOnly *bool `json:"readOnly,omitempty"`

	// SecretRef is name of the authentication secret for RBDUser. If provided
	// overrides keyring. Default is nil. More info:
	// https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	SecretRef *SubscriptionSpecConfigVolumesElemRbdSecretRef `json:"secretRef,omitempty"`

	// The rados user name. Default is admin. More info:
	// https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	User *string `json:"user,omitempty"`
}

RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md

func (*SubscriptionSpecConfigVolumesElemRbd) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemRbd) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemRbd) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemRbd) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemRbdSecretRef

type SubscriptionSpecConfigVolumesElemRbdSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*SubscriptionSpecConfigVolumesElemRbdSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemRbdSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemScaleIO

type SubscriptionSpecConfigVolumesElemScaleIO struct {
	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
	FsType *string `json:"fsType,omitempty"`

	// The host address of the ScaleIO API Gateway.
	Gateway string `json:"gateway"`

	// The name of the ScaleIO Protection Domain for the configured storage.
	ProtectionDomain *string `json:"protectionDomain,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting
	// in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// SecretRef references to the secret for ScaleIO user and other sensitive
	// information. If this is not provided, Login operation will fail.
	SecretRef SubscriptionSpecConfigVolumesElemScaleIOSecretRef `json:"secretRef"`

	// Flag to enable/disable SSL communication with Gateway, default false
	SslEnabled *bool `json:"sslEnabled,omitempty"`

	// Indicates whether the storage for a volume should be ThickProvisioned or
	// ThinProvisioned. Default is ThinProvisioned.
	StorageMode *string `json:"storageMode,omitempty"`

	// The ScaleIO Storage Pool associated with the protection domain.
	StoragePool *string `json:"storagePool,omitempty"`

	// The name of the storage system as configured in ScaleIO.
	System string `json:"system"`

	// The name of a volume already created in the ScaleIO system that is associated
	// with this volume source.
	VolumeName *string `json:"volumeName,omitempty"`
}

ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.

func (*SubscriptionSpecConfigVolumesElemScaleIO) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemScaleIO) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemScaleIO) UnmarshalJSON

func (j *SubscriptionSpecConfigVolumesElemScaleIO) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemScaleIOSecretRef

type SubscriptionSpecConfigVolumesElemScaleIOSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.

func (*SubscriptionSpecConfigVolumesElemScaleIOSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemScaleIOSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemSecret

type SubscriptionSpecConfigVolumesElemSecret struct {
	// Optional: mode bits used to set permissions on created files by default. Must
	// be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for
	// mode bits. Defaults to 0644. Directories within the path are not affected by
	// this setting. This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	DefaultMode *int `json:"defaultMode,omitempty"`

	// If unspecified, each key-value pair in the Data field of the referenced Secret
	// will be projected into the volume as a file whose name is the key and content
	// is the value. If specified, the listed keys will be projected into the
	// specified paths, and unlisted keys will not be present. If a key is specified
	// which is not present in the Secret, the volume setup will error unless it is
	// marked optional. Paths must be relative and may not contain the '..' path or
	// start with '..'.
	Items []SubscriptionSpecConfigVolumesElemSecretItemsElem `json:"items,omitempty"`

	// Specify whether the Secret or its keys must be defined
	Optional *bool `json:"optional,omitempty"`

	// Name of the secret in the pod's namespace to use. More info:
	// https://kubernetes.io/docs/concepts/storage/volumes#secret
	SecretName *string `json:"secretName,omitempty"`
}

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

func (*SubscriptionSpecConfigVolumesElemSecret) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemSecret) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemSecretItemsElem

type SubscriptionSpecConfigVolumesElemSecretItemsElem struct {
	// The key to project.
	Key string `json:"key"`

	// Optional: mode bits used to set permissions on this file. Must be an octal
	// value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts
	// both octal and decimal values, JSON requires decimal values for mode bits. If
	// not specified, the volume defaultMode will be used. This might be in conflict
	// with other options that affect the file mode, like fsGroup, and the result can
	// be other mode bits set.
	Mode *int `json:"mode,omitempty"`

	// The relative path of the file to map the key to. May not be an absolute path.
	// May not contain the path element '..'. May not start with the string '..'.
	Path string `json:"path"`
}

Maps a string key to a path within a volume.

func (*SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemSecretItemsElem) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionSpecConfigVolumesElemStorageos

type SubscriptionSpecConfigVolumesElemStorageos struct {
	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
	// if unspecified.
	FsType *string `json:"fsType,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting
	// in VolumeMounts.
	ReadOnly *bool `json:"readOnly,omitempty"`

	// SecretRef specifies the secret to use for obtaining the StorageOS API
	// credentials.  If not specified, default values will be attempted.
	SecretRef *SubscriptionSpecConfigVolumesElemStorageosSecretRef `json:"secretRef,omitempty"`

	// VolumeName is the human-readable name of the StorageOS volume.  Volume names
	// are only unique within a namespace.
	VolumeName *string `json:"volumeName,omitempty"`

	// VolumeNamespace specifies the scope of the volume within StorageOS.  If no
	// namespace is specified then the Pod's namespace will be used.  This allows the
	// Kubernetes name scoping to be mirrored within StorageOS for tighter
	// integration. Set VolumeName to any name to override the default behaviour. Set
	// to "default" if you are not using namespaces within StorageOS. Namespaces that
	// do not pre-exist within StorageOS will be created.
	VolumeNamespace *string `json:"volumeNamespace,omitempty"`
}

StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.

func (*SubscriptionSpecConfigVolumesElemStorageos) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemStorageos) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemStorageosSecretRef

type SubscriptionSpecConfigVolumesElemStorageosSecretRef struct {
	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `json:"name,omitempty"`
}

SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.

func (*SubscriptionSpecConfigVolumesElemStorageosSecretRef) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemStorageosSecretRef) DeepCopyInto

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

type SubscriptionSpecConfigVolumesElemVsphereVolume

type SubscriptionSpecConfigVolumesElemVsphereVolume struct {
	// Filesystem type to mount. Must be a filesystem type supported by the host
	// operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
	// if unspecified.
	FsType *string `json:"fsType,omitempty"`

	// Storage Policy Based Management (SPBM) profile ID associated with the
	// StoragePolicyName.
	StoragePolicyID *string `json:"storagePolicyID,omitempty"`

	// Storage Policy Based Management (SPBM) profile name.
	StoragePolicyName *string `json:"storagePolicyName,omitempty"`

	// Path that identifies vSphere volume vmdk
	VolumePath string `json:"volumePath"`
}

VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine

func (*SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopy

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

func (*SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopyInto

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

func (*SubscriptionSpecConfigVolumesElemVsphereVolume) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionStatus

type SubscriptionStatus struct {
	// CatalogHealth contains the Subscription's view of its relevant CatalogSources'
	// status. It is used to determine SubscriptionStatusConditions related to
	// CatalogSources.
	CatalogHealth []SubscriptionStatusCatalogHealthElem `json:"catalogHealth,omitempty"`

	// Conditions is a list of the latest available observations about a
	// Subscription's current state.
	Conditions []SubscriptionStatusConditionsElem `json:"conditions,omitempty"`

	// CurrentCSV is the CSV the Subscription is progressing to.
	CurrentCSV *string `json:"currentCSV,omitempty"`

	// InstallPlanGeneration is the current generation of the installplan
	InstallPlanGeneration *int `json:"installPlanGeneration,omitempty"`

	// InstallPlanRef is a reference to the latest InstallPlan that contains the
	// Subscription's current CSV.
	InstallPlanRef *SubscriptionStatusInstallPlanRef `json:"installPlanRef,omitempty"`

	// InstalledCSV is the CSV currently installed by the Subscription.
	InstalledCSV *string `json:"installedCSV,omitempty"`

	// Install is a reference to the latest InstallPlan generated for the
	// Subscription. DEPRECATED: InstallPlanRef
	Installplan *SubscriptionStatusInstallplan `json:"installplan,omitempty"`

	// LastUpdated represents the last time that the Subscription status was updated.
	LastUpdated string `json:"lastUpdated"`

	// Reason is the reason the Subscription was transitioned to its current state.
	Reason *string `json:"reason,omitempty"`

	// State represents the current state of the Subscription
	State *string `json:"state,omitempty"`
}

func (*SubscriptionStatus) DeepCopy

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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

func (*SubscriptionStatus) UnmarshalJSON

func (j *SubscriptionStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionStatusCatalogHealthElem

type SubscriptionStatusCatalogHealthElem struct {
	// CatalogSourceRef is a reference to a CatalogSource.
	CatalogSourceRef SubscriptionStatusCatalogHealthElemCatalogSourceRef `json:"catalogSourceRef"`

	// Healthy is true if the CatalogSource is healthy; false otherwise.
	Healthy bool `json:"healthy"`

	// LastUpdated represents the last time that the CatalogSourceHealth changed
	LastUpdated string `json:"lastUpdated"`
}

SubscriptionCatalogHealth describes the health of a CatalogSource the Subscription knows about.

func (*SubscriptionStatusCatalogHealthElem) DeepCopy

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

func (*SubscriptionStatusCatalogHealthElem) DeepCopyInto

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

func (*SubscriptionStatusCatalogHealthElem) UnmarshalJSON

func (j *SubscriptionStatusCatalogHealthElem) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionStatusCatalogHealthElemCatalogSourceRef

type SubscriptionStatusCatalogHealthElemCatalogSourceRef struct {
	// API version of the referent.
	ApiVersion *string `json:"apiVersion,omitempty"`

	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as
	// desiredState.manifest.containers[2]. For example, if the object reference is to
	// a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that
	// triggered the event) or if no container name is specified "spec.containers[2]"
	// (container with index 2 in this pod). This syntax is chosen only to have some
	// well-defined way of referencing a part of an object. TODO: this design is not
	// final and this field is subject to change in the future.
	FieldPath *string `json:"fieldPath,omitempty"`

	// Kind of the referent. More info:
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `json:"kind,omitempty"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name *string `json:"name,omitempty"`

	// Namespace of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	Namespace *string `json:"namespace,omitempty"`

	// Specific resourceVersion to which this reference is made, if any. More info:
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	ResourceVersion *string `json:"resourceVersion,omitempty"`

	// UID of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
	Uid *string `json:"uid,omitempty"`
}

CatalogSourceRef is a reference to a CatalogSource.

func (*SubscriptionStatusCatalogHealthElemCatalogSourceRef) DeepCopy

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

func (*SubscriptionStatusCatalogHealthElemCatalogSourceRef) DeepCopyInto

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

type SubscriptionStatusConditionsElem

type SubscriptionStatusConditionsElem struct {
	// LastHeartbeatTime is the last time we got an update on a given condition
	LastHeartbeatTime *string `json:"lastHeartbeatTime,omitempty"`

	// LastTransitionTime is the last time the condition transit from one status to
	// another
	LastTransitionTime *string `json:"lastTransitionTime,omitempty"`

	// Message is a human-readable message indicating details about last transition.
	Message *string `json:"message,omitempty"`

	// Reason is a one-word CamelCase reason for the condition's last transition.
	Reason *string `json:"reason,omitempty"`

	// Status is the status of the condition, one of True, False, Unknown.
	Status string `json:"status"`

	// Type is the type of Subscription condition.
	Type string `json:"type"`
}

SubscriptionCondition represents the latest available observations of a Subscription's state.

func (*SubscriptionStatusConditionsElem) DeepCopy

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

func (*SubscriptionStatusConditionsElem) DeepCopyInto

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

func (*SubscriptionStatusConditionsElem) UnmarshalJSON

func (j *SubscriptionStatusConditionsElem) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SubscriptionStatusInstallPlanRef

type SubscriptionStatusInstallPlanRef struct {
	// API version of the referent.
	ApiVersion *string `json:"apiVersion,omitempty"`

	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as
	// desiredState.manifest.containers[2]. For example, if the object reference is to
	// a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that
	// triggered the event) or if no container name is specified "spec.containers[2]"
	// (container with index 2 in this pod). This syntax is chosen only to have some
	// well-defined way of referencing a part of an object. TODO: this design is not
	// final and this field is subject to change in the future.
	FieldPath *string `json:"fieldPath,omitempty"`

	// Kind of the referent. More info:
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `json:"kind,omitempty"`

	// Name of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name *string `json:"name,omitempty"`

	// Namespace of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	Namespace *string `json:"namespace,omitempty"`

	// Specific resourceVersion to which this reference is made, if any. More info:
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	ResourceVersion *string `json:"resourceVersion,omitempty"`

	// UID of the referent. More info:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
	Uid *string `json:"uid,omitempty"`
}

InstallPlanRef is a reference to the latest InstallPlan that contains the Subscription's current CSV.

func (*SubscriptionStatusInstallPlanRef) DeepCopy

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

func (*SubscriptionStatusInstallPlanRef) DeepCopyInto

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

type SubscriptionStatusInstallplan

type SubscriptionStatusInstallplan struct {
	// ApiVersion corresponds to the JSON schema field "apiVersion".
	ApiVersion string `json:"apiVersion"`

	// Kind corresponds to the JSON schema field "kind".
	Kind string `json:"kind"`

	// Name corresponds to the JSON schema field "name".
	Name string `json:"name"`

	// UID is a type that holds unique ID values, including UUIDs.  Because we don't
	// ONLY use UUIDs, this is an alias to string.  Being a type captures intent and
	// helps make sure that UIDs and names do not get conflated.
	Uuid string `json:"uuid"`
}

Install is a reference to the latest InstallPlan generated for the Subscription. DEPRECATED: InstallPlanRef

func (*SubscriptionStatusInstallplan) DeepCopy

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

func (*SubscriptionStatusInstallplan) DeepCopyInto

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

func (*SubscriptionStatusInstallplan) UnmarshalJSON

func (j *SubscriptionStatusInstallplan) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

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