Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockDisksDeleteCall
- type MockDisksDeleteCallMockRecorder
- type MockDisksGetCall
- type MockDisksGetCallMockRecorder
- type MockDisksInsertCall
- type MockDisksInsertCallMockRecorder
- type MockDisksService
- func (m *MockDisksService) Delete(arg0, arg1, arg2 string) gcp.DisksDeleteCall
- func (m *MockDisksService) EXPECT() *MockDisksServiceMockRecorder
- func (m *MockDisksService) Get(arg0, arg1, arg2 string) gcp.DisksGetCall
- func (m *MockDisksService) Insert(arg0, arg1 string, arg2 *compute.Disk) gcp.DisksInsertCall
- type MockDisksServiceMockRecorder
- type MockFirewallsDeleteCall
- type MockFirewallsDeleteCallMockRecorder
- type MockFirewallsGetCall
- type MockFirewallsGetCallMockRecorder
- type MockFirewallsInsertCall
- type MockFirewallsInsertCallMockRecorder
- type MockFirewallsListCall
- type MockFirewallsListCallMockRecorder
- type MockFirewallsPatchCall
- type MockFirewallsPatchCallMockRecorder
- type MockFirewallsService
- func (m *MockFirewallsService) Delete(arg0, arg1 string) gcp.FirewallsDeleteCall
- func (m *MockFirewallsService) EXPECT() *MockFirewallsServiceMockRecorder
- func (m *MockFirewallsService) Get(arg0, arg1 string) gcp.FirewallsGetCall
- func (m *MockFirewallsService) Insert(arg0 string, arg1 *compute.Firewall) gcp.FirewallsInsertCall
- func (m *MockFirewallsService) List(arg0 string) gcp.FirewallsListCall
- func (m *MockFirewallsService) Patch(arg0, arg1 string, arg2 *compute.Firewall) gcp.FirewallsPatchCall
- type MockFirewallsServiceMockRecorder
- func (mr *MockFirewallsServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockInstancesDeleteCall
- type MockInstancesDeleteCallMockRecorder
- type MockInstancesGetCall
- type MockInstancesGetCallMockRecorder
- type MockInstancesInsertCall
- type MockInstancesInsertCallMockRecorder
- type MockInstancesService
- func (m *MockInstancesService) Delete(arg0, arg1, arg2 string) gcp.InstancesDeleteCall
- func (m *MockInstancesService) EXPECT() *MockInstancesServiceMockRecorder
- func (m *MockInstancesService) Get(arg0, arg1, arg2 string) gcp.InstancesGetCall
- func (m *MockInstancesService) Insert(arg0, arg1 string, arg2 *compute.Instance) gcp.InstancesInsertCall
- type MockInstancesServiceMockRecorder
- type MockInterface
- func (m *MockInterface) Disks() gcp.DisksService
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Firewalls() gcp.FirewallsService
- func (m *MockInterface) Instances() gcp.InstancesService
- func (m *MockInterface) Regions() gcp.RegionsService
- func (m *MockInterface) Routes() gcp.RoutesService
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Disks() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Firewalls() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Instances() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Regions() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Routes() *gomock.Call
- type MockRegionsGetCall
- type MockRegionsGetCallMockRecorder
- type MockRegionsService
- type MockRegionsServiceMockRecorder
- type MockRoutesDeleteCall
- type MockRoutesDeleteCallMockRecorder
- type MockRoutesListCall
- type MockRoutesListCallMockRecorder
- type MockRoutesService
- type MockRoutesServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDisksDeleteCall ¶ added in v1.20.0
type MockDisksDeleteCall struct {
// contains filtered or unexported fields
}
MockDisksDeleteCall is a mock of DisksDeleteCall interface.
func NewMockDisksDeleteCall ¶ added in v1.20.0
func NewMockDisksDeleteCall(ctrl *gomock.Controller) *MockDisksDeleteCall
NewMockDisksDeleteCall creates a new mock instance.
func (*MockDisksDeleteCall) Context ¶ added in v1.20.0
func (m *MockDisksDeleteCall) Context(arg0 context.Context) gcp.DisksDeleteCall
Context mocks base method.
func (*MockDisksDeleteCall) Do ¶ added in v1.20.0
func (m *MockDisksDeleteCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockDisksDeleteCall) EXPECT ¶ added in v1.20.0
func (m *MockDisksDeleteCall) EXPECT() *MockDisksDeleteCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDisksDeleteCallMockRecorder ¶ added in v1.20.0
type MockDisksDeleteCallMockRecorder struct {
// contains filtered or unexported fields
}
MockDisksDeleteCallMockRecorder is the mock recorder for MockDisksDeleteCall.
func (*MockDisksDeleteCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockDisksDeleteCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockDisksDeleteCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockDisksDeleteCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockDisksGetCall ¶ added in v1.20.0
type MockDisksGetCall struct {
// contains filtered or unexported fields
}
MockDisksGetCall is a mock of DisksGetCall interface.
func NewMockDisksGetCall ¶ added in v1.20.0
func NewMockDisksGetCall(ctrl *gomock.Controller) *MockDisksGetCall
NewMockDisksGetCall creates a new mock instance.
func (*MockDisksGetCall) Context ¶ added in v1.20.0
func (m *MockDisksGetCall) Context(arg0 context.Context) gcp.DisksGetCall
Context mocks base method.
func (*MockDisksGetCall) Do ¶ added in v1.20.0
func (m *MockDisksGetCall) Do(arg0 ...googleapi.CallOption) (*compute.Disk, error)
Do mocks base method.
func (*MockDisksGetCall) EXPECT ¶ added in v1.20.0
func (m *MockDisksGetCall) EXPECT() *MockDisksGetCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDisksGetCallMockRecorder ¶ added in v1.20.0
type MockDisksGetCallMockRecorder struct {
// contains filtered or unexported fields
}
MockDisksGetCallMockRecorder is the mock recorder for MockDisksGetCall.
func (*MockDisksGetCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockDisksGetCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockDisksGetCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockDisksGetCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockDisksInsertCall ¶ added in v1.20.0
type MockDisksInsertCall struct {
// contains filtered or unexported fields
}
MockDisksInsertCall is a mock of DisksInsertCall interface.
func NewMockDisksInsertCall ¶ added in v1.20.0
func NewMockDisksInsertCall(ctrl *gomock.Controller) *MockDisksInsertCall
NewMockDisksInsertCall creates a new mock instance.
func (*MockDisksInsertCall) Context ¶ added in v1.20.0
func (m *MockDisksInsertCall) Context(arg0 context.Context) gcp.DisksInsertCall
Context mocks base method.
func (*MockDisksInsertCall) Do ¶ added in v1.20.0
func (m *MockDisksInsertCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockDisksInsertCall) EXPECT ¶ added in v1.20.0
func (m *MockDisksInsertCall) EXPECT() *MockDisksInsertCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDisksInsertCallMockRecorder ¶ added in v1.20.0
type MockDisksInsertCallMockRecorder struct {
// contains filtered or unexported fields
}
MockDisksInsertCallMockRecorder is the mock recorder for MockDisksInsertCall.
func (*MockDisksInsertCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockDisksInsertCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockDisksInsertCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockDisksInsertCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockDisksService ¶ added in v1.20.0
type MockDisksService struct {
// contains filtered or unexported fields
}
MockDisksService is a mock of DisksService interface.
func NewMockDisksService ¶ added in v1.20.0
func NewMockDisksService(ctrl *gomock.Controller) *MockDisksService
NewMockDisksService creates a new mock instance.
func (*MockDisksService) Delete ¶ added in v1.20.0
func (m *MockDisksService) Delete(arg0, arg1, arg2 string) gcp.DisksDeleteCall
Delete mocks base method.
func (*MockDisksService) EXPECT ¶ added in v1.20.0
func (m *MockDisksService) EXPECT() *MockDisksServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDisksService) Get ¶ added in v1.20.0
func (m *MockDisksService) Get(arg0, arg1, arg2 string) gcp.DisksGetCall
Get mocks base method.
func (*MockDisksService) Insert ¶ added in v1.20.0
func (m *MockDisksService) Insert(arg0, arg1 string, arg2 *compute.Disk) gcp.DisksInsertCall
Insert mocks base method.
type MockDisksServiceMockRecorder ¶ added in v1.20.0
type MockDisksServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDisksServiceMockRecorder is the mock recorder for MockDisksService.
func (*MockDisksServiceMockRecorder) Delete ¶ added in v1.20.0
func (mr *MockDisksServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDisksServiceMockRecorder) Get ¶ added in v1.20.0
func (mr *MockDisksServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDisksServiceMockRecorder) Insert ¶ added in v1.20.0
func (mr *MockDisksServiceMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
type MockFirewallsDeleteCall ¶
type MockFirewallsDeleteCall struct {
// contains filtered or unexported fields
}
MockFirewallsDeleteCall is a mock of FirewallsDeleteCall interface.
func NewMockFirewallsDeleteCall ¶
func NewMockFirewallsDeleteCall(ctrl *gomock.Controller) *MockFirewallsDeleteCall
NewMockFirewallsDeleteCall creates a new mock instance.
func (*MockFirewallsDeleteCall) Context ¶
func (m *MockFirewallsDeleteCall) Context(arg0 context.Context) gcp.FirewallsDeleteCall
Context mocks base method.
func (*MockFirewallsDeleteCall) Do ¶
func (m *MockFirewallsDeleteCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockFirewallsDeleteCall) EXPECT ¶
func (m *MockFirewallsDeleteCall) EXPECT() *MockFirewallsDeleteCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFirewallsDeleteCallMockRecorder ¶
type MockFirewallsDeleteCallMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsDeleteCallMockRecorder is the mock recorder for MockFirewallsDeleteCall.
func (*MockFirewallsDeleteCallMockRecorder) Context ¶
func (mr *MockFirewallsDeleteCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockFirewallsDeleteCallMockRecorder) Do ¶
func (mr *MockFirewallsDeleteCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockFirewallsGetCall ¶ added in v1.20.0
type MockFirewallsGetCall struct {
// contains filtered or unexported fields
}
MockFirewallsGetCall is a mock of FirewallsGetCall interface.
func NewMockFirewallsGetCall ¶ added in v1.20.0
func NewMockFirewallsGetCall(ctrl *gomock.Controller) *MockFirewallsGetCall
NewMockFirewallsGetCall creates a new mock instance.
func (*MockFirewallsGetCall) Context ¶ added in v1.20.0
func (m *MockFirewallsGetCall) Context(arg0 context.Context) gcp.FirewallsGetCall
Context mocks base method.
func (*MockFirewallsGetCall) Do ¶ added in v1.20.0
func (m *MockFirewallsGetCall) Do(arg0 ...googleapi.CallOption) (*compute.Firewall, error)
Do mocks base method.
func (*MockFirewallsGetCall) EXPECT ¶ added in v1.20.0
func (m *MockFirewallsGetCall) EXPECT() *MockFirewallsGetCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFirewallsGetCallMockRecorder ¶ added in v1.20.0
type MockFirewallsGetCallMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsGetCallMockRecorder is the mock recorder for MockFirewallsGetCall.
func (*MockFirewallsGetCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockFirewallsGetCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockFirewallsGetCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockFirewallsGetCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockFirewallsInsertCall ¶ added in v1.20.0
type MockFirewallsInsertCall struct {
// contains filtered or unexported fields
}
MockFirewallsInsertCall is a mock of FirewallsInsertCall interface.
func NewMockFirewallsInsertCall ¶ added in v1.20.0
func NewMockFirewallsInsertCall(ctrl *gomock.Controller) *MockFirewallsInsertCall
NewMockFirewallsInsertCall creates a new mock instance.
func (*MockFirewallsInsertCall) Context ¶ added in v1.20.0
func (m *MockFirewallsInsertCall) Context(arg0 context.Context) gcp.FirewallsInsertCall
Context mocks base method.
func (*MockFirewallsInsertCall) Do ¶ added in v1.20.0
func (m *MockFirewallsInsertCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockFirewallsInsertCall) EXPECT ¶ added in v1.20.0
func (m *MockFirewallsInsertCall) EXPECT() *MockFirewallsInsertCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFirewallsInsertCallMockRecorder ¶ added in v1.20.0
type MockFirewallsInsertCallMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsInsertCallMockRecorder is the mock recorder for MockFirewallsInsertCall.
func (*MockFirewallsInsertCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockFirewallsInsertCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockFirewallsInsertCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockFirewallsInsertCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockFirewallsListCall ¶
type MockFirewallsListCall struct {
// contains filtered or unexported fields
}
MockFirewallsListCall is a mock of FirewallsListCall interface.
func NewMockFirewallsListCall ¶
func NewMockFirewallsListCall(ctrl *gomock.Controller) *MockFirewallsListCall
NewMockFirewallsListCall creates a new mock instance.
func (*MockFirewallsListCall) EXPECT ¶
func (m *MockFirewallsListCall) EXPECT() *MockFirewallsListCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFirewallsListCall) Pages ¶
func (m *MockFirewallsListCall) Pages(arg0 context.Context, arg1 func(*compute.FirewallList) error) error
Pages mocks base method.
type MockFirewallsListCallMockRecorder ¶
type MockFirewallsListCallMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsListCallMockRecorder is the mock recorder for MockFirewallsListCall.
func (*MockFirewallsListCallMockRecorder) Pages ¶
func (mr *MockFirewallsListCallMockRecorder) Pages(arg0, arg1 interface{}) *gomock.Call
Pages indicates an expected call of Pages.
type MockFirewallsPatchCall ¶ added in v1.20.0
type MockFirewallsPatchCall struct {
// contains filtered or unexported fields
}
MockFirewallsPatchCall is a mock of FirewallsPatchCall interface.
func NewMockFirewallsPatchCall ¶ added in v1.20.0
func NewMockFirewallsPatchCall(ctrl *gomock.Controller) *MockFirewallsPatchCall
NewMockFirewallsPatchCall creates a new mock instance.
func (*MockFirewallsPatchCall) Context ¶ added in v1.20.0
func (m *MockFirewallsPatchCall) Context(arg0 context.Context) gcp.FirewallsPatchCall
Context mocks base method.
func (*MockFirewallsPatchCall) Do ¶ added in v1.20.0
func (m *MockFirewallsPatchCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockFirewallsPatchCall) EXPECT ¶ added in v1.20.0
func (m *MockFirewallsPatchCall) EXPECT() *MockFirewallsPatchCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFirewallsPatchCallMockRecorder ¶ added in v1.20.0
type MockFirewallsPatchCallMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsPatchCallMockRecorder is the mock recorder for MockFirewallsPatchCall.
func (*MockFirewallsPatchCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockFirewallsPatchCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockFirewallsPatchCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockFirewallsPatchCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockFirewallsService ¶
type MockFirewallsService struct {
// contains filtered or unexported fields
}
MockFirewallsService is a mock of FirewallsService interface.
func NewMockFirewallsService ¶
func NewMockFirewallsService(ctrl *gomock.Controller) *MockFirewallsService
NewMockFirewallsService creates a new mock instance.
func (*MockFirewallsService) Delete ¶
func (m *MockFirewallsService) Delete(arg0, arg1 string) gcp.FirewallsDeleteCall
Delete mocks base method.
func (*MockFirewallsService) EXPECT ¶
func (m *MockFirewallsService) EXPECT() *MockFirewallsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFirewallsService) Get ¶ added in v1.20.0
func (m *MockFirewallsService) Get(arg0, arg1 string) gcp.FirewallsGetCall
Get mocks base method.
func (*MockFirewallsService) Insert ¶ added in v1.20.0
func (m *MockFirewallsService) Insert(arg0 string, arg1 *compute.Firewall) gcp.FirewallsInsertCall
Insert mocks base method.
func (*MockFirewallsService) List ¶
func (m *MockFirewallsService) List(arg0 string) gcp.FirewallsListCall
List mocks base method.
func (*MockFirewallsService) Patch ¶ added in v1.20.0
func (m *MockFirewallsService) Patch(arg0, arg1 string, arg2 *compute.Firewall) gcp.FirewallsPatchCall
Patch mocks base method.
type MockFirewallsServiceMockRecorder ¶
type MockFirewallsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsServiceMockRecorder is the mock recorder for MockFirewallsService.
func (*MockFirewallsServiceMockRecorder) Delete ¶
func (mr *MockFirewallsServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFirewallsServiceMockRecorder) Get ¶ added in v1.20.0
func (mr *MockFirewallsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockFirewallsServiceMockRecorder) Insert ¶ added in v1.20.0
func (mr *MockFirewallsServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockFirewallsServiceMockRecorder) List ¶
func (mr *MockFirewallsServiceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockFirewallsServiceMockRecorder) Patch ¶ added in v1.20.0
func (mr *MockFirewallsServiceMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call
Patch indicates an expected call of Patch.
type MockInstancesDeleteCall ¶ added in v1.20.0
type MockInstancesDeleteCall struct {
// contains filtered or unexported fields
}
MockInstancesDeleteCall is a mock of InstancesDeleteCall interface.
func NewMockInstancesDeleteCall ¶ added in v1.20.0
func NewMockInstancesDeleteCall(ctrl *gomock.Controller) *MockInstancesDeleteCall
NewMockInstancesDeleteCall creates a new mock instance.
func (*MockInstancesDeleteCall) Context ¶ added in v1.20.0
func (m *MockInstancesDeleteCall) Context(arg0 context.Context) gcp.InstancesDeleteCall
Context mocks base method.
func (*MockInstancesDeleteCall) Do ¶ added in v1.20.0
func (m *MockInstancesDeleteCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockInstancesDeleteCall) EXPECT ¶ added in v1.20.0
func (m *MockInstancesDeleteCall) EXPECT() *MockInstancesDeleteCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInstancesDeleteCallMockRecorder ¶ added in v1.20.0
type MockInstancesDeleteCallMockRecorder struct {
// contains filtered or unexported fields
}
MockInstancesDeleteCallMockRecorder is the mock recorder for MockInstancesDeleteCall.
func (*MockInstancesDeleteCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockInstancesDeleteCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockInstancesDeleteCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockInstancesDeleteCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockInstancesGetCall ¶ added in v1.20.0
type MockInstancesGetCall struct {
// contains filtered or unexported fields
}
MockInstancesGetCall is a mock of InstancesGetCall interface.
func NewMockInstancesGetCall ¶ added in v1.20.0
func NewMockInstancesGetCall(ctrl *gomock.Controller) *MockInstancesGetCall
NewMockInstancesGetCall creates a new mock instance.
func (*MockInstancesGetCall) Context ¶ added in v1.20.0
func (m *MockInstancesGetCall) Context(arg0 context.Context) gcp.InstancesGetCall
Context mocks base method.
func (*MockInstancesGetCall) Do ¶ added in v1.20.0
func (m *MockInstancesGetCall) Do(arg0 ...googleapi.CallOption) (*compute.Instance, error)
Do mocks base method.
func (*MockInstancesGetCall) EXPECT ¶ added in v1.20.0
func (m *MockInstancesGetCall) EXPECT() *MockInstancesGetCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInstancesGetCallMockRecorder ¶ added in v1.20.0
type MockInstancesGetCallMockRecorder struct {
// contains filtered or unexported fields
}
MockInstancesGetCallMockRecorder is the mock recorder for MockInstancesGetCall.
func (*MockInstancesGetCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockInstancesGetCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockInstancesGetCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockInstancesGetCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockInstancesInsertCall ¶ added in v1.20.0
type MockInstancesInsertCall struct {
// contains filtered or unexported fields
}
MockInstancesInsertCall is a mock of InstancesInsertCall interface.
func NewMockInstancesInsertCall ¶ added in v1.20.0
func NewMockInstancesInsertCall(ctrl *gomock.Controller) *MockInstancesInsertCall
NewMockInstancesInsertCall creates a new mock instance.
func (*MockInstancesInsertCall) Context ¶ added in v1.20.0
func (m *MockInstancesInsertCall) Context(arg0 context.Context) gcp.InstancesInsertCall
Context mocks base method.
func (*MockInstancesInsertCall) Do ¶ added in v1.20.0
func (m *MockInstancesInsertCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockInstancesInsertCall) EXPECT ¶ added in v1.20.0
func (m *MockInstancesInsertCall) EXPECT() *MockInstancesInsertCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInstancesInsertCallMockRecorder ¶ added in v1.20.0
type MockInstancesInsertCallMockRecorder struct {
// contains filtered or unexported fields
}
MockInstancesInsertCallMockRecorder is the mock recorder for MockInstancesInsertCall.
func (*MockInstancesInsertCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockInstancesInsertCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockInstancesInsertCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockInstancesInsertCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockInstancesService ¶ added in v1.20.0
type MockInstancesService struct {
// contains filtered or unexported fields
}
MockInstancesService is a mock of InstancesService interface.
func NewMockInstancesService ¶ added in v1.20.0
func NewMockInstancesService(ctrl *gomock.Controller) *MockInstancesService
NewMockInstancesService creates a new mock instance.
func (*MockInstancesService) Delete ¶ added in v1.20.0
func (m *MockInstancesService) Delete(arg0, arg1, arg2 string) gcp.InstancesDeleteCall
Delete mocks base method.
func (*MockInstancesService) EXPECT ¶ added in v1.20.0
func (m *MockInstancesService) EXPECT() *MockInstancesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstancesService) Get ¶ added in v1.20.0
func (m *MockInstancesService) Get(arg0, arg1, arg2 string) gcp.InstancesGetCall
Get mocks base method.
func (*MockInstancesService) Insert ¶ added in v1.20.0
func (m *MockInstancesService) Insert(arg0, arg1 string, arg2 *compute.Instance) gcp.InstancesInsertCall
Insert mocks base method.
type MockInstancesServiceMockRecorder ¶ added in v1.20.0
type MockInstancesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstancesServiceMockRecorder is the mock recorder for MockInstancesService.
func (*MockInstancesServiceMockRecorder) Delete ¶ added in v1.20.0
func (mr *MockInstancesServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockInstancesServiceMockRecorder) Get ¶ added in v1.20.0
func (mr *MockInstancesServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockInstancesServiceMockRecorder) Insert ¶ added in v1.20.0
func (mr *MockInstancesServiceMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Disks ¶ added in v1.20.0
func (m *MockInterface) Disks() gcp.DisksService
Disks mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Firewalls ¶
func (m *MockInterface) Firewalls() gcp.FirewallsService
Firewalls mocks base method.
func (*MockInterface) Instances ¶ added in v1.20.0
func (m *MockInterface) Instances() gcp.InstancesService
Instances mocks base method.
func (*MockInterface) Regions ¶ added in v1.20.0
func (m *MockInterface) Regions() gcp.RegionsService
Regions mocks base method.
func (*MockInterface) Routes ¶
func (m *MockInterface) Routes() gcp.RoutesService
Routes mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Disks ¶ added in v1.20.0
func (mr *MockInterfaceMockRecorder) Disks() *gomock.Call
Disks indicates an expected call of Disks.
func (*MockInterfaceMockRecorder) Firewalls ¶
func (mr *MockInterfaceMockRecorder) Firewalls() *gomock.Call
Firewalls indicates an expected call of Firewalls.
func (*MockInterfaceMockRecorder) Instances ¶ added in v1.20.0
func (mr *MockInterfaceMockRecorder) Instances() *gomock.Call
Instances indicates an expected call of Instances.
func (*MockInterfaceMockRecorder) Regions ¶ added in v1.20.0
func (mr *MockInterfaceMockRecorder) Regions() *gomock.Call
Regions indicates an expected call of Regions.
func (*MockInterfaceMockRecorder) Routes ¶
func (mr *MockInterfaceMockRecorder) Routes() *gomock.Call
Routes indicates an expected call of Routes.
type MockRegionsGetCall ¶ added in v1.20.0
type MockRegionsGetCall struct {
// contains filtered or unexported fields
}
MockRegionsGetCall is a mock of RegionsGetCall interface.
func NewMockRegionsGetCall ¶ added in v1.20.0
func NewMockRegionsGetCall(ctrl *gomock.Controller) *MockRegionsGetCall
NewMockRegionsGetCall creates a new mock instance.
func (*MockRegionsGetCall) Context ¶ added in v1.20.0
func (m *MockRegionsGetCall) Context(arg0 context.Context) gcp.RegionsGetCall
Context mocks base method.
func (*MockRegionsGetCall) Do ¶ added in v1.20.0
func (m *MockRegionsGetCall) Do(arg0 ...googleapi.CallOption) (*compute.Region, error)
Do mocks base method.
func (*MockRegionsGetCall) EXPECT ¶ added in v1.20.0
func (m *MockRegionsGetCall) EXPECT() *MockRegionsGetCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRegionsGetCallMockRecorder ¶ added in v1.20.0
type MockRegionsGetCallMockRecorder struct {
// contains filtered or unexported fields
}
MockRegionsGetCallMockRecorder is the mock recorder for MockRegionsGetCall.
func (*MockRegionsGetCallMockRecorder) Context ¶ added in v1.20.0
func (mr *MockRegionsGetCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockRegionsGetCallMockRecorder) Do ¶ added in v1.20.0
func (mr *MockRegionsGetCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockRegionsService ¶ added in v1.20.0
type MockRegionsService struct {
// contains filtered or unexported fields
}
MockRegionsService is a mock of RegionsService interface.
func NewMockRegionsService ¶ added in v1.20.0
func NewMockRegionsService(ctrl *gomock.Controller) *MockRegionsService
NewMockRegionsService creates a new mock instance.
func (*MockRegionsService) EXPECT ¶ added in v1.20.0
func (m *MockRegionsService) EXPECT() *MockRegionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegionsService) Get ¶ added in v1.20.0
func (m *MockRegionsService) Get(arg0, arg1 string) gcp.RegionsGetCall
Get mocks base method.
type MockRegionsServiceMockRecorder ¶ added in v1.20.0
type MockRegionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRegionsServiceMockRecorder is the mock recorder for MockRegionsService.
func (*MockRegionsServiceMockRecorder) Get ¶ added in v1.20.0
func (mr *MockRegionsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockRoutesDeleteCall ¶
type MockRoutesDeleteCall struct {
// contains filtered or unexported fields
}
MockRoutesDeleteCall is a mock of RoutesDeleteCall interface.
func NewMockRoutesDeleteCall ¶
func NewMockRoutesDeleteCall(ctrl *gomock.Controller) *MockRoutesDeleteCall
NewMockRoutesDeleteCall creates a new mock instance.
func (*MockRoutesDeleteCall) Context ¶
func (m *MockRoutesDeleteCall) Context(arg0 context.Context) gcp.RoutesDeleteCall
Context mocks base method.
func (*MockRoutesDeleteCall) Do ¶
func (m *MockRoutesDeleteCall) Do(arg0 ...googleapi.CallOption) (*compute.Operation, error)
Do mocks base method.
func (*MockRoutesDeleteCall) EXPECT ¶
func (m *MockRoutesDeleteCall) EXPECT() *MockRoutesDeleteCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRoutesDeleteCallMockRecorder ¶
type MockRoutesDeleteCallMockRecorder struct {
// contains filtered or unexported fields
}
MockRoutesDeleteCallMockRecorder is the mock recorder for MockRoutesDeleteCall.
func (*MockRoutesDeleteCallMockRecorder) Context ¶
func (mr *MockRoutesDeleteCallMockRecorder) Context(arg0 interface{}) *gomock.Call
Context indicates an expected call of Context.
func (*MockRoutesDeleteCallMockRecorder) Do ¶
func (mr *MockRoutesDeleteCallMockRecorder) Do(arg0 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockRoutesListCall ¶
type MockRoutesListCall struct {
// contains filtered or unexported fields
}
MockRoutesListCall is a mock of RoutesListCall interface.
func NewMockRoutesListCall ¶
func NewMockRoutesListCall(ctrl *gomock.Controller) *MockRoutesListCall
NewMockRoutesListCall creates a new mock instance.
func (*MockRoutesListCall) EXPECT ¶
func (m *MockRoutesListCall) EXPECT() *MockRoutesListCallMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRoutesListCallMockRecorder ¶
type MockRoutesListCallMockRecorder struct {
// contains filtered or unexported fields
}
MockRoutesListCallMockRecorder is the mock recorder for MockRoutesListCall.
func (*MockRoutesListCallMockRecorder) Pages ¶
func (mr *MockRoutesListCallMockRecorder) Pages(arg0, arg1 interface{}) *gomock.Call
Pages indicates an expected call of Pages.
type MockRoutesService ¶
type MockRoutesService struct {
// contains filtered or unexported fields
}
MockRoutesService is a mock of RoutesService interface.
func NewMockRoutesService ¶
func NewMockRoutesService(ctrl *gomock.Controller) *MockRoutesService
NewMockRoutesService creates a new mock instance.
func (*MockRoutesService) Delete ¶
func (m *MockRoutesService) Delete(arg0, arg1 string) gcp.RoutesDeleteCall
Delete mocks base method.
func (*MockRoutesService) EXPECT ¶
func (m *MockRoutesService) EXPECT() *MockRoutesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoutesService) List ¶
func (m *MockRoutesService) List(arg0 string) gcp.RoutesListCall
List mocks base method.
type MockRoutesServiceMockRecorder ¶
type MockRoutesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRoutesServiceMockRecorder is the mock recorder for MockRoutesService.
func (*MockRoutesServiceMockRecorder) Delete ¶
func (mr *MockRoutesServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoutesServiceMockRecorder) List ¶
func (mr *MockRoutesServiceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.