Versions in this module Expand all Collapse all v0 v0.0.3 May 26, 2023 v0.0.2 May 26, 2023 Changes in this version + const DefaultTimeout + func Bool(b bool) *bool + func ErrorOrResponseError(res *Response, err error) error + func FillEntityDefaults(entity interface{}, schema Schema) error + func FillPluginsDefaults(plugin *Plugin, schema Schema) error + func Float64(f float64) *float64 + func HTTPClientWithHeaders(client *http.Client, headers http.Header) *http.Client + func Int(i int) *int + func IsForbiddenErr(e error) bool + func IsNotFoundErr(e error) bool + func RunWhenDBMode(t *testing.T, dbmode string) + func RunWhenEnterprise(t *testing.T, versionRange string, required RequiredFeatures) + func RunWhenKong(t *testing.T, versionRange string) + func SkipWhenEnterprise(t *testing.T) + func String(s string) *string + func StringSlice(elements ...string) []*string + func VersionFromInfo(info map[string]interface{}) string + type ACLGroup struct + Consumer *Consumer + CreatedAt *int + Group *string + ID *string + Tags []*string + func (in *ACLGroup) DeepCopy() *ACLGroup + func (in *ACLGroup) DeepCopyInto(out *ACLGroup) + type ACLService service + func (s *ACLService) Create(ctx context.Context, consumerUsernameOrID *string, aclGroup *ACLGroup) (*ACLGroup, error) + func (s *ACLService) Delete(ctx context.Context, consumerUsernameOrID, groupOrID *string) error + func (s *ACLService) Get(ctx context.Context, consumerUsernameOrID, groupOrID *string) (*ACLGroup, error) + func (s *ACLService) List(ctx context.Context, opt *ListOpt) ([]*ACLGroup, *ListOpt, error) + func (s *ACLService) ListAll(ctx context.Context) ([]*ACLGroup, error) + func (s *ACLService) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*ACLGroup, *ListOpt, error) + func (s *ACLService) Update(ctx context.Context, consumerUsernameOrID *string, aclGroup *ACLGroup) (*ACLGroup, error) + type APIError struct + func NewAPIError(code int, msg string) *APIError + func NewAPIErrorWithRaw(code int, msg string, raw []byte) *APIError + func (e *APIError) Code() int + func (e *APIError) Details() any + func (e *APIError) Error() string + func (e *APIError) Raw() []byte + func (e *APIError) SetDetails(details any) + type AbstractACLService interface + Create func(ctx context.Context, consumerUsernameOrID *string, aclGroup *ACLGroup) (*ACLGroup, error) + Delete func(ctx context.Context, consumerUsernameOrID, groupOrID *string) error + Get func(ctx context.Context, consumerUsernameOrID, groupOrID *string) (*ACLGroup, error) + List func(ctx context.Context, opt *ListOpt) ([]*ACLGroup, *ListOpt, error) + ListAll func(ctx context.Context) ([]*ACLGroup, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*ACLGroup, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, aclGroup *ACLGroup) (*ACLGroup, error) + type AbstractAdminService interface + Create func(ctx context.Context, admin *Admin) (*Admin, error) + Delete func(ctx context.Context, AdminOrID *string) error + DeleteRoles func(ctx context.Context, emailOrID *string, roles []*RBACRole) error + GenerateRegisterURL func(ctx context.Context, nameOrID *string) (*Admin, error) + Get func(ctx context.Context, nameOrID *string) (*Admin, error) + GetConsumer func(ctx context.Context, emailOrID *string) (*Consumer, error) + Invite func(ctx context.Context, admin *Admin) (*Admin, error) + List func(ctx context.Context, opt *ListOpt) ([]*Admin, *ListOpt, error) + ListRoles func(ctx context.Context, emailOrID *string, opt *ListOpt) ([]*RBACRole, error) + ListWorkspaces func(ctx context.Context, emailOrID *string) ([]*Workspace, error) + RegisterCredentials func(ctx context.Context, admin *Admin) error + Update func(ctx context.Context, admin *Admin) (*Admin, error) + UpdateRoles func(ctx context.Context, emailOrID *string, roles []*RBACRole) ([]*RBACRole, error) + type AbstractBasicAuthService interface + Create func(ctx context.Context, consumerUsernameOrID *string, basicAuth *BasicAuth) (*BasicAuth, error) + Delete func(ctx context.Context, consumerUsernameOrID, usernameOrID *string) error + Get func(ctx context.Context, consumerUsernameOrID, usernameOrID *string) (*BasicAuth, error) + List func(ctx context.Context, opt *ListOpt) ([]*BasicAuth, *ListOpt, error) + ListAll func(ctx context.Context) ([]*BasicAuth, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*BasicAuth, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, basicAuth *BasicAuth) (*BasicAuth, error) + type AbstractCACertificateService interface + Create func(ctx context.Context, certificate *CACertificate) (*CACertificate, error) + Delete func(ctx context.Context, ID *string) error + Get func(ctx context.Context, ID *string) (*CACertificate, error) + List func(ctx context.Context, opt *ListOpt) ([]*CACertificate, *ListOpt, error) + ListAll func(ctx context.Context) ([]*CACertificate, error) + Update func(ctx context.Context, certificate *CACertificate) (*CACertificate, error) + type AbstractCertificateService interface + Create func(ctx context.Context, certificate *Certificate) (*Certificate, error) + Delete func(ctx context.Context, usernameOrID *string) error + Get func(ctx context.Context, usernameOrID *string) (*Certificate, error) + List func(ctx context.Context, opt *ListOpt) ([]*Certificate, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Certificate, error) + Update func(ctx context.Context, certificate *Certificate) (*Certificate, error) + type AbstractConsumerGroupConsumerService interface + Create func(ctx context.Context, consumerGroupNameOrID *string, consumerNameOrID *string) (*ConsumerGroupObject, error) + Delete func(ctx context.Context, consumerGroupNameOrID *string, consumerNameOrID *string) error + ListAll func(ctx context.Context, consumerGroupNameOrID *string) (*ConsumerGroupObject, error) + type AbstractConsumerGroupService interface + Create func(ctx context.Context, consumerGroup *ConsumerGroup) (*ConsumerGroup, error) + Delete func(ctx context.Context, usernameOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*ConsumerGroupObject, error) + List func(ctx context.Context, opt *ListOpt) ([]*ConsumerGroup, *ListOpt, error) + ListAll func(ctx context.Context) ([]*ConsumerGroup, error) + Update func(ctx context.Context, consumerGroup *ConsumerGroup) (*ConsumerGroup, error) + UpdateRateLimitingAdvancedPlugin func(ctx context.Context, nameOrID *string, config map[string]Configuration) (*ConsumerGroupRLA, error) + type AbstractConsumerService interface + Create func(ctx context.Context, consumer *Consumer) (*Consumer, error) + Delete func(ctx context.Context, usernameOrID *string) error + Get func(ctx context.Context, usernameOrID *string) (*Consumer, error) + GetByCustomID func(ctx context.Context, customID *string) (*Consumer, error) + List func(ctx context.Context, opt *ListOpt) ([]*Consumer, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Consumer, error) + Update func(ctx context.Context, consumer *Consumer) (*Consumer, error) + type AbstractCustomEntityService interface + Create func(ctx context.Context, entity custom.Entity) (custom.Entity, error) + Delete func(ctx context.Context, entity custom.Entity) error + Get func(ctx context.Context, entity custom.Entity) (custom.Entity, error) + List func(ctx context.Context, opt *ListOpt, entity custom.Entity) ([]custom.Entity, *ListOpt, error) + ListAll func(ctx context.Context, entity custom.Entity) ([]custom.Entity, error) + Update func(ctx context.Context, entity custom.Entity) (custom.Entity, error) + type AbstractDegraphqlRouteService interface + Create func(ctx context.Context, route *DegraphqlRoute) (*DegraphqlRoute, error) + Delete func(ctx context.Context, serviceNameOrID *string, id *string) error + Get func(ctx context.Context, serviceNameOrID *string, ID *string) (*DegraphqlRoute, error) + List func(ctx context.Context, serviceNameOrID *string, listopt *ListOpt) ([]*DegraphqlRoute, *ListOpt, error) + ListAll func(ctx context.Context, serviceNameOrID *string) ([]*DegraphqlRoute, error) + Update func(ctx context.Context, route *DegraphqlRoute) (*DegraphqlRoute, error) + type AbstractDeveloperRoleService interface + Create func(ctx context.Context, role *DeveloperRole) (*DeveloperRole, error) + Delete func(ctx context.Context, RoleOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*DeveloperRole, error) + List func(ctx context.Context, opt *ListOpt) ([]*DeveloperRole, *ListOpt, error) + ListAll func(ctx context.Context) ([]*DeveloperRole, error) + Update func(ctx context.Context, role *DeveloperRole) (*DeveloperRole, error) + type AbstractDeveloperService interface + Create func(ctx context.Context, developer *Developer) (*Developer, error) + Delete func(ctx context.Context, emailOrID *string) error + Get func(ctx context.Context, emailOrID *string) (*Developer, error) + GetByCustomID func(ctx context.Context, customID *string) (*Developer, error) + List func(ctx context.Context, opt *ListOpt) ([]*Developer, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Developer, error) + Update func(ctx context.Context, developer *Developer) (*Developer, error) + type AbstractGraphqlRateLimitingCostDecorationService interface + Create func(ctx context.Context, costDeco *GraphqlRateLimitingCostDecoration) (*GraphqlRateLimitingCostDecoration, error) + Delete func(ctx context.Context, ID *string) error + Get func(ctx context.Context, ID *string) (*GraphqlRateLimitingCostDecoration, error) + List func(ctx context.Context, opt *ListOpt) ([]*GraphqlRateLimitingCostDecoration, *ListOpt, error) + ListAll func(ctx context.Context) ([]*GraphqlRateLimitingCostDecoration, error) + Update func(ctx context.Context, costDeco *GraphqlRateLimitingCostDecoration) (*GraphqlRateLimitingCostDecoration, error) + type AbstractHMACAuthService interface + Create func(ctx context.Context, consumerUsernameOrID *string, hmacAuth *HMACAuth) (*HMACAuth, error) + Delete func(ctx context.Context, consumerUsernameOrID, usernameOrID *string) error + Get func(ctx context.Context, consumerUsernameOrID, usernameOrID *string) (*HMACAuth, error) + List func(ctx context.Context, opt *ListOpt) ([]*HMACAuth, *ListOpt, error) + ListAll func(ctx context.Context) ([]*HMACAuth, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*HMACAuth, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, hmacAuth *HMACAuth) (*HMACAuth, error) + type AbstractInfoService interface + Get func(ctx context.Context) (*Info, error) + type AbstractJWTAuthService interface + Create func(ctx context.Context, consumerUsernameOrID *string, jwtAuth *JWTAuth) (*JWTAuth, error) + Delete func(ctx context.Context, consumerUsernameOrID, keyOrID *string) error + Get func(ctx context.Context, consumerUsernameOrID, keyOrID *string) (*JWTAuth, error) + List func(ctx context.Context, opt *ListOpt) ([]*JWTAuth, *ListOpt, error) + ListAll func(ctx context.Context) ([]*JWTAuth, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*JWTAuth, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, jwtAuth *JWTAuth) (*JWTAuth, error) + type AbstractKeyAuthService interface + Create func(ctx context.Context, consumerUsernameOrID *string, keyAuth *KeyAuth) (*KeyAuth, error) + Delete func(ctx context.Context, consumerUsernameOrID, keyOrID *string) error + Get func(ctx context.Context, consumerUsernameOrID, keyOrID *string) (*KeyAuth, error) + List func(ctx context.Context, opt *ListOpt) ([]*KeyAuth, *ListOpt, error) + ListAll func(ctx context.Context) ([]*KeyAuth, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*KeyAuth, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, keyAuth *KeyAuth) (*KeyAuth, error) + type AbstractKeyService interface + Create func(ctx context.Context, key *Key) (*Key, error) + Delete func(ctx context.Context, nameOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*Key, error) + List func(ctx context.Context, opt *ListOpt) ([]*Key, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Key, error) + Update func(ctx context.Context, key *Key) (*Key, error) + type AbstractKeySetService interface + Create func(ctx context.Context, keySet *KeySet) (*KeySet, error) + Delete func(ctx context.Context, nameOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*KeySet, error) + List func(ctx context.Context, opt *ListOpt) ([]*KeySet, *ListOpt, error) + ListAll func(ctx context.Context) ([]*KeySet, error) + Update func(ctx context.Context, keySet *KeySet) (*KeySet, error) + type AbstractLicenseService interface + Create func(ctx context.Context, license *License) (*License, error) + Delete func(ctx context.Context, ID *string) error + Get func(ctx context.Context, ID *string) (*License, error) + List func(ctx context.Context, opt *ListOpt) ([]*License, *ListOpt, error) + ListAll func(ctx context.Context) ([]*License, error) + Update func(ctx context.Context, license *License) (*License, error) + type AbstractMTLSAuthService interface + Create func(ctx context.Context, consumerUsernameOrID *string, mtlsAuth *MTLSAuth) (*MTLSAuth, error) + Delete func(ctx context.Context, consumerUsernameOrID, keyOrID *string) error + Get func(ctx context.Context, consumerUsernameOrID, keyOrID *string) (*MTLSAuth, error) + List func(ctx context.Context, opt *ListOpt) ([]*MTLSAuth, *ListOpt, error) + ListAll func(ctx context.Context) ([]*MTLSAuth, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*MTLSAuth, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, mtlsAuth *MTLSAuth) (*MTLSAuth, error) + type AbstractOauth2Service interface + Create func(ctx context.Context, consumerUsernameOrID *string, ...) (*Oauth2Credential, error) + Delete func(ctx context.Context, consumerUsernameOrID, clientIDorID *string) error + Get func(ctx context.Context, consumerUsernameOrID, clientIDorID *string) (*Oauth2Credential, error) + List func(ctx context.Context, opt *ListOpt) ([]*Oauth2Credential, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Oauth2Credential, error) + ListForConsumer func(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*Oauth2Credential, *ListOpt, error) + Update func(ctx context.Context, consumerUsernameOrID *string, ...) (*Oauth2Credential, error) + type AbstractPluginService interface + Create func(ctx context.Context, plugin *Plugin) (*Plugin, error) + CreateForRoute func(ctx context.Context, routeIDorName *string, plugin *Plugin) (*Plugin, error) + CreateForService func(ctx context.Context, serviceIDorName *string, plugin *Plugin) (*Plugin, error) + Delete func(ctx context.Context, usernameOrID *string) error + DeleteForRoute func(ctx context.Context, routeIDorName *string, pluginID *string) error + DeleteForService func(ctx context.Context, serviceIDorName *string, pluginID *string) error + Get func(ctx context.Context, usernameOrID *string) (*Plugin, error) + GetFullSchema func(ctx context.Context, pluginName *string) (Schema, error) + GetSchema func(ctx context.Context, pluginName *string) (Schema, error) + List func(ctx context.Context, opt *ListOpt) ([]*Plugin, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Plugin, error) + ListAllForConsumer func(ctx context.Context, consumerIDorName *string) ([]*Plugin, error) + ListAllForRoute func(ctx context.Context, routeID *string) ([]*Plugin, error) + ListAllForService func(ctx context.Context, serviceIDorName *string) ([]*Plugin, error) + Update func(ctx context.Context, plugin *Plugin) (*Plugin, error) + UpdateForRoute func(ctx context.Context, routeIDorName *string, plugin *Plugin) (*Plugin, error) + UpdateForService func(ctx context.Context, serviceIDorName *string, plugin *Plugin) (*Plugin, error) + Validate func(ctx context.Context, plugin *Plugin) (bool, string, error) + type AbstractRBACEndpointPermissionService interface + Create func(ctx context.Context, ep *RBACEndpointPermission) (*RBACEndpointPermission, error) + Delete func(ctx context.Context, roleNameOrID *string, workspaceNameOrID *string, ...) error + Get func(ctx context.Context, roleNameOrID *string, workspaceNameOrID *string, ...) (*RBACEndpointPermission, error) + ListAllForRole func(ctx context.Context, roleNameOrID *string) ([]*RBACEndpointPermission, error) + Update func(ctx context.Context, ep *RBACEndpointPermission) (*RBACEndpointPermission, error) + type AbstractRBACEntityPermissionService interface + Create func(ctx context.Context, ep *RBACEntityPermission) (*RBACEntityPermission, error) + Delete func(ctx context.Context, roleNameOrID *string, entityID *string) error + Get func(ctx context.Context, roleNameOrID *string, entityName *string) (*RBACEntityPermission, error) + ListAllForRole func(ctx context.Context, roleNameOrID *string) ([]*RBACEntityPermission, error) + Update func(ctx context.Context, ep *RBACEntityPermission) (*RBACEntityPermission, error) + type AbstractRBACRoleService interface + Create func(ctx context.Context, role *RBACRole) (*RBACRole, error) + Delete func(ctx context.Context, RoleOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*RBACRole, error) + List func(ctx context.Context, opt *ListOpt) ([]*RBACRole, *ListOpt, error) + ListAll func(ctx context.Context) ([]*RBACRole, error) + Update func(ctx context.Context, role *RBACRole) (*RBACRole, error) + type AbstractRBACUserService interface + AddRoles func(ctx context.Context, nameOrID *string, roles []*RBACRole) ([]*RBACRole, error) + Create func(ctx context.Context, user *RBACUser) (*RBACUser, error) + Delete func(ctx context.Context, userOrID *string) error + DeleteRoles func(ctx context.Context, nameOrID *string, roles []*RBACRole) error + Get func(ctx context.Context, nameOrID *string) (*RBACUser, error) + List func(ctx context.Context, opt *ListOpt) ([]*RBACUser, *ListOpt, error) + ListAll func(ctx context.Context) ([]*RBACUser, error) + ListPermissions func(ctx context.Context, nameOrID *string) (*RBACPermissionsList, error) + ListRoles func(ctx context.Context, nameOrID *string) ([]*RBACRole, error) + Update func(ctx context.Context, user *RBACUser) (*RBACUser, error) + type AbstractRouteService interface + Create func(ctx context.Context, route *Route) (*Route, error) + CreateInService func(ctx context.Context, serviceID *string, route *Route) (*Route, error) + Delete func(ctx context.Context, nameOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*Route, error) + List func(ctx context.Context, opt *ListOpt) ([]*Route, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Route, error) + ListForService func(ctx context.Context, serviceNameOrID *string, opt *ListOpt) ([]*Route, *ListOpt, error) + Update func(ctx context.Context, route *Route) (*Route, error) + type AbstractSNIService interface + Create func(ctx context.Context, sni *SNI) (*SNI, error) + Delete func(ctx context.Context, usernameOrID *string) error + Get func(ctx context.Context, usernameOrID *string) (*SNI, error) + List func(ctx context.Context, opt *ListOpt) ([]*SNI, *ListOpt, error) + ListAll func(ctx context.Context) ([]*SNI, error) + ListForCertificate func(ctx context.Context, certificateID *string, opt *ListOpt) ([]*SNI, *ListOpt, error) + Update func(ctx context.Context, sni *SNI) (*SNI, error) + type AbstractSchemaService interface + Get func(ctx context.Context, entity string) (Schema, error) + type AbstractSvcService interface + Create func(ctx context.Context, service *Service) (*Service, error) + Delete func(ctx context.Context, nameOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*Service, error) + GetForRoute func(ctx context.Context, routeID *string) (*Service, error) + List func(ctx context.Context, opt *ListOpt) ([]*Service, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Service, error) + Update func(ctx context.Context, service *Service) (*Service, error) + type AbstractTagService interface + Exists func(ctx context.Context) (bool, error) + type AbstractTargetService interface + Create func(ctx context.Context, upstreamNameOrID *string, target *Target) (*Target, error) + Delete func(ctx context.Context, upstreamNameOrID *string, targetOrID *string) error + List func(ctx context.Context, upstreamNameOrID *string, opt *ListOpt) ([]*Target, *ListOpt, error) + ListAll func(ctx context.Context, upstreamNameOrID *string) ([]*Target, error) + MarkHealthy func(ctx context.Context, upstreamNameOrID *string, target *Target) error + MarkUnhealthy func(ctx context.Context, upstreamNameOrID *string, target *Target) error + type AbstractUpstreamNodeHealthService interface + List func(ctx context.Context, upstreamNameOrID *string, opt *ListOpt) ([]*UpstreamNodeHealth, *ListOpt, error) + ListAll func(ctx context.Context, upstreamNameOrID *string) ([]*UpstreamNodeHealth, error) + type AbstractUpstreamService interface + Create func(ctx context.Context, upstream *Upstream) (*Upstream, error) + Delete func(ctx context.Context, upstreamNameOrID *string) error + Get func(ctx context.Context, upstreamNameOrID *string) (*Upstream, error) + List func(ctx context.Context, opt *ListOpt) ([]*Upstream, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Upstream, error) + Update func(ctx context.Context, upstream *Upstream) (*Upstream, error) + type AbstractVaultService interface + Create func(ctx context.Context, vault *Vault) (*Vault, error) + Delete func(ctx context.Context, nameOrID *string) error + Get func(ctx context.Context, nameOrID *string) (*Vault, error) + List func(ctx context.Context, opt *ListOpt) ([]*Vault, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Vault, error) + Update func(ctx context.Context, vault *Vault) (*Vault, error) + type AbstractWorkspaceService interface + AddEntities func(ctx context.Context, workspaceNameOrID *string, entityIds *string) (*[]map[string]interface{}, error) + Create func(ctx context.Context, workspace *Workspace) (*Workspace, error) + Delete func(ctx context.Context, WorkspaceOrID *string) error + DeleteEntities func(ctx context.Context, workspaceNameOrID *string, entityIds *string) error + Exists func(ctx context.Context, nameOrID *string) (bool, error) + ExistsByName func(ctx context.Context, name *string) (bool, error) + Get func(ctx context.Context, nameOrID *string) (*Workspace, error) + List func(ctx context.Context, opt *ListOpt) ([]*Workspace, *ListOpt, error) + ListAll func(ctx context.Context) ([]*Workspace, error) + ListEntities func(ctx context.Context, workspaceNameOrID *string) ([]*WorkspaceEntity, error) + Update func(ctx context.Context, workspace *Workspace) (*Workspace, error) + type ActiveHealthcheck struct + Concurrency *int + HTTPPath *string + HTTPSSni *string + HTTPSVerifyCertificate *bool + Headers map[string][]string + Healthy *Healthy + Timeout *int + Type *string + Unhealthy *Unhealthy + func (in *ActiveHealthcheck) DeepCopy() *ActiveHealthcheck + func (in *ActiveHealthcheck) DeepCopyInto(out *ActiveHealthcheck) + type Admin struct + CreatedAt *int + CustomID *string + Email *string + ID *string + Password *string + RBACTokenEnabled *bool + Status *int + Token *string + Username *string + func (in *Admin) DeepCopy() *Admin + func (in *Admin) DeepCopyInto(out *Admin) + type AdminService service + func (s *AdminService) Create(ctx context.Context, admin *Admin) (*Admin, error) + func (s *AdminService) Delete(ctx context.Context, AdminOrID *string) error + func (s *AdminService) DeleteRoles(ctx context.Context, emailOrID *string, roles []*RBACRole) error + func (s *AdminService) GenerateRegisterURL(ctx context.Context, nameOrID *string) (*Admin, error) + func (s *AdminService) Get(ctx context.Context, nameOrID *string) (*Admin, error) + func (s *AdminService) GetConsumer(ctx context.Context, emailOrID *string) (*Consumer, error) + func (s *AdminService) Invite(ctx context.Context, admin *Admin) (*Admin, error) + func (s *AdminService) List(ctx context.Context, opt *ListOpt) ([]*Admin, *ListOpt, error) + func (s *AdminService) ListRoles(ctx context.Context, emailOrID *string, _ *ListOpt) ([]*RBACRole, error) + func (s *AdminService) ListWorkspaces(ctx context.Context, emailOrID *string) ([]*Workspace, error) + func (s *AdminService) RegisterCredentials(ctx context.Context, admin *Admin) error + func (s *AdminService) Update(ctx context.Context, admin *Admin) (*Admin, error) + func (s *AdminService) UpdateRoles(ctx context.Context, emailOrID *string, roles []*RBACRole) ([]*RBACRole, error) + type BasicAuth struct + Consumer *Consumer + CreatedAt *int + ID *string + Password *string + Tags []*string + Username *string + func (in *BasicAuth) DeepCopy() *BasicAuth + func (in *BasicAuth) DeepCopyInto(out *BasicAuth) + type BasicAuthService service + func (s *BasicAuthService) Create(ctx context.Context, consumerUsernameOrID *string, basicAuth *BasicAuth) (*BasicAuth, error) + func (s *BasicAuthService) Delete(ctx context.Context, consumerUsernameOrID, usernameOrID *string) error + func (s *BasicAuthService) Get(ctx context.Context, consumerUsernameOrID, usernameOrID *string) (*BasicAuth, error) + func (s *BasicAuthService) List(ctx context.Context, opt *ListOpt) ([]*BasicAuth, *ListOpt, error) + func (s *BasicAuthService) ListAll(ctx context.Context) ([]*BasicAuth, error) + func (s *BasicAuthService) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*BasicAuth, *ListOpt, error) + func (s *BasicAuthService) Update(ctx context.Context, consumerUsernameOrID *string, basicAuth *BasicAuth) (*BasicAuth, error) + type CACertificate struct + Cert *string + CertDigest *string + CreatedAt *int64 + ID *string + Tags []*string + func (c *CACertificate) FriendlyName() string + func (in *CACertificate) DeepCopy() *CACertificate + func (in *CACertificate) DeepCopyInto(out *CACertificate) + type CACertificateService service + func (s *CACertificateService) Create(ctx context.Context, certificate *CACertificate) (*CACertificate, error) + func (s *CACertificateService) Delete(ctx context.Context, ID *string) error + func (s *CACertificateService) Get(ctx context.Context, ID *string) (*CACertificate, error) + func (s *CACertificateService) List(ctx context.Context, opt *ListOpt) ([]*CACertificate, *ListOpt, error) + func (s *CACertificateService) ListAll(ctx context.Context) ([]*CACertificate, error) + func (s *CACertificateService) Update(ctx context.Context, certificate *CACertificate) (*CACertificate, error) + type CIDRPort struct + IP *string + Port *int + func (in *CIDRPort) DeepCopy() *CIDRPort + func (in *CIDRPort) DeepCopyInto(out *CIDRPort) + type Certificate struct + Cert *string + CertAlt *string + CreatedAt *int64 + ID *string + Key *string + KeyAlt *string + SNIs []*string + Tags []*string + func (c *Certificate) FriendlyName() string + func (in *Certificate) DeepCopy() *Certificate + func (in *Certificate) DeepCopyInto(out *Certificate) + type CertificateService service + func (s *CertificateService) Create(ctx context.Context, certificate *Certificate) (*Certificate, error) + func (s *CertificateService) Delete(ctx context.Context, usernameOrID *string) error + func (s *CertificateService) Get(ctx context.Context, usernameOrID *string) (*Certificate, error) + func (s *CertificateService) List(ctx context.Context, opt *ListOpt) ([]*Certificate, *ListOpt, error) + func (s *CertificateService) ListAll(ctx context.Context) ([]*Certificate, error) + func (s *CertificateService) Update(ctx context.Context, certificate *Certificate) (*Certificate, error) + type Client struct + ACLs AbstractACLService + Admins AbstractAdminService + BasicAuths AbstractBasicAuthService + CACertificates AbstractCACertificateService + Certificates AbstractCertificateService + ConsumerGroupConsumers AbstractConsumerGroupConsumerService + ConsumerGroups AbstractConsumerGroupService + Consumers AbstractConsumerService + CustomEntities AbstractCustomEntityService + DegraphqlRoutes AbstractDegraphqlRouteService + DeveloperRoles AbstractDeveloperRoleService + Developers AbstractDeveloperService + GraphqlRateLimitingCostDecorations AbstractGraphqlRateLimitingCostDecorationService + HMACAuths AbstractHMACAuthService + Info AbstractInfoService + JWTAuths AbstractJWTAuthService + KeyAuths AbstractKeyAuthService + KeySets AbstractKeySetService + Keys AbstractKeyService + Licenses AbstractLicenseService + MTLSAuths AbstractMTLSAuthService + Oauth2Credentials AbstractOauth2Service + Plugins AbstractPluginService + RBACEndpointPermissions AbstractRBACEndpointPermissionService + RBACEntityPermissions AbstractRBACEntityPermissionService + RBACRoles AbstractRBACRoleService + RBACUsers AbstractRBACUserService + Routes AbstractRouteService + SNIs AbstractSNIService + Schemas AbstractSchemaService + Services AbstractSvcService + Tags AbstractTagService + Targets AbstractTargetService + UpstreamNodeHealth AbstractUpstreamNodeHealthService + Upstreams AbstractUpstreamService + Vaults AbstractVaultService + Workspaces AbstractWorkspaceService + func NewClient(baseURL *string, client *http.Client) (*Client, error) + func NewTestClient(baseURL *string, client *http.Client) (*Client, error) + func (c *Client) BaseRootURL() string + func (c *Client) Do(ctx context.Context, req *http.Request, v interface{}) (*Response, error) + func (c *Client) DoRAW(ctx context.Context, req *http.Request) (*http.Response, error) + func (c *Client) Listeners(ctx context.Context) ([]ProxyListener, []StreamListener, error) + func (c *Client) NewRequest(method, endpoint string, qs interface{}, body interface{}) (*http.Request, error) + func (c *Client) NewRequestRaw(method, baseURL string, endpoint string, qs interface{}, body interface{}) (*http.Request, error) + func (c *Client) ReloadDeclarativeRawConfig(ctx context.Context, config io.Reader, checkHash bool, flattenErrors bool) ([]byte, error) + func (c *Client) Root(ctx context.Context) (map[string]interface{}, error) + func (c *Client) RootJSON(ctx context.Context) ([]byte, error) + func (c *Client) SetDebugMode(enableDebug bool) + func (c *Client) SetLogger(w io.Writer) + func (c *Client) SetWorkspace(workspace string) + func (c *Client) Status(ctx context.Context) (*Status, error) + func (c *Client) Workspace() string + type Configuration map[string]interface + func (in Configuration) DeepCopy() Configuration + func (in Configuration) DeepCopyInto(out *Configuration) + type Consumer struct + CreatedAt *int64 + CustomID *string + ID *string + Tags []*string + Username *string + func (c *Consumer) FillID() error + func (c *Consumer) FriendlyName() string + func (in *Consumer) DeepCopy() *Consumer + func (in *Consumer) DeepCopyInto(out *Consumer) + type ConsumerGroup struct + CreatedAt *int64 + ID *string + Name *string + Tags []*string + func (in *ConsumerGroup) DeepCopy() *ConsumerGroup + func (in *ConsumerGroup) DeepCopyInto(out *ConsumerGroup) + func (s *ConsumerGroup) FriendlyName() string + type ConsumerGroupConsumer struct + Consumer *Consumer + ConsumerGroup *ConsumerGroup + CreatedAt *int64 + func (in *ConsumerGroupConsumer) DeepCopy() *ConsumerGroupConsumer + func (in *ConsumerGroupConsumer) DeepCopyInto(out *ConsumerGroupConsumer) + type ConsumerGroupConsumerService service + func (s *ConsumerGroupConsumerService) Create(ctx context.Context, consumerGroupNameOrID *string, consumerNameOrID *string) (*ConsumerGroupObject, error) + func (s *ConsumerGroupConsumerService) Delete(ctx context.Context, consumerGroupNameOrID *string, consumerNameOrID *string) error + func (s *ConsumerGroupConsumerService) ListAll(ctx context.Context, consumerGroupNameOrID *string) (*ConsumerGroupObject, error) + type ConsumerGroupObject struct + ConsumerGroup *ConsumerGroup + Consumers []*Consumer + Plugins []*ConsumerGroupPlugin + func (in *ConsumerGroupObject) DeepCopy() *ConsumerGroupObject + func (in *ConsumerGroupObject) DeepCopyInto(out *ConsumerGroupObject) + type ConsumerGroupPlugin struct + Config Configuration + ConsumerGroup *ConsumerGroup + CreatedAt *int64 + ID *string + Name *string + func (in *ConsumerGroupPlugin) DeepCopy() *ConsumerGroupPlugin + func (in *ConsumerGroupPlugin) DeepCopyInto(out *ConsumerGroupPlugin) + type ConsumerGroupRLA struct + Config Configuration + ConsumerGroup *string + Plugin *string + func (in *ConsumerGroupRLA) DeepCopy() *ConsumerGroupRLA + func (in *ConsumerGroupRLA) DeepCopyInto(out *ConsumerGroupRLA) + type ConsumerGroupService service + func (s *ConsumerGroupService) Create(ctx context.Context, consumerGroup *ConsumerGroup) (*ConsumerGroup, error) + func (s *ConsumerGroupService) Delete(ctx context.Context, usernameOrID *string) error + func (s *ConsumerGroupService) Get(ctx context.Context, nameOrID *string) (*ConsumerGroupObject, error) + func (s *ConsumerGroupService) List(ctx context.Context, opt *ListOpt) ([]*ConsumerGroup, *ListOpt, error) + func (s *ConsumerGroupService) ListAll(ctx context.Context) ([]*ConsumerGroup, error) + func (s *ConsumerGroupService) Update(ctx context.Context, consumerGroup *ConsumerGroup) (*ConsumerGroup, error) + func (s *ConsumerGroupService) UpdateRateLimitingAdvancedPlugin(ctx context.Context, nameOrID *string, config map[string]Configuration) (*ConsumerGroupRLA, error) + type ConsumerService service + func (s *ConsumerService) Create(ctx context.Context, consumer *Consumer) (*Consumer, error) + func (s *ConsumerService) Delete(ctx context.Context, usernameOrID *string) error + func (s *ConsumerService) Get(ctx context.Context, usernameOrID *string) (*Consumer, error) + func (s *ConsumerService) GetByCustomID(ctx context.Context, customID *string) (*Consumer, error) + func (s *ConsumerService) List(ctx context.Context, opt *ListOpt) ([]*Consumer, *ListOpt, error) + func (s *ConsumerService) ListAll(ctx context.Context) ([]*Consumer, error) + func (s *ConsumerService) Update(ctx context.Context, consumer *Consumer) (*Consumer, error) + type CustomEntityService service + func (s *CustomEntityService) Create(ctx context.Context, entity custom.Entity) (custom.Entity, error) + func (s *CustomEntityService) Delete(ctx context.Context, entity custom.Entity) error + func (s *CustomEntityService) Get(ctx context.Context, entity custom.Entity) (custom.Entity, error) + func (s *CustomEntityService) List(ctx context.Context, opt *ListOpt, entity custom.Entity) ([]custom.Entity, *ListOpt, error) + func (s *CustomEntityService) ListAll(ctx context.Context, entity custom.Entity) ([]custom.Entity, error) + func (s *CustomEntityService) Update(ctx context.Context, entity custom.Entity) (custom.Entity, error) + type DegraphqlRoute struct + ID *string + Methods []*string + Query *string + Service *Service + URI *string + func (in *DegraphqlRoute) DeepCopy() *DegraphqlRoute + func (in *DegraphqlRoute) DeepCopyInto(out *DegraphqlRoute) + type DegraphqlRouteService service + func (s *DegraphqlRouteService) Create(ctx context.Context, route *DegraphqlRoute) (*DegraphqlRoute, error) + func (s *DegraphqlRouteService) Delete(ctx context.Context, serviceNameOrID *string, ID *string) error + func (s *DegraphqlRouteService) Get(ctx context.Context, serviceNameOrID *string, ID *string) (*DegraphqlRoute, error) + func (s *DegraphqlRouteService) List(ctx context.Context, serviceNameOrID *string, opt *ListOpt) ([]*DegraphqlRoute, *ListOpt, error) + func (s *DegraphqlRouteService) ListAll(ctx context.Context, serviceNameOrID *string) ([]*DegraphqlRoute, error) + func (s *DegraphqlRouteService) Update(ctx context.Context, route *DegraphqlRoute) (*DegraphqlRoute, error) + type Developer struct + CreatedAt *int + CustomID *string + Email *string + ID *string + Meta *string + Password *string + RbacUser *RBACUser + Roles []*string + Status *int + UpdatedAt *int + func (in *Developer) DeepCopy() *Developer + func (in *Developer) DeepCopyInto(out *Developer) + type DeveloperRole struct + Comment *string + CreatedAt *int + ID *string + Name *string + func (in *DeveloperRole) DeepCopy() *DeveloperRole + func (in *DeveloperRole) DeepCopyInto(out *DeveloperRole) + type DeveloperRoleService service + func (s *DeveloperRoleService) Create(ctx context.Context, role *DeveloperRole) (*DeveloperRole, error) + func (s *DeveloperRoleService) Delete(ctx context.Context, RoleOrID *string) error + func (s *DeveloperRoleService) Get(ctx context.Context, nameOrID *string) (*DeveloperRole, error) + func (s *DeveloperRoleService) List(ctx context.Context, opt *ListOpt) ([]*DeveloperRole, *ListOpt, error) + func (s *DeveloperRoleService) ListAll(ctx context.Context) ([]*DeveloperRole, error) + func (s *DeveloperRoleService) Update(ctx context.Context, role *DeveloperRole) (*DeveloperRole, error) + type DeveloperService service + func (s *DeveloperService) Create(ctx context.Context, developer *Developer) (*Developer, error) + func (s *DeveloperService) Delete(ctx context.Context, emailOrID *string) error + func (s *DeveloperService) Get(ctx context.Context, emailOrID *string) (*Developer, error) + func (s *DeveloperService) GetByCustomID(ctx context.Context, customID *string) (*Developer, error) + func (s *DeveloperService) List(ctx context.Context, opt *ListOpt) ([]*Developer, *ListOpt, error) + func (s *DeveloperService) ListAll(ctx context.Context) ([]*Developer, error) + func (s *DeveloperService) Update(ctx context.Context, developer *Developer) (*Developer, error) + type ErrTooManyRequestsDetails struct + RetryAfter time.Duration + type GraphqlRateLimitingCostDecoration struct + AddArguments []*string + AddConstant *float64 + ID *string + MulArguments []*string + MulConstant *float64 + TypePath *string + func (in *GraphqlRateLimitingCostDecoration) DeepCopy() *GraphqlRateLimitingCostDecoration + func (in *GraphqlRateLimitingCostDecoration) DeepCopyInto(out *GraphqlRateLimitingCostDecoration) + type GraphqlRateLimitingCostDecorationService service + func (s *GraphqlRateLimitingCostDecorationService) Create(ctx context.Context, costDeco *GraphqlRateLimitingCostDecoration) (*GraphqlRateLimitingCostDecoration, error) + func (s *GraphqlRateLimitingCostDecorationService) Delete(ctx context.Context, id *string) error + func (s *GraphqlRateLimitingCostDecorationService) Get(ctx context.Context, id *string) (*GraphqlRateLimitingCostDecoration, error) + func (s *GraphqlRateLimitingCostDecorationService) List(ctx context.Context, opt *ListOpt) ([]*GraphqlRateLimitingCostDecoration, *ListOpt, error) + func (s *GraphqlRateLimitingCostDecorationService) ListAll(ctx context.Context) ([]*GraphqlRateLimitingCostDecoration, error) + func (s *GraphqlRateLimitingCostDecorationService) Update(ctx context.Context, costDeco *GraphqlRateLimitingCostDecoration) (*GraphqlRateLimitingCostDecoration, error) + type HMACAuth struct + Consumer *Consumer + CreatedAt *int + ID *string + Secret *string + Tags []*string + Username *string + func (in *HMACAuth) DeepCopy() *HMACAuth + func (in *HMACAuth) DeepCopyInto(out *HMACAuth) + type HMACAuthService service + func (s *HMACAuthService) Create(ctx context.Context, consumerUsernameOrID *string, hmacAuth *HMACAuth) (*HMACAuth, error) + func (s *HMACAuthService) Delete(ctx context.Context, consumerUsernameOrID, usernameOrID *string) error + func (s *HMACAuthService) Get(ctx context.Context, consumerUsernameOrID, usernameOrID *string) (*HMACAuth, error) + func (s *HMACAuthService) List(ctx context.Context, opt *ListOpt) ([]*HMACAuth, *ListOpt, error) + func (s *HMACAuthService) ListAll(ctx context.Context) ([]*HMACAuth, error) + func (s *HMACAuthService) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*HMACAuth, *ListOpt, error) + func (s *HMACAuthService) Update(ctx context.Context, consumerUsernameOrID *string, hmacAuth *HMACAuth) (*HMACAuth, error) + type HealthData struct + Addresses []*HealthDataAddress + DNS *string + Host *string + NodeWeight *int + Port *int + Weight *HealthDataWeight + func (in *HealthData) DeepCopy() *HealthData + func (in *HealthData) DeepCopyInto(out *HealthData) + type HealthDataAddress struct + Health *string + IP *string + Port *int + Weight *int + func (in *HealthDataAddress) DeepCopy() *HealthDataAddress + func (in *HealthDataAddress) DeepCopyInto(out *HealthDataAddress) + type HealthDataWeight struct + Available *int + Total *int + Unavailable *int + func (in *HealthDataWeight) DeepCopy() *HealthDataWeight + func (in *HealthDataWeight) DeepCopyInto(out *HealthDataWeight) + type Healthcheck struct + Active *ActiveHealthcheck + Passive *PassiveHealthcheck + Threshold *float64 + func (in *Healthcheck) DeepCopy() *Healthcheck + func (in *Healthcheck) DeepCopyInto(out *Healthcheck) + type Healthy struct + HTTPStatuses []int + Interval *int + Successes *int + func (in *Healthy) DeepCopy() *Healthy + func (in *Healthy) DeepCopyInto(out *Healthy) + type IDFillable interface + FillID func() error + type Info struct + Configuration *RuntimeConfiguration + Version string + type InfoService service + func (s *InfoService) Get(ctx context.Context) (*Info, error) + type JWTAuth struct + Algorithm *string + Consumer *Consumer + CreatedAt *int + ID *string + Key *string + RSAPublicKey *string + Secret *string + Tags []*string + func (in *JWTAuth) DeepCopy() *JWTAuth + func (in *JWTAuth) DeepCopyInto(out *JWTAuth) + type JWTAuthService service + func (s *JWTAuthService) Create(ctx context.Context, consumerUsernameOrID *string, jwtAuth *JWTAuth) (*JWTAuth, error) + func (s *JWTAuthService) Delete(ctx context.Context, consumerUsernameOrID, keyOrID *string) error + func (s *JWTAuthService) Get(ctx context.Context, consumerUsernameOrID, keyOrID *string) (*JWTAuth, error) + func (s *JWTAuthService) List(ctx context.Context, opt *ListOpt) ([]*JWTAuth, *ListOpt, error) + func (s *JWTAuthService) ListAll(ctx context.Context) ([]*JWTAuth, error) + func (s *JWTAuthService) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*JWTAuth, *ListOpt, error) + func (s *JWTAuthService) Update(ctx context.Context, consumerUsernameOrID *string, jwtAuth *JWTAuth) (*JWTAuth, error) + type Key struct + CreatedAt *int64 + ID *string + JWK *string + KID *string + Name *string + PEM *PEM + Set *KeySet + Tags []*string + UpdatedAt *int64 + func (in *Key) DeepCopy() *Key + func (in *Key) DeepCopyInto(out *Key) + type KeyAuth struct + Consumer *Consumer + CreatedAt *int + ID *string + Key *string + TTL *int + Tags []*string + func (in *KeyAuth) DeepCopy() *KeyAuth + func (in *KeyAuth) DeepCopyInto(out *KeyAuth) + type KeyAuthService service + func (s *KeyAuthService) Create(ctx context.Context, consumerUsernameOrID *string, keyAuth *KeyAuth) (*KeyAuth, error) + func (s *KeyAuthService) Delete(ctx context.Context, consumerUsernameOrID, keyOrID *string) error + func (s *KeyAuthService) Get(ctx context.Context, consumerUsernameOrID, keyOrID *string) (*KeyAuth, error) + func (s *KeyAuthService) List(ctx context.Context, opt *ListOpt) ([]*KeyAuth, *ListOpt, error) + func (s *KeyAuthService) ListAll(ctx context.Context) ([]*KeyAuth, error) + func (s *KeyAuthService) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*KeyAuth, *ListOpt, error) + func (s *KeyAuthService) Update(ctx context.Context, consumerUsernameOrID *string, keyAuth *KeyAuth) (*KeyAuth, error) + type KeyService service + func (s *KeyService) Create(ctx context.Context, key *Key) (*Key, error) + func (s *KeyService) Delete(ctx context.Context, nameOrID *string) error + func (s *KeyService) Get(ctx context.Context, nameOrID *string) (*Key, error) + func (s *KeyService) List(ctx context.Context, opt *ListOpt) ([]*Key, *ListOpt, error) + func (s *KeyService) ListAll(ctx context.Context) ([]*Key, error) + func (s *KeyService) Update(ctx context.Context, key *Key) (*Key, error) + type KeySet struct + CreatedAt *int64 + ID *string + Name *string + Tags []*string + UpdatedAt *int64 + func (in *KeySet) DeepCopy() *KeySet + func (in *KeySet) DeepCopyInto(out *KeySet) + type KeySetService service + func (s *KeySetService) Create(ctx context.Context, keySet *KeySet) (*KeySet, error) + func (s *KeySetService) Delete(ctx context.Context, nameOrID *string) error + func (s *KeySetService) Get(ctx context.Context, nameOrID *string) (*KeySet, error) + func (s *KeySetService) List(ctx context.Context, opt *ListOpt) ([]*KeySet, *ListOpt, error) + func (s *KeySetService) ListAll(ctx context.Context) ([]*KeySet, error) + func (s *KeySetService) Update(ctx context.Context, keySet *KeySet) (*KeySet, error) + type License struct + CreatedAt *int64 + ID *string + Payload *string + UpdatedAt *int64 + func (c *License) FriendlyName() string + func (in *License) DeepCopy() *License + func (in *License) DeepCopyInto(out *License) + type LicenseService service + func (s *LicenseService) Create(ctx context.Context, license *License) (*License, error) + func (s *LicenseService) Delete(ctx context.Context, ID *string) error + func (s *LicenseService) Get(ctx context.Context, ID *string) (*License, error) + func (s *LicenseService) List(ctx context.Context, opt *ListOpt) ([]*License, *ListOpt, error) + func (s *LicenseService) ListAll(ctx context.Context) ([]*License, error) + func (s *LicenseService) Update(ctx context.Context, license *License) (*License, error) + type ListOpt struct + MatchAllTags bool + Offset string + Size int + Tags []*string + type MTLSAuth struct + CACertificate *CACertificate + Consumer *Consumer + CreatedAt *int + ID *string + SubjectName *string + Tags []*string + func (in *MTLSAuth) DeepCopy() *MTLSAuth + func (in *MTLSAuth) DeepCopyInto(out *MTLSAuth) + type MTLSAuthService service + func (s *MTLSAuthService) Create(ctx context.Context, consumerUsernameOrID *string, mtlsAuth *MTLSAuth) (*MTLSAuth, error) + func (s *MTLSAuthService) Delete(ctx context.Context, consumerUsernameOrID, keyOrID *string) error + func (s *MTLSAuthService) Get(ctx context.Context, consumerUsernameOrID, keyOrID *string) (*MTLSAuth, error) + func (s *MTLSAuthService) List(ctx context.Context, opt *ListOpt) ([]*MTLSAuth, *ListOpt, error) + func (s *MTLSAuthService) ListAll(ctx context.Context) ([]*MTLSAuth, error) + func (s *MTLSAuthService) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*MTLSAuth, *ListOpt, error) + func (s *MTLSAuthService) Update(ctx context.Context, consumerUsernameOrID *string, mtlsAuth *MTLSAuth) (*MTLSAuth, error) + type Oauth2Credential struct + ClientID *string + ClientSecret *string + ClientType *string + Consumer *Consumer + CreatedAt *int + HashSecret *bool + ID *string + Name *string + RedirectURIs []*string + Tags []*string + func (in *Oauth2Credential) DeepCopy() *Oauth2Credential + func (in *Oauth2Credential) DeepCopyInto(out *Oauth2Credential) + type Oauth2Service service + func (s *Oauth2Service) Create(ctx context.Context, consumerUsernameOrID *string, ...) (*Oauth2Credential, error) + func (s *Oauth2Service) Delete(ctx context.Context, consumerUsernameOrID, clientIDorID *string) error + func (s *Oauth2Service) Get(ctx context.Context, consumerUsernameOrID, clientIDorID *string) (*Oauth2Credential, error) + func (s *Oauth2Service) List(ctx context.Context, opt *ListOpt) ([]*Oauth2Credential, *ListOpt, error) + func (s *Oauth2Service) ListAll(ctx context.Context) ([]*Oauth2Credential, error) + func (s *Oauth2Service) ListForConsumer(ctx context.Context, consumerUsernameOrID *string, opt *ListOpt) ([]*Oauth2Credential, *ListOpt, error) + func (s *Oauth2Service) Update(ctx context.Context, consumerUsernameOrID *string, ...) (*Oauth2Credential, error) + type PEM struct + PrivateKey *string + PublicKey *string + func (in *PEM) DeepCopy() *PEM + func (in *PEM) DeepCopyInto(out *PEM) + type PassiveHealthcheck struct + Healthy *Healthy + Type *string + Unhealthy *Unhealthy + func (in *PassiveHealthcheck) DeepCopy() *PassiveHealthcheck + func (in *PassiveHealthcheck) DeepCopyInto(out *PassiveHealthcheck) + type Plugin struct + Config Configuration + Consumer *Consumer + CreatedAt *int + Enabled *bool + ID *string + InstanceName *string + Name *string + Ordering *PluginOrdering + Protocols []*string + Route *Route + RunOn *string + Service *Service + Tags []*string + func (in *Plugin) DeepCopy() *Plugin + func (in *Plugin) DeepCopyInto(out *Plugin) + func (p *Plugin) FriendlyName() string + type PluginOrdering struct + After PluginOrderingPhase + Before PluginOrderingPhase + func (in *PluginOrdering) DeepCopy() *PluginOrdering + func (in *PluginOrdering) DeepCopyInto(out *PluginOrdering) + type PluginOrderingPhase map[string][]string + func (in PluginOrderingPhase) DeepCopy() PluginOrderingPhase + func (in PluginOrderingPhase) DeepCopyInto(out *PluginOrderingPhase) + type PluginService service + func (s *PluginService) Create(ctx context.Context, plugin *Plugin) (*Plugin, error) + func (s *PluginService) CreateForRoute(ctx context.Context, routeIDorName *string, plugin *Plugin) (*Plugin, error) + func (s *PluginService) CreateForService(ctx context.Context, serviceIDorName *string, plugin *Plugin) (*Plugin, error) + func (s *PluginService) Delete(ctx context.Context, pluginID *string) error + func (s *PluginService) DeleteForRoute(ctx context.Context, routeIDorName *string, pluginID *string) error + func (s *PluginService) DeleteForService(ctx context.Context, serviceIDorName *string, pluginID *string) error + func (s *PluginService) Get(ctx context.Context, usernameOrID *string) (*Plugin, error) + func (s *PluginService) GetFullSchema(ctx context.Context, pluginName *string) (Schema, error) + func (s *PluginService) GetSchema(ctx context.Context, pluginName *string) (Schema, error) + func (s *PluginService) List(ctx context.Context, opt *ListOpt) ([]*Plugin, *ListOpt, error) + func (s *PluginService) ListAll(ctx context.Context) ([]*Plugin, error) + func (s *PluginService) ListAllForConsumer(ctx context.Context, consumerIDorName *string) ([]*Plugin, error) + func (s *PluginService) ListAllForRoute(ctx context.Context, routeID *string) ([]*Plugin, error) + func (s *PluginService) ListAllForService(ctx context.Context, serviceIDorName *string) ([]*Plugin, error) + func (s *PluginService) Update(ctx context.Context, plugin *Plugin) (*Plugin, error) + func (s *PluginService) UpdateForRoute(ctx context.Context, routeIDorName *string, plugin *Plugin) (*Plugin, error) + func (s *PluginService) UpdateForService(ctx context.Context, serviceIDorName *string, plugin *Plugin) (*Plugin, error) + func (s *PluginService) Validate(ctx context.Context, plugin *Plugin) (bool, string, error) + type ProxyListener struct + Backlog bool + Bind bool + Deferred bool + HTTP2 bool + IP string + Listener string + Port int + ProxyProtocol bool + ReusePort bool + SSL bool + type RBACEndpointPermission struct + Actions []*string + Comment *string + CreatedAt *int + Endpoint *string + Negative *bool + Role *RBACRole + Workspace *string + func (e *RBACEndpointPermission) FriendlyName() string + func (e *RBACEndpointPermission) MarshalJSON() ([]byte, error) + func (in *RBACEndpointPermission) DeepCopy() *RBACEndpointPermission + func (in *RBACEndpointPermission) DeepCopyInto(out *RBACEndpointPermission) + type RBACEndpointPermissionService service + func (s *RBACEndpointPermissionService) Create(ctx context.Context, ep *RBACEndpointPermission) (*RBACEndpointPermission, error) + func (s *RBACEndpointPermissionService) Delete(ctx context.Context, roleNameOrID *string, workspaceNameOrID *string, ...) error + func (s *RBACEndpointPermissionService) Get(ctx context.Context, roleNameOrID *string, workspaceNameOrID *string, ...) (*RBACEndpointPermission, error) + func (s *RBACEndpointPermissionService) ListAllForRole(ctx context.Context, roleNameOrID *string) ([]*RBACEndpointPermission, error) + func (s *RBACEndpointPermissionService) Update(ctx context.Context, ep *RBACEndpointPermission) (*RBACEndpointPermission, error) + type RBACEntityPermission struct + Actions []*string + Comment *string + CreatedAt *int + EntityID *string + EntityType *string + Negative *bool + Role *RBACRole + func (e *RBACEntityPermission) MarshalJSON() ([]byte, error) + func (in *RBACEntityPermission) DeepCopy() *RBACEntityPermission + func (in *RBACEntityPermission) DeepCopyInto(out *RBACEntityPermission) + type RBACEntityPermissionService service + func (s *RBACEntityPermissionService) Create(ctx context.Context, ep *RBACEntityPermission) (*RBACEntityPermission, error) + func (s *RBACEntityPermissionService) Delete(ctx context.Context, roleNameOrID *string, entityID *string) error + func (s *RBACEntityPermissionService) Get(ctx context.Context, roleNameOrID *string, entityName *string) (*RBACEntityPermission, error) + func (s *RBACEntityPermissionService) ListAllForRole(ctx context.Context, roleNameOrID *string) ([]*RBACEntityPermission, error) + func (s *RBACEntityPermissionService) Update(ctx context.Context, ep *RBACEntityPermission) (*RBACEntityPermission, error) + type RBACPermissionsList struct + Endpoints map[string]interface{} + Entities map[string]interface{} + type RBACRole struct + Comment *string + CreatedAt *int + ID *string + IsDefault *bool + Name *string + func (in *RBACRole) DeepCopy() *RBACRole + func (in *RBACRole) DeepCopyInto(out *RBACRole) + func (r *RBACRole) FriendlyName() string + type RBACRoleService service + func (s *RBACRoleService) Create(ctx context.Context, role *RBACRole) (*RBACRole, error) + func (s *RBACRoleService) Delete(ctx context.Context, RoleOrID *string) error + func (s *RBACRoleService) Get(ctx context.Context, nameOrID *string) (*RBACRole, error) + func (s *RBACRoleService) List(ctx context.Context, opt *ListOpt) ([]*RBACRole, *ListOpt, error) + func (s *RBACRoleService) ListAll(ctx context.Context) ([]*RBACRole, error) + func (s *RBACRoleService) Update(ctx context.Context, role *RBACRole) (*RBACRole, error) + type RBACUser struct + Comment *string + CreatedAt *int + Enabled *bool + ID *string + Name *string + UserToken *string + UserTokenIdent *string + func (in *RBACUser) DeepCopy() *RBACUser + func (in *RBACUser) DeepCopyInto(out *RBACUser) + type RBACUserService service + func (s *RBACUserService) AddRoles(ctx context.Context, nameOrID *string, roles []*RBACRole) ([]*RBACRole, error) + func (s *RBACUserService) Create(ctx context.Context, user *RBACUser) (*RBACUser, error) + func (s *RBACUserService) Delete(ctx context.Context, userOrID *string) error + func (s *RBACUserService) DeleteRoles(ctx context.Context, nameOrID *string, roles []*RBACRole) error + func (s *RBACUserService) Get(ctx context.Context, nameOrID *string) (*RBACUser, error) + func (s *RBACUserService) List(ctx context.Context, opt *ListOpt) ([]*RBACUser, *ListOpt, error) + func (s *RBACUserService) ListAll(ctx context.Context) ([]*RBACUser, error) + func (s *RBACUserService) ListPermissions(ctx context.Context, nameOrID *string) (*RBACPermissionsList, error) + func (s *RBACUserService) ListRoles(ctx context.Context, nameOrID *string) ([]*RBACRole, error) + func (s *RBACUserService) Update(ctx context.Context, user *RBACUser) (*RBACUser, error) + type Range func(Version) bool + func MustNewRange(rangeStr string) Range + func NewRange(rangeStr string) (Range, error) + type RequiredFeatures struct + Portal bool + RBAC bool + type Response struct + type Route struct + CreatedAt *int + Destinations []*CIDRPort + Expression *string + HTTPSRedirectStatusCode *int + Headers map[string][]string + Hosts []*string + ID *string + Methods []*string + Name *string + PathHandling *string + Paths []*string + PreserveHost *bool + Priority *int + Protocols []*string + RegexPriority *int + RequestBuffering *bool + ResponseBuffering *bool + SNIs []*string + Service *Service + Sources []*CIDRPort + StripPath *bool + Tags []*string + UpdatedAt *int + func (in *Route) DeepCopy() *Route + func (in *Route) DeepCopyInto(out *Route) + func (r *Route) FillID() error + func (r *Route) FriendlyName() string + type RouteService service + func (s *RouteService) Create(ctx context.Context, route *Route) (*Route, error) + func (s *RouteService) CreateInService(ctx context.Context, serviceID *string, route *Route) (*Route, error) + func (s *RouteService) Delete(ctx context.Context, nameOrID *string) error + func (s *RouteService) Get(ctx context.Context, nameOrID *string) (*Route, error) + func (s *RouteService) List(ctx context.Context, opt *ListOpt) ([]*Route, *ListOpt, error) + func (s *RouteService) ListAll(ctx context.Context) ([]*Route, error) + func (s *RouteService) ListForService(ctx context.Context, serviceNameOrID *string, opt *ListOpt) ([]*Route, *ListOpt, error) + func (s *RouteService) Update(ctx context.Context, route *Route) (*Route, error) + type RuntimeConfiguration struct + Database string + Portal bool + RBAC string + func (r *RuntimeConfiguration) IsInMemory() bool + func (r *RuntimeConfiguration) IsRBACEnabled() bool + type SNI struct + Certificate *Certificate + CreatedAt *int64 + ID *string + Name *string + Tags []*string + func (in *SNI) DeepCopy() *SNI + func (in *SNI) DeepCopyInto(out *SNI) + func (s *SNI) FriendlyName() string + type SNIService service + func (s *SNIService) Create(ctx context.Context, sni *SNI) (*SNI, error) + func (s *SNIService) Delete(ctx context.Context, usernameOrID *string) error + func (s *SNIService) Get(ctx context.Context, usernameOrID *string) (*SNI, error) + func (s *SNIService) List(ctx context.Context, opt *ListOpt) ([]*SNI, *ListOpt, error) + func (s *SNIService) ListAll(ctx context.Context) ([]*SNI, error) + func (s *SNIService) ListForCertificate(ctx context.Context, certificateID *string, opt *ListOpt) ([]*SNI, *ListOpt, error) + func (s *SNIService) Update(ctx context.Context, sni *SNI) (*SNI, error) + type Schema map[string]interface + type SchemaService service + func (s *SchemaService) Get(ctx context.Context, entity string) (Schema, error) + type Service struct + CACertificates []*string + ClientCertificate *Certificate + ConnectTimeout *int + CreatedAt *int + Enabled *bool + Host *string + ID *string + Name *string + Path *string + Port *int + Protocol *string + ReadTimeout *int + Retries *int + TLSVerify *bool + TLSVerifyDepth *int + Tags []*string + URL *string + UpdatedAt *int + WriteTimeout *int + func (in *Service) DeepCopy() *Service + func (in *Service) DeepCopyInto(out *Service) + func (s *Service) FillID() error + func (s *Service) FriendlyName() string + type Status struct + ConfigurationHash string + Database struct{ ... } + Server struct{ ... } + type StreamListener struct + Backlog bool + Bind bool + IP string + Listener string + Port int + ProxyProtocol bool + ReusePort bool + SSL bool + UDP bool + type Svcservice service + func (s *Svcservice) Create(ctx context.Context, service *Service) (*Service, error) + func (s *Svcservice) Delete(ctx context.Context, nameOrID *string) error + func (s *Svcservice) Get(ctx context.Context, nameOrID *string) (*Service, error) + func (s *Svcservice) GetForRoute(ctx context.Context, routeID *string) (*Service, error) + func (s *Svcservice) List(ctx context.Context, opt *ListOpt) ([]*Service, *ListOpt, error) + func (s *Svcservice) ListAll(ctx context.Context) ([]*Service, error) + func (s *Svcservice) Update(ctx context.Context, service *Service) (*Service, error) + type TagService service + func (s *TagService) Exists(ctx context.Context) (bool, error) + type Target struct + CreatedAt *float64 + ID *string + Tags []*string + Target *string + Upstream *Upstream + Weight *int + func (in *Target) DeepCopy() *Target + func (in *Target) DeepCopyInto(out *Target) + func (t *Target) FriendlyName() string + type TargetService service + func (s *TargetService) Create(ctx context.Context, upstreamNameOrID *string, target *Target) (*Target, error) + func (s *TargetService) Delete(ctx context.Context, upstreamNameOrID *string, targetOrID *string) error + func (s *TargetService) List(ctx context.Context, upstreamNameOrID *string, opt *ListOpt) ([]*Target, *ListOpt, error) + func (s *TargetService) ListAll(ctx context.Context, upstreamNameOrID *string) ([]*Target, error) + func (s *TargetService) MarkHealthy(ctx context.Context, upstreamNameOrID *string, target *Target) error + func (s *TargetService) MarkUnhealthy(ctx context.Context, upstreamNameOrID *string, target *Target) error + type Unhealthy struct + HTTPFailures *int + HTTPStatuses []int + Interval *int + TCPFailures *int + Timeouts *int + func (in *Unhealthy) DeepCopy() *Unhealthy + func (in *Unhealthy) DeepCopyInto(out *Unhealthy) + type Upstream struct + Algorithm *string + ClientCertificate *Certificate + CreatedAt *int64 + HashFallback *string + HashFallbackHeader *string + HashFallbackQueryArg *string + HashFallbackURICapture *string + HashOn *string + HashOnCookie *string + HashOnCookiePath *string + HashOnHeader *string + HashOnQueryArg *string + HashOnURICapture *string + Healthchecks *Healthcheck + HostHeader *string + ID *string + Name *string + Slots *int + Tags []*string + UseSrvName *bool + func (in *Upstream) DeepCopy() *Upstream + func (in *Upstream) DeepCopyInto(out *Upstream) + func (u *Upstream) FriendlyName() string + type UpstreamNodeHealth struct + CreatedAt *float64 + Data *HealthData + Health *string + ID *string + Tags []*string + Target *string + Upstream *Upstream + Weight *int + func (in *UpstreamNodeHealth) DeepCopy() *UpstreamNodeHealth + func (in *UpstreamNodeHealth) DeepCopyInto(out *UpstreamNodeHealth) + type UpstreamNodeHealthService service + func (s *UpstreamNodeHealthService) List(ctx context.Context, upstreamNameOrID *string, opt *ListOpt) ([]*UpstreamNodeHealth, *ListOpt, error) + func (s *UpstreamNodeHealthService) ListAll(ctx context.Context, upstreamNameOrID *string) ([]*UpstreamNodeHealth, error) + type UpstreamService service + func (s *UpstreamService) Create(ctx context.Context, upstream *Upstream) (*Upstream, error) + func (s *UpstreamService) Delete(ctx context.Context, upstreamNameOrID *string) error + func (s *UpstreamService) Get(ctx context.Context, upstreamNameOrID *string) (*Upstream, error) + func (s *UpstreamService) List(ctx context.Context, opt *ListOpt) ([]*Upstream, *ListOpt, error) + func (s *UpstreamService) ListAll(ctx context.Context) ([]*Upstream, error) + func (s *UpstreamService) Update(ctx context.Context, upstream *Upstream) (*Upstream, error) + type Vault struct + Config Configuration + CreatedAt *int64 + Description *string + ID *string + Name *string + Prefix *string + Tags []*string + UpdatedAt *int64 + func (in *Vault) DeepCopy() *Vault + func (in *Vault) DeepCopyInto(out *Vault) + func (s *Vault) FriendlyName() string + type VaultService service + func (s *VaultService) Create(ctx context.Context, vault *Vault) (*Vault, error) + func (s *VaultService) Delete(ctx context.Context, prefixOrID *string) error + func (s *VaultService) Get(ctx context.Context, prefixOrID *string) (*Vault, error) + func (s *VaultService) List(ctx context.Context, opt *ListOpt) ([]*Vault, *ListOpt, error) + func (s *VaultService) ListAll(ctx context.Context) ([]*Vault, error) + func (s *VaultService) Update(ctx context.Context, vault *Vault) (*Vault, error) + type Version struct + func MustNewVersion(versionStr string) Version + func NewVersion(versionStr string) (Version, error) + func ParseSemanticVersion(v string) (Version, error) + func (v Version) Build() string + func (v Version) IsKongGatewayEnterprise() bool + func (v Version) Major() uint64 + func (v Version) Minor() uint64 + func (v Version) Patch() uint64 + func (v Version) PreRelease() string + func (v Version) Revision() (uint64, error) + func (v Version) String() string + type Workspace struct + Comment *string + Config map[string]interface{} + CreatedAt *int + ID *string + Meta map[string]interface{} + Name *string + type WorkspaceEntity struct + EntityID *string + EntityType *string + UniqueFieldName *string + UniqueFieldValue *string + WorkspaceID *string + WorkspaceName *string + func (in *WorkspaceEntity) DeepCopy() *WorkspaceEntity + func (in *WorkspaceEntity) DeepCopyInto(out *WorkspaceEntity) + type WorkspaceService service + func (s *WorkspaceService) AddEntities(ctx context.Context, workspaceNameOrID *string, entityIds *string) (*[]map[string]interface{}, error) + func (s *WorkspaceService) Create(ctx context.Context, workspace *Workspace) (*Workspace, error) + func (s *WorkspaceService) Delete(ctx context.Context, WorkspaceOrID *string) error + func (s *WorkspaceService) DeleteEntities(ctx context.Context, workspaceNameOrID *string, entityIds *string) error + func (s *WorkspaceService) Exists(ctx context.Context, nameOrID *string) (bool, error) + func (s *WorkspaceService) ExistsByName(ctx context.Context, name *string) (bool, error) + func (s *WorkspaceService) Get(ctx context.Context, nameOrID *string) (*Workspace, error) + func (s *WorkspaceService) List(ctx context.Context, opt *ListOpt) ([]*Workspace, *ListOpt, error) + func (s *WorkspaceService) ListAll(ctx context.Context) ([]*Workspace, error) + func (s *WorkspaceService) ListEntities(ctx context.Context, workspaceNameOrID *string) ([]*WorkspaceEntity, error) + func (s *WorkspaceService) Update(ctx context.Context, workspace *Workspace) (*Workspace, error)