Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
CreateNode(*kubernikus_v1.Kluster, *models.NodePool, []byte) (string, error)
DeleteNode(*kubernikus_v1.Kluster, string) error
GetNodes(*kubernikus_v1.Kluster, *models.NodePool) ([]Node, error)
GetProject(id string) (*Project, error)
GetRegion() (string, error)
GetRouters(project_id string) ([]Router, error)
DeleteUser(username, domainID string) error
CreateKlusterServiceUser(username, password, domain, defaultProjectID string) error
GetKubernikusCatalogEntry() (string, error)
}
func NewClient ¶
func NewClient(secrets typedv1.SecretInterface, klusterEvents cache.SharedIndexInformer, authURL, username, password, domain, project, projectDomain string) Client
type ScopedClient ¶ added in v1.2.0
type ScopedClient interface {
GetMetadata() (*models.OpenstackMetadata, error)
}
func NewScopedClient ¶ added in v1.2.0
func NewScopedClient(authOptions *tokens.AuthOptions) (ScopedClient, error)
Source Files
¶
- client.go
- metadata.go
Click to show internal directories.
Click to hide internal directories.