v1alpha3sets

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 7

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

func NewDestinationRuleSet

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

func NewDestinationRuleSetFromList

func NewDestinationRuleSetFromList(destinationRuleList *networking_istio_io_v1alpha3.DestinationRuleList) DestinationRuleSet

type EnvoyFilterSet

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

func NewEnvoyFilterSet

func NewEnvoyFilterSet(envoyFilterList ...*networking_istio_io_v1alpha3.EnvoyFilter) EnvoyFilterSet

func NewEnvoyFilterSetFromList

func NewEnvoyFilterSetFromList(envoyFilterList *networking_istio_io_v1alpha3.EnvoyFilterList) EnvoyFilterSet

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

func NewGatewaySet

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

func NewGatewaySetFromList

func NewGatewaySetFromList(gatewayList *networking_istio_io_v1alpha3.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_v1alpha3.ServiceEntry) bool) []*networking_istio_io_v1alpha3.ServiceEntry
	// Return the Set as a map of key to resource.
	Map() map[string]*networking_istio_io_v1alpha3.ServiceEntry
	// Insert a resource into the set.
	Insert(serviceEntry ...*networking_istio_io_v1alpha3.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_v1alpha3.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
}

func NewServiceEntrySet

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

func NewServiceEntrySetFromList

func NewServiceEntrySetFromList(serviceEntryList *networking_istio_io_v1alpha3.ServiceEntryList) ServiceEntrySet

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

func NewVirtualServiceSet

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

func NewVirtualServiceSetFromList

func NewVirtualServiceSetFromList(virtualServiceList *networking_istio_io_v1alpha3.VirtualServiceList) VirtualServiceSet

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