v1sets

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceSet

type NamespaceSet interface {
	Keys() sets.String
	List() []*v1.Namespace
	Map() map[string]*v1.Namespace
	Insert(namespace ...*v1.Namespace)
	Equal(namespaceSet NamespaceSet) bool
	Has(namespace *v1.Namespace) bool
	Delete(namespace *v1.Namespace)
	Union(set NamespaceSet) NamespaceSet
	Difference(set NamespaceSet) NamespaceSet
	Intersection(set NamespaceSet) NamespaceSet
	Find(id ezkube.ResourceId) (*v1.Namespace, error)
	Length() int
}

func NewNamespaceSet

func NewNamespaceSet(namespaceList ...*v1.Namespace) NamespaceSet

func NewNamespaceSetFromList

func NewNamespaceSetFromList(namespaceList *v1.NamespaceList) NamespaceSet

type SecretSet

type SecretSet interface {
	Keys() sets.String
	List() []*v1.Secret
	Map() map[string]*v1.Secret
	Insert(secret ...*v1.Secret)
	Equal(secretSet SecretSet) bool
	Has(secret *v1.Secret) bool
	Delete(secret *v1.Secret)
	Union(set SecretSet) SecretSet
	Difference(set SecretSet) SecretSet
	Intersection(set SecretSet) SecretSet
	Find(id ezkube.ResourceId) (*v1.Secret, error)
	Length() int
}

func NewSecretSet

func NewSecretSet(secretList ...*v1.Secret) SecretSet

func NewSecretSetFromList

func NewSecretSetFromList(secretList *v1.SecretList) SecretSet

type ServiceAccountSet

type ServiceAccountSet interface {
	Keys() sets.String
	List() []*v1.ServiceAccount
	Map() map[string]*v1.ServiceAccount
	Insert(serviceAccount ...*v1.ServiceAccount)
	Equal(serviceAccountSet ServiceAccountSet) bool
	Has(serviceAccount *v1.ServiceAccount) bool
	Delete(serviceAccount *v1.ServiceAccount)
	Union(set ServiceAccountSet) ServiceAccountSet
	Difference(set ServiceAccountSet) ServiceAccountSet
	Intersection(set ServiceAccountSet) ServiceAccountSet
	Find(id ezkube.ResourceId) (*v1.ServiceAccount, error)
	Length() int
}

func NewServiceAccountSet

func NewServiceAccountSet(serviceAccountList ...*v1.ServiceAccount) ServiceAccountSet

func NewServiceAccountSetFromList

func NewServiceAccountSetFromList(serviceAccountList *v1.ServiceAccountList) ServiceAccountSet

Directories

Path Synopsis
Package mock_v1sets is a generated GoMock package.
Package mock_v1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL