Documentation ¶
Index ¶
- func AddGatewaysToVirtualService(gateways []string, vs kubernetes.IstioObject) kubernetes.IstioObject
- func AddRoutesToVirtualService(routeType string, route map[string]interface{}, vs kubernetes.IstioObject) kubernetes.IstioObject
- func AddSubsetToDestinationRule(subset map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject
- func CreateEmptyDestinationRule(namespace string, name string, host string) kubernetes.IstioObject
- func CreateEmptyGateway(name string, selector map[string]string) kubernetes.IstioObject
- func CreateEmptyVirtualService(name string, namespace string, hosts []string) kubernetes.IstioObject
- func CreateExternalServiceEntry() kubernetes.IstioObject
- func CreateRoute(host string, subset string, weight int64) map[string]interface{}
- func CreateSubset(name string, versionLabel string) map[string]interface{}
- func CreateTestDestinationRule(namespace string, name string, host string) kubernetes.IstioObject
- func CreateVirtualService() kubernetes.IstioObject
- func CreateVirtualServiceWithServiceEntryTarget() kubernetes.IstioObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGatewaysToVirtualService ¶
func AddGatewaysToVirtualService(gateways []string, vs kubernetes.IstioObject) kubernetes.IstioObject
func AddRoutesToVirtualService ¶
func AddRoutesToVirtualService(routeType string, route map[string]interface{}, vs kubernetes.IstioObject) kubernetes.IstioObject
func AddSubsetToDestinationRule ¶
func AddSubsetToDestinationRule(subset map[string]interface{}, dr kubernetes.IstioObject) kubernetes.IstioObject
func CreateEmptyDestinationRule ¶
func CreateEmptyDestinationRule(namespace string, name string, host string) kubernetes.IstioObject
func CreateEmptyGateway ¶
func CreateEmptyGateway(name string, selector map[string]string) kubernetes.IstioObject
func CreateEmptyVirtualService ¶
func CreateEmptyVirtualService(name string, namespace string, hosts []string) kubernetes.IstioObject
func CreateExternalServiceEntry ¶
func CreateExternalServiceEntry() kubernetes.IstioObject
func CreateRoute ¶
func CreateSubset ¶
func CreateTestDestinationRule ¶
func CreateTestDestinationRule(namespace string, name string, host string) kubernetes.IstioObject
func CreateVirtualServiceWithServiceEntryTarget ¶
func CreateVirtualServiceWithServiceEntryTarget() kubernetes.IstioObject
Example from https://istio.io/docs/reference/config/istio.networking.v1alpha3/#Destination
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.