plndrcp

package
v0.0.0-...-9eb45d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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

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

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

Routes returns a routes interface along with whether the interface is supported.

func (*PlunderCloudProvider) Zones

Zones returns a zones interface. Also returns true if the interface is supported, false otherwise.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL