Documentation ¶
Overview ¶
this package provides an implementation of allocationStore that works by making HTTP calls to a server instance
There is a lot of duplication between the methods here, and it would be nice to
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateOrUpdate ¶
func (c *Client) CreateOrUpdate(newAllocation *allocations.AllocationSpecification) (bool, error)
func (*Client) Get ¶
func (c *Client) Get(name string) (*allocations.Allocation, error)
func (*Client) List ¶
func (c *Client) List() (allocations.Allocations, error)
Click to show internal directories.
Click to hide internal directories.