Documentation
¶
Index ¶
- Variables
- func Bool(b bool) *bool
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int64(i int64) *int64
- func Pointer[T any](v T) *T
- func String(s string) *string
- type ACLs
- func (s *ACLs) CreateACLWithConsumer(ctx context.Context, request operations.CreateACLWithConsumerRequest, ...) (*operations.CreateACLWithConsumerResponse, error)
- func (s *ACLs) DeleteACLWithConsumer(ctx context.Context, request operations.DeleteACLWithConsumerRequest, ...) (*operations.DeleteACLWithConsumerResponse, error)
- func (s *ACLs) GetACL(ctx context.Context, aclID string, controlPlaneID string, ...) (*operations.GetACLResponse, error)
- func (s *ACLs) GetACLWithConsumer(ctx context.Context, request operations.GetACLWithConsumerRequest, ...) (*operations.GetACLWithConsumerResponse, error)
- func (s *ACLs) ListACL(ctx context.Context, request operations.ListACLRequest, ...) (*operations.ListACLResponse, error)
- func (s *ACLs) ListACLWithConsumer(ctx context.Context, request operations.ListACLWithConsumerRequest, ...) (*operations.ListACLWithConsumerResponse, error)
- func (s *ACLs) UpsertACLWithConsumer(ctx context.Context, request operations.UpsertACLWithConsumerRequest, ...) (*operations.UpsertACLWithConsumerResponse, error)
- type APIKeys
- func (s *APIKeys) CreateKeyAuthWithConsumer(ctx context.Context, request operations.CreateKeyAuthWithConsumerRequest, ...) (*operations.CreateKeyAuthWithConsumerResponse, error)
- func (s *APIKeys) DeleteKeyAuthWithConsumer(ctx context.Context, request operations.DeleteKeyAuthWithConsumerRequest, ...) (*operations.DeleteKeyAuthWithConsumerResponse, error)
- func (s *APIKeys) GetKeyAuth(ctx context.Context, keyAuthID string, controlPlaneID string, ...) (*operations.GetKeyAuthResponse, error)
- func (s *APIKeys) GetKeyAuthWithConsumer(ctx context.Context, request operations.GetKeyAuthWithConsumerRequest, ...) (*operations.GetKeyAuthWithConsumerResponse, error)
- func (s *APIKeys) ListKeyAuth(ctx context.Context, request operations.ListKeyAuthRequest, ...) (*operations.ListKeyAuthResponse, error)
- func (s *APIKeys) ListKeyAuthWithConsumer(ctx context.Context, request operations.ListKeyAuthWithConsumerRequest, ...) (*operations.ListKeyAuthWithConsumerResponse, error)
- func (s *APIKeys) UpsertKeyAuthWithConsumer(ctx context.Context, request operations.UpsertKeyAuthWithConsumerRequest, ...) (*operations.UpsertKeyAuthWithConsumerResponse, error)
- type AuthSettings
- func (s *AuthSettings) CreateIdentityProvider(ctx context.Context, request components.CreateIdentityProvider, ...) (*operations.CreateIdentityProviderResponse, error)
- func (s *AuthSettings) DeleteIdentityProvider(ctx context.Context, id string, opts ...operations.Option) (*operations.DeleteIdentityProviderResponse, error)
- func (s *AuthSettings) GetAuthenticationSettings(ctx context.Context, opts ...operations.Option) (*operations.GetAuthenticationSettingsResponse, error)
- func (s *AuthSettings) GetIdentityProvider(ctx context.Context, id string, opts ...operations.Option) (*operations.GetIdentityProviderResponse, error)
- func (s *AuthSettings) GetIdentityProviders(ctx context.Context, filter *operations.Filter, opts ...operations.Option) (*operations.GetIdentityProvidersResponse, error)
- func (s *AuthSettings) GetIdpConfiguration(ctx context.Context, opts ...operations.Option) (*operations.GetIdpConfigurationResponse, error)
- func (s *AuthSettings) GetIdpTeamMappings(ctx context.Context, pageSize *int64, pageNumber *int64, ...) (*operations.GetIdpTeamMappingsResponse, error)
- func (s *AuthSettings) GetTeamGroupMappings(ctx context.Context, pageSize *int64, pageNumber *int64, ...) (*operations.GetTeamGroupMappingsResponse, error)
- func (s *AuthSettings) PatchTeamGroupMappings(ctx context.Context, request *components.PatchTeamGroupMappings, ...) (*operations.PatchTeamGroupMappingsResponse, error)
- func (s *AuthSettings) UpdateAuthenticationSettings(ctx context.Context, request *components.UpdateAuthenticationSettings, ...) (*operations.UpdateAuthenticationSettingsResponse, error)
- func (s *AuthSettings) UpdateIdentityProvider(ctx context.Context, id string, ...) (*operations.UpdateIdentityProviderResponse, error)
- func (s *AuthSettings) UpdateIdpConfiguration(ctx context.Context, request *components.UpdateIDPConfiguration, ...) (*operations.UpdateIdpConfigurationResponse, error)
- func (s *AuthSettings) UpdateIdpTeamMappings(ctx context.Context, request *components.UpdateTeamMappings, ...) (*operations.UpdateIdpTeamMappingsResponse, error)
- type Authentication
- type BasicAuthCredentials
- func (s *BasicAuthCredentials) CreateBasicAuthWithConsumer(ctx context.Context, request operations.CreateBasicAuthWithConsumerRequest, ...) (*operations.CreateBasicAuthWithConsumerResponse, error)
- func (s *BasicAuthCredentials) DeleteBasicAuthWithConsumer(ctx context.Context, request operations.DeleteBasicAuthWithConsumerRequest, ...) (*operations.DeleteBasicAuthWithConsumerResponse, error)
- func (s *BasicAuthCredentials) GetBasicAuth(ctx context.Context, basicAuthID string, controlPlaneID string, ...) (*operations.GetBasicAuthResponse, error)
- func (s *BasicAuthCredentials) GetBasicAuthWithConsumer(ctx context.Context, request operations.GetBasicAuthWithConsumerRequest, ...) (*operations.GetBasicAuthWithConsumerResponse, error)
- func (s *BasicAuthCredentials) ListBasicAuth(ctx context.Context, request operations.ListBasicAuthRequest, ...) (*operations.ListBasicAuthResponse, error)
- func (s *BasicAuthCredentials) ListBasicAuthWithConsumer(ctx context.Context, request operations.ListBasicAuthWithConsumerRequest, ...) (*operations.ListBasicAuthWithConsumerResponse, error)
- func (s *BasicAuthCredentials) UpsertBasicAuthWithConsumer(ctx context.Context, request operations.UpsertBasicAuthWithConsumerRequest, ...) (*operations.UpsertBasicAuthWithConsumerResponse, error)
- type CACertificates
- func (s *CACertificates) CreateCaCertificate(ctx context.Context, controlPlaneID string, ...) (*operations.CreateCaCertificateResponse, error)
- func (s *CACertificates) DeleteCaCertificate(ctx context.Context, controlPlaneID string, caCertificateID string, ...) (*operations.DeleteCaCertificateResponse, error)
- func (s *CACertificates) GetCaCertificate(ctx context.Context, caCertificateID string, controlPlaneID string, ...) (*operations.GetCaCertificateResponse, error)
- func (s *CACertificates) ListCaCertificate(ctx context.Context, request operations.ListCaCertificateRequest, ...) (*operations.ListCaCertificateResponse, error)
- func (s *CACertificates) UpsertCaCertificate(ctx context.Context, request operations.UpsertCaCertificateRequest, ...) (*operations.UpsertCaCertificateResponse, error)
- type Certificates
- func (s *Certificates) CreateCertificate(ctx context.Context, controlPlaneID string, ...) (*operations.CreateCertificateResponse, error)
- func (s *Certificates) DeleteCertificate(ctx context.Context, controlPlaneID string, certificateID string, ...) (*operations.DeleteCertificateResponse, error)
- func (s *Certificates) GetCertificate(ctx context.Context, certificateID string, controlPlaneID string, ...) (*operations.GetCertificateResponse, error)
- func (s *Certificates) ListCertificate(ctx context.Context, request operations.ListCertificateRequest, ...) (*operations.ListCertificateResponse, error)
- func (s *Certificates) UpsertCertificate(ctx context.Context, request operations.UpsertCertificateRequest, ...) (*operations.UpsertCertificateResponse, error)
- type CloudGateways
- func (s *CloudGateways) CreateConfiguration(ctx context.Context, request components.CreateConfigurationRequest, ...) (*operations.CreateConfigurationResponse, error)
- func (s *CloudGateways) CreateCustomDomains(ctx context.Context, request components.CreateCustomDomainRequest, ...) (*operations.CreateCustomDomainsResponse, error)
- func (s *CloudGateways) CreateNetwork(ctx context.Context, request components.CreateNetworkRequest, ...) (*operations.CreateNetworkResponse, error)
- func (s *CloudGateways) CreateTransitGateway(ctx context.Context, networkID string, ...) (*operations.CreateTransitGatewayResponse, error)
- func (s *CloudGateways) DeleteCustomDomain(ctx context.Context, customDomainID string, opts ...operations.Option) (*operations.DeleteCustomDomainResponse, error)
- func (s *CloudGateways) DeleteNetwork(ctx context.Context, networkID string, opts ...operations.Option) (*operations.DeleteNetworkResponse, error)
- func (s *CloudGateways) DeleteTransitGateway(ctx context.Context, networkID string, transitGatewayID string, ...) (*operations.DeleteTransitGatewayResponse, error)
- func (s *CloudGateways) GetAvailabilityJSON(ctx context.Context, opts ...operations.Option) (*operations.GetAvailabilityJSONResponse, error)
- func (s *CloudGateways) GetConfiguration(ctx context.Context, configurationID string, opts ...operations.Option) (*operations.GetConfigurationResponse, error)
- func (s *CloudGateways) GetCustomDomain(ctx context.Context, customDomainID string, opts ...operations.Option) (*operations.GetCustomDomainResponse, error)
- func (s *CloudGateways) GetCustomDomainOnlineStatus(ctx context.Context, customDomainID string, opts ...operations.Option) (*operations.GetCustomDomainOnlineStatusResponse, error)
- func (s *CloudGateways) GetNetwork(ctx context.Context, networkID string, opts ...operations.Option) (*operations.GetNetworkResponse, error)
- func (s *CloudGateways) GetProviderAccount(ctx context.Context, providerAccountID string, opts ...operations.Option) (*operations.GetProviderAccountResponse, error)
- func (s *CloudGateways) GetResourceConfiguration(ctx context.Context, resourceConfigurationID string, opts ...operations.Option) (*operations.GetResourceConfigurationResponse, error)
- func (s *CloudGateways) GetResourceQuota(ctx context.Context, resourceQuotaID string, opts ...operations.Option) (*operations.GetResourceQuotaResponse, error)
- func (s *CloudGateways) GetTransitGateway(ctx context.Context, networkID string, transitGatewayID string, ...) (*operations.GetTransitGatewayResponse, error)
- func (s *CloudGateways) ListConfigurations(ctx context.Context, request operations.ListConfigurationsRequest, ...) (*operations.ListConfigurationsResponse, error)
- func (s *CloudGateways) ListCustomDomains(ctx context.Context, request operations.ListCustomDomainsRequest, ...) (*operations.ListCustomDomainsResponse, error)
- func (s *CloudGateways) ListDefaultResourceConfigurations(ctx context.Context, pageSize *int64, pageNumber *int64, ...) (*operations.ListDefaultResourceConfigurationsResponse, error)
- func (s *CloudGateways) ListDefaultResourceQuotas(ctx context.Context, pageSize *int64, pageNumber *int64, ...) (*operations.ListDefaultResourceQuotasResponse, error)
- func (s *CloudGateways) ListNetworkConfigurations(ctx context.Context, request operations.ListNetworkConfigurationsRequest, ...) (*operations.ListNetworkConfigurationsResponse, error)
- func (s *CloudGateways) ListNetworks(ctx context.Context, request operations.ListNetworksRequest, ...) (*operations.ListNetworksResponse, error)
- func (s *CloudGateways) ListProviderAccounts(ctx context.Context, request operations.ListProviderAccountsRequest, ...) (*operations.ListProviderAccountsResponse, error)
- func (s *CloudGateways) ListResourceConfigurations(ctx context.Context, pageSize *int64, pageNumber *int64, ...) (*operations.ListResourceConfigurationsResponse, error)
- func (s *CloudGateways) ListResourceQuotas(ctx context.Context, pageSize *int64, pageNumber *int64, ...) (*operations.ListResourceQuotasResponse, error)
- func (s *CloudGateways) ListTransitGateways(ctx context.Context, request operations.ListTransitGatewaysRequest, ...) (*operations.ListTransitGatewaysResponse, error)
- func (s *CloudGateways) UpdateNetwork(ctx context.Context, networkID string, ...) (*operations.UpdateNetworkResponse, error)
- type ConfigStoreSecrets
- func (s *ConfigStoreSecrets) CreateConfigStoreSecret(ctx context.Context, request operations.CreateConfigStoreSecretRequest, ...) (*operations.CreateConfigStoreSecretResponse, error)
- func (s *ConfigStoreSecrets) DeleteConfigStoreSecret(ctx context.Context, request operations.DeleteConfigStoreSecretRequest, ...) (*operations.DeleteConfigStoreSecretResponse, error)
- func (s *ConfigStoreSecrets) GetConfigStoreSecret(ctx context.Context, request operations.GetConfigStoreSecretRequest, ...) (*operations.GetConfigStoreSecretResponse, error)
- func (s *ConfigStoreSecrets) ListConfigStoreSecrets(ctx context.Context, request operations.ListConfigStoreSecretsRequest, ...) (*operations.ListConfigStoreSecretsResponse, error)
- func (s *ConfigStoreSecrets) UpdateConfigStoreSecret(ctx context.Context, request operations.UpdateConfigStoreSecretRequest, ...) (*operations.UpdateConfigStoreSecretResponse, error)
- type ConfigStores
- func (s *ConfigStores) CreateConfigStore(ctx context.Context, controlPlaneID string, ...) (*operations.CreateConfigStoreResponse, error)
- func (s *ConfigStores) DeleteConfigStore(ctx context.Context, request operations.DeleteConfigStoreRequest, ...) (*operations.DeleteConfigStoreResponse, error)
- func (s *ConfigStores) GetConfigStore(ctx context.Context, controlPlaneID string, configStoreID string, ...) (*operations.GetConfigStoreResponse, error)
- func (s *ConfigStores) ListConfigStores(ctx context.Context, request operations.ListConfigStoresRequest, ...) (*operations.ListConfigStoresResponse, error)
- func (s *ConfigStores) UpdateConfigStore(ctx context.Context, request operations.UpdateConfigStoreRequest, ...) (*operations.UpdateConfigStoreResponse, error)
- type ConsumerGroups
- func (s *ConsumerGroups) AddConsumerToGroup(ctx context.Context, request operations.AddConsumerToGroupRequest, ...) (*operations.AddConsumerToGroupResponse, error)
- func (s *ConsumerGroups) AddConsumerToSpecificConsumerGroup(ctx context.Context, ...) (*operations.AddConsumerToSpecificConsumerGroupResponse, error)
- func (s *ConsumerGroups) CreateConsumerGroup(ctx context.Context, controlPlaneID string, ...) (*operations.CreateConsumerGroupResponse, error)
- func (s *ConsumerGroups) DeleteConsumerGroup(ctx context.Context, controlPlaneID string, consumerGroupID string, ...) (*operations.DeleteConsumerGroupResponse, error)
- func (s *ConsumerGroups) GetConsumerGroup(ctx context.Context, consumerGroupID string, controlPlaneID string, ...) (*operations.GetConsumerGroupResponse, error)
- func (s *ConsumerGroups) ListConsumerGroup(ctx context.Context, request operations.ListConsumerGroupRequest, ...) (*operations.ListConsumerGroupResponse, error)
- func (s *ConsumerGroups) ListConsumerGroupsForConsumer(ctx context.Context, request operations.ListConsumerGroupsForConsumerRequest, ...) (*operations.ListConsumerGroupsForConsumerResponse, error)
- func (s *ConsumerGroups) ListConsumersForConsumerGroup(ctx context.Context, request operations.ListConsumersForConsumerGroupRequest, ...) (*operations.ListConsumersForConsumerGroupResponse, error)
- func (s *ConsumerGroups) RemoveAllConsumersFromConsumerGroup(ctx context.Context, consumerGroupID string, controlPlaneID string, ...) (*operations.RemoveAllConsumersFromConsumerGroupResponse, error)
- func (s *ConsumerGroups) RemoveConsumerFromAllConsumerGroups(ctx context.Context, controlPlaneID string, consumerID string, ...) (*operations.RemoveConsumerFromAllConsumerGroupsResponse, error)
- func (s *ConsumerGroups) RemoveConsumerFromConsumerGroup(ctx context.Context, request operations.RemoveConsumerFromConsumerGroupRequest, ...) (*operations.RemoveConsumerFromConsumerGroupResponse, error)
- func (s *ConsumerGroups) RemoveConsumerFromGroup(ctx context.Context, request operations.RemoveConsumerFromGroupRequest, ...) (*operations.RemoveConsumerFromGroupResponse, error)
- func (s *ConsumerGroups) UpsertConsumerGroup(ctx context.Context, request operations.UpsertConsumerGroupRequest, ...) (*operations.UpsertConsumerGroupResponse, error)
- type Consumers
- func (s *Consumers) CreateConsumer(ctx context.Context, controlPlaneID string, consumer components.ConsumerInput, ...) (*operations.CreateConsumerResponse, error)
- func (s *Consumers) DeleteConsumer(ctx context.Context, controlPlaneID string, consumerID string, ...) (*operations.DeleteConsumerResponse, error)
- func (s *Consumers) GetConsumer(ctx context.Context, consumerID string, controlPlaneID string, ...) (*operations.GetConsumerResponse, error)
- func (s *Consumers) ListConsumer(ctx context.Context, request operations.ListConsumerRequest, ...) (*operations.ListConsumerResponse, error)
- func (s *Consumers) UpsertConsumer(ctx context.Context, request operations.UpsertConsumerRequest, ...) (*operations.UpsertConsumerResponse, error)
- type ControlPlaneGroups
- func (s *ControlPlaneGroups) GetControlPlanesIDGroupMemberStatus(ctx context.Context, id string, opts ...operations.Option) (*operations.GetControlPlanesIDGroupMemberStatusResponse, error)
- func (s *ControlPlaneGroups) GetControlPlanesIDGroupMemberships(ctx context.Context, ...) (*operations.GetControlPlanesIDGroupMembershipsResponse, error)
- func (s *ControlPlaneGroups) GetControlPlanesIDGroupStatus(ctx context.Context, id string, opts ...operations.Option) (*operations.GetControlPlanesIDGroupStatusResponse, error)
- func (s *ControlPlaneGroups) PostControlPlanesIDGroupMembershipsAdd(ctx context.Context, id string, groupMembership *components.GroupMembership, ...) (*operations.PostControlPlanesIDGroupMembershipsAddResponse, error)
- func (s *ControlPlaneGroups) PostControlPlanesIDGroupMembershipsRemove(ctx context.Context, id string, groupMembership *components.GroupMembership, ...) (*operations.PostControlPlanesIDGroupMembershipsRemoveResponse, error)
- func (s *ControlPlaneGroups) PutControlPlanesIDGroupMemberships(ctx context.Context, id string, groupMembership *components.GroupMembership, ...) (*operations.PutControlPlanesIDGroupMembershipsResponse, error)
- type ControlPlanes
- func (s *ControlPlanes) CreateControlPlane(ctx context.Context, request components.CreateControlPlaneRequest, ...) (*operations.CreateControlPlaneResponse, error)
- func (s *ControlPlanes) DeleteControlPlane(ctx context.Context, id string, opts ...operations.Option) (*operations.DeleteControlPlaneResponse, error)
- func (s *ControlPlanes) GetControlPlane(ctx context.Context, id string, opts ...operations.Option) (*operations.GetControlPlaneResponse, error)
- func (s *ControlPlanes) ListControlPlanes(ctx context.Context, request operations.ListControlPlanesRequest, ...) (*operations.ListControlPlanesResponse, error)
- func (s *ControlPlanes) UpdateControlPlane(ctx context.Context, id string, ...) (*operations.UpdateControlPlaneResponse, error)
- type CustomPluginSchemas
- func (s *CustomPluginSchemas) CreatePluginSchemas(ctx context.Context, controlPlaneID string, ...) (*operations.CreatePluginSchemasResponse, error)
- func (s *CustomPluginSchemas) DeletePluginSchemas(ctx context.Context, controlPlaneID string, name string, ...) (*operations.DeletePluginSchemasResponse, error)
- func (s *CustomPluginSchemas) GetPluginSchema(ctx context.Context, controlPlaneID string, name string, ...) (*operations.GetPluginSchemaResponse, error)
- func (s *CustomPluginSchemas) ListPluginSchemas(ctx context.Context, request operations.ListPluginSchemasRequest, ...) (*operations.ListPluginSchemasResponse, error)
- func (s *CustomPluginSchemas) UpdatePluginSchemas(ctx context.Context, request operations.UpdatePluginSchemasRequest, ...) (*operations.UpdatePluginSchemasResponse, error)
- type DPCertificates
- func (s *DPCertificates) CreateDataplaneCertificate(ctx context.Context, controlPlaneID string, ...) (*operations.CreateDataplaneCertificateResponse, error)
- func (s *DPCertificates) DeleteDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, ...) (*operations.DeleteDataplaneCertificateResponse, error)
- func (s *DPCertificates) GetDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, ...) (*operations.GetDataplaneCertificateResponse, error)
- func (s *DPCertificates) ListDpClientCertificates(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.ListDpClientCertificatesResponse, error)
- type DPNodes
- func (s *DPNodes) DeleteNodesNodeID(ctx context.Context, nodeID string, controlPlaneID string, ...) (*operations.DeleteNodesNodeIDResponse, error)
- func (s *DPNodes) GetExpectedConfigHash(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.GetExpectedConfigHashResponse, error)
- func (s *DPNodes) GetNodesEol(ctx context.Context, request operations.GetNodesEolRequest, ...) (*operations.GetNodesEolResponse, error)
- func (s *DPNodes) GetNodesNodeID(ctx context.Context, request operations.GetNodesNodeIDRequest, ...) (*operations.GetNodesNodeIDResponse, error)
- func (s *DPNodes) ListDataplaneNodes(ctx context.Context, request operations.ListDataplaneNodesRequest, ...) (*operations.ListDataplaneNodesResponse, error)
- type HMACAuthCredentials
- func (s *HMACAuthCredentials) CreateHmacAuthWithConsumer(ctx context.Context, request operations.CreateHmacAuthWithConsumerRequest, ...) (*operations.CreateHmacAuthWithConsumerResponse, error)
- func (s *HMACAuthCredentials) DeleteHmacAuthWithConsumer(ctx context.Context, request operations.DeleteHmacAuthWithConsumerRequest, ...) (*operations.DeleteHmacAuthWithConsumerResponse, error)
- func (s *HMACAuthCredentials) GetHmacAuth(ctx context.Context, hmacAuthID string, controlPlaneID string, ...) (*operations.GetHmacAuthResponse, error)
- func (s *HMACAuthCredentials) GetHmacAuthWithConsumer(ctx context.Context, request operations.GetHmacAuthWithConsumerRequest, ...) (*operations.GetHmacAuthWithConsumerResponse, error)
- func (s *HMACAuthCredentials) ListHmacAuth(ctx context.Context, request operations.ListHmacAuthRequest, ...) (*operations.ListHmacAuthResponse, error)
- func (s *HMACAuthCredentials) ListHmacAuthWithConsumer(ctx context.Context, request operations.ListHmacAuthWithConsumerRequest, ...) (*operations.ListHmacAuthWithConsumerResponse, error)
- func (s *HMACAuthCredentials) UpsertHmacAuthWithConsumer(ctx context.Context, request operations.UpsertHmacAuthWithConsumerRequest, ...) (*operations.UpsertHmacAuthWithConsumerResponse, error)
- type HTTPClient
- type ImpersonationSettings
- func (s *ImpersonationSettings) GetImpersonationSettings(ctx context.Context, opts ...operations.Option) (*operations.GetImpersonationSettingsResponse, error)
- func (s *ImpersonationSettings) UpdateImpersonationSettings(ctx context.Context, request *components.UpdateImpersonationSettingsRequest, ...) (*operations.UpdateImpersonationSettingsResponse, error)
- type Invites
- type JWTs
- func (s *JWTs) CreateJwtWithConsumer(ctx context.Context, request operations.CreateJwtWithConsumerRequest, ...) (*operations.CreateJwtWithConsumerResponse, error)
- func (s *JWTs) DeleteJwtWithConsumer(ctx context.Context, request operations.DeleteJwtWithConsumerRequest, ...) (*operations.DeleteJwtWithConsumerResponse, error)
- func (s *JWTs) GetJwt(ctx context.Context, jwtID string, controlPlaneID string, ...) (*operations.GetJwtResponse, error)
- func (s *JWTs) GetJwtWithConsumer(ctx context.Context, request operations.GetJwtWithConsumerRequest, ...) (*operations.GetJwtWithConsumerResponse, error)
- func (s *JWTs) ListJwt(ctx context.Context, request operations.ListJwtRequest, ...) (*operations.ListJwtResponse, error)
- func (s *JWTs) ListJwtWithConsumer(ctx context.Context, request operations.ListJwtWithConsumerRequest, ...) (*operations.ListJwtWithConsumerResponse, error)
- func (s *JWTs) UpsertJwtWithConsumer(ctx context.Context, request operations.UpsertJwtWithConsumerRequest, ...) (*operations.UpsertJwtWithConsumerResponse, error)
- type KeySets
- func (s *KeySets) CreateKeySet(ctx context.Context, controlPlaneID string, keySet components.KeySetInput, ...) (*operations.CreateKeySetResponse, error)
- func (s *KeySets) DeleteKeySet(ctx context.Context, controlPlaneID string, keySetID string, ...) (*operations.DeleteKeySetResponse, error)
- func (s *KeySets) GetKeySet(ctx context.Context, keySetID string, controlPlaneID string, ...) (*operations.GetKeySetResponse, error)
- func (s *KeySets) ListKeySet(ctx context.Context, request operations.ListKeySetRequest, ...) (*operations.ListKeySetResponse, error)
- func (s *KeySets) UpsertKeySet(ctx context.Context, request operations.UpsertKeySetRequest, ...) (*operations.UpsertKeySetResponse, error)
- type Keys
- func (s *Keys) CreateKey(ctx context.Context, controlPlaneID string, key components.KeyInput, ...) (*operations.CreateKeyResponse, error)
- func (s *Keys) CreateKeyWithKeySet(ctx context.Context, request operations.CreateKeyWithKeySetRequest, ...) (*operations.CreateKeyWithKeySetResponse, error)
- func (s *Keys) DeleteKey(ctx context.Context, controlPlaneID string, keyID string, ...) (*operations.DeleteKeyResponse, error)
- func (s *Keys) DeleteKeyWithKeySet(ctx context.Context, request operations.DeleteKeyWithKeySetRequest, ...) (*operations.DeleteKeyWithKeySetResponse, error)
- func (s *Keys) GetKey(ctx context.Context, keyID string, controlPlaneID string, ...) (*operations.GetKeyResponse, error)
- func (s *Keys) GetKeyWithKeySet(ctx context.Context, request operations.GetKeyWithKeySetRequest, ...) (*operations.GetKeyWithKeySetResponse, error)
- func (s *Keys) ListKey(ctx context.Context, request operations.ListKeyRequest, ...) (*operations.ListKeyResponse, error)
- func (s *Keys) ListKeyWithKeySet(ctx context.Context, request operations.ListKeyWithKeySetRequest, ...) (*operations.ListKeyWithKeySetResponse, error)
- func (s *Keys) UpsertKey(ctx context.Context, request operations.UpsertKeyRequest, ...) (*operations.UpsertKeyResponse, error)
- func (s *Keys) UpsertKeyWithKeySet(ctx context.Context, request operations.UpsertKeyWithKeySetRequest, ...) (*operations.UpsertKeyWithKeySetResponse, error)
- type MTLSAuthCredentials
- func (s *MTLSAuthCredentials) CreateMtlsAuthWithConsumer(ctx context.Context, request operations.CreateMtlsAuthWithConsumerRequest, ...) (*operations.CreateMtlsAuthWithConsumerResponse, error)
- func (s *MTLSAuthCredentials) DeleteMtlsAuthWithConsumer(ctx context.Context, request operations.DeleteMtlsAuthWithConsumerRequest, ...) (*operations.DeleteMtlsAuthWithConsumerResponse, error)
- func (s *MTLSAuthCredentials) GetMtlsAuth(ctx context.Context, mtlsAuthID string, controlPlaneID string, ...) (*operations.GetMtlsAuthResponse, error)
- func (s *MTLSAuthCredentials) GetMtlsAuthWithConsumer(ctx context.Context, request operations.GetMtlsAuthWithConsumerRequest, ...) (*operations.GetMtlsAuthWithConsumerResponse, error)
- func (s *MTLSAuthCredentials) ListMtlsAuth(ctx context.Context, request operations.ListMtlsAuthRequest, ...) (*operations.ListMtlsAuthResponse, error)
- func (s *MTLSAuthCredentials) ListMtlsAuthWithConsumer(ctx context.Context, request operations.ListMtlsAuthWithConsumerRequest, ...) (*operations.ListMtlsAuthWithConsumerResponse, error)
- func (s *MTLSAuthCredentials) UpsertMtlsAuthWithConsumer(ctx context.Context, request operations.UpsertMtlsAuthWithConsumerRequest, ...) (*operations.UpsertMtlsAuthWithConsumerResponse, error)
- type Me
- type Notifications
- func (s *Notifications) BulkNotifications(ctx context.Context, request *components.BulkPayload, ...) (*operations.BulkNotificationsResponse, error)
- func (s *Notifications) CreateEventSubscription(ctx context.Context, eventID string, ...) (*operations.CreateEventSubscriptionResponse, error)
- func (s *Notifications) DeleteEventSubscription(ctx context.Context, eventID string, subscriptionID string, ...) (*operations.DeleteEventSubscriptionResponse, error)
- func (s *Notifications) DeleteNotification(ctx context.Context, notificationID string, opts ...operations.Option) (*operations.DeleteNotificationResponse, error)
- func (s *Notifications) GetEventSubscription(ctx context.Context, eventID string, subscriptionID string, ...) (*operations.GetEventSubscriptionResponse, error)
- func (s *Notifications) GetNotificationDetails(ctx context.Context, notificationID string, opts ...operations.Option) (*operations.GetNotificationDetailsResponse, error)
- func (s *Notifications) ListEventSubscriptions(ctx context.Context, eventID string, opts ...operations.Option) (*operations.ListEventSubscriptionsResponse, error)
- func (s *Notifications) ListNotifications(ctx context.Context, request operations.ListNotificationsRequest, ...) (*operations.ListNotificationsResponse, error)
- func (s *Notifications) ListUserConfigurations(ctx context.Context, filter *components.ConfigurationFilterParameters, ...) (*operations.ListUserConfigurationsResponse, error)
- func (s *Notifications) UpdateEventSubscription(ctx context.Context, request operations.UpdateEventSubscriptionRequest, ...) (*operations.UpdateEventSubscriptionResponse, error)
- func (s *Notifications) UpdateNotification(ctx context.Context, notificationID string, ...) (*operations.UpdateNotificationResponse, error)
- type Plugins
- func (s *Plugins) CreatePlugin(ctx context.Context, controlPlaneID string, plugin components.PluginInput, ...) (*operations.CreatePluginResponse, error)
- func (s *Plugins) CreatePluginWithConsumer(ctx context.Context, request operations.CreatePluginWithConsumerRequest, ...) (*operations.CreatePluginWithConsumerResponse, error)
- func (s *Plugins) CreatePluginWithConsumerGroup(ctx context.Context, request operations.CreatePluginWithConsumerGroupRequest, ...) (*operations.CreatePluginWithConsumerGroupResponse, error)
- func (s *Plugins) CreatePluginWithRoute(ctx context.Context, request operations.CreatePluginWithRouteRequest, ...) (*operations.CreatePluginWithRouteResponse, error)
- func (s *Plugins) CreatePluginWithService(ctx context.Context, request operations.CreatePluginWithServiceRequest, ...) (*operations.CreatePluginWithServiceResponse, error)
- func (s *Plugins) DeletePlugin(ctx context.Context, controlPlaneID string, pluginID string, ...) (*operations.DeletePluginResponse, error)
- func (s *Plugins) DeletePluginWithConsumer(ctx context.Context, request operations.DeletePluginWithConsumerRequest, ...) (*operations.DeletePluginWithConsumerResponse, error)
- func (s *Plugins) DeletePluginWithConsumerGroup(ctx context.Context, request operations.DeletePluginWithConsumerGroupRequest, ...) (*operations.DeletePluginWithConsumerGroupResponse, error)
- func (s *Plugins) DeletePluginWithRoute(ctx context.Context, request operations.DeletePluginWithRouteRequest, ...) (*operations.DeletePluginWithRouteResponse, error)
- func (s *Plugins) DeletePluginWithService(ctx context.Context, request operations.DeletePluginWithServiceRequest, ...) (*operations.DeletePluginWithServiceResponse, error)
- func (s *Plugins) FetchPluginSchema(ctx context.Context, pluginName string, controlPlaneID string, ...) (*operations.FetchPluginSchemaResponse, error)
- func (s *Plugins) GetPlugin(ctx context.Context, pluginID string, controlPlaneID string, ...) (*operations.GetPluginResponse, error)
- func (s *Plugins) GetPluginWithConsumer(ctx context.Context, request operations.GetPluginWithConsumerRequest, ...) (*operations.GetPluginWithConsumerResponse, error)
- func (s *Plugins) GetPluginWithConsumerGroup(ctx context.Context, request operations.GetPluginWithConsumerGroupRequest, ...) (*operations.GetPluginWithConsumerGroupResponse, error)
- func (s *Plugins) GetPluginWithRoute(ctx context.Context, request operations.GetPluginWithRouteRequest, ...) (*operations.GetPluginWithRouteResponse, error)
- func (s *Plugins) GetPluginWithService(ctx context.Context, request operations.GetPluginWithServiceRequest, ...) (*operations.GetPluginWithServiceResponse, error)
- func (s *Plugins) ListPlugin(ctx context.Context, request operations.ListPluginRequest, ...) (*operations.ListPluginResponse, error)
- func (s *Plugins) ListPluginWithConsumer(ctx context.Context, request operations.ListPluginWithConsumerRequest, ...) (*operations.ListPluginWithConsumerResponse, error)
- func (s *Plugins) ListPluginWithConsumerGroup(ctx context.Context, request operations.ListPluginWithConsumerGroupRequest, ...) (*operations.ListPluginWithConsumerGroupResponse, error)
- func (s *Plugins) ListPluginWithRoute(ctx context.Context, request operations.ListPluginWithRouteRequest, ...) (*operations.ListPluginWithRouteResponse, error)
- func (s *Plugins) ListPluginWithService(ctx context.Context, request operations.ListPluginWithServiceRequest, ...) (*operations.ListPluginWithServiceResponse, error)
- func (s *Plugins) UpsertPlugin(ctx context.Context, request operations.UpsertPluginRequest, ...) (*operations.UpsertPluginResponse, error)
- func (s *Plugins) UpsertPluginWithConsumer(ctx context.Context, request operations.UpsertPluginWithConsumerRequest, ...) (*operations.UpsertPluginWithConsumerResponse, error)
- func (s *Plugins) UpsertPluginWithConsumerGroup(ctx context.Context, request operations.UpsertPluginWithConsumerGroupRequest, ...) (*operations.UpsertPluginWithConsumerGroupResponse, error)
- func (s *Plugins) UpsertPluginWithRoute(ctx context.Context, request operations.UpsertPluginWithRouteRequest, ...) (*operations.UpsertPluginWithRouteResponse, error)
- func (s *Plugins) UpsertPluginWithService(ctx context.Context, request operations.UpsertPluginWithServiceRequest, ...) (*operations.UpsertPluginWithServiceResponse, error)
- type Roles
- func (s *Roles) GetPredefinedRoles(ctx context.Context, opts ...operations.Option) (*operations.GetPredefinedRolesResponse, error)
- func (s *Roles) ListTeamRoles(ctx context.Context, teamID string, ...) (*operations.ListTeamRolesResponse, error)
- func (s *Roles) ListUserRoles(ctx context.Context, userID string, ...) (*operations.ListUserRolesResponse, error)
- func (s *Roles) TeamsAssignRole(ctx context.Context, teamID string, assignRole *components.AssignRole, ...) (*operations.TeamsAssignRoleResponse, error)
- func (s *Roles) TeamsRemoveRole(ctx context.Context, teamID string, roleID string, opts ...operations.Option) (*operations.TeamsRemoveRoleResponse, error)
- func (s *Roles) UsersAssignRole(ctx context.Context, userID string, assignRole *components.AssignRole, ...) (*operations.UsersAssignRoleResponse, error)
- func (s *Roles) UsersRemoveRole(ctx context.Context, userID string, roleID string, opts ...operations.Option) (*operations.UsersRemoveRoleResponse, error)
- type Routes
- func (s *Routes) CreateRoute(ctx context.Context, controlPlaneID string, route components.RouteInput, ...) (*operations.CreateRouteResponse, error)
- func (s *Routes) CreateRouteWithService(ctx context.Context, request operations.CreateRouteWithServiceRequest, ...) (*operations.CreateRouteWithServiceResponse, error)
- func (s *Routes) DeleteRoute(ctx context.Context, controlPlaneID string, routeID string, ...) (*operations.DeleteRouteResponse, error)
- func (s *Routes) DeleteRouteWithService(ctx context.Context, request operations.DeleteRouteWithServiceRequest, ...) (*operations.DeleteRouteWithServiceResponse, error)
- func (s *Routes) GetRoute(ctx context.Context, routeID string, controlPlaneID string, ...) (*operations.GetRouteResponse, error)
- func (s *Routes) GetRouteWithService(ctx context.Context, request operations.GetRouteWithServiceRequest, ...) (*operations.GetRouteWithServiceResponse, error)
- func (s *Routes) ListRoute(ctx context.Context, request operations.ListRouteRequest, ...) (*operations.ListRouteResponse, error)
- func (s *Routes) ListRouteWithService(ctx context.Context, request operations.ListRouteWithServiceRequest, ...) (*operations.ListRouteWithServiceResponse, error)
- func (s *Routes) UpsertRoute(ctx context.Context, request operations.UpsertRouteRequest, ...) (*operations.UpsertRouteResponse, error)
- func (s *Routes) UpsertRouteWithService(ctx context.Context, request operations.UpsertRouteWithServiceRequest, ...) (*operations.UpsertRouteWithServiceResponse, error)
- type SDK
- type SDKOption
- func WithClient(client HTTPClient) SDKOption
- func WithRetryConfig(retryConfig retry.Config) SDKOption
- func WithSecurity(security components.Security) SDKOption
- func WithSecuritySource(security func(context.Context) (components.Security, error)) SDKOption
- func WithServerIndex(serverIndex int) SDKOption
- func WithServerURL(serverURL string) SDKOption
- func WithTemplatedServerURL(serverURL string, params map[string]string) SDKOption
- func WithTimeout(timeout time.Duration) SDKOption
- type SNIs
- func (s *SNIs) CreateSni(ctx context.Context, controlPlaneID string, sni components.SNIInput, ...) (*operations.CreateSniResponse, error)
- func (s *SNIs) CreateSniWithCertificate(ctx context.Context, request operations.CreateSniWithCertificateRequest, ...) (*operations.CreateSniWithCertificateResponse, error)
- func (s *SNIs) DeleteSni(ctx context.Context, controlPlaneID string, sniID string, ...) (*operations.DeleteSniResponse, error)
- func (s *SNIs) DeleteSniWithCertificate(ctx context.Context, request operations.DeleteSniWithCertificateRequest, ...) (*operations.DeleteSniWithCertificateResponse, error)
- func (s *SNIs) GetSni(ctx context.Context, sniID string, controlPlaneID string, ...) (*operations.GetSniResponse, error)
- func (s *SNIs) GetSniWithCertificate(ctx context.Context, request operations.GetSniWithCertificateRequest, ...) (*operations.GetSniWithCertificateResponse, error)
- func (s *SNIs) ListSni(ctx context.Context, request operations.ListSniRequest, ...) (*operations.ListSniResponse, error)
- func (s *SNIs) ListSniWithCertificate(ctx context.Context, request operations.ListSniWithCertificateRequest, ...) (*operations.ListSniWithCertificateResponse, error)
- func (s *SNIs) UpsertSni(ctx context.Context, request operations.UpsertSniRequest, ...) (*operations.UpsertSniResponse, error)
- func (s *SNIs) UpsertSniWithCertificate(ctx context.Context, request operations.UpsertSniWithCertificateRequest, ...) (*operations.UpsertSniWithCertificateResponse, error)
- type Services
- func (s *Services) CreateService(ctx context.Context, controlPlaneID string, service components.ServiceInput, ...) (*operations.CreateServiceResponse, error)
- func (s *Services) DeleteService(ctx context.Context, controlPlaneID string, serviceID string, ...) (*operations.DeleteServiceResponse, error)
- func (s *Services) GetService(ctx context.Context, serviceID string, controlPlaneID string, ...) (*operations.GetServiceResponse, error)
- func (s *Services) ListService(ctx context.Context, request operations.ListServiceRequest, ...) (*operations.ListServiceResponse, error)
- func (s *Services) UpsertService(ctx context.Context, request operations.UpsertServiceRequest, ...) (*operations.UpsertServiceResponse, error)
- type SystemAccounts
- func (s *SystemAccounts) DeleteSystemAccountsID(ctx context.Context, accountID string, opts ...operations.Option) (*operations.DeleteSystemAccountsIDResponse, error)
- func (s *SystemAccounts) GetSystemAccounts(ctx context.Context, request operations.GetSystemAccountsRequest, ...) (*operations.GetSystemAccountsResponse, error)
- func (s *SystemAccounts) GetSystemAccountsID(ctx context.Context, accountID string, opts ...operations.Option) (*operations.GetSystemAccountsIDResponse, error)
- func (s *SystemAccounts) PatchSystemAccountsID(ctx context.Context, accountID string, ...) (*operations.PatchSystemAccountsIDResponse, error)
- func (s *SystemAccounts) PostSystemAccounts(ctx context.Context, request *components.CreateSystemAccount, ...) (*operations.PostSystemAccountsResponse, error)
- type SystemAccountsAccessTokens
- func (s *SystemAccountsAccessTokens) DeleteSystemAccountsIDAccessTokensID(ctx context.Context, accountID string, tokenID string, ...) (*operations.DeleteSystemAccountsIDAccessTokensIDResponse, error)
- func (s *SystemAccountsAccessTokens) GetSystemAccountIDAccessTokens(ctx context.Context, request operations.GetSystemAccountIDAccessTokensRequest, ...) (*operations.GetSystemAccountIDAccessTokensResponse, error)
- func (s *SystemAccountsAccessTokens) GetSystemAccountsIDAccessTokensID(ctx context.Context, accountID string, tokenID string, ...) (*operations.GetSystemAccountsIDAccessTokensIDResponse, error)
- func (s *SystemAccountsAccessTokens) PatchSystemAccountsIDAccessTokensID(ctx context.Context, ...) (*operations.PatchSystemAccountsIDAccessTokensIDResponse, error)
- func (s *SystemAccountsAccessTokens) PostSystemAccountsIDAccessTokens(ctx context.Context, accountID string, ...) (*operations.PostSystemAccountsIDAccessTokensResponse, error)
- type SystemAccountsRoles
- func (s *SystemAccountsRoles) DeleteSystemAccountsAccountIDAssignedRolesRoleID(ctx context.Context, accountID string, roleID string, ...) (*operations.DeleteSystemAccountsAccountIDAssignedRolesRoleIDResponse, error)
- func (s *SystemAccountsRoles) GetSystemAccountsAccountIDAssignedRoles(ctx context.Context, accountID string, ...) (*operations.GetSystemAccountsAccountIDAssignedRolesResponse, error)
- func (s *SystemAccountsRoles) PostSystemAccountsAccountIDAssignedRoles(ctx context.Context, accountID string, assignRole *components.AssignRole, ...) (*operations.PostSystemAccountsAccountIDAssignedRolesResponse, error)
- type SystemAccountsTeamMembership
- func (s *SystemAccountsTeamMembership) DeleteTeamsTeamIDSystemAccountsAccountID(ctx context.Context, teamID string, accountID string, ...) (*operations.DeleteTeamsTeamIDSystemAccountsAccountIDResponse, error)
- func (s *SystemAccountsTeamMembership) GetSystemAccountsAccountIDTeams(ctx context.Context, request operations.GetSystemAccountsAccountIDTeamsRequest, ...) (*operations.GetSystemAccountsAccountIDTeamsResponse, error)
- func (s *SystemAccountsTeamMembership) GetTeamsTeamIDSystemAccounts(ctx context.Context, request operations.GetTeamsTeamIDSystemAccountsRequest, ...) (*operations.GetTeamsTeamIDSystemAccountsResponse, error)
- func (s *SystemAccountsTeamMembership) PostTeamsTeamIDSystemAccounts(ctx context.Context, teamID string, ...) (*operations.PostTeamsTeamIDSystemAccountsResponse, error)
- type Targets
- func (s *Targets) CreateTargetWithUpstream(ctx context.Context, request operations.CreateTargetWithUpstreamRequest, ...) (*operations.CreateTargetWithUpstreamResponse, error)
- func (s *Targets) DeleteTargetWithUpstream(ctx context.Context, request operations.DeleteTargetWithUpstreamRequest, ...) (*operations.DeleteTargetWithUpstreamResponse, error)
- func (s *Targets) GetTargetWithUpstream(ctx context.Context, request operations.GetTargetWithUpstreamRequest, ...) (*operations.GetTargetWithUpstreamResponse, error)
- func (s *Targets) ListTargetWithUpstream(ctx context.Context, request operations.ListTargetWithUpstreamRequest, ...) (*operations.ListTargetWithUpstreamResponse, error)
- func (s *Targets) UpsertTargetWithUpstream(ctx context.Context, request operations.UpsertTargetWithUpstreamRequest, ...) (*operations.UpsertTargetWithUpstreamResponse, error)
- type TeamMembership
- func (s *TeamMembership) AddUserToTeam(ctx context.Context, teamID string, addUserToTeam *components.AddUserToTeam, ...) (*operations.AddUserToTeamResponse, error)
- func (s *TeamMembership) ListTeamUsers(ctx context.Context, request operations.ListTeamUsersRequest, ...) (*operations.ListTeamUsersResponse, error)
- func (s *TeamMembership) ListUserTeams(ctx context.Context, request operations.ListUserTeamsRequest, ...) (*operations.ListUserTeamsResponse, error)
- func (s *TeamMembership) RemoveUserFromTeam(ctx context.Context, userID string, teamID string, opts ...operations.Option) (*operations.RemoveUserFromTeamResponse, error)
- type Teams
- func (s *Teams) CreateTeam(ctx context.Context, request *components.CreateTeam, opts ...operations.Option) (*operations.CreateTeamResponse, error)
- func (s *Teams) DeleteTeam(ctx context.Context, teamID string, opts ...operations.Option) (*operations.DeleteTeamResponse, error)
- func (s *Teams) GetTeam(ctx context.Context, teamID string, opts ...operations.Option) (*operations.GetTeamResponse, error)
- func (s *Teams) ListTeams(ctx context.Context, request operations.ListTeamsRequest, ...) (*operations.ListTeamsResponse, error)
- func (s *Teams) UpdateTeam(ctx context.Context, teamID string, updateTeam *components.UpdateTeam, ...) (*operations.UpdateTeamResponse, error)
- type Upstreams
- func (s *Upstreams) CreateUpstream(ctx context.Context, controlPlaneID string, upstream components.UpstreamInput, ...) (*operations.CreateUpstreamResponse, error)
- func (s *Upstreams) DeleteUpstream(ctx context.Context, controlPlaneID string, upstreamID string, ...) (*operations.DeleteUpstreamResponse, error)
- func (s *Upstreams) GetUpstream(ctx context.Context, upstreamID string, controlPlaneID string, ...) (*operations.GetUpstreamResponse, error)
- func (s *Upstreams) ListUpstream(ctx context.Context, request operations.ListUpstreamRequest, ...) (*operations.ListUpstreamResponse, error)
- func (s *Upstreams) UpsertUpstream(ctx context.Context, request operations.UpsertUpstreamRequest, ...) (*operations.UpsertUpstreamResponse, error)
- type Users
- func (s *Users) DeleteUser(ctx context.Context, userID string, opts ...operations.Option) (*operations.DeleteUserResponse, error)
- func (s *Users) GetUser(ctx context.Context, userID string, opts ...operations.Option) (*operations.GetUserResponse, error)
- func (s *Users) ListUsers(ctx context.Context, request operations.ListUsersRequest, ...) (*operations.ListUsersResponse, error)
- func (s *Users) UpdateUser(ctx context.Context, userID string, updateUser *components.UpdateUser, ...) (*operations.UpdateUserResponse, error)
- type Vaults
- func (s *Vaults) CreateVault(ctx context.Context, controlPlaneID string, vault components.VaultInput, ...) (*operations.CreateVaultResponse, error)
- func (s *Vaults) DeleteVault(ctx context.Context, controlPlaneID string, vaultID string, ...) (*operations.DeleteVaultResponse, error)
- func (s *Vaults) GetVault(ctx context.Context, vaultID string, controlPlaneID string, ...) (*operations.GetVaultResponse, error)
- func (s *Vaults) ListVault(ctx context.Context, request operations.ListVaultRequest, ...) (*operations.ListVaultResponse, error)
- func (s *Vaults) UpsertVault(ctx context.Context, request operations.UpsertVaultRequest, ...) (*operations.UpsertVaultResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ServerList = []string{
"https://global.api.konghq.com",
"https://us.api.konghq.com",
"https://eu.api.konghq.com",
"https://au.api.konghq.com",
}
ServerList contains the list of servers available to the SDK
Functions ¶
Types ¶
type ACLs ¶
type ACLs struct {
// contains filtered or unexported fields
}
func (*ACLs) CreateACLWithConsumer ¶
func (s *ACLs) CreateACLWithConsumer(ctx context.Context, request operations.CreateACLWithConsumerRequest, opts ...operations.Option) (*operations.CreateACLWithConsumerResponse, error)
CreateACLWithConsumer - Create a new ACL associated with a Consumer Create a new ACL associated with a Consumer
func (*ACLs) DeleteACLWithConsumer ¶
func (s *ACLs) DeleteACLWithConsumer(ctx context.Context, request operations.DeleteACLWithConsumerRequest, opts ...operations.Option) (*operations.DeleteACLWithConsumerResponse, error)
DeleteACLWithConsumer - Delete a an ACL associated with a Consumer Delete a an ACL associated with a Consumer using ID.
func (*ACLs) GetACL ¶
func (s *ACLs) GetACL(ctx context.Context, aclID string, controlPlaneID string, opts ...operations.Option) (*operations.GetACLResponse, error)
GetACL - Fetch an ACL Get an ACL using ID.
func (*ACLs) GetACLWithConsumer ¶
func (s *ACLs) GetACLWithConsumer(ctx context.Context, request operations.GetACLWithConsumerRequest, opts ...operations.Option) (*operations.GetACLWithConsumerResponse, error)
GetACLWithConsumer - Fetch an ACL associated with a Consumer Get an ACL associated with a Consumer using ID.
func (*ACLs) ListACL ¶
func (s *ACLs) ListACL(ctx context.Context, request operations.ListACLRequest, opts ...operations.Option) (*operations.ListACLResponse, error)
ListACL - List all ACLs List all ACLs
func (*ACLs) ListACLWithConsumer ¶
func (s *ACLs) ListACLWithConsumer(ctx context.Context, request operations.ListACLWithConsumerRequest, opts ...operations.Option) (*operations.ListACLWithConsumerResponse, error)
ListACLWithConsumer - List all ACLs associated with a Consumer List all ACLs associated with a Consumer
func (*ACLs) UpsertACLWithConsumer ¶
func (s *ACLs) UpsertACLWithConsumer(ctx context.Context, request operations.UpsertACLWithConsumerRequest, opts ...operations.Option) (*operations.UpsertACLWithConsumerResponse, error)
UpsertACLWithConsumer - Upsert an ACL associated with a Consumer Create or Update an ACL associated with a Consumer using ID.
type APIKeys ¶
type APIKeys struct {
// contains filtered or unexported fields
}
func (*APIKeys) CreateKeyAuthWithConsumer ¶
func (s *APIKeys) CreateKeyAuthWithConsumer(ctx context.Context, request operations.CreateKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateKeyAuthWithConsumerResponse, error)
CreateKeyAuthWithConsumer - Create a new API-key associated with a Consumer Create a new API-key associated with a Consumer
func (*APIKeys) DeleteKeyAuthWithConsumer ¶
func (s *APIKeys) DeleteKeyAuthWithConsumer(ctx context.Context, request operations.DeleteKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteKeyAuthWithConsumerResponse, error)
DeleteKeyAuthWithConsumer - Delete a an API-key associated with a Consumer Delete a an API-key associated with a Consumer using ID.
func (*APIKeys) GetKeyAuth ¶
func (s *APIKeys) GetKeyAuth(ctx context.Context, keyAuthID string, controlPlaneID string, opts ...operations.Option) (*operations.GetKeyAuthResponse, error)
GetKeyAuth - Fetch an API-key Get an API-key using ID.
func (*APIKeys) GetKeyAuthWithConsumer ¶
func (s *APIKeys) GetKeyAuthWithConsumer(ctx context.Context, request operations.GetKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.GetKeyAuthWithConsumerResponse, error)
GetKeyAuthWithConsumer - Fetch an API-key associated with a Consumer Get an API-key associated with a Consumer using ID.
func (*APIKeys) ListKeyAuth ¶
func (s *APIKeys) ListKeyAuth(ctx context.Context, request operations.ListKeyAuthRequest, opts ...operations.Option) (*operations.ListKeyAuthResponse, error)
ListKeyAuth - List all API-keys List all API-keys
func (*APIKeys) ListKeyAuthWithConsumer ¶
func (s *APIKeys) ListKeyAuthWithConsumer(ctx context.Context, request operations.ListKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.ListKeyAuthWithConsumerResponse, error)
ListKeyAuthWithConsumer - List all API-keys associated with a Consumer List all API-keys associated with a Consumer
func (*APIKeys) UpsertKeyAuthWithConsumer ¶
func (s *APIKeys) UpsertKeyAuthWithConsumer(ctx context.Context, request operations.UpsertKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertKeyAuthWithConsumerResponse, error)
UpsertKeyAuthWithConsumer - Upsert an API-key associated with a Consumer Create or Update an API-key associated with a Consumer using ID.
type AuthSettings ¶
type AuthSettings struct {
// contains filtered or unexported fields
}
func (*AuthSettings) CreateIdentityProvider ¶ added in v0.1.29
func (s *AuthSettings) CreateIdentityProvider(ctx context.Context, request components.CreateIdentityProvider, opts ...operations.Option) (*operations.CreateIdentityProviderResponse, error)
CreateIdentityProvider - Create Identity Provider Creates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes.
func (*AuthSettings) DeleteIdentityProvider ¶ added in v0.1.29
func (s *AuthSettings) DeleteIdentityProvider(ctx context.Context, id string, opts ...operations.Option) (*operations.DeleteIdentityProviderResponse, error)
DeleteIdentityProvider - Delete Identity Provider Deletes an existing identity provider configuration. This operation removes a specific identity provider from the organization.
func (*AuthSettings) GetAuthenticationSettings ¶
func (s *AuthSettings) GetAuthenticationSettings(ctx context.Context, opts ...operations.Option) (*operations.GetAuthenticationSettingsResponse, error)
GetAuthenticationSettings - Get Auth Settings Returns authentication configuration, which determines how users can log in and how they are assigned to teams.
func (*AuthSettings) GetIdentityProvider ¶ added in v0.1.29
func (s *AuthSettings) GetIdentityProvider(ctx context.Context, id string, opts ...operations.Option) (*operations.GetIdentityProviderResponse, error)
GetIdentityProvider - Get Identity Provider Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details.
func (*AuthSettings) GetIdentityProviders ¶ added in v0.1.29
func (s *AuthSettings) GetIdentityProviders(ctx context.Context, filter *operations.Filter, opts ...operations.Option) (*operations.GetIdentityProvidersResponse, error)
GetIdentityProviders - Retrieve Identity Providers Retrieves the identity providers available within the organization. This operation provides information about various identity providers for SAML or OIDC authentication integrations.
func (*AuthSettings) GetIdpConfiguration ¶
func (s *AuthSettings) GetIdpConfiguration(ctx context.Context, opts ...operations.Option) (*operations.GetIdpConfigurationResponse, error)
GetIdpConfiguration - Fetch IdP Configuration Fetch the IdP configuration.
func (*AuthSettings) GetIdpTeamMappings ¶
func (s *AuthSettings) GetIdpTeamMappings(ctx context.Context, pageSize *int64, pageNumber *int64, opts ...operations.Option) (*operations.GetIdpTeamMappingsResponse, error)
GetIdpTeamMappings - Fetch Team Mapping Fetch the IdP group to Konnect team mapping.
func (*AuthSettings) GetTeamGroupMappings ¶
func (s *AuthSettings) GetTeamGroupMappings(ctx context.Context, pageSize *int64, pageNumber *int64, opts ...operations.Option) (*operations.GetTeamGroupMappingsResponse, error)
GetTeamGroupMappings - Fetch Team Group Mappings Retrieves the mappings between Konnect Teams and Identity Provider Groups. Returns a 400 error if an Identity Provider has not yet been configured.
func (*AuthSettings) PatchTeamGroupMappings ¶
func (s *AuthSettings) PatchTeamGroupMappings(ctx context.Context, request *components.PatchTeamGroupMappings, opts ...operations.Option) (*operations.PatchTeamGroupMappingsResponse, error)
PatchTeamGroupMappings - Patch Mappings by Team ID Allows partial updates to the mappings between Konnect Teams and Identity Provider Groups. The request body must be keyed on team ID. For a given team ID, the given group list is a complete replacement. To remove all mappings for a given team, provide an empty group list.
Returns a 400 error if an Identity Provider has not yet been configured, or if a team ID in the request body is not found or is not a UUID.
func (*AuthSettings) UpdateAuthenticationSettings ¶
func (s *AuthSettings) UpdateAuthenticationSettings(ctx context.Context, request *components.UpdateAuthenticationSettings, opts ...operations.Option) (*operations.UpdateAuthenticationSettingsResponse, error)
UpdateAuthenticationSettings - Update Auth Settings Updates authentication configuration.
func (*AuthSettings) UpdateIdentityProvider ¶ added in v0.1.29
func (s *AuthSettings) UpdateIdentityProvider(ctx context.Context, id string, updateIdentityProvider components.UpdateIdentityProvider, opts ...operations.Option) (*operations.UpdateIdentityProviderResponse, error)
UpdateIdentityProvider - Update Identity Provider Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration.
func (*AuthSettings) UpdateIdpConfiguration ¶
func (s *AuthSettings) UpdateIdpConfiguration(ctx context.Context, request *components.UpdateIDPConfiguration, opts ...operations.Option) (*operations.UpdateIdpConfigurationResponse, error)
UpdateIdpConfiguration - Update IdP Configuration Update the IdP configuration.
func (*AuthSettings) UpdateIdpTeamMappings ¶
func (s *AuthSettings) UpdateIdpTeamMappings(ctx context.Context, request *components.UpdateTeamMappings, opts ...operations.Option) (*operations.UpdateIdpTeamMappingsResponse, error)
UpdateIdpTeamMappings - Update Team Mappings Updates the IdP group to Konnect team mapping.
type Authentication ¶
type Authentication struct {
// contains filtered or unexported fields
}
func (*Authentication) AuthenticateSso ¶
func (s *Authentication) AuthenticateSso(ctx context.Context, organizationLoginPath string, returnTo *string, opts ...operations.Option) (*operations.AuthenticateSsoResponse, error)
AuthenticateSso - SSO Callback Callback for authenticating via an organization's IdP
type BasicAuthCredentials ¶
type BasicAuthCredentials struct {
// contains filtered or unexported fields
}
func (*BasicAuthCredentials) CreateBasicAuthWithConsumer ¶
func (s *BasicAuthCredentials) CreateBasicAuthWithConsumer(ctx context.Context, request operations.CreateBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateBasicAuthWithConsumerResponse, error)
CreateBasicAuthWithConsumer - Create a new Basic-auth credential associated with a Consumer Create a new Basic-auth credential associated with a Consumer
func (*BasicAuthCredentials) DeleteBasicAuthWithConsumer ¶
func (s *BasicAuthCredentials) DeleteBasicAuthWithConsumer(ctx context.Context, request operations.DeleteBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteBasicAuthWithConsumerResponse, error)
DeleteBasicAuthWithConsumer - Delete a a Basic-auth credential associated with a Consumer Delete a a Basic-auth credential associated with a Consumer using ID.
func (*BasicAuthCredentials) GetBasicAuth ¶
func (s *BasicAuthCredentials) GetBasicAuth(ctx context.Context, basicAuthID string, controlPlaneID string, opts ...operations.Option) (*operations.GetBasicAuthResponse, error)
GetBasicAuth - Fetch a Basic-auth credential Get a Basic-auth credential using ID.
func (*BasicAuthCredentials) GetBasicAuthWithConsumer ¶
func (s *BasicAuthCredentials) GetBasicAuthWithConsumer(ctx context.Context, request operations.GetBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.GetBasicAuthWithConsumerResponse, error)
GetBasicAuthWithConsumer - Fetch a Basic-auth credential associated with a Consumer Get a Basic-auth credential associated with a Consumer using ID.
func (*BasicAuthCredentials) ListBasicAuth ¶
func (s *BasicAuthCredentials) ListBasicAuth(ctx context.Context, request operations.ListBasicAuthRequest, opts ...operations.Option) (*operations.ListBasicAuthResponse, error)
ListBasicAuth - List all Basic-auth credentials List all Basic-auth credentials
func (*BasicAuthCredentials) ListBasicAuthWithConsumer ¶
func (s *BasicAuthCredentials) ListBasicAuthWithConsumer(ctx context.Context, request operations.ListBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.ListBasicAuthWithConsumerResponse, error)
ListBasicAuthWithConsumer - List all Basic-auth credentials associated with a Consumer List all Basic-auth credentials associated with a Consumer
func (*BasicAuthCredentials) UpsertBasicAuthWithConsumer ¶
func (s *BasicAuthCredentials) UpsertBasicAuthWithConsumer(ctx context.Context, request operations.UpsertBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertBasicAuthWithConsumerResponse, error)
UpsertBasicAuthWithConsumer - Upsert a Basic-auth credential associated with a Consumer Create or Update a Basic-auth credential associated with a Consumer using ID.
type CACertificates ¶
type CACertificates struct {
// contains filtered or unexported fields
}
CACertificates - A CA certificate object represents a trusted certificate authority. These objects are used by Kong Gateway to verify the validity of a client or server certificate.
func (*CACertificates) CreateCaCertificate ¶
func (s *CACertificates) CreateCaCertificate(ctx context.Context, controlPlaneID string, caCertificate components.CACertificateInput, opts ...operations.Option) (*operations.CreateCaCertificateResponse, error)
CreateCaCertificate - Create a new CA Certificate Create a new CA Certificate
func (*CACertificates) DeleteCaCertificate ¶
func (s *CACertificates) DeleteCaCertificate(ctx context.Context, controlPlaneID string, caCertificateID string, opts ...operations.Option) (*operations.DeleteCaCertificateResponse, error)
DeleteCaCertificate - Delete a CA Certificate Delete a CA Certificate
func (*CACertificates) GetCaCertificate ¶
func (s *CACertificates) GetCaCertificate(ctx context.Context, caCertificateID string, controlPlaneID string, opts ...operations.Option) (*operations.GetCaCertificateResponse, error)
GetCaCertificate - Fetch a CA Certificate Get a CA Certificate using ID.
func (*CACertificates) ListCaCertificate ¶
func (s *CACertificates) ListCaCertificate(ctx context.Context, request operations.ListCaCertificateRequest, opts ...operations.Option) (*operations.ListCaCertificateResponse, error)
ListCaCertificate - List all CA Certificates List all CA Certificates
func (*CACertificates) UpsertCaCertificate ¶
func (s *CACertificates) UpsertCaCertificate(ctx context.Context, request operations.UpsertCaCertificateRequest, opts ...operations.Option) (*operations.UpsertCaCertificateResponse, error)
UpsertCaCertificate - Upsert a CA Certificate Create or Update CA Certificate using ID.
type Certificates ¶
type Certificates struct {
// contains filtered or unexported fields
}
Certificates - A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong Gateway to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service. <br><br> Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames. <br><br> If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string.
func (*Certificates) CreateCertificate ¶
func (s *Certificates) CreateCertificate(ctx context.Context, controlPlaneID string, certificate components.CertificateInput, opts ...operations.Option) (*operations.CreateCertificateResponse, error)
CreateCertificate - Create a new Certificate Create a new Certificate
func (*Certificates) DeleteCertificate ¶
func (s *Certificates) DeleteCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.DeleteCertificateResponse, error)
DeleteCertificate - Delete a Certificate Delete a Certificate
func (*Certificates) GetCertificate ¶
func (s *Certificates) GetCertificate(ctx context.Context, certificateID string, controlPlaneID string, opts ...operations.Option) (*operations.GetCertificateResponse, error)
GetCertificate - Fetch a Certificate Get a Certificate using ID.
func (*Certificates) ListCertificate ¶
func (s *Certificates) ListCertificate(ctx context.Context, request operations.ListCertificateRequest, opts ...operations.Option) (*operations.ListCertificateResponse, error)
ListCertificate - List all Certificates List all Certificates
func (*Certificates) UpsertCertificate ¶
func (s *Certificates) UpsertCertificate(ctx context.Context, request operations.UpsertCertificateRequest, opts ...operations.Option) (*operations.UpsertCertificateResponse, error)
UpsertCertificate - Upsert a Certificate Create or Update Certificate using ID.
type CloudGateways ¶ added in v0.2.0
type CloudGateways struct {
// contains filtered or unexported fields
}
func (*CloudGateways) CreateConfiguration ¶ added in v0.2.0
func (s *CloudGateways) CreateConfiguration(ctx context.Context, request components.CreateConfigurationRequest, opts ...operations.Option) (*operations.CreateConfigurationResponse, error)
CreateConfiguration - Create Configuration Creates a new configuration for a control-plane (restricted by permitted control-plane permissions for configurations). This request will replace any existing configuration for the requested control_plane_id and control_plane_geo by performing a diff. From this diff, new resources detected in the requested configuration will be added, resources not found in the request configuration but in the previous will be deleted, and resources found in both will be updated to the requested configuration. Networks referenced in this request that are in an offline state will automatically initialize (i.e. move to an initializing state).
func (*CloudGateways) CreateCustomDomains ¶ added in v0.2.0
func (s *CloudGateways) CreateCustomDomains(ctx context.Context, request components.CreateCustomDomainRequest, opts ...operations.Option) (*operations.CreateCustomDomainsResponse, error)
CreateCustomDomains - Create Custom Domain Creates a new custom domain for a control-plane (restricted by permitted control-plane associate-custom-domain action).
func (*CloudGateways) CreateNetwork ¶ added in v0.2.0
func (s *CloudGateways) CreateNetwork(ctx context.Context, request components.CreateNetworkRequest, opts ...operations.Option) (*operations.CreateNetworkResponse, error)
CreateNetwork - Create Network Creates a new network for a given provider account.
func (*CloudGateways) CreateTransitGateway ¶ added in v0.2.0
func (s *CloudGateways) CreateTransitGateway(ctx context.Context, networkID string, createTransitGatewayRequest components.CreateTransitGatewayRequest, opts ...operations.Option) (*operations.CreateTransitGatewayResponse, error)
CreateTransitGateway - Create Transit Gateway Creates a new transit gateway for a given network.
func (*CloudGateways) DeleteCustomDomain ¶ added in v0.2.0
func (s *CloudGateways) DeleteCustomDomain(ctx context.Context, customDomainID string, opts ...operations.Option) (*operations.DeleteCustomDomainResponse, error)
DeleteCustomDomain - Delete Custom Domain Deletes a custom domain by ID (restricted by permitted control-plane reads).
func (*CloudGateways) DeleteNetwork ¶ added in v0.2.0
func (s *CloudGateways) DeleteNetwork(ctx context.Context, networkID string, opts ...operations.Option) (*operations.DeleteNetworkResponse, error)
DeleteNetwork - Delete Network Deletes a network by ID.
func (*CloudGateways) DeleteTransitGateway ¶ added in v0.2.0
func (s *CloudGateways) DeleteTransitGateway(ctx context.Context, networkID string, transitGatewayID string, opts ...operations.Option) (*operations.DeleteTransitGatewayResponse, error)
DeleteTransitGateway - Delete Transit Gateway Deletes a transit gateway by ID for a given network.
func (*CloudGateways) GetAvailabilityJSON ¶ added in v0.2.0
func (s *CloudGateways) GetAvailabilityJSON(ctx context.Context, opts ...operations.Option) (*operations.GetAvailabilityJSONResponse, error)
GetAvailabilityJSON - Get Resource Availability JSON Get Cloud Gateways Availability JSON document for describing cloud provider and region availability, pricing, gateway version availability, and instance type information.
func (*CloudGateways) GetConfiguration ¶ added in v0.2.0
func (s *CloudGateways) GetConfiguration(ctx context.Context, configurationID string, opts ...operations.Option) (*operations.GetConfigurationResponse, error)
GetConfiguration - Get Configuration Retrieves a configuration by ID (restricted by permitted control-plane read).
func (*CloudGateways) GetCustomDomain ¶ added in v0.2.0
func (s *CloudGateways) GetCustomDomain(ctx context.Context, customDomainID string, opts ...operations.Option) (*operations.GetCustomDomainResponse, error)
GetCustomDomain - Get Custom Domain Retrieves a custom domain by ID (restricted by permitted control-plane reads).
func (*CloudGateways) GetCustomDomainOnlineStatus ¶ added in v0.2.0
func (s *CloudGateways) GetCustomDomainOnlineStatus(ctx context.Context, customDomainID string, opts ...operations.Option) (*operations.GetCustomDomainOnlineStatusResponse, error)
GetCustomDomainOnlineStatus - Get Custom Domain Online Status Retrieves the CNAME and SSL status of a custom domain.
func (*CloudGateways) GetNetwork ¶ added in v0.2.0
func (s *CloudGateways) GetNetwork(ctx context.Context, networkID string, opts ...operations.Option) (*operations.GetNetworkResponse, error)
GetNetwork - Get Network Retrieves a network by ID.
func (*CloudGateways) GetProviderAccount ¶ added in v0.2.0
func (s *CloudGateways) GetProviderAccount(ctx context.Context, providerAccountID string, opts ...operations.Option) (*operations.GetProviderAccountResponse, error)
GetProviderAccount - Get Provider Account Retrieves a provider account by ID.
func (*CloudGateways) GetResourceConfiguration ¶ added in v0.2.0
func (s *CloudGateways) GetResourceConfiguration(ctx context.Context, resourceConfigurationID string, opts ...operations.Option) (*operations.GetResourceConfigurationResponse, error)
GetResourceConfiguration - Get Resource Configuration Retrieves a resource configuration by ID.
func (*CloudGateways) GetResourceQuota ¶ added in v0.2.0
func (s *CloudGateways) GetResourceQuota(ctx context.Context, resourceQuotaID string, opts ...operations.Option) (*operations.GetResourceQuotaResponse, error)
GetResourceQuota - Get Resource Quota Retrieves a resource quota by ID.
func (*CloudGateways) GetTransitGateway ¶ added in v0.2.0
func (s *CloudGateways) GetTransitGateway(ctx context.Context, networkID string, transitGatewayID string, opts ...operations.Option) (*operations.GetTransitGatewayResponse, error)
GetTransitGateway - Get Transit Gateway Retrieves a transit gateway by ID for a given network.
func (*CloudGateways) ListConfigurations ¶ added in v0.2.0
func (s *CloudGateways) ListConfigurations(ctx context.Context, request operations.ListConfigurationsRequest, opts ...operations.Option) (*operations.ListConfigurationsResponse, error)
ListConfigurations - List Configurations Returns a paginated collection of configurations across control-planes for an organization (restricted by permitted control-plane reads).
func (*CloudGateways) ListCustomDomains ¶ added in v0.2.0
func (s *CloudGateways) ListCustomDomains(ctx context.Context, request operations.ListCustomDomainsRequest, opts ...operations.Option) (*operations.ListCustomDomainsResponse, error)
ListCustomDomains - List Custom Domains Returns a paginated collection of custom domains across control-planes for an organization (restricted by permitted control-plane reads).
func (*CloudGateways) ListDefaultResourceConfigurations ¶ added in v0.2.0
func (s *CloudGateways) ListDefaultResourceConfigurations(ctx context.Context, pageSize *int64, pageNumber *int64, opts ...operations.Option) (*operations.ListDefaultResourceConfigurationsResponse, error)
ListDefaultResourceConfigurations - List Default Resource Configurations Returns a paginated collection of default resource configurations for cloud-gateways, along with organizationally-defined overrides for those resource configurations. Resource configurations are settings that are applied to all cloud gateway resources in an organization. For example, the "data-plane-group-idle-timeout-minutes" resource configuration sets the idle timeout for all data plane groups in an organization.
func (*CloudGateways) ListDefaultResourceQuotas ¶ added in v0.2.0
func (s *CloudGateways) ListDefaultResourceQuotas(ctx context.Context, pageSize *int64, pageNumber *int64, opts ...operations.Option) (*operations.ListDefaultResourceQuotasResponse, error)
ListDefaultResourceQuotas - List Default Resource Quotas Returns a paginated collection of default resource quotas for cloud-gateways, along with organizationally-defined overrides for those resource quotas.
func (*CloudGateways) ListNetworkConfigurations ¶ added in v0.2.0
func (s *CloudGateways) ListNetworkConfigurations(ctx context.Context, request operations.ListNetworkConfigurationsRequest, opts ...operations.Option) (*operations.ListNetworkConfigurationsResponse, error)
ListNetworkConfigurations - Returns a paginated collection of configurations that reference a network.
List Network Configuration References
func (*CloudGateways) ListNetworks ¶ added in v0.2.0
func (s *CloudGateways) ListNetworks(ctx context.Context, request operations.ListNetworksRequest, opts ...operations.Option) (*operations.ListNetworksResponse, error)
ListNetworks - List Networks Returns a paginated list of networks.
func (*CloudGateways) ListProviderAccounts ¶ added in v0.2.0
func (s *CloudGateways) ListProviderAccounts(ctx context.Context, request operations.ListProviderAccountsRequest, opts ...operations.Option) (*operations.ListProviderAccountsResponse, error)
ListProviderAccounts - List Provider Accounts Returns a a paginated collection of provider accounts for an organization.
func (*CloudGateways) ListResourceConfigurations ¶ added in v0.2.0
func (s *CloudGateways) ListResourceConfigurations(ctx context.Context, pageSize *int64, pageNumber *int64, opts ...operations.Option) (*operations.ListResourceConfigurationsResponse, error)
ListResourceConfigurations - List Resource Configurations Returns a paginated collection of resource configurations for an organization. Resource configurations are settings that are applied to all cloud gateway resources in an organization. For example, the "data-plane-group-idle-timeout-minutes" resource configuration sets the idle timeout for all data plane groups in an organization.
func (*CloudGateways) ListResourceQuotas ¶ added in v0.2.0
func (s *CloudGateways) ListResourceQuotas(ctx context.Context, pageSize *int64, pageNumber *int64, opts ...operations.Option) (*operations.ListResourceQuotasResponse, error)
ListResourceQuotas - List Resource Quotas Returns a paginated collection of resource quotas for an organization.
func (*CloudGateways) ListTransitGateways ¶ added in v0.2.0
func (s *CloudGateways) ListTransitGateways(ctx context.Context, request operations.ListTransitGatewaysRequest, opts ...operations.Option) (*operations.ListTransitGatewaysResponse, error)
ListTransitGateways - List Transit Gateways Returns a paginated collection of transit gateways for a given network.
func (*CloudGateways) UpdateNetwork ¶ added in v0.2.1
func (s *CloudGateways) UpdateNetwork(ctx context.Context, networkID string, patchNetworkRequest components.PatchNetworkRequest, opts ...operations.Option) (*operations.UpdateNetworkResponse, error)
UpdateNetwork - Update Network Updates a network by ID.
type ConfigStoreSecrets ¶ added in v0.1.28
type ConfigStoreSecrets struct {
// contains filtered or unexported fields
}
ConfigStoreSecrets - Config Store Secrets
func (*ConfigStoreSecrets) CreateConfigStoreSecret ¶ added in v0.1.28
func (s *ConfigStoreSecrets) CreateConfigStoreSecret(ctx context.Context, request operations.CreateConfigStoreSecretRequest, opts ...operations.Option) (*operations.CreateConfigStoreSecretResponse, error)
CreateConfigStoreSecret - Create Config Store Secret Creates a secret for a Config Store.
func (*ConfigStoreSecrets) DeleteConfigStoreSecret ¶ added in v0.1.28
func (s *ConfigStoreSecrets) DeleteConfigStoreSecret(ctx context.Context, request operations.DeleteConfigStoreSecretRequest, opts ...operations.Option) (*operations.DeleteConfigStoreSecretResponse, error)
DeleteConfigStoreSecret - Delete Config Store Secret Removes a secret from a Config Store.
func (*ConfigStoreSecrets) GetConfigStoreSecret ¶ added in v0.1.28
func (s *ConfigStoreSecrets) GetConfigStoreSecret(ctx context.Context, request operations.GetConfigStoreSecretRequest, opts ...operations.Option) (*operations.GetConfigStoreSecretResponse, error)
GetConfigStoreSecret - Fetch Config Store Secret Returns a secret for the Config Store.
func (*ConfigStoreSecrets) ListConfigStoreSecrets ¶ added in v0.1.28
func (s *ConfigStoreSecrets) ListConfigStoreSecrets(ctx context.Context, request operations.ListConfigStoreSecretsRequest, opts ...operations.Option) (*operations.ListConfigStoreSecretsResponse, error)
ListConfigStoreSecrets - List Config Store Secrets Returns a collection of all secrets for a Config Store.
func (*ConfigStoreSecrets) UpdateConfigStoreSecret ¶ added in v0.1.28
func (s *ConfigStoreSecrets) UpdateConfigStoreSecret(ctx context.Context, request operations.UpdateConfigStoreSecretRequest, opts ...operations.Option) (*operations.UpdateConfigStoreSecretResponse, error)
UpdateConfigStoreSecret - Update Config Store Secret Updates a secret for a Config Store.
type ConfigStores ¶ added in v0.1.28
type ConfigStores struct {
// contains filtered or unexported fields
}
ConfigStores - Config Stores
func (*ConfigStores) CreateConfigStore ¶ added in v0.1.28
func (s *ConfigStores) CreateConfigStore(ctx context.Context, controlPlaneID string, createConfigStore components.CreateConfigStore, opts ...operations.Option) (*operations.CreateConfigStoreResponse, error)
CreateConfigStore - Create Config Store Create a Config Store
func (*ConfigStores) DeleteConfigStore ¶ added in v0.1.28
func (s *ConfigStores) DeleteConfigStore(ctx context.Context, request operations.DeleteConfigStoreRequest, opts ...operations.Option) (*operations.DeleteConfigStoreResponse, error)
DeleteConfigStore - Delete Config Store Removes a config store
func (*ConfigStores) GetConfigStore ¶ added in v0.1.28
func (s *ConfigStores) GetConfigStore(ctx context.Context, controlPlaneID string, configStoreID string, opts ...operations.Option) (*operations.GetConfigStoreResponse, error)
GetConfigStore - Fetch Config Store Returns a Config Store
func (*ConfigStores) ListConfigStores ¶ added in v0.1.28
func (s *ConfigStores) ListConfigStores(ctx context.Context, request operations.ListConfigStoresRequest, opts ...operations.Option) (*operations.ListConfigStoresResponse, error)
ListConfigStores - List all config stores for a control plane
func (*ConfigStores) UpdateConfigStore ¶ added in v0.1.28
func (s *ConfigStores) UpdateConfigStore(ctx context.Context, request operations.UpdateConfigStoreRequest, opts ...operations.Option) (*operations.UpdateConfigStoreResponse, error)
UpdateConfigStore - Update an individual Config Store Updates a Config Store
type ConsumerGroups ¶
type ConsumerGroups struct {
// contains filtered or unexported fields
}
ConsumerGroups - Consumer groups enable the organization and categorization of consumers (users or applications) within an API ecosystem. By grouping consumers together, you eliminate the need to manage them individually, providing a scalable, efficient approach to managing configurations.
func (*ConsumerGroups) AddConsumerToGroup ¶
func (s *ConsumerGroups) AddConsumerToGroup(ctx context.Context, request operations.AddConsumerToGroupRequest, opts ...operations.Option) (*operations.AddConsumerToGroupResponse, error)
AddConsumerToGroup - Add consumer to consumer group Add a consumer to a consumer group
func (*ConsumerGroups) AddConsumerToSpecificConsumerGroup ¶
func (s *ConsumerGroups) AddConsumerToSpecificConsumerGroup(ctx context.Context, request operations.AddConsumerToSpecificConsumerGroupRequest, opts ...operations.Option) (*operations.AddConsumerToSpecificConsumerGroupResponse, error)
AddConsumerToSpecificConsumerGroup - Add consumer to a specific consumer group Add a consumer to a consumer group
func (*ConsumerGroups) CreateConsumerGroup ¶
func (s *ConsumerGroups) CreateConsumerGroup(ctx context.Context, controlPlaneID string, consumerGroup components.ConsumerGroupInput, opts ...operations.Option) (*operations.CreateConsumerGroupResponse, error)
CreateConsumerGroup - Create a new Consumer Group Create a new Consumer Group
func (*ConsumerGroups) DeleteConsumerGroup ¶
func (s *ConsumerGroups) DeleteConsumerGroup(ctx context.Context, controlPlaneID string, consumerGroupID string, opts ...operations.Option) (*operations.DeleteConsumerGroupResponse, error)
DeleteConsumerGroup - Delete a Consumer Group Delete a Consumer Group
func (*ConsumerGroups) GetConsumerGroup ¶
func (s *ConsumerGroups) GetConsumerGroup(ctx context.Context, consumerGroupID string, controlPlaneID string, opts ...operations.Option) (*operations.GetConsumerGroupResponse, error)
GetConsumerGroup - Fetch a Consumer Group Get a Consumer Group using ID.
func (*ConsumerGroups) ListConsumerGroup ¶
func (s *ConsumerGroups) ListConsumerGroup(ctx context.Context, request operations.ListConsumerGroupRequest, opts ...operations.Option) (*operations.ListConsumerGroupResponse, error)
ListConsumerGroup - List all Consumer Groups List all Consumer Groups
func (*ConsumerGroups) ListConsumerGroupsForConsumer ¶
func (s *ConsumerGroups) ListConsumerGroupsForConsumer(ctx context.Context, request operations.ListConsumerGroupsForConsumerRequest, opts ...operations.Option) (*operations.ListConsumerGroupsForConsumerResponse, error)
ListConsumerGroupsForConsumer - List all Consumer Groups a Consumer belongs to List all Consumer Groups a Consumer belongs to
func (*ConsumerGroups) ListConsumersForConsumerGroup ¶
func (s *ConsumerGroups) ListConsumersForConsumerGroup(ctx context.Context, request operations.ListConsumersForConsumerGroupRequest, opts ...operations.Option) (*operations.ListConsumersForConsumerGroupResponse, error)
ListConsumersForConsumerGroup - List all Consumers in a Consumer Group List all consumers in a consumer group
func (*ConsumerGroups) RemoveAllConsumersFromConsumerGroup ¶
func (s *ConsumerGroups) RemoveAllConsumersFromConsumerGroup(ctx context.Context, consumerGroupID string, controlPlaneID string, opts ...operations.Option) (*operations.RemoveAllConsumersFromConsumerGroupResponse, error)
RemoveAllConsumersFromConsumerGroup - Remove consumers from consumer group Removes all consumers from a consumer groups. This operation does not delete the consumer group.
func (*ConsumerGroups) RemoveConsumerFromAllConsumerGroups ¶
func (s *ConsumerGroups) RemoveConsumerFromAllConsumerGroups(ctx context.Context, controlPlaneID string, consumerID string, opts ...operations.Option) (*operations.RemoveConsumerFromAllConsumerGroupsResponse, error)
RemoveConsumerFromAllConsumerGroups - Remove consumer from consumer group Removes a consumer from all consumer groups. This operation does not delete the consumer group.
func (*ConsumerGroups) RemoveConsumerFromConsumerGroup ¶
func (s *ConsumerGroups) RemoveConsumerFromConsumerGroup(ctx context.Context, request operations.RemoveConsumerFromConsumerGroupRequest, opts ...operations.Option) (*operations.RemoveConsumerFromConsumerGroupResponse, error)
RemoveConsumerFromConsumerGroup - Remove consumer from consumer group Removes a consumer from a consumer group. This operation does not delete the consumer group.
func (*ConsumerGroups) RemoveConsumerFromGroup ¶
func (s *ConsumerGroups) RemoveConsumerFromGroup(ctx context.Context, request operations.RemoveConsumerFromGroupRequest, opts ...operations.Option) (*operations.RemoveConsumerFromGroupResponse, error)
RemoveConsumerFromGroup - Remove consumer from consumer group Remove a consumer from a consumer group
func (*ConsumerGroups) UpsertConsumerGroup ¶
func (s *ConsumerGroups) UpsertConsumerGroup(ctx context.Context, request operations.UpsertConsumerGroupRequest, opts ...operations.Option) (*operations.UpsertConsumerGroupResponse, error)
UpsertConsumerGroup - Upsert a Consumer Group Create or Update Consumer Group using ID.
type Consumers ¶
type Consumers struct {
// contains filtered or unexported fields
}
Consumers - The consumer object represents a consumer - or a user - of a service. You can either rely on Kong Gateway as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong Gateway and your existing primary datastore.
func (*Consumers) CreateConsumer ¶
func (s *Consumers) CreateConsumer(ctx context.Context, controlPlaneID string, consumer components.ConsumerInput, opts ...operations.Option) (*operations.CreateConsumerResponse, error)
CreateConsumer - Create a new Consumer Create a new Consumer
func (*Consumers) DeleteConsumer ¶
func (s *Consumers) DeleteConsumer(ctx context.Context, controlPlaneID string, consumerID string, opts ...operations.Option) (*operations.DeleteConsumerResponse, error)
DeleteConsumer - Delete a Consumer Delete a Consumer
func (*Consumers) GetConsumer ¶
func (s *Consumers) GetConsumer(ctx context.Context, consumerID string, controlPlaneID string, opts ...operations.Option) (*operations.GetConsumerResponse, error)
GetConsumer - Fetch a Consumer Get a Consumer using ID or username.
func (*Consumers) ListConsumer ¶
func (s *Consumers) ListConsumer(ctx context.Context, request operations.ListConsumerRequest, opts ...operations.Option) (*operations.ListConsumerResponse, error)
ListConsumer - List all Consumers List all Consumers
func (*Consumers) UpsertConsumer ¶
func (s *Consumers) UpsertConsumer(ctx context.Context, request operations.UpsertConsumerRequest, opts ...operations.Option) (*operations.UpsertConsumerResponse, error)
UpsertConsumer - Upsert a Consumer Create or Update Consumer using ID or username.
type ControlPlaneGroups ¶
type ControlPlaneGroups struct {
// contains filtered or unexported fields
}
func (*ControlPlaneGroups) GetControlPlanesIDGroupMemberStatus ¶
func (s *ControlPlaneGroups) GetControlPlanesIDGroupMemberStatus(ctx context.Context, id string, opts ...operations.Option) (*operations.GetControlPlanesIDGroupMemberStatusResponse, error)
GetControlPlanesIDGroupMemberStatus - Control Plane Group Member Status Determines the group membership status of a control plane.
func (*ControlPlaneGroups) GetControlPlanesIDGroupMemberships ¶
func (s *ControlPlaneGroups) GetControlPlanesIDGroupMemberships(ctx context.Context, request operations.GetControlPlanesIDGroupMembershipsRequest, opts ...operations.Option) (*operations.GetControlPlanesIDGroupMembershipsResponse, error)
GetControlPlanesIDGroupMemberships - List Control Plane Group Memberships Returns an array of control planes that are a member of this control plane group.
func (*ControlPlaneGroups) GetControlPlanesIDGroupStatus ¶
func (s *ControlPlaneGroups) GetControlPlanesIDGroupStatus(ctx context.Context, id string, opts ...operations.Option) (*operations.GetControlPlanesIDGroupStatusResponse, error)
GetControlPlanesIDGroupStatus - Get Control Plane Group Status Returns the status of a control plane group, including existing conflicts.
func (*ControlPlaneGroups) PostControlPlanesIDGroupMembershipsAdd ¶
func (s *ControlPlaneGroups) PostControlPlanesIDGroupMembershipsAdd(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option) (*operations.PostControlPlanesIDGroupMembershipsAddResponse, error)
PostControlPlanesIDGroupMembershipsAdd - Add Control Plane Group Members Adds one or more control planes as a member of a control plane group.
func (*ControlPlaneGroups) PostControlPlanesIDGroupMembershipsRemove ¶
func (s *ControlPlaneGroups) PostControlPlanesIDGroupMembershipsRemove(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option) (*operations.PostControlPlanesIDGroupMembershipsRemoveResponse, error)
PostControlPlanesIDGroupMembershipsRemove - Remove Control Plane Group Members Removes one or more control planes from the members of a control plane group.
func (*ControlPlaneGroups) PutControlPlanesIDGroupMemberships ¶
func (s *ControlPlaneGroups) PutControlPlanesIDGroupMemberships(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option) (*operations.PutControlPlanesIDGroupMembershipsResponse, error)
PutControlPlanesIDGroupMemberships - Upsert Control Plane Group Members Adds one or more control planes as a member of a control plane group.
type ControlPlanes ¶
type ControlPlanes struct {
// contains filtered or unexported fields
}
func (*ControlPlanes) CreateControlPlane ¶
func (s *ControlPlanes) CreateControlPlane(ctx context.Context, request components.CreateControlPlaneRequest, opts ...operations.Option) (*operations.CreateControlPlaneResponse, error)
CreateControlPlane - Create Control Plane Create a control plane in the Konnect Organization.
func (*ControlPlanes) DeleteControlPlane ¶
func (s *ControlPlanes) DeleteControlPlane(ctx context.Context, id string, opts ...operations.Option) (*operations.DeleteControlPlaneResponse, error)
DeleteControlPlane - Delete Control Plane Delete an individual control plane.
func (*ControlPlanes) GetControlPlane ¶
func (s *ControlPlanes) GetControlPlane(ctx context.Context, id string, opts ...operations.Option) (*operations.GetControlPlaneResponse, error)
GetControlPlane - Fetch Control Plane Returns information about an individual control plane.
func (*ControlPlanes) ListControlPlanes ¶
func (s *ControlPlanes) ListControlPlanes(ctx context.Context, request operations.ListControlPlanesRequest, opts ...operations.Option) (*operations.ListControlPlanesResponse, error)
ListControlPlanes - List Control Planes Returns an array of control plane objects containing information about the Konnect Control Planes.
func (*ControlPlanes) UpdateControlPlane ¶
func (s *ControlPlanes) UpdateControlPlane(ctx context.Context, id string, updateControlPlaneRequest components.UpdateControlPlaneRequest, opts ...operations.Option) (*operations.UpdateControlPlaneResponse, error)
UpdateControlPlane - Update Control Plane Update an individual control plane.
type CustomPluginSchemas ¶
type CustomPluginSchemas struct {
// contains filtered or unexported fields
}
CustomPluginSchemas - Custom Plugin Schemas
func (*CustomPluginSchemas) CreatePluginSchemas ¶
func (s *CustomPluginSchemas) CreatePluginSchemas(ctx context.Context, controlPlaneID string, createPluginSchemas *components.CreatePluginSchemas, opts ...operations.Option) (*operations.CreatePluginSchemasResponse, error)
CreatePluginSchemas - Upload custom plugin schema Upload a custom plugin schema associated with a control plane.
func (*CustomPluginSchemas) DeletePluginSchemas ¶
func (s *CustomPluginSchemas) DeletePluginSchemas(ctx context.Context, controlPlaneID string, name string, opts ...operations.Option) (*operations.DeletePluginSchemasResponse, error)
DeletePluginSchemas - Delete custom plugin schema Delete an individual custom plugin schema.
func (*CustomPluginSchemas) GetPluginSchema ¶
func (s *CustomPluginSchemas) GetPluginSchema(ctx context.Context, controlPlaneID string, name string, opts ...operations.Option) (*operations.GetPluginSchemaResponse, error)
GetPluginSchema - Fetch custom plugin schema Returns information about a custom plugin from a given name.
func (*CustomPluginSchemas) ListPluginSchemas ¶
func (s *CustomPluginSchemas) ListPluginSchemas(ctx context.Context, request operations.ListPluginSchemasRequest, opts ...operations.Option) (*operations.ListPluginSchemasResponse, error)
ListPluginSchemas - List custom plugin schemas associated with a control plane Returns an array of custom plugins schemas associated with a control plane.
func (*CustomPluginSchemas) UpdatePluginSchemas ¶
func (s *CustomPluginSchemas) UpdatePluginSchemas(ctx context.Context, request operations.UpdatePluginSchemasRequest, opts ...operations.Option) (*operations.UpdatePluginSchemasResponse, error)
UpdatePluginSchemas - Create or update a custom plugin schema Create or update an individual custom plugin schema.
type DPCertificates ¶
type DPCertificates struct {
// contains filtered or unexported fields
}
DPCertificates - DP Certificates
func (*DPCertificates) CreateDataplaneCertificate ¶
func (s *DPCertificates) CreateDataplaneCertificate(ctx context.Context, controlPlaneID string, dataPlaneClientCertificateRequest *components.DataPlaneClientCertificateRequest, opts ...operations.Option) (*operations.CreateDataplaneCertificateResponse, error)
CreateDataplaneCertificate - Pin New DP Client Certificate Pin a new DP Client Certificate to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
func (*DPCertificates) DeleteDataplaneCertificate ¶
func (s *DPCertificates) DeleteDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.DeleteDataplaneCertificateResponse, error)
DeleteDataplaneCertificate - Delete DP Client Certificate Remove a pinned dataplane client certificate associated to this control plane. Removing a pinned dataplane certificate would invalidate any dataplanes currently connected to this control plane using this certificate.
func (*DPCertificates) GetDataplaneCertificate ¶
func (s *DPCertificates) GetDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.GetDataplaneCertificateResponse, error)
GetDataplaneCertificate - Fetch DP Client Certificate Retrieve a pinned dataplane client certificate associated to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
func (*DPCertificates) ListDpClientCertificates ¶
func (s *DPCertificates) ListDpClientCertificates(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.ListDpClientCertificatesResponse, error)
ListDpClientCertificates - List DP Client Certificates Returns a list of pinned dataplane client certificates that are associated to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
type DPNodes ¶
type DPNodes struct {
// contains filtered or unexported fields
}
DPNodes - DP Nodes
func (*DPNodes) DeleteNodesNodeID ¶
func (s *DPNodes) DeleteNodesNodeID(ctx context.Context, nodeID string, controlPlaneID string, opts ...operations.Option) (*operations.DeleteNodesNodeIDResponse, error)
DeleteNodesNodeID - Delete Data Plane Node Record Remove a specific data plane node record associated to this control plane. Deleting this record does not prevent the data plane node from re-connecting to the control plane.
func (*DPNodes) GetExpectedConfigHash ¶
func (s *DPNodes) GetExpectedConfigHash(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.GetExpectedConfigHashResponse, error)
GetExpectedConfigHash - Fetch Expected Config Hash Retrieve the expected config hash for this control plane. The expected config hash can be used to verify if the config hash of a data plane node is up to date with the control plane. The config hash will be the same if they are in sync.
func (*DPNodes) GetNodesEol ¶
func (s *DPNodes) GetNodesEol(ctx context.Context, request operations.GetNodesEolRequest, opts ...operations.Option) (*operations.GetNodesEolResponse, error)
GetNodesEol - List End-of-Life Data Plane Node Records Returns a list of records of data plane nodes, whose versions are approaching End of Full Support/End of Life, that are associated with this control plane. Each record contains a data plane node's id, version, and corresponding resolution message to upgrade to the closest Long Term Support version.
func (*DPNodes) GetNodesNodeID ¶
func (s *DPNodes) GetNodesNodeID(ctx context.Context, request operations.GetNodesNodeIDRequest, opts ...operations.Option) (*operations.GetNodesNodeIDResponse, error)
GetNodesNodeID - Fetch Data Plane Node Record Retrieve a specific data plane node record associated to this control plane. A data plane node record contains all the metadata information of the Kong Gateway dataplane.
func (*DPNodes) ListDataplaneNodes ¶
func (s *DPNodes) ListDataplaneNodes(ctx context.Context, request operations.ListDataplaneNodesRequest, opts ...operations.Option) (*operations.ListDataplaneNodesResponse, error)
ListDataplaneNodes - List Data Plane Node Records Returns a list of data plane node records that are associated to this control plane. A data plane node record contains metadata information for the data plane running Kong Gateway.
type HMACAuthCredentials ¶
type HMACAuthCredentials struct {
// contains filtered or unexported fields
}
func (*HMACAuthCredentials) CreateHmacAuthWithConsumer ¶
func (s *HMACAuthCredentials) CreateHmacAuthWithConsumer(ctx context.Context, request operations.CreateHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateHmacAuthWithConsumerResponse, error)
CreateHmacAuthWithConsumer - Create a new HMAC-auth credential associated with a Consumer Create a new HMAC-auth credential associated with a Consumer
func (*HMACAuthCredentials) DeleteHmacAuthWithConsumer ¶
func (s *HMACAuthCredentials) DeleteHmacAuthWithConsumer(ctx context.Context, request operations.DeleteHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteHmacAuthWithConsumerResponse, error)
DeleteHmacAuthWithConsumer - Delete a a HMAC-auth credential associated with a Consumer Delete a a HMAC-auth credential associated with a Consumer using ID.
func (*HMACAuthCredentials) GetHmacAuth ¶
func (s *HMACAuthCredentials) GetHmacAuth(ctx context.Context, hmacAuthID string, controlPlaneID string, opts ...operations.Option) (*operations.GetHmacAuthResponse, error)
GetHmacAuth - Fetch a HMAC-auth credential Get a HMAC-auth credential using ID.
func (*HMACAuthCredentials) GetHmacAuthWithConsumer ¶
func (s *HMACAuthCredentials) GetHmacAuthWithConsumer(ctx context.Context, request operations.GetHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.GetHmacAuthWithConsumerResponse, error)
GetHmacAuthWithConsumer - Fetch a HMAC-auth credential associated with a Consumer Get a HMAC-auth credential associated with a Consumer using ID.
func (*HMACAuthCredentials) ListHmacAuth ¶
func (s *HMACAuthCredentials) ListHmacAuth(ctx context.Context, request operations.ListHmacAuthRequest, opts ...operations.Option) (*operations.ListHmacAuthResponse, error)
ListHmacAuth - List all HMAC-auth credentials List all HMAC-auth credentials
func (*HMACAuthCredentials) ListHmacAuthWithConsumer ¶
func (s *HMACAuthCredentials) ListHmacAuthWithConsumer(ctx context.Context, request operations.ListHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.ListHmacAuthWithConsumerResponse, error)
ListHmacAuthWithConsumer - List all HMAC-auth credentials associated with a Consumer List all HMAC-auth credentials associated with a Consumer
func (*HMACAuthCredentials) UpsertHmacAuthWithConsumer ¶
func (s *HMACAuthCredentials) UpsertHmacAuthWithConsumer(ctx context.Context, request operations.UpsertHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertHmacAuthWithConsumerResponse, error)
UpsertHmacAuthWithConsumer - Upsert a HMAC-auth credential associated with a Consumer Create or Update a HMAC-auth credential associated with a Consumer using ID.
type HTTPClient ¶
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type ImpersonationSettings ¶
type ImpersonationSettings struct {
// contains filtered or unexported fields
}
func (*ImpersonationSettings) GetImpersonationSettings ¶
func (s *ImpersonationSettings) GetImpersonationSettings(ctx context.Context, opts ...operations.Option) (*operations.GetImpersonationSettingsResponse, error)
GetImpersonationSettings - Get Impersonation Settings Returns Impersonation Settings, which determines if user impersonation is allowed for an organization.
func (*ImpersonationSettings) UpdateImpersonationSettings ¶
func (s *ImpersonationSettings) UpdateImpersonationSettings(ctx context.Context, request *components.UpdateImpersonationSettingsRequest, opts ...operations.Option) (*operations.UpdateImpersonationSettingsResponse, error)
UpdateImpersonationSettings - Update Impersonation Settings Updates Impersonation Settings.
type Invites ¶
type Invites struct {
// contains filtered or unexported fields
}
func (*Invites) InviteUser ¶
func (s *Invites) InviteUser(ctx context.Context, request *components.InviteUser, opts ...operations.Option) (*operations.InviteUserResponse, error)
InviteUser - Invite User Sends an invitation email to invite a user to the Konnect organization. The email contains a link with a one time token to accept the invitation. Upon accepting the invitation, the user is directed to https://cloud.konghq.com/login to complete registration.
type JWTs ¶
type JWTs struct {
// contains filtered or unexported fields
}
func (*JWTs) CreateJwtWithConsumer ¶
func (s *JWTs) CreateJwtWithConsumer(ctx context.Context, request operations.CreateJwtWithConsumerRequest, opts ...operations.Option) (*operations.CreateJwtWithConsumerResponse, error)
CreateJwtWithConsumer - Create a new JWT associated with a Consumer Create a new JWT associated with a Consumer
func (*JWTs) DeleteJwtWithConsumer ¶
func (s *JWTs) DeleteJwtWithConsumer(ctx context.Context, request operations.DeleteJwtWithConsumerRequest, opts ...operations.Option) (*operations.DeleteJwtWithConsumerResponse, error)
DeleteJwtWithConsumer - Delete a a JWT associated with a Consumer Delete a a JWT associated with a Consumer using ID.
func (*JWTs) GetJwt ¶
func (s *JWTs) GetJwt(ctx context.Context, jwtID string, controlPlaneID string, opts ...operations.Option) (*operations.GetJwtResponse, error)
GetJwt - Fetch a JWT Get a JWT using ID.
func (*JWTs) GetJwtWithConsumer ¶
func (s *JWTs) GetJwtWithConsumer(ctx context.Context, request operations.GetJwtWithConsumerRequest, opts ...operations.Option) (*operations.GetJwtWithConsumerResponse, error)
GetJwtWithConsumer - Fetch a JWT associated with a Consumer Get a JWT associated with a Consumer using ID.
func (*JWTs) ListJwt ¶
func (s *JWTs) ListJwt(ctx context.Context, request operations.ListJwtRequest, opts ...operations.Option) (*operations.ListJwtResponse, error)
ListJwt - List all JWTs List all JWTs
func (*JWTs) ListJwtWithConsumer ¶
func (s *JWTs) ListJwtWithConsumer(ctx context.Context, request operations.ListJwtWithConsumerRequest, opts ...operations.Option) (*operations.ListJwtWithConsumerResponse, error)
ListJwtWithConsumer - List all JWTs associated with a Consumer List all JWTs associated with a Consumer
func (*JWTs) UpsertJwtWithConsumer ¶
func (s *JWTs) UpsertJwtWithConsumer(ctx context.Context, request operations.UpsertJwtWithConsumerRequest, opts ...operations.Option) (*operations.UpsertJwtWithConsumerResponse, error)
UpsertJwtWithConsumer - Upsert a JWT associated with a Consumer Create or Update a JWT associated with a Consumer using ID.
type KeySets ¶
type KeySets struct {
// contains filtered or unexported fields
}
KeySets - A JSON Web key set. Key sets are the preferred way to expose keys to plugins because they tell the plugin where to look for keys or have a scoping mechanism to restrict plugins to specific keys.
func (*KeySets) CreateKeySet ¶
func (s *KeySets) CreateKeySet(ctx context.Context, controlPlaneID string, keySet components.KeySetInput, opts ...operations.Option) (*operations.CreateKeySetResponse, error)
CreateKeySet - Create a new KeySet Create a new KeySet
func (*KeySets) DeleteKeySet ¶
func (s *KeySets) DeleteKeySet(ctx context.Context, controlPlaneID string, keySetID string, opts ...operations.Option) (*operations.DeleteKeySetResponse, error)
DeleteKeySet - Delete a KeySet Delete a KeySet
func (*KeySets) GetKeySet ¶
func (s *KeySets) GetKeySet(ctx context.Context, keySetID string, controlPlaneID string, opts ...operations.Option) (*operations.GetKeySetResponse, error)
GetKeySet - Fetch a KeySet Get a KeySet using ID or name.
func (*KeySets) ListKeySet ¶
func (s *KeySets) ListKeySet(ctx context.Context, request operations.ListKeySetRequest, opts ...operations.Option) (*operations.ListKeySetResponse, error)
ListKeySet - List all KeySets List all KeySets
func (*KeySets) UpsertKeySet ¶
func (s *KeySets) UpsertKeySet(ctx context.Context, request operations.UpsertKeySetRequest, opts ...operations.Option) (*operations.UpsertKeySetResponse, error)
UpsertKeySet - Upsert a KeySet Create or Update KeySet using ID or name.
type Keys ¶
type Keys struct {
// contains filtered or unexported fields
}
Keys - A key object holds a representation of asymmetric keys in various formats. When Kong Gateway or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.
func (*Keys) CreateKey ¶
func (s *Keys) CreateKey(ctx context.Context, controlPlaneID string, key components.KeyInput, opts ...operations.Option) (*operations.CreateKeyResponse, error)
CreateKey - Create a new Key Create a new Key
func (*Keys) CreateKeyWithKeySet ¶
func (s *Keys) CreateKeyWithKeySet(ctx context.Context, request operations.CreateKeyWithKeySetRequest, opts ...operations.Option) (*operations.CreateKeyWithKeySetResponse, error)
CreateKeyWithKeySet - Create a new Key associated with a KeySet Create a new Key associated with a KeySet
func (*Keys) DeleteKey ¶
func (s *Keys) DeleteKey(ctx context.Context, controlPlaneID string, keyID string, opts ...operations.Option) (*operations.DeleteKeyResponse, error)
DeleteKey - Delete a Key Delete a Key
func (*Keys) DeleteKeyWithKeySet ¶
func (s *Keys) DeleteKeyWithKeySet(ctx context.Context, request operations.DeleteKeyWithKeySetRequest, opts ...operations.Option) (*operations.DeleteKeyWithKeySetResponse, error)
DeleteKeyWithKeySet - Delete a a Key associated with a KeySet Delete a a Key associated with a KeySet using ID or name.
func (*Keys) GetKey ¶
func (s *Keys) GetKey(ctx context.Context, keyID string, controlPlaneID string, opts ...operations.Option) (*operations.GetKeyResponse, error)
GetKey - Fetch a Key Get a Key using ID or name.
func (*Keys) GetKeyWithKeySet ¶
func (s *Keys) GetKeyWithKeySet(ctx context.Context, request operations.GetKeyWithKeySetRequest, opts ...operations.Option) (*operations.GetKeyWithKeySetResponse, error)
GetKeyWithKeySet - Fetch a Key associated with a KeySet Get a Key associated with a KeySet using ID or name.
func (*Keys) ListKey ¶
func (s *Keys) ListKey(ctx context.Context, request operations.ListKeyRequest, opts ...operations.Option) (*operations.ListKeyResponse, error)
ListKey - List all Keys List all Keys
func (*Keys) ListKeyWithKeySet ¶
func (s *Keys) ListKeyWithKeySet(ctx context.Context, request operations.ListKeyWithKeySetRequest, opts ...operations.Option) (*operations.ListKeyWithKeySetResponse, error)
ListKeyWithKeySet - List all Keys associated with a KeySet List all Keys associated with a KeySet
func (*Keys) UpsertKey ¶
func (s *Keys) UpsertKey(ctx context.Context, request operations.UpsertKeyRequest, opts ...operations.Option) (*operations.UpsertKeyResponse, error)
UpsertKey - Upsert a Key Create or Update Key using ID or name.
func (*Keys) UpsertKeyWithKeySet ¶
func (s *Keys) UpsertKeyWithKeySet(ctx context.Context, request operations.UpsertKeyWithKeySetRequest, opts ...operations.Option) (*operations.UpsertKeyWithKeySetResponse, error)
UpsertKeyWithKeySet - Upsert a Key associated with a KeySet Create or Update a Key associated with a KeySet using ID or name.
type MTLSAuthCredentials ¶
type MTLSAuthCredentials struct {
// contains filtered or unexported fields
}
func (*MTLSAuthCredentials) CreateMtlsAuthWithConsumer ¶
func (s *MTLSAuthCredentials) CreateMtlsAuthWithConsumer(ctx context.Context, request operations.CreateMtlsAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateMtlsAuthWithConsumerResponse, error)
CreateMtlsAuthWithConsumer - Create a new MTLS-auth credential associated with a Consumer Create a new MTLS-auth credential associated with a Consumer
func (*MTLSAuthCredentials) DeleteMtlsAuthWithConsumer ¶
func (s *MTLSAuthCredentials) DeleteMtlsAuthWithConsumer(ctx context.Context, request operations.DeleteMtlsAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteMtlsAuthWithConsumerResponse, error)
DeleteMtlsAuthWithConsumer - Delete a a MTLS-auth credential associated with a Consumer Delete a a MTLS-auth credential associated with a Consumer using ID.
func (*MTLSAuthCredentials) GetMtlsAuth ¶
func (s *MTLSAuthCredentials) GetMtlsAuth(ctx context.Context, mtlsAuthID string, controlPlaneID string, opts ...operations.Option) (*operations.GetMtlsAuthResponse, error)
GetMtlsAuth - Fetch a MTLS-auth credential Get a MTLS-auth credential using ID.
func (*MTLSAuthCredentials) GetMtlsAuthWithConsumer ¶
func (s *MTLSAuthCredentials) GetMtlsAuthWithConsumer(ctx context.Context, request operations.GetMtlsAuthWithConsumerRequest, opts ...operations.Option) (*operations.GetMtlsAuthWithConsumerResponse, error)
GetMtlsAuthWithConsumer - Fetch a MTLS-auth credential associated with a Consumer Get a MTLS-auth credential associated with a Consumer using ID.
func (*MTLSAuthCredentials) ListMtlsAuth ¶
func (s *MTLSAuthCredentials) ListMtlsAuth(ctx context.Context, request operations.ListMtlsAuthRequest, opts ...operations.Option) (*operations.ListMtlsAuthResponse, error)
ListMtlsAuth - List all MTLS-auth credentials List all MTLS-auth credentials
func (*MTLSAuthCredentials) ListMtlsAuthWithConsumer ¶
func (s *MTLSAuthCredentials) ListMtlsAuthWithConsumer(ctx context.Context, request operations.ListMtlsAuthWithConsumerRequest, opts ...operations.Option) (*operations.ListMtlsAuthWithConsumerResponse, error)
ListMtlsAuthWithConsumer - List all MTLS-auth credentials associated with a Consumer List all MTLS-auth credentials associated with a Consumer
func (*MTLSAuthCredentials) UpsertMtlsAuthWithConsumer ¶
func (s *MTLSAuthCredentials) UpsertMtlsAuthWithConsumer(ctx context.Context, request operations.UpsertMtlsAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertMtlsAuthWithConsumerResponse, error)
UpsertMtlsAuthWithConsumer - Upsert a MTLS-auth credential associated with a Consumer Create or Update a MTLS-auth credential associated with a Consumer using ID.
type Me ¶
type Me struct {
// contains filtered or unexported fields
}
func (*Me) GetOrganizationsMe ¶
func (s *Me) GetOrganizationsMe(ctx context.Context, opts ...operations.Option) (*operations.GetOrganizationsMeResponse, error)
GetOrganizationsMe - Retrieve My Organization Returns the organization of the user identified in the token of the request.
func (*Me) GetUsersMe ¶
func (s *Me) GetUsersMe(ctx context.Context, opts ...operations.Option) (*operations.GetUsersMeResponse, error)
GetUsersMe - Retrieve My User Account Returns the user account for the user identified in the token of the request.
type Notifications ¶ added in v0.2.15
type Notifications struct {
// contains filtered or unexported fields
}
Notifications - Operations related to notifications
func (*Notifications) BulkNotifications ¶ added in v0.2.15
func (s *Notifications) BulkNotifications(ctx context.Context, request *components.BulkPayload, opts ...operations.Option) (*operations.BulkNotificationsResponse, error)
BulkNotifications - Mark a list of notifications to a status. Mark a list of notifications to a status.
func (*Notifications) CreateEventSubscription ¶ added in v0.2.15
func (s *Notifications) CreateEventSubscription(ctx context.Context, eventID string, eventSubscription *components.EventSubscription, opts ...operations.Option) (*operations.CreateEventSubscriptionResponse, error)
CreateEventSubscription - Create a new subscription for an event. Create a new subscription for an event.
func (*Notifications) DeleteEventSubscription ¶ added in v0.2.15
func (s *Notifications) DeleteEventSubscription(ctx context.Context, eventID string, subscriptionID string, opts ...operations.Option) (*operations.DeleteEventSubscriptionResponse, error)
DeleteEventSubscription - Delete subscription associated with event. Delete subscription associated with event.
func (*Notifications) DeleteNotification ¶ added in v0.2.15
func (s *Notifications) DeleteNotification(ctx context.Context, notificationID string, opts ...operations.Option) (*operations.DeleteNotificationResponse, error)
DeleteNotification - Delete notification. Delete notification.
func (*Notifications) GetEventSubscription ¶ added in v0.2.15
func (s *Notifications) GetEventSubscription(ctx context.Context, eventID string, subscriptionID string, opts ...operations.Option) (*operations.GetEventSubscriptionResponse, error)
GetEventSubscription - Get subscription for an event. Get subscription for an event.
func (*Notifications) GetNotificationDetails ¶ added in v0.2.15
func (s *Notifications) GetNotificationDetails(ctx context.Context, notificationID string, opts ...operations.Option) (*operations.GetNotificationDetailsResponse, error)
GetNotificationDetails - Get notification details. Get notification details.
func (*Notifications) ListEventSubscriptions ¶ added in v0.2.15
func (s *Notifications) ListEventSubscriptions(ctx context.Context, eventID string, opts ...operations.Option) (*operations.ListEventSubscriptionsResponse, error)
ListEventSubscriptions - List event subscriptions. List event subscriptions.
func (*Notifications) ListNotifications ¶ added in v0.2.15
func (s *Notifications) ListNotifications(ctx context.Context, request operations.ListNotificationsRequest, opts ...operations.Option) (*operations.ListNotificationsResponse, error)
ListNotifications - List available notifications. List available notifications.
func (*Notifications) ListUserConfigurations ¶ added in v0.2.15
func (s *Notifications) ListUserConfigurations(ctx context.Context, filter *components.ConfigurationFilterParameters, opts ...operations.Option) (*operations.ListUserConfigurationsResponse, error)
ListUserConfigurations - List available user configurations. List available user configurations.
func (*Notifications) UpdateEventSubscription ¶ added in v0.2.15
func (s *Notifications) UpdateEventSubscription(ctx context.Context, request operations.UpdateEventSubscriptionRequest, opts ...operations.Option) (*operations.UpdateEventSubscriptionResponse, error)
UpdateEventSubscription - Update subscription for an event. Update subscription for an event.
func (*Notifications) UpdateNotification ¶ added in v0.2.15
func (s *Notifications) UpdateNotification(ctx context.Context, notificationID string, notificationUpdatePayload *components.NotificationUpdatePayload, opts ...operations.Option) (*operations.UpdateNotificationResponse, error)
UpdateNotification - Update notification. Update notification.
type Plugins ¶
type Plugins struct {
// contains filtered or unexported fields
}
Plugins - A plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins let you add functionality to services that run behind a Kong Gateway instance, like authentication or rate limiting. You can find more information about available plugins and which values each plugin accepts at the [Plugin Hub](https://docs.konghq.com/hub/). <br><br> When adding a plugin configuration to a service, the plugin will run on every request made by a client to that service. If a plugin needs to be tuned to different values for some specific consumers, you can do so by creating a separate plugin instance that specifies both the service and the consumer, through the service and consumer fields. <br><br> Plugins can be both [tagged and filtered by tags](https://docs.konghq.com/gateway/latest/admin-api/#tags).
func (*Plugins) CreatePlugin ¶
func (s *Plugins) CreatePlugin(ctx context.Context, controlPlaneID string, plugin components.PluginInput, opts ...operations.Option) (*operations.CreatePluginResponse, error)
CreatePlugin - Create a new Plugin Create a new Plugin
func (*Plugins) CreatePluginWithConsumer ¶
func (s *Plugins) CreatePluginWithConsumer(ctx context.Context, request operations.CreatePluginWithConsumerRequest, opts ...operations.Option) (*operations.CreatePluginWithConsumerResponse, error)
CreatePluginWithConsumer - Create a new Plugin associated with a Consumer Create a new Plugin associated with a Consumer
func (*Plugins) CreatePluginWithConsumerGroup ¶
func (s *Plugins) CreatePluginWithConsumerGroup(ctx context.Context, request operations.CreatePluginWithConsumerGroupRequest, opts ...operations.Option) (*operations.CreatePluginWithConsumerGroupResponse, error)
CreatePluginWithConsumerGroup - Create a new Plugin associated with a Consumer Group Create a new Plugin associated with a Consumer Group
func (*Plugins) CreatePluginWithRoute ¶
func (s *Plugins) CreatePluginWithRoute(ctx context.Context, request operations.CreatePluginWithRouteRequest, opts ...operations.Option) (*operations.CreatePluginWithRouteResponse, error)
CreatePluginWithRoute - Create a new Plugin associated with a Route Create a new Plugin associated with a Route
func (*Plugins) CreatePluginWithService ¶
func (s *Plugins) CreatePluginWithService(ctx context.Context, request operations.CreatePluginWithServiceRequest, opts ...operations.Option) (*operations.CreatePluginWithServiceResponse, error)
CreatePluginWithService - Create a new Plugin associated with a Service Create a new Plugin associated with a Service
func (*Plugins) DeletePlugin ¶
func (s *Plugins) DeletePlugin(ctx context.Context, controlPlaneID string, pluginID string, opts ...operations.Option) (*operations.DeletePluginResponse, error)
DeletePlugin - Delete a Plugin Delete a Plugin
func (*Plugins) DeletePluginWithConsumer ¶
func (s *Plugins) DeletePluginWithConsumer(ctx context.Context, request operations.DeletePluginWithConsumerRequest, opts ...operations.Option) (*operations.DeletePluginWithConsumerResponse, error)
DeletePluginWithConsumer - Delete a a Plugin associated with a Consumer Delete a a Plugin associated with a Consumer using ID.
func (*Plugins) DeletePluginWithConsumerGroup ¶
func (s *Plugins) DeletePluginWithConsumerGroup(ctx context.Context, request operations.DeletePluginWithConsumerGroupRequest, opts ...operations.Option) (*operations.DeletePluginWithConsumerGroupResponse, error)
DeletePluginWithConsumerGroup - Delete a a Plugin associated with a Consumer Group Delete a a Plugin associated with a Consumer Group using ID.
func (*Plugins) DeletePluginWithRoute ¶
func (s *Plugins) DeletePluginWithRoute(ctx context.Context, request operations.DeletePluginWithRouteRequest, opts ...operations.Option) (*operations.DeletePluginWithRouteResponse, error)
DeletePluginWithRoute - Delete a a Plugin associated with a Route Delete a a Plugin associated with a Route using ID.
func (*Plugins) DeletePluginWithService ¶
func (s *Plugins) DeletePluginWithService(ctx context.Context, request operations.DeletePluginWithServiceRequest, opts ...operations.Option) (*operations.DeletePluginWithServiceResponse, error)
DeletePluginWithService - Delete a a Plugin associated with a Service Delete a a Plugin associated with a Service using ID.
func (*Plugins) FetchPluginSchema ¶
func (s *Plugins) FetchPluginSchema(ctx context.Context, pluginName string, controlPlaneID string, opts ...operations.Option) (*operations.FetchPluginSchemaResponse, error)
FetchPluginSchema - Fetch plugin schema Get the schema for a plugin
func (*Plugins) GetPlugin ¶
func (s *Plugins) GetPlugin(ctx context.Context, pluginID string, controlPlaneID string, opts ...operations.Option) (*operations.GetPluginResponse, error)
GetPlugin - Fetch a Plugin Get a Plugin using ID.
func (*Plugins) GetPluginWithConsumer ¶
func (s *Plugins) GetPluginWithConsumer(ctx context.Context, request operations.GetPluginWithConsumerRequest, opts ...operations.Option) (*operations.GetPluginWithConsumerResponse, error)
GetPluginWithConsumer - Fetch a Plugin associated with a Consumer Get a Plugin associated with a Consumer using ID.
func (*Plugins) GetPluginWithConsumerGroup ¶
func (s *Plugins) GetPluginWithConsumerGroup(ctx context.Context, request operations.GetPluginWithConsumerGroupRequest, opts ...operations.Option) (*operations.GetPluginWithConsumerGroupResponse, error)
GetPluginWithConsumerGroup - Fetch a Plugin associated with a Consumer Group Get a Plugin associated with a Consumer Group using ID.
func (*Plugins) GetPluginWithRoute ¶
func (s *Plugins) GetPluginWithRoute(ctx context.Context, request operations.GetPluginWithRouteRequest, opts ...operations.Option) (*operations.GetPluginWithRouteResponse, error)
GetPluginWithRoute - Fetch a Plugin associated with a Route Get a Plugin associated with a Route using ID.
func (*Plugins) GetPluginWithService ¶
func (s *Plugins) GetPluginWithService(ctx context.Context, request operations.GetPluginWithServiceRequest, opts ...operations.Option) (*operations.GetPluginWithServiceResponse, error)
GetPluginWithService - Fetch a Plugin associated with a Service Get a Plugin associated with a Service using ID.
func (*Plugins) ListPlugin ¶
func (s *Plugins) ListPlugin(ctx context.Context, request operations.ListPluginRequest, opts ...operations.Option) (*operations.ListPluginResponse, error)
ListPlugin - List all Plugins List all Plugins
func (*Plugins) ListPluginWithConsumer ¶
func (s *Plugins) ListPluginWithConsumer(ctx context.Context, request operations.ListPluginWithConsumerRequest, opts ...operations.Option) (*operations.ListPluginWithConsumerResponse, error)
ListPluginWithConsumer - List all Plugins associated with a Consumer List all Plugins associated with a Consumer
func (*Plugins) ListPluginWithConsumerGroup ¶
func (s *Plugins) ListPluginWithConsumerGroup(ctx context.Context, request operations.ListPluginWithConsumerGroupRequest, opts ...operations.Option) (*operations.ListPluginWithConsumerGroupResponse, error)
ListPluginWithConsumerGroup - List all Plugins associated with a Consumer Group List all Plugins associated with a Consumer Group
func (*Plugins) ListPluginWithRoute ¶
func (s *Plugins) ListPluginWithRoute(ctx context.Context, request operations.ListPluginWithRouteRequest, opts ...operations.Option) (*operations.ListPluginWithRouteResponse, error)
ListPluginWithRoute - List all Plugins associated with a Route List all Plugins associated with a Route
func (*Plugins) ListPluginWithService ¶
func (s *Plugins) ListPluginWithService(ctx context.Context, request operations.ListPluginWithServiceRequest, opts ...operations.Option) (*operations.ListPluginWithServiceResponse, error)
ListPluginWithService - List all Plugins associated with a Service List all Plugins associated with a Service
func (*Plugins) UpsertPlugin ¶
func (s *Plugins) UpsertPlugin(ctx context.Context, request operations.UpsertPluginRequest, opts ...operations.Option) (*operations.UpsertPluginResponse, error)
UpsertPlugin - Upsert a Plugin Create or Update Plugin using ID.
func (*Plugins) UpsertPluginWithConsumer ¶
func (s *Plugins) UpsertPluginWithConsumer(ctx context.Context, request operations.UpsertPluginWithConsumerRequest, opts ...operations.Option) (*operations.UpsertPluginWithConsumerResponse, error)
UpsertPluginWithConsumer - Upsert a Plugin associated with a Consumer Create or Update a Plugin associated with a Consumer using ID.
func (*Plugins) UpsertPluginWithConsumerGroup ¶
func (s *Plugins) UpsertPluginWithConsumerGroup(ctx context.Context, request operations.UpsertPluginWithConsumerGroupRequest, opts ...operations.Option) (*operations.UpsertPluginWithConsumerGroupResponse, error)
UpsertPluginWithConsumerGroup - Upsert a Plugin associated with a Consumer Group Create or Update a Plugin associated with a Consumer Group using ID.
func (*Plugins) UpsertPluginWithRoute ¶
func (s *Plugins) UpsertPluginWithRoute(ctx context.Context, request operations.UpsertPluginWithRouteRequest, opts ...operations.Option) (*operations.UpsertPluginWithRouteResponse, error)
UpsertPluginWithRoute - Upsert a Plugin associated with a Route Create or Update a Plugin associated with a Route using ID.
func (*Plugins) UpsertPluginWithService ¶
func (s *Plugins) UpsertPluginWithService(ctx context.Context, request operations.UpsertPluginWithServiceRequest, opts ...operations.Option) (*operations.UpsertPluginWithServiceResponse, error)
UpsertPluginWithService - Upsert a Plugin associated with a Service Create or Update a Plugin associated with a Service using ID.
type Roles ¶
type Roles struct {
// contains filtered or unexported fields
}
func (*Roles) GetPredefinedRoles ¶
func (s *Roles) GetPredefinedRoles(ctx context.Context, opts ...operations.Option) (*operations.GetPredefinedRolesResponse, error)
GetPredefinedRoles - Get Predefined Roles Retrieves the predefined, or system managed, roles.
func (*Roles) ListTeamRoles ¶
func (s *Roles) ListTeamRoles(ctx context.Context, teamID string, filter *operations.ListTeamRolesQueryParamFilter, opts ...operations.Option) (*operations.ListTeamRolesResponse, error)
ListTeamRoles - List Team Roles Lists the roles belonging to a team. Returns 400 if any filter parameters are invalid.
func (*Roles) ListUserRoles ¶
func (s *Roles) ListUserRoles(ctx context.Context, userID string, filter *operations.ListUserRolesQueryParamFilter, opts ...operations.Option) (*operations.ListUserRolesResponse, error)
ListUserRoles - List User Roles Lists the roles assigned to a user. Returns 400 if any filter parameters are invalid.
func (*Roles) TeamsAssignRole ¶
func (s *Roles) TeamsAssignRole(ctx context.Context, teamID string, assignRole *components.AssignRole, opts ...operations.Option) (*operations.TeamsAssignRoleResponse, error)
TeamsAssignRole - Assign Team Role Assigns a role to a team. Returns 409 if role is already assigned.
func (*Roles) TeamsRemoveRole ¶
func (s *Roles) TeamsRemoveRole(ctx context.Context, teamID string, roleID string, opts ...operations.Option) (*operations.TeamsRemoveRoleResponse, error)
TeamsRemoveRole - Remove Team Role Removes an assigned role from a team. Returns 404 if the requested team or assigned role were not found.
func (*Roles) UsersAssignRole ¶
func (s *Roles) UsersAssignRole(ctx context.Context, userID string, assignRole *components.AssignRole, opts ...operations.Option) (*operations.UsersAssignRoleResponse, error)
UsersAssignRole - Assign Role Assigns a role to a user. Returns 409 if role is already assigned.
func (*Roles) UsersRemoveRole ¶
func (s *Roles) UsersRemoveRole(ctx context.Context, userID string, roleID string, opts ...operations.Option) (*operations.UsersRemoveRoleResponse, error)
UsersRemoveRole - Remove Role Removes an assigned role from a user. Returns 404 if the requested user or assigned role were not found.
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
Routes - Route entities define rules to match client requests. Each route is associated with a service, and a service may have multiple routes associated to it. Every request matching a given route will be proxied to the associated service. You need at least one matching rule that applies to the protocol being matched by the route. <br><br> The combination of routes and services, and the separation of concerns between them, offers a powerful routing mechanism with which it is possible to define fine-grained entrypoints in Kong Gateway leading to different upstream services of your infrastructure. <br><br> Depending on the protocol, one of the following attributes must be set: <br>
- `http`: At least one of `methods`, `hosts`, `headers`, or `paths` - `https`: At least one of `methods`, `hosts`, `headers`, `paths`, or `snis` - `tcp`: At least one of `sources` or `destinations` - `tls`: at least one of `sources`, `destinations`, or `snis` - `tls_passthrough`: set `snis` - `grpc`: At least one of `hosts`, `headers`, or `paths` - `grpcs`: At least one of `hosts`, `headers`, `paths`, or `snis` - `ws`: At least one of `hosts`, `headers`, or `paths` - `wss`: At least one of `hosts`, `headers`, `paths`, or `snis`
<br> A route can't have both `tls` and `tls_passthrough` protocols at same time. <br><br> Learn more about the router:
- [Configure routes using expressions](https://docs.konghq.com/gateway/latest/key-concepts/routes/expressions) - [Router Expressions language reference](https://docs.konghq.com/gateway/latest/reference/router-expressions-language/)
func (*Routes) CreateRoute ¶
func (s *Routes) CreateRoute(ctx context.Context, controlPlaneID string, route components.RouteInput, opts ...operations.Option) (*operations.CreateRouteResponse, error)
CreateRoute - Create a new Route Create a new Route
func (*Routes) CreateRouteWithService ¶
func (s *Routes) CreateRouteWithService(ctx context.Context, request operations.CreateRouteWithServiceRequest, opts ...operations.Option) (*operations.CreateRouteWithServiceResponse, error)
CreateRouteWithService - Create a new Route associated with a Service Create a new Route associated with a Service
func (*Routes) DeleteRoute ¶
func (s *Routes) DeleteRoute(ctx context.Context, controlPlaneID string, routeID string, opts ...operations.Option) (*operations.DeleteRouteResponse, error)
DeleteRoute - Delete a Route Delete a Route
func (*Routes) DeleteRouteWithService ¶
func (s *Routes) DeleteRouteWithService(ctx context.Context, request operations.DeleteRouteWithServiceRequest, opts ...operations.Option) (*operations.DeleteRouteWithServiceResponse, error)
DeleteRouteWithService - Delete a a Route associated with a Service Delete a a Route associated with a Service using ID or name.
func (*Routes) GetRoute ¶
func (s *Routes) GetRoute(ctx context.Context, routeID string, controlPlaneID string, opts ...operations.Option) (*operations.GetRouteResponse, error)
GetRoute - Fetch a Route Get a Route using ID or name.
func (*Routes) GetRouteWithService ¶
func (s *Routes) GetRouteWithService(ctx context.Context, request operations.GetRouteWithServiceRequest, opts ...operations.Option) (*operations.GetRouteWithServiceResponse, error)
GetRouteWithService - Fetch a Route associated with a Service Get a Route associated with a Service using ID or name.
func (*Routes) ListRoute ¶
func (s *Routes) ListRoute(ctx context.Context, request operations.ListRouteRequest, opts ...operations.Option) (*operations.ListRouteResponse, error)
ListRoute - List all Routes List all Routes
func (*Routes) ListRouteWithService ¶
func (s *Routes) ListRouteWithService(ctx context.Context, request operations.ListRouteWithServiceRequest, opts ...operations.Option) (*operations.ListRouteWithServiceResponse, error)
ListRouteWithService - List all Routes associated with a Service List all Routes associated with a Service
func (*Routes) UpsertRoute ¶
func (s *Routes) UpsertRoute(ctx context.Context, request operations.UpsertRouteRequest, opts ...operations.Option) (*operations.UpsertRouteResponse, error)
UpsertRoute - Upsert a Route Create or Update Route using ID or name.
func (*Routes) UpsertRouteWithService ¶
func (s *Routes) UpsertRouteWithService(ctx context.Context, request operations.UpsertRouteWithServiceRequest, opts ...operations.Option) (*operations.UpsertRouteWithServiceResponse, error)
UpsertRouteWithService - Upsert a Route associated with a Service Create or Update a Route associated with a Service using ID or name.
type SDK ¶
type SDK struct { // Operations related to notifications Notifications *Notifications CloudGateways *CloudGateways ControlPlanes *ControlPlanes // Config Stores ConfigStores *ConfigStores // Config Store Secrets ConfigStoreSecrets *ConfigStoreSecrets ACLs *ACLs BasicAuthCredentials *BasicAuthCredentials // A CA certificate object represents a trusted certificate authority. // These objects are used by Kong Gateway to verify the validity of a client or server certificate. CACertificates *CACertificates // A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong Gateway to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service. // <br><br> // Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames. // <br><br> // If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string. // Certificates *Certificates // An SNI object represents a many-to-one mapping of hostnames to a certificate. // <br><br> // A certificate object can have many hostnames associated with it. When Kong Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate object based on the SNI associated with the certificate. SNIs *SNIs // Consumer groups enable the organization and categorization of consumers (users or applications) within an API ecosystem. // By grouping consumers together, you eliminate the need to manage them individually, providing a scalable, efficient approach to managing configurations. ConsumerGroups *ConsumerGroups // A plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins let you add functionality to services that run behind a Kong Gateway instance, like authentication or rate limiting. // You can find more information about available plugins and which values each plugin accepts at the [Plugin Hub](https://docs.konghq.com/hub/). // <br><br> // When adding a plugin configuration to a service, the plugin will run on every request made by a client to that service. If a plugin needs to be tuned to different values for some specific consumers, you can do so by creating a separate plugin instance that specifies both the service and the consumer, through the service and consumer fields. // <br><br> // Plugins can be both [tagged and filtered by tags](https://docs.konghq.com/gateway/latest/admin-api/#tags). // Plugins *Plugins // The consumer object represents a consumer - or a user - of a service. // You can either rely on Kong Gateway as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong Gateway and your existing primary datastore. // Consumers *Consumers HMACAuthCredentials *HMACAuthCredentials JWTs *JWTs APIKeys *APIKeys MTLSAuthCredentials *MTLSAuthCredentials // A JSON Web key set. Key sets are the preferred way to expose keys to plugins because they tell the plugin where to look for keys or have a scoping mechanism to restrict plugins to specific keys. // KeySets *KeySets // A key object holds a representation of asymmetric keys in various formats. When Kong Gateway or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity. // Keys *Keys // Custom Plugin Schemas CustomPluginSchemas *CustomPluginSchemas // Route entities define rules to match client requests. Each route is associated with a service, and a service may have multiple routes associated to it. Every request matching a given route will be proxied to the associated service. You need at least one matching rule that applies to the protocol being matched by the route. // <br><br> // The combination of routes and services, and the separation of concerns between them, offers a powerful routing mechanism with which it is possible to define fine-grained entrypoints in Kong Gateway leading to different upstream services of your infrastructure. // <br><br> // Depending on the protocol, one of the following attributes must be set: // <br> // // - `http`: At least one of `methods`, `hosts`, `headers`, or `paths` // - `https`: At least one of `methods`, `hosts`, `headers`, `paths`, or `snis` // - `tcp`: At least one of `sources` or `destinations` // - `tls`: at least one of `sources`, `destinations`, or `snis` // - `tls_passthrough`: set `snis` // - `grpc`: At least one of `hosts`, `headers`, or `paths` // - `grpcs`: At least one of `hosts`, `headers`, `paths`, or `snis` // - `ws`: At least one of `hosts`, `headers`, or `paths` // - `wss`: At least one of `hosts`, `headers`, `paths`, or `snis` // // // // <br> // A route can't have both `tls` and `tls_passthrough` protocols at same time. // <br><br> // Learn more about the router: // - [Configure routes using expressions](https://docs.konghq.com/gateway/latest/key-concepts/routes/expressions) // - [Router Expressions language reference](https://docs.konghq.com/gateway/latest/reference/router-expressions-language/) // Routes *Routes // Service entities are abstractions of your microservice interfaces or formal APIs. For example, a service could be a data transformation microservice or a billing API. // <br><br> // The main attribute of a service is the destination URL for proxying traffic. This URL can be set as a single string or by specifying its protocol, host, port and path individually. // <br><br> // Services are associated to routes, and a single service can have many routes associated with it. Routes are entrypoints in Kong Gateway which define rules to match client requests. Once a route is matched, Kong Gateway proxies the request to its associated service. See the [Proxy Reference](https://docs.konghq.com/gateway/latest/how-kong-works/routing-traffic/) for a detailed explanation of how Kong proxies traffic. // <br><br> // Services can be both [tagged and filtered by tags](https://docs.konghq.com/gateway/latest/admin-api/#tags). // Services *Services // The upstream object represents a virtual hostname and can be used to load balance incoming requests over multiple services (targets). // <br><br> // An upstream also includes a [health checker](https://docs.konghq.com/gateway/latest/how-kong-works/health-checks/), which can enable and disable targets based on their ability or inability to serve requests. // The configuration for the health checker is stored in the upstream object, and applies to all of its targets. Upstreams *Upstreams Targets *Targets // Vault objects are used to configure different vault connectors for [managing secrets](https://docs.konghq.com/gateway/latest/kong-enterprise/secrets-management/). // Configuring a vault lets you reference secrets from other entities. // This allows for a proper separation of secrets and configuration and prevents secret sprawl. // <br><br> // For example, you could store a certificate and a key in a vault, then reference them from a certificate entity. This way, the certificate and key are not stored in the entity directly and are more secure. // <br><br> // Secrets rotation can be managed using [TTLs](https://docs.konghq.com/gateway/latest/kong-enterprise/secrets-management/advanced-usage/). // Vaults *Vaults // DP Certificates DPCertificates *DPCertificates // DP Nodes DPNodes *DPNodes ControlPlaneGroups *ControlPlaneGroups Authentication *Authentication AuthSettings *AuthSettings Invites *Invites ImpersonationSettings *ImpersonationSettings Me *Me Roles *Roles SystemAccounts *SystemAccounts SystemAccountsAccessTokens *SystemAccountsAccessTokens SystemAccountsRoles *SystemAccountsRoles SystemAccountsTeamMembership *SystemAccountsTeamMembership Teams *Teams TeamMembership *TeamMembership Users *Users // contains filtered or unexported fields }
SDK - Konnect API - Go SDK: The Konnect platform API
https://docs.konghq.com - Documentation for Kong Gateway and its APIs
type SDKOption ¶
type SDKOption func(*SDK)
func WithClient ¶
func WithClient(client HTTPClient) SDKOption
WithClient allows the overriding of the default HTTP client used by the SDK
func WithRetryConfig ¶
func WithSecurity ¶
func WithSecurity(security components.Security) SDKOption
WithSecurity configures the SDK to use the provided security details
func WithSecuritySource ¶
WithSecuritySource configures the SDK to invoke the Security Source function on each method call to determine authentication
func WithServerIndex ¶
WithServerIndex allows the overriding of the default server by index
func WithServerURL ¶
WithServerURL allows the overriding of the default server URL
func WithTemplatedServerURL ¶
WithTemplatedServerURL allows the overriding of the default server URL with a templated URL populated with the provided parameters
func WithTimeout ¶
WithTimeout Optional request timeout applied to each operation
type SNIs ¶
type SNIs struct {
// contains filtered or unexported fields
}
SNIs - An SNI object represents a many-to-one mapping of hostnames to a certificate. <br><br> A certificate object can have many hostnames associated with it. When Kong Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate object based on the SNI associated with the certificate.
func (*SNIs) CreateSni ¶
func (s *SNIs) CreateSni(ctx context.Context, controlPlaneID string, sni components.SNIInput, opts ...operations.Option) (*operations.CreateSniResponse, error)
CreateSni - Create a new SNI Create a new SNI
func (*SNIs) CreateSniWithCertificate ¶
func (s *SNIs) CreateSniWithCertificate(ctx context.Context, request operations.CreateSniWithCertificateRequest, opts ...operations.Option) (*operations.CreateSniWithCertificateResponse, error)
CreateSniWithCertificate - Create a new SNI associated with a Certificate Create a new SNI associated with a Certificate
func (*SNIs) DeleteSni ¶
func (s *SNIs) DeleteSni(ctx context.Context, controlPlaneID string, sniID string, opts ...operations.Option) (*operations.DeleteSniResponse, error)
DeleteSni - Delete an SNI Delete an SNI
func (*SNIs) DeleteSniWithCertificate ¶
func (s *SNIs) DeleteSniWithCertificate(ctx context.Context, request operations.DeleteSniWithCertificateRequest, opts ...operations.Option) (*operations.DeleteSniWithCertificateResponse, error)
DeleteSniWithCertificate - Delete a an SNI associated with a Certificate Delete a an SNI associated with a Certificate using ID or name.
func (*SNIs) GetSni ¶
func (s *SNIs) GetSni(ctx context.Context, sniID string, controlPlaneID string, opts ...operations.Option) (*operations.GetSniResponse, error)
GetSni - Fetch an SNI Get an SNI using ID or name.
func (*SNIs) GetSniWithCertificate ¶
func (s *SNIs) GetSniWithCertificate(ctx context.Context, request operations.GetSniWithCertificateRequest, opts ...operations.Option) (*operations.GetSniWithCertificateResponse, error)
GetSniWithCertificate - Fetch an SNI associated with a Certificate Get an SNI associated with a Certificate using ID or name.
func (*SNIs) ListSni ¶
func (s *SNIs) ListSni(ctx context.Context, request operations.ListSniRequest, opts ...operations.Option) (*operations.ListSniResponse, error)
ListSni - List all SNIs List all SNIs
func (*SNIs) ListSniWithCertificate ¶
func (s *SNIs) ListSniWithCertificate(ctx context.Context, request operations.ListSniWithCertificateRequest, opts ...operations.Option) (*operations.ListSniWithCertificateResponse, error)
ListSniWithCertificate - List all SNIs associated with a Certificate List all SNIs associated with a Certificate
func (*SNIs) UpsertSni ¶
func (s *SNIs) UpsertSni(ctx context.Context, request operations.UpsertSniRequest, opts ...operations.Option) (*operations.UpsertSniResponse, error)
UpsertSni - Upsert a SNI Create or Update SNI using ID or name.
func (*SNIs) UpsertSniWithCertificate ¶
func (s *SNIs) UpsertSniWithCertificate(ctx context.Context, request operations.UpsertSniWithCertificateRequest, opts ...operations.Option) (*operations.UpsertSniWithCertificateResponse, error)
UpsertSniWithCertificate - Upsert an SNI associated with a Certificate Create or Update an SNI associated with a Certificate using ID or name.
type Services ¶
type Services struct {
// contains filtered or unexported fields
}
Services - Service entities are abstractions of your microservice interfaces or formal APIs. For example, a service could be a data transformation microservice or a billing API. <br><br> The main attribute of a service is the destination URL for proxying traffic. This URL can be set as a single string or by specifying its protocol, host, port and path individually. <br><br> Services are associated to routes, and a single service can have many routes associated with it. Routes are entrypoints in Kong Gateway which define rules to match client requests. Once a route is matched, Kong Gateway proxies the request to its associated service. See the [Proxy Reference](https://docs.konghq.com/gateway/latest/how-kong-works/routing-traffic/) for a detailed explanation of how Kong proxies traffic. <br><br> Services can be both [tagged and filtered by tags](https://docs.konghq.com/gateway/latest/admin-api/#tags).
func (*Services) CreateService ¶
func (s *Services) CreateService(ctx context.Context, controlPlaneID string, service components.ServiceInput, opts ...operations.Option) (*operations.CreateServiceResponse, error)
CreateService - Create a new Service Create a new Service
func (*Services) DeleteService ¶
func (s *Services) DeleteService(ctx context.Context, controlPlaneID string, serviceID string, opts ...operations.Option) (*operations.DeleteServiceResponse, error)
DeleteService - Delete a Service Delete a Service
func (*Services) GetService ¶
func (s *Services) GetService(ctx context.Context, serviceID string, controlPlaneID string, opts ...operations.Option) (*operations.GetServiceResponse, error)
GetService - Fetch a Service Get a Service using ID or name.
func (*Services) ListService ¶
func (s *Services) ListService(ctx context.Context, request operations.ListServiceRequest, opts ...operations.Option) (*operations.ListServiceResponse, error)
ListService - List all Services List all Services
func (*Services) UpsertService ¶
func (s *Services) UpsertService(ctx context.Context, request operations.UpsertServiceRequest, opts ...operations.Option) (*operations.UpsertServiceResponse, error)
UpsertService - Upsert a Service Create or Update Service using ID or name.
type SystemAccounts ¶
type SystemAccounts struct {
// contains filtered or unexported fields
}
func (*SystemAccounts) DeleteSystemAccountsID ¶
func (s *SystemAccounts) DeleteSystemAccountsID(ctx context.Context, accountID string, opts ...operations.Option) (*operations.DeleteSystemAccountsIDResponse, error)
DeleteSystemAccountsID - Delete System Account Deletes the specified system account. Returns 404 if the requested account was not found.
func (*SystemAccounts) GetSystemAccounts ¶
func (s *SystemAccounts) GetSystemAccounts(ctx context.Context, request operations.GetSystemAccountsRequest, opts ...operations.Option) (*operations.GetSystemAccountsResponse, error)
GetSystemAccounts - List System Accounts Returns an array of system accounts (SA) in the organization. Returns 400 if any filter parameters are invalid.
func (*SystemAccounts) GetSystemAccountsID ¶
func (s *SystemAccounts) GetSystemAccountsID(ctx context.Context, accountID string, opts ...operations.Option) (*operations.GetSystemAccountsIDResponse, error)
GetSystemAccountsID - Fetch System Account Returns the system account (SA) for the SA ID specified as a path parameter.
func (*SystemAccounts) PatchSystemAccountsID ¶
func (s *SystemAccounts) PatchSystemAccountsID(ctx context.Context, accountID string, updateSystemAccount *components.UpdateSystemAccount, opts ...operations.Option) (*operations.PatchSystemAccountsIDResponse, error)
PatchSystemAccountsID - Update System Account Updates the specified system account. Returns a 409 if the updated name is the same as another system account in the organization.
func (*SystemAccounts) PostSystemAccounts ¶
func (s *SystemAccounts) PostSystemAccounts(ctx context.Context, request *components.CreateSystemAccount, opts ...operations.Option) (*operations.PostSystemAccountsResponse, error)
PostSystemAccounts - Create System Account Creates a system account. Returns a 409 if a system account with the same name already exists.
type SystemAccountsAccessTokens ¶
type SystemAccountsAccessTokens struct {
// contains filtered or unexported fields
}
func (*SystemAccountsAccessTokens) DeleteSystemAccountsIDAccessTokensID ¶
func (s *SystemAccountsAccessTokens) DeleteSystemAccountsIDAccessTokensID(ctx context.Context, accountID string, tokenID string, opts ...operations.Option) (*operations.DeleteSystemAccountsIDAccessTokensIDResponse, error)
DeleteSystemAccountsIDAccessTokensID - Delete System Account Access Token Deletes the specified token. Returns 404 if the token was not found.
func (*SystemAccountsAccessTokens) GetSystemAccountIDAccessTokens ¶
func (s *SystemAccountsAccessTokens) GetSystemAccountIDAccessTokens(ctx context.Context, request operations.GetSystemAccountIDAccessTokensRequest, opts ...operations.Option) (*operations.GetSystemAccountIDAccessTokensResponse, error)
GetSystemAccountIDAccessTokens - List System Account Access Tokens Returns the access tokens for the specified system account. Returns 400 if any filter parameters are invalid.
func (*SystemAccountsAccessTokens) GetSystemAccountsIDAccessTokensID ¶
func (s *SystemAccountsAccessTokens) GetSystemAccountsIDAccessTokensID(ctx context.Context, accountID string, tokenID string, opts ...operations.Option) (*operations.GetSystemAccountsIDAccessTokensIDResponse, error)
GetSystemAccountsIDAccessTokensID - Fetch System Account Access Token Returns the system account (SA) access token for the SA Access Token ID specified as a path parameter.
func (*SystemAccountsAccessTokens) PatchSystemAccountsIDAccessTokensID ¶
func (s *SystemAccountsAccessTokens) PatchSystemAccountsIDAccessTokensID(ctx context.Context, request operations.PatchSystemAccountsIDAccessTokensIDRequest, opts ...operations.Option) (*operations.PatchSystemAccountsIDAccessTokensIDResponse, error)
PatchSystemAccountsIDAccessTokensID - Update System Account Access Token Updates the specified access token. Returns a 409 if the updated name is the same as another token belonging to the specified system user.
func (*SystemAccountsAccessTokens) PostSystemAccountsIDAccessTokens ¶
func (s *SystemAccountsAccessTokens) PostSystemAccountsIDAccessTokens(ctx context.Context, accountID string, createSystemAccountAccessToken *components.CreateSystemAccountAccessToken, opts ...operations.Option) (*operations.PostSystemAccountsIDAccessTokensResponse, error)
PostSystemAccountsIDAccessTokens - Create System Account Access Token Creates an access token for the specified system account (SA). The access token can be used for authenticating API and CLI requests. The token will only be displayed once on creation. Returns a 409 if the system account already has a token with the same name.
type SystemAccountsRoles ¶
type SystemAccountsRoles struct {
// contains filtered or unexported fields
}
func (*SystemAccountsRoles) DeleteSystemAccountsAccountIDAssignedRolesRoleID ¶
func (s *SystemAccountsRoles) DeleteSystemAccountsAccountIDAssignedRolesRoleID(ctx context.Context, accountID string, roleID string, opts ...operations.Option) (*operations.DeleteSystemAccountsAccountIDAssignedRolesRoleIDResponse, error)
DeleteSystemAccountsAccountIDAssignedRolesRoleID - Delete Assigned Role from System Account Removes an assigned role from a system account. Returns 404 if the system account or assigned role were not found.
func (*SystemAccountsRoles) GetSystemAccountsAccountIDAssignedRoles ¶
func (s *SystemAccountsRoles) GetSystemAccountsAccountIDAssignedRoles(ctx context.Context, accountID string, filter *operations.GetSystemAccountsAccountIDAssignedRolesQueryParamFilter, opts ...operations.Option) (*operations.GetSystemAccountsAccountIDAssignedRolesResponse, error)
GetSystemAccountsAccountIDAssignedRoles - Fetch Assigned Roles for System Account Lists the roles belonging to a system account. Returns 400 if any filter parameters are invalid.
func (*SystemAccountsRoles) PostSystemAccountsAccountIDAssignedRoles ¶
func (s *SystemAccountsRoles) PostSystemAccountsAccountIDAssignedRoles(ctx context.Context, accountID string, assignRole *components.AssignRole, opts ...operations.Option) (*operations.PostSystemAccountsAccountIDAssignedRolesResponse, error)
PostSystemAccountsAccountIDAssignedRoles - Create Assigned Role for System Account Assigns a role to a system account. Returns 409 if role is already assigned.
type SystemAccountsTeamMembership ¶
type SystemAccountsTeamMembership struct {
// contains filtered or unexported fields
}
func (*SystemAccountsTeamMembership) DeleteTeamsTeamIDSystemAccountsAccountID ¶
func (s *SystemAccountsTeamMembership) DeleteTeamsTeamIDSystemAccountsAccountID(ctx context.Context, teamID string, accountID string, opts ...operations.Option) (*operations.DeleteTeamsTeamIDSystemAccountsAccountIDResponse, error)
DeleteTeamsTeamIDSystemAccountsAccountID - Remove System Account From Team Removes a system account from a team. Returns 404 if the team or system account were not found.
func (*SystemAccountsTeamMembership) GetSystemAccountsAccountIDTeams ¶
func (s *SystemAccountsTeamMembership) GetSystemAccountsAccountIDTeams(ctx context.Context, request operations.GetSystemAccountsAccountIDTeamsRequest, opts ...operations.Option) (*operations.GetSystemAccountsAccountIDTeamsResponse, error)
GetSystemAccountsAccountIDTeams - List Teams for a System Account Returns a paginated list of a teams that the system account belongs to.
func (*SystemAccountsTeamMembership) GetTeamsTeamIDSystemAccounts ¶
func (s *SystemAccountsTeamMembership) GetTeamsTeamIDSystemAccounts(ctx context.Context, request operations.GetTeamsTeamIDSystemAccountsRequest, opts ...operations.Option) (*operations.GetTeamsTeamIDSystemAccountsResponse, error)
GetTeamsTeamIDSystemAccounts - List System Accounts on a Team Returns a paginated list of system accounts that belong to the team specified in the path parameter.
func (*SystemAccountsTeamMembership) PostTeamsTeamIDSystemAccounts ¶
func (s *SystemAccountsTeamMembership) PostTeamsTeamIDSystemAccounts(ctx context.Context, teamID string, addSystemAccountToTeam *components.AddSystemAccountToTeam, opts ...operations.Option) (*operations.PostTeamsTeamIDSystemAccountsResponse, error)
PostTeamsTeamIDSystemAccounts - Add System Account to a Team Adds a system account to a team. Returns a 409 if the system account is already a member of the team.
type Targets ¶
type Targets struct {
// contains filtered or unexported fields
}
func (*Targets) CreateTargetWithUpstream ¶
func (s *Targets) CreateTargetWithUpstream(ctx context.Context, request operations.CreateTargetWithUpstreamRequest, opts ...operations.Option) (*operations.CreateTargetWithUpstreamResponse, error)
CreateTargetWithUpstream - Create a new Target associated with an Upstream Create a new Target associated with an Upstream
func (*Targets) DeleteTargetWithUpstream ¶
func (s *Targets) DeleteTargetWithUpstream(ctx context.Context, request operations.DeleteTargetWithUpstreamRequest, opts ...operations.Option) (*operations.DeleteTargetWithUpstreamResponse, error)
DeleteTargetWithUpstream - Delete a a Target associated with an Upstream Delete a a Target associated with an Upstream using ID or target.
func (*Targets) GetTargetWithUpstream ¶
func (s *Targets) GetTargetWithUpstream(ctx context.Context, request operations.GetTargetWithUpstreamRequest, opts ...operations.Option) (*operations.GetTargetWithUpstreamResponse, error)
GetTargetWithUpstream - Fetch a Target associated with an Upstream Get a Target associated with an Upstream using ID or target.
func (*Targets) ListTargetWithUpstream ¶
func (s *Targets) ListTargetWithUpstream(ctx context.Context, request operations.ListTargetWithUpstreamRequest, opts ...operations.Option) (*operations.ListTargetWithUpstreamResponse, error)
ListTargetWithUpstream - List all Targets associated with an Upstream List all Targets associated with an Upstream
func (*Targets) UpsertTargetWithUpstream ¶
func (s *Targets) UpsertTargetWithUpstream(ctx context.Context, request operations.UpsertTargetWithUpstreamRequest, opts ...operations.Option) (*operations.UpsertTargetWithUpstreamResponse, error)
UpsertTargetWithUpstream - Upsert a Target associated with an Upstream Create or Update a Target associated with an Upstream using ID or target.
type TeamMembership ¶
type TeamMembership struct {
// contains filtered or unexported fields
}
func (*TeamMembership) AddUserToTeam ¶
func (s *TeamMembership) AddUserToTeam(ctx context.Context, teamID string, addUserToTeam *components.AddUserToTeam, opts ...operations.Option) (*operations.AddUserToTeamResponse, error)
AddUserToTeam - Add User Adds a user to a team.
func (*TeamMembership) ListTeamUsers ¶
func (s *TeamMembership) ListTeamUsers(ctx context.Context, request operations.ListTeamUsersRequest, opts ...operations.Option) (*operations.ListTeamUsersResponse, error)
ListTeamUsers - List Team Users Returns a paginated list of users that belong to the team specified in the path parameter.
func (*TeamMembership) ListUserTeams ¶
func (s *TeamMembership) ListUserTeams(ctx context.Context, request operations.ListUserTeamsRequest, opts ...operations.Option) (*operations.ListUserTeamsResponse, error)
ListUserTeams - List User Teams Returns a paginated list of a teams that the user belongs to.
func (*TeamMembership) RemoveUserFromTeam ¶
func (s *TeamMembership) RemoveUserFromTeam(ctx context.Context, userID string, teamID string, opts ...operations.Option) (*operations.RemoveUserFromTeamResponse, error)
RemoveUserFromTeam - Remove User Removes a user from a team. If the user was removed, returns a 204 empty response. Returns 404 if the user or team were not found.
type Teams ¶
type Teams struct {
// contains filtered or unexported fields
}
func (*Teams) CreateTeam ¶
func (s *Teams) CreateTeam(ctx context.Context, request *components.CreateTeam, opts ...operations.Option) (*operations.CreateTeamResponse, error)
CreateTeam - Create Team Creates a team in the Konnect Organization.
func (*Teams) DeleteTeam ¶
func (s *Teams) DeleteTeam(ctx context.Context, teamID string, opts ...operations.Option) (*operations.DeleteTeamResponse, error)
DeleteTeam - Delete Team Deletes an individual team. Returns 404 if the team is not found.
func (*Teams) GetTeam ¶
func (s *Teams) GetTeam(ctx context.Context, teamID string, opts ...operations.Option) (*operations.GetTeamResponse, error)
GetTeam - Fetch Team Returns information about a team from a given team ID.
func (*Teams) ListTeams ¶
func (s *Teams) ListTeams(ctx context.Context, request operations.ListTeamsRequest, opts ...operations.Option) (*operations.ListTeamsResponse, error)
ListTeams - List Teams Returns an array of team objects containing information about the Konnect Teams.
func (*Teams) UpdateTeam ¶
func (s *Teams) UpdateTeam(ctx context.Context, teamID string, updateTeam *components.UpdateTeam, opts ...operations.Option) (*operations.UpdateTeamResponse, error)
UpdateTeam - Update Team Updates an individual team.
type Upstreams ¶
type Upstreams struct {
// contains filtered or unexported fields
}
Upstreams - The upstream object represents a virtual hostname and can be used to load balance incoming requests over multiple services (targets). <br><br> An upstream also includes a [health checker](https://docs.konghq.com/gateway/latest/how-kong-works/health-checks/), which can enable and disable targets based on their ability or inability to serve requests. The configuration for the health checker is stored in the upstream object, and applies to all of its targets.
func (*Upstreams) CreateUpstream ¶
func (s *Upstreams) CreateUpstream(ctx context.Context, controlPlaneID string, upstream components.UpstreamInput, opts ...operations.Option) (*operations.CreateUpstreamResponse, error)
CreateUpstream - Create a new Upstream Create a new Upstream
func (*Upstreams) DeleteUpstream ¶
func (s *Upstreams) DeleteUpstream(ctx context.Context, controlPlaneID string, upstreamID string, opts ...operations.Option) (*operations.DeleteUpstreamResponse, error)
DeleteUpstream - Delete an Upstream Delete an Upstream
func (*Upstreams) GetUpstream ¶
func (s *Upstreams) GetUpstream(ctx context.Context, upstreamID string, controlPlaneID string, opts ...operations.Option) (*operations.GetUpstreamResponse, error)
GetUpstream - Fetch an Upstream Get an Upstream using ID or name.
func (*Upstreams) ListUpstream ¶
func (s *Upstreams) ListUpstream(ctx context.Context, request operations.ListUpstreamRequest, opts ...operations.Option) (*operations.ListUpstreamResponse, error)
ListUpstream - List all Upstreams List all Upstreams
func (*Upstreams) UpsertUpstream ¶
func (s *Upstreams) UpsertUpstream(ctx context.Context, request operations.UpsertUpstreamRequest, opts ...operations.Option) (*operations.UpsertUpstreamResponse, error)
UpsertUpstream - Upsert a Upstream Create or Update Upstream using ID or name.
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
func (*Users) DeleteUser ¶
func (s *Users) DeleteUser(ctx context.Context, userID string, opts ...operations.Option) (*operations.DeleteUserResponse, error)
DeleteUser - Delete User Deletes an individual user. Returns 404 if the requested user was not found.
func (*Users) GetUser ¶
func (s *Users) GetUser(ctx context.Context, userID string, opts ...operations.Option) (*operations.GetUserResponse, error)
GetUser - Fetch User Returns the user object for the user ID specified as a path parameter.
func (*Users) ListUsers ¶
func (s *Users) ListUsers(ctx context.Context, request operations.ListUsersRequest, opts ...operations.Option) (*operations.ListUsersResponse, error)
ListUsers - List Users Returns a paginated list of user objects.
func (*Users) UpdateUser ¶
func (s *Users) UpdateUser(ctx context.Context, userID string, updateUser *components.UpdateUser, opts ...operations.Option) (*operations.UpdateUserResponse, error)
UpdateUser - Update User Update an individual user.
type Vaults ¶
type Vaults struct {
// contains filtered or unexported fields
}
Vaults - Vault objects are used to configure different vault connectors for [managing secrets](https://docs.konghq.com/gateway/latest/kong-enterprise/secrets-management/). Configuring a vault lets you reference secrets from other entities. This allows for a proper separation of secrets and configuration and prevents secret sprawl. <br><br> For example, you could store a certificate and a key in a vault, then reference them from a certificate entity. This way, the certificate and key are not stored in the entity directly and are more secure. <br><br> Secrets rotation can be managed using [TTLs](https://docs.konghq.com/gateway/latest/kong-enterprise/secrets-management/advanced-usage/).
func (*Vaults) CreateVault ¶
func (s *Vaults) CreateVault(ctx context.Context, controlPlaneID string, vault components.VaultInput, opts ...operations.Option) (*operations.CreateVaultResponse, error)
CreateVault - Create a new Vault Create a new Vault
func (*Vaults) DeleteVault ¶
func (s *Vaults) DeleteVault(ctx context.Context, controlPlaneID string, vaultID string, opts ...operations.Option) (*operations.DeleteVaultResponse, error)
DeleteVault - Delete a Vault Delete a Vault
func (*Vaults) GetVault ¶
func (s *Vaults) GetVault(ctx context.Context, vaultID string, controlPlaneID string, opts ...operations.Option) (*operations.GetVaultResponse, error)
GetVault - Fetch a Vault Get a Vault using ID or prefix.
func (*Vaults) ListVault ¶
func (s *Vaults) ListVault(ctx context.Context, request operations.ListVaultRequest, opts ...operations.Option) (*operations.ListVaultResponse, error)
ListVault - List all Vaults List all Vaults
func (*Vaults) UpsertVault ¶
func (s *Vaults) UpsertVault(ctx context.Context, request operations.UpsertVaultRequest, opts ...operations.Option) (*operations.UpsertVaultResponse, error)
UpsertVault - Upsert a Vault Create or Update Vault using ID or prefix.
Source Files
¶
- acls.go
- apikeys.go
- authentication.go
- authsettings.go
- basicauthcredentials.go
- cacertificates.go
- certificates.go
- cloudgateways.go
- configstores.go
- configstoresecrets.go
- consumergroups.go
- consumers.go
- controlplanegroups.go
- controlplanes.go
- custompluginschemas.go
- dpcertificates.go
- dpnodes.go
- hmacauthcredentials.go
- impersonationsettings.go
- invites.go
- jwts.go
- keys.go
- keysets.go
- me.go
- mtlsauthcredentials.go
- notifications.go
- plugins.go
- roles.go
- routes.go
- sdk.go
- services.go
- snis.go
- systemaccounts.go
- systemaccountsaccesstokens.go
- systemaccountsroles.go
- systemaccountsteammembership.go
- targets.go
- teammembership.go
- teams.go
- upstreams.go
- users.go
- vaults.go