Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeService ¶
func MakeService(ctx context.Context, ci *networkingv1alpha1.ClusterIngress, ambassadorNamespace string) (*corev1.Service, error)
MakeService makes a dummy Kubernetes Service used to provide the Ambassador config
Types ¶
type Mapping ¶
type Mapping struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Name string `json:"name"` Prefix string `json:"prefix"` PrefixRegex bool `json:"prefix_regex"` Service string `json:"service"` Weight int `json:"weight"` AddRequestHeaders map[string]string `json:"add_request_headers,omitempty"` Host string `json:"host"` HostRegex bool `json:"host_regex"` TimeoutMs int64 `json:"timeout_ms"` }
Mapping is an Ambassador Mapping
Click to show internal directories.
Click to hide internal directories.