Documentation
¶
Overview ¶
///////////////////////////////////////////////////////////////////// Copyright (c) 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 /////////////////////////////////////////////////////////////////////
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { // id and created_at is required to update an kong API ID string `json:"id,omitempty"` CreatedAt int `json:"created_at,omitempty"` Name string `json:"name"` UpstreamURL string `json:"upstream_url,omitempty"` URIs []string `json:"uris,omitempty"` Hosts []string `json:"hosts,omitempty"` Methods []string `json:"methods,omitempty"` HTTPSOnly bool `json:"https_only,omitempty"` }
API is a struct for Kong API
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a http client connecting to a Kong server
func (*Client) Initialize ¶
Initialize install neccessary plugins into kong at the begining
Click to show internal directories.
Click to hide internal directories.