Documentation ¶
Index ¶
- func NewGatewayOpenapiConsumerServiceImpl() error
- type GatewayOpenapiConsumerServiceImpl
- func (impl GatewayOpenapiConsumerServiceImpl) Clone(ctx context.Context) openapi_consumer.GatewayOpenapiConsumerService
- func (impl GatewayOpenapiConsumerServiceImpl) CreateClientConsumer(clientName, clientId, clientSecret, clusterName string) (consumer *orm.GatewayConsumer, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) CreateConsumer(args *gw.DiceArgsDto, dto *gw.OpenConsumerDto) (id string, exists bool, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) DeleteConsumer(id string) (res bool, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetConsumerAcls(id string) (result []gw.ConsumerAclInfoDto, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetConsumerCredentials(id string) (res gw.ConsumerCredentialsDto, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetConsumers(args *gw.GetOpenConsumersDto) (res common.NewPageQuery, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetConsumersName(args *gw.GetOpenConsumersDto) (list []gw.OpenConsumerInfoDto, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetConsumersOfPackage(packageId string) ([]orm.GatewayConsumer, error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetConsumersOfPackageApi(packageId, packageApiId string) ([]orm.GatewayConsumer, error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetKongConsumerName(consumer *orm.GatewayConsumer) string
- func (impl GatewayOpenapiConsumerServiceImpl) GetPackageAcls(id string) (result []gw.PackageAclInfoDto, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GetPackageApiAcls(packageId string, packageApiId string) (result []gw.PackageAclInfoDto, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) GrantPackageToConsumer(consumerId, packageId string) error
- func (impl GatewayOpenapiConsumerServiceImpl) RevokePackageFromConsumer(consumerId, packageId string) error
- func (impl GatewayOpenapiConsumerServiceImpl) UpdateConsumer(id string, dto *gw.OpenConsumerDto) (res *gw.OpenConsumerInfoDto, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) UpdateConsumerAcls(id string, dto *gw.ConsumerAclsDto) (res bool, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) UpdateConsumerCredentials(id string, dto *gw.ConsumerCredentialsDto) (res gw.ConsumerCredentialsDto, exists string, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) UpdatePackageAcls(id string, dto *gw.PackageAclsDto) (result bool, err error)
- func (impl GatewayOpenapiConsumerServiceImpl) UpdatePackageApiAcls(packageId, packageApiId string, dto *gw.PackageAclsDto) (result bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayOpenapiConsumerServiceImpl ¶
func NewGatewayOpenapiConsumerServiceImpl() error
Types ¶
type GatewayOpenapiConsumerServiceImpl ¶
type GatewayOpenapiConsumerServiceImpl struct {
// contains filtered or unexported fields
}
func (GatewayOpenapiConsumerServiceImpl) Clone ¶
func (impl GatewayOpenapiConsumerServiceImpl) Clone(ctx context.Context) openapi_consumer.GatewayOpenapiConsumerService
func (GatewayOpenapiConsumerServiceImpl) CreateClientConsumer ¶
func (impl GatewayOpenapiConsumerServiceImpl) CreateClientConsumer(clientName, clientId, clientSecret, clusterName string) (consumer *orm.GatewayConsumer, err error)
func (GatewayOpenapiConsumerServiceImpl) CreateConsumer ¶
func (impl GatewayOpenapiConsumerServiceImpl) CreateConsumer(args *gw.DiceArgsDto, dto *gw.OpenConsumerDto) (id string, exists bool, err error)
func (GatewayOpenapiConsumerServiceImpl) DeleteConsumer ¶
func (impl GatewayOpenapiConsumerServiceImpl) DeleteConsumer(id string) (res bool, err error)
func (GatewayOpenapiConsumerServiceImpl) GetConsumerAcls ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetConsumerAcls(id string) (result []gw.ConsumerAclInfoDto, err error)
func (GatewayOpenapiConsumerServiceImpl) GetConsumerCredentials ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetConsumerCredentials(id string) (res gw.ConsumerCredentialsDto, err error)
func (GatewayOpenapiConsumerServiceImpl) GetConsumers ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetConsumers(args *gw.GetOpenConsumersDto) (res common.NewPageQuery, err error)
func (GatewayOpenapiConsumerServiceImpl) GetConsumersName ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetConsumersName(args *gw.GetOpenConsumersDto) (list []gw.OpenConsumerInfoDto, err error)
func (GatewayOpenapiConsumerServiceImpl) GetConsumersOfPackage ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetConsumersOfPackage(packageId string) ([]orm.GatewayConsumer, error)
func (GatewayOpenapiConsumerServiceImpl) GetConsumersOfPackageApi ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetConsumersOfPackageApi(packageId, packageApiId string) ([]orm.GatewayConsumer, error)
func (GatewayOpenapiConsumerServiceImpl) GetKongConsumerName ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetKongConsumerName(consumer *orm.GatewayConsumer) string
func (GatewayOpenapiConsumerServiceImpl) GetPackageAcls ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetPackageAcls(id string) (result []gw.PackageAclInfoDto, err error)
func (GatewayOpenapiConsumerServiceImpl) GetPackageApiAcls ¶
func (impl GatewayOpenapiConsumerServiceImpl) GetPackageApiAcls(packageId string, packageApiId string) (result []gw.PackageAclInfoDto, err error)
func (GatewayOpenapiConsumerServiceImpl) GrantPackageToConsumer ¶
func (impl GatewayOpenapiConsumerServiceImpl) GrantPackageToConsumer(consumerId, packageId string) error
func (GatewayOpenapiConsumerServiceImpl) RevokePackageFromConsumer ¶
func (impl GatewayOpenapiConsumerServiceImpl) RevokePackageFromConsumer(consumerId, packageId string) error
func (GatewayOpenapiConsumerServiceImpl) UpdateConsumer ¶
func (impl GatewayOpenapiConsumerServiceImpl) UpdateConsumer(id string, dto *gw.OpenConsumerDto) (res *gw.OpenConsumerInfoDto, err error)
func (GatewayOpenapiConsumerServiceImpl) UpdateConsumerAcls ¶
func (impl GatewayOpenapiConsumerServiceImpl) UpdateConsumerAcls(id string, dto *gw.ConsumerAclsDto) (res bool, err error)
func (GatewayOpenapiConsumerServiceImpl) UpdateConsumerCredentials ¶
func (impl GatewayOpenapiConsumerServiceImpl) UpdateConsumerCredentials(id string, dto *gw.ConsumerCredentialsDto) (res gw.ConsumerCredentialsDto, exists string, err error)
func (GatewayOpenapiConsumerServiceImpl) UpdatePackageAcls ¶
func (impl GatewayOpenapiConsumerServiceImpl) UpdatePackageAcls(id string, dto *gw.PackageAclsDto) (result bool, err error)
func (GatewayOpenapiConsumerServiceImpl) UpdatePackageApiAcls ¶
func (impl GatewayOpenapiConsumerServiceImpl) UpdatePackageApiAcls(packageId, packageApiId string, dto *gw.PackageAclsDto) (result bool, err error)
Click to show internal directories.
Click to hide internal directories.