package
0.0.1
Repository: https://github.com/latitudesh/cli.git
Documentation: pkg.go.dev

# Functions

New creates a new power actions API client.
NewCreateServerActionCreated creates a CreateServerActionCreated with default headers values.
NewCreateServerActionForbidden creates a CreateServerActionForbidden with default headers values.
NewCreateServerActionNotAcceptable creates a CreateServerActionNotAcceptable with default headers values.
NewCreateServerActionParams creates a new CreateServerActionParams object, with the default timeout for this client.
NewCreateServerActionParamsWithContext creates a new CreateServerActionParams object with the ability to set a context for a request.
NewCreateServerActionParamsWithHTTPClient creates a new CreateServerActionParams object with the ability to set a custom HTTPClient for a request.
NewCreateServerActionParamsWithTimeout creates a new CreateServerActionParams object with the ability to set a timeout on a request.

# Constants

CreateServerActionParamsBodyDataAttributesActionPowerOff captures enum value "power_off".
CreateServerActionParamsBodyDataAttributesActionPowerOn captures enum value "power_on".
CreateServerActionParamsBodyDataAttributesActionReboot captures enum value "reboot".
CreateServerActionParamsBodyDataTypeActions captures enum value "actions".

# Structs

Client for power actions API */.
CreateServerActionBody create server action body swagger:model CreateServerActionBody */.
CreateServerActionCreated describes a response with status code 201, with default header values.
CreateServerActionForbidden describes a response with status code 403, with default header values.
CreateServerActionNotAcceptable describes a response with status code 406, with default header values.
CreateServerActionParams contains all the parameters to send to the API endpoint for the create server action operation.
CreateServerActionParamsBodyData create server action params body data swagger:model CreateServerActionParamsBodyData */.
CreateServerActionParamsBodyDataAttributes create server action params body data attributes swagger:model CreateServerActionParamsBodyDataAttributes */.
CreateServerActionReader is a Reader for the CreateServerAction structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.