File: zz_certificate_client_base.go

package info (click to toggle)
hcloud-cli 1.39.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,628 kB
  • sloc: sh: 36; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 1,291 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by interfacer; DO NOT EDIT

package hcapi2

import (
	"context"
	"github.com/hetznercloud/hcloud-go/v2/hcloud"
)

// CertificateClientBase is an interface generated for "github.com/hetznercloud/hcloud-go/v2/hcloud.CertificateClient".
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, int64) (*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)
}