client

package
v0.0.0-...-4370ff1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 369

Documentation

Index

Constants

View Source
const (
	APIServiceType                       = "apiService"
	APIServiceFieldAnnotations           = "annotations"
	APIServiceFieldCABundle              = "caBundle"
	APIServiceFieldConditions            = "conditions"
	APIServiceFieldCreated               = "created"
	APIServiceFieldCreatorID             = "creatorId"
	APIServiceFieldGroup                 = "group"
	APIServiceFieldGroupPriorityMinimum  = "groupPriorityMinimum"
	APIServiceFieldInsecureSkipTLSVerify = "insecureSkipTLSVerify"
	APIServiceFieldLabels                = "labels"
	APIServiceFieldName                  = "name"
	APIServiceFieldOwnerReferences       = "ownerReferences"
	APIServiceFieldRemoved               = "removed"
	APIServiceFieldService               = "service"
	APIServiceFieldState                 = "state"
	APIServiceFieldTransitioning         = "transitioning"
	APIServiceFieldTransitioningMessage  = "transitioningMessage"
	APIServiceFieldUUID                  = "uuid"
	APIServiceFieldVersion               = "version"
	APIServiceFieldVersionPriority       = "versionPriority"
)
View Source
const (
	APIServiceConditionType                    = "apiServiceCondition"
	APIServiceConditionFieldLastTransitionTime = "lastTransitionTime"
	APIServiceConditionFieldMessage            = "message"
	APIServiceConditionFieldReason             = "reason"
	APIServiceConditionFieldStatus             = "status"
	APIServiceConditionFieldType               = "type"
)
View Source
const (
	APIServiceSpecType                       = "apiServiceSpec"
	APIServiceSpecFieldCABundle              = "caBundle"
	APIServiceSpecFieldGroup                 = "group"
	APIServiceSpecFieldGroupPriorityMinimum  = "groupPriorityMinimum"
	APIServiceSpecFieldInsecureSkipTLSVerify = "insecureSkipTLSVerify"
	APIServiceSpecFieldService               = "service"
	APIServiceSpecFieldVersion               = "version"
	APIServiceSpecFieldVersionPriority       = "versionPriority"
)
View Source
const (
	APIServiceStatusType            = "apiServiceStatus"
	APIServiceStatusFieldConditions = "conditions"
)
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 (
	AzureFilePersistentVolumeSourceType                 = "azureFilePersistentVolumeSource"
	AzureFilePersistentVolumeSourceFieldReadOnly        = "readOnly"
	AzureFilePersistentVolumeSourceFieldSecretName      = "secretName"
	AzureFilePersistentVolumeSourceFieldSecretNamespace = "secretNamespace"
	AzureFilePersistentVolumeSourceFieldShareName       = "shareName"
)
View Source
const (
	CephFSPersistentVolumeSourceType            = "cephFSPersistentVolumeSource"
	CephFSPersistentVolumeSourceFieldMonitors   = "monitors"
	CephFSPersistentVolumeSourceFieldPath       = "path"
	CephFSPersistentVolumeSourceFieldReadOnly   = "readOnly"
	CephFSPersistentVolumeSourceFieldSecretFile = "secretFile"
	CephFSPersistentVolumeSourceFieldSecretRef  = "secretRef"
	CephFSPersistentVolumeSourceFieldUser       = "user"
)
View Source
const (
	CinderPersistentVolumeSourceType           = "cinderPersistentVolumeSource"
	CinderPersistentVolumeSourceFieldFSType    = "fsType"
	CinderPersistentVolumeSourceFieldReadOnly  = "readOnly"
	CinderPersistentVolumeSourceFieldSecretRef = "secretRef"
	CinderPersistentVolumeSourceFieldVolumeID  = "volumeID"
)
View Source
const (
	ClusterAuthTokenType                 = "clusterAuthToken"
	ClusterAuthTokenFieldAnnotations     = "annotations"
	ClusterAuthTokenFieldCreated         = "created"
	ClusterAuthTokenFieldCreatorID       = "creatorId"
	ClusterAuthTokenFieldEnabled         = "enabled"
	ClusterAuthTokenFieldExpiresAt       = "expiresAt"
	ClusterAuthTokenFieldLabels          = "labels"
	ClusterAuthTokenFieldName            = "name"
	ClusterAuthTokenFieldNamespaceId     = "namespaceId"
	ClusterAuthTokenFieldOwnerReferences = "ownerReferences"
	ClusterAuthTokenFieldRemoved         = "removed"
	ClusterAuthTokenFieldSecretKeyHash   = "hash"
	ClusterAuthTokenFieldUUID            = "uuid"
	ClusterAuthTokenFieldUserName        = "userName"
)
View Source
const (
	ClusterUserAttributeType                 = "clusterUserAttribute"
	ClusterUserAttributeFieldAnnotations     = "annotations"
	ClusterUserAttributeFieldCreated         = "created"
	ClusterUserAttributeFieldCreatorID       = "creatorId"
	ClusterUserAttributeFieldEnabled         = "enabled"
	ClusterUserAttributeFieldGroups          = "groups"
	ClusterUserAttributeFieldLabels          = "labels"
	ClusterUserAttributeFieldLastRefresh     = "lastRefresh"
	ClusterUserAttributeFieldName            = "name"
	ClusterUserAttributeFieldNamespaceId     = "namespaceId"
	ClusterUserAttributeFieldNeedsRefresh    = "needsRefresh"
	ClusterUserAttributeFieldOwnerReferences = "ownerReferences"
	ClusterUserAttributeFieldRemoved         = "removed"
	ClusterUserAttributeFieldUUID            = "uuid"
)
View Source
const (
	ContainerResourceLimitType                = "containerResourceLimit"
	ContainerResourceLimitFieldLimitsCPU      = "limitsCpu"
	ContainerResourceLimitFieldLimitsMemory   = "limitsMemory"
	ContainerResourceLimitFieldRequestsCPU    = "requestsCpu"
	ContainerResourceLimitFieldRequestsMemory = "requestsMemory"
)
View Source
const (
	CSIPersistentVolumeSourceType                            = "csiPersistentVolumeSource"
	CSIPersistentVolumeSourceFieldControllerExpandSecretRef  = "controllerExpandSecretRef"
	CSIPersistentVolumeSourceFieldControllerPublishSecretRef = "controllerPublishSecretRef"
	CSIPersistentVolumeSourceFieldDriver                     = "driver"
	CSIPersistentVolumeSourceFieldFSType                     = "fsType"
	CSIPersistentVolumeSourceFieldNodePublishSecretRef       = "nodePublishSecretRef"
	CSIPersistentVolumeSourceFieldNodeStageSecretRef         = "nodeStageSecretRef"
	CSIPersistentVolumeSourceFieldReadOnly                   = "readOnly"
	CSIPersistentVolumeSourceFieldVolumeAttributes           = "volumeAttributes"
	CSIPersistentVolumeSourceFieldVolumeHandle               = "volumeHandle"
)
View Source
const (
	FCVolumeSourceType            = "fcVolumeSource"
	FCVolumeSourceFieldFSType     = "fsType"
	FCVolumeSourceFieldLun        = "lun"
	FCVolumeSourceFieldReadOnly   = "readOnly"
	FCVolumeSourceFieldTargetWWNs = "targetWWNs"
	FCVolumeSourceFieldWWIDs      = "wwids"
)
View Source
const (
	FlexPersistentVolumeSourceType           = "flexPersistentVolumeSource"
	FlexPersistentVolumeSourceFieldDriver    = "driver"
	FlexPersistentVolumeSourceFieldFSType    = "fsType"
	FlexPersistentVolumeSourceFieldOptions   = "options"
	FlexPersistentVolumeSourceFieldReadOnly  = "readOnly"
	FlexPersistentVolumeSourceFieldSecretRef = "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 (
	GlusterfsPersistentVolumeSourceType                    = "glusterfsPersistentVolumeSource"
	GlusterfsPersistentVolumeSourceFieldEndpointsName      = "endpoints"
	GlusterfsPersistentVolumeSourceFieldEndpointsNamespace = "endpointsNamespace"
	GlusterfsPersistentVolumeSourceFieldPath               = "path"
	GlusterfsPersistentVolumeSourceFieldReadOnly           = "readOnly"
)
View Source
const (
	HostPathVolumeSourceType      = "hostPathVolumeSource"
	HostPathVolumeSourceFieldKind = "kind"
	HostPathVolumeSourceFieldPath = "path"
)
View Source
const (
	ISCSIPersistentVolumeSourceType                   = "iscsiPersistentVolumeSource"
	ISCSIPersistentVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
	ISCSIPersistentVolumeSourceFieldFSType            = "fsType"
	ISCSIPersistentVolumeSourceFieldIQN               = "iqn"
	ISCSIPersistentVolumeSourceFieldISCSIInterface    = "iscsiInterface"
	ISCSIPersistentVolumeSourceFieldInitiatorName     = "initiatorName"
	ISCSIPersistentVolumeSourceFieldLun               = "lun"
	ISCSIPersistentVolumeSourceFieldPortals           = "portals"
	ISCSIPersistentVolumeSourceFieldReadOnly          = "readOnly"
	ISCSIPersistentVolumeSourceFieldSecretRef         = "secretRef"
	ISCSIPersistentVolumeSourceFieldSessionCHAPAuth   = "chapAuthSession"
	ISCSIPersistentVolumeSourceFieldTargetPortal      = "targetPortal"
)
View Source
const (
	LocalVolumeSourceType        = "localVolumeSource"
	LocalVolumeSourceFieldFSType = "fsType"
	LocalVolumeSourceFieldPath   = "path"
)
View Source
const (
	NamespaceType                               = "namespace"
	NamespaceFieldAnnotations                   = "annotations"
	NamespaceFieldContainerDefaultResourceLimit = "containerDefaultResourceLimit"
	NamespaceFieldCreated                       = "created"
	NamespaceFieldCreatorID                     = "creatorId"
	NamespaceFieldDescription                   = "description"
	NamespaceFieldLabels                        = "labels"
	NamespaceFieldName                          = "name"
	NamespaceFieldOwnerReferences               = "ownerReferences"
	NamespaceFieldProjectID                     = "projectId"
	NamespaceFieldRemoved                       = "removed"
	NamespaceFieldResourceQuota                 = "resourceQuota"
	NamespaceFieldState                         = "state"
	NamespaceFieldTransitioning                 = "transitioning"
	NamespaceFieldTransitioningMessage          = "transitioningMessage"
	NamespaceFieldUUID                          = "uuid"
)
View Source
const (
	NamespaceConditionType                    = "namespaceCondition"
	NamespaceConditionFieldLastTransitionTime = "lastTransitionTime"
	NamespaceConditionFieldMessage            = "message"
	NamespaceConditionFieldReason             = "reason"
	NamespaceConditionFieldStatus             = "status"
	NamespaceConditionFieldType               = "type"
)
View Source
const (
	NamespaceMoveType           = "namespaceMove"
	NamespaceMoveFieldProjectID = "projectId"
)
View Source
const (
	NamespaceResourceQuotaType       = "namespaceResourceQuota"
	NamespaceResourceQuotaFieldLimit = "limit"
)
View Source
const (
	NamespaceStatusType            = "namespaceStatus"
	NamespaceStatusFieldConditions = "conditions"
	NamespaceStatusFieldPhase      = "phase"
)
View Source
const (
	NFSVolumeSourceType          = "nfsVolumeSource"
	NFSVolumeSourceFieldPath     = "path"
	NFSVolumeSourceFieldReadOnly = "readOnly"
	NFSVolumeSourceFieldServer   = "server"
)
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"
	NodeSelectorTermFieldMatchFields      = "matchFields"
)
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 (
	PersistentVolumeType                               = "persistentVolume"
	PersistentVolumeFieldAWSElasticBlockStore          = "awsElasticBlockStore"
	PersistentVolumeFieldAccessModes                   = "accessModes"
	PersistentVolumeFieldAnnotations                   = "annotations"
	PersistentVolumeFieldAzureDisk                     = "azureDisk"
	PersistentVolumeFieldAzureFile                     = "azureFile"
	PersistentVolumeFieldCSI                           = "csi"
	PersistentVolumeFieldCapacity                      = "capacity"
	PersistentVolumeFieldCephFS                        = "cephfs"
	PersistentVolumeFieldCinder                        = "cinder"
	PersistentVolumeFieldClaimRef                      = "claimRef"
	PersistentVolumeFieldCreated                       = "created"
	PersistentVolumeFieldCreatorID                     = "creatorId"
	PersistentVolumeFieldDescription                   = "description"
	PersistentVolumeFieldFC                            = "fc"
	PersistentVolumeFieldFlexVolume                    = "flexVolume"
	PersistentVolumeFieldFlocker                       = "flocker"
	PersistentVolumeFieldGCEPersistentDisk             = "gcePersistentDisk"
	PersistentVolumeFieldGlusterfs                     = "glusterfs"
	PersistentVolumeFieldHostPath                      = "hostPath"
	PersistentVolumeFieldISCSI                         = "iscsi"
	PersistentVolumeFieldLabels                        = "labels"
	PersistentVolumeFieldLocal                         = "local"
	PersistentVolumeFieldMountOptions                  = "mountOptions"
	PersistentVolumeFieldNFS                           = "nfs"
	PersistentVolumeFieldName                          = "name"
	PersistentVolumeFieldNodeAffinity                  = "nodeAffinity"
	PersistentVolumeFieldOwnerReferences               = "ownerReferences"
	PersistentVolumeFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy"
	PersistentVolumeFieldPhotonPersistentDisk          = "photonPersistentDisk"
	PersistentVolumeFieldPortworxVolume                = "portworxVolume"
	PersistentVolumeFieldQuobyte                       = "quobyte"
	PersistentVolumeFieldRBD                           = "rbd"
	PersistentVolumeFieldRemoved                       = "removed"
	PersistentVolumeFieldScaleIO                       = "scaleIO"
	PersistentVolumeFieldState                         = "state"
	PersistentVolumeFieldStatus                        = "status"
	PersistentVolumeFieldStorageClassID                = "storageClassId"
	PersistentVolumeFieldStorageOS                     = "storageos"
	PersistentVolumeFieldTransitioning                 = "transitioning"
	PersistentVolumeFieldTransitioningMessage          = "transitioningMessage"
	PersistentVolumeFieldUUID                          = "uuid"
	PersistentVolumeFieldVolumeMode                    = "volumeMode"
	PersistentVolumeFieldVsphereVolume                 = "vsphereVolume"
)
View Source
const (
	PersistentVolumeSpecType                               = "persistentVolumeSpec"
	PersistentVolumeSpecFieldAWSElasticBlockStore          = "awsElasticBlockStore"
	PersistentVolumeSpecFieldAccessModes                   = "accessModes"
	PersistentVolumeSpecFieldAzureDisk                     = "azureDisk"
	PersistentVolumeSpecFieldAzureFile                     = "azureFile"
	PersistentVolumeSpecFieldCSI                           = "csi"
	PersistentVolumeSpecFieldCapacity                      = "capacity"
	PersistentVolumeSpecFieldCephFS                        = "cephfs"
	PersistentVolumeSpecFieldCinder                        = "cinder"
	PersistentVolumeSpecFieldClaimRef                      = "claimRef"
	PersistentVolumeSpecFieldFC                            = "fc"
	PersistentVolumeSpecFieldFlexVolume                    = "flexVolume"
	PersistentVolumeSpecFieldFlocker                       = "flocker"
	PersistentVolumeSpecFieldGCEPersistentDisk             = "gcePersistentDisk"
	PersistentVolumeSpecFieldGlusterfs                     = "glusterfs"
	PersistentVolumeSpecFieldHostPath                      = "hostPath"
	PersistentVolumeSpecFieldISCSI                         = "iscsi"
	PersistentVolumeSpecFieldLocal                         = "local"
	PersistentVolumeSpecFieldMountOptions                  = "mountOptions"
	PersistentVolumeSpecFieldNFS                           = "nfs"
	PersistentVolumeSpecFieldNodeAffinity                  = "nodeAffinity"
	PersistentVolumeSpecFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy"
	PersistentVolumeSpecFieldPhotonPersistentDisk          = "photonPersistentDisk"
	PersistentVolumeSpecFieldPortworxVolume                = "portworxVolume"
	PersistentVolumeSpecFieldQuobyte                       = "quobyte"
	PersistentVolumeSpecFieldRBD                           = "rbd"
	PersistentVolumeSpecFieldScaleIO                       = "scaleIO"
	PersistentVolumeSpecFieldStorageClassID                = "storageClassId"
	PersistentVolumeSpecFieldStorageOS                     = "storageos"
	PersistentVolumeSpecFieldVolumeMode                    = "volumeMode"
	PersistentVolumeSpecFieldVsphereVolume                 = "vsphereVolume"
)
View Source
const (
	PersistentVolumeStatusType         = "persistentVolumeStatus"
	PersistentVolumeStatusFieldMessage = "message"
	PersistentVolumeStatusFieldPhase   = "phase"
	PersistentVolumeStatusFieldReason  = "reason"
)
View Source
const (
	PhotonPersistentDiskVolumeSourceType        = "photonPersistentDiskVolumeSource"
	PhotonPersistentDiskVolumeSourceFieldFSType = "fsType"
	PhotonPersistentDiskVolumeSourceFieldPdID   = "pdID"
)
View Source
const (
	PortworxVolumeSourceType          = "portworxVolumeSource"
	PortworxVolumeSourceFieldFSType   = "fsType"
	PortworxVolumeSourceFieldReadOnly = "readOnly"
	PortworxVolumeSourceFieldVolumeID = "volumeID"
)
View Source
const (
	QuobyteVolumeSourceType          = "quobyteVolumeSource"
	QuobyteVolumeSourceFieldGroup    = "group"
	QuobyteVolumeSourceFieldReadOnly = "readOnly"
	QuobyteVolumeSourceFieldRegistry = "registry"
	QuobyteVolumeSourceFieldTenant   = "tenant"
	QuobyteVolumeSourceFieldUser     = "user"
	QuobyteVolumeSourceFieldVolume   = "volume"
)
View Source
const (
	RBDPersistentVolumeSourceType              = "rbdPersistentVolumeSource"
	RBDPersistentVolumeSourceFieldCephMonitors = "monitors"
	RBDPersistentVolumeSourceFieldFSType       = "fsType"
	RBDPersistentVolumeSourceFieldKeyring      = "keyring"
	RBDPersistentVolumeSourceFieldRBDImage     = "image"
	RBDPersistentVolumeSourceFieldRBDPool      = "pool"
	RBDPersistentVolumeSourceFieldRadosUser    = "user"
	RBDPersistentVolumeSourceFieldReadOnly     = "readOnly"
	RBDPersistentVolumeSourceFieldSecretRef    = "secretRef"
)
View Source
const (
	ResourceQuotaLimitType                        = "resourceQuotaLimit"
	ResourceQuotaLimitFieldConfigMaps             = "configMaps"
	ResourceQuotaLimitFieldLimitsCPU              = "limitsCpu"
	ResourceQuotaLimitFieldLimitsMemory           = "limitsMemory"
	ResourceQuotaLimitFieldPersistentVolumeClaims = "persistentVolumeClaims"
	ResourceQuotaLimitFieldPods                   = "pods"
	ResourceQuotaLimitFieldReplicationControllers = "replicationControllers"
	ResourceQuotaLimitFieldRequestsCPU            = "requestsCpu"
	ResourceQuotaLimitFieldRequestsMemory         = "requestsMemory"
	ResourceQuotaLimitFieldRequestsStorage        = "requestsStorage"
	ResourceQuotaLimitFieldSecrets                = "secrets"
	ResourceQuotaLimitFieldServices               = "services"
	ResourceQuotaLimitFieldServicesLoadBalancers  = "servicesLoadBalancers"
	ResourceQuotaLimitFieldServicesNodePorts      = "servicesNodePorts"
)
View Source
const (
	ScaleIOPersistentVolumeSourceType                  = "scaleIOPersistentVolumeSource"
	ScaleIOPersistentVolumeSourceFieldFSType           = "fsType"
	ScaleIOPersistentVolumeSourceFieldGateway          = "gateway"
	ScaleIOPersistentVolumeSourceFieldProtectionDomain = "protectionDomain"
	ScaleIOPersistentVolumeSourceFieldReadOnly         = "readOnly"
	ScaleIOPersistentVolumeSourceFieldSSLEnabled       = "sslEnabled"
	ScaleIOPersistentVolumeSourceFieldSecretRef        = "secretRef"
	ScaleIOPersistentVolumeSourceFieldStorageMode      = "storageMode"
	ScaleIOPersistentVolumeSourceFieldStoragePool      = "storagePool"
	ScaleIOPersistentVolumeSourceFieldSystem           = "system"
	ScaleIOPersistentVolumeSourceFieldVolumeName       = "volumeName"
)
View Source
const (
	SecretReferenceType           = "secretReference"
	SecretReferenceFieldName      = "name"
	SecretReferenceFieldNamespace = "namespace"
)
View Source
const (
	ServiceReferenceType           = "serviceReference"
	ServiceReferenceFieldName      = "name"
	ServiceReferenceFieldNamespace = "namespace"
	ServiceReferenceFieldPort      = "port"
)
View Source
const (
	StorageClassType                      = "storageClass"
	StorageClassFieldAllowVolumeExpansion = "allowVolumeExpansion"
	StorageClassFieldAllowedTopologies    = "allowedTopologies"
	StorageClassFieldAnnotations          = "annotations"
	StorageClassFieldCreated              = "created"
	StorageClassFieldCreatorID            = "creatorId"
	StorageClassFieldDescription          = "description"
	StorageClassFieldLabels               = "labels"
	StorageClassFieldMountOptions         = "mountOptions"
	StorageClassFieldName                 = "name"
	StorageClassFieldOwnerReferences      = "ownerReferences"
	StorageClassFieldParameters           = "parameters"
	StorageClassFieldProvisioner          = "provisioner"
	StorageClassFieldReclaimPolicy        = "reclaimPolicy"
	StorageClassFieldRemoved              = "removed"
	StorageClassFieldUUID                 = "uuid"
	StorageClassFieldVolumeBindingMode    = "volumeBindingMode"
)
View Source
const (
	StorageOSPersistentVolumeSourceType                 = "storageOSPersistentVolumeSource"
	StorageOSPersistentVolumeSourceFieldFSType          = "fsType"
	StorageOSPersistentVolumeSourceFieldReadOnly        = "readOnly"
	StorageOSPersistentVolumeSourceFieldSecretRef       = "secretRef"
	StorageOSPersistentVolumeSourceFieldVolumeName      = "volumeName"
	StorageOSPersistentVolumeSourceFieldVolumeNamespace = "volumeNamespace"
)
View Source
const (
	TopologySelectorLabelRequirementType        = "topologySelectorLabelRequirement"
	TopologySelectorLabelRequirementFieldKey    = "key"
	TopologySelectorLabelRequirementFieldValues = "values"
)
View Source
const (
	TopologySelectorTermType                       = "topologySelectorTerm"
	TopologySelectorTermFieldMatchLabelExpressions = "matchLabelExpressions"
)
View Source
const (
	VolumeNodeAffinityType          = "volumeNodeAffinity"
	VolumeNodeAffinityFieldRequired = "required"
)
View Source
const (
	VsphereVirtualDiskVolumeSourceType                   = "vsphereVirtualDiskVolumeSource"
	VsphereVirtualDiskVolumeSourceFieldFSType            = "fsType"
	VsphereVirtualDiskVolumeSourceFieldStoragePolicyID   = "storagePolicyID"
	VsphereVirtualDiskVolumeSourceFieldStoragePolicyName = "storagePolicyName"
	VsphereVirtualDiskVolumeSourceFieldVolumePath        = "volumePath"
)
View Source
const (
	NamespaceSpecType = "namespaceSpec"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIService

type APIService struct {
	types.Resource
	Annotations           map[string]string     `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	CABundle              string                `json:"caBundle,omitempty" yaml:"caBundle,omitempty"`
	Conditions            []APIServiceCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	Created               string                `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID             string                `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Group                 string                `json:"group,omitempty" yaml:"group,omitempty"`
	GroupPriorityMinimum  int64                 `json:"groupPriorityMinimum,omitempty" yaml:"groupPriorityMinimum,omitempty"`
	InsecureSkipTLSVerify bool                  `json:"insecureSkipTLSVerify,omitempty" yaml:"insecureSkipTLSVerify,omitempty"`
	Labels                map[string]string     `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                  string                `json:"name,omitempty" yaml:"name,omitempty"`
	OwnerReferences       []OwnerReference      `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	Removed               string                `json:"removed,omitempty" yaml:"removed,omitempty"`
	Service               *ServiceReference     `json:"service,omitempty" yaml:"service,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"`
	Version               string                `json:"version,omitempty" yaml:"version,omitempty"`
	VersionPriority       int64                 `json:"versionPriority,omitempty" yaml:"versionPriority,omitempty"`
}

type APIServiceClient

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

func (*APIServiceClient) ByID

func (c *APIServiceClient) ByID(id string) (*APIService, error)

func (*APIServiceClient) Create

func (c *APIServiceClient) Create(container *APIService) (*APIService, error)

func (*APIServiceClient) Delete

func (c *APIServiceClient) Delete(container *APIService) error

func (*APIServiceClient) List

func (*APIServiceClient) ListAll

func (*APIServiceClient) Replace

func (c *APIServiceClient) Replace(obj *APIService) (*APIService, error)

func (*APIServiceClient) Update

func (c *APIServiceClient) Update(existing *APIService, updates interface{}) (*APIService, error)

type APIServiceCollection

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

func (*APIServiceCollection) Next

type APIServiceCondition

type APIServiceCondition struct {
	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 APIServiceOperations

type APIServiceOperations interface {
	List(opts *types.ListOpts) (*APIServiceCollection, error)
	ListAll(opts *types.ListOpts) (*APIServiceCollection, error)
	Create(opts *APIService) (*APIService, error)
	Update(existing *APIService, updates interface{}) (*APIService, error)
	Replace(existing *APIService) (*APIService, error)
	ByID(id string) (*APIService, error)
	Delete(container *APIService) error
}

type APIServiceSpec

type APIServiceSpec struct {
	CABundle              string            `json:"caBundle,omitempty" yaml:"caBundle,omitempty"`
	Group                 string            `json:"group,omitempty" yaml:"group,omitempty"`
	GroupPriorityMinimum  int64             `json:"groupPriorityMinimum,omitempty" yaml:"groupPriorityMinimum,omitempty"`
	InsecureSkipTLSVerify bool              `json:"insecureSkipTLSVerify,omitempty" yaml:"insecureSkipTLSVerify,omitempty"`
	Service               *ServiceReference `json:"service,omitempty" yaml:"service,omitempty"`
	Version               string            `json:"version,omitempty" yaml:"version,omitempty"`
	VersionPriority       int64             `json:"versionPriority,omitempty" yaml:"versionPriority,omitempty"`
}

type APIServiceStatus

type APIServiceStatus struct {
	Conditions []APIServiceCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
}

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

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

type CSIPersistentVolumeSource

type CSIPersistentVolumeSource struct {
	ControllerExpandSecretRef  *SecretReference  `json:"controllerExpandSecretRef,omitempty" yaml:"controllerExpandSecretRef,omitempty"`
	ControllerPublishSecretRef *SecretReference  `json:"controllerPublishSecretRef,omitempty" yaml:"controllerPublishSecretRef,omitempty"`
	Driver                     string            `json:"driver,omitempty" yaml:"driver,omitempty"`
	FSType                     string            `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	NodePublishSecretRef       *SecretReference  `json:"nodePublishSecretRef,omitempty" yaml:"nodePublishSecretRef,omitempty"`
	NodeStageSecretRef         *SecretReference  `json:"nodeStageSecretRef,omitempty" yaml:"nodeStageSecretRef,omitempty"`
	ReadOnly                   bool              `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	VolumeAttributes           map[string]string `json:"volumeAttributes,omitempty" yaml:"volumeAttributes,omitempty"`
	VolumeHandle               string            `json:"volumeHandle,omitempty" yaml:"volumeHandle,omitempty"`
}

type CephFSPersistentVolumeSource

type CephFSPersistentVolumeSource 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  *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	User       string           `json:"user,omitempty" yaml:"user,omitempty"`
}

type CinderPersistentVolumeSource

type CinderPersistentVolumeSource struct {
	FSType    string           `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	ReadOnly  bool             `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	VolumeID  string           `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
}

type Client

type Client struct {
	clientbase.APIBaseClient

	Namespace        NamespaceOperations
	PersistentVolume PersistentVolumeOperations
	StorageClass     StorageClassOperations
	APIService       APIServiceOperations
}

func NewClient

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

type ClusterAuthToken

type ClusterAuthToken struct {
	Annotations     map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	Created         string            `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID       string            `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Enabled         bool              `json:"enabled,omitempty" yaml:"enabled,omitempty"`
	ExpiresAt       string            `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"`
	Labels          map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name            string            `json:"name,omitempty" yaml:"name,omitempty"`
	NamespaceId     string            `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
	OwnerReferences []OwnerReference  `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	Removed         string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	SecretKeyHash   string            `json:"hash,omitempty" yaml:"hash,omitempty"`
	UUID            string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
	UserName        string            `json:"userName,omitempty" yaml:"userName,omitempty"`
}

type ClusterUserAttribute

type ClusterUserAttribute struct {
	Annotations     map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	Created         string            `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID       string            `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Enabled         bool              `json:"enabled,omitempty" yaml:"enabled,omitempty"`
	Groups          []string          `json:"groups,omitempty" yaml:"groups,omitempty"`
	Labels          map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	LastRefresh     string            `json:"lastRefresh,omitempty" yaml:"lastRefresh,omitempty"`
	Name            string            `json:"name,omitempty" yaml:"name,omitempty"`
	NamespaceId     string            `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
	NeedsRefresh    bool              `json:"needsRefresh,omitempty" yaml:"needsRefresh,omitempty"`
	OwnerReferences []OwnerReference  `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	Removed         string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	UUID            string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type ContainerResourceLimit

type ContainerResourceLimit struct {
	LimitsCPU      string `json:"limitsCpu,omitempty" yaml:"limitsCpu,omitempty"`
	LimitsMemory   string `json:"limitsMemory,omitempty" yaml:"limitsMemory,omitempty"`
	RequestsCPU    string `json:"requestsCpu,omitempty" yaml:"requestsCpu,omitempty"`
	RequestsMemory string `json:"requestsMemory,omitempty" yaml:"requestsMemory,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 FlexPersistentVolumeSource

type FlexPersistentVolumeSource 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 *SecretReference  `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 GlusterfsPersistentVolumeSource

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

type HostPathVolumeSource

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

type ISCSIPersistentVolumeSource

type ISCSIPersistentVolumeSource 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         *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
	SessionCHAPAuth   bool             `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
	TargetPortal      string           `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
}

type LocalVolumeSource

type LocalVolumeSource struct {
	FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	Path   string `json:"path,omitempty" yaml:"path,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 Namespace

type Namespace struct {
	types.Resource
	Annotations                   map[string]string       `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	ContainerDefaultResourceLimit *ContainerResourceLimit `json:"containerDefaultResourceLimit,omitempty" yaml:"containerDefaultResourceLimit,omitempty"`
	Created                       string                  `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID                     string                  `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Description                   string                  `json:"description,omitempty" yaml:"description,omitempty"`
	Labels                        map[string]string       `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                          string                  `json:"name,omitempty" yaml:"name,omitempty"`
	OwnerReferences               []OwnerReference        `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	ProjectID                     string                  `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Removed                       string                  `json:"removed,omitempty" yaml:"removed,omitempty"`
	ResourceQuota                 *NamespaceResourceQuota `json:"resourceQuota,omitempty" yaml:"resourceQuota,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 NamespaceClient

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

func (*NamespaceClient) ActionMove

func (c *NamespaceClient) ActionMove(resource *Namespace, input *NamespaceMove) error

func (*NamespaceClient) ByID

func (c *NamespaceClient) ByID(id string) (*Namespace, error)

func (*NamespaceClient) Create

func (c *NamespaceClient) Create(container *Namespace) (*Namespace, error)

func (*NamespaceClient) Delete

func (c *NamespaceClient) Delete(container *Namespace) error

func (*NamespaceClient) List

func (*NamespaceClient) ListAll

func (c *NamespaceClient) ListAll(opts *types.ListOpts) (*NamespaceCollection, error)

func (*NamespaceClient) Replace

func (c *NamespaceClient) Replace(obj *Namespace) (*Namespace, error)

func (*NamespaceClient) Update

func (c *NamespaceClient) Update(existing *Namespace, updates interface{}) (*Namespace, error)

type NamespaceCollection

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

func (*NamespaceCollection) Next

type NamespaceCondition

type NamespaceCondition struct {
	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 NamespaceMove

type NamespaceMove struct {
	ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
}

type NamespaceOperations

type NamespaceOperations interface {
	List(opts *types.ListOpts) (*NamespaceCollection, error)
	ListAll(opts *types.ListOpts) (*NamespaceCollection, error)
	Create(opts *Namespace) (*Namespace, error)
	Update(existing *Namespace, updates interface{}) (*Namespace, error)
	Replace(existing *Namespace) (*Namespace, error)
	ByID(id string) (*Namespace, error)
	Delete(container *Namespace) error

	ActionMove(resource *Namespace, input *NamespaceMove) error
}

type NamespaceResourceQuota

type NamespaceResourceQuota struct {
	Limit *ResourceQuotaLimit `json:"limit,omitempty" yaml:"limit,omitempty"`
}

type NamespaceSpec

type NamespaceSpec struct {
}

type NamespaceStatus

type NamespaceStatus struct {
	Conditions []NamespaceCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	Phase      string               `json:"phase,omitempty" yaml:"phase,omitempty"`
}

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"`
	MatchFields      []NodeSelectorRequirement `json:"matchFields,omitempty" yaml:"matchFields,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 PersistentVolume

type PersistentVolume struct {
	types.Resource
	AWSElasticBlockStore          *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"`
	AccessModes                   []string                          `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
	Annotations                   map[string]string                 `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	AzureDisk                     *AzureDiskVolumeSource            `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"`
	AzureFile                     *AzureFilePersistentVolumeSource  `json:"azureFile,omitempty" yaml:"azureFile,omitempty"`
	CSI                           *CSIPersistentVolumeSource        `json:"csi,omitempty" yaml:"csi,omitempty"`
	Capacity                      map[string]string                 `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	CephFS                        *CephFSPersistentVolumeSource     `json:"cephfs,omitempty" yaml:"cephfs,omitempty"`
	Cinder                        *CinderPersistentVolumeSource     `json:"cinder,omitempty" yaml:"cinder,omitempty"`
	ClaimRef                      *ObjectReference                  `json:"claimRef,omitempty" yaml:"claimRef,omitempty"`
	Created                       string                            `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID                     string                            `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Description                   string                            `json:"description,omitempty" yaml:"description,omitempty"`
	FC                            *FCVolumeSource                   `json:"fc,omitempty" yaml:"fc,omitempty"`
	FlexVolume                    *FlexPersistentVolumeSource       `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
	Flocker                       *FlockerVolumeSource              `json:"flocker,omitempty" yaml:"flocker,omitempty"`
	GCEPersistentDisk             *GCEPersistentDiskVolumeSource    `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
	Glusterfs                     *GlusterfsPersistentVolumeSource  `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
	HostPath                      *HostPathVolumeSource             `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
	ISCSI                         *ISCSIPersistentVolumeSource      `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
	Labels                        map[string]string                 `json:"labels,omitempty" yaml:"labels,omitempty"`
	Local                         *LocalVolumeSource                `json:"local,omitempty" yaml:"local,omitempty"`
	MountOptions                  []string                          `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"`
	NFS                           *NFSVolumeSource                  `json:"nfs,omitempty" yaml:"nfs,omitempty"`
	Name                          string                            `json:"name,omitempty" yaml:"name,omitempty"`
	NodeAffinity                  *VolumeNodeAffinity               `json:"nodeAffinity,omitempty" yaml:"nodeAffinity,omitempty"`
	OwnerReferences               []OwnerReference                  `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	PersistentVolumeReclaimPolicy string                            `json:"persistentVolumeReclaimPolicy,omitempty" yaml:"persistentVolumeReclaimPolicy,omitempty"`
	PhotonPersistentDisk          *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty" yaml:"photonPersistentDisk,omitempty"`
	PortworxVolume                *PortworxVolumeSource             `json:"portworxVolume,omitempty" yaml:"portworxVolume,omitempty"`
	Quobyte                       *QuobyteVolumeSource              `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
	RBD                           *RBDPersistentVolumeSource        `json:"rbd,omitempty" yaml:"rbd,omitempty"`
	Removed                       string                            `json:"removed,omitempty" yaml:"removed,omitempty"`
	ScaleIO                       *ScaleIOPersistentVolumeSource    `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
	State                         string                            `json:"state,omitempty" yaml:"state,omitempty"`
	Status                        *PersistentVolumeStatus           `json:"status,omitempty" yaml:"status,omitempty"`
	StorageClassID                string                            `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
	StorageOS                     *StorageOSPersistentVolumeSource  `json:"storageos,omitempty" yaml:"storageos,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"`
	VolumeMode                    string                            `json:"volumeMode,omitempty" yaml:"volumeMode,omitempty"`
	VsphereVolume                 *VsphereVirtualDiskVolumeSource   `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
}

type PersistentVolumeClient

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

func (*PersistentVolumeClient) ByID

func (*PersistentVolumeClient) Create

func (*PersistentVolumeClient) Delete

func (c *PersistentVolumeClient) Delete(container *PersistentVolume) error

func (*PersistentVolumeClient) List

func (*PersistentVolumeClient) ListAll

func (*PersistentVolumeClient) Replace

func (*PersistentVolumeClient) Update

func (c *PersistentVolumeClient) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error)

type PersistentVolumeCollection

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

func (*PersistentVolumeCollection) Next

type PersistentVolumeOperations

type PersistentVolumeOperations interface {
	List(opts *types.ListOpts) (*PersistentVolumeCollection, error)
	ListAll(opts *types.ListOpts) (*PersistentVolumeCollection, error)
	Create(opts *PersistentVolume) (*PersistentVolume, error)
	Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error)
	Replace(existing *PersistentVolume) (*PersistentVolume, error)
	ByID(id string) (*PersistentVolume, error)
	Delete(container *PersistentVolume) error
}

type PersistentVolumeSpec

type PersistentVolumeSpec struct {
	AWSElasticBlockStore          *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"`
	AccessModes                   []string                          `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
	AzureDisk                     *AzureDiskVolumeSource            `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"`
	AzureFile                     *AzureFilePersistentVolumeSource  `json:"azureFile,omitempty" yaml:"azureFile,omitempty"`
	CSI                           *CSIPersistentVolumeSource        `json:"csi,omitempty" yaml:"csi,omitempty"`
	Capacity                      map[string]string                 `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	CephFS                        *CephFSPersistentVolumeSource     `json:"cephfs,omitempty" yaml:"cephfs,omitempty"`
	Cinder                        *CinderPersistentVolumeSource     `json:"cinder,omitempty" yaml:"cinder,omitempty"`
	ClaimRef                      *ObjectReference                  `json:"claimRef,omitempty" yaml:"claimRef,omitempty"`
	FC                            *FCVolumeSource                   `json:"fc,omitempty" yaml:"fc,omitempty"`
	FlexVolume                    *FlexPersistentVolumeSource       `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
	Flocker                       *FlockerVolumeSource              `json:"flocker,omitempty" yaml:"flocker,omitempty"`
	GCEPersistentDisk             *GCEPersistentDiskVolumeSource    `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
	Glusterfs                     *GlusterfsPersistentVolumeSource  `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
	HostPath                      *HostPathVolumeSource             `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
	ISCSI                         *ISCSIPersistentVolumeSource      `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
	Local                         *LocalVolumeSource                `json:"local,omitempty" yaml:"local,omitempty"`
	MountOptions                  []string                          `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"`
	NFS                           *NFSVolumeSource                  `json:"nfs,omitempty" yaml:"nfs,omitempty"`
	NodeAffinity                  *VolumeNodeAffinity               `json:"nodeAffinity,omitempty" yaml:"nodeAffinity,omitempty"`
	PersistentVolumeReclaimPolicy string                            `json:"persistentVolumeReclaimPolicy,omitempty" yaml:"persistentVolumeReclaimPolicy,omitempty"`
	PhotonPersistentDisk          *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty" yaml:"photonPersistentDisk,omitempty"`
	PortworxVolume                *PortworxVolumeSource             `json:"portworxVolume,omitempty" yaml:"portworxVolume,omitempty"`
	Quobyte                       *QuobyteVolumeSource              `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
	RBD                           *RBDPersistentVolumeSource        `json:"rbd,omitempty" yaml:"rbd,omitempty"`
	ScaleIO                       *ScaleIOPersistentVolumeSource    `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
	StorageClassID                string                            `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
	StorageOS                     *StorageOSPersistentVolumeSource  `json:"storageos,omitempty" yaml:"storageos,omitempty"`
	VolumeMode                    string                            `json:"volumeMode,omitempty" yaml:"volumeMode,omitempty"`
	VsphereVolume                 *VsphereVirtualDiskVolumeSource   `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
}

type PersistentVolumeStatus

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

type PhotonPersistentDiskVolumeSource

type PhotonPersistentDiskVolumeSource struct {
	FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
	PdID   string `json:"pdID,omitempty" yaml:"pdID,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 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"`
	Tenant   string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
	User     string `json:"user,omitempty" yaml:"user,omitempty"`
	Volume   string `json:"volume,omitempty" yaml:"volume,omitempty"`
}

type RBDPersistentVolumeSource

type RBDPersistentVolumeSource 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    *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
}

type ResourceQuotaLimit

type ResourceQuotaLimit struct {
	ConfigMaps             string `json:"configMaps,omitempty" yaml:"configMaps,omitempty"`
	LimitsCPU              string `json:"limitsCpu,omitempty" yaml:"limitsCpu,omitempty"`
	LimitsMemory           string `json:"limitsMemory,omitempty" yaml:"limitsMemory,omitempty"`
	PersistentVolumeClaims string `json:"persistentVolumeClaims,omitempty" yaml:"persistentVolumeClaims,omitempty"`
	Pods                   string `json:"pods,omitempty" yaml:"pods,omitempty"`
	ReplicationControllers string `json:"replicationControllers,omitempty" yaml:"replicationControllers,omitempty"`
	RequestsCPU            string `json:"requestsCpu,omitempty" yaml:"requestsCpu,omitempty"`
	RequestsMemory         string `json:"requestsMemory,omitempty" yaml:"requestsMemory,omitempty"`
	RequestsStorage        string `json:"requestsStorage,omitempty" yaml:"requestsStorage,omitempty"`
	Secrets                string `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	Services               string `json:"services,omitempty" yaml:"services,omitempty"`
	ServicesLoadBalancers  string `json:"servicesLoadBalancers,omitempty" yaml:"servicesLoadBalancers,omitempty"`
	ServicesNodePorts      string `json:"servicesNodePorts,omitempty" yaml:"servicesNodePorts,omitempty"`
}

type ScaleIOPersistentVolumeSource

type ScaleIOPersistentVolumeSource 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        *SecretReference `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 SecretReference

type SecretReference struct {
	Name      string `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
}

type ServiceReference

type ServiceReference struct {
	Name      string `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	Port      *int64 `json:"port,omitempty" yaml:"port,omitempty"`
}

type StorageClass

type StorageClass struct {
	types.Resource
	AllowVolumeExpansion *bool                  `json:"allowVolumeExpansion,omitempty" yaml:"allowVolumeExpansion,omitempty"`
	AllowedTopologies    []TopologySelectorTerm `json:"allowedTopologies,omitempty" yaml:"allowedTopologies,omitempty"`
	Annotations          map[string]string      `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	Created              string                 `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID            string                 `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Description          string                 `json:"description,omitempty" yaml:"description,omitempty"`
	Labels               map[string]string      `json:"labels,omitempty" yaml:"labels,omitempty"`
	MountOptions         []string               `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"`
	Name                 string                 `json:"name,omitempty" yaml:"name,omitempty"`
	OwnerReferences      []OwnerReference       `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	Parameters           map[string]string      `json:"parameters,omitempty" yaml:"parameters,omitempty"`
	Provisioner          string                 `json:"provisioner,omitempty" yaml:"provisioner,omitempty"`
	ReclaimPolicy        string                 `json:"reclaimPolicy,omitempty" yaml:"reclaimPolicy,omitempty"`
	Removed              string                 `json:"removed,omitempty" yaml:"removed,omitempty"`
	UUID                 string                 `json:"uuid,omitempty" yaml:"uuid,omitempty"`
	VolumeBindingMode    string                 `json:"volumeBindingMode,omitempty" yaml:"volumeBindingMode,omitempty"`
}

type StorageClassClient

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

func (*StorageClassClient) ByID

func (c *StorageClassClient) ByID(id string) (*StorageClass, error)

func (*StorageClassClient) Create

func (c *StorageClassClient) Create(container *StorageClass) (*StorageClass, error)

func (*StorageClassClient) Delete

func (c *StorageClassClient) Delete(container *StorageClass) error

func (*StorageClassClient) List

func (*StorageClassClient) ListAll

func (*StorageClassClient) Replace

func (c *StorageClassClient) Replace(obj *StorageClass) (*StorageClass, error)

func (*StorageClassClient) Update

func (c *StorageClassClient) Update(existing *StorageClass, updates interface{}) (*StorageClass, error)

type StorageClassCollection

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

func (*StorageClassCollection) Next

type StorageClassOperations

type StorageClassOperations interface {
	List(opts *types.ListOpts) (*StorageClassCollection, error)
	ListAll(opts *types.ListOpts) (*StorageClassCollection, error)
	Create(opts *StorageClass) (*StorageClass, error)
	Update(existing *StorageClass, updates interface{}) (*StorageClass, error)
	Replace(existing *StorageClass) (*StorageClass, error)
	ByID(id string) (*StorageClass, error)
	Delete(container *StorageClass) error
}

type StorageOSPersistentVolumeSource

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

type TopologySelectorLabelRequirement

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

type TopologySelectorTerm

type TopologySelectorTerm struct {
	MatchLabelExpressions []TopologySelectorLabelRequirement `json:"matchLabelExpressions,omitempty" yaml:"matchLabelExpressions,omitempty"`
}

type VolumeNodeAffinity

type VolumeNodeAffinity struct {
	Required *NodeSelector `json:"required,omitempty" yaml:"required,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"`
}

Source Files

Jump to

Keyboard shortcuts

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