Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Index ¶
- type MockAgentPoolsClientInterface
- func (m *MockAgentPoolsClientInterface) BeginCreateOrUpdate(ctx context.Context, resourceGroupName, clusterName, agentPoolName string, ...) (*runtime.Poller[armcontainerservice.AgentPoolsClientCreateOrUpdateResponse], ...)
- func (m *MockAgentPoolsClientInterface) BeginDelete(ctx context.Context, resourceGroupName, clusterName, agentPoolName string) (*runtime.Poller[armcontainerservice.AgentPoolsClientDeleteResponse], error)
- func (m *MockAgentPoolsClientInterface) EXPECT() *MockAgentPoolsClientInterfaceMockRecorder
- type MockAgentPoolsClientInterfaceMockRecorder
- type MockManagedClustersClientInterface
- func (m *MockManagedClustersClientInterface) BeginCreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, ...) (...)
- func (m *MockManagedClustersClientInterface) BeginDelete(ctx context.Context, resourceGroupName, resourceName string, ...) (services.Poller[armcontainerservice.ManagedClustersClientDeleteResponse], ...)
- func (m *MockManagedClustersClientInterface) BeginUpdateTags(ctx context.Context, resourceGroupName, resourceName string, ...) (services.Poller[armcontainerservice.ManagedClustersClientUpdateTagsResponse], ...)
- func (m *MockManagedClustersClientInterface) EXPECT() *MockManagedClustersClientInterfaceMockRecorder
- func (m *MockManagedClustersClientInterface) Get(ctx context.Context, resourceGroupName, resourceName string, ...) (armcontainerservice.ManagedClustersClientGetResponse, error)
- func (m *MockManagedClustersClientInterface) GetAccessProfile(ctx context.Context, resourceGroupName, resourceName, roleName string, ...) (armcontainerservice.ManagedClustersClientGetAccessProfileResponse, error)
- type MockManagedClustersClientInterfaceMockRecorder
- func (mr *MockManagedClustersClientInterfaceMockRecorder) BeginCreateOrUpdate(ctx, resourceGroupName, resourceName, parameters, options any) *gomock.Call
- func (mr *MockManagedClustersClientInterfaceMockRecorder) BeginDelete(ctx, resourceGroupName, resourceName, options any) *gomock.Call
- func (mr *MockManagedClustersClientInterfaceMockRecorder) BeginUpdateTags(ctx, resourceGroupName, resourceName, parameters, options any) *gomock.Call
- func (mr *MockManagedClustersClientInterfaceMockRecorder) Get(ctx, resourceGroupName, resourceName, options any) *gomock.Call
- func (mr *MockManagedClustersClientInterfaceMockRecorder) GetAccessProfile(ctx, resourceGroupName, resourceName, roleName, options any) *gomock.Call
- type MockPoller
- type MockPollerMockRecorder
- type MockResourceGroupsClientInterface
- func (m *MockResourceGroupsClientInterface) BeginDelete(ctx context.Context, resourceGroupName string, ...) (*runtime.Poller[armresources.ResourceGroupsClientDeleteResponse], error)
- func (m *MockResourceGroupsClientInterface) CheckExistence(ctx context.Context, resourceGroupName string, ...) (armresources.ResourceGroupsClientCheckExistenceResponse, error)
- func (m *MockResourceGroupsClientInterface) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (armresources.ResourceGroupsClientCreateOrUpdateResponse, error)
- func (m *MockResourceGroupsClientInterface) EXPECT() *MockResourceGroupsClientInterfaceMockRecorder
- type MockResourceGroupsClientInterfaceMockRecorder
- func (mr *MockResourceGroupsClientInterfaceMockRecorder) BeginDelete(ctx, resourceGroupName, options any) *gomock.Call
- func (mr *MockResourceGroupsClientInterfaceMockRecorder) CheckExistence(ctx, resourceGroupName, options any) *gomock.Call
- func (mr *MockResourceGroupsClientInterfaceMockRecorder) CreateOrUpdate(ctx, resourceGroupName, resourceGroup, options any) *gomock.Call
- type MockWorkplacesClientInterface
- func (m *MockWorkplacesClientInterface) BeginCreateOrUpdate(ctx context.Context, resourceGroupName, workspaceName string, ...) (services.Poller[armoperationalinsights.WorkspacesClientCreateOrUpdateResponse], ...)
- func (m *MockWorkplacesClientInterface) EXPECT() *MockWorkplacesClientInterfaceMockRecorder
- func (m *MockWorkplacesClientInterface) Get(ctx context.Context, resourceGroupName, workspaceName string, ...) (armoperationalinsights.WorkspacesClientGetResponse, error)
- type MockWorkplacesClientInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgentPoolsClientInterface ¶
type MockAgentPoolsClientInterface struct {
// contains filtered or unexported fields
}
MockAgentPoolsClientInterface is a mock of AgentPoolsClientInterface interface.
func NewMockAgentPoolsClientInterface ¶
func NewMockAgentPoolsClientInterface(ctrl *gomock.Controller) *MockAgentPoolsClientInterface
NewMockAgentPoolsClientInterface creates a new mock instance.
func (*MockAgentPoolsClientInterface) BeginCreateOrUpdate ¶ added in v1.9.0
func (m *MockAgentPoolsClientInterface) BeginCreateOrUpdate(ctx context.Context, resourceGroupName, clusterName, agentPoolName string, parameters armcontainerservice.AgentPool) (*runtime.Poller[armcontainerservice.AgentPoolsClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate mocks base method.
func (*MockAgentPoolsClientInterface) BeginDelete ¶ added in v1.9.0
func (m *MockAgentPoolsClientInterface) BeginDelete(ctx context.Context, resourceGroupName, clusterName, agentPoolName string) (*runtime.Poller[armcontainerservice.AgentPoolsClientDeleteResponse], error)
BeginDelete mocks base method.
func (*MockAgentPoolsClientInterface) EXPECT ¶
func (m *MockAgentPoolsClientInterface) EXPECT() *MockAgentPoolsClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAgentPoolsClientInterfaceMockRecorder ¶
type MockAgentPoolsClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentPoolsClientInterfaceMockRecorder is the mock recorder for MockAgentPoolsClientInterface.
func (*MockAgentPoolsClientInterfaceMockRecorder) BeginCreateOrUpdate ¶ added in v1.9.0
func (mr *MockAgentPoolsClientInterfaceMockRecorder) BeginCreateOrUpdate(ctx, resourceGroupName, clusterName, agentPoolName, parameters any) *gomock.Call
BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.
func (*MockAgentPoolsClientInterfaceMockRecorder) BeginDelete ¶ added in v1.9.0
func (mr *MockAgentPoolsClientInterfaceMockRecorder) BeginDelete(ctx, resourceGroupName, clusterName, agentPoolName any) *gomock.Call
BeginDelete indicates an expected call of BeginDelete.
type MockManagedClustersClientInterface ¶
type MockManagedClustersClientInterface struct {
// contains filtered or unexported fields
}
MockManagedClustersClientInterface is a mock of ManagedClustersClientInterface interface.
func NewMockManagedClustersClientInterface ¶
func NewMockManagedClustersClientInterface(ctrl *gomock.Controller) *MockManagedClustersClientInterface
NewMockManagedClustersClientInterface creates a new mock instance.
func (*MockManagedClustersClientInterface) BeginCreateOrUpdate ¶ added in v1.9.0
func (m *MockManagedClustersClientInterface) BeginCreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, parameters armcontainerservice.ManagedCluster, options *armcontainerservice.ManagedClustersClientBeginCreateOrUpdateOptions) (services.Poller[armcontainerservice.ManagedClustersClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate mocks base method.
func (*MockManagedClustersClientInterface) BeginDelete ¶ added in v1.9.0
func (m *MockManagedClustersClientInterface) BeginDelete(ctx context.Context, resourceGroupName, resourceName string, options *armcontainerservice.ManagedClustersClientBeginDeleteOptions) (services.Poller[armcontainerservice.ManagedClustersClientDeleteResponse], error)
BeginDelete mocks base method.
func (*MockManagedClustersClientInterface) BeginUpdateTags ¶ added in v1.9.0
func (m *MockManagedClustersClientInterface) BeginUpdateTags(ctx context.Context, resourceGroupName, resourceName string, parameters armcontainerservice.TagsObject, options *armcontainerservice.ManagedClustersClientBeginUpdateTagsOptions) (services.Poller[armcontainerservice.ManagedClustersClientUpdateTagsResponse], error)
BeginUpdateTags mocks base method.
func (*MockManagedClustersClientInterface) EXPECT ¶
func (m *MockManagedClustersClientInterface) EXPECT() *MockManagedClustersClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagedClustersClientInterface) Get ¶
func (m *MockManagedClustersClientInterface) Get(ctx context.Context, resourceGroupName, resourceName string, options *armcontainerservice.ManagedClustersClientGetOptions) (armcontainerservice.ManagedClustersClientGetResponse, error)
Get mocks base method.
func (*MockManagedClustersClientInterface) GetAccessProfile ¶
func (m *MockManagedClustersClientInterface) GetAccessProfile(ctx context.Context, resourceGroupName, resourceName, roleName string, options *armcontainerservice.ManagedClustersClientGetAccessProfileOptions) (armcontainerservice.ManagedClustersClientGetAccessProfileResponse, error)
GetAccessProfile mocks base method.
type MockManagedClustersClientInterfaceMockRecorder ¶
type MockManagedClustersClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockManagedClustersClientInterfaceMockRecorder is the mock recorder for MockManagedClustersClientInterface.
func (*MockManagedClustersClientInterfaceMockRecorder) BeginCreateOrUpdate ¶ added in v1.9.0
func (mr *MockManagedClustersClientInterfaceMockRecorder) BeginCreateOrUpdate(ctx, resourceGroupName, resourceName, parameters, options any) *gomock.Call
BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.
func (*MockManagedClustersClientInterfaceMockRecorder) BeginDelete ¶ added in v1.9.0
func (mr *MockManagedClustersClientInterfaceMockRecorder) BeginDelete(ctx, resourceGroupName, resourceName, options any) *gomock.Call
BeginDelete indicates an expected call of BeginDelete.
func (*MockManagedClustersClientInterfaceMockRecorder) BeginUpdateTags ¶ added in v1.9.0
func (mr *MockManagedClustersClientInterfaceMockRecorder) BeginUpdateTags(ctx, resourceGroupName, resourceName, parameters, options any) *gomock.Call
BeginUpdateTags indicates an expected call of BeginUpdateTags.
func (*MockManagedClustersClientInterfaceMockRecorder) Get ¶
func (mr *MockManagedClustersClientInterfaceMockRecorder) Get(ctx, resourceGroupName, resourceName, options any) *gomock.Call
Get indicates an expected call of Get.
func (*MockManagedClustersClientInterfaceMockRecorder) GetAccessProfile ¶
func (mr *MockManagedClustersClientInterfaceMockRecorder) GetAccessProfile(ctx, resourceGroupName, resourceName, roleName, options any) *gomock.Call
GetAccessProfile indicates an expected call of GetAccessProfile.
type MockPoller ¶ added in v1.9.0
type MockPoller[T any] struct { // contains filtered or unexported fields }
MockPoller is a mock of Poller interface.
func NewMockPoller ¶ added in v1.9.0
func NewMockPoller[T any](ctrl *gomock.Controller) *MockPoller[T]
NewMockPoller creates a new mock instance.
func (*MockPoller[T]) EXPECT ¶ added in v1.9.0
func (m *MockPoller[T]) EXPECT() *MockPollerMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoller[T]) PollUntilDone ¶ added in v1.9.0
func (m *MockPoller[T]) PollUntilDone(ctx context.Context, options *runtime.PollUntilDoneOptions) (T, error)
PollUntilDone mocks base method.
type MockPollerMockRecorder ¶ added in v1.9.0
type MockPollerMockRecorder[T any] struct { // contains filtered or unexported fields }
MockPollerMockRecorder is the mock recorder for MockPoller.
func (*MockPollerMockRecorder[T]) PollUntilDone ¶ added in v1.9.0
func (mr *MockPollerMockRecorder[T]) PollUntilDone(ctx, options any) *gomock.Call
PollUntilDone indicates an expected call of PollUntilDone.
type MockResourceGroupsClientInterface ¶
type MockResourceGroupsClientInterface struct {
// contains filtered or unexported fields
}
MockResourceGroupsClientInterface is a mock of ResourceGroupsClientInterface interface.
func NewMockResourceGroupsClientInterface ¶
func NewMockResourceGroupsClientInterface(ctrl *gomock.Controller) *MockResourceGroupsClientInterface
NewMockResourceGroupsClientInterface creates a new mock instance.
func (*MockResourceGroupsClientInterface) BeginDelete ¶ added in v1.9.0
func (m *MockResourceGroupsClientInterface) BeginDelete(ctx context.Context, resourceGroupName string, options *armresources.ResourceGroupsClientBeginDeleteOptions) (*runtime.Poller[armresources.ResourceGroupsClientDeleteResponse], error)
BeginDelete mocks base method.
func (*MockResourceGroupsClientInterface) CheckExistence ¶
func (m *MockResourceGroupsClientInterface) CheckExistence(ctx context.Context, resourceGroupName string, options *armresources.ResourceGroupsClientCheckExistenceOptions) (armresources.ResourceGroupsClientCheckExistenceResponse, error)
CheckExistence mocks base method.
func (*MockResourceGroupsClientInterface) CreateOrUpdate ¶
func (m *MockResourceGroupsClientInterface) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceGroup armresources.ResourceGroup, options *armresources.ResourceGroupsClientCreateOrUpdateOptions) (armresources.ResourceGroupsClientCreateOrUpdateResponse, error)
CreateOrUpdate mocks base method.
func (*MockResourceGroupsClientInterface) EXPECT ¶
func (m *MockResourceGroupsClientInterface) EXPECT() *MockResourceGroupsClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockResourceGroupsClientInterfaceMockRecorder ¶
type MockResourceGroupsClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceGroupsClientInterfaceMockRecorder is the mock recorder for MockResourceGroupsClientInterface.
func (*MockResourceGroupsClientInterfaceMockRecorder) BeginDelete ¶ added in v1.9.0
func (mr *MockResourceGroupsClientInterfaceMockRecorder) BeginDelete(ctx, resourceGroupName, options any) *gomock.Call
BeginDelete indicates an expected call of BeginDelete.
func (*MockResourceGroupsClientInterfaceMockRecorder) CheckExistence ¶
func (mr *MockResourceGroupsClientInterfaceMockRecorder) CheckExistence(ctx, resourceGroupName, options any) *gomock.Call
CheckExistence indicates an expected call of CheckExistence.
func (*MockResourceGroupsClientInterfaceMockRecorder) CreateOrUpdate ¶
func (mr *MockResourceGroupsClientInterfaceMockRecorder) CreateOrUpdate(ctx, resourceGroupName, resourceGroup, options any) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
type MockWorkplacesClientInterface ¶
type MockWorkplacesClientInterface struct {
// contains filtered or unexported fields
}
MockWorkplacesClientInterface is a mock of WorkplacesClientInterface interface.
func NewMockWorkplacesClientInterface ¶
func NewMockWorkplacesClientInterface(ctrl *gomock.Controller) *MockWorkplacesClientInterface
NewMockWorkplacesClientInterface creates a new mock instance.
func (*MockWorkplacesClientInterface) BeginCreateOrUpdate ¶ added in v1.9.0
func (m *MockWorkplacesClientInterface) BeginCreateOrUpdate(ctx context.Context, resourceGroupName, workspaceName string, parameters armoperationalinsights.Workspace, options *armoperationalinsights.WorkspacesClientBeginCreateOrUpdateOptions) (services.Poller[armoperationalinsights.WorkspacesClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate mocks base method.
func (*MockWorkplacesClientInterface) EXPECT ¶
func (m *MockWorkplacesClientInterface) EXPECT() *MockWorkplacesClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkplacesClientInterface) Get ¶
func (m *MockWorkplacesClientInterface) Get(ctx context.Context, resourceGroupName, workspaceName string, options *armoperationalinsights.WorkspacesClientGetOptions) (armoperationalinsights.WorkspacesClientGetResponse, error)
Get mocks base method.
type MockWorkplacesClientInterfaceMockRecorder ¶
type MockWorkplacesClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkplacesClientInterfaceMockRecorder is the mock recorder for MockWorkplacesClientInterface.
func (*MockWorkplacesClientInterfaceMockRecorder) BeginCreateOrUpdate ¶ added in v1.9.0
func (mr *MockWorkplacesClientInterfaceMockRecorder) BeginCreateOrUpdate(ctx, resourceGroupName, workspaceName, parameters, options any) *gomock.Call
BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.