client

package
v1.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockComputeClient added in v1.19.0

type MockComputeClient struct {
	// contains filtered or unexported fields
}

MockComputeClient is a mock of ComputeClient interface.

func NewMockComputeClient added in v1.19.0

func NewMockComputeClient(ctrl *gomock.Controller) *MockComputeClient

NewMockComputeClient creates a new mock instance.

func (*MockComputeClient) DeleteFirewallRule added in v1.30.0

func (m *MockComputeClient) DeleteFirewallRule(arg0 context.Context, arg1 string) error

DeleteFirewallRule mocks base method.

func (*MockComputeClient) DeleteNetwork added in v1.30.0

func (m *MockComputeClient) DeleteNetwork(arg0 context.Context, arg1 string) error

DeleteNetwork mocks base method.

func (*MockComputeClient) DeleteRoute added in v1.30.0

func (m *MockComputeClient) DeleteRoute(arg0 context.Context, arg1 string) error

DeleteRoute mocks base method.

func (*MockComputeClient) DeleteRouter added in v1.30.0

func (m *MockComputeClient) DeleteRouter(arg0 context.Context, arg1, arg2 string) error

DeleteRouter mocks base method.

func (*MockComputeClient) DeleteSubnet added in v1.30.0

func (m *MockComputeClient) DeleteSubnet(arg0 context.Context, arg1, arg2 string) error

DeleteSubnet mocks base method.

func (*MockComputeClient) EXPECT added in v1.19.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockComputeClient) ExpandSubnet added in v1.30.0

func (m *MockComputeClient) ExpandSubnet(arg0 context.Context, arg1, arg2, arg3 string) (*compute.Subnetwork, error)

ExpandSubnet mocks base method.

func (*MockComputeClient) GetAddress added in v1.30.0

func (m *MockComputeClient) GetAddress(arg0 context.Context, arg1, arg2 string) (*compute.Address, error)

GetAddress mocks base method.

func (*MockComputeClient) GetExternalAddresses added in v1.19.0

func (m *MockComputeClient) GetExternalAddresses(arg0 context.Context, arg1 string) (map[string][]string, error)

GetExternalAddresses mocks base method.

func (*MockComputeClient) GetFirewallRule added in v1.30.0

func (m *MockComputeClient) GetFirewallRule(arg0 context.Context, arg1 string) (*compute.Firewall, error)

GetFirewallRule mocks base method.

func (*MockComputeClient) GetNetwork added in v1.30.0

func (m *MockComputeClient) GetNetwork(arg0 context.Context, arg1 string) (*compute.Network, error)

GetNetwork mocks base method.

func (*MockComputeClient) GetRouter added in v1.30.0

func (m *MockComputeClient) GetRouter(arg0 context.Context, arg1, arg2 string) (*compute.Router, error)

GetRouter mocks base method.

func (*MockComputeClient) GetSubnet added in v1.26.0

func (m *MockComputeClient) GetSubnet(arg0 context.Context, arg1, arg2 string) (*compute.Subnetwork, error)

GetSubnet mocks base method.

func (*MockComputeClient) InsertFirewallRule added in v1.30.0

func (m *MockComputeClient) InsertFirewallRule(arg0 context.Context, arg1 *compute.Firewall) (*compute.Firewall, error)

InsertFirewallRule mocks base method.

func (*MockComputeClient) InsertNetwork added in v1.30.0

func (m *MockComputeClient) InsertNetwork(arg0 context.Context, arg1 *compute.Network) (*compute.Network, error)

InsertNetwork mocks base method.

func (*MockComputeClient) InsertRouter added in v1.30.0

func (m *MockComputeClient) InsertRouter(arg0 context.Context, arg1 string, arg2 *compute.Router) (*compute.Router, error)

InsertRouter mocks base method.

func (*MockComputeClient) InsertSubnet added in v1.30.0

func (m *MockComputeClient) InsertSubnet(arg0 context.Context, arg1 string, arg2 *compute.Subnetwork) (*compute.Subnetwork, error)

InsertSubnet mocks base method.

func (*MockComputeClient) ListFirewallRules added in v1.30.0

func (m *MockComputeClient) ListFirewallRules(arg0 context.Context, arg1 client.FirewallListOpts) ([]*compute.Firewall, error)

ListFirewallRules mocks base method.

func (*MockComputeClient) ListRoutes added in v1.30.0

func (m *MockComputeClient) ListRoutes(arg0 context.Context, arg1 client.RouteListOpts) ([]*compute.Route, error)

ListRoutes mocks base method.

func (*MockComputeClient) PatchFirewallRule added in v1.30.0

func (m *MockComputeClient) PatchFirewallRule(arg0 context.Context, arg1 string, arg2 *compute.Firewall) (*compute.Firewall, error)

PatchFirewallRule mocks base method.

func (*MockComputeClient) PatchNetwork added in v1.30.0

func (m *MockComputeClient) PatchNetwork(arg0 context.Context, arg1 string, arg2 *compute.Network) (*compute.Network, error)

PatchNetwork mocks base method.

func (*MockComputeClient) PatchRouter added in v1.30.0

func (m *MockComputeClient) PatchRouter(arg0 context.Context, arg1, arg2 string, arg3 *compute.Router) (*compute.Router, error)

PatchRouter mocks base method.

func (*MockComputeClient) PatchSubnet added in v1.30.0

func (m *MockComputeClient) PatchSubnet(arg0 context.Context, arg1, arg2 string, arg3 *compute.Subnetwork) (*compute.Subnetwork, error)

PatchSubnet mocks base method.

type MockComputeClientMockRecorder added in v1.19.0

type MockComputeClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockComputeClientMockRecorder is the mock recorder for MockComputeClient.

func (*MockComputeClientMockRecorder) DeleteFirewallRule added in v1.30.0

func (mr *MockComputeClientMockRecorder) DeleteFirewallRule(arg0, arg1 any) *gomock.Call

DeleteFirewallRule indicates an expected call of DeleteFirewallRule.

func (*MockComputeClientMockRecorder) DeleteNetwork added in v1.30.0

func (mr *MockComputeClientMockRecorder) DeleteNetwork(arg0, arg1 any) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockComputeClientMockRecorder) DeleteRoute added in v1.30.0

func (mr *MockComputeClientMockRecorder) DeleteRoute(arg0, arg1 any) *gomock.Call

DeleteRoute indicates an expected call of DeleteRoute.

func (*MockComputeClientMockRecorder) DeleteRouter added in v1.30.0

func (mr *MockComputeClientMockRecorder) DeleteRouter(arg0, arg1, arg2 any) *gomock.Call

DeleteRouter indicates an expected call of DeleteRouter.

func (*MockComputeClientMockRecorder) DeleteSubnet added in v1.30.0

func (mr *MockComputeClientMockRecorder) DeleteSubnet(arg0, arg1, arg2 any) *gomock.Call

DeleteSubnet indicates an expected call of DeleteSubnet.

func (*MockComputeClientMockRecorder) ExpandSubnet added in v1.30.0

func (mr *MockComputeClientMockRecorder) ExpandSubnet(arg0, arg1, arg2, arg3 any) *gomock.Call

ExpandSubnet indicates an expected call of ExpandSubnet.

func (*MockComputeClientMockRecorder) GetAddress added in v1.30.0

func (mr *MockComputeClientMockRecorder) GetAddress(arg0, arg1, arg2 any) *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockComputeClientMockRecorder) GetExternalAddresses added in v1.19.0

func (mr *MockComputeClientMockRecorder) GetExternalAddresses(arg0, arg1 any) *gomock.Call

GetExternalAddresses indicates an expected call of GetExternalAddresses.

func (*MockComputeClientMockRecorder) GetFirewallRule added in v1.30.0

func (mr *MockComputeClientMockRecorder) GetFirewallRule(arg0, arg1 any) *gomock.Call

GetFirewallRule indicates an expected call of GetFirewallRule.

func (*MockComputeClientMockRecorder) GetNetwork added in v1.30.0

func (mr *MockComputeClientMockRecorder) GetNetwork(arg0, arg1 any) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockComputeClientMockRecorder) GetRouter added in v1.30.0

func (mr *MockComputeClientMockRecorder) GetRouter(arg0, arg1, arg2 any) *gomock.Call

GetRouter indicates an expected call of GetRouter.

func (*MockComputeClientMockRecorder) GetSubnet added in v1.26.0

func (mr *MockComputeClientMockRecorder) GetSubnet(arg0, arg1, arg2 any) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockComputeClientMockRecorder) InsertFirewallRule added in v1.30.0

func (mr *MockComputeClientMockRecorder) InsertFirewallRule(arg0, arg1 any) *gomock.Call

InsertFirewallRule indicates an expected call of InsertFirewallRule.

func (*MockComputeClientMockRecorder) InsertNetwork added in v1.30.0

func (mr *MockComputeClientMockRecorder) InsertNetwork(arg0, arg1 any) *gomock.Call

InsertNetwork indicates an expected call of InsertNetwork.

func (*MockComputeClientMockRecorder) InsertRouter added in v1.30.0

func (mr *MockComputeClientMockRecorder) InsertRouter(arg0, arg1, arg2 any) *gomock.Call

InsertRouter indicates an expected call of InsertRouter.

func (*MockComputeClientMockRecorder) InsertSubnet added in v1.30.0

func (mr *MockComputeClientMockRecorder) InsertSubnet(arg0, arg1, arg2 any) *gomock.Call

InsertSubnet indicates an expected call of InsertSubnet.

func (*MockComputeClientMockRecorder) ListFirewallRules added in v1.30.0

func (mr *MockComputeClientMockRecorder) ListFirewallRules(arg0, arg1 any) *gomock.Call

ListFirewallRules indicates an expected call of ListFirewallRules.

func (*MockComputeClientMockRecorder) ListRoutes added in v1.30.0

func (mr *MockComputeClientMockRecorder) ListRoutes(arg0, arg1 any) *gomock.Call

ListRoutes indicates an expected call of ListRoutes.

func (*MockComputeClientMockRecorder) PatchFirewallRule added in v1.30.0

func (mr *MockComputeClientMockRecorder) PatchFirewallRule(arg0, arg1, arg2 any) *gomock.Call

PatchFirewallRule indicates an expected call of PatchFirewallRule.

func (*MockComputeClientMockRecorder) PatchNetwork added in v1.30.0

func (mr *MockComputeClientMockRecorder) PatchNetwork(arg0, arg1, arg2 any) *gomock.Call

PatchNetwork indicates an expected call of PatchNetwork.

func (*MockComputeClientMockRecorder) PatchRouter added in v1.30.0

func (mr *MockComputeClientMockRecorder) PatchRouter(arg0, arg1, arg2, arg3 any) *gomock.Call

PatchRouter indicates an expected call of PatchRouter.

func (*MockComputeClientMockRecorder) PatchSubnet added in v1.30.0

func (mr *MockComputeClientMockRecorder) PatchSubnet(arg0, arg1, arg2, arg3 any) *gomock.Call

PatchSubnet indicates an expected call of PatchSubnet.

type MockDNSClient

type MockDNSClient struct {
	// contains filtered or unexported fields
}

MockDNSClient is a mock of DNSClient interface.

func NewMockDNSClient

func NewMockDNSClient(ctrl *gomock.Controller) *MockDNSClient

NewMockDNSClient creates a new mock instance.

func (*MockDNSClient) CreateOrUpdateRecordSet

func (m *MockDNSClient) CreateOrUpdateRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error

CreateOrUpdateRecordSet mocks base method.

func (*MockDNSClient) DeleteRecordSet

func (m *MockDNSClient) DeleteRecordSet(arg0 context.Context, arg1, arg2, arg3 string) error

DeleteRecordSet mocks base method.

func (*MockDNSClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDNSClient) GetManagedZones

func (m *MockDNSClient) GetManagedZones(arg0 context.Context) (map[string]string, error)

GetManagedZones mocks base method.

type MockDNSClientMockRecorder

type MockDNSClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDNSClientMockRecorder is the mock recorder for MockDNSClient.

func (*MockDNSClientMockRecorder) CreateOrUpdateRecordSet

func (mr *MockDNSClientMockRecorder) CreateOrUpdateRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

CreateOrUpdateRecordSet indicates an expected call of CreateOrUpdateRecordSet.

func (*MockDNSClientMockRecorder) DeleteRecordSet

func (mr *MockDNSClientMockRecorder) DeleteRecordSet(arg0, arg1, arg2, arg3 any) *gomock.Call

DeleteRecordSet indicates an expected call of DeleteRecordSet.

func (*MockDNSClientMockRecorder) GetManagedZones

func (mr *MockDNSClientMockRecorder) GetManagedZones(arg0 any) *gomock.Call

GetManagedZones indicates an expected call of GetManagedZones.

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields
}

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) Compute added in v1.30.0

Compute mocks base method.

func (*MockFactory) DNS added in v1.30.0

DNS mocks base method.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFactory) IAM added in v1.30.0

IAM mocks base method.

func (*MockFactory) Storage added in v1.30.0

Storage mocks base method.

type MockFactoryMockRecorder

type MockFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) Compute added in v1.30.0

func (mr *MockFactoryMockRecorder) Compute(arg0, arg1, arg2 any) *gomock.Call

Compute indicates an expected call of Compute.

func (*MockFactoryMockRecorder) DNS added in v1.30.0

func (mr *MockFactoryMockRecorder) DNS(arg0, arg1, arg2 any) *gomock.Call

DNS indicates an expected call of DNS.

func (*MockFactoryMockRecorder) IAM added in v1.30.0

func (mr *MockFactoryMockRecorder) IAM(arg0, arg1, arg2 any) *gomock.Call

IAM indicates an expected call of IAM.

func (*MockFactoryMockRecorder) Storage added in v1.30.0

func (mr *MockFactoryMockRecorder) Storage(arg0, arg1, arg2 any) *gomock.Call

Storage indicates an expected call of Storage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL