Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WasmPluginSet ¶
type WasmPluginSet 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(*extensions_istio_io_v1alpha1.WasmPlugin) bool) []*extensions_istio_io_v1alpha1.WasmPlugin // 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(*extensions_istio_io_v1alpha1.WasmPlugin) bool) []*extensions_istio_io_v1alpha1.WasmPlugin // Return the Set as a map of key to resource. Map() map[string]*extensions_istio_io_v1alpha1.WasmPlugin // Insert a resource into the set. Insert(wasmPlugin ...*extensions_istio_io_v1alpha1.WasmPlugin) // Compare the equality of the keys in two sets (not the resources themselves) Equal(wasmPluginSet WasmPluginSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(wasmPlugin ezkube.ResourceId) bool // Delete the key matching the resource Delete(wasmPlugin ezkube.ResourceId) // Return the union with the provided set Union(set WasmPluginSet) WasmPluginSet // Return the difference with the provided set Difference(set WasmPluginSet) WasmPluginSet // Return the intersection with the provided set Intersection(set WasmPluginSet) WasmPluginSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*extensions_istio_io_v1alpha1.WasmPlugin, 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 WasmPluginSet Delta(newSet WasmPluginSet) sksets.ResourceDelta // Create a deep copy of the current WasmPluginSet Clone() WasmPluginSet }
func NewWasmPluginSet ¶
func NewWasmPluginSet(wasmPluginList ...*extensions_istio_io_v1alpha1.WasmPlugin) WasmPluginSet
func NewWasmPluginSetFromList ¶
func NewWasmPluginSetFromList(wasmPluginList *extensions_istio_io_v1alpha1.WasmPluginList) WasmPluginSet
Click to show internal directories.
Click to hide internal directories.