client

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KraftCloudServices

type KraftCloudServices interface {
	Instances() instance.InstancesService
	Images() image.ImagesService
}

KraftCloudServices are the public endpoint categories for the KraftCloud API.

func NewServicesClient

func NewServicesClient(copts ...kraftcloud.Option) (KraftCloudServices, error)

NewServicesClient is the top-level KraftCloud Services client used to speak with the API.

func NewServicesClientFromOptions

func NewServicesClientFromOptions(opts *kraftcloud.Options) (KraftCloudServices, error)

NewServicesClientFromOptions is the top-level KraftCloud Services client used to speak with the API with pre-defined options.

type ServicesClient

type ServicesClient struct {
	// contains filtered or unexported fields
}

ServicesClient provides access to the KraftCloud API.

func (*ServicesClient) Images

func (client *ServicesClient) Images() image.ImagesService

Images returns ImagesService.

func (*ServicesClient) Instances

func (client *ServicesClient) Instances() instance.InstancesService

Instances returns InstancesService.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL