Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayClassSet ¶ added in v0.2.2
type GatewayClassSet 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(*gateway_networking_k8s_io_v1beta1.GatewayClass) bool) []*gateway_networking_k8s_io_v1beta1.GatewayClass // 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(*gateway_networking_k8s_io_v1beta1.GatewayClass) bool) []*gateway_networking_k8s_io_v1beta1.GatewayClass // Return the Set as a map of key to resource. Map() map[string]*gateway_networking_k8s_io_v1beta1.GatewayClass // Insert a resource into the set. Insert(gatewayClass ...*gateway_networking_k8s_io_v1beta1.GatewayClass) // Compare the equality of the keys in two sets (not the resources themselves) Equal(gatewayClassSet GatewayClassSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(gatewayClass ezkube.ResourceId) bool // Delete the key matching the resource Delete(gatewayClass ezkube.ResourceId) // Return the union with the provided set Union(set GatewayClassSet) GatewayClassSet // Return the difference with the provided set Difference(set GatewayClassSet) GatewayClassSet // Return the intersection with the provided set Intersection(set GatewayClassSet) GatewayClassSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*gateway_networking_k8s_io_v1beta1.GatewayClass, 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 GatewayClassSet Delta(newSet GatewayClassSet) sksets.ResourceDelta // Create a deep copy of the current GatewayClassSet Clone() GatewayClassSet }
func NewGatewayClassSet ¶ added in v0.2.2
func NewGatewayClassSet(gatewayClassList ...*gateway_networking_k8s_io_v1beta1.GatewayClass) GatewayClassSet
func NewGatewayClassSetFromList ¶ added in v0.2.2
func NewGatewayClassSetFromList(gatewayClassList *gateway_networking_k8s_io_v1beta1.GatewayClassList) GatewayClassSet
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. // The filter function should return false to keep the resource, true to drop it. 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. // The filter function should return false to keep the resource, true to drop it. 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
type HTTPRouteSet ¶ added in v0.2.2
type HTTPRouteSet 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(*gateway_networking_k8s_io_v1beta1.HTTPRoute) bool) []*gateway_networking_k8s_io_v1beta1.HTTPRoute // 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(*gateway_networking_k8s_io_v1beta1.HTTPRoute) bool) []*gateway_networking_k8s_io_v1beta1.HTTPRoute // Return the Set as a map of key to resource. Map() map[string]*gateway_networking_k8s_io_v1beta1.HTTPRoute // Insert a resource into the set. Insert(httproute ...*gateway_networking_k8s_io_v1beta1.HTTPRoute) // Compare the equality of the keys in two sets (not the resources themselves) Equal(httprouteSet HTTPRouteSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(httproute ezkube.ResourceId) bool // Delete the key matching the resource Delete(httproute ezkube.ResourceId) // Return the union with the provided set Union(set HTTPRouteSet) HTTPRouteSet // Return the difference with the provided set Difference(set HTTPRouteSet) HTTPRouteSet // Return the intersection with the provided set Intersection(set HTTPRouteSet) HTTPRouteSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*gateway_networking_k8s_io_v1beta1.HTTPRoute, 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 HTTPRouteSet Delta(newSet HTTPRouteSet) sksets.ResourceDelta // Create a deep copy of the current HTTPRouteSet Clone() HTTPRouteSet }
func NewHTTPRouteSet ¶ added in v0.2.2
func NewHTTPRouteSet(httprouteList ...*gateway_networking_k8s_io_v1beta1.HTTPRoute) HTTPRouteSet
func NewHTTPRouteSetFromList ¶ added in v0.2.2
func NewHTTPRouteSetFromList(httprouteList *gateway_networking_k8s_io_v1beta1.HTTPRouteList) HTTPRouteSet
Click to show internal directories.
Click to hide internal directories.