Documentation
¶
Overview ¶
Package providerid implements functionality for creating kubernetes provider ids for nodes.
Index ¶
Constants ¶
View Source
const (
// Prefix is the gce provider id prefix.
Prefix = "gce://"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderID ¶
ProviderID represents the id for a GCP cluster.
func New ¶
func New(project, location, name string) (ProviderID, error)
New creates a new provider id.
func NewFromResourceURL ¶
func NewFromResourceURL(url string) (ProviderID, error)
NewFromResourceURL creates a provider from a GCP resource url.
Click to show internal directories.
Click to hide internal directories.