v1alpha3sets

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPRouteGroupSet

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

func NewHTTPRouteGroupSet

func NewHTTPRouteGroupSet(hTTPRouteGroupList ...*specs_smi_spec_io_v1alpha3.HTTPRouteGroup) HTTPRouteGroupSet

func NewHTTPRouteGroupSetFromList

func NewHTTPRouteGroupSetFromList(hTTPRouteGroupList *specs_smi_spec_io_v1alpha3.HTTPRouteGroupList) HTTPRouteGroupSet

Directories

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

Jump to

Keyboard shortcuts

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