client

package
v0.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AffinityType                 = "affinity"
	AffinityFieldNodeAffinity    = "nodeAffinity"
	AffinityFieldPodAffinity     = "podAffinity"
	AffinityFieldPodAntiAffinity = "podAntiAffinity"
)
View Source
const (
	AttachedVolumeType            = "attachedVolume"
	AttachedVolumeFieldDevicePath = "devicePath"
	AttachedVolumeFieldName       = "name"
)
View Source
const (
	AWSElasticBlockStoreVolumeSourceType           = "awsElasticBlockStoreVolumeSource"
	AWSElasticBlockStoreVolumeSourceFieldFSType    = "fsType"
	AWSElasticBlockStoreVolumeSourceFieldPartition = "partition"
	AWSElasticBlockStoreVolumeSourceFieldReadOnly  = "readOnly"
	AWSElasticBlockStoreVolumeSourceFieldVolumeID  = "volumeID"
)
View Source
const (
	AzureDiskVolumeSourceType             = "azureDiskVolumeSource"
	AzureDiskVolumeSourceFieldCachingMode = "cachingMode"
	AzureDiskVolumeSourceFieldDataDiskURI = "diskURI"
	AzureDiskVolumeSourceFieldDiskName    = "diskName"
	AzureDiskVolumeSourceFieldFSType      = "fsType"
	AzureDiskVolumeSourceFieldKind        = "kind"
	AzureDiskVolumeSourceFieldReadOnly    = "readOnly"
)
View Source
const (
	AzureFileVolumeSourceType            = "azureFileVolumeSource"
	AzureFileVolumeSourceFieldReadOnly   = "readOnly"
	AzureFileVolumeSourceFieldSecretName = "secretName"
	AzureFileVolumeSourceFieldShareName  = "shareName"
)
View Source
const (
	CapabilitiesType      = "capabilities"
	CapabilitiesFieldAdd  = "add"
	CapabilitiesFieldDrop = "drop"
)
View Source
const (
	CephFSVolumeSourceType            = "cephFSVolumeSource"
	CephFSVolumeSourceFieldMonitors   = "monitors"
	CephFSVolumeSourceFieldPath       = "path"
	CephFSVolumeSourceFieldReadOnly   = "readOnly"
	CephFSVolumeSourceFieldSecretFile = "secretFile"
	CephFSVolumeSourceFieldSecretRef  = "secretRef"
	CephFSVolumeSourceFieldUser       = "user"
)
View Source
const (
	CinderVolumeSourceType          = "cinderVolumeSource"
	CinderVolumeSourceFieldFSType   = "fsType"
	CinderVolumeSourceFieldReadOnly = "readOnly"
	CinderVolumeSourceFieldVolumeID = "volumeID"
)
View Source
const (
	ConfigMapEnvSourceType          = "configMapEnvSource"
	ConfigMapEnvSourceFieldName     = "name"
	ConfigMapEnvSourceFieldOptional = "optional"
)
View Source
const (
	ConfigMapKeySelectorType          = "configMapKeySelector"
	ConfigMapKeySelectorFieldKey      = "key"
	ConfigMapKeySelectorFieldName     = "name"
	ConfigMapKeySelectorFieldOptional = "optional"
)
View Source
const (
	ConfigMapProjectionType          = "configMapProjection"
	ConfigMapProjectionFieldItems    = "items"
	ConfigMapProjectionFieldName     = "name"
	ConfigMapProjectionFieldOptional = "optional"
)
View Source
const (
	ConfigMapVolumeSourceType             = "configMapVolumeSource"
	ConfigMapVolumeSourceFieldDefaultMode = "defaultMode"
	ConfigMapVolumeSourceFieldItems       = "items"
	ConfigMapVolumeSourceFieldName        = "name"
	ConfigMapVolumeSourceFieldOptional    = "optional"
)
View Source
const (
	ContainerType                          = "container"
	ContainerFieldArgs                     = "args"
	ContainerFieldCommand                  = "command"
	ContainerFieldEnv                      = "env"
	ContainerFieldEnvFrom                  = "envFrom"
	ContainerFieldExitCode                 = "exitCode"
	ContainerFieldImage                    = "image"
	ContainerFieldImagePullPolicy          = "imagePullPolicy"
	ContainerFieldLifecycle                = "lifecycle"
	ContainerFieldLivenessProbe            = "livenessProbe"
	ContainerFieldName                     = "name"
	ContainerFieldPorts                    = "ports"
	ContainerFieldReadinessProbe           = "readinessProbe"
	ContainerFieldResources                = "resources"
	ContainerFieldRestartCount             = "restartCount"
	ContainerFieldSecurityContext          = "securityContext"
	ContainerFieldState                    = "state"
	ContainerFieldStdin                    = "stdin"
	ContainerFieldStdinOnce                = "stdinOnce"
	ContainerFieldTTY                      = "tty"
	ContainerFieldTerminationMessagePath   = "terminationMessagePath"
	ContainerFieldTerminationMessagePolicy = "terminationMessagePolicy"
	ContainerFieldTransitioning            = "transitioning"
	ContainerFieldTransitioningMessage     = "transitioningMessage"
	ContainerFieldVolumeDevices            = "volumeDevices"
	ContainerFieldVolumeMounts             = "volumeMounts"
	ContainerFieldWorkingDir               = "workingDir"
)
View Source
const (
	ContainerImageType           = "containerImage"
	ContainerImageFieldNames     = "names"
	ContainerImageFieldSizeBytes = "sizeBytes"
)
View Source
const (
	ContainerPortType               = "containerPort"
	ContainerPortFieldContainerPort = "containerPort"
	ContainerPortFieldHostIP        = "hostIP"
	ContainerPortFieldHostPort      = "hostPort"
	ContainerPortFieldName          = "name"
	ContainerPortFieldProtocol      = "protocol"
)
View Source
const (
	ContainerStateType            = "containerState"
	ContainerStateFieldRunning    = "running"
	ContainerStateFieldTerminated = "terminated"
	ContainerStateFieldWaiting    = "waiting"
)
View Source
const (
	ContainerStateRunningType           = "containerStateRunning"
	ContainerStateRunningFieldStartedAt = "startedAt"
)
View Source
const (
	ContainerStateTerminatedType             = "containerStateTerminated"
	ContainerStateTerminatedFieldContainerID = "containerID"
	ContainerStateTerminatedFieldExitCode    = "exitCode"
	ContainerStateTerminatedFieldFinishedAt  = "finishedAt"
	ContainerStateTerminatedFieldMessage     = "message"
	ContainerStateTerminatedFieldReason      = "reason"
	ContainerStateTerminatedFieldSignal      = "signal"
	ContainerStateTerminatedFieldStartedAt   = "startedAt"
)
View Source
const (
	ContainerStateWaitingType         = "containerStateWaiting"
	ContainerStateWaitingFieldMessage = "message"
	ContainerStateWaitingFieldReason  = "reason"
)
View Source
const (
	ContainerStatusType                      = "containerStatus"
	ContainerStatusFieldContainerID          = "containerID"
	ContainerStatusFieldImage                = "image"
	ContainerStatusFieldImageID              = "imageID"
	ContainerStatusFieldLastTerminationState = "lastState"
	ContainerStatusFieldName                 = "name"
	ContainerStatusFieldReady                = "ready"
	ContainerStatusFieldRestartCount         = "restartCount"
	ContainerStatusFieldState                = "state"
)
View Source
const (
	DaemonEndpointType      = "daemonEndpoint"
	DaemonEndpointFieldPort = "Port"
)
View Source
const (
	DownwardAPIProjectionType       = "downwardAPIProjection"
	DownwardAPIProjectionFieldItems = "items"
)
View Source
const (
	DownwardAPIVolumeFileType                  = "downwardAPIVolumeFile"
	DownwardAPIVolumeFileFieldFieldRef         = "fieldRef"
	DownwardAPIVolumeFileFieldMode             = "mode"
	DownwardAPIVolumeFileFieldPath             = "path"
	DownwardAPIVolumeFileFieldResourceFieldRef = "resourceFieldRef"
)
View Source
const (
	DownwardAPIVolumeSourceType             = "downwardAPIVolumeSource"
	DownwardAPIVolumeSourceFieldDefaultMode = "defaultMode"
	DownwardAPIVolumeSourceFieldItems       = "items"
)
View Source
const (
	EmptyDirVolumeSourceType           = "emptyDirVolumeSource"
	EmptyDirVolumeSourceFieldMedium    = "medium"
	EmptyDirVolumeSourceFieldSizeLimit = "sizeLimit"
)
View Source
const (
	EnvFromSourceType              = "envFromSource"
	EnvFromSourceFieldConfigMapRef = "configMapRef"
	EnvFromSourceFieldPrefix       = "prefix"
	EnvFromSourceFieldSecretRef    = "secretRef"
)
View Source
const (
	EnvVarType           = "envVar"
	EnvVarFieldName      = "name"
	EnvVarFieldValue     = "value"
	EnvVarFieldValueFrom = "valueFrom"
)
View Source
const (
	EnvVarSourceType                  = "envVarSource"
	EnvVarSourceFieldConfigMapKeyRef  = "configMapKeyRef"
	EnvVarSourceFieldFieldRef         = "fieldRef"
	EnvVarSourceFieldResourceFieldRef = "resourceFieldRef"
	EnvVarSourceFieldSecretKeyRef     = "secretKeyRef"
)
View Source
const (
	ExecActionType         = "execAction"
	ExecActionFieldCommand = "command"
)
View Source
const (
	FCVolumeSourceType            = "fcVolumeSource"
	FCVolumeSourceFieldFSType     = "fsType"
	FCVolumeSourceFieldLun        = "lun"
	FCVolumeSourceFieldReadOnly   = "readOnly"
	FCVolumeSourceFieldTargetWWNs = "targetWWNs"
	FCVolumeSourceFieldWWIDs      = "wwids"
)
View Source
const (
	FlexVolumeSourceType           = "flexVolumeSource"
	FlexVolumeSourceFieldDriver    = "driver"
	FlexVolumeSourceFieldFSType    = "fsType"
	FlexVolumeSourceFieldOptions   = "options"
	FlexVolumeSourceFieldReadOnly  = "readOnly"
	FlexVolumeSourceFieldSecretRef = "secretRef"
)
View Source
const (
	FlockerVolumeSourceType             = "flockerVolumeSource"
	FlockerVolumeSourceFieldDatasetName = "datasetName"
	FlockerVolumeSourceFieldDatasetUUID = "datasetUUID"
)
View Source
const (
	GCEPersistentDiskVolumeSourceType           = "gcePersistentDiskVolumeSource"
	GCEPersistentDiskVolumeSourceFieldFSType    = "fsType"
	GCEPersistentDiskVolumeSourceFieldPDName    = "pdName"
	GCEPersistentDiskVolumeSourceFieldPartition = "partition"
	GCEPersistentDiskVolumeSourceFieldReadOnly  = "readOnly"
)
View Source
const (
	GitRepoVolumeSourceType            = "gitRepoVolumeSource"
	GitRepoVolumeSourceFieldDirectory  = "directory"
	GitRepoVolumeSourceFieldRepository = "repository"
	GitRepoVolumeSourceFieldRevision   = "revision"
)
View Source
const (
	GlusterfsVolumeSourceType               = "glusterfsVolumeSource"
	GlusterfsVolumeSourceFieldEndpointsName = "endpoints"
	GlusterfsVolumeSourceFieldPath          = "path"
	GlusterfsVolumeSourceFieldReadOnly      = "readOnly"
)
View Source
const (
	HandlerType           = "handler"
	HandlerFieldExec      = "exec"
	HandlerFieldHTTPGet   = "httpGet"
	HandlerFieldTCPSocket = "tcpSocket"
)
View Source
const (
	HostAliasType           = "hostAlias"
	HostAliasFieldHostnames = "hostnames"
	HostAliasFieldIP        = "ip"
)
View Source
const (
	HostPathVolumeSourceType      = "hostPathVolumeSource"
	HostPathVolumeSourceFieldPath = "path"
	HostPathVolumeSourceFieldType = "type"
)
View Source
const (
	HTTPGetActionType             = "httpGetAction"
	HTTPGetActionFieldHTTPHeaders = "httpHeaders"
	HTTPGetActionFieldHost        = "host"
	HTTPGetActionFieldPath        = "path"
	HTTPGetActionFieldPort        = "port"
	HTTPGetActionFieldScheme      = "scheme"
)
View Source
const (
	HTTPHeaderType       = "httpHeader"
	HTTPHeaderFieldName  = "name"
	HTTPHeaderFieldValue = "value"
)
View Source
const (
	InitializerType      = "initializer"
	InitializerFieldName = "name"
)
View Source
const (
	InitializersType         = "initializers"
	InitializersFieldPending = "pending"
	InitializersFieldResult  = "result"
)
View Source
const (
	ISCSIVolumeSourceType                   = "iscsiVolumeSource"
	ISCSIVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
	ISCSIVolumeSourceFieldFSType            = "fsType"
	ISCSIVolumeSourceFieldIQN               = "iqn"
	ISCSIVolumeSourceFieldISCSIInterface    = "iscsiInterface"
	ISCSIVolumeSourceFieldInitiatorName     = "initiatorName"
	ISCSIVolumeSourceFieldLun               = "lun"
	ISCSIVolumeSourceFieldPortals           = "portals"
	ISCSIVolumeSourceFieldReadOnly          = "readOnly"
	ISCSIVolumeSourceFieldSecretRef         = "secretRef"
	ISCSIVolumeSourceFieldSessionCHAPAuth   = "chapAuthSession"
	ISCSIVolumeSourceFieldTargetPortal      = "targetPortal"
)
View Source
const (
	KeyToPathType      = "keyToPath"
	KeyToPathFieldKey  = "key"
	KeyToPathFieldMode = "mode"
	KeyToPathFieldPath = "path"
)
View Source
const (
	LabelSelectorType                  = "labelSelector"
	LabelSelectorFieldMatchExpressions = "matchExpressions"
	LabelSelectorFieldMatchLabels      = "matchLabels"
)
View Source
const (
	LabelSelectorRequirementType          = "labelSelectorRequirement"
	LabelSelectorRequirementFieldKey      = "key"
	LabelSelectorRequirementFieldOperator = "operator"
	LabelSelectorRequirementFieldValues   = "values"
)
View Source
const (
	LifecycleType           = "lifecycle"
	LifecycleFieldPostStart = "postStart"
	LifecycleFieldPreStop   = "preStop"
)
View Source
const (
	ListMetaType                 = "listMeta"
	ListMetaFieldContinue        = "continue"
	ListMetaFieldResourceVersion = "resourceVersion"
	ListMetaFieldSelfLink        = "selfLink"
)
View Source
const (
	ListenConfigType                         = "listenConfig"
	ListenConfigFieldAlgorithm               = "algorithm"
	ListenConfigFieldCACert                  = "caCert"
	ListenConfigFieldCACerts                 = "caCerts"
	ListenConfigFieldCAKey                   = "caKey"
	ListenConfigFieldCN                      = "cn"
	ListenConfigFieldCert                    = "cert"
	ListenConfigFieldCertFingerprint         = "certFingerprint"
	ListenConfigFieldCreated                 = "created"
	ListenConfigFieldDescription             = "description"
	ListenConfigFieldDisplayName             = "displayName"
	ListenConfigFieldDomains                 = "domains"
	ListenConfigFieldEnabled                 = "enabled"
	ListenConfigFieldExpiresAt               = "expiresAt"
	ListenConfigFieldGeneratedCerts          = "generatedCerts"
	ListenConfigFieldIssuedAt                = "issuedAt"
	ListenConfigFieldIssuer                  = "issuer"
	ListenConfigFieldKey                     = "key"
	ListenConfigFieldKeySize                 = "keySize"
	ListenConfigFieldKnownIPs                = "knownIps"
	ListenConfigFieldLabels                  = "labels"
	ListenConfigFieldMode                    = "mode"
	ListenConfigFieldName                    = "name"
	ListenConfigFieldRemoved                 = "removed"
	ListenConfigFieldSerialNumber            = "serialNumber"
	ListenConfigFieldSubjectAlternativeNames = "subjectAlternativeNames"
	ListenConfigFieldTOS                     = "tos"
	ListenConfigFieldUUID                    = "uuid"
	ListenConfigFieldVersion                 = "version"
)
View Source
const (
	LocalObjectReferenceType      = "localObjectReference"
	LocalObjectReferenceFieldName = "name"
)
View Source
const (
	NFSVolumeSourceType          = "nfsVolumeSource"
	NFSVolumeSourceFieldPath     = "path"
	NFSVolumeSourceFieldReadOnly = "readOnly"
	NFSVolumeSourceFieldServer   = "server"
)
View Source
const (
	NodeType                      = "node"
	NodeFieldAddresses            = "addresses"
	NodeFieldAllocatable          = "allocatable"
	NodeFieldCapacity             = "capacity"
	NodeFieldConfigSource         = "configSource"
	NodeFieldCreated              = "created"
	NodeFieldDaemonEndpoints      = "daemonEndpoints"
	NodeFieldExternalID           = "externalID"
	NodeFieldImages               = "images"
	NodeFieldLabels               = "labels"
	NodeFieldName                 = "name"
	NodeFieldNodeInfo             = "nodeInfo"
	NodeFieldPhase                = "phase"
	NodeFieldPodCIDR              = "podCIDR"
	NodeFieldProviderID           = "providerID"
	NodeFieldRemoved              = "removed"
	NodeFieldState                = "state"
	NodeFieldTaints               = "taints"
	NodeFieldTransitioning        = "transitioning"
	NodeFieldTransitioningMessage = "transitioningMessage"
	NodeFieldUUID                 = "uuid"
	NodeFieldUnschedulable        = "unschedulable"
	NodeFieldVolumesAttached      = "volumesAttached"
	NodeFieldVolumesInUse         = "volumesInUse"
)
View Source
const (
	NodeAddressType         = "nodeAddress"
	NodeAddressFieldAddress = "address"
	NodeAddressFieldType    = "type"
)
View Source
const (
	NodeAffinityType                                                 = "nodeAffinity"
	NodeAffinityFieldPreferredDuringSchedulingIgnoredDuringExecution = "preferredDuringSchedulingIgnoredDuringExecution"
	NodeAffinityFieldRequiredDuringSchedulingIgnoredDuringExecution  = "requiredDuringSchedulingIgnoredDuringExecution"
)
View Source
const (
	NodeConditionType                    = "nodeCondition"
	NodeConditionFieldLastHeartbeatTime  = "lastHeartbeatTime"
	NodeConditionFieldLastTransitionTime = "lastTransitionTime"
	NodeConditionFieldMessage            = "message"
	NodeConditionFieldReason             = "reason"
	NodeConditionFieldStatus             = "status"
	NodeConditionFieldType               = "type"
)
View Source
const (
	NodeConfigSourceType              = "nodeConfigSource"
	NodeConfigSourceFieldAPIVersion   = "apiVersion"
	NodeConfigSourceFieldConfigMapRef = "configMapRef"
	NodeConfigSourceFieldKind         = "kind"
)
View Source
const (
	NodeDaemonEndpointsType                 = "nodeDaemonEndpoints"
	NodeDaemonEndpointsFieldKubeletEndpoint = "kubeletEndpoint"
)
View Source
const (
	NodeSelectorType                   = "nodeSelector"
	NodeSelectorFieldNodeSelectorTerms = "nodeSelectorTerms"
)
View Source
const (
	NodeSelectorRequirementType          = "nodeSelectorRequirement"
	NodeSelectorRequirementFieldKey      = "key"
	NodeSelectorRequirementFieldOperator = "operator"
	NodeSelectorRequirementFieldValues   = "values"
)
View Source
const (
	NodeSelectorTermType                  = "nodeSelectorTerm"
	NodeSelectorTermFieldMatchExpressions = "matchExpressions"
)
View Source
const (
	NodeSpecType               = "nodeSpec"
	NodeSpecFieldConfigSource  = "configSource"
	NodeSpecFieldExternalID    = "externalID"
	NodeSpecFieldPodCIDR       = "podCIDR"
	NodeSpecFieldProviderID    = "providerID"
	NodeSpecFieldTaints        = "taints"
	NodeSpecFieldUnschedulable = "unschedulable"
)
View Source
const (
	NodeStatusType                 = "nodeStatus"
	NodeStatusFieldAddresses       = "addresses"
	NodeStatusFieldAllocatable     = "allocatable"
	NodeStatusFieldCapacity        = "capacity"
	NodeStatusFieldConditions      = "conditions"
	NodeStatusFieldDaemonEndpoints = "daemonEndpoints"
	NodeStatusFieldImages          = "images"
	NodeStatusFieldNodeInfo        = "nodeInfo"
	NodeStatusFieldPhase           = "phase"
	NodeStatusFieldVolumesAttached = "volumesAttached"
	NodeStatusFieldVolumesInUse    = "volumesInUse"
)
View Source
const (
	NodeSystemInfoType                         = "nodeSystemInfo"
	NodeSystemInfoFieldArchitecture            = "architecture"
	NodeSystemInfoFieldBootID                  = "bootID"
	NodeSystemInfoFieldContainerRuntimeVersion = "containerRuntimeVersion"
	NodeSystemInfoFieldKernelVersion           = "kernelVersion"
	NodeSystemInfoFieldKubeProxyVersion        = "kubeProxyVersion"
	NodeSystemInfoFieldKubeletVersion          = "kubeletVersion"
	NodeSystemInfoFieldMachineID               = "machineID"
	NodeSystemInfoFieldOSImage                 = "osImage"
	NodeSystemInfoFieldOperatingSystem         = "operatingSystem"
	NodeSystemInfoFieldSystemUUID              = "systemUUID"
)
View Source
const (
	ObjectFieldSelectorType            = "objectFieldSelector"
	ObjectFieldSelectorFieldAPIVersion = "apiVersion"
	ObjectFieldSelectorFieldFieldPath  = "fieldPath"
)
View Source
const (
	ObjectMetaType                 = "objectMeta"
	ObjectMetaFieldAnnotations     = "annotations"
	ObjectMetaFieldCreated         = "created"
	ObjectMetaFieldFinalizers      = "finalizers"
	ObjectMetaFieldLabels          = "labels"
	ObjectMetaFieldName            = "name"
	ObjectMetaFieldNamespace       = "namespace"
	ObjectMetaFieldOwnerReferences = "ownerReferences"
	ObjectMetaFieldRemoved         = "removed"
	ObjectMetaFieldSelfLink        = "selfLink"
	ObjectMetaFieldUUID            = "uuid"
)
View Source
const (
	ObjectReferenceType                 = "objectReference"
	ObjectReferenceFieldAPIVersion      = "apiVersion"
	ObjectReferenceFieldFieldPath       = "fieldPath"
	ObjectReferenceFieldKind            = "kind"
	ObjectReferenceFieldName            = "name"
	ObjectReferenceFieldNamespace       = "namespace"
	ObjectReferenceFieldResourceVersion = "resourceVersion"
	ObjectReferenceFieldUID             = "uid"
)
View Source
const (
	OwnerReferenceType                    = "ownerReference"
	OwnerReferenceFieldAPIVersion         = "apiVersion"
	OwnerReferenceFieldBlockOwnerDeletion = "blockOwnerDeletion"
	OwnerReferenceFieldController         = "controller"
	OwnerReferenceFieldKind               = "kind"
	OwnerReferenceFieldName               = "name"
	OwnerReferenceFieldUID                = "uid"
)
View Source
const (
	PersistentVolumeClaimVolumeSourceType           = "persistentVolumeClaimVolumeSource"
	PersistentVolumeClaimVolumeSourceFieldClaimName = "claimName"
	PersistentVolumeClaimVolumeSourceFieldReadOnly  = "readOnly"
)
View Source
const (
	PhotonPersistentDiskVolumeSourceType        = "photonPersistentDiskVolumeSource"
	PhotonPersistentDiskVolumeSourceFieldFSType = "fsType"
	PhotonPersistentDiskVolumeSourceFieldPdID   = "pdID"
)
View Source
const (
	PodType                               = "pod"
	PodFieldActiveDeadlineSeconds         = "activeDeadlineSeconds"
	PodFieldAffinity                      = "affinity"
	PodFieldAutomountServiceAccountToken  = "automountServiceAccountToken"
	PodFieldContainerStatuses             = "containerStatuses"
	PodFieldContainers                    = "containers"
	PodFieldCreated                       = "created"
	PodFieldDNSConfig                     = "dnsConfig"
	PodFieldDNSPolicy                     = "dnsPolicy"
	PodFieldDeprecatedServiceAccount      = "serviceAccount"
	PodFieldHostAliases                   = "hostAliases"
	PodFieldHostIP                        = "hostIP"
	PodFieldHostIPC                       = "hostIPC"
	PodFieldHostNetwork                   = "hostNetwork"
	PodFieldHostPID                       = "hostPID"
	PodFieldHostname                      = "hostname"
	PodFieldImagePullSecrets              = "imagePullSecrets"
	PodFieldInitContainerStatuses         = "initContainerStatuses"
	PodFieldInitContainers                = "initContainers"
	PodFieldLabels                        = "labels"
	PodFieldMessage                       = "message"
	PodFieldName                          = "name"
	PodFieldNamespace                     = "namespace"
	PodFieldNodeName                      = "nodeName"
	PodFieldNodeSelector                  = "nodeSelector"
	PodFieldNominatedNodeName             = "nominatedNodeName"
	PodFieldPhase                         = "phase"
	PodFieldPodIP                         = "podIP"
	PodFieldPriority                      = "priority"
	PodFieldPriorityClassName             = "priorityClassName"
	PodFieldQOSClass                      = "qosClass"
	PodFieldReason                        = "reason"
	PodFieldRemoved                       = "removed"
	PodFieldRestartPolicy                 = "restartPolicy"
	PodFieldSchedulerName                 = "schedulerName"
	PodFieldSecurityContext               = "securityContext"
	PodFieldServiceAccountName            = "serviceAccountName"
	PodFieldShareProcessNamespace         = "shareProcessNamespace"
	PodFieldStartTime                     = "startTime"
	PodFieldState                         = "state"
	PodFieldSubdomain                     = "subdomain"
	PodFieldTerminationGracePeriodSeconds = "terminationGracePeriodSeconds"
	PodFieldTolerations                   = "tolerations"
	PodFieldTransitioning                 = "transitioning"
	PodFieldTransitioningMessage          = "transitioningMessage"
	PodFieldUUID                          = "uuid"
	PodFieldVolumes                       = "volumes"
)
View Source
const (
	PodAffinityType                                                 = "podAffinity"
	PodAffinityFieldPreferredDuringSchedulingIgnoredDuringExecution = "preferredDuringSchedulingIgnoredDuringExecution"
	PodAffinityFieldRequiredDuringSchedulingIgnoredDuringExecution  = "requiredDuringSchedulingIgnoredDuringExecution"
)
View Source
const (
	PodAffinityTermType               = "podAffinityTerm"
	PodAffinityTermFieldLabelSelector = "labelSelector"
	PodAffinityTermFieldNamespaces    = "namespaces"
	PodAffinityTermFieldTopologyKey   = "topologyKey"
)
View Source
const (
	PodAntiAffinityType                                                 = "podAntiAffinity"
	PodAntiAffinityFieldPreferredDuringSchedulingIgnoredDuringExecution = "preferredDuringSchedulingIgnoredDuringExecution"
	PodAntiAffinityFieldRequiredDuringSchedulingIgnoredDuringExecution  = "requiredDuringSchedulingIgnoredDuringExecution"
)
View Source
const (
	PodConditionType                    = "podCondition"
	PodConditionFieldLastProbeTime      = "lastProbeTime"
	PodConditionFieldLastTransitionTime = "lastTransitionTime"
	PodConditionFieldMessage            = "message"
	PodConditionFieldReason             = "reason"
	PodConditionFieldStatus             = "status"
	PodConditionFieldType               = "type"
)
View Source
const (
	PodDNSConfigType             = "podDNSConfig"
	PodDNSConfigFieldNameservers = "nameservers"
	PodDNSConfigFieldOptions     = "options"
	PodDNSConfigFieldSearches    = "searches"
)
View Source
const (
	PodDNSConfigOptionType       = "podDNSConfigOption"
	PodDNSConfigOptionFieldName  = "name"
	PodDNSConfigOptionFieldValue = "value"
)
View Source
const (
	PodSecurityContextType                    = "podSecurityContext"
	PodSecurityContextFieldFSGroup            = "fsGroup"
	PodSecurityContextFieldRunAsGroup         = "runAsGroup"
	PodSecurityContextFieldRunAsNonRoot       = "runAsNonRoot"
	PodSecurityContextFieldRunAsUser          = "runAsUser"
	PodSecurityContextFieldSELinuxOptions     = "seLinuxOptions"
	PodSecurityContextFieldSupplementalGroups = "supplementalGroups"
)
View Source
const (
	PodSpecType                               = "podSpec"
	PodSpecFieldActiveDeadlineSeconds         = "activeDeadlineSeconds"
	PodSpecFieldAffinity                      = "affinity"
	PodSpecFieldAutomountServiceAccountToken  = "automountServiceAccountToken"
	PodSpecFieldContainers                    = "containers"
	PodSpecFieldDNSConfig                     = "dnsConfig"
	PodSpecFieldDNSPolicy                     = "dnsPolicy"
	PodSpecFieldDeprecatedServiceAccount      = "serviceAccount"
	PodSpecFieldHostAliases                   = "hostAliases"
	PodSpecFieldHostIPC                       = "hostIPC"
	PodSpecFieldHostNetwork                   = "hostNetwork"
	PodSpecFieldHostPID                       = "hostPID"
	PodSpecFieldHostname                      = "hostname"
	PodSpecFieldImagePullSecrets              = "imagePullSecrets"
	PodSpecFieldInitContainers                = "initContainers"
	PodSpecFieldNodeName                      = "nodeName"
	PodSpecFieldNodeSelector                  = "nodeSelector"
	PodSpecFieldPriority                      = "priority"
	PodSpecFieldPriorityClassName             = "priorityClassName"
	PodSpecFieldRestartPolicy                 = "restartPolicy"
	PodSpecFieldSchedulerName                 = "schedulerName"
	PodSpecFieldSecurityContext               = "securityContext"
	PodSpecFieldServiceAccountName            = "serviceAccountName"
	PodSpecFieldShareProcessNamespace         = "shareProcessNamespace"
	PodSpecFieldSubdomain                     = "subdomain"
	PodSpecFieldTerminationGracePeriodSeconds = "terminationGracePeriodSeconds"
	PodSpecFieldTolerations                   = "tolerations"
	PodSpecFieldVolumes                       = "volumes"
)
View Source
const (
	PodStatusType                       = "podStatus"
	PodStatusFieldConditions            = "conditions"
	PodStatusFieldContainerStatuses     = "containerStatuses"
	PodStatusFieldHostIP                = "hostIP"
	PodStatusFieldInitContainerStatuses = "initContainerStatuses"
	PodStatusFieldMessage               = "message"
	PodStatusFieldNominatedNodeName     = "nominatedNodeName"
	PodStatusFieldPhase                 = "phase"
	PodStatusFieldPodIP                 = "podIP"
	PodStatusFieldQOSClass              = "qosClass"
	PodStatusFieldReason                = "reason"
	PodStatusFieldStartTime             = "startTime"
)
View Source
const (
	PortworxVolumeSourceType          = "portworxVolumeSource"
	PortworxVolumeSourceFieldFSType   = "fsType"
	PortworxVolumeSourceFieldReadOnly = "readOnly"
	PortworxVolumeSourceFieldVolumeID = "volumeID"
)
View Source
const (
	PreferredSchedulingTermType            = "preferredSchedulingTerm"
	PreferredSchedulingTermFieldPreference = "preference"
	PreferredSchedulingTermFieldWeight     = "weight"
)
View Source
const (
	ProbeType                     = "probe"
	ProbeFieldExec                = "exec"
	ProbeFieldFailureThreshold    = "failureThreshold"
	ProbeFieldHTTPGet             = "httpGet"
	ProbeFieldInitialDelaySeconds = "initialDelaySeconds"
	ProbeFieldPeriodSeconds       = "periodSeconds"
	ProbeFieldSuccessThreshold    = "successThreshold"
	ProbeFieldTCPSocket           = "tcpSocket"
	ProbeFieldTimeoutSeconds      = "timeoutSeconds"
)
View Source
const (
	ProjectedVolumeSourceType             = "projectedVolumeSource"
	ProjectedVolumeSourceFieldDefaultMode = "defaultMode"
	ProjectedVolumeSourceFieldSources     = "sources"
)
View Source
const (
	QuobyteVolumeSourceType          = "quobyteVolumeSource"
	QuobyteVolumeSourceFieldGroup    = "group"
	QuobyteVolumeSourceFieldReadOnly = "readOnly"
	QuobyteVolumeSourceFieldRegistry = "registry"
	QuobyteVolumeSourceFieldUser     = "user"
	QuobyteVolumeSourceFieldVolume   = "volume"
)
View Source
const (
	RBDVolumeSourceType              = "rbdVolumeSource"
	RBDVolumeSourceFieldCephMonitors = "monitors"
	RBDVolumeSourceFieldFSType       = "fsType"
	RBDVolumeSourceFieldKeyring      = "keyring"
	RBDVolumeSourceFieldRBDImage     = "image"
	RBDVolumeSourceFieldRBDPool      = "pool"
	RBDVolumeSourceFieldRadosUser    = "user"
	RBDVolumeSourceFieldReadOnly     = "readOnly"
	RBDVolumeSourceFieldSecretRef    = "secretRef"
)
View Source
const (
	ResourceFieldSelectorType               = "resourceFieldSelector"
	ResourceFieldSelectorFieldContainerName = "containerName"
	ResourceFieldSelectorFieldDivisor       = "divisor"
	ResourceFieldSelectorFieldResource      = "resource"
)
View Source
const (
	ResourceRequirementsType          = "resourceRequirements"
	ResourceRequirementsFieldLimits   = "limits"
	ResourceRequirementsFieldRequests = "requests"
)
View Source
const (
	ScaleIOVolumeSourceType                  = "scaleIOVolumeSource"
	ScaleIOVolumeSourceFieldFSType           = "fsType"
	ScaleIOVolumeSourceFieldGateway          = "gateway"
	ScaleIOVolumeSourceFieldProtectionDomain = "protectionDomain"
	ScaleIOVolumeSourceFieldReadOnly         = "readOnly"
	ScaleIOVolumeSourceFieldSSLEnabled       = "sslEnabled"
	ScaleIOVolumeSourceFieldSecretRef        = "secretRef"
	ScaleIOVolumeSourceFieldStorageMode      = "storageMode"
	ScaleIOVolumeSourceFieldStoragePool      = "storagePool"
	ScaleIOVolumeSourceFieldSystem           = "system"
	ScaleIOVolumeSourceFieldVolumeName       = "volumeName"
)
View Source
const (
	SELinuxOptionsType       = "seLinuxOptions"
	SELinuxOptionsFieldLevel = "level"
	SELinuxOptionsFieldRole  = "role"
	SELinuxOptionsFieldType  = "type"
	SELinuxOptionsFieldUser  = "user"
)
View Source
const (
	SecretEnvSourceType          = "secretEnvSource"
	SecretEnvSourceFieldName     = "name"
	SecretEnvSourceFieldOptional = "optional"
)
View Source
const (
	SecretKeySelectorType          = "secretKeySelector"
	SecretKeySelectorFieldKey      = "key"
	SecretKeySelectorFieldName     = "name"
	SecretKeySelectorFieldOptional = "optional"
)
View Source
const (
	SecretProjectionType          = "secretProjection"
	SecretProjectionFieldItems    = "items"
	SecretProjectionFieldName     = "name"
	SecretProjectionFieldOptional = "optional"
)
View Source
const (
	SecretVolumeSourceType             = "secretVolumeSource"
	SecretVolumeSourceFieldDefaultMode = "defaultMode"
	SecretVolumeSourceFieldItems       = "items"
	SecretVolumeSourceFieldOptional    = "optional"
	SecretVolumeSourceFieldSecretName  = "secretName"
)
View Source
const (
	SecurityContextType                          = "securityContext"
	SecurityContextFieldAllowPrivilegeEscalation = "allowPrivilegeEscalation"
	SecurityContextFieldCapabilities             = "capabilities"
	SecurityContextFieldPrivileged               = "privileged"
	SecurityContextFieldReadOnlyRootFilesystem   = "readOnlyRootFilesystem"
	SecurityContextFieldRunAsGroup               = "runAsGroup"
	SecurityContextFieldRunAsNonRoot             = "runAsNonRoot"
	SecurityContextFieldRunAsUser                = "runAsUser"
	SecurityContextFieldSELinuxOptions           = "seLinuxOptions"
)
View Source
const (
	SpaceType                      = "space"
	SpaceFieldCreated              = "created"
	SpaceFieldLabels               = "labels"
	SpaceFieldName                 = "name"
	SpaceFieldRemoved              = "removed"
	SpaceFieldState                = "state"
	SpaceFieldTransitioning        = "transitioning"
	SpaceFieldTransitioningMessage = "transitioningMessage"
	SpaceFieldUUID                 = "uuid"
)
View Source
const (
	StatusType            = "status"
	StatusFieldAPIVersion = "apiVersion"
	StatusFieldCode       = "code"
	StatusFieldDetails    = "details"
	StatusFieldKind       = "kind"
	StatusFieldListMeta   = "metadata"
	StatusFieldMessage    = "message"
	StatusFieldReason     = "reason"
	StatusFieldStatus     = "status"
)
View Source
const (
	StatusCauseType         = "statusCause"
	StatusCauseFieldField   = "field"
	StatusCauseFieldMessage = "message"
	StatusCauseFieldType    = "reason"
)
View Source
const (
	StatusDetailsType                   = "statusDetails"
	StatusDetailsFieldCauses            = "causes"
	StatusDetailsFieldGroup             = "group"
	StatusDetailsFieldKind              = "kind"
	StatusDetailsFieldName              = "name"
	StatusDetailsFieldRetryAfterSeconds = "retryAfterSeconds"
	StatusDetailsFieldUID               = "uid"
)
View Source
const (
	StorageOSVolumeSourceType                 = "storageOSVolumeSource"
	StorageOSVolumeSourceFieldFSType          = "fsType"
	StorageOSVolumeSourceFieldReadOnly        = "readOnly"
	StorageOSVolumeSourceFieldSecretRef       = "secretRef"
	StorageOSVolumeSourceFieldVolumeName      = "volumeName"
	StorageOSVolumeSourceFieldVolumeNamespace = "volumeNamespace"
)
View Source
const (
	TaintType           = "taint"
	TaintFieldEffect    = "effect"
	TaintFieldKey       = "key"
	TaintFieldTimeAdded = "timeAdded"
	TaintFieldValue     = "value"
)
View Source
const (
	TCPSocketActionType      = "tcpSocketAction"
	TCPSocketActionFieldHost = "host"
	TCPSocketActionFieldPort = "port"
)
View Source
const (
	TolerationType                   = "toleration"
	TolerationFieldEffect            = "effect"
	TolerationFieldKey               = "key"
	TolerationFieldOperator          = "operator"
	TolerationFieldTolerationSeconds = "tolerationSeconds"
	TolerationFieldValue             = "value"
)
View Source
const (
	VolumeType                       = "volume"
	VolumeFieldAWSElasticBlockStore  = "awsElasticBlockStore"
	VolumeFieldAzureDisk             = "azureDisk"
	VolumeFieldAzureFile             = "azureFile"
	VolumeFieldCephFS                = "cephfs"
	VolumeFieldCinder                = "cinder"
	VolumeFieldConfigMap             = "configMap"
	VolumeFieldDownwardAPI           = "downwardAPI"
	VolumeFieldEmptyDir              = "emptyDir"
	VolumeFieldFC                    = "fc"
	VolumeFieldFlexVolume            = "flexVolume"
	VolumeFieldFlocker               = "flocker"
	VolumeFieldGCEPersistentDisk     = "gcePersistentDisk"
	VolumeFieldGitRepo               = "gitRepo"
	VolumeFieldGlusterfs             = "glusterfs"
	VolumeFieldHostPath              = "hostPath"
	VolumeFieldISCSI                 = "iscsi"
	VolumeFieldNFS                   = "nfs"
	VolumeFieldName                  = "name"
	VolumeFieldPersistentVolumeClaim = "persistentVolumeClaim"
	VolumeFieldPhotonPersistentDisk  = "photonPersistentDisk"
	VolumeFieldPortworxVolume        = "portworxVolume"
	VolumeFieldProjected             = "projected"
	VolumeFieldQuobyte               = "quobyte"
	VolumeFieldRBD                   = "rbd"
	VolumeFieldScaleIO               = "scaleIO"
	VolumeFieldSecret                = "secret"
	VolumeFieldStorageOS             = "storageos"
	VolumeFieldVsphereVolume         = "vsphereVolume"
)
View Source
const (
	VolumeDeviceType            = "volumeDevice"
	VolumeDeviceFieldDevicePath = "devicePath"
	VolumeDeviceFieldName       = "name"
)
View Source
const (
	VolumeMountType                  = "volumeMount"
	VolumeMountFieldMountPath        = "mountPath"
	VolumeMountFieldMountPropagation = "mountPropagation"
	VolumeMountFieldName             = "name"
	VolumeMountFieldReadOnly         = "readOnly"
	VolumeMountFieldSubPath          = "subPath"
)
View Source
const (
	VolumeProjectionType             = "volumeProjection"
	VolumeProjectionFieldConfigMap   = "configMap"
	VolumeProjectionFieldDownwardAPI = "downwardAPI"
	VolumeProjectionFieldSecret      = "secret"
)
View Source
const (
	VsphereVirtualDiskVolumeSourceType                   = "vsphereVirtualDiskVolumeSource"
	VsphereVirtualDiskVolumeSourceFieldFSType            = "fsType"
	VsphereVirtualDiskVolumeSourceFieldStoragePolicyID   = "storagePolicyID"
	VsphereVirtualDiskVolumeSourceFieldStoragePolicyName = "storagePolicyName"
	VsphereVirtualDiskVolumeSourceFieldVolumePath        = "volumePath"
)
View Source
const (
	WeightedPodAffinityTermType                 = "weightedPodAffinityTerm"
	WeightedPodAffinityTermFieldPodAffinityTerm = "podAffinityTerm"
	WeightedPodAffinityTermFieldWeight          = "weight"
)
View Source
const (
	NamespaceSpecType = "namespaceSpec"
)
View Source
const (
	NamespaceStatusType = "namespaceStatus"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSElasticBlockStoreVolumeSource

type AWSElasticBlockStoreVolumeSource struct {
	FSType    string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Partition int64  `json:"partition,omitempty" yaml:"partition,omitempty"`
	ReadOnly  bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	VolumeID  string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
}

type Affinity

type Affinity struct {
	NodeAffinity    *NodeAffinity    `json:"nodeAffinity,omitempty" yaml:"nodeAffinity,omitempty"`
	PodAffinity     *PodAffinity     `json:"podAffinity,omitempty" yaml:"podAffinity,omitempty"`
	PodAntiAffinity *PodAntiAffinity `json:"podAntiAffinity,omitempty" yaml:"podAntiAffinity,omitempty"`
}

type AttachedVolume

type AttachedVolume struct {
	DevicePath string `json:"devicePath,omitempty" yaml:"devicePath,omitempty"`
	Name       string `json:"name,omitempty" yaml:"name,omitempty"`
}

type AzureDiskVolumeSource

type AzureDiskVolumeSource struct {
	CachingMode string `json:"cachingMode,omitempty" yaml:"cachingMode,omitempty"`
	DataDiskURI string `json:"diskURI,omitempty" yaml:"diskURI,omitempty"`
	DiskName    string `json:"diskName,omitempty" yaml:"diskName,omitempty"`
	FSType      string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Kind        string `json:"kind,omitempty" yaml:"kind,omitempty"`
	ReadOnly    *bool  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}

type AzureFileVolumeSource

type AzureFileVolumeSource struct {
	ReadOnly   bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretName string `json:"secretName,omitempty" yaml:"secretName,omitempty"`
	ShareName  string `json:"shareName,omitempty" yaml:"shareName,omitempty"`
}

type Capabilities

type Capabilities struct {
	Add  []string `json:"add,omitempty" yaml:"add,omitempty"`
	Drop []string `json:"drop,omitempty" yaml:"drop,omitempty"`
}

type CephFSVolumeSource

type CephFSVolumeSource struct {
	Monitors   []string              `json:"monitors,omitempty" yaml:"monitors,omitempty"`
	Path       string                `json:"path,omitempty" yaml:"path,omitempty"`
	ReadOnly   bool                  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretFile string                `json:"secretFile,omitempty" yaml:"secretFile,omitempty"`
	SecretRef  *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	User       string                `json:"user,omitempty" yaml:"user,omitempty"`
}

type CinderVolumeSource

type CinderVolumeSource struct {
	FSType   string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	ReadOnly bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
}

type Client

type Client struct {
	clientbase.APIBaseClient

	ListenConfig ListenConfigOperations
	Node         NodeOperations
	Pod          PodOperations
	Space        SpaceOperations
}

func NewClient

func NewClient(opts *clientbase.ClientOpts) (*Client, error)

type ConfigMapEnvSource

type ConfigMapEnvSource struct {
	Name     string `json:"name,omitempty" yaml:"name,omitempty"`
	Optional *bool  `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type ConfigMapKeySelector

type ConfigMapKeySelector struct {
	Key      string `json:"key,omitempty" yaml:"key,omitempty"`
	Name     string `json:"name,omitempty" yaml:"name,omitempty"`
	Optional *bool  `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type ConfigMapProjection

type ConfigMapProjection struct {
	Items    []KeyToPath `json:"items,omitempty" yaml:"items,omitempty"`
	Name     string      `json:"name,omitempty" yaml:"name,omitempty"`
	Optional *bool       `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type ConfigMapVolumeSource

type ConfigMapVolumeSource struct {
	DefaultMode *int64      `json:"defaultMode,omitempty" yaml:"defaultMode,omitempty"`
	Items       []KeyToPath `json:"items,omitempty" yaml:"items,omitempty"`
	Name        string      `json:"name,omitempty" yaml:"name,omitempty"`
	Optional    *bool       `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type Container

type Container struct {
	Args                     []string              `json:"args,omitempty" yaml:"args,omitempty"`
	Command                  []string              `json:"command,omitempty" yaml:"command,omitempty"`
	Env                      []EnvVar              `json:"env,omitempty" yaml:"env,omitempty"`
	EnvFrom                  []EnvFromSource       `json:"envFrom,omitempty" yaml:"envFrom,omitempty"`
	ExitCode                 *int64                `json:"exitCode,omitempty" yaml:"exitCode,omitempty"`
	Image                    string                `json:"image,omitempty" yaml:"image,omitempty"`
	ImagePullPolicy          string                `json:"imagePullPolicy,omitempty" yaml:"imagePullPolicy,omitempty"`
	Lifecycle                *Lifecycle            `json:"lifecycle,omitempty" yaml:"lifecycle,omitempty"`
	LivenessProbe            *Probe                `json:"livenessProbe,omitempty" yaml:"livenessProbe,omitempty"`
	Name                     string                `json:"name,omitempty" yaml:"name,omitempty"`
	Ports                    []ContainerPort       `json:"ports,omitempty" yaml:"ports,omitempty"`
	ReadinessProbe           *Probe                `json:"readinessProbe,omitempty" yaml:"readinessProbe,omitempty"`
	Resources                *ResourceRequirements `json:"resources,omitempty" yaml:"resources,omitempty"`
	RestartCount             int64                 `json:"restartCount,omitempty" yaml:"restartCount,omitempty"`
	SecurityContext          *SecurityContext      `json:"securityContext,omitempty" yaml:"securityContext,omitempty"`
	State                    string                `json:"state,omitempty" yaml:"state,omitempty"`
	Stdin                    bool                  `json:"stdin,omitempty" yaml:"stdin,omitempty"`
	StdinOnce                bool                  `json:"stdinOnce,omitempty" yaml:"stdinOnce,omitempty"`
	TTY                      bool                  `json:"tty,omitempty" yaml:"tty,omitempty"`
	TerminationMessagePath   string                `json:"terminationMessagePath,omitempty" yaml:"terminationMessagePath,omitempty"`
	TerminationMessagePolicy string                `json:"terminationMessagePolicy,omitempty" yaml:"terminationMessagePolicy,omitempty"`
	Transitioning            string                `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage     string                `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	VolumeDevices            []VolumeDevice        `json:"volumeDevices,omitempty" yaml:"volumeDevices,omitempty"`
	VolumeMounts             []VolumeMount         `json:"volumeMounts,omitempty" yaml:"volumeMounts,omitempty"`
	WorkingDir               string                `json:"workingDir,omitempty" yaml:"workingDir,omitempty"`
}

type ContainerImage

type ContainerImage struct {
	Names     []string `json:"names,omitempty" yaml:"names,omitempty"`
	SizeBytes int64    `json:"sizeBytes,omitempty" yaml:"sizeBytes,omitempty"`
}

type ContainerPort

type ContainerPort struct {
	ContainerPort int64  `json:"containerPort,omitempty" yaml:"containerPort,omitempty"`
	HostIP        string `json:"hostIP,omitempty" yaml:"hostIP,omitempty"`
	HostPort      int64  `json:"hostPort,omitempty" yaml:"hostPort,omitempty"`
	Name          string `json:"name,omitempty" yaml:"name,omitempty"`
	Protocol      string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
}

type ContainerState

type ContainerState struct {
	Running    *ContainerStateRunning    `json:"running,omitempty" yaml:"running,omitempty"`
	Terminated *ContainerStateTerminated `json:"terminated,omitempty" yaml:"terminated,omitempty"`
	Waiting    *ContainerStateWaiting    `json:"waiting,omitempty" yaml:"waiting,omitempty"`
}

type ContainerStateRunning

type ContainerStateRunning struct {
	StartedAt string `json:"startedAt,omitempty" yaml:"startedAt,omitempty"`
}

type ContainerStateTerminated

type ContainerStateTerminated struct {
	ContainerID string `json:"containerID,omitempty" yaml:"containerID,omitempty"`
	ExitCode    int64  `json:"exitCode,omitempty" yaml:"exitCode,omitempty"`
	FinishedAt  string `json:"finishedAt,omitempty" yaml:"finishedAt,omitempty"`
	Message     string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason      string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Signal      int64  `json:"signal,omitempty" yaml:"signal,omitempty"`
	StartedAt   string `json:"startedAt,omitempty" yaml:"startedAt,omitempty"`
}

type ContainerStateWaiting

type ContainerStateWaiting struct {
	Message string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason  string `json:"reason,omitempty" yaml:"reason,omitempty"`
}

type ContainerStatus

type ContainerStatus struct {
	ContainerID          string          `json:"containerID,omitempty" yaml:"containerID,omitempty"`
	Image                string          `json:"image,omitempty" yaml:"image,omitempty"`
	ImageID              string          `json:"imageID,omitempty" yaml:"imageID,omitempty"`
	LastTerminationState *ContainerState `json:"lastState,omitempty" yaml:"lastState,omitempty"`
	Name                 string          `json:"name,omitempty" yaml:"name,omitempty"`
	Ready                bool            `json:"ready,omitempty" yaml:"ready,omitempty"`
	RestartCount         int64           `json:"restartCount,omitempty" yaml:"restartCount,omitempty"`
	State                *ContainerState `json:"state,omitempty" yaml:"state,omitempty"`
}

type DaemonEndpoint

type DaemonEndpoint struct {
	Port int64 `json:"Port,omitempty" yaml:"Port,omitempty"`
}

type DownwardAPIProjection

type DownwardAPIProjection struct {
	Items []DownwardAPIVolumeFile `json:"items,omitempty" yaml:"items,omitempty"`
}

type DownwardAPIVolumeFile

type DownwardAPIVolumeFile struct {
	FieldRef         *ObjectFieldSelector   `json:"fieldRef,omitempty" yaml:"fieldRef,omitempty"`
	Mode             *int64                 `json:"mode,omitempty" yaml:"mode,omitempty"`
	Path             string                 `json:"path,omitempty" yaml:"path,omitempty"`
	ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" yaml:"resourceFieldRef,omitempty"`
}

type DownwardAPIVolumeSource

type DownwardAPIVolumeSource struct {
	DefaultMode *int64                  `json:"defaultMode,omitempty" yaml:"defaultMode,omitempty"`
	Items       []DownwardAPIVolumeFile `json:"items,omitempty" yaml:"items,omitempty"`
}

type EmptyDirVolumeSource

type EmptyDirVolumeSource struct {
	Medium    string `json:"medium,omitempty" yaml:"medium,omitempty"`
	SizeLimit string `json:"sizeLimit,omitempty" yaml:"sizeLimit,omitempty"`
}

type EnvFromSource

type EnvFromSource struct {
	ConfigMapRef *ConfigMapEnvSource `json:"configMapRef,omitempty" yaml:"configMapRef,omitempty"`
	Prefix       string              `json:"prefix,omitempty" yaml:"prefix,omitempty"`
	SecretRef    *SecretEnvSource    `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
}

type EnvVar

type EnvVar struct {
	Name      string        `json:"name,omitempty" yaml:"name,omitempty"`
	Value     string        `json:"value,omitempty" yaml:"value,omitempty"`
	ValueFrom *EnvVarSource `json:"valueFrom,omitempty" yaml:"valueFrom,omitempty"`
}

type EnvVarSource

type EnvVarSource struct {
	ConfigMapKeyRef  *ConfigMapKeySelector  `json:"configMapKeyRef,omitempty" yaml:"configMapKeyRef,omitempty"`
	FieldRef         *ObjectFieldSelector   `json:"fieldRef,omitempty" yaml:"fieldRef,omitempty"`
	ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" yaml:"resourceFieldRef,omitempty"`
	SecretKeyRef     *SecretKeySelector     `json:"secretKeyRef,omitempty" yaml:"secretKeyRef,omitempty"`
}

type ExecAction

type ExecAction struct {
	Command []string `json:"command,omitempty" yaml:"command,omitempty"`
}

type FCVolumeSource

type FCVolumeSource struct {
	FSType     string   `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Lun        *int64   `json:"lun,omitempty" yaml:"lun,omitempty"`
	ReadOnly   bool     `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	TargetWWNs []string `json:"targetWWNs,omitempty" yaml:"targetWWNs,omitempty"`
	WWIDs      []string `json:"wwids,omitempty" yaml:"wwids,omitempty"`
}

type FlexVolumeSource

type FlexVolumeSource struct {
	Driver    string                `json:"driver,omitempty" yaml:"driver,omitempty"`
	FSType    string                `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Options   map[string]string     `json:"options,omitempty" yaml:"options,omitempty"`
	ReadOnly  bool                  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
}

type FlockerVolumeSource

type FlockerVolumeSource struct {
	DatasetName string `json:"datasetName,omitempty" yaml:"datasetName,omitempty"`
	DatasetUUID string `json:"datasetUUID,omitempty" yaml:"datasetUUID,omitempty"`
}

type GCEPersistentDiskVolumeSource

type GCEPersistentDiskVolumeSource struct {
	FSType    string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	PDName    string `json:"pdName,omitempty" yaml:"pdName,omitempty"`
	Partition int64  `json:"partition,omitempty" yaml:"partition,omitempty"`
	ReadOnly  bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}

type GitRepoVolumeSource

type GitRepoVolumeSource struct {
	Directory  string `json:"directory,omitempty" yaml:"directory,omitempty"`
	Repository string `json:"repository,omitempty" yaml:"repository,omitempty"`
	Revision   string `json:"revision,omitempty" yaml:"revision,omitempty"`
}

type GlusterfsVolumeSource

type GlusterfsVolumeSource struct {
	EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
	Path          string `json:"path,omitempty" yaml:"path,omitempty"`
	ReadOnly      bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}

type HTTPGetAction

type HTTPGetAction struct {
	HTTPHeaders []HTTPHeader       `json:"httpHeaders,omitempty" yaml:"httpHeaders,omitempty"`
	Host        string             `json:"host,omitempty" yaml:"host,omitempty"`
	Path        string             `json:"path,omitempty" yaml:"path,omitempty"`
	Port        intstr.IntOrString `json:"port,omitempty" yaml:"port,omitempty"`
	Scheme      string             `json:"scheme,omitempty" yaml:"scheme,omitempty"`
}

type HTTPHeader

type HTTPHeader struct {
	Name  string `json:"name,omitempty" yaml:"name,omitempty"`
	Value string `json:"value,omitempty" yaml:"value,omitempty"`
}

type Handler

type Handler struct {
	Exec      *ExecAction      `json:"exec,omitempty" yaml:"exec,omitempty"`
	HTTPGet   *HTTPGetAction   `json:"httpGet,omitempty" yaml:"httpGet,omitempty"`
	TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty" yaml:"tcpSocket,omitempty"`
}

type HostAlias

type HostAlias struct {
	Hostnames []string `json:"hostnames,omitempty" yaml:"hostnames,omitempty"`
	IP        string   `json:"ip,omitempty" yaml:"ip,omitempty"`
}

type HostPathVolumeSource

type HostPathVolumeSource struct {
	Path string `json:"path,omitempty" yaml:"path,omitempty"`
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

type ISCSIVolumeSource

type ISCSIVolumeSource struct {
	DiscoveryCHAPAuth bool                  `json:"chapAuthDiscovery,omitempty" yaml:"chapAuthDiscovery,omitempty"`
	FSType            string                `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	IQN               string                `json:"iqn,omitempty" yaml:"iqn,omitempty"`
	ISCSIInterface    string                `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
	InitiatorName     string                `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
	Lun               int64                 `json:"lun,omitempty" yaml:"lun,omitempty"`
	Portals           []string              `json:"portals,omitempty" yaml:"portals,omitempty"`
	ReadOnly          bool                  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretRef         *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	SessionCHAPAuth   bool                  `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
	TargetPortal      string                `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
}

type Initializer

type Initializer struct {
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

type Initializers

type Initializers struct {
	Pending []Initializer `json:"pending,omitempty" yaml:"pending,omitempty"`
	Result  *Status       `json:"result,omitempty" yaml:"result,omitempty"`
}

type KeyToPath

type KeyToPath struct {
	Key  string `json:"key,omitempty" yaml:"key,omitempty"`
	Mode *int64 `json:"mode,omitempty" yaml:"mode,omitempty"`
	Path string `json:"path,omitempty" yaml:"path,omitempty"`
}

type LabelSelector

type LabelSelector struct {
	MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" yaml:"matchExpressions,omitempty"`
	MatchLabels      map[string]string          `json:"matchLabels,omitempty" yaml:"matchLabels,omitempty"`
}

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	Key      string   `json:"key,omitempty" yaml:"key,omitempty"`
	Operator string   `json:"operator,omitempty" yaml:"operator,omitempty"`
	Values   []string `json:"values,omitempty" yaml:"values,omitempty"`
}

type Lifecycle

type Lifecycle struct {
	PostStart *Handler `json:"postStart,omitempty" yaml:"postStart,omitempty"`
	PreStop   *Handler `json:"preStop,omitempty" yaml:"preStop,omitempty"`
}

type ListMeta

type ListMeta struct {
	Continue        string `json:"continue,omitempty" yaml:"continue,omitempty"`
	ResourceVersion string `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"`
	SelfLink        string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"`
}

type ListenConfig

type ListenConfig struct {
	types.Resource
	Algorithm               string            `json:"algorithm,omitempty" yaml:"algorithm,omitempty"`
	CACert                  string            `json:"caCert,omitempty" yaml:"caCert,omitempty"`
	CACerts                 string            `json:"caCerts,omitempty" yaml:"caCerts,omitempty"`
	CAKey                   string            `json:"caKey,omitempty" yaml:"caKey,omitempty"`
	CN                      string            `json:"cn,omitempty" yaml:"cn,omitempty"`
	Cert                    string            `json:"cert,omitempty" yaml:"cert,omitempty"`
	CertFingerprint         string            `json:"certFingerprint,omitempty" yaml:"certFingerprint,omitempty"`
	Created                 string            `json:"created,omitempty" yaml:"created,omitempty"`
	Description             string            `json:"description,omitempty" yaml:"description,omitempty"`
	DisplayName             string            `json:"displayName,omitempty" yaml:"displayName,omitempty"`
	Domains                 []string          `json:"domains,omitempty" yaml:"domains,omitempty"`
	Enabled                 bool              `json:"enabled,omitempty" yaml:"enabled,omitempty"`
	ExpiresAt               string            `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"`
	GeneratedCerts          map[string]string `json:"generatedCerts,omitempty" yaml:"generatedCerts,omitempty"`
	IssuedAt                string            `json:"issuedAt,omitempty" yaml:"issuedAt,omitempty"`
	Issuer                  string            `json:"issuer,omitempty" yaml:"issuer,omitempty"`
	Key                     string            `json:"key,omitempty" yaml:"key,omitempty"`
	KeySize                 int64             `json:"keySize,omitempty" yaml:"keySize,omitempty"`
	KnownIPs                []string          `json:"knownIps,omitempty" yaml:"knownIps,omitempty"`
	Labels                  map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Mode                    string            `json:"mode,omitempty" yaml:"mode,omitempty"`
	Name                    string            `json:"name,omitempty" yaml:"name,omitempty"`
	Removed                 string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	SerialNumber            string            `json:"serialNumber,omitempty" yaml:"serialNumber,omitempty"`
	SubjectAlternativeNames []string          `json:"subjectAlternativeNames,omitempty" yaml:"subjectAlternativeNames,omitempty"`
	TOS                     []string          `json:"tos,omitempty" yaml:"tos,omitempty"`
	UUID                    string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
	Version                 int64             `json:"version,omitempty" yaml:"version,omitempty"`
}

type ListenConfigClient

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

func (*ListenConfigClient) ByID

func (c *ListenConfigClient) ByID(id string) (*ListenConfig, error)

func (*ListenConfigClient) Create

func (c *ListenConfigClient) Create(container *ListenConfig) (*ListenConfig, error)

func (*ListenConfigClient) Delete

func (c *ListenConfigClient) Delete(container *ListenConfig) error

func (*ListenConfigClient) List

func (*ListenConfigClient) Replace

func (c *ListenConfigClient) Replace(obj *ListenConfig) (*ListenConfig, error)

func (*ListenConfigClient) Update

func (c *ListenConfigClient) Update(existing *ListenConfig, updates interface{}) (*ListenConfig, error)

type ListenConfigCollection

type ListenConfigCollection struct {
	types.Collection
	Data []ListenConfig `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListenConfigCollection) Next

type ListenConfigOperations

type ListenConfigOperations interface {
	List(opts *types.ListOpts) (*ListenConfigCollection, error)
	Create(opts *ListenConfig) (*ListenConfig, error)
	Update(existing *ListenConfig, updates interface{}) (*ListenConfig, error)
	Replace(existing *ListenConfig) (*ListenConfig, error)
	ByID(id string) (*ListenConfig, error)
	Delete(container *ListenConfig) error
}

type LocalObjectReference

type LocalObjectReference struct {
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

type NFSVolumeSource

type NFSVolumeSource struct {
	Path     string `json:"path,omitempty" yaml:"path,omitempty"`
	ReadOnly bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	Server   string `json:"server,omitempty" yaml:"server,omitempty"`
}

type NamespaceSpec

type NamespaceSpec struct {
}

type NamespaceStatus

type NamespaceStatus struct {
}

type Node

type Node struct {
	types.Resource
	Addresses            []NodeAddress        `json:"addresses,omitempty" yaml:"addresses,omitempty"`
	Allocatable          map[string]string    `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
	Capacity             map[string]string    `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	ConfigSource         *NodeConfigSource    `json:"configSource,omitempty" yaml:"configSource,omitempty"`
	Created              string               `json:"created,omitempty" yaml:"created,omitempty"`
	DaemonEndpoints      *NodeDaemonEndpoints `json:"daemonEndpoints,omitempty" yaml:"daemonEndpoints,omitempty"`
	ExternalID           string               `json:"externalID,omitempty" yaml:"externalID,omitempty"`
	Images               []ContainerImage     `json:"images,omitempty" yaml:"images,omitempty"`
	Labels               map[string]string    `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                 string               `json:"name,omitempty" yaml:"name,omitempty"`
	NodeInfo             *NodeSystemInfo      `json:"nodeInfo,omitempty" yaml:"nodeInfo,omitempty"`
	Phase                string               `json:"phase,omitempty" yaml:"phase,omitempty"`
	PodCIDR              string               `json:"podCIDR,omitempty" yaml:"podCIDR,omitempty"`
	ProviderID           string               `json:"providerID,omitempty" yaml:"providerID,omitempty"`
	Removed              string               `json:"removed,omitempty" yaml:"removed,omitempty"`
	State                string               `json:"state,omitempty" yaml:"state,omitempty"`
	Taints               []Taint              `json:"taints,omitempty" yaml:"taints,omitempty"`
	Transitioning        string               `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage string               `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                 string               `json:"uuid,omitempty" yaml:"uuid,omitempty"`
	Unschedulable        bool                 `json:"unschedulable,omitempty" yaml:"unschedulable,omitempty"`
	VolumesAttached      []AttachedVolume     `json:"volumesAttached,omitempty" yaml:"volumesAttached,omitempty"`
	VolumesInUse         []string             `json:"volumesInUse,omitempty" yaml:"volumesInUse,omitempty"`
}

type NodeAddress

type NodeAddress struct {
	Address string `json:"address,omitempty" yaml:"address,omitempty"`
	Type    string `json:"type,omitempty" yaml:"type,omitempty"`
}

type NodeAffinity

type NodeAffinity struct {
	PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTerm `` /* 129-byte string literal not displayed */
	RequiredDuringSchedulingIgnoredDuringExecution  *NodeSelector             `` /* 127-byte string literal not displayed */
}

type NodeClient

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

func (*NodeClient) ByID

func (c *NodeClient) ByID(id string) (*Node, error)

func (*NodeClient) Create

func (c *NodeClient) Create(container *Node) (*Node, error)

func (*NodeClient) Delete

func (c *NodeClient) Delete(container *Node) error

func (*NodeClient) List

func (c *NodeClient) List(opts *types.ListOpts) (*NodeCollection, error)

func (*NodeClient) Replace

func (c *NodeClient) Replace(obj *Node) (*Node, error)

func (*NodeClient) Update

func (c *NodeClient) Update(existing *Node, updates interface{}) (*Node, error)

type NodeCollection

type NodeCollection struct {
	types.Collection
	Data []Node `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeCollection) Next

func (cc *NodeCollection) Next() (*NodeCollection, error)

type NodeCondition

type NodeCondition struct {
	LastHeartbeatTime  string `json:"lastHeartbeatTime,omitempty" yaml:"lastHeartbeatTime,omitempty"`
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type NodeConfigSource

type NodeConfigSource struct {
	APIVersion   string           `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	ConfigMapRef *ObjectReference `json:"configMapRef,omitempty" yaml:"configMapRef,omitempty"`
	Kind         string           `json:"kind,omitempty" yaml:"kind,omitempty"`
}

type NodeDaemonEndpoints

type NodeDaemonEndpoints struct {
	KubeletEndpoint *DaemonEndpoint `json:"kubeletEndpoint,omitempty" yaml:"kubeletEndpoint,omitempty"`
}

type NodeOperations

type NodeOperations interface {
	List(opts *types.ListOpts) (*NodeCollection, error)
	Create(opts *Node) (*Node, error)
	Update(existing *Node, updates interface{}) (*Node, error)
	Replace(existing *Node) (*Node, error)
	ByID(id string) (*Node, error)
	Delete(container *Node) error
}

type NodeSelector

type NodeSelector struct {
	NodeSelectorTerms []NodeSelectorTerm `json:"nodeSelectorTerms,omitempty" yaml:"nodeSelectorTerms,omitempty"`
}

type NodeSelectorRequirement

type NodeSelectorRequirement struct {
	Key      string   `json:"key,omitempty" yaml:"key,omitempty"`
	Operator string   `json:"operator,omitempty" yaml:"operator,omitempty"`
	Values   []string `json:"values,omitempty" yaml:"values,omitempty"`
}

type NodeSelectorTerm

type NodeSelectorTerm struct {
	MatchExpressions []NodeSelectorRequirement `json:"matchExpressions,omitempty" yaml:"matchExpressions,omitempty"`
}

type NodeSpec

type NodeSpec struct {
	ConfigSource  *NodeConfigSource `json:"configSource,omitempty" yaml:"configSource,omitempty"`
	ExternalID    string            `json:"externalID,omitempty" yaml:"externalID,omitempty"`
	PodCIDR       string            `json:"podCIDR,omitempty" yaml:"podCIDR,omitempty"`
	ProviderID    string            `json:"providerID,omitempty" yaml:"providerID,omitempty"`
	Taints        []Taint           `json:"taints,omitempty" yaml:"taints,omitempty"`
	Unschedulable bool              `json:"unschedulable,omitempty" yaml:"unschedulable,omitempty"`
}

type NodeStatus

type NodeStatus struct {
	Addresses       []NodeAddress        `json:"addresses,omitempty" yaml:"addresses,omitempty"`
	Allocatable     map[string]string    `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
	Capacity        map[string]string    `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	Conditions      []NodeCondition      `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	DaemonEndpoints *NodeDaemonEndpoints `json:"daemonEndpoints,omitempty" yaml:"daemonEndpoints,omitempty"`
	Images          []ContainerImage     `json:"images,omitempty" yaml:"images,omitempty"`
	NodeInfo        *NodeSystemInfo      `json:"nodeInfo,omitempty" yaml:"nodeInfo,omitempty"`
	Phase           string               `json:"phase,omitempty" yaml:"phase,omitempty"`
	VolumesAttached []AttachedVolume     `json:"volumesAttached,omitempty" yaml:"volumesAttached,omitempty"`
	VolumesInUse    []string             `json:"volumesInUse,omitempty" yaml:"volumesInUse,omitempty"`
}

type NodeSystemInfo

type NodeSystemInfo struct {
	Architecture            string `json:"architecture,omitempty" yaml:"architecture,omitempty"`
	BootID                  string `json:"bootID,omitempty" yaml:"bootID,omitempty"`
	ContainerRuntimeVersion string `json:"containerRuntimeVersion,omitempty" yaml:"containerRuntimeVersion,omitempty"`
	KernelVersion           string `json:"kernelVersion,omitempty" yaml:"kernelVersion,omitempty"`
	KubeProxyVersion        string `json:"kubeProxyVersion,omitempty" yaml:"kubeProxyVersion,omitempty"`
	KubeletVersion          string `json:"kubeletVersion,omitempty" yaml:"kubeletVersion,omitempty"`
	MachineID               string `json:"machineID,omitempty" yaml:"machineID,omitempty"`
	OSImage                 string `json:"osImage,omitempty" yaml:"osImage,omitempty"`
	OperatingSystem         string `json:"operatingSystem,omitempty" yaml:"operatingSystem,omitempty"`
	SystemUUID              string `json:"systemUUID,omitempty" yaml:"systemUUID,omitempty"`
}

type ObjectFieldSelector

type ObjectFieldSelector struct {
	APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	FieldPath  string `json:"fieldPath,omitempty" yaml:"fieldPath,omitempty"`
}

type ObjectMeta

type ObjectMeta struct {
	Annotations     map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	Created         string            `json:"created,omitempty" yaml:"created,omitempty"`
	Finalizers      []string          `json:"finalizers,omitempty" yaml:"finalizers,omitempty"`
	Labels          map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name            string            `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace       string            `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	OwnerReferences []OwnerReference  `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	Removed         string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	SelfLink        string            `json:"selfLink,omitempty" yaml:"selfLink,omitempty"`
	UUID            string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type ObjectReference

type ObjectReference struct {
	APIVersion      string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	FieldPath       string `json:"fieldPath,omitempty" yaml:"fieldPath,omitempty"`
	Kind            string `json:"kind,omitempty" yaml:"kind,omitempty"`
	Name            string `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace       string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	ResourceVersion string `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"`
	UID             string `json:"uid,omitempty" yaml:"uid,omitempty"`
}

type OwnerReference

type OwnerReference struct {
	APIVersion         string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	BlockOwnerDeletion *bool  `json:"blockOwnerDeletion,omitempty" yaml:"blockOwnerDeletion,omitempty"`
	Controller         *bool  `json:"controller,omitempty" yaml:"controller,omitempty"`
	Kind               string `json:"kind,omitempty" yaml:"kind,omitempty"`
	Name               string `json:"name,omitempty" yaml:"name,omitempty"`
	UID                string `json:"uid,omitempty" yaml:"uid,omitempty"`
}

type PersistentVolumeClaimVolumeSource

type PersistentVolumeClaimVolumeSource struct {
	ClaimName string `json:"claimName,omitempty" yaml:"claimName,omitempty"`
	ReadOnly  bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}

type PhotonPersistentDiskVolumeSource

type PhotonPersistentDiskVolumeSource struct {
	FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	PdID   string `json:"pdID,omitempty" yaml:"pdID,omitempty"`
}

type Pod

type Pod struct {
	types.Resource
	ActiveDeadlineSeconds         *int64                 `json:"activeDeadlineSeconds,omitempty" yaml:"activeDeadlineSeconds,omitempty"`
	Affinity                      *Affinity              `json:"affinity,omitempty" yaml:"affinity,omitempty"`
	AutomountServiceAccountToken  *bool                  `json:"automountServiceAccountToken,omitempty" yaml:"automountServiceAccountToken,omitempty"`
	ContainerStatuses             []ContainerStatus      `json:"containerStatuses,omitempty" yaml:"containerStatuses,omitempty"`
	Containers                    []Container            `json:"containers,omitempty" yaml:"containers,omitempty"`
	Created                       string                 `json:"created,omitempty" yaml:"created,omitempty"`
	DNSConfig                     *PodDNSConfig          `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
	DNSPolicy                     string                 `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
	DeprecatedServiceAccount      string                 `json:"serviceAccount,omitempty" yaml:"serviceAccount,omitempty"`
	HostAliases                   []HostAlias            `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
	HostIP                        string                 `json:"hostIP,omitempty" yaml:"hostIP,omitempty"`
	HostIPC                       bool                   `json:"hostIPC,omitempty" yaml:"hostIPC,omitempty"`
	HostNetwork                   bool                   `json:"hostNetwork,omitempty" yaml:"hostNetwork,omitempty"`
	HostPID                       bool                   `json:"hostPID,omitempty" yaml:"hostPID,omitempty"`
	Hostname                      string                 `json:"hostname,omitempty" yaml:"hostname,omitempty"`
	ImagePullSecrets              []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"`
	InitContainerStatuses         []ContainerStatus      `json:"initContainerStatuses,omitempty" yaml:"initContainerStatuses,omitempty"`
	InitContainers                []Container            `json:"initContainers,omitempty" yaml:"initContainers,omitempty"`
	Labels                        map[string]string      `json:"labels,omitempty" yaml:"labels,omitempty"`
	Message                       string                 `json:"message,omitempty" yaml:"message,omitempty"`
	Name                          string                 `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace                     string                 `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	NodeName                      string                 `json:"nodeName,omitempty" yaml:"nodeName,omitempty"`
	NodeSelector                  map[string]string      `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
	NominatedNodeName             string                 `json:"nominatedNodeName,omitempty" yaml:"nominatedNodeName,omitempty"`
	Phase                         string                 `json:"phase,omitempty" yaml:"phase,omitempty"`
	PodIP                         string                 `json:"podIP,omitempty" yaml:"podIP,omitempty"`
	Priority                      *int64                 `json:"priority,omitempty" yaml:"priority,omitempty"`
	PriorityClassName             string                 `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"`
	QOSClass                      string                 `json:"qosClass,omitempty" yaml:"qosClass,omitempty"`
	Reason                        string                 `json:"reason,omitempty" yaml:"reason,omitempty"`
	Removed                       string                 `json:"removed,omitempty" yaml:"removed,omitempty"`
	RestartPolicy                 string                 `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"`
	SchedulerName                 string                 `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"`
	SecurityContext               *PodSecurityContext    `json:"securityContext,omitempty" yaml:"securityContext,omitempty"`
	ServiceAccountName            string                 `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"`
	ShareProcessNamespace         *bool                  `json:"shareProcessNamespace,omitempty" yaml:"shareProcessNamespace,omitempty"`
	StartTime                     string                 `json:"startTime,omitempty" yaml:"startTime,omitempty"`
	State                         string                 `json:"state,omitempty" yaml:"state,omitempty"`
	Subdomain                     string                 `json:"subdomain,omitempty" yaml:"subdomain,omitempty"`
	TerminationGracePeriodSeconds *int64                 `json:"terminationGracePeriodSeconds,omitempty" yaml:"terminationGracePeriodSeconds,omitempty"`
	Tolerations                   []Toleration           `json:"tolerations,omitempty" yaml:"tolerations,omitempty"`
	Transitioning                 string                 `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage          string                 `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                          string                 `json:"uuid,omitempty" yaml:"uuid,omitempty"`
	Volumes                       []Volume               `json:"volumes,omitempty" yaml:"volumes,omitempty"`
}

type PodAffinity

type PodAffinity struct {
	PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `` /* 129-byte string literal not displayed */
	RequiredDuringSchedulingIgnoredDuringExecution  []PodAffinityTerm         `` /* 127-byte string literal not displayed */
}

type PodAffinityTerm

type PodAffinityTerm struct {
	LabelSelector *LabelSelector `json:"labelSelector,omitempty" yaml:"labelSelector,omitempty"`
	Namespaces    []string       `json:"namespaces,omitempty" yaml:"namespaces,omitempty"`
	TopologyKey   string         `json:"topologyKey,omitempty" yaml:"topologyKey,omitempty"`
}

type PodAntiAffinity

type PodAntiAffinity struct {
	PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `` /* 129-byte string literal not displayed */
	RequiredDuringSchedulingIgnoredDuringExecution  []PodAffinityTerm         `` /* 127-byte string literal not displayed */
}

type PodClient

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

func (*PodClient) ByID

func (c *PodClient) ByID(id string) (*Pod, error)

func (*PodClient) Create

func (c *PodClient) Create(container *Pod) (*Pod, error)

func (*PodClient) Delete

func (c *PodClient) Delete(container *Pod) error

func (*PodClient) List

func (c *PodClient) List(opts *types.ListOpts) (*PodCollection, error)

func (*PodClient) Replace

func (c *PodClient) Replace(obj *Pod) (*Pod, error)

func (*PodClient) Update

func (c *PodClient) Update(existing *Pod, updates interface{}) (*Pod, error)

type PodCollection

type PodCollection struct {
	types.Collection
	Data []Pod `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PodCollection) Next

func (cc *PodCollection) Next() (*PodCollection, error)

type PodCondition

type PodCondition struct {
	LastProbeTime      string `json:"lastProbeTime,omitempty" yaml:"lastProbeTime,omitempty"`
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type PodDNSConfig

type PodDNSConfig struct {
	Nameservers []string             `json:"nameservers,omitempty" yaml:"nameservers,omitempty"`
	Options     []PodDNSConfigOption `json:"options,omitempty" yaml:"options,omitempty"`
	Searches    []string             `json:"searches,omitempty" yaml:"searches,omitempty"`
}

type PodDNSConfigOption

type PodDNSConfigOption struct {
	Name  string `json:"name,omitempty" yaml:"name,omitempty"`
	Value string `json:"value,omitempty" yaml:"value,omitempty"`
}

type PodOperations

type PodOperations interface {
	List(opts *types.ListOpts) (*PodCollection, error)
	Create(opts *Pod) (*Pod, error)
	Update(existing *Pod, updates interface{}) (*Pod, error)
	Replace(existing *Pod) (*Pod, error)
	ByID(id string) (*Pod, error)
	Delete(container *Pod) error
}

type PodSecurityContext

type PodSecurityContext struct {
	FSGroup            *int64          `json:"fsGroup,omitempty" yaml:"fsGroup,omitempty"`
	RunAsGroup         *int64          `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"`
	RunAsNonRoot       *bool           `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"`
	RunAsUser          *int64          `json:"runAsUser,omitempty" yaml:"runAsUser,omitempty"`
	SELinuxOptions     *SELinuxOptions `json:"seLinuxOptions,omitempty" yaml:"seLinuxOptions,omitempty"`
	SupplementalGroups []int64         `json:"supplementalGroups,omitempty" yaml:"supplementalGroups,omitempty"`
}

type PodSpec

type PodSpec struct {
	ActiveDeadlineSeconds         *int64                 `json:"activeDeadlineSeconds,omitempty" yaml:"activeDeadlineSeconds,omitempty"`
	Affinity                      *Affinity              `json:"affinity,omitempty" yaml:"affinity,omitempty"`
	AutomountServiceAccountToken  *bool                  `json:"automountServiceAccountToken,omitempty" yaml:"automountServiceAccountToken,omitempty"`
	Containers                    []Container            `json:"containers,omitempty" yaml:"containers,omitempty"`
	DNSConfig                     *PodDNSConfig          `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
	DNSPolicy                     string                 `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
	DeprecatedServiceAccount      string                 `json:"serviceAccount,omitempty" yaml:"serviceAccount,omitempty"`
	HostAliases                   []HostAlias            `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
	HostIPC                       bool                   `json:"hostIPC,omitempty" yaml:"hostIPC,omitempty"`
	HostNetwork                   bool                   `json:"hostNetwork,omitempty" yaml:"hostNetwork,omitempty"`
	HostPID                       bool                   `json:"hostPID,omitempty" yaml:"hostPID,omitempty"`
	Hostname                      string                 `json:"hostname,omitempty" yaml:"hostname,omitempty"`
	ImagePullSecrets              []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"`
	InitContainers                []Container            `json:"initContainers,omitempty" yaml:"initContainers,omitempty"`
	NodeName                      string                 `json:"nodeName,omitempty" yaml:"nodeName,omitempty"`
	NodeSelector                  map[string]string      `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
	Priority                      *int64                 `json:"priority,omitempty" yaml:"priority,omitempty"`
	PriorityClassName             string                 `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"`
	RestartPolicy                 string                 `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"`
	SchedulerName                 string                 `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"`
	SecurityContext               *PodSecurityContext    `json:"securityContext,omitempty" yaml:"securityContext,omitempty"`
	ServiceAccountName            string                 `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"`
	ShareProcessNamespace         *bool                  `json:"shareProcessNamespace,omitempty" yaml:"shareProcessNamespace,omitempty"`
	Subdomain                     string                 `json:"subdomain,omitempty" yaml:"subdomain,omitempty"`
	TerminationGracePeriodSeconds *int64                 `json:"terminationGracePeriodSeconds,omitempty" yaml:"terminationGracePeriodSeconds,omitempty"`
	Tolerations                   []Toleration           `json:"tolerations,omitempty" yaml:"tolerations,omitempty"`
	Volumes                       []Volume               `json:"volumes,omitempty" yaml:"volumes,omitempty"`
}

type PodStatus

type PodStatus struct {
	Conditions            []PodCondition    `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	ContainerStatuses     []ContainerStatus `json:"containerStatuses,omitempty" yaml:"containerStatuses,omitempty"`
	HostIP                string            `json:"hostIP,omitempty" yaml:"hostIP,omitempty"`
	InitContainerStatuses []ContainerStatus `json:"initContainerStatuses,omitempty" yaml:"initContainerStatuses,omitempty"`
	Message               string            `json:"message,omitempty" yaml:"message,omitempty"`
	NominatedNodeName     string            `json:"nominatedNodeName,omitempty" yaml:"nominatedNodeName,omitempty"`
	Phase                 string            `json:"phase,omitempty" yaml:"phase,omitempty"`
	PodIP                 string            `json:"podIP,omitempty" yaml:"podIP,omitempty"`
	QOSClass              string            `json:"qosClass,omitempty" yaml:"qosClass,omitempty"`
	Reason                string            `json:"reason,omitempty" yaml:"reason,omitempty"`
	StartTime             string            `json:"startTime,omitempty" yaml:"startTime,omitempty"`
}

type PortworxVolumeSource

type PortworxVolumeSource struct {
	FSType   string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	ReadOnly bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
}

type PreferredSchedulingTerm

type PreferredSchedulingTerm struct {
	Preference *NodeSelectorTerm `json:"preference,omitempty" yaml:"preference,omitempty"`
	Weight     int64             `json:"weight,omitempty" yaml:"weight,omitempty"`
}

type Probe

type Probe struct {
	Exec                *ExecAction      `json:"exec,omitempty" yaml:"exec,omitempty"`
	FailureThreshold    int64            `json:"failureThreshold,omitempty" yaml:"failureThreshold,omitempty"`
	HTTPGet             *HTTPGetAction   `json:"httpGet,omitempty" yaml:"httpGet,omitempty"`
	InitialDelaySeconds int64            `json:"initialDelaySeconds,omitempty" yaml:"initialDelaySeconds,omitempty"`
	PeriodSeconds       int64            `json:"periodSeconds,omitempty" yaml:"periodSeconds,omitempty"`
	SuccessThreshold    int64            `json:"successThreshold,omitempty" yaml:"successThreshold,omitempty"`
	TCPSocket           *TCPSocketAction `json:"tcpSocket,omitempty" yaml:"tcpSocket,omitempty"`
	TimeoutSeconds      int64            `json:"timeoutSeconds,omitempty" yaml:"timeoutSeconds,omitempty"`
}

type ProjectedVolumeSource

type ProjectedVolumeSource struct {
	DefaultMode *int64             `json:"defaultMode,omitempty" yaml:"defaultMode,omitempty"`
	Sources     []VolumeProjection `json:"sources,omitempty" yaml:"sources,omitempty"`
}

type QuobyteVolumeSource

type QuobyteVolumeSource struct {
	Group    string `json:"group,omitempty" yaml:"group,omitempty"`
	ReadOnly bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	Registry string `json:"registry,omitempty" yaml:"registry,omitempty"`
	User     string `json:"user,omitempty" yaml:"user,omitempty"`
	Volume   string `json:"volume,omitempty" yaml:"volume,omitempty"`
}

type RBDVolumeSource

type RBDVolumeSource struct {
	CephMonitors []string              `json:"monitors,omitempty" yaml:"monitors,omitempty"`
	FSType       string                `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Keyring      string                `json:"keyring,omitempty" yaml:"keyring,omitempty"`
	RBDImage     string                `json:"image,omitempty" yaml:"image,omitempty"`
	RBDPool      string                `json:"pool,omitempty" yaml:"pool,omitempty"`
	RadosUser    string                `json:"user,omitempty" yaml:"user,omitempty"`
	ReadOnly     bool                  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretRef    *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
}

type ResourceFieldSelector

type ResourceFieldSelector struct {
	ContainerName string `json:"containerName,omitempty" yaml:"containerName,omitempty"`
	Divisor       string `json:"divisor,omitempty" yaml:"divisor,omitempty"`
	Resource      string `json:"resource,omitempty" yaml:"resource,omitempty"`
}

type ResourceRequirements

type ResourceRequirements struct {
	Limits   map[string]string `json:"limits,omitempty" yaml:"limits,omitempty"`
	Requests map[string]string `json:"requests,omitempty" yaml:"requests,omitempty"`
}

type SELinuxOptions

type SELinuxOptions struct {
	Level string `json:"level,omitempty" yaml:"level,omitempty"`
	Role  string `json:"role,omitempty" yaml:"role,omitempty"`
	Type  string `json:"type,omitempty" yaml:"type,omitempty"`
	User  string `json:"user,omitempty" yaml:"user,omitempty"`
}

type ScaleIOVolumeSource

type ScaleIOVolumeSource struct {
	FSType           string                `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Gateway          string                `json:"gateway,omitempty" yaml:"gateway,omitempty"`
	ProtectionDomain string                `json:"protectionDomain,omitempty" yaml:"protectionDomain,omitempty"`
	ReadOnly         bool                  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SSLEnabled       bool                  `json:"sslEnabled,omitempty" yaml:"sslEnabled,omitempty"`
	SecretRef        *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	StorageMode      string                `json:"storageMode,omitempty" yaml:"storageMode,omitempty"`
	StoragePool      string                `json:"storagePool,omitempty" yaml:"storagePool,omitempty"`
	System           string                `json:"system,omitempty" yaml:"system,omitempty"`
	VolumeName       string                `json:"volumeName,omitempty" yaml:"volumeName,omitempty"`
}

type SecretEnvSource

type SecretEnvSource struct {
	Name     string `json:"name,omitempty" yaml:"name,omitempty"`
	Optional *bool  `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type SecretKeySelector

type SecretKeySelector struct {
	Key      string `json:"key,omitempty" yaml:"key,omitempty"`
	Name     string `json:"name,omitempty" yaml:"name,omitempty"`
	Optional *bool  `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type SecretProjection

type SecretProjection struct {
	Items    []KeyToPath `json:"items,omitempty" yaml:"items,omitempty"`
	Name     string      `json:"name,omitempty" yaml:"name,omitempty"`
	Optional *bool       `json:"optional,omitempty" yaml:"optional,omitempty"`
}

type SecretVolumeSource

type SecretVolumeSource struct {
	DefaultMode *int64      `json:"defaultMode,omitempty" yaml:"defaultMode,omitempty"`
	Items       []KeyToPath `json:"items,omitempty" yaml:"items,omitempty"`
	Optional    *bool       `json:"optional,omitempty" yaml:"optional,omitempty"`
	SecretName  string      `json:"secretName,omitempty" yaml:"secretName,omitempty"`
}

type SecurityContext

type SecurityContext struct {
	AllowPrivilegeEscalation *bool           `json:"allowPrivilegeEscalation,omitempty" yaml:"allowPrivilegeEscalation,omitempty"`
	Capabilities             *Capabilities   `json:"capabilities,omitempty" yaml:"capabilities,omitempty"`
	Privileged               *bool           `json:"privileged,omitempty" yaml:"privileged,omitempty"`
	ReadOnlyRootFilesystem   *bool           `json:"readOnlyRootFilesystem,omitempty" yaml:"readOnlyRootFilesystem,omitempty"`
	RunAsGroup               *int64          `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"`
	RunAsNonRoot             *bool           `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"`
	RunAsUser                *int64          `json:"runAsUser,omitempty" yaml:"runAsUser,omitempty"`
	SELinuxOptions           *SELinuxOptions `json:"seLinuxOptions,omitempty" yaml:"seLinuxOptions,omitempty"`
}

type Space

type Space struct {
	types.Resource
	Created              string            `json:"created,omitempty" yaml:"created,omitempty"`
	Labels               map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                 string            `json:"name,omitempty" yaml:"name,omitempty"`
	Removed              string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	State                string            `json:"state,omitempty" yaml:"state,omitempty"`
	Transitioning        string            `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage string            `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                 string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type SpaceClient

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

func (*SpaceClient) ByID

func (c *SpaceClient) ByID(id string) (*Space, error)

func (*SpaceClient) Create

func (c *SpaceClient) Create(container *Space) (*Space, error)

func (*SpaceClient) Delete

func (c *SpaceClient) Delete(container *Space) error

func (*SpaceClient) List

func (c *SpaceClient) List(opts *types.ListOpts) (*SpaceCollection, error)

func (*SpaceClient) Replace

func (c *SpaceClient) Replace(obj *Space) (*Space, error)

func (*SpaceClient) Update

func (c *SpaceClient) Update(existing *Space, updates interface{}) (*Space, error)

type SpaceCollection

type SpaceCollection struct {
	types.Collection
	Data []Space `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceCollection) Next

func (cc *SpaceCollection) Next() (*SpaceCollection, error)

type SpaceOperations

type SpaceOperations interface {
	List(opts *types.ListOpts) (*SpaceCollection, error)
	Create(opts *Space) (*Space, error)
	Update(existing *Space, updates interface{}) (*Space, error)
	Replace(existing *Space) (*Space, error)
	ByID(id string) (*Space, error)
	Delete(container *Space) error
}

type Status

type Status struct {
	APIVersion string         `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	Code       int64          `json:"code,omitempty" yaml:"code,omitempty"`
	Details    *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"`
	Kind       string         `json:"kind,omitempty" yaml:"kind,omitempty"`
	ListMeta   *ListMeta      `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Message    string         `json:"message,omitempty" yaml:"message,omitempty"`
	Reason     string         `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status     string         `json:"status,omitempty" yaml:"status,omitempty"`
}

type StatusCause

type StatusCause struct {
	Field   string `json:"field,omitempty" yaml:"field,omitempty"`
	Message string `json:"message,omitempty" yaml:"message,omitempty"`
	Type    string `json:"reason,omitempty" yaml:"reason,omitempty"`
}

type StatusDetails

type StatusDetails struct {
	Causes            []StatusCause `json:"causes,omitempty" yaml:"causes,omitempty"`
	Group             string        `json:"group,omitempty" yaml:"group,omitempty"`
	Kind              string        `json:"kind,omitempty" yaml:"kind,omitempty"`
	Name              string        `json:"name,omitempty" yaml:"name,omitempty"`
	RetryAfterSeconds int64         `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
	UID               string        `json:"uid,omitempty" yaml:"uid,omitempty"`
}

type StorageOSVolumeSource

type StorageOSVolumeSource struct {
	FSType          string                `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	ReadOnly        bool                  `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretRef       *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	VolumeName      string                `json:"volumeName,omitempty" yaml:"volumeName,omitempty"`
	VolumeNamespace string                `json:"volumeNamespace,omitempty" yaml:"volumeNamespace,omitempty"`
}

type TCPSocketAction

type TCPSocketAction struct {
	Host string             `json:"host,omitempty" yaml:"host,omitempty"`
	Port intstr.IntOrString `json:"port,omitempty" yaml:"port,omitempty"`
}

type Taint

type Taint struct {
	Effect    string `json:"effect,omitempty" yaml:"effect,omitempty"`
	Key       string `json:"key,omitempty" yaml:"key,omitempty"`
	TimeAdded string `json:"timeAdded,omitempty" yaml:"timeAdded,omitempty"`
	Value     string `json:"value,omitempty" yaml:"value,omitempty"`
}

type Toleration

type Toleration struct {
	Effect            string `json:"effect,omitempty" yaml:"effect,omitempty"`
	Key               string `json:"key,omitempty" yaml:"key,omitempty"`
	Operator          string `json:"operator,omitempty" yaml:"operator,omitempty"`
	TolerationSeconds *int64 `json:"tolerationSeconds,omitempty" yaml:"tolerationSeconds,omitempty"`
	Value             string `json:"value,omitempty" yaml:"value,omitempty"`
}

type Volume

type Volume struct {
	AWSElasticBlockStore  *AWSElasticBlockStoreVolumeSource  `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"`
	AzureDisk             *AzureDiskVolumeSource             `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"`
	AzureFile             *AzureFileVolumeSource             `json:"azureFile,omitempty" yaml:"azureFile,omitempty"`
	CephFS                *CephFSVolumeSource                `json:"cephfs,omitempty" yaml:"cephfs,omitempty"`
	Cinder                *CinderVolumeSource                `json:"cinder,omitempty" yaml:"cinder,omitempty"`
	ConfigMap             *ConfigMapVolumeSource             `json:"configMap,omitempty" yaml:"configMap,omitempty"`
	DownwardAPI           *DownwardAPIVolumeSource           `json:"downwardAPI,omitempty" yaml:"downwardAPI,omitempty"`
	EmptyDir              *EmptyDirVolumeSource              `json:"emptyDir,omitempty" yaml:"emptyDir,omitempty"`
	FC                    *FCVolumeSource                    `json:"fc,omitempty" yaml:"fc,omitempty"`
	FlexVolume            *FlexVolumeSource                  `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
	Flocker               *FlockerVolumeSource               `json:"flocker,omitempty" yaml:"flocker,omitempty"`
	GCEPersistentDisk     *GCEPersistentDiskVolumeSource     `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
	GitRepo               *GitRepoVolumeSource               `json:"gitRepo,omitempty" yaml:"gitRepo,omitempty"`
	Glusterfs             *GlusterfsVolumeSource             `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
	HostPath              *HostPathVolumeSource              `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
	ISCSI                 *ISCSIVolumeSource                 `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
	NFS                   *NFSVolumeSource                   `json:"nfs,omitempty" yaml:"nfs,omitempty"`
	Name                  string                             `json:"name,omitempty" yaml:"name,omitempty"`
	PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty" yaml:"persistentVolumeClaim,omitempty"`
	PhotonPersistentDisk  *PhotonPersistentDiskVolumeSource  `json:"photonPersistentDisk,omitempty" yaml:"photonPersistentDisk,omitempty"`
	PortworxVolume        *PortworxVolumeSource              `json:"portworxVolume,omitempty" yaml:"portworxVolume,omitempty"`
	Projected             *ProjectedVolumeSource             `json:"projected,omitempty" yaml:"projected,omitempty"`
	Quobyte               *QuobyteVolumeSource               `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
	RBD                   *RBDVolumeSource                   `json:"rbd,omitempty" yaml:"rbd,omitempty"`
	ScaleIO               *ScaleIOVolumeSource               `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
	Secret                *SecretVolumeSource                `json:"secret,omitempty" yaml:"secret,omitempty"`
	StorageOS             *StorageOSVolumeSource             `json:"storageos,omitempty" yaml:"storageos,omitempty"`
	VsphereVolume         *VsphereVirtualDiskVolumeSource    `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
}

type VolumeDevice

type VolumeDevice struct {
	DevicePath string `json:"devicePath,omitempty" yaml:"devicePath,omitempty"`
	Name       string `json:"name,omitempty" yaml:"name,omitempty"`
}

type VolumeMount

type VolumeMount struct {
	MountPath        string `json:"mountPath,omitempty" yaml:"mountPath,omitempty"`
	MountPropagation string `json:"mountPropagation,omitempty" yaml:"mountPropagation,omitempty"`
	Name             string `json:"name,omitempty" yaml:"name,omitempty"`
	ReadOnly         bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SubPath          string `json:"subPath,omitempty" yaml:"subPath,omitempty"`
}

type VolumeProjection

type VolumeProjection struct {
	ConfigMap   *ConfigMapProjection   `json:"configMap,omitempty" yaml:"configMap,omitempty"`
	DownwardAPI *DownwardAPIProjection `json:"downwardAPI,omitempty" yaml:"downwardAPI,omitempty"`
	Secret      *SecretProjection      `json:"secret,omitempty" yaml:"secret,omitempty"`
}

type VsphereVirtualDiskVolumeSource

type VsphereVirtualDiskVolumeSource struct {
	FSType            string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	StoragePolicyID   string `json:"storagePolicyID,omitempty" yaml:"storagePolicyID,omitempty"`
	StoragePolicyName string `json:"storagePolicyName,omitempty" yaml:"storagePolicyName,omitempty"`
	VolumePath        string `json:"volumePath,omitempty" yaml:"volumePath,omitempty"`
}

type WeightedPodAffinityTerm

type WeightedPodAffinityTerm struct {
	PodAffinityTerm *PodAffinityTerm `json:"podAffinityTerm,omitempty" yaml:"podAffinityTerm,omitempty"`
	Weight          int64            `json:"weight,omitempty" yaml:"weight,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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