data

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 4 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 AddPortDefinitionToServiceEntry

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 AddServerToGateway

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 AddTargetsToMeshPolicy

func AddTargetsToMeshPolicy(targets []interface{}, mp kubernetes.IstioObject) kubernetes.IstioObject

func AddTrafficPolicyToDestinationRule

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

func CreateDisabledMTLSTrafficPolicyForDestinationRules

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

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

func CreateEmptyMeshPolicy

func CreateEmptyMeshPolicy(name string, peers []interface{}) kubernetes.IstioObject

func CreateEmptyPolicy

func CreateEmptyPolicy(name, namespace string, peers []interface{}) kubernetes.IstioObject

func CreateEmptyPolicyWithTargets

func CreateEmptyPolicyWithTargets(name, namespace string, targets []interface{}) kubernetes.IstioObject

func CreateEmptyPortDefinition

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

func CreateLoadBalancerTrafficPolicyForDestinationRules() map[string]interface{}

func CreateMTLSPeers

func CreateMTLSPeers(mode string) []interface{}

func CreateMTLSTrafficPolicyForDestinationRules

func CreateMTLSTrafficPolicyForDestinationRules() map[string]interface{}

func CreatePortLevelTrafficPolicyForDestinationRules

func CreatePortLevelTrafficPolicyForDestinationRules() map[string]interface{}

func CreateRoute

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

func CreateServer

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

func CreateSimpleTLSTrafficPolicyForDestinationRules

func CreateSimpleTLSTrafficPolicyForDestinationRules() map[string]interface{}

func CreateSubset

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

func CreateTLSPortLevelTrafficPolicyForDestinationRules

func CreateTLSPortLevelTrafficPolicyForDestinationRules() map[string]interface{}

func CreateTestDestinationRule

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

func CreateTrafficPolicyForDestinationRules

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

func CreateVirtualService

func CreateVirtualService() kubernetes.IstioObject

TODO Naming etc

func CreateWorkloadList

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

func CreateWorkloadListItem

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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