get_services

package
v7.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

查询 IAM 的服务列表

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetServicesResp

type GetServicesResp = Response

返回的服务列表响应

type Request

type Request struct {
	Page        int64                           // 分页页号,从 1 开始,默认 1
	PageSize    int64                           // 分页大小,默认 20,最大 2000
	Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
}

调用 API 所用的请求

type Response

type Response struct {
	Data Services // 服务列表信息
}

获取 API 所用的响应

func (*Response) MarshalJSON

func (j *Response) MarshalJSON() ([]byte, error)

func (*Response) UnmarshalJSON

func (j *Response) UnmarshalJSON(data []byte) error

type Services

type Services = []string

服务列表

Jump to

Keyboard shortcuts

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