Documentation ¶
Index ¶
- type AppComponentDao
- type ConfigInfoDo
- type ConfigInfoDoStaticStatus
- type ConfigInfoDoStaticStatusEnum
- type ConfigInfoDoType
- type ConfigInfoDoTypeEnum
- type CreateDeployTaskByTemplateRequest
- type CreateDeployTaskByTemplateResponse
- type CreateDeploymentGroupRequest
- type CreateDeploymentGroupResponse
- type CreateDeploymentHostRequest
- type CreateDeploymentHostResponse
- type DeleteDeployTaskRequest
- type DeleteDeployTaskResponse
- type DeleteDeploymentGroupRequest
- type DeleteDeploymentGroupResponse
- type DeleteDeploymentHostRequest
- type DeleteDeploymentHostResponse
- type DeploymentGroup
- type DeploymentGroupDetail
- type DeploymentGroupOs
- type DeploymentGroupOsEnum
- type DeploymentGroupUpdateRequest
- type DeploymentGroupUpdateRequestAutoConnectionTestSwitch
- type DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum
- type DeploymentHost
- type DeploymentHostAuthorizationBody
- type DeploymentHostAuthorizationBodyTrustedType
- type DeploymentHostAuthorizationBodyTrustedTypeEnum
- type DeploymentHostDetail
- type DeploymentHostDetailOs
- type DeploymentHostDetailOsEnum
- type DeploymentHostInfo
- type DeploymentHostInfoOs
- type DeploymentHostInfoOsEnum
- type DeploymentHostOs
- type DeploymentHostOsEnum
- type DeploymentHostRequest
- type DeploymentUpdateHost
- type DynamicConfigInfo
- type DynamicConfigInfoType
- type DynamicConfigInfoTypeEnum
- type EnvExecutionBody
- type KeyValueDo
- type ListHostGroupsRequest
- type ListHostGroupsRequestOs
- type ListHostGroupsRequestOsEnum
- type ListHostGroupsRequestSortDir
- type ListHostGroupsRequestSortDirEnum
- type ListHostGroupsResponse
- type ListHostsRequest
- type ListHostsRequestSortDir
- type ListHostsRequestSortDirEnum
- type ListHostsResponse
- type ParamTypeLimits
- type PermissionGroupDetail
- type PermissionHostDetail
- type ShowDeployTaskDetailRequest
- type ShowDeployTaskDetailResponse
- type ShowDeployTaskDetailResponseState
- type ShowDeployTaskDetailResponseStateEnum
- type ShowDeploymentGroupDetailRequest
- type ShowDeploymentGroupDetailResponse
- type ShowDeploymentHostDetailRequest
- type ShowDeploymentHostDetailResponse
- type ShowDeploymentHostDetailResponseOs
- type ShowDeploymentHostDetailResponseOsEnum
- type StartDeployTaskRequest
- type StartDeployTaskResponse
- type TemplateTaskRequestBody
- type UpdateDeploymentGroupRequest
- type UpdateDeploymentGroupResponse
- type UpdateDeploymentHostRequest
- type UpdateDeploymentHostResponse
- type UserInfo
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 ¶
func (o CreateDeployTaskByTemplateRequest) String() 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 ¶
func (o CreateDeployTaskByTemplateResponse) String() string
type CreateDeploymentGroupRequest ¶
type CreateDeploymentGroupRequest struct {
Body *DeploymentGroup `json:"body,omitempty"`
}
Request Object
func (CreateDeploymentGroupRequest) String ¶
func (o CreateDeploymentGroupRequest) String() string
type CreateDeploymentGroupResponse ¶
type CreateDeploymentGroupResponse struct { GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDeploymentGroupResponse) String ¶
func (o CreateDeploymentGroupResponse) String() string
type CreateDeploymentHostRequest ¶
type CreateDeploymentHostRequest struct { GroupId string `json:"group_id"` Body *DeploymentHost `json:"body,omitempty"` }
Request Object
func (CreateDeploymentHostRequest) String ¶
func (o CreateDeploymentHostRequest) String() string
type CreateDeploymentHostResponse ¶
type CreateDeploymentHostResponse struct { HostId *string `json:"host_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDeploymentHostResponse) String ¶
func (o CreateDeploymentHostResponse) String() 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 ¶
func (o DeleteDeploymentGroupRequest) String() string
type DeleteDeploymentGroupResponse ¶
type DeleteDeploymentGroupResponse struct { GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDeploymentGroupResponse) String ¶
func (o DeleteDeploymentGroupResponse) String() string
type DeleteDeploymentHostRequest ¶
type DeleteDeploymentHostRequest struct { GroupId string `json:"group_id"` HostId string `json:"host_id"` }
Request Object
func (DeleteDeploymentHostRequest) String ¶
func (o DeleteDeploymentHostRequest) String() string
type DeleteDeploymentHostResponse ¶
type DeleteDeploymentHostResponse struct { HostId *string `json:"host_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDeploymentHostResponse) String ¶
func (o DeleteDeploymentHostResponse) String() 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 ¶
func (o DeploymentGroupUpdateRequest) String() string
type DeploymentGroupUpdateRequestAutoConnectionTestSwitch ¶
type DeploymentGroupUpdateRequestAutoConnectionTestSwitch struct {
// contains filtered or unexported fields
}
func (DeploymentGroupUpdateRequestAutoConnectionTestSwitch) MarshalJSON ¶
func (c DeploymentGroupUpdateRequestAutoConnectionTestSwitch) MarshalJSON() ([]byte, error)
func (*DeploymentGroupUpdateRequestAutoConnectionTestSwitch) UnmarshalJSON ¶
func (c *DeploymentGroupUpdateRequestAutoConnectionTestSwitch) UnmarshalJSON(b []byte) error
type DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum ¶
type DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum struct { E_0 DeploymentGroupUpdateRequestAutoConnectionTestSwitch E_1 DeploymentGroupUpdateRequestAutoConnectionTestSwitch E_2 DeploymentGroupUpdateRequestAutoConnectionTestSwitch }
func GetDeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum ¶
func GetDeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum() DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum
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 ¶
func (o DeploymentHostAuthorizationBody) String() string
type DeploymentHostAuthorizationBodyTrustedType ¶
type DeploymentHostAuthorizationBodyTrustedType struct {
// contains filtered or unexported fields
}
func (DeploymentHostAuthorizationBodyTrustedType) MarshalJSON ¶
func (c DeploymentHostAuthorizationBodyTrustedType) MarshalJSON() ([]byte, error)
func (*DeploymentHostAuthorizationBodyTrustedType) UnmarshalJSON ¶
func (c *DeploymentHostAuthorizationBodyTrustedType) UnmarshalJSON(b []byte) error
type DeploymentHostAuthorizationBodyTrustedTypeEnum ¶
type DeploymentHostAuthorizationBodyTrustedTypeEnum struct { E_0 DeploymentHostAuthorizationBodyTrustedType E_1 DeploymentHostAuthorizationBodyTrustedType }
func GetDeploymentHostAuthorizationBodyTrustedTypeEnum ¶
func GetDeploymentHostAuthorizationBodyTrustedTypeEnum() DeploymentHostAuthorizationBodyTrustedTypeEnum
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 ¶
func (o ShowDeployTaskDetailRequest) String() 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 ¶
func (o ShowDeployTaskDetailResponse) String() 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 ¶
func (o ShowDeploymentGroupDetailRequest) String() 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 ¶
func (o ShowDeploymentGroupDetailResponse) String() string
type ShowDeploymentHostDetailRequest ¶
type ShowDeploymentHostDetailRequest struct { GroupId string `json:"group_id"` HostId string `json:"host_id"` }
Request Object
func (ShowDeploymentHostDetailRequest) String ¶
func (o ShowDeploymentHostDetailRequest) String() 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 ¶
func (o ShowDeploymentHostDetailResponse) String() 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 ¶
func (o UpdateDeploymentGroupRequest) String() string
type UpdateDeploymentGroupResponse ¶
type UpdateDeploymentGroupResponse struct { GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDeploymentGroupResponse) String ¶
func (o UpdateDeploymentGroupResponse) String() 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 ¶
func (o UpdateDeploymentHostRequest) String() string
type UpdateDeploymentHostResponse ¶
type UpdateDeploymentHostResponse struct { HostId *string `json:"host_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDeploymentHostResponse) String ¶
func (o UpdateDeploymentHostResponse) String() string
Source Files ¶
- model_app_component_dao.go
- model_config_info_do.go
- model_create_deploy_task_by_template_request.go
- model_create_deploy_task_by_template_response.go
- model_create_deployment_group_request.go
- model_create_deployment_group_response.go
- model_create_deployment_host_request.go
- model_create_deployment_host_response.go
- model_delete_deploy_task_request.go
- model_delete_deploy_task_response.go
- model_delete_deployment_group_request.go
- model_delete_deployment_group_response.go
- model_delete_deployment_host_request.go
- model_delete_deployment_host_response.go
- model_deployment_group.go
- model_deployment_group_detail.go
- model_deployment_group_update_request.go
- model_deployment_host.go
- model_deployment_host_authorization_body.go
- model_deployment_host_detail.go
- model_deployment_host_info.go
- model_deployment_host_request.go
- model_deployment_update_host.go
- model_dynamic_config_info.go
- model_env_execution_body.go
- model_key_value_do.go
- model_list_host_groups_request.go
- model_list_host_groups_response.go
- model_list_hosts_request.go
- model_list_hosts_response.go
- model_param_type_limits.go
- model_permission_group_detail.go
- model_permission_host_detail.go
- model_show_deploy_task_detail_request.go
- model_show_deploy_task_detail_response.go
- model_show_deployment_group_detail_request.go
- model_show_deployment_group_detail_response.go
- model_show_deployment_host_detail_request.go
- model_show_deployment_host_detail_response.go
- model_start_deploy_task_request.go
- model_start_deploy_task_response.go
- model_template_task_request_body.go
- model_update_deployment_group_request.go
- model_update_deployment_group_response.go
- model_update_deployment_host_request.go
- model_update_deployment_host_response.go
- model_user_info.go