Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type Client
- func (c *Client) Action() hcapi2.ActionClient
- func (c *Client) Certificate() hcapi2.CertificateClient
- func (c *Client) Datacenter() hcapi2.DatacenterClient
- func (c *Client) Firewall() hcapi2.FirewallClient
- func (c *Client) FloatingIP() hcapi2.FloatingIPClient
- func (*Client) FromConfig(_ config.Config)
- func (c *Client) ISO() hcapi2.ISOClient
- func (c *Client) Image() hcapi2.ImageClient
- func (c *Client) LoadBalancer() hcapi2.LoadBalancerClient
- func (c *Client) LoadBalancerType() hcapi2.LoadBalancerTypeClient
- func (c *Client) Location() hcapi2.LocationClient
- func (c *Client) Network() hcapi2.NetworkClient
- func (c *Client) PlacementGroup() hcapi2.PlacementGroupClient
- func (c *Client) Pricing() hcapi2.PricingClient
- func (c *Client) PrimaryIP() hcapi2.PrimaryIPClient
- func (c *Client) RDNS() hcapi2.RDNSClient
- func (c *Client) SSHKey() hcapi2.SSHKeyClient
- func (c *Client) Server() hcapi2.ServerClient
- func (c *Client) ServerType() hcapi2.ServerTypeClient
- func (c *Client) Volume() hcapi2.VolumeClient
- func (*Client) WithOpts(_ ...hcloud.ClientOption)
- type MockActionClient
- func (m *MockActionClient) All(arg0 context.Context) ([]*hcloud.Action, error)
- func (m *MockActionClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ActionListOpts) ([]*hcloud.Action, error)
- func (m *MockActionClient) EXPECT() *MockActionClientMockRecorder
- func (m *MockActionClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockActionClient) List(arg0 context.Context, arg1 hcloud.ActionListOpts) ([]*hcloud.Action, *hcloud.Response, error)
- func (m *MockActionClient) WaitFor(arg0 context.Context, arg1 ...*hcloud.Action) error
- func (m *MockActionClient) WaitForFunc(arg0 context.Context, arg1 func(*hcloud.Action) error, arg2 ...*hcloud.Action) error
- func (m *MockActionClient) WatchOverallProgress(arg0 context.Context, arg1 []*hcloud.Action) (<-chan int, <-chan error)
- func (m *MockActionClient) WatchProgress(arg0 context.Context, arg1 *hcloud.Action) (<-chan int, <-chan error)
- type MockActionClientMockRecorder
- func (mr *MockActionClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) WaitFor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) WaitForFunc(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) WatchOverallProgress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionClientMockRecorder) WatchProgress(arg0, arg1 interface{}) *gomock.Call
- type MockCertificateClient
- func (m *MockCertificateClient) All(arg0 context.Context) ([]*hcloud.Certificate, error)
- func (m *MockCertificateClient) AllWithOpts(arg0 context.Context, arg1 hcloud.CertificateListOpts) ([]*hcloud.Certificate, error)
- func (m *MockCertificateClient) Create(arg0 context.Context, arg1 hcloud.CertificateCreateOpts) (*hcloud.Certificate, *hcloud.Response, error)
- func (m *MockCertificateClient) CreateCertificate(arg0 context.Context, arg1 hcloud.CertificateCreateOpts) (hcloud.CertificateCreateResult, *hcloud.Response, error)
- func (m *MockCertificateClient) Delete(arg0 context.Context, arg1 *hcloud.Certificate) (*hcloud.Response, error)
- func (m *MockCertificateClient) EXPECT() *MockCertificateClientMockRecorder
- func (m *MockCertificateClient) Get(arg0 context.Context, arg1 string) (*hcloud.Certificate, *hcloud.Response, error)
- func (m *MockCertificateClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Certificate, *hcloud.Response, error)
- func (m *MockCertificateClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Certificate, *hcloud.Response, error)
- func (m *MockCertificateClient) LabelKeys(arg0 string) []string
- func (m *MockCertificateClient) List(arg0 context.Context, arg1 hcloud.CertificateListOpts) ([]*hcloud.Certificate, *hcloud.Response, error)
- func (m *MockCertificateClient) Names() []string
- func (m *MockCertificateClient) RetryIssuance(arg0 context.Context, arg1 *hcloud.Certificate) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockCertificateClient) Update(arg0 context.Context, arg1 *hcloud.Certificate, ...) (*hcloud.Certificate, *hcloud.Response, error)
- type MockCertificateClientMockRecorder
- func (mr *MockCertificateClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) CreateCertificate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) Names() *gomock.Call
- func (mr *MockCertificateClientMockRecorder) RetryIssuance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockDatacenterClient
- func (m *MockDatacenterClient) All(arg0 context.Context) ([]*hcloud.Datacenter, error)
- func (m *MockDatacenterClient) AllWithOpts(arg0 context.Context, arg1 hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, error)
- func (m *MockDatacenterClient) EXPECT() *MockDatacenterClientMockRecorder
- func (m *MockDatacenterClient) Get(arg0 context.Context, arg1 string) (*hcloud.Datacenter, *hcloud.Response, error)
- func (m *MockDatacenterClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Datacenter, *hcloud.Response, error)
- func (m *MockDatacenterClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Datacenter, *hcloud.Response, error)
- func (m *MockDatacenterClient) List(arg0 context.Context, arg1 hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, *hcloud.Response, error)
- func (m *MockDatacenterClient) Names() []string
- type MockDatacenterClientMockRecorder
- func (mr *MockDatacenterClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockDatacenterClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatacenterClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatacenterClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatacenterClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatacenterClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatacenterClientMockRecorder) Names() *gomock.Call
- type MockFirewallClient
- func (m *MockFirewallClient) All(arg0 context.Context) ([]*hcloud.Firewall, error)
- func (m *MockFirewallClient) AllWithOpts(arg0 context.Context, arg1 hcloud.FirewallListOpts) ([]*hcloud.Firewall, error)
- func (m *MockFirewallClient) ApplyResources(arg0 context.Context, arg1 *hcloud.Firewall, arg2 []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error)
- func (m *MockFirewallClient) Create(arg0 context.Context, arg1 hcloud.FirewallCreateOpts) (hcloud.FirewallCreateResult, *hcloud.Response, error)
- func (m *MockFirewallClient) Delete(arg0 context.Context, arg1 *hcloud.Firewall) (*hcloud.Response, error)
- func (m *MockFirewallClient) EXPECT() *MockFirewallClientMockRecorder
- func (m *MockFirewallClient) Get(arg0 context.Context, arg1 string) (*hcloud.Firewall, *hcloud.Response, error)
- func (m *MockFirewallClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Firewall, *hcloud.Response, error)
- func (m *MockFirewallClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Firewall, *hcloud.Response, error)
- func (m *MockFirewallClient) LabelKeys(arg0 string) []string
- func (m *MockFirewallClient) List(arg0 context.Context, arg1 hcloud.FirewallListOpts) ([]*hcloud.Firewall, *hcloud.Response, error)
- func (m *MockFirewallClient) Names() []string
- func (m *MockFirewallClient) RemoveResources(arg0 context.Context, arg1 *hcloud.Firewall, arg2 []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error)
- func (m *MockFirewallClient) SetRules(arg0 context.Context, arg1 *hcloud.Firewall, arg2 hcloud.FirewallSetRulesOpts) ([]*hcloud.Action, *hcloud.Response, error)
- func (m *MockFirewallClient) Update(arg0 context.Context, arg1 *hcloud.Firewall, arg2 hcloud.FirewallUpdateOpts) (*hcloud.Firewall, *hcloud.Response, error)
- type MockFirewallClientMockRecorder
- func (mr *MockFirewallClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) ApplyResources(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) Names() *gomock.Call
- func (mr *MockFirewallClientMockRecorder) RemoveResources(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) SetRules(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFirewallClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockFloatingIPClient
- func (m *MockFloatingIPClient) All(arg0 context.Context) ([]*hcloud.FloatingIP, error)
- func (m *MockFloatingIPClient) AllWithOpts(arg0 context.Context, arg1 hcloud.FloatingIPListOpts) ([]*hcloud.FloatingIP, error)
- func (m *MockFloatingIPClient) Assign(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockFloatingIPClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockFloatingIPClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.FloatingIP, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockFloatingIPClient) Create(arg0 context.Context, arg1 hcloud.FloatingIPCreateOpts) (hcloud.FloatingIPCreateResult, *hcloud.Response, error)
- func (m *MockFloatingIPClient) Delete(arg0 context.Context, arg1 *hcloud.FloatingIP) (*hcloud.Response, error)
- func (m *MockFloatingIPClient) EXPECT() *MockFloatingIPClientMockRecorder
- func (m *MockFloatingIPClient) Get(arg0 context.Context, arg1 string) (*hcloud.FloatingIP, *hcloud.Response, error)
- func (m *MockFloatingIPClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.FloatingIP, *hcloud.Response, error)
- func (m *MockFloatingIPClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.FloatingIP, *hcloud.Response, error)
- func (m *MockFloatingIPClient) LabelKeys(arg0 string) []string
- func (m *MockFloatingIPClient) List(arg0 context.Context, arg1 hcloud.FloatingIPListOpts) ([]*hcloud.FloatingIP, *hcloud.Response, error)
- func (m *MockFloatingIPClient) Names() []string
- func (m *MockFloatingIPClient) Unassign(arg0 context.Context, arg1 *hcloud.FloatingIP) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockFloatingIPClient) Update(arg0 context.Context, arg1 *hcloud.FloatingIP, ...) (*hcloud.FloatingIP, *hcloud.Response, error)
- type MockFloatingIPClientMockRecorder
- func (mr *MockFloatingIPClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Assign(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Names() *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFloatingIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockISOClient
- func (m *MockISOClient) All(arg0 context.Context) ([]*hcloud.ISO, error)
- func (m *MockISOClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ISOListOpts) ([]*hcloud.ISO, error)
- func (m *MockISOClient) EXPECT() *MockISOClientMockRecorder
- func (m *MockISOClient) Get(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
- func (m *MockISOClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.ISO, *hcloud.Response, error)
- func (m *MockISOClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
- func (m *MockISOClient) List(arg0 context.Context, arg1 hcloud.ISOListOpts) ([]*hcloud.ISO, *hcloud.Response, error)
- func (m *MockISOClient) Names() []string
- type MockISOClientMockRecorder
- func (mr *MockISOClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockISOClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockISOClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockISOClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockISOClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockISOClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockISOClientMockRecorder) Names() *gomock.Call
- type MockImageClient
- func (m *MockImageClient) All(arg0 context.Context) ([]*hcloud.Image, error)
- func (m *MockImageClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ImageListOpts) ([]*hcloud.Image, error)
- func (m *MockImageClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Image, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockImageClient) Delete(arg0 context.Context, arg1 *hcloud.Image) (*hcloud.Response, error)
- func (m *MockImageClient) EXPECT() *MockImageClientMockRecorder
- func (m *MockImageClient) Get(arg0 context.Context, arg1 string) (*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) GetByNameAndArchitecture(arg0 context.Context, arg1 string, arg2 hcloud.Architecture) (*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) GetForArchitecture(arg0 context.Context, arg1 string, arg2 hcloud.Architecture) (*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) LabelKeys(arg0 string) []string
- func (m *MockImageClient) List(arg0 context.Context, arg1 hcloud.ImageListOpts) ([]*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) Names() []string
- func (m *MockImageClient) Update(arg0 context.Context, arg1 *hcloud.Image, arg2 hcloud.ImageUpdateOpts) (*hcloud.Image, *hcloud.Response, error)
- type MockImageClientMockRecorder
- func (mr *MockImageClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) GetByNameAndArchitecture(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) GetForArchitecture(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageClientMockRecorder) Names() *gomock.Call
- func (mr *MockImageClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockLoadBalancerClient
- func (m *MockLoadBalancerClient) AddIPTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) AddLabelSelectorTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) AddServerTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) AddService(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) All(arg0 context.Context) ([]*hcloud.LoadBalancer, error)
- func (m *MockLoadBalancerClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, error)
- func (m *MockLoadBalancerClient) AttachToNetwork(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) ChangeAlgorithm(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) ChangeType(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) Create(arg0 context.Context, arg1 hcloud.LoadBalancerCreateOpts) (hcloud.LoadBalancerCreateResult, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) Delete(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Response, error)
- func (m *MockLoadBalancerClient) DeleteService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 int) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) DetachFromNetwork(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) DisablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) EXPECT() *MockLoadBalancerClientMockRecorder
- func (m *MockLoadBalancerClient) EnablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancer, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.LoadBalancer, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.LoadBalancer, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) GetMetrics(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.LoadBalancerMetrics, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) LabelKeys(arg0 string) []string
- func (m *MockLoadBalancerClient) List(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) LoadBalancerName(arg0 int64) string
- func (m *MockLoadBalancerClient) Names() []string
- func (m *MockLoadBalancerClient) RemoveIPTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 net.IP) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) RemoveLabelSelectorTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) RemoveServerTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) Update(arg0 context.Context, arg1 *hcloud.LoadBalancer, ...) (*hcloud.LoadBalancer, *hcloud.Response, error)
- func (m *MockLoadBalancerClient) UpdateService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 int, ...) (*hcloud.Action, *hcloud.Response, error)
- type MockLoadBalancerClientMockRecorder
- func (mr *MockLoadBalancerClientMockRecorder) AddIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) AddServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) AddService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) ChangeAlgorithm(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) DeleteService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) DisablePublicInterface(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) EnablePublicInterface(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) LoadBalancerName(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) Names() *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) RemoveIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) RemoveServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLoadBalancerClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockLoadBalancerTypeClient
- func (m *MockLoadBalancerTypeClient) All(arg0 context.Context) ([]*hcloud.LoadBalancerType, error)
- func (m *MockLoadBalancerTypeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LoadBalancerTypeListOpts) ([]*hcloud.LoadBalancerType, error)
- func (m *MockLoadBalancerTypeClient) EXPECT() *MockLoadBalancerTypeClientMockRecorder
- func (m *MockLoadBalancerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
- func (m *MockLoadBalancerTypeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.LoadBalancerType, *hcloud.Response, error)
- func (m *MockLoadBalancerTypeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
- func (m *MockLoadBalancerTypeClient) List(arg0 context.Context, arg1 hcloud.LoadBalancerTypeListOpts) ([]*hcloud.LoadBalancerType, *hcloud.Response, error)
- func (m *MockLoadBalancerTypeClient) LoadBalancerTypeDescription(arg0 int64) string
- func (m *MockLoadBalancerTypeClient) LoadBalancerTypeName(arg0 int64) string
- func (m *MockLoadBalancerTypeClient) Names() []string
- type MockLoadBalancerTypeClientMockRecorder
- func (mr *MockLoadBalancerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerTypeClientMockRecorder) Names() *gomock.Call
- type MockLocationClient
- func (m *MockLocationClient) All(arg0 context.Context) ([]*hcloud.Location, error)
- func (m *MockLocationClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LocationListOpts) ([]*hcloud.Location, error)
- func (m *MockLocationClient) EXPECT() *MockLocationClientMockRecorder
- func (m *MockLocationClient) Get(arg0 context.Context, arg1 string) (*hcloud.Location, *hcloud.Response, error)
- func (m *MockLocationClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Location, *hcloud.Response, error)
- func (m *MockLocationClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Location, *hcloud.Response, error)
- func (m *MockLocationClient) List(arg0 context.Context, arg1 hcloud.LocationListOpts) ([]*hcloud.Location, *hcloud.Response, error)
- func (m *MockLocationClient) Names() []string
- func (m *MockLocationClient) NetworkZones() []string
- type MockLocationClientMockRecorder
- func (mr *MockLocationClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockLocationClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLocationClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLocationClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLocationClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLocationClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLocationClientMockRecorder) Names() *gomock.Call
- func (mr *MockLocationClientMockRecorder) NetworkZones() *gomock.Call
- type MockNetworkClient
- func (m *MockNetworkClient) AddRoute(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkAddRouteOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockNetworkClient) AddSubnet(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkAddSubnetOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockNetworkClient) All(arg0 context.Context) ([]*hcloud.Network, error)
- func (m *MockNetworkClient) AllWithOpts(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, error)
- func (m *MockNetworkClient) ChangeIPRange(arg0 context.Context, arg1 *hcloud.Network, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockNetworkClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Network, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockNetworkClient) Create(arg0 context.Context, arg1 hcloud.NetworkCreateOpts) (*hcloud.Network, *hcloud.Response, error)
- func (m *MockNetworkClient) Delete(arg0 context.Context, arg1 *hcloud.Network) (*hcloud.Response, error)
- func (m *MockNetworkClient) DeleteRoute(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkDeleteRouteOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockNetworkClient) DeleteSubnet(arg0 context.Context, arg1 *hcloud.Network, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockNetworkClient) EXPECT() *MockNetworkClientMockRecorder
- func (m *MockNetworkClient) Get(arg0 context.Context, arg1 string) (*hcloud.Network, *hcloud.Response, error)
- func (m *MockNetworkClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Network, *hcloud.Response, error)
- func (m *MockNetworkClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Network, *hcloud.Response, error)
- func (m *MockNetworkClient) LabelKeys(arg0 string) []string
- func (m *MockNetworkClient) List(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, *hcloud.Response, error)
- func (m *MockNetworkClient) Name(arg0 int64) string
- func (m *MockNetworkClient) Names() []string
- func (m *MockNetworkClient) Update(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkUpdateOpts) (*hcloud.Network, *hcloud.Response, error)
- type MockNetworkClientMockRecorder
- func (mr *MockNetworkClientMockRecorder) AddRoute(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) AddSubnet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) ChangeIPRange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) DeleteRoute(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) DeleteSubnet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) Name(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkClientMockRecorder) Names() *gomock.Call
- func (mr *MockNetworkClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockPlacementGroupClient
- func (m *MockPlacementGroupClient) All(arg0 context.Context) ([]*hcloud.PlacementGroup, error)
- func (m *MockPlacementGroupClient) AllWithOpts(arg0 context.Context, arg1 hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, error)
- func (m *MockPlacementGroupClient) Create(arg0 context.Context, arg1 hcloud.PlacementGroupCreateOpts) (hcloud.PlacementGroupCreateResult, *hcloud.Response, error)
- func (m *MockPlacementGroupClient) Delete(arg0 context.Context, arg1 *hcloud.PlacementGroup) (*hcloud.Response, error)
- func (m *MockPlacementGroupClient) EXPECT() *MockPlacementGroupClientMockRecorder
- func (m *MockPlacementGroupClient) Get(arg0 context.Context, arg1 string) (*hcloud.PlacementGroup, *hcloud.Response, error)
- func (m *MockPlacementGroupClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.PlacementGroup, *hcloud.Response, error)
- func (m *MockPlacementGroupClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.PlacementGroup, *hcloud.Response, error)
- func (m *MockPlacementGroupClient) LabelKeys(arg0 string) []string
- func (m *MockPlacementGroupClient) List(arg0 context.Context, arg1 hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, *hcloud.Response, error)
- func (m *MockPlacementGroupClient) Names() []string
- func (m *MockPlacementGroupClient) Update(arg0 context.Context, arg1 *hcloud.PlacementGroup, ...) (*hcloud.PlacementGroup, *hcloud.Response, error)
- type MockPlacementGroupClientMockRecorder
- func (mr *MockPlacementGroupClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) Names() *gomock.Call
- func (mr *MockPlacementGroupClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockPricingClient
- type MockPricingClientMockRecorder
- type MockPrimaryIPClient
- func (m *MockPrimaryIPClient) All(arg0 context.Context) ([]*hcloud.PrimaryIP, error)
- func (m *MockPrimaryIPClient) AllWithOpts(arg0 context.Context, arg1 hcloud.PrimaryIPListOpts) ([]*hcloud.PrimaryIP, error)
- func (m *MockPrimaryIPClient) Assign(arg0 context.Context, arg1 hcloud.PrimaryIPAssignOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) ChangeDNSPtr(arg0 context.Context, arg1 hcloud.PrimaryIPChangeDNSPtrOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) ChangeProtection(arg0 context.Context, arg1 hcloud.PrimaryIPChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) Create(arg0 context.Context, arg1 hcloud.PrimaryIPCreateOpts) (*hcloud.PrimaryIPCreateResult, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) Delete(arg0 context.Context, arg1 *hcloud.PrimaryIP) (*hcloud.Response, error)
- func (m *MockPrimaryIPClient) EXPECT() *MockPrimaryIPClientMockRecorder
- func (m *MockPrimaryIPClient) Get(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.PrimaryIP, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) GetByIP(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) IPv4Names() []string
- func (m *MockPrimaryIPClient) IPv6Names() []string
- func (m *MockPrimaryIPClient) LabelKeys(arg0 string) []string
- func (m *MockPrimaryIPClient) List(arg0 context.Context, arg1 hcloud.PrimaryIPListOpts) ([]*hcloud.PrimaryIP, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) Names() []string
- func (m *MockPrimaryIPClient) Unassign(arg0 context.Context, arg1 int64) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockPrimaryIPClient) Update(arg0 context.Context, arg1 *hcloud.PrimaryIP, arg2 hcloud.PrimaryIPUpdateOpts) (*hcloud.PrimaryIP, *hcloud.Response, error)
- type MockPrimaryIPClientMockRecorder
- func (mr *MockPrimaryIPClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) ChangeDNSPtr(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) ChangeProtection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) GetByIP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) IPv4Names() *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) IPv6Names() *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Names() *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrimaryIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockRDNSClient
- type MockRDNSClientMockRecorder
- type MockSSHKeyClient
- func (m *MockSSHKeyClient) All(arg0 context.Context) ([]*hcloud.SSHKey, error)
- func (m *MockSSHKeyClient) AllWithOpts(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, error)
- func (m *MockSSHKeyClient) Create(arg0 context.Context, arg1 hcloud.SSHKeyCreateOpts) (*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockSSHKeyClient) Delete(arg0 context.Context, arg1 *hcloud.SSHKey) (*hcloud.Response, error)
- func (m *MockSSHKeyClient) EXPECT() *MockSSHKeyClientMockRecorder
- func (m *MockSSHKeyClient) Get(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockSSHKeyClient) GetByFingerprint(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockSSHKeyClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockSSHKeyClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockSSHKeyClient) LabelKeys(arg0 string) []string
- func (m *MockSSHKeyClient) List(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, *hcloud.Response, error)
- func (m *MockSSHKeyClient) Names() []string
- func (m *MockSSHKeyClient) Update(arg0 context.Context, arg1 *hcloud.SSHKey, arg2 hcloud.SSHKeyUpdateOpts) (*hcloud.SSHKey, *hcloud.Response, error)
- type MockSSHKeyClientMockRecorder
- func (mr *MockSSHKeyClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) GetByFingerprint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) Names() *gomock.Call
- func (mr *MockSSHKeyClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockServerClient
- func (m *MockServerClient) AddToPlacementGroup(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.PlacementGroup) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) All(arg0 context.Context) ([]*hcloud.Server, error)
- func (m *MockServerClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, error)
- func (m *MockServerClient) AttachISO(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.ISO) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) AttachToNetwork(arg0 context.Context, arg1 *hcloud.Server, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) ChangeAliasIPs(arg0 context.Context, arg1 *hcloud.Server, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.Server, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Server, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) ChangeType(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerChangeTypeOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) Create(arg0 context.Context, arg1 hcloud.ServerCreateOpts) (hcloud.ServerCreateResult, *hcloud.Response, error)
- func (m *MockServerClient) CreateImage(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.ServerCreateImageOpts) (hcloud.ServerCreateImageResult, *hcloud.Response, error)
- func (m *MockServerClient) Delete(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Response, error)
- func (m *MockServerClient) DeleteWithResult(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.ServerDeleteResult, *hcloud.Response, error)
- func (m *MockServerClient) DetachFromNetwork(arg0 context.Context, arg1 *hcloud.Server, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) DetachISO(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) DisableBackup(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) DisableRescue(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) EXPECT() *MockServerClientMockRecorder
- func (m *MockServerClient) EnableBackup(arg0 context.Context, arg1 *hcloud.Server, arg2 string) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) EnableRescue(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerEnableRescueOpts) (hcloud.ServerEnableRescueResult, *hcloud.Response, error)
- func (m *MockServerClient) Get(arg0 context.Context, arg1 string) (*hcloud.Server, *hcloud.Response, error)
- func (m *MockServerClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Server, *hcloud.Response, error)
- func (m *MockServerClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Server, *hcloud.Response, error)
- func (m *MockServerClient) GetMetrics(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerGetMetricsOpts) (*hcloud.ServerMetrics, *hcloud.Response, error)
- func (m *MockServerClient) LabelKeys(arg0 string) []string
- func (m *MockServerClient) List(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, *hcloud.Response, error)
- func (m *MockServerClient) Names() []string
- func (m *MockServerClient) Poweroff(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) Poweron(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) Reboot(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) Rebuild(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerRebuildOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) RebuildWithResult(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerRebuildOpts) (hcloud.ServerRebuildResult, *hcloud.Response, error)
- func (m *MockServerClient) RemoveFromPlacementGroup(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) RequestConsole(arg0 context.Context, arg1 *hcloud.Server) (hcloud.ServerRequestConsoleResult, *hcloud.Response, error)
- func (m *MockServerClient) Reset(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) ResetPassword(arg0 context.Context, arg1 *hcloud.Server) (hcloud.ServerResetPasswordResult, *hcloud.Response, error)
- func (m *MockServerClient) ServerName(arg0 int64) string
- func (m *MockServerClient) Shutdown(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockServerClient) Update(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerUpdateOpts) (*hcloud.Server, *hcloud.Response, error)
- type MockServerClientMockRecorder
- func (mr *MockServerClientMockRecorder) AddToPlacementGroup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) AttachISO(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) ChangeAliasIPs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) CreateImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) DeleteWithResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) DetachISO(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) DisableBackup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) DisableRescue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) EnableBackup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) EnableRescue(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Names() *gomock.Call
- func (mr *MockServerClientMockRecorder) Poweroff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Poweron(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Reboot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Rebuild(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) RebuildWithResult(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) RemoveFromPlacementGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) RequestConsole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Reset(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) ResetPassword(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) ServerName(arg0 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Shutdown(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockServerTypeClient
- func (m *MockServerTypeClient) All(arg0 context.Context) ([]*hcloud.ServerType, error)
- func (m *MockServerTypeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ServerTypeListOpts) ([]*hcloud.ServerType, error)
- func (m *MockServerTypeClient) EXPECT() *MockServerTypeClientMockRecorder
- func (m *MockServerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.ServerType, *hcloud.Response, error)
- func (m *MockServerTypeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.ServerType, *hcloud.Response, error)
- func (m *MockServerTypeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.ServerType, *hcloud.Response, error)
- func (m *MockServerTypeClient) List(arg0 context.Context, arg1 hcloud.ServerTypeListOpts) ([]*hcloud.ServerType, *hcloud.Response, error)
- func (m *MockServerTypeClient) Names() []string
- func (m *MockServerTypeClient) ServerTypeDescription(arg0 int64) string
- func (m *MockServerTypeClient) ServerTypeName(arg0 int64) string
- type MockServerTypeClientMockRecorder
- func (mr *MockServerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) Names() *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) ServerTypeDescription(arg0 interface{}) *gomock.Call
- func (mr *MockServerTypeClientMockRecorder) ServerTypeName(arg0 interface{}) *gomock.Call
- type MockVolumeClient
- func (m *MockVolumeClient) All(arg0 context.Context) ([]*hcloud.Volume, error)
- func (m *MockVolumeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, error)
- func (m *MockVolumeClient) Attach(arg0 context.Context, arg1 *hcloud.Volume, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockVolumeClient) AttachWithOpts(arg0 context.Context, arg1 *hcloud.Volume, arg2 hcloud.VolumeAttachOpts) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockVolumeClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Volume, ...) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockVolumeClient) Create(arg0 context.Context, arg1 hcloud.VolumeCreateOpts) (hcloud.VolumeCreateResult, *hcloud.Response, error)
- func (m *MockVolumeClient) Delete(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Response, error)
- func (m *MockVolumeClient) Detach(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockVolumeClient) EXPECT() *MockVolumeClientMockRecorder
- func (m *MockVolumeClient) Get(arg0 context.Context, arg1 string) (*hcloud.Volume, *hcloud.Response, error)
- func (m *MockVolumeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Volume, *hcloud.Response, error)
- func (m *MockVolumeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Volume, *hcloud.Response, error)
- func (m *MockVolumeClient) LabelKeys(arg0 string) []string
- func (m *MockVolumeClient) List(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, *hcloud.Response, error)
- func (m *MockVolumeClient) Names() []string
- func (m *MockVolumeClient) Resize(arg0 context.Context, arg1 *hcloud.Volume, arg2 int) (*hcloud.Action, *hcloud.Response, error)
- func (m *MockVolumeClient) Update(arg0 context.Context, arg1 *hcloud.Volume, arg2 hcloud.VolumeUpdateOpts) (*hcloud.Volume, *hcloud.Response, error)
- type MockVolumeClientMockRecorder
- func (mr *MockVolumeClientMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) AttachWithOpts(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Names() *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.47.0
type Client struct { ActionClient *MockActionClient CertificateClient *MockCertificateClient DatacenterClient *MockDatacenterClient FirewallClient *MockFirewallClient FloatingIPClient *MockFloatingIPClient PrimaryIPClient *MockPrimaryIPClient ImageClient *MockImageClient LocationClient *MockLocationClient LoadBalancerClient *MockLoadBalancerClient LoadBalancerTypeClient *MockLoadBalancerTypeClient NetworkClient *MockNetworkClient ServerClient *MockServerClient ServerTypeClient *MockServerTypeClient SSHKeyClient *MockSSHKeyClient VolumeClient *MockVolumeClient ISOClient *MockISOClient PlacementGroupClient *MockPlacementGroupClient RDNSClient *MockRDNSClient PricingClient *MockPricingClient }
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *Client
func (*Client) Action ¶ added in v1.47.0
func (c *Client) Action() hcapi2.ActionClient
func (*Client) Certificate ¶ added in v1.47.0
func (c *Client) Certificate() hcapi2.CertificateClient
func (*Client) Datacenter ¶ added in v1.47.0
func (c *Client) Datacenter() hcapi2.DatacenterClient
func (*Client) Firewall ¶ added in v1.47.0
func (c *Client) Firewall() hcapi2.FirewallClient
func (*Client) FloatingIP ¶ added in v1.47.0
func (c *Client) FloatingIP() hcapi2.FloatingIPClient
func (*Client) FromConfig ¶ added in v1.47.0
func (*Client) Image ¶ added in v1.47.0
func (c *Client) Image() hcapi2.ImageClient
func (*Client) LoadBalancer ¶ added in v1.47.0
func (c *Client) LoadBalancer() hcapi2.LoadBalancerClient
func (*Client) LoadBalancerType ¶ added in v1.47.0
func (c *Client) LoadBalancerType() hcapi2.LoadBalancerTypeClient
func (*Client) Location ¶ added in v1.47.0
func (c *Client) Location() hcapi2.LocationClient
func (*Client) Network ¶ added in v1.47.0
func (c *Client) Network() hcapi2.NetworkClient
func (*Client) PlacementGroup ¶ added in v1.47.0
func (c *Client) PlacementGroup() hcapi2.PlacementGroupClient
func (*Client) Pricing ¶ added in v1.47.0
func (c *Client) Pricing() hcapi2.PricingClient
func (*Client) PrimaryIP ¶ added in v1.47.0
func (c *Client) PrimaryIP() hcapi2.PrimaryIPClient
func (*Client) RDNS ¶ added in v1.47.0
func (c *Client) RDNS() hcapi2.RDNSClient
func (*Client) SSHKey ¶ added in v1.47.0
func (c *Client) SSHKey() hcapi2.SSHKeyClient
func (*Client) Server ¶ added in v1.47.0
func (c *Client) Server() hcapi2.ServerClient
func (*Client) ServerType ¶ added in v1.47.0
func (c *Client) ServerType() hcapi2.ServerTypeClient
func (*Client) Volume ¶ added in v1.47.0
func (c *Client) Volume() hcapi2.VolumeClient
func (*Client) WithOpts ¶ added in v1.47.0
func (*Client) WithOpts(_ ...hcloud.ClientOption)
type MockActionClient ¶ added in v1.42.0
type MockActionClient struct {
// contains filtered or unexported fields
}
MockActionClient is a mock of ActionClient interface.
func NewMockActionClient ¶ added in v1.42.0
func NewMockActionClient(ctrl *gomock.Controller) *MockActionClient
NewMockActionClient creates a new mock instance.
func (*MockActionClient) AllWithOpts ¶ added in v1.42.0
func (m *MockActionClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ActionListOpts) ([]*hcloud.Action, error)
AllWithOpts mocks base method.
func (*MockActionClient) EXPECT ¶ added in v1.42.0
func (m *MockActionClient) EXPECT() *MockActionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActionClient) GetByID ¶ added in v1.42.0
func (m *MockActionClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Action, *hcloud.Response, error)
GetByID mocks base method.
func (*MockActionClient) List ¶ added in v1.42.0
func (m *MockActionClient) List(arg0 context.Context, arg1 hcloud.ActionListOpts) ([]*hcloud.Action, *hcloud.Response, error)
List mocks base method.
func (*MockActionClient) WaitForFunc ¶ added in v1.44.0
func (m *MockActionClient) WaitForFunc(arg0 context.Context, arg1 func(*hcloud.Action) error, arg2 ...*hcloud.Action) error
WaitForFunc mocks base method.
func (*MockActionClient) WatchOverallProgress ¶ added in v1.42.0
func (m *MockActionClient) WatchOverallProgress(arg0 context.Context, arg1 []*hcloud.Action) (<-chan int, <-chan error)
WatchOverallProgress mocks base method.
func (*MockActionClient) WatchProgress ¶ added in v1.42.0
func (m *MockActionClient) WatchProgress(arg0 context.Context, arg1 *hcloud.Action) (<-chan int, <-chan error)
WatchProgress mocks base method.
type MockActionClientMockRecorder ¶ added in v1.42.0
type MockActionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockActionClientMockRecorder is the mock recorder for MockActionClient.
func (*MockActionClientMockRecorder) All ¶ added in v1.42.0
func (mr *MockActionClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockActionClientMockRecorder) AllWithOpts ¶ added in v1.42.0
func (mr *MockActionClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockActionClientMockRecorder) GetByID ¶ added in v1.42.0
func (mr *MockActionClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockActionClientMockRecorder) List ¶ added in v1.42.0
func (mr *MockActionClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockActionClientMockRecorder) WaitFor ¶ added in v1.44.0
func (mr *MockActionClientMockRecorder) WaitFor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
WaitFor indicates an expected call of WaitFor.
func (*MockActionClientMockRecorder) WaitForFunc ¶ added in v1.44.0
func (mr *MockActionClientMockRecorder) WaitForFunc(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
WaitForFunc indicates an expected call of WaitForFunc.
func (*MockActionClientMockRecorder) WatchOverallProgress ¶ added in v1.42.0
func (mr *MockActionClientMockRecorder) WatchOverallProgress(arg0, arg1 interface{}) *gomock.Call
WatchOverallProgress indicates an expected call of WatchOverallProgress.
func (*MockActionClientMockRecorder) WatchProgress ¶ added in v1.42.0
func (mr *MockActionClientMockRecorder) WatchProgress(arg0, arg1 interface{}) *gomock.Call
WatchProgress indicates an expected call of WatchProgress.
type MockCertificateClient ¶
type MockCertificateClient struct {
// contains filtered or unexported fields
}
MockCertificateClient is a mock of CertificateClient interface.
func NewMockCertificateClient ¶
func NewMockCertificateClient(ctrl *gomock.Controller) *MockCertificateClient
NewMockCertificateClient creates a new mock instance.
func (*MockCertificateClient) All ¶
func (m *MockCertificateClient) All(arg0 context.Context) ([]*hcloud.Certificate, error)
All mocks base method.
func (*MockCertificateClient) AllWithOpts ¶
func (m *MockCertificateClient) AllWithOpts(arg0 context.Context, arg1 hcloud.CertificateListOpts) ([]*hcloud.Certificate, error)
AllWithOpts mocks base method.
func (*MockCertificateClient) Create ¶
func (m *MockCertificateClient) Create(arg0 context.Context, arg1 hcloud.CertificateCreateOpts) (*hcloud.Certificate, *hcloud.Response, error)
Create mocks base method.
func (*MockCertificateClient) CreateCertificate ¶
func (m *MockCertificateClient) CreateCertificate(arg0 context.Context, arg1 hcloud.CertificateCreateOpts) (hcloud.CertificateCreateResult, *hcloud.Response, error)
CreateCertificate mocks base method.
func (*MockCertificateClient) Delete ¶
func (m *MockCertificateClient) Delete(arg0 context.Context, arg1 *hcloud.Certificate) (*hcloud.Response, error)
Delete mocks base method.
func (*MockCertificateClient) EXPECT ¶
func (m *MockCertificateClient) EXPECT() *MockCertificateClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCertificateClient) Get ¶
func (m *MockCertificateClient) Get(arg0 context.Context, arg1 string) (*hcloud.Certificate, *hcloud.Response, error)
Get mocks base method.
func (*MockCertificateClient) GetByID ¶
func (m *MockCertificateClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Certificate, *hcloud.Response, error)
GetByID mocks base method.
func (*MockCertificateClient) GetByName ¶
func (m *MockCertificateClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Certificate, *hcloud.Response, error)
GetByName mocks base method.
func (*MockCertificateClient) LabelKeys ¶
func (m *MockCertificateClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockCertificateClient) List ¶
func (m *MockCertificateClient) List(arg0 context.Context, arg1 hcloud.CertificateListOpts) ([]*hcloud.Certificate, *hcloud.Response, error)
List mocks base method.
func (*MockCertificateClient) Names ¶
func (m *MockCertificateClient) Names() []string
Names mocks base method.
func (*MockCertificateClient) RetryIssuance ¶
func (m *MockCertificateClient) RetryIssuance(arg0 context.Context, arg1 *hcloud.Certificate) (*hcloud.Action, *hcloud.Response, error)
RetryIssuance mocks base method.
func (*MockCertificateClient) Update ¶
func (m *MockCertificateClient) Update(arg0 context.Context, arg1 *hcloud.Certificate, arg2 hcloud.CertificateUpdateOpts) (*hcloud.Certificate, *hcloud.Response, error)
Update mocks base method.
type MockCertificateClientMockRecorder ¶
type MockCertificateClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCertificateClientMockRecorder is the mock recorder for MockCertificateClient.
func (*MockCertificateClientMockRecorder) All ¶
func (mr *MockCertificateClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockCertificateClientMockRecorder) AllWithOpts ¶
func (mr *MockCertificateClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockCertificateClientMockRecorder) Create ¶
func (mr *MockCertificateClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockCertificateClientMockRecorder) CreateCertificate ¶
func (mr *MockCertificateClientMockRecorder) CreateCertificate(arg0, arg1 interface{}) *gomock.Call
CreateCertificate indicates an expected call of CreateCertificate.
func (*MockCertificateClientMockRecorder) Delete ¶
func (mr *MockCertificateClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCertificateClientMockRecorder) Get ¶
func (mr *MockCertificateClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCertificateClientMockRecorder) GetByID ¶
func (mr *MockCertificateClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockCertificateClientMockRecorder) GetByName ¶
func (mr *MockCertificateClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockCertificateClientMockRecorder) LabelKeys ¶
func (mr *MockCertificateClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockCertificateClientMockRecorder) List ¶
func (mr *MockCertificateClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockCertificateClientMockRecorder) Names ¶
func (mr *MockCertificateClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockCertificateClientMockRecorder) RetryIssuance ¶
func (mr *MockCertificateClientMockRecorder) RetryIssuance(arg0, arg1 interface{}) *gomock.Call
RetryIssuance indicates an expected call of RetryIssuance.
func (*MockCertificateClientMockRecorder) Update ¶
func (mr *MockCertificateClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockDatacenterClient ¶
type MockDatacenterClient struct {
// contains filtered or unexported fields
}
MockDatacenterClient is a mock of DatacenterClient interface.
func NewMockDatacenterClient ¶
func NewMockDatacenterClient(ctrl *gomock.Controller) *MockDatacenterClient
NewMockDatacenterClient creates a new mock instance.
func (*MockDatacenterClient) All ¶
func (m *MockDatacenterClient) All(arg0 context.Context) ([]*hcloud.Datacenter, error)
All mocks base method.
func (*MockDatacenterClient) AllWithOpts ¶ added in v1.37.0
func (m *MockDatacenterClient) AllWithOpts(arg0 context.Context, arg1 hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, error)
AllWithOpts mocks base method.
func (*MockDatacenterClient) EXPECT ¶
func (m *MockDatacenterClient) EXPECT() *MockDatacenterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatacenterClient) Get ¶
func (m *MockDatacenterClient) Get(arg0 context.Context, arg1 string) (*hcloud.Datacenter, *hcloud.Response, error)
Get mocks base method.
func (*MockDatacenterClient) GetByID ¶
func (m *MockDatacenterClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Datacenter, *hcloud.Response, error)
GetByID mocks base method.
func (*MockDatacenterClient) GetByName ¶
func (m *MockDatacenterClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Datacenter, *hcloud.Response, error)
GetByName mocks base method.
func (*MockDatacenterClient) List ¶
func (m *MockDatacenterClient) List(arg0 context.Context, arg1 hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, *hcloud.Response, error)
List mocks base method.
func (*MockDatacenterClient) Names ¶
func (m *MockDatacenterClient) Names() []string
Names mocks base method.
type MockDatacenterClientMockRecorder ¶
type MockDatacenterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDatacenterClientMockRecorder is the mock recorder for MockDatacenterClient.
func (*MockDatacenterClientMockRecorder) All ¶
func (mr *MockDatacenterClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockDatacenterClientMockRecorder) AllWithOpts ¶ added in v1.37.0
func (mr *MockDatacenterClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockDatacenterClientMockRecorder) Get ¶
func (mr *MockDatacenterClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDatacenterClientMockRecorder) GetByID ¶
func (mr *MockDatacenterClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockDatacenterClientMockRecorder) GetByName ¶
func (mr *MockDatacenterClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockDatacenterClientMockRecorder) List ¶
func (mr *MockDatacenterClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockDatacenterClientMockRecorder) Names ¶
func (mr *MockDatacenterClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
type MockFirewallClient ¶
type MockFirewallClient struct {
// contains filtered or unexported fields
}
MockFirewallClient is a mock of FirewallClient interface.
func NewMockFirewallClient ¶
func NewMockFirewallClient(ctrl *gomock.Controller) *MockFirewallClient
NewMockFirewallClient creates a new mock instance.
func (*MockFirewallClient) AllWithOpts ¶
func (m *MockFirewallClient) AllWithOpts(arg0 context.Context, arg1 hcloud.FirewallListOpts) ([]*hcloud.Firewall, error)
AllWithOpts mocks base method.
func (*MockFirewallClient) ApplyResources ¶
func (m *MockFirewallClient) ApplyResources(arg0 context.Context, arg1 *hcloud.Firewall, arg2 []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error)
ApplyResources mocks base method.
func (*MockFirewallClient) Create ¶
func (m *MockFirewallClient) Create(arg0 context.Context, arg1 hcloud.FirewallCreateOpts) (hcloud.FirewallCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockFirewallClient) Delete ¶
func (m *MockFirewallClient) Delete(arg0 context.Context, arg1 *hcloud.Firewall) (*hcloud.Response, error)
Delete mocks base method.
func (*MockFirewallClient) EXPECT ¶
func (m *MockFirewallClient) EXPECT() *MockFirewallClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFirewallClient) Get ¶
func (m *MockFirewallClient) Get(arg0 context.Context, arg1 string) (*hcloud.Firewall, *hcloud.Response, error)
Get mocks base method.
func (*MockFirewallClient) GetByID ¶
func (m *MockFirewallClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Firewall, *hcloud.Response, error)
GetByID mocks base method.
func (*MockFirewallClient) GetByName ¶
func (m *MockFirewallClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Firewall, *hcloud.Response, error)
GetByName mocks base method.
func (*MockFirewallClient) LabelKeys ¶
func (m *MockFirewallClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockFirewallClient) List ¶
func (m *MockFirewallClient) List(arg0 context.Context, arg1 hcloud.FirewallListOpts) ([]*hcloud.Firewall, *hcloud.Response, error)
List mocks base method.
func (*MockFirewallClient) Names ¶
func (m *MockFirewallClient) Names() []string
Names mocks base method.
func (*MockFirewallClient) RemoveResources ¶
func (m *MockFirewallClient) RemoveResources(arg0 context.Context, arg1 *hcloud.Firewall, arg2 []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error)
RemoveResources mocks base method.
type MockFirewallClientMockRecorder ¶
type MockFirewallClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallClientMockRecorder is the mock recorder for MockFirewallClient.
func (*MockFirewallClientMockRecorder) All ¶
func (mr *MockFirewallClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockFirewallClientMockRecorder) AllWithOpts ¶
func (mr *MockFirewallClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockFirewallClientMockRecorder) ApplyResources ¶
func (mr *MockFirewallClientMockRecorder) ApplyResources(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyResources indicates an expected call of ApplyResources.
func (*MockFirewallClientMockRecorder) Create ¶
func (mr *MockFirewallClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockFirewallClientMockRecorder) Delete ¶
func (mr *MockFirewallClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFirewallClientMockRecorder) Get ¶
func (mr *MockFirewallClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockFirewallClientMockRecorder) GetByID ¶
func (mr *MockFirewallClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockFirewallClientMockRecorder) GetByName ¶
func (mr *MockFirewallClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockFirewallClientMockRecorder) LabelKeys ¶
func (mr *MockFirewallClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockFirewallClientMockRecorder) List ¶
func (mr *MockFirewallClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockFirewallClientMockRecorder) Names ¶
func (mr *MockFirewallClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockFirewallClientMockRecorder) RemoveResources ¶
func (mr *MockFirewallClientMockRecorder) RemoveResources(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveResources indicates an expected call of RemoveResources.
func (*MockFirewallClientMockRecorder) SetRules ¶
func (mr *MockFirewallClientMockRecorder) SetRules(arg0, arg1, arg2 interface{}) *gomock.Call
SetRules indicates an expected call of SetRules.
func (*MockFirewallClientMockRecorder) Update ¶
func (mr *MockFirewallClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockFloatingIPClient ¶
type MockFloatingIPClient struct {
// contains filtered or unexported fields
}
MockFloatingIPClient is a mock of FloatingIPClient interface.
func NewMockFloatingIPClient ¶
func NewMockFloatingIPClient(ctrl *gomock.Controller) *MockFloatingIPClient
NewMockFloatingIPClient creates a new mock instance.
func (*MockFloatingIPClient) All ¶
func (m *MockFloatingIPClient) All(arg0 context.Context) ([]*hcloud.FloatingIP, error)
All mocks base method.
func (*MockFloatingIPClient) AllWithOpts ¶
func (m *MockFloatingIPClient) AllWithOpts(arg0 context.Context, arg1 hcloud.FloatingIPListOpts) ([]*hcloud.FloatingIP, error)
AllWithOpts mocks base method.
func (*MockFloatingIPClient) Assign ¶
func (m *MockFloatingIPClient) Assign(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
Assign mocks base method.
func (*MockFloatingIPClient) ChangeDNSPtr ¶
func (m *MockFloatingIPClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
ChangeDNSPtr mocks base method.
func (*MockFloatingIPClient) ChangeProtection ¶
func (m *MockFloatingIPClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 hcloud.FloatingIPChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockFloatingIPClient) Create ¶
func (m *MockFloatingIPClient) Create(arg0 context.Context, arg1 hcloud.FloatingIPCreateOpts) (hcloud.FloatingIPCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockFloatingIPClient) Delete ¶
func (m *MockFloatingIPClient) Delete(arg0 context.Context, arg1 *hcloud.FloatingIP) (*hcloud.Response, error)
Delete mocks base method.
func (*MockFloatingIPClient) EXPECT ¶
func (m *MockFloatingIPClient) EXPECT() *MockFloatingIPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFloatingIPClient) Get ¶
func (m *MockFloatingIPClient) Get(arg0 context.Context, arg1 string) (*hcloud.FloatingIP, *hcloud.Response, error)
Get mocks base method.
func (*MockFloatingIPClient) GetByID ¶
func (m *MockFloatingIPClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.FloatingIP, *hcloud.Response, error)
GetByID mocks base method.
func (*MockFloatingIPClient) GetByName ¶
func (m *MockFloatingIPClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.FloatingIP, *hcloud.Response, error)
GetByName mocks base method.
func (*MockFloatingIPClient) LabelKeys ¶
func (m *MockFloatingIPClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockFloatingIPClient) List ¶
func (m *MockFloatingIPClient) List(arg0 context.Context, arg1 hcloud.FloatingIPListOpts) ([]*hcloud.FloatingIP, *hcloud.Response, error)
List mocks base method.
func (*MockFloatingIPClient) Names ¶
func (m *MockFloatingIPClient) Names() []string
Names mocks base method.
func (*MockFloatingIPClient) Unassign ¶
func (m *MockFloatingIPClient) Unassign(arg0 context.Context, arg1 *hcloud.FloatingIP) (*hcloud.Action, *hcloud.Response, error)
Unassign mocks base method.
func (*MockFloatingIPClient) Update ¶
func (m *MockFloatingIPClient) Update(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 hcloud.FloatingIPUpdateOpts) (*hcloud.FloatingIP, *hcloud.Response, error)
Update mocks base method.
type MockFloatingIPClientMockRecorder ¶
type MockFloatingIPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFloatingIPClientMockRecorder is the mock recorder for MockFloatingIPClient.
func (*MockFloatingIPClientMockRecorder) All ¶
func (mr *MockFloatingIPClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockFloatingIPClientMockRecorder) AllWithOpts ¶
func (mr *MockFloatingIPClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockFloatingIPClientMockRecorder) Assign ¶
func (mr *MockFloatingIPClientMockRecorder) Assign(arg0, arg1, arg2 interface{}) *gomock.Call
Assign indicates an expected call of Assign.
func (*MockFloatingIPClientMockRecorder) ChangeDNSPtr ¶
func (mr *MockFloatingIPClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
func (*MockFloatingIPClientMockRecorder) ChangeProtection ¶
func (mr *MockFloatingIPClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockFloatingIPClientMockRecorder) Create ¶
func (mr *MockFloatingIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockFloatingIPClientMockRecorder) Delete ¶
func (mr *MockFloatingIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFloatingIPClientMockRecorder) Get ¶
func (mr *MockFloatingIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockFloatingIPClientMockRecorder) GetByID ¶
func (mr *MockFloatingIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockFloatingIPClientMockRecorder) GetByName ¶
func (mr *MockFloatingIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockFloatingIPClientMockRecorder) LabelKeys ¶
func (mr *MockFloatingIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockFloatingIPClientMockRecorder) List ¶
func (mr *MockFloatingIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockFloatingIPClientMockRecorder) Names ¶
func (mr *MockFloatingIPClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockFloatingIPClientMockRecorder) Unassign ¶
func (mr *MockFloatingIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call
Unassign indicates an expected call of Unassign.
func (*MockFloatingIPClientMockRecorder) Update ¶
func (mr *MockFloatingIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockISOClient ¶
type MockISOClient struct {
// contains filtered or unexported fields
}
MockISOClient is a mock of ISOClient interface.
func NewMockISOClient ¶
func NewMockISOClient(ctrl *gomock.Controller) *MockISOClient
NewMockISOClient creates a new mock instance.
func (*MockISOClient) AllWithOpts ¶ added in v1.33.2
func (m *MockISOClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ISOListOpts) ([]*hcloud.ISO, error)
AllWithOpts mocks base method.
func (*MockISOClient) EXPECT ¶
func (m *MockISOClient) EXPECT() *MockISOClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISOClient) Get ¶
func (m *MockISOClient) Get(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
Get mocks base method.
func (*MockISOClient) GetByID ¶
func (m *MockISOClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.ISO, *hcloud.Response, error)
GetByID mocks base method.
func (*MockISOClient) GetByName ¶
func (m *MockISOClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
GetByName mocks base method.
type MockISOClientMockRecorder ¶
type MockISOClientMockRecorder struct {
// contains filtered or unexported fields
}
MockISOClientMockRecorder is the mock recorder for MockISOClient.
func (*MockISOClientMockRecorder) All ¶
func (mr *MockISOClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockISOClientMockRecorder) AllWithOpts ¶ added in v1.33.2
func (mr *MockISOClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockISOClientMockRecorder) Get ¶
func (mr *MockISOClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockISOClientMockRecorder) GetByID ¶
func (mr *MockISOClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockISOClientMockRecorder) GetByName ¶
func (mr *MockISOClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockISOClientMockRecorder) List ¶
func (mr *MockISOClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockISOClientMockRecorder) Names ¶
func (mr *MockISOClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
type MockImageClient ¶
type MockImageClient struct {
// contains filtered or unexported fields
}
MockImageClient is a mock of ImageClient interface.
func NewMockImageClient ¶
func NewMockImageClient(ctrl *gomock.Controller) *MockImageClient
NewMockImageClient creates a new mock instance.
func (*MockImageClient) AllWithOpts ¶
func (m *MockImageClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ImageListOpts) ([]*hcloud.Image, error)
AllWithOpts mocks base method.
func (*MockImageClient) ChangeProtection ¶
func (m *MockImageClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Image, arg2 hcloud.ImageChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockImageClient) Delete ¶
func (m *MockImageClient) Delete(arg0 context.Context, arg1 *hcloud.Image) (*hcloud.Response, error)
Delete mocks base method.
func (*MockImageClient) EXPECT ¶
func (m *MockImageClient) EXPECT() *MockImageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageClient) Get ¶
func (m *MockImageClient) Get(arg0 context.Context, arg1 string) (*hcloud.Image, *hcloud.Response, error)
Get mocks base method.
func (*MockImageClient) GetByID ¶
func (m *MockImageClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Image, *hcloud.Response, error)
GetByID mocks base method.
func (*MockImageClient) GetByName ¶
func (m *MockImageClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Image, *hcloud.Response, error)
GetByName mocks base method.
func (*MockImageClient) GetByNameAndArchitecture ¶ added in v1.33.0
func (m *MockImageClient) GetByNameAndArchitecture(arg0 context.Context, arg1 string, arg2 hcloud.Architecture) (*hcloud.Image, *hcloud.Response, error)
GetByNameAndArchitecture mocks base method.
func (*MockImageClient) GetForArchitecture ¶ added in v1.33.0
func (m *MockImageClient) GetForArchitecture(arg0 context.Context, arg1 string, arg2 hcloud.Architecture) (*hcloud.Image, *hcloud.Response, error)
GetForArchitecture mocks base method.
func (*MockImageClient) LabelKeys ¶
func (m *MockImageClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
type MockImageClientMockRecorder ¶
type MockImageClientMockRecorder struct {
// contains filtered or unexported fields
}
MockImageClientMockRecorder is the mock recorder for MockImageClient.
func (*MockImageClientMockRecorder) All ¶
func (mr *MockImageClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockImageClientMockRecorder) AllWithOpts ¶
func (mr *MockImageClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockImageClientMockRecorder) ChangeProtection ¶
func (mr *MockImageClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockImageClientMockRecorder) Delete ¶
func (mr *MockImageClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockImageClientMockRecorder) Get ¶
func (mr *MockImageClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockImageClientMockRecorder) GetByID ¶
func (mr *MockImageClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockImageClientMockRecorder) GetByName ¶
func (mr *MockImageClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockImageClientMockRecorder) GetByNameAndArchitecture ¶ added in v1.33.0
func (mr *MockImageClientMockRecorder) GetByNameAndArchitecture(arg0, arg1, arg2 interface{}) *gomock.Call
GetByNameAndArchitecture indicates an expected call of GetByNameAndArchitecture.
func (*MockImageClientMockRecorder) GetForArchitecture ¶ added in v1.33.0
func (mr *MockImageClientMockRecorder) GetForArchitecture(arg0, arg1, arg2 interface{}) *gomock.Call
GetForArchitecture indicates an expected call of GetForArchitecture.
func (*MockImageClientMockRecorder) LabelKeys ¶
func (mr *MockImageClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockImageClientMockRecorder) List ¶
func (mr *MockImageClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockImageClientMockRecorder) Names ¶
func (mr *MockImageClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockImageClientMockRecorder) Update ¶
func (mr *MockImageClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockLoadBalancerClient ¶
type MockLoadBalancerClient struct {
// contains filtered or unexported fields
}
MockLoadBalancerClient is a mock of LoadBalancerClient interface.
func NewMockLoadBalancerClient ¶
func NewMockLoadBalancerClient(ctrl *gomock.Controller) *MockLoadBalancerClient
NewMockLoadBalancerClient creates a new mock instance.
func (*MockLoadBalancerClient) AddIPTarget ¶
func (m *MockLoadBalancerClient) AddIPTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerAddIPTargetOpts) (*hcloud.Action, *hcloud.Response, error)
AddIPTarget mocks base method.
func (*MockLoadBalancerClient) AddLabelSelectorTarget ¶
func (m *MockLoadBalancerClient) AddLabelSelectorTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerAddLabelSelectorTargetOpts) (*hcloud.Action, *hcloud.Response, error)
AddLabelSelectorTarget mocks base method.
func (*MockLoadBalancerClient) AddServerTarget ¶
func (m *MockLoadBalancerClient) AddServerTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerAddServerTargetOpts) (*hcloud.Action, *hcloud.Response, error)
AddServerTarget mocks base method.
func (*MockLoadBalancerClient) AddService ¶
func (m *MockLoadBalancerClient) AddService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerAddServiceOpts) (*hcloud.Action, *hcloud.Response, error)
AddService mocks base method.
func (*MockLoadBalancerClient) All ¶
func (m *MockLoadBalancerClient) All(arg0 context.Context) ([]*hcloud.LoadBalancer, error)
All mocks base method.
func (*MockLoadBalancerClient) AllWithOpts ¶
func (m *MockLoadBalancerClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, error)
AllWithOpts mocks base method.
func (*MockLoadBalancerClient) AttachToNetwork ¶
func (m *MockLoadBalancerClient) AttachToNetwork(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerAttachToNetworkOpts) (*hcloud.Action, *hcloud.Response, error)
AttachToNetwork mocks base method.
func (*MockLoadBalancerClient) ChangeAlgorithm ¶
func (m *MockLoadBalancerClient) ChangeAlgorithm(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerChangeAlgorithmOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeAlgorithm mocks base method.
func (*MockLoadBalancerClient) ChangeDNSPtr ¶
func (m *MockLoadBalancerClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
ChangeDNSPtr mocks base method.
func (*MockLoadBalancerClient) ChangeProtection ¶
func (m *MockLoadBalancerClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockLoadBalancerClient) ChangeType ¶
func (m *MockLoadBalancerClient) ChangeType(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerChangeTypeOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeType mocks base method.
func (*MockLoadBalancerClient) Create ¶
func (m *MockLoadBalancerClient) Create(arg0 context.Context, arg1 hcloud.LoadBalancerCreateOpts) (hcloud.LoadBalancerCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockLoadBalancerClient) Delete ¶
func (m *MockLoadBalancerClient) Delete(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Response, error)
Delete mocks base method.
func (*MockLoadBalancerClient) DeleteService ¶
func (m *MockLoadBalancerClient) DeleteService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 int) (*hcloud.Action, *hcloud.Response, error)
DeleteService mocks base method.
func (*MockLoadBalancerClient) DetachFromNetwork ¶
func (m *MockLoadBalancerClient) DetachFromNetwork(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerDetachFromNetworkOpts) (*hcloud.Action, *hcloud.Response, error)
DetachFromNetwork mocks base method.
func (*MockLoadBalancerClient) DisablePublicInterface ¶
func (m *MockLoadBalancerClient) DisablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)
DisablePublicInterface mocks base method.
func (*MockLoadBalancerClient) EXPECT ¶
func (m *MockLoadBalancerClient) EXPECT() *MockLoadBalancerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerClient) EnablePublicInterface ¶
func (m *MockLoadBalancerClient) EnablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)
EnablePublicInterface mocks base method.
func (*MockLoadBalancerClient) Get ¶
func (m *MockLoadBalancerClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancer, *hcloud.Response, error)
Get mocks base method.
func (*MockLoadBalancerClient) GetByID ¶
func (m *MockLoadBalancerClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.LoadBalancer, *hcloud.Response, error)
GetByID mocks base method.
func (*MockLoadBalancerClient) GetByName ¶
func (m *MockLoadBalancerClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.LoadBalancer, *hcloud.Response, error)
GetByName mocks base method.
func (*MockLoadBalancerClient) GetMetrics ¶
func (m *MockLoadBalancerClient) GetMetrics(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerGetMetricsOpts) (*hcloud.LoadBalancerMetrics, *hcloud.Response, error)
GetMetrics mocks base method.
func (*MockLoadBalancerClient) LabelKeys ¶
func (m *MockLoadBalancerClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockLoadBalancerClient) List ¶
func (m *MockLoadBalancerClient) List(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, *hcloud.Response, error)
List mocks base method.
func (*MockLoadBalancerClient) LoadBalancerName ¶
func (m *MockLoadBalancerClient) LoadBalancerName(arg0 int64) string
LoadBalancerName mocks base method.
func (*MockLoadBalancerClient) Names ¶
func (m *MockLoadBalancerClient) Names() []string
Names mocks base method.
func (*MockLoadBalancerClient) RemoveIPTarget ¶
func (m *MockLoadBalancerClient) RemoveIPTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 net.IP) (*hcloud.Action, *hcloud.Response, error)
RemoveIPTarget mocks base method.
func (*MockLoadBalancerClient) RemoveLabelSelectorTarget ¶
func (m *MockLoadBalancerClient) RemoveLabelSelectorTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string) (*hcloud.Action, *hcloud.Response, error)
RemoveLabelSelectorTarget mocks base method.
func (*MockLoadBalancerClient) RemoveServerTarget ¶
func (m *MockLoadBalancerClient) RemoveServerTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
RemoveServerTarget mocks base method.
func (*MockLoadBalancerClient) Update ¶
func (m *MockLoadBalancerClient) Update(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 hcloud.LoadBalancerUpdateOpts) (*hcloud.LoadBalancer, *hcloud.Response, error)
Update mocks base method.
func (*MockLoadBalancerClient) UpdateService ¶
func (m *MockLoadBalancerClient) UpdateService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 int, arg3 hcloud.LoadBalancerUpdateServiceOpts) (*hcloud.Action, *hcloud.Response, error)
UpdateService mocks base method.
type MockLoadBalancerClientMockRecorder ¶
type MockLoadBalancerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerClientMockRecorder is the mock recorder for MockLoadBalancerClient.
func (*MockLoadBalancerClientMockRecorder) AddIPTarget ¶
func (mr *MockLoadBalancerClientMockRecorder) AddIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call
AddIPTarget indicates an expected call of AddIPTarget.
func (*MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget ¶
func (mr *MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call
AddLabelSelectorTarget indicates an expected call of AddLabelSelectorTarget.
func (*MockLoadBalancerClientMockRecorder) AddServerTarget ¶
func (mr *MockLoadBalancerClientMockRecorder) AddServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call
AddServerTarget indicates an expected call of AddServerTarget.
func (*MockLoadBalancerClientMockRecorder) AddService ¶
func (mr *MockLoadBalancerClientMockRecorder) AddService(arg0, arg1, arg2 interface{}) *gomock.Call
AddService indicates an expected call of AddService.
func (*MockLoadBalancerClientMockRecorder) All ¶
func (mr *MockLoadBalancerClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockLoadBalancerClientMockRecorder) AllWithOpts ¶
func (mr *MockLoadBalancerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockLoadBalancerClientMockRecorder) AttachToNetwork ¶
func (mr *MockLoadBalancerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
AttachToNetwork indicates an expected call of AttachToNetwork.
func (*MockLoadBalancerClientMockRecorder) ChangeAlgorithm ¶
func (mr *MockLoadBalancerClientMockRecorder) ChangeAlgorithm(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeAlgorithm indicates an expected call of ChangeAlgorithm.
func (*MockLoadBalancerClientMockRecorder) ChangeDNSPtr ¶
func (mr *MockLoadBalancerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
func (*MockLoadBalancerClientMockRecorder) ChangeProtection ¶
func (mr *MockLoadBalancerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockLoadBalancerClientMockRecorder) ChangeType ¶
func (mr *MockLoadBalancerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeType indicates an expected call of ChangeType.
func (*MockLoadBalancerClientMockRecorder) Create ¶
func (mr *MockLoadBalancerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLoadBalancerClientMockRecorder) Delete ¶
func (mr *MockLoadBalancerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLoadBalancerClientMockRecorder) DeleteService ¶
func (mr *MockLoadBalancerClientMockRecorder) DeleteService(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteService indicates an expected call of DeleteService.
func (*MockLoadBalancerClientMockRecorder) DetachFromNetwork ¶
func (mr *MockLoadBalancerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
DetachFromNetwork indicates an expected call of DetachFromNetwork.
func (*MockLoadBalancerClientMockRecorder) DisablePublicInterface ¶
func (mr *MockLoadBalancerClientMockRecorder) DisablePublicInterface(arg0, arg1 interface{}) *gomock.Call
DisablePublicInterface indicates an expected call of DisablePublicInterface.
func (*MockLoadBalancerClientMockRecorder) EnablePublicInterface ¶
func (mr *MockLoadBalancerClientMockRecorder) EnablePublicInterface(arg0, arg1 interface{}) *gomock.Call
EnablePublicInterface indicates an expected call of EnablePublicInterface.
func (*MockLoadBalancerClientMockRecorder) Get ¶
func (mr *MockLoadBalancerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLoadBalancerClientMockRecorder) GetByID ¶
func (mr *MockLoadBalancerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockLoadBalancerClientMockRecorder) GetByName ¶
func (mr *MockLoadBalancerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockLoadBalancerClientMockRecorder) GetMetrics ¶
func (mr *MockLoadBalancerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
GetMetrics indicates an expected call of GetMetrics.
func (*MockLoadBalancerClientMockRecorder) LabelKeys ¶
func (mr *MockLoadBalancerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockLoadBalancerClientMockRecorder) List ¶
func (mr *MockLoadBalancerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLoadBalancerClientMockRecorder) LoadBalancerName ¶
func (mr *MockLoadBalancerClientMockRecorder) LoadBalancerName(arg0 interface{}) *gomock.Call
LoadBalancerName indicates an expected call of LoadBalancerName.
func (*MockLoadBalancerClientMockRecorder) Names ¶
func (mr *MockLoadBalancerClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockLoadBalancerClientMockRecorder) RemoveIPTarget ¶
func (mr *MockLoadBalancerClientMockRecorder) RemoveIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveIPTarget indicates an expected call of RemoveIPTarget.
func (*MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget ¶
func (mr *MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveLabelSelectorTarget indicates an expected call of RemoveLabelSelectorTarget.
func (*MockLoadBalancerClientMockRecorder) RemoveServerTarget ¶
func (mr *MockLoadBalancerClientMockRecorder) RemoveServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveServerTarget indicates an expected call of RemoveServerTarget.
func (*MockLoadBalancerClientMockRecorder) Update ¶
func (mr *MockLoadBalancerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockLoadBalancerClientMockRecorder) UpdateService ¶
func (mr *MockLoadBalancerClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateService indicates an expected call of UpdateService.
type MockLoadBalancerTypeClient ¶
type MockLoadBalancerTypeClient struct {
// contains filtered or unexported fields
}
MockLoadBalancerTypeClient is a mock of LoadBalancerTypeClient interface.
func NewMockLoadBalancerTypeClient ¶
func NewMockLoadBalancerTypeClient(ctrl *gomock.Controller) *MockLoadBalancerTypeClient
NewMockLoadBalancerTypeClient creates a new mock instance.
func (*MockLoadBalancerTypeClient) All ¶
func (m *MockLoadBalancerTypeClient) All(arg0 context.Context) ([]*hcloud.LoadBalancerType, error)
All mocks base method.
func (*MockLoadBalancerTypeClient) AllWithOpts ¶ added in v1.37.0
func (m *MockLoadBalancerTypeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LoadBalancerTypeListOpts) ([]*hcloud.LoadBalancerType, error)
AllWithOpts mocks base method.
func (*MockLoadBalancerTypeClient) EXPECT ¶
func (m *MockLoadBalancerTypeClient) EXPECT() *MockLoadBalancerTypeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerTypeClient) Get ¶
func (m *MockLoadBalancerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
Get mocks base method.
func (*MockLoadBalancerTypeClient) GetByID ¶
func (m *MockLoadBalancerTypeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.LoadBalancerType, *hcloud.Response, error)
GetByID mocks base method.
func (*MockLoadBalancerTypeClient) GetByName ¶
func (m *MockLoadBalancerTypeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
GetByName mocks base method.
func (*MockLoadBalancerTypeClient) List ¶
func (m *MockLoadBalancerTypeClient) List(arg0 context.Context, arg1 hcloud.LoadBalancerTypeListOpts) ([]*hcloud.LoadBalancerType, *hcloud.Response, error)
List mocks base method.
func (*MockLoadBalancerTypeClient) LoadBalancerTypeDescription ¶
func (m *MockLoadBalancerTypeClient) LoadBalancerTypeDescription(arg0 int64) string
LoadBalancerTypeDescription mocks base method.
func (*MockLoadBalancerTypeClient) LoadBalancerTypeName ¶
func (m *MockLoadBalancerTypeClient) LoadBalancerTypeName(arg0 int64) string
LoadBalancerTypeName mocks base method.
func (*MockLoadBalancerTypeClient) Names ¶
func (m *MockLoadBalancerTypeClient) Names() []string
Names mocks base method.
type MockLoadBalancerTypeClientMockRecorder ¶
type MockLoadBalancerTypeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerTypeClientMockRecorder is the mock recorder for MockLoadBalancerTypeClient.
func (*MockLoadBalancerTypeClientMockRecorder) All ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockLoadBalancerTypeClientMockRecorder) AllWithOpts ¶ added in v1.37.0
func (mr *MockLoadBalancerTypeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockLoadBalancerTypeClientMockRecorder) Get ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLoadBalancerTypeClientMockRecorder) GetByID ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockLoadBalancerTypeClientMockRecorder) GetByName ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockLoadBalancerTypeClientMockRecorder) List ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription(arg0 interface{}) *gomock.Call
LoadBalancerTypeDescription indicates an expected call of LoadBalancerTypeDescription.
func (*MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName(arg0 interface{}) *gomock.Call
LoadBalancerTypeName indicates an expected call of LoadBalancerTypeName.
func (*MockLoadBalancerTypeClientMockRecorder) Names ¶
func (mr *MockLoadBalancerTypeClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
type MockLocationClient ¶
type MockLocationClient struct {
// contains filtered or unexported fields
}
MockLocationClient is a mock of LocationClient interface.
func NewMockLocationClient ¶
func NewMockLocationClient(ctrl *gomock.Controller) *MockLocationClient
NewMockLocationClient creates a new mock instance.
func (*MockLocationClient) AllWithOpts ¶ added in v1.37.0
func (m *MockLocationClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LocationListOpts) ([]*hcloud.Location, error)
AllWithOpts mocks base method.
func (*MockLocationClient) EXPECT ¶
func (m *MockLocationClient) EXPECT() *MockLocationClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocationClient) Get ¶
func (m *MockLocationClient) Get(arg0 context.Context, arg1 string) (*hcloud.Location, *hcloud.Response, error)
Get mocks base method.
func (*MockLocationClient) GetByID ¶
func (m *MockLocationClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Location, *hcloud.Response, error)
GetByID mocks base method.
func (*MockLocationClient) GetByName ¶
func (m *MockLocationClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Location, *hcloud.Response, error)
GetByName mocks base method.
func (*MockLocationClient) List ¶
func (m *MockLocationClient) List(arg0 context.Context, arg1 hcloud.LocationListOpts) ([]*hcloud.Location, *hcloud.Response, error)
List mocks base method.
func (*MockLocationClient) Names ¶
func (m *MockLocationClient) Names() []string
Names mocks base method.
func (*MockLocationClient) NetworkZones ¶ added in v1.32.0
func (m *MockLocationClient) NetworkZones() []string
NetworkZones mocks base method.
type MockLocationClientMockRecorder ¶
type MockLocationClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLocationClientMockRecorder is the mock recorder for MockLocationClient.
func (*MockLocationClientMockRecorder) All ¶
func (mr *MockLocationClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockLocationClientMockRecorder) AllWithOpts ¶ added in v1.37.0
func (mr *MockLocationClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockLocationClientMockRecorder) Get ¶
func (mr *MockLocationClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLocationClientMockRecorder) GetByID ¶
func (mr *MockLocationClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockLocationClientMockRecorder) GetByName ¶
func (mr *MockLocationClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockLocationClientMockRecorder) List ¶
func (mr *MockLocationClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLocationClientMockRecorder) Names ¶
func (mr *MockLocationClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockLocationClientMockRecorder) NetworkZones ¶ added in v1.32.0
func (mr *MockLocationClientMockRecorder) NetworkZones() *gomock.Call
NetworkZones indicates an expected call of NetworkZones.
type MockNetworkClient ¶
type MockNetworkClient struct {
// contains filtered or unexported fields
}
MockNetworkClient is a mock of NetworkClient interface.
func NewMockNetworkClient ¶
func NewMockNetworkClient(ctrl *gomock.Controller) *MockNetworkClient
NewMockNetworkClient creates a new mock instance.
func (*MockNetworkClient) AddRoute ¶
func (m *MockNetworkClient) AddRoute(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkAddRouteOpts) (*hcloud.Action, *hcloud.Response, error)
AddRoute mocks base method.
func (*MockNetworkClient) AddSubnet ¶
func (m *MockNetworkClient) AddSubnet(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkAddSubnetOpts) (*hcloud.Action, *hcloud.Response, error)
AddSubnet mocks base method.
func (*MockNetworkClient) AllWithOpts ¶
func (m *MockNetworkClient) AllWithOpts(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, error)
AllWithOpts mocks base method.
func (*MockNetworkClient) ChangeIPRange ¶
func (m *MockNetworkClient) ChangeIPRange(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkChangeIPRangeOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeIPRange mocks base method.
func (*MockNetworkClient) ChangeProtection ¶
func (m *MockNetworkClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockNetworkClient) Create ¶
func (m *MockNetworkClient) Create(arg0 context.Context, arg1 hcloud.NetworkCreateOpts) (*hcloud.Network, *hcloud.Response, error)
Create mocks base method.
func (*MockNetworkClient) Delete ¶
func (m *MockNetworkClient) Delete(arg0 context.Context, arg1 *hcloud.Network) (*hcloud.Response, error)
Delete mocks base method.
func (*MockNetworkClient) DeleteRoute ¶
func (m *MockNetworkClient) DeleteRoute(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkDeleteRouteOpts) (*hcloud.Action, *hcloud.Response, error)
DeleteRoute mocks base method.
func (*MockNetworkClient) DeleteSubnet ¶
func (m *MockNetworkClient) DeleteSubnet(arg0 context.Context, arg1 *hcloud.Network, arg2 hcloud.NetworkDeleteSubnetOpts) (*hcloud.Action, *hcloud.Response, error)
DeleteSubnet mocks base method.
func (*MockNetworkClient) EXPECT ¶
func (m *MockNetworkClient) EXPECT() *MockNetworkClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkClient) Get ¶
func (m *MockNetworkClient) Get(arg0 context.Context, arg1 string) (*hcloud.Network, *hcloud.Response, error)
Get mocks base method.
func (*MockNetworkClient) GetByID ¶
func (m *MockNetworkClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Network, *hcloud.Response, error)
GetByID mocks base method.
func (*MockNetworkClient) GetByName ¶
func (m *MockNetworkClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Network, *hcloud.Response, error)
GetByName mocks base method.
func (*MockNetworkClient) LabelKeys ¶
func (m *MockNetworkClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockNetworkClient) List ¶
func (m *MockNetworkClient) List(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, *hcloud.Response, error)
List mocks base method.
func (*MockNetworkClient) Name ¶
func (m *MockNetworkClient) Name(arg0 int64) string
Name mocks base method.
func (*MockNetworkClient) Names ¶
func (m *MockNetworkClient) Names() []string
Names mocks base method.
type MockNetworkClientMockRecorder ¶
type MockNetworkClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkClientMockRecorder is the mock recorder for MockNetworkClient.
func (*MockNetworkClientMockRecorder) AddRoute ¶
func (mr *MockNetworkClientMockRecorder) AddRoute(arg0, arg1, arg2 interface{}) *gomock.Call
AddRoute indicates an expected call of AddRoute.
func (*MockNetworkClientMockRecorder) AddSubnet ¶
func (mr *MockNetworkClientMockRecorder) AddSubnet(arg0, arg1, arg2 interface{}) *gomock.Call
AddSubnet indicates an expected call of AddSubnet.
func (*MockNetworkClientMockRecorder) All ¶
func (mr *MockNetworkClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockNetworkClientMockRecorder) AllWithOpts ¶
func (mr *MockNetworkClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockNetworkClientMockRecorder) ChangeIPRange ¶
func (mr *MockNetworkClientMockRecorder) ChangeIPRange(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeIPRange indicates an expected call of ChangeIPRange.
func (*MockNetworkClientMockRecorder) ChangeProtection ¶
func (mr *MockNetworkClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockNetworkClientMockRecorder) Create ¶
func (mr *MockNetworkClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNetworkClientMockRecorder) Delete ¶
func (mr *MockNetworkClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNetworkClientMockRecorder) DeleteRoute ¶
func (mr *MockNetworkClientMockRecorder) DeleteRoute(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteRoute indicates an expected call of DeleteRoute.
func (*MockNetworkClientMockRecorder) DeleteSubnet ¶
func (mr *MockNetworkClientMockRecorder) DeleteSubnet(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteSubnet indicates an expected call of DeleteSubnet.
func (*MockNetworkClientMockRecorder) Get ¶
func (mr *MockNetworkClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNetworkClientMockRecorder) GetByID ¶
func (mr *MockNetworkClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockNetworkClientMockRecorder) GetByName ¶
func (mr *MockNetworkClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockNetworkClientMockRecorder) LabelKeys ¶
func (mr *MockNetworkClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockNetworkClientMockRecorder) List ¶
func (mr *MockNetworkClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNetworkClientMockRecorder) Name ¶
func (mr *MockNetworkClientMockRecorder) Name(arg0 interface{}) *gomock.Call
Name indicates an expected call of Name.
func (*MockNetworkClientMockRecorder) Names ¶
func (mr *MockNetworkClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockNetworkClientMockRecorder) Update ¶
func (mr *MockNetworkClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockPlacementGroupClient ¶
type MockPlacementGroupClient struct {
// contains filtered or unexported fields
}
MockPlacementGroupClient is a mock of PlacementGroupClient interface.
func NewMockPlacementGroupClient ¶
func NewMockPlacementGroupClient(ctrl *gomock.Controller) *MockPlacementGroupClient
NewMockPlacementGroupClient creates a new mock instance.
func (*MockPlacementGroupClient) All ¶
func (m *MockPlacementGroupClient) All(arg0 context.Context) ([]*hcloud.PlacementGroup, error)
All mocks base method.
func (*MockPlacementGroupClient) AllWithOpts ¶
func (m *MockPlacementGroupClient) AllWithOpts(arg0 context.Context, arg1 hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, error)
AllWithOpts mocks base method.
func (*MockPlacementGroupClient) Create ¶
func (m *MockPlacementGroupClient) Create(arg0 context.Context, arg1 hcloud.PlacementGroupCreateOpts) (hcloud.PlacementGroupCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockPlacementGroupClient) Delete ¶
func (m *MockPlacementGroupClient) Delete(arg0 context.Context, arg1 *hcloud.PlacementGroup) (*hcloud.Response, error)
Delete mocks base method.
func (*MockPlacementGroupClient) EXPECT ¶
func (m *MockPlacementGroupClient) EXPECT() *MockPlacementGroupClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlacementGroupClient) Get ¶
func (m *MockPlacementGroupClient) Get(arg0 context.Context, arg1 string) (*hcloud.PlacementGroup, *hcloud.Response, error)
Get mocks base method.
func (*MockPlacementGroupClient) GetByID ¶
func (m *MockPlacementGroupClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.PlacementGroup, *hcloud.Response, error)
GetByID mocks base method.
func (*MockPlacementGroupClient) GetByName ¶
func (m *MockPlacementGroupClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.PlacementGroup, *hcloud.Response, error)
GetByName mocks base method.
func (*MockPlacementGroupClient) LabelKeys ¶
func (m *MockPlacementGroupClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockPlacementGroupClient) List ¶
func (m *MockPlacementGroupClient) List(arg0 context.Context, arg1 hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, *hcloud.Response, error)
List mocks base method.
func (*MockPlacementGroupClient) Names ¶
func (m *MockPlacementGroupClient) Names() []string
Names mocks base method.
func (*MockPlacementGroupClient) Update ¶
func (m *MockPlacementGroupClient) Update(arg0 context.Context, arg1 *hcloud.PlacementGroup, arg2 hcloud.PlacementGroupUpdateOpts) (*hcloud.PlacementGroup, *hcloud.Response, error)
Update mocks base method.
type MockPlacementGroupClientMockRecorder ¶
type MockPlacementGroupClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPlacementGroupClientMockRecorder is the mock recorder for MockPlacementGroupClient.
func (*MockPlacementGroupClientMockRecorder) All ¶
func (mr *MockPlacementGroupClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockPlacementGroupClientMockRecorder) AllWithOpts ¶
func (mr *MockPlacementGroupClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockPlacementGroupClientMockRecorder) Create ¶
func (mr *MockPlacementGroupClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPlacementGroupClientMockRecorder) Delete ¶
func (mr *MockPlacementGroupClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPlacementGroupClientMockRecorder) Get ¶
func (mr *MockPlacementGroupClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPlacementGroupClientMockRecorder) GetByID ¶
func (mr *MockPlacementGroupClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockPlacementGroupClientMockRecorder) GetByName ¶
func (mr *MockPlacementGroupClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockPlacementGroupClientMockRecorder) LabelKeys ¶
func (mr *MockPlacementGroupClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockPlacementGroupClientMockRecorder) List ¶
func (mr *MockPlacementGroupClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPlacementGroupClientMockRecorder) Names ¶
func (mr *MockPlacementGroupClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockPlacementGroupClientMockRecorder) Update ¶
func (mr *MockPlacementGroupClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockPricingClient ¶ added in v1.45.0
type MockPricingClient struct {
// contains filtered or unexported fields
}
MockPricingClient is a mock of PricingClient interface.
func NewMockPricingClient ¶ added in v1.45.0
func NewMockPricingClient(ctrl *gomock.Controller) *MockPricingClient
NewMockPricingClient creates a new mock instance.
func (*MockPricingClient) EXPECT ¶ added in v1.45.0
func (m *MockPricingClient) EXPECT() *MockPricingClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPricingClientMockRecorder ¶ added in v1.45.0
type MockPricingClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPricingClientMockRecorder is the mock recorder for MockPricingClient.
func (*MockPricingClientMockRecorder) Get ¶ added in v1.45.0
func (mr *MockPricingClientMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockPrimaryIPClient ¶
type MockPrimaryIPClient struct {
// contains filtered or unexported fields
}
MockPrimaryIPClient is a mock of PrimaryIPClient interface.
func NewMockPrimaryIPClient ¶
func NewMockPrimaryIPClient(ctrl *gomock.Controller) *MockPrimaryIPClient
NewMockPrimaryIPClient creates a new mock instance.
func (*MockPrimaryIPClient) AllWithOpts ¶
func (m *MockPrimaryIPClient) AllWithOpts(arg0 context.Context, arg1 hcloud.PrimaryIPListOpts) ([]*hcloud.PrimaryIP, error)
AllWithOpts mocks base method.
func (*MockPrimaryIPClient) Assign ¶
func (m *MockPrimaryIPClient) Assign(arg0 context.Context, arg1 hcloud.PrimaryIPAssignOpts) (*hcloud.Action, *hcloud.Response, error)
Assign mocks base method.
func (*MockPrimaryIPClient) ChangeDNSPtr ¶
func (m *MockPrimaryIPClient) ChangeDNSPtr(arg0 context.Context, arg1 hcloud.PrimaryIPChangeDNSPtrOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeDNSPtr mocks base method.
func (*MockPrimaryIPClient) ChangeProtection ¶
func (m *MockPrimaryIPClient) ChangeProtection(arg0 context.Context, arg1 hcloud.PrimaryIPChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockPrimaryIPClient) Create ¶
func (m *MockPrimaryIPClient) Create(arg0 context.Context, arg1 hcloud.PrimaryIPCreateOpts) (*hcloud.PrimaryIPCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockPrimaryIPClient) Delete ¶
func (m *MockPrimaryIPClient) Delete(arg0 context.Context, arg1 *hcloud.PrimaryIP) (*hcloud.Response, error)
Delete mocks base method.
func (*MockPrimaryIPClient) EXPECT ¶
func (m *MockPrimaryIPClient) EXPECT() *MockPrimaryIPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrimaryIPClient) Get ¶
func (m *MockPrimaryIPClient) Get(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
Get mocks base method.
func (*MockPrimaryIPClient) GetByID ¶
func (m *MockPrimaryIPClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.PrimaryIP, *hcloud.Response, error)
GetByID mocks base method.
func (*MockPrimaryIPClient) GetByIP ¶
func (m *MockPrimaryIPClient) GetByIP(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
GetByIP mocks base method.
func (*MockPrimaryIPClient) GetByName ¶
func (m *MockPrimaryIPClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
GetByName mocks base method.
func (*MockPrimaryIPClient) IPv4Names ¶
func (m *MockPrimaryIPClient) IPv4Names() []string
IPv4Names mocks base method.
func (*MockPrimaryIPClient) IPv6Names ¶
func (m *MockPrimaryIPClient) IPv6Names() []string
IPv6Names mocks base method.
func (*MockPrimaryIPClient) LabelKeys ¶
func (m *MockPrimaryIPClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockPrimaryIPClient) List ¶
func (m *MockPrimaryIPClient) List(arg0 context.Context, arg1 hcloud.PrimaryIPListOpts) ([]*hcloud.PrimaryIP, *hcloud.Response, error)
List mocks base method.
func (*MockPrimaryIPClient) Names ¶
func (m *MockPrimaryIPClient) Names() []string
Names mocks base method.
type MockPrimaryIPClientMockRecorder ¶
type MockPrimaryIPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPrimaryIPClientMockRecorder is the mock recorder for MockPrimaryIPClient.
func (*MockPrimaryIPClientMockRecorder) All ¶
func (mr *MockPrimaryIPClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockPrimaryIPClientMockRecorder) AllWithOpts ¶
func (mr *MockPrimaryIPClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockPrimaryIPClientMockRecorder) Assign ¶
func (mr *MockPrimaryIPClientMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call
Assign indicates an expected call of Assign.
func (*MockPrimaryIPClientMockRecorder) ChangeDNSPtr ¶
func (mr *MockPrimaryIPClientMockRecorder) ChangeDNSPtr(arg0, arg1 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
func (*MockPrimaryIPClientMockRecorder) ChangeProtection ¶
func (mr *MockPrimaryIPClientMockRecorder) ChangeProtection(arg0, arg1 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockPrimaryIPClientMockRecorder) Create ¶
func (mr *MockPrimaryIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPrimaryIPClientMockRecorder) Delete ¶
func (mr *MockPrimaryIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPrimaryIPClientMockRecorder) Get ¶
func (mr *MockPrimaryIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPrimaryIPClientMockRecorder) GetByID ¶
func (mr *MockPrimaryIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockPrimaryIPClientMockRecorder) GetByIP ¶
func (mr *MockPrimaryIPClientMockRecorder) GetByIP(arg0, arg1 interface{}) *gomock.Call
GetByIP indicates an expected call of GetByIP.
func (*MockPrimaryIPClientMockRecorder) GetByName ¶
func (mr *MockPrimaryIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockPrimaryIPClientMockRecorder) IPv4Names ¶
func (mr *MockPrimaryIPClientMockRecorder) IPv4Names() *gomock.Call
IPv4Names indicates an expected call of IPv4Names.
func (*MockPrimaryIPClientMockRecorder) IPv6Names ¶
func (mr *MockPrimaryIPClientMockRecorder) IPv6Names() *gomock.Call
IPv6Names indicates an expected call of IPv6Names.
func (*MockPrimaryIPClientMockRecorder) LabelKeys ¶
func (mr *MockPrimaryIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockPrimaryIPClientMockRecorder) List ¶
func (mr *MockPrimaryIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPrimaryIPClientMockRecorder) Names ¶
func (mr *MockPrimaryIPClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockPrimaryIPClientMockRecorder) Unassign ¶
func (mr *MockPrimaryIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call
Unassign indicates an expected call of Unassign.
func (*MockPrimaryIPClientMockRecorder) Update ¶
func (mr *MockPrimaryIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockRDNSClient ¶
type MockRDNSClient struct {
// contains filtered or unexported fields
}
MockRDNSClient is a mock of RDNSClient interface.
func NewMockRDNSClient ¶
func NewMockRDNSClient(ctrl *gomock.Controller) *MockRDNSClient
NewMockRDNSClient creates a new mock instance.
func (*MockRDNSClient) ChangeDNSPtr ¶
func (m *MockRDNSClient) ChangeDNSPtr(arg0 context.Context, arg1 hcloud.RDNSSupporter, arg2 net.IP, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
ChangeDNSPtr mocks base method.
func (*MockRDNSClient) EXPECT ¶
func (m *MockRDNSClient) EXPECT() *MockRDNSClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRDNSClientMockRecorder ¶
type MockRDNSClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRDNSClientMockRecorder is the mock recorder for MockRDNSClient.
func (*MockRDNSClientMockRecorder) ChangeDNSPtr ¶
func (mr *MockRDNSClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
type MockSSHKeyClient ¶
type MockSSHKeyClient struct {
// contains filtered or unexported fields
}
MockSSHKeyClient is a mock of SSHKeyClient interface.
func NewMockSSHKeyClient ¶
func NewMockSSHKeyClient(ctrl *gomock.Controller) *MockSSHKeyClient
NewMockSSHKeyClient creates a new mock instance.
func (*MockSSHKeyClient) AllWithOpts ¶
func (m *MockSSHKeyClient) AllWithOpts(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, error)
AllWithOpts mocks base method.
func (*MockSSHKeyClient) Create ¶
func (m *MockSSHKeyClient) Create(arg0 context.Context, arg1 hcloud.SSHKeyCreateOpts) (*hcloud.SSHKey, *hcloud.Response, error)
Create mocks base method.
func (*MockSSHKeyClient) Delete ¶
func (m *MockSSHKeyClient) Delete(arg0 context.Context, arg1 *hcloud.SSHKey) (*hcloud.Response, error)
Delete mocks base method.
func (*MockSSHKeyClient) EXPECT ¶
func (m *MockSSHKeyClient) EXPECT() *MockSSHKeyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSSHKeyClient) Get ¶
func (m *MockSSHKeyClient) Get(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)
Get mocks base method.
func (*MockSSHKeyClient) GetByFingerprint ¶
func (m *MockSSHKeyClient) GetByFingerprint(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)
GetByFingerprint mocks base method.
func (*MockSSHKeyClient) GetByID ¶
func (m *MockSSHKeyClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.SSHKey, *hcloud.Response, error)
GetByID mocks base method.
func (*MockSSHKeyClient) GetByName ¶
func (m *MockSSHKeyClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)
GetByName mocks base method.
func (*MockSSHKeyClient) LabelKeys ¶
func (m *MockSSHKeyClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockSSHKeyClient) List ¶
func (m *MockSSHKeyClient) List(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, *hcloud.Response, error)
List mocks base method.
func (*MockSSHKeyClient) Names ¶
func (m *MockSSHKeyClient) Names() []string
Names mocks base method.
type MockSSHKeyClientMockRecorder ¶
type MockSSHKeyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSSHKeyClientMockRecorder is the mock recorder for MockSSHKeyClient.
func (*MockSSHKeyClientMockRecorder) All ¶
func (mr *MockSSHKeyClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockSSHKeyClientMockRecorder) AllWithOpts ¶
func (mr *MockSSHKeyClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockSSHKeyClientMockRecorder) Create ¶
func (mr *MockSSHKeyClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSSHKeyClientMockRecorder) Delete ¶
func (mr *MockSSHKeyClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSSHKeyClientMockRecorder) Get ¶
func (mr *MockSSHKeyClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSSHKeyClientMockRecorder) GetByFingerprint ¶
func (mr *MockSSHKeyClientMockRecorder) GetByFingerprint(arg0, arg1 interface{}) *gomock.Call
GetByFingerprint indicates an expected call of GetByFingerprint.
func (*MockSSHKeyClientMockRecorder) GetByID ¶
func (mr *MockSSHKeyClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockSSHKeyClientMockRecorder) GetByName ¶
func (mr *MockSSHKeyClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockSSHKeyClientMockRecorder) LabelKeys ¶
func (mr *MockSSHKeyClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockSSHKeyClientMockRecorder) List ¶
func (mr *MockSSHKeyClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockSSHKeyClientMockRecorder) Names ¶
func (mr *MockSSHKeyClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockSSHKeyClientMockRecorder) Update ¶
func (mr *MockSSHKeyClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockServerClient ¶
type MockServerClient struct {
// contains filtered or unexported fields
}
MockServerClient is a mock of ServerClient interface.
func NewMockServerClient ¶
func NewMockServerClient(ctrl *gomock.Controller) *MockServerClient
NewMockServerClient creates a new mock instance.
func (*MockServerClient) AddToPlacementGroup ¶
func (m *MockServerClient) AddToPlacementGroup(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.PlacementGroup) (*hcloud.Action, *hcloud.Response, error)
AddToPlacementGroup mocks base method.
func (*MockServerClient) AllWithOpts ¶
func (m *MockServerClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, error)
AllWithOpts mocks base method.
func (*MockServerClient) AttachISO ¶
func (m *MockServerClient) AttachISO(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.ISO) (*hcloud.Action, *hcloud.Response, error)
AttachISO mocks base method.
func (*MockServerClient) AttachToNetwork ¶
func (m *MockServerClient) AttachToNetwork(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerAttachToNetworkOpts) (*hcloud.Action, *hcloud.Response, error)
AttachToNetwork mocks base method.
func (*MockServerClient) ChangeAliasIPs ¶
func (m *MockServerClient) ChangeAliasIPs(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerChangeAliasIPsOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeAliasIPs mocks base method.
func (*MockServerClient) ChangeDNSPtr ¶
func (m *MockServerClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.Server, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)
ChangeDNSPtr mocks base method.
func (*MockServerClient) ChangeProtection ¶
func (m *MockServerClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockServerClient) ChangeType ¶
func (m *MockServerClient) ChangeType(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerChangeTypeOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeType mocks base method.
func (*MockServerClient) Create ¶
func (m *MockServerClient) Create(arg0 context.Context, arg1 hcloud.ServerCreateOpts) (hcloud.ServerCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockServerClient) CreateImage ¶
func (m *MockServerClient) CreateImage(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.ServerCreateImageOpts) (hcloud.ServerCreateImageResult, *hcloud.Response, error)
CreateImage mocks base method.
func (*MockServerClient) Delete ¶
func (m *MockServerClient) Delete(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Response, error)
Delete mocks base method.
func (*MockServerClient) DeleteWithResult ¶
func (m *MockServerClient) DeleteWithResult(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.ServerDeleteResult, *hcloud.Response, error)
DeleteWithResult mocks base method.
func (*MockServerClient) DetachFromNetwork ¶
func (m *MockServerClient) DetachFromNetwork(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerDetachFromNetworkOpts) (*hcloud.Action, *hcloud.Response, error)
DetachFromNetwork mocks base method.
func (*MockServerClient) DetachISO ¶
func (m *MockServerClient) DetachISO(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
DetachISO mocks base method.
func (*MockServerClient) DisableBackup ¶
func (m *MockServerClient) DisableBackup(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
DisableBackup mocks base method.
func (*MockServerClient) DisableRescue ¶
func (m *MockServerClient) DisableRescue(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
DisableRescue mocks base method.
func (*MockServerClient) EXPECT ¶
func (m *MockServerClient) EXPECT() *MockServerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerClient) EnableBackup ¶
func (m *MockServerClient) EnableBackup(arg0 context.Context, arg1 *hcloud.Server, arg2 string) (*hcloud.Action, *hcloud.Response, error)
EnableBackup mocks base method.
func (*MockServerClient) EnableRescue ¶
func (m *MockServerClient) EnableRescue(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerEnableRescueOpts) (hcloud.ServerEnableRescueResult, *hcloud.Response, error)
EnableRescue mocks base method.
func (*MockServerClient) Get ¶
func (m *MockServerClient) Get(arg0 context.Context, arg1 string) (*hcloud.Server, *hcloud.Response, error)
Get mocks base method.
func (*MockServerClient) GetByID ¶
func (m *MockServerClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Server, *hcloud.Response, error)
GetByID mocks base method.
func (*MockServerClient) GetByName ¶
func (m *MockServerClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Server, *hcloud.Response, error)
GetByName mocks base method.
func (*MockServerClient) GetMetrics ¶
func (m *MockServerClient) GetMetrics(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerGetMetricsOpts) (*hcloud.ServerMetrics, *hcloud.Response, error)
GetMetrics mocks base method.
func (*MockServerClient) LabelKeys ¶
func (m *MockServerClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockServerClient) List ¶
func (m *MockServerClient) List(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, *hcloud.Response, error)
List mocks base method.
func (*MockServerClient) Names ¶
func (m *MockServerClient) Names() []string
Names mocks base method.
func (*MockServerClient) Poweroff ¶
func (m *MockServerClient) Poweroff(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
Poweroff mocks base method.
func (*MockServerClient) Poweron ¶
func (m *MockServerClient) Poweron(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
Poweron mocks base method.
func (*MockServerClient) Reboot ¶
func (m *MockServerClient) Reboot(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
Reboot mocks base method.
func (*MockServerClient) Rebuild ¶
func (m *MockServerClient) Rebuild(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerRebuildOpts) (*hcloud.Action, *hcloud.Response, error)
Rebuild mocks base method.
func (*MockServerClient) RebuildWithResult ¶ added in v1.32.0
func (m *MockServerClient) RebuildWithResult(arg0 context.Context, arg1 *hcloud.Server, arg2 hcloud.ServerRebuildOpts) (hcloud.ServerRebuildResult, *hcloud.Response, error)
RebuildWithResult mocks base method.
func (*MockServerClient) RemoveFromPlacementGroup ¶
func (m *MockServerClient) RemoveFromPlacementGroup(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
RemoveFromPlacementGroup mocks base method.
func (*MockServerClient) RequestConsole ¶
func (m *MockServerClient) RequestConsole(arg0 context.Context, arg1 *hcloud.Server) (hcloud.ServerRequestConsoleResult, *hcloud.Response, error)
RequestConsole mocks base method.
func (*MockServerClient) Reset ¶
func (m *MockServerClient) Reset(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
Reset mocks base method.
func (*MockServerClient) ResetPassword ¶
func (m *MockServerClient) ResetPassword(arg0 context.Context, arg1 *hcloud.Server) (hcloud.ServerResetPasswordResult, *hcloud.Response, error)
ResetPassword mocks base method.
func (*MockServerClient) ServerName ¶
func (m *MockServerClient) ServerName(arg0 int64) string
ServerName mocks base method.
type MockServerClientMockRecorder ¶
type MockServerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockServerClientMockRecorder is the mock recorder for MockServerClient.
func (*MockServerClientMockRecorder) AddToPlacementGroup ¶
func (mr *MockServerClientMockRecorder) AddToPlacementGroup(arg0, arg1, arg2 interface{}) *gomock.Call
AddToPlacementGroup indicates an expected call of AddToPlacementGroup.
func (*MockServerClientMockRecorder) All ¶
func (mr *MockServerClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockServerClientMockRecorder) AllWithOpts ¶
func (mr *MockServerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockServerClientMockRecorder) AttachISO ¶
func (mr *MockServerClientMockRecorder) AttachISO(arg0, arg1, arg2 interface{}) *gomock.Call
AttachISO indicates an expected call of AttachISO.
func (*MockServerClientMockRecorder) AttachToNetwork ¶
func (mr *MockServerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
AttachToNetwork indicates an expected call of AttachToNetwork.
func (*MockServerClientMockRecorder) ChangeAliasIPs ¶
func (mr *MockServerClientMockRecorder) ChangeAliasIPs(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeAliasIPs indicates an expected call of ChangeAliasIPs.
func (*MockServerClientMockRecorder) ChangeDNSPtr ¶
func (mr *MockServerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
func (*MockServerClientMockRecorder) ChangeProtection ¶
func (mr *MockServerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockServerClientMockRecorder) ChangeType ¶
func (mr *MockServerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeType indicates an expected call of ChangeType.
func (*MockServerClientMockRecorder) Create ¶
func (mr *MockServerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServerClientMockRecorder) CreateImage ¶
func (mr *MockServerClientMockRecorder) CreateImage(arg0, arg1, arg2 interface{}) *gomock.Call
CreateImage indicates an expected call of CreateImage.
func (*MockServerClientMockRecorder) Delete ¶
func (mr *MockServerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockServerClientMockRecorder) DeleteWithResult ¶
func (mr *MockServerClientMockRecorder) DeleteWithResult(arg0, arg1 interface{}) *gomock.Call
DeleteWithResult indicates an expected call of DeleteWithResult.
func (*MockServerClientMockRecorder) DetachFromNetwork ¶
func (mr *MockServerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
DetachFromNetwork indicates an expected call of DetachFromNetwork.
func (*MockServerClientMockRecorder) DetachISO ¶
func (mr *MockServerClientMockRecorder) DetachISO(arg0, arg1 interface{}) *gomock.Call
DetachISO indicates an expected call of DetachISO.
func (*MockServerClientMockRecorder) DisableBackup ¶
func (mr *MockServerClientMockRecorder) DisableBackup(arg0, arg1 interface{}) *gomock.Call
DisableBackup indicates an expected call of DisableBackup.
func (*MockServerClientMockRecorder) DisableRescue ¶
func (mr *MockServerClientMockRecorder) DisableRescue(arg0, arg1 interface{}) *gomock.Call
DisableRescue indicates an expected call of DisableRescue.
func (*MockServerClientMockRecorder) EnableBackup ¶
func (mr *MockServerClientMockRecorder) EnableBackup(arg0, arg1, arg2 interface{}) *gomock.Call
EnableBackup indicates an expected call of EnableBackup.
func (*MockServerClientMockRecorder) EnableRescue ¶
func (mr *MockServerClientMockRecorder) EnableRescue(arg0, arg1, arg2 interface{}) *gomock.Call
EnableRescue indicates an expected call of EnableRescue.
func (*MockServerClientMockRecorder) Get ¶
func (mr *MockServerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockServerClientMockRecorder) GetByID ¶
func (mr *MockServerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockServerClientMockRecorder) GetByName ¶
func (mr *MockServerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockServerClientMockRecorder) GetMetrics ¶
func (mr *MockServerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
GetMetrics indicates an expected call of GetMetrics.
func (*MockServerClientMockRecorder) LabelKeys ¶
func (mr *MockServerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockServerClientMockRecorder) List ¶
func (mr *MockServerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServerClientMockRecorder) Names ¶
func (mr *MockServerClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockServerClientMockRecorder) Poweroff ¶
func (mr *MockServerClientMockRecorder) Poweroff(arg0, arg1 interface{}) *gomock.Call
Poweroff indicates an expected call of Poweroff.
func (*MockServerClientMockRecorder) Poweron ¶
func (mr *MockServerClientMockRecorder) Poweron(arg0, arg1 interface{}) *gomock.Call
Poweron indicates an expected call of Poweron.
func (*MockServerClientMockRecorder) Reboot ¶
func (mr *MockServerClientMockRecorder) Reboot(arg0, arg1 interface{}) *gomock.Call
Reboot indicates an expected call of Reboot.
func (*MockServerClientMockRecorder) Rebuild ¶
func (mr *MockServerClientMockRecorder) Rebuild(arg0, arg1, arg2 interface{}) *gomock.Call
Rebuild indicates an expected call of Rebuild.
func (*MockServerClientMockRecorder) RebuildWithResult ¶ added in v1.32.0
func (mr *MockServerClientMockRecorder) RebuildWithResult(arg0, arg1, arg2 interface{}) *gomock.Call
RebuildWithResult indicates an expected call of RebuildWithResult.
func (*MockServerClientMockRecorder) RemoveFromPlacementGroup ¶
func (mr *MockServerClientMockRecorder) RemoveFromPlacementGroup(arg0, arg1 interface{}) *gomock.Call
RemoveFromPlacementGroup indicates an expected call of RemoveFromPlacementGroup.
func (*MockServerClientMockRecorder) RequestConsole ¶
func (mr *MockServerClientMockRecorder) RequestConsole(arg0, arg1 interface{}) *gomock.Call
RequestConsole indicates an expected call of RequestConsole.
func (*MockServerClientMockRecorder) Reset ¶
func (mr *MockServerClientMockRecorder) Reset(arg0, arg1 interface{}) *gomock.Call
Reset indicates an expected call of Reset.
func (*MockServerClientMockRecorder) ResetPassword ¶
func (mr *MockServerClientMockRecorder) ResetPassword(arg0, arg1 interface{}) *gomock.Call
ResetPassword indicates an expected call of ResetPassword.
func (*MockServerClientMockRecorder) ServerName ¶
func (mr *MockServerClientMockRecorder) ServerName(arg0 interface{}) *gomock.Call
ServerName indicates an expected call of ServerName.
func (*MockServerClientMockRecorder) Shutdown ¶
func (mr *MockServerClientMockRecorder) Shutdown(arg0, arg1 interface{}) *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockServerClientMockRecorder) Update ¶
func (mr *MockServerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockServerTypeClient ¶
type MockServerTypeClient struct {
// contains filtered or unexported fields
}
MockServerTypeClient is a mock of ServerTypeClient interface.
func NewMockServerTypeClient ¶
func NewMockServerTypeClient(ctrl *gomock.Controller) *MockServerTypeClient
NewMockServerTypeClient creates a new mock instance.
func (*MockServerTypeClient) All ¶
func (m *MockServerTypeClient) All(arg0 context.Context) ([]*hcloud.ServerType, error)
All mocks base method.
func (*MockServerTypeClient) AllWithOpts ¶ added in v1.37.0
func (m *MockServerTypeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ServerTypeListOpts) ([]*hcloud.ServerType, error)
AllWithOpts mocks base method.
func (*MockServerTypeClient) EXPECT ¶
func (m *MockServerTypeClient) EXPECT() *MockServerTypeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerTypeClient) Get ¶
func (m *MockServerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.ServerType, *hcloud.Response, error)
Get mocks base method.
func (*MockServerTypeClient) GetByID ¶
func (m *MockServerTypeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.ServerType, *hcloud.Response, error)
GetByID mocks base method.
func (*MockServerTypeClient) GetByName ¶
func (m *MockServerTypeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.ServerType, *hcloud.Response, error)
GetByName mocks base method.
func (*MockServerTypeClient) List ¶
func (m *MockServerTypeClient) List(arg0 context.Context, arg1 hcloud.ServerTypeListOpts) ([]*hcloud.ServerType, *hcloud.Response, error)
List mocks base method.
func (*MockServerTypeClient) Names ¶
func (m *MockServerTypeClient) Names() []string
Names mocks base method.
func (*MockServerTypeClient) ServerTypeDescription ¶
func (m *MockServerTypeClient) ServerTypeDescription(arg0 int64) string
ServerTypeDescription mocks base method.
func (*MockServerTypeClient) ServerTypeName ¶
func (m *MockServerTypeClient) ServerTypeName(arg0 int64) string
ServerTypeName mocks base method.
type MockServerTypeClientMockRecorder ¶
type MockServerTypeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockServerTypeClientMockRecorder is the mock recorder for MockServerTypeClient.
func (*MockServerTypeClientMockRecorder) All ¶
func (mr *MockServerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockServerTypeClientMockRecorder) AllWithOpts ¶ added in v1.37.0
func (mr *MockServerTypeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockServerTypeClientMockRecorder) Get ¶
func (mr *MockServerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockServerTypeClientMockRecorder) GetByID ¶
func (mr *MockServerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockServerTypeClientMockRecorder) GetByName ¶
func (mr *MockServerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockServerTypeClientMockRecorder) List ¶
func (mr *MockServerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServerTypeClientMockRecorder) Names ¶
func (mr *MockServerTypeClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockServerTypeClientMockRecorder) ServerTypeDescription ¶
func (mr *MockServerTypeClientMockRecorder) ServerTypeDescription(arg0 interface{}) *gomock.Call
ServerTypeDescription indicates an expected call of ServerTypeDescription.
func (*MockServerTypeClientMockRecorder) ServerTypeName ¶
func (mr *MockServerTypeClientMockRecorder) ServerTypeName(arg0 interface{}) *gomock.Call
ServerTypeName indicates an expected call of ServerTypeName.
type MockVolumeClient ¶
type MockVolumeClient struct {
// contains filtered or unexported fields
}
MockVolumeClient is a mock of VolumeClient interface.
func NewMockVolumeClient ¶
func NewMockVolumeClient(ctrl *gomock.Controller) *MockVolumeClient
NewMockVolumeClient creates a new mock instance.
func (*MockVolumeClient) AllWithOpts ¶
func (m *MockVolumeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, error)
AllWithOpts mocks base method.
func (*MockVolumeClient) Attach ¶
func (m *MockVolumeClient) Attach(arg0 context.Context, arg1 *hcloud.Volume, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)
Attach mocks base method.
func (*MockVolumeClient) AttachWithOpts ¶
func (m *MockVolumeClient) AttachWithOpts(arg0 context.Context, arg1 *hcloud.Volume, arg2 hcloud.VolumeAttachOpts) (*hcloud.Action, *hcloud.Response, error)
AttachWithOpts mocks base method.
func (*MockVolumeClient) ChangeProtection ¶
func (m *MockVolumeClient) ChangeProtection(arg0 context.Context, arg1 *hcloud.Volume, arg2 hcloud.VolumeChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockVolumeClient) Create ¶
func (m *MockVolumeClient) Create(arg0 context.Context, arg1 hcloud.VolumeCreateOpts) (hcloud.VolumeCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockVolumeClient) Delete ¶
func (m *MockVolumeClient) Delete(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Response, error)
Delete mocks base method.
func (*MockVolumeClient) Detach ¶
func (m *MockVolumeClient) Detach(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Action, *hcloud.Response, error)
Detach mocks base method.
func (*MockVolumeClient) EXPECT ¶
func (m *MockVolumeClient) EXPECT() *MockVolumeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeClient) Get ¶
func (m *MockVolumeClient) Get(arg0 context.Context, arg1 string) (*hcloud.Volume, *hcloud.Response, error)
Get mocks base method.
func (*MockVolumeClient) GetByID ¶
func (m *MockVolumeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Volume, *hcloud.Response, error)
GetByID mocks base method.
func (*MockVolumeClient) GetByName ¶
func (m *MockVolumeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Volume, *hcloud.Response, error)
GetByName mocks base method.
func (*MockVolumeClient) LabelKeys ¶
func (m *MockVolumeClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockVolumeClient) List ¶
func (m *MockVolumeClient) List(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, *hcloud.Response, error)
List mocks base method.
func (*MockVolumeClient) Names ¶
func (m *MockVolumeClient) Names() []string
Names mocks base method.
type MockVolumeClientMockRecorder ¶
type MockVolumeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeClientMockRecorder is the mock recorder for MockVolumeClient.
func (*MockVolumeClientMockRecorder) All ¶
func (mr *MockVolumeClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockVolumeClientMockRecorder) AllWithOpts ¶
func (mr *MockVolumeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockVolumeClientMockRecorder) Attach ¶
func (mr *MockVolumeClientMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call
Attach indicates an expected call of Attach.
func (*MockVolumeClientMockRecorder) AttachWithOpts ¶
func (mr *MockVolumeClientMockRecorder) AttachWithOpts(arg0, arg1, arg2 interface{}) *gomock.Call
AttachWithOpts indicates an expected call of AttachWithOpts.
func (*MockVolumeClientMockRecorder) ChangeProtection ¶
func (mr *MockVolumeClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockVolumeClientMockRecorder) Create ¶
func (mr *MockVolumeClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockVolumeClientMockRecorder) Delete ¶
func (mr *MockVolumeClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockVolumeClientMockRecorder) Detach ¶
func (mr *MockVolumeClientMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
Detach indicates an expected call of Detach.
func (*MockVolumeClientMockRecorder) Get ¶
func (mr *MockVolumeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockVolumeClientMockRecorder) GetByID ¶
func (mr *MockVolumeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockVolumeClientMockRecorder) GetByName ¶
func (mr *MockVolumeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockVolumeClientMockRecorder) LabelKeys ¶
func (mr *MockVolumeClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockVolumeClientMockRecorder) List ¶
func (mr *MockVolumeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockVolumeClientMockRecorder) Names ¶
func (mr *MockVolumeClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockVolumeClientMockRecorder) Resize ¶
func (mr *MockVolumeClientMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockVolumeClientMockRecorder) Update ¶
func (mr *MockVolumeClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
Source Files
¶
- client.go
- mock_gen.go
- zz_action_client_mock.go
- zz_certificate_client_mock.go
- zz_datacenter_client_mock.go
- zz_firewall_client_mock.go
- zz_floating_ip_client_mock.go
- zz_image_client_mock.go
- zz_iso_client_mock.go
- zz_loadbalancer_client_mock.go
- zz_loadbalancer_type_client_mock.go
- zz_location_client_mock.go
- zz_network_client_mock.go
- zz_placement_group_client_mock.go
- zz_pricing_client_mock.go
- zz_primary_ip_client_mock.go
- zz_rdns_client_mock.go
- zz_server_client_mock.go
- zz_server_type_client_mock.go
- zz_ssh_key_client_mock.go
- zz_volume_client_mock.go