model

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppComponentDao

type AppComponentDao struct {
	TaskId *string `json:"task_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	CompId *string `json:"comp_id,omitempty"`

	CompName *string `json:"comp_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Region *string `json:"region,omitempty"`

	State *string `json:"state,omitempty"`
}

部署任务和应用组件对应关系

func (AppComponentDao) String

func (o AppComponentDao) String() string

type ConfigInfoDo

type ConfigInfoDo struct {
	Name *string `json:"name,omitempty"`

	Type *ConfigInfoDoType `json:"type,omitempty"`

	Description *string `json:"description,omitempty"`

	Value *string `json:"value,omitempty"`

	TaskId *string `json:"task_id,omitempty"`

	StaticStatus *ConfigInfoDoStaticStatus `json:"static_status,omitempty"`

	Limits *[]ParamTypeLimits `json:"limits,omitempty"`
}

部署参数类

func (ConfigInfoDo) String

func (o ConfigInfoDo) String() string

type ConfigInfoDoStaticStatus

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

func (ConfigInfoDoStaticStatus) MarshalJSON

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

func (*ConfigInfoDoStaticStatus) UnmarshalJSON

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

type ConfigInfoDoStaticStatusEnum

type ConfigInfoDoStaticStatusEnum struct {
	E_0 ConfigInfoDoStaticStatus
	E_1 ConfigInfoDoStaticStatus
}

func GetConfigInfoDoStaticStatusEnum

func GetConfigInfoDoStaticStatusEnum() ConfigInfoDoStaticStatusEnum

type ConfigInfoDoType

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

func (ConfigInfoDoType) MarshalJSON

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

func (*ConfigInfoDoType) UnmarshalJSON

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

type ConfigInfoDoTypeEnum

type ConfigInfoDoTypeEnum struct {
	TEXT       ConfigInfoDoType
	HOST_GROUP ConfigInfoDoType
	ENUM       ConfigInfoDoType
}

func GetConfigInfoDoTypeEnum

func GetConfigInfoDoTypeEnum() ConfigInfoDoTypeEnum

type CreateDeployTaskByTemplateRequest

type CreateDeployTaskByTemplateRequest struct {
	Body *TemplateTaskRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDeployTaskByTemplateRequest) String

type CreateDeployTaskByTemplateResponse

type CreateDeployTaskByTemplateResponse struct {
	TaskName *string `json:"task_name,omitempty"`

	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDeployTaskByTemplateResponse) String

type CreateDeploymentGroupRequest

type CreateDeploymentGroupRequest struct {
	Body *DeploymentGroup `json:"body,omitempty"`
}

Request Object

func (CreateDeploymentGroupRequest) String

type CreateDeploymentGroupResponse

type CreateDeploymentGroupResponse struct {
	GroupId        *string `json:"group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDeploymentGroupResponse) String

type CreateDeploymentHostRequest

type CreateDeploymentHostRequest struct {
	GroupId string `json:"group_id"`

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

Request Object

func (CreateDeploymentHostRequest) String

type CreateDeploymentHostResponse

type CreateDeploymentHostResponse struct {
	HostId         *string `json:"host_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDeploymentHostResponse) String

type DeleteDeployTaskRequest

type DeleteDeployTaskRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (DeleteDeployTaskRequest) String

func (o DeleteDeployTaskRequest) String() string

type DeleteDeployTaskResponse

type DeleteDeployTaskResponse struct {
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeployTaskResponse) String

func (o DeleteDeployTaskResponse) String() string

type DeleteDeploymentGroupRequest

type DeleteDeploymentGroupRequest struct {
	GroupId string `json:"group_id"`
}

Request Object

func (DeleteDeploymentGroupRequest) String

type DeleteDeploymentGroupResponse

type DeleteDeploymentGroupResponse struct {
	GroupId        *string `json:"group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeploymentGroupResponse) String

type DeleteDeploymentHostRequest

type DeleteDeploymentHostRequest struct {
	GroupId string `json:"group_id"`

	HostId string `json:"host_id"`
}

Request Object

func (DeleteDeploymentHostRequest) String

type DeleteDeploymentHostResponse

type DeleteDeploymentHostResponse struct {
	HostId         *string `json:"host_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeploymentHostResponse) String

type DeploymentGroup

type DeploymentGroup struct {
	Name string `json:"name"`

	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	Os DeploymentGroupOs `json:"os"`

	SlaveClusterId *string `json:"slave_cluster_id,omitempty"`

	Description *string `json:"description,omitempty"`
}

主机组详细信息

func (DeploymentGroup) String

func (o DeploymentGroup) String() string

type DeploymentGroupDetail

type DeploymentGroupDetail struct {
	GroupId *string `json:"group_id,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	HostCount *int32 `json:"host_count,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Name *string `json:"name,omitempty"`

	RegionName *string `json:"region_name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Os *string `json:"os,omitempty"`

	AutoConnectionTestSwitch *int32 `json:"auto_connection_test_switch,omitempty"`

	SlaveClusterId *string `json:"slave_cluster_id,omitempty"`

	NickName *string `json:"nick_name,omitempty"`

	CreatedBy *UserInfo `json:"created_by,omitempty"`

	UpdateBy *UserInfo `json:"update_by,omitempty"`

	Description *string `json:"description,omitempty"`

	Permission *PermissionGroupDetail `json:"permission,omitempty"`
}

主机组详情响应体

func (DeploymentGroupDetail) String

func (o DeploymentGroupDetail) String() string

type DeploymentGroupOs

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

func (DeploymentGroupOs) MarshalJSON

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

func (*DeploymentGroupOs) UnmarshalJSON

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

type DeploymentGroupOsEnum

type DeploymentGroupOsEnum struct {
	WINDOWS DeploymentGroupOs
	LINUX   DeploymentGroupOs
}

func GetDeploymentGroupOsEnum

func GetDeploymentGroupOsEnum() DeploymentGroupOsEnum

type DeploymentGroupUpdateRequest

type DeploymentGroupUpdateRequest struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	SlaveClusterId *string `json:"slave_cluster_id,omitempty"`

	AutoConnectionTestSwitch *DeploymentGroupUpdateRequestAutoConnectionTestSwitch `json:"auto_connection_test_switch,omitempty"`
}

func (DeploymentGroupUpdateRequest) String

type DeploymentGroupUpdateRequestAutoConnectionTestSwitch

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

func (DeploymentGroupUpdateRequestAutoConnectionTestSwitch) MarshalJSON

func (*DeploymentGroupUpdateRequestAutoConnectionTestSwitch) UnmarshalJSON

type DeploymentHost

type DeploymentHost struct {
	HostName string `json:"host_name"`

	Ip string `json:"ip"`

	Port int32 `json:"port"`

	Os DeploymentHostOs `json:"os"`

	AsProxy bool `json:"as_proxy"`

	ProxyHostId *string `json:"proxy_host_id,omitempty"`

	Authorization *DeploymentHostAuthorizationBody `json:"authorization"`

	InstallIcagent *bool `json:"install_icagent,omitempty"`
}

主机信息body体

func (DeploymentHost) String

func (o DeploymentHost) String() string

type DeploymentHostAuthorizationBody

type DeploymentHostAuthorizationBody struct {
	Username string `json:"username"`

	Password *string `json:"password,omitempty"`

	PrivateKey *string `json:"private_key,omitempty"`

	TrustedType DeploymentHostAuthorizationBodyTrustedType `json:"trusted_type"`
}

登录主机鉴权,使用密码登录则填写密码即可,使用密钥则填写密钥,二选一即可

func (DeploymentHostAuthorizationBody) String

type DeploymentHostAuthorizationBodyTrustedType

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

func (DeploymentHostAuthorizationBodyTrustedType) MarshalJSON

func (*DeploymentHostAuthorizationBodyTrustedType) UnmarshalJSON

type DeploymentHostDetail

type DeploymentHostDetail struct {
	GroupId string `json:"group_id"`

	HostName string `json:"host_name"`

	Ip string `json:"ip"`

	Port int32 `json:"port"`

	Os DeploymentHostDetailOs `json:"os"`

	AsProxy bool `json:"as_proxy"`

	ProxyHostId *string `json:"proxy_host_id,omitempty"`

	Authorization *DeploymentHostAuthorizationBody `json:"authorization"`

	InstallIcagent *bool `json:"install_icagent,omitempty"`

	HostId *string `json:"host_id,omitempty"`

	ProxyHost *DeploymentHostDetail `json:"proxy_host,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Permission *PermissionHostDetail `json:"permission,omitempty"`
}

主机信息详情

func (DeploymentHostDetail) String

func (o DeploymentHostDetail) String() string

type DeploymentHostDetailOs

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

func (DeploymentHostDetailOs) MarshalJSON

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

func (*DeploymentHostDetailOs) UnmarshalJSON

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

type DeploymentHostDetailOsEnum

type DeploymentHostDetailOsEnum struct {
	WINDOWS DeploymentHostDetailOs
	LINUX   DeploymentHostDetailOs
}

func GetDeploymentHostDetailOsEnum

func GetDeploymentHostDetailOsEnum() DeploymentHostDetailOsEnum

type DeploymentHostInfo

type DeploymentHostInfo struct {
	GroupId string `json:"group_id"`

	HostName string `json:"host_name"`

	Ip string `json:"ip"`

	Port int32 `json:"port"`

	Os DeploymentHostInfoOs `json:"os"`

	AsProxy bool `json:"as_proxy"`

	ProxyHostId *string `json:"proxy_host_id,omitempty"`

	Authorization *DeploymentHostAuthorizationBody `json:"authorization"`

	InstallIcagent *bool `json:"install_icagent,omitempty"`
}

主机信息body体

func (DeploymentHostInfo) String

func (o DeploymentHostInfo) String() string

type DeploymentHostInfoOs

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

func (DeploymentHostInfoOs) MarshalJSON

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

func (*DeploymentHostInfoOs) UnmarshalJSON

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

type DeploymentHostInfoOsEnum

type DeploymentHostInfoOsEnum struct {
	WINDOWS DeploymentHostInfoOs
	LINUX   DeploymentHostInfoOs
}

func GetDeploymentHostInfoOsEnum

func GetDeploymentHostInfoOsEnum() DeploymentHostInfoOsEnum

type DeploymentHostOs

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

func (DeploymentHostOs) MarshalJSON

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

func (*DeploymentHostOs) UnmarshalJSON

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

type DeploymentHostOsEnum

type DeploymentHostOsEnum struct {
	WINDOWS DeploymentHostOs
	LINUX   DeploymentHostOs
}

func GetDeploymentHostOsEnum

func GetDeploymentHostOsEnum() DeploymentHostOsEnum

type DeploymentHostRequest

type DeploymentHostRequest struct {
	HostName string `json:"host_name"`

	Ip string `json:"ip"`

	Port int32 `json:"port"`

	AsProxy bool `json:"as_proxy"`

	ProxyHostId *string `json:"proxy_host_id,omitempty"`

	Authorization *DeploymentHostAuthorizationBody `json:"authorization"`

	InstallIcagent *bool `json:"install_icagent,omitempty"`

	Sync *bool `json:"sync,omitempty"`
}

主机信息

func (DeploymentHostRequest) String

func (o DeploymentHostRequest) String() string

type DeploymentUpdateHost

type DeploymentUpdateHost struct {
	HostName string `json:"host_name"`

	Ip string `json:"ip"`

	Port int32 `json:"port"`

	AsProxy bool `json:"as_proxy"`

	ProxyHostId *string `json:"proxy_host_id,omitempty"`

	Authorization *DeploymentHostAuthorizationBody `json:"authorization"`

	InstallIcagent *bool `json:"install_icagent,omitempty"`
}

主机信息body体

func (DeploymentUpdateHost) String

func (o DeploymentUpdateHost) String() string

type DynamicConfigInfo

type DynamicConfigInfo struct {
	Name *string `json:"name,omitempty"`

	Value *string `json:"value,omitempty"`

	Limits *[]ParamTypeLimits `json:"limits,omitempty"`

	Type *DynamicConfigInfoType `json:"type,omitempty"`

	Description *string `json:"description,omitempty"`
}

部署任务执行时传递的参数

func (DynamicConfigInfo) String

func (o DynamicConfigInfo) String() string

type DynamicConfigInfoType

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

func (DynamicConfigInfoType) MarshalJSON

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

func (*DynamicConfigInfoType) UnmarshalJSON

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

type DynamicConfigInfoTypeEnum

type DynamicConfigInfoTypeEnum struct {
	TEXT       DynamicConfigInfoType
	HOST_GROUP DynamicConfigInfoType
	ENCRYPT    DynamicConfigInfoType
}

func GetDynamicConfigInfoTypeEnum

func GetDynamicConfigInfoTypeEnum() DynamicConfigInfoTypeEnum

type EnvExecutionBody

type EnvExecutionBody struct {
	Params []DynamicConfigInfo `json:"params"`

	RecordId *string `json:"record_id,omitempty"`
}

部署任务启动参数

func (EnvExecutionBody) String

func (o EnvExecutionBody) String() string

type KeyValueDo

type KeyValueDo struct {
	Name *string `json:"name,omitempty"`

	Value *string `json:"value,omitempty"`

	Limits *[]ParamTypeLimits `json:"limits,omitempty"`
}

执行部署任务时传递的动态参数

func (KeyValueDo) String

func (o KeyValueDo) String() string

type ListHostGroupsRequest

type ListHostGroupsRequest struct {
	ProjectId *string `json:"project_id,omitempty"`

	RegionName string `json:"region_name"`

	Os *ListHostGroupsRequestOs `json:"os,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Name *string `json:"name,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	SortDir *ListHostGroupsRequestSortDir `json:"sort_dir,omitempty"`
}

Request Object

func (ListHostGroupsRequest) String

func (o ListHostGroupsRequest) String() string

type ListHostGroupsRequestOs

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

func (ListHostGroupsRequestOs) MarshalJSON

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

func (*ListHostGroupsRequestOs) UnmarshalJSON

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

type ListHostGroupsRequestOsEnum

type ListHostGroupsRequestOsEnum struct {
	WINDOWS ListHostGroupsRequestOs
	LINUX   ListHostGroupsRequestOs
}

func GetListHostGroupsRequestOsEnum

func GetListHostGroupsRequestOsEnum() ListHostGroupsRequestOsEnum

type ListHostGroupsRequestSortDir

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

func (ListHostGroupsRequestSortDir) MarshalJSON

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

func (*ListHostGroupsRequestSortDir) UnmarshalJSON

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

type ListHostGroupsRequestSortDirEnum

type ListHostGroupsRequestSortDirEnum struct {
	DESC ListHostGroupsRequestSortDir
	ASC  ListHostGroupsRequestSortDir
}

func GetListHostGroupsRequestSortDirEnum

func GetListHostGroupsRequestSortDirEnum() ListHostGroupsRequestSortDirEnum

type ListHostGroupsResponse

type ListHostGroupsResponse struct {
	Total *int32 `json:"total,omitempty"`

	HostGroups     *[]DeploymentGroupDetail `json:"host_groups,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListHostGroupsResponse) String

func (o ListHostGroupsResponse) String() string

type ListHostsRequest

type ListHostsRequest struct {
	GroupId string `json:"group_id"`

	AsProxy *bool `json:"as_proxy,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Name *string `json:"name,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	SortDir *ListHostsRequestSortDir `json:"sort_dir,omitempty"`

	WithAuth *bool `json:"with_auth,omitempty"`
}

Request Object

func (ListHostsRequest) String

func (o ListHostsRequest) String() string

type ListHostsRequestSortDir

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

func (ListHostsRequestSortDir) MarshalJSON

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

func (*ListHostsRequestSortDir) UnmarshalJSON

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

type ListHostsRequestSortDirEnum

type ListHostsRequestSortDirEnum struct {
	DESC ListHostsRequestSortDir
	ASC  ListHostsRequestSortDir
}

func GetListHostsRequestSortDirEnum

func GetListHostsRequestSortDirEnum() ListHostsRequestSortDirEnum

type ListHostsResponse

type ListHostsResponse struct {
	Total *int32 `json:"total,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	Hosts          *[]DeploymentHostDetail `json:"hosts,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListHostsResponse) String

func (o ListHostsResponse) String() string

type ParamTypeLimits

type ParamTypeLimits struct {
	Name *string `json:"name,omitempty"`
}

枚举类型参数实体类

func (ParamTypeLimits) String

func (o ParamTypeLimits) String() string

type PermissionGroupDetail

type PermissionGroupDetail struct {
	CanView *bool `json:"can_view,omitempty"`

	CanEdit *bool `json:"can_edit,omitempty"`

	CanDelete *bool `json:"can_delete,omitempty"`

	CanAddHost *bool `json:"can_add_host,omitempty"`

	CanManage *bool `json:"can_manage,omitempty"`
}

主机组相关权限详情类

func (PermissionGroupDetail) String

func (o PermissionGroupDetail) String() string

type PermissionHostDetail

type PermissionHostDetail struct {
	CanView *bool `json:"can_view,omitempty"`

	CanEdit *bool `json:"can_edit,omitempty"`

	CanDelete *bool `json:"can_delete,omitempty"`

	CanAddHost *bool `json:"can_add_host,omitempty"`

	CanConnectionTest *bool `json:"can_connection_test,omitempty"`
}

主机相关权限详情类

func (PermissionHostDetail) String

func (o PermissionHostDetail) String() string

type ShowDeployTaskDetailRequest

type ShowDeployTaskDetailRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (ShowDeployTaskDetailRequest) String

type ShowDeployTaskDetailResponse

type ShowDeployTaskDetailResponse struct {
	TaskId *string `json:"task_id,omitempty"`

	Name *string `json:"name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	DeploySystem *string `json:"deploy_system,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`

	State *ShowDeployTaskDetailResponseState `json:"state,omitempty"`

	ExecutionTime *string `json:"execution_time,omitempty"`

	Description *string `json:"description,omitempty"`

	IsDefautPermission *bool `json:"is_defaut_permission,omitempty"`

	TemplateId *string `json:"template_id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	NickName *string `json:"nick_name,omitempty"`

	OwnerId *string `json:"owner_id,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	TenantName *string `json:"tenant_name,omitempty"`

	SlaveClusterId *string `json:"slave_cluster_id,omitempty"`

	IsCare *bool `json:"is_care,omitempty"`

	CanModify *bool `json:"can_modify,omitempty"`

	CanDelete *bool `json:"can_delete,omitempty"`

	CanView *bool `json:"can_view,omitempty"`

	CanExecute *bool `json:"can_execute,omitempty"`

	CanCopy *bool `json:"can_copy,omitempty"`

	CanManage *bool `json:"can_manage,omitempty"`

	AppComponentList *[]AppComponentDao `json:"app_component_list,omitempty"`

	RoleId         *int32 `json:"role_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowDeployTaskDetailResponse) String

type ShowDeployTaskDetailResponseState

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

func (ShowDeployTaskDetailResponseState) MarshalJSON

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

func (*ShowDeployTaskDetailResponseState) UnmarshalJSON

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

type ShowDeployTaskDetailResponseStateEnum

type ShowDeployTaskDetailResponseStateEnum struct {
	AVAILABLE ShowDeployTaskDetailResponseState
	DRAFT     ShowDeployTaskDetailResponseState
}

func GetShowDeployTaskDetailResponseStateEnum

func GetShowDeployTaskDetailResponseStateEnum() ShowDeployTaskDetailResponseStateEnum

type ShowDeploymentGroupDetailRequest

type ShowDeploymentGroupDetailRequest struct {
	GroupId string `json:"group_id"`
}

Request Object

func (ShowDeploymentGroupDetailRequest) String

type ShowDeploymentGroupDetailResponse

type ShowDeploymentGroupDetailResponse struct {
	GroupId *string `json:"group_id,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	HostCount *int32 `json:"host_count,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Name *string `json:"name,omitempty"`

	RegionName *string `json:"region_name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Os *string `json:"os,omitempty"`

	AutoConnectionTestSwitch *int32 `json:"auto_connection_test_switch,omitempty"`

	SlaveClusterId *string `json:"slave_cluster_id,omitempty"`

	NickName *string `json:"nick_name,omitempty"`

	CreatedBy *UserInfo `json:"created_by,omitempty"`

	UpdateBy *UserInfo `json:"update_by,omitempty"`

	Description *string `json:"description,omitempty"`

	Permission     *PermissionGroupDetail `json:"permission,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowDeploymentGroupDetailResponse) String

type ShowDeploymentHostDetailRequest

type ShowDeploymentHostDetailRequest struct {
	GroupId string `json:"group_id"`

	HostId string `json:"host_id"`
}

Request Object

func (ShowDeploymentHostDetailRequest) String

type ShowDeploymentHostDetailResponse

type ShowDeploymentHostDetailResponse struct {
	GroupId string `json:"group_id"`

	HostName string `json:"host_name"`

	Ip string `json:"ip"`

	Port int32 `json:"port"`

	Os ShowDeploymentHostDetailResponseOs `json:"os"`

	AsProxy bool `json:"as_proxy"`

	ProxyHostId *string `json:"proxy_host_id,omitempty"`

	Authorization *DeploymentHostAuthorizationBody `json:"authorization"`

	InstallIcagent *bool `json:"install_icagent,omitempty"`

	HostId *string `json:"host_id,omitempty"`

	ProxyHost *DeploymentHostDetail `json:"proxy_host,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Permission     *PermissionHostDetail `json:"permission,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ShowDeploymentHostDetailResponse) String

type ShowDeploymentHostDetailResponseOs

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

func (ShowDeploymentHostDetailResponseOs) MarshalJSON

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

func (*ShowDeploymentHostDetailResponseOs) UnmarshalJSON

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

type ShowDeploymentHostDetailResponseOsEnum

type ShowDeploymentHostDetailResponseOsEnum struct {
	WINDOWS ShowDeploymentHostDetailResponseOs
	LINUX   ShowDeploymentHostDetailResponseOs
}

func GetShowDeploymentHostDetailResponseOsEnum

func GetShowDeploymentHostDetailResponseOsEnum() ShowDeploymentHostDetailResponseOsEnum

type StartDeployTaskRequest

type StartDeployTaskRequest struct {
	TaskId string `json:"task_id"`

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

Request Object

func (StartDeployTaskRequest) String

func (o StartDeployTaskRequest) String() string

type StartDeployTaskResponse

type StartDeployTaskResponse struct {
	Id *string `json:"id,omitempty"`

	TaskId *string `json:"task_id,omitempty"`

	JobName *string `json:"job_name,omitempty"`

	AppComponentList *[]AppComponentDao `json:"app_component_list,omitempty"`
	HttpStatusCode   int                `json:"-"`
}

Response Object

func (StartDeployTaskResponse) String

func (o StartDeployTaskResponse) String() string

type TemplateTaskRequestBody

type TemplateTaskRequestBody struct {
	ProjectId string `json:"project_id"`

	ProjectName string `json:"project_name"`

	TemplateId string `json:"template_id"`

	TaskName string `json:"task_name"`

	SlaveClusterId *string `json:"slave_cluster_id,omitempty"`

	Configs *[]ConfigInfoDo `json:"configs,omitempty"`
}

通过模板创建部署任务请求体

func (TemplateTaskRequestBody) String

func (o TemplateTaskRequestBody) String() string

type UpdateDeploymentGroupRequest

type UpdateDeploymentGroupRequest struct {
	GroupId string `json:"group_id"`

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

Request Object

func (UpdateDeploymentGroupRequest) String

type UpdateDeploymentGroupResponse

type UpdateDeploymentGroupResponse struct {
	GroupId        *string `json:"group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDeploymentGroupResponse) String

type UpdateDeploymentHostRequest

type UpdateDeploymentHostRequest struct {
	GroupId string `json:"group_id"`

	HostId string `json:"host_id"`

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

Request Object

func (UpdateDeploymentHostRequest) String

type UpdateDeploymentHostResponse

type UpdateDeploymentHostResponse struct {
	HostId         *string `json:"host_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDeploymentHostResponse) String

type UserInfo

type UserInfo struct {
	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`
}

func (UserInfo) String

func (o UserInfo) String() string

Source Files

Jump to

Keyboard shortcuts

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