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