Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnexpectedCode = errors.New("unexpected return code") ErrInvalidScheme = errors.New("invalid scheme, use 'https' instead") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
GetRegistration() (api.RegistrationResponse, error)
CreateHost(host api.HostCreateRequest) error
DeleteHost(hostname string) error
PatchHost(patch api.HostPatchRequest, hostname string) (api.HostResponse, error)
GetBootstrap(hostname string) (api.BootstrapResponse, error)
}
Click to show internal directories.
Click to hide internal directories.