Documentation ¶
Index ¶
- Variables
- type APIMessage
- type APISList
- type Client
- func (c *Client) CreateAPIs(apiDefs *[]objects.DBApiDefinition) error
- func (c *Client) CreateAssets(assetsDefs *[]objects.DBAssets) 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) SyncAPIs(apiDefs []objects.DBApiDefinition) error
- func (c *Client) SyncAssets(assetsDefs *[]objects.DBAssets) error
- func (c *Client) UpdateAPIs(apiDefs *[]objects.DBApiDefinition) error
- func (c *Client) UpdateAssets(assetsDefs *[]objects.DBAssets) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type APIMessage ¶
type APISList ¶
type APISList []objects.APIDefinition
type Client ¶
type Client struct { InsecureSkipVerify bool // contains filtered or unexported fields }
func NewGatewayClient ¶
func (*Client) CreateAPIs ¶ added in v1.2.3
func (c *Client) CreateAPIs(apiDefs *[]objects.DBApiDefinition) error
func (*Client) CreateAssets ¶ added in v1.5.0
func (*Client) GetActiveID ¶
func (c *Client) GetActiveID(def *objects.DBApiDefinition) string
func (*Client) SetInsecureTLS ¶
func (*Client) SyncAPIs ¶ added in v1.2.3
func (c *Client) SyncAPIs(apiDefs []objects.DBApiDefinition) error
func (*Client) SyncAssets ¶ added in v1.5.0
func (*Client) UpdateAPIs ¶ added in v1.2.3
func (c *Client) UpdateAPIs(apiDefs *[]objects.DBApiDefinition) error
Click to show internal directories.
Click to hide internal directories.