v1alpha2sets

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 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_v1alpha2.AccessPolicy) bool) []*networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy
	// Return the Set as a map of key to resource.
	Map() map[string]*networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy
	// Insert a resource into the set.
	Insert(accessPolicy ...*networking_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.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
}

func NewAccessPolicySet

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

type FailoverServiceSet

type FailoverServiceSet 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_v1alpha2.FailoverService) bool) []*networking_mesh_gloo_solo_io_v1alpha2.FailoverService
	// Return the Set as a map of key to resource.
	Map() map[string]*networking_mesh_gloo_solo_io_v1alpha2.FailoverService
	// Insert a resource into the set.
	Insert(failoverService ...*networking_mesh_gloo_solo_io_v1alpha2.FailoverService)
	// Compare the equality of the keys in two sets (not the resources themselves)
	Equal(failoverServiceSet FailoverServiceSet) bool
	// Check if the set contains a key matching the resource (not the resource itself)
	Has(failoverService ezkube.ResourceId) bool
	// Delete the key matching the resource
	Delete(failoverService ezkube.ResourceId)
	// Return the union with the provided set
	Union(set FailoverServiceSet) FailoverServiceSet
	// Return the difference with the provided set
	Difference(set FailoverServiceSet) FailoverServiceSet
	// Return the intersection with the provided set
	Intersection(set FailoverServiceSet) FailoverServiceSet
	// Find the resource with the given ID
	Find(id ezkube.ResourceId) (*networking_mesh_gloo_solo_io_v1alpha2.FailoverService, 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 FailoverServiceSet
	Delta(newSet FailoverServiceSet) sksets.ResourceDelta
}

func NewFailoverServiceSet

func NewFailoverServiceSet(failoverServiceList ...*networking_mesh_gloo_solo_io_v1alpha2.FailoverService) FailoverServiceSet

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_v1alpha2.TrafficPolicy) bool) []*networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy
	// Return the Set as a map of key to resource.
	Map() map[string]*networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy
	// Insert a resource into the set.
	Insert(trafficPolicy ...*networking_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.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
}

func NewTrafficPolicySet

func NewTrafficPolicySet(trafficPolicyList ...*networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) 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_v1alpha2.VirtualMesh) bool) []*networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh
	// Return the Set as a map of key to resource.
	Map() map[string]*networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh
	// Insert a resource into the set.
	Insert(virtualMesh ...*networking_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.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
}

func NewVirtualMeshSet

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

Directories

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

Jump to

Keyboard shortcuts

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