Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, organizationID, projectID, identityID string, ...) (*openapi.NetworkRead, error)
- func (c *Client) Delete(ctx context.Context, organizationID, projectID, networkID string) error
- func (c *Client) Get(ctx context.Context, organizationID, projectID, networkID string) (*openapi.NetworkRead, error)
- func (c *Client) GetRaw(ctx context.Context, organizationID, projectID, networkID string) (*unikornv1.Network, error)
- func (c *Client) List(ctx context.Context, organizationID string) (openapi.NetworksRead, error)
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
}
Client provides a restful API for networks.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, organizationID, projectID, identityID string, request *openapi.NetworkWrite) (*openapi.NetworkRead, error)
Create instantiates a new resource.
func (*Client) Get ¶
func (c *Client) Get(ctx context.Context, organizationID, projectID, networkID string) (*openapi.NetworkRead, error)
Get a resource.
Click to show internal directories.
Click to hide internal directories.