Documentation ¶
Index ¶
- Variables
- type APIMessage
- type APISList
- type Client
- func (c *Client) CreateAPI(def *objects.DBApiDefinition) (string, error)
- func (c *Client) CreateCertificate(cert []byte) (string, error)
- func (c *Client) DeleteAPI(id string) error
- func (c *Client) FetchAPIs() ([]objects.DBApiDefinition, error)
- func (c *Client) GetActiveID(def *objects.DBApiDefinition) string
- func (c *Client) Reload() error
- func (c *Client) SetInsecureTLS(val bool)
- func (c *Client) Sync(apiDefs []objects.DBApiDefinition) error
- func (c *Client) UpdateAPI(def *objects.DBApiDefinition) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type APIMessage ¶
type APISList ¶
type APISList []apidef.APIDefinition
type Client ¶
type Client struct { InsecureSkipVerify bool // contains filtered or unexported fields }
func NewGatewayClient ¶
func (*Client) GetActiveID ¶
func (c *Client) GetActiveID(def *objects.DBApiDefinition) string
func (*Client) SetInsecureTLS ¶
Click to show internal directories.
Click to hide internal directories.