model

package
v0.1.78 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 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 {

	// 描述:最大255字符
	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
	CONSOLE           BizAppParamRegisterType
	SERVICE_DISCOVERY BizAppParamRegisterType
}

func GetBizAppParamRegisterTypeEnum added in v0.1.19

func GetBizAppParamRegisterTypeEnum() BizAppParamRegisterTypeEnum

type ComponentParam

type ComponentParam struct {

	// 组件描述:最大255字符
	Description *string `json:"description,omitempty"`

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

	// 应用、子应用,取值:APPLICATION、SUB_APPLICATION ,不区分大小写
	ModelType ComponentParamModelType `json:"model_type"`

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

func (ComponentParam) String

func (o ComponentParam) String() string

type ComponentParamModelType added in v0.1.62

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

func (ComponentParamModelType) MarshalJSON added in v0.1.62

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

func (*ComponentParamModelType) UnmarshalJSON added in v0.1.62

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

func (ComponentParamModelType) Value added in v0.1.62

func (c ComponentParamModelType) Value() string

type ComponentParamModelTypeEnum added in v0.1.62

type ComponentParamModelTypeEnum struct {
	APPLICATION     ComponentParamModelType
	SUB_APPLICATION ComponentParamModelType
}

func GetComponentParamModelTypeEnum added in v0.1.62

func GetComponentParamModelTypeEnum() ComponentParamModelTypeEnum

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"`
}

CreateAppRequest Request Object

func (CreateAppRequest) String

func (o CreateAppRequest) String() string

type CreateAppResponse

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

CreateAppResponse Response Object

func (CreateAppResponse) String

func (o CreateAppResponse) String() string

type CreateComponentRequest

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

CreateComponentRequest Request Object

func (CreateComponentRequest) String

func (o CreateComponentRequest) String() string

type CreateComponentResponse

type CreateComponentResponse struct {

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

CreateComponentResponse Response Object

func (CreateComponentResponse) String

func (o CreateComponentResponse) String() string

type CreateEnvRequest

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

CreateEnvRequest Request Object

func (CreateEnvRequest) String

func (o CreateEnvRequest) String() string

type CreateEnvResponse

type CreateEnvResponse struct {

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

CreateEnvResponse Response Object

func (CreateEnvResponse) String

func (o CreateEnvResponse) String() string

type CreateSubAppRequest added in v0.1.62

type CreateSubAppRequest struct {
	Body *SubAppCreateParam `json:"body,omitempty"`
}

CreateSubAppRequest Request Object

func (CreateSubAppRequest) String added in v0.1.62

func (o CreateSubAppRequest) String() string

type CreateSubAppResponse added in v0.1.62

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

CreateSubAppResponse Response Object

func (CreateSubAppResponse) String added in v0.1.62

func (o CreateSubAppResponse) String() string

type DeleteAppRequest

type DeleteAppRequest struct {

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

DeleteAppRequest Request Object

func (DeleteAppRequest) String

func (o DeleteAppRequest) String() string

type DeleteAppResponse

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

DeleteAppResponse Response Object

func (DeleteAppResponse) String

func (o DeleteAppResponse) String() string

type DeleteComponentRequest

type DeleteComponentRequest struct {

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

DeleteComponentRequest Request Object

func (DeleteComponentRequest) String

func (o DeleteComponentRequest) String() string

type DeleteComponentResponse

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

DeleteComponentResponse Response Object

func (DeleteComponentResponse) String

func (o DeleteComponentResponse) String() string

type DeleteEnvRequest

type DeleteEnvRequest struct {

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

DeleteEnvRequest Request Object

func (DeleteEnvRequest) String

func (o DeleteEnvRequest) String() string

type DeleteEnvResponse

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

DeleteEnvResponse Response Object

func (DeleteEnvResponse) String

func (o DeleteEnvResponse) String() string

type DeleteSubAppRequest added in v0.1.62

type DeleteSubAppRequest struct {

	// 子应用id
	SubAppId string `json:"sub_app_id"`
}

DeleteSubAppRequest Request Object

func (DeleteSubAppRequest) String added in v0.1.62

func (o DeleteSubAppRequest) String() string

type DeleteSubAppResponse added in v0.1.62

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

DeleteSubAppResponse Response Object

func (DeleteSubAppResponse) String added in v0.1.62

func (o DeleteSubAppResponse) String() string

type EnvParam

type EnvParam struct {

	// 环境关联组件id;id长度不能超过36位,由大小写字母、数字组成。创建环境必传,修改环境时非必选
	ComponentId string `json:"component_id"`

	// 描述:最大255字符
	Description *string `json:"description,omitempty"`

	// 显示名:字符集长度2-64,仅支持字符集:中文字符、英文字母、数字、下划线、中划线、点
	EnvName string `json:"env_name"`

	// 环境类型,取值:DEV、TEST、PRE、ONLINE,不区分大小写
	EnvType EnvParamEnvType `json:"env_type"`

	// OS类型,取值:LINUX、WINDOWS。创建环境必传,不可修改
	OsType EnvParamOsType `json:"os_type"`

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

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

func (EnvParam) String

func (o EnvParam) String() string

type EnvParamEnvType added in v0.1.62

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

func (EnvParamEnvType) MarshalJSON added in v0.1.62

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

func (*EnvParamEnvType) UnmarshalJSON added in v0.1.62

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

func (EnvParamEnvType) Value added in v0.1.62

func (c EnvParamEnvType) Value() string

type EnvParamEnvTypeEnum added in v0.1.62

type EnvParamEnvTypeEnum struct {
	DEV    EnvParamEnvType
	TEST   EnvParamEnvType
	PRE    EnvParamEnvType
	ONLINE EnvParamEnvType
}

func GetEnvParamEnvTypeEnum added in v0.1.62

func GetEnvParamEnvTypeEnum() EnvParamEnvTypeEnum

type EnvParamOsType added in v0.1.62

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

func (EnvParamOsType) MarshalJSON added in v0.1.62

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

func (*EnvParamOsType) UnmarshalJSON added in v0.1.62

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

func (EnvParamOsType) Value added in v0.1.62

func (c EnvParamOsType) Value() string

type EnvParamOsTypeEnum added in v0.1.62

type EnvParamOsTypeEnum struct {
	LINUX   EnvParamOsType
	WINDOWS EnvParamOsType
}

func GetEnvParamOsTypeEnum added in v0.1.62

func GetEnvParamOsTypeEnum() EnvParamOsTypeEnum

type EnvParamRegisterType added in v0.1.62

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

func (EnvParamRegisterType) MarshalJSON added in v0.1.62

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

func (*EnvParamRegisterType) UnmarshalJSON added in v0.1.62

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

func (EnvParamRegisterType) Value added in v0.1.62

func (c EnvParamRegisterType) Value() string

type EnvParamRegisterTypeEnum added in v0.1.62

type EnvParamRegisterTypeEnum struct {
	API               EnvParamRegisterType
	CONSOLE           EnvParamRegisterType
	SERVICE_DISCOVERY EnvParamRegisterType
}

func GetEnvParamRegisterTypeEnum added in v0.1.62

func GetEnvParamRegisterTypeEnum() EnvParamRegisterTypeEnum

type ListResourceUnderNodeRequest

type ListResourceUnderNodeRequest struct {

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

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

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

ListResourceUnderNodeRequest Request Object

func (ListResourceUnderNodeRequest) String

type ListResourceUnderNodeResponse

type ListResourceUnderNodeResponse struct {

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

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

ListResourceUnderNodeResponse Response Object

func (ListResourceUnderNodeResponse) String

type PageResourceListParam

type PageResourceListParam struct {

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

	// 查询返回记录的数量限制。limit可以为空,如果值小于1或者大于100,则会使用默认值100
	Limit *int32 `json:"limit,omitempty"`

	// 关键字模糊搜索。Key取值:NAME、RESOURCE_ID
	Keywords map[string]string `json:"keywords,omitempty"`

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

	// 节点类型,取值:application、sub_application、component、environment
	CiType PageResourceListParamCiType `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 PageResourceListParamCiType added in v0.1.62

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

func (PageResourceListParamCiType) MarshalJSON added in v0.1.62

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

func (*PageResourceListParamCiType) UnmarshalJSON added in v0.1.62

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

func (PageResourceListParamCiType) Value added in v0.1.62

type PageResourceListParamCiTypeEnum added in v0.1.62

type PageResourceListParamCiTypeEnum struct {
	APPLICATION     PageResourceListParamCiType
	SUB_APPLICATION PageResourceListParamCiType
	COMPONENT       PageResourceListParamCiType
	ENVIRONMENT     PageResourceListParamCiType
}

func GetPageResourceListParamCiTypeEnum added in v0.1.62

func GetPageResourceListParamCiTypeEnum() PageResourceListParamCiTypeEnum

type ShowAppByNameRequest

type ShowAppByNameRequest struct {

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

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

ShowAppByNameRequest 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:"-"`
}

ShowAppByNameResponse 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"`
}

ShowAppRequest 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:"-"`
}

ShowAppResponse 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"`
}

ShowComponentByNameRequest 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:"-"`
}

ShowComponentByNameResponse Response Object

func (ShowComponentByNameResponse) String

type ShowComponentRequest

type ShowComponentRequest struct {

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

ShowComponentRequest 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:"-"`
}

ShowComponentResponse 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"`
}

ShowEnvByNameRequest 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:"-"`
}

ShowEnvByNameResponse 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"`
}

ShowEnvRequest 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:"-"`
}

ShowEnvResponse 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 SubAppCreateParam added in v0.1.62

type SubAppCreateParam struct {

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

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

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

	// 应用、子应用,取值:APPLICATION、SUB_APPLICATION,不区分大小写
	ModelType SubAppCreateParamModelType `json:"model_type"`

	// 描述:最大255字符
	Description *string `json:"description,omitempty"`
}

func (SubAppCreateParam) String added in v0.1.62

func (o SubAppCreateParam) String() string

type SubAppCreateParamModelType added in v0.1.62

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

func (SubAppCreateParamModelType) MarshalJSON added in v0.1.62

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

func (*SubAppCreateParamModelType) UnmarshalJSON added in v0.1.62

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

func (SubAppCreateParamModelType) Value added in v0.1.62

type SubAppCreateParamModelTypeEnum added in v0.1.62

type SubAppCreateParamModelTypeEnum struct {
	APPLICATION     SubAppCreateParamModelType
	SUB_APPLICATION SubAppCreateParamModelType
}

func GetSubAppCreateParamModelTypeEnum added in v0.1.62

func GetSubAppCreateParamModelTypeEnum() SubAppCreateParamModelTypeEnum

type SubAppUpdateParam added in v0.1.62

type SubAppUpdateParam struct {

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

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

	// 描述:最大255字符
	Description *string `json:"description,omitempty"`
}

func (SubAppUpdateParam) String added in v0.1.62

func (o SubAppUpdateParam) String() string

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"`
}

UpdateAppRequest Request Object

func (UpdateAppRequest) String

func (o UpdateAppRequest) String() string

type UpdateAppResponse

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

UpdateAppResponse 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"`
}

UpdateComponentRequest Request Object

func (UpdateComponentRequest) String

func (o UpdateComponentRequest) String() string

type UpdateComponentResponse

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

UpdateComponentResponse 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"`
}

UpdateEnvRequest Request Object

func (UpdateEnvRequest) String

func (o UpdateEnvRequest) String() string

type UpdateEnvResponse

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

UpdateEnvResponse Response Object

func (UpdateEnvResponse) String

func (o UpdateEnvResponse) String() string

type UpdateSubAppRequest added in v0.1.62

type UpdateSubAppRequest struct {

	// 子应用id
	SubAppId string `json:"sub_app_id"`

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

UpdateSubAppRequest Request Object

func (UpdateSubAppRequest) String added in v0.1.62

func (o UpdateSubAppRequest) String() string

type UpdateSubAppResponse added in v0.1.62

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

UpdateSubAppResponse Response Object

func (UpdateSubAppResponse) String added in v0.1.62

func (o UpdateSubAppResponse) String() string

type WaterfallPageListParam

type WaterfallPageListParam struct {

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

	// 查询返回记录的数量限制。limit可以为空,如果值小于1或者大于100,则会使用默认值100
	Limit *int32 `json:"limit,omitempty"`
}

func (WaterfallPageListParam) String

func (o WaterfallPageListParam) String() string

Source Files

Jump to

Keyboard shortcuts

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