Documentation
¶
Index ¶
Constants ¶
View Source
const (
DNS1123LabelMaxLength int = 63
)
View Source
const (
// The name of this cloudprovider
ProviderName = "linode"
)
Variables ¶
View Source
var (
Mu sync.RWMutex
)
View Source
var Options struct { KubeconfigFlag *pflag.Flag LinodeGoDebug bool EnableRouteController bool // Deprecated: use VPCNames instead VPCName string VPCNames string LoadBalancerType string BGPNodeSelector string IpHolderSuffix string LinodeExternalNetwork *net.IPNet NodeBalancerTags []string }
Options is a configuration object for this cloudprovider implementation. We expect it to be initialized with flags external to this package, likely in main.go
Functions ¶
func GetAllVPCIDs ¶ added in v0.4.18
func GetAllVPCIDs() []int
GetAllVPCIDs returns vpc ids stored in map
func GetVPCIPAddresses ¶ added in v0.4.18
func GetVPCIPAddresses(ctx context.Context, client client.Client, vpcName string) ([]linodego.VPCIP, error)
GetVPCIPAddresses returns vpc ip's for given VPC label
func IgnoreLinodeAPIError ¶ added in v0.4.5
IgnoreLinodeAPIError returns the error except matches to status code
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.