Documentation ¶
Index ¶
- Constants
- Variables
- type PlunderCloudProvider
- func (p *PlunderCloudProvider) Clusters() (cloudprovider.Clusters, bool)
- func (p *PlunderCloudProvider) HasClusterID() bool
- func (p *PlunderCloudProvider) Initialize(clientBuilder cloudprovider.ControllerClientBuilder, stop <-chan struct{})
- func (p *PlunderCloudProvider) Instances() (cloudprovider.Instances, bool)
- func (p *PlunderCloudProvider) LoadBalancer() (cloudprovider.LoadBalancer, bool)
- func (p *PlunderCloudProvider) ProviderName() string
- func (p *PlunderCloudProvider) Routes() (cloudprovider.Routes, bool)
- func (p *PlunderCloudProvider) Zones() (cloudprovider.Zones, bool)
Constants ¶
const ( //ProviderName is the name of the cloud provider ProviderName = "plndr" //PlunderCloudConfig is the default name of the load balancer config Map PlunderCloudConfig = "plndr" //PlunderClientConfig is the default name of the load balancer config Map PlunderClientConfig = "plndr" //PlunderServicesKey is the key in the ConfigMap that has the services configuration PlunderServicesKey = "plndr-services" )
Variables ¶
var OutSideCluster bool
OutSideCluster allows the controller to be started using a local kubeConfig for testing
Functions ¶
This section is empty.
Types ¶
type PlunderCloudProvider ¶
type PlunderCloudProvider struct {
// contains filtered or unexported fields
}
PlunderCloudProvider - contains all of the interfaces for the cloud provider
func (*PlunderCloudProvider) Clusters ¶
func (p *PlunderCloudProvider) Clusters() (cloudprovider.Clusters, bool)
Clusters returns a clusters interface. Also returns true if the interface is supported, false otherwise.
func (*PlunderCloudProvider) HasClusterID ¶
func (p *PlunderCloudProvider) HasClusterID() bool
HasClusterID provides an opportunity for cloud-provider-specific code to process DNS settings for pods.
func (*PlunderCloudProvider) Initialize ¶
func (p *PlunderCloudProvider) Initialize(clientBuilder cloudprovider.ControllerClientBuilder, stop <-chan struct{})
Initialize - starts the clound-provider controller
func (*PlunderCloudProvider) Instances ¶
func (p *PlunderCloudProvider) Instances() (cloudprovider.Instances, bool)
Instances returns an instances interface. Also returns true if the interface is supported, false otherwise.
func (*PlunderCloudProvider) LoadBalancer ¶
func (p *PlunderCloudProvider) LoadBalancer() (cloudprovider.LoadBalancer, bool)
LoadBalancer returns a loadbalancer interface. Also returns true if the interface is supported, false otherwise.
func (*PlunderCloudProvider) ProviderName ¶
func (p *PlunderCloudProvider) ProviderName() string
ProviderName returns the cloud provider ID.
func (*PlunderCloudProvider) Routes ¶
func (p *PlunderCloudProvider) Routes() (cloudprovider.Routes, bool)
Routes returns a routes interface along with whether the interface is supported.
func (*PlunderCloudProvider) Zones ¶
func (p *PlunderCloudProvider) Zones() (cloudprovider.Zones, bool)
Zones returns a zones interface. Also returns true if the interface is supported, false otherwise.