impl

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

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 (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 (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) GetGatewayProvider

func (impl GatewayOpenapiConsumerServiceImpl) GetGatewayProvider(clusterName string) (string, 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) TouchPackageApiAclRules

func (impl GatewayOpenapiConsumerServiceImpl) TouchPackageApiAclRules(packageId, packageApiId 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL