v1sets

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 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 CertificateRequestSet

type CertificateRequestSet 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.
	List(filterResource ...func(*certificates_mesh_gloo_solo_io_v1.CertificateRequest) bool) []*certificates_mesh_gloo_solo_io_v1.CertificateRequest
	// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
	UnsortedList(filterResource ...func(*certificates_mesh_gloo_solo_io_v1.CertificateRequest) bool) []*certificates_mesh_gloo_solo_io_v1.CertificateRequest
	// Return the Set as a map of key to resource.
	Map() map[string]*certificates_mesh_gloo_solo_io_v1.CertificateRequest
	// Insert a resource into the set.
	Insert(certificateRequest ...*certificates_mesh_gloo_solo_io_v1.CertificateRequest)
	// Compare the equality of the keys in two sets (not the resources themselves)
	Equal(certificateRequestSet CertificateRequestSet) bool
	// Check if the set contains a key matching the resource (not the resource itself)
	Has(certificateRequest ezkube.ResourceId) bool
	// Delete the key matching the resource
	Delete(certificateRequest ezkube.ResourceId)
	// Return the union with the provided set
	Union(set CertificateRequestSet) CertificateRequestSet
	// Return the difference with the provided set
	Difference(set CertificateRequestSet) CertificateRequestSet
	// Return the intersection with the provided set
	Intersection(set CertificateRequestSet) CertificateRequestSet
	// Find the resource with the given ID
	Find(id ezkube.ResourceId) (*certificates_mesh_gloo_solo_io_v1.CertificateRequest, 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 CertificateRequestSet
	Delta(newSet CertificateRequestSet) sksets.ResourceDelta
	// Create a deep copy of the current CertificateRequestSet
	Clone() CertificateRequestSet
}

func NewCertificateRequestSet

func NewCertificateRequestSet(certificateRequestList ...*certificates_mesh_gloo_solo_io_v1.CertificateRequest) CertificateRequestSet

func NewCertificateRequestSetFromList

func NewCertificateRequestSetFromList(certificateRequestList *certificates_mesh_gloo_solo_io_v1.CertificateRequestList) CertificateRequestSet

type IssuedCertificateSet

type IssuedCertificateSet 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.
	List(filterResource ...func(*certificates_mesh_gloo_solo_io_v1.IssuedCertificate) bool) []*certificates_mesh_gloo_solo_io_v1.IssuedCertificate
	// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
	UnsortedList(filterResource ...func(*certificates_mesh_gloo_solo_io_v1.IssuedCertificate) bool) []*certificates_mesh_gloo_solo_io_v1.IssuedCertificate
	// Return the Set as a map of key to resource.
	Map() map[string]*certificates_mesh_gloo_solo_io_v1.IssuedCertificate
	// Insert a resource into the set.
	Insert(issuedCertificate ...*certificates_mesh_gloo_solo_io_v1.IssuedCertificate)
	// Compare the equality of the keys in two sets (not the resources themselves)
	Equal(issuedCertificateSet IssuedCertificateSet) bool
	// Check if the set contains a key matching the resource (not the resource itself)
	Has(issuedCertificate ezkube.ResourceId) bool
	// Delete the key matching the resource
	Delete(issuedCertificate ezkube.ResourceId)
	// Return the union with the provided set
	Union(set IssuedCertificateSet) IssuedCertificateSet
	// Return the difference with the provided set
	Difference(set IssuedCertificateSet) IssuedCertificateSet
	// Return the intersection with the provided set
	Intersection(set IssuedCertificateSet) IssuedCertificateSet
	// Find the resource with the given ID
	Find(id ezkube.ResourceId) (*certificates_mesh_gloo_solo_io_v1.IssuedCertificate, 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 IssuedCertificateSet
	Delta(newSet IssuedCertificateSet) sksets.ResourceDelta
	// Create a deep copy of the current IssuedCertificateSet
	Clone() IssuedCertificateSet
}

func NewIssuedCertificateSet

func NewIssuedCertificateSet(issuedCertificateList ...*certificates_mesh_gloo_solo_io_v1.IssuedCertificate) IssuedCertificateSet

func NewIssuedCertificateSetFromList

func NewIssuedCertificateSetFromList(issuedCertificateList *certificates_mesh_gloo_solo_io_v1.IssuedCertificateList) IssuedCertificateSet

type PodBounceDirectiveSet

type PodBounceDirectiveSet 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.
	List(filterResource ...func(*certificates_mesh_gloo_solo_io_v1.PodBounceDirective) bool) []*certificates_mesh_gloo_solo_io_v1.PodBounceDirective
	// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
	UnsortedList(filterResource ...func(*certificates_mesh_gloo_solo_io_v1.PodBounceDirective) bool) []*certificates_mesh_gloo_solo_io_v1.PodBounceDirective
	// Return the Set as a map of key to resource.
	Map() map[string]*certificates_mesh_gloo_solo_io_v1.PodBounceDirective
	// Insert a resource into the set.
	Insert(podBounceDirective ...*certificates_mesh_gloo_solo_io_v1.PodBounceDirective)
	// Compare the equality of the keys in two sets (not the resources themselves)
	Equal(podBounceDirectiveSet PodBounceDirectiveSet) bool
	// Check if the set contains a key matching the resource (not the resource itself)
	Has(podBounceDirective ezkube.ResourceId) bool
	// Delete the key matching the resource
	Delete(podBounceDirective ezkube.ResourceId)
	// Return the union with the provided set
	Union(set PodBounceDirectiveSet) PodBounceDirectiveSet
	// Return the difference with the provided set
	Difference(set PodBounceDirectiveSet) PodBounceDirectiveSet
	// Return the intersection with the provided set
	Intersection(set PodBounceDirectiveSet) PodBounceDirectiveSet
	// Find the resource with the given ID
	Find(id ezkube.ResourceId) (*certificates_mesh_gloo_solo_io_v1.PodBounceDirective, 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 PodBounceDirectiveSet
	Delta(newSet PodBounceDirectiveSet) sksets.ResourceDelta
	// Create a deep copy of the current PodBounceDirectiveSet
	Clone() PodBounceDirectiveSet
}

func NewPodBounceDirectiveSet

func NewPodBounceDirectiveSet(podBounceDirectiveList ...*certificates_mesh_gloo_solo_io_v1.PodBounceDirective) PodBounceDirectiveSet

func NewPodBounceDirectiveSetFromList

func NewPodBounceDirectiveSetFromList(podBounceDirectiveList *certificates_mesh_gloo_solo_io_v1.PodBounceDirectiveList) PodBounceDirectiveSet

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