v1sets

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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 AccessPolicySet

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

func NewAccessPolicySet

func NewAccessPolicySet(accessPolicyList ...*networking_mesh_gloo_solo_io_v1.AccessPolicy) AccessPolicySet

func NewAccessPolicySetFromList

func NewAccessPolicySetFromList(accessPolicyList *networking_mesh_gloo_solo_io_v1.AccessPolicyList) AccessPolicySet

type TrafficPolicySet

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

func NewTrafficPolicySet

func NewTrafficPolicySet(trafficPolicyList ...*networking_mesh_gloo_solo_io_v1.TrafficPolicy) TrafficPolicySet

func NewTrafficPolicySetFromList

func NewTrafficPolicySetFromList(trafficPolicyList *networking_mesh_gloo_solo_io_v1.TrafficPolicyList) TrafficPolicySet

type VirtualMeshSet

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

func NewVirtualMeshSet

func NewVirtualMeshSet(virtualMeshList ...*networking_mesh_gloo_solo_io_v1.VirtualMesh) VirtualMeshSet

func NewVirtualMeshSetFromList

func NewVirtualMeshSetFromList(virtualMeshList *networking_mesh_gloo_solo_io_v1.VirtualMeshList) VirtualMeshSet

Directories

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

Jump to

Keyboard shortcuts

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