Documentation ¶
Index ¶
- Constants
- type Provider
- func (s *Provider) EnsureLoadBalancer(ctx context.Context, vmService *vmopv1.VirtualMachineService) error
- func (s *Provider) GetServiceAnnotations(ctx context.Context, vmService *vmopv1.VirtualMachineService) (map[string]string, error)
- func (s *Provider) GetServiceLabels(ctx context.Context, vmService *vmopv1.VirtualMachineService) (map[string]string, error)
- func (s *Provider) GetToBeRemovedServiceAnnotations(ctx context.Context, vmService *vmopv1.VirtualMachineService) (map[string]string, error)
- func (s *Provider) GetToBeRemovedServiceLabels(ctx context.Context, vmService *vmopv1.VirtualMachineService) (map[string]string, error)
- func (s *Provider) GetVirtualMachineClassName(ctx context.Context, namespace string) (string, error)
- func (s *Provider) GetVirtualMachineImageName(ctx context.Context) (string, error)
- type XdsServer
Constants ¶
View Source
const XdsNodePort = 31799
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) EnsureLoadBalancer ¶
func (*Provider) GetServiceAnnotations ¶
func (*Provider) GetServiceLabels ¶
func (*Provider) GetToBeRemovedServiceAnnotations ¶
func (*Provider) GetToBeRemovedServiceLabels ¶
func (*Provider) GetVirtualMachineClassName ¶
func (s *Provider) GetVirtualMachineClassName(ctx context.Context, namespace string) (string, error)
GetVirtualMachineClassName returns the class name for loadbalancer-vm. We need to choose the VM class name which the namespace has access to instead of hardcode it.
func (*Provider) GetVirtualMachineImageName ¶
GetVirtualMachineImageName returns the image name for loadbalancer-vm image in the cluster. Since we use generateName for VirtualMachineImage resources, we cannot directly use 'loadbalancer-vm'.
Click to show internal directories.
Click to hide internal directories.