Documentation ¶
Index ¶
- type KubernetesClient
- func (c *KubernetesClient) CreateOrUpdate(ctx context.Context, group, name string, cloud *cloud.Kubernetes) (*cloud.Kubernetes, error)
- func (c *KubernetesClient) Delete(ctx context.Context, group, name string) error
- func (c *KubernetesClient) Get(ctx context.Context, group, name string) (*[]cloud.Kubernetes, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesClient ¶
type KubernetesClient struct {
// contains filtered or unexported fields
}
Client structure
func NewKubernetesClient ¶
func NewKubernetesClient(cloudFQDN string, authorizer auth.Authorizer) (*KubernetesClient, error)
NewClient method returns new client
func (*KubernetesClient) CreateOrUpdate ¶
func (c *KubernetesClient) CreateOrUpdate(ctx context.Context, group, name string, cloud *cloud.Kubernetes) (*cloud.Kubernetes, error)
CreateOrUpdate methods invokes create or update on the client
func (*KubernetesClient) Delete ¶
func (c *KubernetesClient) Delete(ctx context.Context, group, name string) error
Delete methods invokes delete of the cloud resource
func (*KubernetesClient) Get ¶
func (c *KubernetesClient) Get(ctx context.Context, group, name string) (*[]cloud.Kubernetes, error)
Get methods invokes the client Get method
Click to show internal directories.
Click to hide internal directories.