Documentation ¶
Overview ¶
Package mock_scope is a generated GoMock package.
Index ¶
- type MockHcloudClient
- func (m *MockHcloudClient) CreateLoadBalancer(arg0 context.Context, arg1 hcloud.LoadBalancerCreateOpts) (hcloud.LoadBalancerCreateResult, *hcloud.Response, error)
- func (m *MockHcloudClient) CreateNetwork(arg0 context.Context, arg1 hcloud.NetworkCreateOpts) (*hcloud.Network, *hcloud.Response, error)
- func (m *MockHcloudClient) CreateServer(arg0 context.Context, arg1 hcloud.ServerCreateOpts) (hcloud.ServerCreateResult, *hcloud.Response, error)
- func (m *MockHcloudClient) CreateVolume(arg0 context.Context, arg1 hcloud.VolumeCreateOpts) (hcloud.VolumeCreateResult, *hcloud.Response, error)
- func (m *MockHcloudClient) DeleteLoadBalancer(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Response, error)
- func (m *MockHcloudClient) DeleteNetwork(arg0 context.Context, arg1 *hcloud.Network) (*hcloud.Response, error)
- func (m *MockHcloudClient) DeleteServer(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Response, error)
- func (m *MockHcloudClient) DeleteVolume(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Response, error)
- func (m *MockHcloudClient) EXPECT() *MockHcloudClientMockRecorder
- func (m *MockHcloudClient) ListImages(arg0 context.Context, arg1 hcloud.ImageListOpts) ([]*hcloud.Image, error)
- func (m *MockHcloudClient) ListLoadBalancers(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, error)
- func (m *MockHcloudClient) ListLocation(arg0 context.Context) ([]*hcloud.Location, error)
- func (m *MockHcloudClient) ListNetworks(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, error)
- func (m *MockHcloudClient) ListSSHKeys(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockHcloudClient) ListServers(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, error)
- func (m *MockHcloudClient) ListVolumes(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, error)
- func (m *MockHcloudClient) ShutdownServer(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockHcloudClient) Token() string
- type MockHcloudClientMockRecorder
- func (mr *MockHcloudClientMockRecorder) CreateLoadBalancer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) CreateNetwork(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) CreateServer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) DeleteLoadBalancer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) DeleteNetwork(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) DeleteServer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListLoadBalancers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListLocation(arg0 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListNetworks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListSSHKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListServers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) ShutdownServer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHcloudClientMockRecorder) Token() *gomock.Call
- type MockManifests
- type MockManifestsMockRecorder
- type MockPacker
- type MockPackerMockRecorder
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 ¶
func (m *MockHcloudClient) CreateLoadBalancer(arg0 context.Context, arg1 hcloud.LoadBalancerCreateOpts) (hcloud.LoadBalancerCreateResult, *hcloud.Response, error)
CreateLoadBalancer mocks base method
func (*MockHcloudClient) CreateNetwork ¶
func (m *MockHcloudClient) CreateNetwork(arg0 context.Context, arg1 hcloud.NetworkCreateOpts) (*hcloud.Network, *hcloud.Response, error)
CreateNetwork mocks base method
func (*MockHcloudClient) CreateServer ¶
func (m *MockHcloudClient) CreateServer(arg0 context.Context, arg1 hcloud.ServerCreateOpts) (hcloud.ServerCreateResult, *hcloud.Response, error)
CreateServer mocks base method
func (*MockHcloudClient) CreateVolume ¶
func (m *MockHcloudClient) CreateVolume(arg0 context.Context, arg1 hcloud.VolumeCreateOpts) (hcloud.VolumeCreateResult, *hcloud.Response, error)
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 ¶
func (m *MockHcloudClient) EXPECT() *MockHcloudClientMockRecorder
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 ¶
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 ¶
func (m *MockHcloudClient) ListSSHKeys(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, *hcloud.Response, error)
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
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 ¶
func (mr *MockHcloudClientMockRecorder) Token() *gomock.Call
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 ¶
func (m *MockManifests) EXPECT() *MockManifestsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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