Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=operators.coreos.com
Index ¶
- Variables
- type Subscription
- type SubscriptionList
- type SubscriptionSpec
- type SubscriptionSpecConfig
- type SubscriptionSpecConfigEnvElem
- type SubscriptionSpecConfigEnvElemValueFrom
- type SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef
- func (in *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef
- func (in *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef)
- func (j *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigEnvElemValueFromFieldRef
- func (in *SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromFieldRef
- func (in *SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromFieldRef)
- func (j *SubscriptionSpecConfigEnvElemValueFromFieldRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigEnvElemValueFromResourceFieldRef
- func (in *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef
- func (in *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef)
- func (j *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigEnvElemValueFromSecretKeyRef
- func (in *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef
- func (in *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef)
- func (j *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigEnvFromElem
- type SubscriptionSpecConfigEnvFromElemConfigMapRef
- type SubscriptionSpecConfigEnvFromElemSecretRef
- type SubscriptionSpecConfigResources
- type SubscriptionSpecConfigSelector
- type SubscriptionSpecConfigSelectorMatchExpressionsElem
- func (in *SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopy() *SubscriptionSpecConfigSelectorMatchExpressionsElem
- func (in *SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopyInto(out *SubscriptionSpecConfigSelectorMatchExpressionsElem)
- func (j *SubscriptionSpecConfigSelectorMatchExpressionsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigTolerationsElem
- type SubscriptionSpecConfigVolumeMountsElem
- type SubscriptionSpecConfigVolumesElem
- type SubscriptionSpecConfigVolumesElemAwsElasticBlockStore
- func (in *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopy() *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore
- func (in *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore)
- func (j *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemAzureDisk
- func (in *SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopy() *SubscriptionSpecConfigVolumesElemAzureDisk
- func (in *SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemAzureDisk)
- func (j *SubscriptionSpecConfigVolumesElemAzureDisk) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemAzureFile
- func (in *SubscriptionSpecConfigVolumesElemAzureFile) DeepCopy() *SubscriptionSpecConfigVolumesElemAzureFile
- func (in *SubscriptionSpecConfigVolumesElemAzureFile) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemAzureFile)
- func (j *SubscriptionSpecConfigVolumesElemAzureFile) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemCephfs
- type SubscriptionSpecConfigVolumesElemCephfsSecretRef
- type SubscriptionSpecConfigVolumesElemCinder
- type SubscriptionSpecConfigVolumesElemCinderSecretRef
- type SubscriptionSpecConfigVolumesElemConfigMap
- type SubscriptionSpecConfigVolumesElemConfigMapItemsElem
- func (in *SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemConfigMapItemsElem
- func (in *SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemConfigMapItemsElem)
- func (j *SubscriptionSpecConfigVolumesElemConfigMapItemsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemCsi
- type SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef
- type SubscriptionSpecConfigVolumesElemDownwardAPI
- type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem
- func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem
- func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem)
- func (j *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef
- func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef
- func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef)
- func (j *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef
- func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef
- func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef)
- func (j *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemEmptyDir
- type SubscriptionSpecConfigVolumesElemEphemeral
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate)
- func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec)
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopyInto(...)
- func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopy() ...
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopyInto(...)
- func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector)
- type SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopy() ...
- func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopyInto(...)
- func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemFc
- type SubscriptionSpecConfigVolumesElemFlexVolume
- func (in *SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopy() *SubscriptionSpecConfigVolumesElemFlexVolume
- func (in *SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemFlexVolume)
- func (j *SubscriptionSpecConfigVolumesElemFlexVolume) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef
- type SubscriptionSpecConfigVolumesElemFlocker
- type SubscriptionSpecConfigVolumesElemGcePersistentDisk
- func (in *SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopy() *SubscriptionSpecConfigVolumesElemGcePersistentDisk
- func (in *SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemGcePersistentDisk)
- func (j *SubscriptionSpecConfigVolumesElemGcePersistentDisk) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemGitRepo
- type SubscriptionSpecConfigVolumesElemGlusterfs
- func (in *SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopy() *SubscriptionSpecConfigVolumesElemGlusterfs
- func (in *SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemGlusterfs)
- func (j *SubscriptionSpecConfigVolumesElemGlusterfs) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemHostPath
- func (in *SubscriptionSpecConfigVolumesElemHostPath) DeepCopy() *SubscriptionSpecConfigVolumesElemHostPath
- func (in *SubscriptionSpecConfigVolumesElemHostPath) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemHostPath)
- func (j *SubscriptionSpecConfigVolumesElemHostPath) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemIscsi
- type SubscriptionSpecConfigVolumesElemIscsiSecretRef
- type SubscriptionSpecConfigVolumesElemNfs
- type SubscriptionSpecConfigVolumesElemPersistentVolumeClaim
- func (in *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopy() *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim
- func (in *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim)
- func (j *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemPhotonPersistentDisk
- func (in *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopy() *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk
- func (in *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk)
- func (j *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemPortworxVolume
- func (in *SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopy() *SubscriptionSpecConfigVolumesElemPortworxVolume
- func (in *SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemPortworxVolume)
- func (j *SubscriptionSpecConfigVolumesElemPortworxVolume) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemProjected
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElem
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap)
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem)
- func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI)
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem)
- func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopy() ...
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopyInto(...)
- func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopy() ...
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto(...)
- func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem)
- func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken
- func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken)
- func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemQuobyte
- type SubscriptionSpecConfigVolumesElemRbd
- type SubscriptionSpecConfigVolumesElemRbdSecretRef
- type SubscriptionSpecConfigVolumesElemScaleIO
- type SubscriptionSpecConfigVolumesElemScaleIOSecretRef
- type SubscriptionSpecConfigVolumesElemSecret
- type SubscriptionSpecConfigVolumesElemSecretItemsElem
- func (in *SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemSecretItemsElem
- func (in *SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemSecretItemsElem)
- func (j *SubscriptionSpecConfigVolumesElemSecretItemsElem) UnmarshalJSON(b []byte) error
- type SubscriptionSpecConfigVolumesElemStorageos
- type SubscriptionSpecConfigVolumesElemStorageosSecretRef
- type SubscriptionSpecConfigVolumesElemVsphereVolume
- func (in *SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopy() *SubscriptionSpecConfigVolumesElemVsphereVolume
- func (in *SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemVsphereVolume)
- func (j *SubscriptionSpecConfigVolumesElemVsphereVolume) UnmarshalJSON(b []byte) error
- type SubscriptionStatus
- type SubscriptionStatusCatalogHealthElem
- type SubscriptionStatusCatalogHealthElemCatalogSourceRef
- type SubscriptionStatusConditionsElem
- type SubscriptionStatusInstallPlanRef
- type SubscriptionStatusInstallplan
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (in *SubscriptionSpecConfig) DeepCopy() *SubscriptionSpecConfig
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 ¶
func (in *SubscriptionSpecConfigEnvElem) DeepCopy() *SubscriptionSpecConfigEnvElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvElem.
func (*SubscriptionSpecConfigEnvElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvElem) DeepCopyInto(out *SubscriptionSpecConfigEnvElem)
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 ¶
func (in *SubscriptionSpecConfigEnvElemValueFrom) DeepCopy() *SubscriptionSpecConfigEnvElemValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvElemValueFrom.
func (*SubscriptionSpecConfigEnvElemValueFrom) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvElemValueFrom) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFrom)
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 ¶
func (in *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef.
func (*SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigEnvElemValueFromConfigMapKeyRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvElemValueFromFieldRef.
func (*SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvElemValueFromFieldRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigEnvElemValueFromFieldRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigEnvElemValueFromFieldRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvElemValueFromResourceFieldRef.
func (*SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigEnvElemValueFromResourceFieldRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopy() *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvElemValueFromSecretKeyRef.
func (*SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) DeepCopyInto(out *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigEnvElemValueFromSecretKeyRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigEnvFromElem) DeepCopy() *SubscriptionSpecConfigEnvFromElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvFromElem.
func (*SubscriptionSpecConfigEnvFromElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvFromElem) DeepCopyInto(out *SubscriptionSpecConfigEnvFromElem)
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 ¶
func (in *SubscriptionSpecConfigEnvFromElemConfigMapRef) DeepCopy() *SubscriptionSpecConfigEnvFromElemConfigMapRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvFromElemConfigMapRef.
func (*SubscriptionSpecConfigEnvFromElemConfigMapRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvFromElemConfigMapRef) DeepCopyInto(out *SubscriptionSpecConfigEnvFromElemConfigMapRef)
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 ¶
func (in *SubscriptionSpecConfigEnvFromElemSecretRef) DeepCopy() *SubscriptionSpecConfigEnvFromElemSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigEnvFromElemSecretRef.
func (*SubscriptionSpecConfigEnvFromElemSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigEnvFromElemSecretRef) DeepCopyInto(out *SubscriptionSpecConfigEnvFromElemSecretRef)
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 ¶
func (in *SubscriptionSpecConfigResources) DeepCopy() *SubscriptionSpecConfigResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigResources.
func (*SubscriptionSpecConfigResources) DeepCopyInto ¶
func (in *SubscriptionSpecConfigResources) DeepCopyInto(out *SubscriptionSpecConfigResources)
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 ¶
func (in *SubscriptionSpecConfigSelector) DeepCopy() *SubscriptionSpecConfigSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigSelector.
func (*SubscriptionSpecConfigSelector) DeepCopyInto ¶
func (in *SubscriptionSpecConfigSelector) DeepCopyInto(out *SubscriptionSpecConfigSelector)
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 ¶
func (in *SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopy() *SubscriptionSpecConfigSelectorMatchExpressionsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigSelectorMatchExpressionsElem.
func (*SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigSelectorMatchExpressionsElem) DeepCopyInto(out *SubscriptionSpecConfigSelectorMatchExpressionsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigSelectorMatchExpressionsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigSelectorMatchExpressionsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigTolerationsElem) DeepCopy() *SubscriptionSpecConfigTolerationsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigTolerationsElem.
func (*SubscriptionSpecConfigTolerationsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigTolerationsElem) DeepCopyInto(out *SubscriptionSpecConfigTolerationsElem)
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 ¶
func (in *SubscriptionSpecConfigVolumeMountsElem) DeepCopy() *SubscriptionSpecConfigVolumeMountsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumeMountsElem.
func (*SubscriptionSpecConfigVolumeMountsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumeMountsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumeMountsElem)
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 ¶
func (in *SubscriptionSpecConfigVolumesElem) DeepCopy() *SubscriptionSpecConfigVolumesElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElem.
func (*SubscriptionSpecConfigVolumesElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElem)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopy() *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemAwsElasticBlockStore.
func (*SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemAwsElasticBlockStore) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopy() *SubscriptionSpecConfigVolumesElemAzureDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemAzureDisk.
func (*SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemAzureDisk) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemAzureDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemAzureDisk) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemAzureDisk) UnmarshalJSON(b []byte) error
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"` ShareName string `json:"shareName"` }
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
func (*SubscriptionSpecConfigVolumesElemAzureFile) DeepCopy ¶
func (in *SubscriptionSpecConfigVolumesElemAzureFile) DeepCopy() *SubscriptionSpecConfigVolumesElemAzureFile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemAzureFile.
func (*SubscriptionSpecConfigVolumesElemAzureFile) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemAzureFile) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemAzureFile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemAzureFile) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemAzureFile) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemCephfs) DeepCopy() *SubscriptionSpecConfigVolumesElemCephfs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemCephfs.
func (*SubscriptionSpecConfigVolumesElemCephfs) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemCephfs) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemCephfs)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemCephfsSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemCephfsSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemCephfsSecretRef.
func (*SubscriptionSpecConfigVolumesElemCephfsSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemCephfsSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemCephfsSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemCinder) DeepCopy() *SubscriptionSpecConfigVolumesElemCinder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemCinder.
func (*SubscriptionSpecConfigVolumesElemCinder) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemCinder) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemCinder)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemCinderSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemCinderSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemCinderSecretRef.
func (*SubscriptionSpecConfigVolumesElemCinderSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemCinderSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemCinderSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemConfigMap) DeepCopy() *SubscriptionSpecConfigVolumesElemConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemConfigMap.
func (*SubscriptionSpecConfigVolumesElemConfigMap) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemConfigMap) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemConfigMap)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemConfigMapItemsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemConfigMapItemsElem.
func (*SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemConfigMapItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemConfigMapItemsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemConfigMapItemsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemConfigMapItemsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemCsi) DeepCopy() *SubscriptionSpecConfigVolumesElemCsi
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemCsi.
func (*SubscriptionSpecConfigVolumesElemCsi) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemCsi) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemCsi)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef.
func (*SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemCsiNodePublishSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPI) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemDownwardAPI.
func (*SubscriptionSpecConfigVolumesElemDownwardAPI) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPI) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPI)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem.
func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef.
func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopy() *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef.
func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEmptyDir) DeepCopy() *SubscriptionSpecConfigVolumesElemEmptyDir
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEmptyDir.
func (*SubscriptionSpecConfigVolumesElemEmptyDir) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEmptyDir) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEmptyDir)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeral) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeral
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeral.
func (*SubscriptionSpecConfigVolumesElemEphemeral) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeral) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeral)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplate) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpec)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSource) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecDataSourceRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecResources)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelector)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemEphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemFc) DeepCopy() *SubscriptionSpecConfigVolumesElemFc
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemFc.
func (*SubscriptionSpecConfigVolumesElemFc) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemFc) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemFc)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopy() *SubscriptionSpecConfigVolumesElemFlexVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemFlexVolume.
func (*SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemFlexVolume) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemFlexVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemFlexVolume) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemFlexVolume) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef.
func (*SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemFlexVolumeSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemFlocker) DeepCopy() *SubscriptionSpecConfigVolumesElemFlocker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemFlocker.
func (*SubscriptionSpecConfigVolumesElemFlocker) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemFlocker) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemFlocker)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopy() *SubscriptionSpecConfigVolumesElemGcePersistentDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemGcePersistentDisk.
func (*SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemGcePersistentDisk) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemGcePersistentDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemGcePersistentDisk) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemGcePersistentDisk) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemGitRepo) DeepCopy() *SubscriptionSpecConfigVolumesElemGitRepo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemGitRepo.
func (*SubscriptionSpecConfigVolumesElemGitRepo) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemGitRepo) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemGitRepo)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopy() *SubscriptionSpecConfigVolumesElemGlusterfs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemGlusterfs.
func (*SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemGlusterfs) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemGlusterfs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemGlusterfs) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemGlusterfs) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemHostPath) DeepCopy() *SubscriptionSpecConfigVolumesElemHostPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemHostPath.
func (*SubscriptionSpecConfigVolumesElemHostPath) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemHostPath) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemHostPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemHostPath) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemHostPath) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemIscsi) DeepCopy() *SubscriptionSpecConfigVolumesElemIscsi
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemIscsi.
func (*SubscriptionSpecConfigVolumesElemIscsi) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemIscsi) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemIscsi)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemIscsiSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemIscsiSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemIscsiSecretRef.
func (*SubscriptionSpecConfigVolumesElemIscsiSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemIscsiSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemIscsiSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemNfs) DeepCopy() *SubscriptionSpecConfigVolumesElemNfs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemNfs.
func (*SubscriptionSpecConfigVolumesElemNfs) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemNfs) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemNfs)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopy() *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemPersistentVolumeClaim.
func (*SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemPersistentVolumeClaim) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopy() *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemPhotonPersistentDisk.
func (*SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemPhotonPersistentDisk) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopy() *SubscriptionSpecConfigVolumesElemPortworxVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemPortworxVolume.
func (*SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemPortworxVolume) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemPortworxVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemPortworxVolume) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemPortworxVolume) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjected) DeepCopy() *SubscriptionSpecConfigVolumesElemProjected
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjected.
func (*SubscriptionSpecConfigVolumesElemProjected) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjected) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjected)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElem.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElem)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMap)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemConfigMapItemsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPI)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemFieldRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemDownwardAPIItemsElemResourceFieldRef) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecret)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemSecretItemsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopy() *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemProjectedSourcesElemServiceAccountToken) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemQuobyte) DeepCopy() *SubscriptionSpecConfigVolumesElemQuobyte
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemQuobyte.
func (*SubscriptionSpecConfigVolumesElemQuobyte) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemQuobyte) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemQuobyte)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemRbd) DeepCopy() *SubscriptionSpecConfigVolumesElemRbd
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemRbd.
func (*SubscriptionSpecConfigVolumesElemRbd) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemRbd) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemRbd)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemRbdSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemRbdSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemRbdSecretRef.
func (*SubscriptionSpecConfigVolumesElemRbdSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemRbdSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemRbdSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemScaleIO) DeepCopy() *SubscriptionSpecConfigVolumesElemScaleIO
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemScaleIO.
func (*SubscriptionSpecConfigVolumesElemScaleIO) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemScaleIO) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemScaleIO)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemScaleIOSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemScaleIOSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemScaleIOSecretRef.
func (*SubscriptionSpecConfigVolumesElemScaleIOSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemScaleIOSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemScaleIOSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemSecret) DeepCopy() *SubscriptionSpecConfigVolumesElemSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemSecret.
func (*SubscriptionSpecConfigVolumesElemSecret) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemSecret) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemSecret)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopy() *SubscriptionSpecConfigVolumesElemSecretItemsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemSecretItemsElem.
func (*SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemSecretItemsElem) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemSecretItemsElem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemSecretItemsElem) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemSecretItemsElem) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionSpecConfigVolumesElemStorageos) DeepCopy() *SubscriptionSpecConfigVolumesElemStorageos
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemStorageos.
func (*SubscriptionSpecConfigVolumesElemStorageos) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemStorageos) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemStorageos)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemStorageosSecretRef) DeepCopy() *SubscriptionSpecConfigVolumesElemStorageosSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemStorageosSecretRef.
func (*SubscriptionSpecConfigVolumesElemStorageosSecretRef) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemStorageosSecretRef) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemStorageosSecretRef)
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 ¶
func (in *SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopy() *SubscriptionSpecConfigVolumesElemVsphereVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpecConfigVolumesElemVsphereVolume.
func (*SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopyInto ¶
func (in *SubscriptionSpecConfigVolumesElemVsphereVolume) DeepCopyInto(out *SubscriptionSpecConfigVolumesElemVsphereVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionSpecConfigVolumesElemVsphereVolume) UnmarshalJSON ¶
func (j *SubscriptionSpecConfigVolumesElemVsphereVolume) UnmarshalJSON(b []byte) error
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 ¶
func (in *SubscriptionStatusCatalogHealthElem) DeepCopy() *SubscriptionStatusCatalogHealthElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatusCatalogHealthElem.
func (*SubscriptionStatusCatalogHealthElem) DeepCopyInto ¶
func (in *SubscriptionStatusCatalogHealthElem) DeepCopyInto(out *SubscriptionStatusCatalogHealthElem)
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 ¶
func (in *SubscriptionStatusCatalogHealthElemCatalogSourceRef) DeepCopy() *SubscriptionStatusCatalogHealthElemCatalogSourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatusCatalogHealthElemCatalogSourceRef.
func (*SubscriptionStatusCatalogHealthElemCatalogSourceRef) DeepCopyInto ¶
func (in *SubscriptionStatusCatalogHealthElemCatalogSourceRef) DeepCopyInto(out *SubscriptionStatusCatalogHealthElemCatalogSourceRef)
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 ¶
func (in *SubscriptionStatusConditionsElem) DeepCopy() *SubscriptionStatusConditionsElem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatusConditionsElem.
func (*SubscriptionStatusConditionsElem) DeepCopyInto ¶
func (in *SubscriptionStatusConditionsElem) DeepCopyInto(out *SubscriptionStatusConditionsElem)
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 ¶
func (in *SubscriptionStatusInstallPlanRef) DeepCopy() *SubscriptionStatusInstallPlanRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatusInstallPlanRef.
func (*SubscriptionStatusInstallPlanRef) DeepCopyInto ¶
func (in *SubscriptionStatusInstallPlanRef) DeepCopyInto(out *SubscriptionStatusInstallPlanRef)
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 ¶
func (in *SubscriptionStatusInstallplan) DeepCopy() *SubscriptionStatusInstallplan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatusInstallplan.
func (*SubscriptionStatusInstallplan) DeepCopyInto ¶
func (in *SubscriptionStatusInstallplan) DeepCopyInto(out *SubscriptionStatusInstallplan)
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.