Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Create(ctx context.Context, organizationID, projectID string, ...) (*openapi.AllocationRead, error)
- func (c *Client) Delete(ctx context.Context, organizationID, projectID, allocationID string) error
- func (c *Client) Get(ctx context.Context, organizationID, projectID, allocationID string) (*openapi.AllocationRead, error)
- func (c *Client) List(ctx context.Context, organizationID string) (openapi.Allocations, error)
- func (c *Client) Update(ctx context.Context, organizationID, projectID, allocationID string, ...) (*openapi.AllocationRead, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNamespace = goerrors.New("unable to resolve project namespace")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, organizationID, projectID string, request *openapi.AllocationWrite) (*openapi.AllocationRead, error)
Click to show internal directories.
Click to hide internal directories.