Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type CredentialList ¶
type CredentialList struct {
Items []Credential
Pagination goclient.Pagination
}
type CredentialService ¶
type CredentialService struct {
// contains filtered or unexported fields
}
func NewCredentialService ¶
func NewCredentialService(client goclient.Client) CredentialService
func (CredentialService) List ¶
func (i CredentialService) List(ctx context.Context, cursor goclient.Cursor) (list CredentialList, err error)
type InstanceCreate ¶
type InstanceCreate struct {
LocationID int `json:"location_id"`
}
type InstanceList ¶
type InstanceList struct {
Items []Instance
Pagination goclient.Pagination
}
type InstanceService ¶
type InstanceService struct {
// contains filtered or unexported fields
}
func NewInstanceService ¶
func NewInstanceService(client goclient.Client) InstanceService
func (InstanceService) Create ¶
func (i InstanceService) Create(ctx context.Context, body InstanceCreate) (instance Instance, err error)
func (InstanceService) Delete ¶
func (i InstanceService) Delete(ctx context.Context, id int) (err error)
func (InstanceService) List ¶
func (i InstanceService) List(ctx context.Context, cursor goclient.Cursor) (list InstanceList, err error)
Click to show internal directories.
Click to hide internal directories.