2018-08-08 22:54:40 +02:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2018-11-19 18:39:16 +01:00
|
|
|
// Source: github.com/hashicorp/terraform/internal/tfplugin5 (interfaces: ProviderClient,ProvisionerClient,Provisioner_ProvisionResourceClient,Provisioner_ProvisionResourceServer)
|
2018-08-08 22:54:40 +02:00
|
|
|
|
2018-11-19 18:39:16 +01:00
|
|
|
// Package mock_tfplugin5 is a generated GoMock package.
|
|
|
|
package mock_tfplugin5
|
2018-08-08 22:54:40 +02:00
|
|
|
|
|
|
|
import (
|
2018-10-18 03:14:43 +02:00
|
|
|
context "context"
|
2021-10-29 03:16:26 +02:00
|
|
|
reflect "reflect"
|
|
|
|
|
2018-08-08 22:54:40 +02:00
|
|
|
gomock "github.com/golang/mock/gomock"
|
2018-11-19 18:39:16 +01:00
|
|
|
tfplugin5 "github.com/hashicorp/terraform/internal/tfplugin5"
|
2018-08-08 22:54:40 +02:00
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
metadata "google.golang.org/grpc/metadata"
|
|
|
|
)
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProviderClient is a mock of ProviderClient interface.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProviderClient struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockProviderClientMockRecorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProviderClientMockRecorder is the mock recorder for MockProviderClient.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProviderClientMockRecorder struct {
|
|
|
|
mock *MockProviderClient
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// NewMockProviderClient creates a new mock instance.
|
2018-08-08 22:54:40 +02:00
|
|
|
func NewMockProviderClient(ctrl *gomock.Controller) *MockProviderClient {
|
|
|
|
mock := &MockProviderClient{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockProviderClientMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProviderClient) EXPECT() *MockProviderClientMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ApplyResourceChange mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) ApplyResourceChange(arg0 context.Context, arg1 *tfplugin5.ApplyResourceChange_Request, arg2 ...grpc.CallOption) (*tfplugin5.ApplyResourceChange_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ApplyResourceChange", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ApplyResourceChange_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ApplyResourceChange indicates an expected call of ApplyResourceChange.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) ApplyResourceChange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplyResourceChange", reflect.TypeOf((*MockProviderClient)(nil).ApplyResourceChange), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Configure mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) Configure(arg0 context.Context, arg1 *tfplugin5.Configure_Request, arg2 ...grpc.CallOption) (*tfplugin5.Configure_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "Configure", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.Configure_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Configure indicates an expected call of Configure.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) Configure(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Configure", reflect.TypeOf((*MockProviderClient)(nil).Configure), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// GetSchema mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) GetSchema(arg0 context.Context, arg1 *tfplugin5.GetProviderSchema_Request, arg2 ...grpc.CallOption) (*tfplugin5.GetProviderSchema_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetSchema", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.GetProviderSchema_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// GetSchema indicates an expected call of GetSchema.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) GetSchema(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSchema", reflect.TypeOf((*MockProviderClient)(nil).GetSchema), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ImportResourceState mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) ImportResourceState(arg0 context.Context, arg1 *tfplugin5.ImportResourceState_Request, arg2 ...grpc.CallOption) (*tfplugin5.ImportResourceState_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ImportResourceState", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ImportResourceState_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ImportResourceState indicates an expected call of ImportResourceState.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) ImportResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportResourceState", reflect.TypeOf((*MockProviderClient)(nil).ImportResourceState), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// PlanResourceChange mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) PlanResourceChange(arg0 context.Context, arg1 *tfplugin5.PlanResourceChange_Request, arg2 ...grpc.CallOption) (*tfplugin5.PlanResourceChange_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "PlanResourceChange", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.PlanResourceChange_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// PlanResourceChange indicates an expected call of PlanResourceChange.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) PlanResourceChange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PlanResourceChange", reflect.TypeOf((*MockProviderClient)(nil).PlanResourceChange), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// PrepareProviderConfig mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) PrepareProviderConfig(arg0 context.Context, arg1 *tfplugin5.PrepareProviderConfig_Request, arg2 ...grpc.CallOption) (*tfplugin5.PrepareProviderConfig_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-10-18 03:14:43 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "PrepareProviderConfig", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.PrepareProviderConfig_Response)
|
2018-10-18 03:14:43 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// PrepareProviderConfig indicates an expected call of PrepareProviderConfig.
|
2018-10-18 03:14:43 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) PrepareProviderConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-10-18 03:14:43 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrepareProviderConfig", reflect.TypeOf((*MockProviderClient)(nil).PrepareProviderConfig), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ReadDataSource mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) ReadDataSource(arg0 context.Context, arg1 *tfplugin5.ReadDataSource_Request, arg2 ...grpc.CallOption) (*tfplugin5.ReadDataSource_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ReadDataSource", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ReadDataSource_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ReadDataSource indicates an expected call of ReadDataSource.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) ReadDataSource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadDataSource", reflect.TypeOf((*MockProviderClient)(nil).ReadDataSource), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ReadResource mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) ReadResource(arg0 context.Context, arg1 *tfplugin5.ReadResource_Request, arg2 ...grpc.CallOption) (*tfplugin5.ReadResource_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ReadResource", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ReadResource_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ReadResource indicates an expected call of ReadResource.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) ReadResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadResource", reflect.TypeOf((*MockProviderClient)(nil).ReadResource), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Stop mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) Stop(arg0 context.Context, arg1 *tfplugin5.Stop_Request, arg2 ...grpc.CallOption) (*tfplugin5.Stop_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "Stop", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.Stop_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Stop indicates an expected call of Stop.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) Stop(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockProviderClient)(nil).Stop), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// UpgradeResourceState mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) UpgradeResourceState(arg0 context.Context, arg1 *tfplugin5.UpgradeResourceState_Request, arg2 ...grpc.CallOption) (*tfplugin5.UpgradeResourceState_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "UpgradeResourceState", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.UpgradeResourceState_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// UpgradeResourceState indicates an expected call of UpgradeResourceState.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) UpgradeResourceState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpgradeResourceState", reflect.TypeOf((*MockProviderClient)(nil).UpgradeResourceState), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ValidateDataSourceConfig mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) ValidateDataSourceConfig(arg0 context.Context, arg1 *tfplugin5.ValidateDataSourceConfig_Request, arg2 ...grpc.CallOption) (*tfplugin5.ValidateDataSourceConfig_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ValidateDataSourceConfig", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ValidateDataSourceConfig_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ValidateDataSourceConfig indicates an expected call of ValidateDataSourceConfig.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) ValidateDataSourceConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateDataSourceConfig", reflect.TypeOf((*MockProviderClient)(nil).ValidateDataSourceConfig), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ValidateResourceTypeConfig mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProviderClient) ValidateResourceTypeConfig(arg0 context.Context, arg1 *tfplugin5.ValidateResourceTypeConfig_Request, arg2 ...grpc.CallOption) (*tfplugin5.ValidateResourceTypeConfig_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ValidateResourceTypeConfig", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ValidateResourceTypeConfig_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ValidateResourceTypeConfig indicates an expected call of ValidateResourceTypeConfig.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProviderClientMockRecorder) ValidateResourceTypeConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateResourceTypeConfig", reflect.TypeOf((*MockProviderClient)(nil).ValidateResourceTypeConfig), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProvisionerClient is a mock of ProvisionerClient interface.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProvisionerClient struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockProvisionerClientMockRecorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProvisionerClientMockRecorder is the mock recorder for MockProvisionerClient.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProvisionerClientMockRecorder struct {
|
|
|
|
mock *MockProvisionerClient
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// NewMockProvisionerClient creates a new mock instance.
|
2018-08-08 22:54:40 +02:00
|
|
|
func NewMockProvisionerClient(ctrl *gomock.Controller) *MockProvisionerClient {
|
|
|
|
mock := &MockProvisionerClient{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockProvisionerClientMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisionerClient) EXPECT() *MockProvisionerClientMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// GetSchema mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProvisionerClient) GetSchema(arg0 context.Context, arg1 *tfplugin5.GetProvisionerSchema_Request, arg2 ...grpc.CallOption) (*tfplugin5.GetProvisionerSchema_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetSchema", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.GetProvisionerSchema_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// GetSchema indicates an expected call of GetSchema.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisionerClientMockRecorder) GetSchema(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSchema", reflect.TypeOf((*MockProvisionerClient)(nil).GetSchema), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ProvisionResource mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProvisionerClient) ProvisionResource(arg0 context.Context, arg1 *tfplugin5.ProvisionResource_Request, arg2 ...grpc.CallOption) (tfplugin5.Provisioner_ProvisionResourceClient, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ProvisionResource", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(tfplugin5.Provisioner_ProvisionResourceClient)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ProvisionResource indicates an expected call of ProvisionResource.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisionerClientMockRecorder) ProvisionResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProvisionResource", reflect.TypeOf((*MockProvisionerClient)(nil).ProvisionResource), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Stop mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProvisionerClient) Stop(arg0 context.Context, arg1 *tfplugin5.Stop_Request, arg2 ...grpc.CallOption) (*tfplugin5.Stop_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "Stop", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.Stop_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Stop indicates an expected call of Stop.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisionerClientMockRecorder) Stop(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockProvisionerClient)(nil).Stop), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ValidateProvisionerConfig mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProvisionerClient) ValidateProvisionerConfig(arg0 context.Context, arg1 *tfplugin5.ValidateProvisionerConfig_Request, arg2 ...grpc.CallOption) (*tfplugin5.ValidateProvisionerConfig_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ValidateProvisionerConfig", varargs...)
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ValidateProvisionerConfig_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// ValidateProvisionerConfig indicates an expected call of ValidateProvisionerConfig.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisionerClientMockRecorder) ValidateProvisionerConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateProvisionerConfig", reflect.TypeOf((*MockProvisionerClient)(nil).ValidateProvisionerConfig), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProvisioner_ProvisionResourceClient is a mock of Provisioner_ProvisionResourceClient interface.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProvisioner_ProvisionResourceClient struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockProvisioner_ProvisionResourceClientMockRecorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProvisioner_ProvisionResourceClientMockRecorder is the mock recorder for MockProvisioner_ProvisionResourceClient.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProvisioner_ProvisionResourceClientMockRecorder struct {
|
|
|
|
mock *MockProvisioner_ProvisionResourceClient
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// NewMockProvisioner_ProvisionResourceClient creates a new mock instance.
|
2018-08-08 22:54:40 +02:00
|
|
|
func NewMockProvisioner_ProvisionResourceClient(ctrl *gomock.Controller) *MockProvisioner_ProvisionResourceClient {
|
|
|
|
mock := &MockProvisioner_ProvisionResourceClient{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockProvisioner_ProvisionResourceClientMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) EXPECT() *MockProvisioner_ProvisionResourceClientMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// CloseSend mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) CloseSend() error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "CloseSend")
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// CloseSend indicates an expected call of CloseSend.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) CloseSend() *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).CloseSend))
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Context mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) Context() context.Context {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "Context")
|
|
|
|
ret0, _ := ret[0].(context.Context)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Context indicates an expected call of Context.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) Context() *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).Context))
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Header mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) Header() (metadata.MD, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "Header")
|
|
|
|
ret0, _ := ret[0].(metadata.MD)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Header indicates an expected call of Header.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) Header() *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).Header))
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Recv mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) Recv() (*tfplugin5.ProvisionResource_Response, error) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "Recv")
|
2018-11-19 18:39:16 +01:00
|
|
|
ret0, _ := ret[0].(*tfplugin5.ProvisionResource_Response)
|
2018-08-08 22:54:40 +02:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Recv indicates an expected call of Recv.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) Recv() *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).Recv))
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// RecvMsg mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) RecvMsg(arg0 interface{}) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "RecvMsg", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// RecvMsg indicates an expected call of RecvMsg.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).RecvMsg), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SendMsg mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) SendMsg(arg0 interface{}) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "SendMsg", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SendMsg indicates an expected call of SendMsg.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).SendMsg), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Trailer mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceClient) Trailer() metadata.MD {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "Trailer")
|
|
|
|
ret0, _ := ret[0].(metadata.MD)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Trailer indicates an expected call of Trailer.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceClientMockRecorder) Trailer() *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockProvisioner_ProvisionResourceClient)(nil).Trailer))
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProvisioner_ProvisionResourceServer is a mock of Provisioner_ProvisionResourceServer interface.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProvisioner_ProvisionResourceServer struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockProvisioner_ProvisionResourceServerMockRecorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// MockProvisioner_ProvisionResourceServerMockRecorder is the mock recorder for MockProvisioner_ProvisionResourceServer.
|
2018-08-08 22:54:40 +02:00
|
|
|
type MockProvisioner_ProvisionResourceServerMockRecorder struct {
|
|
|
|
mock *MockProvisioner_ProvisionResourceServer
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// NewMockProvisioner_ProvisionResourceServer creates a new mock instance.
|
2018-08-08 22:54:40 +02:00
|
|
|
func NewMockProvisioner_ProvisionResourceServer(ctrl *gomock.Controller) *MockProvisioner_ProvisionResourceServer {
|
|
|
|
mock := &MockProvisioner_ProvisionResourceServer{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockProvisioner_ProvisionResourceServerMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) EXPECT() *MockProvisioner_ProvisionResourceServerMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Context mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) Context() context.Context {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "Context")
|
|
|
|
ret0, _ := ret[0].(context.Context)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Context indicates an expected call of Context.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) Context() *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).Context))
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// RecvMsg mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) RecvMsg(arg0 interface{}) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "RecvMsg", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// RecvMsg indicates an expected call of RecvMsg.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).RecvMsg), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Send mocks base method.
|
2018-11-19 18:39:16 +01:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) Send(arg0 *tfplugin5.ProvisionResource_Response) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "Send", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// Send indicates an expected call of Send.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) Send(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).Send), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SendHeader mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) SendHeader(arg0 metadata.MD) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "SendHeader", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SendHeader indicates an expected call of SendHeader.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).SendHeader), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SendMsg mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) SendMsg(arg0 interface{}) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "SendMsg", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SendMsg indicates an expected call of SendMsg.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).SendMsg), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SetHeader mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) SetHeader(arg0 metadata.MD) error {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
ret := m.ctrl.Call(m, "SetHeader", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SetHeader indicates an expected call of SetHeader.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).SetHeader), arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SetTrailer mocks base method.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (m *MockProvisioner_ProvisionResourceServer) SetTrailer(arg0 metadata.MD) {
|
2018-12-10 23:16:13 +01:00
|
|
|
m.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
m.ctrl.Call(m, "SetTrailer", arg0)
|
|
|
|
}
|
|
|
|
|
2021-10-29 03:16:26 +02:00
|
|
|
// SetTrailer indicates an expected call of SetTrailer.
|
2018-08-08 22:54:40 +02:00
|
|
|
func (mr *MockProvisioner_ProvisionResourceServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call {
|
2018-12-10 23:16:13 +01:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2018-08-08 22:54:40 +02:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockProvisioner_ProvisionResourceServer)(nil).SetTrailer), arg0)
|
|
|
|
}
|