Documentation ¶
Index ¶
- Constants
- type XenOrchestra
- func (xo *XenOrchestra) Clusters() (cloudprovider.Clusters, bool)
- func (xo *XenOrchestra) HasClusterID() bool
- func (xo *XenOrchestra) Initialize(clientBuilder cloudprovider.ControllerClientBuilder, stop <-chan struct{})
- func (xo *XenOrchestra) Instances() (cloudprovider.Instances, bool)
- func (xo *XenOrchestra) InstancesV2() (cloudprovider.InstancesV2, bool)
- func (xo *XenOrchestra) LoadBalancer() (cloudprovider.LoadBalancer, bool)
- func (xo *XenOrchestra) ProviderName() string
- func (xo *XenOrchestra) Routes() (cloudprovider.Routes, bool)
- func (xo *XenOrchestra) Zones() (cloudprovider.Zones, bool)
Constants ¶
const ( // RegisteredProviderName is the name of the cloud provider registered with // Kubernetes. RegisteredProviderName string = "xenorchestra" // ProviderName is the name used for constructing Provider ID ProviderName string = "xenorchestra" // ClientName is the user agent passed into the controller client builder. ClientName string = "xo-cloud-controller-manager" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XenOrchestra ¶
type XenOrchestra struct { }
XenOrchestra is an implementation of cloud provider Interface for XenOrchestra.
func (*XenOrchestra) Clusters ¶
func (xo *XenOrchestra) Clusters() (cloudprovider.Clusters, bool)
Clusters returns a clusters interface. Also returns true if the interface is supported, false otherwise.
func (*XenOrchestra) HasClusterID ¶
func (xo *XenOrchestra) HasClusterID() bool
HasClusterID returns true if a ClusterID is required and set
func (*XenOrchestra) Initialize ¶
func (xo *XenOrchestra) Initialize(clientBuilder cloudprovider.ControllerClientBuilder, stop <-chan struct{})
Initialize provides the cloud with a kubernetes client builder and may spawn goroutines to perform housekeeping or run custom controllers specific to the cloud provider. Any tasks started here should be cleaned up when the stop channel closes.
func (*XenOrchestra) Instances ¶
func (xo *XenOrchestra) Instances() (cloudprovider.Instances, bool)
Instances returns an instances interface. Also returns true if the interface is supported, false otherwise.
func (*XenOrchestra) InstancesV2 ¶
func (xo *XenOrchestra) InstancesV2() (cloudprovider.InstancesV2, bool)
InstancesV2 is an implementation for instances and should only be implemented by external cloud providers. Implementing InstancesV2 is behaviorally identical to Instances but is optimized to significantly reduce API calls to the cloud provider when registering and syncing nodes. Implementation of this interface will disable calls to the Zones interface. Also returns true if the interface is supported, false otherwise.
func (*XenOrchestra) LoadBalancer ¶
func (xo *XenOrchestra) LoadBalancer() (cloudprovider.LoadBalancer, bool)
LoadBalancer returns a balancer interface. Also returns true if the interface is supported, false otherwise.
func (*XenOrchestra) ProviderName ¶
func (xo *XenOrchestra) ProviderName() string
ProviderName returns the cloud provider ID.
func (*XenOrchestra) Routes ¶
func (xo *XenOrchestra) Routes() (cloudprovider.Routes, bool)
Routes returns a routes interface along with whether the interface is supported.
func (*XenOrchestra) Zones ¶
func (xo *XenOrchestra) Zones() (cloudprovider.Zones, bool)
Zones returns a zones interface. Also returns true if the interface is supported, false otherwise. DEPRECATED: Zones is deprecated in favor of retrieving zone/region information from InstancesV2. This interface will not be called if InstancesV2 is enabled.