Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Capabilities ¶
type Capabilities struct { Attach bool `json:"attach"` SELinuxRelabel bool `json:"selinuxRelabel"` }
Capabilities define whether driver is attachable and the linux relabel
type NodeAgentInputs ¶
type NodeAgentInputs struct { UID string `json:"kubernetes.io/pod.uid"` Name string `json:"kubernetes.io/pod.name"` Namespace string `json:"kubernetes.io/pod.namespace"` ServiceAccount string `json:"kubernetes.io/serviceAccount.name"` }
NodeAgentInputs defines the input from FlexVolume driver.
type Resp ¶
type Resp struct { // Status of the response Status string `json:"status"` // Response message of the response Message string `json:"message"` // Defines the driver's capability Capabilities *Capabilities `json:",omitempty"` }
Resp is the driver response
Click to show internal directories.
Click to hide internal directories.