v1beta1sets

package
v0.38.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSigningRequestSet

type CertificateSigningRequestSet interface {
	// Get the set stored keys
	Keys() sets.String
	// List of resources stored in the set. Pass an optional filter function to filter on the list.
	// The filter function should return false to keep the resource, true to drop it.
	List(filterResource ...func(*certificates_k8s_io_v1beta1.CertificateSigningRequest) bool) []*certificates_k8s_io_v1beta1.CertificateSigningRequest
	// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
	// The filter function should return false to keep the resource, true to drop it.
	UnsortedList(filterResource ...func(*certificates_k8s_io_v1beta1.CertificateSigningRequest) bool) []*certificates_k8s_io_v1beta1.CertificateSigningRequest
	// Return the Set as a map of key to resource.
	Map() map[string]*certificates_k8s_io_v1beta1.CertificateSigningRequest
	// Insert a resource into the set.
	Insert(certificateSigningRequest ...*certificates_k8s_io_v1beta1.CertificateSigningRequest)
	// Compare the equality of the keys in two sets (not the resources themselves)
	Equal(certificateSigningRequestSet CertificateSigningRequestSet) bool
	// Check if the set contains a key matching the resource (not the resource itself)
	Has(certificateSigningRequest ezkube.ResourceId) bool
	// Delete the key matching the resource
	Delete(certificateSigningRequest ezkube.ResourceId)
	// Return the union with the provided set
	Union(set CertificateSigningRequestSet) CertificateSigningRequestSet
	// Return the difference with the provided set
	Difference(set CertificateSigningRequestSet) CertificateSigningRequestSet
	// Return the intersection with the provided set
	Intersection(set CertificateSigningRequestSet) CertificateSigningRequestSet
	// Find the resource with the given ID
	Find(id ezkube.ResourceId) (*certificates_k8s_io_v1beta1.CertificateSigningRequest, error)
	// Get the length of the set
	Length() int
	// returns the generic implementation of the set
	Generic() sksets.ResourceSet
	// returns the delta between this and and another CertificateSigningRequestSet
	Delta(newSet CertificateSigningRequestSet) sksets.ResourceDelta
	// Create a deep copy of the current CertificateSigningRequestSet
	Clone() CertificateSigningRequestSet
}

func NewCertificateSigningRequestSet

func NewCertificateSigningRequestSet(certificateSigningRequestList ...*certificates_k8s_io_v1beta1.CertificateSigningRequest) CertificateSigningRequestSet

func NewCertificateSigningRequestSetFromList

func NewCertificateSigningRequestSetFromList(certificateSigningRequestList *certificates_k8s_io_v1beta1.CertificateSigningRequestList) CertificateSigningRequestSet

Directories

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

Jump to

Keyboard shortcuts

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