Documentation ¶
Index ¶
- Constants
- func Annotate(vs *v1alpha3.VirtualService, name string, value string)
- func BuildHostNameForCellDependency(dependencyInst string) string
- func BuildHostNamesForCompositeDependency(dependencyInst string, components []v1alpha2.Component) []string
- func BuildHttpRoutesForCellDependency(name string, dependencyInst string, isInstanceIdBasedRulesRequired bool, ...) []*v1alpha3.HTTPRoute
- func BuildHttpRoutesForCompositeDependency(name string, dependencyInst string, components []v1alpha2.Component, ...) []*v1alpha3.HTTPRoute
- func BuildVirtualServiceLastAppliedConfig(vs *v1alpha3.VirtualService) *v1alpha3.VirtualService
- func CompositeK8sServiceNameFromInstance(instance string, component v1alpha2.Component) string
- func ExtractDependencies(annotations map[string]string) ([]map[string]string, error)
- func GatewayK8sServiceName(gwName string) string
- func GatewayNameFromInstanceName(instance string) string
- func RoutingVirtualServiceName(instanceName string) string
- type SrcLabelBulder
Constants ¶
View Source
const CellKind = "Cell"
View Source
const CompositeKind = "Composite"
View Source
const Instance = "instance"
View Source
const InstanceId = "x-instance-id"
View Source
const Kind = "kind"
Variables ¶
This section is empty.
Functions ¶
func BuildVirtualServiceLastAppliedConfig ¶
func BuildVirtualServiceLastAppliedConfig(vs *v1alpha3.VirtualService) *v1alpha3.VirtualService
func ExtractDependencies ¶
func GatewayK8sServiceName ¶
Types ¶
type SrcLabelBulder ¶ added in v0.4.1
Click to show internal directories.
Click to hide internal directories.