mock_scope

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_scope is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHcloudClient

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

MockHcloudClient is a mock of HcloudClient interface

func NewMockHcloudClient

func NewMockHcloudClient(ctrl *gomock.Controller) *MockHcloudClient

NewMockHcloudClient creates a new mock instance

func (*MockHcloudClient) CreateLoadBalancer

CreateLoadBalancer mocks base method

func (*MockHcloudClient) CreateNetwork

CreateNetwork mocks base method

func (*MockHcloudClient) CreateServer

CreateServer mocks base method

func (*MockHcloudClient) CreateVolume

CreateVolume mocks base method

func (*MockHcloudClient) DeleteLoadBalancer

func (m *MockHcloudClient) DeleteLoadBalancer(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Response, error)

DeleteLoadBalancer mocks base method

func (*MockHcloudClient) DeleteNetwork

func (m *MockHcloudClient) DeleteNetwork(arg0 context.Context, arg1 *hcloud.Network) (*hcloud.Response, error)

DeleteNetwork mocks base method

func (*MockHcloudClient) DeleteServer

func (m *MockHcloudClient) DeleteServer(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Response, error)

DeleteServer mocks base method

func (*MockHcloudClient) DeleteVolume

func (m *MockHcloudClient) DeleteVolume(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Response, error)

DeleteVolume mocks base method

func (*MockHcloudClient) EXPECT

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

func (*MockHcloudClient) ListImages

func (m *MockHcloudClient) ListImages(arg0 context.Context, arg1 hcloud.ImageListOpts) ([]*hcloud.Image, error)

ListImages mocks base method

func (*MockHcloudClient) ListLoadBalancers

func (m *MockHcloudClient) ListLoadBalancers(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, error)

ListLoadBalancers mocks base method

func (*MockHcloudClient) ListLocation

func (m *MockHcloudClient) ListLocation(arg0 context.Context) ([]*hcloud.Location, error)

ListLocation mocks base method

func (*MockHcloudClient) ListNetworks

func (m *MockHcloudClient) ListNetworks(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, error)

ListNetworks mocks base method

func (*MockHcloudClient) ListSSHKeys

ListSSHKeys mocks base method

func (*MockHcloudClient) ListServers

func (m *MockHcloudClient) ListServers(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, error)

ListServers mocks base method

func (*MockHcloudClient) ListVolumes

func (m *MockHcloudClient) ListVolumes(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, error)

ListVolumes mocks base method

func (*MockHcloudClient) ShutdownServer

func (m *MockHcloudClient) ShutdownServer(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

ShutdownServer mocks base method

func (*MockHcloudClient) Token

func (m *MockHcloudClient) Token() string

Token mocks base method

type MockHcloudClientMockRecorder

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

MockHcloudClientMockRecorder is the mock recorder for MockHcloudClient

func (*MockHcloudClientMockRecorder) CreateLoadBalancer

func (mr *MockHcloudClientMockRecorder) CreateLoadBalancer(arg0, arg1 interface{}) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer

func (*MockHcloudClientMockRecorder) CreateNetwork

func (mr *MockHcloudClientMockRecorder) CreateNetwork(arg0, arg1 interface{}) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork

func (*MockHcloudClientMockRecorder) CreateServer

func (mr *MockHcloudClientMockRecorder) CreateServer(arg0, arg1 interface{}) *gomock.Call

CreateServer indicates an expected call of CreateServer

func (*MockHcloudClientMockRecorder) CreateVolume

func (mr *MockHcloudClientMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call

CreateVolume indicates an expected call of CreateVolume

func (*MockHcloudClientMockRecorder) DeleteLoadBalancer

func (mr *MockHcloudClientMockRecorder) DeleteLoadBalancer(arg0, arg1 interface{}) *gomock.Call

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer

func (*MockHcloudClientMockRecorder) DeleteNetwork

func (mr *MockHcloudClientMockRecorder) DeleteNetwork(arg0, arg1 interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork

func (*MockHcloudClientMockRecorder) DeleteServer

func (mr *MockHcloudClientMockRecorder) DeleteServer(arg0, arg1 interface{}) *gomock.Call

DeleteServer indicates an expected call of DeleteServer

func (*MockHcloudClientMockRecorder) DeleteVolume

func (mr *MockHcloudClientMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume

func (*MockHcloudClientMockRecorder) ListImages

func (mr *MockHcloudClientMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call

ListImages indicates an expected call of ListImages

func (*MockHcloudClientMockRecorder) ListLoadBalancers

func (mr *MockHcloudClientMockRecorder) ListLoadBalancers(arg0, arg1 interface{}) *gomock.Call

ListLoadBalancers indicates an expected call of ListLoadBalancers

func (*MockHcloudClientMockRecorder) ListLocation

func (mr *MockHcloudClientMockRecorder) ListLocation(arg0 interface{}) *gomock.Call

ListLocation indicates an expected call of ListLocation

func (*MockHcloudClientMockRecorder) ListNetworks

func (mr *MockHcloudClientMockRecorder) ListNetworks(arg0, arg1 interface{}) *gomock.Call

ListNetworks indicates an expected call of ListNetworks

func (*MockHcloudClientMockRecorder) ListSSHKeys

func (mr *MockHcloudClientMockRecorder) ListSSHKeys(arg0, arg1 interface{}) *gomock.Call

ListSSHKeys indicates an expected call of ListSSHKeys

func (*MockHcloudClientMockRecorder) ListServers

func (mr *MockHcloudClientMockRecorder) ListServers(arg0, arg1 interface{}) *gomock.Call

ListServers indicates an expected call of ListServers

func (*MockHcloudClientMockRecorder) ListVolumes

func (mr *MockHcloudClientMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call

ListVolumes indicates an expected call of ListVolumes

func (*MockHcloudClientMockRecorder) ShutdownServer

func (mr *MockHcloudClientMockRecorder) ShutdownServer(arg0, arg1 interface{}) *gomock.Call

ShutdownServer indicates an expected call of ShutdownServer

func (*MockHcloudClientMockRecorder) Token

Token indicates an expected call of Token

type MockManifests

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

MockManifests is a mock of Manifests interface

func NewMockManifests

func NewMockManifests(ctrl *gomock.Controller) *MockManifests

NewMockManifests creates a new mock instance

func (*MockManifests) Apply

func (m *MockManifests) Apply(arg0 context.Context, arg1 clientcmd.ClientConfig, arg2 map[string]string) error

Apply mocks base method

func (*MockManifests) EXPECT

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

func (*MockManifests) Hash

func (m *MockManifests) Hash(arg0 map[string]string) (string, error)

Hash mocks base method

type MockManifestsMockRecorder

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

MockManifestsMockRecorder is the mock recorder for MockManifests

func (*MockManifestsMockRecorder) Apply

func (mr *MockManifestsMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockManifestsMockRecorder) Hash

func (mr *MockManifestsMockRecorder) Hash(arg0 interface{}) *gomock.Call

Hash indicates an expected call of Hash

type MockPacker

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

MockPacker is a mock of Packer interface

func NewMockPacker

func NewMockPacker(ctrl *gomock.Controller) *MockPacker

NewMockPacker creates a new mock instance

func (*MockPacker) EXPECT

func (m *MockPacker) EXPECT() *MockPackerMockRecorder

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

func (*MockPacker) EnsureImage

func (m *MockPacker) EnsureImage(arg0 context.Context, arg1 logr.Logger, arg2 api.HcloudClient, arg3 *api.PackerParameters) (*v1alpha3.HcloudImageID, error)

EnsureImage mocks base method

type MockPackerMockRecorder

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

MockPackerMockRecorder is the mock recorder for MockPacker

func (*MockPackerMockRecorder) EnsureImage

func (mr *MockPackerMockRecorder) EnsureImage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureImage indicates an expected call of EnsureImage

Jump to

Keyboard shortcuts

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