api

package
v5.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(baseURI, subscriptionID string) *Client

func (*Client) Backup

func (c *Client) Backup(ctx context.Context, resourceGroupName, resourceName, blobName string) (err error)

func (*Client) CreateOrUpdate

func (c *Client) CreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, oc *admin.OpenShiftManagedCluster) (out *admin.OpenShiftManagedCluster, err error)

func (*Client) ForceUpdate

func (c *Client) ForceUpdate(ctx context.Context, resourceGroupName, resourceName string) (err error)

func (*Client) Get

func (c *Client) Get(ctx context.Context, resourceGroupName, resourceName string) (out *admin.OpenShiftManagedCluster, err error)

func (*Client) GetControlPlanePods

func (c *Client) GetControlPlanePods(ctx context.Context, resourceGroupName, resourceName string) (out []byte, err error)

func (*Client) GetPluginVersion

func (c *Client) GetPluginVersion(ctx context.Context, resourceGroupName, resourceName string) (out *api.GenevaActionPluginVersion, err error)

func (*Client) ListBackups

func (c *Client) ListBackups(ctx context.Context, resourceGroupName, resourceName string) (out []api.GenevaActionListEtcdBackups, err error)

func (*Client) ListClusterVMs

func (c *Client) ListClusterVMs(ctx context.Context, resourceGroupName, resourceName string) (out *api.GenevaActionListClusterVMs, err error)

func (*Client) Reimage

func (c *Client) Reimage(ctx context.Context, resourceGroupName, resourceName, hostname string) (err error)

func (*Client) Restore

func (c *Client) Restore(ctx context.Context, resourceGroupName, resourceName, blobName string) (err error)

func (*Client) RotateSecrets

func (c *Client) RotateSecrets(ctx context.Context, resourceGroupName, resourceName string) (err error)

func (*Client) RunCommand

func (c *Client) RunCommand(ctx context.Context, resourceGroupName, resourceName, hostname, command string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL