Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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(*gateway_networking_k8s_io_v1beta1.Gateway) bool) []*gateway_networking_k8s_io_v1beta1.Gateway // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*gateway_networking_k8s_io_v1beta1.Gateway) bool) []*gateway_networking_k8s_io_v1beta1.Gateway // Return the Set as a map of key to resource. Map() map[string]*gateway_networking_k8s_io_v1beta1.Gateway // Insert a resource into the set. Insert(gateway ...*gateway_networking_k8s_io_v1beta1.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) (*gateway_networking_k8s_io_v1beta1.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 ...*gateway_networking_k8s_io_v1beta1.Gateway) GatewaySet
func NewGatewaySetFromList ¶
func NewGatewaySetFromList(gatewayList *gateway_networking_k8s_io_v1beta1.GatewayList) GatewaySet
Click to show internal directories.
Click to hide internal directories.