v1beta2sets

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayRouteSet

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

func NewGatewayRouteSet

func NewGatewayRouteSet(gatewayRouteList ...*appmesh_k8s_aws_v1beta2.GatewayRoute) GatewayRouteSet

func NewGatewayRouteSetFromList

func NewGatewayRouteSetFromList(gatewayRouteList *appmesh_k8s_aws_v1beta2.GatewayRouteList) GatewayRouteSet

type MeshSet

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

func NewMeshSet

func NewMeshSet(meshList ...*appmesh_k8s_aws_v1beta2.Mesh) MeshSet

func NewMeshSetFromList

func NewMeshSetFromList(meshList *appmesh_k8s_aws_v1beta2.MeshList) MeshSet

type VirtualGatewaySet

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

func NewVirtualGatewaySet

func NewVirtualGatewaySet(virtualGatewayList ...*appmesh_k8s_aws_v1beta2.VirtualGateway) VirtualGatewaySet

func NewVirtualGatewaySetFromList

func NewVirtualGatewaySetFromList(virtualGatewayList *appmesh_k8s_aws_v1beta2.VirtualGatewayList) VirtualGatewaySet

type VirtualNodeSet

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

func NewVirtualNodeSet

func NewVirtualNodeSet(virtualNodeList ...*appmesh_k8s_aws_v1beta2.VirtualNode) VirtualNodeSet

func NewVirtualNodeSetFromList

func NewVirtualNodeSetFromList(virtualNodeList *appmesh_k8s_aws_v1beta2.VirtualNodeList) VirtualNodeSet

type VirtualRouterSet

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

func NewVirtualRouterSet

func NewVirtualRouterSet(virtualRouterList ...*appmesh_k8s_aws_v1beta2.VirtualRouter) VirtualRouterSet

func NewVirtualRouterSetFromList

func NewVirtualRouterSetFromList(virtualRouterList *appmesh_k8s_aws_v1beta2.VirtualRouterList) VirtualRouterSet

type VirtualServiceSet

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

func NewVirtualServiceSet

func NewVirtualServiceSet(virtualServiceList ...*appmesh_k8s_aws_v1beta2.VirtualService) VirtualServiceSet

func NewVirtualServiceSetFromList

func NewVirtualServiceSetFromList(virtualServiceList *appmesh_k8s_aws_v1beta2.VirtualServiceList) VirtualServiceSet

Directories

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

Jump to

Keyboard shortcuts

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