job.v1alpha1.minIOJob
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withCommands(commands)
fn withCommandsMixin(commands)
fn withExecution(execution)
fn withFailureStrategy(failureStrategy)
fn withImagePullPolicy(imagePullPolicy)
fn withImagePullSecret(imagePullSecret)
fn withImagePullSecretMixin(imagePullSecret)
fn withMcImage(mcImage)
fn withServiceAccountName(serviceAccountName)
obj spec.commands
fn withArgs(args)
fn withArgsMixin(args)
fn withCommand(command)
fn withCommandMixin(command)
fn withDependsOn(dependsOn)
fn withDependsOnMixin(dependsOn)
fn withEnv(env)
fn withEnvFrom(envFrom)
fn withEnvFromMixin(envFrom)
fn withEnvMixin(env)
fn withName(name)
fn withOp(op)
fn withVolumeMounts(volumeMounts)
fn withVolumeMountsMixin(volumeMounts)
fn withVolumes(volumes)
fn withVolumesMixin(volumes)
obj spec.commands.env
obj spec.commands.envFrom
obj spec.commands.resources
obj spec.commands.volumeMounts
obj spec.commands.volumes
fn withName(name)
obj spec.commands.volumes.awsElasticBlockStore
obj spec.commands.volumes.azureDisk
obj spec.commands.volumes.azureFile
obj spec.commands.volumes.cephfs
obj spec.commands.volumes.cinder
obj spec.commands.volumes.configMap
obj spec.commands.volumes.csi
obj spec.commands.volumes.downwardAPI
obj spec.commands.volumes.emptyDir
obj spec.commands.volumes.ephemeral
obj spec.commands.volumes.ephemeral.volumeClaimTemplate
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec
fn withAccessModes(accessModes)
fn withAccessModesMixin(accessModes)
fn withStorageClassName(storageClassName)
fn withVolumeAttributesClassName(volumeAttributesClassName)
fn withVolumeMode(volumeMode)
fn withVolumeName(volumeName)
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSource
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSourceRef
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.resources
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector
obj spec.commands.volumes.fc
obj spec.commands.volumes.flexVolume
obj spec.commands.volumes.flocker
obj spec.commands.volumes.gcePersistentDisk
obj spec.commands.volumes.gitRepo
obj spec.commands.volumes.glusterfs
obj spec.commands.volumes.hostPath
obj spec.commands.volumes.iscsi
fn withChapAuthDiscovery(chapAuthDiscovery)
fn withChapAuthSession(chapAuthSession)
fn withFsType(fsType)
fn withInitiatorName(initiatorName)
fn withIqn(iqn)
fn withIscsiInterface(iscsiInterface)
fn withLun(lun)
fn withPortals(portals)
fn withPortalsMixin(portals)
fn withReadOnly(readOnly)
fn withTargetPortal(targetPortal)
obj spec.commands.volumes.iscsi.secretRef
obj spec.commands.volumes.nfs
obj spec.commands.volumes.persistentVolumeClaim
obj spec.commands.volumes.photonPersistentDisk
obj spec.commands.volumes.portworxVolume
obj spec.commands.volumes.projected
fn withDefaultMode(defaultMode)
fn withSources(sources)
fn withSourcesMixin(sources)
obj spec.commands.volumes.projected.sources
obj spec.commands.volumes.projected.sources.clusterTrustBundle
fn withName(name)
fn withOptional(optional)
fn withPath(path)
fn withSignerName(signerName)
obj spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector
obj spec.commands.volumes.projected.sources.configMap
obj spec.commands.volumes.projected.sources.downwardAPI
obj spec.commands.volumes.projected.sources.secret
obj spec.commands.volumes.projected.sources.serviceAccountToken
obj spec.commands.volumes.quobyte
obj spec.commands.volumes.rbd
obj spec.commands.volumes.scaleIO
fn withFsType(fsType)
fn withGateway(gateway)
fn withProtectionDomain(protectionDomain)
fn withReadOnly(readOnly)
fn withSslEnabled(sslEnabled)
fn withStorageMode(storageMode)
fn withStoragePool(storagePool)
fn withSystem(system)
fn withVolumeName(volumeName)
obj spec.commands.volumes.scaleIO.secretRef
obj spec.commands.volumes.secret
obj spec.commands.volumes.storageos
obj spec.commands.volumes.vsphereVolume
obj spec.containerSecurityContext
fn withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn withPrivileged(privileged)
fn withProcMount(procMount)
fn withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
obj spec.containerSecurityContext.appArmorProfile
obj spec.containerSecurityContext.capabilities
obj spec.containerSecurityContext.seLinuxOptions
obj spec.containerSecurityContext.seccompProfile
obj spec.containerSecurityContext.windowsOptions
obj spec.imagePullSecret
obj spec.securityContext
fn withFsGroup(fsGroup)
fn withFsGroupChangePolicy(fsGroupChangePolicy)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
fn withSupplementalGroups(supplementalGroups)
fn withSupplementalGroupsMixin(supplementalGroups)
fn withSysctls(sysctls)
fn withSysctlsMixin(sysctls)
obj spec.securityContext.appArmorProfile
obj spec.securityContext.seLinuxOptions
obj spec.securityContext.seccompProfile
obj spec.securityContext.sysctls
obj spec.securityContext.windowsOptions
obj spec.tenant
Fields
fn new
new(name)
new returns an instance of MinIOJob
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
fn spec.withCommands
withCommands(commands)
fn spec.withCommandsMixin
withCommandsMixin(commands)
Note: This function appends passed data to existing values
fn spec.withExecution
withExecution(execution)
fn spec.withFailureStrategy
withFailureStrategy(failureStrategy)
fn spec.withImagePullPolicy
withImagePullPolicy(imagePullPolicy)
fn spec.withImagePullSecret
withImagePullSecret(imagePullSecret)
fn spec.withImagePullSecretMixin
withImagePullSecretMixin(imagePullSecret)
Note: This function appends passed data to existing values
fn spec.withMcImage
withMcImage(mcImage)
fn spec.withServiceAccountName
withServiceAccountName(serviceAccountName)
obj spec.commands
fn spec.commands.withArgs
withArgs(args)
fn spec.commands.withArgsMixin
withArgsMixin(args)
Note: This function appends passed data to existing values
fn spec.commands.withCommand
withCommand(command)
fn spec.commands.withCommandMixin
withCommandMixin(command)
Note: This function appends passed data to existing values
fn spec.commands.withDependsOn
withDependsOn(dependsOn)
fn spec.commands.withDependsOnMixin
withDependsOnMixin(dependsOn)
Note: This function appends passed data to existing values
fn spec.commands.withEnv
withEnv(env)
fn spec.commands.withEnvFrom
withEnvFrom(envFrom)
fn spec.commands.withEnvFromMixin
withEnvFromMixin(envFrom)
Note: This function appends passed data to existing values
fn spec.commands.withEnvMixin
withEnvMixin(env)
Note: This function appends passed data to existing values
fn spec.commands.withName
withName(name)
fn spec.commands.withOp
withOp(op)
fn spec.commands.withVolumeMounts
withVolumeMounts(volumeMounts)
fn spec.commands.withVolumeMountsMixin
withVolumeMountsMixin(volumeMounts)
Note: This function appends passed data to existing values
fn spec.commands.withVolumes
withVolumes(volumes)
fn spec.commands.withVolumesMixin
withVolumesMixin(volumes)
Note: This function appends passed data to existing values
obj spec.commands.env
fn spec.commands.env.withName
withName(name)
fn spec.commands.env.withValue
withValue(value)
obj spec.commands.env.valueFrom
obj spec.commands.env.valueFrom.configMapKeyRef
fn spec.commands.env.valueFrom.configMapKeyRef.withKey
withKey(key)
fn spec.commands.env.valueFrom.configMapKeyRef.withName
withName(name)
fn spec.commands.env.valueFrom.configMapKeyRef.withOptional
withOptional(optional)
obj spec.commands.env.valueFrom.fieldRef
fn spec.commands.env.valueFrom.fieldRef.withApiVersion
withApiVersion(apiVersion)
fn spec.commands.env.valueFrom.fieldRef.withFieldPath
withFieldPath(fieldPath)
obj spec.commands.env.valueFrom.resourceFieldRef
fn spec.commands.env.valueFrom.resourceFieldRef.withContainerName
withContainerName(containerName)
fn spec.commands.env.valueFrom.resourceFieldRef.withDivisor
withDivisor(divisor)
fn spec.commands.env.valueFrom.resourceFieldRef.withResource
withResource(resource)
obj spec.commands.env.valueFrom.secretKeyRef
fn spec.commands.env.valueFrom.secretKeyRef.withKey
withKey(key)
fn spec.commands.env.valueFrom.secretKeyRef.withName
withName(name)
fn spec.commands.env.valueFrom.secretKeyRef.withOptional
withOptional(optional)
obj spec.commands.envFrom
fn spec.commands.envFrom.withPrefix
withPrefix(prefix)
obj spec.commands.envFrom.configMapRef
fn spec.commands.envFrom.configMapRef.withName
withName(name)
fn spec.commands.envFrom.configMapRef.withOptional
withOptional(optional)
obj spec.commands.envFrom.secretRef
fn spec.commands.envFrom.secretRef.withName
withName(name)
fn spec.commands.envFrom.secretRef.withOptional
withOptional(optional)
obj spec.commands.resources
fn spec.commands.resources.withClaims
withClaims(claims)
fn spec.commands.resources.withClaimsMixin
withClaimsMixin(claims)
Note: This function appends passed data to existing values
fn spec.commands.resources.withLimits
withLimits(limits)
fn spec.commands.resources.withLimitsMixin
withLimitsMixin(limits)
Note: This function appends passed data to existing values
fn spec.commands.resources.withRequests
withRequests(requests)
fn spec.commands.resources.withRequestsMixin
withRequestsMixin(requests)
Note: This function appends passed data to existing values
obj spec.commands.resources.claims
fn spec.commands.resources.claims.withName
withName(name)
obj spec.commands.volumeMounts
fn spec.commands.volumeMounts.withMountPath
withMountPath(mountPath)
fn spec.commands.volumeMounts.withMountPropagation
withMountPropagation(mountPropagation)
fn spec.commands.volumeMounts.withName
withName(name)
fn spec.commands.volumeMounts.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumeMounts.withRecursiveReadOnly
withRecursiveReadOnly(recursiveReadOnly)
fn spec.commands.volumeMounts.withSubPath
withSubPath(subPath)
fn spec.commands.volumeMounts.withSubPathExpr
withSubPathExpr(subPathExpr)
obj spec.commands.volumes
fn spec.commands.volumes.withName
withName(name)
obj spec.commands.volumes.awsElasticBlockStore
fn spec.commands.volumes.awsElasticBlockStore.withFsType
withFsType(fsType)
fn spec.commands.volumes.awsElasticBlockStore.withPartition
withPartition(partition)
fn spec.commands.volumes.awsElasticBlockStore.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.awsElasticBlockStore.withVolumeID
withVolumeID(volumeID)
obj spec.commands.volumes.azureDisk
fn spec.commands.volumes.azureDisk.withCachingMode
withCachingMode(cachingMode)
fn spec.commands.volumes.azureDisk.withDiskName
withDiskName(diskName)
fn spec.commands.volumes.azureDisk.withDiskURI
withDiskURI(diskURI)
fn spec.commands.volumes.azureDisk.withFsType
withFsType(fsType)
fn spec.commands.volumes.azureDisk.withKind
withKind(kind)
fn spec.commands.volumes.azureDisk.withReadOnly
withReadOnly(readOnly)
obj spec.commands.volumes.azureFile
fn spec.commands.volumes.azureFile.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.azureFile.withSecretName
withSecretName(secretName)
fn spec.commands.volumes.azureFile.withShareName
withShareName(shareName)
obj spec.commands.volumes.cephfs
fn spec.commands.volumes.cephfs.withMonitors
withMonitors(monitors)
fn spec.commands.volumes.cephfs.withMonitorsMixin
withMonitorsMixin(monitors)
Note: This function appends passed data to existing values
fn spec.commands.volumes.cephfs.withPath
withPath(path)
fn spec.commands.volumes.cephfs.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.cephfs.withSecretFile
withSecretFile(secretFile)
fn spec.commands.volumes.cephfs.withUser
withUser(user)
obj spec.commands.volumes.cephfs.secretRef
fn spec.commands.volumes.cephfs.secretRef.withName
withName(name)
obj spec.commands.volumes.cinder
fn spec.commands.volumes.cinder.withFsType
withFsType(fsType)
fn spec.commands.volumes.cinder.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.cinder.withVolumeID
withVolumeID(volumeID)
obj spec.commands.volumes.cinder.secretRef
fn spec.commands.volumes.cinder.secretRef.withName
withName(name)
obj spec.commands.volumes.configMap
fn spec.commands.volumes.configMap.withDefaultMode
withDefaultMode(defaultMode)
fn spec.commands.volumes.configMap.withItems
withItems(items)
fn spec.commands.volumes.configMap.withItemsMixin
withItemsMixin(items)
Note: This function appends passed data to existing values
fn spec.commands.volumes.configMap.withName
withName(name)
fn spec.commands.volumes.configMap.withOptional
withOptional(optional)
obj spec.commands.volumes.configMap.items
fn spec.commands.volumes.configMap.items.withKey
withKey(key)
fn spec.commands.volumes.configMap.items.withMode
withMode(mode)
fn spec.commands.volumes.configMap.items.withPath
withPath(path)
obj spec.commands.volumes.csi
fn spec.commands.volumes.csi.withDriver
withDriver(driver)
fn spec.commands.volumes.csi.withFsType
withFsType(fsType)
fn spec.commands.volumes.csi.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.csi.withVolumeAttributes
withVolumeAttributes(volumeAttributes)
fn spec.commands.volumes.csi.withVolumeAttributesMixin
withVolumeAttributesMixin(volumeAttributes)
Note: This function appends passed data to existing values
obj spec.commands.volumes.csi.nodePublishSecretRef
fn spec.commands.volumes.csi.nodePublishSecretRef.withName
withName(name)
obj spec.commands.volumes.downwardAPI
fn spec.commands.volumes.downwardAPI.withDefaultMode
withDefaultMode(defaultMode)
fn spec.commands.volumes.downwardAPI.withItems
withItems(items)
fn spec.commands.volumes.downwardAPI.withItemsMixin
withItemsMixin(items)
Note: This function appends passed data to existing values
obj spec.commands.volumes.downwardAPI.items
fn spec.commands.volumes.downwardAPI.items.withMode
withMode(mode)
fn spec.commands.volumes.downwardAPI.items.withPath
withPath(path)
obj spec.commands.volumes.downwardAPI.items.fieldRef
fn spec.commands.volumes.downwardAPI.items.fieldRef.withApiVersion
withApiVersion(apiVersion)
fn spec.commands.volumes.downwardAPI.items.fieldRef.withFieldPath
withFieldPath(fieldPath)
obj spec.commands.volumes.downwardAPI.items.resourceFieldRef
fn spec.commands.volumes.downwardAPI.items.resourceFieldRef.withContainerName
withContainerName(containerName)
fn spec.commands.volumes.downwardAPI.items.resourceFieldRef.withDivisor
withDivisor(divisor)
fn spec.commands.volumes.downwardAPI.items.resourceFieldRef.withResource
withResource(resource)
obj spec.commands.volumes.emptyDir
fn spec.commands.volumes.emptyDir.withMedium
withMedium(medium)
fn spec.commands.volumes.emptyDir.withSizeLimit
withSizeLimit(sizeLimit)
obj spec.commands.volumes.ephemeral
obj spec.commands.volumes.ephemeral.volumeClaimTemplate
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withAnnotations
withAnnotations(annotations)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withFinalizers
withFinalizers(finalizers)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
Note: This function appends passed data to existing values
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withLabels
withLabels(labels)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withName
withName(name)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.metadata.withNamespace
withNamespace(namespace)
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.withAccessModes
withAccessModes(accessModes)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.withAccessModesMixin
withAccessModesMixin(accessModes)
Note: This function appends passed data to existing values
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.withStorageClassName
withStorageClassName(storageClassName)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.withVolumeAttributesClassName
withVolumeAttributesClassName(volumeAttributesClassName)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.withVolumeMode
withVolumeMode(volumeMode)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.withVolumeName
withVolumeName(volumeName)
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSource
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSource.withApiGroup
withApiGroup(apiGroup)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSource.withKind
withKind(kind)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSource.withName
withName(name)
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSourceRef
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSourceRef.withApiGroup
withApiGroup(apiGroup)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSourceRef.withKind
withKind(kind)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSourceRef.withName
withName(name)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.dataSourceRef.withNamespace
withNamespace(namespace)
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.resources
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.resources.withLimits
withLimits(limits)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.resources.withLimitsMixin
withLimitsMixin(limits)
Note: This function appends passed data to existing values
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.resources.withRequests
withRequests(requests)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.resources.withRequestsMixin
withRequestsMixin(requests)
Note: This function appends passed data to existing values
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.matchExpressions
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.matchExpressions.withKey
withKey(key)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.matchExpressions.withOperator
withOperator(operator)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.matchExpressions.withValues
withValues(values)
fn spec.commands.volumes.ephemeral.volumeClaimTemplate.spec.selector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.commands.volumes.fc
fn spec.commands.volumes.fc.withFsType
withFsType(fsType)
fn spec.commands.volumes.fc.withLun
withLun(lun)
fn spec.commands.volumes.fc.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.fc.withTargetWWNs
withTargetWWNs(targetWWNs)
fn spec.commands.volumes.fc.withTargetWWNsMixin
withTargetWWNsMixin(targetWWNs)
Note: This function appends passed data to existing values
fn spec.commands.volumes.fc.withWwids
withWwids(wwids)
fn spec.commands.volumes.fc.withWwidsMixin
withWwidsMixin(wwids)
Note: This function appends passed data to existing values
obj spec.commands.volumes.flexVolume
fn spec.commands.volumes.flexVolume.withDriver
withDriver(driver)
fn spec.commands.volumes.flexVolume.withFsType
withFsType(fsType)
fn spec.commands.volumes.flexVolume.withOptions
withOptions(options)
fn spec.commands.volumes.flexVolume.withOptionsMixin
withOptionsMixin(options)
Note: This function appends passed data to existing values
fn spec.commands.volumes.flexVolume.withReadOnly
withReadOnly(readOnly)
obj spec.commands.volumes.flexVolume.secretRef
fn spec.commands.volumes.flexVolume.secretRef.withName
withName(name)
obj spec.commands.volumes.flocker
fn spec.commands.volumes.flocker.withDatasetName
withDatasetName(datasetName)
fn spec.commands.volumes.flocker.withDatasetUUID
withDatasetUUID(datasetUUID)
obj spec.commands.volumes.gcePersistentDisk
fn spec.commands.volumes.gcePersistentDisk.withFsType
withFsType(fsType)
fn spec.commands.volumes.gcePersistentDisk.withPartition
withPartition(partition)
fn spec.commands.volumes.gcePersistentDisk.withPdName
withPdName(pdName)
fn spec.commands.volumes.gcePersistentDisk.withReadOnly
withReadOnly(readOnly)
obj spec.commands.volumes.gitRepo
fn spec.commands.volumes.gitRepo.withDirectory
withDirectory(directory)
fn spec.commands.volumes.gitRepo.withRepository
withRepository(repository)
fn spec.commands.volumes.gitRepo.withRevision
withRevision(revision)
obj spec.commands.volumes.glusterfs
fn spec.commands.volumes.glusterfs.withEndpoints
withEndpoints(endpoints)
fn spec.commands.volumes.glusterfs.withPath
withPath(path)
fn spec.commands.volumes.glusterfs.withReadOnly
withReadOnly(readOnly)
obj spec.commands.volumes.hostPath
fn spec.commands.volumes.hostPath.withPath
withPath(path)
fn spec.commands.volumes.hostPath.withType
withType(type)
obj spec.commands.volumes.iscsi
fn spec.commands.volumes.iscsi.withChapAuthDiscovery
withChapAuthDiscovery(chapAuthDiscovery)
fn spec.commands.volumes.iscsi.withChapAuthSession
withChapAuthSession(chapAuthSession)
fn spec.commands.volumes.iscsi.withFsType
withFsType(fsType)
fn spec.commands.volumes.iscsi.withInitiatorName
withInitiatorName(initiatorName)
fn spec.commands.volumes.iscsi.withIqn
withIqn(iqn)
fn spec.commands.volumes.iscsi.withIscsiInterface
withIscsiInterface(iscsiInterface)
fn spec.commands.volumes.iscsi.withLun
withLun(lun)
fn spec.commands.volumes.iscsi.withPortals
withPortals(portals)
fn spec.commands.volumes.iscsi.withPortalsMixin
withPortalsMixin(portals)
Note: This function appends passed data to existing values
fn spec.commands.volumes.iscsi.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.iscsi.withTargetPortal
withTargetPortal(targetPortal)
obj spec.commands.volumes.iscsi.secretRef
fn spec.commands.volumes.iscsi.secretRef.withName
withName(name)
obj spec.commands.volumes.nfs
fn spec.commands.volumes.nfs.withPath
withPath(path)
fn spec.commands.volumes.nfs.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.nfs.withServer
withServer(server)
obj spec.commands.volumes.persistentVolumeClaim
fn spec.commands.volumes.persistentVolumeClaim.withClaimName
withClaimName(claimName)
fn spec.commands.volumes.persistentVolumeClaim.withReadOnly
withReadOnly(readOnly)
obj spec.commands.volumes.photonPersistentDisk
fn spec.commands.volumes.photonPersistentDisk.withFsType
withFsType(fsType)
fn spec.commands.volumes.photonPersistentDisk.withPdID
withPdID(pdID)
obj spec.commands.volumes.portworxVolume
fn spec.commands.volumes.portworxVolume.withFsType
withFsType(fsType)
fn spec.commands.volumes.portworxVolume.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.portworxVolume.withVolumeID
withVolumeID(volumeID)
obj spec.commands.volumes.projected
fn spec.commands.volumes.projected.withDefaultMode
withDefaultMode(defaultMode)
fn spec.commands.volumes.projected.withSources
withSources(sources)
fn spec.commands.volumes.projected.withSourcesMixin
withSourcesMixin(sources)
Note: This function appends passed data to existing values
obj spec.commands.volumes.projected.sources
obj spec.commands.volumes.projected.sources.clusterTrustBundle
fn spec.commands.volumes.projected.sources.clusterTrustBundle.withName
withName(name)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.withOptional
withOptional(optional)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.withPath
withPath(path)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.withSignerName
withSignerName(signerName)
obj spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.matchExpressions
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.matchExpressions.withKey
withKey(key)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.matchExpressions.withValues
withValues(values)
fn spec.commands.volumes.projected.sources.clusterTrustBundle.labelSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.commands.volumes.projected.sources.configMap
fn spec.commands.volumes.projected.sources.configMap.withItems
withItems(items)
fn spec.commands.volumes.projected.sources.configMap.withItemsMixin
withItemsMixin(items)
Note: This function appends passed data to existing values
fn spec.commands.volumes.projected.sources.configMap.withName
withName(name)
fn spec.commands.volumes.projected.sources.configMap.withOptional
withOptional(optional)
obj spec.commands.volumes.projected.sources.configMap.items
fn spec.commands.volumes.projected.sources.configMap.items.withKey
withKey(key)
fn spec.commands.volumes.projected.sources.configMap.items.withMode
withMode(mode)
fn spec.commands.volumes.projected.sources.configMap.items.withPath
withPath(path)
obj spec.commands.volumes.projected.sources.downwardAPI
fn spec.commands.volumes.projected.sources.downwardAPI.withItems
withItems(items)
fn spec.commands.volumes.projected.sources.downwardAPI.withItemsMixin
withItemsMixin(items)
Note: This function appends passed data to existing values
obj spec.commands.volumes.projected.sources.downwardAPI.items
fn spec.commands.volumes.projected.sources.downwardAPI.items.withMode
withMode(mode)
fn spec.commands.volumes.projected.sources.downwardAPI.items.withPath
withPath(path)
obj spec.commands.volumes.projected.sources.downwardAPI.items.fieldRef
fn spec.commands.volumes.projected.sources.downwardAPI.items.fieldRef.withApiVersion
withApiVersion(apiVersion)
fn spec.commands.volumes.projected.sources.downwardAPI.items.fieldRef.withFieldPath
withFieldPath(fieldPath)
obj spec.commands.volumes.projected.sources.downwardAPI.items.resourceFieldRef
fn spec.commands.volumes.projected.sources.downwardAPI.items.resourceFieldRef.withContainerName
withContainerName(containerName)
fn spec.commands.volumes.projected.sources.downwardAPI.items.resourceFieldRef.withDivisor
withDivisor(divisor)
fn spec.commands.volumes.projected.sources.downwardAPI.items.resourceFieldRef.withResource
withResource(resource)
obj spec.commands.volumes.projected.sources.secret
fn spec.commands.volumes.projected.sources.secret.withItems
withItems(items)
fn spec.commands.volumes.projected.sources.secret.withItemsMixin
withItemsMixin(items)
Note: This function appends passed data to existing values
fn spec.commands.volumes.projected.sources.secret.withName
withName(name)
fn spec.commands.volumes.projected.sources.secret.withOptional
withOptional(optional)
obj spec.commands.volumes.projected.sources.secret.items
fn spec.commands.volumes.projected.sources.secret.items.withKey
withKey(key)
fn spec.commands.volumes.projected.sources.secret.items.withMode
withMode(mode)
fn spec.commands.volumes.projected.sources.secret.items.withPath
withPath(path)
obj spec.commands.volumes.projected.sources.serviceAccountToken
fn spec.commands.volumes.projected.sources.serviceAccountToken.withAudience
withAudience(audience)
fn spec.commands.volumes.projected.sources.serviceAccountToken.withExpirationSeconds
withExpirationSeconds(expirationSeconds)
fn spec.commands.volumes.projected.sources.serviceAccountToken.withPath
withPath(path)
obj spec.commands.volumes.quobyte
fn spec.commands.volumes.quobyte.withGroup
withGroup(group)
fn spec.commands.volumes.quobyte.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.quobyte.withRegistry
withRegistry(registry)
fn spec.commands.volumes.quobyte.withTenant
withTenant(tenant)
fn spec.commands.volumes.quobyte.withUser
withUser(user)
fn spec.commands.volumes.quobyte.withVolume
withVolume(volume)
obj spec.commands.volumes.rbd
fn spec.commands.volumes.rbd.withFsType
withFsType(fsType)
fn spec.commands.volumes.rbd.withImage
withImage(image)
fn spec.commands.volumes.rbd.withKeyring
withKeyring(keyring)
fn spec.commands.volumes.rbd.withMonitors
withMonitors(monitors)
fn spec.commands.volumes.rbd.withMonitorsMixin
withMonitorsMixin(monitors)
Note: This function appends passed data to existing values
fn spec.commands.volumes.rbd.withPool
withPool(pool)
fn spec.commands.volumes.rbd.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.rbd.withUser
withUser(user)
obj spec.commands.volumes.rbd.secretRef
fn spec.commands.volumes.rbd.secretRef.withName
withName(name)
obj spec.commands.volumes.scaleIO
fn spec.commands.volumes.scaleIO.withFsType
withFsType(fsType)
fn spec.commands.volumes.scaleIO.withGateway
withGateway(gateway)
fn spec.commands.volumes.scaleIO.withProtectionDomain
withProtectionDomain(protectionDomain)
fn spec.commands.volumes.scaleIO.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.scaleIO.withSslEnabled
withSslEnabled(sslEnabled)
fn spec.commands.volumes.scaleIO.withStorageMode
withStorageMode(storageMode)
fn spec.commands.volumes.scaleIO.withStoragePool
withStoragePool(storagePool)
fn spec.commands.volumes.scaleIO.withSystem
withSystem(system)
fn spec.commands.volumes.scaleIO.withVolumeName
withVolumeName(volumeName)
obj spec.commands.volumes.scaleIO.secretRef
fn spec.commands.volumes.scaleIO.secretRef.withName
withName(name)
obj spec.commands.volumes.secret
fn spec.commands.volumes.secret.withDefaultMode
withDefaultMode(defaultMode)
fn spec.commands.volumes.secret.withItems
withItems(items)
fn spec.commands.volumes.secret.withItemsMixin
withItemsMixin(items)
Note: This function appends passed data to existing values
fn spec.commands.volumes.secret.withOptional
withOptional(optional)
fn spec.commands.volumes.secret.withSecretName
withSecretName(secretName)
obj spec.commands.volumes.secret.items
fn spec.commands.volumes.secret.items.withKey
withKey(key)
fn spec.commands.volumes.secret.items.withMode
withMode(mode)
fn spec.commands.volumes.secret.items.withPath
withPath(path)
obj spec.commands.volumes.storageos
fn spec.commands.volumes.storageos.withFsType
withFsType(fsType)
fn spec.commands.volumes.storageos.withReadOnly
withReadOnly(readOnly)
fn spec.commands.volumes.storageos.withVolumeName
withVolumeName(volumeName)
fn spec.commands.volumes.storageos.withVolumeNamespace
withVolumeNamespace(volumeNamespace)
obj spec.commands.volumes.storageos.secretRef
fn spec.commands.volumes.storageos.secretRef.withName
withName(name)
obj spec.commands.volumes.vsphereVolume
fn spec.commands.volumes.vsphereVolume.withFsType
withFsType(fsType)
fn spec.commands.volumes.vsphereVolume.withStoragePolicyID
withStoragePolicyID(storagePolicyID)
fn spec.commands.volumes.vsphereVolume.withStoragePolicyName
withStoragePolicyName(storagePolicyName)
fn spec.commands.volumes.vsphereVolume.withVolumePath
withVolumePath(volumePath)
obj spec.containerSecurityContext
fn spec.containerSecurityContext.withAllowPrivilegeEscalation
withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn spec.containerSecurityContext.withPrivileged
withPrivileged(privileged)
fn spec.containerSecurityContext.withProcMount
withProcMount(procMount)
fn spec.containerSecurityContext.withReadOnlyRootFilesystem
withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn spec.containerSecurityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
fn spec.containerSecurityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
fn spec.containerSecurityContext.withRunAsUser
withRunAsUser(runAsUser)
obj spec.containerSecurityContext.appArmorProfile
fn spec.containerSecurityContext.appArmorProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.containerSecurityContext.appArmorProfile.withType
withType(type)
obj spec.containerSecurityContext.capabilities
fn spec.containerSecurityContext.capabilities.withAdd
withAdd(add)
fn spec.containerSecurityContext.capabilities.withAddMixin
withAddMixin(add)
Note: This function appends passed data to existing values
fn spec.containerSecurityContext.capabilities.withDrop
withDrop(drop)
fn spec.containerSecurityContext.capabilities.withDropMixin
withDropMixin(drop)
Note: This function appends passed data to existing values
obj spec.containerSecurityContext.seLinuxOptions
fn spec.containerSecurityContext.seLinuxOptions.withLevel
withLevel(level)
fn spec.containerSecurityContext.seLinuxOptions.withRole
withRole(role)
fn spec.containerSecurityContext.seLinuxOptions.withType
withType(type)
fn spec.containerSecurityContext.seLinuxOptions.withUser
withUser(user)
obj spec.containerSecurityContext.seccompProfile
fn spec.containerSecurityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.containerSecurityContext.seccompProfile.withType
withType(type)
obj spec.containerSecurityContext.windowsOptions
fn spec.containerSecurityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
fn spec.containerSecurityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
fn spec.containerSecurityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
fn spec.containerSecurityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
obj spec.imagePullSecret
fn spec.imagePullSecret.withName
withName(name)
obj spec.securityContext
fn spec.securityContext.withFsGroup
withFsGroup(fsGroup)
fn spec.securityContext.withFsGroupChangePolicy
withFsGroupChangePolicy(fsGroupChangePolicy)
fn spec.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
fn spec.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
fn spec.securityContext.withRunAsUser
withRunAsUser(runAsUser)
fn spec.securityContext.withSupplementalGroups
withSupplementalGroups(supplementalGroups)
fn spec.securityContext.withSupplementalGroupsMixin
withSupplementalGroupsMixin(supplementalGroups)
Note: This function appends passed data to existing values
fn spec.securityContext.withSysctls
withSysctls(sysctls)
fn spec.securityContext.withSysctlsMixin
withSysctlsMixin(sysctls)
Note: This function appends passed data to existing values
obj spec.securityContext.appArmorProfile
fn spec.securityContext.appArmorProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.securityContext.appArmorProfile.withType
withType(type)
obj spec.securityContext.seLinuxOptions
fn spec.securityContext.seLinuxOptions.withLevel
withLevel(level)
fn spec.securityContext.seLinuxOptions.withRole
withRole(role)
fn spec.securityContext.seLinuxOptions.withType
withType(type)
fn spec.securityContext.seLinuxOptions.withUser
withUser(user)
obj spec.securityContext.seccompProfile
fn spec.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.securityContext.seccompProfile.withType
withType(type)
obj spec.securityContext.sysctls
fn spec.securityContext.sysctls.withName
withName(name)
fn spec.securityContext.sysctls.withValue
withValue(value)
obj spec.securityContext.windowsOptions
fn spec.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
fn spec.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
fn spec.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
fn spec.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
obj spec.tenant
fn spec.tenant.withName
withName(name)
fn spec.tenant.withNamespace
withNamespace(namespace)