Documentation ¶
Index ¶
- func GetKubeFiler(ctx context.Context, kubeClient kubeclient.Client, namespace, name string) (*kubefilerv1alpha1.KubeFiler, error)
- func GetKubeFilerExport(ctx context.Context, kubeClient kubeclient.Client, namespace, name string) (*kubefilerv1alpha1.KubeFilerExport, error)
- func GetSecret(ctx context.Context, kubeClient kubeclient.Client, namespace, name string) (*corev1.Secret, error)
- func GetService(ctx context.Context, kubeClient kubeclient.Client, namespace, name string) (*corev1.Service, error)
- type Idempotent
- type InFlight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeFiler ¶
func GetKubeFiler(ctx context.Context, kubeClient kubeclient.Client, namespace, name string) (*kubefilerv1alpha1.KubeFiler, error)
func GetKubeFilerExport ¶
func GetKubeFilerExport(ctx context.Context, kubeClient kubeclient.Client, namespace, name string) (*kubefilerv1alpha1.KubeFilerExport, error)
func GetService ¶
Types ¶
type Idempotent ¶
type Idempotent interface { // The CSI data types are generated using a protobuf. // The generated structures are guaranteed to implement the Stringer interface. // Example: https://github.com/container-storage-interface/spec/blob/master/lib/go/csi/csi.pb.go#L3508 // We can use the generated string as the key of our internal inflight database of requests. String() string }
Idempotent is the interface required to manage in flight requests.
type InFlight ¶
type InFlight struct {
// contains filtered or unexported fields
}
InFlight is a struct used to manage in flight requests per volumeId.
Click to show internal directories.
Click to hide internal directories.