Documentation ¶
Index ¶
- Constants
- type AWSElasticBlockStoreVolumeSource
- type AttachedVolume
- type AzureDiskVolumeSource
- type AzureFilePersistentVolumeSource
- type CPUInfo
- type CephFSPersistentVolumeSource
- type CinderVolumeSource
- type Client
- type ContainerImage
- type DaemonEndpoint
- type FCVolumeSource
- type FlexVolumeSource
- type FlockerVolumeSource
- type GCEPersistentDiskVolumeSource
- type GlusterfsVolumeSource
- type HostPathVolumeSource
- type ISCSIVolumeSource
- type Initializer
- type Initializers
- type KubernetesInfo
- type ListMeta
- type LocalObjectReference
- type LocalVolumeSource
- type MemoryInfo
- type NFSVolumeSource
- type Namespace
- type NamespaceClient
- func (c *NamespaceClient) ByID(id string) (*Namespace, error)
- func (c *NamespaceClient) Create(container *Namespace) (*Namespace, error)
- func (c *NamespaceClient) Delete(container *Namespace) error
- func (c *NamespaceClient) List(opts *types.ListOpts) (*NamespaceCollection, error)
- func (c *NamespaceClient) Update(existing *Namespace, updates interface{}) (*Namespace, error)
- type NamespaceCollection
- type NamespaceOperations
- type NamespaceSpec
- type NamespaceStatus
- type Node
- type NodeAddress
- type NodeClient
- func (c *NodeClient) ByID(id string) (*Node, error)
- func (c *NodeClient) Create(container *Node) (*Node, error)
- func (c *NodeClient) Delete(container *Node) error
- func (c *NodeClient) List(opts *types.ListOpts) (*NodeCollection, error)
- func (c *NodeClient) Update(existing *Node, updates interface{}) (*Node, error)
- type NodeCollection
- type NodeCondition
- type NodeConfigSource
- type NodeDaemonEndpoints
- type NodeInfo
- type NodeOperations
- type NodeSpec
- type NodeStatus
- type NodeSystemInfo
- type OSInfo
- type ObjectMeta
- type ObjectReference
- type OwnerReference
- type PersistentVolume
- type PersistentVolumeClient
- func (c *PersistentVolumeClient) ByID(id string) (*PersistentVolume, error)
- func (c *PersistentVolumeClient) Create(container *PersistentVolume) (*PersistentVolume, error)
- func (c *PersistentVolumeClient) Delete(container *PersistentVolume) error
- func (c *PersistentVolumeClient) List(opts *types.ListOpts) (*PersistentVolumeCollection, error)
- func (c *PersistentVolumeClient) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error)
- type PersistentVolumeCollection
- type PersistentVolumeOperations
- type PersistentVolumeSpec
- type PersistentVolumeStatus
- type PhotonPersistentDiskVolumeSource
- type PortworxVolumeSource
- type QuobyteVolumeSource
- type RBDVolumeSource
- type ScaleIOVolumeSource
- type SecretReference
- type Status
- type StatusCause
- type StatusDetails
- type StorageOSPersistentVolumeSource
- type Taint
- type VsphereVirtualDiskVolumeSource
Constants ¶
View Source
const ( AttachedVolumeType = "attachedVolume" 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 ( AzureFilePersistentVolumeSourceType = "azureFilePersistentVolumeSource" AzureFilePersistentVolumeSourceFieldReadOnly = "readOnly" AzureFilePersistentVolumeSourceFieldSecretName = "secretName" AzureFilePersistentVolumeSourceFieldSecretNamespace = "secretNamespace" )
View Source
const ( CephFSPersistentVolumeSourceType = "cephFSPersistentVolumeSource" CephFSPersistentVolumeSourceFieldMonitors = "monitors" CephFSPersistentVolumeSourceFieldPath = "path" CephFSPersistentVolumeSourceFieldReadOnly = "readOnly" CephFSPersistentVolumeSourceFieldSecretFile = "secretFile" CephFSPersistentVolumeSourceFieldSecretRef = "secretRef" CephFSPersistentVolumeSourceFieldUser = "user" )
View Source
const ( CinderVolumeSourceType = "cinderVolumeSource" CinderVolumeSourceFieldFSType = "fsType" CinderVolumeSourceFieldReadOnly = "readOnly" CinderVolumeSourceFieldVolumeID = "volumeID" )
View Source
const ( ContainerImageType = "containerImage" ContainerImageFieldNames = "names" ContainerImageFieldSizeBytes = "sizeBytes" )
View Source
const ( CPUInfoType = "cpuInfo" CPUInfoFieldCount = "count" )
View Source
const ( DaemonEndpointType = "daemonEndpoint" DaemonEndpointFieldPort = "Port" )
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 ( GlusterfsVolumeSourceType = "glusterfsVolumeSource" GlusterfsVolumeSourceFieldEndpointsName = "endpoints" GlusterfsVolumeSourceFieldPath = "path" GlusterfsVolumeSourceFieldReadOnly = "readOnly" )
View Source
const ( HostPathVolumeSourceType = "hostPathVolumeSource" HostPathVolumeSourceFieldPath = "path" HostPathVolumeSourceFieldType = "type" )
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 ( KubernetesInfoType = "kubernetesInfo" KubernetesInfoFieldKubeProxyVersion = "kubeProxyVersion" KubernetesInfoFieldKubeletVersion = "kubeletVersion" )
View Source
const ( ListMetaType = "listMeta" ListMetaFieldContinue = "continue" ListMetaFieldResourceVersion = "resourceVersion" ListMetaFieldSelfLink = "selfLink" )
View Source
const ( LocalObjectReferenceType = "localObjectReference" LocalObjectReferenceFieldName = "name" )
View Source
const ( LocalVolumeSourceType = "localVolumeSource" LocalVolumeSourceFieldPath = "path" )
View Source
const ( MemoryInfoType = "memoryInfo" MemoryInfoFieldMemTotalKiB = "memTotalKiB" )
View Source
const ( NamespaceType = "namespace" NamespaceFieldAnnotations = "annotations" NamespaceFieldAnswers = "answers" NamespaceFieldCreated = "created" NamespaceFieldCreatorID = "creatorId" NamespaceFieldDescription = "description" NamespaceFieldExternalID = "externalId" NamespaceFieldLabels = "labels" NamespaceFieldName = "name" NamespaceFieldOwnerReferences = "ownerReferences" NamespaceFieldProjectID = "projectId" NamespaceFieldPrune = "prune" NamespaceFieldRemoved = "removed" NamespaceFieldState = "state" NamespaceFieldStatus = "status" NamespaceFieldTags = "tags" NamespaceFieldTemplates = "templates" NamespaceFieldTransitioning = "transitioning" NamespaceFieldTransitioningMessage = "transitioningMessage" NamespaceFieldUuid = "uuid" )
View Source
const ( NFSVolumeSourceType = "nfsVolumeSource" NFSVolumeSourceFieldPath = "path" NFSVolumeSourceFieldReadOnly = "readOnly" NFSVolumeSourceFieldServer = "server" )
View Source
const ( NodeType = "node" NodeFieldAllocatable = "allocatable" NodeFieldAnnotations = "annotations" NodeFieldCapacity = "capacity" NodeFieldCreated = "created" NodeFieldCreatorID = "creatorId" NodeFieldDescription = "description" NodeFieldHostname = "hostname" NodeFieldIPAddress = "ipAddress" NodeFieldInfo = "info" NodeFieldLabels = "labels" NodeFieldName = "name" NodeFieldNodeConditions = "nodeConditions" NodeFieldOwnerReferences = "ownerReferences" NodeFieldPodCidr = "podCidr" NodeFieldProviderId = "providerId" NodeFieldRemoved = "removed" NodeFieldState = "state" NodeFieldTaints = "taints" NodeFieldTransitioning = "transitioning" NodeFieldTransitioningMessage = "transitioningMessage" NodeFieldUnschedulable = "unschedulable" NodeFieldUuid = "uuid" NodeFieldVolumesAttached = "volumesAttached" NodeFieldVolumesInUse = "volumesInUse" )
View Source
const ( NodeAddressType = "nodeAddress" NodeAddressFieldAddress = "address" NodeAddressFieldType = "type" )
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 ( NodeInfoType = "nodeInfo" NodeInfoFieldCPU = "cpu" NodeInfoFieldKubernetes = "kubernetes" NodeInfoFieldMemory = "memory" NodeInfoFieldOS = "os" )
View Source
const ( NodeSpecType = "nodeSpec" NodeSpecFieldPodCidr = "podCidr" NodeSpecFieldProviderId = "providerId" NodeSpecFieldTaints = "taints" NodeSpecFieldUnschedulable = "unschedulable" )
View Source
const ( NodeStatusType = "nodeStatus" NodeStatusFieldAllocatable = "allocatable" NodeStatusFieldCapacity = "capacity" NodeStatusFieldHostname = "hostname" NodeStatusFieldIPAddress = "ipAddress" NodeStatusFieldInfo = "info" NodeStatusFieldNodeConditions = "nodeConditions" 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 ( ObjectMetaType = "objectMeta" ObjectMetaFieldAnnotations = "annotations" ObjectMetaFieldCreated = "created" ObjectMetaFieldFinalizers = "finalizers" ObjectMetaFieldLabels = "labels" ObjectMetaFieldName = "name" ObjectMetaFieldNamespace = "namespace" ObjectMetaFieldOwnerReferences = "ownerReferences" ObjectMetaFieldRemoved = "removed" ObjectMetaFieldUuid = "uuid" )
View Source
const ( ObjectReferenceType = "objectReference" ObjectReferenceFieldAPIVersion = "apiVersion" ObjectReferenceFieldFieldPath = "fieldPath" ObjectReferenceFieldKind = "kind" ObjectReferenceFieldName = "name" ObjectReferenceFieldNamespace = "namespace" ObjectReferenceFieldResourceVersion = "resourceVersion" ObjectReferenceFieldUID = "uid" )
View Source
const ( OSInfoType = "osInfo" OSInfoFieldDockerVersion = "dockerVersion" OSInfoFieldKernelVersion = "kernelVersion" OSInfoFieldOperatingSystem = "operatingSystem" )
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" PersistentVolumeFieldCapacity = "capacity" PersistentVolumeFieldCephFS = "cephfs" PersistentVolumeFieldCinder = "cinder" PersistentVolumeFieldClaimRef = "claimRef" PersistentVolumeFieldCreated = "created" PersistentVolumeFieldCreatorID = "creatorId" PersistentVolumeFieldFC = "fc" PersistentVolumeFieldFlexVolume = "flexVolume" PersistentVolumeFieldFlocker = "flocker" PersistentVolumeFieldGCEPersistentDisk = "gcePersistentDisk" PersistentVolumeFieldGlusterfs = "glusterfs" PersistentVolumeFieldHostPath = "hostPath" PersistentVolumeFieldISCSI = "iscsi" PersistentVolumeFieldLabels = "labels" PersistentVolumeFieldLocal = "local" PersistentVolumeFieldMountOptions = "mountOptions" PersistentVolumeFieldNFS = "nfs" PersistentVolumeFieldName = "name" PersistentVolumeFieldOwnerReferences = "ownerReferences" PersistentVolumeFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy" PersistentVolumeFieldPhotonPersistentDisk = "photonPersistentDisk" PersistentVolumeFieldPortworxVolume = "portworxVolume" PersistentVolumeFieldQuobyte = "quobyte" PersistentVolumeFieldRBD = "rbd" PersistentVolumeFieldRemoved = "removed" PersistentVolumeFieldScaleIO = "scaleIO" PersistentVolumeFieldState = "state" PersistentVolumeFieldStatus = "status" PersistentVolumeFieldStorageClassName = "storageClassName" PersistentVolumeFieldStorageOS = "storageos" PersistentVolumeFieldTransitioning = "transitioning" PersistentVolumeFieldTransitioningMessage = "transitioningMessage" PersistentVolumeFieldUuid = "uuid" PersistentVolumeFieldVsphereVolume = "vsphereVolume" )
View Source
const ( PersistentVolumeSpecType = "persistentVolumeSpec" PersistentVolumeSpecFieldAWSElasticBlockStore = "awsElasticBlockStore" PersistentVolumeSpecFieldAccessModes = "accessModes" PersistentVolumeSpecFieldAzureDisk = "azureDisk" PersistentVolumeSpecFieldAzureFile = "azureFile" 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" PersistentVolumeSpecFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy" PersistentVolumeSpecFieldPhotonPersistentDisk = "photonPersistentDisk" PersistentVolumeSpecFieldPortworxVolume = "portworxVolume" PersistentVolumeSpecFieldQuobyte = "quobyte" PersistentVolumeSpecFieldRBD = "rbd" PersistentVolumeSpecFieldScaleIO = "scaleIO" PersistentVolumeSpecFieldStorageClassName = "storageClassName" PersistentVolumeSpecFieldStorageOS = "storageos" 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" 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 ( 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 ( SecretReferenceType = "secretReference" SecretReferenceFieldName = "name" SecretReferenceFieldNamespace = "namespace" )
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 ( StorageOSPersistentVolumeSourceType = "storageOSPersistentVolumeSource" StorageOSPersistentVolumeSourceFieldFSType = "fsType" StorageOSPersistentVolumeSourceFieldReadOnly = "readOnly" StorageOSPersistentVolumeSourceFieldSecretRef = "secretRef" StorageOSPersistentVolumeSourceFieldVolumeName = "volumeName" StorageOSPersistentVolumeSourceFieldVolumeNamespace = "volumeNamespace" )
View Source
const ( TaintType = "taint" TaintFieldEffect = "effect" TaintFieldKey = "key" TaintFieldTimeAdded = "timeAdded" TaintFieldValue = "value" )
View Source
const ( VsphereVirtualDiskVolumeSourceType = "vsphereVirtualDiskVolumeSource" VsphereVirtualDiskVolumeSourceFieldFSType = "fsType" VsphereVirtualDiskVolumeSourceFieldStoragePolicyID = "storagePolicyID" VsphereVirtualDiskVolumeSourceFieldStoragePolicyName = "storagePolicyName" VsphereVirtualDiskVolumeSourceFieldVolumePath = "volumePath" )
View Source
const (
NamespaceSpecType = "namespaceSpec"
)
View Source
const (
NamespaceStatusType = "namespaceStatus"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachedVolume ¶
type AttachedVolume struct {
Name string `json:"name,omitempty"`
}
type AzureDiskVolumeSource ¶
type CephFSPersistentVolumeSource ¶
type CephFSPersistentVolumeSource struct { Monitors []string `json:"monitors,omitempty"` Path string `json:"path,omitempty"` ReadOnly *bool `json:"readOnly,omitempty"` SecretFile string `json:"secretFile,omitempty"` SecretRef *SecretReference `json:"secretRef,omitempty"` User string `json:"user,omitempty"` }
type CinderVolumeSource ¶
type Client ¶
type Client struct { clientbase.APIBaseClient Namespace NamespaceOperations Node NodeOperations PersistentVolume PersistentVolumeOperations }
func NewClient ¶
func NewClient(opts *clientbase.ClientOpts) (*Client, error)
type ContainerImage ¶
type DaemonEndpoint ¶
type DaemonEndpoint struct {
Port *int64 `json:"Port,omitempty"`
}
type FCVolumeSource ¶
type FlexVolumeSource ¶
type FlockerVolumeSource ¶
type GlusterfsVolumeSource ¶
type HostPathVolumeSource ¶
type ISCSIVolumeSource ¶
type ISCSIVolumeSource struct { DiscoveryCHAPAuth *bool `json:"chapAuthDiscovery,omitempty"` FSType string `json:"fsType,omitempty"` IQN string `json:"iqn,omitempty"` ISCSIInterface string `json:"iscsiInterface,omitempty"` InitiatorName string `json:"initiatorName,omitempty"` Lun *int64 `json:"lun,omitempty"` Portals []string `json:"portals,omitempty"` ReadOnly *bool `json:"readOnly,omitempty"` SecretRef *LocalObjectReference `json:"secretRef,omitempty"` SessionCHAPAuth *bool `json:"chapAuthSession,omitempty"` TargetPortal string `json:"targetPortal,omitempty"` }
type Initializer ¶
type Initializer struct {
Name string `json:"name,omitempty"`
}
type Initializers ¶
type Initializers struct { Pending []Initializer `json:"pending,omitempty"` Result *Status `json:"result,omitempty"` }
type KubernetesInfo ¶
type LocalObjectReference ¶
type LocalObjectReference struct {
Name string `json:"name,omitempty"`
}
type LocalVolumeSource ¶
type LocalVolumeSource struct {
Path string `json:"path,omitempty"`
}
type MemoryInfo ¶
type MemoryInfo struct {
MemTotalKiB *int64 `json:"memTotalKiB,omitempty"`
}
type NFSVolumeSource ¶
type Namespace ¶
type Namespace struct { types.Resource Annotations map[string]string `json:"annotations,omitempty"` Answers map[string]interface{} `json:"answers,omitempty"` Created string `json:"created,omitempty"` CreatorID string `json:"creatorId,omitempty"` Description string `json:"description,omitempty"` ExternalID string `json:"externalId,omitempty"` Labels map[string]string `json:"labels,omitempty"` Name string `json:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` ProjectID string `json:"projectId,omitempty"` Prune *bool `json:"prune,omitempty"` Removed string `json:"removed,omitempty"` State string `json:"state,omitempty"` Status *NamespaceStatus `json:"status,omitempty"` Tags []string `json:"tags,omitempty"` Templates map[string]string `json:"templates,omitempty"` Transitioning string `json:"transitioning,omitempty"` TransitioningMessage string `json:"transitioningMessage,omitempty"` Uuid string `json:"uuid,omitempty"` }
type NamespaceClient ¶
type NamespaceClient struct {
// contains filtered or unexported fields
}
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 (c *NamespaceClient) List(opts *types.ListOpts) (*NamespaceCollection, error)
type NamespaceCollection ¶
type NamespaceCollection struct { types.Collection Data []Namespace `json:"data,omitempty"` // contains filtered or unexported fields }
func (*NamespaceCollection) Next ¶
func (cc *NamespaceCollection) Next() (*NamespaceCollection, error)
type NamespaceOperations ¶
type NamespaceSpec ¶
type NamespaceSpec struct { }
type NamespaceStatus ¶
type NamespaceStatus struct { }
type Node ¶
type Node struct { types.Resource Allocatable map[string]string `json:"allocatable,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Capacity map[string]string `json:"capacity,omitempty"` Created string `json:"created,omitempty"` CreatorID string `json:"creatorId,omitempty"` Description string `json:"description,omitempty"` Hostname string `json:"hostname,omitempty"` IPAddress string `json:"ipAddress,omitempty"` Info *NodeInfo `json:"info,omitempty"` Labels map[string]string `json:"labels,omitempty"` Name string `json:"name,omitempty"` NodeConditions []NodeCondition `json:"nodeConditions,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` PodCidr string `json:"podCidr,omitempty"` ProviderId string `json:"providerId,omitempty"` Removed string `json:"removed,omitempty"` State string `json:"state,omitempty"` Taints []Taint `json:"taints,omitempty"` Transitioning string `json:"transitioning,omitempty"` TransitioningMessage string `json:"transitioningMessage,omitempty"` Unschedulable *bool `json:"unschedulable,omitempty"` Uuid string `json:"uuid,omitempty"` VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty"` VolumesInUse []string `json:"volumesInUse,omitempty"` }
type NodeAddress ¶
type NodeClient ¶
type NodeClient struct {
// contains filtered or unexported fields
}
func (*NodeClient) Delete ¶
func (c *NodeClient) Delete(container *Node) error
func (*NodeClient) List ¶
func (c *NodeClient) List(opts *types.ListOpts) (*NodeCollection, 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"` LastTransitionTime string `json:"lastTransitionTime,omitempty"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` }
type NodeConfigSource ¶
type NodeConfigSource struct { APIVersion string `json:"apiVersion,omitempty"` ConfigMapRef *ObjectReference `json:"configMapRef,omitempty"` Kind string `json:"kind,omitempty"` }
type NodeDaemonEndpoints ¶
type NodeDaemonEndpoints struct {
KubeletEndpoint *DaemonEndpoint `json:"kubeletEndpoint,omitempty"`
}
type NodeInfo ¶
type NodeInfo struct { CPU *CPUInfo `json:"cpu,omitempty"` Kubernetes *KubernetesInfo `json:"kubernetes,omitempty"` Memory *MemoryInfo `json:"memory,omitempty"` OS *OSInfo `json:"os,omitempty"` }
type NodeOperations ¶
type NodeStatus ¶
type NodeStatus struct { Allocatable map[string]string `json:"allocatable,omitempty"` Capacity map[string]string `json:"capacity,omitempty"` Hostname string `json:"hostname,omitempty"` IPAddress string `json:"ipAddress,omitempty"` Info *NodeInfo `json:"info,omitempty"` NodeConditions []NodeCondition `json:"nodeConditions,omitempty"` VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty"` VolumesInUse []string `json:"volumesInUse,omitempty"` }
type NodeSystemInfo ¶
type NodeSystemInfo struct { Architecture string `json:"architecture,omitempty"` BootID string `json:"bootID,omitempty"` ContainerRuntimeVersion string `json:"containerRuntimeVersion,omitempty"` KernelVersion string `json:"kernelVersion,omitempty"` KubeProxyVersion string `json:"kubeProxyVersion,omitempty"` KubeletVersion string `json:"kubeletVersion,omitempty"` MachineID string `json:"machineID,omitempty"` OSImage string `json:"osImage,omitempty"` OperatingSystem string `json:"operatingSystem,omitempty"` SystemUUID string `json:"systemUUID,omitempty"` }
type ObjectMeta ¶
type ObjectMeta struct { Annotations map[string]string `json:"annotations,omitempty"` Created string `json:"created,omitempty"` Finalizers []string `json:"finalizers,omitempty"` Labels map[string]string `json:"labels,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ObjectReference ¶
type ObjectReference struct { APIVersion string `json:"apiVersion,omitempty"` FieldPath string `json:"fieldPath,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion string `json:"resourceVersion,omitempty"` UID string `json:"uid,omitempty"` }
type OwnerReference ¶
type PersistentVolume ¶
type PersistentVolume struct { types.Resource AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"` AccessModes []string `json:"accessModes,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty"` AzureFile *AzureFilePersistentVolumeSource `json:"azureFile,omitempty"` Capacity map[string]string `json:"capacity,omitempty"` CephFS *CephFSPersistentVolumeSource `json:"cephfs,omitempty"` Cinder *CinderVolumeSource `json:"cinder,omitempty"` ClaimRef *ObjectReference `json:"claimRef,omitempty"` Created string `json:"created,omitempty"` CreatorID string `json:"creatorId,omitempty"` FC *FCVolumeSource `json:"fc,omitempty"` FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` Flocker *FlockerVolumeSource `json:"flocker,omitempty"` GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"` Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty"` HostPath *HostPathVolumeSource `json:"hostPath,omitempty"` ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty"` Labels map[string]string `json:"labels,omitempty"` Local *LocalVolumeSource `json:"local,omitempty"` MountOptions []string `json:"mountOptions,omitempty"` NFS *NFSVolumeSource `json:"nfs,omitempty"` Name string `json:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` PersistentVolumeReclaimPolicy string `json:"persistentVolumeReclaimPolicy,omitempty"` PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty"` PortworxVolume *PortworxVolumeSource `json:"portworxVolume,omitempty"` Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty"` RBD *RBDVolumeSource `json:"rbd,omitempty"` Removed string `json:"removed,omitempty"` ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty"` State string `json:"state,omitempty"` Status *PersistentVolumeStatus `json:"status,omitempty"` StorageClassName string `json:"storageClassName,omitempty"` StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty"` Transitioning string `json:"transitioning,omitempty"` TransitioningMessage string `json:"transitioningMessage,omitempty"` Uuid string `json:"uuid,omitempty"` VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"` }
type PersistentVolumeClient ¶
type PersistentVolumeClient struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeClient) ByID ¶
func (c *PersistentVolumeClient) ByID(id string) (*PersistentVolume, error)
func (*PersistentVolumeClient) Create ¶
func (c *PersistentVolumeClient) Create(container *PersistentVolume) (*PersistentVolume, error)
func (*PersistentVolumeClient) Delete ¶
func (c *PersistentVolumeClient) Delete(container *PersistentVolume) error
func (*PersistentVolumeClient) List ¶
func (c *PersistentVolumeClient) List(opts *types.ListOpts) (*PersistentVolumeCollection, error)
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 ¶
func (cc *PersistentVolumeCollection) Next() (*PersistentVolumeCollection, error)
type PersistentVolumeOperations ¶
type PersistentVolumeOperations interface { List(opts *types.ListOpts) (*PersistentVolumeCollection, error) Create(opts *PersistentVolume) (*PersistentVolume, error) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error) ByID(id string) (*PersistentVolume, error) Delete(container *PersistentVolume) error }
type PersistentVolumeSpec ¶
type PersistentVolumeSpec struct { AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"` AccessModes []string `json:"accessModes,omitempty"` AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty"` AzureFile *AzureFilePersistentVolumeSource `json:"azureFile,omitempty"` Capacity map[string]string `json:"capacity,omitempty"` CephFS *CephFSPersistentVolumeSource `json:"cephfs,omitempty"` Cinder *CinderVolumeSource `json:"cinder,omitempty"` ClaimRef *ObjectReference `json:"claimRef,omitempty"` FC *FCVolumeSource `json:"fc,omitempty"` FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` Flocker *FlockerVolumeSource `json:"flocker,omitempty"` GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"` Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty"` HostPath *HostPathVolumeSource `json:"hostPath,omitempty"` ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty"` Local *LocalVolumeSource `json:"local,omitempty"` MountOptions []string `json:"mountOptions,omitempty"` NFS *NFSVolumeSource `json:"nfs,omitempty"` PersistentVolumeReclaimPolicy string `json:"persistentVolumeReclaimPolicy,omitempty"` PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty"` PortworxVolume *PortworxVolumeSource `json:"portworxVolume,omitempty"` Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty"` RBD *RBDVolumeSource `json:"rbd,omitempty"` ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty"` StorageClassName string `json:"storageClassName,omitempty"` StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty"` VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"` }
type PersistentVolumeStatus ¶
type PortworxVolumeSource ¶
type QuobyteVolumeSource ¶
type RBDVolumeSource ¶
type RBDVolumeSource struct { CephMonitors []string `json:"monitors,omitempty"` FSType string `json:"fsType,omitempty"` Keyring string `json:"keyring,omitempty"` RBDImage string `json:"image,omitempty"` RBDPool string `json:"pool,omitempty"` RadosUser string `json:"user,omitempty"` ReadOnly *bool `json:"readOnly,omitempty"` SecretRef *LocalObjectReference `json:"secretRef,omitempty"` }
type ScaleIOVolumeSource ¶
type ScaleIOVolumeSource struct { FSType string `json:"fsType,omitempty"` Gateway string `json:"gateway,omitempty"` ProtectionDomain string `json:"protectionDomain,omitempty"` ReadOnly *bool `json:"readOnly,omitempty"` SSLEnabled *bool `json:"sslEnabled,omitempty"` SecretRef *LocalObjectReference `json:"secretRef,omitempty"` StorageMode string `json:"storageMode,omitempty"` StoragePool string `json:"storagePool,omitempty"` System string `json:"system,omitempty"` VolumeName string `json:"volumeName,omitempty"` }
type SecretReference ¶
type Status ¶
type Status struct { APIVersion string `json:"apiVersion,omitempty"` Code *int64 `json:"code,omitempty"` Details *StatusDetails `json:"details,omitempty"` Kind string `json:"kind,omitempty"` ListMeta *ListMeta `json:"metadata,omitempty"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Status string `json:"status,omitempty"` }
type StatusCause ¶
type StatusDetails ¶
type StorageOSPersistentVolumeSource ¶
type StorageOSPersistentVolumeSource struct { FSType string `json:"fsType,omitempty"` ReadOnly *bool `json:"readOnly,omitempty"` SecretRef *ObjectReference `json:"secretRef,omitempty"` VolumeName string `json:"volumeName,omitempty"` VolumeNamespace string `json:"volumeNamespace,omitempty"` }
Source Files ¶
- zz_generated_attached_volume.go
- zz_generated_aws_elastic_block_store_volume_source.go
- zz_generated_azure_disk_volume_source.go
- zz_generated_azure_file_persistent_volume_source.go
- zz_generated_ceph_fspersistent_volume_source.go
- zz_generated_cinder_volume_source.go
- zz_generated_client.go
- zz_generated_container_image.go
- zz_generated_cpu_info.go
- zz_generated_daemon_endpoint.go
- zz_generated_fc_volume_source.go
- zz_generated_flex_volume_source.go
- zz_generated_flocker_volume_source.go
- zz_generated_gce_persistent_disk_volume_source.go
- zz_generated_glusterfs_volume_source.go
- zz_generated_host_path_volume_source.go
- zz_generated_initializer.go
- zz_generated_initializers.go
- zz_generated_iscsi_volume_source.go
- zz_generated_kubernetes_info.go
- zz_generated_list_meta.go
- zz_generated_local_object_reference.go
- zz_generated_local_volume_source.go
- zz_generated_memory_info.go
- zz_generated_namespace.go
- zz_generated_namespace_spec.go
- zz_generated_namespace_status.go
- zz_generated_nfs_volume_source.go
- zz_generated_node.go
- zz_generated_node_address.go
- zz_generated_node_condition.go
- zz_generated_node_config_source.go
- zz_generated_node_daemon_endpoints.go
- zz_generated_node_info.go
- zz_generated_node_spec.go
- zz_generated_node_status.go
- zz_generated_node_system_info.go
- zz_generated_object_meta.go
- zz_generated_object_reference.go
- zz_generated_os_info.go
- zz_generated_owner_reference.go
- zz_generated_persistent_volume.go
- zz_generated_persistent_volume_spec.go
- zz_generated_persistent_volume_status.go
- zz_generated_photon_persistent_disk_volume_source.go
- zz_generated_portworx_volume_source.go
- zz_generated_quobyte_volume_source.go
- zz_generated_rbd_volume_source.go
- zz_generated_scale_iovolume_source.go
- zz_generated_secret_reference.go
- zz_generated_status.go
- zz_generated_status_cause.go
- zz_generated_status_details.go
- zz_generated_storage_ospersistent_volume_source.go
- zz_generated_taint.go
- zz_generated_vsphere_virtual_disk_volume_source.go
Click to show internal directories.
Click to hide internal directories.