model

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BizAppParam

type BizAppParam struct {

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用名称.字符集长度2-64,仅支持字符集:中文字符、英文字母、数字、下划线、中划线、点
	DisplayName *string `json:"display_name,omitempty"`

	// 应用关联的企业项目id。企业级用户必传
	EpsId *string `json:"eps_id,omitempty"`

	// 唯一标识.字符集长度2-64,仅支持字符集:英文字母、数字、下划线、中划线、点
	Name string `json:"name"`

	// 前端默认是CONSOLE,不需要传参。rest接口无参数是API,有参数只能是:SERVICE_DISCOVERY
	RegisterType *BizAppParamRegisterType `json:"register_type,omitempty"`
}

func (BizAppParam) String

func (o BizAppParam) String() string

type BizAppParamRegisterType added in v0.1.19

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

func (BizAppParamRegisterType) MarshalJSON added in v0.1.19

func (c BizAppParamRegisterType) MarshalJSON() ([]byte, error)

func (*BizAppParamRegisterType) UnmarshalJSON added in v0.1.19

func (c *BizAppParamRegisterType) UnmarshalJSON(b []byte) error

func (BizAppParamRegisterType) Value added in v0.1.19

func (c BizAppParamRegisterType) Value() string

type BizAppParamRegisterTypeEnum added in v0.1.19

type BizAppParamRegisterTypeEnum struct {
	API                      BizAppParamRegisterType
	CONSOLESERVICE_DISCOVERY BizAppParamRegisterType
}

func GetBizAppParamRegisterTypeEnum added in v0.1.19

func GetBizAppParamRegisterTypeEnum() BizAppParamRegisterTypeEnum

type ComponentParam

type ComponentParam struct {

	// 组件描述
	Description *string `json:"description,omitempty"`

	// 应用Id、子应用Id;id长度不能超过36位,由大小写字母、数字组成
	ModelId string `json:"model_id"`

	// 应用、子应用,取值:APPLICATION、SUB_APPLICATION
	ModelType string `json:"model_type"`

	// 组件名称
	Name string `json:"name"`
}

func (ComponentParam) String

func (o ComponentParam) String() string

type ComponentUpdateParam added in v0.1.19

type ComponentUpdateParam struct {

	// 组件描述
	Description *string `json:"description,omitempty"`

	// 组件名称
	Name string `json:"name"`
}

func (ComponentUpdateParam) String added in v0.1.19

func (o ComponentUpdateParam) String() string

type CreateAppRequest

type CreateAppRequest struct {
	Body *BizAppParam `json:"body,omitempty"`
}

Request Object

func (CreateAppRequest) String

func (o CreateAppRequest) String() string

type CreateAppResponse

type CreateAppResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAppResponse) String

func (o CreateAppResponse) String() string

type CreateComponentRequest

type CreateComponentRequest struct {
	Body *ComponentParam `json:"body,omitempty"`
}

Request Object

func (CreateComponentRequest) String

func (o CreateComponentRequest) String() string

type CreateComponentResponse

type CreateComponentResponse struct {

	// 对象id
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateComponentResponse) String

func (o CreateComponentResponse) String() string

type CreateEnvRequest

type CreateEnvRequest struct {
	Body *EnvParam `json:"body,omitempty"`
}

Request Object

func (CreateEnvRequest) String

func (o CreateEnvRequest) String() string

type CreateEnvResponse

type CreateEnvResponse struct {

	// 对象id
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEnvResponse) String

func (o CreateEnvResponse) String() string

type DeleteAppRequest

type DeleteAppRequest struct {

	// 应用id
	ApplicationId string `json:"application_id"`
}

Request Object

func (DeleteAppRequest) String

func (o DeleteAppRequest) String() string

type DeleteAppResponse

type DeleteAppResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteAppResponse) String

func (o DeleteAppResponse) String() string

type DeleteComponentRequest

type DeleteComponentRequest struct {

	// 组件id
	ComponentId string `json:"component_id"`
}

Request Object

func (DeleteComponentRequest) String

func (o DeleteComponentRequest) String() string

type DeleteComponentResponse

type DeleteComponentResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteComponentResponse) String

func (o DeleteComponentResponse) String() string

type DeleteEnvRequest

type DeleteEnvRequest struct {

	// 环境id
	EnvironmentId string `json:"environment_id"`
}

Request Object

func (DeleteEnvRequest) String

func (o DeleteEnvRequest) String() string

type DeleteEnvResponse

type DeleteEnvResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteEnvResponse) String

func (o DeleteEnvResponse) String() string

type EnvParam

type EnvParam struct {

	// 环境关联组件id;id长度不能超过36位,由大小写字母、数字组成
	ComponentId string `json:"component_id"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 环境名称
	EnvName string `json:"env_name"`

	// 环境类型,取值:DEV、TEST、PRE、ONLINE
	EnvType string `json:"env_type"`

	// OS类型,取值:LINUX、WINDOWS
	OsType string `json:"os_type"`

	// 环境关联region。创建环境必传
	Region *string `json:"region,omitempty"`

	// 注册类型,取值:API、SERVICE_DISCOVERY、CONSOLE,默认值:API
	RegisterType *string `json:"register_type,omitempty"`
}

func (EnvParam) String

func (o EnvParam) String() string

type ListResourceUnderNodeRequest

type ListResourceUnderNodeRequest struct {

	// 云服务资源;同rms服务的provider
	RfResourceType string `json:"rf_resource_type"`

	// 云服务资源类型;同rms服务的type
	Type string `json:"type"`

	Body *PageResourceListParam `json:"body,omitempty"`
}

Request Object

func (ListResourceUnderNodeRequest) String

type ListResourceUnderNodeResponse

type ListResourceUnderNodeResponse struct {

	// 分页查询的数据。
	Data *[]interface{} `json:"data,omitempty"`

	// 分页信息。
	PageInfo       *interface{} `json:"page_info,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListResourceUnderNodeResponse) String

type PageResourceListParam

type PageResourceListParam struct {

	// 页面的分页标志位;为分页的最后一条记录的id
	Marker *string `json:"marker,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 关键字模糊搜索
	Keywords map[string]string `json:"keywords,omitempty"`

	// 是否需要返回拓扑树,默认是false。需要:true---性能差,不需要false--性能好
	CiRelationships *bool `json:"ci_relationships,omitempty"`

	// 节点类型,取值:application、sub_application、component、environment
	CiType string `json:"ci_type"`

	// 环境的region信息,若没有值,代表全部
	CiRegion *string `json:"ci_region,omitempty"`

	// 节点id列表;如果ci_ids和ci_id同时有,则优先ci_ids,但是不能同时为空
	CiIds *[]string `json:"ci_ids,omitempty"`

	// 节点id列表;如果ci_ids和ci_id同时有,则优先ci_ids,但是不能同时为空。但是不支持应用批量查询
	CiId *string `json:"ci_id,omitempty"`
}

func (PageResourceListParam) String

func (o PageResourceListParam) String() string

type ShowAppByNameRequest

type ShowAppByNameRequest struct {

	// 应用唯一标识;字符集长度2-64,仅支持字符集:英文字母、数字、下划线、中划线、点;应用唯一标识与显示名称至少填写其一
	Name *string `json:"name,omitempty"`

	// 实体的显示名称;字符集长度2-64,仅支持字符集:中文字符、英文字母、数字、下划线、中划线、点;应用唯一标识与显示名称至少填写其一
	DisplayName *string `json:"display_name,omitempty"`
}

Request Object

func (ShowAppByNameRequest) String

func (o ShowAppByNameRequest) String() string

type ShowAppByNameResponse

type ShowAppByNameResponse struct {

	// aomId
	AomId *string `json:"aom_id,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建人
	Creator *string `json:"creator,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 应用名称
	DisplayName *string `json:"display_name,omitempty"`

	// 企业项目id
	EpsId *string `json:"eps_id,omitempty"`

	// 修改时间
	ModifiedTime *string `json:"modified_time,omitempty"`

	// 修改人
	Modifier *string `json:"modifier,omitempty"`

	// 唯一标识
	Name *string `json:"name,omitempty"`

	// 注册方式
	RegisterType   *ShowAppByNameResponseRegisterType `json:"register_type,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

Response Object

func (ShowAppByNameResponse) String

func (o ShowAppByNameResponse) String() string

type ShowAppByNameResponseRegisterType

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

func (ShowAppByNameResponseRegisterType) MarshalJSON

func (c ShowAppByNameResponseRegisterType) MarshalJSON() ([]byte, error)

func (*ShowAppByNameResponseRegisterType) UnmarshalJSON

func (c *ShowAppByNameResponseRegisterType) UnmarshalJSON(b []byte) error

func (ShowAppByNameResponseRegisterType) Value

type ShowAppByNameResponseRegisterTypeEnum

type ShowAppByNameResponseRegisterTypeEnum struct {
	API               ShowAppByNameResponseRegisterType
	CONSOLE           ShowAppByNameResponseRegisterType
	SERVICE_DISCOVERY ShowAppByNameResponseRegisterType
}

func GetShowAppByNameResponseRegisterTypeEnum

func GetShowAppByNameResponseRegisterTypeEnum() ShowAppByNameResponseRegisterTypeEnum

type ShowAppRequest

type ShowAppRequest struct {

	// 应用id
	ApplicationId string `json:"application_id"`
}

Request Object

func (ShowAppRequest) String

func (o ShowAppRequest) String() string

type ShowAppResponse

type ShowAppResponse struct {

	// aomId
	AomId *string `json:"aom_id,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建人
	Creator *string `json:"creator,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 应用名称
	DisplayName *string `json:"display_name,omitempty"`

	// 企业项目id
	EpsId *string `json:"eps_id,omitempty"`

	// 修改时间
	ModifiedTime *string `json:"modified_time,omitempty"`

	// 修改人
	Modifier *string `json:"modifier,omitempty"`

	// 唯一标识
	Name *string `json:"name,omitempty"`

	// 注册方式
	RegisterType   *ShowAppResponseRegisterType `json:"register_type,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ShowAppResponse) String

func (o ShowAppResponse) String() string

type ShowAppResponseRegisterType

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

func (ShowAppResponseRegisterType) MarshalJSON

func (c ShowAppResponseRegisterType) MarshalJSON() ([]byte, error)

func (*ShowAppResponseRegisterType) UnmarshalJSON

func (c *ShowAppResponseRegisterType) UnmarshalJSON(b []byte) error

func (ShowAppResponseRegisterType) Value

type ShowAppResponseRegisterTypeEnum

type ShowAppResponseRegisterTypeEnum struct {
	API               ShowAppResponseRegisterType
	CONSOLE           ShowAppResponseRegisterType
	SERVICE_DISCOVERY ShowAppResponseRegisterType
}

func GetShowAppResponseRegisterTypeEnum

func GetShowAppResponseRegisterTypeEnum() ShowAppResponseRegisterTypeEnum

type ShowComponentByNameRequest

type ShowComponentByNameRequest struct {

	// 应用id
	ApplicationId string `json:"application_id"`

	// 组件名称
	ComponentName string `json:"component_name"`
}

Request Object

func (ShowComponentByNameRequest) String

type ShowComponentByNameResponse

type ShowComponentByNameResponse struct {

	// 组件名称
	Name *string `json:"name,omitempty"`

	// 组件id
	Id *string `json:"id,omitempty"`

	// aomId
	AomId *string `json:"aom_id,omitempty"`

	// 应用id
	AppId          *string `json:"app_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowComponentByNameResponse) String

type ShowComponentRequest

type ShowComponentRequest struct {

	// 组件id
	ComponentId string `json:"component_id"`
}

Request Object

func (ShowComponentRequest) String

func (o ShowComponentRequest) String() string

type ShowComponentResponse

type ShowComponentResponse struct {

	// aomId
	AomId *string `json:"aom_id,omitempty"`

	// 应用id
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建者
	Creator *string `json:"creator,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 组件Id
	Id *string `json:"id,omitempty"`

	// 修改时间
	ModifiedTime *string `json:"modified_time,omitempty"`

	// 修改者
	Modifier *string `json:"modifier,omitempty"`

	// 组件名称
	Name *string `json:"name,omitempty"`

	// 注册方式
	RegisterType *ShowComponentResponseRegisterType `json:"register_type,omitempty"`

	// 子应用id
	SubAppId       *string `json:"sub_app_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowComponentResponse) String

func (o ShowComponentResponse) String() string

type ShowComponentResponseRegisterType

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

func (ShowComponentResponseRegisterType) MarshalJSON

func (c ShowComponentResponseRegisterType) MarshalJSON() ([]byte, error)

func (*ShowComponentResponseRegisterType) UnmarshalJSON

func (c *ShowComponentResponseRegisterType) UnmarshalJSON(b []byte) error

func (ShowComponentResponseRegisterType) Value

type ShowComponentResponseRegisterTypeEnum

type ShowComponentResponseRegisterTypeEnum struct {
	API               ShowComponentResponseRegisterType
	CONSOLE           ShowComponentResponseRegisterType
	SERVICE_DISCOVERY ShowComponentResponseRegisterType
}

func GetShowComponentResponseRegisterTypeEnum

func GetShowComponentResponseRegisterTypeEnum() ShowComponentResponseRegisterTypeEnum

type ShowEnvByNameRequest

type ShowEnvByNameRequest struct {

	// 环境名称
	EnvironmentName string `json:"environment_name"`

	// 环境region
	Region string `json:"region"`

	// 组件id
	ComponentId string `json:"component_id"`
}

Request Object

func (ShowEnvByNameRequest) String

func (o ShowEnvByNameRequest) String() string

type ShowEnvByNameResponse

type ShowEnvByNameResponse struct {

	// aomId
	AomId *string `json:"aom_id,omitempty"`

	// 组件Id
	ComponentId *string `json:"component_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建者
	Creator *string `json:"creator,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 环境Id
	EnvId *string `json:"env_id,omitempty"`

	// 环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 环境标签
	EnvTags *[]TagNameAndIdVo `json:"env_tags,omitempty"`

	// 环境类型
	EnvType *string `json:"env_type,omitempty"`

	// 企业项目Id
	EpsId *string `json:"eps_id,omitempty"`

	// 修改时间
	ModifiedTime *string `json:"modified_time,omitempty"`

	// 修改者
	Modifier *string `json:"modifier,omitempty"`

	// os类型
	OsType *string `json:"os_type,omitempty"`

	// 区域
	Region *string `json:"region,omitempty"`

	// 注册方式
	RegisterType   *ShowEnvByNameResponseRegisterType `json:"register_type,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

Response Object

func (ShowEnvByNameResponse) String

func (o ShowEnvByNameResponse) String() string

type ShowEnvByNameResponseRegisterType

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

func (ShowEnvByNameResponseRegisterType) MarshalJSON

func (c ShowEnvByNameResponseRegisterType) MarshalJSON() ([]byte, error)

func (*ShowEnvByNameResponseRegisterType) UnmarshalJSON

func (c *ShowEnvByNameResponseRegisterType) UnmarshalJSON(b []byte) error

func (ShowEnvByNameResponseRegisterType) Value

type ShowEnvByNameResponseRegisterTypeEnum

type ShowEnvByNameResponseRegisterTypeEnum struct {
	API               ShowEnvByNameResponseRegisterType
	CONSOLE           ShowEnvByNameResponseRegisterType
	SERVICE_DISCOVERY ShowEnvByNameResponseRegisterType
}

func GetShowEnvByNameResponseRegisterTypeEnum

func GetShowEnvByNameResponseRegisterTypeEnum() ShowEnvByNameResponseRegisterTypeEnum

type ShowEnvRequest

type ShowEnvRequest struct {

	// 环境id
	EnvironmentId string `json:"environment_id"`
}

Request Object

func (ShowEnvRequest) String

func (o ShowEnvRequest) String() string

type ShowEnvResponse

type ShowEnvResponse struct {

	// aomId
	AomId *string `json:"aom_id,omitempty"`

	// 组件Id
	ComponentId *string `json:"component_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建者
	Creator *string `json:"creator,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 环境Id
	EnvId *string `json:"env_id,omitempty"`

	// 环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 环境标签
	EnvTags *[]TagNameAndIdVo `json:"env_tags,omitempty"`

	// 环境类型
	EnvType *string `json:"env_type,omitempty"`

	// 企业项目Id
	EpsId *string `json:"eps_id,omitempty"`

	// 修改时间
	ModifiedTime *string `json:"modified_time,omitempty"`

	// 修改者
	Modifier *string `json:"modifier,omitempty"`

	// os类型
	OsType *string `json:"os_type,omitempty"`

	// 区域
	Region *string `json:"region,omitempty"`

	// 注册方式
	RegisterType   *ShowEnvResponseRegisterType `json:"register_type,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ShowEnvResponse) String

func (o ShowEnvResponse) String() string

type ShowEnvResponseRegisterType

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

func (ShowEnvResponseRegisterType) MarshalJSON

func (c ShowEnvResponseRegisterType) MarshalJSON() ([]byte, error)

func (*ShowEnvResponseRegisterType) UnmarshalJSON

func (c *ShowEnvResponseRegisterType) UnmarshalJSON(b []byte) error

func (ShowEnvResponseRegisterType) Value

type ShowEnvResponseRegisterTypeEnum

type ShowEnvResponseRegisterTypeEnum struct {
	API               ShowEnvResponseRegisterType
	CONSOLE           ShowEnvResponseRegisterType
	SERVICE_DISCOVERY ShowEnvResponseRegisterType
}

func GetShowEnvResponseRegisterTypeEnum

func GetShowEnvResponseRegisterTypeEnum() ShowEnvResponseRegisterTypeEnum

type TagNameAndIdVo

type TagNameAndIdVo struct {

	// 标签Id
	TagId *string `json:"tag_id,omitempty"`

	// 标签名称
	TagName *string `json:"tag_name,omitempty"`
}

func (TagNameAndIdVo) String

func (o TagNameAndIdVo) String() string

type UpdateAppRequest

type UpdateAppRequest struct {

	// 应用id
	ApplicationId string `json:"application_id"`

	Body *BizAppParam `json:"body,omitempty"`
}

Request Object

func (UpdateAppRequest) String

func (o UpdateAppRequest) String() string

type UpdateAppResponse

type UpdateAppResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateAppResponse) String

func (o UpdateAppResponse) String() string

type UpdateComponentRequest

type UpdateComponentRequest struct {

	// 组件id
	ComponentId string `json:"component_id"`

	Body *ComponentUpdateParam `json:"body,omitempty"`
}

Request Object

func (UpdateComponentRequest) String

func (o UpdateComponentRequest) String() string

type UpdateComponentResponse

type UpdateComponentResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateComponentResponse) String

func (o UpdateComponentResponse) String() string

type UpdateEnvRequest

type UpdateEnvRequest struct {

	// 环境id
	EnvironmentId string `json:"environment_id"`

	Body *EnvParam `json:"body,omitempty"`
}

Request Object

func (UpdateEnvRequest) String

func (o UpdateEnvRequest) String() string

type UpdateEnvResponse

type UpdateEnvResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateEnvResponse) String

func (o UpdateEnvResponse) String() string

type WaterfallPageListParam

type WaterfallPageListParam struct {

	// 页面的分页标志位;为分页的最后一条记录的id
	Marker *string `json:"marker,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`
}

func (WaterfallPageListParam) String

func (o WaterfallPageListParam) String() string

Jump to

Keyboard shortcuts

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