Documentation ¶
Index ¶
- type Task
- func (t *Task) Create(ctx context.Context) error
- func (t *Task) Delete(ctx context.Context) error
- func (t *Task) GetAddresses(ctx context.Context) []net.IP
- func (t *Task) GetEvents(ctx context.Context) []universal.Event
- func (t *Task) GetIdentifier(ctx context.Context) string
- func (t *Task) GetKeyPair(ctx context.Context) (*ssh.DeterministicSSHKeyPair, error)
- func (t *Task) GetStatus(ctx context.Context) map[string]int
- func (t *Task) Logs(ctx context.Context) ([]string, error)
- func (t *Task) Pull(ctx context.Context, destination string) error
- func (t *Task) Push(ctx context.Context, source string, unsafe bool) error
- func (t *Task) Read(ctx context.Context) error
- func (t *Task) Stop(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { Client *client.Client Identifier string Attributes universal.Task DataSources struct { *resources.Credentials } Resources struct { *resources.ResourceGroup *resources.StorageAccount *resources.BlobContainer *resources.VirtualNetwork *resources.Subnet *resources.SecurityGroup *resources.VirtualMachineScaleSet } }
func (*Task) GetKeyPair ¶
Click to show internal directories.
Click to hide internal directories.