v1

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSElasticBlockStoreVolumeSourceBlank = (&AWSElasticBlockStoreVolumeSourceDie{}).DieFeed(corev1.AWSElasticBlockStoreVolumeSource{})
View Source
var AppArmorProfileBlank = (&AppArmorProfileDie{}).DieFeed(corev1.AppArmorProfile{})
View Source
var AttachedVolumeBlank = (&AttachedVolumeDie{}).DieFeed(corev1.AttachedVolume{})
View Source
var AzureDiskVolumeSourceBlank = (&AzureDiskVolumeSourceDie{}).DieFeed(corev1.AzureDiskVolumeSource{})
View Source
var AzureFilePersistentVolumeSourceBlank = (&AzureFilePersistentVolumeSourceDie{}).DieFeed(corev1.AzureFilePersistentVolumeSource{})
View Source
var AzureFileVolumeSourceBlank = (&AzureFileVolumeSourceDie{}).DieFeed(corev1.AzureFileVolumeSource{})
View Source
var BindingBlank = (&BindingDie{}).DieFeed(corev1.Binding{})
View Source
var CSIPersistentVolumeSourceBlank = (&CSIPersistentVolumeSourceDie{}).DieFeed(corev1.CSIPersistentVolumeSource{})
View Source
var CSIVolumeSourceBlank = (&CSIVolumeSourceDie{}).DieFeed(corev1.CSIVolumeSource{})
View Source
var CapabilitiesBlank = (&CapabilitiesDie{}).DieFeed(corev1.Capabilities{})
View Source
var CephFSPersistentVolumeSourceBlank = (&CephFSPersistentVolumeSourceDie{}).DieFeed(corev1.CephFSPersistentVolumeSource{})
View Source
var CephFSVolumeSourceBlank = (&CephFSVolumeSourceDie{}).DieFeed(corev1.CephFSVolumeSource{})
View Source
var CinderPersistentVolumeSourceBlank = (&CinderPersistentVolumeSourceDie{}).DieFeed(corev1.CinderPersistentVolumeSource{})
View Source
var CinderVolumeSourceBlank = (&CinderVolumeSourceDie{}).DieFeed(corev1.CinderVolumeSource{})
View Source
var ClaimSourceBlank = (&ClaimSourceDie{}).DieFeed(corev1.ClaimSource{})
View Source
var ClientIPConfigBlank = (&ClientIPConfigDie{}).DieFeed(corev1.ClientIPConfig{})
View Source
var ClusterTrustBundleProjectionBlank = (&ClusterTrustBundleProjectionDie{}).DieFeed(corev1.ClusterTrustBundleProjection{})
View Source
var ComponentStatusBlank = (&ComponentStatusDie{}).DieFeed(corev1.ComponentStatus{})
View Source
var ConfigMapBlank = (&ConfigMapDie{}).DieFeed(corev1.ConfigMap{})
View Source
var ConfigMapEnvSourceBlank = (&ConfigMapEnvSourceDie{}).DieFeed(corev1.ConfigMapEnvSource{})
View Source
var ConfigMapKeySelectorBlank = (&ConfigMapKeySelectorDie{}).DieFeed(corev1.ConfigMapKeySelector{})
View Source
var ConfigMapNodeConfigSourceBlank = (&ConfigMapNodeConfigSourceDie{}).DieFeed(corev1.ConfigMapNodeConfigSource{})
View Source
var ConfigMapProjectionBlank = (&ConfigMapProjectionDie{}).DieFeed(corev1.ConfigMapProjection{})
View Source
var ConfigMapVolumeSourceBlank = (&ConfigMapVolumeSourceDie{}).DieFeed(corev1.ConfigMapVolumeSource{})
View Source
var ContainerBlank = (&ContainerDie{}).DieFeed(corev1.Container{})
View Source
var ContainerImageBlank = (&ContainerImageDie{}).DieFeed(corev1.ContainerImage{})
View Source
var ContainerPortBlank = (&ContainerPortDie{}).DieFeed(corev1.ContainerPort{})
View Source
var ContainerResizePolicyBlank = (&ContainerResizePolicyDie{}).DieFeed(corev1.ContainerResizePolicy{})
View Source
var ContainerStateBlank = (&ContainerStateDie{}).DieFeed(corev1.ContainerState{})
View Source
var ContainerStateRunningBlank = (&ContainerStateRunningDie{}).DieFeed(corev1.ContainerStateRunning{})
View Source
var ContainerStateTerminatedBlank = (&ContainerStateTerminatedDie{}).DieFeed(corev1.ContainerStateTerminated{})
View Source
var ContainerStateWaitingBlank = (&ContainerStateWaitingDie{}).DieFeed(corev1.ContainerStateWaiting{})
View Source
var ContainerStatusBlank = (&ContainerStatusDie{}).DieFeed(corev1.ContainerStatus{})
View Source
var DaemonEndpointBlank = (&DaemonEndpointDie{}).DieFeed(corev1.DaemonEndpoint{})
View Source
var DownwardAPIProjectionBlank = (&DownwardAPIProjectionDie{}).DieFeed(corev1.DownwardAPIProjection{})
View Source
var DownwardAPIVolumeFileBlank = (&DownwardAPIVolumeFileDie{}).DieFeed(corev1.DownwardAPIVolumeFile{})
View Source
var DownwardAPIVolumeSourceBlank = (&DownwardAPIVolumeSourceDie{}).DieFeed(corev1.DownwardAPIVolumeSource{})
View Source
var EmptyDirVolumeSourceBlank = (&EmptyDirVolumeSourceDie{}).DieFeed(corev1.EmptyDirVolumeSource{})
View Source
var EndpointAddressBlank = (&EndpointAddressDie{}).DieFeed(corev1.EndpointAddress{})
View Source
var EndpointPortBlank = (&EndpointPortDie{}).DieFeed(corev1.EndpointPort{})
View Source
var EndpointSubsetBlank = (&EndpointSubsetDie{}).DieFeed(corev1.EndpointSubset{})
View Source
var EndpointsBlank = (&EndpointsDie{}).DieFeed(corev1.Endpoints{})
View Source
var EnvFromSourceBlank = (&EnvFromSourceDie{}).DieFeed(corev1.EnvFromSource{})
View Source
var EnvVarBlank = (&EnvVarDie{}).DieFeed(corev1.EnvVar{})
View Source
var EnvVarSourceBlank = (&EnvVarSourceDie{}).DieFeed(corev1.EnvVarSource{})
View Source
var EphemeralVolumeSourceBlank = (&EphemeralVolumeSourceDie{}).DieFeed(corev1.EphemeralVolumeSource{})
View Source
var EventBlank = (&EventDie{}).DieFeed(corev1.Event{})
View Source
var EventSeriesBlank = (&EventSeriesDie{}).DieFeed(corev1.EventSeries{})
View Source
var EventSourceBlank = (&EventSourceDie{}).DieFeed(corev1.EventSource{})
View Source
var ExecActionBlank = (&ExecActionDie{}).DieFeed(corev1.ExecAction{})
View Source
var FCVolumeSourceBlank = (&FCVolumeSourceDie{}).DieFeed(corev1.FCVolumeSource{})
View Source
var FlexPersistentVolumeSourceBlank = (&FlexPersistentVolumeSourceDie{}).DieFeed(corev1.FlexPersistentVolumeSource{})
View Source
var FlexVolumeSourceBlank = (&FlexVolumeSourceDie{}).DieFeed(corev1.FlexVolumeSource{})
View Source
var FlockerVolumeSourceBlank = (&FlockerVolumeSourceDie{}).DieFeed(corev1.FlockerVolumeSource{})
View Source
var GCEPersistentDiskVolumeSourceBlank = (&GCEPersistentDiskVolumeSourceDie{}).DieFeed(corev1.GCEPersistentDiskVolumeSource{})
View Source
var GRPCActionBlank = (&GRPCActionDie{}).DieFeed(corev1.GRPCAction{})
View Source
var GitRepoVolumeSourceBlank = (&GitRepoVolumeSourceDie{}).DieFeed(corev1.GitRepoVolumeSource{})
View Source
var GlusterfsPersistentVolumeSourceBlank = (&GlusterfsPersistentVolumeSourceDie{}).DieFeed(corev1.GlusterfsPersistentVolumeSource{})
View Source
var GlusterfsVolumeSourceBlank = (&GlusterfsVolumeSourceDie{}).DieFeed(corev1.GlusterfsVolumeSource{})
View Source
var HTTPGetActionBlank = (&HTTPGetActionDie{}).DieFeed(corev1.HTTPGetAction{})
View Source
var HTTPHeaderBlank = (&HTTPHeaderDie{}).DieFeed(corev1.HTTPHeader{})
View Source
var HostAliasBlank = (&HostAliasDie{}).DieFeed(corev1.HostAlias{})
View Source
var HostPathVolumeSourceBlank = (&HostPathVolumeSourceDie{}).DieFeed(corev1.HostPathVolumeSource{})
View Source
var ISCSIPersistentVolumeSourceBlank = (&ISCSIPersistentVolumeSourceDie{}).DieFeed(corev1.ISCSIPersistentVolumeSource{})
View Source
var ISCSIVolumeSourceBlank = (&ISCSIVolumeSourceDie{}).DieFeed(corev1.ISCSIVolumeSource{})
View Source
var KeyToPathBlank = (&KeyToPathDie{}).DieFeed(corev1.KeyToPath{})
View Source
var LifecycleBlank = (&LifecycleDie{}).DieFeed(corev1.Lifecycle{})
View Source
var LifecycleHandlerBlank = (&LifecycleHandlerDie{}).DieFeed(corev1.LifecycleHandler{})
View Source
var LimitRangeBlank = (&LimitRangeDie{}).DieFeed(corev1.LimitRange{})
View Source
var LimitRangeItemBlank = (&LimitRangeItemDie{}).DieFeed(corev1.LimitRangeItem{})
View Source
var LimitRangeSpecBlank = (&LimitRangeSpecDie{}).DieFeed(corev1.LimitRangeSpec{})
View Source
var LoadBalancerIngressBlank = (&LoadBalancerIngressDie{}).DieFeed(corev1.LoadBalancerIngress{})
View Source
var LoadBalancerStatusBlank = (&LoadBalancerStatusDie{}).DieFeed(corev1.LoadBalancerStatus{})
View Source
var LocalObjectReferenceBlank = (&LocalObjectReferenceDie{}).DieFeed(corev1.LocalObjectReference{})
View Source
var LocalVolumeSourceBlank = (&LocalVolumeSourceDie{}).DieFeed(corev1.LocalVolumeSource{})
View Source
var ModifyVolumeStatusBlank = (&ModifyVolumeStatusDie{}).DieFeed(corev1.ModifyVolumeStatus{})
View Source
var NFSVolumeSourceBlank = (&NFSVolumeSourceDie{}).DieFeed(corev1.NFSVolumeSource{})
View Source
var NamespaceBlank = (&NamespaceDie{}).DieFeed(corev1.Namespace{})
View Source
var NamespaceSpecBlank = (&NamespaceSpecDie{}).DieFeed(corev1.NamespaceSpec{})
View Source
var NamespaceStatusBlank = (&NamespaceStatusDie{}).DieFeed(corev1.NamespaceStatus{})
View Source
var NodeAddressBlank = (&NodeAddressDie{}).DieFeed(corev1.NodeAddress{})
View Source
var NodeBlank = (&NodeDie{}).DieFeed(corev1.Node{})
View Source
var NodeConfigSourceBlank = (&NodeConfigSourceDie{}).DieFeed(corev1.NodeConfigSource{})
View Source
var NodeConfigStatusBlank = (&NodeConfigStatusDie{}).DieFeed(corev1.NodeConfigStatus{})
View Source
var NodeDaemonEndpointsBlank = (&NodeDaemonEndpointsDie{}).DieFeed(corev1.NodeDaemonEndpoints{})
View Source
var NodeRuntimeHandlerBlank = (&NodeRuntimeHandlerDie{}).DieFeed(corev1.NodeRuntimeHandler{})
View Source
var NodeRuntimeHandlerFeaturesBlank = (&NodeRuntimeHandlerFeaturesDie{}).DieFeed(corev1.NodeRuntimeHandlerFeatures{})
View Source
var NodeSelectorBlank = (&NodeSelectorDie{}).DieFeed(corev1.NodeSelector{})
View Source
var NodeSelectorRequirementBlank = (&NodeSelectorRequirementDie{}).DieFeed(corev1.NodeSelectorRequirement{})
View Source
var NodeSelectorTermBlank = (&NodeSelectorTermDie{}).DieFeed(corev1.NodeSelectorTerm{})
View Source
var NodeSpecBlank = (&NodeSpecDie{}).DieFeed(corev1.NodeSpec{})
View Source
var NodeStatusBlank = (&NodeStatusDie{}).DieFeed(corev1.NodeStatus{})
View Source
var NodeSystemInfoBlank = (&NodeSystemInfoDie{}).DieFeed(corev1.NodeSystemInfo{})
View Source
var ObjectFieldSelectorBlank = (&ObjectFieldSelectorDie{}).DieFeed(corev1.ObjectFieldSelector{})
View Source
var ObjectReferenceBlank = (&ObjectReferenceDie{}).DieFeed(corev1.ObjectReference{})
View Source
var PersistentVolumeBlank = (&PersistentVolumeDie{}).DieFeed(corev1.PersistentVolume{})
View Source
var PersistentVolumeClaimBlank = (&PersistentVolumeClaimDie{}).DieFeed(corev1.PersistentVolumeClaim{})
View Source
var PersistentVolumeClaimSpecBlank = (&PersistentVolumeClaimSpecDie{}).DieFeed(corev1.PersistentVolumeClaimSpec{})
View Source
var PersistentVolumeClaimStatusBlank = (&PersistentVolumeClaimStatusDie{}).DieFeed(corev1.PersistentVolumeClaimStatus{})
View Source
var PersistentVolumeClaimTemplateBlank = (&PersistentVolumeClaimTemplateDie{}).DieFeed(corev1.PersistentVolumeClaimTemplate{})
View Source
var PersistentVolumeClaimVolumeSourceBlank = (&PersistentVolumeClaimVolumeSourceDie{}).DieFeed(corev1.PersistentVolumeClaimVolumeSource{})
View Source
var PersistentVolumeSpecBlank = (&PersistentVolumeSpecDie{}).DieFeed(corev1.PersistentVolumeSpec{})
View Source
var PersistentVolumeStatusBlank = (&PersistentVolumeStatusDie{}).DieFeed(corev1.PersistentVolumeStatus{})
View Source
var PhotonPersistentDiskVolumeSourceBlank = (&PhotonPersistentDiskVolumeSourceDie{}).DieFeed(corev1.PhotonPersistentDiskVolumeSource{})
View Source
var PodBlank = (&PodDie{}).DieFeed(corev1.Pod{})
View Source
var PodDNSConfigBlank = (&PodDNSConfigDie{}).DieFeed(corev1.PodDNSConfig{})
View Source
var PodDNSConfigOptionBlank = (&PodDNSConfigOptionDie{}).DieFeed(corev1.PodDNSConfigOption{})
View Source
var PodOSBlank = (&PodOSDie{}).DieFeed(corev1.PodOS{})
View Source
var PodReadinessGateBlank = (&PodReadinessGateDie{}).DieFeed(corev1.PodReadinessGate{})
View Source
var PodResourceClaimBlank = (&PodResourceClaimDie{}).DieFeed(corev1.PodResourceClaim{})
View Source
var PodSchedulingGateBlank = (&PodSchedulingGateDie{}).DieFeed(corev1.PodSchedulingGate{})
View Source
var PodSecurityContextBlank = (&PodSecurityContextDie{}).DieFeed(corev1.PodSecurityContext{})
View Source
var PodSpecBlank = (&PodSpecDie{}).DieFeed(corev1.PodSpec{})
View Source
var PodStatusBlank = (&PodStatusDie{}).DieFeed(corev1.PodStatus{})
View Source
var PodTemplateBlank = (&PodTemplateDie{}).DieFeed(corev1.PodTemplate{})
View Source
var PodTemplateSpecBlank = (&PodTemplateSpecDie{}).DieFeed(corev1.PodTemplateSpec{})
View Source
var PortStatusBlank = (&PortStatusDie{}).DieFeed(corev1.PortStatus{})
View Source
var PortworxVolumeSourceBlank = (&PortworxVolumeSourceDie{}).DieFeed(corev1.PortworxVolumeSource{})
View Source
var ProbeBlank = (&ProbeDie{}).DieFeed(corev1.Probe{})
View Source
var ProbeHandlerBlank = (&ProbeHandlerDie{}).DieFeed(corev1.ProbeHandler{})
View Source
var ProjectedVolumeSourceBlank = (&ProjectedVolumeSourceDie{}).DieFeed(corev1.ProjectedVolumeSource{})
View Source
var QuobyteVolumeSourceBlank = (&QuobyteVolumeSourceDie{}).DieFeed(corev1.QuobyteVolumeSource{})
View Source
var RBDPersistentVolumeSourceBlank = (&RBDPersistentVolumeSourceDie{}).DieFeed(corev1.RBDPersistentVolumeSource{})
View Source
var RBDVolumeSourceBlank = (&RBDVolumeSourceDie{}).DieFeed(corev1.RBDVolumeSource{})
View Source
var ReplicationControllerBlank = (&ReplicationControllerDie{}).DieFeed(corev1.ReplicationController{})
View Source
var ReplicationControllerSpecBlank = (&ReplicationControllerSpecDie{}).DieFeed(corev1.ReplicationControllerSpec{})
View Source
var ReplicationControllerStatusBlank = (&ReplicationControllerStatusDie{}).DieFeed(corev1.ReplicationControllerStatus{})
View Source
var ResourceClaimBlank = (&ResourceClaimDie{}).DieFeed(corev1.ResourceClaim{})
View Source
var ResourceFieldSelectorBlank = (&ResourceFieldSelectorDie{}).DieFeed(corev1.ResourceFieldSelector{})
View Source
var ResourceQuotaBlank = (&ResourceQuotaDie{}).DieFeed(corev1.ResourceQuota{})
View Source
var ResourceQuotaSpecBlank = (&ResourceQuotaSpecDie{}).DieFeed(corev1.ResourceQuotaSpec{})
View Source
var ResourceQuotaStatusBlank = (&ResourceQuotaStatusDie{}).DieFeed(corev1.ResourceQuotaStatus{})
View Source
var ResourceRequirementsBlank = (&ResourceRequirementsDie{}).DieFeed(corev1.ResourceRequirements{})
View Source
var SELinuxOptionsBlank = (&SELinuxOptionsDie{}).DieFeed(corev1.SELinuxOptions{})
View Source
var ScaleIOPersistentVolumeSourceBlank = (&ScaleIOPersistentVolumeSourceDie{}).DieFeed(corev1.ScaleIOPersistentVolumeSource{})
View Source
var ScaleIOVolumeSourceBlank = (&ScaleIOVolumeSourceDie{}).DieFeed(corev1.ScaleIOVolumeSource{})
View Source
var ScopeSelectorBlank = (&ScopeSelectorDie{}).DieFeed(corev1.ScopeSelector{})
View Source
var ScopedResourceSelectorRequirementBlank = (&ScopedResourceSelectorRequirementDie{}).DieFeed(corev1.ScopedResourceSelectorRequirement{})
View Source
var SeccompProfileBlank = (&SeccompProfileDie{}).DieFeed(corev1.SeccompProfile{})
View Source
var SecretBlank = (&SecretDie{}).DieFeed(corev1.Secret{})
View Source
var SecretEnvSourceBlank = (&SecretEnvSourceDie{}).DieFeed(corev1.SecretEnvSource{})
View Source
var SecretKeySelectorBlank = (&SecretKeySelectorDie{}).DieFeed(corev1.SecretKeySelector{})
View Source
var SecretProjectionBlank = (&SecretProjectionDie{}).DieFeed(corev1.SecretProjection{})
View Source
var SecretReferenceBlank = (&SecretReferenceDie{}).DieFeed(corev1.SecretReference{})
View Source
var SecretVolumeSourceBlank = (&SecretVolumeSourceDie{}).DieFeed(corev1.SecretVolumeSource{})
View Source
var SecurityContextBlank = (&SecurityContextDie{}).DieFeed(corev1.SecurityContext{})
View Source
var ServiceAccountBlank = (&ServiceAccountDie{}).DieFeed(corev1.ServiceAccount{})
View Source
var ServiceAccountTokenProjectionBlank = (&ServiceAccountTokenProjectionDie{}).DieFeed(corev1.ServiceAccountTokenProjection{})
View Source
var ServiceBlank = (&ServiceDie{}).DieFeed(corev1.Service{})
View Source
var ServicePortBlank = (&ServicePortDie{}).DieFeed(corev1.ServicePort{})
View Source
var ServiceSpecBlank = (&ServiceSpecDie{}).DieFeed(corev1.ServiceSpec{})
View Source
var ServiceStatusBlank = (&ServiceStatusDie{}).DieFeed(corev1.ServiceStatus{})
View Source
var SessionAffinityConfigBlank = (&SessionAffinityConfigDie{}).DieFeed(corev1.SessionAffinityConfig{})
View Source
var SleepActionBlank = (&SleepActionDie{}).DieFeed(corev1.SleepAction{})
View Source
var StorageOSPersistentVolumeSourceBlank = (&StorageOSPersistentVolumeSourceDie{}).DieFeed(corev1.StorageOSPersistentVolumeSource{})
View Source
var StorageOSVolumeSourceBlank = (&StorageOSVolumeSourceDie{}).DieFeed(corev1.StorageOSVolumeSource{})
View Source
var SysctlBlank = (&SysctlDie{}).DieFeed(corev1.Sysctl{})
View Source
var TCPSocketActionBlank = (&TCPSocketActionDie{}).DieFeed(corev1.TCPSocketAction{})
View Source
var TaintBlank = (&TaintDie{}).DieFeed(corev1.Taint{})
View Source
var TolerationBlank = (&TolerationDie{}).DieFeed(corev1.Toleration{})
View Source
var TopologySelectorLabelRequirementBlank = (&TopologySelectorLabelRequirementDie{}).DieFeed(corev1.TopologySelectorLabelRequirement{})
View Source
var TopologySelectorTermBlank = (&TopologySelectorTermDie{}).DieFeed(corev1.TopologySelectorTerm{})
View Source
var TopologySpreadConstraintBlank = (&TopologySpreadConstraintDie{}).DieFeed(corev1.TopologySpreadConstraint{})
View Source
var TypedLocalObjectReferenceBlank = (&TypedLocalObjectReferenceDie{}).DieFeed(corev1.TypedLocalObjectReference{})
View Source
var TypedObjectReferenceBlank = (&TypedObjectReferenceDie{}).DieFeed(corev1.TypedObjectReference{})
View Source
var VolumeBlank = (&VolumeDie{}).DieFeed(corev1.Volume{})
View Source
var VolumeDeviceBlank = (&VolumeDeviceDie{}).DieFeed(corev1.VolumeDevice{})
View Source
var VolumeMountBlank = (&VolumeMountDie{}).DieFeed(corev1.VolumeMount{})
View Source
var VolumeMountStatusBlank = (&VolumeMountStatusDie{}).DieFeed(corev1.VolumeMountStatus{})
View Source
var VolumeNodeAffinityBlank = (&VolumeNodeAffinityDie{}).DieFeed(corev1.VolumeNodeAffinity{})
View Source
var VolumeProjectionBlank = (&VolumeProjectionDie{}).DieFeed(corev1.VolumeProjection{})
View Source
var VolumeResourceRequirementsBlank = (&VolumeResourceRequirementsDie{}).DieFeed(corev1.VolumeResourceRequirements{})
View Source
var VsphereVirtualDiskVolumeSourceBlank = (&VsphereVirtualDiskVolumeSourceDie{}).DieFeed(corev1.VsphereVirtualDiskVolumeSource{})
View Source
var WindowsSecurityContextOptionsBlank = (&WindowsSecurityContextOptionsDie{}).DieFeed(corev1.WindowsSecurityContextOptions{})

Functions

This section is empty.

Types

type AWSElasticBlockStoreVolumeSourceDie

type AWSElasticBlockStoreVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*AWSElasticBlockStoreVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*AWSElasticBlockStoreVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*AWSElasticBlockStoreVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseJSON

func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseRawExtension

func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML

func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*AWSElasticBlockStoreVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*AWSElasticBlockStoreVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*AWSElasticBlockStoreVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*AWSElasticBlockStoreVolumeSourceDie) FSType

fsType is the 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

func (*AWSElasticBlockStoreVolumeSourceDie) Partition

partition is 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).

func (*AWSElasticBlockStoreVolumeSourceDie) ReadOnly

readOnly value true will force the readOnly setting in VolumeMounts.

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

func (*AWSElasticBlockStoreVolumeSourceDie) VolumeID

volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

type AppArmorProfileDie added in v0.12.0

type AppArmorProfileDie struct {
	// contains filtered or unexported fields
}

func (*AppArmorProfileDie) DeepCopy added in v0.12.0

func (d *AppArmorProfileDie) DeepCopy() *AppArmorProfileDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*AppArmorProfileDie) DieFeed added in v0.12.0

DieFeed returns a new die with the provided resource.

func (*AppArmorProfileDie) DieFeedJSON added in v0.12.0

func (d *AppArmorProfileDie) DieFeedJSON(j []byte) *AppArmorProfileDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*AppArmorProfileDie) DieFeedPtr added in v0.12.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*AppArmorProfileDie) DieFeedRawExtension added in v0.12.0

func (d *AppArmorProfileDie) DieFeedRawExtension(raw runtime.RawExtension) *AppArmorProfileDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AppArmorProfileDie) DieFeedYAML added in v0.12.0

func (d *AppArmorProfileDie) DieFeedYAML(y []byte) *AppArmorProfileDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*AppArmorProfileDie) DieFeedYAMLFile added in v0.12.0

func (d *AppArmorProfileDie) DieFeedYAMLFile(name string) *AppArmorProfileDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*AppArmorProfileDie) DieImmutable added in v0.12.0

func (d *AppArmorProfileDie) DieImmutable(immutable bool) *AppArmorProfileDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*AppArmorProfileDie) DieRelease added in v0.12.0

func (d *AppArmorProfileDie) DieRelease() corev1.AppArmorProfile

DieRelease returns the resource managed by the die.

func (*AppArmorProfileDie) DieReleaseJSON added in v0.12.0

func (d *AppArmorProfileDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*AppArmorProfileDie) DieReleasePtr added in v0.12.0

func (d *AppArmorProfileDie) DieReleasePtr() *corev1.AppArmorProfile

DieReleasePtr returns a pointer to the resource managed by the die.

func (*AppArmorProfileDie) DieReleaseRawExtension added in v0.12.0

func (d *AppArmorProfileDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AppArmorProfileDie) DieReleaseYAML added in v0.12.0

func (d *AppArmorProfileDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*AppArmorProfileDie) DieStamp added in v0.12.0

func (d *AppArmorProfileDie) DieStamp(fn func(r *corev1.AppArmorProfile)) *AppArmorProfileDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*AppArmorProfileDie) DieStampAt added in v0.12.0

func (d *AppArmorProfileDie) DieStampAt(jp string, fn interface{}) *AppArmorProfileDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*AppArmorProfileDie) DieWith added in v0.12.0

func (d *AppArmorProfileDie) DieWith(fns ...func(d *AppArmorProfileDie)) *AppArmorProfileDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*AppArmorProfileDie) LocalhostProfile added in v0.12.0

func (d *AppArmorProfileDie) LocalhostProfile(v *string) *AppArmorProfileDie

localhostProfile indicates a profile loaded on the node that should be used.

The profile must be preconfigured on the node to work.

Must match the loaded name of the profile.

Must be set if and only if type is "Localhost".

func (*AppArmorProfileDie) Type added in v0.12.0

type indicates which kind of AppArmor profile will be applied.

Valid options are:

Localhost - a profile pre-loaded on the node.

RuntimeDefault - the container runtime's default profile.

Unconfined - no AppArmor enforcement.

type AttachedVolumeDie

type AttachedVolumeDie struct {
	// contains filtered or unexported fields
}

func (*AttachedVolumeDie) DeepCopy

func (d *AttachedVolumeDie) DeepCopy() *AttachedVolumeDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*AttachedVolumeDie) DevicePath

func (d *AttachedVolumeDie) DevicePath(v string) *AttachedVolumeDie

DevicePath represents the device path where the volume should be available

func (*AttachedVolumeDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*AttachedVolumeDie) DieFeedJSON

func (d *AttachedVolumeDie) DieFeedJSON(j []byte) *AttachedVolumeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*AttachedVolumeDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*AttachedVolumeDie) DieFeedRawExtension

func (d *AttachedVolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *AttachedVolumeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AttachedVolumeDie) DieFeedYAML

func (d *AttachedVolumeDie) DieFeedYAML(y []byte) *AttachedVolumeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*AttachedVolumeDie) DieFeedYAMLFile

func (d *AttachedVolumeDie) DieFeedYAMLFile(name string) *AttachedVolumeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*AttachedVolumeDie) DieImmutable

func (d *AttachedVolumeDie) DieImmutable(immutable bool) *AttachedVolumeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*AttachedVolumeDie) DieRelease

func (d *AttachedVolumeDie) DieRelease() corev1.AttachedVolume

DieRelease returns the resource managed by the die.

func (*AttachedVolumeDie) DieReleaseJSON

func (d *AttachedVolumeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*AttachedVolumeDie) DieReleasePtr

func (d *AttachedVolumeDie) DieReleasePtr() *corev1.AttachedVolume

DieReleasePtr returns a pointer to the resource managed by the die.

func (*AttachedVolumeDie) DieReleaseRawExtension

func (d *AttachedVolumeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AttachedVolumeDie) DieReleaseYAML

func (d *AttachedVolumeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*AttachedVolumeDie) DieStamp

func (d *AttachedVolumeDie) DieStamp(fn func(r *corev1.AttachedVolume)) *AttachedVolumeDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*AttachedVolumeDie) DieStampAt

func (d *AttachedVolumeDie) DieStampAt(jp string, fn interface{}) *AttachedVolumeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*AttachedVolumeDie) DieWith

func (d *AttachedVolumeDie) DieWith(fns ...func(d *AttachedVolumeDie)) *AttachedVolumeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*AttachedVolumeDie) Name

Name of the attached volume

type AzureDiskVolumeSourceDie

type AzureDiskVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*AzureDiskVolumeSourceDie) CachingMode

cachingMode is the Host Caching mode: None, Read Only, Read Write.

func (*AzureDiskVolumeSourceDie) DataDiskURI

diskURI is the URI of data disk in the blob storage

func (*AzureDiskVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*AzureDiskVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*AzureDiskVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*AzureDiskVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*AzureDiskVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AzureDiskVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*AzureDiskVolumeSourceDie) DieFeedYAMLFile

func (d *AzureDiskVolumeSourceDie) DieFeedYAMLFile(name string) *AzureDiskVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*AzureDiskVolumeSourceDie) DieImmutable

func (d *AzureDiskVolumeSourceDie) DieImmutable(immutable bool) *AzureDiskVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*AzureDiskVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*AzureDiskVolumeSourceDie) DieReleaseJSON

func (d *AzureDiskVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*AzureDiskVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*AzureDiskVolumeSourceDie) DieReleaseRawExtension

func (d *AzureDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AzureDiskVolumeSourceDie) DieReleaseYAML

func (d *AzureDiskVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*AzureDiskVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*AzureDiskVolumeSourceDie) DieStampAt

func (d *AzureDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureDiskVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*AzureDiskVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*AzureDiskVolumeSourceDie) DiskName

diskName is the Name of the data disk in the blob storage

func (*AzureDiskVolumeSourceDie) FSType

fsType is 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.

func (*AzureDiskVolumeSourceDie) Kind

kind expected values are 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

func (*AzureDiskVolumeSourceDie) ReadOnly

readOnly Defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

type AzureFilePersistentVolumeSourceDie

type AzureFilePersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*AzureFilePersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*AzureFilePersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*AzureFilePersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*AzureFilePersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*AzureFilePersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*AzureFilePersistentVolumeSourceDie) DieReleaseJSON

func (d *AzureFilePersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*AzureFilePersistentVolumeSourceDie) DieReleaseRawExtension

func (d *AzureFilePersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieReleaseYAML

func (d *AzureFilePersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*AzureFilePersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*AzureFilePersistentVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*AzureFilePersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*AzureFilePersistentVolumeSourceDie) ReadOnly

readOnly defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*AzureFilePersistentVolumeSourceDie) SecretName

secretName is the name of secret that contains Azure Storage Account Name and Key

func (*AzureFilePersistentVolumeSourceDie) SecretNamespace

secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key

default is the same as the Pod

func (*AzureFilePersistentVolumeSourceDie) ShareName

shareName is the azure Share Name

type AzureFileVolumeSourceDie

type AzureFileVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*AzureFileVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*AzureFileVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*AzureFileVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*AzureFileVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*AzureFileVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AzureFileVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*AzureFileVolumeSourceDie) DieFeedYAMLFile

func (d *AzureFileVolumeSourceDie) DieFeedYAMLFile(name string) *AzureFileVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*AzureFileVolumeSourceDie) DieImmutable

func (d *AzureFileVolumeSourceDie) DieImmutable(immutable bool) *AzureFileVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*AzureFileVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*AzureFileVolumeSourceDie) DieReleaseJSON

func (d *AzureFileVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*AzureFileVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*AzureFileVolumeSourceDie) DieReleaseRawExtension

func (d *AzureFileVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*AzureFileVolumeSourceDie) DieReleaseYAML

func (d *AzureFileVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*AzureFileVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*AzureFileVolumeSourceDie) DieStampAt

func (d *AzureFileVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureFileVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*AzureFileVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*AzureFileVolumeSourceDie) ReadOnly

readOnly defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*AzureFileVolumeSourceDie) SecretName

secretName is the name of secret that contains Azure Storage Account Name and Key

func (*AzureFileVolumeSourceDie) ShareName

shareName is the azure share Name

type BindingDie

type BindingDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*BindingDie) APIVersion

func (d *BindingDie) APIVersion(v string) *BindingDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*BindingDie) DeepCopy

func (d *BindingDie) DeepCopy() *BindingDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*BindingDie) DeepCopyObject

func (d *BindingDie) DeepCopyObject() runtime.Object

func (*BindingDie) DieFeed

func (d *BindingDie) DieFeed(r corev1.Binding) *BindingDie

DieFeed returns a new die with the provided resource.

func (*BindingDie) DieFeedJSON

func (d *BindingDie) DieFeedJSON(j []byte) *BindingDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*BindingDie) DieFeedPtr

func (d *BindingDie) DieFeedPtr(r *corev1.Binding) *BindingDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*BindingDie) DieFeedRawExtension

func (d *BindingDie) DieFeedRawExtension(raw runtime.RawExtension) *BindingDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*BindingDie) DieFeedYAML

func (d *BindingDie) DieFeedYAML(y []byte) *BindingDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*BindingDie) DieFeedYAMLFile

func (d *BindingDie) DieFeedYAMLFile(name string) *BindingDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*BindingDie) DieImmutable

func (d *BindingDie) DieImmutable(immutable bool) *BindingDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*BindingDie) DieRelease

func (d *BindingDie) DieRelease() corev1.Binding

DieRelease returns the resource managed by the die.

func (*BindingDie) DieReleaseJSON

func (d *BindingDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*BindingDie) DieReleasePtr

func (d *BindingDie) DieReleasePtr() *corev1.Binding

DieReleasePtr returns a pointer to the resource managed by the die.

func (*BindingDie) DieReleaseRawExtension

func (d *BindingDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*BindingDie) DieReleaseUnstructured

func (d *BindingDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*BindingDie) DieReleaseYAML

func (d *BindingDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*BindingDie) DieStamp

func (d *BindingDie) DieStamp(fn func(r *corev1.Binding)) *BindingDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*BindingDie) DieStampAt

func (d *BindingDie) DieStampAt(jp string, fn interface{}) *BindingDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*BindingDie) DieWith

func (d *BindingDie) DieWith(fns ...func(d *BindingDie)) *BindingDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*BindingDie) GetObjectKind

func (d *BindingDie) GetObjectKind() schema.ObjectKind

func (*BindingDie) Kind

func (d *BindingDie) Kind(v string) *BindingDie

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

func (*BindingDie) MarshalJSON

func (d *BindingDie) MarshalJSON() ([]byte, error)

func (*BindingDie) MetadataDie

func (d *BindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *BindingDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*BindingDie) Target

The target object that you want to bind to the standard object.

func (*BindingDie) TargetDie

func (d *BindingDie) TargetDie(fn func(d *ObjectReferenceDie)) *BindingDie

func (*BindingDie) UnmarshalJSON

func (d *BindingDie) UnmarshalJSON(b []byte) error

type CSIPersistentVolumeSourceDie

type CSIPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*CSIPersistentVolumeSourceDie) AddVolumeAttributes

func (d *CSIPersistentVolumeSourceDie) AddVolumeAttributes(key, value string) *CSIPersistentVolumeSourceDie

func (*CSIPersistentVolumeSourceDie) ControllerExpandSecretRef

controllerExpandSecretRef is a reference to the secret object containing

sensitive information to pass to the CSI driver to complete the CSI

ControllerExpandVolume call.

This field is optional, and may be empty if no secret is required. If the

secret object contains more than one secret, all secrets are passed.

func (*CSIPersistentVolumeSourceDie) ControllerExpandSecretRefDie

func (d *CSIPersistentVolumeSourceDie) ControllerExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie

func (*CSIPersistentVolumeSourceDie) ControllerPublishSecretRef

controllerPublishSecretRef is a reference to the secret object containing

sensitive information to pass to the CSI driver to complete the CSI

ControllerPublishVolume and ControllerUnpublishVolume calls.

This field is optional, and may be empty if no secret is required. If the

secret object contains more than one secret, all secrets are passed.

func (*CSIPersistentVolumeSourceDie) ControllerPublishSecretRefDie

func (d *CSIPersistentVolumeSourceDie) ControllerPublishSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie

func (*CSIPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CSIPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CSIPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CSIPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CSIPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CSIPersistentVolumeSourceDie) DieReleaseJSON

func (d *CSIPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CSIPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *CSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieReleaseYAML

func (d *CSIPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CSIPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CSIPersistentVolumeSourceDie) DieStampAt

func (d *CSIPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CSIPersistentVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CSIPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CSIPersistentVolumeSourceDie) Driver

driver is the name of the driver to use for this volume.

Required.

func (*CSIPersistentVolumeSourceDie) FSType

fsType to mount. Must be a filesystem type supported by the host operating system.

Ex. "ext4", "xfs", "ntfs".

func (*CSIPersistentVolumeSourceDie) NodeExpandSecretRef

nodeExpandSecretRef is a reference to the secret object containing

sensitive information to pass to the CSI driver to complete the CSI

NodeExpandVolume call.

This field is optional, may be omitted if no secret is required. If the

secret object contains more than one secret, all secrets are passed.

func (*CSIPersistentVolumeSourceDie) NodeExpandSecretRefDie

func (d *CSIPersistentVolumeSourceDie) NodeExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie

func (*CSIPersistentVolumeSourceDie) NodePublishSecretRef

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 secrets are passed.

func (*CSIPersistentVolumeSourceDie) NodePublishSecretRefDie

func (d *CSIPersistentVolumeSourceDie) NodePublishSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie

func (*CSIPersistentVolumeSourceDie) NodeStageSecretRef

nodeStageSecretRef is a reference to the secret object containing sensitive

information to pass to the CSI driver to complete the CSI NodeStageVolume

and NodeStageVolume and NodeUnstageVolume calls.

This field is optional, and may be empty if no secret is required. If the

secret object contains more than one secret, all secrets are passed.

func (*CSIPersistentVolumeSourceDie) NodeStageSecretRefDie

func (d *CSIPersistentVolumeSourceDie) NodeStageSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie

func (*CSIPersistentVolumeSourceDie) ReadOnly

readOnly value to pass to ControllerPublishVolumeRequest.

Defaults to false (read/write).

func (*CSIPersistentVolumeSourceDie) VolumeAttributes

volumeAttributes of the volume to publish.

func (*CSIPersistentVolumeSourceDie) VolumeHandle

volumeHandle is the unique volume name returned by the CSI volume

plugin’s CreateVolume to refer to the volume on all subsequent calls.

Required.

type CSIVolumeSourceDie

type CSIVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*CSIVolumeSourceDie) DeepCopy

func (d *CSIVolumeSourceDie) DeepCopy() *CSIVolumeSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CSIVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CSIVolumeSourceDie) DieFeedJSON

func (d *CSIVolumeSourceDie) DieFeedJSON(j []byte) *CSIVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CSIVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CSIVolumeSourceDie) DieFeedRawExtension

func (d *CSIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CSIVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CSIVolumeSourceDie) DieFeedYAML

func (d *CSIVolumeSourceDie) DieFeedYAML(y []byte) *CSIVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CSIVolumeSourceDie) DieFeedYAMLFile

func (d *CSIVolumeSourceDie) DieFeedYAMLFile(name string) *CSIVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CSIVolumeSourceDie) DieImmutable

func (d *CSIVolumeSourceDie) DieImmutable(immutable bool) *CSIVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CSIVolumeSourceDie) DieRelease

func (d *CSIVolumeSourceDie) DieRelease() corev1.CSIVolumeSource

DieRelease returns the resource managed by the die.

func (*CSIVolumeSourceDie) DieReleaseJSON

func (d *CSIVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CSIVolumeSourceDie) DieReleasePtr

func (d *CSIVolumeSourceDie) DieReleasePtr() *corev1.CSIVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CSIVolumeSourceDie) DieReleaseRawExtension

func (d *CSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CSIVolumeSourceDie) DieReleaseYAML

func (d *CSIVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CSIVolumeSourceDie) DieStamp

func (d *CSIVolumeSourceDie) DieStamp(fn func(r *corev1.CSIVolumeSource)) *CSIVolumeSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CSIVolumeSourceDie) DieStampAt

func (d *CSIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CSIVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CSIVolumeSourceDie) DieWith

func (d *CSIVolumeSourceDie) DieWith(fns ...func(d *CSIVolumeSourceDie)) *CSIVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CSIVolumeSourceDie) Driver

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.

func (*CSIVolumeSourceDie) FSType

fsType 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.

func (*CSIVolumeSourceDie) NodePublishSecretRef

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 (*CSIVolumeSourceDie) NodePublishSecretRefDie

func (d *CSIVolumeSourceDie) NodePublishSecretRefDie(fn func(d *LocalObjectReferenceDie)) *CSIVolumeSourceDie

func (*CSIVolumeSourceDie) ReadOnly

func (d *CSIVolumeSourceDie) ReadOnly(v *bool) *CSIVolumeSourceDie

readOnly specifies a read-only configuration for the volume.

Defaults to false (read/write).

func (*CSIVolumeSourceDie) VolumeAttribute

func (d *CSIVolumeSourceDie) VolumeAttribute(key, value string) *CSIVolumeSourceDie

func (*CSIVolumeSourceDie) VolumeAttributes

func (d *CSIVolumeSourceDie) VolumeAttributes(v map[string]string) *CSIVolumeSourceDie

volumeAttributes stores driver-specific properties that are passed to the CSI

driver. Consult your driver's documentation for supported values.

type CapabilitiesDie

type CapabilitiesDie struct {
	// contains filtered or unexported fields
}

func (*CapabilitiesDie) Add

Added capabilities

func (*CapabilitiesDie) DeepCopy

func (d *CapabilitiesDie) DeepCopy() *CapabilitiesDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CapabilitiesDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CapabilitiesDie) DieFeedJSON

func (d *CapabilitiesDie) DieFeedJSON(j []byte) *CapabilitiesDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CapabilitiesDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CapabilitiesDie) DieFeedRawExtension

func (d *CapabilitiesDie) DieFeedRawExtension(raw runtime.RawExtension) *CapabilitiesDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CapabilitiesDie) DieFeedYAML

func (d *CapabilitiesDie) DieFeedYAML(y []byte) *CapabilitiesDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CapabilitiesDie) DieFeedYAMLFile

func (d *CapabilitiesDie) DieFeedYAMLFile(name string) *CapabilitiesDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CapabilitiesDie) DieImmutable

func (d *CapabilitiesDie) DieImmutable(immutable bool) *CapabilitiesDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CapabilitiesDie) DieRelease

func (d *CapabilitiesDie) DieRelease() corev1.Capabilities

DieRelease returns the resource managed by the die.

func (*CapabilitiesDie) DieReleaseJSON

func (d *CapabilitiesDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CapabilitiesDie) DieReleasePtr

func (d *CapabilitiesDie) DieReleasePtr() *corev1.Capabilities

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CapabilitiesDie) DieReleaseRawExtension

func (d *CapabilitiesDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CapabilitiesDie) DieReleaseYAML

func (d *CapabilitiesDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CapabilitiesDie) DieStamp

func (d *CapabilitiesDie) DieStamp(fn func(r *corev1.Capabilities)) *CapabilitiesDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CapabilitiesDie) DieStampAt

func (d *CapabilitiesDie) DieStampAt(jp string, fn interface{}) *CapabilitiesDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CapabilitiesDie) DieWith

func (d *CapabilitiesDie) DieWith(fns ...func(d *CapabilitiesDie)) *CapabilitiesDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CapabilitiesDie) Drop

Removed capabilities

type CephFSPersistentVolumeSourceDie

type CephFSPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*CephFSPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CephFSPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CephFSPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CephFSPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CephFSPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CephFSPersistentVolumeSourceDie) DieReleaseJSON

func (d *CephFSPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CephFSPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *CephFSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieReleaseYAML

func (d *CephFSPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CephFSPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CephFSPersistentVolumeSourceDie) DieStampAt

func (d *CephFSPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CephFSPersistentVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CephFSPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CephFSPersistentVolumeSourceDie) Monitors

monitors is Required: Monitors is a collection of Ceph monitors

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

func (*CephFSPersistentVolumeSourceDie) Path

path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /

func (*CephFSPersistentVolumeSourceDie) ReadOnly

readOnly is 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

func (*CephFSPersistentVolumeSourceDie) SecretFile

secretFile is 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

func (*CephFSPersistentVolumeSourceDie) SecretRef

secretRef is 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 (*CephFSPersistentVolumeSourceDie) SecretRefDie

func (*CephFSPersistentVolumeSourceDie) User

user is Optional: User is the rados user name, default is admin

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

type CephFSVolumeSourceDie

type CephFSVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*CephFSVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CephFSVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CephFSVolumeSourceDie) DieFeedJSON

func (d *CephFSVolumeSourceDie) DieFeedJSON(j []byte) *CephFSVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CephFSVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CephFSVolumeSourceDie) DieFeedRawExtension

func (d *CephFSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CephFSVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CephFSVolumeSourceDie) DieFeedYAML

func (d *CephFSVolumeSourceDie) DieFeedYAML(y []byte) *CephFSVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CephFSVolumeSourceDie) DieFeedYAMLFile

func (d *CephFSVolumeSourceDie) DieFeedYAMLFile(name string) *CephFSVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CephFSVolumeSourceDie) DieImmutable

func (d *CephFSVolumeSourceDie) DieImmutable(immutable bool) *CephFSVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CephFSVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CephFSVolumeSourceDie) DieReleaseJSON

func (d *CephFSVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CephFSVolumeSourceDie) DieReleasePtr

func (d *CephFSVolumeSourceDie) DieReleasePtr() *corev1.CephFSVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CephFSVolumeSourceDie) DieReleaseRawExtension

func (d *CephFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CephFSVolumeSourceDie) DieReleaseYAML

func (d *CephFSVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CephFSVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CephFSVolumeSourceDie) DieStampAt

func (d *CephFSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CephFSVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CephFSVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CephFSVolumeSourceDie) Monitors

monitors is Required: Monitors is a collection of Ceph monitors

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

func (*CephFSVolumeSourceDie) Path

path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /

func (*CephFSVolumeSourceDie) ReadOnly

readOnly is 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

func (*CephFSVolumeSourceDie) SecretFile

secretFile is 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

func (*CephFSVolumeSourceDie) SecretRef

secretRef is 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 (*CephFSVolumeSourceDie) SecretRefDie

func (*CephFSVolumeSourceDie) User

user is optional: User is the rados user name, default is admin

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

type CinderPersistentVolumeSourceDie

type CinderPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*CinderPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CinderPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CinderPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CinderPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CinderPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CinderPersistentVolumeSourceDie) DieReleaseJSON

func (d *CinderPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CinderPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *CinderPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieReleaseYAML

func (d *CinderPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CinderPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CinderPersistentVolumeSourceDie) DieStampAt

func (d *CinderPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CinderPersistentVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CinderPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CinderPersistentVolumeSourceDie) FSType

fsType 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

func (*CinderPersistentVolumeSourceDie) ReadOnly

readOnly is 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

func (*CinderPersistentVolumeSourceDie) SecretRef

secretRef is Optional: points to a secret object containing parameters used to connect

to OpenStack.

func (*CinderPersistentVolumeSourceDie) SecretRefDie

func (*CinderPersistentVolumeSourceDie) VolumeID

volumeID used to identify the volume in cinder.

More info: https://examples.k8s.io/mysql-cinder-pd/README.md

type CinderVolumeSourceDie

type CinderVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*CinderVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CinderVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CinderVolumeSourceDie) DieFeedJSON

func (d *CinderVolumeSourceDie) DieFeedJSON(j []byte) *CinderVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*CinderVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CinderVolumeSourceDie) DieFeedRawExtension

func (d *CinderVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CinderVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CinderVolumeSourceDie) DieFeedYAML

func (d *CinderVolumeSourceDie) DieFeedYAML(y []byte) *CinderVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*CinderVolumeSourceDie) DieFeedYAMLFile

func (d *CinderVolumeSourceDie) DieFeedYAMLFile(name string) *CinderVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*CinderVolumeSourceDie) DieImmutable

func (d *CinderVolumeSourceDie) DieImmutable(immutable bool) *CinderVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CinderVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CinderVolumeSourceDie) DieReleaseJSON

func (d *CinderVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*CinderVolumeSourceDie) DieReleasePtr

func (d *CinderVolumeSourceDie) DieReleasePtr() *corev1.CinderVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CinderVolumeSourceDie) DieReleaseRawExtension

func (d *CinderVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*CinderVolumeSourceDie) DieReleaseYAML

func (d *CinderVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*CinderVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CinderVolumeSourceDie) DieStampAt

func (d *CinderVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CinderVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*CinderVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*CinderVolumeSourceDie) FSType

fsType is the 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

func (*CinderVolumeSourceDie) ReadOnly

readOnly 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

func (*CinderVolumeSourceDie) SecretRef

secretRef is optional: points to a secret object containing parameters used to connect

to OpenStack.

func (*CinderVolumeSourceDie) SecretRefDie

func (*CinderVolumeSourceDie) VolumeID

volumeID used to identify the volume in cinder.

More info: https://examples.k8s.io/mysql-cinder-pd/README.md

type ClaimSourceDie

type ClaimSourceDie struct {
	// contains filtered or unexported fields
}

func (*ClaimSourceDie) DeepCopy

func (d *ClaimSourceDie) DeepCopy() *ClaimSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ClaimSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClaimSourceDie) DieFeedJSON

func (d *ClaimSourceDie) DieFeedJSON(j []byte) *ClaimSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClaimSourceDie) DieFeedPtr

func (d *ClaimSourceDie) DieFeedPtr(r *corev1.ClaimSource) *ClaimSourceDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClaimSourceDie) DieFeedRawExtension

func (d *ClaimSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ClaimSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClaimSourceDie) DieFeedYAML

func (d *ClaimSourceDie) DieFeedYAML(y []byte) *ClaimSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClaimSourceDie) DieFeedYAMLFile

func (d *ClaimSourceDie) DieFeedYAMLFile(name string) *ClaimSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClaimSourceDie) DieImmutable

func (d *ClaimSourceDie) DieImmutable(immutable bool) *ClaimSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClaimSourceDie) DieRelease

func (d *ClaimSourceDie) DieRelease() corev1.ClaimSource

DieRelease returns the resource managed by the die.

func (*ClaimSourceDie) DieReleaseJSON

func (d *ClaimSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClaimSourceDie) DieReleasePtr

func (d *ClaimSourceDie) DieReleasePtr() *corev1.ClaimSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClaimSourceDie) DieReleaseRawExtension

func (d *ClaimSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClaimSourceDie) DieReleaseYAML

func (d *ClaimSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClaimSourceDie) DieStamp

func (d *ClaimSourceDie) DieStamp(fn func(r *corev1.ClaimSource)) *ClaimSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ClaimSourceDie) DieStampAt

func (d *ClaimSourceDie) DieStampAt(jp string, fn interface{}) *ClaimSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ClaimSourceDie) DieWith

func (d *ClaimSourceDie) DieWith(fns ...func(d *ClaimSourceDie)) *ClaimSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ClaimSourceDie) ResourceClaimName

func (d *ClaimSourceDie) ResourceClaimName(v *string) *ClaimSourceDie

ResourceClaimName is the name of a ResourceClaim object in the same

namespace as this pod.

func (*ClaimSourceDie) ResourceClaimTemplateName

func (d *ClaimSourceDie) ResourceClaimTemplateName(v *string) *ClaimSourceDie

ResourceClaimTemplateName is the name of a ResourceClaimTemplate

object in the same namespace as this pod.

The template will be used to create a new ResourceClaim, which will

be bound to this pod. When this pod is deleted, the ResourceClaim

will also be deleted. The pod name and resource name, along with a

generated component, will be used to form a unique name for the

ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.

This field is immutable and no changes will be made to the

corresponding ResourceClaim by the control plane after creating the

ResourceClaim.

type ClientIPConfigDie

type ClientIPConfigDie struct {
	// contains filtered or unexported fields
}

func (*ClientIPConfigDie) DeepCopy

func (d *ClientIPConfigDie) DeepCopy() *ClientIPConfigDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ClientIPConfigDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClientIPConfigDie) DieFeedJSON

func (d *ClientIPConfigDie) DieFeedJSON(j []byte) *ClientIPConfigDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClientIPConfigDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClientIPConfigDie) DieFeedRawExtension

func (d *ClientIPConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *ClientIPConfigDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClientIPConfigDie) DieFeedYAML

func (d *ClientIPConfigDie) DieFeedYAML(y []byte) *ClientIPConfigDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClientIPConfigDie) DieFeedYAMLFile

func (d *ClientIPConfigDie) DieFeedYAMLFile(name string) *ClientIPConfigDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClientIPConfigDie) DieImmutable

func (d *ClientIPConfigDie) DieImmutable(immutable bool) *ClientIPConfigDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClientIPConfigDie) DieRelease

func (d *ClientIPConfigDie) DieRelease() corev1.ClientIPConfig

DieRelease returns the resource managed by the die.

func (*ClientIPConfigDie) DieReleaseJSON

func (d *ClientIPConfigDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClientIPConfigDie) DieReleasePtr

func (d *ClientIPConfigDie) DieReleasePtr() *corev1.ClientIPConfig

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClientIPConfigDie) DieReleaseRawExtension

func (d *ClientIPConfigDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClientIPConfigDie) DieReleaseYAML

func (d *ClientIPConfigDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClientIPConfigDie) DieStamp

func (d *ClientIPConfigDie) DieStamp(fn func(r *corev1.ClientIPConfig)) *ClientIPConfigDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ClientIPConfigDie) DieStampAt

func (d *ClientIPConfigDie) DieStampAt(jp string, fn interface{}) *ClientIPConfigDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ClientIPConfigDie) DieWith

func (d *ClientIPConfigDie) DieWith(fns ...func(d *ClientIPConfigDie)) *ClientIPConfigDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ClientIPConfigDie) TimeoutSeconds

func (d *ClientIPConfigDie) TimeoutSeconds(v *int32) *ClientIPConfigDie

timeoutSeconds specifies the seconds of ClientIP type session sticky time.

The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".

Default value is 10800(for 3 hours).

type ClusterTrustBundleProjectionDie

type ClusterTrustBundleProjectionDie struct {
	// contains filtered or unexported fields
}

func (*ClusterTrustBundleProjectionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ClusterTrustBundleProjectionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterTrustBundleProjectionDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClusterTrustBundleProjectionDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClusterTrustBundleProjectionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterTrustBundleProjectionDie) DieReleaseJSON

func (d *ClusterTrustBundleProjectionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClusterTrustBundleProjectionDie) DieReleaseRawExtension

func (d *ClusterTrustBundleProjectionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieReleaseYAML

func (d *ClusterTrustBundleProjectionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClusterTrustBundleProjectionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ClusterTrustBundleProjectionDie) DieStampAt

func (d *ClusterTrustBundleProjectionDie) DieStampAt(jp string, fn interface{}) *ClusterTrustBundleProjectionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ClusterTrustBundleProjectionDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ClusterTrustBundleProjectionDie) LabelSelector

Select all ClusterTrustBundles that match this label selector. Only has

effect if signerName is set. Mutually-exclusive with name. If unset,

interpreted as "match nothing". If set but empty, interpreted as "match

everything".

func (*ClusterTrustBundleProjectionDie) LabelSelectorDie

func (*ClusterTrustBundleProjectionDie) Name

Select a single ClusterTrustBundle by object name. Mutually-exclusive

with signerName and labelSelector.

func (*ClusterTrustBundleProjectionDie) Optional

If true, don't block pod startup if the referenced ClusterTrustBundle(s)

aren't available. If using name, then the named ClusterTrustBundle is

allowed not to exist. If using signerName, then the combination of

signerName and labelSelector is allowed to match zero

ClusterTrustBundles.

func (*ClusterTrustBundleProjectionDie) Path

Relative path from the volume root to write the bundle.

func (*ClusterTrustBundleProjectionDie) SignerName

Select all ClusterTrustBundles that match this signer name.

Mutually-exclusive with name. The contents of all selected

ClusterTrustBundles will be unified and deduplicated.

type ComponentStatusDie

type ComponentStatusDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ComponentStatusDie) APIVersion

func (d *ComponentStatusDie) APIVersion(v string) *ComponentStatusDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ComponentStatusDie) Conditions

List of component conditions observed

func (*ComponentStatusDie) ConditionsDie

func (d *ComponentStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ComponentStatusDie

func (*ComponentStatusDie) DeepCopy

func (d *ComponentStatusDie) DeepCopy() *ComponentStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ComponentStatusDie) DeepCopyObject

func (d *ComponentStatusDie) DeepCopyObject() runtime.Object

func (*ComponentStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ComponentStatusDie) DieFeedJSON

func (d *ComponentStatusDie) DieFeedJSON(j []byte) *ComponentStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ComponentStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ComponentStatusDie) DieFeedRawExtension

func (d *ComponentStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ComponentStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ComponentStatusDie) DieFeedYAML

func (d *ComponentStatusDie) DieFeedYAML(y []byte) *ComponentStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ComponentStatusDie) DieFeedYAMLFile

func (d *ComponentStatusDie) DieFeedYAMLFile(name string) *ComponentStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ComponentStatusDie) DieImmutable

func (d *ComponentStatusDie) DieImmutable(immutable bool) *ComponentStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ComponentStatusDie) DieRelease

func (d *ComponentStatusDie) DieRelease() corev1.ComponentStatus

DieRelease returns the resource managed by the die.

func (*ComponentStatusDie) DieReleaseJSON

func (d *ComponentStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ComponentStatusDie) DieReleasePtr

func (d *ComponentStatusDie) DieReleasePtr() *corev1.ComponentStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ComponentStatusDie) DieReleaseRawExtension

func (d *ComponentStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ComponentStatusDie) DieReleaseUnstructured

func (d *ComponentStatusDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ComponentStatusDie) DieReleaseYAML

func (d *ComponentStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ComponentStatusDie) DieStamp

func (d *ComponentStatusDie) DieStamp(fn func(r *corev1.ComponentStatus)) *ComponentStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ComponentStatusDie) DieStampAt

func (d *ComponentStatusDie) DieStampAt(jp string, fn interface{}) *ComponentStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ComponentStatusDie) DieWith

func (d *ComponentStatusDie) DieWith(fns ...func(d *ComponentStatusDie)) *ComponentStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ComponentStatusDie) GetObjectKind

func (d *ComponentStatusDie) GetObjectKind() schema.ObjectKind

func (*ComponentStatusDie) Kind

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

func (*ComponentStatusDie) MarshalJSON

func (d *ComponentStatusDie) MarshalJSON() ([]byte, error)

func (*ComponentStatusDie) MetadataDie

func (d *ComponentStatusDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ComponentStatusDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ComponentStatusDie) UnmarshalJSON

func (d *ComponentStatusDie) UnmarshalJSON(b []byte) error

type ConfigMapDie

type ConfigMapDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ConfigMapDie) APIVersion

func (d *ConfigMapDie) APIVersion(v string) *ConfigMapDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ConfigMapDie) AddBinaryData

func (d *ConfigMapDie) AddBinaryData(key, value string) *ConfigMapDie

func (*ConfigMapDie) AddData

func (d *ConfigMapDie) AddData(key, value string) *ConfigMapDie

func (*ConfigMapDie) BinaryData

func (d *ConfigMapDie) BinaryData(v map[string][]byte) *ConfigMapDie

func (*ConfigMapDie) Data

func (d *ConfigMapDie) Data(v map[string]string) *ConfigMapDie

func (*ConfigMapDie) DeepCopy

func (d *ConfigMapDie) DeepCopy() *ConfigMapDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ConfigMapDie) DeepCopyObject

func (d *ConfigMapDie) DeepCopyObject() runtime.Object

func (*ConfigMapDie) DieFeed

func (d *ConfigMapDie) DieFeed(r corev1.ConfigMap) *ConfigMapDie

DieFeed returns a new die with the provided resource.

func (*ConfigMapDie) DieFeedJSON

func (d *ConfigMapDie) DieFeedJSON(j []byte) *ConfigMapDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ConfigMapDie) DieFeedPtr

func (d *ConfigMapDie) DieFeedPtr(r *corev1.ConfigMap) *ConfigMapDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ConfigMapDie) DieFeedRawExtension

func (d *ConfigMapDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapDie) DieFeedYAML

func (d *ConfigMapDie) DieFeedYAML(y []byte) *ConfigMapDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ConfigMapDie) DieFeedYAMLFile

func (d *ConfigMapDie) DieFeedYAMLFile(name string) *ConfigMapDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ConfigMapDie) DieImmutable

func (d *ConfigMapDie) DieImmutable(immutable bool) *ConfigMapDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ConfigMapDie) DieRelease

func (d *ConfigMapDie) DieRelease() corev1.ConfigMap

DieRelease returns the resource managed by the die.

func (*ConfigMapDie) DieReleaseJSON

func (d *ConfigMapDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ConfigMapDie) DieReleasePtr

func (d *ConfigMapDie) DieReleasePtr() *corev1.ConfigMap

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ConfigMapDie) DieReleaseRawExtension

func (d *ConfigMapDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapDie) DieReleaseUnstructured

func (d *ConfigMapDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ConfigMapDie) DieReleaseYAML

func (d *ConfigMapDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ConfigMapDie) DieStamp

func (d *ConfigMapDie) DieStamp(fn func(r *corev1.ConfigMap)) *ConfigMapDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ConfigMapDie) DieStampAt

func (d *ConfigMapDie) DieStampAt(jp string, fn interface{}) *ConfigMapDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ConfigMapDie) DieWith

func (d *ConfigMapDie) DieWith(fns ...func(d *ConfigMapDie)) *ConfigMapDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ConfigMapDie) GetObjectKind

func (d *ConfigMapDie) GetObjectKind() schema.ObjectKind

func (*ConfigMapDie) Immutable

func (d *ConfigMapDie) Immutable(v *bool) *ConfigMapDie

Immutable, if set to true, ensures that data stored in the ConfigMap cannot

be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

Defaulted to nil.

func (*ConfigMapDie) Kind

func (d *ConfigMapDie) Kind(v string) *ConfigMapDie

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

func (*ConfigMapDie) MarshalJSON

func (d *ConfigMapDie) MarshalJSON() ([]byte, error)

func (*ConfigMapDie) MetadataDie

func (d *ConfigMapDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ConfigMapDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ConfigMapDie) UnmarshalJSON

func (d *ConfigMapDie) UnmarshalJSON(b []byte) error

type ConfigMapEnvSourceDie

type ConfigMapEnvSourceDie struct {
	// contains filtered or unexported fields
}

func (*ConfigMapEnvSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ConfigMapEnvSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ConfigMapEnvSourceDie) DieFeedJSON

func (d *ConfigMapEnvSourceDie) DieFeedJSON(j []byte) *ConfigMapEnvSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ConfigMapEnvSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ConfigMapEnvSourceDie) DieFeedRawExtension

func (d *ConfigMapEnvSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapEnvSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapEnvSourceDie) DieFeedYAML

func (d *ConfigMapEnvSourceDie) DieFeedYAML(y []byte) *ConfigMapEnvSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ConfigMapEnvSourceDie) DieFeedYAMLFile

func (d *ConfigMapEnvSourceDie) DieFeedYAMLFile(name string) *ConfigMapEnvSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ConfigMapEnvSourceDie) DieImmutable

func (d *ConfigMapEnvSourceDie) DieImmutable(immutable bool) *ConfigMapEnvSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ConfigMapEnvSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ConfigMapEnvSourceDie) DieReleaseJSON

func (d *ConfigMapEnvSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ConfigMapEnvSourceDie) DieReleasePtr

func (d *ConfigMapEnvSourceDie) DieReleasePtr() *corev1.ConfigMapEnvSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ConfigMapEnvSourceDie) DieReleaseRawExtension

func (d *ConfigMapEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapEnvSourceDie) DieReleaseYAML

func (d *ConfigMapEnvSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ConfigMapEnvSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ConfigMapEnvSourceDie) DieStampAt

func (d *ConfigMapEnvSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapEnvSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ConfigMapEnvSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ConfigMapEnvSourceDie) LocalObjectReference

The ConfigMap to select from.

func (*ConfigMapEnvSourceDie) Name

func (*ConfigMapEnvSourceDie) Optional

Specify whether the ConfigMap must be defined

type ConfigMapKeySelectorDie

type ConfigMapKeySelectorDie struct {
	// contains filtered or unexported fields
}

func (*ConfigMapKeySelectorDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ConfigMapKeySelectorDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ConfigMapKeySelectorDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ConfigMapKeySelectorDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ConfigMapKeySelectorDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapKeySelectorDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ConfigMapKeySelectorDie) DieFeedYAMLFile

func (d *ConfigMapKeySelectorDie) DieFeedYAMLFile(name string) *ConfigMapKeySelectorDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ConfigMapKeySelectorDie) DieImmutable

func (d *ConfigMapKeySelectorDie) DieImmutable(immutable bool) *ConfigMapKeySelectorDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ConfigMapKeySelectorDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ConfigMapKeySelectorDie) DieReleaseJSON

func (d *ConfigMapKeySelectorDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ConfigMapKeySelectorDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ConfigMapKeySelectorDie) DieReleaseRawExtension

func (d *ConfigMapKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapKeySelectorDie) DieReleaseYAML

func (d *ConfigMapKeySelectorDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ConfigMapKeySelectorDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ConfigMapKeySelectorDie) DieStampAt

func (d *ConfigMapKeySelectorDie) DieStampAt(jp string, fn interface{}) *ConfigMapKeySelectorDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ConfigMapKeySelectorDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ConfigMapKeySelectorDie) Key

The key to select.

func (*ConfigMapKeySelectorDie) LocalObjectReference

The ConfigMap to select from.

func (*ConfigMapKeySelectorDie) Name

func (*ConfigMapKeySelectorDie) Optional

Specify whether the ConfigMap or its key must be defined

type ConfigMapNodeConfigSourceDie

type ConfigMapNodeConfigSourceDie struct {
	// contains filtered or unexported fields
}

func (*ConfigMapNodeConfigSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ConfigMapNodeConfigSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ConfigMapNodeConfigSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ConfigMapNodeConfigSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ConfigMapNodeConfigSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ConfigMapNodeConfigSourceDie) DieReleaseJSON

func (d *ConfigMapNodeConfigSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ConfigMapNodeConfigSourceDie) DieReleaseRawExtension

func (d *ConfigMapNodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieReleaseYAML

func (d *ConfigMapNodeConfigSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ConfigMapNodeConfigSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ConfigMapNodeConfigSourceDie) DieStampAt

func (d *ConfigMapNodeConfigSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapNodeConfigSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ConfigMapNodeConfigSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ConfigMapNodeConfigSourceDie) KubeletConfigKey

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure

This field is required in all cases.

func (*ConfigMapNodeConfigSourceDie) Name

Name is the metadata.name of the referenced ConfigMap.

This field is required in all cases.

func (*ConfigMapNodeConfigSourceDie) Namespace

Namespace is the metadata.namespace of the referenced ConfigMap.

This field is required in all cases.

func (*ConfigMapNodeConfigSourceDie) ResourceVersion

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.

This field is forbidden in Node.Spec, and required in Node.Status.

func (*ConfigMapNodeConfigSourceDie) UID

UID is the metadata.UID of the referenced ConfigMap.

This field is forbidden in Node.Spec, and required in Node.Status.

type ConfigMapProjectionDie

type ConfigMapProjectionDie struct {
	// contains filtered or unexported fields
}

func (*ConfigMapProjectionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ConfigMapProjectionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ConfigMapProjectionDie) DieFeedJSON

func (d *ConfigMapProjectionDie) DieFeedJSON(j []byte) *ConfigMapProjectionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ConfigMapProjectionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ConfigMapProjectionDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapProjectionDie) DieFeedYAML

func (d *ConfigMapProjectionDie) DieFeedYAML(y []byte) *ConfigMapProjectionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ConfigMapProjectionDie) DieFeedYAMLFile

func (d *ConfigMapProjectionDie) DieFeedYAMLFile(name string) *ConfigMapProjectionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ConfigMapProjectionDie) DieImmutable

func (d *ConfigMapProjectionDie) DieImmutable(immutable bool) *ConfigMapProjectionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ConfigMapProjectionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ConfigMapProjectionDie) DieReleaseJSON

func (d *ConfigMapProjectionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ConfigMapProjectionDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ConfigMapProjectionDie) DieReleaseRawExtension

func (d *ConfigMapProjectionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapProjectionDie) DieReleaseYAML

func (d *ConfigMapProjectionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ConfigMapProjectionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ConfigMapProjectionDie) DieStampAt

func (d *ConfigMapProjectionDie) DieStampAt(jp string, fn interface{}) *ConfigMapProjectionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ConfigMapProjectionDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ConfigMapProjectionDie) ItemDie

func (d *ConfigMapProjectionDie) ItemDie(key string, fn func(d *KeyToPathDie)) *ConfigMapProjectionDie

func (*ConfigMapProjectionDie) Items

items 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 '..'.

func (*ConfigMapProjectionDie) LocalObjectReference

func (*ConfigMapProjectionDie) Name

func (*ConfigMapProjectionDie) Optional

optional specify whether the ConfigMap or its keys must be defined

type ConfigMapVolumeSourceDie

type ConfigMapVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*ConfigMapVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ConfigMapVolumeSourceDie) DefaultMode

defaultMode is 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.

func (*ConfigMapVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ConfigMapVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ConfigMapVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ConfigMapVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ConfigMapVolumeSourceDie) DieFeedYAMLFile

func (d *ConfigMapVolumeSourceDie) DieFeedYAMLFile(name string) *ConfigMapVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ConfigMapVolumeSourceDie) DieImmutable

func (d *ConfigMapVolumeSourceDie) DieImmutable(immutable bool) *ConfigMapVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ConfigMapVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ConfigMapVolumeSourceDie) DieReleaseJSON

func (d *ConfigMapVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ConfigMapVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ConfigMapVolumeSourceDie) DieReleaseRawExtension

func (d *ConfigMapVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ConfigMapVolumeSourceDie) DieReleaseYAML

func (d *ConfigMapVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ConfigMapVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ConfigMapVolumeSourceDie) DieStampAt

func (d *ConfigMapVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ConfigMapVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ConfigMapVolumeSourceDie) ItemDie

func (*ConfigMapVolumeSourceDie) Items

items 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 '..'.

func (*ConfigMapVolumeSourceDie) LocalObjectReference

func (*ConfigMapVolumeSourceDie) Name

func (*ConfigMapVolumeSourceDie) Optional

optional specify whether the ConfigMap or its keys must be defined

type ContainerDie

type ContainerDie struct {
	// contains filtered or unexported fields
}

func (*ContainerDie) Args

func (d *ContainerDie) Args(v ...string) *ContainerDie

Arguments to the entrypoint.

The container image's CMD is used if this is not provided.

Variable references $(VAR_NAME) are expanded using the container's environment. 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. Cannot be updated.

More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

func (*ContainerDie) Command

func (d *ContainerDie) Command(v ...string) *ContainerDie

Entrypoint array. Not executed within a shell.

The container image's ENTRYPOINT is used if this is not provided.

Variable references $(VAR_NAME) are expanded using the container's environment. 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. Cannot be updated.

More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

func (*ContainerDie) DeepCopy

func (d *ContainerDie) DeepCopy() *ContainerDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerDie) DieFeed

func (d *ContainerDie) DieFeed(r corev1.Container) *ContainerDie

DieFeed returns a new die with the provided resource.

func (*ContainerDie) DieFeedJSON

func (d *ContainerDie) DieFeedJSON(j []byte) *ContainerDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerDie) DieFeedPtr

func (d *ContainerDie) DieFeedPtr(r *corev1.Container) *ContainerDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerDie) DieFeedRawExtension

func (d *ContainerDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerDie) DieFeedYAML

func (d *ContainerDie) DieFeedYAML(y []byte) *ContainerDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerDie) DieFeedYAMLFile

func (d *ContainerDie) DieFeedYAMLFile(name string) *ContainerDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerDie) DieImmutable

func (d *ContainerDie) DieImmutable(immutable bool) *ContainerDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerDie) DieRelease

func (d *ContainerDie) DieRelease() corev1.Container

DieRelease returns the resource managed by the die.

func (*ContainerDie) DieReleaseJSON

func (d *ContainerDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerDie) DieReleasePtr

func (d *ContainerDie) DieReleasePtr() *corev1.Container

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerDie) DieReleaseRawExtension

func (d *ContainerDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerDie) DieReleaseYAML

func (d *ContainerDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerDie) DieStamp

func (d *ContainerDie) DieStamp(fn func(r *corev1.Container)) *ContainerDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerDie) DieStampAt

func (d *ContainerDie) DieStampAt(jp string, fn interface{}) *ContainerDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerDie) DieWith

func (d *ContainerDie) DieWith(fns ...func(d *ContainerDie)) *ContainerDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerDie) Env

func (d *ContainerDie) Env(v ...corev1.EnvVar) *ContainerDie

List of environment variables to set in the container.

Cannot be updated.

func (*ContainerDie) EnvDie

func (d *ContainerDie) EnvDie(name string, fn func(d *EnvVarDie)) *ContainerDie

func (*ContainerDie) EnvFrom

func (d *ContainerDie) EnvFrom(v ...corev1.EnvFromSource) *ContainerDie

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.

Cannot be updated.

func (*ContainerDie) EnvFromDie

func (d *ContainerDie) EnvFromDie(prefix string, fn func(d *EnvFromSourceDie)) *ContainerDie

func (*ContainerDie) Image

func (d *ContainerDie) Image(v string) *ContainerDie

Container image name.

More info: https://kubernetes.io/docs/concepts/containers/images

This field is optional to allow higher level config management to default or override

container images in workload controllers like Deployments and StatefulSets.

func (*ContainerDie) ImagePullPolicy

func (d *ContainerDie) ImagePullPolicy(v corev1.PullPolicy) *ContainerDie

Image pull policy.

One of Always, Never, IfNotPresent.

Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.

Cannot be updated.

More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

func (*ContainerDie) Lifecycle

func (d *ContainerDie) Lifecycle(v *corev1.Lifecycle) *ContainerDie

Actions that the management system should take in response to container lifecycle events.

Cannot be updated.

func (*ContainerDie) LifecycleDie

func (d *ContainerDie) LifecycleDie(fn func(d *LifecycleDie)) *ContainerDie

func (*ContainerDie) LivenessProbe

func (d *ContainerDie) LivenessProbe(v *corev1.Probe) *ContainerDie

Periodic probe of container liveness.

Container will be restarted if the probe fails.

Cannot be updated.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (*ContainerDie) LivenessProbeDie

func (d *ContainerDie) LivenessProbeDie(fn func(d *ProbeDie)) *ContainerDie

func (*ContainerDie) Name

func (d *ContainerDie) Name(v string) *ContainerDie

Name of the container specified as a DNS_LABEL.

Each container in a pod must have a unique name (DNS_LABEL).

Cannot be updated.

func (*ContainerDie) Ports

List of ports to expose from the container. Not specifying a port here

DOES NOT prevent that port from being exposed. Any port which is

listening on the default "0.0.0.0" address inside a container will be

accessible from the network.

Modifying this array with strategic merge patch may corrupt the data.

For more information See https://github.com/kubernetes/kubernetes/issues/108255.

Cannot be updated.

func (*ContainerDie) PortsDie

func (d *ContainerDie) PortsDie(ports ...*ContainerPortDie) *ContainerDie

func (*ContainerDie) ReadinessProbe

func (d *ContainerDie) ReadinessProbe(v *corev1.Probe) *ContainerDie

Periodic probe of container service readiness.

Container will be removed from service endpoints if the probe fails.

Cannot be updated.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (*ContainerDie) ReadinessProbeDie

func (d *ContainerDie) ReadinessProbeDie(fn func(d *ProbeDie)) *ContainerDie

func (*ContainerDie) ResizePolicy

func (d *ContainerDie) ResizePolicy(v ...corev1.ContainerResizePolicy) *ContainerDie

Resources resize policy for the container.

func (*ContainerDie) ResizePolicyDie

func (d *ContainerDie) ResizePolicyDie(name corev1.ResourceName, fn func(d *ContainerResizePolicyDie)) *ContainerDie

func (*ContainerDie) Resources

Compute Resources required by this container.

Cannot be updated.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

func (*ContainerDie) ResourcesDie

func (d *ContainerDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerDie

func (*ContainerDie) RestartPolicy

RestartPolicy defines the restart behavior of individual containers in a pod.

This field may only be set for init containers, and the only allowed value is "Always".

For non-init containers or when this field is not specified,

the restart behavior is defined by the Pod's restart policy and the container type.

Setting the RestartPolicy as "Always" for the init container will have the following effect:

this init container will be continually restarted on

exit until all regular containers have terminated. Once all regular

containers have completed, all init containers with restartPolicy "Always"

will be shut down. This lifecycle differs from normal init containers and

is often referred to as a "sidecar" container. Although this init

container still starts in the init container sequence, it does not wait

for the container to complete before proceeding to the next init

container. Instead, the next init container starts immediately after this

init container is started, or after any startupProbe has successfully

completed.

func (*ContainerDie) SecurityContext

func (d *ContainerDie) SecurityContext(v *corev1.SecurityContext) *ContainerDie

SecurityContext defines the security options the container should be run with.

If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.

More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

func (*ContainerDie) SecurityContextDie

func (d *ContainerDie) SecurityContextDie(fn func(d *SecurityContextDie)) *ContainerDie

func (*ContainerDie) StartupProbe

func (d *ContainerDie) StartupProbe(v *corev1.Probe) *ContainerDie

StartupProbe indicates that the Pod has successfully initialized.

If specified, no other probes are executed until this completes successfully.

If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.

This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,

when it might take a long time to load data or warm a cache, than during steady-state operation.

This cannot be updated.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (*ContainerDie) StartupProbeDie

func (d *ContainerDie) StartupProbeDie(fn func(d *ProbeDie)) *ContainerDie

func (*ContainerDie) Stdin

func (d *ContainerDie) Stdin(v bool) *ContainerDie

Whether this container should allocate a buffer for stdin in the container runtime. If this

is not set, reads from stdin in the container will always result in EOF.

Default is false.

func (*ContainerDie) StdinOnce

func (d *ContainerDie) StdinOnce(v bool) *ContainerDie

Whether the container runtime should close the stdin channel after it has been opened by

a single attach. When stdin is true the stdin stream will remain open across multiple attach

sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the

first client attaches to stdin, and then remains open and accepts data until the client disconnects,

at which time stdin is closed and remains closed until the container is restarted. If this

flag is false, a container processes that reads from stdin will never receive an EOF.

Default is false

func (*ContainerDie) TTY

func (d *ContainerDie) TTY(v bool) *ContainerDie

Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.

Default is false.

func (*ContainerDie) TerminationMessagePath

func (d *ContainerDie) TerminationMessagePath(v string) *ContainerDie

Optional: Path at which the file to which the container's termination message

will be written is mounted into the container's filesystem.

Message written is intended to be brief final status, such as an assertion failure message.

Will be truncated by the node if greater than 4096 bytes. The total message length across

all containers will be limited to 12kb.

Defaults to /dev/termination-log.

Cannot be updated.

func (*ContainerDie) TerminationMessagePolicy

func (d *ContainerDie) TerminationMessagePolicy(v corev1.TerminationMessagePolicy) *ContainerDie

Indicate how the termination message should be populated. File will use the contents of

terminationMessagePath to populate the container status message on both success and failure.

FallbackToLogsOnError will use the last chunk of container log output if the termination

message file is empty and the container exited with an error.

The log output is limited to 2048 bytes or 80 lines, whichever is smaller.

Defaults to File.

Cannot be updated.

func (*ContainerDie) VolumeDeviceDie

func (d *ContainerDie) VolumeDeviceDie(name string, fn func(d *VolumeDeviceDie)) *ContainerDie

func (*ContainerDie) VolumeDevices

func (d *ContainerDie) VolumeDevices(v ...corev1.VolumeDevice) *ContainerDie

volumeDevices is the list of block devices to be used by the container.

func (*ContainerDie) VolumeMountDie

func (d *ContainerDie) VolumeMountDie(name string, fn func(d *VolumeMountDie)) *ContainerDie

func (*ContainerDie) VolumeMounts

func (d *ContainerDie) VolumeMounts(v ...corev1.VolumeMount) *ContainerDie

Pod volumes to mount into the container's filesystem.

Cannot be updated.

func (*ContainerDie) WorkingDir

func (d *ContainerDie) WorkingDir(v string) *ContainerDie

Container's working directory.

If not specified, the container runtime's default will be used, which

might be configured in the container image.

Cannot be updated.

type ContainerImageDie

type ContainerImageDie struct {
	// contains filtered or unexported fields
}

func (*ContainerImageDie) DeepCopy

func (d *ContainerImageDie) DeepCopy() *ContainerImageDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerImageDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerImageDie) DieFeedJSON

func (d *ContainerImageDie) DieFeedJSON(j []byte) *ContainerImageDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerImageDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerImageDie) DieFeedRawExtension

func (d *ContainerImageDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerImageDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerImageDie) DieFeedYAML

func (d *ContainerImageDie) DieFeedYAML(y []byte) *ContainerImageDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerImageDie) DieFeedYAMLFile

func (d *ContainerImageDie) DieFeedYAMLFile(name string) *ContainerImageDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerImageDie) DieImmutable

func (d *ContainerImageDie) DieImmutable(immutable bool) *ContainerImageDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerImageDie) DieRelease

func (d *ContainerImageDie) DieRelease() corev1.ContainerImage

DieRelease returns the resource managed by the die.

func (*ContainerImageDie) DieReleaseJSON

func (d *ContainerImageDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerImageDie) DieReleasePtr

func (d *ContainerImageDie) DieReleasePtr() *corev1.ContainerImage

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerImageDie) DieReleaseRawExtension

func (d *ContainerImageDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerImageDie) DieReleaseYAML

func (d *ContainerImageDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerImageDie) DieStamp

func (d *ContainerImageDie) DieStamp(fn func(r *corev1.ContainerImage)) *ContainerImageDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerImageDie) DieStampAt

func (d *ContainerImageDie) DieStampAt(jp string, fn interface{}) *ContainerImageDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerImageDie) DieWith

func (d *ContainerImageDie) DieWith(fns ...func(d *ContainerImageDie)) *ContainerImageDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerImageDie) Names

func (d *ContainerImageDie) Names(v ...string) *ContainerImageDie

Names by which this image is known.

e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]

func (*ContainerImageDie) SizeBytes

func (d *ContainerImageDie) SizeBytes(v int64) *ContainerImageDie

The size of the image in bytes.

type ContainerPortDie

type ContainerPortDie struct {
	// contains filtered or unexported fields
}

func (*ContainerPortDie) ContainerPort

func (d *ContainerPortDie) ContainerPort(v int32) *ContainerPortDie

Number of port to expose on the pod's IP address.

This must be a valid port number, 0 < x < 65536.

func (*ContainerPortDie) DeepCopy

func (d *ContainerPortDie) DeepCopy() *ContainerPortDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerPortDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerPortDie) DieFeedJSON

func (d *ContainerPortDie) DieFeedJSON(j []byte) *ContainerPortDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerPortDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerPortDie) DieFeedRawExtension

func (d *ContainerPortDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerPortDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerPortDie) DieFeedYAML

func (d *ContainerPortDie) DieFeedYAML(y []byte) *ContainerPortDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerPortDie) DieFeedYAMLFile

func (d *ContainerPortDie) DieFeedYAMLFile(name string) *ContainerPortDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerPortDie) DieImmutable

func (d *ContainerPortDie) DieImmutable(immutable bool) *ContainerPortDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerPortDie) DieRelease

func (d *ContainerPortDie) DieRelease() corev1.ContainerPort

DieRelease returns the resource managed by the die.

func (*ContainerPortDie) DieReleaseJSON

func (d *ContainerPortDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerPortDie) DieReleasePtr

func (d *ContainerPortDie) DieReleasePtr() *corev1.ContainerPort

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerPortDie) DieReleaseRawExtension

func (d *ContainerPortDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerPortDie) DieReleaseYAML

func (d *ContainerPortDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerPortDie) DieStamp

func (d *ContainerPortDie) DieStamp(fn func(r *corev1.ContainerPort)) *ContainerPortDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerPortDie) DieStampAt

func (d *ContainerPortDie) DieStampAt(jp string, fn interface{}) *ContainerPortDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerPortDie) DieWith

func (d *ContainerPortDie) DieWith(fns ...func(d *ContainerPortDie)) *ContainerPortDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerPortDie) HostIP

What host IP to bind the external port to.

func (*ContainerPortDie) HostPort

func (d *ContainerPortDie) HostPort(v int32) *ContainerPortDie

Number of port to expose on the host.

If specified, this must be a valid port number, 0 < x < 65536.

If HostNetwork is specified, this must match ContainerPort.

Most containers do not need this.

func (*ContainerPortDie) Name

If specified, this must be an IANA_SVC_NAME and unique within the pod. Each

named port in a pod must have a unique name. Name for the port that can be

referred to by services.

func (*ContainerPortDie) Protocol

Protocol for port. Must be UDP, TCP, or SCTP.

Defaults to "TCP".

type ContainerResizePolicyDie

type ContainerResizePolicyDie struct {
	// contains filtered or unexported fields
}

func (*ContainerResizePolicyDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerResizePolicyDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerResizePolicyDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerResizePolicyDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerResizePolicyDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerResizePolicyDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerResizePolicyDie) DieFeedYAMLFile

func (d *ContainerResizePolicyDie) DieFeedYAMLFile(name string) *ContainerResizePolicyDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerResizePolicyDie) DieImmutable

func (d *ContainerResizePolicyDie) DieImmutable(immutable bool) *ContainerResizePolicyDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerResizePolicyDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ContainerResizePolicyDie) DieReleaseJSON

func (d *ContainerResizePolicyDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerResizePolicyDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerResizePolicyDie) DieReleaseRawExtension

func (d *ContainerResizePolicyDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerResizePolicyDie) DieReleaseYAML

func (d *ContainerResizePolicyDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerResizePolicyDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerResizePolicyDie) DieStampAt

func (d *ContainerResizePolicyDie) DieStampAt(jp string, fn interface{}) *ContainerResizePolicyDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerResizePolicyDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerResizePolicyDie) ResourceName

Name of the resource to which this resource resize policy applies.

Supported values: cpu, memory.

func (*ContainerResizePolicyDie) RestartPolicy

Restart policy to apply when specified resource is resized.

If not specified, it defaults to NotRequired.

type ContainerStateDie

type ContainerStateDie struct {
	// contains filtered or unexported fields
}

func (*ContainerStateDie) DeepCopy

func (d *ContainerStateDie) DeepCopy() *ContainerStateDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerStateDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerStateDie) DieFeedJSON

func (d *ContainerStateDie) DieFeedJSON(j []byte) *ContainerStateDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerStateDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerStateDie) DieFeedRawExtension

func (d *ContainerStateDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateDie) DieFeedYAML

func (d *ContainerStateDie) DieFeedYAML(y []byte) *ContainerStateDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerStateDie) DieFeedYAMLFile

func (d *ContainerStateDie) DieFeedYAMLFile(name string) *ContainerStateDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerStateDie) DieImmutable

func (d *ContainerStateDie) DieImmutable(immutable bool) *ContainerStateDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerStateDie) DieRelease

func (d *ContainerStateDie) DieRelease() corev1.ContainerState

DieRelease returns the resource managed by the die.

func (*ContainerStateDie) DieReleaseJSON

func (d *ContainerStateDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerStateDie) DieReleasePtr

func (d *ContainerStateDie) DieReleasePtr() *corev1.ContainerState

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerStateDie) DieReleaseRawExtension

func (d *ContainerStateDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateDie) DieReleaseYAML

func (d *ContainerStateDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerStateDie) DieStamp

func (d *ContainerStateDie) DieStamp(fn func(r *corev1.ContainerState)) *ContainerStateDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerStateDie) DieStampAt

func (d *ContainerStateDie) DieStampAt(jp string, fn interface{}) *ContainerStateDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerStateDie) DieWith

func (d *ContainerStateDie) DieWith(fns ...func(d *ContainerStateDie)) *ContainerStateDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerStateDie) Running

Details about a running container

func (*ContainerStateDie) RunningDie

func (d *ContainerStateDie) RunningDie(fn func(d *ContainerStateRunningDie)) *ContainerStateDie

func (*ContainerStateDie) Terminated

Details about a terminated container

func (*ContainerStateDie) TerminatedDie

func (d *ContainerStateDie) TerminatedDie(fn func(d *ContainerStateTerminatedDie)) *ContainerStateDie

func (*ContainerStateDie) Waiting

Details about a waiting container

func (*ContainerStateDie) WaitingDie

func (d *ContainerStateDie) WaitingDie(fn func(d *ContainerStateWaitingDie)) *ContainerStateDie

type ContainerStateRunningDie

type ContainerStateRunningDie struct {
	// contains filtered or unexported fields
}

func (*ContainerStateRunningDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerStateRunningDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerStateRunningDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerStateRunningDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerStateRunningDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateRunningDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerStateRunningDie) DieFeedYAMLFile

func (d *ContainerStateRunningDie) DieFeedYAMLFile(name string) *ContainerStateRunningDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerStateRunningDie) DieImmutable

func (d *ContainerStateRunningDie) DieImmutable(immutable bool) *ContainerStateRunningDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerStateRunningDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ContainerStateRunningDie) DieReleaseJSON

func (d *ContainerStateRunningDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerStateRunningDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerStateRunningDie) DieReleaseRawExtension

func (d *ContainerStateRunningDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateRunningDie) DieReleaseYAML

func (d *ContainerStateRunningDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerStateRunningDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerStateRunningDie) DieStampAt

func (d *ContainerStateRunningDie) DieStampAt(jp string, fn interface{}) *ContainerStateRunningDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerStateRunningDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerStateRunningDie) StartedAt

Time at which the container was last (re-)started

type ContainerStateTerminatedDie

type ContainerStateTerminatedDie struct {
	// contains filtered or unexported fields
}

func (*ContainerStateTerminatedDie) ContainerID

Container's ID in the format '<type>://<container_id>'

func (*ContainerStateTerminatedDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerStateTerminatedDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerStateTerminatedDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerStateTerminatedDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerStateTerminatedDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateTerminatedDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerStateTerminatedDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerStateTerminatedDie) DieImmutable

func (d *ContainerStateTerminatedDie) DieImmutable(immutable bool) *ContainerStateTerminatedDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerStateTerminatedDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ContainerStateTerminatedDie) DieReleaseJSON

func (d *ContainerStateTerminatedDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerStateTerminatedDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerStateTerminatedDie) DieReleaseRawExtension

func (d *ContainerStateTerminatedDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateTerminatedDie) DieReleaseYAML

func (d *ContainerStateTerminatedDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerStateTerminatedDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerStateTerminatedDie) DieStampAt

func (d *ContainerStateTerminatedDie) DieStampAt(jp string, fn interface{}) *ContainerStateTerminatedDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerStateTerminatedDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerStateTerminatedDie) ExitCode

Exit status from the last termination of the container

func (*ContainerStateTerminatedDie) FinishedAt

Time at which the container last terminated

func (*ContainerStateTerminatedDie) Message

Message regarding the last termination of the container

func (*ContainerStateTerminatedDie) Reason

(brief) reason from the last termination of the container

func (*ContainerStateTerminatedDie) Signal

Signal from the last termination of the container

func (*ContainerStateTerminatedDie) StartedAt

Time at which previous execution of the container started

type ContainerStateWaitingDie

type ContainerStateWaitingDie struct {
	// contains filtered or unexported fields
}

func (*ContainerStateWaitingDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerStateWaitingDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerStateWaitingDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerStateWaitingDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerStateWaitingDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateWaitingDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerStateWaitingDie) DieFeedYAMLFile

func (d *ContainerStateWaitingDie) DieFeedYAMLFile(name string) *ContainerStateWaitingDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerStateWaitingDie) DieImmutable

func (d *ContainerStateWaitingDie) DieImmutable(immutable bool) *ContainerStateWaitingDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerStateWaitingDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ContainerStateWaitingDie) DieReleaseJSON

func (d *ContainerStateWaitingDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerStateWaitingDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerStateWaitingDie) DieReleaseRawExtension

func (d *ContainerStateWaitingDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStateWaitingDie) DieReleaseYAML

func (d *ContainerStateWaitingDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerStateWaitingDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerStateWaitingDie) DieStampAt

func (d *ContainerStateWaitingDie) DieStampAt(jp string, fn interface{}) *ContainerStateWaitingDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerStateWaitingDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerStateWaitingDie) Message

Message regarding why the container is not yet running.

func (*ContainerStateWaitingDie) Reason

(brief) reason the container is not yet running.

type ContainerStatusDie

type ContainerStatusDie struct {
	// contains filtered or unexported fields
}

func (*ContainerStatusDie) AddAllocatedResource

func (d *ContainerStatusDie) AddAllocatedResource(name corev1.ResourceName, quantity resource.Quantity) *ContainerStatusDie

func (*ContainerStatusDie) AddAllocatedResourceString

func (d *ContainerStatusDie) AddAllocatedResourceString(name corev1.ResourceName, quantity string) *ContainerStatusDie

func (*ContainerStatusDie) AllocatedResources

func (d *ContainerStatusDie) AllocatedResources(v corev1.ResourceList) *ContainerStatusDie

AllocatedResources represents the compute resources allocated for this container by the

node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission

and after successfully admitting desired pod resize.

func (*ContainerStatusDie) ContainerID

func (d *ContainerStatusDie) ContainerID(v string) *ContainerStatusDie

ContainerID is the ID of the container in the format '<type>://<container_id>'.

Where type is a container runtime identifier, returned from Version call of CRI API

(for example "containerd").

func (*ContainerStatusDie) DeepCopy

func (d *ContainerStatusDie) DeepCopy() *ContainerStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ContainerStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ContainerStatusDie) DieFeedJSON

func (d *ContainerStatusDie) DieFeedJSON(j []byte) *ContainerStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ContainerStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ContainerStatusDie) DieFeedRawExtension

func (d *ContainerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStatusDie) DieFeedYAML

func (d *ContainerStatusDie) DieFeedYAML(y []byte) *ContainerStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ContainerStatusDie) DieFeedYAMLFile

func (d *ContainerStatusDie) DieFeedYAMLFile(name string) *ContainerStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ContainerStatusDie) DieImmutable

func (d *ContainerStatusDie) DieImmutable(immutable bool) *ContainerStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ContainerStatusDie) DieRelease

func (d *ContainerStatusDie) DieRelease() corev1.ContainerStatus

DieRelease returns the resource managed by the die.

func (*ContainerStatusDie) DieReleaseJSON

func (d *ContainerStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ContainerStatusDie) DieReleasePtr

func (d *ContainerStatusDie) DieReleasePtr() *corev1.ContainerStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ContainerStatusDie) DieReleaseRawExtension

func (d *ContainerStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ContainerStatusDie) DieReleaseYAML

func (d *ContainerStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ContainerStatusDie) DieStamp

func (d *ContainerStatusDie) DieStamp(fn func(r *corev1.ContainerStatus)) *ContainerStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ContainerStatusDie) DieStampAt

func (d *ContainerStatusDie) DieStampAt(jp string, fn interface{}) *ContainerStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ContainerStatusDie) DieWith

func (d *ContainerStatusDie) DieWith(fns ...func(d *ContainerStatusDie)) *ContainerStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ContainerStatusDie) Image

Image is the name of container image that the container is running.

The container image may not match the image used in the PodSpec,

as it may have been resolved by the runtime.

More info: https://kubernetes.io/docs/concepts/containers/images.

func (*ContainerStatusDie) ImageID

ImageID is the image ID of the container's image. The image ID may not

match the image ID of the image used in the PodSpec, as it may have been

resolved by the runtime.

func (*ContainerStatusDie) LastTerminationState

func (d *ContainerStatusDie) LastTerminationState(v corev1.ContainerState) *ContainerStatusDie

LastTerminationState holds the last termination state of the container to

help debug container crashes and restarts. This field is not

populated if the container is still running and RestartCount is 0.

func (*ContainerStatusDie) LastTerminationStateDie

func (d *ContainerStatusDie) LastTerminationStateDie(fn func(d *ContainerStateDie)) *ContainerStatusDie

func (*ContainerStatusDie) Name

Name is a DNS_LABEL representing the unique name of the container.

Each container in a pod must have a unique name across all container types.

Cannot be updated.

func (*ContainerStatusDie) Ready

Ready specifies whether the container is currently passing its readiness check.

The value will change as readiness probes keep executing. If no readiness

probes are specified, this field defaults to true once the container is

fully started (see Started field).

The value is typically used to determine whether a container is ready to

accept traffic.

func (*ContainerStatusDie) Resources

Resources represents the compute resource requests and limits that have been successfully

enacted on the running container after it has been started or has been successfully resized.

func (*ContainerStatusDie) ResourcesDie

func (d *ContainerStatusDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerStatusDie

func (*ContainerStatusDie) RestartCount

func (d *ContainerStatusDie) RestartCount(v int32) *ContainerStatusDie

RestartCount holds the number of times the container has been restarted.

Kubelet makes an effort to always increment the value, but there

are cases when the state may be lost due to node restarts and then the value

may be reset to 0. The value is never negative.

func (*ContainerStatusDie) Started

func (d *ContainerStatusDie) Started(v *bool) *ContainerStatusDie

Started indicates whether the container has finished its postStart lifecycle hook

and passed its startup probe.

Initialized as false, becomes true after startupProbe is considered

successful. Resets to false when the container is restarted, or if kubelet

loses state temporarily. In both cases, startup probes will run again.

Is always true when no startupProbe is defined and container is running and

has passed the postStart lifecycle hook. The null value must be treated the

same as false.

func (*ContainerStatusDie) State

State holds details about the container's current condition.

func (*ContainerStatusDie) StateDie

func (d *ContainerStatusDie) StateDie(fn func(d *ContainerStateDie)) *ContainerStatusDie

func (*ContainerStatusDie) VolumeMountDie added in v0.12.0

func (d *ContainerStatusDie) VolumeMountDie(name string, fn func(d *VolumeMountStatusDie)) *ContainerStatusDie

func (*ContainerStatusDie) VolumeMounts added in v0.12.0

Status of volume mounts.

type DaemonEndpointDie

type DaemonEndpointDie struct {
	// contains filtered or unexported fields
}

func (*DaemonEndpointDie) DeepCopy

func (d *DaemonEndpointDie) DeepCopy() *DaemonEndpointDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*DaemonEndpointDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*DaemonEndpointDie) DieFeedJSON

func (d *DaemonEndpointDie) DieFeedJSON(j []byte) *DaemonEndpointDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*DaemonEndpointDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*DaemonEndpointDie) DieFeedRawExtension

func (d *DaemonEndpointDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonEndpointDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DaemonEndpointDie) DieFeedYAML

func (d *DaemonEndpointDie) DieFeedYAML(y []byte) *DaemonEndpointDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*DaemonEndpointDie) DieFeedYAMLFile

func (d *DaemonEndpointDie) DieFeedYAMLFile(name string) *DaemonEndpointDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*DaemonEndpointDie) DieImmutable

func (d *DaemonEndpointDie) DieImmutable(immutable bool) *DaemonEndpointDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*DaemonEndpointDie) DieRelease

func (d *DaemonEndpointDie) DieRelease() corev1.DaemonEndpoint

DieRelease returns the resource managed by the die.

func (*DaemonEndpointDie) DieReleaseJSON

func (d *DaemonEndpointDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*DaemonEndpointDie) DieReleasePtr

func (d *DaemonEndpointDie) DieReleasePtr() *corev1.DaemonEndpoint

DieReleasePtr returns a pointer to the resource managed by the die.

func (*DaemonEndpointDie) DieReleaseRawExtension

func (d *DaemonEndpointDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DaemonEndpointDie) DieReleaseYAML

func (d *DaemonEndpointDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*DaemonEndpointDie) DieStamp

func (d *DaemonEndpointDie) DieStamp(fn func(r *corev1.DaemonEndpoint)) *DaemonEndpointDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*DaemonEndpointDie) DieStampAt

func (d *DaemonEndpointDie) DieStampAt(jp string, fn interface{}) *DaemonEndpointDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*DaemonEndpointDie) DieWith

func (d *DaemonEndpointDie) DieWith(fns ...func(d *DaemonEndpointDie)) *DaemonEndpointDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*DaemonEndpointDie) Port

Port number of the given endpoint.

type DownwardAPIProjectionDie

type DownwardAPIProjectionDie struct {
	// contains filtered or unexported fields
}

func (*DownwardAPIProjectionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*DownwardAPIProjectionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*DownwardAPIProjectionDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*DownwardAPIProjectionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*DownwardAPIProjectionDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DownwardAPIProjectionDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*DownwardAPIProjectionDie) DieFeedYAMLFile

func (d *DownwardAPIProjectionDie) DieFeedYAMLFile(name string) *DownwardAPIProjectionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*DownwardAPIProjectionDie) DieImmutable

func (d *DownwardAPIProjectionDie) DieImmutable(immutable bool) *DownwardAPIProjectionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*DownwardAPIProjectionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*DownwardAPIProjectionDie) DieReleaseJSON

func (d *DownwardAPIProjectionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*DownwardAPIProjectionDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*DownwardAPIProjectionDie) DieReleaseRawExtension

func (d *DownwardAPIProjectionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DownwardAPIProjectionDie) DieReleaseYAML

func (d *DownwardAPIProjectionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*DownwardAPIProjectionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*DownwardAPIProjectionDie) DieStampAt

func (d *DownwardAPIProjectionDie) DieStampAt(jp string, fn interface{}) *DownwardAPIProjectionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*DownwardAPIProjectionDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*DownwardAPIProjectionDie) ItemDie

func (*DownwardAPIProjectionDie) Items

Items is a list of DownwardAPIVolume file

type DownwardAPIVolumeFileDie

type DownwardAPIVolumeFileDie struct {
	// contains filtered or unexported fields
}

func (*DownwardAPIVolumeFileDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*DownwardAPIVolumeFileDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*DownwardAPIVolumeFileDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*DownwardAPIVolumeFileDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*DownwardAPIVolumeFileDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DownwardAPIVolumeFileDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*DownwardAPIVolumeFileDie) DieFeedYAMLFile

func (d *DownwardAPIVolumeFileDie) DieFeedYAMLFile(name string) *DownwardAPIVolumeFileDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*DownwardAPIVolumeFileDie) DieImmutable

func (d *DownwardAPIVolumeFileDie) DieImmutable(immutable bool) *DownwardAPIVolumeFileDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*DownwardAPIVolumeFileDie) DieRelease

DieRelease returns the resource managed by the die.

func (*DownwardAPIVolumeFileDie) DieReleaseJSON

func (d *DownwardAPIVolumeFileDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*DownwardAPIVolumeFileDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*DownwardAPIVolumeFileDie) DieReleaseRawExtension

func (d *DownwardAPIVolumeFileDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DownwardAPIVolumeFileDie) DieReleaseYAML

func (d *DownwardAPIVolumeFileDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*DownwardAPIVolumeFileDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*DownwardAPIVolumeFileDie) DieStampAt

func (d *DownwardAPIVolumeFileDie) DieStampAt(jp string, fn interface{}) *DownwardAPIVolumeFileDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*DownwardAPIVolumeFileDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*DownwardAPIVolumeFileDie) FieldRef

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

func (*DownwardAPIVolumeFileDie) FieldRefDie

func (*DownwardAPIVolumeFileDie) Mode

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.

func (*DownwardAPIVolumeFileDie) Path

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 '..'

func (*DownwardAPIVolumeFileDie) ResourceFieldRef

Selects a resource of the container: only resources limits and requests

(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

func (*DownwardAPIVolumeFileDie) ResourceFieldRefDie

func (d *DownwardAPIVolumeFileDie) ResourceFieldRefDie(fn func(d *ResourceFieldSelectorDie)) *DownwardAPIVolumeFileDie

type DownwardAPIVolumeSourceDie

type DownwardAPIVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*DownwardAPIVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*DownwardAPIVolumeSourceDie) DefaultMode

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.

func (*DownwardAPIVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*DownwardAPIVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*DownwardAPIVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieImmutable

func (d *DownwardAPIVolumeSourceDie) DieImmutable(immutable bool) *DownwardAPIVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*DownwardAPIVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*DownwardAPIVolumeSourceDie) DieReleaseJSON

func (d *DownwardAPIVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*DownwardAPIVolumeSourceDie) DieReleaseRawExtension

func (d *DownwardAPIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieReleaseYAML

func (d *DownwardAPIVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*DownwardAPIVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*DownwardAPIVolumeSourceDie) DieStampAt

func (d *DownwardAPIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *DownwardAPIVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*DownwardAPIVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*DownwardAPIVolumeSourceDie) ItemDie

func (*DownwardAPIVolumeSourceDie) Items

Items is a list of downward API volume file

type EmptyDirVolumeSourceDie

type EmptyDirVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*EmptyDirVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EmptyDirVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EmptyDirVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EmptyDirVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EmptyDirVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EmptyDirVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EmptyDirVolumeSourceDie) DieFeedYAMLFile

func (d *EmptyDirVolumeSourceDie) DieFeedYAMLFile(name string) *EmptyDirVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EmptyDirVolumeSourceDie) DieImmutable

func (d *EmptyDirVolumeSourceDie) DieImmutable(immutable bool) *EmptyDirVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EmptyDirVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*EmptyDirVolumeSourceDie) DieReleaseJSON

func (d *EmptyDirVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EmptyDirVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EmptyDirVolumeSourceDie) DieReleaseRawExtension

func (d *EmptyDirVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EmptyDirVolumeSourceDie) DieReleaseYAML

func (d *EmptyDirVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EmptyDirVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EmptyDirVolumeSourceDie) DieStampAt

func (d *EmptyDirVolumeSourceDie) DieStampAt(jp string, fn interface{}) *EmptyDirVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EmptyDirVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EmptyDirVolumeSourceDie) Medium

medium represents 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

func (*EmptyDirVolumeSourceDie) SizeLimit

sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

type EndpointAddressDie

type EndpointAddressDie struct {
	// contains filtered or unexported fields
}

func (*EndpointAddressDie) DeepCopy

func (d *EndpointAddressDie) DeepCopy() *EndpointAddressDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EndpointAddressDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EndpointAddressDie) DieFeedJSON

func (d *EndpointAddressDie) DieFeedJSON(j []byte) *EndpointAddressDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EndpointAddressDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EndpointAddressDie) DieFeedRawExtension

func (d *EndpointAddressDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointAddressDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointAddressDie) DieFeedYAML

func (d *EndpointAddressDie) DieFeedYAML(y []byte) *EndpointAddressDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EndpointAddressDie) DieFeedYAMLFile

func (d *EndpointAddressDie) DieFeedYAMLFile(name string) *EndpointAddressDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EndpointAddressDie) DieImmutable

func (d *EndpointAddressDie) DieImmutable(immutable bool) *EndpointAddressDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EndpointAddressDie) DieRelease

func (d *EndpointAddressDie) DieRelease() corev1.EndpointAddress

DieRelease returns the resource managed by the die.

func (*EndpointAddressDie) DieReleaseJSON

func (d *EndpointAddressDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EndpointAddressDie) DieReleasePtr

func (d *EndpointAddressDie) DieReleasePtr() *corev1.EndpointAddress

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EndpointAddressDie) DieReleaseRawExtension

func (d *EndpointAddressDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointAddressDie) DieReleaseYAML

func (d *EndpointAddressDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EndpointAddressDie) DieStamp

func (d *EndpointAddressDie) DieStamp(fn func(r *corev1.EndpointAddress)) *EndpointAddressDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EndpointAddressDie) DieStampAt

func (d *EndpointAddressDie) DieStampAt(jp string, fn interface{}) *EndpointAddressDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EndpointAddressDie) DieWith

func (d *EndpointAddressDie) DieWith(fns ...func(d *EndpointAddressDie)) *EndpointAddressDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EndpointAddressDie) Hostname

The Hostname of this endpoint

func (*EndpointAddressDie) IP

The IP of this endpoint.

May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),

or link-local multicast (224.0.0.0/24 or ff02::/16).

func (*EndpointAddressDie) NodeName

func (d *EndpointAddressDie) NodeName(v *string) *EndpointAddressDie

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

func (*EndpointAddressDie) TargetRef

Reference to object providing the endpoint.

func (*EndpointAddressDie) TargetRefDie

func (d *EndpointAddressDie) TargetRefDie(fn func(d *ObjectReferenceDie)) *EndpointAddressDie

type EndpointPortDie

type EndpointPortDie struct {
	// contains filtered or unexported fields
}

func (*EndpointPortDie) AppProtocol

func (d *EndpointPortDie) AppProtocol(v *string) *EndpointPortDie

The application protocol for this port.

This is used as a hint for implementations to offer richer behavior for protocols that they understand.

This field follows standard Kubernetes label syntax.

Valid values are either:

* Un-prefixed protocol names - reserved for IANA standard service names (as per

RFC-6335 and https://www.iana.org/assignments/service-names).

* Kubernetes-defined prefixed names:

* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-

* 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455

* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455

* Other protocols should use implementation-defined prefixed names such as

mycompany.com/my-custom-protocol.

func (*EndpointPortDie) DeepCopy

func (d *EndpointPortDie) DeepCopy() *EndpointPortDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EndpointPortDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EndpointPortDie) DieFeedJSON

func (d *EndpointPortDie) DieFeedJSON(j []byte) *EndpointPortDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EndpointPortDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EndpointPortDie) DieFeedRawExtension

func (d *EndpointPortDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointPortDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointPortDie) DieFeedYAML

func (d *EndpointPortDie) DieFeedYAML(y []byte) *EndpointPortDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EndpointPortDie) DieFeedYAMLFile

func (d *EndpointPortDie) DieFeedYAMLFile(name string) *EndpointPortDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EndpointPortDie) DieImmutable

func (d *EndpointPortDie) DieImmutable(immutable bool) *EndpointPortDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EndpointPortDie) DieRelease

func (d *EndpointPortDie) DieRelease() corev1.EndpointPort

DieRelease returns the resource managed by the die.

func (*EndpointPortDie) DieReleaseJSON

func (d *EndpointPortDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EndpointPortDie) DieReleasePtr

func (d *EndpointPortDie) DieReleasePtr() *corev1.EndpointPort

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EndpointPortDie) DieReleaseRawExtension

func (d *EndpointPortDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointPortDie) DieReleaseYAML

func (d *EndpointPortDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EndpointPortDie) DieStamp

func (d *EndpointPortDie) DieStamp(fn func(r *corev1.EndpointPort)) *EndpointPortDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EndpointPortDie) DieStampAt

func (d *EndpointPortDie) DieStampAt(jp string, fn interface{}) *EndpointPortDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EndpointPortDie) DieWith

func (d *EndpointPortDie) DieWith(fns ...func(d *EndpointPortDie)) *EndpointPortDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EndpointPortDie) Name

The name of this port. This must match the 'name' field in the

corresponding ServicePort.

Must be a DNS_LABEL.

Optional only if one port is defined.

func (*EndpointPortDie) Port

The port number of the endpoint.

func (*EndpointPortDie) Protocol

The IP protocol for this port.

Must be UDP, TCP, or SCTP.

Default is TCP.

type EndpointSubsetDie

type EndpointSubsetDie struct {
	// contains filtered or unexported fields
}

func (*EndpointSubsetDie) Addresses

IP addresses which offer the related ports that are marked as ready. These endpoints

should be considered safe for load balancers and clients to utilize.

func (*EndpointSubsetDie) AddressesDie

func (d *EndpointSubsetDie) AddressesDie(addresses ...*EndpointAddressDie) *EndpointSubsetDie

func (*EndpointSubsetDie) DeepCopy

func (d *EndpointSubsetDie) DeepCopy() *EndpointSubsetDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EndpointSubsetDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EndpointSubsetDie) DieFeedJSON

func (d *EndpointSubsetDie) DieFeedJSON(j []byte) *EndpointSubsetDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EndpointSubsetDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EndpointSubsetDie) DieFeedRawExtension

func (d *EndpointSubsetDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointSubsetDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointSubsetDie) DieFeedYAML

func (d *EndpointSubsetDie) DieFeedYAML(y []byte) *EndpointSubsetDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EndpointSubsetDie) DieFeedYAMLFile

func (d *EndpointSubsetDie) DieFeedYAMLFile(name string) *EndpointSubsetDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EndpointSubsetDie) DieImmutable

func (d *EndpointSubsetDie) DieImmutable(immutable bool) *EndpointSubsetDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EndpointSubsetDie) DieRelease

func (d *EndpointSubsetDie) DieRelease() corev1.EndpointSubset

DieRelease returns the resource managed by the die.

func (*EndpointSubsetDie) DieReleaseJSON

func (d *EndpointSubsetDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EndpointSubsetDie) DieReleasePtr

func (d *EndpointSubsetDie) DieReleasePtr() *corev1.EndpointSubset

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EndpointSubsetDie) DieReleaseRawExtension

func (d *EndpointSubsetDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointSubsetDie) DieReleaseYAML

func (d *EndpointSubsetDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EndpointSubsetDie) DieStamp

func (d *EndpointSubsetDie) DieStamp(fn func(r *corev1.EndpointSubset)) *EndpointSubsetDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EndpointSubsetDie) DieStampAt

func (d *EndpointSubsetDie) DieStampAt(jp string, fn interface{}) *EndpointSubsetDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EndpointSubsetDie) DieWith

func (d *EndpointSubsetDie) DieWith(fns ...func(d *EndpointSubsetDie)) *EndpointSubsetDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EndpointSubsetDie) NotReadyAddresses

func (d *EndpointSubsetDie) NotReadyAddresses(v ...corev1.EndpointAddress) *EndpointSubsetDie

IP addresses which offer the related ports but are not currently marked as ready

because they have not yet finished starting, have recently failed a readiness check,

or have recently failed a liveness check.

func (*EndpointSubsetDie) NotReadyAddressesDie

func (d *EndpointSubsetDie) NotReadyAddressesDie(addresses ...*EndpointAddressDie) *EndpointSubsetDie

func (*EndpointSubsetDie) Ports

Port numbers available on the related IP addresses.

func (*EndpointSubsetDie) PortsDie

func (d *EndpointSubsetDie) PortsDie(ports ...*EndpointPortDie) *EndpointSubsetDie

type EndpointsDie

type EndpointsDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*EndpointsDie) APIVersion

func (d *EndpointsDie) APIVersion(v string) *EndpointsDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*EndpointsDie) DeepCopy

func (d *EndpointsDie) DeepCopy() *EndpointsDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EndpointsDie) DeepCopyObject

func (d *EndpointsDie) DeepCopyObject() runtime.Object

func (*EndpointsDie) DieFeed

func (d *EndpointsDie) DieFeed(r corev1.Endpoints) *EndpointsDie

DieFeed returns a new die with the provided resource.

func (*EndpointsDie) DieFeedJSON

func (d *EndpointsDie) DieFeedJSON(j []byte) *EndpointsDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EndpointsDie) DieFeedPtr

func (d *EndpointsDie) DieFeedPtr(r *corev1.Endpoints) *EndpointsDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EndpointsDie) DieFeedRawExtension

func (d *EndpointsDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointsDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointsDie) DieFeedYAML

func (d *EndpointsDie) DieFeedYAML(y []byte) *EndpointsDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EndpointsDie) DieFeedYAMLFile

func (d *EndpointsDie) DieFeedYAMLFile(name string) *EndpointsDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EndpointsDie) DieImmutable

func (d *EndpointsDie) DieImmutable(immutable bool) *EndpointsDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EndpointsDie) DieRelease

func (d *EndpointsDie) DieRelease() corev1.Endpoints

DieRelease returns the resource managed by the die.

func (*EndpointsDie) DieReleaseJSON

func (d *EndpointsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EndpointsDie) DieReleasePtr

func (d *EndpointsDie) DieReleasePtr() *corev1.Endpoints

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EndpointsDie) DieReleaseRawExtension

func (d *EndpointsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EndpointsDie) DieReleaseUnstructured

func (d *EndpointsDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*EndpointsDie) DieReleaseYAML

func (d *EndpointsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EndpointsDie) DieStamp

func (d *EndpointsDie) DieStamp(fn func(r *corev1.Endpoints)) *EndpointsDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EndpointsDie) DieStampAt

func (d *EndpointsDie) DieStampAt(jp string, fn interface{}) *EndpointsDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EndpointsDie) DieWith

func (d *EndpointsDie) DieWith(fns ...func(d *EndpointsDie)) *EndpointsDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EndpointsDie) GetObjectKind

func (d *EndpointsDie) GetObjectKind() schema.ObjectKind

func (*EndpointsDie) Kind

func (d *EndpointsDie) Kind(v string) *EndpointsDie

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

func (*EndpointsDie) MarshalJSON

func (d *EndpointsDie) MarshalJSON() ([]byte, error)

func (*EndpointsDie) MetadataDie

func (d *EndpointsDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EndpointsDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*EndpointsDie) Subsets

func (d *EndpointsDie) Subsets(v ...corev1.EndpointSubset) *EndpointsDie

The set of all endpoints is the union of all subsets. Addresses are placed into

subsets according to the IPs they share. A single address with multiple ports,

some of which are ready and some of which are not (because they come from

different containers) will result in the address being displayed in different

subsets for the different ports. No address will appear in both Addresses and

NotReadyAddresses in the same subset.

Sets of addresses and ports that comprise a service.

func (*EndpointsDie) SubsetsDie

func (d *EndpointsDie) SubsetsDie(subsets ...*EndpointSubsetDie) *EndpointsDie

func (*EndpointsDie) UnmarshalJSON

func (d *EndpointsDie) UnmarshalJSON(b []byte) error

type EnvFromSourceDie

type EnvFromSourceDie struct {
	// contains filtered or unexported fields
}

func (*EnvFromSourceDie) ConfigMapRef

The ConfigMap to select from

func (*EnvFromSourceDie) ConfigMapRefDie

func (d *EnvFromSourceDie) ConfigMapRefDie(fn func(d *ConfigMapEnvSourceDie)) *EnvFromSourceDie

func (*EnvFromSourceDie) DeepCopy

func (d *EnvFromSourceDie) DeepCopy() *EnvFromSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EnvFromSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EnvFromSourceDie) DieFeedJSON

func (d *EnvFromSourceDie) DieFeedJSON(j []byte) *EnvFromSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EnvFromSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EnvFromSourceDie) DieFeedRawExtension

func (d *EnvFromSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvFromSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EnvFromSourceDie) DieFeedYAML

func (d *EnvFromSourceDie) DieFeedYAML(y []byte) *EnvFromSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EnvFromSourceDie) DieFeedYAMLFile

func (d *EnvFromSourceDie) DieFeedYAMLFile(name string) *EnvFromSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EnvFromSourceDie) DieImmutable

func (d *EnvFromSourceDie) DieImmutable(immutable bool) *EnvFromSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EnvFromSourceDie) DieRelease

func (d *EnvFromSourceDie) DieRelease() corev1.EnvFromSource

DieRelease returns the resource managed by the die.

func (*EnvFromSourceDie) DieReleaseJSON

func (d *EnvFromSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EnvFromSourceDie) DieReleasePtr

func (d *EnvFromSourceDie) DieReleasePtr() *corev1.EnvFromSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EnvFromSourceDie) DieReleaseRawExtension

func (d *EnvFromSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EnvFromSourceDie) DieReleaseYAML

func (d *EnvFromSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EnvFromSourceDie) DieStamp

func (d *EnvFromSourceDie) DieStamp(fn func(r *corev1.EnvFromSource)) *EnvFromSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EnvFromSourceDie) DieStampAt

func (d *EnvFromSourceDie) DieStampAt(jp string, fn interface{}) *EnvFromSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EnvFromSourceDie) DieWith

func (d *EnvFromSourceDie) DieWith(fns ...func(d *EnvFromSourceDie)) *EnvFromSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EnvFromSourceDie) Prefix

An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.

func (*EnvFromSourceDie) SecretRef

The Secret to select from

func (*EnvFromSourceDie) SecretRefDie

func (d *EnvFromSourceDie) SecretRefDie(fn func(d *SecretEnvSourceDie)) *EnvFromSourceDie

type EnvVarDie

type EnvVarDie struct {
	// contains filtered or unexported fields
}

func (*EnvVarDie) DeepCopy

func (d *EnvVarDie) DeepCopy() *EnvVarDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EnvVarDie) DieFeed

func (d *EnvVarDie) DieFeed(r corev1.EnvVar) *EnvVarDie

DieFeed returns a new die with the provided resource.

func (*EnvVarDie) DieFeedJSON

func (d *EnvVarDie) DieFeedJSON(j []byte) *EnvVarDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EnvVarDie) DieFeedPtr

func (d *EnvVarDie) DieFeedPtr(r *corev1.EnvVar) *EnvVarDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EnvVarDie) DieFeedRawExtension

func (d *EnvVarDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvVarDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EnvVarDie) DieFeedYAML

func (d *EnvVarDie) DieFeedYAML(y []byte) *EnvVarDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EnvVarDie) DieFeedYAMLFile

func (d *EnvVarDie) DieFeedYAMLFile(name string) *EnvVarDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EnvVarDie) DieImmutable

func (d *EnvVarDie) DieImmutable(immutable bool) *EnvVarDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EnvVarDie) DieRelease

func (d *EnvVarDie) DieRelease() corev1.EnvVar

DieRelease returns the resource managed by the die.

func (*EnvVarDie) DieReleaseJSON

func (d *EnvVarDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EnvVarDie) DieReleasePtr

func (d *EnvVarDie) DieReleasePtr() *corev1.EnvVar

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EnvVarDie) DieReleaseRawExtension

func (d *EnvVarDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EnvVarDie) DieReleaseYAML

func (d *EnvVarDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EnvVarDie) DieStamp

func (d *EnvVarDie) DieStamp(fn func(r *corev1.EnvVar)) *EnvVarDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EnvVarDie) DieStampAt

func (d *EnvVarDie) DieStampAt(jp string, fn interface{}) *EnvVarDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EnvVarDie) DieWith

func (d *EnvVarDie) DieWith(fns ...func(d *EnvVarDie)) *EnvVarDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EnvVarDie) Name

func (d *EnvVarDie) Name(v string) *EnvVarDie

Name of the environment variable. Must be a C_IDENTIFIER.

func (*EnvVarDie) Value

func (d *EnvVarDie) Value(v string) *EnvVarDie

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 "".

func (*EnvVarDie) ValueFrom

func (d *EnvVarDie) ValueFrom(v *corev1.EnvVarSource) *EnvVarDie

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

func (*EnvVarDie) ValueFromDie

func (d *EnvVarDie) ValueFromDie(fn func(d *EnvVarSourceDie)) *EnvVarDie

type EnvVarSourceDie

type EnvVarSourceDie struct {
	// contains filtered or unexported fields
}

func (*EnvVarSourceDie) ConfigMapKeyRef

Selects a key of a ConfigMap.

func (*EnvVarSourceDie) ConfigMapKeyRefDie

func (d *EnvVarSourceDie) ConfigMapKeyRefDie(fn func(d *ConfigMapKeySelectorDie)) *EnvVarSourceDie

func (*EnvVarSourceDie) DeepCopy

func (d *EnvVarSourceDie) DeepCopy() *EnvVarSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EnvVarSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EnvVarSourceDie) DieFeedJSON

func (d *EnvVarSourceDie) DieFeedJSON(j []byte) *EnvVarSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EnvVarSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EnvVarSourceDie) DieFeedRawExtension

func (d *EnvVarSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvVarSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EnvVarSourceDie) DieFeedYAML

func (d *EnvVarSourceDie) DieFeedYAML(y []byte) *EnvVarSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EnvVarSourceDie) DieFeedYAMLFile

func (d *EnvVarSourceDie) DieFeedYAMLFile(name string) *EnvVarSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EnvVarSourceDie) DieImmutable

func (d *EnvVarSourceDie) DieImmutable(immutable bool) *EnvVarSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EnvVarSourceDie) DieRelease

func (d *EnvVarSourceDie) DieRelease() corev1.EnvVarSource

DieRelease returns the resource managed by the die.

func (*EnvVarSourceDie) DieReleaseJSON

func (d *EnvVarSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EnvVarSourceDie) DieReleasePtr

func (d *EnvVarSourceDie) DieReleasePtr() *corev1.EnvVarSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EnvVarSourceDie) DieReleaseRawExtension

func (d *EnvVarSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EnvVarSourceDie) DieReleaseYAML

func (d *EnvVarSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EnvVarSourceDie) DieStamp

func (d *EnvVarSourceDie) DieStamp(fn func(r *corev1.EnvVarSource)) *EnvVarSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EnvVarSourceDie) DieStampAt

func (d *EnvVarSourceDie) DieStampAt(jp string, fn interface{}) *EnvVarSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EnvVarSourceDie) DieWith

func (d *EnvVarSourceDie) DieWith(fns ...func(d *EnvVarSourceDie)) *EnvVarSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EnvVarSourceDie) FieldRef

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 (*EnvVarSourceDie) FieldRefDie

func (d *EnvVarSourceDie) FieldRefDie(fn func(d *ObjectFieldSelectorDie)) *EnvVarSourceDie

func (*EnvVarSourceDie) ResourceFieldRef

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 (*EnvVarSourceDie) ResourceFieldRefDie

func (d *EnvVarSourceDie) ResourceFieldRefDie(fn func(d *ResourceFieldSelectorDie)) *EnvVarSourceDie

func (*EnvVarSourceDie) SecretKeyRef

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

func (*EnvVarSourceDie) SecretKeyRefDie

func (d *EnvVarSourceDie) SecretKeyRefDie(fn func(d *SecretKeySelectorDie)) *EnvVarSourceDie

type EphemeralVolumeSourceDie

type EphemeralVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*EphemeralVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EphemeralVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EphemeralVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EphemeralVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EphemeralVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EphemeralVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EphemeralVolumeSourceDie) DieFeedYAMLFile

func (d *EphemeralVolumeSourceDie) DieFeedYAMLFile(name string) *EphemeralVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EphemeralVolumeSourceDie) DieImmutable

func (d *EphemeralVolumeSourceDie) DieImmutable(immutable bool) *EphemeralVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EphemeralVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*EphemeralVolumeSourceDie) DieReleaseJSON

func (d *EphemeralVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EphemeralVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EphemeralVolumeSourceDie) DieReleaseRawExtension

func (d *EphemeralVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EphemeralVolumeSourceDie) DieReleaseYAML

func (d *EphemeralVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EphemeralVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EphemeralVolumeSourceDie) DieStampAt

func (d *EphemeralVolumeSourceDie) DieStampAt(jp string, fn interface{}) *EphemeralVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EphemeralVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EphemeralVolumeSourceDie) VolumeClaimTemplate

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 (*EphemeralVolumeSourceDie) VolumeClaimTemplateDie

type EventDie

type EventDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*EventDie) APIVersion

func (d *EventDie) APIVersion(v string) *EventDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*EventDie) Action

func (d *EventDie) Action(v string) *EventDie

What action was taken/failed regarding to the Regarding object.

func (*EventDie) Count

func (d *EventDie) Count(v int32) *EventDie

The number of times this event has occurred.

func (*EventDie) DeepCopy

func (d *EventDie) DeepCopy() *EventDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EventDie) DeepCopyObject

func (d *EventDie) DeepCopyObject() runtime.Object

func (*EventDie) DieFeed

func (d *EventDie) DieFeed(r corev1.Event) *EventDie

DieFeed returns a new die with the provided resource.

func (*EventDie) DieFeedJSON

func (d *EventDie) DieFeedJSON(j []byte) *EventDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EventDie) DieFeedPtr

func (d *EventDie) DieFeedPtr(r *corev1.Event) *EventDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EventDie) DieFeedRawExtension

func (d *EventDie) DieFeedRawExtension(raw runtime.RawExtension) *EventDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EventDie) DieFeedYAML

func (d *EventDie) DieFeedYAML(y []byte) *EventDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EventDie) DieFeedYAMLFile

func (d *EventDie) DieFeedYAMLFile(name string) *EventDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EventDie) DieImmutable

func (d *EventDie) DieImmutable(immutable bool) *EventDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EventDie) DieRelease

func (d *EventDie) DieRelease() corev1.Event

DieRelease returns the resource managed by the die.

func (*EventDie) DieReleaseJSON

func (d *EventDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EventDie) DieReleasePtr

func (d *EventDie) DieReleasePtr() *corev1.Event

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EventDie) DieReleaseRawExtension

func (d *EventDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EventDie) DieReleaseUnstructured

func (d *EventDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*EventDie) DieReleaseYAML

func (d *EventDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EventDie) DieStamp

func (d *EventDie) DieStamp(fn func(r *corev1.Event)) *EventDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EventDie) DieStampAt

func (d *EventDie) DieStampAt(jp string, fn interface{}) *EventDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EventDie) DieWith

func (d *EventDie) DieWith(fns ...func(d *EventDie)) *EventDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EventDie) EventTime

func (d *EventDie) EventTime(v apismetav1.MicroTime) *EventDie

Time when this Event was first observed.

func (*EventDie) FirstTimestamp

func (d *EventDie) FirstTimestamp(v apismetav1.Time) *EventDie

The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)

func (*EventDie) GetObjectKind

func (d *EventDie) GetObjectKind() schema.ObjectKind

func (*EventDie) InvolvedObject

func (d *EventDie) InvolvedObject(v corev1.ObjectReference) *EventDie

The object that this event is about.

func (*EventDie) InvolvedObjectDie

func (d *EventDie) InvolvedObjectDie(fn func(d *ObjectReferenceDie)) *EventDie

func (*EventDie) Kind

func (d *EventDie) Kind(v string) *EventDie

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

func (*EventDie) LastTimestamp

func (d *EventDie) LastTimestamp(v apismetav1.Time) *EventDie

The time at which the most recent occurrence of this event was recorded.

func (*EventDie) MarshalJSON

func (d *EventDie) MarshalJSON() ([]byte, error)

func (*EventDie) Message

func (d *EventDie) Message(v string) *EventDie

A human-readable description of the status of this operation.

TODO: decide on maximum length.

func (*EventDie) MetadataDie

func (d *EventDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EventDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*EventDie) Reason

func (d *EventDie) Reason(v string) *EventDie

This should be a short, machine understandable string that gives the reason

for the transition into the object's current status.

TODO: provide exact specification for format.

func (*EventDie) Related

func (d *EventDie) Related(v *corev1.ObjectReference) *EventDie

Optional secondary object for more complex actions.

func (*EventDie) RelatedDie

func (d *EventDie) RelatedDie(fn func(d *ObjectReferenceDie)) *EventDie

func (*EventDie) ReportingController

func (d *EventDie) ReportingController(v string) *EventDie

Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.

func (*EventDie) ReportingInstance

func (d *EventDie) ReportingInstance(v string) *EventDie

ID of the controller instance, e.g. `kubelet-xyzf`.

func (*EventDie) Series

func (d *EventDie) Series(v *corev1.EventSeries) *EventDie

Data about the Event series this event represents or nil if it's a singleton Event.

func (*EventDie) SeriesDie

func (d *EventDie) SeriesDie(fn func(d *EventSeriesDie)) *EventDie

func (*EventDie) Source

func (d *EventDie) Source(v corev1.EventSource) *EventDie

The component reporting this event. Should be a short machine understandable string.

func (*EventDie) SourceDie

func (d *EventDie) SourceDie(fn func(d *EventSourceDie)) *EventDie

func (*EventDie) Type

func (d *EventDie) Type(v string) *EventDie

Type of this event (Normal, Warning), new types could be added in the future

func (*EventDie) UnmarshalJSON

func (d *EventDie) UnmarshalJSON(b []byte) error

type EventSeriesDie

type EventSeriesDie struct {
	// contains filtered or unexported fields
}

func (*EventSeriesDie) Count

func (d *EventSeriesDie) Count(v int32) *EventSeriesDie

Number of occurrences in this series up to the last heartbeat time

func (*EventSeriesDie) DeepCopy

func (d *EventSeriesDie) DeepCopy() *EventSeriesDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EventSeriesDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EventSeriesDie) DieFeedJSON

func (d *EventSeriesDie) DieFeedJSON(j []byte) *EventSeriesDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EventSeriesDie) DieFeedPtr

func (d *EventSeriesDie) DieFeedPtr(r *corev1.EventSeries) *EventSeriesDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EventSeriesDie) DieFeedRawExtension

func (d *EventSeriesDie) DieFeedRawExtension(raw runtime.RawExtension) *EventSeriesDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EventSeriesDie) DieFeedYAML

func (d *EventSeriesDie) DieFeedYAML(y []byte) *EventSeriesDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EventSeriesDie) DieFeedYAMLFile

func (d *EventSeriesDie) DieFeedYAMLFile(name string) *EventSeriesDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EventSeriesDie) DieImmutable

func (d *EventSeriesDie) DieImmutable(immutable bool) *EventSeriesDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EventSeriesDie) DieRelease

func (d *EventSeriesDie) DieRelease() corev1.EventSeries

DieRelease returns the resource managed by the die.

func (*EventSeriesDie) DieReleaseJSON

func (d *EventSeriesDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EventSeriesDie) DieReleasePtr

func (d *EventSeriesDie) DieReleasePtr() *corev1.EventSeries

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EventSeriesDie) DieReleaseRawExtension

func (d *EventSeriesDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EventSeriesDie) DieReleaseYAML

func (d *EventSeriesDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EventSeriesDie) DieStamp

func (d *EventSeriesDie) DieStamp(fn func(r *corev1.EventSeries)) *EventSeriesDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EventSeriesDie) DieStampAt

func (d *EventSeriesDie) DieStampAt(jp string, fn interface{}) *EventSeriesDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EventSeriesDie) DieWith

func (d *EventSeriesDie) DieWith(fns ...func(d *EventSeriesDie)) *EventSeriesDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EventSeriesDie) LastObservedTime

func (d *EventSeriesDie) LastObservedTime(v apismetav1.MicroTime) *EventSeriesDie

Time of the last occurrence observed

type EventSourceDie

type EventSourceDie struct {
	// contains filtered or unexported fields
}

func (*EventSourceDie) Component

func (d *EventSourceDie) Component(v string) *EventSourceDie

Component from which the event is generated.

func (*EventSourceDie) DeepCopy

func (d *EventSourceDie) DeepCopy() *EventSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*EventSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EventSourceDie) DieFeedJSON

func (d *EventSourceDie) DieFeedJSON(j []byte) *EventSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*EventSourceDie) DieFeedPtr

func (d *EventSourceDie) DieFeedPtr(r *corev1.EventSource) *EventSourceDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*EventSourceDie) DieFeedRawExtension

func (d *EventSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EventSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EventSourceDie) DieFeedYAML

func (d *EventSourceDie) DieFeedYAML(y []byte) *EventSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*EventSourceDie) DieFeedYAMLFile

func (d *EventSourceDie) DieFeedYAMLFile(name string) *EventSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*EventSourceDie) DieImmutable

func (d *EventSourceDie) DieImmutable(immutable bool) *EventSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*EventSourceDie) DieRelease

func (d *EventSourceDie) DieRelease() corev1.EventSource

DieRelease returns the resource managed by the die.

func (*EventSourceDie) DieReleaseJSON

func (d *EventSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*EventSourceDie) DieReleasePtr

func (d *EventSourceDie) DieReleasePtr() *corev1.EventSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*EventSourceDie) DieReleaseRawExtension

func (d *EventSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*EventSourceDie) DieReleaseYAML

func (d *EventSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*EventSourceDie) DieStamp

func (d *EventSourceDie) DieStamp(fn func(r *corev1.EventSource)) *EventSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*EventSourceDie) DieStampAt

func (d *EventSourceDie) DieStampAt(jp string, fn interface{}) *EventSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*EventSourceDie) DieWith

func (d *EventSourceDie) DieWith(fns ...func(d *EventSourceDie)) *EventSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*EventSourceDie) Host

func (d *EventSourceDie) Host(v string) *EventSourceDie

Node name on which the event is generated.

type ExecActionDie

type ExecActionDie struct {
	// contains filtered or unexported fields
}

func (*ExecActionDie) Command

func (d *ExecActionDie) Command(v ...string) *ExecActionDie

Command is the command line to execute inside the container, the working directory for the

command is root ('/') in the container's filesystem. The command is simply exec'd, it is

not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use

a shell, you need to explicitly call out to that shell.

Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

func (*ExecActionDie) DeepCopy

func (d *ExecActionDie) DeepCopy() *ExecActionDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ExecActionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ExecActionDie) DieFeedJSON

func (d *ExecActionDie) DieFeedJSON(j []byte) *ExecActionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ExecActionDie) DieFeedPtr

func (d *ExecActionDie) DieFeedPtr(r *corev1.ExecAction) *ExecActionDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ExecActionDie) DieFeedRawExtension

func (d *ExecActionDie) DieFeedRawExtension(raw runtime.RawExtension) *ExecActionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ExecActionDie) DieFeedYAML

func (d *ExecActionDie) DieFeedYAML(y []byte) *ExecActionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ExecActionDie) DieFeedYAMLFile

func (d *ExecActionDie) DieFeedYAMLFile(name string) *ExecActionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ExecActionDie) DieImmutable

func (d *ExecActionDie) DieImmutable(immutable bool) *ExecActionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ExecActionDie) DieRelease

func (d *ExecActionDie) DieRelease() corev1.ExecAction

DieRelease returns the resource managed by the die.

func (*ExecActionDie) DieReleaseJSON

func (d *ExecActionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ExecActionDie) DieReleasePtr

func (d *ExecActionDie) DieReleasePtr() *corev1.ExecAction

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ExecActionDie) DieReleaseRawExtension

func (d *ExecActionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ExecActionDie) DieReleaseYAML

func (d *ExecActionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ExecActionDie) DieStamp

func (d *ExecActionDie) DieStamp(fn func(r *corev1.ExecAction)) *ExecActionDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ExecActionDie) DieStampAt

func (d *ExecActionDie) DieStampAt(jp string, fn interface{}) *ExecActionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ExecActionDie) DieWith

func (d *ExecActionDie) DieWith(fns ...func(d *ExecActionDie)) *ExecActionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

type FCVolumeSourceDie

type FCVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*FCVolumeSourceDie) DeepCopy

func (d *FCVolumeSourceDie) DeepCopy() *FCVolumeSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*FCVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*FCVolumeSourceDie) DieFeedJSON

func (d *FCVolumeSourceDie) DieFeedJSON(j []byte) *FCVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*FCVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*FCVolumeSourceDie) DieFeedRawExtension

func (d *FCVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FCVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FCVolumeSourceDie) DieFeedYAML

func (d *FCVolumeSourceDie) DieFeedYAML(y []byte) *FCVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*FCVolumeSourceDie) DieFeedYAMLFile

func (d *FCVolumeSourceDie) DieFeedYAMLFile(name string) *FCVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*FCVolumeSourceDie) DieImmutable

func (d *FCVolumeSourceDie) DieImmutable(immutable bool) *FCVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*FCVolumeSourceDie) DieRelease

func (d *FCVolumeSourceDie) DieRelease() corev1.FCVolumeSource

DieRelease returns the resource managed by the die.

func (*FCVolumeSourceDie) DieReleaseJSON

func (d *FCVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*FCVolumeSourceDie) DieReleasePtr

func (d *FCVolumeSourceDie) DieReleasePtr() *corev1.FCVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*FCVolumeSourceDie) DieReleaseRawExtension

func (d *FCVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FCVolumeSourceDie) DieReleaseYAML

func (d *FCVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*FCVolumeSourceDie) DieStamp

func (d *FCVolumeSourceDie) DieStamp(fn func(r *corev1.FCVolumeSource)) *FCVolumeSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*FCVolumeSourceDie) DieStampAt

func (d *FCVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FCVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*FCVolumeSourceDie) DieWith

func (d *FCVolumeSourceDie) DieWith(fns ...func(d *FCVolumeSourceDie)) *FCVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*FCVolumeSourceDie) FSType

fsType is the 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

func (*FCVolumeSourceDie) Lun

lun is Optional: FC target lun number

func (*FCVolumeSourceDie) ReadOnly

func (d *FCVolumeSourceDie) ReadOnly(v bool) *FCVolumeSourceDie

readOnly is Optional: Defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*FCVolumeSourceDie) TargetWWNs

func (d *FCVolumeSourceDie) TargetWWNs(v ...string) *FCVolumeSourceDie

targetWWNs is Optional: FC target worldwide names (WWNs)

func (*FCVolumeSourceDie) WWIDs

func (d *FCVolumeSourceDie) WWIDs(v ...string) *FCVolumeSourceDie

wwids Optional: FC volume world wide identifiers (wwids)

Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.

type FlexPersistentVolumeSourceDie

type FlexPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*FlexPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*FlexPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*FlexPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*FlexPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*FlexPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*FlexPersistentVolumeSourceDie) DieReleaseJSON

func (d *FlexPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*FlexPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *FlexPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieReleaseYAML

func (d *FlexPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*FlexPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*FlexPersistentVolumeSourceDie) DieStampAt

func (d *FlexPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlexPersistentVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*FlexPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*FlexPersistentVolumeSourceDie) Driver

driver is the name of the driver to use for this volume.

func (*FlexPersistentVolumeSourceDie) FSType

fsType is the 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.

func (*FlexPersistentVolumeSourceDie) Options

options is Optional: this field holds extra command options if any.

func (*FlexPersistentVolumeSourceDie) ReadOnly

readOnly is Optional: defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*FlexPersistentVolumeSourceDie) SecretRef

secretRef is 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 (*FlexPersistentVolumeSourceDie) SecretRefDie

type FlexVolumeSourceDie

type FlexVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*FlexVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*FlexVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*FlexVolumeSourceDie) DieFeedJSON

func (d *FlexVolumeSourceDie) DieFeedJSON(j []byte) *FlexVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*FlexVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*FlexVolumeSourceDie) DieFeedRawExtension

func (d *FlexVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlexVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FlexVolumeSourceDie) DieFeedYAML

func (d *FlexVolumeSourceDie) DieFeedYAML(y []byte) *FlexVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*FlexVolumeSourceDie) DieFeedYAMLFile

func (d *FlexVolumeSourceDie) DieFeedYAMLFile(name string) *FlexVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*FlexVolumeSourceDie) DieImmutable

func (d *FlexVolumeSourceDie) DieImmutable(immutable bool) *FlexVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*FlexVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*FlexVolumeSourceDie) DieReleaseJSON

func (d *FlexVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*FlexVolumeSourceDie) DieReleasePtr

func (d *FlexVolumeSourceDie) DieReleasePtr() *corev1.FlexVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*FlexVolumeSourceDie) DieReleaseRawExtension

func (d *FlexVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FlexVolumeSourceDie) DieReleaseYAML

func (d *FlexVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*FlexVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*FlexVolumeSourceDie) DieStampAt

func (d *FlexVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlexVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*FlexVolumeSourceDie) DieWith

func (d *FlexVolumeSourceDie) DieWith(fns ...func(d *FlexVolumeSourceDie)) *FlexVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*FlexVolumeSourceDie) Driver

driver is the name of the driver to use for this volume.

func (*FlexVolumeSourceDie) FSType

fsType is the 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.

func (*FlexVolumeSourceDie) Options

options is Optional: this field holds extra command options if any.

func (*FlexVolumeSourceDie) ReadOnly

readOnly is Optional: defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*FlexVolumeSourceDie) SecretRef

secretRef is 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 (*FlexVolumeSourceDie) SecretRefDie

func (d *FlexVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *FlexVolumeSourceDie

type FlockerVolumeSourceDie

type FlockerVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*FlockerVolumeSourceDie) DatasetName

datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker

should be considered as deprecated

func (*FlockerVolumeSourceDie) DatasetUUID

datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset

func (*FlockerVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*FlockerVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*FlockerVolumeSourceDie) DieFeedJSON

func (d *FlockerVolumeSourceDie) DieFeedJSON(j []byte) *FlockerVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*FlockerVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*FlockerVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FlockerVolumeSourceDie) DieFeedYAML

func (d *FlockerVolumeSourceDie) DieFeedYAML(y []byte) *FlockerVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*FlockerVolumeSourceDie) DieFeedYAMLFile

func (d *FlockerVolumeSourceDie) DieFeedYAMLFile(name string) *FlockerVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*FlockerVolumeSourceDie) DieImmutable

func (d *FlockerVolumeSourceDie) DieImmutable(immutable bool) *FlockerVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*FlockerVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*FlockerVolumeSourceDie) DieReleaseJSON

func (d *FlockerVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*FlockerVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*FlockerVolumeSourceDie) DieReleaseRawExtension

func (d *FlockerVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*FlockerVolumeSourceDie) DieReleaseYAML

func (d *FlockerVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*FlockerVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*FlockerVolumeSourceDie) DieStampAt

func (d *FlockerVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlockerVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*FlockerVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

type GCEPersistentDiskVolumeSourceDie

type GCEPersistentDiskVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*GCEPersistentDiskVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*GCEPersistentDiskVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*GCEPersistentDiskVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*GCEPersistentDiskVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*GCEPersistentDiskVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*GCEPersistentDiskVolumeSourceDie) DieReleaseJSON

func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*GCEPersistentDiskVolumeSourceDie) DieReleaseRawExtension

func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieReleaseYAML

func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*GCEPersistentDiskVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*GCEPersistentDiskVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*GCEPersistentDiskVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*GCEPersistentDiskVolumeSourceDie) FSType

fsType is 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

func (*GCEPersistentDiskVolumeSourceDie) PDName

pdName is 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

func (*GCEPersistentDiskVolumeSourceDie) Partition

partition is 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

func (*GCEPersistentDiskVolumeSourceDie) ReadOnly

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false.

More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

type GRPCActionDie

type GRPCActionDie struct {
	// contains filtered or unexported fields
}

func (*GRPCActionDie) DeepCopy

func (d *GRPCActionDie) DeepCopy() *GRPCActionDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*GRPCActionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*GRPCActionDie) DieFeedJSON

func (d *GRPCActionDie) DieFeedJSON(j []byte) *GRPCActionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*GRPCActionDie) DieFeedPtr

func (d *GRPCActionDie) DieFeedPtr(r *corev1.GRPCAction) *GRPCActionDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*GRPCActionDie) DieFeedRawExtension

func (d *GRPCActionDie) DieFeedRawExtension(raw runtime.RawExtension) *GRPCActionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GRPCActionDie) DieFeedYAML

func (d *GRPCActionDie) DieFeedYAML(y []byte) *GRPCActionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*GRPCActionDie) DieFeedYAMLFile

func (d *GRPCActionDie) DieFeedYAMLFile(name string) *GRPCActionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*GRPCActionDie) DieImmutable

func (d *GRPCActionDie) DieImmutable(immutable bool) *GRPCActionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*GRPCActionDie) DieRelease

func (d *GRPCActionDie) DieRelease() corev1.GRPCAction

DieRelease returns the resource managed by the die.

func (*GRPCActionDie) DieReleaseJSON

func (d *GRPCActionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*GRPCActionDie) DieReleasePtr

func (d *GRPCActionDie) DieReleasePtr() *corev1.GRPCAction

DieReleasePtr returns a pointer to the resource managed by the die.

func (*GRPCActionDie) DieReleaseRawExtension

func (d *GRPCActionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GRPCActionDie) DieReleaseYAML

func (d *GRPCActionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*GRPCActionDie) DieStamp

func (d *GRPCActionDie) DieStamp(fn func(r *corev1.GRPCAction)) *GRPCActionDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*GRPCActionDie) DieStampAt

func (d *GRPCActionDie) DieStampAt(jp string, fn interface{}) *GRPCActionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*GRPCActionDie) DieWith

func (d *GRPCActionDie) DieWith(fns ...func(d *GRPCActionDie)) *GRPCActionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*GRPCActionDie) Port

func (d *GRPCActionDie) Port(v int32) *GRPCActionDie

Port number of the gRPC service. Number must be in the range 1 to 65535.

func (*GRPCActionDie) Service

func (d *GRPCActionDie) Service(v *string) *GRPCActionDie

Service is the name of the service to place in the gRPC HealthCheckRequest

(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

If this is not specified, the default behavior is defined by gRPC.

type GitRepoVolumeSourceDie

type GitRepoVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*GitRepoVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*GitRepoVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*GitRepoVolumeSourceDie) DieFeedJSON

func (d *GitRepoVolumeSourceDie) DieFeedJSON(j []byte) *GitRepoVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*GitRepoVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*GitRepoVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GitRepoVolumeSourceDie) DieFeedYAML

func (d *GitRepoVolumeSourceDie) DieFeedYAML(y []byte) *GitRepoVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*GitRepoVolumeSourceDie) DieFeedYAMLFile

func (d *GitRepoVolumeSourceDie) DieFeedYAMLFile(name string) *GitRepoVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*GitRepoVolumeSourceDie) DieImmutable

func (d *GitRepoVolumeSourceDie) DieImmutable(immutable bool) *GitRepoVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*GitRepoVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*GitRepoVolumeSourceDie) DieReleaseJSON

func (d *GitRepoVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*GitRepoVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*GitRepoVolumeSourceDie) DieReleaseRawExtension

func (d *GitRepoVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GitRepoVolumeSourceDie) DieReleaseYAML

func (d *GitRepoVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*GitRepoVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*GitRepoVolumeSourceDie) DieStampAt

func (d *GitRepoVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GitRepoVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*GitRepoVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*GitRepoVolumeSourceDie) Directory

directory is the 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.

func (*GitRepoVolumeSourceDie) Repository

repository is the URL

func (*GitRepoVolumeSourceDie) Revision

revision is the commit hash for the specified revision.

type GlusterfsPersistentVolumeSourceDie

type GlusterfsPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*GlusterfsPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*GlusterfsPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*GlusterfsPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*GlusterfsPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*GlusterfsPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*GlusterfsPersistentVolumeSourceDie) DieReleaseJSON

func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*GlusterfsPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieReleaseYAML

func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*GlusterfsPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*GlusterfsPersistentVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*GlusterfsPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*GlusterfsPersistentVolumeSourceDie) EndpointsName

endpoints is the endpoint name that details Glusterfs topology.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

func (*GlusterfsPersistentVolumeSourceDie) EndpointsNamespace

endpointsNamespace is the namespace that contains Glusterfs endpoint.

If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

func (*GlusterfsPersistentVolumeSourceDie) Path

path is the Glusterfs volume path.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

func (*GlusterfsPersistentVolumeSourceDie) ReadOnly

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

type GlusterfsVolumeSourceDie

type GlusterfsVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*GlusterfsVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*GlusterfsVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*GlusterfsVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*GlusterfsVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*GlusterfsVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GlusterfsVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*GlusterfsVolumeSourceDie) DieFeedYAMLFile

func (d *GlusterfsVolumeSourceDie) DieFeedYAMLFile(name string) *GlusterfsVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*GlusterfsVolumeSourceDie) DieImmutable

func (d *GlusterfsVolumeSourceDie) DieImmutable(immutable bool) *GlusterfsVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*GlusterfsVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*GlusterfsVolumeSourceDie) DieReleaseJSON

func (d *GlusterfsVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*GlusterfsVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*GlusterfsVolumeSourceDie) DieReleaseRawExtension

func (d *GlusterfsVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*GlusterfsVolumeSourceDie) DieReleaseYAML

func (d *GlusterfsVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*GlusterfsVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*GlusterfsVolumeSourceDie) DieStampAt

func (d *GlusterfsVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GlusterfsVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*GlusterfsVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*GlusterfsVolumeSourceDie) EndpointsName

endpoints is the endpoint name that details Glusterfs topology.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

func (*GlusterfsVolumeSourceDie) Path

path is the Glusterfs volume path.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

func (*GlusterfsVolumeSourceDie) ReadOnly

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

type HTTPGetActionDie

type HTTPGetActionDie struct {
	// contains filtered or unexported fields
}

func (*HTTPGetActionDie) DeepCopy

func (d *HTTPGetActionDie) DeepCopy() *HTTPGetActionDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*HTTPGetActionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*HTTPGetActionDie) DieFeedJSON

func (d *HTTPGetActionDie) DieFeedJSON(j []byte) *HTTPGetActionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*HTTPGetActionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*HTTPGetActionDie) DieFeedRawExtension

func (d *HTTPGetActionDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPGetActionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPGetActionDie) DieFeedYAML

func (d *HTTPGetActionDie) DieFeedYAML(y []byte) *HTTPGetActionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*HTTPGetActionDie) DieFeedYAMLFile

func (d *HTTPGetActionDie) DieFeedYAMLFile(name string) *HTTPGetActionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*HTTPGetActionDie) DieImmutable

func (d *HTTPGetActionDie) DieImmutable(immutable bool) *HTTPGetActionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*HTTPGetActionDie) DieRelease

func (d *HTTPGetActionDie) DieRelease() corev1.HTTPGetAction

DieRelease returns the resource managed by the die.

func (*HTTPGetActionDie) DieReleaseJSON

func (d *HTTPGetActionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*HTTPGetActionDie) DieReleasePtr

func (d *HTTPGetActionDie) DieReleasePtr() *corev1.HTTPGetAction

DieReleasePtr returns a pointer to the resource managed by the die.

func (*HTTPGetActionDie) DieReleaseRawExtension

func (d *HTTPGetActionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPGetActionDie) DieReleaseYAML

func (d *HTTPGetActionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*HTTPGetActionDie) DieStamp

func (d *HTTPGetActionDie) DieStamp(fn func(r *corev1.HTTPGetAction)) *HTTPGetActionDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*HTTPGetActionDie) DieStampAt

func (d *HTTPGetActionDie) DieStampAt(jp string, fn interface{}) *HTTPGetActionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*HTTPGetActionDie) DieWith

func (d *HTTPGetActionDie) DieWith(fns ...func(d *HTTPGetActionDie)) *HTTPGetActionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*HTTPGetActionDie) HTTPHeaders

func (d *HTTPGetActionDie) HTTPHeaders(v ...corev1.HTTPHeader) *HTTPGetActionDie

Custom headers to set in the request. HTTP allows repeated headers.

func (*HTTPGetActionDie) HTTPHeadersDie

func (d *HTTPGetActionDie) HTTPHeadersDie(headers ...*HTTPHeaderDie) *HTTPGetActionDie

func (*HTTPGetActionDie) Host

Host name to connect to, defaults to the pod IP. You probably want to set

"Host" in httpHeaders instead.

func (*HTTPGetActionDie) Path

Path to access on the HTTP server.

func (*HTTPGetActionDie) Port

Name or number of the port to access on the container.

Number must be in the range 1 to 65535.

Name must be an IANA_SVC_NAME.

func (*HTTPGetActionDie) PortInt

func (d *HTTPGetActionDie) PortInt(i int) *HTTPGetActionDie

func (*HTTPGetActionDie) PortString

func (d *HTTPGetActionDie) PortString(s string) *HTTPGetActionDie

func (*HTTPGetActionDie) Scheme

Scheme to use for connecting to the host.

Defaults to HTTP.

type HTTPHeaderDie

type HTTPHeaderDie struct {
	// contains filtered or unexported fields
}

func (*HTTPHeaderDie) DeepCopy

func (d *HTTPHeaderDie) DeepCopy() *HTTPHeaderDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*HTTPHeaderDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*HTTPHeaderDie) DieFeedJSON

func (d *HTTPHeaderDie) DieFeedJSON(j []byte) *HTTPHeaderDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*HTTPHeaderDie) DieFeedPtr

func (d *HTTPHeaderDie) DieFeedPtr(r *corev1.HTTPHeader) *HTTPHeaderDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*HTTPHeaderDie) DieFeedRawExtension

func (d *HTTPHeaderDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPHeaderDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPHeaderDie) DieFeedYAML

func (d *HTTPHeaderDie) DieFeedYAML(y []byte) *HTTPHeaderDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*HTTPHeaderDie) DieFeedYAMLFile

func (d *HTTPHeaderDie) DieFeedYAMLFile(name string) *HTTPHeaderDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*HTTPHeaderDie) DieImmutable

func (d *HTTPHeaderDie) DieImmutable(immutable bool) *HTTPHeaderDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*HTTPHeaderDie) DieRelease

func (d *HTTPHeaderDie) DieRelease() corev1.HTTPHeader

DieRelease returns the resource managed by the die.

func (*HTTPHeaderDie) DieReleaseJSON

func (d *HTTPHeaderDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*HTTPHeaderDie) DieReleasePtr

func (d *HTTPHeaderDie) DieReleasePtr() *corev1.HTTPHeader

DieReleasePtr returns a pointer to the resource managed by the die.

func (*HTTPHeaderDie) DieReleaseRawExtension

func (d *HTTPHeaderDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPHeaderDie) DieReleaseYAML

func (d *HTTPHeaderDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*HTTPHeaderDie) DieStamp

func (d *HTTPHeaderDie) DieStamp(fn func(r *corev1.HTTPHeader)) *HTTPHeaderDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*HTTPHeaderDie) DieStampAt

func (d *HTTPHeaderDie) DieStampAt(jp string, fn interface{}) *HTTPHeaderDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*HTTPHeaderDie) DieWith

func (d *HTTPHeaderDie) DieWith(fns ...func(d *HTTPHeaderDie)) *HTTPHeaderDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*HTTPHeaderDie) Name

func (d *HTTPHeaderDie) Name(v string) *HTTPHeaderDie

The header field name.

This will be canonicalized upon output, so case-variant names will be understood as the same header.

func (*HTTPHeaderDie) Value

func (d *HTTPHeaderDie) Value(v string) *HTTPHeaderDie

The header field value

type HostAliasDie

type HostAliasDie struct {
	// contains filtered or unexported fields
}

func (*HostAliasDie) DeepCopy

func (d *HostAliasDie) DeepCopy() *HostAliasDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*HostAliasDie) DieFeed

func (d *HostAliasDie) DieFeed(r corev1.HostAlias) *HostAliasDie

DieFeed returns a new die with the provided resource.

func (*HostAliasDie) DieFeedJSON

func (d *HostAliasDie) DieFeedJSON(j []byte) *HostAliasDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*HostAliasDie) DieFeedPtr

func (d *HostAliasDie) DieFeedPtr(r *corev1.HostAlias) *HostAliasDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*HostAliasDie) DieFeedRawExtension

func (d *HostAliasDie) DieFeedRawExtension(raw runtime.RawExtension) *HostAliasDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HostAliasDie) DieFeedYAML

func (d *HostAliasDie) DieFeedYAML(y []byte) *HostAliasDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*HostAliasDie) DieFeedYAMLFile

func (d *HostAliasDie) DieFeedYAMLFile(name string) *HostAliasDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*HostAliasDie) DieImmutable

func (d *HostAliasDie) DieImmutable(immutable bool) *HostAliasDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*HostAliasDie) DieRelease

func (d *HostAliasDie) DieRelease() corev1.HostAlias

DieRelease returns the resource managed by the die.

func (*HostAliasDie) DieReleaseJSON

func (d *HostAliasDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*HostAliasDie) DieReleasePtr

func (d *HostAliasDie) DieReleasePtr() *corev1.HostAlias

DieReleasePtr returns a pointer to the resource managed by the die.

func (*HostAliasDie) DieReleaseRawExtension

func (d *HostAliasDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HostAliasDie) DieReleaseYAML

func (d *HostAliasDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*HostAliasDie) DieStamp

func (d *HostAliasDie) DieStamp(fn func(r *corev1.HostAlias)) *HostAliasDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*HostAliasDie) DieStampAt

func (d *HostAliasDie) DieStampAt(jp string, fn interface{}) *HostAliasDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*HostAliasDie) DieWith

func (d *HostAliasDie) DieWith(fns ...func(d *HostAliasDie)) *HostAliasDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*HostAliasDie) Hostnames

func (d *HostAliasDie) Hostnames(v ...string) *HostAliasDie

Hostnames for the above IP address.

func (*HostAliasDie) IP

func (d *HostAliasDie) IP(v string) *HostAliasDie

IP address of the host file entry.

type HostPathVolumeSourceDie

type HostPathVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*HostPathVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*HostPathVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*HostPathVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*HostPathVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*HostPathVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HostPathVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*HostPathVolumeSourceDie) DieFeedYAMLFile

func (d *HostPathVolumeSourceDie) DieFeedYAMLFile(name string) *HostPathVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*HostPathVolumeSourceDie) DieImmutable

func (d *HostPathVolumeSourceDie) DieImmutable(immutable bool) *HostPathVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*HostPathVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*HostPathVolumeSourceDie) DieReleaseJSON

func (d *HostPathVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*HostPathVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*HostPathVolumeSourceDie) DieReleaseRawExtension

func (d *HostPathVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HostPathVolumeSourceDie) DieReleaseYAML

func (d *HostPathVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*HostPathVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*HostPathVolumeSourceDie) DieStampAt

func (d *HostPathVolumeSourceDie) DieStampAt(jp string, fn interface{}) *HostPathVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*HostPathVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*HostPathVolumeSourceDie) Path

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

func (*HostPathVolumeSourceDie) Type

type for HostPath Volume

Defaults to ""

More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

type ISCSIPersistentVolumeSourceDie

type ISCSIPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*ISCSIPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ISCSIPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ISCSIPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ISCSIPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ISCSIPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ISCSIPersistentVolumeSourceDie) DieReleaseJSON

func (d *ISCSIPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ISCSIPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *ISCSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieReleaseYAML

func (d *ISCSIPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ISCSIPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ISCSIPersistentVolumeSourceDie) DieStampAt

func (d *ISCSIPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ISCSIPersistentVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ISCSIPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ISCSIPersistentVolumeSourceDie) DiscoveryCHAPAuth

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

func (*ISCSIPersistentVolumeSourceDie) FSType

fsType is the 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

func (*ISCSIPersistentVolumeSourceDie) IQN

iqn is Target iSCSI Qualified Name.

func (*ISCSIPersistentVolumeSourceDie) ISCSIInterface

iscsiInterface is the interface Name that uses an iSCSI transport.

Defaults to 'default' (tcp).

func (*ISCSIPersistentVolumeSourceDie) InitiatorName

initiatorName is the custom iSCSI Initiator Name.

If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface

<target portal>:<volume name> will be created for the connection.

func (*ISCSIPersistentVolumeSourceDie) Lun

lun is iSCSI Target Lun number.

func (*ISCSIPersistentVolumeSourceDie) Portals

portals is the 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).

func (*ISCSIPersistentVolumeSourceDie) ReadOnly

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false.

func (*ISCSIPersistentVolumeSourceDie) SecretRef

secretRef is the CHAP Secret for iSCSI target and initiator authentication

func (*ISCSIPersistentVolumeSourceDie) SecretRefDie

func (*ISCSIPersistentVolumeSourceDie) SessionCHAPAuth

chapAuthSession defines whether support iSCSI Session CHAP authentication

func (*ISCSIPersistentVolumeSourceDie) TargetPortal

targetPortal is 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).

type ISCSIVolumeSourceDie

type ISCSIVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*ISCSIVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ISCSIVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ISCSIVolumeSourceDie) DieFeedJSON

func (d *ISCSIVolumeSourceDie) DieFeedJSON(j []byte) *ISCSIVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ISCSIVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ISCSIVolumeSourceDie) DieFeedRawExtension

func (d *ISCSIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ISCSIVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ISCSIVolumeSourceDie) DieFeedYAML

func (d *ISCSIVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ISCSIVolumeSourceDie) DieFeedYAMLFile

func (d *ISCSIVolumeSourceDie) DieFeedYAMLFile(name string) *ISCSIVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ISCSIVolumeSourceDie) DieImmutable

func (d *ISCSIVolumeSourceDie) DieImmutable(immutable bool) *ISCSIVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ISCSIVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ISCSIVolumeSourceDie) DieReleaseJSON

func (d *ISCSIVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ISCSIVolumeSourceDie) DieReleasePtr

func (d *ISCSIVolumeSourceDie) DieReleasePtr() *corev1.ISCSIVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ISCSIVolumeSourceDie) DieReleaseRawExtension

func (d *ISCSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ISCSIVolumeSourceDie) DieReleaseYAML

func (d *ISCSIVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ISCSIVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ISCSIVolumeSourceDie) DieStampAt

func (d *ISCSIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ISCSIVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ISCSIVolumeSourceDie) DieWith

func (d *ISCSIVolumeSourceDie) DieWith(fns ...func(d *ISCSIVolumeSourceDie)) *ISCSIVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ISCSIVolumeSourceDie) DiscoveryCHAPAuth

func (d *ISCSIVolumeSourceDie) DiscoveryCHAPAuth(v bool) *ISCSIVolumeSourceDie

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

func (*ISCSIVolumeSourceDie) FSType

fsType is the 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

func (*ISCSIVolumeSourceDie) IQN

iqn is the target iSCSI Qualified Name.

func (*ISCSIVolumeSourceDie) ISCSIInterface

func (d *ISCSIVolumeSourceDie) ISCSIInterface(v string) *ISCSIVolumeSourceDie

iscsiInterface is the interface Name that uses an iSCSI transport.

Defaults to 'default' (tcp).

func (*ISCSIVolumeSourceDie) InitiatorName

func (d *ISCSIVolumeSourceDie) InitiatorName(v *string) *ISCSIVolumeSourceDie

initiatorName is the custom iSCSI Initiator Name.

If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface

<target portal>:<volume name> will be created for the connection.

func (*ISCSIVolumeSourceDie) Lun

lun represents iSCSI Target Lun number.

func (*ISCSIVolumeSourceDie) Portals

portals is the 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).

func (*ISCSIVolumeSourceDie) ReadOnly

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false.

func (*ISCSIVolumeSourceDie) SecretRef

secretRef is the CHAP Secret for iSCSI target and initiator authentication

func (*ISCSIVolumeSourceDie) SecretRefDie

func (*ISCSIVolumeSourceDie) SessionCHAPAuth

func (d *ISCSIVolumeSourceDie) SessionCHAPAuth(v bool) *ISCSIVolumeSourceDie

chapAuthSession defines whether support iSCSI Session CHAP authentication

func (*ISCSIVolumeSourceDie) TargetPortal

func (d *ISCSIVolumeSourceDie) TargetPortal(v string) *ISCSIVolumeSourceDie

targetPortal is 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).

type KeyToPathDie

type KeyToPathDie struct {
	// contains filtered or unexported fields
}

func (*KeyToPathDie) DeepCopy

func (d *KeyToPathDie) DeepCopy() *KeyToPathDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*KeyToPathDie) DieFeed

func (d *KeyToPathDie) DieFeed(r corev1.KeyToPath) *KeyToPathDie

DieFeed returns a new die with the provided resource.

func (*KeyToPathDie) DieFeedJSON

func (d *KeyToPathDie) DieFeedJSON(j []byte) *KeyToPathDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*KeyToPathDie) DieFeedPtr

func (d *KeyToPathDie) DieFeedPtr(r *corev1.KeyToPath) *KeyToPathDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*KeyToPathDie) DieFeedRawExtension

func (d *KeyToPathDie) DieFeedRawExtension(raw runtime.RawExtension) *KeyToPathDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*KeyToPathDie) DieFeedYAML

func (d *KeyToPathDie) DieFeedYAML(y []byte) *KeyToPathDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*KeyToPathDie) DieFeedYAMLFile

func (d *KeyToPathDie) DieFeedYAMLFile(name string) *KeyToPathDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*KeyToPathDie) DieImmutable

func (d *KeyToPathDie) DieImmutable(immutable bool) *KeyToPathDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*KeyToPathDie) DieRelease

func (d *KeyToPathDie) DieRelease() corev1.KeyToPath

DieRelease returns the resource managed by the die.

func (*KeyToPathDie) DieReleaseJSON

func (d *KeyToPathDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*KeyToPathDie) DieReleasePtr

func (d *KeyToPathDie) DieReleasePtr() *corev1.KeyToPath

DieReleasePtr returns a pointer to the resource managed by the die.

func (*KeyToPathDie) DieReleaseRawExtension

func (d *KeyToPathDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*KeyToPathDie) DieReleaseYAML

func (d *KeyToPathDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*KeyToPathDie) DieStamp

func (d *KeyToPathDie) DieStamp(fn func(r *corev1.KeyToPath)) *KeyToPathDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*KeyToPathDie) DieStampAt

func (d *KeyToPathDie) DieStampAt(jp string, fn interface{}) *KeyToPathDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*KeyToPathDie) DieWith

func (d *KeyToPathDie) DieWith(fns ...func(d *KeyToPathDie)) *KeyToPathDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*KeyToPathDie) Key

func (d *KeyToPathDie) Key(v string) *KeyToPathDie

key is the key to project.

func (*KeyToPathDie) Mode

func (d *KeyToPathDie) Mode(v *int32) *KeyToPathDie

mode is 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.

func (*KeyToPathDie) Path

func (d *KeyToPathDie) Path(v string) *KeyToPathDie

path is 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 '..'.

type LifecycleDie

type LifecycleDie struct {
	// contains filtered or unexported fields
}

func (*LifecycleDie) DeepCopy

func (d *LifecycleDie) DeepCopy() *LifecycleDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LifecycleDie) DieFeed

func (d *LifecycleDie) DieFeed(r corev1.Lifecycle) *LifecycleDie

DieFeed returns a new die with the provided resource.

func (*LifecycleDie) DieFeedJSON

func (d *LifecycleDie) DieFeedJSON(j []byte) *LifecycleDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LifecycleDie) DieFeedPtr

func (d *LifecycleDie) DieFeedPtr(r *corev1.Lifecycle) *LifecycleDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LifecycleDie) DieFeedRawExtension

func (d *LifecycleDie) DieFeedRawExtension(raw runtime.RawExtension) *LifecycleDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LifecycleDie) DieFeedYAML

func (d *LifecycleDie) DieFeedYAML(y []byte) *LifecycleDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LifecycleDie) DieFeedYAMLFile

func (d *LifecycleDie) DieFeedYAMLFile(name string) *LifecycleDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LifecycleDie) DieImmutable

func (d *LifecycleDie) DieImmutable(immutable bool) *LifecycleDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LifecycleDie) DieRelease

func (d *LifecycleDie) DieRelease() corev1.Lifecycle

DieRelease returns the resource managed by the die.

func (*LifecycleDie) DieReleaseJSON

func (d *LifecycleDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LifecycleDie) DieReleasePtr

func (d *LifecycleDie) DieReleasePtr() *corev1.Lifecycle

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LifecycleDie) DieReleaseRawExtension

func (d *LifecycleDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LifecycleDie) DieReleaseYAML

func (d *LifecycleDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LifecycleDie) DieStamp

func (d *LifecycleDie) DieStamp(fn func(r *corev1.Lifecycle)) *LifecycleDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LifecycleDie) DieStampAt

func (d *LifecycleDie) DieStampAt(jp string, fn interface{}) *LifecycleDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LifecycleDie) DieWith

func (d *LifecycleDie) DieWith(fns ...func(d *LifecycleDie)) *LifecycleDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LifecycleDie) PostStart

PostStart is called immediately after a container is created. If the handler fails,

the container is terminated and restarted according to its restart policy.

Other management of the container blocks until the hook completes.

More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

func (*LifecycleDie) PostStartDie

func (d *LifecycleDie) PostStartDie(fn func(d *LifecycleHandlerDie)) *LifecycleDie

func (*LifecycleDie) PreStop

PreStop is called immediately before a container is terminated due to an

API request or management event such as liveness/startup probe failure,

preemption, resource contention, etc. The handler is not called if the

container crashes or exits. The Pod's termination grace period countdown begins before the

PreStop hook is executed. Regardless of the outcome of the handler, the

container will eventually terminate within the Pod's termination grace

period (unless delayed by finalizers). Other management of the container blocks until the hook completes

or until the termination grace period is reached.

More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

func (*LifecycleDie) PreStopDie

func (d *LifecycleDie) PreStopDie(fn func(d *LifecycleHandlerDie)) *LifecycleDie

type LifecycleHandlerDie

type LifecycleHandlerDie struct {
	// contains filtered or unexported fields
}

func (*LifecycleHandlerDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LifecycleHandlerDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LifecycleHandlerDie) DieFeedJSON

func (d *LifecycleHandlerDie) DieFeedJSON(j []byte) *LifecycleHandlerDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LifecycleHandlerDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LifecycleHandlerDie) DieFeedRawExtension

func (d *LifecycleHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *LifecycleHandlerDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LifecycleHandlerDie) DieFeedYAML

func (d *LifecycleHandlerDie) DieFeedYAML(y []byte) *LifecycleHandlerDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LifecycleHandlerDie) DieFeedYAMLFile

func (d *LifecycleHandlerDie) DieFeedYAMLFile(name string) *LifecycleHandlerDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LifecycleHandlerDie) DieImmutable

func (d *LifecycleHandlerDie) DieImmutable(immutable bool) *LifecycleHandlerDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LifecycleHandlerDie) DieRelease

DieRelease returns the resource managed by the die.

func (*LifecycleHandlerDie) DieReleaseJSON

func (d *LifecycleHandlerDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LifecycleHandlerDie) DieReleasePtr

func (d *LifecycleHandlerDie) DieReleasePtr() *corev1.LifecycleHandler

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LifecycleHandlerDie) DieReleaseRawExtension

func (d *LifecycleHandlerDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LifecycleHandlerDie) DieReleaseYAML

func (d *LifecycleHandlerDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LifecycleHandlerDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LifecycleHandlerDie) DieStampAt

func (d *LifecycleHandlerDie) DieStampAt(jp string, fn interface{}) *LifecycleHandlerDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LifecycleHandlerDie) DieWith

func (d *LifecycleHandlerDie) DieWith(fns ...func(d *LifecycleHandlerDie)) *LifecycleHandlerDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LifecycleHandlerDie) Exec

Exec specifies the action to take.

func (*LifecycleHandlerDie) ExecDie

func (d *LifecycleHandlerDie) ExecDie(fn func(d *ExecActionDie)) *LifecycleHandlerDie

func (*LifecycleHandlerDie) HTTPGet

HTTPGet specifies the http request to perform.

func (*LifecycleHandlerDie) HTTPGetDie

func (d *LifecycleHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *LifecycleHandlerDie

func (*LifecycleHandlerDie) Sleep

Sleep represents the duration that the container should sleep before being terminated.

func (*LifecycleHandlerDie) SleepDie

func (d *LifecycleHandlerDie) SleepDie(fn func(d *SleepActionDie)) *LifecycleHandlerDie

func (*LifecycleHandlerDie) TCPSocket

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept

for the backward compatibility. There are no validation of this field and

lifecycle hooks will fail in runtime when tcp handler is specified.

func (*LifecycleHandlerDie) TCPSocketDie

func (d *LifecycleHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *LifecycleHandlerDie

type LimitRangeDie

type LimitRangeDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*LimitRangeDie) APIVersion

func (d *LimitRangeDie) APIVersion(v string) *LimitRangeDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*LimitRangeDie) DeepCopy

func (d *LimitRangeDie) DeepCopy() *LimitRangeDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LimitRangeDie) DeepCopyObject

func (d *LimitRangeDie) DeepCopyObject() runtime.Object

func (*LimitRangeDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LimitRangeDie) DieFeedJSON

func (d *LimitRangeDie) DieFeedJSON(j []byte) *LimitRangeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LimitRangeDie) DieFeedPtr

func (d *LimitRangeDie) DieFeedPtr(r *corev1.LimitRange) *LimitRangeDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LimitRangeDie) DieFeedRawExtension

func (d *LimitRangeDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LimitRangeDie) DieFeedYAML

func (d *LimitRangeDie) DieFeedYAML(y []byte) *LimitRangeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LimitRangeDie) DieFeedYAMLFile

func (d *LimitRangeDie) DieFeedYAMLFile(name string) *LimitRangeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LimitRangeDie) DieImmutable

func (d *LimitRangeDie) DieImmutable(immutable bool) *LimitRangeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LimitRangeDie) DieRelease

func (d *LimitRangeDie) DieRelease() corev1.LimitRange

DieRelease returns the resource managed by the die.

func (*LimitRangeDie) DieReleaseJSON

func (d *LimitRangeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LimitRangeDie) DieReleasePtr

func (d *LimitRangeDie) DieReleasePtr() *corev1.LimitRange

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LimitRangeDie) DieReleaseRawExtension

func (d *LimitRangeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LimitRangeDie) DieReleaseUnstructured

func (d *LimitRangeDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*LimitRangeDie) DieReleaseYAML

func (d *LimitRangeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LimitRangeDie) DieStamp

func (d *LimitRangeDie) DieStamp(fn func(r *corev1.LimitRange)) *LimitRangeDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LimitRangeDie) DieStampAt

func (d *LimitRangeDie) DieStampAt(jp string, fn interface{}) *LimitRangeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LimitRangeDie) DieWith

func (d *LimitRangeDie) DieWith(fns ...func(d *LimitRangeDie)) *LimitRangeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LimitRangeDie) GetObjectKind

func (d *LimitRangeDie) GetObjectKind() schema.ObjectKind

func (*LimitRangeDie) Kind

func (d *LimitRangeDie) Kind(v string) *LimitRangeDie

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

func (*LimitRangeDie) MarshalJSON

func (d *LimitRangeDie) MarshalJSON() ([]byte, error)

func (*LimitRangeDie) MetadataDie

func (d *LimitRangeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *LimitRangeDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*LimitRangeDie) SpecDie

func (d *LimitRangeDie) SpecDie(fn func(d *LimitRangeSpecDie)) *LimitRangeDie

SpecDie stamps the resource's spec field with a mutable die.

func (*LimitRangeDie) UnmarshalJSON

func (d *LimitRangeDie) UnmarshalJSON(b []byte) error

type LimitRangeItemDie

type LimitRangeItemDie struct {
	// contains filtered or unexported fields
}

func (*LimitRangeItemDie) AddDefault

func (*LimitRangeItemDie) AddDefaultRequest

func (d *LimitRangeItemDie) AddDefaultRequest(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie

func (*LimitRangeItemDie) AddDefaultRequestString

func (d *LimitRangeItemDie) AddDefaultRequestString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

func (*LimitRangeItemDie) AddDefaultString

func (d *LimitRangeItemDie) AddDefaultString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

func (*LimitRangeItemDie) AddMax

func (*LimitRangeItemDie) AddMaxLimitRequestRatio

func (d *LimitRangeItemDie) AddMaxLimitRequestRatio(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie

func (*LimitRangeItemDie) AddMaxLimitRequestRatioString

func (d *LimitRangeItemDie) AddMaxLimitRequestRatioString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

func (*LimitRangeItemDie) AddMaxString

func (d *LimitRangeItemDie) AddMaxString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

func (*LimitRangeItemDie) AddMin

func (*LimitRangeItemDie) AddMinString

func (d *LimitRangeItemDie) AddMinString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

func (*LimitRangeItemDie) DeepCopy

func (d *LimitRangeItemDie) DeepCopy() *LimitRangeItemDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LimitRangeItemDie) Default

Default resource requirement limit value by resource name if resource limit is omitted.

func (*LimitRangeItemDie) DefaultRequest

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

func (*LimitRangeItemDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LimitRangeItemDie) DieFeedJSON

func (d *LimitRangeItemDie) DieFeedJSON(j []byte) *LimitRangeItemDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LimitRangeItemDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LimitRangeItemDie) DieFeedRawExtension

func (d *LimitRangeItemDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeItemDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LimitRangeItemDie) DieFeedYAML

func (d *LimitRangeItemDie) DieFeedYAML(y []byte) *LimitRangeItemDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LimitRangeItemDie) DieFeedYAMLFile

func (d *LimitRangeItemDie) DieFeedYAMLFile(name string) *LimitRangeItemDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LimitRangeItemDie) DieImmutable

func (d *LimitRangeItemDie) DieImmutable(immutable bool) *LimitRangeItemDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LimitRangeItemDie) DieRelease

func (d *LimitRangeItemDie) DieRelease() corev1.LimitRangeItem

DieRelease returns the resource managed by the die.

func (*LimitRangeItemDie) DieReleaseJSON

func (d *LimitRangeItemDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LimitRangeItemDie) DieReleasePtr

func (d *LimitRangeItemDie) DieReleasePtr() *corev1.LimitRangeItem

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LimitRangeItemDie) DieReleaseRawExtension

func (d *LimitRangeItemDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LimitRangeItemDie) DieReleaseYAML

func (d *LimitRangeItemDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LimitRangeItemDie) DieStamp

func (d *LimitRangeItemDie) DieStamp(fn func(r *corev1.LimitRangeItem)) *LimitRangeItemDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LimitRangeItemDie) DieStampAt

func (d *LimitRangeItemDie) DieStampAt(jp string, fn interface{}) *LimitRangeItemDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LimitRangeItemDie) DieWith

func (d *LimitRangeItemDie) DieWith(fns ...func(d *LimitRangeItemDie)) *LimitRangeItemDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LimitRangeItemDie) Max

Max usage constraints on this kind by resource name.

func (*LimitRangeItemDie) MaxLimitRequestRatio

func (d *LimitRangeItemDie) MaxLimitRequestRatio(v corev1.ResourceList) *LimitRangeItemDie

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

func (*LimitRangeItemDie) Min

Min usage constraints on this kind by resource name.

func (*LimitRangeItemDie) Type

Type of resource that this limit applies to.

type LimitRangeSpecDie

type LimitRangeSpecDie struct {
	// contains filtered or unexported fields
}

func (*LimitRangeSpecDie) DeepCopy

func (d *LimitRangeSpecDie) DeepCopy() *LimitRangeSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LimitRangeSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LimitRangeSpecDie) DieFeedJSON

func (d *LimitRangeSpecDie) DieFeedJSON(j []byte) *LimitRangeSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LimitRangeSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LimitRangeSpecDie) DieFeedRawExtension

func (d *LimitRangeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LimitRangeSpecDie) DieFeedYAML

func (d *LimitRangeSpecDie) DieFeedYAML(y []byte) *LimitRangeSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LimitRangeSpecDie) DieFeedYAMLFile

func (d *LimitRangeSpecDie) DieFeedYAMLFile(name string) *LimitRangeSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LimitRangeSpecDie) DieImmutable

func (d *LimitRangeSpecDie) DieImmutable(immutable bool) *LimitRangeSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LimitRangeSpecDie) DieRelease

func (d *LimitRangeSpecDie) DieRelease() corev1.LimitRangeSpec

DieRelease returns the resource managed by the die.

func (*LimitRangeSpecDie) DieReleaseJSON

func (d *LimitRangeSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LimitRangeSpecDie) DieReleasePtr

func (d *LimitRangeSpecDie) DieReleasePtr() *corev1.LimitRangeSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LimitRangeSpecDie) DieReleaseRawExtension

func (d *LimitRangeSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LimitRangeSpecDie) DieReleaseYAML

func (d *LimitRangeSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LimitRangeSpecDie) DieStamp

func (d *LimitRangeSpecDie) DieStamp(fn func(r *corev1.LimitRangeSpec)) *LimitRangeSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LimitRangeSpecDie) DieStampAt

func (d *LimitRangeSpecDie) DieStampAt(jp string, fn interface{}) *LimitRangeSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LimitRangeSpecDie) DieWith

func (d *LimitRangeSpecDie) DieWith(fns ...func(d *LimitRangeSpecDie)) *LimitRangeSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LimitRangeSpecDie) Limits

Limits is the list of LimitRangeItem objects that are enforced.

func (*LimitRangeSpecDie) LimitsDie

func (d *LimitRangeSpecDie) LimitsDie(limits ...*LimitRangeItemDie) *LimitRangeSpecDie

type LoadBalancerIngressDie

type LoadBalancerIngressDie struct {
	// contains filtered or unexported fields
}

func (*LoadBalancerIngressDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LoadBalancerIngressDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LoadBalancerIngressDie) DieFeedJSON

func (d *LoadBalancerIngressDie) DieFeedJSON(j []byte) *LoadBalancerIngressDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LoadBalancerIngressDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LoadBalancerIngressDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LoadBalancerIngressDie) DieFeedYAML

func (d *LoadBalancerIngressDie) DieFeedYAML(y []byte) *LoadBalancerIngressDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LoadBalancerIngressDie) DieFeedYAMLFile

func (d *LoadBalancerIngressDie) DieFeedYAMLFile(name string) *LoadBalancerIngressDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LoadBalancerIngressDie) DieImmutable

func (d *LoadBalancerIngressDie) DieImmutable(immutable bool) *LoadBalancerIngressDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LoadBalancerIngressDie) DieRelease

DieRelease returns the resource managed by the die.

func (*LoadBalancerIngressDie) DieReleaseJSON

func (d *LoadBalancerIngressDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LoadBalancerIngressDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LoadBalancerIngressDie) DieReleaseRawExtension

func (d *LoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LoadBalancerIngressDie) DieReleaseYAML

func (d *LoadBalancerIngressDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LoadBalancerIngressDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LoadBalancerIngressDie) DieStampAt

func (d *LoadBalancerIngressDie) DieStampAt(jp string, fn interface{}) *LoadBalancerIngressDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LoadBalancerIngressDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LoadBalancerIngressDie) Hostname

Hostname is set for load-balancer ingress points that are DNS based

(typically AWS load-balancers)

func (*LoadBalancerIngressDie) IP

IP is set for load-balancer ingress points that are IP based

(typically GCE or OpenStack load-balancers)

func (*LoadBalancerIngressDie) IPMode

IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.

Setting this to "VIP" indicates that traffic is delivered to the node with

the destination set to the load-balancer's IP and port.

Setting this to "Proxy" indicates that traffic is delivered to the node or pod with

the destination set to the node's IP and node port or the pod's IP and port.

Service implementations may use this information to adjust traffic routing.

func (*LoadBalancerIngressDie) Ports

Ports is a list of records of service ports

If used, every port defined in the service should have an entry in it

func (*LoadBalancerIngressDie) PortsDie

type LoadBalancerStatusDie

type LoadBalancerStatusDie struct {
	// contains filtered or unexported fields
}

func (*LoadBalancerStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LoadBalancerStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LoadBalancerStatusDie) DieFeedJSON

func (d *LoadBalancerStatusDie) DieFeedJSON(j []byte) *LoadBalancerStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LoadBalancerStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LoadBalancerStatusDie) DieFeedRawExtension

func (d *LoadBalancerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *LoadBalancerStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LoadBalancerStatusDie) DieFeedYAML

func (d *LoadBalancerStatusDie) DieFeedYAML(y []byte) *LoadBalancerStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LoadBalancerStatusDie) DieFeedYAMLFile

func (d *LoadBalancerStatusDie) DieFeedYAMLFile(name string) *LoadBalancerStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LoadBalancerStatusDie) DieImmutable

func (d *LoadBalancerStatusDie) DieImmutable(immutable bool) *LoadBalancerStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LoadBalancerStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*LoadBalancerStatusDie) DieReleaseJSON

func (d *LoadBalancerStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LoadBalancerStatusDie) DieReleasePtr

func (d *LoadBalancerStatusDie) DieReleasePtr() *corev1.LoadBalancerStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LoadBalancerStatusDie) DieReleaseRawExtension

func (d *LoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LoadBalancerStatusDie) DieReleaseYAML

func (d *LoadBalancerStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LoadBalancerStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LoadBalancerStatusDie) DieStampAt

func (d *LoadBalancerStatusDie) DieStampAt(jp string, fn interface{}) *LoadBalancerStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LoadBalancerStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LoadBalancerStatusDie) Ingress

Ingress is a list containing ingress points for the load-balancer.

Traffic intended for the service should be sent to these ingress points.

func (*LoadBalancerStatusDie) LoadBalancerDie

func (d *LoadBalancerStatusDie) LoadBalancerDie(ingress ...*LoadBalancerIngressDie) *LoadBalancerStatusDie

type LocalObjectReferenceDie

type LocalObjectReferenceDie struct {
	// contains filtered or unexported fields
}

func (*LocalObjectReferenceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LocalObjectReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LocalObjectReferenceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LocalObjectReferenceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LocalObjectReferenceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LocalObjectReferenceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LocalObjectReferenceDie) DieFeedYAMLFile

func (d *LocalObjectReferenceDie) DieFeedYAMLFile(name string) *LocalObjectReferenceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LocalObjectReferenceDie) DieImmutable

func (d *LocalObjectReferenceDie) DieImmutable(immutable bool) *LocalObjectReferenceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LocalObjectReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*LocalObjectReferenceDie) DieReleaseJSON

func (d *LocalObjectReferenceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LocalObjectReferenceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LocalObjectReferenceDie) DieReleaseRawExtension

func (d *LocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LocalObjectReferenceDie) DieReleaseYAML

func (d *LocalObjectReferenceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LocalObjectReferenceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LocalObjectReferenceDie) DieStampAt

func (d *LocalObjectReferenceDie) DieStampAt(jp string, fn interface{}) *LocalObjectReferenceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LocalObjectReferenceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LocalObjectReferenceDie) Name

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?

type LocalVolumeSourceDie

type LocalVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*LocalVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*LocalVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*LocalVolumeSourceDie) DieFeedJSON

func (d *LocalVolumeSourceDie) DieFeedJSON(j []byte) *LocalVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*LocalVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*LocalVolumeSourceDie) DieFeedRawExtension

func (d *LocalVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *LocalVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LocalVolumeSourceDie) DieFeedYAML

func (d *LocalVolumeSourceDie) DieFeedYAML(y []byte) *LocalVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*LocalVolumeSourceDie) DieFeedYAMLFile

func (d *LocalVolumeSourceDie) DieFeedYAMLFile(name string) *LocalVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*LocalVolumeSourceDie) DieImmutable

func (d *LocalVolumeSourceDie) DieImmutable(immutable bool) *LocalVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*LocalVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*LocalVolumeSourceDie) DieReleaseJSON

func (d *LocalVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*LocalVolumeSourceDie) DieReleasePtr

func (d *LocalVolumeSourceDie) DieReleasePtr() *corev1.LocalVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*LocalVolumeSourceDie) DieReleaseRawExtension

func (d *LocalVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*LocalVolumeSourceDie) DieReleaseYAML

func (d *LocalVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*LocalVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*LocalVolumeSourceDie) DieStampAt

func (d *LocalVolumeSourceDie) DieStampAt(jp string, fn interface{}) *LocalVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*LocalVolumeSourceDie) DieWith

func (d *LocalVolumeSourceDie) DieWith(fns ...func(d *LocalVolumeSourceDie)) *LocalVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*LocalVolumeSourceDie) FSType

fsType is the filesystem type to mount.

It applies only when the Path is a block device.

Must be a filesystem type supported by the host operating system.

Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.

func (*LocalVolumeSourceDie) Path

path of the full path to the volume on the node.

It can be either a directory or block device (disk, partition, ...).

type ModifyVolumeStatusDie

type ModifyVolumeStatusDie struct {
	// contains filtered or unexported fields
}

func (*ModifyVolumeStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ModifyVolumeStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ModifyVolumeStatusDie) DieFeedJSON

func (d *ModifyVolumeStatusDie) DieFeedJSON(j []byte) *ModifyVolumeStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ModifyVolumeStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ModifyVolumeStatusDie) DieFeedRawExtension

func (d *ModifyVolumeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ModifyVolumeStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ModifyVolumeStatusDie) DieFeedYAML

func (d *ModifyVolumeStatusDie) DieFeedYAML(y []byte) *ModifyVolumeStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ModifyVolumeStatusDie) DieFeedYAMLFile

func (d *ModifyVolumeStatusDie) DieFeedYAMLFile(name string) *ModifyVolumeStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ModifyVolumeStatusDie) DieImmutable

func (d *ModifyVolumeStatusDie) DieImmutable(immutable bool) *ModifyVolumeStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ModifyVolumeStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ModifyVolumeStatusDie) DieReleaseJSON

func (d *ModifyVolumeStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ModifyVolumeStatusDie) DieReleasePtr

func (d *ModifyVolumeStatusDie) DieReleasePtr() *corev1.ModifyVolumeStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ModifyVolumeStatusDie) DieReleaseRawExtension

func (d *ModifyVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ModifyVolumeStatusDie) DieReleaseYAML

func (d *ModifyVolumeStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ModifyVolumeStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ModifyVolumeStatusDie) DieStampAt

func (d *ModifyVolumeStatusDie) DieStampAt(jp string, fn interface{}) *ModifyVolumeStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ModifyVolumeStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ModifyVolumeStatusDie) Status

status is the status of the ControllerModifyVolume operation. It can be in any of following states:

- Pending

Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as

the specified VolumeAttributesClass not existing.

- InProgress

InProgress indicates that the volume is being modified.

- Infeasible

Infeasible indicates that the request has been rejected as invalid by the CSI driver. To

resolve the error, a valid VolumeAttributesClass needs to be specified.

Note: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.

func (*ModifyVolumeStatusDie) TargetVolumeAttributesClassName

func (d *ModifyVolumeStatusDie) TargetVolumeAttributesClassName(v string) *ModifyVolumeStatusDie

targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled

type NFSVolumeSourceDie

type NFSVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*NFSVolumeSourceDie) DeepCopy

func (d *NFSVolumeSourceDie) DeepCopy() *NFSVolumeSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NFSVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NFSVolumeSourceDie) DieFeedJSON

func (d *NFSVolumeSourceDie) DieFeedJSON(j []byte) *NFSVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NFSVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NFSVolumeSourceDie) DieFeedRawExtension

func (d *NFSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *NFSVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NFSVolumeSourceDie) DieFeedYAML

func (d *NFSVolumeSourceDie) DieFeedYAML(y []byte) *NFSVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NFSVolumeSourceDie) DieFeedYAMLFile

func (d *NFSVolumeSourceDie) DieFeedYAMLFile(name string) *NFSVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NFSVolumeSourceDie) DieImmutable

func (d *NFSVolumeSourceDie) DieImmutable(immutable bool) *NFSVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NFSVolumeSourceDie) DieRelease

func (d *NFSVolumeSourceDie) DieRelease() corev1.NFSVolumeSource

DieRelease returns the resource managed by the die.

func (*NFSVolumeSourceDie) DieReleaseJSON

func (d *NFSVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NFSVolumeSourceDie) DieReleasePtr

func (d *NFSVolumeSourceDie) DieReleasePtr() *corev1.NFSVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NFSVolumeSourceDie) DieReleaseRawExtension

func (d *NFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NFSVolumeSourceDie) DieReleaseYAML

func (d *NFSVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NFSVolumeSourceDie) DieStamp

func (d *NFSVolumeSourceDie) DieStamp(fn func(r *corev1.NFSVolumeSource)) *NFSVolumeSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NFSVolumeSourceDie) DieStampAt

func (d *NFSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *NFSVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NFSVolumeSourceDie) DieWith

func (d *NFSVolumeSourceDie) DieWith(fns ...func(d *NFSVolumeSourceDie)) *NFSVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NFSVolumeSourceDie) Path

path that is exported by the NFS server.

More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

func (*NFSVolumeSourceDie) ReadOnly

func (d *NFSVolumeSourceDie) ReadOnly(v bool) *NFSVolumeSourceDie

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

func (*NFSVolumeSourceDie) Server

server is the hostname or IP address of the NFS server.

More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

type NamespaceDie

type NamespaceDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*NamespaceDie) APIVersion

func (d *NamespaceDie) APIVersion(v string) *NamespaceDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*NamespaceDie) DeepCopy

func (d *NamespaceDie) DeepCopy() *NamespaceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NamespaceDie) DeepCopyObject

func (d *NamespaceDie) DeepCopyObject() runtime.Object

func (*NamespaceDie) DieFeed

func (d *NamespaceDie) DieFeed(r corev1.Namespace) *NamespaceDie

DieFeed returns a new die with the provided resource.

func (*NamespaceDie) DieFeedJSON

func (d *NamespaceDie) DieFeedJSON(j []byte) *NamespaceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NamespaceDie) DieFeedPtr

func (d *NamespaceDie) DieFeedPtr(r *corev1.Namespace) *NamespaceDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NamespaceDie) DieFeedRawExtension

func (d *NamespaceDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NamespaceDie) DieFeedYAML

func (d *NamespaceDie) DieFeedYAML(y []byte) *NamespaceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NamespaceDie) DieFeedYAMLFile

func (d *NamespaceDie) DieFeedYAMLFile(name string) *NamespaceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NamespaceDie) DieImmutable

func (d *NamespaceDie) DieImmutable(immutable bool) *NamespaceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NamespaceDie) DieRelease

func (d *NamespaceDie) DieRelease() corev1.Namespace

DieRelease returns the resource managed by the die.

func (*NamespaceDie) DieReleaseJSON

func (d *NamespaceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NamespaceDie) DieReleasePtr

func (d *NamespaceDie) DieReleasePtr() *corev1.Namespace

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NamespaceDie) DieReleaseRawExtension

func (d *NamespaceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NamespaceDie) DieReleaseUnstructured

func (d *NamespaceDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*NamespaceDie) DieReleaseYAML

func (d *NamespaceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NamespaceDie) DieStamp

func (d *NamespaceDie) DieStamp(fn func(r *corev1.Namespace)) *NamespaceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NamespaceDie) DieStampAt

func (d *NamespaceDie) DieStampAt(jp string, fn interface{}) *NamespaceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NamespaceDie) DieWith

func (d *NamespaceDie) DieWith(fns ...func(d *NamespaceDie)) *NamespaceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NamespaceDie) GetObjectKind

func (d *NamespaceDie) GetObjectKind() schema.ObjectKind

func (*NamespaceDie) Kind

func (d *NamespaceDie) Kind(v string) *NamespaceDie

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

func (*NamespaceDie) MarshalJSON

func (d *NamespaceDie) MarshalJSON() ([]byte, error)

func (*NamespaceDie) MetadataDie

func (d *NamespaceDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NamespaceDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*NamespaceDie) Spec

Spec defines the behavior of the Namespace.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*NamespaceDie) SpecDie

func (d *NamespaceDie) SpecDie(fn func(d *NamespaceSpecDie)) *NamespaceDie

SpecDie stamps the resource's spec field with a mutable die.

func (*NamespaceDie) Status

Status describes the current status of a Namespace.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*NamespaceDie) StatusDie

func (d *NamespaceDie) StatusDie(fn func(d *NamespaceStatusDie)) *NamespaceDie

StatusDie stamps the resource's status field with a mutable die.

func (*NamespaceDie) UnmarshalJSON

func (d *NamespaceDie) UnmarshalJSON(b []byte) error

type NamespaceSpecDie

type NamespaceSpecDie struct {
	// contains filtered or unexported fields
}

func (*NamespaceSpecDie) DeepCopy

func (d *NamespaceSpecDie) DeepCopy() *NamespaceSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NamespaceSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NamespaceSpecDie) DieFeedJSON

func (d *NamespaceSpecDie) DieFeedJSON(j []byte) *NamespaceSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NamespaceSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NamespaceSpecDie) DieFeedRawExtension

func (d *NamespaceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NamespaceSpecDie) DieFeedYAML

func (d *NamespaceSpecDie) DieFeedYAML(y []byte) *NamespaceSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NamespaceSpecDie) DieFeedYAMLFile

func (d *NamespaceSpecDie) DieFeedYAMLFile(name string) *NamespaceSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NamespaceSpecDie) DieImmutable

func (d *NamespaceSpecDie) DieImmutable(immutable bool) *NamespaceSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NamespaceSpecDie) DieRelease

func (d *NamespaceSpecDie) DieRelease() corev1.NamespaceSpec

DieRelease returns the resource managed by the die.

func (*NamespaceSpecDie) DieReleaseJSON

func (d *NamespaceSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NamespaceSpecDie) DieReleasePtr

func (d *NamespaceSpecDie) DieReleasePtr() *corev1.NamespaceSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NamespaceSpecDie) DieReleaseRawExtension

func (d *NamespaceSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NamespaceSpecDie) DieReleaseYAML

func (d *NamespaceSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NamespaceSpecDie) DieStamp

func (d *NamespaceSpecDie) DieStamp(fn func(r *corev1.NamespaceSpec)) *NamespaceSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NamespaceSpecDie) DieStampAt

func (d *NamespaceSpecDie) DieStampAt(jp string, fn interface{}) *NamespaceSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NamespaceSpecDie) DieWith

func (d *NamespaceSpecDie) DieWith(fns ...func(d *NamespaceSpecDie)) *NamespaceSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NamespaceSpecDie) Finalizers

Finalizers is an opaque list of values that must be empty to permanently remove object from storage.

More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

type NamespaceStatusDie

type NamespaceStatusDie struct {
	// contains filtered or unexported fields
}

func (*NamespaceStatusDie) Conditions

Represents the latest available observations of a namespace's current state.

func (*NamespaceStatusDie) ConditionsDie

func (d *NamespaceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *NamespaceStatusDie

func (*NamespaceStatusDie) DeepCopy

func (d *NamespaceStatusDie) DeepCopy() *NamespaceStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NamespaceStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NamespaceStatusDie) DieFeedJSON

func (d *NamespaceStatusDie) DieFeedJSON(j []byte) *NamespaceStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NamespaceStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NamespaceStatusDie) DieFeedRawExtension

func (d *NamespaceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NamespaceStatusDie) DieFeedYAML

func (d *NamespaceStatusDie) DieFeedYAML(y []byte) *NamespaceStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NamespaceStatusDie) DieFeedYAMLFile

func (d *NamespaceStatusDie) DieFeedYAMLFile(name string) *NamespaceStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NamespaceStatusDie) DieImmutable

func (d *NamespaceStatusDie) DieImmutable(immutable bool) *NamespaceStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NamespaceStatusDie) DieRelease

func (d *NamespaceStatusDie) DieRelease() corev1.NamespaceStatus

DieRelease returns the resource managed by the die.

func (*NamespaceStatusDie) DieReleaseJSON

func (d *NamespaceStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NamespaceStatusDie) DieReleasePtr

func (d *NamespaceStatusDie) DieReleasePtr() *corev1.NamespaceStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NamespaceStatusDie) DieReleaseRawExtension

func (d *NamespaceStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NamespaceStatusDie) DieReleaseYAML

func (d *NamespaceStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NamespaceStatusDie) DieStamp

func (d *NamespaceStatusDie) DieStamp(fn func(r *corev1.NamespaceStatus)) *NamespaceStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NamespaceStatusDie) DieStampAt

func (d *NamespaceStatusDie) DieStampAt(jp string, fn interface{}) *NamespaceStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NamespaceStatusDie) DieWith

func (d *NamespaceStatusDie) DieWith(fns ...func(d *NamespaceStatusDie)) *NamespaceStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NamespaceStatusDie) Phase

Phase is the current lifecycle phase of the namespace.

More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

type NodeAddressDie

type NodeAddressDie struct {
	// contains filtered or unexported fields
}

func (*NodeAddressDie) Address

func (d *NodeAddressDie) Address(v string) *NodeAddressDie

The node address.

func (*NodeAddressDie) DeepCopy

func (d *NodeAddressDie) DeepCopy() *NodeAddressDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeAddressDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeAddressDie) DieFeedJSON

func (d *NodeAddressDie) DieFeedJSON(j []byte) *NodeAddressDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeAddressDie) DieFeedPtr

func (d *NodeAddressDie) DieFeedPtr(r *corev1.NodeAddress) *NodeAddressDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeAddressDie) DieFeedRawExtension

func (d *NodeAddressDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeAddressDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeAddressDie) DieFeedYAML

func (d *NodeAddressDie) DieFeedYAML(y []byte) *NodeAddressDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeAddressDie) DieFeedYAMLFile

func (d *NodeAddressDie) DieFeedYAMLFile(name string) *NodeAddressDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeAddressDie) DieImmutable

func (d *NodeAddressDie) DieImmutable(immutable bool) *NodeAddressDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeAddressDie) DieRelease

func (d *NodeAddressDie) DieRelease() corev1.NodeAddress

DieRelease returns the resource managed by the die.

func (*NodeAddressDie) DieReleaseJSON

func (d *NodeAddressDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeAddressDie) DieReleasePtr

func (d *NodeAddressDie) DieReleasePtr() *corev1.NodeAddress

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeAddressDie) DieReleaseRawExtension

func (d *NodeAddressDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeAddressDie) DieReleaseYAML

func (d *NodeAddressDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeAddressDie) DieStamp

func (d *NodeAddressDie) DieStamp(fn func(r *corev1.NodeAddress)) *NodeAddressDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeAddressDie) DieStampAt

func (d *NodeAddressDie) DieStampAt(jp string, fn interface{}) *NodeAddressDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeAddressDie) DieWith

func (d *NodeAddressDie) DieWith(fns ...func(d *NodeAddressDie)) *NodeAddressDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeAddressDie) Type

Node address type, one of Hostname, ExternalIP or InternalIP.

type NodeConfigSourceDie

type NodeConfigSourceDie struct {
	// contains filtered or unexported fields
}

func (*NodeConfigSourceDie) ConfigMap

ConfigMap is a reference to a Node's ConfigMap

func (*NodeConfigSourceDie) ConfigMapDie

func (*NodeConfigSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeConfigSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeConfigSourceDie) DieFeedJSON

func (d *NodeConfigSourceDie) DieFeedJSON(j []byte) *NodeConfigSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeConfigSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeConfigSourceDie) DieFeedRawExtension

func (d *NodeConfigSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeConfigSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeConfigSourceDie) DieFeedYAML

func (d *NodeConfigSourceDie) DieFeedYAML(y []byte) *NodeConfigSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeConfigSourceDie) DieFeedYAMLFile

func (d *NodeConfigSourceDie) DieFeedYAMLFile(name string) *NodeConfigSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeConfigSourceDie) DieImmutable

func (d *NodeConfigSourceDie) DieImmutable(immutable bool) *NodeConfigSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeConfigSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NodeConfigSourceDie) DieReleaseJSON

func (d *NodeConfigSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeConfigSourceDie) DieReleasePtr

func (d *NodeConfigSourceDie) DieReleasePtr() *corev1.NodeConfigSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeConfigSourceDie) DieReleaseRawExtension

func (d *NodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeConfigSourceDie) DieReleaseYAML

func (d *NodeConfigSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeConfigSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeConfigSourceDie) DieStampAt

func (d *NodeConfigSourceDie) DieStampAt(jp string, fn interface{}) *NodeConfigSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeConfigSourceDie) DieWith

func (d *NodeConfigSourceDie) DieWith(fns ...func(d *NodeConfigSourceDie)) *NodeConfigSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

type NodeConfigStatusDie

type NodeConfigStatusDie struct {
	// contains filtered or unexported fields
}

func (*NodeConfigStatusDie) Active

Active reports the checkpointed config the node is actively using.

Active will represent either the current version of the Assigned config,

or the current LastKnownGood config, depending on whether attempting to use the

Assigned config results in an error.

func (*NodeConfigStatusDie) ActiveDie

func (d *NodeConfigStatusDie) ActiveDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie

func (*NodeConfigStatusDie) Assigned

Assigned reports the checkpointed config the node will try to use.

When Node.Spec.ConfigSource is updated, the node checkpoints the associated

config payload to local disk, along with a record indicating intended

config. The node refers to this record to choose its config checkpoint, and

reports this record in Assigned. Assigned only updates in the status after

the record has been checkpointed to disk. When the Kubelet is restarted,

it tries to make the Assigned config the Active config by loading and

validating the checkpointed payload identified by Assigned.

func (*NodeConfigStatusDie) AssignedDie

func (d *NodeConfigStatusDie) AssignedDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie

func (*NodeConfigStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeConfigStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeConfigStatusDie) DieFeedJSON

func (d *NodeConfigStatusDie) DieFeedJSON(j []byte) *NodeConfigStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeConfigStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeConfigStatusDie) DieFeedRawExtension

func (d *NodeConfigStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeConfigStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeConfigStatusDie) DieFeedYAML

func (d *NodeConfigStatusDie) DieFeedYAML(y []byte) *NodeConfigStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeConfigStatusDie) DieFeedYAMLFile

func (d *NodeConfigStatusDie) DieFeedYAMLFile(name string) *NodeConfigStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeConfigStatusDie) DieImmutable

func (d *NodeConfigStatusDie) DieImmutable(immutable bool) *NodeConfigStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeConfigStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NodeConfigStatusDie) DieReleaseJSON

func (d *NodeConfigStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeConfigStatusDie) DieReleasePtr

func (d *NodeConfigStatusDie) DieReleasePtr() *corev1.NodeConfigStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeConfigStatusDie) DieReleaseRawExtension

func (d *NodeConfigStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeConfigStatusDie) DieReleaseYAML

func (d *NodeConfigStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeConfigStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeConfigStatusDie) DieStampAt

func (d *NodeConfigStatusDie) DieStampAt(jp string, fn interface{}) *NodeConfigStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeConfigStatusDie) DieWith

func (d *NodeConfigStatusDie) DieWith(fns ...func(d *NodeConfigStatusDie)) *NodeConfigStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeConfigStatusDie) Error

Error describes any problems reconciling the Spec.ConfigSource to the Active config.

Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned

record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting

to load or validate the Assigned config, etc.

Errors may occur at different points while syncing config. Earlier errors (e.g. download or

checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across

Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in

a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error

by fixing the config assigned in Spec.ConfigSource.

You can find additional information for debugging by searching the error message in the Kubelet log.

Error is a human-readable description of the error state; machines can check whether or not Error

is empty, but should not rely on the stability of the Error text across Kubelet versions.

func (*NodeConfigStatusDie) LastKnownGood

LastKnownGood reports the checkpointed config the node will fall back to

when it encounters an error attempting to use the Assigned config.

The Assigned config becomes the LastKnownGood config when the node determines

that the Assigned config is stable and correct.

This is currently implemented as a 10-minute soak period starting when the local

record of Assigned config is updated. If the Assigned config is Active at the end

of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is

reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil,

because the local default config is always assumed good.

You should not make assumptions about the node's method of determining config stability

and correctness, as this may change or become configurable in the future.

func (*NodeConfigStatusDie) LastKnownGoodDie

func (d *NodeConfigStatusDie) LastKnownGoodDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie

type NodeDaemonEndpointsDie

type NodeDaemonEndpointsDie struct {
	// contains filtered or unexported fields
}

func (*NodeDaemonEndpointsDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeDaemonEndpointsDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeDaemonEndpointsDie) DieFeedJSON

func (d *NodeDaemonEndpointsDie) DieFeedJSON(j []byte) *NodeDaemonEndpointsDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeDaemonEndpointsDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeDaemonEndpointsDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeDaemonEndpointsDie) DieFeedYAML

func (d *NodeDaemonEndpointsDie) DieFeedYAML(y []byte) *NodeDaemonEndpointsDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeDaemonEndpointsDie) DieFeedYAMLFile

func (d *NodeDaemonEndpointsDie) DieFeedYAMLFile(name string) *NodeDaemonEndpointsDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeDaemonEndpointsDie) DieImmutable

func (d *NodeDaemonEndpointsDie) DieImmutable(immutable bool) *NodeDaemonEndpointsDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeDaemonEndpointsDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NodeDaemonEndpointsDie) DieReleaseJSON

func (d *NodeDaemonEndpointsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeDaemonEndpointsDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeDaemonEndpointsDie) DieReleaseRawExtension

func (d *NodeDaemonEndpointsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeDaemonEndpointsDie) DieReleaseYAML

func (d *NodeDaemonEndpointsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeDaemonEndpointsDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeDaemonEndpointsDie) DieStampAt

func (d *NodeDaemonEndpointsDie) DieStampAt(jp string, fn interface{}) *NodeDaemonEndpointsDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeDaemonEndpointsDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeDaemonEndpointsDie) KubeletEndpoint

Endpoint on which Kubelet is listening.

func (*NodeDaemonEndpointsDie) KubeletEndpointDie

func (d *NodeDaemonEndpointsDie) KubeletEndpointDie(fn func(d *DaemonEndpointDie)) *NodeDaemonEndpointsDie

type NodeDie

type NodeDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*NodeDie) APIVersion

func (d *NodeDie) APIVersion(v string) *NodeDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*NodeDie) DeepCopy

func (d *NodeDie) DeepCopy() *NodeDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeDie) DeepCopyObject

func (d *NodeDie) DeepCopyObject() runtime.Object

func (*NodeDie) DieFeed

func (d *NodeDie) DieFeed(r corev1.Node) *NodeDie

DieFeed returns a new die with the provided resource.

func (*NodeDie) DieFeedJSON

func (d *NodeDie) DieFeedJSON(j []byte) *NodeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeDie) DieFeedPtr

func (d *NodeDie) DieFeedPtr(r *corev1.Node) *NodeDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeDie) DieFeedRawExtension

func (d *NodeDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeDie) DieFeedYAML

func (d *NodeDie) DieFeedYAML(y []byte) *NodeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeDie) DieFeedYAMLFile

func (d *NodeDie) DieFeedYAMLFile(name string) *NodeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeDie) DieImmutable

func (d *NodeDie) DieImmutable(immutable bool) *NodeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeDie) DieRelease

func (d *NodeDie) DieRelease() corev1.Node

DieRelease returns the resource managed by the die.

func (*NodeDie) DieReleaseJSON

func (d *NodeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeDie) DieReleasePtr

func (d *NodeDie) DieReleasePtr() *corev1.Node

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeDie) DieReleaseRawExtension

func (d *NodeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeDie) DieReleaseUnstructured

func (d *NodeDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*NodeDie) DieReleaseYAML

func (d *NodeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeDie) DieStamp

func (d *NodeDie) DieStamp(fn func(r *corev1.Node)) *NodeDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeDie) DieStampAt

func (d *NodeDie) DieStampAt(jp string, fn interface{}) *NodeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeDie) DieWith

func (d *NodeDie) DieWith(fns ...func(d *NodeDie)) *NodeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeDie) GetObjectKind

func (d *NodeDie) GetObjectKind() schema.ObjectKind

func (*NodeDie) Kind

func (d *NodeDie) Kind(v string) *NodeDie

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

func (*NodeDie) MarshalJSON

func (d *NodeDie) MarshalJSON() ([]byte, error)

func (*NodeDie) MetadataDie

func (d *NodeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NodeDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*NodeDie) SpecDie

func (d *NodeDie) SpecDie(fn func(d *NodeSpecDie)) *NodeDie

SpecDie stamps the resource's spec field with a mutable die.

func (*NodeDie) Status

func (d *NodeDie) Status(v corev1.NodeStatus) *NodeDie

Most recently observed status of the node.

Populated by the system.

Read-only.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*NodeDie) StatusDie

func (d *NodeDie) StatusDie(fn func(d *NodeStatusDie)) *NodeDie

StatusDie stamps the resource's status field with a mutable die.

func (*NodeDie) UnmarshalJSON

func (d *NodeDie) UnmarshalJSON(b []byte) error

type NodeRuntimeHandlerDie added in v0.12.0

type NodeRuntimeHandlerDie struct {
	// contains filtered or unexported fields
}

func (*NodeRuntimeHandlerDie) DeepCopy added in v0.12.0

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeRuntimeHandlerDie) DieFeed added in v0.12.0

DieFeed returns a new die with the provided resource.

func (*NodeRuntimeHandlerDie) DieFeedJSON added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieFeedJSON(j []byte) *NodeRuntimeHandlerDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeRuntimeHandlerDie) DieFeedPtr added in v0.12.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeRuntimeHandlerDie) DieFeedRawExtension added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeRuntimeHandlerDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeRuntimeHandlerDie) DieFeedYAML added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieFeedYAML(y []byte) *NodeRuntimeHandlerDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeRuntimeHandlerDie) DieFeedYAMLFile added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieFeedYAMLFile(name string) *NodeRuntimeHandlerDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeRuntimeHandlerDie) DieImmutable added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieImmutable(immutable bool) *NodeRuntimeHandlerDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeRuntimeHandlerDie) DieRelease added in v0.12.0

DieRelease returns the resource managed by the die.

func (*NodeRuntimeHandlerDie) DieReleaseJSON added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeRuntimeHandlerDie) DieReleasePtr added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieReleasePtr() *corev1.NodeRuntimeHandler

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeRuntimeHandlerDie) DieReleaseRawExtension added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeRuntimeHandlerDie) DieReleaseYAML added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeRuntimeHandlerDie) DieStamp added in v0.12.0

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeRuntimeHandlerDie) DieStampAt added in v0.12.0

func (d *NodeRuntimeHandlerDie) DieStampAt(jp string, fn interface{}) *NodeRuntimeHandlerDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeRuntimeHandlerDie) DieWith added in v0.12.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeRuntimeHandlerDie) Features added in v0.12.0

Supported features.

func (*NodeRuntimeHandlerDie) FeaturesDie added in v0.12.0

func (*NodeRuntimeHandlerDie) Name added in v0.12.0

Runtime handler name.

Empty for the default runtime handler.

type NodeRuntimeHandlerFeaturesDie added in v0.12.0

type NodeRuntimeHandlerFeaturesDie struct {
	// contains filtered or unexported fields
}

func (*NodeRuntimeHandlerFeaturesDie) DeepCopy added in v0.12.0

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeRuntimeHandlerFeaturesDie) DieFeed added in v0.12.0

DieFeed returns a new die with the provided resource.

func (*NodeRuntimeHandlerFeaturesDie) DieFeedJSON added in v0.12.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieFeedPtr added in v0.12.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeRuntimeHandlerFeaturesDie) DieFeedRawExtension added in v0.12.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieFeedYAML added in v0.12.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieFeedYAMLFile added in v0.12.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieImmutable added in v0.12.0

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeRuntimeHandlerFeaturesDie) DieRelease added in v0.12.0

DieRelease returns the resource managed by the die.

func (*NodeRuntimeHandlerFeaturesDie) DieReleaseJSON added in v0.12.0

func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieReleasePtr added in v0.12.0

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeRuntimeHandlerFeaturesDie) DieReleaseRawExtension added in v0.12.0

func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieReleaseYAML added in v0.12.0

func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeRuntimeHandlerFeaturesDie) DieStamp added in v0.12.0

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeRuntimeHandlerFeaturesDie) DieStampAt added in v0.12.0

func (d *NodeRuntimeHandlerFeaturesDie) DieStampAt(jp string, fn interface{}) *NodeRuntimeHandlerFeaturesDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeRuntimeHandlerFeaturesDie) DieWith added in v0.12.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeRuntimeHandlerFeaturesDie) RecursiveReadOnlyMounts added in v0.12.0

func (d *NodeRuntimeHandlerFeaturesDie) RecursiveReadOnlyMounts(v *bool) *NodeRuntimeHandlerFeaturesDie

RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.

type NodeSelectorDie

type NodeSelectorDie struct {
	// contains filtered or unexported fields
}

func (*NodeSelectorDie) DeepCopy

func (d *NodeSelectorDie) DeepCopy() *NodeSelectorDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeSelectorDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeSelectorDie) DieFeedJSON

func (d *NodeSelectorDie) DieFeedJSON(j []byte) *NodeSelectorDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeSelectorDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeSelectorDie) DieFeedRawExtension

func (d *NodeSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSelectorDie) DieFeedYAML

func (d *NodeSelectorDie) DieFeedYAML(y []byte) *NodeSelectorDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeSelectorDie) DieFeedYAMLFile

func (d *NodeSelectorDie) DieFeedYAMLFile(name string) *NodeSelectorDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeSelectorDie) DieImmutable

func (d *NodeSelectorDie) DieImmutable(immutable bool) *NodeSelectorDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeSelectorDie) DieRelease

func (d *NodeSelectorDie) DieRelease() corev1.NodeSelector

DieRelease returns the resource managed by the die.

func (*NodeSelectorDie) DieReleaseJSON

func (d *NodeSelectorDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeSelectorDie) DieReleasePtr

func (d *NodeSelectorDie) DieReleasePtr() *corev1.NodeSelector

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeSelectorDie) DieReleaseRawExtension

func (d *NodeSelectorDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSelectorDie) DieReleaseYAML

func (d *NodeSelectorDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeSelectorDie) DieStamp

func (d *NodeSelectorDie) DieStamp(fn func(r *corev1.NodeSelector)) *NodeSelectorDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeSelectorDie) DieStampAt

func (d *NodeSelectorDie) DieStampAt(jp string, fn interface{}) *NodeSelectorDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeSelectorDie) DieWith

func (d *NodeSelectorDie) DieWith(fns ...func(d *NodeSelectorDie)) *NodeSelectorDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeSelectorDie) NodeSelectorTerms

func (d *NodeSelectorDie) NodeSelectorTerms(v ...corev1.NodeSelectorTerm) *NodeSelectorDie

Required. A list of node selector terms. The terms are ORed.

func (*NodeSelectorDie) NodeSelectorTermsDie

func (d *NodeSelectorDie) NodeSelectorTermsDie(terms ...*NodeSelectorTermDie) *NodeSelectorDie

type NodeSelectorRequirementDie

type NodeSelectorRequirementDie struct {
	// contains filtered or unexported fields
}

func (*NodeSelectorRequirementDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeSelectorRequirementDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeSelectorRequirementDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeSelectorRequirementDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeSelectorRequirementDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSelectorRequirementDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeSelectorRequirementDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeSelectorRequirementDie) DieImmutable

func (d *NodeSelectorRequirementDie) DieImmutable(immutable bool) *NodeSelectorRequirementDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeSelectorRequirementDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NodeSelectorRequirementDie) DieReleaseJSON

func (d *NodeSelectorRequirementDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeSelectorRequirementDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeSelectorRequirementDie) DieReleaseRawExtension

func (d *NodeSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSelectorRequirementDie) DieReleaseYAML

func (d *NodeSelectorRequirementDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeSelectorRequirementDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeSelectorRequirementDie) DieStampAt

func (d *NodeSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *NodeSelectorRequirementDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeSelectorRequirementDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeSelectorRequirementDie) Key

The label key that the selector applies to.

func (*NodeSelectorRequirementDie) Operator

Represents a key's relationship to a set of values.

Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

func (*NodeSelectorRequirementDie) Values

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. If the operator is Gt or Lt, the values

array must have a single element, which will be interpreted as an integer.

This array is replaced during a strategic merge patch.

type NodeSelectorTermDie

type NodeSelectorTermDie struct {
	// contains filtered or unexported fields
}

func (*NodeSelectorTermDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeSelectorTermDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeSelectorTermDie) DieFeedJSON

func (d *NodeSelectorTermDie) DieFeedJSON(j []byte) *NodeSelectorTermDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeSelectorTermDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeSelectorTermDie) DieFeedRawExtension

func (d *NodeSelectorTermDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorTermDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSelectorTermDie) DieFeedYAML

func (d *NodeSelectorTermDie) DieFeedYAML(y []byte) *NodeSelectorTermDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeSelectorTermDie) DieFeedYAMLFile

func (d *NodeSelectorTermDie) DieFeedYAMLFile(name string) *NodeSelectorTermDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeSelectorTermDie) DieImmutable

func (d *NodeSelectorTermDie) DieImmutable(immutable bool) *NodeSelectorTermDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeSelectorTermDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NodeSelectorTermDie) DieReleaseJSON

func (d *NodeSelectorTermDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeSelectorTermDie) DieReleasePtr

func (d *NodeSelectorTermDie) DieReleasePtr() *corev1.NodeSelectorTerm

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeSelectorTermDie) DieReleaseRawExtension

func (d *NodeSelectorTermDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSelectorTermDie) DieReleaseYAML

func (d *NodeSelectorTermDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeSelectorTermDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeSelectorTermDie) DieStampAt

func (d *NodeSelectorTermDie) DieStampAt(jp string, fn interface{}) *NodeSelectorTermDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeSelectorTermDie) DieWith

func (d *NodeSelectorTermDie) DieWith(fns ...func(d *NodeSelectorTermDie)) *NodeSelectorTermDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeSelectorTermDie) MatchExpressionDie

func (d *NodeSelectorTermDie) MatchExpressionDie(key string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie

func (*NodeSelectorTermDie) MatchExpressions

A list of node selector requirements by node's labels.

func (*NodeSelectorTermDie) MatchFields

A list of node selector requirements by node's fields.

func (*NodeSelectorTermDie) MatchFieldsDie

func (d *NodeSelectorTermDie) MatchFieldsDie(key string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie

type NodeSpecDie

type NodeSpecDie struct {
	// contains filtered or unexported fields
}

func (*NodeSpecDie) ConfigSource deprecated

func (d *NodeSpecDie) ConfigSource(v *corev1.NodeConfigSource) *NodeSpecDie

Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.

func (*NodeSpecDie) ConfigSourceDie

func (d *NodeSpecDie) ConfigSourceDie(fn func(d *NodeConfigSourceDie)) *NodeSpecDie

func (*NodeSpecDie) DeepCopy

func (d *NodeSpecDie) DeepCopy() *NodeSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeSpecDie) DieFeed

func (d *NodeSpecDie) DieFeed(r corev1.NodeSpec) *NodeSpecDie

DieFeed returns a new die with the provided resource.

func (*NodeSpecDie) DieFeedJSON

func (d *NodeSpecDie) DieFeedJSON(j []byte) *NodeSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeSpecDie) DieFeedPtr

func (d *NodeSpecDie) DieFeedPtr(r *corev1.NodeSpec) *NodeSpecDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeSpecDie) DieFeedRawExtension

func (d *NodeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSpecDie) DieFeedYAML

func (d *NodeSpecDie) DieFeedYAML(y []byte) *NodeSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeSpecDie) DieFeedYAMLFile

func (d *NodeSpecDie) DieFeedYAMLFile(name string) *NodeSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeSpecDie) DieImmutable

func (d *NodeSpecDie) DieImmutable(immutable bool) *NodeSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeSpecDie) DieRelease

func (d *NodeSpecDie) DieRelease() corev1.NodeSpec

DieRelease returns the resource managed by the die.

func (*NodeSpecDie) DieReleaseJSON

func (d *NodeSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeSpecDie) DieReleasePtr

func (d *NodeSpecDie) DieReleasePtr() *corev1.NodeSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeSpecDie) DieReleaseRawExtension

func (d *NodeSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSpecDie) DieReleaseYAML

func (d *NodeSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeSpecDie) DieStamp

func (d *NodeSpecDie) DieStamp(fn func(r *corev1.NodeSpec)) *NodeSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeSpecDie) DieStampAt

func (d *NodeSpecDie) DieStampAt(jp string, fn interface{}) *NodeSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeSpecDie) DieWith

func (d *NodeSpecDie) DieWith(fns ...func(d *NodeSpecDie)) *NodeSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeSpecDie) DoNotUseExternalID

func (d *NodeSpecDie) DoNotUseExternalID(v string) *NodeSpecDie

Deprecated. Not all kubelets will set this field. Remove field after 1.13.

see: https://issues.k8s.io/61966

func (*NodeSpecDie) PodCIDR

func (d *NodeSpecDie) PodCIDR(v string) *NodeSpecDie

PodCIDR represents the pod IP range assigned to the node.

func (*NodeSpecDie) PodCIDRs

func (d *NodeSpecDie) PodCIDRs(v ...string) *NodeSpecDie

podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this

field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for

each of IPv4 and IPv6.

func (*NodeSpecDie) ProviderID

func (d *NodeSpecDie) ProviderID(v string) *NodeSpecDie

ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>

func (*NodeSpecDie) TaintDie

func (d *NodeSpecDie) TaintDie(key string, fn func(d *TaintDie)) *NodeSpecDie

func (*NodeSpecDie) Taints

func (d *NodeSpecDie) Taints(v ...corev1.Taint) *NodeSpecDie

If specified, the node's taints.

func (*NodeSpecDie) Unschedulable

func (d *NodeSpecDie) Unschedulable(v bool) *NodeSpecDie

Unschedulable controls node schedulability of new pods. By default, node is schedulable.

More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

type NodeStatusDie

type NodeStatusDie struct {
	// contains filtered or unexported fields
}

func (*NodeStatusDie) AddAllocatable

func (d *NodeStatusDie) AddAllocatable(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie

func (*NodeStatusDie) AddAllocatableString

func (d *NodeStatusDie) AddAllocatableString(name corev1.ResourceName, quantity string) *NodeStatusDie

func (*NodeStatusDie) AddCapacity

func (d *NodeStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie

func (*NodeStatusDie) AddCapacityString

func (d *NodeStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *NodeStatusDie

func (*NodeStatusDie) Addresses

func (d *NodeStatusDie) Addresses(v ...corev1.NodeAddress) *NodeStatusDie

List of addresses reachable to the node.

Queried from cloud provider, if available.

More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses

Note: This field is declared as mergeable, but the merge key is not sufficiently

unique, which can cause data corruption when it is merged. Callers should instead

use a full-replacement patch. See https://pr.k8s.io/79391 for an example.

Consumers should assume that addresses can change during the

lifetime of a Node. However, there are some exceptions where this may not

be possible, such as Pods that inherit a Node's address in its own status or

consumers of the downward API (status.hostIP).

func (*NodeStatusDie) AddresssDie

func (d *NodeStatusDie) AddresssDie(addresses ...*NodeAddressDie) *NodeStatusDie

func (*NodeStatusDie) Allocatable

func (d *NodeStatusDie) Allocatable(v corev1.ResourceList) *NodeStatusDie

Allocatable represents the resources of a node that are available for scheduling.

Defaults to Capacity.

func (*NodeStatusDie) Capacity

Capacity represents the total resources of a node.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

func (*NodeStatusDie) Conditions

func (d *NodeStatusDie) Conditions(v ...corev1.NodeCondition) *NodeStatusDie

Conditions is an array of current observed node conditions.

More info: https://kubernetes.io/docs/concepts/nodes/node/#condition

func (*NodeStatusDie) ConditionsDie

func (d *NodeStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *NodeStatusDie

func (*NodeStatusDie) Config

Status of the config assigned to the node via the dynamic Kubelet config feature.

func (*NodeStatusDie) ConfigDie

func (d *NodeStatusDie) ConfigDie(fn func(d *NodeConfigStatusDie)) *NodeStatusDie

func (*NodeStatusDie) DaemonEndpoints

func (d *NodeStatusDie) DaemonEndpoints(v corev1.NodeDaemonEndpoints) *NodeStatusDie

Endpoints of daemons running on the Node.

func (*NodeStatusDie) DaemonEndpointsDie

func (d *NodeStatusDie) DaemonEndpointsDie(fn func(d *NodeDaemonEndpointsDie)) *NodeStatusDie

func (*NodeStatusDie) DeepCopy

func (d *NodeStatusDie) DeepCopy() *NodeStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeStatusDie) DieFeedJSON

func (d *NodeStatusDie) DieFeedJSON(j []byte) *NodeStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeStatusDie) DieFeedPtr

func (d *NodeStatusDie) DieFeedPtr(r *corev1.NodeStatus) *NodeStatusDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeStatusDie) DieFeedRawExtension

func (d *NodeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeStatusDie) DieFeedYAML

func (d *NodeStatusDie) DieFeedYAML(y []byte) *NodeStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeStatusDie) DieFeedYAMLFile

func (d *NodeStatusDie) DieFeedYAMLFile(name string) *NodeStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeStatusDie) DieImmutable

func (d *NodeStatusDie) DieImmutable(immutable bool) *NodeStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeStatusDie) DieRelease

func (d *NodeStatusDie) DieRelease() corev1.NodeStatus

DieRelease returns the resource managed by the die.

func (*NodeStatusDie) DieReleaseJSON

func (d *NodeStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeStatusDie) DieReleasePtr

func (d *NodeStatusDie) DieReleasePtr() *corev1.NodeStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeStatusDie) DieReleaseRawExtension

func (d *NodeStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeStatusDie) DieReleaseYAML

func (d *NodeStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeStatusDie) DieStamp

func (d *NodeStatusDie) DieStamp(fn func(r *corev1.NodeStatus)) *NodeStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeStatusDie) DieStampAt

func (d *NodeStatusDie) DieStampAt(jp string, fn interface{}) *NodeStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeStatusDie) DieWith

func (d *NodeStatusDie) DieWith(fns ...func(d *NodeStatusDie)) *NodeStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeStatusDie) Images

List of container images on this node

func (*NodeStatusDie) ImagesDie

func (d *NodeStatusDie) ImagesDie(images ...*ContainerImageDie) *NodeStatusDie

func (*NodeStatusDie) NodeInfo

Set of ids/uuids to uniquely identify the node.

More info: https://kubernetes.io/docs/concepts/nodes/node/#info

func (*NodeStatusDie) NodeInfoDie

func (d *NodeStatusDie) NodeInfoDie(fn func(d *NodeSystemInfoDie)) *NodeStatusDie

func (*NodeStatusDie) Phase

NodePhase is the recently observed lifecycle phase of the node.

More info: https://kubernetes.io/docs/concepts/nodes/node/#phase

The field is never populated, and now is deprecated.

func (*NodeStatusDie) RuntimeHandlers added in v0.12.0

func (d *NodeStatusDie) RuntimeHandlers(v ...corev1.NodeRuntimeHandler) *NodeStatusDie

The available runtime handlers.

func (*NodeStatusDie) RuntimeHandlersDie added in v0.12.0

func (d *NodeStatusDie) RuntimeHandlersDie(handlers ...*NodeRuntimeHandlerDie) *NodeStatusDie

func (*NodeStatusDie) VolumeAttachedDie

func (d *NodeStatusDie) VolumeAttachedDie(name corev1.UniqueVolumeName, fn func(d *AttachedVolumeDie)) *NodeStatusDie

func (*NodeStatusDie) VolumesAttached

func (d *NodeStatusDie) VolumesAttached(v ...corev1.AttachedVolume) *NodeStatusDie

List of volumes that are attached to the node.

func (*NodeStatusDie) VolumesInUse

func (d *NodeStatusDie) VolumesInUse(v ...corev1.UniqueVolumeName) *NodeStatusDie

List of attachable volumes in use (mounted) by the node.

type NodeSystemInfoDie

type NodeSystemInfoDie struct {
	// contains filtered or unexported fields
}

func (*NodeSystemInfoDie) Architecture

func (d *NodeSystemInfoDie) Architecture(v string) *NodeSystemInfoDie

The Architecture reported by the node

func (*NodeSystemInfoDie) BootID

Boot ID reported by the node.

func (*NodeSystemInfoDie) ContainerRuntimeVersion

func (d *NodeSystemInfoDie) ContainerRuntimeVersion(v string) *NodeSystemInfoDie

ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).

func (*NodeSystemInfoDie) DeepCopy

func (d *NodeSystemInfoDie) DeepCopy() *NodeSystemInfoDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NodeSystemInfoDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NodeSystemInfoDie) DieFeedJSON

func (d *NodeSystemInfoDie) DieFeedJSON(j []byte) *NodeSystemInfoDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NodeSystemInfoDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NodeSystemInfoDie) DieFeedRawExtension

func (d *NodeSystemInfoDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSystemInfoDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSystemInfoDie) DieFeedYAML

func (d *NodeSystemInfoDie) DieFeedYAML(y []byte) *NodeSystemInfoDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NodeSystemInfoDie) DieFeedYAMLFile

func (d *NodeSystemInfoDie) DieFeedYAMLFile(name string) *NodeSystemInfoDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NodeSystemInfoDie) DieImmutable

func (d *NodeSystemInfoDie) DieImmutable(immutable bool) *NodeSystemInfoDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NodeSystemInfoDie) DieRelease

func (d *NodeSystemInfoDie) DieRelease() corev1.NodeSystemInfo

DieRelease returns the resource managed by the die.

func (*NodeSystemInfoDie) DieReleaseJSON

func (d *NodeSystemInfoDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NodeSystemInfoDie) DieReleasePtr

func (d *NodeSystemInfoDie) DieReleasePtr() *corev1.NodeSystemInfo

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NodeSystemInfoDie) DieReleaseRawExtension

func (d *NodeSystemInfoDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NodeSystemInfoDie) DieReleaseYAML

func (d *NodeSystemInfoDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NodeSystemInfoDie) DieStamp

func (d *NodeSystemInfoDie) DieStamp(fn func(r *corev1.NodeSystemInfo)) *NodeSystemInfoDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NodeSystemInfoDie) DieStampAt

func (d *NodeSystemInfoDie) DieStampAt(jp string, fn interface{}) *NodeSystemInfoDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NodeSystemInfoDie) DieWith

func (d *NodeSystemInfoDie) DieWith(fns ...func(d *NodeSystemInfoDie)) *NodeSystemInfoDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NodeSystemInfoDie) KernelVersion

func (d *NodeSystemInfoDie) KernelVersion(v string) *NodeSystemInfoDie

Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).

func (*NodeSystemInfoDie) KubeProxyVersion

func (d *NodeSystemInfoDie) KubeProxyVersion(v string) *NodeSystemInfoDie

KubeProxy Version reported by the node.

func (*NodeSystemInfoDie) KubeletVersion

func (d *NodeSystemInfoDie) KubeletVersion(v string) *NodeSystemInfoDie

Kubelet Version reported by the node.

func (*NodeSystemInfoDie) MachineID

func (d *NodeSystemInfoDie) MachineID(v string) *NodeSystemInfoDie

MachineID reported by the node. For unique machine identification

in the cluster this field is preferred. Learn more from man(5)

machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html

func (*NodeSystemInfoDie) OSImage

OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).

func (*NodeSystemInfoDie) OperatingSystem

func (d *NodeSystemInfoDie) OperatingSystem(v string) *NodeSystemInfoDie

The Operating System reported by the node

func (*NodeSystemInfoDie) SystemUUID

func (d *NodeSystemInfoDie) SystemUUID(v string) *NodeSystemInfoDie

SystemUUID reported by the node. For unique machine identification

MachineID is preferred. This field is specific to Red Hat hosts

https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid

type ObjectFieldSelectorDie

type ObjectFieldSelectorDie struct {
	// contains filtered or unexported fields
}

func (*ObjectFieldSelectorDie) APIVersion

Version of the schema the FieldPath is written in terms of, defaults to "v1".

func (*ObjectFieldSelectorDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ObjectFieldSelectorDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ObjectFieldSelectorDie) DieFeedJSON

func (d *ObjectFieldSelectorDie) DieFeedJSON(j []byte) *ObjectFieldSelectorDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ObjectFieldSelectorDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ObjectFieldSelectorDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ObjectFieldSelectorDie) DieFeedYAML

func (d *ObjectFieldSelectorDie) DieFeedYAML(y []byte) *ObjectFieldSelectorDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ObjectFieldSelectorDie) DieFeedYAMLFile

func (d *ObjectFieldSelectorDie) DieFeedYAMLFile(name string) *ObjectFieldSelectorDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ObjectFieldSelectorDie) DieImmutable

func (d *ObjectFieldSelectorDie) DieImmutable(immutable bool) *ObjectFieldSelectorDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ObjectFieldSelectorDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ObjectFieldSelectorDie) DieReleaseJSON

func (d *ObjectFieldSelectorDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ObjectFieldSelectorDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ObjectFieldSelectorDie) DieReleaseRawExtension

func (d *ObjectFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ObjectFieldSelectorDie) DieReleaseYAML

func (d *ObjectFieldSelectorDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ObjectFieldSelectorDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ObjectFieldSelectorDie) DieStampAt

func (d *ObjectFieldSelectorDie) DieStampAt(jp string, fn interface{}) *ObjectFieldSelectorDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ObjectFieldSelectorDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ObjectFieldSelectorDie) FieldPath

Path of the field to select in the specified API version.

type ObjectReferenceDie

type ObjectReferenceDie struct {
	// contains filtered or unexported fields
}

func (*ObjectReferenceDie) APIVersion

func (d *ObjectReferenceDie) APIVersion(v string) *ObjectReferenceDie

API version of the referent.

func (*ObjectReferenceDie) DeepCopy

func (d *ObjectReferenceDie) DeepCopy() *ObjectReferenceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ObjectReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ObjectReferenceDie) DieFeedJSON

func (d *ObjectReferenceDie) DieFeedJSON(j []byte) *ObjectReferenceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ObjectReferenceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ObjectReferenceDie) DieFeedRawExtension

func (d *ObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectReferenceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ObjectReferenceDie) DieFeedYAML

func (d *ObjectReferenceDie) DieFeedYAML(y []byte) *ObjectReferenceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ObjectReferenceDie) DieFeedYAMLFile

func (d *ObjectReferenceDie) DieFeedYAMLFile(name string) *ObjectReferenceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ObjectReferenceDie) DieImmutable

func (d *ObjectReferenceDie) DieImmutable(immutable bool) *ObjectReferenceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ObjectReferenceDie) DieRelease

func (d *ObjectReferenceDie) DieRelease() corev1.ObjectReference

DieRelease returns the resource managed by the die.

func (*ObjectReferenceDie) DieReleaseJSON

func (d *ObjectReferenceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ObjectReferenceDie) DieReleasePtr

func (d *ObjectReferenceDie) DieReleasePtr() *corev1.ObjectReference

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ObjectReferenceDie) DieReleaseRawExtension

func (d *ObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ObjectReferenceDie) DieReleaseYAML

func (d *ObjectReferenceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ObjectReferenceDie) DieStamp

func (d *ObjectReferenceDie) DieStamp(fn func(r *corev1.ObjectReference)) *ObjectReferenceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ObjectReferenceDie) DieStampAt

func (d *ObjectReferenceDie) DieStampAt(jp string, fn interface{}) *ObjectReferenceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ObjectReferenceDie) DieWith

func (d *ObjectReferenceDie) DieWith(fns ...func(d *ObjectReferenceDie)) *ObjectReferenceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ObjectReferenceDie) FieldPath

func (d *ObjectReferenceDie) FieldPath(v string) *ObjectReferenceDie

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.

func (*ObjectReferenceDie) Name

Name of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

func (*ObjectReferenceDie) Namespace

func (d *ObjectReferenceDie) Namespace(v string) *ObjectReferenceDie

Namespace of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

func (*ObjectReferenceDie) ResourceVersion

func (d *ObjectReferenceDie) ResourceVersion(v string) *ObjectReferenceDie

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

func (*ObjectReferenceDie) UID

UID of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

type PersistentVolumeClaimDie

type PersistentVolumeClaimDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*PersistentVolumeClaimDie) APIVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*PersistentVolumeClaimDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeClaimDie) DeepCopyObject

func (d *PersistentVolumeClaimDie) DeepCopyObject() runtime.Object

func (*PersistentVolumeClaimDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeClaimDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeClaimDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeClaimDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeClaimDie) DieFeedYAMLFile

func (d *PersistentVolumeClaimDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeClaimDie) DieImmutable

func (d *PersistentVolumeClaimDie) DieImmutable(immutable bool) *PersistentVolumeClaimDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeClaimDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeClaimDie) DieReleaseJSON

func (d *PersistentVolumeClaimDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeClaimDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeClaimDie) DieReleaseRawExtension

func (d *PersistentVolumeClaimDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimDie) DieReleaseUnstructured

func (d *PersistentVolumeClaimDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*PersistentVolumeClaimDie) DieReleaseYAML

func (d *PersistentVolumeClaimDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeClaimDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeClaimDie) DieStampAt

func (d *PersistentVolumeClaimDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeClaimDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeClaimDie) GetObjectKind

func (d *PersistentVolumeClaimDie) GetObjectKind() schema.ObjectKind

func (*PersistentVolumeClaimDie) Kind

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

func (*PersistentVolumeClaimDie) MarshalJSON

func (d *PersistentVolumeClaimDie) MarshalJSON() ([]byte, error)

func (*PersistentVolumeClaimDie) MetadataDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*PersistentVolumeClaimDie) Spec

spec defines the desired characteristics of a volume requested by a pod author.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

func (*PersistentVolumeClaimDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*PersistentVolumeClaimDie) Status

status represents the current information/status of a persistent volume claim.

Read-only.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

func (*PersistentVolumeClaimDie) StatusDie

StatusDie stamps the resource's status field with a mutable die.

func (*PersistentVolumeClaimDie) UnmarshalJSON

func (d *PersistentVolumeClaimDie) UnmarshalJSON(b []byte) error

type PersistentVolumeClaimSpecDie

type PersistentVolumeClaimSpecDie struct {
	// contains filtered or unexported fields
}

func (*PersistentVolumeClaimSpecDie) AccessModes

accessModes contains the desired access modes the volume should have.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

func (*PersistentVolumeClaimSpecDie) DataSource

dataSource 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.

When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,

and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.

If the namespace is specified, then dataSourceRef will not be copied to dataSource.

func (*PersistentVolumeClaimSpecDie) DataSourceDie

func (*PersistentVolumeClaimSpecDie) DataSourceRef

dataSourceRef specifies the object from which to populate the volume with data, if a non-empty

volume is desired. This may be any 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, when namespace isn't specified in dataSourceRef,

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.

When namespace is specified in dataSourceRef,

dataSource isn't set to the same value and must be empty.

There are three 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.

* While dataSource only allows local objects, dataSourceRef allows objects

in any namespaces.

(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.

(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.

func (*PersistentVolumeClaimSpecDie) DataSourceRefDie

func (*PersistentVolumeClaimSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeClaimSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeClaimSpecDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeClaimSpecDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeClaimSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeClaimSpecDie) DieReleaseJSON

func (d *PersistentVolumeClaimSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeClaimSpecDie) DieReleaseRawExtension

func (d *PersistentVolumeClaimSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieReleaseYAML

func (d *PersistentVolumeClaimSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeClaimSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeClaimSpecDie) DieStampAt

func (d *PersistentVolumeClaimSpecDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeClaimSpecDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeClaimSpecDie) Resources

resources represents the minimum resources the volume should have.

If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements

that are lower than previous value but must still be higher than capacity recorded in the

status field of the claim.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources

func (*PersistentVolumeClaimSpecDie) ResourcesDie

func (*PersistentVolumeClaimSpecDie) Selector

selector is a label query over volumes to consider for binding.

func (*PersistentVolumeClaimSpecDie) SelectorDie

func (*PersistentVolumeClaimSpecDie) StorageClassName

storageClassName is the name of the StorageClass required by the claim.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

func (*PersistentVolumeClaimSpecDie) VolumeAttributesClassName

func (d *PersistentVolumeClaimSpecDie) VolumeAttributesClassName(v *string) *PersistentVolumeClaimSpecDie

volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.

If specified, the CSI driver will create or update the volume with the attributes defined

in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,

it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass

will be applied to the claim but it's not allowed to reset this field to empty string once it is set.

If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass

will be set by the persistentvolume controller if it exists.

If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be

set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource

exists.

More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/

(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.

func (*PersistentVolumeClaimSpecDie) VolumeMode

volumeMode defines what type of volume is required by the claim.

Value of Filesystem is implied when not included in claim spec.

func (*PersistentVolumeClaimSpecDie) VolumeName

volumeName is the binding reference to the PersistentVolume backing this claim.

type PersistentVolumeClaimStatusDie

type PersistentVolumeClaimStatusDie struct {
	// contains filtered or unexported fields
}

func (*PersistentVolumeClaimStatusDie) AccessModes

accessModes contains the actual access modes the volume backing the PVC has.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

func (*PersistentVolumeClaimStatusDie) AddAllocatedResourceStatus

func (*PersistentVolumeClaimStatusDie) AddAllocatedResources

func (*PersistentVolumeClaimStatusDie) AddAllocatedResourcesString

func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourcesString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie

func (*PersistentVolumeClaimStatusDie) AddCapacity

func (*PersistentVolumeClaimStatusDie) AddCapacityString

func (*PersistentVolumeClaimStatusDie) AllocatedResourceStatuses

allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:

  • Un-prefixed keys:
  • storage - the capacity of the volume.
  • Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"

Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.

ClaimResourceStatus can be in any of following states:

  • ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane.
  • ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error.
  • NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node.
  • NodeResizeInProgress: State set when kubelet starts resizing the volume.
  • NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed.

For example: if expanding a PVC for more capacity - this field can be one of the following states:

  • pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
  • pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
  • pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
  • pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
  • pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"

When this field is not set, it means that no resize operation is in progress for the given PVC.

A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.

This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

func (*PersistentVolumeClaimStatusDie) AllocatedResources

allocatedResources tracks the resources allocated to a PVC including its capacity.

Key names follow standard Kubernetes label syntax. Valid values are either:

* Un-prefixed keys:

- storage - the capacity of the volume.

* Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"

Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered

reserved and hence may not be used.

Capacity reported here may be larger than the actual capacity when a volume expansion operation

is requested.

For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.

If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.

If a volume expansion capacity request is lowered, allocatedResources is only

lowered if there are no expansion operations in progress and if the actual volume capacity

is equal or lower than the requested capacity.

A controller that receives PVC update with previously unknown resourceName

should ignore the update for the purpose it was designed. For example - a controller that

only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid

resources associated with PVC.

This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

func (*PersistentVolumeClaimStatusDie) Capacity

capacity represents the actual resources of the underlying volume.

func (*PersistentVolumeClaimStatusDie) Conditions

conditions is the current Condition of persistent volume claim. If underlying persistent volume is being

resized then the Condition will be set to 'Resizing'.

func (*PersistentVolumeClaimStatusDie) ConditionsDie

func (*PersistentVolumeClaimStatusDie) CurrentVolumeAttributesClassName

func (d *PersistentVolumeClaimStatusDie) CurrentVolumeAttributesClassName(v *string) *PersistentVolumeClaimStatusDie

currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.

When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim

This is an alpha field and requires enabling VolumeAttributesClass feature.

func (*PersistentVolumeClaimStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeClaimStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeClaimStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeClaimStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeClaimStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeClaimStatusDie) DieReleaseJSON

func (d *PersistentVolumeClaimStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeClaimStatusDie) DieReleaseRawExtension

func (d *PersistentVolumeClaimStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieReleaseYAML

func (d *PersistentVolumeClaimStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeClaimStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeClaimStatusDie) DieStampAt

func (d *PersistentVolumeClaimStatusDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeClaimStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeClaimStatusDie) ModifyVolumeStatus

ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.

When this is unset, there is no ModifyVolume operation being attempted.

This is an alpha field and requires enabling VolumeAttributesClass feature.

func (*PersistentVolumeClaimStatusDie) ModifyVolumeStatusDie

func (*PersistentVolumeClaimStatusDie) Phase

phase represents the current phase of PersistentVolumeClaim.

type PersistentVolumeClaimTemplateDie

type PersistentVolumeClaimTemplateDie struct {
	// contains filtered or unexported fields
}

func (*PersistentVolumeClaimTemplateDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeClaimTemplateDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeClaimTemplateDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeClaimTemplateDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeClaimTemplateDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeClaimTemplateDie) DieReleaseJSON

func (d *PersistentVolumeClaimTemplateDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeClaimTemplateDie) DieReleaseRawExtension

func (d *PersistentVolumeClaimTemplateDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieReleaseYAML

func (d *PersistentVolumeClaimTemplateDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeClaimTemplateDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeClaimTemplateDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeClaimTemplateDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeClaimTemplateDie) MetadataDie

func (*PersistentVolumeClaimTemplateDie) ObjectMeta

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.

func (*PersistentVolumeClaimTemplateDie) Spec

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 (*PersistentVolumeClaimTemplateDie) SpecDie

type PersistentVolumeClaimVolumeSourceDie

type PersistentVolumeClaimVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*PersistentVolumeClaimVolumeSourceDie) ClaimName

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

func (*PersistentVolumeClaimVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeClaimVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeClaimVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeClaimVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeClaimVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseJSON

func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseRawExtension

func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML

func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeClaimVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeClaimVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeClaimVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeClaimVolumeSourceDie) ReadOnly

readOnly Will force the ReadOnly setting in VolumeMounts.

Default false.

type PersistentVolumeDie

type PersistentVolumeDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*PersistentVolumeDie) APIVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*PersistentVolumeDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeDie) DeepCopyObject

func (d *PersistentVolumeDie) DeepCopyObject() runtime.Object

func (*PersistentVolumeDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeDie) DieFeedJSON

func (d *PersistentVolumeDie) DieFeedJSON(j []byte) *PersistentVolumeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeDie) DieFeedRawExtension

func (d *PersistentVolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeDie) DieFeedYAML

func (d *PersistentVolumeDie) DieFeedYAML(y []byte) *PersistentVolumeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeDie) DieFeedYAMLFile

func (d *PersistentVolumeDie) DieFeedYAMLFile(name string) *PersistentVolumeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeDie) DieImmutable

func (d *PersistentVolumeDie) DieImmutable(immutable bool) *PersistentVolumeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeDie) DieReleaseJSON

func (d *PersistentVolumeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeDie) DieReleasePtr

func (d *PersistentVolumeDie) DieReleasePtr() *corev1.PersistentVolume

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeDie) DieReleaseRawExtension

func (d *PersistentVolumeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeDie) DieReleaseUnstructured

func (d *PersistentVolumeDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*PersistentVolumeDie) DieReleaseYAML

func (d *PersistentVolumeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeDie) DieStampAt

func (d *PersistentVolumeDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeDie) DieWith

func (d *PersistentVolumeDie) DieWith(fns ...func(d *PersistentVolumeDie)) *PersistentVolumeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeDie) GetObjectKind

func (d *PersistentVolumeDie) GetObjectKind() schema.ObjectKind

func (*PersistentVolumeDie) Kind

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

func (*PersistentVolumeDie) MarshalJSON

func (d *PersistentVolumeDie) MarshalJSON() ([]byte, error)

func (*PersistentVolumeDie) MetadataDie

func (d *PersistentVolumeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PersistentVolumeDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*PersistentVolumeDie) Spec

spec defines a specification of a persistent volume owned by the cluster.

Provisioned by an administrator.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

func (*PersistentVolumeDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*PersistentVolumeDie) Status

status represents the current information/status for the persistent volume.

Populated by the system.

Read-only.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

func (*PersistentVolumeDie) StatusDie

StatusDie stamps the resource's status field with a mutable die.

func (*PersistentVolumeDie) UnmarshalJSON

func (d *PersistentVolumeDie) UnmarshalJSON(b []byte) error

type PersistentVolumeSpecDie

type PersistentVolumeSpecDie struct {
	// contains filtered or unexported fields
}

func (*PersistentVolumeSpecDie) AWSElasticBlockStoreDie

func (*PersistentVolumeSpecDie) AccessModes

accessModes contains all ways the volume can be mounted.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

func (*PersistentVolumeSpecDie) AddCapacity

func (*PersistentVolumeSpecDie) AddCapacityString

func (d *PersistentVolumeSpecDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeSpecDie

func (*PersistentVolumeSpecDie) AzureDiskDie

func (*PersistentVolumeSpecDie) AzureFileDie

func (*PersistentVolumeSpecDie) CSIDie

func (*PersistentVolumeSpecDie) Capacity

capacity is the description of the persistent volume's resources and capacity.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

func (*PersistentVolumeSpecDie) CephFSDie

func (*PersistentVolumeSpecDie) CinderDie

func (*PersistentVolumeSpecDie) ClaimRef

claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

claim.VolumeName is the authoritative bind between PV and PVC.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding

func (*PersistentVolumeSpecDie) ClaimRefDie

func (*PersistentVolumeSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeSpecDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeSpecDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeSpecDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeSpecDie) DieFeedYAMLFile

func (d *PersistentVolumeSpecDie) DieFeedYAMLFile(name string) *PersistentVolumeSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeSpecDie) DieImmutable

func (d *PersistentVolumeSpecDie) DieImmutable(immutable bool) *PersistentVolumeSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeSpecDie) DieReleaseJSON

func (d *PersistentVolumeSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeSpecDie) DieReleaseRawExtension

func (d *PersistentVolumeSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeSpecDie) DieReleaseYAML

func (d *PersistentVolumeSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeSpecDie) DieStampAt

func (d *PersistentVolumeSpecDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeSpecDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeSpecDie) FCDie

func (*PersistentVolumeSpecDie) FlexVolumeDie

func (*PersistentVolumeSpecDie) FlockerDie

func (*PersistentVolumeSpecDie) GCEPersistentDiskDie

func (*PersistentVolumeSpecDie) GlusterfsDie

func (*PersistentVolumeSpecDie) HostPathDie

func (*PersistentVolumeSpecDie) ISCSIDie

func (*PersistentVolumeSpecDie) LocalDie

func (*PersistentVolumeSpecDie) MountOptions

mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will

simply fail if one is invalid.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options

func (*PersistentVolumeSpecDie) NFSDie

func (*PersistentVolumeSpecDie) NodeAffinity

nodeAffinity defines constraints that limit what nodes this volume can be accessed from.

This field influences the scheduling of pods that use this volume.

func (*PersistentVolumeSpecDie) NodeAffinityDie

func (*PersistentVolumeSpecDie) PersistentVolumeReclaimPolicy

persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.

Valid options are Retain (default for manually created PersistentVolumes), Delete (default

for dynamically provisioned PersistentVolumes), and Recycle (deprecated).

Recycle must be supported by the volume plugin underlying this PersistentVolume.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming

func (*PersistentVolumeSpecDie) PersistentVolumeSource

persistentVolumeSource is the actual volume backing the persistent volume.

func (*PersistentVolumeSpecDie) PhotonPersistentDiskDie

func (*PersistentVolumeSpecDie) PortworxVolumeDie

func (d *PersistentVolumeSpecDie) PortworxVolumeDie(fn func(d *PortworxVolumeSourceDie)) *PersistentVolumeSpecDie

func (*PersistentVolumeSpecDie) QuobyteDie

func (*PersistentVolumeSpecDie) RBDDie

func (*PersistentVolumeSpecDie) ScaleIODie

func (*PersistentVolumeSpecDie) StorageClassName

func (d *PersistentVolumeSpecDie) StorageClassName(v string) *PersistentVolumeSpecDie

storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value

means that this volume does not belong to any StorageClass.

func (*PersistentVolumeSpecDie) StorageOSDie

func (*PersistentVolumeSpecDie) VolumeAttributesClassName

func (d *PersistentVolumeSpecDie) VolumeAttributesClassName(v *string) *PersistentVolumeSpecDie

Name of VolumeAttributesClass to which this persistent volume belongs. Empty value

is not allowed. When this field is not set, it indicates that this volume does not belong to any

VolumeAttributesClass. This field is mutable and can be changed by the CSI driver

after a volume has been updated successfully to a new class.

For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound

PersistentVolumeClaims during the binding process.

This is an alpha field and requires enabling VolumeAttributesClass feature.

func (*PersistentVolumeSpecDie) VolumeMode

volumeMode defines if a volume is intended to be used with a formatted filesystem

or to remain in raw block state. Value of Filesystem is implied when not included in spec.

func (*PersistentVolumeSpecDie) VsphereVolumeDie

type PersistentVolumeStatusDie

type PersistentVolumeStatusDie struct {
	// contains filtered or unexported fields
}

func (*PersistentVolumeStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PersistentVolumeStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PersistentVolumeStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PersistentVolumeStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PersistentVolumeStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PersistentVolumeStatusDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PersistentVolumeStatusDie) DieImmutable

func (d *PersistentVolumeStatusDie) DieImmutable(immutable bool) *PersistentVolumeStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PersistentVolumeStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PersistentVolumeStatusDie) DieReleaseJSON

func (d *PersistentVolumeStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PersistentVolumeStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PersistentVolumeStatusDie) DieReleaseRawExtension

func (d *PersistentVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PersistentVolumeStatusDie) DieReleaseYAML

func (d *PersistentVolumeStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PersistentVolumeStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PersistentVolumeStatusDie) DieStampAt

func (d *PersistentVolumeStatusDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PersistentVolumeStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PersistentVolumeStatusDie) LastPhaseTransitionTime

func (d *PersistentVolumeStatusDie) LastPhaseTransitionTime(v *apismetav1.Time) *PersistentVolumeStatusDie

lastPhaseTransitionTime is the time the phase transitioned from one to another

and automatically resets to current time everytime a volume phase transitions.

This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).

func (*PersistentVolumeStatusDie) Message

message is a human-readable message indicating details about why the volume is in this state.

func (*PersistentVolumeStatusDie) Phase

phase indicates if a volume is available, bound to a claim, or released by a claim.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase

func (*PersistentVolumeStatusDie) Reason

reason is a brief CamelCase string that describes any failure and is meant

for machine parsing and tidy display in the CLI.

type PhotonPersistentDiskVolumeSourceDie

type PhotonPersistentDiskVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*PhotonPersistentDiskVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PhotonPersistentDiskVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PhotonPersistentDiskVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PhotonPersistentDiskVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PhotonPersistentDiskVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseJSON

func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseRawExtension

func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML

func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PhotonPersistentDiskVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PhotonPersistentDiskVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PhotonPersistentDiskVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PhotonPersistentDiskVolumeSourceDie) FSType

fsType is the 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.

func (*PhotonPersistentDiskVolumeSourceDie) PdID

pdID is the ID that identifies Photon Controller persistent disk

type PodDNSConfigDie

type PodDNSConfigDie struct {
	// contains filtered or unexported fields
}

func (*PodDNSConfigDie) DeepCopy

func (d *PodDNSConfigDie) DeepCopy() *PodDNSConfigDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodDNSConfigDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodDNSConfigDie) DieFeedJSON

func (d *PodDNSConfigDie) DieFeedJSON(j []byte) *PodDNSConfigDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodDNSConfigDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodDNSConfigDie) DieFeedRawExtension

func (d *PodDNSConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDNSConfigDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodDNSConfigDie) DieFeedYAML

func (d *PodDNSConfigDie) DieFeedYAML(y []byte) *PodDNSConfigDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodDNSConfigDie) DieFeedYAMLFile

func (d *PodDNSConfigDie) DieFeedYAMLFile(name string) *PodDNSConfigDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodDNSConfigDie) DieImmutable

func (d *PodDNSConfigDie) DieImmutable(immutable bool) *PodDNSConfigDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodDNSConfigDie) DieRelease

func (d *PodDNSConfigDie) DieRelease() corev1.PodDNSConfig

DieRelease returns the resource managed by the die.

func (*PodDNSConfigDie) DieReleaseJSON

func (d *PodDNSConfigDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodDNSConfigDie) DieReleasePtr

func (d *PodDNSConfigDie) DieReleasePtr() *corev1.PodDNSConfig

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodDNSConfigDie) DieReleaseRawExtension

func (d *PodDNSConfigDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodDNSConfigDie) DieReleaseYAML

func (d *PodDNSConfigDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodDNSConfigDie) DieStamp

func (d *PodDNSConfigDie) DieStamp(fn func(r *corev1.PodDNSConfig)) *PodDNSConfigDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodDNSConfigDie) DieStampAt

func (d *PodDNSConfigDie) DieStampAt(jp string, fn interface{}) *PodDNSConfigDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodDNSConfigDie) DieWith

func (d *PodDNSConfigDie) DieWith(fns ...func(d *PodDNSConfigDie)) *PodDNSConfigDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodDNSConfigDie) Nameservers

func (d *PodDNSConfigDie) Nameservers(v ...string) *PodDNSConfigDie

A list of DNS name server IP addresses.

This will be appended to the base nameservers generated from DNSPolicy.

Duplicated nameservers will be removed.

func (*PodDNSConfigDie) Options

A list of DNS resolver options.

This will be merged with the base options generated from DNSPolicy.

Duplicated entries will be removed. Resolution options given in Options

will override those that appear in the base DNSPolicy.

func (*PodDNSConfigDie) OptionsDie

func (d *PodDNSConfigDie) OptionsDie(options ...*PodDNSConfigOptionDie) *PodDNSConfigDie

func (*PodDNSConfigDie) Searches

func (d *PodDNSConfigDie) Searches(v ...string) *PodDNSConfigDie

A list of DNS search domains for host-name lookup.

This will be appended to the base search paths generated from DNSPolicy.

Duplicated search paths will be removed.

type PodDNSConfigOptionDie

type PodDNSConfigOptionDie struct {
	// contains filtered or unexported fields
}

func (*PodDNSConfigOptionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodDNSConfigOptionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodDNSConfigOptionDie) DieFeedJSON

func (d *PodDNSConfigOptionDie) DieFeedJSON(j []byte) *PodDNSConfigOptionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodDNSConfigOptionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodDNSConfigOptionDie) DieFeedRawExtension

func (d *PodDNSConfigOptionDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDNSConfigOptionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodDNSConfigOptionDie) DieFeedYAML

func (d *PodDNSConfigOptionDie) DieFeedYAML(y []byte) *PodDNSConfigOptionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodDNSConfigOptionDie) DieFeedYAMLFile

func (d *PodDNSConfigOptionDie) DieFeedYAMLFile(name string) *PodDNSConfigOptionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodDNSConfigOptionDie) DieImmutable

func (d *PodDNSConfigOptionDie) DieImmutable(immutable bool) *PodDNSConfigOptionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodDNSConfigOptionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodDNSConfigOptionDie) DieReleaseJSON

func (d *PodDNSConfigOptionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodDNSConfigOptionDie) DieReleasePtr

func (d *PodDNSConfigOptionDie) DieReleasePtr() *corev1.PodDNSConfigOption

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodDNSConfigOptionDie) DieReleaseRawExtension

func (d *PodDNSConfigOptionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodDNSConfigOptionDie) DieReleaseYAML

func (d *PodDNSConfigOptionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodDNSConfigOptionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodDNSConfigOptionDie) DieStampAt

func (d *PodDNSConfigOptionDie) DieStampAt(jp string, fn interface{}) *PodDNSConfigOptionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodDNSConfigOptionDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodDNSConfigOptionDie) Name

Required.

func (*PodDNSConfigOptionDie) Value

type PodDie

type PodDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*PodDie) APIVersion

func (d *PodDie) APIVersion(v string) *PodDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*PodDie) DeepCopy

func (d *PodDie) DeepCopy() *PodDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodDie) DeepCopyObject

func (d *PodDie) DeepCopyObject() runtime.Object

func (*PodDie) DieFeed

func (d *PodDie) DieFeed(r corev1.Pod) *PodDie

DieFeed returns a new die with the provided resource.

func (*PodDie) DieFeedJSON

func (d *PodDie) DieFeedJSON(j []byte) *PodDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodDie) DieFeedPtr

func (d *PodDie) DieFeedPtr(r *corev1.Pod) *PodDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodDie) DieFeedRawExtension

func (d *PodDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodDie) DieFeedYAML

func (d *PodDie) DieFeedYAML(y []byte) *PodDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodDie) DieFeedYAMLFile

func (d *PodDie) DieFeedYAMLFile(name string) *PodDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodDie) DieImmutable

func (d *PodDie) DieImmutable(immutable bool) *PodDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodDie) DieRelease

func (d *PodDie) DieRelease() corev1.Pod

DieRelease returns the resource managed by the die.

func (*PodDie) DieReleaseJSON

func (d *PodDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodDie) DieReleasePtr

func (d *PodDie) DieReleasePtr() *corev1.Pod

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodDie) DieReleaseRawExtension

func (d *PodDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodDie) DieReleaseUnstructured

func (d *PodDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*PodDie) DieReleaseYAML

func (d *PodDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodDie) DieStamp

func (d *PodDie) DieStamp(fn func(r *corev1.Pod)) *PodDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodDie) DieStampAt

func (d *PodDie) DieStampAt(jp string, fn interface{}) *PodDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodDie) DieWith

func (d *PodDie) DieWith(fns ...func(d *PodDie)) *PodDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodDie) GetObjectKind

func (d *PodDie) GetObjectKind() schema.ObjectKind

func (*PodDie) Kind

func (d *PodDie) Kind(v string) *PodDie

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

func (*PodDie) MarshalJSON

func (d *PodDie) MarshalJSON() ([]byte, error)

func (*PodDie) MetadataDie

func (d *PodDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*PodDie) Spec

func (d *PodDie) Spec(v corev1.PodSpec) *PodDie

Specification of the desired behavior of the pod.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*PodDie) SpecDie

func (d *PodDie) SpecDie(fn func(d *PodSpecDie)) *PodDie

SpecDie stamps the resource's spec field with a mutable die.

func (*PodDie) Status

func (d *PodDie) Status(v corev1.PodStatus) *PodDie

Most recently observed status of the pod.

This data may not be up to date.

Populated by the system.

Read-only.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*PodDie) StatusDie

func (d *PodDie) StatusDie(fn func(d *PodStatusDie)) *PodDie

StatusDie stamps the resource's status field with a mutable die.

func (*PodDie) UnmarshalJSON

func (d *PodDie) UnmarshalJSON(b []byte) error

type PodOSDie

type PodOSDie struct {
	// contains filtered or unexported fields
}

func (*PodOSDie) DeepCopy

func (d *PodOSDie) DeepCopy() *PodOSDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodOSDie) DieFeed

func (d *PodOSDie) DieFeed(r corev1.PodOS) *PodOSDie

DieFeed returns a new die with the provided resource.

func (*PodOSDie) DieFeedJSON

func (d *PodOSDie) DieFeedJSON(j []byte) *PodOSDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodOSDie) DieFeedPtr

func (d *PodOSDie) DieFeedPtr(r *corev1.PodOS) *PodOSDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodOSDie) DieFeedRawExtension

func (d *PodOSDie) DieFeedRawExtension(raw runtime.RawExtension) *PodOSDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodOSDie) DieFeedYAML

func (d *PodOSDie) DieFeedYAML(y []byte) *PodOSDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodOSDie) DieFeedYAMLFile

func (d *PodOSDie) DieFeedYAMLFile(name string) *PodOSDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodOSDie) DieImmutable

func (d *PodOSDie) DieImmutable(immutable bool) *PodOSDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodOSDie) DieRelease

func (d *PodOSDie) DieRelease() corev1.PodOS

DieRelease returns the resource managed by the die.

func (*PodOSDie) DieReleaseJSON

func (d *PodOSDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodOSDie) DieReleasePtr

func (d *PodOSDie) DieReleasePtr() *corev1.PodOS

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodOSDie) DieReleaseRawExtension

func (d *PodOSDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodOSDie) DieReleaseYAML

func (d *PodOSDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodOSDie) DieStamp

func (d *PodOSDie) DieStamp(fn func(r *corev1.PodOS)) *PodOSDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodOSDie) DieStampAt

func (d *PodOSDie) DieStampAt(jp string, fn interface{}) *PodOSDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodOSDie) DieWith

func (d *PodOSDie) DieWith(fns ...func(d *PodOSDie)) *PodOSDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodOSDie) Name

func (d *PodOSDie) Name(v corev1.OSName) *PodOSDie

Name is the name of the operating system. The currently supported values are linux and windows.

Additional value may be defined in future and can be one of:

https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration

Clients should expect to handle additional values and treat unrecognized values in this field as os: null

type PodReadinessGateDie

type PodReadinessGateDie struct {
	// contains filtered or unexported fields
}

func (*PodReadinessGateDie) ConditionType

ConditionType refers to a condition in the pod's condition list with matching type.

func (*PodReadinessGateDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodReadinessGateDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodReadinessGateDie) DieFeedJSON

func (d *PodReadinessGateDie) DieFeedJSON(j []byte) *PodReadinessGateDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodReadinessGateDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodReadinessGateDie) DieFeedRawExtension

func (d *PodReadinessGateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodReadinessGateDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodReadinessGateDie) DieFeedYAML

func (d *PodReadinessGateDie) DieFeedYAML(y []byte) *PodReadinessGateDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodReadinessGateDie) DieFeedYAMLFile

func (d *PodReadinessGateDie) DieFeedYAMLFile(name string) *PodReadinessGateDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodReadinessGateDie) DieImmutable

func (d *PodReadinessGateDie) DieImmutable(immutable bool) *PodReadinessGateDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodReadinessGateDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodReadinessGateDie) DieReleaseJSON

func (d *PodReadinessGateDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodReadinessGateDie) DieReleasePtr

func (d *PodReadinessGateDie) DieReleasePtr() *corev1.PodReadinessGate

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodReadinessGateDie) DieReleaseRawExtension

func (d *PodReadinessGateDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodReadinessGateDie) DieReleaseYAML

func (d *PodReadinessGateDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodReadinessGateDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodReadinessGateDie) DieStampAt

func (d *PodReadinessGateDie) DieStampAt(jp string, fn interface{}) *PodReadinessGateDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodReadinessGateDie) DieWith

func (d *PodReadinessGateDie) DieWith(fns ...func(d *PodReadinessGateDie)) *PodReadinessGateDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

type PodResourceClaimDie

type PodResourceClaimDie struct {
	// contains filtered or unexported fields
}

func (*PodResourceClaimDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodResourceClaimDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodResourceClaimDie) DieFeedJSON

func (d *PodResourceClaimDie) DieFeedJSON(j []byte) *PodResourceClaimDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodResourceClaimDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodResourceClaimDie) DieFeedRawExtension

func (d *PodResourceClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *PodResourceClaimDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodResourceClaimDie) DieFeedYAML

func (d *PodResourceClaimDie) DieFeedYAML(y []byte) *PodResourceClaimDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodResourceClaimDie) DieFeedYAMLFile

func (d *PodResourceClaimDie) DieFeedYAMLFile(name string) *PodResourceClaimDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodResourceClaimDie) DieImmutable

func (d *PodResourceClaimDie) DieImmutable(immutable bool) *PodResourceClaimDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodResourceClaimDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodResourceClaimDie) DieReleaseJSON

func (d *PodResourceClaimDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodResourceClaimDie) DieReleasePtr

func (d *PodResourceClaimDie) DieReleasePtr() *corev1.PodResourceClaim

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodResourceClaimDie) DieReleaseRawExtension

func (d *PodResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodResourceClaimDie) DieReleaseYAML

func (d *PodResourceClaimDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodResourceClaimDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodResourceClaimDie) DieStampAt

func (d *PodResourceClaimDie) DieStampAt(jp string, fn interface{}) *PodResourceClaimDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodResourceClaimDie) DieWith

func (d *PodResourceClaimDie) DieWith(fns ...func(d *PodResourceClaimDie)) *PodResourceClaimDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodResourceClaimDie) Name

Name uniquely identifies this resource claim inside the pod.

This must be a DNS_LABEL.

func (*PodResourceClaimDie) Source

Source describes where to find the ResourceClaim.

func (*PodResourceClaimDie) SourceDie

func (d *PodResourceClaimDie) SourceDie(fn func(d *ClaimSourceDie)) *PodResourceClaimDie

type PodSchedulingGateDie

type PodSchedulingGateDie struct {
	// contains filtered or unexported fields
}

func (*PodSchedulingGateDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodSchedulingGateDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodSchedulingGateDie) DieFeedJSON

func (d *PodSchedulingGateDie) DieFeedJSON(j []byte) *PodSchedulingGateDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodSchedulingGateDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodSchedulingGateDie) DieFeedRawExtension

func (d *PodSchedulingGateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSchedulingGateDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodSchedulingGateDie) DieFeedYAML

func (d *PodSchedulingGateDie) DieFeedYAML(y []byte) *PodSchedulingGateDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodSchedulingGateDie) DieFeedYAMLFile

func (d *PodSchedulingGateDie) DieFeedYAMLFile(name string) *PodSchedulingGateDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodSchedulingGateDie) DieImmutable

func (d *PodSchedulingGateDie) DieImmutable(immutable bool) *PodSchedulingGateDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodSchedulingGateDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodSchedulingGateDie) DieReleaseJSON

func (d *PodSchedulingGateDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodSchedulingGateDie) DieReleasePtr

func (d *PodSchedulingGateDie) DieReleasePtr() *corev1.PodSchedulingGate

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodSchedulingGateDie) DieReleaseRawExtension

func (d *PodSchedulingGateDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodSchedulingGateDie) DieReleaseYAML

func (d *PodSchedulingGateDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodSchedulingGateDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodSchedulingGateDie) DieStampAt

func (d *PodSchedulingGateDie) DieStampAt(jp string, fn interface{}) *PodSchedulingGateDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodSchedulingGateDie) DieWith

func (d *PodSchedulingGateDie) DieWith(fns ...func(d *PodSchedulingGateDie)) *PodSchedulingGateDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodSchedulingGateDie) Name

Name of the scheduling gate.

Each scheduling gate must have a unique name field.

type PodSecurityContextDie

type PodSecurityContextDie struct {
	// contains filtered or unexported fields
}

func (*PodSecurityContextDie) AppArmorProfile added in v0.12.0

appArmorProfile is the AppArmor options to use by the containers in this pod.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) AppArmorProfileDie added in v0.12.0

func (d *PodSecurityContextDie) AppArmorProfileDie(fn func(d *AppArmorProfileDie)) *PodSecurityContextDie

func (*PodSecurityContextDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodSecurityContextDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodSecurityContextDie) DieFeedJSON

func (d *PodSecurityContextDie) DieFeedJSON(j []byte) *PodSecurityContextDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodSecurityContextDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodSecurityContextDie) DieFeedRawExtension

func (d *PodSecurityContextDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSecurityContextDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodSecurityContextDie) DieFeedYAML

func (d *PodSecurityContextDie) DieFeedYAML(y []byte) *PodSecurityContextDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodSecurityContextDie) DieFeedYAMLFile

func (d *PodSecurityContextDie) DieFeedYAMLFile(name string) *PodSecurityContextDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodSecurityContextDie) DieImmutable

func (d *PodSecurityContextDie) DieImmutable(immutable bool) *PodSecurityContextDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodSecurityContextDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodSecurityContextDie) DieReleaseJSON

func (d *PodSecurityContextDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodSecurityContextDie) DieReleasePtr

func (d *PodSecurityContextDie) DieReleasePtr() *corev1.PodSecurityContext

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodSecurityContextDie) DieReleaseRawExtension

func (d *PodSecurityContextDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodSecurityContextDie) DieReleaseYAML

func (d *PodSecurityContextDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodSecurityContextDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodSecurityContextDie) DieStampAt

func (d *PodSecurityContextDie) DieStampAt(jp string, fn interface{}) *PodSecurityContextDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodSecurityContextDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodSecurityContextDie) FSGroup

A special supplemental group that applies to all containers in a pod.

Some volume types allow the Kubelet to change the ownership of that volume

to be owned by the pod:

1. The owning GID will be the FSGroup

2. The setgid bit is set (new files created in the volume will be owned by FSGroup)

3. The permission bits are OR'd with rw-rw----

If unset, the Kubelet will not modify the ownership and permissions of any volume.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) FSGroupChangePolicy

fsGroupChangePolicy defines behavior of changing ownership and permission of the volume

before being exposed inside Pod. This field will only apply to

volume types which support fsGroup based ownership(and permissions).

It will have no effect on ephemeral volume types such as: secret, configmaps

and emptydir.

Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) RunAsGroup

The GID to run the entrypoint of the container process.

Uses runtime default if unset.

May also be set in SecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence

for that container.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) RunAsNonRoot

func (d *PodSecurityContextDie) RunAsNonRoot(v *bool) *PodSecurityContextDie

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it

does not run as UID 0 (root) and fail to start the container if it does.

If unset or false, no such validation will be performed.

May also be set in SecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence.

func (*PodSecurityContextDie) RunAsUser

The UID to run the entrypoint of the container process.

Defaults to user specified in image metadata if unspecified.

May also be set in SecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence

for that container.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) SELinuxOptions

The SELinux context to be applied to all containers.

If unspecified, the container runtime will allocate a random SELinux context for each

container. May also be set in SecurityContext. If set in

both SecurityContext and PodSecurityContext, the value specified in SecurityContext

takes precedence for that container.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) SELinuxOptionsDie

func (d *PodSecurityContextDie) SELinuxOptionsDie(fn func(d *SELinuxOptionsDie)) *PodSecurityContextDie

func (*PodSecurityContextDie) SeccompProfile

The seccomp options to use by the containers in this pod.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) SeccompProfileDie

func (d *PodSecurityContextDie) SeccompProfileDie(fn func(d *SeccompProfileDie)) *PodSecurityContextDie

func (*PodSecurityContextDie) SupplementalGroups

func (d *PodSecurityContextDie) SupplementalGroups(v ...int64) *PodSecurityContextDie

A list of groups applied to the first process run in each container, in addition

to the container's primary GID, the fsGroup (if specified), and group memberships

defined in the container image for the uid of the container process. If unspecified,

no additional groups are added to any container. Note that group memberships

defined in the container image for the uid of the container process are still effective,

even if they are not included in this list.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) Sysctls

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported

sysctls (by the container runtime) might fail to launch.

Note that this field cannot be set when spec.os.name is windows.

func (*PodSecurityContextDie) SysctlsDie

func (d *PodSecurityContextDie) SysctlsDie(sysctls ...*SysctlDie) *PodSecurityContextDie

func (*PodSecurityContextDie) WindowsOptions

The Windows specific settings applied to all containers.

If unspecified, the options within a container's SecurityContext will be used.

If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

Note that this field cannot be set when spec.os.name is linux.

func (*PodSecurityContextDie) WindowsOptionsDie

type PodSpecDie

type PodSpecDie struct {
	// contains filtered or unexported fields
}

func (*PodSpecDie) ActiveDeadlineSeconds

func (d *PodSpecDie) ActiveDeadlineSeconds(v *int64) *PodSpecDie

Optional duration in seconds the pod may be active on the node relative to

StartTime before the system will actively try to mark it failed and kill associated containers.

Value must be a positive integer.

func (*PodSpecDie) AddOverhead

func (d *PodSpecDie) AddOverhead(name corev1.ResourceName, quantity resource.Quantity) *PodSpecDie

func (*PodSpecDie) AddOverheadString

func (d *PodSpecDie) AddOverheadString(name corev1.ResourceName, quantity string) *PodSpecDie

func (*PodSpecDie) Affinity

func (d *PodSpecDie) Affinity(v *corev1.Affinity) *PodSpecDie

If specified, the pod's scheduling constraints

func (*PodSpecDie) AutomountServiceAccountToken

func (d *PodSpecDie) AutomountServiceAccountToken(v *bool) *PodSpecDie

AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.

func (*PodSpecDie) ContainerDie

func (d *PodSpecDie) ContainerDie(name string, fn func(d *ContainerDie)) *PodSpecDie

func (*PodSpecDie) Containers

func (d *PodSpecDie) Containers(v ...corev1.Container) *PodSpecDie

List of containers belonging to the pod.

Containers cannot currently be added or removed.

There must be at least one container in a Pod.

Cannot be updated.

func (*PodSpecDie) DNSConfig

func (d *PodSpecDie) DNSConfig(v *corev1.PodDNSConfig) *PodSpecDie

Specifies the DNS parameters of a pod.

Parameters specified here will be merged to the generated DNS

configuration based on DNSPolicy.

func (*PodSpecDie) DNSConfigDie

func (d *PodSpecDie) DNSConfigDie(fn func(d *PodDNSConfigDie)) *PodSpecDie

func (*PodSpecDie) DNSPolicy

func (d *PodSpecDie) DNSPolicy(v corev1.DNSPolicy) *PodSpecDie

Set DNS policy for the pod.

Defaults to "ClusterFirst".

Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.

DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.

To have DNS options set along with hostNetwork, you have to specify DNS policy

explicitly to 'ClusterFirstWithHostNet'.

func (*PodSpecDie) DeepCopy

func (d *PodSpecDie) DeepCopy() *PodSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodSpecDie) DeprecatedServiceAccount deprecated

func (d *PodSpecDie) DeprecatedServiceAccount(v string) *PodSpecDie

DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.

Deprecated: Use serviceAccountName instead.

func (*PodSpecDie) DieFeed

func (d *PodSpecDie) DieFeed(r corev1.PodSpec) *PodSpecDie

DieFeed returns a new die with the provided resource.

func (*PodSpecDie) DieFeedJSON

func (d *PodSpecDie) DieFeedJSON(j []byte) *PodSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodSpecDie) DieFeedPtr

func (d *PodSpecDie) DieFeedPtr(r *corev1.PodSpec) *PodSpecDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodSpecDie) DieFeedRawExtension

func (d *PodSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodSpecDie) DieFeedYAML

func (d *PodSpecDie) DieFeedYAML(y []byte) *PodSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodSpecDie) DieFeedYAMLFile

func (d *PodSpecDie) DieFeedYAMLFile(name string) *PodSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodSpecDie) DieImmutable

func (d *PodSpecDie) DieImmutable(immutable bool) *PodSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodSpecDie) DieRelease

func (d *PodSpecDie) DieRelease() corev1.PodSpec

DieRelease returns the resource managed by the die.

func (*PodSpecDie) DieReleaseJSON

func (d *PodSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodSpecDie) DieReleasePtr

func (d *PodSpecDie) DieReleasePtr() *corev1.PodSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodSpecDie) DieReleaseRawExtension

func (d *PodSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodSpecDie) DieReleaseYAML

func (d *PodSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodSpecDie) DieStamp

func (d *PodSpecDie) DieStamp(fn func(r *corev1.PodSpec)) *PodSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodSpecDie) DieStampAt

func (d *PodSpecDie) DieStampAt(jp string, fn interface{}) *PodSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodSpecDie) DieWith

func (d *PodSpecDie) DieWith(fns ...func(d *PodSpecDie)) *PodSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (d *PodSpecDie) EnableServiceLinks(v *bool) *PodSpecDie

EnableServiceLinks indicates whether information about services should be injected into pod's

environment variables, matching the syntax of Docker links.

Optional: Defaults to true.

func (*PodSpecDie) EphemeralContainers

func (d *PodSpecDie) EphemeralContainers(v ...corev1.EphemeralContainer) *PodSpecDie

List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing

pod to perform user-initiated actions such as debugging. This list cannot be specified when

creating a pod, and it cannot be modified by updating the pod spec. In order to add an

ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.

func (*PodSpecDie) HostAliases

func (d *PodSpecDie) HostAliases(v ...corev1.HostAlias) *PodSpecDie

HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts

file if specified.

func (*PodSpecDie) HostAliasesDie

func (d *PodSpecDie) HostAliasesDie(hosts ...*HostAliasDie) *PodSpecDie

func (*PodSpecDie) HostIPC

func (d *PodSpecDie) HostIPC(v bool) *PodSpecDie

Use the host's ipc namespace.

Optional: Default to false.

func (*PodSpecDie) HostNetwork

func (d *PodSpecDie) HostNetwork(v bool) *PodSpecDie

Host networking requested for this pod. Use the host's network namespace.

If this option is set, the ports that will be used must be specified.

Default to false.

func (*PodSpecDie) HostPID

func (d *PodSpecDie) HostPID(v bool) *PodSpecDie

Use the host's pid namespace.

Optional: Default to false.

func (*PodSpecDie) HostUsers

func (d *PodSpecDie) HostUsers(v *bool) *PodSpecDie

Use the host's user namespace.

Optional: Default to true.

If set to true or not present, the pod will be run in the host user namespace, useful

for when the pod needs a feature only available to the host user namespace, such as

loading a kernel module with CAP_SYS_MODULE.

When set to false, a new userns is created for the pod. Setting false is useful for

mitigating container breakout vulnerabilities even allowing users to run their

containers as root without actually having root privileges on the host.

This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.

func (*PodSpecDie) Hostname

func (d *PodSpecDie) Hostname(v string) *PodSpecDie

Specifies the hostname of the Pod

If not specified, the pod's hostname will be set to a system-defined value.

func (*PodSpecDie) ImagePullSecrets

func (d *PodSpecDie) ImagePullSecrets(v ...corev1.LocalObjectReference) *PodSpecDie

ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.

If specified, these secrets will be passed to individual puller implementations for them to use.

More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

func (*PodSpecDie) InitContainerDie

func (d *PodSpecDie) InitContainerDie(name string, fn func(d *ContainerDie)) *PodSpecDie

func (*PodSpecDie) InitContainers

func (d *PodSpecDie) InitContainers(v ...corev1.Container) *PodSpecDie

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started. If any

init container fails, the pod is considered to have failed and is handled according

to its restartPolicy. The name for an init container or normal container must be

unique among all containers.

Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.

The resourceRequirements of an init container are taken into account during scheduling

by finding the highest request/limit for each resource type, and then using the max of

of that value or the sum of the normal containers. Limits are applied to init containers

in a similar fashion.

Init containers cannot currently be added or removed.

Cannot be updated.

More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

func (*PodSpecDie) NodeName

func (d *PodSpecDie) NodeName(v string) *PodSpecDie

NodeName is a request to schedule this pod onto a specific node. If it is non-empty,

the scheduler simply schedules this pod onto that node, assuming that it fits resource

requirements.

func (*PodSpecDie) NodeSelector

func (d *PodSpecDie) NodeSelector(v map[string]string) *PodSpecDie

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/

func (*PodSpecDie) OS

func (d *PodSpecDie) OS(v *corev1.PodOS) *PodSpecDie

Specifies the OS of the containers in the pod.

Some pod and container fields are restricted if this is set.

If the OS field is set to linux, the following fields must be unset:

-securityContext.windowsOptions

If the OS field is set to windows, following fields must be unset:

- spec.hostPID

- spec.hostIPC

- spec.hostUsers

- spec.securityContext.appArmorProfile

- spec.securityContext.seLinuxOptions

- spec.securityContext.seccompProfile

- spec.securityContext.fsGroup

- spec.securityContext.fsGroupChangePolicy

- spec.securityContext.sysctls

- spec.shareProcessNamespace

- spec.securityContext.runAsUser

- spec.securityContext.runAsGroup

- spec.securityContext.supplementalGroups

- spec.containers[*].securityContext.appArmorProfile

- spec.containers[*].securityContext.seLinuxOptions

- spec.containers[*].securityContext.seccompProfile

- spec.containers[*].securityContext.capabilities

- spec.containers[*].securityContext.readOnlyRootFilesystem

- spec.containers[*].securityContext.privileged

- spec.containers[*].securityContext.allowPrivilegeEscalation

- spec.containers[*].securityContext.procMount

- spec.containers[*].securityContext.runAsUser

- spec.containers[*].securityContext.runAsGroup

func (*PodSpecDie) OSDie

func (d *PodSpecDie) OSDie(fn func(d *PodOSDie)) *PodSpecDie

func (*PodSpecDie) Overhead

func (d *PodSpecDie) Overhead(v corev1.ResourceList) *PodSpecDie

Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.

This field will be autopopulated at admission time by the RuntimeClass admission controller. If

the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests.

The RuntimeClass admission controller will reject Pod create requests which have the overhead already

set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value

defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero.

More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md

func (*PodSpecDie) PreemptionPolicy

func (d *PodSpecDie) PreemptionPolicy(v *corev1.PreemptionPolicy) *PodSpecDie

PreemptionPolicy is the Policy for preempting pods with lower priority.

One of Never, PreemptLowerPriority.

Defaults to PreemptLowerPriority if unset.

func (*PodSpecDie) Priority

func (d *PodSpecDie) Priority(v *int32) *PodSpecDie

The priority value. Various system components use this field to find the

priority of the pod. When Priority Admission Controller is enabled, it

prevents users from setting this field. The admission controller populates

this field from PriorityClassName.

The higher the value, the higher the priority.

func (*PodSpecDie) PriorityClassName

func (d *PodSpecDie) PriorityClassName(v string) *PodSpecDie

If specified, indicates the pod's priority. "system-node-critical" and

"system-cluster-critical" are two special keywords which indicate the

highest priorities with the former being the highest priority. Any other

name must be defined by creating a PriorityClass object with that name.

If not specified, the pod priority will be default or zero if there is no

default.

func (*PodSpecDie) ReadinessGates

func (d *PodSpecDie) ReadinessGates(v ...corev1.PodReadinessGate) *PodSpecDie

If specified, all readiness gates will be evaluated for pod readiness.

A pod is ready when all its containers are ready AND

all conditions specified in the readiness gates have status equal to "True"

More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates

func (*PodSpecDie) ReadinessGatesDie

func (d *PodSpecDie) ReadinessGatesDie(gates ...*PodReadinessGateDie) *PodSpecDie

func (*PodSpecDie) ResourceClaims

func (d *PodSpecDie) ResourceClaims(v ...corev1.PodResourceClaim) *PodSpecDie

ResourceClaims defines which ResourceClaims must be allocated

and reserved before the Pod is allowed to start. The resources

will be made available to those containers which consume them

by name.

This is an alpha field and requires enabling the

DynamicResourceAllocation feature gate.

This field is immutable.

func (*PodSpecDie) ResourceClaimsDie

func (d *PodSpecDie) ResourceClaimsDie(gates ...*PodResourceClaimDie) *PodSpecDie

func (*PodSpecDie) RestartPolicy

func (d *PodSpecDie) RestartPolicy(v corev1.RestartPolicy) *PodSpecDie

Restart policy for all containers within the pod.

One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.

Default to Always.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

func (*PodSpecDie) RuntimeClassName

func (d *PodSpecDie) RuntimeClassName(v *string) *PodSpecDie

RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used

to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run.

If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an

empty definition that uses the default runtime handler.

More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class

func (*PodSpecDie) SchedulerName

func (d *PodSpecDie) SchedulerName(v string) *PodSpecDie

If specified, the pod will be dispatched by specified scheduler.

If not specified, the pod will be dispatched by default scheduler.

func (*PodSpecDie) SchedulingGates

func (d *PodSpecDie) SchedulingGates(v ...corev1.PodSchedulingGate) *PodSpecDie

SchedulingGates is an opaque list of values that if specified will block scheduling the pod.

If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the

scheduler will not attempt to schedule the pod.

SchedulingGates can only be set at pod creation time, and be removed only afterwards.

func (*PodSpecDie) SchedulingGatesDie

func (d *PodSpecDie) SchedulingGatesDie(gates ...*PodSchedulingGateDie) *PodSpecDie

func (*PodSpecDie) SecurityContext

func (d *PodSpecDie) SecurityContext(v *corev1.PodSecurityContext) *PodSpecDie

SecurityContext holds pod-level security attributes and common container settings.

Optional: Defaults to empty. See type description for default values of each field.

func (*PodSpecDie) SecurityContextDie

func (d *PodSpecDie) SecurityContextDie(fn func(d *PodSecurityContextDie)) *PodSpecDie

func (*PodSpecDie) ServiceAccountName

func (d *PodSpecDie) ServiceAccountName(v string) *PodSpecDie

ServiceAccountName is the name of the ServiceAccount to use to run this pod.

More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

func (*PodSpecDie) SetHostnameAsFQDN

func (d *PodSpecDie) SetHostnameAsFQDN(v *bool) *PodSpecDie

If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).

In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).

In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN.

If a pod does not have FQDN, this has no effect.

Default to false.

func (*PodSpecDie) ShareProcessNamespace

func (d *PodSpecDie) ShareProcessNamespace(v *bool) *PodSpecDie

Share a single process namespace between all of the containers in a pod.

When this is set containers will be able to view and signal processes from other containers

in the same pod, and the first process in each container will not be assigned PID 1.

HostPID and ShareProcessNamespace cannot both be set.

Optional: Default to false.

func (*PodSpecDie) Subdomain

func (d *PodSpecDie) Subdomain(v string) *PodSpecDie

If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".

If not specified, the pod will not have a domainname at all.

func (*PodSpecDie) TerminationGracePeriodSeconds

func (d *PodSpecDie) TerminationGracePeriodSeconds(v *int64) *PodSpecDie

Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.

Value must be non-negative integer. The value zero indicates stop immediately via

the kill signal (no opportunity to shut down).

If this value is nil, the default grace period will be used instead.

The grace period is the duration in seconds after the processes running in the pod are sent

a termination signal and the time when the processes are forcibly halted with a kill signal.

Set this value longer than the expected cleanup time for your process.

Defaults to 30 seconds.

func (*PodSpecDie) TolerationDie

func (d *PodSpecDie) TolerationDie(key string, fn func(d *TolerationDie)) *PodSpecDie

func (*PodSpecDie) Tolerations

func (d *PodSpecDie) Tolerations(v ...corev1.Toleration) *PodSpecDie

If specified, the pod's tolerations.

func (*PodSpecDie) TopologySpreadConstraintDie

func (d *PodSpecDie) TopologySpreadConstraintDie(topologyKey string, fn func(d *TopologySpreadConstraintDie)) *PodSpecDie

func (*PodSpecDie) TopologySpreadConstraints

func (d *PodSpecDie) TopologySpreadConstraints(v ...corev1.TopologySpreadConstraint) *PodSpecDie

TopologySpreadConstraints describes how a group of pods ought to spread across topology

domains. Scheduler will schedule pods in a way which abides by the constraints.

All topologySpreadConstraints are ANDed.

func (*PodSpecDie) VolumeDie

func (d *PodSpecDie) VolumeDie(name string, fn func(d *VolumeDie)) *PodSpecDie

func (*PodSpecDie) Volumes

func (d *PodSpecDie) Volumes(v ...corev1.Volume) *PodSpecDie

List of volumes that can be mounted by containers belonging to the pod.

More info: https://kubernetes.io/docs/concepts/storage/volumes

type PodStatusDie

type PodStatusDie struct {
	// contains filtered or unexported fields
}

func (*PodStatusDie) Conditions

func (d *PodStatusDie) Conditions(v ...corev1.PodCondition) *PodStatusDie

Current service state of pod.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

func (*PodStatusDie) ConditionsDie

func (d *PodStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PodStatusDie

func (*PodStatusDie) ContainerStatusDie

func (d *PodStatusDie) ContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie

func (*PodStatusDie) ContainerStatuses

func (d *PodStatusDie) ContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie

The list has one entry per container in the manifest.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

func (*PodStatusDie) DeepCopy

func (d *PodStatusDie) DeepCopy() *PodStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodStatusDie) DieFeed

func (d *PodStatusDie) DieFeed(r corev1.PodStatus) *PodStatusDie

DieFeed returns a new die with the provided resource.

func (*PodStatusDie) DieFeedJSON

func (d *PodStatusDie) DieFeedJSON(j []byte) *PodStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodStatusDie) DieFeedPtr

func (d *PodStatusDie) DieFeedPtr(r *corev1.PodStatus) *PodStatusDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodStatusDie) DieFeedRawExtension

func (d *PodStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PodStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodStatusDie) DieFeedYAML

func (d *PodStatusDie) DieFeedYAML(y []byte) *PodStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodStatusDie) DieFeedYAMLFile

func (d *PodStatusDie) DieFeedYAMLFile(name string) *PodStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodStatusDie) DieImmutable

func (d *PodStatusDie) DieImmutable(immutable bool) *PodStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodStatusDie) DieRelease

func (d *PodStatusDie) DieRelease() corev1.PodStatus

DieRelease returns the resource managed by the die.

func (*PodStatusDie) DieReleaseJSON

func (d *PodStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodStatusDie) DieReleasePtr

func (d *PodStatusDie) DieReleasePtr() *corev1.PodStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodStatusDie) DieReleaseRawExtension

func (d *PodStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodStatusDie) DieReleaseYAML

func (d *PodStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodStatusDie) DieStamp

func (d *PodStatusDie) DieStamp(fn func(r *corev1.PodStatus)) *PodStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodStatusDie) DieStampAt

func (d *PodStatusDie) DieStampAt(jp string, fn interface{}) *PodStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodStatusDie) DieWith

func (d *PodStatusDie) DieWith(fns ...func(d *PodStatusDie)) *PodStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodStatusDie) EphemeralContainerStatusDie

func (d *PodStatusDie) EphemeralContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie

func (*PodStatusDie) EphemeralContainerStatuses

func (d *PodStatusDie) EphemeralContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie

Status for any ephemeral containers that have run in this pod.

func (*PodStatusDie) HostIP

func (d *PodStatusDie) HostIP(v string) *PodStatusDie

hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.

A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will

not be updated even if there is a node is assigned to pod

func (*PodStatusDie) HostIPs

func (d *PodStatusDie) HostIPs(v ...corev1.HostIP) *PodStatusDie

hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must

match the hostIP field. This list is empty if the pod has not started yet.

A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will

not be updated even if there is a node is assigned to this pod.

func (*PodStatusDie) InitContainerStatusDie

func (d *PodStatusDie) InitContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie

func (*PodStatusDie) InitContainerStatuses

func (d *PodStatusDie) InitContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie

The list has one entry per init container in the manifest. The most recent successful

init container will have ready = true, the most recently started container will have

startTime set.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

func (*PodStatusDie) Message

func (d *PodStatusDie) Message(v string) *PodStatusDie

A human readable message indicating details about why the pod is in this condition.

func (*PodStatusDie) NominatedNodeName

func (d *PodStatusDie) NominatedNodeName(v string) *PodStatusDie

nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be

scheduled right away as preemption victims receive their graceful termination periods.

This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide

to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to

give the resources on this node to a higher priority pod that is created after preemption.

As a result, this field may be different than PodSpec.nodeName when the pod is

scheduled.

func (*PodStatusDie) Phase

The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.

The conditions array, the reason and message fields, and the individual container status

arrays contain more detail about the pod's status.

There are five possible phase values:

Pending: The pod has been accepted by the Kubernetes system, but one or more of the

container images has not been created. This includes time before being scheduled as

well as time spent downloading images over the network, which could take a while.

Running: The pod has been bound to a node, and all of the containers have been created.

At least one container is still running, or is in the process of starting or restarting.

Succeeded: All containers in the pod have terminated in success, and will not be restarted.

Failed: All containers in the pod have terminated, and at least one container has

terminated in failure. The container either exited with non-zero status or was terminated

by the system.

Unknown: For some reason the state of the pod could not be obtained, typically due to an

error in communicating with the host of the pod.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase

func (*PodStatusDie) PodIP

func (d *PodStatusDie) PodIP(v string) *PodStatusDie

podIP address allocated to the pod. Routable at least within the cluster.

Empty if not yet allocated.

func (*PodStatusDie) PodIPs

func (d *PodStatusDie) PodIPs(v ...corev1.PodIP) *PodStatusDie

podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must

match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list

is empty if no IPs have been allocated yet.

func (*PodStatusDie) QOSClass

func (d *PodStatusDie) QOSClass(v corev1.PodQOSClass) *PodStatusDie

The Quality of Service (QOS) classification assigned to the pod based on resource requirements

See PodQOSClass type for available QOS classes

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes

func (*PodStatusDie) Reason

func (d *PodStatusDie) Reason(v string) *PodStatusDie

A brief CamelCase message indicating details about why the pod is in this state.

e.g. 'Evicted'

func (*PodStatusDie) Resize

Status of resources resize desired for pod's containers.

It is empty if no resources resize is pending.

Any changes to container resources will automatically set this to "Proposed"

func (*PodStatusDie) ResourceClaimStatuses

func (d *PodStatusDie) ResourceClaimStatuses(v ...corev1.PodResourceClaimStatus) *PodStatusDie

Status of resource claims.

func (*PodStatusDie) StartTime

func (d *PodStatusDie) StartTime(v *apismetav1.Time) *PodStatusDie

RFC 3339 date and time at which the object was acknowledged by the Kubelet.

This is before the Kubelet pulled the container image(s) for the pod.

type PodTemplateDie

type PodTemplateDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*PodTemplateDie) APIVersion

func (d *PodTemplateDie) APIVersion(v string) *PodTemplateDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*PodTemplateDie) DeepCopy

func (d *PodTemplateDie) DeepCopy() *PodTemplateDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodTemplateDie) DeepCopyObject

func (d *PodTemplateDie) DeepCopyObject() runtime.Object

func (*PodTemplateDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodTemplateDie) DieFeedJSON

func (d *PodTemplateDie) DieFeedJSON(j []byte) *PodTemplateDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodTemplateDie) DieFeedPtr

func (d *PodTemplateDie) DieFeedPtr(r *corev1.PodTemplate) *PodTemplateDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodTemplateDie) DieFeedRawExtension

func (d *PodTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodTemplateDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodTemplateDie) DieFeedYAML

func (d *PodTemplateDie) DieFeedYAML(y []byte) *PodTemplateDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodTemplateDie) DieFeedYAMLFile

func (d *PodTemplateDie) DieFeedYAMLFile(name string) *PodTemplateDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodTemplateDie) DieImmutable

func (d *PodTemplateDie) DieImmutable(immutable bool) *PodTemplateDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodTemplateDie) DieRelease

func (d *PodTemplateDie) DieRelease() corev1.PodTemplate

DieRelease returns the resource managed by the die.

func (*PodTemplateDie) DieReleaseJSON

func (d *PodTemplateDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodTemplateDie) DieReleasePtr

func (d *PodTemplateDie) DieReleasePtr() *corev1.PodTemplate

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodTemplateDie) DieReleaseRawExtension

func (d *PodTemplateDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodTemplateDie) DieReleaseUnstructured

func (d *PodTemplateDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*PodTemplateDie) DieReleaseYAML

func (d *PodTemplateDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodTemplateDie) DieStamp

func (d *PodTemplateDie) DieStamp(fn func(r *corev1.PodTemplate)) *PodTemplateDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodTemplateDie) DieStampAt

func (d *PodTemplateDie) DieStampAt(jp string, fn interface{}) *PodTemplateDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodTemplateDie) DieWith

func (d *PodTemplateDie) DieWith(fns ...func(d *PodTemplateDie)) *PodTemplateDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodTemplateDie) GetObjectKind

func (d *PodTemplateDie) GetObjectKind() schema.ObjectKind

func (*PodTemplateDie) Kind

func (d *PodTemplateDie) Kind(v string) *PodTemplateDie

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

func (*PodTemplateDie) MarshalJSON

func (d *PodTemplateDie) MarshalJSON() ([]byte, error)

func (*PodTemplateDie) MetadataDie

func (d *PodTemplateDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodTemplateDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*PodTemplateDie) Template

Template defines the pods that will be created from this pod template.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*PodTemplateDie) TemplateDie

func (d *PodTemplateDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *PodTemplateDie

func (*PodTemplateDie) UnmarshalJSON

func (d *PodTemplateDie) UnmarshalJSON(b []byte) error

type PodTemplateSpecDie

type PodTemplateSpecDie struct {
	// contains filtered or unexported fields
}

func (*PodTemplateSpecDie) DeepCopy

func (d *PodTemplateSpecDie) DeepCopy() *PodTemplateSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PodTemplateSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodTemplateSpecDie) DieFeedJSON

func (d *PodTemplateSpecDie) DieFeedJSON(j []byte) *PodTemplateSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodTemplateSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodTemplateSpecDie) DieFeedRawExtension

func (d *PodTemplateSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodTemplateSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodTemplateSpecDie) DieFeedYAML

func (d *PodTemplateSpecDie) DieFeedYAML(y []byte) *PodTemplateSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodTemplateSpecDie) DieFeedYAMLFile

func (d *PodTemplateSpecDie) DieFeedYAMLFile(name string) *PodTemplateSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodTemplateSpecDie) DieImmutable

func (d *PodTemplateSpecDie) DieImmutable(immutable bool) *PodTemplateSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodTemplateSpecDie) DieRelease

func (d *PodTemplateSpecDie) DieRelease() corev1.PodTemplateSpec

DieRelease returns the resource managed by the die.

func (*PodTemplateSpecDie) DieReleaseJSON

func (d *PodTemplateSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodTemplateSpecDie) DieReleasePtr

func (d *PodTemplateSpecDie) DieReleasePtr() *corev1.PodTemplateSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodTemplateSpecDie) DieReleaseRawExtension

func (d *PodTemplateSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodTemplateSpecDie) DieReleaseYAML

func (d *PodTemplateSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodTemplateSpecDie) DieStamp

func (d *PodTemplateSpecDie) DieStamp(fn func(r *corev1.PodTemplateSpec)) *PodTemplateSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PodTemplateSpecDie) DieStampAt

func (d *PodTemplateSpecDie) DieStampAt(jp string, fn interface{}) *PodTemplateSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PodTemplateSpecDie) DieWith

func (d *PodTemplateSpecDie) DieWith(fns ...func(d *PodTemplateSpecDie)) *PodTemplateSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodTemplateSpecDie) MetadataDie

func (d *PodTemplateSpecDie) MetadataDie(fn func(d *diemetav1.ObjectMetaDie)) *PodTemplateSpecDie

func (*PodTemplateSpecDie) Spec

Specification of the desired behavior of the pod.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*PodTemplateSpecDie) SpecDie

func (d *PodTemplateSpecDie) SpecDie(fn func(d *PodSpecDie)) *PodTemplateSpecDie

type PortStatusDie

type PortStatusDie struct {
	// contains filtered or unexported fields
}

func (*PortStatusDie) DeepCopy

func (d *PortStatusDie) DeepCopy() *PortStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PortStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PortStatusDie) DieFeedJSON

func (d *PortStatusDie) DieFeedJSON(j []byte) *PortStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PortStatusDie) DieFeedPtr

func (d *PortStatusDie) DieFeedPtr(r *corev1.PortStatus) *PortStatusDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PortStatusDie) DieFeedRawExtension

func (d *PortStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PortStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PortStatusDie) DieFeedYAML

func (d *PortStatusDie) DieFeedYAML(y []byte) *PortStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PortStatusDie) DieFeedYAMLFile

func (d *PortStatusDie) DieFeedYAMLFile(name string) *PortStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PortStatusDie) DieImmutable

func (d *PortStatusDie) DieImmutable(immutable bool) *PortStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PortStatusDie) DieRelease

func (d *PortStatusDie) DieRelease() corev1.PortStatus

DieRelease returns the resource managed by the die.

func (*PortStatusDie) DieReleaseJSON

func (d *PortStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PortStatusDie) DieReleasePtr

func (d *PortStatusDie) DieReleasePtr() *corev1.PortStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PortStatusDie) DieReleaseRawExtension

func (d *PortStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PortStatusDie) DieReleaseYAML

func (d *PortStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PortStatusDie) DieStamp

func (d *PortStatusDie) DieStamp(fn func(r *corev1.PortStatus)) *PortStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PortStatusDie) DieStampAt

func (d *PortStatusDie) DieStampAt(jp string, fn interface{}) *PortStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PortStatusDie) DieWith

func (d *PortStatusDie) DieWith(fns ...func(d *PortStatusDie)) *PortStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PortStatusDie) Error

func (d *PortStatusDie) Error(v *string) *PortStatusDie

Error is to record the problem with the service port

The format of the error shall comply with the following rules:

- built-in error values shall be specified in this file and those shall use

CamelCase names

- cloud provider specific error values must have names that comply with the

format foo.example.com/CamelCase.

---

The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

func (*PortStatusDie) Port

func (d *PortStatusDie) Port(v int32) *PortStatusDie

Port is the port number of the service port of which status is recorded here

func (*PortStatusDie) Protocol

func (d *PortStatusDie) Protocol(v corev1.Protocol) *PortStatusDie

Protocol is the protocol of the service port of which status is recorded here

The supported values are: "TCP", "UDP", "SCTP"

type PortworxVolumeSourceDie

type PortworxVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*PortworxVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*PortworxVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PortworxVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PortworxVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PortworxVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PortworxVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PortworxVolumeSourceDie) DieFeedYAMLFile

func (d *PortworxVolumeSourceDie) DieFeedYAMLFile(name string) *PortworxVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PortworxVolumeSourceDie) DieImmutable

func (d *PortworxVolumeSourceDie) DieImmutable(immutable bool) *PortworxVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PortworxVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PortworxVolumeSourceDie) DieReleaseJSON

func (d *PortworxVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PortworxVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PortworxVolumeSourceDie) DieReleaseRawExtension

func (d *PortworxVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PortworxVolumeSourceDie) DieReleaseYAML

func (d *PortworxVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PortworxVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*PortworxVolumeSourceDie) DieStampAt

func (d *PortworxVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PortworxVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*PortworxVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PortworxVolumeSourceDie) FSType

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.

func (*PortworxVolumeSourceDie) ReadOnly

readOnly defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*PortworxVolumeSourceDie) VolumeID

volumeID uniquely identifies a Portworx volume

type ProbeDie

type ProbeDie struct {
	// contains filtered or unexported fields
}

func (*ProbeDie) DeepCopy

func (d *ProbeDie) DeepCopy() *ProbeDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ProbeDie) DieFeed

func (d *ProbeDie) DieFeed(r corev1.Probe) *ProbeDie

DieFeed returns a new die with the provided resource.

func (*ProbeDie) DieFeedJSON

func (d *ProbeDie) DieFeedJSON(j []byte) *ProbeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ProbeDie) DieFeedPtr

func (d *ProbeDie) DieFeedPtr(r *corev1.Probe) *ProbeDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ProbeDie) DieFeedRawExtension

func (d *ProbeDie) DieFeedRawExtension(raw runtime.RawExtension) *ProbeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ProbeDie) DieFeedYAML

func (d *ProbeDie) DieFeedYAML(y []byte) *ProbeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ProbeDie) DieFeedYAMLFile

func (d *ProbeDie) DieFeedYAMLFile(name string) *ProbeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ProbeDie) DieImmutable

func (d *ProbeDie) DieImmutable(immutable bool) *ProbeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ProbeDie) DieRelease

func (d *ProbeDie) DieRelease() corev1.Probe

DieRelease returns the resource managed by the die.

func (*ProbeDie) DieReleaseJSON

func (d *ProbeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ProbeDie) DieReleasePtr

func (d *ProbeDie) DieReleasePtr() *corev1.Probe

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ProbeDie) DieReleaseRawExtension

func (d *ProbeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ProbeDie) DieReleaseYAML

func (d *ProbeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ProbeDie) DieStamp

func (d *ProbeDie) DieStamp(fn func(r *corev1.Probe)) *ProbeDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ProbeDie) DieStampAt

func (d *ProbeDie) DieStampAt(jp string, fn interface{}) *ProbeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ProbeDie) DieWith

func (d *ProbeDie) DieWith(fns ...func(d *ProbeDie)) *ProbeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ProbeDie) ExecDie

func (d *ProbeDie) ExecDie(fn func(d *ExecActionDie)) *ProbeDie

func (*ProbeDie) FailureThreshold

func (d *ProbeDie) FailureThreshold(v int32) *ProbeDie

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

func (*ProbeDie) HTTPGetDie

func (d *ProbeDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeDie

func (*ProbeDie) InitialDelaySeconds

func (d *ProbeDie) InitialDelaySeconds(v int32) *ProbeDie

Number of seconds after the container has started before liveness probes are initiated.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (*ProbeDie) PeriodSeconds

func (d *ProbeDie) PeriodSeconds(v int32) *ProbeDie

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

func (*ProbeDie) ProbeHandler

func (d *ProbeDie) ProbeHandler(v corev1.ProbeHandler) *ProbeDie

The action taken to determine the health of a container

func (*ProbeDie) ProbeHandlerDie

func (d *ProbeDie) ProbeHandlerDie(fn func(d *ProbeHandlerDie)) *ProbeDie

func (*ProbeDie) SuccessThreshold

func (d *ProbeDie) SuccessThreshold(v int32) *ProbeDie

Minimum consecutive successes for the probe to be considered successful after having failed.

Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

func (*ProbeDie) TCPSocketDie

func (d *ProbeDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeDie

func (*ProbeDie) TerminationGracePeriodSeconds

func (d *ProbeDie) TerminationGracePeriodSeconds(v *int64) *ProbeDie

Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

The grace period is the duration in seconds after the processes running in the pod are sent

a termination signal and the time when the processes are forcibly halted with a kill signal.

Set this value longer than the expected cleanup time for your process.

If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this

value overrides the value provided by the pod spec.

Value must be non-negative integer. The value zero indicates stop immediately via

the kill signal (no opportunity to shut down).

This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.

Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.

func (*ProbeDie) TimeoutSeconds

func (d *ProbeDie) TimeoutSeconds(v int32) *ProbeDie

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

type ProbeHandlerDie

type ProbeHandlerDie struct {
	// contains filtered or unexported fields
}

func (*ProbeHandlerDie) DeepCopy

func (d *ProbeHandlerDie) DeepCopy() *ProbeHandlerDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ProbeHandlerDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ProbeHandlerDie) DieFeedJSON

func (d *ProbeHandlerDie) DieFeedJSON(j []byte) *ProbeHandlerDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ProbeHandlerDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ProbeHandlerDie) DieFeedRawExtension

func (d *ProbeHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *ProbeHandlerDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ProbeHandlerDie) DieFeedYAML

func (d *ProbeHandlerDie) DieFeedYAML(y []byte) *ProbeHandlerDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ProbeHandlerDie) DieFeedYAMLFile

func (d *ProbeHandlerDie) DieFeedYAMLFile(name string) *ProbeHandlerDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ProbeHandlerDie) DieImmutable

func (d *ProbeHandlerDie) DieImmutable(immutable bool) *ProbeHandlerDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ProbeHandlerDie) DieRelease

func (d *ProbeHandlerDie) DieRelease() corev1.ProbeHandler

DieRelease returns the resource managed by the die.

func (*ProbeHandlerDie) DieReleaseJSON

func (d *ProbeHandlerDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ProbeHandlerDie) DieReleasePtr

func (d *ProbeHandlerDie) DieReleasePtr() *corev1.ProbeHandler

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ProbeHandlerDie) DieReleaseRawExtension

func (d *ProbeHandlerDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ProbeHandlerDie) DieReleaseYAML

func (d *ProbeHandlerDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ProbeHandlerDie) DieStamp

func (d *ProbeHandlerDie) DieStamp(fn func(r *corev1.ProbeHandler)) *ProbeHandlerDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ProbeHandlerDie) DieStampAt

func (d *ProbeHandlerDie) DieStampAt(jp string, fn interface{}) *ProbeHandlerDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ProbeHandlerDie) DieWith

func (d *ProbeHandlerDie) DieWith(fns ...func(d *ProbeHandlerDie)) *ProbeHandlerDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ProbeHandlerDie) Exec

Exec specifies the action to take.

func (*ProbeHandlerDie) ExecDie

func (d *ProbeHandlerDie) ExecDie(fn func(d *ExecActionDie)) *ProbeHandlerDie

func (*ProbeHandlerDie) GRPC

GRPC specifies an action involving a GRPC port.

func (*ProbeHandlerDie) GRPCDie

func (d *ProbeHandlerDie) GRPCDie(fn func(d *GRPCActionDie)) *ProbeHandlerDie

func (*ProbeHandlerDie) HTTPGet

HTTPGet specifies the http request to perform.

func (*ProbeHandlerDie) HTTPGetDie

func (d *ProbeHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeHandlerDie

func (*ProbeHandlerDie) TCPSocket

TCPSocket specifies an action involving a TCP port.

func (*ProbeHandlerDie) TCPSocketDie

func (d *ProbeHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeHandlerDie

type ProjectedVolumeSourceDie

type ProjectedVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*ProjectedVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ProjectedVolumeSourceDie) DefaultMode

defaultMode are the 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.

func (*ProjectedVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ProjectedVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ProjectedVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ProjectedVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ProjectedVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ProjectedVolumeSourceDie) DieFeedYAMLFile

func (d *ProjectedVolumeSourceDie) DieFeedYAMLFile(name string) *ProjectedVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ProjectedVolumeSourceDie) DieImmutable

func (d *ProjectedVolumeSourceDie) DieImmutable(immutable bool) *ProjectedVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ProjectedVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ProjectedVolumeSourceDie) DieReleaseJSON

func (d *ProjectedVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ProjectedVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ProjectedVolumeSourceDie) DieReleaseRawExtension

func (d *ProjectedVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ProjectedVolumeSourceDie) DieReleaseYAML

func (d *ProjectedVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ProjectedVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ProjectedVolumeSourceDie) DieStampAt

func (d *ProjectedVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ProjectedVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ProjectedVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ProjectedVolumeSourceDie) Sources

sources is the list of volume projections

func (*ProjectedVolumeSourceDie) SourcesDie

type QuobyteVolumeSourceDie

type QuobyteVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*QuobyteVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*QuobyteVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*QuobyteVolumeSourceDie) DieFeedJSON

func (d *QuobyteVolumeSourceDie) DieFeedJSON(j []byte) *QuobyteVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*QuobyteVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*QuobyteVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*QuobyteVolumeSourceDie) DieFeedYAML

func (d *QuobyteVolumeSourceDie) DieFeedYAML(y []byte) *QuobyteVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*QuobyteVolumeSourceDie) DieFeedYAMLFile

func (d *QuobyteVolumeSourceDie) DieFeedYAMLFile(name string) *QuobyteVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*QuobyteVolumeSourceDie) DieImmutable

func (d *QuobyteVolumeSourceDie) DieImmutable(immutable bool) *QuobyteVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*QuobyteVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*QuobyteVolumeSourceDie) DieReleaseJSON

func (d *QuobyteVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*QuobyteVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*QuobyteVolumeSourceDie) DieReleaseRawExtension

func (d *QuobyteVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*QuobyteVolumeSourceDie) DieReleaseYAML

func (d *QuobyteVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*QuobyteVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*QuobyteVolumeSourceDie) DieStampAt

func (d *QuobyteVolumeSourceDie) DieStampAt(jp string, fn interface{}) *QuobyteVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*QuobyteVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*QuobyteVolumeSourceDie) Group

group to map volume access to

Default is no group

func (*QuobyteVolumeSourceDie) ReadOnly

readOnly here will force the Quobyte volume to be mounted with read-only permissions.

Defaults to false.

func (*QuobyteVolumeSourceDie) Registry

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

func (*QuobyteVolumeSourceDie) Tenant

tenant owning the given Quobyte volume in the Backend

Used with dynamically provisioned Quobyte volumes, value is set by the plugin

func (*QuobyteVolumeSourceDie) User

user to map volume access to

Defaults to serivceaccount user

func (*QuobyteVolumeSourceDie) Volume

volume is a string that references an already created Quobyte volume by name.

type RBDPersistentVolumeSourceDie

type RBDPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*RBDPersistentVolumeSourceDie) CephMonitors

monitors is a collection of Ceph monitors.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*RBDPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*RBDPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*RBDPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*RBDPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*RBDPersistentVolumeSourceDie) DieReleaseJSON

func (d *RBDPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*RBDPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *RBDPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieReleaseYAML

func (d *RBDPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*RBDPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*RBDPersistentVolumeSourceDie) DieStampAt

func (d *RBDPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *RBDPersistentVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*RBDPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*RBDPersistentVolumeSourceDie) FSType

fsType is the 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

func (*RBDPersistentVolumeSourceDie) Keyring

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

func (*RBDPersistentVolumeSourceDie) RBDImage

image is the rados image name.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDPersistentVolumeSourceDie) RBDPool

pool is the rados pool name.

Default is rbd.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDPersistentVolumeSourceDie) RadosUser

user is the rados user name.

Default is admin.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDPersistentVolumeSourceDie) ReadOnly

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

func (*RBDPersistentVolumeSourceDie) SecretRef

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 (*RBDPersistentVolumeSourceDie) SecretRefDie

type RBDVolumeSourceDie

type RBDVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*RBDVolumeSourceDie) CephMonitors

func (d *RBDVolumeSourceDie) CephMonitors(v ...string) *RBDVolumeSourceDie

monitors is a collection of Ceph monitors.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDVolumeSourceDie) DeepCopy

func (d *RBDVolumeSourceDie) DeepCopy() *RBDVolumeSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*RBDVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*RBDVolumeSourceDie) DieFeedJSON

func (d *RBDVolumeSourceDie) DieFeedJSON(j []byte) *RBDVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*RBDVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*RBDVolumeSourceDie) DieFeedRawExtension

func (d *RBDVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RBDVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*RBDVolumeSourceDie) DieFeedYAML

func (d *RBDVolumeSourceDie) DieFeedYAML(y []byte) *RBDVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*RBDVolumeSourceDie) DieFeedYAMLFile

func (d *RBDVolumeSourceDie) DieFeedYAMLFile(name string) *RBDVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*RBDVolumeSourceDie) DieImmutable

func (d *RBDVolumeSourceDie) DieImmutable(immutable bool) *RBDVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*RBDVolumeSourceDie) DieRelease

func (d *RBDVolumeSourceDie) DieRelease() corev1.RBDVolumeSource

DieRelease returns the resource managed by the die.

func (*RBDVolumeSourceDie) DieReleaseJSON

func (d *RBDVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*RBDVolumeSourceDie) DieReleasePtr

func (d *RBDVolumeSourceDie) DieReleasePtr() *corev1.RBDVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*RBDVolumeSourceDie) DieReleaseRawExtension

func (d *RBDVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*RBDVolumeSourceDie) DieReleaseYAML

func (d *RBDVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*RBDVolumeSourceDie) DieStamp

func (d *RBDVolumeSourceDie) DieStamp(fn func(r *corev1.RBDVolumeSource)) *RBDVolumeSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*RBDVolumeSourceDie) DieStampAt

func (d *RBDVolumeSourceDie) DieStampAt(jp string, fn interface{}) *RBDVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*RBDVolumeSourceDie) DieWith

func (d *RBDVolumeSourceDie) DieWith(fns ...func(d *RBDVolumeSourceDie)) *RBDVolumeSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*RBDVolumeSourceDie) FSType

fsType is the 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

func (*RBDVolumeSourceDie) Keyring

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

func (*RBDVolumeSourceDie) RBDImage

image is the rados image name.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDVolumeSourceDie) RBDPool

pool is the rados pool name.

Default is rbd.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDVolumeSourceDie) RadosUser

func (d *RBDVolumeSourceDie) RadosUser(v string) *RBDVolumeSourceDie

user is the rados user name.

Default is admin.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

func (*RBDVolumeSourceDie) ReadOnly

func (d *RBDVolumeSourceDie) ReadOnly(v bool) *RBDVolumeSourceDie

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

func (*RBDVolumeSourceDie) SecretRef

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 (*RBDVolumeSourceDie) SecretRefDie

func (d *RBDVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *RBDVolumeSourceDie

type ReplicationControllerDie

type ReplicationControllerDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ReplicationControllerDie) APIVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ReplicationControllerDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ReplicationControllerDie) DeepCopyObject

func (d *ReplicationControllerDie) DeepCopyObject() runtime.Object

func (*ReplicationControllerDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ReplicationControllerDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ReplicationControllerDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ReplicationControllerDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ReplicationControllerDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ReplicationControllerDie) DieFeedYAMLFile

func (d *ReplicationControllerDie) DieFeedYAMLFile(name string) *ReplicationControllerDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ReplicationControllerDie) DieImmutable

func (d *ReplicationControllerDie) DieImmutable(immutable bool) *ReplicationControllerDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ReplicationControllerDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ReplicationControllerDie) DieReleaseJSON

func (d *ReplicationControllerDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ReplicationControllerDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ReplicationControllerDie) DieReleaseRawExtension

func (d *ReplicationControllerDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ReplicationControllerDie) DieReleaseUnstructured

func (d *ReplicationControllerDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ReplicationControllerDie) DieReleaseYAML

func (d *ReplicationControllerDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ReplicationControllerDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ReplicationControllerDie) DieStampAt

func (d *ReplicationControllerDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ReplicationControllerDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ReplicationControllerDie) GetObjectKind

func (d *ReplicationControllerDie) GetObjectKind() schema.ObjectKind

func (*ReplicationControllerDie) Kind

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

func (*ReplicationControllerDie) MarshalJSON

func (d *ReplicationControllerDie) MarshalJSON() ([]byte, error)

func (*ReplicationControllerDie) MetadataDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ReplicationControllerDie) Spec

Spec defines the specification of the desired behavior of the replication controller.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*ReplicationControllerDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*ReplicationControllerDie) Status

Status is the most recently observed status of the replication controller.

This data may be out of date by some window of time.

Populated by the system.

Read-only.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*ReplicationControllerDie) StatusDie

StatusDie stamps the resource's status field with a mutable die.

func (*ReplicationControllerDie) UnmarshalJSON

func (d *ReplicationControllerDie) UnmarshalJSON(b []byte) error

type ReplicationControllerSpecDie

type ReplicationControllerSpecDie struct {
	// contains filtered or unexported fields
}

func (*ReplicationControllerSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ReplicationControllerSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ReplicationControllerSpecDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ReplicationControllerSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ReplicationControllerSpecDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ReplicationControllerSpecDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ReplicationControllerSpecDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ReplicationControllerSpecDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ReplicationControllerSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ReplicationControllerSpecDie) DieReleaseJSON

func (d *ReplicationControllerSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ReplicationControllerSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ReplicationControllerSpecDie) DieReleaseRawExtension

func (d *ReplicationControllerSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ReplicationControllerSpecDie) DieReleaseYAML

func (d *ReplicationControllerSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ReplicationControllerSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ReplicationControllerSpecDie) DieStampAt

func (d *ReplicationControllerSpecDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ReplicationControllerSpecDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ReplicationControllerSpecDie) MinReadySeconds

Minimum number of seconds for which a newly created pod should be ready

without any of its container crashing, for it to be considered available.

Defaults to 0 (pod will be considered available as soon as it is ready)

func (*ReplicationControllerSpecDie) Replicas

Replicas is the number of desired replicas.

This is a pointer to distinguish between explicit zero and unspecified.

Defaults to 1.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

func (*ReplicationControllerSpecDie) Selector

Selector is a label query over pods that should match the Replicas count.

If Selector is empty, it is defaulted to the labels present on the Pod template.

Label keys and values that must match in order to be controlled by this replication

controller, if empty defaulted to labels on Pod template.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (*ReplicationControllerSpecDie) Template

Template is the object that describes the pod that will be created if

insufficient replicas are detected. This takes precedence over a TemplateRef.

The only allowed template.spec.restartPolicy value is "Always".

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

func (*ReplicationControllerSpecDie) TemplateDie

type ReplicationControllerStatusDie

type ReplicationControllerStatusDie struct {
	// contains filtered or unexported fields
}

func (*ReplicationControllerStatusDie) AvailableReplicas

The number of available replicas (ready for at least minReadySeconds) for this replication controller.

func (*ReplicationControllerStatusDie) Conditions

Represents the latest available observations of a replication controller's current state.

func (*ReplicationControllerStatusDie) ConditionsDie

func (*ReplicationControllerStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ReplicationControllerStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ReplicationControllerStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ReplicationControllerStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ReplicationControllerStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ReplicationControllerStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ReplicationControllerStatusDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ReplicationControllerStatusDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ReplicationControllerStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ReplicationControllerStatusDie) DieReleaseJSON

func (d *ReplicationControllerStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ReplicationControllerStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ReplicationControllerStatusDie) DieReleaseRawExtension

func (d *ReplicationControllerStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ReplicationControllerStatusDie) DieReleaseYAML

func (d *ReplicationControllerStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ReplicationControllerStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ReplicationControllerStatusDie) DieStampAt

func (d *ReplicationControllerStatusDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ReplicationControllerStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ReplicationControllerStatusDie) FullyLabeledReplicas

The number of pods that have labels matching the labels of the pod template of the replication controller.

func (*ReplicationControllerStatusDie) ObservedGeneration

ObservedGeneration reflects the generation of the most recently observed replication controller.

func (*ReplicationControllerStatusDie) ReadyReplicas

The number of ready replicas for this replication controller.

func (*ReplicationControllerStatusDie) Replicas

Replicas is the most recently observed number of replicas.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

type ResourceClaimDie

type ResourceClaimDie struct {
	// contains filtered or unexported fields
}

func (*ResourceClaimDie) DeepCopy

func (d *ResourceClaimDie) DeepCopy() *ResourceClaimDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ResourceClaimDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ResourceClaimDie) DieFeedJSON

func (d *ResourceClaimDie) DieFeedJSON(j []byte) *ResourceClaimDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ResourceClaimDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ResourceClaimDie) DieFeedRawExtension

func (d *ResourceClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceClaimDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceClaimDie) DieFeedYAML

func (d *ResourceClaimDie) DieFeedYAML(y []byte) *ResourceClaimDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ResourceClaimDie) DieFeedYAMLFile

func (d *ResourceClaimDie) DieFeedYAMLFile(name string) *ResourceClaimDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ResourceClaimDie) DieImmutable

func (d *ResourceClaimDie) DieImmutable(immutable bool) *ResourceClaimDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ResourceClaimDie) DieRelease

func (d *ResourceClaimDie) DieRelease() corev1.ResourceClaim

DieRelease returns the resource managed by the die.

func (*ResourceClaimDie) DieReleaseJSON

func (d *ResourceClaimDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ResourceClaimDie) DieReleasePtr

func (d *ResourceClaimDie) DieReleasePtr() *corev1.ResourceClaim

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ResourceClaimDie) DieReleaseRawExtension

func (d *ResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceClaimDie) DieReleaseYAML

func (d *ResourceClaimDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ResourceClaimDie) DieStamp

func (d *ResourceClaimDie) DieStamp(fn func(r *corev1.ResourceClaim)) *ResourceClaimDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ResourceClaimDie) DieStampAt

func (d *ResourceClaimDie) DieStampAt(jp string, fn interface{}) *ResourceClaimDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ResourceClaimDie) DieWith

func (d *ResourceClaimDie) DieWith(fns ...func(d *ResourceClaimDie)) *ResourceClaimDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ResourceClaimDie) Name

Name must match the name of one entry in pod.spec.resourceClaims of

the Pod where this field is used. It makes that resource available

inside a container.

type ResourceFieldSelectorDie

type ResourceFieldSelectorDie struct {
	// contains filtered or unexported fields
}

func (*ResourceFieldSelectorDie) ContainerName

Container name: required for volumes, optional for env vars

func (*ResourceFieldSelectorDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ResourceFieldSelectorDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ResourceFieldSelectorDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ResourceFieldSelectorDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ResourceFieldSelectorDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceFieldSelectorDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ResourceFieldSelectorDie) DieFeedYAMLFile

func (d *ResourceFieldSelectorDie) DieFeedYAMLFile(name string) *ResourceFieldSelectorDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ResourceFieldSelectorDie) DieImmutable

func (d *ResourceFieldSelectorDie) DieImmutable(immutable bool) *ResourceFieldSelectorDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ResourceFieldSelectorDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ResourceFieldSelectorDie) DieReleaseJSON

func (d *ResourceFieldSelectorDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ResourceFieldSelectorDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ResourceFieldSelectorDie) DieReleaseRawExtension

func (d *ResourceFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceFieldSelectorDie) DieReleaseYAML

func (d *ResourceFieldSelectorDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ResourceFieldSelectorDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ResourceFieldSelectorDie) DieStampAt

func (d *ResourceFieldSelectorDie) DieStampAt(jp string, fn interface{}) *ResourceFieldSelectorDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ResourceFieldSelectorDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ResourceFieldSelectorDie) Divisor

Specifies the output format of the exposed resources, defaults to "1"

func (*ResourceFieldSelectorDie) Resource

Required: resource to select

type ResourceQuotaDie

type ResourceQuotaDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ResourceQuotaDie) APIVersion

func (d *ResourceQuotaDie) APIVersion(v string) *ResourceQuotaDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ResourceQuotaDie) DeepCopy

func (d *ResourceQuotaDie) DeepCopy() *ResourceQuotaDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ResourceQuotaDie) DeepCopyObject

func (d *ResourceQuotaDie) DeepCopyObject() runtime.Object

func (*ResourceQuotaDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ResourceQuotaDie) DieFeedJSON

func (d *ResourceQuotaDie) DieFeedJSON(j []byte) *ResourceQuotaDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ResourceQuotaDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ResourceQuotaDie) DieFeedRawExtension

func (d *ResourceQuotaDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceQuotaDie) DieFeedYAML

func (d *ResourceQuotaDie) DieFeedYAML(y []byte) *ResourceQuotaDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ResourceQuotaDie) DieFeedYAMLFile

func (d *ResourceQuotaDie) DieFeedYAMLFile(name string) *ResourceQuotaDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ResourceQuotaDie) DieImmutable

func (d *ResourceQuotaDie) DieImmutable(immutable bool) *ResourceQuotaDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ResourceQuotaDie) DieRelease

func (d *ResourceQuotaDie) DieRelease() corev1.ResourceQuota

DieRelease returns the resource managed by the die.

func (*ResourceQuotaDie) DieReleaseJSON

func (d *ResourceQuotaDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ResourceQuotaDie) DieReleasePtr

func (d *ResourceQuotaDie) DieReleasePtr() *corev1.ResourceQuota

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ResourceQuotaDie) DieReleaseRawExtension

func (d *ResourceQuotaDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceQuotaDie) DieReleaseUnstructured

func (d *ResourceQuotaDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ResourceQuotaDie) DieReleaseYAML

func (d *ResourceQuotaDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ResourceQuotaDie) DieStamp

func (d *ResourceQuotaDie) DieStamp(fn func(r *corev1.ResourceQuota)) *ResourceQuotaDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ResourceQuotaDie) DieStampAt

func (d *ResourceQuotaDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ResourceQuotaDie) DieWith

func (d *ResourceQuotaDie) DieWith(fns ...func(d *ResourceQuotaDie)) *ResourceQuotaDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ResourceQuotaDie) GetObjectKind

func (d *ResourceQuotaDie) GetObjectKind() schema.ObjectKind

func (*ResourceQuotaDie) Kind

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

func (*ResourceQuotaDie) MarshalJSON

func (d *ResourceQuotaDie) MarshalJSON() ([]byte, error)

func (*ResourceQuotaDie) MetadataDie

func (d *ResourceQuotaDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ResourceQuotaDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ResourceQuotaDie) SpecDie

func (d *ResourceQuotaDie) SpecDie(fn func(d *ResourceQuotaSpecDie)) *ResourceQuotaDie

SpecDie stamps the resource's spec field with a mutable die.

func (*ResourceQuotaDie) Status

Status defines the actual enforced quota and its current usage.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*ResourceQuotaDie) StatusDie

func (d *ResourceQuotaDie) StatusDie(fn func(d *ResourceQuotaStatusDie)) *ResourceQuotaDie

StatusDie stamps the resource's status field with a mutable die.

func (*ResourceQuotaDie) UnmarshalJSON

func (d *ResourceQuotaDie) UnmarshalJSON(b []byte) error

type ResourceQuotaSpecDie

type ResourceQuotaSpecDie struct {
	// contains filtered or unexported fields
}

func (*ResourceQuotaSpecDie) AddHard

func (*ResourceQuotaSpecDie) AddHardString

func (d *ResourceQuotaSpecDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaSpecDie

func (*ResourceQuotaSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ResourceQuotaSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ResourceQuotaSpecDie) DieFeedJSON

func (d *ResourceQuotaSpecDie) DieFeedJSON(j []byte) *ResourceQuotaSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ResourceQuotaSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ResourceQuotaSpecDie) DieFeedRawExtension

func (d *ResourceQuotaSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceQuotaSpecDie) DieFeedYAML

func (d *ResourceQuotaSpecDie) DieFeedYAML(y []byte) *ResourceQuotaSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ResourceQuotaSpecDie) DieFeedYAMLFile

func (d *ResourceQuotaSpecDie) DieFeedYAMLFile(name string) *ResourceQuotaSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ResourceQuotaSpecDie) DieImmutable

func (d *ResourceQuotaSpecDie) DieImmutable(immutable bool) *ResourceQuotaSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ResourceQuotaSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ResourceQuotaSpecDie) DieReleaseJSON

func (d *ResourceQuotaSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ResourceQuotaSpecDie) DieReleasePtr

func (d *ResourceQuotaSpecDie) DieReleasePtr() *corev1.ResourceQuotaSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ResourceQuotaSpecDie) DieReleaseRawExtension

func (d *ResourceQuotaSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceQuotaSpecDie) DieReleaseYAML

func (d *ResourceQuotaSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ResourceQuotaSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ResourceQuotaSpecDie) DieStampAt

func (d *ResourceQuotaSpecDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ResourceQuotaSpecDie) DieWith

func (d *ResourceQuotaSpecDie) DieWith(fns ...func(d *ResourceQuotaSpecDie)) *ResourceQuotaSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ResourceQuotaSpecDie) Hard

hard is the set of desired hard limits for each named resource.

More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

func (*ResourceQuotaSpecDie) ScopeSelector

scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota

but expressed using ScopeSelectorOperator in combination with possible values.

For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.

func (*ResourceQuotaSpecDie) ScopeSelectorDie

func (d *ResourceQuotaSpecDie) ScopeSelectorDie(fn func(d *ScopeSelectorDie)) *ResourceQuotaSpecDie

func (*ResourceQuotaSpecDie) Scopes

A collection of filters that must match each object tracked by a quota.

If not specified, the quota matches all objects.

type ResourceQuotaStatusDie

type ResourceQuotaStatusDie struct {
	// contains filtered or unexported fields
}

func (*ResourceQuotaStatusDie) AddHard

func (*ResourceQuotaStatusDie) AddHardString

func (d *ResourceQuotaStatusDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie

func (*ResourceQuotaStatusDie) AddUsed

func (*ResourceQuotaStatusDie) AddUsedString

func (d *ResourceQuotaStatusDie) AddUsedString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie

func (*ResourceQuotaStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ResourceQuotaStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ResourceQuotaStatusDie) DieFeedJSON

func (d *ResourceQuotaStatusDie) DieFeedJSON(j []byte) *ResourceQuotaStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ResourceQuotaStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ResourceQuotaStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceQuotaStatusDie) DieFeedYAML

func (d *ResourceQuotaStatusDie) DieFeedYAML(y []byte) *ResourceQuotaStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ResourceQuotaStatusDie) DieFeedYAMLFile

func (d *ResourceQuotaStatusDie) DieFeedYAMLFile(name string) *ResourceQuotaStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ResourceQuotaStatusDie) DieImmutable

func (d *ResourceQuotaStatusDie) DieImmutable(immutable bool) *ResourceQuotaStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ResourceQuotaStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ResourceQuotaStatusDie) DieReleaseJSON

func (d *ResourceQuotaStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ResourceQuotaStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ResourceQuotaStatusDie) DieReleaseRawExtension

func (d *ResourceQuotaStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceQuotaStatusDie) DieReleaseYAML

func (d *ResourceQuotaStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ResourceQuotaStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ResourceQuotaStatusDie) DieStampAt

func (d *ResourceQuotaStatusDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ResourceQuotaStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ResourceQuotaStatusDie) Hard

Hard is the set of enforced hard limits for each named resource.

More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

func (*ResourceQuotaStatusDie) Used

Used is the current observed total usage of the resource in the namespace.

type ResourceRequirementsDie

type ResourceRequirementsDie struct {
	// contains filtered or unexported fields
}

func (*ResourceRequirementsDie) AddLimit

func (*ResourceRequirementsDie) AddLimitString

func (d *ResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie

func (*ResourceRequirementsDie) AddRequest

func (*ResourceRequirementsDie) AddRequestString

func (d *ResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie

func (*ResourceRequirementsDie) Claims

Claims lists the names of resources, defined in spec.resourceClaims,

that are used by this container.

This is an alpha field and requires enabling the

DynamicResourceAllocation feature gate.

This field is immutable. It can only be set for containers.

func (*ResourceRequirementsDie) ClaimsDie

func (*ResourceRequirementsDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ResourceRequirementsDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ResourceRequirementsDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ResourceRequirementsDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ResourceRequirementsDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceRequirementsDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ResourceRequirementsDie) DieFeedYAMLFile

func (d *ResourceRequirementsDie) DieFeedYAMLFile(name string) *ResourceRequirementsDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ResourceRequirementsDie) DieImmutable

func (d *ResourceRequirementsDie) DieImmutable(immutable bool) *ResourceRequirementsDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ResourceRequirementsDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ResourceRequirementsDie) DieReleaseJSON

func (d *ResourceRequirementsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ResourceRequirementsDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ResourceRequirementsDie) DieReleaseRawExtension

func (d *ResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ResourceRequirementsDie) DieReleaseYAML

func (d *ResourceRequirementsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ResourceRequirementsDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ResourceRequirementsDie) DieStampAt

func (d *ResourceRequirementsDie) DieStampAt(jp string, fn interface{}) *ResourceRequirementsDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ResourceRequirementsDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ResourceRequirementsDie) Limits

Limits describes the maximum amount of compute resources allowed.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

func (*ResourceRequirementsDie) Requests

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. Requests cannot exceed Limits.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

type SELinuxOptionsDie

type SELinuxOptionsDie struct {
	// contains filtered or unexported fields
}

func (*SELinuxOptionsDie) DeepCopy

func (d *SELinuxOptionsDie) DeepCopy() *SELinuxOptionsDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SELinuxOptionsDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SELinuxOptionsDie) DieFeedJSON

func (d *SELinuxOptionsDie) DieFeedJSON(j []byte) *SELinuxOptionsDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SELinuxOptionsDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SELinuxOptionsDie) DieFeedRawExtension

func (d *SELinuxOptionsDie) DieFeedRawExtension(raw runtime.RawExtension) *SELinuxOptionsDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SELinuxOptionsDie) DieFeedYAML

func (d *SELinuxOptionsDie) DieFeedYAML(y []byte) *SELinuxOptionsDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SELinuxOptionsDie) DieFeedYAMLFile

func (d *SELinuxOptionsDie) DieFeedYAMLFile(name string) *SELinuxOptionsDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SELinuxOptionsDie) DieImmutable

func (d *SELinuxOptionsDie) DieImmutable(immutable bool) *SELinuxOptionsDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SELinuxOptionsDie) DieRelease

func (d *SELinuxOptionsDie) DieRelease() corev1.SELinuxOptions

DieRelease returns the resource managed by the die.

func (*SELinuxOptionsDie) DieReleaseJSON

func (d *SELinuxOptionsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SELinuxOptionsDie) DieReleasePtr

func (d *SELinuxOptionsDie) DieReleasePtr() *corev1.SELinuxOptions

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SELinuxOptionsDie) DieReleaseRawExtension

func (d *SELinuxOptionsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SELinuxOptionsDie) DieReleaseYAML

func (d *SELinuxOptionsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SELinuxOptionsDie) DieStamp

func (d *SELinuxOptionsDie) DieStamp(fn func(r *corev1.SELinuxOptions)) *SELinuxOptionsDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SELinuxOptionsDie) DieStampAt

func (d *SELinuxOptionsDie) DieStampAt(jp string, fn interface{}) *SELinuxOptionsDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SELinuxOptionsDie) DieWith

func (d *SELinuxOptionsDie) DieWith(fns ...func(d *SELinuxOptionsDie)) *SELinuxOptionsDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SELinuxOptionsDie) Level

Level is SELinux level label that applies to the container.

func (*SELinuxOptionsDie) Role

Role is a SELinux role label that applies to the container.

func (*SELinuxOptionsDie) Type

Type is a SELinux type label that applies to the container.

func (*SELinuxOptionsDie) User

User is a SELinux user label that applies to the container.

type ScaleIOPersistentVolumeSourceDie

type ScaleIOPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*ScaleIOPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ScaleIOPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ScaleIOPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ScaleIOPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ScaleIOPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ScaleIOPersistentVolumeSourceDie) DieReleaseJSON

func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ScaleIOPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieReleaseYAML

func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ScaleIOPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ScaleIOPersistentVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ScaleIOPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ScaleIOPersistentVolumeSourceDie) FSType

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system.

Ex. "ext4", "xfs", "ntfs".

Default is "xfs"

func (*ScaleIOPersistentVolumeSourceDie) Gateway

gateway is the host address of the ScaleIO API Gateway.

func (*ScaleIOPersistentVolumeSourceDie) ProtectionDomain

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.

func (*ScaleIOPersistentVolumeSourceDie) ReadOnly

readOnly defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*ScaleIOPersistentVolumeSourceDie) SSLEnabled

sslEnabled is the flag to enable/disable SSL communication with Gateway, default false

func (*ScaleIOPersistentVolumeSourceDie) SecretRef

secretRef references to the secret for ScaleIO user and other

sensitive information. If this is not provided, Login operation will fail.

func (*ScaleIOPersistentVolumeSourceDie) SecretRefDie

func (*ScaleIOPersistentVolumeSourceDie) StorageMode

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.

Default is ThinProvisioned.

func (*ScaleIOPersistentVolumeSourceDie) StoragePool

storagePool is the ScaleIO Storage Pool associated with the protection domain.

func (*ScaleIOPersistentVolumeSourceDie) System

system is the name of the storage system as configured in ScaleIO.

func (*ScaleIOPersistentVolumeSourceDie) VolumeName

volumeName is the name of a volume already created in the ScaleIO system

that is associated with this volume source.

type ScaleIOVolumeSourceDie

type ScaleIOVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*ScaleIOVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ScaleIOVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ScaleIOVolumeSourceDie) DieFeedJSON

func (d *ScaleIOVolumeSourceDie) DieFeedJSON(j []byte) *ScaleIOVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ScaleIOVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ScaleIOVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScaleIOVolumeSourceDie) DieFeedYAML

func (d *ScaleIOVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ScaleIOVolumeSourceDie) DieFeedYAMLFile

func (d *ScaleIOVolumeSourceDie) DieFeedYAMLFile(name string) *ScaleIOVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ScaleIOVolumeSourceDie) DieImmutable

func (d *ScaleIOVolumeSourceDie) DieImmutable(immutable bool) *ScaleIOVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ScaleIOVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ScaleIOVolumeSourceDie) DieReleaseJSON

func (d *ScaleIOVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ScaleIOVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ScaleIOVolumeSourceDie) DieReleaseRawExtension

func (d *ScaleIOVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScaleIOVolumeSourceDie) DieReleaseYAML

func (d *ScaleIOVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ScaleIOVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ScaleIOVolumeSourceDie) DieStampAt

func (d *ScaleIOVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ScaleIOVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ScaleIOVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ScaleIOVolumeSourceDie) FSType

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system.

Ex. "ext4", "xfs", "ntfs".

Default is "xfs".

func (*ScaleIOVolumeSourceDie) Gateway

gateway is the host address of the ScaleIO API Gateway.

func (*ScaleIOVolumeSourceDie) ProtectionDomain

func (d *ScaleIOVolumeSourceDie) ProtectionDomain(v string) *ScaleIOVolumeSourceDie

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.

func (*ScaleIOVolumeSourceDie) ReadOnly

readOnly Defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*ScaleIOVolumeSourceDie) SSLEnabled

sslEnabled Flag enable/disable SSL communication with Gateway, default false

func (*ScaleIOVolumeSourceDie) SecretRef

secretRef references to the secret for ScaleIO user and other

sensitive information. If this is not provided, Login operation will fail.

func (*ScaleIOVolumeSourceDie) SecretRefDie

func (*ScaleIOVolumeSourceDie) StorageMode

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.

Default is ThinProvisioned.

func (*ScaleIOVolumeSourceDie) StoragePool

storagePool is the ScaleIO Storage Pool associated with the protection domain.

func (*ScaleIOVolumeSourceDie) System

system is the name of the storage system as configured in ScaleIO.

func (*ScaleIOVolumeSourceDie) VolumeName

volumeName is the name of a volume already created in the ScaleIO system

that is associated with this volume source.

type ScopeSelectorDie

type ScopeSelectorDie struct {
	// contains filtered or unexported fields
}

func (*ScopeSelectorDie) DeepCopy

func (d *ScopeSelectorDie) DeepCopy() *ScopeSelectorDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ScopeSelectorDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ScopeSelectorDie) DieFeedJSON

func (d *ScopeSelectorDie) DieFeedJSON(j []byte) *ScopeSelectorDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ScopeSelectorDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ScopeSelectorDie) DieFeedRawExtension

func (d *ScopeSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ScopeSelectorDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScopeSelectorDie) DieFeedYAML

func (d *ScopeSelectorDie) DieFeedYAML(y []byte) *ScopeSelectorDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ScopeSelectorDie) DieFeedYAMLFile

func (d *ScopeSelectorDie) DieFeedYAMLFile(name string) *ScopeSelectorDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ScopeSelectorDie) DieImmutable

func (d *ScopeSelectorDie) DieImmutable(immutable bool) *ScopeSelectorDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ScopeSelectorDie) DieRelease

func (d *ScopeSelectorDie) DieRelease() corev1.ScopeSelector

DieRelease returns the resource managed by the die.

func (*ScopeSelectorDie) DieReleaseJSON

func (d *ScopeSelectorDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ScopeSelectorDie) DieReleasePtr

func (d *ScopeSelectorDie) DieReleasePtr() *corev1.ScopeSelector

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ScopeSelectorDie) DieReleaseRawExtension

func (d *ScopeSelectorDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScopeSelectorDie) DieReleaseYAML

func (d *ScopeSelectorDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ScopeSelectorDie) DieStamp

func (d *ScopeSelectorDie) DieStamp(fn func(r *corev1.ScopeSelector)) *ScopeSelectorDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ScopeSelectorDie) DieStampAt

func (d *ScopeSelectorDie) DieStampAt(jp string, fn interface{}) *ScopeSelectorDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ScopeSelectorDie) DieWith

func (d *ScopeSelectorDie) DieWith(fns ...func(d *ScopeSelectorDie)) *ScopeSelectorDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ScopeSelectorDie) MatchExpressionDie

func (*ScopeSelectorDie) MatchExpressions

A list of scope selector requirements by scope of the resources.

type ScopedResourceSelectorRequirementDie

type ScopedResourceSelectorRequirementDie struct {
	// contains filtered or unexported fields
}

func (*ScopedResourceSelectorRequirementDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ScopedResourceSelectorRequirementDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ScopedResourceSelectorRequirementDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ScopedResourceSelectorRequirementDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ScopedResourceSelectorRequirementDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ScopedResourceSelectorRequirementDie) DieReleaseJSON

func (d *ScopedResourceSelectorRequirementDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ScopedResourceSelectorRequirementDie) DieReleaseRawExtension

func (d *ScopedResourceSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieReleaseYAML

func (d *ScopedResourceSelectorRequirementDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ScopedResourceSelectorRequirementDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ScopedResourceSelectorRequirementDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ScopedResourceSelectorRequirementDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ScopedResourceSelectorRequirementDie) Operator

Represents a scope's relationship to a set of values.

Valid operators are In, NotIn, Exists, DoesNotExist.

func (*ScopedResourceSelectorRequirementDie) ScopeName

The name of the scope that the selector applies to.

func (*ScopedResourceSelectorRequirementDie) Values

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.

type SeccompProfileDie

type SeccompProfileDie struct {
	// contains filtered or unexported fields
}

func (*SeccompProfileDie) DeepCopy

func (d *SeccompProfileDie) DeepCopy() *SeccompProfileDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SeccompProfileDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SeccompProfileDie) DieFeedJSON

func (d *SeccompProfileDie) DieFeedJSON(j []byte) *SeccompProfileDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SeccompProfileDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SeccompProfileDie) DieFeedRawExtension

func (d *SeccompProfileDie) DieFeedRawExtension(raw runtime.RawExtension) *SeccompProfileDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SeccompProfileDie) DieFeedYAML

func (d *SeccompProfileDie) DieFeedYAML(y []byte) *SeccompProfileDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SeccompProfileDie) DieFeedYAMLFile

func (d *SeccompProfileDie) DieFeedYAMLFile(name string) *SeccompProfileDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SeccompProfileDie) DieImmutable

func (d *SeccompProfileDie) DieImmutable(immutable bool) *SeccompProfileDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SeccompProfileDie) DieRelease

func (d *SeccompProfileDie) DieRelease() corev1.SeccompProfile

DieRelease returns the resource managed by the die.

func (*SeccompProfileDie) DieReleaseJSON

func (d *SeccompProfileDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SeccompProfileDie) DieReleasePtr

func (d *SeccompProfileDie) DieReleasePtr() *corev1.SeccompProfile

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SeccompProfileDie) DieReleaseRawExtension

func (d *SeccompProfileDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SeccompProfileDie) DieReleaseYAML

func (d *SeccompProfileDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SeccompProfileDie) DieStamp

func (d *SeccompProfileDie) DieStamp(fn func(r *corev1.SeccompProfile)) *SeccompProfileDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SeccompProfileDie) DieStampAt

func (d *SeccompProfileDie) DieStampAt(jp string, fn interface{}) *SeccompProfileDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SeccompProfileDie) DieWith

func (d *SeccompProfileDie) DieWith(fns ...func(d *SeccompProfileDie)) *SeccompProfileDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SeccompProfileDie) LocalhostProfile

func (d *SeccompProfileDie) LocalhostProfile(v *string) *SeccompProfileDie

localhostProfile indicates a profile defined in a file on the node should be used.

The profile must be preconfigured on the node to work.

Must be a descending path, relative to the kubelet's configured seccomp profile location.

Must be set if type is "Localhost". Must NOT be set for any other type.

func (*SeccompProfileDie) Type

type indicates which kind of seccomp profile will be applied.

Valid options are:

Localhost - a profile defined in a file on the node should be used.

RuntimeDefault - the container runtime default profile should be used.

Unconfined - no profile should be applied.

type Secret

type Secret = corev1.Secret

+die:object=true,ignore={Data,StringData}

type SecretDie

type SecretDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*SecretDie) APIVersion

func (d *SecretDie) APIVersion(v string) *SecretDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*SecretDie) AddData

func (d *SecretDie) AddData(key string, value []byte) *SecretDie

func (*SecretDie) AddStringData

func (d *SecretDie) AddStringData(key string, value string) *SecretDie

func (*SecretDie) Data

func (d *SecretDie) Data(v map[string][]byte) *SecretDie

func (*SecretDie) DeepCopy

func (d *SecretDie) DeepCopy() *SecretDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecretDie) DeepCopyObject

func (d *SecretDie) DeepCopyObject() runtime.Object

func (*SecretDie) DieFeed

func (d *SecretDie) DieFeed(r corev1.Secret) *SecretDie

DieFeed returns a new die with the provided resource.

func (*SecretDie) DieFeedJSON

func (d *SecretDie) DieFeedJSON(j []byte) *SecretDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecretDie) DieFeedPtr

func (d *SecretDie) DieFeedPtr(r *corev1.Secret) *SecretDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecretDie) DieFeedRawExtension

func (d *SecretDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretDie) DieFeedYAML

func (d *SecretDie) DieFeedYAML(y []byte) *SecretDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecretDie) DieFeedYAMLFile

func (d *SecretDie) DieFeedYAMLFile(name string) *SecretDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecretDie) DieImmutable

func (d *SecretDie) DieImmutable(immutable bool) *SecretDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecretDie) DieRelease

func (d *SecretDie) DieRelease() corev1.Secret

DieRelease returns the resource managed by the die.

func (*SecretDie) DieReleaseJSON

func (d *SecretDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecretDie) DieReleasePtr

func (d *SecretDie) DieReleasePtr() *corev1.Secret

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecretDie) DieReleaseRawExtension

func (d *SecretDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretDie) DieReleaseUnstructured

func (d *SecretDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*SecretDie) DieReleaseYAML

func (d *SecretDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecretDie) DieStamp

func (d *SecretDie) DieStamp(fn func(r *corev1.Secret)) *SecretDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecretDie) DieStampAt

func (d *SecretDie) DieStampAt(jp string, fn interface{}) *SecretDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecretDie) DieWith

func (d *SecretDie) DieWith(fns ...func(d *SecretDie)) *SecretDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecretDie) GetObjectKind

func (d *SecretDie) GetObjectKind() schema.ObjectKind

func (*SecretDie) Immutable

func (d *SecretDie) Immutable(v *bool) *SecretDie

Immutable, if set to true, ensures that data stored in the Secret cannot

be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

Defaulted to nil.

func (*SecretDie) Kind

func (d *SecretDie) Kind(v string) *SecretDie

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

func (*SecretDie) MarshalJSON

func (d *SecretDie) MarshalJSON() ([]byte, error)

func (*SecretDie) MetadataDie

func (d *SecretDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *SecretDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*SecretDie) StringData

func (d *SecretDie) StringData(v map[string]string) *SecretDie

func (*SecretDie) Type

func (d *SecretDie) Type(v corev1.SecretType) *SecretDie

Used to facilitate programmatic handling of secret data.

More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types

func (*SecretDie) UnmarshalJSON

func (d *SecretDie) UnmarshalJSON(b []byte) error

type SecretEnvSourceDie

type SecretEnvSourceDie struct {
	// contains filtered or unexported fields
}

func (*SecretEnvSourceDie) DeepCopy

func (d *SecretEnvSourceDie) DeepCopy() *SecretEnvSourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecretEnvSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SecretEnvSourceDie) DieFeedJSON

func (d *SecretEnvSourceDie) DieFeedJSON(j []byte) *SecretEnvSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecretEnvSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecretEnvSourceDie) DieFeedRawExtension

func (d *SecretEnvSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretEnvSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretEnvSourceDie) DieFeedYAML

func (d *SecretEnvSourceDie) DieFeedYAML(y []byte) *SecretEnvSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecretEnvSourceDie) DieFeedYAMLFile

func (d *SecretEnvSourceDie) DieFeedYAMLFile(name string) *SecretEnvSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecretEnvSourceDie) DieImmutable

func (d *SecretEnvSourceDie) DieImmutable(immutable bool) *SecretEnvSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecretEnvSourceDie) DieRelease

func (d *SecretEnvSourceDie) DieRelease() corev1.SecretEnvSource

DieRelease returns the resource managed by the die.

func (*SecretEnvSourceDie) DieReleaseJSON

func (d *SecretEnvSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecretEnvSourceDie) DieReleasePtr

func (d *SecretEnvSourceDie) DieReleasePtr() *corev1.SecretEnvSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecretEnvSourceDie) DieReleaseRawExtension

func (d *SecretEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretEnvSourceDie) DieReleaseYAML

func (d *SecretEnvSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecretEnvSourceDie) DieStamp

func (d *SecretEnvSourceDie) DieStamp(fn func(r *corev1.SecretEnvSource)) *SecretEnvSourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecretEnvSourceDie) DieStampAt

func (d *SecretEnvSourceDie) DieStampAt(jp string, fn interface{}) *SecretEnvSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecretEnvSourceDie) DieWith

func (d *SecretEnvSourceDie) DieWith(fns ...func(d *SecretEnvSourceDie)) *SecretEnvSourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecretEnvSourceDie) LocalObjectReference

The Secret to select from.

func (*SecretEnvSourceDie) Name

func (*SecretEnvSourceDie) Optional

func (d *SecretEnvSourceDie) Optional(v *bool) *SecretEnvSourceDie

Specify whether the Secret must be defined

type SecretKeySelectorDie

type SecretKeySelectorDie struct {
	// contains filtered or unexported fields
}

func (*SecretKeySelectorDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecretKeySelectorDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SecretKeySelectorDie) DieFeedJSON

func (d *SecretKeySelectorDie) DieFeedJSON(j []byte) *SecretKeySelectorDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecretKeySelectorDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecretKeySelectorDie) DieFeedRawExtension

func (d *SecretKeySelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretKeySelectorDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretKeySelectorDie) DieFeedYAML

func (d *SecretKeySelectorDie) DieFeedYAML(y []byte) *SecretKeySelectorDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecretKeySelectorDie) DieFeedYAMLFile

func (d *SecretKeySelectorDie) DieFeedYAMLFile(name string) *SecretKeySelectorDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecretKeySelectorDie) DieImmutable

func (d *SecretKeySelectorDie) DieImmutable(immutable bool) *SecretKeySelectorDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecretKeySelectorDie) DieRelease

DieRelease returns the resource managed by the die.

func (*SecretKeySelectorDie) DieReleaseJSON

func (d *SecretKeySelectorDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecretKeySelectorDie) DieReleasePtr

func (d *SecretKeySelectorDie) DieReleasePtr() *corev1.SecretKeySelector

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecretKeySelectorDie) DieReleaseRawExtension

func (d *SecretKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretKeySelectorDie) DieReleaseYAML

func (d *SecretKeySelectorDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecretKeySelectorDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecretKeySelectorDie) DieStampAt

func (d *SecretKeySelectorDie) DieStampAt(jp string, fn interface{}) *SecretKeySelectorDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecretKeySelectorDie) DieWith

func (d *SecretKeySelectorDie) DieWith(fns ...func(d *SecretKeySelectorDie)) *SecretKeySelectorDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecretKeySelectorDie) Key

The key of the secret to select from. Must be a valid secret key.

func (*SecretKeySelectorDie) LocalObjectReference

The name of the secret in the pod's namespace to select from.

func (*SecretKeySelectorDie) Name

func (*SecretKeySelectorDie) Optional

Specify whether the Secret or its key must be defined

type SecretProjectionDie

type SecretProjectionDie struct {
	// contains filtered or unexported fields
}

func (*SecretProjectionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecretProjectionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SecretProjectionDie) DieFeedJSON

func (d *SecretProjectionDie) DieFeedJSON(j []byte) *SecretProjectionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecretProjectionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecretProjectionDie) DieFeedRawExtension

func (d *SecretProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretProjectionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretProjectionDie) DieFeedYAML

func (d *SecretProjectionDie) DieFeedYAML(y []byte) *SecretProjectionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecretProjectionDie) DieFeedYAMLFile

func (d *SecretProjectionDie) DieFeedYAMLFile(name string) *SecretProjectionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecretProjectionDie) DieImmutable

func (d *SecretProjectionDie) DieImmutable(immutable bool) *SecretProjectionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecretProjectionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*SecretProjectionDie) DieReleaseJSON

func (d *SecretProjectionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecretProjectionDie) DieReleasePtr

func (d *SecretProjectionDie) DieReleasePtr() *corev1.SecretProjection

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecretProjectionDie) DieReleaseRawExtension

func (d *SecretProjectionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretProjectionDie) DieReleaseYAML

func (d *SecretProjectionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecretProjectionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecretProjectionDie) DieStampAt

func (d *SecretProjectionDie) DieStampAt(jp string, fn interface{}) *SecretProjectionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecretProjectionDie) DieWith

func (d *SecretProjectionDie) DieWith(fns ...func(d *SecretProjectionDie)) *SecretProjectionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecretProjectionDie) ItemDie

func (d *SecretProjectionDie) ItemDie(key string, fn func(d *KeyToPathDie)) *SecretProjectionDie

func (*SecretProjectionDie) Items

items 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 '..'.

func (*SecretProjectionDie) LocalObjectReference

func (*SecretProjectionDie) Name

func (*SecretProjectionDie) Optional

func (d *SecretProjectionDie) Optional(v *bool) *SecretProjectionDie

optional field specify whether the Secret or its key must be defined

type SecretReferenceDie

type SecretReferenceDie struct {
	// contains filtered or unexported fields
}

func (*SecretReferenceDie) DeepCopy

func (d *SecretReferenceDie) DeepCopy() *SecretReferenceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecretReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SecretReferenceDie) DieFeedJSON

func (d *SecretReferenceDie) DieFeedJSON(j []byte) *SecretReferenceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecretReferenceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecretReferenceDie) DieFeedRawExtension

func (d *SecretReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretReferenceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretReferenceDie) DieFeedYAML

func (d *SecretReferenceDie) DieFeedYAML(y []byte) *SecretReferenceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecretReferenceDie) DieFeedYAMLFile

func (d *SecretReferenceDie) DieFeedYAMLFile(name string) *SecretReferenceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecretReferenceDie) DieImmutable

func (d *SecretReferenceDie) DieImmutable(immutable bool) *SecretReferenceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecretReferenceDie) DieRelease

func (d *SecretReferenceDie) DieRelease() corev1.SecretReference

DieRelease returns the resource managed by the die.

func (*SecretReferenceDie) DieReleaseJSON

func (d *SecretReferenceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecretReferenceDie) DieReleasePtr

func (d *SecretReferenceDie) DieReleasePtr() *corev1.SecretReference

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecretReferenceDie) DieReleaseRawExtension

func (d *SecretReferenceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretReferenceDie) DieReleaseYAML

func (d *SecretReferenceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecretReferenceDie) DieStamp

func (d *SecretReferenceDie) DieStamp(fn func(r *corev1.SecretReference)) *SecretReferenceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecretReferenceDie) DieStampAt

func (d *SecretReferenceDie) DieStampAt(jp string, fn interface{}) *SecretReferenceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecretReferenceDie) DieWith

func (d *SecretReferenceDie) DieWith(fns ...func(d *SecretReferenceDie)) *SecretReferenceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecretReferenceDie) Name

name is unique within a namespace to reference a secret resource.

func (*SecretReferenceDie) Namespace

func (d *SecretReferenceDie) Namespace(v string) *SecretReferenceDie

namespace defines the space within which the secret name must be unique.

type SecretVolumeSourceDie

type SecretVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*SecretVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecretVolumeSourceDie) DefaultMode

defaultMode is 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.

func (*SecretVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SecretVolumeSourceDie) DieFeedJSON

func (d *SecretVolumeSourceDie) DieFeedJSON(j []byte) *SecretVolumeSourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecretVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecretVolumeSourceDie) DieFeedRawExtension

func (d *SecretVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretVolumeSourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretVolumeSourceDie) DieFeedYAML

func (d *SecretVolumeSourceDie) DieFeedYAML(y []byte) *SecretVolumeSourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecretVolumeSourceDie) DieFeedYAMLFile

func (d *SecretVolumeSourceDie) DieFeedYAMLFile(name string) *SecretVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecretVolumeSourceDie) DieImmutable

func (d *SecretVolumeSourceDie) DieImmutable(immutable bool) *SecretVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecretVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*SecretVolumeSourceDie) DieReleaseJSON

func (d *SecretVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecretVolumeSourceDie) DieReleasePtr

func (d *SecretVolumeSourceDie) DieReleasePtr() *corev1.SecretVolumeSource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecretVolumeSourceDie) DieReleaseRawExtension

func (d *SecretVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecretVolumeSourceDie) DieReleaseYAML

func (d *SecretVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecretVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecretVolumeSourceDie) DieStampAt

func (d *SecretVolumeSourceDie) DieStampAt(jp string, fn interface{}) *SecretVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecretVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecretVolumeSourceDie) ItemDie

func (d *SecretVolumeSourceDie) ItemDie(key string, fn func(d *KeyToPathDie)) *SecretVolumeSourceDie

func (*SecretVolumeSourceDie) Items

items 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 '..'.

func (*SecretVolumeSourceDie) Optional

optional field specify whether the Secret or its keys must be defined

func (*SecretVolumeSourceDie) SecretName

secretName is the name of the secret in the pod's namespace to use.

More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

type SecurityContextDie

type SecurityContextDie struct {
	// contains filtered or unexported fields
}

func (*SecurityContextDie) AllowPrivilegeEscalation

func (d *SecurityContextDie) AllowPrivilegeEscalation(v *bool) *SecurityContextDie

AllowPrivilegeEscalation controls whether a process can gain more

privileges than its parent process. This bool directly controls if

the no_new_privs flag will be set on the container process.

AllowPrivilegeEscalation is true always when the container is:

1) run as Privileged

2) has CAP_SYS_ADMIN

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) AppArmorProfile added in v0.12.0

appArmorProfile is the AppArmor options to use by this container. If set, this profile

overrides the pod's appArmorProfile.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) AppArmorProfileDie added in v0.12.0

func (d *SecurityContextDie) AppArmorProfileDie(fn func(d *AppArmorProfileDie)) *SecurityContextDie

func (*SecurityContextDie) Capabilities

The capabilities to add/drop when running containers.

Defaults to the default set of capabilities granted by the container runtime.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) CapabilitiesDie

func (d *SecurityContextDie) CapabilitiesDie(fn func(d *CapabilitiesDie)) *SecurityContextDie

func (*SecurityContextDie) DeepCopy

func (d *SecurityContextDie) DeepCopy() *SecurityContextDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SecurityContextDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SecurityContextDie) DieFeedJSON

func (d *SecurityContextDie) DieFeedJSON(j []byte) *SecurityContextDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SecurityContextDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SecurityContextDie) DieFeedRawExtension

func (d *SecurityContextDie) DieFeedRawExtension(raw runtime.RawExtension) *SecurityContextDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecurityContextDie) DieFeedYAML

func (d *SecurityContextDie) DieFeedYAML(y []byte) *SecurityContextDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SecurityContextDie) DieFeedYAMLFile

func (d *SecurityContextDie) DieFeedYAMLFile(name string) *SecurityContextDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SecurityContextDie) DieImmutable

func (d *SecurityContextDie) DieImmutable(immutable bool) *SecurityContextDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SecurityContextDie) DieRelease

func (d *SecurityContextDie) DieRelease() corev1.SecurityContext

DieRelease returns the resource managed by the die.

func (*SecurityContextDie) DieReleaseJSON

func (d *SecurityContextDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SecurityContextDie) DieReleasePtr

func (d *SecurityContextDie) DieReleasePtr() *corev1.SecurityContext

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SecurityContextDie) DieReleaseRawExtension

func (d *SecurityContextDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SecurityContextDie) DieReleaseYAML

func (d *SecurityContextDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SecurityContextDie) DieStamp

func (d *SecurityContextDie) DieStamp(fn func(r *corev1.SecurityContext)) *SecurityContextDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SecurityContextDie) DieStampAt

func (d *SecurityContextDie) DieStampAt(jp string, fn interface{}) *SecurityContextDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SecurityContextDie) DieWith

func (d *SecurityContextDie) DieWith(fns ...func(d *SecurityContextDie)) *SecurityContextDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SecurityContextDie) Privileged

func (d *SecurityContextDie) Privileged(v *bool) *SecurityContextDie

Run container in privileged mode.

Processes in privileged containers are essentially equivalent to root on the host.

Defaults to false.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) ProcMount

procMount denotes the type of proc mount to use for the containers.

The default is DefaultProcMount which uses the container runtime defaults for

readonly paths and masked paths.

This requires the ProcMountType feature flag to be enabled.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) ReadOnlyRootFilesystem

func (d *SecurityContextDie) ReadOnlyRootFilesystem(v *bool) *SecurityContextDie

Whether this container has a read-only root filesystem.

Default is false.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) RunAsGroup

func (d *SecurityContextDie) RunAsGroup(v *int64) *SecurityContextDie

The GID to run the entrypoint of the container process.

Uses runtime default if unset.

May also be set in PodSecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) RunAsNonRoot

func (d *SecurityContextDie) RunAsNonRoot(v *bool) *SecurityContextDie

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it

does not run as UID 0 (root) and fail to start the container if it does.

If unset or false, no such validation will be performed.

May also be set in PodSecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence.

func (*SecurityContextDie) RunAsUser

func (d *SecurityContextDie) RunAsUser(v *int64) *SecurityContextDie

The UID to run the entrypoint of the container process.

Defaults to user specified in image metadata if unspecified.

May also be set in PodSecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) SELinuxOptions

The SELinux context to be applied to the container.

If unspecified, the container runtime will allocate a random SELinux context for each

container. May also be set in PodSecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) SELinuxOptionsDie

func (d *SecurityContextDie) SELinuxOptionsDie(fn func(d *SELinuxOptionsDie)) *SecurityContextDie

func (*SecurityContextDie) SeccompProfile

The seccomp options to use by this container. If seccomp options are

provided at both the pod & container level, the container options

override the pod options.

Note that this field cannot be set when spec.os.name is windows.

func (*SecurityContextDie) SeccompProfileDie

func (d *SecurityContextDie) SeccompProfileDie(fn func(d *SeccompProfileDie)) *SecurityContextDie

func (*SecurityContextDie) WindowsOptions

The Windows specific settings applied to all containers.

If unspecified, the options from the PodSecurityContext will be used.

If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

Note that this field cannot be set when spec.os.name is linux.

func (*SecurityContextDie) WindowsOptionsDie

func (d *SecurityContextDie) WindowsOptionsDie(fn func(d *WindowsSecurityContextOptionsDie)) *SecurityContextDie

type ServiceAccountDie

type ServiceAccountDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ServiceAccountDie) APIVersion

func (d *ServiceAccountDie) APIVersion(v string) *ServiceAccountDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ServiceAccountDie) AutomountServiceAccountToken

func (d *ServiceAccountDie) AutomountServiceAccountToken(v *bool) *ServiceAccountDie

AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.

Can be overridden at the pod level.

func (*ServiceAccountDie) DeepCopy

func (d *ServiceAccountDie) DeepCopy() *ServiceAccountDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServiceAccountDie) DeepCopyObject

func (d *ServiceAccountDie) DeepCopyObject() runtime.Object

func (*ServiceAccountDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceAccountDie) DieFeedJSON

func (d *ServiceAccountDie) DieFeedJSON(j []byte) *ServiceAccountDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServiceAccountDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServiceAccountDie) DieFeedRawExtension

func (d *ServiceAccountDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceAccountDie) DieFeedYAML

func (d *ServiceAccountDie) DieFeedYAML(y []byte) *ServiceAccountDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServiceAccountDie) DieFeedYAMLFile

func (d *ServiceAccountDie) DieFeedYAMLFile(name string) *ServiceAccountDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServiceAccountDie) DieImmutable

func (d *ServiceAccountDie) DieImmutable(immutable bool) *ServiceAccountDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServiceAccountDie) DieRelease

func (d *ServiceAccountDie) DieRelease() corev1.ServiceAccount

DieRelease returns the resource managed by the die.

func (*ServiceAccountDie) DieReleaseJSON

func (d *ServiceAccountDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServiceAccountDie) DieReleasePtr

func (d *ServiceAccountDie) DieReleasePtr() *corev1.ServiceAccount

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServiceAccountDie) DieReleaseRawExtension

func (d *ServiceAccountDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceAccountDie) DieReleaseUnstructured

func (d *ServiceAccountDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ServiceAccountDie) DieReleaseYAML

func (d *ServiceAccountDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServiceAccountDie) DieStamp

func (d *ServiceAccountDie) DieStamp(fn func(r *corev1.ServiceAccount)) *ServiceAccountDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServiceAccountDie) DieStampAt

func (d *ServiceAccountDie) DieStampAt(jp string, fn interface{}) *ServiceAccountDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServiceAccountDie) DieWith

func (d *ServiceAccountDie) DieWith(fns ...func(d *ServiceAccountDie)) *ServiceAccountDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServiceAccountDie) GetObjectKind

func (d *ServiceAccountDie) GetObjectKind() schema.ObjectKind

func (*ServiceAccountDie) ImagePullSecrets

ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images

in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets

can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.

More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod

func (*ServiceAccountDie) ImagePullSecretsDie

func (d *ServiceAccountDie) ImagePullSecretsDie(secrets ...*LocalObjectReferenceDie) *ServiceAccountDie

func (*ServiceAccountDie) Kind

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

func (*ServiceAccountDie) MarshalJSON

func (d *ServiceAccountDie) MarshalJSON() ([]byte, error)

func (*ServiceAccountDie) MetadataDie

func (d *ServiceAccountDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceAccountDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ServiceAccountDie) Secrets

Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.

Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true".

This field should not be used to find auto-generated service account token secrets for use outside of pods.

Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created.

More info: https://kubernetes.io/docs/concepts/configuration/secret

func (*ServiceAccountDie) SecretsDie

func (d *ServiceAccountDie) SecretsDie(secrets ...*ObjectReferenceDie) *ServiceAccountDie

func (*ServiceAccountDie) UnmarshalJSON

func (d *ServiceAccountDie) UnmarshalJSON(b []byte) error

type ServiceAccountTokenProjectionDie

type ServiceAccountTokenProjectionDie struct {
	// contains filtered or unexported fields
}

func (*ServiceAccountTokenProjectionDie) Audience

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.

func (*ServiceAccountTokenProjectionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServiceAccountTokenProjectionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceAccountTokenProjectionDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServiceAccountTokenProjectionDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServiceAccountTokenProjectionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceAccountTokenProjectionDie) DieReleaseJSON

func (d *ServiceAccountTokenProjectionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServiceAccountTokenProjectionDie) DieReleaseRawExtension

func (d *ServiceAccountTokenProjectionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieReleaseYAML

func (d *ServiceAccountTokenProjectionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServiceAccountTokenProjectionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServiceAccountTokenProjectionDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServiceAccountTokenProjectionDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServiceAccountTokenProjectionDie) ExpirationSeconds

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.

func (*ServiceAccountTokenProjectionDie) Path

path is the path relative to the mount point of the file to project the

token into.

type ServiceDie

type ServiceDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ServiceDie) APIVersion

func (d *ServiceDie) APIVersion(v string) *ServiceDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ServiceDie) DeepCopy

func (d *ServiceDie) DeepCopy() *ServiceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServiceDie) DeepCopyObject

func (d *ServiceDie) DeepCopyObject() runtime.Object

func (*ServiceDie) DieFeed

func (d *ServiceDie) DieFeed(r corev1.Service) *ServiceDie

DieFeed returns a new die with the provided resource.

func (*ServiceDie) DieFeedJSON

func (d *ServiceDie) DieFeedJSON(j []byte) *ServiceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServiceDie) DieFeedPtr

func (d *ServiceDie) DieFeedPtr(r *corev1.Service) *ServiceDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServiceDie) DieFeedRawExtension

func (d *ServiceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceDie) DieFeedYAML

func (d *ServiceDie) DieFeedYAML(y []byte) *ServiceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServiceDie) DieFeedYAMLFile

func (d *ServiceDie) DieFeedYAMLFile(name string) *ServiceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServiceDie) DieImmutable

func (d *ServiceDie) DieImmutable(immutable bool) *ServiceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServiceDie) DieRelease

func (d *ServiceDie) DieRelease() corev1.Service

DieRelease returns the resource managed by the die.

func (*ServiceDie) DieReleaseJSON

func (d *ServiceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServiceDie) DieReleasePtr

func (d *ServiceDie) DieReleasePtr() *corev1.Service

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServiceDie) DieReleaseRawExtension

func (d *ServiceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceDie) DieReleaseUnstructured

func (d *ServiceDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ServiceDie) DieReleaseYAML

func (d *ServiceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServiceDie) DieStamp

func (d *ServiceDie) DieStamp(fn func(r *corev1.Service)) *ServiceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServiceDie) DieStampAt

func (d *ServiceDie) DieStampAt(jp string, fn interface{}) *ServiceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServiceDie) DieWith

func (d *ServiceDie) DieWith(fns ...func(d *ServiceDie)) *ServiceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServiceDie) GetObjectKind

func (d *ServiceDie) GetObjectKind() schema.ObjectKind

func (*ServiceDie) Kind

func (d *ServiceDie) Kind(v string) *ServiceDie

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

func (*ServiceDie) MarshalJSON

func (d *ServiceDie) MarshalJSON() ([]byte, error)

func (*ServiceDie) MetadataDie

func (d *ServiceDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ServiceDie) SpecDie

func (d *ServiceDie) SpecDie(fn func(d *ServiceSpecDie)) *ServiceDie

SpecDie stamps the resource's spec field with a mutable die.

func (*ServiceDie) Status

func (d *ServiceDie) Status(v corev1.ServiceStatus) *ServiceDie

Most recently observed status of the service.

Populated by the system.

Read-only.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (*ServiceDie) StatusDie

func (d *ServiceDie) StatusDie(fn func(d *ServiceStatusDie)) *ServiceDie

StatusDie stamps the resource's status field with a mutable die.

func (*ServiceDie) UnmarshalJSON

func (d *ServiceDie) UnmarshalJSON(b []byte) error

type ServicePortDie

type ServicePortDie struct {
	// contains filtered or unexported fields
}

func (*ServicePortDie) AppProtocol

func (d *ServicePortDie) AppProtocol(v *string) *ServicePortDie

The application protocol for this port.

This is used as a hint for implementations to offer richer behavior for protocols that they understand.

This field follows standard Kubernetes label syntax.

Valid values are either:

* Un-prefixed protocol names - reserved for IANA standard service names (as per

RFC-6335 and https://www.iana.org/assignments/service-names).

* Kubernetes-defined prefixed names:

* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-

* 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455

* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455

* Other protocols should use implementation-defined prefixed names such as

mycompany.com/my-custom-protocol.

func (*ServicePortDie) DeepCopy

func (d *ServicePortDie) DeepCopy() *ServicePortDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServicePortDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServicePortDie) DieFeedJSON

func (d *ServicePortDie) DieFeedJSON(j []byte) *ServicePortDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServicePortDie) DieFeedPtr

func (d *ServicePortDie) DieFeedPtr(r *corev1.ServicePort) *ServicePortDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServicePortDie) DieFeedRawExtension

func (d *ServicePortDie) DieFeedRawExtension(raw runtime.RawExtension) *ServicePortDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServicePortDie) DieFeedYAML

func (d *ServicePortDie) DieFeedYAML(y []byte) *ServicePortDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServicePortDie) DieFeedYAMLFile

func (d *ServicePortDie) DieFeedYAMLFile(name string) *ServicePortDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServicePortDie) DieImmutable

func (d *ServicePortDie) DieImmutable(immutable bool) *ServicePortDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServicePortDie) DieRelease

func (d *ServicePortDie) DieRelease() corev1.ServicePort

DieRelease returns the resource managed by the die.

func (*ServicePortDie) DieReleaseJSON

func (d *ServicePortDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServicePortDie) DieReleasePtr

func (d *ServicePortDie) DieReleasePtr() *corev1.ServicePort

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServicePortDie) DieReleaseRawExtension

func (d *ServicePortDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServicePortDie) DieReleaseYAML

func (d *ServicePortDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServicePortDie) DieStamp

func (d *ServicePortDie) DieStamp(fn func(r *corev1.ServicePort)) *ServicePortDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServicePortDie) DieStampAt

func (d *ServicePortDie) DieStampAt(jp string, fn interface{}) *ServicePortDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServicePortDie) DieWith

func (d *ServicePortDie) DieWith(fns ...func(d *ServicePortDie)) *ServicePortDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServicePortDie) Name

func (d *ServicePortDie) Name(v string) *ServicePortDie

The name of this port within the service. This must be a DNS_LABEL.

All ports within a ServiceSpec must have unique names. When considering

the endpoints for a Service, this must match the 'name' field in the

EndpointPort.

Optional if only one ServicePort is defined on this service.

func (*ServicePortDie) NodePort

func (d *ServicePortDie) NodePort(v int32) *ServicePortDie

The port on each node on which this service is exposed when type is

NodePort or LoadBalancer. Usually assigned by the system. If a value is

specified, in-range, and not in use it will be used, otherwise the

operation will fail. If not specified, a port will be allocated if this

Service requires one. If this field is specified when creating a

Service which does not need it, creation will fail. This field will be

wiped when updating a Service to no longer need it (e.g. changing type

from NodePort to ClusterIP).

More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

func (*ServicePortDie) Port

func (d *ServicePortDie) Port(v int32) *ServicePortDie

The port that will be exposed by this service.

func (*ServicePortDie) Protocol

func (d *ServicePortDie) Protocol(v corev1.Protocol) *ServicePortDie

The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".

Default is TCP.

func (*ServicePortDie) TargetPort

func (d *ServicePortDie) TargetPort(v intstr.IntOrString) *ServicePortDie

Number or name of the port to access on the pods targeted by the service.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

If this is a string, it will be looked up as a named port in the

target Pod's container ports. If this is not specified, the value

of the 'port' field is used (an identity map).

This field is ignored for services with clusterIP=None, and should be

omitted or set equal to the 'port' field.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service

func (*ServicePortDie) TargetPortInt

func (d *ServicePortDie) TargetPortInt(i int) *ServicePortDie

func (*ServicePortDie) TargetPortString

func (d *ServicePortDie) TargetPortString(s string) *ServicePortDie

type ServiceSpecDie

type ServiceSpecDie struct {
	// contains filtered or unexported fields
}

func (*ServiceSpecDie) AddSelector

func (d *ServiceSpecDie) AddSelector(key, value string) *ServiceSpecDie

func (*ServiceSpecDie) AllocateLoadBalancerNodePorts

func (d *ServiceSpecDie) AllocateLoadBalancerNodePorts(v *bool) *ServiceSpecDie

allocateLoadBalancerNodePorts defines if NodePorts will be automatically

allocated for services with type LoadBalancer. Default is "true". It

may be set to "false" if the cluster load-balancer does not rely on

NodePorts. If the caller requests specific NodePorts (by specifying a

value), those requests will be respected, regardless of this field.

This field may only be set for services with type LoadBalancer and will

be cleared if the type is changed to any other type.

func (*ServiceSpecDie) ClusterIP

func (d *ServiceSpecDie) ClusterIP(v string) *ServiceSpecDie

clusterIP is the IP address of the service and is usually assigned

randomly. If an address is specified manually, is in-range (as per

system configuration), and is not in use, it will be allocated to the

service; otherwise creation of the service will fail. This field may not

be changed through updates unless the type field is also being changed

to ExternalName (which requires this field to be blank) or the type

field is being changed from ExternalName (in which case this field may

optionally be specified, as describe above). Valid values are "None",

empty string (""), or a valid IP address. Setting this to "None" makes a

"headless service" (no virtual IP), which is useful when direct endpoint

connections are preferred and proxying is not required. Only applies to

types ClusterIP, NodePort, and LoadBalancer. If this field is specified

when creating a Service of type ExternalName, creation will fail. This

field will be wiped when updating a Service to type ExternalName.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

func (*ServiceSpecDie) ClusterIPs

func (d *ServiceSpecDie) ClusterIPs(v ...string) *ServiceSpecDie

ClusterIPs is a list of IP addresses assigned to this service, and are

usually assigned randomly. If an address is specified manually, is

in-range (as per system configuration), and is not in use, it will be

allocated to the service; otherwise creation of the service will fail.

This field may not be changed through updates unless the type field is

also being changed to ExternalName (which requires this field to be

empty) or the type field is being changed from ExternalName (in which

case this field may optionally be specified, as describe above). Valid

values are "None", empty string (""), or a valid IP address. Setting

this to "None" makes a "headless service" (no virtual IP), which is

useful when direct endpoint connections are preferred and proxying is

not required. Only applies to types ClusterIP, NodePort, and

LoadBalancer. If this field is specified when creating a Service of type

ExternalName, creation will fail. This field will be wiped when updating

a Service to type ExternalName. If this field is not specified, it will

be initialized from the clusterIP field. If this field is specified,

clients must ensure that clusterIPs[0] and clusterIP have the same

value.

This field may hold a maximum of two entries (dual-stack IPs, in either order).

These IPs must correspond to the values of the ipFamilies field. Both

clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

func (*ServiceSpecDie) DeepCopy

func (d *ServiceSpecDie) DeepCopy() *ServiceSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServiceSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceSpecDie) DieFeedJSON

func (d *ServiceSpecDie) DieFeedJSON(j []byte) *ServiceSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServiceSpecDie) DieFeedPtr

func (d *ServiceSpecDie) DieFeedPtr(r *corev1.ServiceSpec) *ServiceSpecDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServiceSpecDie) DieFeedRawExtension

func (d *ServiceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceSpecDie) DieFeedYAML

func (d *ServiceSpecDie) DieFeedYAML(y []byte) *ServiceSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServiceSpecDie) DieFeedYAMLFile

func (d *ServiceSpecDie) DieFeedYAMLFile(name string) *ServiceSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServiceSpecDie) DieImmutable

func (d *ServiceSpecDie) DieImmutable(immutable bool) *ServiceSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServiceSpecDie) DieRelease

func (d *ServiceSpecDie) DieRelease() corev1.ServiceSpec

DieRelease returns the resource managed by the die.

func (*ServiceSpecDie) DieReleaseJSON

func (d *ServiceSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServiceSpecDie) DieReleasePtr

func (d *ServiceSpecDie) DieReleasePtr() *corev1.ServiceSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServiceSpecDie) DieReleaseRawExtension

func (d *ServiceSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceSpecDie) DieReleaseYAML

func (d *ServiceSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServiceSpecDie) DieStamp

func (d *ServiceSpecDie) DieStamp(fn func(r *corev1.ServiceSpec)) *ServiceSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServiceSpecDie) DieStampAt

func (d *ServiceSpecDie) DieStampAt(jp string, fn interface{}) *ServiceSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServiceSpecDie) DieWith

func (d *ServiceSpecDie) DieWith(fns ...func(d *ServiceSpecDie)) *ServiceSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServiceSpecDie) ExternalIPs

func (d *ServiceSpecDie) ExternalIPs(v ...string) *ServiceSpecDie

externalIPs is a list of IP addresses for which nodes in the cluster

will also accept traffic for this service. These IPs are not managed by

Kubernetes. The user is responsible for ensuring that traffic arrives

at a node with this IP. A common example is external load-balancers

that are not part of the Kubernetes system.

func (*ServiceSpecDie) ExternalName

func (d *ServiceSpecDie) ExternalName(v string) *ServiceSpecDie

externalName is the external reference that discovery mechanisms will

return as an alias for this service (e.g. a DNS CNAME record). No

proxying will be involved. Must be a lowercase RFC-1123 hostname

(https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName".

func (*ServiceSpecDie) ExternalTrafficPolicy

externalTrafficPolicy describes how nodes distribute service traffic they

receive on one of the Service's "externally-facing" addresses (NodePorts,

ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure

the service in a way that assumes that external load balancers will take care

of balancing the service traffic between nodes, and so each node will deliver

traffic only to the node-local endpoints of the service, without masquerading

the client source IP. (Traffic mistakenly sent to a node with no endpoints will

be dropped.) The default value, "Cluster", uses the standard behavior of

routing to all endpoints evenly (possibly modified by topology and other

features). Note that traffic sent to an External IP or LoadBalancer IP from

within the cluster will always get "Cluster" semantics, but clients sending to

a NodePort from within the cluster may need to take traffic policy into account

when picking a node.

func (*ServiceSpecDie) HealthCheckNodePort

func (d *ServiceSpecDie) HealthCheckNodePort(v int32) *ServiceSpecDie

healthCheckNodePort specifies the healthcheck nodePort for the service.

This only applies when type is set to LoadBalancer and

externalTrafficPolicy is set to Local. If a value is specified, is

in-range, and is not in use, it will be used. If not specified, a value

will be automatically allocated. External systems (e.g. load-balancers)

can use this port to determine if a given node holds endpoints for this

service or not. If this field is specified when creating a Service

which does not need it, creation will fail. This field will be wiped

when updating a Service to no longer need it (e.g. changing type).

This field cannot be updated once set.

func (*ServiceSpecDie) IPFamilies

func (d *ServiceSpecDie) IPFamilies(v ...corev1.IPFamily) *ServiceSpecDie

IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this

service. This field is usually assigned automatically based on cluster

configuration and the ipFamilyPolicy field. If this field is specified

manually, the requested family is available in the cluster,

and ipFamilyPolicy allows it, it will be used; otherwise creation of

the service will fail. This field is conditionally mutable: it allows

for adding or removing a secondary IP family, but it does not allow

changing the primary IP family of the Service. Valid values are "IPv4"

and "IPv6". This field only applies to Services of types ClusterIP,

NodePort, and LoadBalancer, and does apply to "headless" services.

This field will be wiped when updating a Service to type ExternalName.

This field may hold a maximum of two entries (dual-stack families, in

either order). These families must correspond to the values of the

clusterIPs field, if specified. Both clusterIPs and ipFamilies are

governed by the ipFamilyPolicy field.

func (*ServiceSpecDie) IPFamilyPolicy

func (d *ServiceSpecDie) IPFamilyPolicy(v *corev1.IPFamilyPolicy) *ServiceSpecDie

IPFamilyPolicy represents the dual-stack-ness requested or required by

this Service. If there is no value provided, then this field will be set

to SingleStack. Services can be "SingleStack" (a single IP family),

"PreferDualStack" (two IP families on dual-stack configured clusters or

a single IP family on single-stack clusters), or "RequireDualStack"

(two IP families on dual-stack configured clusters, otherwise fail). The

ipFamilies and clusterIPs fields depend on the value of this field. This

field will be wiped when updating a service to type ExternalName.

func (*ServiceSpecDie) InternalTrafficPolicy

func (d *ServiceSpecDie) InternalTrafficPolicy(v *corev1.ServiceInternalTrafficPolicy) *ServiceSpecDie

InternalTrafficPolicy describes how nodes distribute service traffic they

receive on the ClusterIP. If set to "Local", the proxy will assume that pods

only want to talk to endpoints of the service on the same node as the pod,

dropping the traffic if there are no local endpoints. The default value,

"Cluster", uses the standard behavior of routing to all endpoints evenly

(possibly modified by topology and other features).

func (*ServiceSpecDie) LoadBalancerClass

func (d *ServiceSpecDie) LoadBalancerClass(v *string) *ServiceSpecDie

loadBalancerClass is the class of the load balancer implementation this Service belongs to.

If specified, the value of this field must be a label-style identifier, with an optional prefix,

e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users.

This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load

balancer implementation is used, today this is typically done through the cloud provider integration,

but should apply for any default implementation. If set, it is assumed that a load balancer

implementation is watching for Services with a matching class. Any default load balancer

implementation (e.g. cloud providers) should ignore Services that set this field.

This field can only be set when creating or updating a Service to type 'LoadBalancer'.

Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.

func (*ServiceSpecDie) LoadBalancerIP deprecated

func (d *ServiceSpecDie) LoadBalancerIP(v string) *ServiceSpecDie

Only applies to Service Type: LoadBalancer.

This feature depends on whether the underlying cloud-provider supports specifying

the loadBalancerIP when a load balancer is created.

This field will be ignored if the cloud-provider does not support the feature.

Deprecated: This field was under-specified and its meaning varies across implementations.

Using it is non-portable and it may not support dual-stack.

Users are encouraged to use implementation-specific annotations when available.

func (*ServiceSpecDie) LoadBalancerSourceRanges

func (d *ServiceSpecDie) LoadBalancerSourceRanges(v ...string) *ServiceSpecDie

If specified and supported by the platform, this will restrict traffic through the cloud-provider

load-balancer will be restricted to the specified client IPs. This field will be ignored if the

cloud-provider does not support the feature."

More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/

func (*ServiceSpecDie) PortDie

func (d *ServiceSpecDie) PortDie(protocol corev1.Protocol, port int32, fn func(d *ServicePortDie)) *ServiceSpecDie

func (*ServiceSpecDie) Ports

The list of ports that are exposed by this service.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

func (*ServiceSpecDie) PublishNotReadyAddresses

func (d *ServiceSpecDie) PublishNotReadyAddresses(v bool) *ServiceSpecDie

publishNotReadyAddresses indicates that any agent which deals with endpoints for this

Service should disregard any indications of ready/not-ready.

The primary use case for setting this field is for a StatefulSet's Headless Service to

propagate SRV DNS records for its Pods for the purpose of peer discovery.

The Kubernetes controllers that generate Endpoints and EndpointSlice resources for

Services interpret this to mean that all endpoints are considered "ready" even if the

Pods themselves are not. Agents which consume only Kubernetes generated endpoints

through the Endpoints or EndpointSlice resources can safely assume this behavior.

func (*ServiceSpecDie) Selector

func (d *ServiceSpecDie) Selector(v map[string]string) *ServiceSpecDie

Route service traffic to pods with label keys and values matching this

selector. If empty or not present, the service is assumed to have an

external process managing its endpoints, which Kubernetes will not

modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.

Ignored if type is ExternalName.

More info: https://kubernetes.io/docs/concepts/services-networking/service/

func (*ServiceSpecDie) SessionAffinity

func (d *ServiceSpecDie) SessionAffinity(v corev1.ServiceAffinity) *ServiceSpecDie

Supports "ClientIP" and "None". Used to maintain session affinity.

Enable client IP based session affinity.

Must be ClientIP or None.

Defaults to None.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

func (*ServiceSpecDie) SessionAffinityConfig

func (d *ServiceSpecDie) SessionAffinityConfig(v *corev1.SessionAffinityConfig) *ServiceSpecDie

sessionAffinityConfig contains the configurations of session affinity.

func (*ServiceSpecDie) SessionAffinityConfigDie

func (d *ServiceSpecDie) SessionAffinityConfigDie(fn func(d *SessionAffinityConfigDie)) *ServiceSpecDie

func (*ServiceSpecDie) TrafficDistribution added in v0.12.0

func (d *ServiceSpecDie) TrafficDistribution(v *string) *ServiceSpecDie

TrafficDistribution offers a way to express preferences for how traffic is

distributed to Service endpoints. Implementations can use this field as a

hint, but are not required to guarantee strict adherence. If the field is

not set, the implementation will apply its default routing strategy. If set

to "PreferClose", implementations should prioritize endpoints that are

topologically close (e.g., same zone).

func (*ServiceSpecDie) Type

type determines how the Service is exposed. Defaults to ClusterIP. Valid

options are ExternalName, ClusterIP, NodePort, and LoadBalancer.

"ClusterIP" allocates a cluster-internal IP address for load-balancing

to endpoints. Endpoints are determined by the selector or if that is not

specified, by manual construction of an Endpoints object or

EndpointSlice objects. If clusterIP is "None", no virtual IP is

allocated and the endpoints are published as a set of endpoints rather

than a virtual IP.

"NodePort" builds on ClusterIP and allocates a port on every node which

routes to the same endpoints as the clusterIP.

"LoadBalancer" builds on NodePort and creates an external load-balancer

(if supported in the current cloud) which routes to the same endpoints

as the clusterIP.

"ExternalName" aliases this service to the specified externalName.

Several other fields do not apply to ExternalName services.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types

type ServiceStatusDie

type ServiceStatusDie struct {
	// contains filtered or unexported fields
}

func (*ServiceStatusDie) Conditions

Current service state

func (*ServiceStatusDie) ConditionsDie

func (d *ServiceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ServiceStatusDie

func (*ServiceStatusDie) DeepCopy

func (d *ServiceStatusDie) DeepCopy() *ServiceStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServiceStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceStatusDie) DieFeedJSON

func (d *ServiceStatusDie) DieFeedJSON(j []byte) *ServiceStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServiceStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServiceStatusDie) DieFeedRawExtension

func (d *ServiceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceStatusDie) DieFeedYAML

func (d *ServiceStatusDie) DieFeedYAML(y []byte) *ServiceStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServiceStatusDie) DieFeedYAMLFile

func (d *ServiceStatusDie) DieFeedYAMLFile(name string) *ServiceStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServiceStatusDie) DieImmutable

func (d *ServiceStatusDie) DieImmutable(immutable bool) *ServiceStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServiceStatusDie) DieRelease

func (d *ServiceStatusDie) DieRelease() corev1.ServiceStatus

DieRelease returns the resource managed by the die.

func (*ServiceStatusDie) DieReleaseJSON

func (d *ServiceStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServiceStatusDie) DieReleasePtr

func (d *ServiceStatusDie) DieReleasePtr() *corev1.ServiceStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServiceStatusDie) DieReleaseRawExtension

func (d *ServiceStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceStatusDie) DieReleaseYAML

func (d *ServiceStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServiceStatusDie) DieStamp

func (d *ServiceStatusDie) DieStamp(fn func(r *corev1.ServiceStatus)) *ServiceStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServiceStatusDie) DieStampAt

func (d *ServiceStatusDie) DieStampAt(jp string, fn interface{}) *ServiceStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServiceStatusDie) DieWith

func (d *ServiceStatusDie) DieWith(fns ...func(d *ServiceStatusDie)) *ServiceStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServiceStatusDie) LoadBalancer

LoadBalancer contains the current status of the load-balancer,

if one is present.

func (*ServiceStatusDie) LoadBalancerDie

func (d *ServiceStatusDie) LoadBalancerDie(fn func(d *LoadBalancerStatusDie)) *ServiceStatusDie

type SessionAffinityConfigDie

type SessionAffinityConfigDie struct {
	// contains filtered or unexported fields
}

func (*SessionAffinityConfigDie) ClientIP

clientIP contains the configurations of Client IP based session affinity.

func (*SessionAffinityConfigDie) ClientIPDie

func (*SessionAffinityConfigDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SessionAffinityConfigDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SessionAffinityConfigDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SessionAffinityConfigDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SessionAffinityConfigDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SessionAffinityConfigDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SessionAffinityConfigDie) DieFeedYAMLFile

func (d *SessionAffinityConfigDie) DieFeedYAMLFile(name string) *SessionAffinityConfigDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SessionAffinityConfigDie) DieImmutable

func (d *SessionAffinityConfigDie) DieImmutable(immutable bool) *SessionAffinityConfigDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SessionAffinityConfigDie) DieRelease

DieRelease returns the resource managed by the die.

func (*SessionAffinityConfigDie) DieReleaseJSON

func (d *SessionAffinityConfigDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SessionAffinityConfigDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SessionAffinityConfigDie) DieReleaseRawExtension

func (d *SessionAffinityConfigDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SessionAffinityConfigDie) DieReleaseYAML

func (d *SessionAffinityConfigDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SessionAffinityConfigDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SessionAffinityConfigDie) DieStampAt

func (d *SessionAffinityConfigDie) DieStampAt(jp string, fn interface{}) *SessionAffinityConfigDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SessionAffinityConfigDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

type SleepActionDie

type SleepActionDie struct {
	// contains filtered or unexported fields
}

func (*SleepActionDie) DeepCopy

func (d *SleepActionDie) DeepCopy() *SleepActionDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SleepActionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SleepActionDie) DieFeedJSON

func (d *SleepActionDie) DieFeedJSON(j []byte) *SleepActionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SleepActionDie) DieFeedPtr

func (d *SleepActionDie) DieFeedPtr(r *corev1.SleepAction) *SleepActionDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SleepActionDie) DieFeedRawExtension

func (d *SleepActionDie) DieFeedRawExtension(raw runtime.RawExtension) *SleepActionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SleepActionDie) DieFeedYAML

func (d *SleepActionDie) DieFeedYAML(y []byte) *SleepActionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SleepActionDie) DieFeedYAMLFile

func (d *SleepActionDie) DieFeedYAMLFile(name string) *SleepActionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SleepActionDie) DieImmutable

func (d *SleepActionDie) DieImmutable(immutable bool) *SleepActionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SleepActionDie) DieRelease

func (d *SleepActionDie) DieRelease() corev1.SleepAction

DieRelease returns the resource managed by the die.

func (*SleepActionDie) DieReleaseJSON

func (d *SleepActionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SleepActionDie) DieReleasePtr

func (d *SleepActionDie) DieReleasePtr() *corev1.SleepAction

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SleepActionDie) DieReleaseRawExtension

func (d *SleepActionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SleepActionDie) DieReleaseYAML

func (d *SleepActionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SleepActionDie) DieStamp

func (d *SleepActionDie) DieStamp(fn func(r *corev1.SleepAction)) *SleepActionDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SleepActionDie) DieStampAt

func (d *SleepActionDie) DieStampAt(jp string, fn interface{}) *SleepActionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SleepActionDie) DieWith

func (d *SleepActionDie) DieWith(fns ...func(d *SleepActionDie)) *SleepActionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SleepActionDie) Seconds

func (d *SleepActionDie) Seconds(v int64) *SleepActionDie

Seconds is the number of seconds to sleep.

type StorageOSPersistentVolumeSourceDie

type StorageOSPersistentVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*StorageOSPersistentVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*StorageOSPersistentVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*StorageOSPersistentVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*StorageOSPersistentVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*StorageOSPersistentVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*StorageOSPersistentVolumeSourceDie) DieReleaseJSON

func (d *StorageOSPersistentVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*StorageOSPersistentVolumeSourceDie) DieReleaseRawExtension

func (d *StorageOSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieReleaseYAML

func (d *StorageOSPersistentVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*StorageOSPersistentVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*StorageOSPersistentVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*StorageOSPersistentVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*StorageOSPersistentVolumeSourceDie) FSType

fsType is the 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.

func (*StorageOSPersistentVolumeSourceDie) ReadOnly

readOnly defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*StorageOSPersistentVolumeSourceDie) SecretRef

secretRef specifies the secret to use for obtaining the StorageOS API

credentials. If not specified, default values will be attempted.

func (*StorageOSPersistentVolumeSourceDie) SecretRefDie

func (*StorageOSPersistentVolumeSourceDie) VolumeName

volumeName is the human-readable name of the StorageOS volume. Volume

names are only unique within a namespace.

func (*StorageOSPersistentVolumeSourceDie) VolumeNamespace

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.

type StorageOSVolumeSourceDie

type StorageOSVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*StorageOSVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*StorageOSVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*StorageOSVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*StorageOSVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*StorageOSVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*StorageOSVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*StorageOSVolumeSourceDie) DieFeedYAMLFile

func (d *StorageOSVolumeSourceDie) DieFeedYAMLFile(name string) *StorageOSVolumeSourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*StorageOSVolumeSourceDie) DieImmutable

func (d *StorageOSVolumeSourceDie) DieImmutable(immutable bool) *StorageOSVolumeSourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*StorageOSVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*StorageOSVolumeSourceDie) DieReleaseJSON

func (d *StorageOSVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*StorageOSVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*StorageOSVolumeSourceDie) DieReleaseRawExtension

func (d *StorageOSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*StorageOSVolumeSourceDie) DieReleaseYAML

func (d *StorageOSVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*StorageOSVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*StorageOSVolumeSourceDie) DieStampAt

func (d *StorageOSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *StorageOSVolumeSourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*StorageOSVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*StorageOSVolumeSourceDie) FSType

fsType is the 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.

func (*StorageOSVolumeSourceDie) ReadOnly

readOnly defaults to false (read/write). ReadOnly here will force

the ReadOnly setting in VolumeMounts.

func (*StorageOSVolumeSourceDie) SecretRef

secretRef specifies the secret to use for obtaining the StorageOS API

credentials. If not specified, default values will be attempted.

func (*StorageOSVolumeSourceDie) SecretRefDie

func (*StorageOSVolumeSourceDie) VolumeName

volumeName is the human-readable name of the StorageOS volume. Volume

names are only unique within a namespace.

func (*StorageOSVolumeSourceDie) VolumeNamespace

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.

type SysctlDie

type SysctlDie struct {
	// contains filtered or unexported fields
}

func (*SysctlDie) DeepCopy

func (d *SysctlDie) DeepCopy() *SysctlDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SysctlDie) DieFeed

func (d *SysctlDie) DieFeed(r corev1.Sysctl) *SysctlDie

DieFeed returns a new die with the provided resource.

func (*SysctlDie) DieFeedJSON

func (d *SysctlDie) DieFeedJSON(j []byte) *SysctlDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*SysctlDie) DieFeedPtr

func (d *SysctlDie) DieFeedPtr(r *corev1.Sysctl) *SysctlDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*SysctlDie) DieFeedRawExtension

func (d *SysctlDie) DieFeedRawExtension(raw runtime.RawExtension) *SysctlDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SysctlDie) DieFeedYAML

func (d *SysctlDie) DieFeedYAML(y []byte) *SysctlDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*SysctlDie) DieFeedYAMLFile

func (d *SysctlDie) DieFeedYAMLFile(name string) *SysctlDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*SysctlDie) DieImmutable

func (d *SysctlDie) DieImmutable(immutable bool) *SysctlDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*SysctlDie) DieRelease

func (d *SysctlDie) DieRelease() corev1.Sysctl

DieRelease returns the resource managed by the die.

func (*SysctlDie) DieReleaseJSON

func (d *SysctlDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*SysctlDie) DieReleasePtr

func (d *SysctlDie) DieReleasePtr() *corev1.Sysctl

DieReleasePtr returns a pointer to the resource managed by the die.

func (*SysctlDie) DieReleaseRawExtension

func (d *SysctlDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*SysctlDie) DieReleaseYAML

func (d *SysctlDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*SysctlDie) DieStamp

func (d *SysctlDie) DieStamp(fn func(r *corev1.Sysctl)) *SysctlDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SysctlDie) DieStampAt

func (d *SysctlDie) DieStampAt(jp string, fn interface{}) *SysctlDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*SysctlDie) DieWith

func (d *SysctlDie) DieWith(fns ...func(d *SysctlDie)) *SysctlDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*SysctlDie) Name

func (d *SysctlDie) Name(v string) *SysctlDie

Name of a property to set

func (*SysctlDie) Value

func (d *SysctlDie) Value(v string) *SysctlDie

Value of a property to set

type TCPSocketActionDie

type TCPSocketActionDie struct {
	// contains filtered or unexported fields
}

func (*TCPSocketActionDie) DeepCopy

func (d *TCPSocketActionDie) DeepCopy() *TCPSocketActionDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TCPSocketActionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TCPSocketActionDie) DieFeedJSON

func (d *TCPSocketActionDie) DieFeedJSON(j []byte) *TCPSocketActionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TCPSocketActionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TCPSocketActionDie) DieFeedRawExtension

func (d *TCPSocketActionDie) DieFeedRawExtension(raw runtime.RawExtension) *TCPSocketActionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TCPSocketActionDie) DieFeedYAML

func (d *TCPSocketActionDie) DieFeedYAML(y []byte) *TCPSocketActionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TCPSocketActionDie) DieFeedYAMLFile

func (d *TCPSocketActionDie) DieFeedYAMLFile(name string) *TCPSocketActionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TCPSocketActionDie) DieImmutable

func (d *TCPSocketActionDie) DieImmutable(immutable bool) *TCPSocketActionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TCPSocketActionDie) DieRelease

func (d *TCPSocketActionDie) DieRelease() corev1.TCPSocketAction

DieRelease returns the resource managed by the die.

func (*TCPSocketActionDie) DieReleaseJSON

func (d *TCPSocketActionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TCPSocketActionDie) DieReleasePtr

func (d *TCPSocketActionDie) DieReleasePtr() *corev1.TCPSocketAction

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TCPSocketActionDie) DieReleaseRawExtension

func (d *TCPSocketActionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TCPSocketActionDie) DieReleaseYAML

func (d *TCPSocketActionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TCPSocketActionDie) DieStamp

func (d *TCPSocketActionDie) DieStamp(fn func(r *corev1.TCPSocketAction)) *TCPSocketActionDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TCPSocketActionDie) DieStampAt

func (d *TCPSocketActionDie) DieStampAt(jp string, fn interface{}) *TCPSocketActionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TCPSocketActionDie) DieWith

func (d *TCPSocketActionDie) DieWith(fns ...func(d *TCPSocketActionDie)) *TCPSocketActionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TCPSocketActionDie) Host

Optional: Host name to connect to, defaults to the pod IP.

func (*TCPSocketActionDie) Port

Number or name of the port to access on the container.

Number must be in the range 1 to 65535.

Name must be an IANA_SVC_NAME.

func (*TCPSocketActionDie) PortInt

func (d *TCPSocketActionDie) PortInt(i int) *TCPSocketActionDie

func (*TCPSocketActionDie) PortString

func (d *TCPSocketActionDie) PortString(s string) *TCPSocketActionDie

type TaintDie

type TaintDie struct {
	// contains filtered or unexported fields
}

func (*TaintDie) DeepCopy

func (d *TaintDie) DeepCopy() *TaintDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TaintDie) DieFeed

func (d *TaintDie) DieFeed(r corev1.Taint) *TaintDie

DieFeed returns a new die with the provided resource.

func (*TaintDie) DieFeedJSON

func (d *TaintDie) DieFeedJSON(j []byte) *TaintDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TaintDie) DieFeedPtr

func (d *TaintDie) DieFeedPtr(r *corev1.Taint) *TaintDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TaintDie) DieFeedRawExtension

func (d *TaintDie) DieFeedRawExtension(raw runtime.RawExtension) *TaintDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TaintDie) DieFeedYAML

func (d *TaintDie) DieFeedYAML(y []byte) *TaintDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TaintDie) DieFeedYAMLFile

func (d *TaintDie) DieFeedYAMLFile(name string) *TaintDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TaintDie) DieImmutable

func (d *TaintDie) DieImmutable(immutable bool) *TaintDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TaintDie) DieRelease

func (d *TaintDie) DieRelease() corev1.Taint

DieRelease returns the resource managed by the die.

func (*TaintDie) DieReleaseJSON

func (d *TaintDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TaintDie) DieReleasePtr

func (d *TaintDie) DieReleasePtr() *corev1.Taint

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TaintDie) DieReleaseRawExtension

func (d *TaintDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TaintDie) DieReleaseYAML

func (d *TaintDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TaintDie) DieStamp

func (d *TaintDie) DieStamp(fn func(r *corev1.Taint)) *TaintDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TaintDie) DieStampAt

func (d *TaintDie) DieStampAt(jp string, fn interface{}) *TaintDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TaintDie) DieWith

func (d *TaintDie) DieWith(fns ...func(d *TaintDie)) *TaintDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TaintDie) Effect

func (d *TaintDie) Effect(v corev1.TaintEffect) *TaintDie

Required. The effect of the taint on pods

that do not tolerate the taint.

Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

func (*TaintDie) Key

func (d *TaintDie) Key(v string) *TaintDie

Required. The taint key to be applied to a node.

func (*TaintDie) TimeAdded

func (d *TaintDie) TimeAdded(v *apismetav1.Time) *TaintDie

TimeAdded represents the time at which the taint was added.

It is only written for NoExecute taints.

func (*TaintDie) Value

func (d *TaintDie) Value(v string) *TaintDie

The taint value corresponding to the taint key.

type TolerationDie

type TolerationDie struct {
	// contains filtered or unexported fields
}

func (*TolerationDie) DeepCopy

func (d *TolerationDie) DeepCopy() *TolerationDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TolerationDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TolerationDie) DieFeedJSON

func (d *TolerationDie) DieFeedJSON(j []byte) *TolerationDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TolerationDie) DieFeedPtr

func (d *TolerationDie) DieFeedPtr(r *corev1.Toleration) *TolerationDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TolerationDie) DieFeedRawExtension

func (d *TolerationDie) DieFeedRawExtension(raw runtime.RawExtension) *TolerationDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TolerationDie) DieFeedYAML

func (d *TolerationDie) DieFeedYAML(y []byte) *TolerationDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TolerationDie) DieFeedYAMLFile

func (d *TolerationDie) DieFeedYAMLFile(name string) *TolerationDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TolerationDie) DieImmutable

func (d *TolerationDie) DieImmutable(immutable bool) *TolerationDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TolerationDie) DieRelease

func (d *TolerationDie) DieRelease() corev1.Toleration

DieRelease returns the resource managed by the die.

func (*TolerationDie) DieReleaseJSON

func (d *TolerationDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TolerationDie) DieReleasePtr

func (d *TolerationDie) DieReleasePtr() *corev1.Toleration

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TolerationDie) DieReleaseRawExtension

func (d *TolerationDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TolerationDie) DieReleaseYAML

func (d *TolerationDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TolerationDie) DieStamp

func (d *TolerationDie) DieStamp(fn func(r *corev1.Toleration)) *TolerationDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TolerationDie) DieStampAt

func (d *TolerationDie) DieStampAt(jp string, fn interface{}) *TolerationDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TolerationDie) DieWith

func (d *TolerationDie) DieWith(fns ...func(d *TolerationDie)) *TolerationDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TolerationDie) Effect

Effect indicates the taint effect to match. Empty means match all taint effects.

When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.

func (*TolerationDie) Key

func (d *TolerationDie) Key(v string) *TolerationDie

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.

func (*TolerationDie) Operator

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.

func (*TolerationDie) TolerationSeconds

func (d *TolerationDie) TolerationSeconds(v *int64) *TolerationDie

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.

func (*TolerationDie) Value

func (d *TolerationDie) Value(v string) *TolerationDie

Value is the taint value the toleration matches to.

If the operator is Exists, the value should be empty, otherwise just a regular string.

type TopologySelectorLabelRequirementDie

type TopologySelectorLabelRequirementDie struct {
	// contains filtered or unexported fields
}

func (*TopologySelectorLabelRequirementDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TopologySelectorLabelRequirementDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TopologySelectorLabelRequirementDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TopologySelectorLabelRequirementDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TopologySelectorLabelRequirementDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TopologySelectorLabelRequirementDie) DieReleaseJSON

func (d *TopologySelectorLabelRequirementDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TopologySelectorLabelRequirementDie) DieReleaseRawExtension

func (d *TopologySelectorLabelRequirementDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieReleaseYAML

func (d *TopologySelectorLabelRequirementDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TopologySelectorLabelRequirementDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TopologySelectorLabelRequirementDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TopologySelectorLabelRequirementDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TopologySelectorLabelRequirementDie) Key

The label key that the selector applies to.

func (*TopologySelectorLabelRequirementDie) Values

An array of string values. One value must match the label to be selected.

Each entry in Values is ORed.

type TopologySelectorTermDie

type TopologySelectorTermDie struct {
	// contains filtered or unexported fields
}

func (*TopologySelectorTermDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TopologySelectorTermDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TopologySelectorTermDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TopologySelectorTermDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TopologySelectorTermDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TopologySelectorTermDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TopologySelectorTermDie) DieFeedYAMLFile

func (d *TopologySelectorTermDie) DieFeedYAMLFile(name string) *TopologySelectorTermDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TopologySelectorTermDie) DieImmutable

func (d *TopologySelectorTermDie) DieImmutable(immutable bool) *TopologySelectorTermDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TopologySelectorTermDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TopologySelectorTermDie) DieReleaseJSON

func (d *TopologySelectorTermDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TopologySelectorTermDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TopologySelectorTermDie) DieReleaseRawExtension

func (d *TopologySelectorTermDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TopologySelectorTermDie) DieReleaseYAML

func (d *TopologySelectorTermDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TopologySelectorTermDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TopologySelectorTermDie) DieStampAt

func (d *TopologySelectorTermDie) DieStampAt(jp string, fn interface{}) *TopologySelectorTermDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TopologySelectorTermDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TopologySelectorTermDie) MatchLabelExpressions

A list of topology selector requirements by labels.

func (*TopologySelectorTermDie) MatchLabelExpressionsDie

func (d *TopologySelectorTermDie) MatchLabelExpressionsDie(requirements ...*TopologySelectorLabelRequirementDie) *TopologySelectorTermDie

type TopologySpreadConstraintDie

type TopologySpreadConstraintDie struct {
	// contains filtered or unexported fields
}

func (*TopologySpreadConstraintDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TopologySpreadConstraintDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TopologySpreadConstraintDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TopologySpreadConstraintDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TopologySpreadConstraintDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TopologySpreadConstraintDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TopologySpreadConstraintDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TopologySpreadConstraintDie) DieImmutable

func (d *TopologySpreadConstraintDie) DieImmutable(immutable bool) *TopologySpreadConstraintDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TopologySpreadConstraintDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TopologySpreadConstraintDie) DieReleaseJSON

func (d *TopologySpreadConstraintDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TopologySpreadConstraintDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TopologySpreadConstraintDie) DieReleaseRawExtension

func (d *TopologySpreadConstraintDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TopologySpreadConstraintDie) DieReleaseYAML

func (d *TopologySpreadConstraintDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TopologySpreadConstraintDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TopologySpreadConstraintDie) DieStampAt

func (d *TopologySpreadConstraintDie) DieStampAt(jp string, fn interface{}) *TopologySpreadConstraintDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TopologySpreadConstraintDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TopologySpreadConstraintDie) LabelSelector

LabelSelector is used to find matching pods.

Pods that match this label selector are counted to determine the number of pods

in their corresponding topology domain.

func (*TopologySpreadConstraintDie) LabelSelectorDie

func (*TopologySpreadConstraintDie) MatchLabelKeys

MatchLabelKeys is a set of pod label keys to select the pods over which

spreading will be calculated. The keys are used to lookup values from the

incoming pod labels, those key-value labels are ANDed with labelSelector

to select the group of existing pods over which spreading will be calculated

for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.

MatchLabelKeys cannot be set when LabelSelector isn't set.

Keys that don't exist in the incoming pod labels will

be ignored. A null or empty list means only match against labelSelector.

This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).

func (*TopologySpreadConstraintDie) MaxSkew

MaxSkew describes the degree to which pods may be unevenly distributed.

When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference

between the number of matching pods in the target topology and the global minimum.

The global minimum is the minimum number of matching pods in an eligible domain

or zero if the number of eligible domains is less than MinDomains.

For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same

labelSelector spread as 2/2/1:

In this case, the global minimum is 1.

| zone1 | zone2 | zone3 |

| P P | P P | P |

- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;

scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)

violate MaxSkew(1).

- if MaxSkew is 2, incoming pod can be scheduled onto any zone.

When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence

to topologies that satisfy it.

It's a required field. Default value is 1 and 0 is not allowed.

func (*TopologySpreadConstraintDie) MinDomains

MinDomains indicates a minimum number of eligible domains.

When the number of eligible domains with matching topology keys is less than minDomains,

Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.

And when the number of eligible domains with matching topology keys equals or greater than minDomains,

this value has no effect on scheduling.

As a result, when the number of eligible domains is less than minDomains,

scheduler won't schedule more than maxSkew Pods to those domains.

If value is nil, the constraint behaves as if MinDomains is equal to 1.

Valid values are integers greater than 0.

When value is not nil, WhenUnsatisfiable must be DoNotSchedule.

For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same

labelSelector spread as 2/2/2:

| zone1 | zone2 | zone3 |

| P P | P P | P P |

The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.

In this situation, new pod with the same labelSelector cannot be scheduled,

because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,

it will violate MaxSkew.

func (*TopologySpreadConstraintDie) NodeAffinityPolicy

NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector

when calculating pod topology spread skew. Options are:

- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.

- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.

If this value is nil, the behavior is equivalent to the Honor policy.

This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.

func (*TopologySpreadConstraintDie) NodeTaintsPolicy

NodeTaintsPolicy indicates how we will treat node taints when calculating

pod topology spread skew. Options are:

- Honor: nodes without taints, along with tainted nodes for which the incoming pod

has a toleration, are included.

- Ignore: node taints are ignored. All nodes are included.

If this value is nil, the behavior is equivalent to the Ignore policy.

This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.

func (*TopologySpreadConstraintDie) TopologyKey

TopologyKey is the key of node labels. Nodes that have a label with this key

and identical values are considered to be in the same topology.

We consider each <key, value> as a "bucket", and try to put balanced number

of pods into each bucket.

We define a domain as a particular instance of a topology.

Also, we define an eligible domain as a domain whose nodes meet the requirements of

nodeAffinityPolicy and nodeTaintsPolicy.

e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.

And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.

It's a required field.

func (*TopologySpreadConstraintDie) WhenUnsatisfiable

WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy

the spread constraint.

- DoNotSchedule (default) tells the scheduler not to schedule it.

- ScheduleAnyway tells the scheduler to schedule the pod in any location,

but giving higher precedence to topologies that would help reduce the

skew.

A constraint is considered "Unsatisfiable" for an incoming pod

if and only if every possible node assignment for that pod would violate

"MaxSkew" on some topology.

For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same

labelSelector spread as 3/1/1:

| zone1 | zone2 | zone3 |

| P P P | P | P |

If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled

to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies

MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler

won't make it *more* imbalanced.

It's a required field.

type TypedLocalObjectReferenceDie

type TypedLocalObjectReferenceDie struct {
	// contains filtered or unexported fields
}

func (*TypedLocalObjectReferenceDie) APIGroup

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.

func (*TypedLocalObjectReferenceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TypedLocalObjectReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TypedLocalObjectReferenceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TypedLocalObjectReferenceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TypedLocalObjectReferenceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TypedLocalObjectReferenceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TypedLocalObjectReferenceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TypedLocalObjectReferenceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TypedLocalObjectReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TypedLocalObjectReferenceDie) DieReleaseJSON

func (d *TypedLocalObjectReferenceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TypedLocalObjectReferenceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TypedLocalObjectReferenceDie) DieReleaseRawExtension

func (d *TypedLocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TypedLocalObjectReferenceDie) DieReleaseYAML

func (d *TypedLocalObjectReferenceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TypedLocalObjectReferenceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TypedLocalObjectReferenceDie) DieStampAt

func (d *TypedLocalObjectReferenceDie) DieStampAt(jp string, fn interface{}) *TypedLocalObjectReferenceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TypedLocalObjectReferenceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TypedLocalObjectReferenceDie) Kind

Kind is the type of resource being referenced

func (*TypedLocalObjectReferenceDie) Name

Name is the name of resource being referenced

type TypedObjectReferenceDie

type TypedObjectReferenceDie struct {
	// contains filtered or unexported fields
}

func (*TypedObjectReferenceDie) APIGroup

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.

func (*TypedObjectReferenceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TypedObjectReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TypedObjectReferenceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TypedObjectReferenceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TypedObjectReferenceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TypedObjectReferenceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TypedObjectReferenceDie) DieFeedYAMLFile

func (d *TypedObjectReferenceDie) DieFeedYAMLFile(name string) *TypedObjectReferenceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TypedObjectReferenceDie) DieImmutable

func (d *TypedObjectReferenceDie) DieImmutable(immutable bool) *TypedObjectReferenceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TypedObjectReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TypedObjectReferenceDie) DieReleaseJSON

func (d *TypedObjectReferenceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TypedObjectReferenceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TypedObjectReferenceDie) DieReleaseRawExtension

func (d *TypedObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TypedObjectReferenceDie) DieReleaseYAML

func (d *TypedObjectReferenceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TypedObjectReferenceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TypedObjectReferenceDie) DieStampAt

func (d *TypedObjectReferenceDie) DieStampAt(jp string, fn interface{}) *TypedObjectReferenceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TypedObjectReferenceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TypedObjectReferenceDie) Kind

Kind is the type of resource being referenced

func (*TypedObjectReferenceDie) Name

Name is the name of resource being referenced

func (*TypedObjectReferenceDie) Namespace

Namespace is the namespace of resource being referenced

Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.

(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.

type VolumeDeviceDie

type VolumeDeviceDie struct {
	// contains filtered or unexported fields
}

func (*VolumeDeviceDie) DeepCopy

func (d *VolumeDeviceDie) DeepCopy() *VolumeDeviceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeDeviceDie) DevicePath

func (d *VolumeDeviceDie) DevicePath(v string) *VolumeDeviceDie

devicePath is the path inside of the container that the device will be mapped to.

func (*VolumeDeviceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*VolumeDeviceDie) DieFeedJSON

func (d *VolumeDeviceDie) DieFeedJSON(j []byte) *VolumeDeviceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeDeviceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeDeviceDie) DieFeedRawExtension

func (d *VolumeDeviceDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeDeviceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeDeviceDie) DieFeedYAML

func (d *VolumeDeviceDie) DieFeedYAML(y []byte) *VolumeDeviceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeDeviceDie) DieFeedYAMLFile

func (d *VolumeDeviceDie) DieFeedYAMLFile(name string) *VolumeDeviceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeDeviceDie) DieImmutable

func (d *VolumeDeviceDie) DieImmutable(immutable bool) *VolumeDeviceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeDeviceDie) DieRelease

func (d *VolumeDeviceDie) DieRelease() corev1.VolumeDevice

DieRelease returns the resource managed by the die.

func (*VolumeDeviceDie) DieReleaseJSON

func (d *VolumeDeviceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeDeviceDie) DieReleasePtr

func (d *VolumeDeviceDie) DieReleasePtr() *corev1.VolumeDevice

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeDeviceDie) DieReleaseRawExtension

func (d *VolumeDeviceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeDeviceDie) DieReleaseYAML

func (d *VolumeDeviceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeDeviceDie) DieStamp

func (d *VolumeDeviceDie) DieStamp(fn func(r *corev1.VolumeDevice)) *VolumeDeviceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeDeviceDie) DieStampAt

func (d *VolumeDeviceDie) DieStampAt(jp string, fn interface{}) *VolumeDeviceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeDeviceDie) DieWith

func (d *VolumeDeviceDie) DieWith(fns ...func(d *VolumeDeviceDie)) *VolumeDeviceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeDeviceDie) Name

name must match the name of a persistentVolumeClaim in the pod

type VolumeDie

type VolumeDie struct {
	// contains filtered or unexported fields
}

func (*VolumeDie) AWSElasticBlockStoreDie

func (d *VolumeDie) AWSElasticBlockStoreDie(fn func(d *AWSElasticBlockStoreVolumeSourceDie)) *VolumeDie

func (*VolumeDie) AzureDiskDie

func (d *VolumeDie) AzureDiskDie(fn func(d *AzureDiskVolumeSourceDie)) *VolumeDie

func (*VolumeDie) AzureFileDie

func (d *VolumeDie) AzureFileDie(fn func(d *AzureFileVolumeSourceDie)) *VolumeDie

func (*VolumeDie) CSIDie

func (d *VolumeDie) CSIDie(fn func(d *CSIVolumeSourceDie)) *VolumeDie

func (*VolumeDie) CephFSDie

func (d *VolumeDie) CephFSDie(fn func(d *CephFSVolumeSourceDie)) *VolumeDie

func (*VolumeDie) CinderDie

func (d *VolumeDie) CinderDie(fn func(d *CinderVolumeSourceDie)) *VolumeDie

func (*VolumeDie) ConfigMapDie

func (d *VolumeDie) ConfigMapDie(fn func(d *ConfigMapVolumeSourceDie)) *VolumeDie

func (*VolumeDie) DeepCopy

func (d *VolumeDie) DeepCopy() *VolumeDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeDie) DieFeed

func (d *VolumeDie) DieFeed(r corev1.Volume) *VolumeDie

DieFeed returns a new die with the provided resource.

func (*VolumeDie) DieFeedJSON

func (d *VolumeDie) DieFeedJSON(j []byte) *VolumeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeDie) DieFeedPtr

func (d *VolumeDie) DieFeedPtr(r *corev1.Volume) *VolumeDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeDie) DieFeedRawExtension

func (d *VolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeDie) DieFeedYAML

func (d *VolumeDie) DieFeedYAML(y []byte) *VolumeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeDie) DieFeedYAMLFile

func (d *VolumeDie) DieFeedYAMLFile(name string) *VolumeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeDie) DieImmutable

func (d *VolumeDie) DieImmutable(immutable bool) *VolumeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeDie) DieRelease

func (d *VolumeDie) DieRelease() corev1.Volume

DieRelease returns the resource managed by the die.

func (*VolumeDie) DieReleaseJSON

func (d *VolumeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeDie) DieReleasePtr

func (d *VolumeDie) DieReleasePtr() *corev1.Volume

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeDie) DieReleaseRawExtension

func (d *VolumeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeDie) DieReleaseYAML

func (d *VolumeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeDie) DieStamp

func (d *VolumeDie) DieStamp(fn func(r *corev1.Volume)) *VolumeDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeDie) DieStampAt

func (d *VolumeDie) DieStampAt(jp string, fn interface{}) *VolumeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeDie) DieWith

func (d *VolumeDie) DieWith(fns ...func(d *VolumeDie)) *VolumeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeDie) DownwardAPIDie

func (d *VolumeDie) DownwardAPIDie(fn func(d *DownwardAPIVolumeSourceDie)) *VolumeDie

func (*VolumeDie) EmptyDirDie

func (d *VolumeDie) EmptyDirDie(fn func(d *EmptyDirVolumeSourceDie)) *VolumeDie

func (*VolumeDie) EphemeralDie

func (d *VolumeDie) EphemeralDie(fn func(d *EphemeralVolumeSourceDie)) *VolumeDie

func (*VolumeDie) FCDie

func (d *VolumeDie) FCDie(fn func(d *FCVolumeSourceDie)) *VolumeDie

func (*VolumeDie) FlexVolumeDie

func (d *VolumeDie) FlexVolumeDie(fn func(d *FlexVolumeSourceDie)) *VolumeDie

func (*VolumeDie) FlockerDie

func (d *VolumeDie) FlockerDie(fn func(d *FlockerVolumeSourceDie)) *VolumeDie

func (*VolumeDie) GCEPersistentDiskDie

func (d *VolumeDie) GCEPersistentDiskDie(fn func(d *GCEPersistentDiskVolumeSourceDie)) *VolumeDie

func (*VolumeDie) GitRepoDie

func (d *VolumeDie) GitRepoDie(fn func(d *GitRepoVolumeSourceDie)) *VolumeDie

func (*VolumeDie) GlusterfsDie

func (d *VolumeDie) GlusterfsDie(fn func(d *GlusterfsVolumeSourceDie)) *VolumeDie

func (*VolumeDie) HostPathDie

func (d *VolumeDie) HostPathDie(fn func(d *HostPathVolumeSourceDie)) *VolumeDie

func (*VolumeDie) ISCSIDie

func (d *VolumeDie) ISCSIDie(fn func(d *ISCSIVolumeSourceDie)) *VolumeDie

func (*VolumeDie) NFSDie

func (d *VolumeDie) NFSDie(fn func(d *NFSVolumeSourceDie)) *VolumeDie

func (*VolumeDie) Name

func (d *VolumeDie) Name(v string) *VolumeDie

name of the volume.

Must be a DNS_LABEL and unique within the pod.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

func (*VolumeDie) PersistentVolumeClaimDie

func (d *VolumeDie) PersistentVolumeClaimDie(fn func(d *PersistentVolumeClaimVolumeSourceDie)) *VolumeDie

func (*VolumeDie) PhotonPersistentDiskDie

func (d *VolumeDie) PhotonPersistentDiskDie(fn func(d *PhotonPersistentDiskVolumeSourceDie)) *VolumeDie

func (*VolumeDie) PortworxVolumeDie

func (d *VolumeDie) PortworxVolumeDie(fn func(d *PortworxVolumeSourceDie)) *VolumeDie

func (*VolumeDie) ProjectedDie

func (d *VolumeDie) ProjectedDie(fn func(d *ProjectedVolumeSourceDie)) *VolumeDie

func (*VolumeDie) QuobyteDie

func (d *VolumeDie) QuobyteDie(fn func(d *QuobyteVolumeSourceDie)) *VolumeDie

func (*VolumeDie) RBDDie

func (d *VolumeDie) RBDDie(fn func(d *RBDVolumeSourceDie)) *VolumeDie

func (*VolumeDie) ScaleIODie

func (d *VolumeDie) ScaleIODie(fn func(d *ScaleIOVolumeSourceDie)) *VolumeDie

func (*VolumeDie) SecretDie

func (d *VolumeDie) SecretDie(fn func(d *SecretVolumeSourceDie)) *VolumeDie

func (*VolumeDie) StorageOSDie

func (d *VolumeDie) StorageOSDie(fn func(d *StorageOSVolumeSourceDie)) *VolumeDie

func (*VolumeDie) VolumeSource

func (d *VolumeDie) VolumeSource(v corev1.VolumeSource) *VolumeDie

volumeSource represents the location and type of the mounted volume.

If not specified, the Volume is implied to be an EmptyDir.

This implied behavior is deprecated and will be removed in a future version.

func (*VolumeDie) VsphereVolumeDie

func (d *VolumeDie) VsphereVolumeDie(fn func(d *VsphereVirtualDiskVolumeSourceDie)) *VolumeDie

type VolumeMountDie

type VolumeMountDie struct {
	// contains filtered or unexported fields
}

func (*VolumeMountDie) DeepCopy

func (d *VolumeMountDie) DeepCopy() *VolumeMountDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeMountDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*VolumeMountDie) DieFeedJSON

func (d *VolumeMountDie) DieFeedJSON(j []byte) *VolumeMountDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeMountDie) DieFeedPtr

func (d *VolumeMountDie) DieFeedPtr(r *corev1.VolumeMount) *VolumeMountDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeMountDie) DieFeedRawExtension

func (d *VolumeMountDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeMountDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeMountDie) DieFeedYAML

func (d *VolumeMountDie) DieFeedYAML(y []byte) *VolumeMountDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeMountDie) DieFeedYAMLFile

func (d *VolumeMountDie) DieFeedYAMLFile(name string) *VolumeMountDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeMountDie) DieImmutable

func (d *VolumeMountDie) DieImmutable(immutable bool) *VolumeMountDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeMountDie) DieRelease

func (d *VolumeMountDie) DieRelease() corev1.VolumeMount

DieRelease returns the resource managed by the die.

func (*VolumeMountDie) DieReleaseJSON

func (d *VolumeMountDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeMountDie) DieReleasePtr

func (d *VolumeMountDie) DieReleasePtr() *corev1.VolumeMount

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeMountDie) DieReleaseRawExtension

func (d *VolumeMountDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeMountDie) DieReleaseYAML

func (d *VolumeMountDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeMountDie) DieStamp

func (d *VolumeMountDie) DieStamp(fn func(r *corev1.VolumeMount)) *VolumeMountDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeMountDie) DieStampAt

func (d *VolumeMountDie) DieStampAt(jp string, fn interface{}) *VolumeMountDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeMountDie) DieWith

func (d *VolumeMountDie) DieWith(fns ...func(d *VolumeMountDie)) *VolumeMountDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeMountDie) MountPath

func (d *VolumeMountDie) MountPath(v string) *VolumeMountDie

Path within the container at which the volume should be mounted. Must

not contain ':'.

func (*VolumeMountDie) MountPropagation

func (d *VolumeMountDie) MountPropagation(v *corev1.MountPropagationMode) *VolumeMountDie

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.

When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified

(which defaults to None).

func (*VolumeMountDie) Name

func (d *VolumeMountDie) Name(v string) *VolumeMountDie

This must match the Name of a Volume.

func (*VolumeMountDie) ReadOnly

func (d *VolumeMountDie) ReadOnly(v bool) *VolumeMountDie

Mounted read-only if true, read-write otherwise (false or unspecified).

Defaults to false.

func (*VolumeMountDie) RecursiveReadOnly added in v0.12.0

func (d *VolumeMountDie) RecursiveReadOnly(v *corev1.RecursiveReadOnlyMode) *VolumeMountDie

RecursiveReadOnly specifies whether read-only mounts should be handled

recursively.

If ReadOnly is false, this field has no meaning and must be unspecified.

If ReadOnly is true, and this field is set to Disabled, the mount is not made

recursively read-only. If this field is set to IfPossible, the mount is made

recursively read-only, if it is supported by the container runtime. If this

field is set to Enabled, the mount is made recursively read-only if it is

supported by the container runtime, otherwise the pod will not be started and

an error will be generated to indicate the reason.

If this field is set to IfPossible or Enabled, MountPropagation must be set to

None (or be unspecified, which defaults to None).

If this field is not specified, it is treated as an equivalent of Disabled.

func (*VolumeMountDie) SubPath

func (d *VolumeMountDie) SubPath(v string) *VolumeMountDie

Path within the volume from which the container's volume should be mounted.

Defaults to "" (volume's root).

func (*VolumeMountDie) SubPathExpr

func (d *VolumeMountDie) SubPathExpr(v string) *VolumeMountDie

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.

type VolumeMountStatusDie added in v0.12.0

type VolumeMountStatusDie struct {
	// contains filtered or unexported fields
}

func (*VolumeMountStatusDie) DeepCopy added in v0.12.0

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeMountStatusDie) DieFeed added in v0.12.0

DieFeed returns a new die with the provided resource.

func (*VolumeMountStatusDie) DieFeedJSON added in v0.12.0

func (d *VolumeMountStatusDie) DieFeedJSON(j []byte) *VolumeMountStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeMountStatusDie) DieFeedPtr added in v0.12.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeMountStatusDie) DieFeedRawExtension added in v0.12.0

func (d *VolumeMountStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeMountStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeMountStatusDie) DieFeedYAML added in v0.12.0

func (d *VolumeMountStatusDie) DieFeedYAML(y []byte) *VolumeMountStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeMountStatusDie) DieFeedYAMLFile added in v0.12.0

func (d *VolumeMountStatusDie) DieFeedYAMLFile(name string) *VolumeMountStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeMountStatusDie) DieImmutable added in v0.12.0

func (d *VolumeMountStatusDie) DieImmutable(immutable bool) *VolumeMountStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeMountStatusDie) DieRelease added in v0.12.0

DieRelease returns the resource managed by the die.

func (*VolumeMountStatusDie) DieReleaseJSON added in v0.12.0

func (d *VolumeMountStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeMountStatusDie) DieReleasePtr added in v0.12.0

func (d *VolumeMountStatusDie) DieReleasePtr() *corev1.VolumeMountStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeMountStatusDie) DieReleaseRawExtension added in v0.12.0

func (d *VolumeMountStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeMountStatusDie) DieReleaseYAML added in v0.12.0

func (d *VolumeMountStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeMountStatusDie) DieStamp added in v0.12.0

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeMountStatusDie) DieStampAt added in v0.12.0

func (d *VolumeMountStatusDie) DieStampAt(jp string, fn interface{}) *VolumeMountStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeMountStatusDie) DieWith added in v0.12.0

func (d *VolumeMountStatusDie) DieWith(fns ...func(d *VolumeMountStatusDie)) *VolumeMountStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeMountStatusDie) MountPath added in v0.12.0

MountPath corresponds to the original VolumeMount.

func (*VolumeMountStatusDie) Name added in v0.12.0

Name corresponds to the name of the original VolumeMount.

func (*VolumeMountStatusDie) ReadOnly added in v0.12.0

ReadOnly corresponds to the original VolumeMount.

func (*VolumeMountStatusDie) RecursiveReadOnly added in v0.12.0

RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).

An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,

depending on the mount result.

type VolumeNodeAffinityDie

type VolumeNodeAffinityDie struct {
	// contains filtered or unexported fields
}

func (*VolumeNodeAffinityDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeNodeAffinityDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*VolumeNodeAffinityDie) DieFeedJSON

func (d *VolumeNodeAffinityDie) DieFeedJSON(j []byte) *VolumeNodeAffinityDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeNodeAffinityDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeNodeAffinityDie) DieFeedRawExtension

func (d *VolumeNodeAffinityDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeNodeAffinityDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeNodeAffinityDie) DieFeedYAML

func (d *VolumeNodeAffinityDie) DieFeedYAML(y []byte) *VolumeNodeAffinityDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeNodeAffinityDie) DieFeedYAMLFile

func (d *VolumeNodeAffinityDie) DieFeedYAMLFile(name string) *VolumeNodeAffinityDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeNodeAffinityDie) DieImmutable

func (d *VolumeNodeAffinityDie) DieImmutable(immutable bool) *VolumeNodeAffinityDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeNodeAffinityDie) DieRelease

DieRelease returns the resource managed by the die.

func (*VolumeNodeAffinityDie) DieReleaseJSON

func (d *VolumeNodeAffinityDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeNodeAffinityDie) DieReleasePtr

func (d *VolumeNodeAffinityDie) DieReleasePtr() *corev1.VolumeNodeAffinity

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeNodeAffinityDie) DieReleaseRawExtension

func (d *VolumeNodeAffinityDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeNodeAffinityDie) DieReleaseYAML

func (d *VolumeNodeAffinityDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeNodeAffinityDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeNodeAffinityDie) DieStampAt

func (d *VolumeNodeAffinityDie) DieStampAt(jp string, fn interface{}) *VolumeNodeAffinityDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeNodeAffinityDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeNodeAffinityDie) Required

required specifies hard node constraints that must be met.

func (*VolumeNodeAffinityDie) RequiredDie

func (d *VolumeNodeAffinityDie) RequiredDie(fn func(d *NodeSelectorDie)) *VolumeNodeAffinityDie

type VolumeProjectionDie

type VolumeProjectionDie struct {
	// contains filtered or unexported fields
}

func (*VolumeProjectionDie) ClusterTrustBundle

ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field

of ClusterTrustBundle objects in an auto-updating file.

Alpha, gated by the ClusterTrustBundleProjection feature gate.

ClusterTrustBundle objects can either be selected by name, or by the

combination of signer name and a label selector.

Kubelet performs aggressive normalization of the PEM contents written

into the pod filesystem. Esoteric PEM features such as inter-block

comments and block headers are stripped. Certificates are deduplicated.

The ordering of certificates within the file is arbitrary, and Kubelet

may change the order over time.

func (*VolumeProjectionDie) ClusterTrustBundleDie

func (d *VolumeProjectionDie) ClusterTrustBundleDie(fn func(d *ClusterTrustBundleProjectionDie)) *VolumeProjectionDie

func (*VolumeProjectionDie) ConfigMap

configMap information about the configMap data to project

func (*VolumeProjectionDie) ConfigMapDie

func (d *VolumeProjectionDie) ConfigMapDie(fn func(d *ConfigMapProjectionDie)) *VolumeProjectionDie

func (*VolumeProjectionDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeProjectionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*VolumeProjectionDie) DieFeedJSON

func (d *VolumeProjectionDie) DieFeedJSON(j []byte) *VolumeProjectionDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeProjectionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeProjectionDie) DieFeedRawExtension

func (d *VolumeProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeProjectionDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeProjectionDie) DieFeedYAML

func (d *VolumeProjectionDie) DieFeedYAML(y []byte) *VolumeProjectionDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeProjectionDie) DieFeedYAMLFile

func (d *VolumeProjectionDie) DieFeedYAMLFile(name string) *VolumeProjectionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeProjectionDie) DieImmutable

func (d *VolumeProjectionDie) DieImmutable(immutable bool) *VolumeProjectionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeProjectionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*VolumeProjectionDie) DieReleaseJSON

func (d *VolumeProjectionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeProjectionDie) DieReleasePtr

func (d *VolumeProjectionDie) DieReleasePtr() *corev1.VolumeProjection

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeProjectionDie) DieReleaseRawExtension

func (d *VolumeProjectionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeProjectionDie) DieReleaseYAML

func (d *VolumeProjectionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeProjectionDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeProjectionDie) DieStampAt

func (d *VolumeProjectionDie) DieStampAt(jp string, fn interface{}) *VolumeProjectionDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeProjectionDie) DieWith

func (d *VolumeProjectionDie) DieWith(fns ...func(d *VolumeProjectionDie)) *VolumeProjectionDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeProjectionDie) DownwardAPI

downwardAPI information about the downwardAPI data to project

func (*VolumeProjectionDie) DownwardAPIDie

func (d *VolumeProjectionDie) DownwardAPIDie(fn func(d *DownwardAPIProjectionDie)) *VolumeProjectionDie

func (*VolumeProjectionDie) Secret

secret information about the secret data to project

func (*VolumeProjectionDie) SecretDie

func (d *VolumeProjectionDie) SecretDie(fn func(d *SecretProjectionDie)) *VolumeProjectionDie

func (*VolumeProjectionDie) ServiceAccountToken

serviceAccountToken is information about the serviceAccountToken data to project

func (*VolumeProjectionDie) ServiceAccountTokenDie

func (d *VolumeProjectionDie) ServiceAccountTokenDie(fn func(d *ServiceAccountTokenProjectionDie)) *VolumeProjectionDie

type VolumeResourceRequirementsDie

type VolumeResourceRequirementsDie struct {
	// contains filtered or unexported fields
}

func (*VolumeResourceRequirementsDie) AddLimit

func (*VolumeResourceRequirementsDie) AddLimitString

func (*VolumeResourceRequirementsDie) AddRequest

func (*VolumeResourceRequirementsDie) AddRequestString

func (*VolumeResourceRequirementsDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VolumeResourceRequirementsDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*VolumeResourceRequirementsDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VolumeResourceRequirementsDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VolumeResourceRequirementsDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeResourceRequirementsDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VolumeResourceRequirementsDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VolumeResourceRequirementsDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VolumeResourceRequirementsDie) DieRelease

DieRelease returns the resource managed by the die.

func (*VolumeResourceRequirementsDie) DieReleaseJSON

func (d *VolumeResourceRequirementsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VolumeResourceRequirementsDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VolumeResourceRequirementsDie) DieReleaseRawExtension

func (d *VolumeResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VolumeResourceRequirementsDie) DieReleaseYAML

func (d *VolumeResourceRequirementsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VolumeResourceRequirementsDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VolumeResourceRequirementsDie) DieStampAt

func (d *VolumeResourceRequirementsDie) DieStampAt(jp string, fn interface{}) *VolumeResourceRequirementsDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VolumeResourceRequirementsDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VolumeResourceRequirementsDie) Limits

Limits describes the maximum amount of compute resources allowed.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

func (*VolumeResourceRequirementsDie) Requests

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. Requests cannot exceed Limits.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

type VsphereVirtualDiskVolumeSourceDie

type VsphereVirtualDiskVolumeSourceDie struct {
	// contains filtered or unexported fields
}

func (*VsphereVirtualDiskVolumeSourceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*VsphereVirtualDiskVolumeSourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*VsphereVirtualDiskVolumeSourceDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*VsphereVirtualDiskVolumeSourceDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*VsphereVirtualDiskVolumeSourceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseJSON

func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseRawExtension

func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML

func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*VsphereVirtualDiskVolumeSourceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*VsphereVirtualDiskVolumeSourceDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*VsphereVirtualDiskVolumeSourceDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*VsphereVirtualDiskVolumeSourceDie) FSType

fsType is 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.

func (*VsphereVirtualDiskVolumeSourceDie) StoragePolicyID

storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.

func (*VsphereVirtualDiskVolumeSourceDie) StoragePolicyName

storagePolicyName is the storage Policy Based Management (SPBM) profile name.

func (*VsphereVirtualDiskVolumeSourceDie) VolumePath

volumePath is the path that identifies vSphere volume vmdk

type WindowsSecurityContextOptionsDie

type WindowsSecurityContextOptionsDie struct {
	// contains filtered or unexported fields
}

func (*WindowsSecurityContextOptionsDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*WindowsSecurityContextOptionsDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*WindowsSecurityContextOptionsDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*WindowsSecurityContextOptionsDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*WindowsSecurityContextOptionsDie) DieRelease

DieRelease returns the resource managed by the die.

func (*WindowsSecurityContextOptionsDie) DieReleaseJSON

func (d *WindowsSecurityContextOptionsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*WindowsSecurityContextOptionsDie) DieReleaseRawExtension

func (d *WindowsSecurityContextOptionsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieReleaseYAML

func (d *WindowsSecurityContextOptionsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*WindowsSecurityContextOptionsDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*WindowsSecurityContextOptionsDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*WindowsSecurityContextOptionsDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*WindowsSecurityContextOptionsDie) GMSACredentialSpec

GMSACredentialSpec is where the GMSA admission webhook

(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the

GMSA credential spec named by the GMSACredentialSpecName field.

func (*WindowsSecurityContextOptionsDie) GMSACredentialSpecName

GMSACredentialSpecName is the name of the GMSA credential spec to use.

func (*WindowsSecurityContextOptionsDie) HostProcess

HostProcess determines if a container should be run as a 'Host Process' container.

All of a Pod's containers must have the same effective HostProcess value

(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).

In addition, if HostProcess is true then HostNetwork must also be set to true.

func (*WindowsSecurityContextOptionsDie) RunAsUserName

The UserName in Windows to run the entrypoint of the container process.

Defaults to the user specified in image metadata if unspecified.

May also be set in PodSecurityContext. If set in both SecurityContext and

PodSecurityContext, the value specified in SecurityContext takes precedence.

Jump to

Keyboard shortcuts

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