data

package
v1.36.14 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGatewaysToVirtualService

func AddGatewaysToVirtualService(gateways []string, vs kubernetes.IstioObject) kubernetes.IstioObject

func AddHostsToSidecar added in v1.15.0

func AddHostsToSidecar(hl []interface{}, sc kubernetes.IstioObject) kubernetes.IstioObject

func AddPortDefinitionToServiceEntry added in v0.16.0

func AddPortDefinitionToServiceEntry(portDef map[string]interface{}, se kubernetes.IstioObject) kubernetes.IstioObject

func AddRoutesToVirtualService

func AddRoutesToVirtualService(routeType string, route map[string]interface{}, vs kubernetes.IstioObject) kubernetes.IstioObject

func AddSelectorToPeerAuthn added in v1.18.1

func AddSelectorToPeerAuthn(selector map[string]interface{}, mp kubernetes.IstioObject) kubernetes.IstioObject

func AddSelectorToSidecar added in v1.15.0

func AddSelectorToSidecar(selector map[string]interface{}, sc kubernetes.IstioObject) kubernetes.IstioObject

func AddServerToGateway added in v0.11.0

func AddServerToGateway(server map[string]interface{}, gw kubernetes.IstioObject) kubernetes.IstioObject

func AddSubsetToDestinationRule

func AddSubsetToDestinationRule(subset map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject

func AddTrafficPolicyToDestinationRule added in v0.15.0

func AddTrafficPolicyToDestinationRule(trafficPolicy map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject

func CreateAuthorizationPolicy added in v1.14.0

func CreateAuthorizationPolicy(sourceNamespaces, operationMethods, operationHosts []interface{}, selector map[string]interface{}) kubernetes.IstioObject

func CreateDisabledMTLSTrafficPolicyForDestinationRules added in v0.16.0

func CreateDisabledMTLSTrafficPolicyForDestinationRules() map[string]interface{}

func CreateEmptyDestinationRule

func CreateEmptyDestinationRule(namespace string, name string, host string) kubernetes.IstioObject

func CreateEmptyGateway

func CreateEmptyGateway(name, namespace string, selector map[string]string) kubernetes.IstioObject

func CreateEmptyMeshExternalServiceEntry added in v0.16.0

func CreateEmptyMeshExternalServiceEntry(name, namespace string, hosts []string) kubernetes.IstioObject

func CreateEmptyMeshPeerAuthentication added in v1.18.1

func CreateEmptyMeshPeerAuthentication(name string, mtls interface{}) kubernetes.IstioObject

func CreateEmptyPeerAuthentication added in v1.18.1

func CreateEmptyPeerAuthentication(name, namespace string, mtls interface{}) kubernetes.IstioObject

func CreateEmptyPeerAuthenticationWithSelector added in v1.18.1

func CreateEmptyPeerAuthenticationWithSelector(name, namespace string, selector interface{}) kubernetes.IstioObject

func CreateEmptyPortDefinition added in v0.16.0

func CreateEmptyPortDefinition(port uint32, portName, protocolName string) map[string]interface{}

func CreateEmptyVirtualService

func CreateEmptyVirtualService(name string, namespace string, hosts []string) kubernetes.IstioObject

func CreateExternalServiceEntry

func CreateExternalServiceEntry() kubernetes.IstioObject

func CreateLoadBalancerTrafficPolicyForDestinationRules added in v0.15.0

func CreateLoadBalancerTrafficPolicyForDestinationRules() map[string]interface{}

func CreateMTLS added in v1.18.1

func CreateMTLS(mode string) interface{}

func CreateMTLSTrafficPolicyForDestinationRules added in v0.15.0

func CreateMTLSTrafficPolicyForDestinationRules() map[string]interface{}

func CreateNoLabelsDestinationRule added in v1.26.0

func CreateNoLabelsDestinationRule(namespace string, name string, host string) kubernetes.IstioObject

func CreateNoLabelsSubset added in v1.26.0

func CreateNoLabelsSubset(name string) map[string]interface{}

func CreateOneLabelSelector added in v1.18.1

func CreateOneLabelSelector(value string) map[string]interface{}

func CreatePortLevelTrafficPolicyForDestinationRules added in v0.15.0

func CreatePortLevelTrafficPolicyForDestinationRules() map[string]interface{}

func CreateRoute

func CreateRoute(host string, subset string, weight int64) map[string]interface{}

func CreateServer added in v0.11.0

func CreateServer(hosts []string, port uint32, portName, protocolName string) map[string]interface{}

func CreateSidecar added in v1.15.0

func CreateSidecar(name string, namespace string) kubernetes.IstioObject

func CreateSimpleTLSTrafficPolicyForDestinationRules added in v0.16.0

func CreateSimpleTLSTrafficPolicyForDestinationRules() map[string]interface{}

func CreateSubset

func CreateSubset(name string, versionLabel string) map[string]interface{}

func CreateTLSPortLevelTrafficPolicyForDestinationRules added in v0.15.0

func CreateTLSPortLevelTrafficPolicyForDestinationRules() map[string]interface{}

func CreateTestDestinationRule

func CreateTestDestinationRule(namespace string, name string, host string) kubernetes.IstioObject

func CreateTrafficPolicyForDestinationRules added in v0.16.0

func CreateTrafficPolicyForDestinationRules(mode string) map[string]interface{}

func CreateVirtualService

func CreateVirtualService() kubernetes.IstioObject

TODO Naming etc

func CreateWorkloadList added in v0.13.0

func CreateWorkloadList(namespace string, items ...models.WorkloadListItem) models.WorkloadList

func CreateWorkloadListItem added in v0.13.0

func CreateWorkloadListItem(name string, labels map[string]string) models.WorkloadListItem

Types

type FixtureLoader added in v1.19.0

type FixtureLoader interface {
	Load() error
	GetResources(kind string) kubernetes.IstioObjectList
}

type YamlFixtureLoader added in v1.19.0

type YamlFixtureLoader struct {
	Filename string
	// contains filtered or unexported fields
}

func (YamlFixtureLoader) GetAllResources added in v1.24.0

func (l YamlFixtureLoader) GetAllResources() []kubernetes.IstioObject

func (YamlFixtureLoader) GetFirstResource added in v1.22.0

func (l YamlFixtureLoader) GetFirstResource(kind string) kubernetes.IstioObject

func (YamlFixtureLoader) GetResource added in v1.19.0

func (l YamlFixtureLoader) GetResource(kind, name, namespace string) kubernetes.IstioObject

func (YamlFixtureLoader) GetResources added in v1.19.0

func (l YamlFixtureLoader) GetResources(kind string) []kubernetes.IstioObject

func (YamlFixtureLoader) GetResourcesIn added in v1.22.0

func (l YamlFixtureLoader) GetResourcesIn(kind, namespace string) []kubernetes.IstioObject

func (YamlFixtureLoader) GetResourcesMatching added in v1.22.0

func (l YamlFixtureLoader) GetResourcesMatching(kind string, match func(resource kubernetes.IstioObject) bool) []kubernetes.IstioObject

func (YamlFixtureLoader) GetResourcesNotIn added in v1.22.0

func (l YamlFixtureLoader) GetResourcesNotIn(kind, namespace string) []kubernetes.IstioObject

func (*YamlFixtureLoader) Load added in v1.19.0

func (l *YamlFixtureLoader) Load() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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