Documentation ¶
Overview ¶
Package mock_tfplugin6 is a generated GoMock package.
Index ¶
- type MockProviderClient
- func (m *MockProviderClient) ApplyResourceChange(arg0 context.Context, arg1 *tfplugin6.ApplyResourceChange_Request, ...) (*tfplugin6.ApplyResourceChange_Response, error)
- func (m *MockProviderClient) CallFunction(arg0 context.Context, arg1 *tfplugin6.CallFunction_Request, ...) (*tfplugin6.CallFunction_Response, error)
- func (m *MockProviderClient) ConfigureProvider(arg0 context.Context, arg1 *tfplugin6.ConfigureProvider_Request, ...) (*tfplugin6.ConfigureProvider_Response, error)
- func (m *MockProviderClient) EXPECT() *MockProviderClientMockRecorder
- func (m *MockProviderClient) GetFunctions(arg0 context.Context, arg1 *tfplugin6.GetFunctions_Request, ...) (*tfplugin6.GetFunctions_Response, error)
- func (m *MockProviderClient) GetMetadata(arg0 context.Context, arg1 *tfplugin6.GetMetadata_Request, ...) (*tfplugin6.GetMetadata_Response, error)
- func (m *MockProviderClient) GetProviderSchema(arg0 context.Context, arg1 *tfplugin6.GetProviderSchema_Request, ...) (*tfplugin6.GetProviderSchema_Response, error)
- func (m *MockProviderClient) ImportResourceState(arg0 context.Context, arg1 *tfplugin6.ImportResourceState_Request, ...) (*tfplugin6.ImportResourceState_Response, error)
- func (m *MockProviderClient) MoveResourceState(arg0 context.Context, arg1 *tfplugin6.MoveResourceState_Request, ...) (*tfplugin6.MoveResourceState_Response, error)
- func (m *MockProviderClient) PlanResourceChange(arg0 context.Context, arg1 *tfplugin6.PlanResourceChange_Request, ...) (*tfplugin6.PlanResourceChange_Response, error)
- func (m *MockProviderClient) ReadDataSource(arg0 context.Context, arg1 *tfplugin6.ReadDataSource_Request, ...) (*tfplugin6.ReadDataSource_Response, error)
- func (m *MockProviderClient) ReadResource(arg0 context.Context, arg1 *tfplugin6.ReadResource_Request, ...) (*tfplugin6.ReadResource_Response, error)
- func (m *MockProviderClient) StopProvider(arg0 context.Context, arg1 *tfplugin6.StopProvider_Request, ...) (*tfplugin6.StopProvider_Response, error)
- func (m *MockProviderClient) UpgradeResourceState(arg0 context.Context, arg1 *tfplugin6.UpgradeResourceState_Request, ...) (*tfplugin6.UpgradeResourceState_Response, error)
- func (m *MockProviderClient) ValidateDataResourceConfig(arg0 context.Context, arg1 *tfplugin6.ValidateDataResourceConfig_Request, ...) (*tfplugin6.ValidateDataResourceConfig_Response, error)
- func (m *MockProviderClient) ValidateProviderConfig(arg0 context.Context, arg1 *tfplugin6.ValidateProviderConfig_Request, ...) (*tfplugin6.ValidateProviderConfig_Response, error)
- func (m *MockProviderClient) ValidateResourceConfig(arg0 context.Context, arg1 *tfplugin6.ValidateResourceConfig_Request, ...) (*tfplugin6.ValidateResourceConfig_Response, error)
- type MockProviderClientMockRecorder
- func (mr *MockProviderClientMockRecorder) ApplyResourceChange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) CallFunction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ConfigureProvider(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) GetFunctions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) GetMetadata(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) GetProviderSchema(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ImportResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) MoveResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) PlanResourceChange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ReadDataSource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ReadResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) StopProvider(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) UpgradeResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ValidateDataResourceConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ValidateProviderConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) ValidateResourceConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProviderClient ¶
type MockProviderClient struct {
// contains filtered or unexported fields
}
MockProviderClient is a mock of ProviderClient interface.
func NewMockProviderClient ¶
func NewMockProviderClient(ctrl *gomock.Controller) *MockProviderClient
NewMockProviderClient creates a new mock instance.
func (*MockProviderClient) ApplyResourceChange ¶
func (m *MockProviderClient) ApplyResourceChange(arg0 context.Context, arg1 *tfplugin6.ApplyResourceChange_Request, arg2 ...grpc.CallOption) (*tfplugin6.ApplyResourceChange_Response, error)
ApplyResourceChange mocks base method.
func (*MockProviderClient) CallFunction ¶
func (m *MockProviderClient) CallFunction(arg0 context.Context, arg1 *tfplugin6.CallFunction_Request, arg2 ...grpc.CallOption) (*tfplugin6.CallFunction_Response, error)
CallFunction mocks base method.
func (*MockProviderClient) ConfigureProvider ¶
func (m *MockProviderClient) ConfigureProvider(arg0 context.Context, arg1 *tfplugin6.ConfigureProvider_Request, arg2 ...grpc.CallOption) (*tfplugin6.ConfigureProvider_Response, error)
ConfigureProvider mocks base method.
func (*MockProviderClient) EXPECT ¶
func (m *MockProviderClient) EXPECT() *MockProviderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderClient) GetFunctions ¶
func (m *MockProviderClient) GetFunctions(arg0 context.Context, arg1 *tfplugin6.GetFunctions_Request, arg2 ...grpc.CallOption) (*tfplugin6.GetFunctions_Response, error)
GetFunctions mocks base method.
func (*MockProviderClient) GetMetadata ¶
func (m *MockProviderClient) GetMetadata(arg0 context.Context, arg1 *tfplugin6.GetMetadata_Request, arg2 ...grpc.CallOption) (*tfplugin6.GetMetadata_Response, error)
GetMetadata mocks base method.
func (*MockProviderClient) GetProviderSchema ¶
func (m *MockProviderClient) GetProviderSchema(arg0 context.Context, arg1 *tfplugin6.GetProviderSchema_Request, arg2 ...grpc.CallOption) (*tfplugin6.GetProviderSchema_Response, error)
GetProviderSchema mocks base method.
func (*MockProviderClient) ImportResourceState ¶
func (m *MockProviderClient) ImportResourceState(arg0 context.Context, arg1 *tfplugin6.ImportResourceState_Request, arg2 ...grpc.CallOption) (*tfplugin6.ImportResourceState_Response, error)
ImportResourceState mocks base method.
func (*MockProviderClient) MoveResourceState ¶
func (m *MockProviderClient) MoveResourceState(arg0 context.Context, arg1 *tfplugin6.MoveResourceState_Request, arg2 ...grpc.CallOption) (*tfplugin6.MoveResourceState_Response, error)
MoveResourceState mocks base method.
func (*MockProviderClient) PlanResourceChange ¶
func (m *MockProviderClient) PlanResourceChange(arg0 context.Context, arg1 *tfplugin6.PlanResourceChange_Request, arg2 ...grpc.CallOption) (*tfplugin6.PlanResourceChange_Response, error)
PlanResourceChange mocks base method.
func (*MockProviderClient) ReadDataSource ¶
func (m *MockProviderClient) ReadDataSource(arg0 context.Context, arg1 *tfplugin6.ReadDataSource_Request, arg2 ...grpc.CallOption) (*tfplugin6.ReadDataSource_Response, error)
ReadDataSource mocks base method.
func (*MockProviderClient) ReadResource ¶
func (m *MockProviderClient) ReadResource(arg0 context.Context, arg1 *tfplugin6.ReadResource_Request, arg2 ...grpc.CallOption) (*tfplugin6.ReadResource_Response, error)
ReadResource mocks base method.
func (*MockProviderClient) StopProvider ¶
func (m *MockProviderClient) StopProvider(arg0 context.Context, arg1 *tfplugin6.StopProvider_Request, arg2 ...grpc.CallOption) (*tfplugin6.StopProvider_Response, error)
StopProvider mocks base method.
func (*MockProviderClient) UpgradeResourceState ¶
func (m *MockProviderClient) UpgradeResourceState(arg0 context.Context, arg1 *tfplugin6.UpgradeResourceState_Request, arg2 ...grpc.CallOption) (*tfplugin6.UpgradeResourceState_Response, error)
UpgradeResourceState mocks base method.
func (*MockProviderClient) ValidateDataResourceConfig ¶
func (m *MockProviderClient) ValidateDataResourceConfig(arg0 context.Context, arg1 *tfplugin6.ValidateDataResourceConfig_Request, arg2 ...grpc.CallOption) (*tfplugin6.ValidateDataResourceConfig_Response, error)
ValidateDataResourceConfig mocks base method.
func (*MockProviderClient) ValidateProviderConfig ¶
func (m *MockProviderClient) ValidateProviderConfig(arg0 context.Context, arg1 *tfplugin6.ValidateProviderConfig_Request, arg2 ...grpc.CallOption) (*tfplugin6.ValidateProviderConfig_Response, error)
ValidateProviderConfig mocks base method.
func (*MockProviderClient) ValidateResourceConfig ¶
func (m *MockProviderClient) ValidateResourceConfig(arg0 context.Context, arg1 *tfplugin6.ValidateResourceConfig_Request, arg2 ...grpc.CallOption) (*tfplugin6.ValidateResourceConfig_Response, error)
ValidateResourceConfig mocks base method.
type MockProviderClientMockRecorder ¶
type MockProviderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderClientMockRecorder is the mock recorder for MockProviderClient.
func (*MockProviderClientMockRecorder) ApplyResourceChange ¶
func (mr *MockProviderClientMockRecorder) ApplyResourceChange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ApplyResourceChange indicates an expected call of ApplyResourceChange.
func (*MockProviderClientMockRecorder) CallFunction ¶
func (mr *MockProviderClientMockRecorder) CallFunction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CallFunction indicates an expected call of CallFunction.
func (*MockProviderClientMockRecorder) ConfigureProvider ¶
func (mr *MockProviderClientMockRecorder) ConfigureProvider(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ConfigureProvider indicates an expected call of ConfigureProvider.
func (*MockProviderClientMockRecorder) GetFunctions ¶
func (mr *MockProviderClientMockRecorder) GetFunctions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetFunctions indicates an expected call of GetFunctions.
func (*MockProviderClientMockRecorder) GetMetadata ¶
func (mr *MockProviderClientMockRecorder) GetMetadata(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
func (*MockProviderClientMockRecorder) GetProviderSchema ¶
func (mr *MockProviderClientMockRecorder) GetProviderSchema(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetProviderSchema indicates an expected call of GetProviderSchema.
func (*MockProviderClientMockRecorder) ImportResourceState ¶
func (mr *MockProviderClientMockRecorder) ImportResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ImportResourceState indicates an expected call of ImportResourceState.
func (*MockProviderClientMockRecorder) MoveResourceState ¶
func (mr *MockProviderClientMockRecorder) MoveResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
MoveResourceState indicates an expected call of MoveResourceState.
func (*MockProviderClientMockRecorder) PlanResourceChange ¶
func (mr *MockProviderClientMockRecorder) PlanResourceChange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PlanResourceChange indicates an expected call of PlanResourceChange.
func (*MockProviderClientMockRecorder) ReadDataSource ¶
func (mr *MockProviderClientMockRecorder) ReadDataSource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ReadDataSource indicates an expected call of ReadDataSource.
func (*MockProviderClientMockRecorder) ReadResource ¶
func (mr *MockProviderClientMockRecorder) ReadResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ReadResource indicates an expected call of ReadResource.
func (*MockProviderClientMockRecorder) StopProvider ¶
func (mr *MockProviderClientMockRecorder) StopProvider(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
StopProvider indicates an expected call of StopProvider.
func (*MockProviderClientMockRecorder) UpgradeResourceState ¶
func (mr *MockProviderClientMockRecorder) UpgradeResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpgradeResourceState indicates an expected call of UpgradeResourceState.
func (*MockProviderClientMockRecorder) ValidateDataResourceConfig ¶
func (mr *MockProviderClientMockRecorder) ValidateDataResourceConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateDataResourceConfig indicates an expected call of ValidateDataResourceConfig.
func (*MockProviderClientMockRecorder) ValidateProviderConfig ¶
func (mr *MockProviderClientMockRecorder) ValidateProviderConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateProviderConfig indicates an expected call of ValidateProviderConfig.
func (*MockProviderClientMockRecorder) ValidateResourceConfig ¶
func (mr *MockProviderClientMockRecorder) ValidateResourceConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateResourceConfig indicates an expected call of ValidateResourceConfig.