Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WasmDeploymentSet ¶
type WasmDeploymentSet 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(*networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) bool) []*networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment // Return the Set as a map of key to resource. Map() map[string]*networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment // Insert a resource into the set. Insert(wasmDeployment ...*networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) // Compare the equality of the keys in two sets (not the resources themselves) Equal(wasmDeploymentSet WasmDeploymentSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(wasmDeployment ezkube.ResourceId) bool // Delete the key matching the resource Delete(wasmDeployment ezkube.ResourceId) // Return the union with the provided set Union(set WasmDeploymentSet) WasmDeploymentSet // Return the difference with the provided set Difference(set WasmDeploymentSet) WasmDeploymentSet // Return the intersection with the provided set Intersection(set WasmDeploymentSet) WasmDeploymentSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment, 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 WasmDeploymentSet Delta(newSet WasmDeploymentSet) sksets.ResourceDelta }
func NewWasmDeploymentSet ¶
func NewWasmDeploymentSet(wasmDeploymentList ...*networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) WasmDeploymentSet
func NewWasmDeploymentSetFromList ¶
func NewWasmDeploymentSetFromList(wasmDeploymentList *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeploymentList) WasmDeploymentSet
Click to show internal directories.
Click to hide internal directories.