Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) ConfigurePublicIPOnInstance(instance *compute.Instance) error
- func (m *MockInterface) DeleteFirewallRule(projectID, name string) error
- func (m *MockInterface) DeletePublicIPOnInstance(instance *compute.Instance) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetFirewallRule(projectID, name string) (*compute.Firewall, error)
- func (m *MockInterface) GetInstance(zone, instance string) (*compute.Instance, error)
- func (m *MockInterface) InsertFirewallRule(projectID string, rule *compute.Firewall) error
- func (m *MockInterface) InstanceHasPublicIP(instance *compute.Instance) (bool, error)
- func (m *MockInterface) ListInstances(zone string) (*compute.InstanceList, error)
- func (m *MockInterface) ListZones() (*compute.ZoneList, error)
- func (m *MockInterface) UpdateFirewallRule(projectID, name string, rule *compute.Firewall) error
- func (m *MockInterface) UpdateInstanceNetworkTags(project, zone, instance string, tags *compute.Tags) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) ConfigurePublicIPOnInstance(instance interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteFirewallRule(projectID, name interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeletePublicIPOnInstance(instance interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetFirewallRule(projectID, name interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInstance(zone, instance interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InsertFirewallRule(projectID, rule interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InstanceHasPublicIP(instance interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListInstances(zone interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListZones() *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateFirewallRule(projectID, name, rule interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateInstanceNetworkTags(project, zone, instance, tags interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) ConfigurePublicIPOnInstance ¶
func (m *MockInterface) ConfigurePublicIPOnInstance(instance *compute.Instance) error
ConfigurePublicIPOnInstance mocks base method.
func (*MockInterface) DeleteFirewallRule ¶
func (m *MockInterface) DeleteFirewallRule(projectID, name string) error
DeleteFirewallRule mocks base method.
func (*MockInterface) DeletePublicIPOnInstance ¶
func (m *MockInterface) DeletePublicIPOnInstance(instance *compute.Instance) error
DeletePublicIPOnInstance 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) GetFirewallRule ¶
func (m *MockInterface) GetFirewallRule(projectID, name string) (*compute.Firewall, error)
GetFirewallRule mocks base method.
func (*MockInterface) GetInstance ¶
func (m *MockInterface) GetInstance(zone, instance string) (*compute.Instance, error)
GetInstance mocks base method.
func (*MockInterface) InsertFirewallRule ¶
func (m *MockInterface) InsertFirewallRule(projectID string, rule *compute.Firewall) error
InsertFirewallRule mocks base method.
func (*MockInterface) InstanceHasPublicIP ¶
func (m *MockInterface) InstanceHasPublicIP(instance *compute.Instance) (bool, error)
InstanceHasPublicIP mocks base method.
func (*MockInterface) ListInstances ¶
func (m *MockInterface) ListInstances(zone string) (*compute.InstanceList, error)
ListInstances mocks base method.
func (*MockInterface) ListZones ¶
func (m *MockInterface) ListZones() (*compute.ZoneList, error)
ListZones mocks base method.
func (*MockInterface) UpdateFirewallRule ¶
func (m *MockInterface) UpdateFirewallRule(projectID, name string, rule *compute.Firewall) error
UpdateFirewallRule mocks base method.
func (*MockInterface) UpdateInstanceNetworkTags ¶
func (m *MockInterface) UpdateInstanceNetworkTags(project, zone, instance string, tags *compute.Tags) error
UpdateInstanceNetworkTags mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) ConfigurePublicIPOnInstance ¶
func (mr *MockInterfaceMockRecorder) ConfigurePublicIPOnInstance(instance interface{}) *gomock.Call
ConfigurePublicIPOnInstance indicates an expected call of ConfigurePublicIPOnInstance.
func (*MockInterfaceMockRecorder) DeleteFirewallRule ¶
func (mr *MockInterfaceMockRecorder) DeleteFirewallRule(projectID, name interface{}) *gomock.Call
DeleteFirewallRule indicates an expected call of DeleteFirewallRule.
func (*MockInterfaceMockRecorder) DeletePublicIPOnInstance ¶
func (mr *MockInterfaceMockRecorder) DeletePublicIPOnInstance(instance interface{}) *gomock.Call
DeletePublicIPOnInstance indicates an expected call of DeletePublicIPOnInstance.
func (*MockInterfaceMockRecorder) GetFirewallRule ¶
func (mr *MockInterfaceMockRecorder) GetFirewallRule(projectID, name interface{}) *gomock.Call
GetFirewallRule indicates an expected call of GetFirewallRule.
func (*MockInterfaceMockRecorder) GetInstance ¶
func (mr *MockInterfaceMockRecorder) GetInstance(zone, instance interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockInterfaceMockRecorder) InsertFirewallRule ¶
func (mr *MockInterfaceMockRecorder) InsertFirewallRule(projectID, rule interface{}) *gomock.Call
InsertFirewallRule indicates an expected call of InsertFirewallRule.
func (*MockInterfaceMockRecorder) InstanceHasPublicIP ¶
func (mr *MockInterfaceMockRecorder) InstanceHasPublicIP(instance interface{}) *gomock.Call
InstanceHasPublicIP indicates an expected call of InstanceHasPublicIP.
func (*MockInterfaceMockRecorder) ListInstances ¶
func (mr *MockInterfaceMockRecorder) ListInstances(zone interface{}) *gomock.Call
ListInstances indicates an expected call of ListInstances.
func (*MockInterfaceMockRecorder) ListZones ¶
func (mr *MockInterfaceMockRecorder) ListZones() *gomock.Call
ListZones indicates an expected call of ListZones.
func (*MockInterfaceMockRecorder) UpdateFirewallRule ¶
func (mr *MockInterfaceMockRecorder) UpdateFirewallRule(projectID, name, rule interface{}) *gomock.Call
UpdateFirewallRule indicates an expected call of UpdateFirewallRule.
func (*MockInterfaceMockRecorder) UpdateInstanceNetworkTags ¶
func (mr *MockInterfaceMockRecorder) UpdateInstanceNetworkTags(project, zone, instance, tags interface{}) *gomock.Call
UpdateInstanceNetworkTags indicates an expected call of UpdateInstanceNetworkTags.