Documentation
¶
Index ¶
- Variables
- type Instance
- func (i *Instance) CreatePluginAtAnyLevel(plugin *kong.Plugin) (*kong.Plugin, error)
- func (i *Instance) DeletePluginForRoute(routeId *string, nameOrID *string) error
- func (i *Instance) DeletePluginForService(serviceId *string, nameOrID *string) error
- func (i *Instance) FindConsumer(nameOrId *string) (*kong.Consumer, error)
- func (i *Instance) FindRoute(service *kong.Service, nameOrId *string) (*kong.Route, error)
- func (i *Instance) FindService(nameOrId *string) (*kong.Service, error)
- func (i *Instance) GetClient() (*kong.Client, error)
- func (i *Instance) GetRoutesForService(serviceNameOrID *string) ([]*kong.Route, *kong.ListOpt, error)
- func (i *Instance) GetServices() ([]*kong.Service, error)
- func (i *Instance) IsAuthenticated() bool
- func (i *Instance) UpdatePluginForRoute(routeId *string, plugin *kong.Plugin) (*kong.Plugin, error)
- func (i *Instance) UpdatePluginForService(serviceId *string, 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) CreatePluginAtAnyLevel ¶ added in v1.4.1
func (*Instance) DeletePluginForRoute ¶ added in v1.4.1
func (*Instance) DeletePluginForService ¶ added in v1.4.1
func (*Instance) FindConsumer ¶
func (*Instance) FindService ¶
func (*Instance) GetRoutesForService ¶ added in v1.4.1
func (*Instance) IsAuthenticated ¶
func (*Instance) UpdatePluginForRoute ¶ added in v1.4.1
Click to show internal directories.
Click to hide internal directories.