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_v1.CaCertificate) bool) []*gate_v1.CaCertificate
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*gate_v1.CaCertificate) bool) []*gate_v1.CaCertificate
// Return the Set as a map of key to resource.
Map() map[string]*gate_v1.CaCertificate
// Insert a resource into the set.
Insert(caCertificate ...*gate_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_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_v1.CaCertificate) CaCertificateSet
func NewCaCertificateSetFromList ¶
func NewCaCertificateSetFromList(caCertificateList *gate_v1.CaCertificateList) CaCertificateSet
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_v1.Filter) bool) []*gate_v1.Filter
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*gate_v1.Filter) bool) []*gate_v1.Filter
// Return the Set as a map of key to resource.
Map() map[string]*gate_v1.Filter
// Insert a resource into the set.
Insert(filter ...*gate_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_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 NewFilterSetFromList ¶
func NewFilterSetFromList(filterList *gate_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_v1.Gateway) bool) []*gate_v1.Gateway
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*gate_v1.Gateway) bool) []*gate_v1.Gateway
// Return the Set as a map of key to resource.
Map() map[string]*gate_v1.Gateway
// Insert a resource into the set.
Insert(gateway ...*gate_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_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_v1.Gateway) GatewaySet
func NewGatewaySetFromList ¶
func NewGatewaySetFromList(gatewayList *gate_v1.GatewayList) GatewaySet
type SslCertificateSet ¶
type SslCertificateSet 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_v1.SslCertificate) bool) []*gate_v1.SslCertificate
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*gate_v1.SslCertificate) bool) []*gate_v1.SslCertificate
// Return the Set as a map of key to resource.
Map() map[string]*gate_v1.SslCertificate
// Insert a resource into the set.
Insert(sslCertificate ...*gate_v1.SslCertificate)
// Compare the equality of the keys in two sets (not the resources themselves)
Equal(sslCertificateSet SslCertificateSet) bool
// Check if the set contains a key matching the resource (not the resource itself)
Has(sslCertificate ezkube.ResourceId) bool
// Delete the key matching the resource
Delete(sslCertificate ezkube.ResourceId)
// Return the union with the provided set
Union(set SslCertificateSet) SslCertificateSet
// Return the difference with the provided set
Difference(set SslCertificateSet) SslCertificateSet
// Return the intersection with the provided set
Intersection(set SslCertificateSet) SslCertificateSet
// Find the resource with the given ID
Find(id ezkube.ResourceId) (*gate_v1.SslCertificate, 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 SslCertificateSet
Delta(newSet SslCertificateSet) sksets.ResourceDelta
// Create a deep copy of the current SslCertificateSet
Clone() SslCertificateSet
}
func NewSslCertificateSet ¶
func NewSslCertificateSet(sslCertificateList ...*gate_v1.SslCertificate) SslCertificateSet
func NewSslCertificateSetFromList ¶
func NewSslCertificateSetFromList(sslCertificateList *gate_v1.SslCertificateList) SslCertificateSet
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_v1.Upstream) bool) []*gate_v1.Upstream
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*gate_v1.Upstream) bool) []*gate_v1.Upstream
// Return the Set as a map of key to resource.
Map() map[string]*gate_v1.Upstream
// Insert a resource into the set.
Insert(upstream ...*gate_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_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_v1.Upstream) UpstreamSet
func NewUpstreamSetFromList ¶
func NewUpstreamSetFromList(upstreamList *gate_v1.UpstreamList) UpstreamSet
Click to show internal directories.
Click to hide internal directories.