Versions in this module Expand all Collapse all v0 v0.9.0 Jul 2, 2020 Changes in this version + const DefaultInboundTemplate + const DefaultIngressTemplate + const DefaultMeshTemplate + const TemplateNameKey + 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 struct + APIID string + Annotations map[string]string + CertificateID []string + Hostname string + ID string + LegacyAPIDef *objects.DBApiDefinition + ListenPath string + Name string + Slug string + Tags []string + Target string + TemplateName string + type TykConf struct + InsecureSkipVerify bool + IsGateway bool + IsHybrid bool + Org string + Secret string + Templates string + URL string