v1beta1sets

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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 DestinationRuleSet

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

func NewDestinationRuleSet

func NewDestinationRuleSet(destinationRuleList ...*networking_istio_io_v1beta1.DestinationRule) DestinationRuleSet

func NewDestinationRuleSetFromList

func NewDestinationRuleSetFromList(destinationRuleList *networking_istio_io_v1beta1.DestinationRuleList) DestinationRuleSet

type GatewaySet

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

func NewGatewaySet

func NewGatewaySet(gatewayList ...*networking_istio_io_v1beta1.Gateway) GatewaySet

func NewGatewaySetFromList

func NewGatewaySetFromList(gatewayList *networking_istio_io_v1beta1.GatewayList) GatewaySet

type ServiceEntrySet

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

func NewServiceEntrySet

func NewServiceEntrySet(serviceEntryList ...*networking_istio_io_v1beta1.ServiceEntry) ServiceEntrySet

func NewServiceEntrySetFromList

func NewServiceEntrySetFromList(serviceEntryList *networking_istio_io_v1beta1.ServiceEntryList) ServiceEntrySet

type SidecarSet

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

func NewSidecarSet

func NewSidecarSet(sidecarList ...*networking_istio_io_v1beta1.Sidecar) SidecarSet

func NewSidecarSetFromList

func NewSidecarSetFromList(sidecarList *networking_istio_io_v1beta1.SidecarList) SidecarSet

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.
	List(filterResource ...func(*networking_istio_io_v1beta1.VirtualService) bool) []*networking_istio_io_v1beta1.VirtualService
	// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
	UnsortedList(filterResource ...func(*networking_istio_io_v1beta1.VirtualService) bool) []*networking_istio_io_v1beta1.VirtualService
	// Return the Set as a map of key to resource.
	Map() map[string]*networking_istio_io_v1beta1.VirtualService
	// Insert a resource into the set.
	Insert(virtualService ...*networking_istio_io_v1beta1.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) (*networking_istio_io_v1beta1.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 ...*networking_istio_io_v1beta1.VirtualService) VirtualServiceSet

func NewVirtualServiceSetFromList

func NewVirtualServiceSetFromList(virtualServiceList *networking_istio_io_v1beta1.VirtualServiceList) VirtualServiceSet

type WorkloadEntrySet

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

func NewWorkloadEntrySet

func NewWorkloadEntrySet(workloadEntryList ...*networking_istio_io_v1beta1.WorkloadEntry) WorkloadEntrySet

func NewWorkloadEntrySetFromList

func NewWorkloadEntrySetFromList(workloadEntryList *networking_istio_io_v1beta1.WorkloadEntryList) WorkloadEntrySet

type WorkloadGroupSet added in v0.1.18

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

func NewWorkloadGroupSet added in v0.1.18

func NewWorkloadGroupSet(workloadGroupList ...*networking_istio_io_v1beta1.WorkloadGroup) WorkloadGroupSet

func NewWorkloadGroupSetFromList added in v0.1.18

func NewWorkloadGroupSetFromList(workloadGroupList *networking_istio_io_v1beta1.WorkloadGroupList) WorkloadGroupSet

Directories

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

Jump to

Keyboard shortcuts

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