Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayClient ¶
type GatewayClient struct {
// contains filtered or unexported fields
}
GatewayClient -
func NewGatewayClient ¶
func NewGatewayClient(host, user, pass string) *GatewayClient
NewGatewayClient creates a client to connect to the layer7 gateway
func (*GatewayClient) GetActivePolicy ¶
func (c *GatewayClient) GetActivePolicy(apiID string) (*policy.PolicyItem, error)
GetActivePolicy gets the active policy for a service
func (*GatewayClient) GetServices ¶
func (c *GatewayClient) GetServices() (*service.ListServices, error)
GetServices gets a list of services from layer7
Click to show internal directories.
Click to hide internal directories.