api

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Containerservice.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type OpenShiftManagedClustersClient

type OpenShiftManagedClustersClient struct {
	BaseClient
}

OpenShiftManagedClustersClient is the the Container Service Client.

func NewOpenShiftManagedClustersClientWithBaseURI

func NewOpenShiftManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) OpenShiftManagedClustersClient

NewOpenShiftManagedClustersClientWithBaseURI creates an instance of the OpenShiftManagedClustersClient client.

func (OpenShiftManagedClustersClient) CreateOrUpdate

func (client OpenShiftManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, parameters api.OpenShiftManagedCluster) (result OpenShiftManagedClustersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a openshift managed cluster with the specified configuration for agents and OpenShift version. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource. parameters - parameters supplied to the Create or Update an OpenShift Managed Cluster operation.

func (OpenShiftManagedClustersClient) CreateOrUpdateAndWait

func (client OpenShiftManagedClustersClient) CreateOrUpdateAndWait(ctx context.Context, resourceGroupName, resourceName string, parameters api.OpenShiftManagedCluster) (osmc api.OpenShiftManagedCluster, err error)

CreateOrUpdateAndWait creates or updates a openshift managed cluster and waits for the request to complete before returning.

func (OpenShiftManagedClustersClient) CreateOrUpdatePreparer

func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters api.OpenShiftManagedCluster) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (OpenShiftManagedClustersClient) CreateOrUpdateResponder

func (client OpenShiftManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result api.OpenShiftManagedCluster, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) CreateOrUpdateSender

func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (OpenShiftManagedClustersClient) Delete

func (client OpenShiftManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedClustersDeleteFuture, err error)

Delete deletes the openshift managed cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource.

func (OpenShiftManagedClustersClient) DeletePreparer

func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (OpenShiftManagedClustersClient) DeleteResponder

func (client OpenShiftManagedClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (OpenShiftManagedClustersClient) Get

func (client OpenShiftManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result api.OpenShiftManagedCluster, err error)

Get gets the details of the managed openshift cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource.

func (OpenShiftManagedClustersClient) GetControlPlanePods

func (client OpenShiftManagedClustersClient) GetControlPlanePods(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedClustersControlPlanePods, err error)

GetControlPlanePods gets the details of the managed openshift cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource.

func (OpenShiftManagedClustersClient) GetControlPlanePodsPreparer

func (client OpenShiftManagedClustersClient) GetControlPlanePodsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetControlPlanePodsPreparer prepares the GetControlPlanePods request.

func (OpenShiftManagedClustersClient) GetControlPlanePodsResponder

func (client OpenShiftManagedClustersClient) GetControlPlanePodsResponder(resp *http.Response) (result OpenShiftManagedClustersControlPlanePods, err error)

GetControlPlanePodsResponder handles the response to the GetControlPlanePods request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) GetControlPlanePodsSender

func (client OpenShiftManagedClustersClient) GetControlPlanePodsSender(req *http.Request) (*http.Response, error)

GetControlPlanePodsSender sends the GetControlPlanePods request. The method will close the http.Response Body if it receives an error.

func (OpenShiftManagedClustersClient) GetPreparer

func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OpenShiftManagedClustersClient) GetResponder

func (client OpenShiftManagedClustersClient) GetResponder(resp *http.Response) (result api.OpenShiftManagedCluster, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) GetSender

func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (OpenShiftManagedClustersClient) Restore

func (client OpenShiftManagedClustersClient) Restore(ctx context.Context, resourceGroupName, resourceName, blobName string) (result OpenShiftManagedClustersRestoreFuture, err error)

Restore restores an openshift managed cluster with the specified configuration for agents and OpenShift version. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource. blobName - the name of the blob from where to restore the cluster.

func (OpenShiftManagedClustersClient) RestoreAndWait

func (client OpenShiftManagedClustersClient) RestoreAndWait(ctx context.Context, resourceGroupName, resourceName string, blobName string) (result autorest.Response, err error)

RestoreAndWait restores an openshift managed cluster and waits for the request to complete before returning.

func (OpenShiftManagedClustersClient) RestorePreparer

func (client OpenShiftManagedClustersClient) RestorePreparer(ctx context.Context, resourceGroupName string, resourceName string, blobName string) (*http.Request, error)

RestorePreparer prepares the Restore request.

func (OpenShiftManagedClustersClient) RestoreResponder

func (client OpenShiftManagedClustersClient) RestoreResponder(resp *http.Response) (result autorest.Response, err error)

RestoreResponder handles the response to the Restore request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) RestoreSender

RestoreSender sends the Restore request. The method will close the http.Response Body if it receives an error.

func (OpenShiftManagedClustersClient) RotateSecrets

func (client OpenShiftManagedClustersClient) RotateSecrets(ctx context.Context, resourceGroupName, resourceName string) (result OpenShiftManagedClustersRotateSecretsFuture, err error)

RotateSecrets rotates the secrets of an openshift managed cluster with the specified configuration for agents and OpenShift version. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource.

func (OpenShiftManagedClustersClient) RotateSecretsAndWait

func (client OpenShiftManagedClustersClient) RotateSecretsAndWait(ctx context.Context, resourceGroupName, resourceName string) (result autorest.Response, err error)

RotateSecretsAndWait rotates the keys of an openshift managed cluster and waits for the request to complete before returning.

func (OpenShiftManagedClustersClient) RotateSecretsPreparer

func (client OpenShiftManagedClustersClient) RotateSecretsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

RotateSecretsPreparer prepares the secrets rotation request.

func (OpenShiftManagedClustersClient) RotateSecretsResponder

func (client OpenShiftManagedClustersClient) RotateSecretsResponder(resp *http.Response) (result autorest.Response, err error)

RotateSecretsResponder handles the response to the secrets rotation request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) RotateSecretsSender

func (client OpenShiftManagedClustersClient) RotateSecretsSender(req *http.Request) (future OpenShiftManagedClustersRotateSecretsFuture, err error)

RotateSecretsSender sends the secrets rotation request. The method will close the http.Response Body if it receives an error.

func (OpenShiftManagedClustersClient) UpdateTags

func (client OpenShiftManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (result OpenShiftManagedClustersUpdateTagsFuture, err error)

UpdateTags updates an openshift managed cluster with the specified tags. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource. parameters - parameters supplied to the Update OpenShift Managed Cluster Tags operation.

func (OpenShiftManagedClustersClient) UpdateTagsPreparer

func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (OpenShiftManagedClustersClient) UpdateTagsResponder

func (client OpenShiftManagedClustersClient) UpdateTagsResponder(resp *http.Response) (result api.OpenShiftManagedCluster, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (OpenShiftManagedClustersClient) UpdateTagsSender

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type OpenShiftManagedClustersControlPlanePods

type OpenShiftManagedClustersControlPlanePods struct {
	autorest.Response `json:"-"`

	Items []byte `json:"-"`
}

OpenShiftManagedClustersControlPlanePods contains the status of the control plane pods

type OpenShiftManagedClustersCreateOrUpdateFuture

type OpenShiftManagedClustersCreateOrUpdateFuture struct {
	azure.Future
}

OpenShiftManagedClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OpenShiftManagedClustersCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type OpenShiftManagedClustersDeleteFuture

type OpenShiftManagedClustersDeleteFuture struct {
	azure.Future
}

OpenShiftManagedClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OpenShiftManagedClustersDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type OpenShiftManagedClustersGetControlPlanePodsFuture

type OpenShiftManagedClustersGetControlPlanePodsFuture struct {
	azure.Future
}

OpenShiftManagedClustersGetControlPlanePodsFuture an abstraction for monitoring and retrieving the results of a cluster status operation.

func (*OpenShiftManagedClustersGetControlPlanePodsFuture) Result

type OpenShiftManagedClustersRestoreFuture

type OpenShiftManagedClustersRestoreFuture struct {
	azure.Future
}

OpenShiftManagedClustersRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OpenShiftManagedClustersRestoreFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type OpenShiftManagedClustersRotateSecretsFuture

type OpenShiftManagedClustersRotateSecretsFuture struct {
	azure.Future
}

OpenShiftManagedClustersRotateSecretsFuture an abstraction for monitoring and retrieving the results of a long-running key rotation operation.

func (*OpenShiftManagedClustersRotateSecretsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type OpenShiftManagedClustersUpdateTagsFuture

type OpenShiftManagedClustersUpdateTagsFuture struct {
	azure.Future
}

OpenShiftManagedClustersUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OpenShiftManagedClustersUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type TagsObject

type TagsObject struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

TagsObject tags object for patch operations.

func (TagsObject) MarshalJSON

func (toVar TagsObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsObject.

Jump to

Keyboard shortcuts

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