Documentation ¶
Index ¶
- func UserAgent() string
- func Version() string
- type BaseClient
- type OpenShiftManagedClustersClient
- func (client OpenShiftManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, ...) (result OpenShiftManagedClustersCreateOrUpdateFuture, err error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdateAndWait(ctx context.Context, resourceGroupName, resourceName string, ...) (osmc api.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result api.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error)
- func (client OpenShiftManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedClustersDeleteFuture, err error)
- func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error)
- func (client OpenShiftManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result api.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) GetControlPlanePods(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedClustersControlPlanePods, err error)
- func (client OpenShiftManagedClustersClient) GetControlPlanePodsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) GetControlPlanePodsResponder(resp *http.Response) (result OpenShiftManagedClustersControlPlanePods, err error)
- func (client OpenShiftManagedClustersClient) GetControlPlanePodsSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) GetResponder(resp *http.Response) (result api.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftManagedClustersClient) Restore(ctx context.Context, resourceGroupName, resourceName, blobName string) (result OpenShiftManagedClustersRestoreFuture, err error)
- func (client OpenShiftManagedClustersClient) RestoreAndWait(ctx context.Context, resourceGroupName, resourceName string, blobName string) (result autorest.Response, err error)
- func (client OpenShiftManagedClustersClient) RestorePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) RestoreResponder(resp *http.Response) (result autorest.Response, err error)
- func (client OpenShiftManagedClustersClient) RestoreSender(req *http.Request) (future OpenShiftManagedClustersRestoreFuture, err error)
- func (client OpenShiftManagedClustersClient) RotateSecrets(ctx context.Context, resourceGroupName, resourceName string) (result OpenShiftManagedClustersRotateSecretsFuture, err error)
- func (client OpenShiftManagedClustersClient) RotateSecretsAndWait(ctx context.Context, resourceGroupName, resourceName string) (result autorest.Response, err error)
- func (client OpenShiftManagedClustersClient) RotateSecretsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) RotateSecretsResponder(resp *http.Response) (result autorest.Response, err error)
- func (client OpenShiftManagedClustersClient) RotateSecretsSender(req *http.Request) (future OpenShiftManagedClustersRotateSecretsFuture, err error)
- func (client OpenShiftManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, ...) (result OpenShiftManagedClustersUpdateTagsFuture, err error)
- func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) UpdateTagsResponder(resp *http.Response) (result api.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error)
- type OpenShiftManagedClustersControlPlanePods
- type OpenShiftManagedClustersCreateOrUpdateFuture
- type OpenShiftManagedClustersDeleteFuture
- type OpenShiftManagedClustersGetControlPlanePodsFuture
- type OpenShiftManagedClustersRestoreFuture
- type OpenShiftManagedClustersRotateSecretsFuture
- type OpenShiftManagedClustersUpdateTagsFuture
- type TagsObject
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 ¶
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 ¶
func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error)
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 ¶
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 ¶
func (client OpenShiftManagedClustersClient) RestoreSender(req *http.Request) (future OpenShiftManagedClustersRestoreFuture, err error)
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 ¶
func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error)
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 ¶
OpenShiftManagedClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersCreateOrUpdateFuture) Result ¶
func (future *OpenShiftManagedClustersCreateOrUpdateFuture) Result(client OpenShiftManagedClustersClient) (osmc api.OpenShiftManagedCluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftManagedClustersDeleteFuture ¶
OpenShiftManagedClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersDeleteFuture) Result ¶
func (future *OpenShiftManagedClustersDeleteFuture) Result(client OpenShiftManagedClustersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftManagedClustersGetControlPlanePodsFuture ¶
OpenShiftManagedClustersGetControlPlanePodsFuture an abstraction for monitoring and retrieving the results of a cluster status operation.
func (*OpenShiftManagedClustersGetControlPlanePodsFuture) Result ¶
func (future *OpenShiftManagedClustersGetControlPlanePodsFuture) Result(client OpenShiftManagedClustersClient) (ar autorest.Response, err error)
type OpenShiftManagedClustersRestoreFuture ¶
OpenShiftManagedClustersRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersRestoreFuture) Result ¶
func (future *OpenShiftManagedClustersRestoreFuture) Result(client OpenShiftManagedClustersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftManagedClustersRotateSecretsFuture ¶
OpenShiftManagedClustersRotateSecretsFuture an abstraction for monitoring and retrieving the results of a long-running key rotation operation.
func (*OpenShiftManagedClustersRotateSecretsFuture) Result ¶
func (future *OpenShiftManagedClustersRotateSecretsFuture) Result(client OpenShiftManagedClustersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftManagedClustersUpdateTagsFuture ¶
OpenShiftManagedClustersUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersUpdateTagsFuture) Result ¶
func (future *OpenShiftManagedClustersUpdateTagsFuture) Result(client OpenShiftManagedClustersClient) (osmc api.OpenShiftManagedCluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type TagsObject ¶
TagsObject tags object for patch operations.
func (TagsObject) MarshalJSON ¶
func (toVar TagsObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsObject.