Documentation
¶
Index ¶
- type BMCCommandDonePayload
- type Client
- func (c *Client) DeleteTask(queue, id string) error
- func (c *Client) GetQueues() ([]string, error)
- func (c *Client) GetTaskInfo(queue, id string) (*asynq.TaskInfo, error)
- func (c *Client) List(queue *string) ([]*asynq.TaskInfo, error)
- func (c *Client) NewTask(payload any, additionalOpts ...asynq.Option) (*asynq.TaskInfo, error)
- type IPDeletePayload
- type MachineAllocationPayload
- type MachineBMCCommandPayload
- type MachineDeletePayload
- type NetworkDeletePayload
- type TaskType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BMCCommandDonePayload ¶
type BMCCommandDonePayload struct {
Error *string `json:"error,omitempty"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteTask ¶
func (*Client) GetTaskInfo ¶
type IPDeletePayload ¶
type MachineAllocationPayload ¶
type MachineAllocationPayload struct {
// UUID of the machine which was allocated and trigger the machine installation
UUID string `json:"uuid,omitempty"`
}
type MachineBMCCommandPayload ¶
type MachineBMCCommandPayload struct {
// UUID of the machine where the command should be executed against
UUID string `json:"uuid,omitempty"`
// Partition where the machine resides
Partition string `json:"partition,omitempty"`
// The actual command
Command string `json:"command,omitempty"`
// CommandID identifies this command unique
CommandID string `json:"command_id"`
}
type MachineDeletePayload ¶
type NetworkDeletePayload ¶
type NetworkDeletePayload struct {
UUID string `json:"uuid,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.