Documentation ¶
Index ¶
- func AddGatewaysToVirtualService(gateways []string, vs kubernetes.IstioObject) kubernetes.IstioObject
- func AddPortDefinitionToServiceEntry(portDef map[string]interface{}, se kubernetes.IstioObject) kubernetes.IstioObject
- func AddRoleRefToServiceBindingRole(serviceRoleName string, sbr kubernetes.IstioObject) kubernetes.IstioObject
- func AddRoutesToVirtualService(routeType string, route map[string]interface{}, vs kubernetes.IstioObject) kubernetes.IstioObject
- func AddServerToGateway(server map[string]interface{}, gw kubernetes.IstioObject) kubernetes.IstioObject
- func AddServicesToServiceRole(services []string, sr kubernetes.IstioObject) kubernetes.IstioObject
- func AddSubsetToDestinationRule(subset map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject
- func AddTargetsToMeshPolicy(targets []interface{}, mp kubernetes.IstioObject) kubernetes.IstioObject
- func AddTrafficPolicyToDestinationRule(trafficPolicy map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject
- func CreateDisabledMTLSTrafficPolicyForDestinationRules() map[string]interface{}
- func CreateEmptyDestinationRule(namespace string, name string, host string) kubernetes.IstioObject
- func CreateEmptyGateway(name, namespace string, selector map[string]string) kubernetes.IstioObject
- func CreateEmptyMeshExternalServiceEntry(name, namespace string, hosts []string) kubernetes.IstioObject
- func CreateEmptyMeshPolicy(name string, peers []interface{}) kubernetes.IstioObject
- func CreateEmptyPolicy(name, namespace string, peers []interface{}) kubernetes.IstioObject
- func CreateEmptyPolicyWithTargets(name, namespace string, targets []interface{}) kubernetes.IstioObject
- func CreateEmptyPortDefinition(port uint32, portName, protocolName string) map[string]interface{}
- func CreateEmptyServiceBindingRole(name, namespace string) kubernetes.IstioObject
- func CreateEmptyServiceRole(name, namespace string) kubernetes.IstioObject
- func CreateEmptyVirtualService(name string, namespace string, hosts []string) kubernetes.IstioObject
- func CreateExternalServiceEntry() kubernetes.IstioObject
- func CreateLoadBalancerTrafficPolicyForDestinationRules() map[string]interface{}
- func CreateMTLSPeers(mode string) []interface{}
- func CreateMTLSTrafficPolicyForDestinationRules() map[string]interface{}
- func CreatePortLevelTrafficPolicyForDestinationRules() map[string]interface{}
- func CreateRoute(host string, subset string, weight int64) map[string]interface{}
- func CreateServer(hosts []string, port uint32, portName, protocolName string) map[string]interface{}
- func CreateSimpleTLSTrafficPolicyForDestinationRules() map[string]interface{}
- func CreateSubset(name string, versionLabel string) map[string]interface{}
- func CreateTLSPortLevelTrafficPolicyForDestinationRules() map[string]interface{}
- func CreateTestDestinationRule(namespace string, name string, host string) kubernetes.IstioObject
- func CreateTrafficPolicyForDestinationRules(mode string) map[string]interface{}
- func CreateVirtualService() kubernetes.IstioObject
- func CreateVirtualServiceWithServiceEntryTarget() kubernetes.IstioObject
- func CreateWorkloadList(namespace string, items ...models.WorkloadListItem) models.WorkloadList
- func CreateWorkloadListItem(name string, labels map[string]string) models.WorkloadListItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGatewaysToVirtualService ¶
func AddGatewaysToVirtualService(gateways []string, vs kubernetes.IstioObject) kubernetes.IstioObject
func AddPortDefinitionToServiceEntry ¶ added in v0.16.0
func AddPortDefinitionToServiceEntry(portDef map[string]interface{}, se kubernetes.IstioObject) kubernetes.IstioObject
func AddRoleRefToServiceBindingRole ¶ added in v0.17.0
func AddRoleRefToServiceBindingRole(serviceRoleName string, sbr kubernetes.IstioObject) kubernetes.IstioObject
func AddRoutesToVirtualService ¶
func AddRoutesToVirtualService(routeType string, route map[string]interface{}, vs kubernetes.IstioObject) kubernetes.IstioObject
func AddServerToGateway ¶ added in v0.11.0
func AddServerToGateway(server map[string]interface{}, gw kubernetes.IstioObject) kubernetes.IstioObject
func AddServicesToServiceRole ¶ added in v0.17.0
func AddServicesToServiceRole(services []string, sr kubernetes.IstioObject) kubernetes.IstioObject
func AddSubsetToDestinationRule ¶
func AddSubsetToDestinationRule(subset map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject
func AddTargetsToMeshPolicy ¶ added in v0.15.0
func AddTargetsToMeshPolicy(targets []interface{}, mp kubernetes.IstioObject) kubernetes.IstioObject
func AddTrafficPolicyToDestinationRule ¶ added in v0.15.0
func AddTrafficPolicyToDestinationRule(trafficPolicy map[string]interface{}, dr kubernetes.IstioObject) 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 CreateEmptyMeshPolicy ¶ added in v0.15.0
func CreateEmptyMeshPolicy(name string, peers []interface{}) kubernetes.IstioObject
func CreateEmptyPolicy ¶ added in v0.16.0
func CreateEmptyPolicy(name, namespace string, peers []interface{}) kubernetes.IstioObject
func CreateEmptyPolicyWithTargets ¶ added in v0.16.0
func CreateEmptyPolicyWithTargets(name, namespace string, targets []interface{}) kubernetes.IstioObject
func CreateEmptyPortDefinition ¶ added in v0.16.0
func CreateEmptyServiceBindingRole ¶ added in v0.17.0
func CreateEmptyServiceBindingRole(name, namespace string) kubernetes.IstioObject
func CreateEmptyServiceRole ¶ added in v0.17.0
func CreateEmptyServiceRole(name, namespace string) kubernetes.IstioObject
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 CreateMTLSPeers ¶ added in v0.16.0
func CreateMTLSPeers(mode string) []interface{}
func CreateMTLSTrafficPolicyForDestinationRules ¶ added in v0.15.0
func CreateMTLSTrafficPolicyForDestinationRules() map[string]interface{}
func CreatePortLevelTrafficPolicyForDestinationRules ¶ added in v0.15.0
func CreatePortLevelTrafficPolicyForDestinationRules() map[string]interface{}
func CreateRoute ¶
func CreateServer ¶ added in v0.11.0
func CreateSimpleTLSTrafficPolicyForDestinationRules ¶ added in v0.16.0
func CreateSimpleTLSTrafficPolicyForDestinationRules() map[string]interface{}
func CreateSubset ¶
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 CreateVirtualServiceWithServiceEntryTarget ¶
func CreateVirtualServiceWithServiceEntryTarget() kubernetes.IstioObject
Example from https://istio.io/docs/reference/config/istio.networking.v1alpha3/#Destination
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.