Documentation ¶
Index ¶
- func CheckError(err error)
- type KubernikusClient
- func (k *KubernikusClient) CreateCluster(cluster *models.Kluster) error
- func (k *KubernikusClient) DeleteCluster(name string) error
- func (k *KubernikusClient) GetCredentials(name string) (string, error)
- func (k *KubernikusClient) GetDefaultCluster() (*models.Kluster, error)
- func (k *KubernikusClient) ListAllClusters() ([]*models.Kluster, error)
- func (k *KubernikusClient) ListNodePools(clusterName string) ([]models.NodePool, error)
- func (k *KubernikusClient) ShowCluster(name string) (*models.Kluster, error)
- func (k *KubernikusClient) ShowNodePool(clusterName string, nodePoolName string) (*models.NodePool, error)
- type OpenstackClient
- func (o *OpenstackClient) Authenticate() error
- func (o *OpenstackClient) BindFlags(flags *pflag.FlagSet)
- func (o *OpenstackClient) Complete(args []string) error
- func (o *OpenstackClient) DefaultKubernikusURL() (*url.URL, error)
- func (o *OpenstackClient) PrintAuthInfo() string
- func (o *OpenstackClient) PrintDebugAuthInfo() string
- func (o *OpenstackClient) Setup() error
- func (o *OpenstackClient) Validate(c *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(err error)
Types ¶
type KubernikusClient ¶
type KubernikusClient struct {
// contains filtered or unexported fields
}
func NewKubernikusClient ¶
func NewKubernikusClient(url *url.URL, token string) *KubernikusClient
func (*KubernikusClient) CreateCluster ¶
func (k *KubernikusClient) CreateCluster(cluster *models.Kluster) error
func (*KubernikusClient) DeleteCluster ¶
func (k *KubernikusClient) DeleteCluster(name string) error
func (*KubernikusClient) GetCredentials ¶
func (k *KubernikusClient) GetCredentials(name string) (string, error)
func (*KubernikusClient) GetDefaultCluster ¶
func (k *KubernikusClient) GetDefaultCluster() (*models.Kluster, error)
func (*KubernikusClient) ListAllClusters ¶
func (k *KubernikusClient) ListAllClusters() ([]*models.Kluster, error)
func (*KubernikusClient) ListNodePools ¶ added in v1.2.0
func (k *KubernikusClient) ListNodePools(clusterName string) ([]models.NodePool, error)
func (*KubernikusClient) ShowCluster ¶
func (k *KubernikusClient) ShowCluster(name string) (*models.Kluster, error)
func (*KubernikusClient) ShowNodePool ¶ added in v1.2.0
type OpenstackClient ¶
type OpenstackClient struct { *tokens.AuthOptions Provider *gophercloud.ProviderClient Identity *gophercloud.ServiceClient }
func NewOpenstackClient ¶
func NewOpenstackClient() *OpenstackClient
func (*OpenstackClient) Authenticate ¶
func (o *OpenstackClient) Authenticate() error
func (*OpenstackClient) BindFlags ¶
func (o *OpenstackClient) BindFlags(flags *pflag.FlagSet)
func (*OpenstackClient) Complete ¶
func (o *OpenstackClient) Complete(args []string) error
func (*OpenstackClient) DefaultKubernikusURL ¶
func (o *OpenstackClient) DefaultKubernikusURL() (*url.URL, error)
func (*OpenstackClient) PrintAuthInfo ¶
func (o *OpenstackClient) PrintAuthInfo() string
func (*OpenstackClient) PrintDebugAuthInfo ¶
func (o *OpenstackClient) PrintDebugAuthInfo() string
func (*OpenstackClient) Setup ¶
func (o *OpenstackClient) Setup() error
Click to show internal directories.
Click to hide internal directories.