Versions in this module Expand all Collapse all v1 v1.1.4 Apr 26, 2025 v1.1.3 Apr 26, 2025 v1.1.2 Apr 26, 2025 v1.1.1 Apr 26, 2025 Changes in this version + func TemplateFunctions() template.FuncMap + type Builder struct + Csp *CSP + func BuilderForAPIObject(cspAPI *apis.CStorPool) *Builder + func BuilderForObject(csp *CSP) *Builder + func NewBuilder() *Builder + type CSP struct + Object *apis.CStorPool + type CSPList struct + ObjectList *apis.CStorPoolList + func (l *CSPList) Filter(p ...Predicate) *CSPList + func (l *CSPList) GetPoolUIDs() []string + func (l *CSPList) Len() int + type Kubeclient struct + func KubeClient(opts ...KubeclientBuildOption) *Kubeclient + func (k *Kubeclient) Delete(name string, opts *metav1.DeleteOptions) (*apis.CStorPool, error) + func (k *Kubeclient) DeleteCollection(listOpts metav1.ListOptions, deleteOpts *metav1.DeleteOptions) error + func (k *Kubeclient) Get(name string, opts metav1.GetOptions) (*apis.CStorPool, error) + func (k *Kubeclient) List(opts metav1.ListOptions) (*apis.CStorPoolList, error) + func (k *Kubeclient) Patch(name string, pt types.PatchType, data []byte) (*apis.CStorPool, error) + func (k *Kubeclient) WithKubeConfigPath(kubeconfig string) (*Kubeclient, error) + type KubeclientBuildOption func(*Kubeclient) + func WithKubeClient(c *clientset.Clientset) KubeclientBuildOption + type ListBuilder struct + CspList *CSPList + func ListBuilderForAPIObject(cspAPIList *apis.CStorPoolList) *ListBuilder + func ListBuilderForObject(cspList *CSPList) *ListBuilder + func NewListBuilder() *ListBuilder + func (b *ListBuilder) List() *CSPList + func (b *ListBuilder) WithUIDNode(UIDNode map[string]string) *ListBuilder + func (b *ListBuilder) WithUIDs(poolUIDs ...string) *ListBuilder + type Predicate func(*CSP) bool + func HasAnnotation(key, value string) Predicate + func HasLabel(key, value string) Predicate + func IsNotDeleted() Predicate + func IsNotUID(uids ...string) Predicate + func IsStatus(status string) Predicate Other modules containing this package github.com/aamir-tiwari-sumo/maya/v2