v1alpha1sets

package
v1.1.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IstioInstallationSet

type IstioInstallationSet 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(*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) bool) []*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation
	// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
	UnsortedList(filterResource ...func(*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) bool) []*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation
	// Return the Set as a map of key to resource.
	Map() map[string]*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation
	// Insert a resource into the set.
	Insert(istioInstallation ...*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation)
	// Compare the equality of the keys in two sets (not the resources themselves)
	Equal(istioInstallationSet IstioInstallationSet) bool
	// Check if the set contains a key matching the resource (not the resource itself)
	Has(istioInstallation ezkube.ResourceId) bool
	// Delete the key matching the resource
	Delete(istioInstallation ezkube.ResourceId)
	// Return the union with the provided set
	Union(set IstioInstallationSet) IstioInstallationSet
	// Return the difference with the provided set
	Difference(set IstioInstallationSet) IstioInstallationSet
	// Return the intersection with the provided set
	Intersection(set IstioInstallationSet) IstioInstallationSet
	// Find the resource with the given ID
	Find(id ezkube.ResourceId) (*admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation, 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 IstioInstallationSet
	Delta(newSet IstioInstallationSet) sksets.ResourceDelta
	// Create a deep copy of the current IstioInstallationSet
	Clone() IstioInstallationSet
}

Directories

Path Synopsis
Package mock_v1alpha1sets is a generated GoMock package.
Package mock_v1alpha1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL