package
4.1.0+incompatible
Repository: https://github.com/openebs/dynamic-localpv-provisioner.git
Documentation: pkg.go.dev

# Functions

FromList created a PodList with provided api podlist.
HasLabel is predicate to filter out labeled pod instances.
HasLabels returns true if provided labels map[key]value are present in the provided PodList instance.
IsCompleted is a predicate to filter out pods which in completed state.
IsNil is predicate to filter out nil pod instances.
IsRunning is a predicate to filter out pods which in running state.
ListBuilderForAPIList returns a instance of ListBuilder from API PodList.
ListBuilderForObjectList returns a instance of ListBuilder from API Pods.
NewBuilder returns new instance of Builder.
NewForAPIObject returns a new instance of Pod.
NewKubeClient returns a new instance of KubeClient meant for cstor volume replica operations.
NewListBuilder returns a instance of ListBuilder.
WithClientSet sets the kubernetes client against the KubeClient instance.
WithKubeConfigPath sets the kubeConfig path against client instance.

# Structs

Builder is the builder object for Pod.
ExecOutput struct contains stdout and stderr.
KubeClient enables kubernetes API operations on pod instance.
ListBuilder enables building an instance of Podlist.
Pod holds the api's pod objects.
PodList holds the list of API pod instances.

# Type aliases

KubeClientBuildOption defines the abstraction to build a KubeClient instance.
Predicate defines an abstraction to determine conditional checks against the provided pod instance.
PredicateList holds a list of predicate.