Documentation ¶
Overview ¶
Package vmss is a generated GoMock package.
Index ¶
- type MockVmss
- func (m *MockVmss) CreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, ...) (*armcompute.VirtualMachineScaleSet, error)
- func (m *MockVmss) Delete(ctx context.Context, resourceGroupName, resourceName string, opts *bool) error
- func (m *MockVmss) EXPECT() *MockVmssMockRecorder
- func (m *MockVmss) Get(ctx context.Context, resourceGroupName, resourceName string, ...) (*armcompute.VirtualMachineScaleSet, error)
- func (m *MockVmss) List(ctx context.Context, resourceGroupName string) ([]*armcompute.VirtualMachineScaleSet, error)
- type MockVmssMockRecorder
- func (mr *MockVmssMockRecorder) CreateOrUpdate(ctx, resourceGroupName, resourceName, resourceParam any) *gomock.Call
- func (mr *MockVmssMockRecorder) Delete(ctx, resourceGroupName, resourceName, opts any) *gomock.Call
- func (mr *MockVmssMockRecorder) Get(ctx, resourceGroupName, resourceName, expand any) *gomock.Call
- func (mr *MockVmssMockRecorder) List(ctx, resourceGroupName any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVmss ¶
type MockVmss struct {
// contains filtered or unexported fields
}
MockVmss is a mock of Vmss interface.
func NewMockVmss ¶
func NewMockVmss(ctrl *gomock.Controller) *MockVmss
NewMockVmss creates a new mock instance.
func (*MockVmss) CreateOrUpdate ¶ added in v1.40.0
func (m *MockVmss) CreateOrUpdate(ctx context.Context, resourceGroupName, resourceName string, resourceParam armcompute.VirtualMachineScaleSet) (*armcompute.VirtualMachineScaleSet, error)
CreateOrUpdate mocks base method.
func (*MockVmss) Delete ¶
func (m *MockVmss) Delete(ctx context.Context, resourceGroupName, resourceName string, opts *bool) error
Delete mocks base method.
func (*MockVmss) EXPECT ¶
func (m *MockVmss) EXPECT() *MockVmssMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVmss) Get ¶
func (m *MockVmss) Get(ctx context.Context, resourceGroupName, resourceName string, expand *armcompute.ExpandTypesForGetVMScaleSets) (*armcompute.VirtualMachineScaleSet, error)
Get mocks base method.
func (*MockVmss) List ¶
func (m *MockVmss) List(ctx context.Context, resourceGroupName string) ([]*armcompute.VirtualMachineScaleSet, error)
List mocks base method.
type MockVmssMockRecorder ¶
type MockVmssMockRecorder struct {
// contains filtered or unexported fields
}
MockVmssMockRecorder is the mock recorder for MockVmss.
func (*MockVmssMockRecorder) CreateOrUpdate ¶ added in v1.40.0
func (mr *MockVmssMockRecorder) CreateOrUpdate(ctx, resourceGroupName, resourceName, resourceParam any) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockVmssMockRecorder) Delete ¶
func (mr *MockVmssMockRecorder) Delete(ctx, resourceGroupName, resourceName, opts any) *gomock.Call
Delete indicates an expected call of Delete.
Click to show internal directories.
Click to hide internal directories.