Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExposeEndpoints ¶
func ExposeEndpoints( ctx context.Context, h *helper.Helper, serviceName string, endpointSelector map[string]string, endpoints map[Endpoint]Data, timeout time.Duration, ) (map[string]string, ctrl.Result, error)
ExposeEndpoints - creates services, routes and returns a map of created openstack endpoint
Types ¶
type Data ¶
type Data struct { // Used in k8s service definition Port int32 // An optional path suffix to append to route hostname when forming Keystone endpoint URLs Path string // details for metallb service generation MetalLB *MetalLBData }
Data - information for generation of K8S services and Keystone endpoint URLs
type MetalLBData ¶
type MetalLBData struct { // Name of the metallb IpAddressPool IPAddressPool string SharedIP bool // Services which share the same VIP must have the same SharedIPKey. Gets default to the IPAddressPool if // SharedIP is true, but no SharedIPKey set. SharedIPKey string // if set request these IPs via MetalLBLoadBalancerIPs, using a list for dual stack (ipv4/ipv6) LoadBalancerIPs []string }
MetalLBData - information specific to creating the MetalLB service
Click to show internal directories.
Click to hide internal directories.