Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateDataplane(ctx context.Context, spec DataplaneSpec) (*Dataplane, error)
- func (c *Client) DeleteDataplane(ctx context.Context, id string) error
- func (c *Client) GetDataplane(ctx context.Context, id string) (*Dataplane, error)
- func (c *Client) ListDataplanes(ctx context.Context) ([]Dataplane, error)
- type Dataplane
- type DataplaneSpec
- type HTTPDoer
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 handles Control Plane API operations
func (*Client) CreateDataplane ¶
CreateDataplane creates a new dataplane
func (*Client) DeleteDataplane ¶
DeleteDataplane deletes a dataplane by ID
func (*Client) GetDataplane ¶
GetDataplane retrieves a specific dataplane by ID
type Dataplane ¶
type Dataplane struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Status string `json:"status"`
Config map[string]string `json:"config"`
}
Dataplane represents a dataplane resource
Click to show internal directories.
Click to hide internal directories.