Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with the Kubernetes PersistentVolumeClaims.
func NewClient ¶
func NewClient(clientset kubernetes.Interface) *Client
NewClient constructs a new Client.
type DataSource ¶
DataSource represents Kubernetes DataSource
type LabelSelectorRequirement ¶
LabelSelectorRequirement represents Kubernetes LabelSelectorRequirement
type LabelSelectorRequirements ¶
type LabelSelectorRequirements []LabelSelectorRequirement
LabelSelectorRequirements represents Kubernetes LabelSelectorRequirements
type PersistentVolumeClaim ¶
type PersistentVolumeClaim struct { Name string Namespace string Annotations map[string]string Labels map[string]string Spec Spec }
PersistentVolumeClaim represents Kubernetes PersistentVolumeClaim
type PersistentVolumeClaims ¶
type PersistentVolumeClaims []PersistentVolumeClaim
PersistentVolumeClaims represents Kubernetes PersistentVolumeClaims
func (PersistentVolumeClaims) ToK8S ¶
func (ps PersistentVolumeClaims) ToK8S() (l []v1.PersistentVolumeClaim)
ToK8S converts PersistentVolumeClaims to Kuberntes client objects
type Selector ¶
type Selector struct { MatchLabels map[string]string MatchExpressions LabelSelectorRequirements }
Selector represents Kubernetes LabelSelector
type Spec ¶ added in v0.21.1
type Spec struct { Name string AccessModes AccessModes DataSource DataSource RequestStorage string Selector Selector StorageClass string VolumeMode string VolumeName string }
Spec represents Kubernetes Spec
Click to show internal directories.
Click to hide internal directories.