Documentation ¶
Overview ¶
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Package hcapi2 is a generated GoMock package.
Index ¶
- type CertificateClient
- type CertificateClientBase
- type Client
- type DatacenterClient
- type DatacenterClientBase
- type FirewallClient
- type FirewallClientBase
- type FloatingIPClient
- type FloatingIPClientBase
- type ISOClient
- type ISOClientBase
- type ImageClient
- type ImageClientBase
- type LoadBalancerClient
- type LoadBalancerClientBase
- type LoadBalancerTypeClient
- type LoadBalancerTypeClientBase
- type LocationClient
- type LocationClientBase
- 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 int) (*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 MockClient
- func (c *MockClient) Certificate() CertificateClient
- func (c *MockClient) Datacenter() DatacenterClient
- func (c *MockClient) Firewall() FirewallClient
- func (c *MockClient) FloatingIP() FloatingIPClient
- func (c *MockClient) ISO() ISOClient
- func (c *MockClient) Image() ImageClient
- func (c *MockClient) LoadBalancer() LoadBalancerClient
- func (c *MockClient) LoadBalancerType() LoadBalancerTypeClient
- func (c *MockClient) Location() LocationClient
- func (c *MockClient) Network() NetworkClient
- func (c *MockClient) PlacementGroup() PlacementGroupClient
- func (c *MockClient) PrimaryIP() PrimaryIPClient
- func (c *MockClient) RDNS() RDNSClient
- func (c *MockClient) SSHKey() SSHKeyClient
- func (c *MockClient) Server() ServerClient
- func (c *MockClient) ServerType() ServerTypeClient
- func (c *MockClient) Volume() VolumeClient
- type MockDatacenterClient
- func (m *MockDatacenterClient) All(arg0 context.Context) ([]*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 int) (*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) 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 int) (*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 int) (*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) EXPECT() *MockISOClientMockRecorder
- func (m *MockISOClient) Get(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
- func (m *MockISOClient) GetByID(arg0 context.Context, arg1 int) (*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) 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 int) (*hcloud.Image, *hcloud.Response, error)
- func (m *MockImageClient) GetByName(arg0 context.Context, arg1 string) (*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) 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 int) (*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 int) 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) EXPECT() *MockLoadBalancerTypeClientMockRecorder
- func (m *MockLoadBalancerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
- func (m *MockLoadBalancerTypeClient) GetByID(arg0 context.Context, arg1 int) (*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 int) string
- func (m *MockLoadBalancerTypeClient) LoadBalancerTypeName(arg0 int) string
- func (m *MockLoadBalancerTypeClient) Names() []string
- type MockLoadBalancerTypeClientMockRecorder
- func (mr *MockLoadBalancerTypeClientMockRecorder) All(arg0 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) EXPECT() *MockLocationClientMockRecorder
- func (m *MockLocationClient) Get(arg0 context.Context, arg1 string) (*hcloud.Location, *hcloud.Response, error)
- func (m *MockLocationClient) GetByID(arg0 context.Context, arg1 int) (*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
- type MockLocationClientMockRecorder
- func (mr *MockLocationClientMockRecorder) All(arg0 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
- 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 int) (*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 int) 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 int) (*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 MockPrimaryIPClient
- func (m *MockPrimaryIPClient) All(arg0 context.Context) ([]*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 int) (*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 int) (*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) 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 int) (*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) 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 int) (*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) 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 int) 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) 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) 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) EXPECT() *MockServerTypeClientMockRecorder
- func (m *MockServerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.ServerType, *hcloud.Response, error)
- func (m *MockServerTypeClient) GetByID(arg0 context.Context, arg1 int) (*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 int) string
- func (m *MockServerTypeClient) ServerTypeName(arg0 int) string
- type MockServerTypeClientMockRecorder
- func (mr *MockServerTypeClientMockRecorder) All(arg0 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 int) (*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
- type NetworkClient
- type NetworkClientBase
- type PlacementGroupClient
- type PlacementGroupClientBase
- type PrimaryIPClient
- type PrimaryIPClientBase
- type RDNSClient
- type RDNSClientBase
- type SSHKeyClient
- type SSHKeyClientBase
- type ServerClient
- type ServerClientBase
- type ServerTypeClient
- type ServerTypeClientBase
- type VolumeClient
- type VolumeClientBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateClient ¶ added in v1.25.0
type CertificateClient interface { CertificateClientBase Names() []string LabelKeys(string) []string }
CertificateClient embeds the Hetzner Cloud Certificate client and provides some additional helper functions.
func NewCertificateClient ¶ added in v1.25.0
func NewCertificateClient(client CertificateClientBase) CertificateClient
type CertificateClientBase ¶ added in v1.25.0
type CertificateClientBase interface { All(context.Context) ([]*hcloud.Certificate, error) AllWithOpts(context.Context, hcloud.CertificateListOpts) ([]*hcloud.Certificate, error) Create(context.Context, hcloud.CertificateCreateOpts) (*hcloud.Certificate, *hcloud.Response, error) CreateCertificate(context.Context, hcloud.CertificateCreateOpts) (hcloud.CertificateCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.Certificate) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.Certificate, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Certificate, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Certificate, *hcloud.Response, error) List(context.Context, hcloud.CertificateListOpts) ([]*hcloud.Certificate, *hcloud.Response, error) RetryIssuance(context.Context, *hcloud.Certificate) (*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.Certificate, hcloud.CertificateUpdateOpts) (*hcloud.Certificate, *hcloud.Response, error) }
CertificateClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.CertificateClient".
type Client ¶
type Client interface { Datacenter() DatacenterClient Firewall() FirewallClient FloatingIP() FloatingIPClient Image() ImageClient Location() LocationClient Network() NetworkClient Server() ServerClient ServerType() ServerTypeClient SSHKey() SSHKeyClient Volume() VolumeClient Certificate() CertificateClient LoadBalancer() LoadBalancerClient LoadBalancerType() LoadBalancerTypeClient ISO() ISOClient PlacementGroup() PlacementGroupClient RDNS() RDNSClient PrimaryIP() PrimaryIPClient }
Client makes all API clients accessible via a single interface.
type DatacenterClient ¶
type DatacenterClient interface { DatacenterClientBase Names() []string }
DatacenterClient embeds the Hetzner Cloud DataCenter client and provides some additional helper functions.
func NewDatacenterClient ¶
func NewDatacenterClient(client DatacenterClientBase) DatacenterClient
type DatacenterClientBase ¶
type DatacenterClientBase interface { All(context.Context) ([]*hcloud.Datacenter, error) Get(context.Context, string) (*hcloud.Datacenter, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Datacenter, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Datacenter, *hcloud.Response, error) List(context.Context, hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, *hcloud.Response, error) }
DatacenterClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.DatacenterClient".
type FirewallClient ¶
type FirewallClient interface { FirewallClientBase Names() []string LabelKeys(string) []string }
func NewFirewallClient ¶
func NewFirewallClient(client FirewallClientBase) FirewallClient
type FirewallClientBase ¶
type FirewallClientBase interface { All(context.Context) ([]*hcloud.Firewall, error) AllWithOpts(context.Context, hcloud.FirewallListOpts) ([]*hcloud.Firewall, error) ApplyResources(context.Context, *hcloud.Firewall, []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.FirewallCreateOpts) (hcloud.FirewallCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.Firewall) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.Firewall, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Firewall, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Firewall, *hcloud.Response, error) List(context.Context, hcloud.FirewallListOpts) ([]*hcloud.Firewall, *hcloud.Response, error) RemoveResources(context.Context, *hcloud.Firewall, []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error) SetRules(context.Context, *hcloud.Firewall, hcloud.FirewallSetRulesOpts) ([]*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.Firewall, hcloud.FirewallUpdateOpts) (*hcloud.Firewall, *hcloud.Response, error) }
FirewallClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.FirewallClient".
type FloatingIPClient ¶
type FloatingIPClient interface { FloatingIPClientBase Names() []string LabelKeys(idOrName string) []string }
FloatingIPClient embeds the hcloud FloatingIPClient (via an interface) and provides some additional helper functions.
func NewFloatingIPClient ¶
func NewFloatingIPClient(client FloatingIPClientBase) FloatingIPClient
NewFloatingIPClient creates a new floating IP client.
type FloatingIPClientBase ¶
type FloatingIPClientBase interface { All(context.Context) ([]*hcloud.FloatingIP, error) AllWithOpts(context.Context, hcloud.FloatingIPListOpts) ([]*hcloud.FloatingIP, error) Assign(context.Context, *hcloud.FloatingIP, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) ChangeDNSPtr(context.Context, *hcloud.FloatingIP, string, *string) (*hcloud.Action, *hcloud.Response, error) ChangeProtection(context.Context, *hcloud.FloatingIP, hcloud.FloatingIPChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.FloatingIPCreateOpts) (hcloud.FloatingIPCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.FloatingIP) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.FloatingIP, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.FloatingIP, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.FloatingIP, *hcloud.Response, error) List(context.Context, hcloud.FloatingIPListOpts) ([]*hcloud.FloatingIP, *hcloud.Response, error) Unassign(context.Context, *hcloud.FloatingIP) (*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.FloatingIP, hcloud.FloatingIPUpdateOpts) (*hcloud.FloatingIP, *hcloud.Response, error) }
FloatingIPClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.FloatingIPClient".
type ISOClient ¶ added in v1.25.0
type ISOClient interface { ISOClientBase Names() []string }
ISOClient embeds the Hetzner Cloud iso client and provides some additional helper functions.
func NewISOClient ¶ added in v1.25.0
func NewISOClient(client ISOClientBase) ISOClient
type ISOClientBase ¶ added in v1.25.0
type ISOClientBase interface { All(context.Context) ([]*hcloud.ISO, error) Get(context.Context, string) (*hcloud.ISO, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.ISO, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.ISO, *hcloud.Response, error) List(context.Context, hcloud.ISOListOpts) ([]*hcloud.ISO, *hcloud.Response, error) }
ISOClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.ISOClient".
type ImageClient ¶
type ImageClient interface { ImageClientBase Names() []string LabelKeys(string) []string }
ImageClient embeds the Hetzner Cloud Image client and provides some additional helper functions.
func NewImageClient ¶
func NewImageClient(client ImageClientBase) ImageClient
type ImageClientBase ¶
type ImageClientBase interface { All(context.Context) ([]*hcloud.Image, error) AllWithOpts(context.Context, hcloud.ImageListOpts) ([]*hcloud.Image, error) ChangeProtection(context.Context, *hcloud.Image, hcloud.ImageChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) Delete(context.Context, *hcloud.Image) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.Image, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Image, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Image, *hcloud.Response, error) List(context.Context, hcloud.ImageListOpts) ([]*hcloud.Image, *hcloud.Response, error) Update(context.Context, *hcloud.Image, hcloud.ImageUpdateOpts) (*hcloud.Image, *hcloud.Response, error) }
ImageClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.ImageClient".
type LoadBalancerClient ¶ added in v1.25.0
type LoadBalancerClient interface { LoadBalancerClientBase LoadBalancerName(id int) string Names() []string LabelKeys(string) []string }
LoadBalancerClient embeds the Hetzner Cloud LoadBalancer client and provides some additional helper functions.
func NewLoadBalancerClient ¶ added in v1.25.0
func NewLoadBalancerClient(client LoadBalancerClientBase) LoadBalancerClient
type LoadBalancerClientBase ¶ added in v1.25.0
type LoadBalancerClientBase interface { AddIPTarget(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerAddIPTargetOpts) (*hcloud.Action, *hcloud.Response, error) AddLabelSelectorTarget(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerAddLabelSelectorTargetOpts) (*hcloud.Action, *hcloud.Response, error) AddServerTarget(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerAddServerTargetOpts) (*hcloud.Action, *hcloud.Response, error) AddService(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerAddServiceOpts) (*hcloud.Action, *hcloud.Response, error) All(context.Context) ([]*hcloud.LoadBalancer, error) AllWithOpts(context.Context, hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, error) AttachToNetwork(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerAttachToNetworkOpts) (*hcloud.Action, *hcloud.Response, error) ChangeAlgorithm(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerChangeAlgorithmOpts) (*hcloud.Action, *hcloud.Response, error) ChangeDNSPtr(context.Context, *hcloud.LoadBalancer, string, *string) (*hcloud.Action, *hcloud.Response, error) ChangeProtection(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) ChangeType(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerChangeTypeOpts) (*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.LoadBalancerCreateOpts) (hcloud.LoadBalancerCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.LoadBalancer) (*hcloud.Response, error) DeleteService(context.Context, *hcloud.LoadBalancer, int) (*hcloud.Action, *hcloud.Response, error) DetachFromNetwork(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerDetachFromNetworkOpts) (*hcloud.Action, *hcloud.Response, error) DisablePublicInterface(context.Context, *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error) EnablePublicInterface(context.Context, *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error) Get(context.Context, string) (*hcloud.LoadBalancer, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.LoadBalancer, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.LoadBalancer, *hcloud.Response, error) GetMetrics(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerGetMetricsOpts) (*hcloud.LoadBalancerMetrics, *hcloud.Response, error) List(context.Context, hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, *hcloud.Response, error) RemoveIPTarget(context.Context, *hcloud.LoadBalancer, net.IP) (*hcloud.Action, *hcloud.Response, error) RemoveLabelSelectorTarget(context.Context, *hcloud.LoadBalancer, string) (*hcloud.Action, *hcloud.Response, error) RemoveServerTarget(context.Context, *hcloud.LoadBalancer, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.LoadBalancer, hcloud.LoadBalancerUpdateOpts) (*hcloud.LoadBalancer, *hcloud.Response, error) UpdateService(context.Context, *hcloud.LoadBalancer, int, hcloud.LoadBalancerUpdateServiceOpts) (*hcloud.Action, *hcloud.Response, error) }
LoadBalancerClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.LoadBalancerClient".
type LoadBalancerTypeClient ¶ added in v1.25.0
type LoadBalancerTypeClient interface { LoadBalancerTypeClientBase Names() []string LoadBalancerTypeName(id int) string LoadBalancerTypeDescription(id int) string }
func NewLoadBalancerTypeClient ¶ added in v1.25.0
func NewLoadBalancerTypeClient(client LoadBalancerTypeClientBase) LoadBalancerTypeClient
type LoadBalancerTypeClientBase ¶ added in v1.25.0
type LoadBalancerTypeClientBase interface { All(context.Context) ([]*hcloud.LoadBalancerType, error) Get(context.Context, string) (*hcloud.LoadBalancerType, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.LoadBalancerType, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.LoadBalancerType, *hcloud.Response, error) List(context.Context, hcloud.LoadBalancerTypeListOpts) ([]*hcloud.LoadBalancerType, *hcloud.Response, error) }
LoadBalancerTypeClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.LoadBalancerTypeClient".
type LocationClient ¶
type LocationClient interface { LocationClientBase Names() []string }
LocationClient embeds the Hetzner Cloud Location client and provides some additional helper functions.
func NewLocationClient ¶
func NewLocationClient(client LocationClientBase) LocationClient
type LocationClientBase ¶
type LocationClientBase interface { All(context.Context) ([]*hcloud.Location, error) Get(context.Context, string) (*hcloud.Location, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Location, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Location, *hcloud.Response, error) List(context.Context, hcloud.LocationListOpts) ([]*hcloud.Location, *hcloud.Response, error) }
LocationClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.LocationClient".
type MockCertificateClient ¶ added in v1.25.0
type MockCertificateClient struct {
// contains filtered or unexported fields
}
MockCertificateClient is a mock of CertificateClient interface.
func NewMockCertificateClient ¶ added in v1.25.0
func NewMockCertificateClient(ctrl *gomock.Controller) *MockCertificateClient
NewMockCertificateClient creates a new mock instance.
func (*MockCertificateClient) All ¶ added in v1.25.0
func (m *MockCertificateClient) All(arg0 context.Context) ([]*hcloud.Certificate, error)
All mocks base method.
func (*MockCertificateClient) AllWithOpts ¶ added in v1.25.0
func (m *MockCertificateClient) AllWithOpts(arg0 context.Context, arg1 hcloud.CertificateListOpts) ([]*hcloud.Certificate, error)
AllWithOpts mocks base method.
func (*MockCertificateClient) Create ¶ added in v1.25.0
func (m *MockCertificateClient) Create(arg0 context.Context, arg1 hcloud.CertificateCreateOpts) (*hcloud.Certificate, *hcloud.Response, error)
Create mocks base method.
func (*MockCertificateClient) CreateCertificate ¶ added in v1.25.0
func (m *MockCertificateClient) CreateCertificate(arg0 context.Context, arg1 hcloud.CertificateCreateOpts) (hcloud.CertificateCreateResult, *hcloud.Response, error)
CreateCertificate mocks base method.
func (*MockCertificateClient) Delete ¶ added in v1.25.0
func (m *MockCertificateClient) Delete(arg0 context.Context, arg1 *hcloud.Certificate) (*hcloud.Response, error)
Delete mocks base method.
func (*MockCertificateClient) EXPECT ¶ added in v1.25.0
func (m *MockCertificateClient) EXPECT() *MockCertificateClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCertificateClient) Get ¶ added in v1.25.0
func (m *MockCertificateClient) Get(arg0 context.Context, arg1 string) (*hcloud.Certificate, *hcloud.Response, error)
Get mocks base method.
func (*MockCertificateClient) GetByID ¶ added in v1.25.0
func (m *MockCertificateClient) GetByID(arg0 context.Context, arg1 int) (*hcloud.Certificate, *hcloud.Response, error)
GetByID mocks base method.
func (*MockCertificateClient) GetByName ¶ added in v1.25.0
func (m *MockCertificateClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Certificate, *hcloud.Response, error)
GetByName mocks base method.
func (*MockCertificateClient) LabelKeys ¶ added in v1.25.0
func (m *MockCertificateClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockCertificateClient) List ¶ added in v1.25.0
func (m *MockCertificateClient) List(arg0 context.Context, arg1 hcloud.CertificateListOpts) ([]*hcloud.Certificate, *hcloud.Response, error)
List mocks base method.
func (*MockCertificateClient) Names ¶ added in v1.25.0
func (m *MockCertificateClient) Names() []string
Names mocks base method.
func (*MockCertificateClient) RetryIssuance ¶ added in v1.25.0
func (m *MockCertificateClient) RetryIssuance(arg0 context.Context, arg1 *hcloud.Certificate) (*hcloud.Action, *hcloud.Response, error)
RetryIssuance mocks base method.
func (*MockCertificateClient) Update ¶ added in v1.25.0
func (m *MockCertificateClient) Update(arg0 context.Context, arg1 *hcloud.Certificate, arg2 hcloud.CertificateUpdateOpts) (*hcloud.Certificate, *hcloud.Response, error)
Update mocks base method.
type MockCertificateClientMockRecorder ¶ added in v1.25.0
type MockCertificateClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCertificateClientMockRecorder is the mock recorder for MockCertificateClient.
func (*MockCertificateClientMockRecorder) All ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockCertificateClientMockRecorder) AllWithOpts ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockCertificateClientMockRecorder) Create ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockCertificateClientMockRecorder) CreateCertificate ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) CreateCertificate(arg0, arg1 interface{}) *gomock.Call
CreateCertificate indicates an expected call of CreateCertificate.
func (*MockCertificateClientMockRecorder) Delete ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCertificateClientMockRecorder) Get ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCertificateClientMockRecorder) GetByID ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockCertificateClientMockRecorder) GetByName ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockCertificateClientMockRecorder) LabelKeys ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockCertificateClientMockRecorder) List ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockCertificateClientMockRecorder) Names ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockCertificateClientMockRecorder) RetryIssuance ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) RetryIssuance(arg0, arg1 interface{}) *gomock.Call
RetryIssuance indicates an expected call of RetryIssuance.
func (*MockCertificateClientMockRecorder) Update ¶ added in v1.25.0
func (mr *MockCertificateClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockClient ¶
type MockClient struct { 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 }
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) Certificate ¶ added in v1.25.0
func (c *MockClient) Certificate() CertificateClient
func (*MockClient) Datacenter ¶
func (c *MockClient) Datacenter() DatacenterClient
func (*MockClient) Firewall ¶
func (c *MockClient) Firewall() FirewallClient
func (*MockClient) FloatingIP ¶
func (c *MockClient) FloatingIP() FloatingIPClient
func (*MockClient) ISO ¶ added in v1.25.0
func (c *MockClient) ISO() ISOClient
func (*MockClient) Image ¶
func (c *MockClient) Image() ImageClient
func (*MockClient) LoadBalancer ¶ added in v1.25.0
func (c *MockClient) LoadBalancer() LoadBalancerClient
func (*MockClient) LoadBalancerType ¶ added in v1.25.0
func (c *MockClient) LoadBalancerType() LoadBalancerTypeClient
func (*MockClient) Location ¶
func (c *MockClient) Location() LocationClient
func (*MockClient) Network ¶
func (c *MockClient) Network() NetworkClient
func (*MockClient) PlacementGroup ¶ added in v1.27.0
func (c *MockClient) PlacementGroup() PlacementGroupClient
func (*MockClient) PrimaryIP ¶ added in v1.30.0
func (c *MockClient) PrimaryIP() PrimaryIPClient
func (*MockClient) RDNS ¶ added in v1.28.1
func (c *MockClient) RDNS() RDNSClient
func (*MockClient) SSHKey ¶
func (c *MockClient) SSHKey() SSHKeyClient
func (*MockClient) Server ¶
func (c *MockClient) Server() ServerClient
func (*MockClient) ServerType ¶
func (c *MockClient) ServerType() ServerTypeClient
func (*MockClient) Volume ¶
func (c *MockClient) Volume() VolumeClient
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) 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 int) (*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) 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 int) (*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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 int) (*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 ¶ added in v1.25.0
type MockISOClient struct {
// contains filtered or unexported fields
}
MockISOClient is a mock of ISOClient interface.
func NewMockISOClient ¶ added in v1.25.0
func NewMockISOClient(ctrl *gomock.Controller) *MockISOClient
NewMockISOClient creates a new mock instance.
func (*MockISOClient) EXPECT ¶ added in v1.25.0
func (m *MockISOClient) EXPECT() *MockISOClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISOClient) Get ¶ added in v1.25.0
func (m *MockISOClient) Get(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
Get mocks base method.
func (*MockISOClient) GetByID ¶ added in v1.25.0
func (m *MockISOClient) GetByID(arg0 context.Context, arg1 int) (*hcloud.ISO, *hcloud.Response, error)
GetByID mocks base method.
func (*MockISOClient) GetByName ¶ added in v1.25.0
func (m *MockISOClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)
GetByName mocks base method.
func (*MockISOClient) List ¶ added in v1.25.0
func (m *MockISOClient) List(arg0 context.Context, arg1 hcloud.ISOListOpts) ([]*hcloud.ISO, *hcloud.Response, error)
List mocks base method.
func (*MockISOClient) Names ¶ added in v1.25.0
func (m *MockISOClient) Names() []string
Names mocks base method.
type MockISOClientMockRecorder ¶ added in v1.25.0
type MockISOClientMockRecorder struct {
// contains filtered or unexported fields
}
MockISOClientMockRecorder is the mock recorder for MockISOClient.
func (*MockISOClientMockRecorder) All ¶ added in v1.25.0
func (mr *MockISOClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockISOClientMockRecorder) Get ¶ added in v1.25.0
func (mr *MockISOClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockISOClientMockRecorder) GetByID ¶ added in v1.25.0
func (mr *MockISOClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockISOClientMockRecorder) GetByName ¶ added in v1.25.0
func (mr *MockISOClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockISOClientMockRecorder) List ¶ added in v1.25.0
func (mr *MockISOClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockISOClientMockRecorder) Names ¶ added in v1.25.0
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 int) (*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) 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) 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 ¶ added in v1.25.0
type MockLoadBalancerClient struct {
// contains filtered or unexported fields
}
MockLoadBalancerClient is a mock of LoadBalancerClient interface.
func NewMockLoadBalancerClient ¶ added in v1.25.0
func NewMockLoadBalancerClient(ctrl *gomock.Controller) *MockLoadBalancerClient
NewMockLoadBalancerClient creates a new mock instance.
func (*MockLoadBalancerClient) AddIPTarget ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
func (m *MockLoadBalancerClient) All(arg0 context.Context) ([]*hcloud.LoadBalancer, error)
All mocks base method.
func (*MockLoadBalancerClient) AllWithOpts ¶ added in v1.25.0
func (m *MockLoadBalancerClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, error)
AllWithOpts mocks base method.
func (*MockLoadBalancerClient) AttachToNetwork ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.28.1
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
func (m *MockLoadBalancerClient) Create(arg0 context.Context, arg1 hcloud.LoadBalancerCreateOpts) (hcloud.LoadBalancerCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockLoadBalancerClient) Delete ¶ added in v1.25.0
func (m *MockLoadBalancerClient) Delete(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Response, error)
Delete mocks base method.
func (*MockLoadBalancerClient) DeleteService ¶ added in v1.25.0
func (m *MockLoadBalancerClient) DeleteService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 int) (*hcloud.Action, *hcloud.Response, error)
DeleteService mocks base method.
func (*MockLoadBalancerClient) DetachFromNetwork ¶ added in v1.25.0
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 ¶ added in v1.25.0
func (m *MockLoadBalancerClient) DisablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)
DisablePublicInterface mocks base method.
func (*MockLoadBalancerClient) EXPECT ¶ added in v1.25.0
func (m *MockLoadBalancerClient) EXPECT() *MockLoadBalancerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerClient) EnablePublicInterface ¶ added in v1.25.0
func (m *MockLoadBalancerClient) EnablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)
EnablePublicInterface mocks base method.
func (*MockLoadBalancerClient) Get ¶ added in v1.25.0
func (m *MockLoadBalancerClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancer, *hcloud.Response, error)
Get mocks base method.
func (*MockLoadBalancerClient) GetByID ¶ added in v1.25.0
func (m *MockLoadBalancerClient) GetByID(arg0 context.Context, arg1 int) (*hcloud.LoadBalancer, *hcloud.Response, error)
GetByID mocks base method.
func (*MockLoadBalancerClient) GetByName ¶ added in v1.25.0
func (m *MockLoadBalancerClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.LoadBalancer, *hcloud.Response, error)
GetByName mocks base method.
func (*MockLoadBalancerClient) GetMetrics ¶ added in v1.25.0
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 ¶ added in v1.25.0
func (m *MockLoadBalancerClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockLoadBalancerClient) List ¶ added in v1.25.0
func (m *MockLoadBalancerClient) List(arg0 context.Context, arg1 hcloud.LoadBalancerListOpts) ([]*hcloud.LoadBalancer, *hcloud.Response, error)
List mocks base method.
func (*MockLoadBalancerClient) LoadBalancerName ¶ added in v1.25.0
func (m *MockLoadBalancerClient) LoadBalancerName(arg0 int) string
LoadBalancerName mocks base method.
func (*MockLoadBalancerClient) Names ¶ added in v1.25.0
func (m *MockLoadBalancerClient) Names() []string
Names mocks base method.
func (*MockLoadBalancerClient) RemoveIPTarget ¶ added in v1.25.0
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 ¶ added in v1.25.0
func (m *MockLoadBalancerClient) RemoveLabelSelectorTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string) (*hcloud.Action, *hcloud.Response, error)
RemoveLabelSelectorTarget mocks base method.
func (*MockLoadBalancerClient) RemoveServerTarget ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
type MockLoadBalancerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerClientMockRecorder is the mock recorder for MockLoadBalancerClient.
func (*MockLoadBalancerClientMockRecorder) AddIPTarget ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) AddIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call
AddIPTarget indicates an expected call of AddIPTarget.
func (*MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call
AddLabelSelectorTarget indicates an expected call of AddLabelSelectorTarget.
func (*MockLoadBalancerClientMockRecorder) AddServerTarget ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) AddServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call
AddServerTarget indicates an expected call of AddServerTarget.
func (*MockLoadBalancerClientMockRecorder) AddService ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) AddService(arg0, arg1, arg2 interface{}) *gomock.Call
AddService indicates an expected call of AddService.
func (*MockLoadBalancerClientMockRecorder) All ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockLoadBalancerClientMockRecorder) AllWithOpts ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockLoadBalancerClientMockRecorder) AttachToNetwork ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
AttachToNetwork indicates an expected call of AttachToNetwork.
func (*MockLoadBalancerClientMockRecorder) ChangeAlgorithm ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) ChangeAlgorithm(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeAlgorithm indicates an expected call of ChangeAlgorithm.
func (*MockLoadBalancerClientMockRecorder) ChangeDNSPtr ¶ added in v1.28.1
func (mr *MockLoadBalancerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
func (*MockLoadBalancerClientMockRecorder) ChangeProtection ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockLoadBalancerClientMockRecorder) ChangeType ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeType indicates an expected call of ChangeType.
func (*MockLoadBalancerClientMockRecorder) Create ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLoadBalancerClientMockRecorder) Delete ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLoadBalancerClientMockRecorder) DeleteService ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) DeleteService(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteService indicates an expected call of DeleteService.
func (*MockLoadBalancerClientMockRecorder) DetachFromNetwork ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
DetachFromNetwork indicates an expected call of DetachFromNetwork.
func (*MockLoadBalancerClientMockRecorder) DisablePublicInterface ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) DisablePublicInterface(arg0, arg1 interface{}) *gomock.Call
DisablePublicInterface indicates an expected call of DisablePublicInterface.
func (*MockLoadBalancerClientMockRecorder) EnablePublicInterface ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) EnablePublicInterface(arg0, arg1 interface{}) *gomock.Call
EnablePublicInterface indicates an expected call of EnablePublicInterface.
func (*MockLoadBalancerClientMockRecorder) Get ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLoadBalancerClientMockRecorder) GetByID ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockLoadBalancerClientMockRecorder) GetByName ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockLoadBalancerClientMockRecorder) GetMetrics ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call
GetMetrics indicates an expected call of GetMetrics.
func (*MockLoadBalancerClientMockRecorder) LabelKeys ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockLoadBalancerClientMockRecorder) List ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLoadBalancerClientMockRecorder) LoadBalancerName ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) LoadBalancerName(arg0 interface{}) *gomock.Call
LoadBalancerName indicates an expected call of LoadBalancerName.
func (*MockLoadBalancerClientMockRecorder) Names ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockLoadBalancerClientMockRecorder) RemoveIPTarget ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) RemoveIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveIPTarget indicates an expected call of RemoveIPTarget.
func (*MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveLabelSelectorTarget indicates an expected call of RemoveLabelSelectorTarget.
func (*MockLoadBalancerClientMockRecorder) RemoveServerTarget ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) RemoveServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveServerTarget indicates an expected call of RemoveServerTarget.
func (*MockLoadBalancerClientMockRecorder) Update ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockLoadBalancerClientMockRecorder) UpdateService ¶ added in v1.25.0
func (mr *MockLoadBalancerClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateService indicates an expected call of UpdateService.
type MockLoadBalancerTypeClient ¶ added in v1.25.0
type MockLoadBalancerTypeClient struct {
// contains filtered or unexported fields
}
MockLoadBalancerTypeClient is a mock of LoadBalancerTypeClient interface.
func NewMockLoadBalancerTypeClient ¶ added in v1.25.0
func NewMockLoadBalancerTypeClient(ctrl *gomock.Controller) *MockLoadBalancerTypeClient
NewMockLoadBalancerTypeClient creates a new mock instance.
func (*MockLoadBalancerTypeClient) All ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) All(arg0 context.Context) ([]*hcloud.LoadBalancerType, error)
All mocks base method.
func (*MockLoadBalancerTypeClient) EXPECT ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) EXPECT() *MockLoadBalancerTypeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerTypeClient) Get ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) Get(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
Get mocks base method.
func (*MockLoadBalancerTypeClient) GetByID ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) GetByID(arg0 context.Context, arg1 int) (*hcloud.LoadBalancerType, *hcloud.Response, error)
GetByID mocks base method.
func (*MockLoadBalancerTypeClient) GetByName ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.LoadBalancerType, *hcloud.Response, error)
GetByName mocks base method.
func (*MockLoadBalancerTypeClient) List ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) List(arg0 context.Context, arg1 hcloud.LoadBalancerTypeListOpts) ([]*hcloud.LoadBalancerType, *hcloud.Response, error)
List mocks base method.
func (*MockLoadBalancerTypeClient) LoadBalancerTypeDescription ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) LoadBalancerTypeDescription(arg0 int) string
LoadBalancerTypeDescription mocks base method.
func (*MockLoadBalancerTypeClient) LoadBalancerTypeName ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) LoadBalancerTypeName(arg0 int) string
LoadBalancerTypeName mocks base method.
func (*MockLoadBalancerTypeClient) Names ¶ added in v1.25.0
func (m *MockLoadBalancerTypeClient) Names() []string
Names mocks base method.
type MockLoadBalancerTypeClientMockRecorder ¶ added in v1.25.0
type MockLoadBalancerTypeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerTypeClientMockRecorder is the mock recorder for MockLoadBalancerTypeClient.
func (*MockLoadBalancerTypeClientMockRecorder) All ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockLoadBalancerTypeClientMockRecorder) Get ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLoadBalancerTypeClientMockRecorder) GetByID ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockLoadBalancerTypeClientMockRecorder) GetByName ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockLoadBalancerTypeClientMockRecorder) List ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription(arg0 interface{}) *gomock.Call
LoadBalancerTypeDescription indicates an expected call of LoadBalancerTypeDescription.
func (*MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName ¶ added in v1.25.0
func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName(arg0 interface{}) *gomock.Call
LoadBalancerTypeName indicates an expected call of LoadBalancerTypeName.
func (*MockLoadBalancerTypeClientMockRecorder) Names ¶ added in v1.25.0
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) 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 int) (*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.
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) 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.
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 int) (*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 ¶ added in v1.25.0
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 int) 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 ¶ added in v1.25.0
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 ¶ added in v1.27.0
type MockPlacementGroupClient struct {
// contains filtered or unexported fields
}
MockPlacementGroupClient is a mock of PlacementGroupClient interface.
func NewMockPlacementGroupClient ¶ added in v1.27.0
func NewMockPlacementGroupClient(ctrl *gomock.Controller) *MockPlacementGroupClient
NewMockPlacementGroupClient creates a new mock instance.
func (*MockPlacementGroupClient) All ¶ added in v1.27.0
func (m *MockPlacementGroupClient) All(arg0 context.Context) ([]*hcloud.PlacementGroup, error)
All mocks base method.
func (*MockPlacementGroupClient) AllWithOpts ¶ added in v1.27.0
func (m *MockPlacementGroupClient) AllWithOpts(arg0 context.Context, arg1 hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, error)
AllWithOpts mocks base method.
func (*MockPlacementGroupClient) Create ¶ added in v1.27.0
func (m *MockPlacementGroupClient) Create(arg0 context.Context, arg1 hcloud.PlacementGroupCreateOpts) (hcloud.PlacementGroupCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockPlacementGroupClient) Delete ¶ added in v1.27.0
func (m *MockPlacementGroupClient) Delete(arg0 context.Context, arg1 *hcloud.PlacementGroup) (*hcloud.Response, error)
Delete mocks base method.
func (*MockPlacementGroupClient) EXPECT ¶ added in v1.27.0
func (m *MockPlacementGroupClient) EXPECT() *MockPlacementGroupClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlacementGroupClient) Get ¶ added in v1.27.0
func (m *MockPlacementGroupClient) Get(arg0 context.Context, arg1 string) (*hcloud.PlacementGroup, *hcloud.Response, error)
Get mocks base method.
func (*MockPlacementGroupClient) GetByID ¶ added in v1.27.0
func (m *MockPlacementGroupClient) GetByID(arg0 context.Context, arg1 int) (*hcloud.PlacementGroup, *hcloud.Response, error)
GetByID mocks base method.
func (*MockPlacementGroupClient) GetByName ¶ added in v1.27.0
func (m *MockPlacementGroupClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.PlacementGroup, *hcloud.Response, error)
GetByName mocks base method.
func (*MockPlacementGroupClient) LabelKeys ¶ added in v1.27.0
func (m *MockPlacementGroupClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockPlacementGroupClient) List ¶ added in v1.27.0
func (m *MockPlacementGroupClient) List(arg0 context.Context, arg1 hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, *hcloud.Response, error)
List mocks base method.
func (*MockPlacementGroupClient) Names ¶ added in v1.27.0
func (m *MockPlacementGroupClient) Names() []string
Names mocks base method.
func (*MockPlacementGroupClient) Update ¶ added in v1.27.0
func (m *MockPlacementGroupClient) Update(arg0 context.Context, arg1 *hcloud.PlacementGroup, arg2 hcloud.PlacementGroupUpdateOpts) (*hcloud.PlacementGroup, *hcloud.Response, error)
Update mocks base method.
type MockPlacementGroupClientMockRecorder ¶ added in v1.27.0
type MockPlacementGroupClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPlacementGroupClientMockRecorder is the mock recorder for MockPlacementGroupClient.
func (*MockPlacementGroupClientMockRecorder) All ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockPlacementGroupClientMockRecorder) AllWithOpts ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call
AllWithOpts indicates an expected call of AllWithOpts.
func (*MockPlacementGroupClientMockRecorder) Create ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPlacementGroupClientMockRecorder) Delete ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPlacementGroupClientMockRecorder) Get ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPlacementGroupClientMockRecorder) GetByID ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockPlacementGroupClientMockRecorder) GetByName ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockPlacementGroupClientMockRecorder) LabelKeys ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockPlacementGroupClientMockRecorder) List ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPlacementGroupClientMockRecorder) Names ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockPlacementGroupClientMockRecorder) Update ¶ added in v1.27.0
func (mr *MockPlacementGroupClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockPrimaryIPClient ¶ added in v1.30.0
type MockPrimaryIPClient struct {
// contains filtered or unexported fields
}
MockPrimaryIPClient is a mock of PrimaryIPClient interface.
func NewMockPrimaryIPClient ¶ added in v1.30.0
func NewMockPrimaryIPClient(ctrl *gomock.Controller) *MockPrimaryIPClient
NewMockPrimaryIPClient creates a new mock instance.
func (*MockPrimaryIPClient) Assign ¶ added in v1.30.0
func (m *MockPrimaryIPClient) Assign(arg0 context.Context, arg1 hcloud.PrimaryIPAssignOpts) (*hcloud.Action, *hcloud.Response, error)
Assign mocks base method.
func (*MockPrimaryIPClient) ChangeDNSPtr ¶ added in v1.30.0
func (m *MockPrimaryIPClient) ChangeDNSPtr(arg0 context.Context, arg1 hcloud.PrimaryIPChangeDNSPtrOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeDNSPtr mocks base method.
func (*MockPrimaryIPClient) ChangeProtection ¶ added in v1.30.0
func (m *MockPrimaryIPClient) ChangeProtection(arg0 context.Context, arg1 hcloud.PrimaryIPChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error)
ChangeProtection mocks base method.
func (*MockPrimaryIPClient) Create ¶ added in v1.30.0
func (m *MockPrimaryIPClient) Create(arg0 context.Context, arg1 hcloud.PrimaryIPCreateOpts) (*hcloud.PrimaryIPCreateResult, *hcloud.Response, error)
Create mocks base method.
func (*MockPrimaryIPClient) Delete ¶ added in v1.30.0
func (m *MockPrimaryIPClient) Delete(arg0 context.Context, arg1 *hcloud.PrimaryIP) (*hcloud.Response, error)
Delete mocks base method.
func (*MockPrimaryIPClient) EXPECT ¶ added in v1.30.0
func (m *MockPrimaryIPClient) EXPECT() *MockPrimaryIPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrimaryIPClient) Get ¶ added in v1.30.0
func (m *MockPrimaryIPClient) Get(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
Get mocks base method.
func (*MockPrimaryIPClient) GetByID ¶ added in v1.30.0
func (m *MockPrimaryIPClient) GetByID(arg0 context.Context, arg1 int) (*hcloud.PrimaryIP, *hcloud.Response, error)
GetByID mocks base method.
func (*MockPrimaryIPClient) GetByIP ¶ added in v1.30.0
func (m *MockPrimaryIPClient) GetByIP(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
GetByIP mocks base method.
func (*MockPrimaryIPClient) GetByName ¶ added in v1.30.0
func (m *MockPrimaryIPClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.PrimaryIP, *hcloud.Response, error)
GetByName mocks base method.
func (*MockPrimaryIPClient) IPv4Names ¶ added in v1.30.0
func (m *MockPrimaryIPClient) IPv4Names() []string
IPv4Names mocks base method.
func (*MockPrimaryIPClient) IPv6Names ¶ added in v1.30.0
func (m *MockPrimaryIPClient) IPv6Names() []string
IPv6Names mocks base method.
func (*MockPrimaryIPClient) LabelKeys ¶ added in v1.30.0
func (m *MockPrimaryIPClient) LabelKeys(arg0 string) []string
LabelKeys mocks base method.
func (*MockPrimaryIPClient) List ¶ added in v1.30.0
func (m *MockPrimaryIPClient) List(arg0 context.Context, arg1 hcloud.PrimaryIPListOpts) ([]*hcloud.PrimaryIP, *hcloud.Response, error)
List mocks base method.
func (*MockPrimaryIPClient) Names ¶ added in v1.30.0
func (m *MockPrimaryIPClient) Names() []string
Names mocks base method.
type MockPrimaryIPClientMockRecorder ¶ added in v1.30.0
type MockPrimaryIPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPrimaryIPClientMockRecorder is the mock recorder for MockPrimaryIPClient.
func (*MockPrimaryIPClientMockRecorder) All ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockPrimaryIPClientMockRecorder) Assign ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call
Assign indicates an expected call of Assign.
func (*MockPrimaryIPClientMockRecorder) ChangeDNSPtr ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) ChangeDNSPtr(arg0, arg1 interface{}) *gomock.Call
ChangeDNSPtr indicates an expected call of ChangeDNSPtr.
func (*MockPrimaryIPClientMockRecorder) ChangeProtection ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) ChangeProtection(arg0, arg1 interface{}) *gomock.Call
ChangeProtection indicates an expected call of ChangeProtection.
func (*MockPrimaryIPClientMockRecorder) Create ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPrimaryIPClientMockRecorder) Delete ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPrimaryIPClientMockRecorder) Get ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPrimaryIPClientMockRecorder) GetByID ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockPrimaryIPClientMockRecorder) GetByIP ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) GetByIP(arg0, arg1 interface{}) *gomock.Call
GetByIP indicates an expected call of GetByIP.
func (*MockPrimaryIPClientMockRecorder) GetByName ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockPrimaryIPClientMockRecorder) IPv4Names ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) IPv4Names() *gomock.Call
IPv4Names indicates an expected call of IPv4Names.
func (*MockPrimaryIPClientMockRecorder) IPv6Names ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) IPv6Names() *gomock.Call
IPv6Names indicates an expected call of IPv6Names.
func (*MockPrimaryIPClientMockRecorder) LabelKeys ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call
LabelKeys indicates an expected call of LabelKeys.
func (*MockPrimaryIPClientMockRecorder) List ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPrimaryIPClientMockRecorder) Names ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockPrimaryIPClientMockRecorder) Unassign ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call
Unassign indicates an expected call of Unassign.
func (*MockPrimaryIPClientMockRecorder) Update ¶ added in v1.30.0
func (mr *MockPrimaryIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockRDNSClient ¶ added in v1.28.1
type MockRDNSClient struct {
// contains filtered or unexported fields
}
MockRDNSClient is a mock of RDNSClient interface.
func NewMockRDNSClient ¶ added in v1.28.1
func NewMockRDNSClient(ctrl *gomock.Controller) *MockRDNSClient
NewMockRDNSClient creates a new mock instance.
func (*MockRDNSClient) ChangeDNSPtr ¶ added in v1.28.1
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 ¶ added in v1.28.1
func (m *MockRDNSClient) EXPECT() *MockRDNSClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRDNSClientMockRecorder ¶ added in v1.28.1
type MockRDNSClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRDNSClientMockRecorder is the mock recorder for MockRDNSClient.
func (*MockRDNSClientMockRecorder) ChangeDNSPtr ¶ added in v1.28.1
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 int) (*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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.27.0
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) 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 int) (*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) RemoveFromPlacementGroup ¶ added in v1.27.0
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 ¶ added in v1.25.0
func (m *MockServerClient) ServerName(arg0 int) 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 ¶ added in v1.27.0
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) 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) RemoveFromPlacementGroup ¶ added in v1.27.0
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 ¶ added in v1.25.0
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) 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 int) (*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 ¶ added in v1.25.0
func (m *MockServerTypeClient) ServerTypeDescription(arg0 int) string
ServerTypeDescription mocks base method.
func (*MockServerTypeClient) ServerTypeName ¶ added in v1.25.0
func (m *MockServerTypeClient) ServerTypeName(arg0 int) 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) 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 ¶ added in v1.25.0
func (mr *MockServerTypeClientMockRecorder) ServerTypeDescription(arg0 interface{}) *gomock.Call
ServerTypeDescription indicates an expected call of ServerTypeDescription.
func (*MockServerTypeClientMockRecorder) ServerTypeName ¶ added in v1.25.0
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 int) (*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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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.
type NetworkClient ¶
type NetworkClient interface { NetworkClientBase Names() []string Name(int) string LabelKeys(string) []string }
NetworkClient embeds the Hetzner Cloud Network client and provides some additional helper functions.
func NewNetworkClient ¶
func NewNetworkClient(client NetworkClientBase) NetworkClient
type NetworkClientBase ¶
type NetworkClientBase interface { AddRoute(context.Context, *hcloud.Network, hcloud.NetworkAddRouteOpts) (*hcloud.Action, *hcloud.Response, error) AddSubnet(context.Context, *hcloud.Network, hcloud.NetworkAddSubnetOpts) (*hcloud.Action, *hcloud.Response, error) All(context.Context) ([]*hcloud.Network, error) AllWithOpts(context.Context, hcloud.NetworkListOpts) ([]*hcloud.Network, error) ChangeIPRange(context.Context, *hcloud.Network, hcloud.NetworkChangeIPRangeOpts) (*hcloud.Action, *hcloud.Response, error) ChangeProtection(context.Context, *hcloud.Network, hcloud.NetworkChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.NetworkCreateOpts) (*hcloud.Network, *hcloud.Response, error) Delete(context.Context, *hcloud.Network) (*hcloud.Response, error) DeleteRoute(context.Context, *hcloud.Network, hcloud.NetworkDeleteRouteOpts) (*hcloud.Action, *hcloud.Response, error) DeleteSubnet(context.Context, *hcloud.Network, hcloud.NetworkDeleteSubnetOpts) (*hcloud.Action, *hcloud.Response, error) Get(context.Context, string) (*hcloud.Network, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Network, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Network, *hcloud.Response, error) List(context.Context, hcloud.NetworkListOpts) ([]*hcloud.Network, *hcloud.Response, error) Update(context.Context, *hcloud.Network, hcloud.NetworkUpdateOpts) (*hcloud.Network, *hcloud.Response, error) }
NetworkClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.NetworkClient".
type PlacementGroupClient ¶ added in v1.27.0
type PlacementGroupClient interface { PlacementGroupClientBase Names() []string LabelKeys(string) []string }
func NewPlacementGroupClient ¶ added in v1.27.0
func NewPlacementGroupClient(client PlacementGroupClientBase) PlacementGroupClient
type PlacementGroupClientBase ¶ added in v1.27.0
type PlacementGroupClientBase interface { All(context.Context) ([]*hcloud.PlacementGroup, error) AllWithOpts(context.Context, hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, error) Create(context.Context, hcloud.PlacementGroupCreateOpts) (hcloud.PlacementGroupCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.PlacementGroup) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.PlacementGroup, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.PlacementGroup, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.PlacementGroup, *hcloud.Response, error) List(context.Context, hcloud.PlacementGroupListOpts) ([]*hcloud.PlacementGroup, *hcloud.Response, error) Update(context.Context, *hcloud.PlacementGroup, hcloud.PlacementGroupUpdateOpts) (*hcloud.PlacementGroup, *hcloud.Response, error) }
PlacementGroupClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.PlacementGroupClient".
type PrimaryIPClient ¶ added in v1.30.0
type PrimaryIPClient interface { PrimaryIPClientBase Names() []string IPv4Names() []string IPv6Names() []string LabelKeys(idOrName string) []string }
PrimaryIPClient embeds the hcloud PrimaryIPClient (via an interface) and provides some additional helper functions.
func NewPrimaryIPClient ¶ added in v1.30.0
func NewPrimaryIPClient(client PrimaryIPClientBase) PrimaryIPClient
NewPrimaryIPClient creates a new primary IP client.
type PrimaryIPClientBase ¶ added in v1.30.0
type PrimaryIPClientBase interface { All(context.Context) ([]*hcloud.PrimaryIP, error) Assign(context.Context, hcloud.PrimaryIPAssignOpts) (*hcloud.Action, *hcloud.Response, error) ChangeDNSPtr(context.Context, hcloud.PrimaryIPChangeDNSPtrOpts) (*hcloud.Action, *hcloud.Response, error) ChangeProtection(context.Context, hcloud.PrimaryIPChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.PrimaryIPCreateOpts) (*hcloud.PrimaryIPCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.PrimaryIP) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.PrimaryIP, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.PrimaryIP, *hcloud.Response, error) GetByIP(context.Context, string) (*hcloud.PrimaryIP, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.PrimaryIP, *hcloud.Response, error) List(context.Context, hcloud.PrimaryIPListOpts) ([]*hcloud.PrimaryIP, *hcloud.Response, error) Unassign(context.Context, int) (*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.PrimaryIP, hcloud.PrimaryIPUpdateOpts) (*hcloud.PrimaryIP, *hcloud.Response, error) }
PrimaryIPClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.PrimaryIPClient".
type RDNSClient ¶ added in v1.28.1
type RDNSClient interface { RDNSClientBase }
NewRDNSClient embeds the Hetzner Cloud rdns client.
func NewRDNSClient ¶ added in v1.28.1
func NewRDNSClient(client RDNSClientBase) RDNSClient
type RDNSClientBase ¶ added in v1.28.1
type RDNSClientBase interface {
ChangeDNSPtr(context.Context, hcloud.RDNSSupporter, net.IP, *string) (*hcloud.Action, *hcloud.Response, error)
}
RDNSClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.RDNSClient".
type SSHKeyClient ¶
type SSHKeyClient interface { SSHKeyClientBase Names() []string LabelKeys(idOrName string) []string }
SSHKeyClient embeds the Hetzner Cloud SSHKey client and provides some additional helper functions.
func NewSSHKeyClient ¶
func NewSSHKeyClient(client SSHKeyClientBase) SSHKeyClient
type SSHKeyClientBase ¶
type SSHKeyClientBase interface { All(context.Context) ([]*hcloud.SSHKey, error) AllWithOpts(context.Context, hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, error) Create(context.Context, hcloud.SSHKeyCreateOpts) (*hcloud.SSHKey, *hcloud.Response, error) Delete(context.Context, *hcloud.SSHKey) (*hcloud.Response, error) Get(context.Context, string) (*hcloud.SSHKey, *hcloud.Response, error) GetByFingerprint(context.Context, string) (*hcloud.SSHKey, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.SSHKey, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.SSHKey, *hcloud.Response, error) List(context.Context, hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, *hcloud.Response, error) Update(context.Context, *hcloud.SSHKey, hcloud.SSHKeyUpdateOpts) (*hcloud.SSHKey, *hcloud.Response, error) }
SSHKeyClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.SSHKeyClient".
type ServerClient ¶
type ServerClient interface { ServerClientBase ServerName(id int) string Names() []string LabelKeys(idOrName string) []string }
func NewServerClient ¶
func NewServerClient(client *hcloud.ServerClient) ServerClient
type ServerClientBase ¶
type ServerClientBase interface { AddToPlacementGroup(context.Context, *hcloud.Server, *hcloud.PlacementGroup) (*hcloud.Action, *hcloud.Response, error) All(context.Context) ([]*hcloud.Server, error) AllWithOpts(context.Context, hcloud.ServerListOpts) ([]*hcloud.Server, error) AttachISO(context.Context, *hcloud.Server, *hcloud.ISO) (*hcloud.Action, *hcloud.Response, error) AttachToNetwork(context.Context, *hcloud.Server, hcloud.ServerAttachToNetworkOpts) (*hcloud.Action, *hcloud.Response, error) ChangeAliasIPs(context.Context, *hcloud.Server, hcloud.ServerChangeAliasIPsOpts) (*hcloud.Action, *hcloud.Response, error) ChangeDNSPtr(context.Context, *hcloud.Server, string, *string) (*hcloud.Action, *hcloud.Response, error) ChangeProtection(context.Context, *hcloud.Server, hcloud.ServerChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) ChangeType(context.Context, *hcloud.Server, hcloud.ServerChangeTypeOpts) (*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.ServerCreateOpts) (hcloud.ServerCreateResult, *hcloud.Response, error) CreateImage(context.Context, *hcloud.Server, *hcloud.ServerCreateImageOpts) (hcloud.ServerCreateImageResult, *hcloud.Response, error) Delete(context.Context, *hcloud.Server) (*hcloud.Response, error) DetachFromNetwork(context.Context, *hcloud.Server, hcloud.ServerDetachFromNetworkOpts) (*hcloud.Action, *hcloud.Response, error) DetachISO(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) DisableBackup(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) DisableRescue(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) EnableBackup(context.Context, *hcloud.Server, string) (*hcloud.Action, *hcloud.Response, error) EnableRescue(context.Context, *hcloud.Server, hcloud.ServerEnableRescueOpts) (hcloud.ServerEnableRescueResult, *hcloud.Response, error) Get(context.Context, string) (*hcloud.Server, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Server, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Server, *hcloud.Response, error) GetMetrics(context.Context, *hcloud.Server, hcloud.ServerGetMetricsOpts) (*hcloud.ServerMetrics, *hcloud.Response, error) List(context.Context, hcloud.ServerListOpts) ([]*hcloud.Server, *hcloud.Response, error) Poweroff(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) Poweron(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) Reboot(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) Rebuild(context.Context, *hcloud.Server, hcloud.ServerRebuildOpts) (*hcloud.Action, *hcloud.Response, error) RemoveFromPlacementGroup(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) RequestConsole(context.Context, *hcloud.Server) (hcloud.ServerRequestConsoleResult, *hcloud.Response, error) Reset(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) ResetPassword(context.Context, *hcloud.Server) (hcloud.ServerResetPasswordResult, *hcloud.Response, error) Shutdown(context.Context, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.Server, hcloud.ServerUpdateOpts) (*hcloud.Server, *hcloud.Response, error) }
ServerClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.ServerClient".
type ServerTypeClient ¶
type ServerTypeClient interface { ServerTypeClientBase Names() []string ServerTypeName(id int) string ServerTypeDescription(id int) string }
func NewServerTypeClient ¶
func NewServerTypeClient(client ServerTypeClientBase) ServerTypeClient
type ServerTypeClientBase ¶
type ServerTypeClientBase interface { All(context.Context) ([]*hcloud.ServerType, error) Get(context.Context, string) (*hcloud.ServerType, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.ServerType, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.ServerType, *hcloud.Response, error) List(context.Context, hcloud.ServerTypeListOpts) ([]*hcloud.ServerType, *hcloud.Response, error) }
ServerTypeClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.ServerTypeClient".
type VolumeClient ¶
type VolumeClient interface { VolumeClientBase Names() []string LabelKeys(idOrName string) []string }
VolumeClient embeds the Hetzner Cloud Volume client and provides some additional helper functions.
func NewVolumeClient ¶
func NewVolumeClient(client VolumeClientBase) VolumeClient
type VolumeClientBase ¶
type VolumeClientBase interface { All(context.Context) ([]*hcloud.Volume, error) AllWithOpts(context.Context, hcloud.VolumeListOpts) ([]*hcloud.Volume, error) Attach(context.Context, *hcloud.Volume, *hcloud.Server) (*hcloud.Action, *hcloud.Response, error) AttachWithOpts(context.Context, *hcloud.Volume, hcloud.VolumeAttachOpts) (*hcloud.Action, *hcloud.Response, error) ChangeProtection(context.Context, *hcloud.Volume, hcloud.VolumeChangeProtectionOpts) (*hcloud.Action, *hcloud.Response, error) Create(context.Context, hcloud.VolumeCreateOpts) (hcloud.VolumeCreateResult, *hcloud.Response, error) Delete(context.Context, *hcloud.Volume) (*hcloud.Response, error) Detach(context.Context, *hcloud.Volume) (*hcloud.Action, *hcloud.Response, error) Get(context.Context, string) (*hcloud.Volume, *hcloud.Response, error) GetByID(context.Context, int) (*hcloud.Volume, *hcloud.Response, error) GetByName(context.Context, string) (*hcloud.Volume, *hcloud.Response, error) List(context.Context, hcloud.VolumeListOpts) ([]*hcloud.Volume, *hcloud.Response, error) Resize(context.Context, *hcloud.Volume, int) (*hcloud.Action, *hcloud.Response, error) Update(context.Context, *hcloud.Volume, hcloud.VolumeUpdateOpts) (*hcloud.Volume, *hcloud.Response, error) }
VolumeClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/hcloud.VolumeClient".
Source Files ¶
- certificate.go
- client.go
- datacenter.go
- firewall.go
- floatingip.go
- image.go
- interface_gen.go
- iso.go
- labels.go
- load_balancer_type.go
- loadbalancer.go
- location.go
- mock_gen.go
- network.go
- placement_group.go
- primaryip.go
- rdns.go
- server.go
- server_type.go
- sshkey.go
- volume.go
- zz_certificate_client_base.go
- zz_certificate_client_mock.go
- zz_datacenter_client_base.go
- zz_datacenter_client_mock.go
- zz_firewall_client_base.go
- zz_firewall_client_mock.go
- zz_floating_ip_client_base.go
- zz_floating_ip_client_mock.go
- zz_image_client_base.go
- zz_image_client_mock.go
- zz_iso_client_base.go
- zz_iso_client_mock.go
- zz_loadbalancer_client_base.go
- zz_loadbalancer_client_mock.go
- zz_loadbalancer_type_client_base.go
- zz_loadbalancer_type_client_mock.go
- zz_location_client_base.go
- zz_location_client_mock.go
- zz_network_client_base.go
- zz_network_client_mock.go
- zz_placement_group_client_base.go
- zz_placement_group_client_mock.go
- zz_primary_ip_client_base.go
- zz_primary_ip_client_mock.go
- zz_rdns_client_base.go
- zz_rdns_client_mock.go
- zz_server_client_base.go
- zz_server_client_mock.go
- zz_server_type_client_base.go
- zz_server_type_client_mock.go
- zz_ssh_key_client_base.go
- zz_ssh_key_client_mock.go
- zz_volume_client_base.go
- zz_volume_client_mock.go