services

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentPoolClient

func NewAgentPoolClient(authorizer autorest.Authorizer, baseURL, subscriptionID string) (*agentPoolClient, error)

func NewManagedClustersClient

func NewManagedClustersClient(authorizer autorest.Authorizer, baseURL, subscriptionID string) (*managedClustersClient, error)

func NewResourceGroupsClient

func NewResourceGroupsClient(authorizer autorest.Authorizer, baseURL, subscriptionID string) (*resourceGroupsClient, error)

func NewWorkplacesClient

func NewWorkplacesClient(authorizer autorest.Authorizer, baseURL, subscriptionID string) (*workplacesClient, error)

Types

type AgentPoolsClientInterface

type AgentPoolsClientInterface interface {
	CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, agentPoolName string, parameters containerservice.AgentPool) (containerservice.AgentPoolsCreateOrUpdateFuture, error)
	Delete(ctx context.Context, resourceGroupName string, clusterName string, agentPoolName string) (containerservice.AgentPoolsDeleteFuture, error)
}

type ManagedClustersClientInterface

type ManagedClustersClientInterface interface {
	CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, parameters containerservice.ManagedCluster) (containerservice.ManagedClustersCreateOrUpdateFuture, error)
	Get(ctx context.Context, resourceGroupName string, clusterName string) (containerservice.ManagedCluster, error)
	Delete(ctx context.Context, resourceGroupName string, clusterName string) (containerservice.ManagedClustersDeleteFuture, error)
	WaitForTaskCompletion(context.Context, containerservice.ManagedClustersDeleteFuture) error
	GetAccessProfile(ctx context.Context, resourceGroupName string, resourceName string, roleName string) (containerservice.ManagedClusterAccessProfile, error)
	UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, parameters containerservice.TagsObject) (containerservice.ManagedClustersUpdateTagsFuture, error)
	AsyncUpdateTagsResult(asyncRet containerservice.ManagedClustersUpdateTagsFuture) (containerservice.ManagedCluster, error)
}

type ResourceGroupsClientInterface

type ResourceGroupsClientInterface interface {
	CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceGroup resources.Group) (resources.Group, error)
	CheckExistence(ctx context.Context, resourceGroupName string) (result autorest.Response, err error)
	Delete(ctx context.Context, resourceGroupName string) (result resources.GroupsDeleteFuture, err error)
}

type WorkplacesClientInterface

type WorkplacesClientInterface interface {
	CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, parameters operationalinsights.Workspace) (operationalinsights.WorkspacesCreateOrUpdateFuture, error)
	Get(ctx context.Context, resourceGroupName string, workspaceName string) (operationalinsights.Workspace, error)
	AsyncCreateUpdateResult(asyncRet operationalinsights.WorkspacesCreateOrUpdateFuture) (operationalinsights.Workspace, error)
}

Directories

Path Synopsis
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.

Jump to

Keyboard shortcuts

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