Documentation ¶
Index ¶
- Constants
- 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 v20190430.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 v20190430.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 v20190430.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) GetResponder(resp *http.Response) (result v20190430.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, 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 v20190430.OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error)
- type OpenShiftManagedClustersCreateOrUpdateFuture
- type OpenShiftManagedClustersDeleteFuture
- type OpenShiftManagedClustersUpdateTagsFuture
- type TagsObject
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Containerservice
DefaultBaseURI = "https://management.azure.com"
)
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 New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
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 NewOpenShiftManagedClustersClient ¶
func NewOpenShiftManagedClustersClient(subscriptionID string) OpenShiftManagedClustersClient
NewOpenShiftManagedClustersClient creates an instance of the OpenShiftManagedClustersClient 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 v20190430.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 v20190430.OpenShiftManagedCluster) (osmc v20190430.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 v20190430.OpenShiftManagedCluster) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (OpenShiftManagedClustersClient) CreateOrUpdateResponder ¶
func (client OpenShiftManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result v20190430.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 v20190430.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) 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 v20190430.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) 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 v20190430.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 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 v20190430.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 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 v20190430.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.