v1

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 17 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 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 ContainerUserBlank = (&ContainerUserDie{}).DieFeed(corev1.ContainerUser{})
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 LinuxContainerUserBlank = (&LinuxContainerUserDie{}).DieFeed(corev1.LinuxContainerUser{})
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 NodeFeaturesBlank = (&NodeFeaturesDie{}).DieFeed(corev1.NodeFeatures{})
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 ResourceHealthBlank = (&ResourceHealthDie{}).DieFeed(corev1.ResourceHealth{})
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 ResourceStatusBlank = (&ResourceStatusDie{}).DieFeed(corev1.ResourceStatus{})
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) DieDiff added in v0.13.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *AWSElasticBlockStoreVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*AWSElasticBlockStoreVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*AWSElasticBlockStoreVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*AWSElasticBlockStoreVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*AWSElasticBlockStoreVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *AppArmorProfileDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *AppArmorProfileDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *AppArmorProfileDie) DieSeal() *AppArmorProfileDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*AppArmorProfileDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*AppArmorProfileDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*AppArmorProfileDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*AppArmorProfileDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *AttachedVolumeDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *AttachedVolumeDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *AttachedVolumeDie) DieSeal() *AttachedVolumeDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*AttachedVolumeDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*AttachedVolumeDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*AttachedVolumeDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*AttachedVolumeDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *AzureDiskVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *AzureDiskVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*AzureDiskVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*AzureDiskVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*AzureDiskVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*AzureDiskVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *AzureDiskVolumeSourceDie) DieSealReleasePtr() *corev1.AzureDiskVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *AzureFilePersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*AzureFilePersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*AzureFilePersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*AzureFilePersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*AzureFilePersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *AzureFileVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *AzureFileVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*AzureFileVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*AzureFileVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*AzureFileVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*AzureFileVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *AzureFileVolumeSourceDie) DieSealReleasePtr() *corev1.AzureFileVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDefaultTypeMetadata added in v0.13.0

func (d *BindingDie) DieDefaultTypeMetadata() *BindingDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Binding" respectively.

func (*BindingDie) DieDiff added in v0.13.0

func (d *BindingDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *BindingDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *BindingDie) DieSeal() *BindingDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*BindingDie) DieSealFeed added in v0.13.0

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

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*BindingDie) DieSealFeedPtr added in v0.13.0

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

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*BindingDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*BindingDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) Metadata added in v0.13.0

func (d *BindingDie) Metadata(v apismetav1.ObjectMeta) *BindingDie

Metadata standard object's metadata.

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

TargetDie mutates Target as a die.

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

func (*BindingDie) TypeMetadata added in v0.13.0

func (d *BindingDie) TypeMetadata(v apismetav1.TypeMeta) *BindingDie

TypeMetadata standard object's type metadata.

func (*BindingDie) TypeMetadataDie added in v0.13.0

func (d *BindingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *BindingDie

TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.

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

ControllerExpandSecretRefDie mutates ControllerExpandSecretRef as a die.

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) 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

ControllerPublishSecretRefDie mutates ControllerPublishSecretRef as a die.

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) DeepCopy

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

func (*CSIPersistentVolumeSourceDie) DieDiff added in v0.13.0

func (d *CSIPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CSIPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CSIPersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CSIPersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CSIPersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*CSIPersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

NodeExpandSecretRefDie mutates NodeExpandSecretRef as a die.

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) 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

NodePublishSecretRefDie mutates NodePublishSecretRef as a die.

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) 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

NodeStageSecretRefDie mutates NodeStageSecretRef as a die.

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) 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) DieDiff added in v0.13.0

func (d *CSIVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CSIVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *CSIVolumeSourceDie) DieSeal() *CSIVolumeSourceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CSIVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CSIVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CSIVolumeSourceDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*CSIVolumeSourceDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

NodePublishSecretRefDie mutates NodePublishSecretRef as a die.

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) 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) DieDiff added in v0.13.0

func (d *CapabilitiesDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CapabilitiesDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *CapabilitiesDie) DieSeal() *CapabilitiesDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CapabilitiesDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CapabilitiesDie) DieSealFeedPtr added in v0.13.0

func (d *CapabilitiesDie) DieSealFeedPtr(r *corev1.Capabilities) *CapabilitiesDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CapabilitiesDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*CapabilitiesDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *CephFSPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CephFSPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CephFSPersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CephFSPersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CephFSPersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*CephFSPersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

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) 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) DieDiff added in v0.13.0

func (d *CephFSVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CephFSVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CephFSVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CephFSVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CephFSVolumeSourceDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*CephFSVolumeSourceDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

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) 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) DieDiff added in v0.13.0

func (d *CinderPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CinderPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CinderPersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CinderPersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CinderPersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*CinderPersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

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

to OpenStack.

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) DieDiff added in v0.13.0

func (d *CinderVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *CinderVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*CinderVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*CinderVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*CinderVolumeSourceDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*CinderVolumeSourceDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

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

to OpenStack.

func (*CinderVolumeSourceDie) VolumeID

volumeID used to identify the volume in cinder.

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

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) DieDiff added in v0.13.0

func (d *ClientIPConfigDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ClientIPConfigDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ClientIPConfigDie) DieSeal() *ClientIPConfigDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ClientIPConfigDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ClientIPConfigDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ClientIPConfigDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*ClientIPConfigDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ClusterTrustBundleProjectionDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ClusterTrustBundleProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ClusterTrustBundleProjectionDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ClusterTrustBundleProjectionDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ClusterTrustBundleProjectionDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ClusterTrustBundleProjectionDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

LabelSelectorDie mutates LabelSelector as a die.

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) 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) DieDefaultTypeMetadata added in v0.13.0

func (d *ComponentStatusDie) DieDefaultTypeMetadata() *ComponentStatusDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ComponentStatus" respectively.

func (*ComponentStatusDie) DieDiff added in v0.13.0

func (d *ComponentStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ComponentStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ComponentStatusDie) DieSeal() *ComponentStatusDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ComponentStatusDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ComponentStatusDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ComponentStatusDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*ComponentStatusDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) Metadata added in v0.13.0

Metadata standard object's metadata.

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) TypeMetadata added in v0.13.0

TypeMetadata standard object's type metadata.

func (*ComponentStatusDie) TypeMetadataDie added in v0.13.0

func (d *ComponentStatusDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ComponentStatusDie

TypeMetadataDie stamps the resource's TypeMeta 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) DieDefaultTypeMetadata added in v0.13.0

func (d *ConfigMapDie) DieDefaultTypeMetadata() *ConfigMapDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ConfigMap" respectively.

func (*ConfigMapDie) DieDiff added in v0.13.0

func (d *ConfigMapDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ConfigMapDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ConfigMapDie) DieSeal() *ConfigMapDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ConfigMapDie) DieSealFeed added in v0.13.0

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

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ConfigMapDie) DieSealFeedPtr added in v0.13.0

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

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ConfigMapDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*ConfigMapDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) Metadata added in v0.13.0

Metadata standard object's metadata.

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) TypeMetadata added in v0.13.0

func (d *ConfigMapDie) TypeMetadata(v apismetav1.TypeMeta) *ConfigMapDie

TypeMetadata standard object's type metadata.

func (*ConfigMapDie) TypeMetadataDie added in v0.13.0

func (d *ConfigMapDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ConfigMapDie

TypeMetadataDie stamps the resource's TypeMeta 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) DieDiff added in v0.13.0

func (d *ConfigMapEnvSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ConfigMapEnvSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ConfigMapEnvSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ConfigMapEnvSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ConfigMapEnvSourceDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*ConfigMapEnvSourceDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ConfigMapKeySelectorDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ConfigMapKeySelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ConfigMapKeySelectorDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ConfigMapKeySelectorDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ConfigMapKeySelectorDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ConfigMapKeySelectorDie) DieSealReleasePtr added in v0.13.0

func (d *ConfigMapKeySelectorDie) DieSealReleasePtr() *corev1.ConfigMapKeySelector

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ConfigMapNodeConfigSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ConfigMapNodeConfigSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ConfigMapNodeConfigSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ConfigMapNodeConfigSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ConfigMapNodeConfigSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ConfigMapNodeConfigSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ConfigMapProjectionDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ConfigMapProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ConfigMapProjectionDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ConfigMapProjectionDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ConfigMapProjectionDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ConfigMapProjectionDie) DieSealReleasePtr added in v0.13.0

func (d *ConfigMapProjectionDie) DieSealReleasePtr() *corev1.ConfigMapProjection

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ItemDie mutates a single item in Items matched by the nested field Key, appending a new item if no match is found.

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) 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) DieDiff added in v0.13.0

func (d *ConfigMapVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ConfigMapVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ConfigMapVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ConfigMapVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ConfigMapVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ConfigMapVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *ConfigMapVolumeSourceDie) DieSealReleasePtr() *corev1.ConfigMapVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ItemDie mutates a single item in Items matched by the nested field Key, appending a new item if no match is found.

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) 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) DieDiff added in v0.13.0

func (d *ContainerDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ContainerDie) DieSeal() *ContainerDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerDie) DieSealFeed added in v0.13.0

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

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerDie) DieSealFeedPtr added in v0.13.0

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

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerDie) DieSealRelease added in v0.13.0

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

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerDie) DieSealReleasePtr added in v0.13.0

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

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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(v string, fn func(d *EnvVarDie)) *ContainerDie

EnvDie mutates a single item in Env matched by the nested field Name, appending a new item if no match is found.

List of environment variables to set in the container.

Cannot be updated.

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(v string, fn func(d *EnvFromSourceDie)) *ContainerDie

EnvFromDie mutates a single item in EnvFrom matched by the nested field Prefix, appending a new item if no match is found.

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) 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

LifecycleDie mutates Lifecycle as a die.

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

Cannot be updated.

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

LivenessProbeDie mutates LivenessProbe as a die.

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) 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(v ...*ContainerPortDie) *ContainerDie

PortsDie replaces Ports by collecting the released value from each die passed.

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) 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

ReadinessProbeDie mutates ReadinessProbe as a die.

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) ResizePolicy

func (d *ContainerDie) ResizePolicy(v ...corev1.ContainerResizePolicy) *ContainerDie

Resources resize policy for the container.

func (*ContainerDie) ResizePolicyDie

func (d *ContainerDie) ResizePolicyDie(v corev1.ResourceName, fn func(d *ContainerResizePolicyDie)) *ContainerDie

ResizePolicyDie mutates a single item in ResizePolicy matched by the nested field ResourceName, appending a new item if no match is found.

Resources resize policy for the container.

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

ResourcesDie mutates Resources as a die.

Compute Resources required by this container.

Cannot be updated.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

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

SecurityContextDie mutates SecurityContext as a die.

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) 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

StartupProbeDie mutates StartupProbe as a die.

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) 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(v string, fn func(d *VolumeDeviceDie)) *ContainerDie

VolumeDeviceDie mutates a single item in VolumeDevices matched by the nested field Name, appending a new item if no match is found.

volumeDevices is the list of block devices to be used by the container.

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(v string, fn func(d *VolumeMountDie)) *ContainerDie

VolumeMountDie mutates a single item in VolumeMounts matched by the nested field Name, appending a new item if no match is found.

Pod volumes to mount into the container's filesystem.

Cannot be updated.

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) DieDiff added in v0.13.0

func (d *ContainerImageDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerImageDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ContainerImageDie) DieSeal() *ContainerImageDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerImageDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerImageDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerImageDie) DieSealRelease added in v0.13.0

func (d *ContainerImageDie) DieSealRelease() corev1.ContainerImage

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerImageDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerImageDie) DieSealReleasePtr() *corev1.ContainerImage

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ContainerPortDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerPortDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ContainerPortDie) DieSeal() *ContainerPortDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerPortDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerPortDie) DieSealFeedPtr added in v0.13.0

func (d *ContainerPortDie) DieSealFeedPtr(r *corev1.ContainerPort) *ContainerPortDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerPortDie) DieSealRelease added in v0.13.0

func (d *ContainerPortDie) DieSealRelease() corev1.ContainerPort

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerPortDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerPortDie) DieSealReleasePtr() *corev1.ContainerPort

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ContainerResizePolicyDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerResizePolicyDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerResizePolicyDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerResizePolicyDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerResizePolicyDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerResizePolicyDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerResizePolicyDie) DieSealReleasePtr() *corev1.ContainerResizePolicy

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ContainerStateDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerStateDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ContainerStateDie) DieSeal() *ContainerStateDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerStateDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerStateDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerStateDie) DieSealRelease added in v0.13.0

func (d *ContainerStateDie) DieSealRelease() corev1.ContainerState

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerStateDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerStateDie) DieSealReleasePtr() *corev1.ContainerState

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

RunningDie mutates Running as a die.

Details about a running container

func (*ContainerStateDie) Terminated

Details about a terminated container

func (*ContainerStateDie) TerminatedDie

func (d *ContainerStateDie) TerminatedDie(fn func(d *ContainerStateTerminatedDie)) *ContainerStateDie

TerminatedDie mutates Terminated as a die.

Details about a terminated container

func (*ContainerStateDie) Waiting

Details about a waiting container

func (*ContainerStateDie) WaitingDie

func (d *ContainerStateDie) WaitingDie(fn func(d *ContainerStateWaitingDie)) *ContainerStateDie

WaitingDie mutates Waiting as a die.

Details about a waiting container

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) DieDiff added in v0.13.0

func (d *ContainerStateRunningDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerStateRunningDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerStateRunningDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerStateRunningDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerStateRunningDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerStateRunningDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerStateRunningDie) DieSealReleasePtr() *corev1.ContainerStateRunning

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ContainerStateTerminatedDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerStateTerminatedDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerStateTerminatedDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerStateTerminatedDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerStateTerminatedDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerStateTerminatedDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ContainerStateWaitingDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerStateWaitingDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerStateWaitingDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerStateWaitingDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerStateWaitingDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerStateWaitingDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerStateWaitingDie) DieSealReleasePtr() *corev1.ContainerStateWaiting

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

AddAllocatedResource sets a single quantity on the AllocatedResources resource list.

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) AddAllocatedResourceString

func (d *ContainerStatusDie) AddAllocatedResourceString(name corev1.ResourceName, quantity string) *ContainerStatusDie

AddAllocatedResourceString parses the quantity setting a single value on the AllocatedResources resource list. Panics if the string is not parsable.

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) 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) AllocatedResourcesStatuDie added in v0.14.0

func (d *ContainerStatusDie) AllocatedResourcesStatuDie(v corev1.ResourceName, fn func(d *ResourceStatusDie)) *ContainerStatusDie

AllocatedResourcesStatuDie mutates a single item in AllocatedResourcesStatus matched by the nested field Name, appending a new item if no match is found.

AllocatedResourcesStatus represents the status of various resources

allocated for this Pod.

func (*ContainerStatusDie) AllocatedResourcesStatus added in v0.14.0

func (d *ContainerStatusDie) AllocatedResourcesStatus(v ...corev1.ResourceStatus) *ContainerStatusDie

AllocatedResourcesStatus represents the status of various resources

allocated for this Pod.

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) DieDiff added in v0.13.0

func (d *ContainerStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ContainerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ContainerStatusDie) DieSeal() *ContainerStatusDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerStatusDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerStatusDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerStatusDie) DieSealRelease added in v0.13.0

func (d *ContainerStatusDie) DieSealRelease() corev1.ContainerStatus

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerStatusDie) DieSealReleasePtr added in v0.13.0

func (d *ContainerStatusDie) DieSealReleasePtr() *corev1.ContainerStatus

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

LastTerminationStateDie mutates LastTerminationState as a die.

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) 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

ResourcesDie mutates Resources as a die.

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) 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

StateDie mutates State as a die.

State holds details about the container's current condition.

func (*ContainerStatusDie) User added in v0.14.0

User represents user identity information initially attached to the first process of the container

func (*ContainerStatusDie) UserDie added in v0.14.0

func (d *ContainerStatusDie) UserDie(fn func(d *ContainerUserDie)) *ContainerStatusDie

UserDie mutates User as a die.

User represents user identity information initially attached to the first process of the container

func (*ContainerStatusDie) VolumeMountDie added in v0.12.0

func (d *ContainerStatusDie) VolumeMountDie(v string, fn func(d *VolumeMountStatusDie)) *ContainerStatusDie

VolumeMountDie mutates a single item in VolumeMounts matched by the nested field Name, appending a new item if no match is found.

Status of volume mounts.

func (*ContainerStatusDie) VolumeMounts added in v0.12.0

Status of volume mounts.

type ContainerUserDie added in v0.14.0

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

func (*ContainerUserDie) DeepCopy added in v0.14.0

func (d *ContainerUserDie) DeepCopy() *ContainerUserDie

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

func (*ContainerUserDie) DieDiff added in v0.14.0

func (d *ContainerUserDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ContainerUserDie) DieFeed added in v0.14.0

DieFeed returns a new die with the provided resource.

func (*ContainerUserDie) DieFeedJSON added in v0.14.0

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

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

func (*ContainerUserDie) DieFeedPtr added in v0.14.0

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

func (*ContainerUserDie) DieFeedRawExtension added in v0.14.0

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

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

func (*ContainerUserDie) DieFeedYAML added in v0.14.0

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

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

func (*ContainerUserDie) DieFeedYAMLFile added in v0.14.0

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

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

func (*ContainerUserDie) DieImmutable added in v0.14.0

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

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

func (*ContainerUserDie) DiePatch added in v0.14.0

func (d *ContainerUserDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ContainerUserDie) DieRelease added in v0.14.0

func (d *ContainerUserDie) DieRelease() corev1.ContainerUser

DieRelease returns the resource managed by the die.

func (*ContainerUserDie) DieReleaseJSON added in v0.14.0

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

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

func (*ContainerUserDie) DieReleasePtr added in v0.14.0

func (d *ContainerUserDie) DieReleasePtr() *corev1.ContainerUser

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

func (*ContainerUserDie) DieReleaseRawExtension added in v0.14.0

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

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

func (*ContainerUserDie) DieReleaseYAML added in v0.14.0

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

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

func (*ContainerUserDie) DieSeal added in v0.14.0

func (d *ContainerUserDie) DieSeal() *ContainerUserDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ContainerUserDie) DieSealFeed added in v0.14.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ContainerUserDie) DieSealFeedPtr added in v0.14.0

func (d *ContainerUserDie) DieSealFeedPtr(r *corev1.ContainerUser) *ContainerUserDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ContainerUserDie) DieSealRelease added in v0.14.0

func (d *ContainerUserDie) DieSealRelease() corev1.ContainerUser

DieSealRelease returns the sealed resource managed by the die.

func (*ContainerUserDie) DieSealReleasePtr added in v0.14.0

func (d *ContainerUserDie) DieSealReleasePtr() *corev1.ContainerUser

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ContainerUserDie) DieStamp added in v0.14.0

func (d *ContainerUserDie) DieStamp(fn func(r *corev1.ContainerUser)) *ContainerUserDie

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

func (*ContainerUserDie) DieStampAt added in v0.14.0

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

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 (*ContainerUserDie) DieWith added in v0.14.0

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

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

func (*ContainerUserDie) Linux added in v0.14.0

Linux holds user identity information initially attached to the first process of the containers in Linux.

Note that the actual running identity can be changed if the process has enough privilege to do so.

func (*ContainerUserDie) LinuxDie added in v0.14.0

func (d *ContainerUserDie) LinuxDie(fn func(d *LinuxContainerUserDie)) *ContainerUserDie

LinuxDie mutates Linux as a die.

Linux holds user identity information initially attached to the first process of the containers in Linux.

Note that the actual running identity can be changed if the process has enough privilege to do so.

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) DieDiff added in v0.13.0

func (d *DaemonEndpointDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *DaemonEndpointDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *DaemonEndpointDie) DieSeal() *DaemonEndpointDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*DaemonEndpointDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*DaemonEndpointDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*DaemonEndpointDie) DieSealRelease added in v0.13.0

func (d *DaemonEndpointDie) DieSealRelease() corev1.DaemonEndpoint

DieSealRelease returns the sealed resource managed by the die.

func (*DaemonEndpointDie) DieSealReleasePtr added in v0.13.0

func (d *DaemonEndpointDie) DieSealReleasePtr() *corev1.DaemonEndpoint

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *DownwardAPIProjectionDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *DownwardAPIProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*DownwardAPIProjectionDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*DownwardAPIProjectionDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*DownwardAPIProjectionDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*DownwardAPIProjectionDie) DieSealReleasePtr added in v0.13.0

func (d *DownwardAPIProjectionDie) DieSealReleasePtr() *corev1.DownwardAPIProjection

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ItemDie mutates a single item in Items matched by the nested field Path, appending a new item if no match is found.

Items is a list of DownwardAPIVolume file

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) DieDiff added in v0.13.0

func (d *DownwardAPIVolumeFileDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *DownwardAPIVolumeFileDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*DownwardAPIVolumeFileDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*DownwardAPIVolumeFileDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*DownwardAPIVolumeFileDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*DownwardAPIVolumeFileDie) DieSealReleasePtr added in v0.13.0

func (d *DownwardAPIVolumeFileDie) DieSealReleasePtr() *corev1.DownwardAPIVolumeFile

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

FieldRefDie mutates FieldRef as a die.

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

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

ResourceFieldRefDie mutates ResourceFieldRef as a die.

Selects a resource of the container: only resources limits and requests

(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

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) DieDiff added in v0.13.0

func (d *DownwardAPIVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *DownwardAPIVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*DownwardAPIVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*DownwardAPIVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*DownwardAPIVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*DownwardAPIVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ItemDie mutates a single item in Items matched by the nested field Path, appending a new item if no match is found.

Items is a list of downward API volume file

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) DieDiff added in v0.13.0

func (d *EmptyDirVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EmptyDirVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EmptyDirVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EmptyDirVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EmptyDirVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*EmptyDirVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *EmptyDirVolumeSourceDie) DieSealReleasePtr() *corev1.EmptyDirVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

func (*EmptyDirVolumeSourceDie) SizeLimitString added in v0.13.0

SizeLimitString sets SizeLimit by parsing the string as a Quantity. Panics if the string is not parsable.

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) DieDiff added in v0.13.0

func (d *EndpointAddressDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EndpointAddressDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EndpointAddressDie) DieSeal() *EndpointAddressDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EndpointAddressDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EndpointAddressDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EndpointAddressDie) DieSealRelease added in v0.13.0

func (d *EndpointAddressDie) DieSealRelease() corev1.EndpointAddress

DieSealRelease returns the sealed resource managed by the die.

func (*EndpointAddressDie) DieSealReleasePtr added in v0.13.0

func (d *EndpointAddressDie) DieSealReleasePtr() *corev1.EndpointAddress

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

TargetRefDie mutates TargetRef as a die.

Reference to object providing the endpoint.

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) DieDiff added in v0.13.0

func (d *EndpointPortDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EndpointPortDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EndpointPortDie) DieSeal() *EndpointPortDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EndpointPortDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EndpointPortDie) DieSealFeedPtr added in v0.13.0

func (d *EndpointPortDie) DieSealFeedPtr(r *corev1.EndpointPort) *EndpointPortDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EndpointPortDie) DieSealRelease added in v0.13.0

func (d *EndpointPortDie) DieSealRelease() corev1.EndpointPort

DieSealRelease returns the sealed resource managed by the die.

func (*EndpointPortDie) DieSealReleasePtr added in v0.13.0

func (d *EndpointPortDie) DieSealReleasePtr() *corev1.EndpointPort

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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(v ...*EndpointAddressDie) *EndpointSubsetDie

AddressesDie replaces Addresses by collecting the released value from each die passed.

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) DeepCopy

func (d *EndpointSubsetDie) DeepCopy() *EndpointSubsetDie

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

func (*EndpointSubsetDie) DieDiff added in v0.13.0

func (d *EndpointSubsetDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EndpointSubsetDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EndpointSubsetDie) DieSeal() *EndpointSubsetDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EndpointSubsetDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EndpointSubsetDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EndpointSubsetDie) DieSealRelease added in v0.13.0

func (d *EndpointSubsetDie) DieSealRelease() corev1.EndpointSubset

DieSealRelease returns the sealed resource managed by the die.

func (*EndpointSubsetDie) DieSealReleasePtr added in v0.13.0

func (d *EndpointSubsetDie) DieSealReleasePtr() *corev1.EndpointSubset

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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(v ...*EndpointAddressDie) *EndpointSubsetDie

NotReadyAddressesDie replaces NotReadyAddresses by collecting the released value from each die passed.

because they have not yet finished starting, have recently failed a readiness check,

or have recently failed a liveness check.

func (*EndpointSubsetDie) Ports

Port numbers available on the related IP addresses.

func (*EndpointSubsetDie) PortsDie

PortsDie replaces Ports by collecting the released value from each die passed.

Port numbers available on the related IP addresses.

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) DieDefaultTypeMetadata added in v0.13.0

func (d *EndpointsDie) DieDefaultTypeMetadata() *EndpointsDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Endpoints" respectively.

func (*EndpointsDie) DieDiff added in v0.13.0

func (d *EndpointsDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EndpointsDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EndpointsDie) DieSeal() *EndpointsDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EndpointsDie) DieSealFeed added in v0.13.0

func (d *EndpointsDie) DieSealFeed(r corev1.Endpoints) *EndpointsDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EndpointsDie) DieSealFeedPtr added in v0.13.0

func (d *EndpointsDie) DieSealFeedPtr(r *corev1.Endpoints) *EndpointsDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EndpointsDie) DieSealRelease added in v0.13.0

func (d *EndpointsDie) DieSealRelease() corev1.Endpoints

DieSealRelease returns the sealed resource managed by the die.

func (*EndpointsDie) DieSealReleasePtr added in v0.13.0

func (d *EndpointsDie) DieSealReleasePtr() *corev1.Endpoints

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) Metadata added in v0.13.0

Metadata standard object's metadata.

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(v ...*EndpointSubsetDie) *EndpointsDie

SubsetsDie replaces Subsets by collecting the released value from each die passed.

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) TypeMetadata added in v0.13.0

func (d *EndpointsDie) TypeMetadata(v apismetav1.TypeMeta) *EndpointsDie

TypeMetadata standard object's type metadata.

func (*EndpointsDie) TypeMetadataDie added in v0.13.0

func (d *EndpointsDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *EndpointsDie

TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.

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

ConfigMapRefDie mutates ConfigMapRef as a die.

The ConfigMap to select from

func (*EnvFromSourceDie) DeepCopy

func (d *EnvFromSourceDie) DeepCopy() *EnvFromSourceDie

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

func (*EnvFromSourceDie) DieDiff added in v0.13.0

func (d *EnvFromSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EnvFromSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EnvFromSourceDie) DieSeal() *EnvFromSourceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EnvFromSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EnvFromSourceDie) DieSealFeedPtr added in v0.13.0

func (d *EnvFromSourceDie) DieSealFeedPtr(r *corev1.EnvFromSource) *EnvFromSourceDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EnvFromSourceDie) DieSealRelease added in v0.13.0

func (d *EnvFromSourceDie) DieSealRelease() corev1.EnvFromSource

DieSealRelease returns the sealed resource managed by the die.

func (*EnvFromSourceDie) DieSealReleasePtr added in v0.13.0

func (d *EnvFromSourceDie) DieSealReleasePtr() *corev1.EnvFromSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

The Secret to select from

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) DieDiff added in v0.13.0

func (d *EnvVarDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EnvVarDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EnvVarDie) DieSeal() *EnvVarDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EnvVarDie) DieSealFeed added in v0.13.0

func (d *EnvVarDie) DieSealFeed(r corev1.EnvVar) *EnvVarDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EnvVarDie) DieSealFeedPtr added in v0.13.0

func (d *EnvVarDie) DieSealFeedPtr(r *corev1.EnvVar) *EnvVarDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EnvVarDie) DieSealRelease added in v0.13.0

func (d *EnvVarDie) DieSealRelease() corev1.EnvVar

DieSealRelease returns the sealed resource managed by the die.

func (*EnvVarDie) DieSealReleasePtr added in v0.13.0

func (d *EnvVarDie) DieSealReleasePtr() *corev1.EnvVar

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ValueFromDie mutates ValueFrom as a die.

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

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

ConfigMapKeyRefDie mutates ConfigMapKeyRef as a die.

Selects a key of a ConfigMap.

func (*EnvVarSourceDie) DeepCopy

func (d *EnvVarSourceDie) DeepCopy() *EnvVarSourceDie

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

func (*EnvVarSourceDie) DieDiff added in v0.13.0

func (d *EnvVarSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EnvVarSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EnvVarSourceDie) DieSeal() *EnvVarSourceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EnvVarSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EnvVarSourceDie) DieSealFeedPtr added in v0.13.0

func (d *EnvVarSourceDie) DieSealFeedPtr(r *corev1.EnvVarSource) *EnvVarSourceDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EnvVarSourceDie) DieSealRelease added in v0.13.0

func (d *EnvVarSourceDie) DieSealRelease() corev1.EnvVarSource

DieSealRelease returns the sealed resource managed by the die.

func (*EnvVarSourceDie) DieSealReleasePtr added in v0.13.0

func (d *EnvVarSourceDie) DieSealReleasePtr() *corev1.EnvVarSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

FieldRefDie mutates FieldRef as a die.

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) 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

ResourceFieldRefDie mutates ResourceFieldRef as a die.

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) SecretKeyRef

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

func (*EnvVarSourceDie) SecretKeyRefDie

func (d *EnvVarSourceDie) SecretKeyRefDie(fn func(d *SecretKeySelectorDie)) *EnvVarSourceDie

SecretKeyRefDie mutates SecretKeyRef as a die.

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

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) DieDiff added in v0.13.0

func (d *EphemeralVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EphemeralVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EphemeralVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EphemeralVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EphemeralVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*EphemeralVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *EphemeralVolumeSourceDie) DieSealReleasePtr() *corev1.EphemeralVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

VolumeClaimTemplateDie mutates VolumeClaimTemplate as a die.

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.

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) DieDefaultTypeMetadata added in v0.13.0

func (d *EventDie) DieDefaultTypeMetadata() *EventDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Event" respectively.

func (*EventDie) DieDiff added in v0.13.0

func (d *EventDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EventDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EventDie) DieSeal() *EventDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EventDie) DieSealFeed added in v0.13.0

func (d *EventDie) DieSealFeed(r corev1.Event) *EventDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EventDie) DieSealFeedPtr added in v0.13.0

func (d *EventDie) DieSealFeedPtr(r *corev1.Event) *EventDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EventDie) DieSealRelease added in v0.13.0

func (d *EventDie) DieSealRelease() corev1.Event

DieSealRelease returns the sealed resource managed by the die.

func (*EventDie) DieSealReleasePtr added in v0.13.0

func (d *EventDie) DieSealReleasePtr() *corev1.Event

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

InvolvedObjectDie mutates InvolvedObject as a die.

The object that this event is about.

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) Metadata added in v0.13.0

func (d *EventDie) Metadata(v apismetav1.ObjectMeta) *EventDie

Metadata standard object's metadata.

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

RelatedDie mutates Related as a die.

Optional secondary object for more complex actions.

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

SeriesDie mutates Series as a die.

Data about the Event series this event represents or nil if it's a singleton Event.

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

SourceDie mutates Source as a die.

The component reporting this event. Should be a short machine understandable string.

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) TypeMetadata added in v0.13.0

func (d *EventDie) TypeMetadata(v apismetav1.TypeMeta) *EventDie

TypeMetadata standard object's type metadata.

func (*EventDie) TypeMetadataDie added in v0.13.0

func (d *EventDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *EventDie

TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.

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) DieDiff added in v0.13.0

func (d *EventSeriesDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EventSeriesDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EventSeriesDie) DieSeal() *EventSeriesDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EventSeriesDie) DieSealFeed added in v0.13.0

func (d *EventSeriesDie) DieSealFeed(r corev1.EventSeries) *EventSeriesDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EventSeriesDie) DieSealFeedPtr added in v0.13.0

func (d *EventSeriesDie) DieSealFeedPtr(r *corev1.EventSeries) *EventSeriesDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EventSeriesDie) DieSealRelease added in v0.13.0

func (d *EventSeriesDie) DieSealRelease() corev1.EventSeries

DieSealRelease returns the sealed resource managed by the die.

func (*EventSeriesDie) DieSealReleasePtr added in v0.13.0

func (d *EventSeriesDie) DieSealReleasePtr() *corev1.EventSeries

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *EventSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *EventSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *EventSourceDie) DieSeal() *EventSourceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EventSourceDie) DieSealFeed added in v0.13.0

func (d *EventSourceDie) DieSealFeed(r corev1.EventSource) *EventSourceDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EventSourceDie) DieSealFeedPtr added in v0.13.0

func (d *EventSourceDie) DieSealFeedPtr(r *corev1.EventSource) *EventSourceDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EventSourceDie) DieSealRelease added in v0.13.0

func (d *EventSourceDie) DieSealRelease() corev1.EventSource

DieSealRelease returns the sealed resource managed by the die.

func (*EventSourceDie) DieSealReleasePtr added in v0.13.0

func (d *EventSourceDie) DieSealReleasePtr() *corev1.EventSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ExecActionDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ExecActionDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *ExecActionDie) DieSeal() *ExecActionDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ExecActionDie) DieSealFeed added in v0.13.0

func (d *ExecActionDie) DieSealFeed(r corev1.ExecAction) *ExecActionDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ExecActionDie) DieSealFeedPtr added in v0.13.0

func (d *ExecActionDie) DieSealFeedPtr(r *corev1.ExecAction) *ExecActionDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ExecActionDie) DieSealRelease added in v0.13.0

func (d *ExecActionDie) DieSealRelease() corev1.ExecAction

DieSealRelease returns the sealed resource managed by the die.

func (*ExecActionDie) DieSealReleasePtr added in v0.13.0

func (d *ExecActionDie) DieSealReleasePtr() *corev1.ExecAction

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *FCVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *FCVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *FCVolumeSourceDie) DieSeal() *FCVolumeSourceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*FCVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*FCVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*FCVolumeSourceDie) DieSealRelease added in v0.13.0

func (d *FCVolumeSourceDie) DieSealRelease() corev1.FCVolumeSource

DieSealRelease returns the sealed resource managed by the die.

func (*FCVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *FCVolumeSourceDie) DieSealReleasePtr() *corev1.FCVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *FlexPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *FlexPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*FlexPersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*FlexPersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*FlexPersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*FlexPersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

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.

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) DieDiff added in v0.13.0

func (d *FlexVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *FlexVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*FlexVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*FlexVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*FlexVolumeSourceDie) DieSealRelease added in v0.13.0

func (d *FlexVolumeSourceDie) DieSealRelease() corev1.FlexVolumeSource

DieSealRelease returns the sealed resource managed by the die.

func (*FlexVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *FlexVolumeSourceDie) DieSealReleasePtr() *corev1.FlexVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

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.

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) DieDiff added in v0.13.0

func (d *FlockerVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *FlockerVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*FlockerVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*FlockerVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*FlockerVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*FlockerVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *FlockerVolumeSourceDie) DieSealReleasePtr() *corev1.FlockerVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *GCEPersistentDiskVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *GCEPersistentDiskVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*GCEPersistentDiskVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*GCEPersistentDiskVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*GCEPersistentDiskVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*GCEPersistentDiskVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *GRPCActionDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *GRPCActionDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *GRPCActionDie) DieSeal() *GRPCActionDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*GRPCActionDie) DieSealFeed added in v0.13.0

func (d *GRPCActionDie) DieSealFeed(r corev1.GRPCAction) *GRPCActionDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*GRPCActionDie) DieSealFeedPtr added in v0.13.0

func (d *GRPCActionDie) DieSealFeedPtr(r *corev1.GRPCAction) *GRPCActionDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*GRPCActionDie) DieSealRelease added in v0.13.0

func (d *GRPCActionDie) DieSealRelease() corev1.GRPCAction

DieSealRelease returns the sealed resource managed by the die.

func (*GRPCActionDie) DieSealReleasePtr added in v0.13.0

func (d *GRPCActionDie) DieSealReleasePtr() *corev1.GRPCAction

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *GitRepoVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *GitRepoVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*GitRepoVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*GitRepoVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*GitRepoVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*GitRepoVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *GitRepoVolumeSourceDie) DieSealReleasePtr() *corev1.GitRepoVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *GlusterfsPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*GlusterfsPersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*GlusterfsPersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*GlusterfsPersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*GlusterfsPersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *GlusterfsVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *GlusterfsVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*GlusterfsVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*GlusterfsVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*GlusterfsVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*GlusterfsVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *GlusterfsVolumeSourceDie) DieSealReleasePtr() *corev1.GlusterfsVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *HTTPGetActionDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *HTTPGetActionDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *HTTPGetActionDie) DieSeal() *HTTPGetActionDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*HTTPGetActionDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*HTTPGetActionDie) DieSealFeedPtr added in v0.13.0

func (d *HTTPGetActionDie) DieSealFeedPtr(r *corev1.HTTPGetAction) *HTTPGetActionDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*HTTPGetActionDie) DieSealRelease added in v0.13.0

func (d *HTTPGetActionDie) DieSealRelease() corev1.HTTPGetAction

DieSealRelease returns the sealed resource managed by the die.

func (*HTTPGetActionDie) DieSealReleasePtr added in v0.13.0

func (d *HTTPGetActionDie) DieSealReleasePtr() *corev1.HTTPGetAction

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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(v ...*HTTPHeaderDie) *HTTPGetActionDie

HTTPHeadersDie replaces HTTPHeaders by collecting the released value from each die passed.

Custom headers to set in the request. HTTP allows repeated headers.

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

PortInt sets Port with the int value.

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) PortString

func (d *HTTPGetActionDie) PortString(s string) *HTTPGetActionDie

PortString sets Port with the string value.

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) 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) DieDiff added in v0.13.0

func (d *HTTPHeaderDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *HTTPHeaderDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *HTTPHeaderDie) DieSeal() *HTTPHeaderDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*HTTPHeaderDie) DieSealFeed added in v0.13.0

func (d *HTTPHeaderDie) DieSealFeed(r corev1.HTTPHeader) *HTTPHeaderDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*HTTPHeaderDie) DieSealFeedPtr added in v0.13.0

func (d *HTTPHeaderDie) DieSealFeedPtr(r *corev1.HTTPHeader) *HTTPHeaderDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*HTTPHeaderDie) DieSealRelease added in v0.13.0

func (d *HTTPHeaderDie) DieSealRelease() corev1.HTTPHeader

DieSealRelease returns the sealed resource managed by the die.

func (*HTTPHeaderDie) DieSealReleasePtr added in v0.13.0

func (d *HTTPHeaderDie) DieSealReleasePtr() *corev1.HTTPHeader

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *HostAliasDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *HostAliasDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *HostAliasDie) DieSeal() *HostAliasDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*HostAliasDie) DieSealFeed added in v0.13.0

func (d *HostAliasDie) DieSealFeed(r corev1.HostAlias) *HostAliasDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*HostAliasDie) DieSealFeedPtr added in v0.13.0

func (d *HostAliasDie) DieSealFeedPtr(r *corev1.HostAlias) *HostAliasDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*HostAliasDie) DieSealRelease added in v0.13.0

func (d *HostAliasDie) DieSealRelease() corev1.HostAlias

DieSealRelease returns the sealed resource managed by the die.

func (*HostAliasDie) DieSealReleasePtr added in v0.13.0

func (d *HostAliasDie) DieSealReleasePtr() *corev1.HostAlias

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *HostPathVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *HostPathVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*HostPathVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*HostPathVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*HostPathVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*HostPathVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *HostPathVolumeSourceDie) DieSealReleasePtr() *corev1.HostPathVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ISCSIPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ISCSIPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ISCSIPersistentVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ISCSIPersistentVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ISCSIPersistentVolumeSourceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*ISCSIPersistentVolumeSourceDie) DieSealReleasePtr added in v0.13.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

secretRef is the CHAP Secret for iSCSI target and initiator authentication

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) DieDiff added in v0.13.0

func (d *ISCSIVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ISCSIVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ISCSIVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ISCSIVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ISCSIVolumeSourceDie) DieSealRelease added in v0.13.0

func (d *ISCSIVolumeSourceDie) DieSealRelease() corev1.ISCSIVolumeSource

DieSealRelease returns the sealed resource managed by the die.

func (*ISCSIVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *ISCSIVolumeSourceDie) DieSealReleasePtr() *corev1.ISCSIVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

SecretRefDie mutates SecretRef as a die.

secretRef is the CHAP Secret for iSCSI target and initiator authentication

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) DieDiff added in v0.13.0

func (d *KeyToPathDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *KeyToPathDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *KeyToPathDie) DieSeal() *KeyToPathDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*KeyToPathDie) DieSealFeed added in v0.13.0

func (d *KeyToPathDie) DieSealFeed(r corev1.KeyToPath) *KeyToPathDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*KeyToPathDie) DieSealFeedPtr added in v0.13.0

func (d *KeyToPathDie) DieSealFeedPtr(r *corev1.KeyToPath) *KeyToPathDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*KeyToPathDie) DieSealRelease added in v0.13.0

func (d *KeyToPathDie) DieSealRelease() corev1.KeyToPath

DieSealRelease returns the sealed resource managed by the die.

func (*KeyToPathDie) DieSealReleasePtr added in v0.13.0

func (d *KeyToPathDie) DieSealReleasePtr() *corev1.KeyToPath

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *LifecycleDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LifecycleDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *LifecycleDie) DieSeal() *LifecycleDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LifecycleDie) DieSealFeed added in v0.13.0

func (d *LifecycleDie) DieSealFeed(r corev1.Lifecycle) *LifecycleDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LifecycleDie) DieSealFeedPtr added in v0.13.0

func (d *LifecycleDie) DieSealFeedPtr(r *corev1.Lifecycle) *LifecycleDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LifecycleDie) DieSealRelease added in v0.13.0

func (d *LifecycleDie) DieSealRelease() corev1.Lifecycle

DieSealRelease returns the sealed resource managed by the die.

func (*LifecycleDie) DieSealReleasePtr added in v0.13.0

func (d *LifecycleDie) DieSealReleasePtr() *corev1.Lifecycle

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

PostStartDie mutates PostStart as a die.

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) 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

PreStopDie mutates PreStop as a die.

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

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) DieDiff added in v0.13.0

func (d *LifecycleHandlerDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LifecycleHandlerDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LifecycleHandlerDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LifecycleHandlerDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LifecycleHandlerDie) DieSealRelease added in v0.13.0

func (d *LifecycleHandlerDie) DieSealRelease() corev1.LifecycleHandler

DieSealRelease returns the sealed resource managed by the die.

func (*LifecycleHandlerDie) DieSealReleasePtr added in v0.13.0

func (d *LifecycleHandlerDie) DieSealReleasePtr() *corev1.LifecycleHandler

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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 a command to execute in the container.

func (*LifecycleHandlerDie) ExecDie

func (d *LifecycleHandlerDie) ExecDie(fn func(d *ExecActionDie)) *LifecycleHandlerDie

ExecDie mutates Exec as a die.

Exec specifies a command to execute in the container.

func (*LifecycleHandlerDie) HTTPGet

HTTPGet specifies an HTTP GET request to perform.

func (*LifecycleHandlerDie) HTTPGetDie

func (d *LifecycleHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *LifecycleHandlerDie

HTTPGetDie mutates HTTPGet as a die.

HTTPGet specifies an HTTP GET request to perform.

func (*LifecycleHandlerDie) Sleep

Sleep represents a duration that the container should sleep.

func (*LifecycleHandlerDie) SleepDie

func (d *LifecycleHandlerDie) SleepDie(fn func(d *SleepActionDie)) *LifecycleHandlerDie

SleepDie mutates Sleep as a die.

Sleep represents a duration that the container should sleep.

func (*LifecycleHandlerDie) TCPSocket

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept

for backward compatibility. There is no validation of this field and

lifecycle hooks will fail at runtime when it is specified.

func (*LifecycleHandlerDie) TCPSocketDie

func (d *LifecycleHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *LifecycleHandlerDie

TCPSocketDie mutates TCPSocket as a die.

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept

for backward compatibility. There is no validation of this field and

lifecycle hooks will fail at runtime when it is specified.

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) DieDefaultTypeMetadata added in v0.13.0

func (d *LimitRangeDie) DieDefaultTypeMetadata() *LimitRangeDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "LimitRange" respectively.

func (*LimitRangeDie) DieDiff added in v0.13.0

func (d *LimitRangeDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LimitRangeDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *LimitRangeDie) DieSeal() *LimitRangeDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LimitRangeDie) DieSealFeed added in v0.13.0

func (d *LimitRangeDie) DieSealFeed(r corev1.LimitRange) *LimitRangeDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LimitRangeDie) DieSealFeedPtr added in v0.13.0

func (d *LimitRangeDie) DieSealFeedPtr(r *corev1.LimitRange) *LimitRangeDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LimitRangeDie) DieSealRelease added in v0.13.0

func (d *LimitRangeDie) DieSealRelease() corev1.LimitRange

DieSealRelease returns the sealed resource managed by the die.

func (*LimitRangeDie) DieSealReleasePtr added in v0.13.0

func (d *LimitRangeDie) DieSealReleasePtr() *corev1.LimitRange

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) Metadata added in v0.13.0

Metadata standard object's metadata.

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) TypeMetadata added in v0.13.0

func (d *LimitRangeDie) TypeMetadata(v apismetav1.TypeMeta) *LimitRangeDie

TypeMetadata standard object's type metadata.

func (*LimitRangeDie) TypeMetadataDie added in v0.13.0

func (d *LimitRangeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *LimitRangeDie

TypeMetadataDie stamps the resource's TypeMeta 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

AddDefault sets a single quantity on the Default resource list.

Default resource requirement limit value by resource name if resource limit is omitted.

func (*LimitRangeItemDie) AddDefaultRequest

func (d *LimitRangeItemDie) AddDefaultRequest(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie

AddDefaultRequest sets a single quantity on the DefaultRequest resource list.

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

func (*LimitRangeItemDie) AddDefaultRequestString

func (d *LimitRangeItemDie) AddDefaultRequestString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

AddDefaultRequestString parses the quantity setting a single value on the DefaultRequest resource list. Panics if the string is not parsable.

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

func (*LimitRangeItemDie) AddDefaultString

func (d *LimitRangeItemDie) AddDefaultString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

AddDefaultString parses the quantity setting a single value on the Default resource list. Panics if the string is not parsable.

Default resource requirement limit value by resource name if resource limit is omitted.

func (*LimitRangeItemDie) AddMax

AddMax sets a single quantity on the Max resource list.

Max usage constraints on this kind by resource name.

func (*LimitRangeItemDie) AddMaxLimitRequestRatio

func (d *LimitRangeItemDie) AddMaxLimitRequestRatio(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie

AddMaxLimitRequestRatio sets a single quantity on the MaxLimitRequestRatio resource list.

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) AddMaxLimitRequestRatioString

func (d *LimitRangeItemDie) AddMaxLimitRequestRatioString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

AddMaxLimitRequestRatioString parses the quantity setting a single value on the MaxLimitRequestRatio resource list. Panics if the string is not parsable.

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) AddMaxString

func (d *LimitRangeItemDie) AddMaxString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

AddMaxString parses the quantity setting a single value on the Max resource list. Panics if the string is not parsable.

Max usage constraints on this kind by resource name.

func (*LimitRangeItemDie) AddMin

AddMin sets a single quantity on the Min resource list.

Min usage constraints on this kind by resource name.

func (*LimitRangeItemDie) AddMinString

func (d *LimitRangeItemDie) AddMinString(name corev1.ResourceName, quantity string) *LimitRangeItemDie

AddMinString parses the quantity setting a single value on the Min resource list. Panics if the string is not parsable.

Min usage constraints on this kind by resource name.

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) DieDiff added in v0.13.0

func (d *LimitRangeItemDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LimitRangeItemDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *LimitRangeItemDie) DieSeal() *LimitRangeItemDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LimitRangeItemDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LimitRangeItemDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LimitRangeItemDie) DieSealRelease added in v0.13.0

func (d *LimitRangeItemDie) DieSealRelease() corev1.LimitRangeItem

DieSealRelease returns the sealed resource managed by the die.

func (*LimitRangeItemDie) DieSealReleasePtr added in v0.13.0

func (d *LimitRangeItemDie) DieSealReleasePtr() *corev1.LimitRangeItem

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *LimitRangeSpecDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LimitRangeSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *LimitRangeSpecDie) DieSeal() *LimitRangeSpecDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LimitRangeSpecDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LimitRangeSpecDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LimitRangeSpecDie) DieSealRelease added in v0.13.0

func (d *LimitRangeSpecDie) DieSealRelease() corev1.LimitRangeSpec

DieSealRelease returns the sealed resource managed by the die.

func (*LimitRangeSpecDie) DieSealReleasePtr added in v0.13.0

func (d *LimitRangeSpecDie) DieSealReleasePtr() *corev1.LimitRangeSpec

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

LimitsDie replaces Limits by collecting the released value from each die passed.

Limits is the list of LimitRangeItem objects that are enforced.

type LinuxContainerUserDie added in v0.14.0

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

func (*LinuxContainerUserDie) DeepCopy added in v0.14.0

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

func (*LinuxContainerUserDie) DieDiff added in v0.14.0

func (d *LinuxContainerUserDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*LinuxContainerUserDie) DieFeed added in v0.14.0

DieFeed returns a new die with the provided resource.

func (*LinuxContainerUserDie) DieFeedJSON added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieFeedPtr added in v0.14.0

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

func (*LinuxContainerUserDie) DieFeedRawExtension added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieFeedYAML added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieFeedYAMLFile added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieImmutable added in v0.14.0

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

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

func (*LinuxContainerUserDie) DiePatch added in v0.14.0

func (d *LinuxContainerUserDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*LinuxContainerUserDie) DieRelease added in v0.14.0

DieRelease returns the resource managed by the die.

func (*LinuxContainerUserDie) DieReleaseJSON added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieReleasePtr added in v0.14.0

func (d *LinuxContainerUserDie) DieReleasePtr() *corev1.LinuxContainerUser

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

func (*LinuxContainerUserDie) DieReleaseRawExtension added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieReleaseYAML added in v0.14.0

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

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

func (*LinuxContainerUserDie) DieSeal added in v0.14.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LinuxContainerUserDie) DieSealFeed added in v0.14.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LinuxContainerUserDie) DieSealFeedPtr added in v0.14.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LinuxContainerUserDie) DieSealRelease added in v0.14.0

func (d *LinuxContainerUserDie) DieSealRelease() corev1.LinuxContainerUser

DieSealRelease returns the sealed resource managed by the die.

func (*LinuxContainerUserDie) DieSealReleasePtr added in v0.14.0

func (d *LinuxContainerUserDie) DieSealReleasePtr() *corev1.LinuxContainerUser

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*LinuxContainerUserDie) DieStamp added in v0.14.0

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

func (*LinuxContainerUserDie) DieStampAt added in v0.14.0

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

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 (*LinuxContainerUserDie) DieWith added in v0.14.0

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

func (*LinuxContainerUserDie) GID added in v0.14.0

GID is the primary gid initially attached to the first process in the container

func (*LinuxContainerUserDie) SupplementalGroups added in v0.14.0

func (d *LinuxContainerUserDie) SupplementalGroups(v ...int64) *LinuxContainerUserDie

SupplementalGroups are the supplemental groups initially attached to the first process in the container

func (*LinuxContainerUserDie) UID added in v0.14.0

UID is the primary uid initially attached to the first process in the container

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) DieDiff added in v0.13.0

func (d *LoadBalancerIngressDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LoadBalancerIngressDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LoadBalancerIngressDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LoadBalancerIngressDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LoadBalancerIngressDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*LoadBalancerIngressDie) DieSealReleasePtr added in v0.13.0

func (d *LoadBalancerIngressDie) DieSealReleasePtr() *corev1.LoadBalancerIngress

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

PortsDie replaces Ports by collecting the released value from each die passed.

Ports is a list of records of service ports

If used, every port defined in the service should have an entry in it

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) DieDiff added in v0.13.0

func (d *LoadBalancerStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LoadBalancerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LoadBalancerStatusDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LoadBalancerStatusDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LoadBalancerStatusDie) DieSealRelease added in v0.13.0

func (d *LoadBalancerStatusDie) DieSealRelease() corev1.LoadBalancerStatus

DieSealRelease returns the sealed resource managed by the die.

func (*LoadBalancerStatusDie) DieSealReleasePtr added in v0.13.0

func (d *LoadBalancerStatusDie) DieSealReleasePtr() *corev1.LoadBalancerStatus

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) IngressDie added in v0.13.0

IngressDie replaces Ingress by collecting the released value from each die passed.

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

deprecated: use IngressDie

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) DieDiff added in v0.13.0

func (d *LocalObjectReferenceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LocalObjectReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LocalObjectReferenceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LocalObjectReferenceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LocalObjectReferenceDie) DieSealRelease added in v0.13.0

DieSealRelease returns the sealed resource managed by the die.

func (*LocalObjectReferenceDie) DieSealReleasePtr added in v0.13.0

func (d *LocalObjectReferenceDie) DieSealReleasePtr() *corev1.LocalObjectReference

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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.

This field is effectively required, but due to backwards compatibility is

allowed to be empty. Instances of this type with an empty value here are

almost certainly wrong.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.

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) DieDiff added in v0.13.0

func (d *LocalVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *LocalVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*LocalVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*LocalVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*LocalVolumeSourceDie) DieSealRelease added in v0.13.0

func (d *LocalVolumeSourceDie) DieSealRelease() corev1.LocalVolumeSource

DieSealRelease returns the sealed resource managed by the die.

func (*LocalVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *LocalVolumeSourceDie) DieSealReleasePtr() *corev1.LocalVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *ModifyVolumeStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *ModifyVolumeStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ModifyVolumeStatusDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ModifyVolumeStatusDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ModifyVolumeStatusDie) DieSealRelease added in v0.13.0

func (d *ModifyVolumeStatusDie) DieSealRelease() corev1.ModifyVolumeStatus

DieSealRelease returns the sealed resource managed by the die.

func (*ModifyVolumeStatusDie) DieSealReleasePtr added in v0.13.0

func (d *ModifyVolumeStatusDie) DieSealReleasePtr() *corev1.ModifyVolumeStatus

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *NFSVolumeSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NFSVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *NFSVolumeSourceDie) DieSeal() *NFSVolumeSourceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NFSVolumeSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NFSVolumeSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NFSVolumeSourceDie) DieSealRelease added in v0.13.0

func (d *NFSVolumeSourceDie) DieSealRelease() corev1.NFSVolumeSource

DieSealRelease returns the sealed resource managed by the die.

func (*NFSVolumeSourceDie) DieSealReleasePtr added in v0.13.0

func (d *NFSVolumeSourceDie) DieSealReleasePtr() *corev1.NFSVolumeSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDefaultTypeMetadata added in v0.13.0

func (d *NamespaceDie) DieDefaultTypeMetadata() *NamespaceDie

DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Namespace" respectively.

func (*NamespaceDie) DieDiff added in v0.13.0

func (d *NamespaceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NamespaceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *NamespaceDie) DieSeal() *NamespaceDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NamespaceDie) DieSealFeed added in v0.13.0

func (d *NamespaceDie) DieSealFeed(r corev1.Namespace) *NamespaceDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NamespaceDie) DieSealFeedPtr added in v0.13.0

func (d *NamespaceDie) DieSealFeedPtr(r *corev1.Namespace) *NamespaceDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NamespaceDie) DieSealRelease added in v0.13.0

func (d *NamespaceDie) DieSealRelease() corev1.Namespace

DieSealRelease returns the sealed resource managed by the die.

func (*NamespaceDie) DieSealReleasePtr added in v0.13.0

func (d *NamespaceDie) DieSealReleasePtr() *corev1.Namespace

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) Metadata added in v0.13.0

Metadata standard object's metadata.

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) TypeMetadata added in v0.13.0

func (d *NamespaceDie) TypeMetadata(v apismetav1.TypeMeta) *NamespaceDie

TypeMetadata standard object's type metadata.

func (*NamespaceDie) TypeMetadataDie added in v0.13.0

func (d *NamespaceDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NamespaceDie

TypeMetadataDie stamps the resource's TypeMeta 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) DieDiff added in v0.13.0

func (d *NamespaceSpecDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NamespaceSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *NamespaceSpecDie) DieSeal() *NamespaceSpecDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NamespaceSpecDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NamespaceSpecDie) DieSealFeedPtr added in v0.13.0

func (d *NamespaceSpecDie) DieSealFeedPtr(r *corev1.NamespaceSpec) *NamespaceSpecDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NamespaceSpecDie) DieSealRelease added in v0.13.0

func (d *NamespaceSpecDie) DieSealRelease() corev1.NamespaceSpec

DieSealRelease returns the sealed resource managed by the die.

func (*NamespaceSpecDie) DieSealReleasePtr added in v0.13.0

func (d *NamespaceSpecDie) DieSealReleasePtr() *corev1.NamespaceSpec

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *NamespaceStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NamespaceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *NamespaceStatusDie) DieSeal() *NamespaceStatusDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NamespaceStatusDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NamespaceStatusDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NamespaceStatusDie) DieSealRelease added in v0.13.0

func (d *NamespaceStatusDie) DieSealRelease() corev1.NamespaceStatus

DieSealRelease returns the sealed resource managed by the die.

func (*NamespaceStatusDie) DieSealReleasePtr added in v0.13.0

func (d *NamespaceStatusDie) DieSealReleasePtr() *corev1.NamespaceStatus

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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) DieDiff added in v0.13.0

func (d *NodeAddressDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NodeAddressDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

func (d *NodeAddressDie) DieSeal() *NodeAddressDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NodeAddressDie) DieSealFeed added in v0.13.0

func (d *NodeAddressDie) DieSealFeed(r corev1.NodeAddress) *NodeAddressDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NodeAddressDie) DieSealFeedPtr added in v0.13.0

func (d *NodeAddressDie) DieSealFeedPtr(r *corev1.NodeAddress) *NodeAddressDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NodeAddressDie) DieSealRelease added in v0.13.0

func (d *NodeAddressDie) DieSealRelease() corev1.NodeAddress

DieSealRelease returns the sealed resource managed by the die.

func (*NodeAddressDie) DieSealReleasePtr added in v0.13.0

func (d *NodeAddressDie) DieSealReleasePtr() *corev1.NodeAddress

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ConfigMapDie mutates ConfigMap as a die.

ConfigMap is a reference to a Node's ConfigMap

func (*NodeConfigSourceDie) DeepCopy

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

func (*NodeConfigSourceDie) DieDiff added in v0.13.0

func (d *NodeConfigSourceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NodeConfigSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NodeConfigSourceDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NodeConfigSourceDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NodeConfigSourceDie) DieSealRelease added in v0.13.0

func (d *NodeConfigSourceDie) DieSealRelease() corev1.NodeConfigSource

DieSealRelease returns the sealed resource managed by the die.

func (*NodeConfigSourceDie) DieSealReleasePtr added in v0.13.0

func (d *NodeConfigSourceDie) DieSealReleasePtr() *corev1.NodeConfigSource

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

ActiveDie mutates Active as a die.

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) 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

AssignedDie mutates Assigned as a die.

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) DeepCopy

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

func (*NodeConfigStatusDie) DieDiff added in v0.13.0

func (d *NodeConfigStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NodeConfigStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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) DieSeal added in v0.13.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*NodeConfigStatusDie) DieSealFeed added in v0.13.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*NodeConfigStatusDie) DieSealFeedPtr added in v0.13.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*NodeConfigStatusDie) DieSealRelease added in v0.13.0

func (d *NodeConfigStatusDie) DieSealRelease() corev1.NodeConfigStatus

DieSealRelease returns the sealed resource managed by the die.

func (*NodeConfigStatusDie) DieSealReleasePtr added in v0.13.0

func (d *NodeConfigStatusDie) DieSealReleasePtr() *corev1.NodeConfigStatus

DieSealReleasePtr returns the sealed resource pointer managed by the die.

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

LastKnownGoodDie mutates LastKnownGood as a die.

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.

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) DieDiff added in v0.13.0

func (d *NodeDaemonEndpointsDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

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) DiePatch added in v0.13.0

func (d *NodeDaemonEndpointsDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

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