Documentation
¶
Overview ¶
Package workloads is the API v6 client for Workloads. In v6 a Workload does not point at an Application and a Firewall: it carries one binding per Environment, naming the Deployment whose active release it serves and the domains it answers on.
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, req sdk.WorkloadRequest) (sdk.Workload, error)
- func (c *Client) FindByName(ctx context.Context, name string) (sdk.Workload, bool, error)
- func (c *Client) Get(ctx context.Context, id int64) (sdk.Workload, error)
- func (c *Client) Update(ctx context.Context, id int64, req sdk.WorkloadRequest) (sdk.Workload, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.