v1sets

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.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 CaCertificateSet

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

func NewCaCertificateSet

func NewCaCertificateSet(caCertificateList ...*gate_xdmybl_io_v1.CaCertificate) CaCertificateSet

func NewCaCertificateSetFromList

func NewCaCertificateSetFromList(caCertificateList *gate_xdmybl_io_v1.CaCertificateList) CaCertificateSet

type CertificateSet added in v0.0.4

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

func NewCertificateSet added in v0.0.4

func NewCertificateSet(certificateList ...*gate_xdmybl_io_v1.Certificate) CertificateSet

func NewCertificateSetFromList added in v0.0.4

func NewCertificateSetFromList(certificateList *gate_xdmybl_io_v1.CertificateList) CertificateSet

type FilterSet

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

func NewFilterSet

func NewFilterSet(filterList ...*gate_xdmybl_io_v1.Filter) FilterSet

func NewFilterSetFromList

func NewFilterSetFromList(filterList *gate_xdmybl_io_v1.FilterList) FilterSet

type GatewaySet

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

func NewGatewaySet

func NewGatewaySet(gatewayList ...*gate_xdmybl_io_v1.Gateway) GatewaySet

func NewGatewaySetFromList

func NewGatewaySetFromList(gatewayList *gate_xdmybl_io_v1.GatewayList) GatewaySet

type UpstreamSet

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

func NewUpstreamSet

func NewUpstreamSet(upstreamList ...*gate_xdmybl_io_v1.Upstream) UpstreamSet

func NewUpstreamSetFromList

func NewUpstreamSetFromList(upstreamList *gate_xdmybl_io_v1.UpstreamList) UpstreamSet

Jump to

Keyboard shortcuts

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