Documentation ¶
Index ¶
- Constants
- func CreateCertificate(crt, key []byte) (string, error)
- func CreateService(opts *APIDefOptions) (string, error)
- func DeleteByID(id string) error
- func DeleteBySlug(slug string) error
- func GetByObjectID(id string) (*objects.DBApiDefinition, error)
- func GetBySlug(slug string) (*objects.DBApiDefinition, error)
- func Init(forceConf *TykConf)
- func TemplateService(opts *APIDefOptions) ([]byte, error)
- func UpdateAPI(def *apidef.APIDefinition) error
- func UpdateAPIs(svcs map[string]*APIDefOptions) error
- type APIDefOptions
- type TykConf
Constants ¶
View Source
const ( DefaultIngressTemplate = "default" DefaultMeshTemplate = "default-mesh" DefaultInboundTemplate = "default-inbound" TemplateNameKey = "template.service.tyk.io" )
Variables ¶
This section is empty.
Functions ¶
func CreateCertificate ¶
func CreateService ¶
func CreateService(opts *APIDefOptions) (string, error)
func DeleteByID ¶
func DeleteBySlug ¶
func GetByObjectID ¶
func GetByObjectID(id string) (*objects.DBApiDefinition, error)
func TemplateService ¶
func TemplateService(opts *APIDefOptions) ([]byte, error)
func UpdateAPI ¶
func UpdateAPI(def *apidef.APIDefinition) error
func UpdateAPIs ¶
func UpdateAPIs(svcs map[string]*APIDefOptions) error
Types ¶
type APIDefOptions ¶
Click to show internal directories.
Click to hide internal directories.