Documentation
¶
Index ¶
- Variables
- type Instance
- func (i *Instance) CreatePlugin(plugin *kong.Plugin) (*kong.Plugin, error)
- func (i *Instance) DeletePlugin(nameOrID *string) error
- func (i *Instance) FindConsumer(nameOrId *string) (*kong.Consumer, error)
- func (i *Instance) FindService(nameOrId *string) (*kong.Service, error)
- func (i *Instance) GetClient() (*kong.Client, error)
- func (i *Instance) GetServices() ([]*kong.Service, error)
- func (i *Instance) IsAuthenticated() bool
- func (i *Instance) UpdatePlugin(plugin *kong.Plugin) (*kong.Plugin, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Instances []Instance
)
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { Name string `json:"name"` BaseUrl string `json:"baseUrl"` HeaderKey string `json:"headerKey"` HeaderValue string `json:"headerValue"` }
func FindInstanceByName ¶
func (*Instance) CreatePlugin ¶
func (*Instance) DeletePlugin ¶
func (*Instance) FindConsumer ¶
func (*Instance) FindService ¶
func (*Instance) IsAuthenticated ¶
Click to show internal directories.
Click to hide internal directories.