1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
// Code generated by interfacer; DO NOT EDIT
package hcapi2
import (
"context"
"github.com/hetznercloud/hcloud-go/v2/hcloud"
)
// DatacenterClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/v2/hcloud.DatacenterClient".
type DatacenterClientBase interface {
All(context.Context) ([]*hcloud.Datacenter, error)
AllWithOpts(context.Context, hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, error)
Get(context.Context, string) (*hcloud.Datacenter, *hcloud.Response, error)
GetByID(context.Context, int64) (*hcloud.Datacenter, *hcloud.Response, error)
GetByName(context.Context, string) (*hcloud.Datacenter, *hcloud.Response, error)
List(context.Context, hcloud.DatacenterListOpts) ([]*hcloud.Datacenter, *hcloud.Response, error)
}
|