aliyun

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiUtils

type ApiUtils struct {
	// contains filtered or unexported fields
}

func NewApiUtils

func NewApiUtils(accessKeyId *string, accessKeySecret *string, region *string) (*ApiUtils, error)

func (*ApiUtils) CreateApp

func (a *ApiUtils) CreateApp(appName *string, appTags map[string]string) (int64, error)

func (*ApiUtils) DelApp

func (a *ApiUtils) DelApp(appId *int64, appTags map[string]string) error

func (*ApiUtils) GetApiList

func (a *ApiUtils) GetApiList(groupName *string, stage *string, source *string) ([]string, error)

func (*ApiUtils) GetAppSecurity

func (a *ApiUtils) GetAppSecurity(appId int64) (*string, *string, error)

func (*ApiUtils) ResetAppSecret

func (a *ApiUtils) ResetAppSecret(appKey string) error

func (*ApiUtils) SearchAppByTag

func (a *ApiUtils) SearchAppByTag(appTags map[string]string) (int64, error)

func (ApiUtils) SetApisAuthorities

func (a ApiUtils) SetApisAuthorities(apis []string, appId int64, stage *string, expiration int64) error

Jump to

Keyboard shortcuts

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