Documentation ¶
Index ¶
- func GenReqDefForChangeApplication() *def.HttpRequestDef
- func GenReqDefForChangeApplicationConfiguration() *def.HttpRequestDef
- func GenReqDefForChangeComponent() *def.HttpRequestDef
- func GenReqDefForChangeEnvironment() *def.HttpRequestDef
- func GenReqDefForChangeInstance() *def.HttpRequestDef
- func GenReqDefForChangeResourceInEnvironment() *def.HttpRequestDef
- func GenReqDefForCreateApplication() *def.HttpRequestDef
- func GenReqDefForCreateComponent() *def.HttpRequestDef
- func GenReqDefForCreateEnvironment() *def.HttpRequestDef
- func GenReqDefForCreateFile() *def.HttpRequestDef
- func GenReqDefForCreateHook() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForCreateOAuth() *def.HttpRequestDef
- func GenReqDefForCreatePasswordAuth() *def.HttpRequestDef
- func GenReqDefForCreatePersonalAuth() *def.HttpRequestDef
- func GenReqDefForCreateProject() *def.HttpRequestDef
- func GenReqDefForCreateTag() *def.HttpRequestDef
- func GenReqDefForDeleteApplication() *def.HttpRequestDef
- func GenReqDefForDeleteApplicationConfiguration() *def.HttpRequestDef
- func GenReqDefForDeleteAuthorize() *def.HttpRequestDef
- func GenReqDefForDeleteComponent() *def.HttpRequestDef
- func GenReqDefForDeleteEnvironment() *def.HttpRequestDef
- func GenReqDefForDeleteFile() *def.HttpRequestDef
- func GenReqDefForDeleteHook() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForDeleteTag() *def.HttpRequestDef
- func GenReqDefForListApplications() *def.HttpRequestDef
- func GenReqDefForListAuthorizations() *def.HttpRequestDef
- func GenReqDefForListBranches() *def.HttpRequestDef
- func GenReqDefForListCommits() *def.HttpRequestDef
- func GenReqDefForListComponents() *def.HttpRequestDef
- func GenReqDefForListEnvironments() *def.HttpRequestDef
- func GenReqDefForListFlavors() *def.HttpRequestDef
- func GenReqDefForListHooks() *def.HttpRequestDef
- func GenReqDefForListInstanceSnapshots() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListNamespaces() *def.HttpRequestDef
- func GenReqDefForListProjects() *def.HttpRequestDef
- func GenReqDefForListRuntimes() *def.HttpRequestDef
- func GenReqDefForListTags() *def.HttpRequestDef
- func GenReqDefForListTemplates() *def.HttpRequestDef
- func GenReqDefForListTrees() *def.HttpRequestDef
- func GenReqDefForShowApplicationConfiguration() *def.HttpRequestDef
- func GenReqDefForShowApplicationDetail() *def.HttpRequestDef
- func GenReqDefForShowComponentDetail() *def.HttpRequestDef
- func GenReqDefForShowContent() *def.HttpRequestDef
- func GenReqDefForShowEnvironmentDetail() *def.HttpRequestDef
- func GenReqDefForShowInstanceDetail() *def.HttpRequestDef
- func GenReqDefForShowJobDetail() *def.HttpRequestDef
- func GenReqDefForShowProjectDetail() *def.HttpRequestDef
- func GenReqDefForShowRedirectUrl() *def.HttpRequestDef
- func GenReqDefForUpdateFile() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceAction() *def.HttpRequestDef
- func ServiceStageClientBuilder() *http_client.HcHttpClientBuilder
- type ServiceStageClient
- func (c *ServiceStageClient) ChangeApplication(request *model.ChangeApplicationRequest) (*model.ChangeApplicationResponse, error)
- func (c *ServiceStageClient) ChangeApplicationConfiguration(request *model.ChangeApplicationConfigurationRequest) (*model.ChangeApplicationConfigurationResponse, error)
- func (c *ServiceStageClient) ChangeComponent(request *model.ChangeComponentRequest) (*model.ChangeComponentResponse, error)
- func (c *ServiceStageClient) ChangeEnvironment(request *model.ChangeEnvironmentRequest) (*model.ChangeEnvironmentResponse, error)
- func (c *ServiceStageClient) ChangeInstance(request *model.ChangeInstanceRequest) (*model.ChangeInstanceResponse, error)
- func (c *ServiceStageClient) ChangeResourceInEnvironment(request *model.ChangeResourceInEnvironmentRequest) (*model.ChangeResourceInEnvironmentResponse, error)
- func (c *ServiceStageClient) CreateApplication(request *model.CreateApplicationRequest) (*model.CreateApplicationResponse, error)
- func (c *ServiceStageClient) CreateComponent(request *model.CreateComponentRequest) (*model.CreateComponentResponse, error)
- func (c *ServiceStageClient) CreateEnvironment(request *model.CreateEnvironmentRequest) (*model.CreateEnvironmentResponse, error)
- func (c *ServiceStageClient) CreateFile(request *model.CreateFileRequest) (*model.CreateFileResponse, error)
- func (c *ServiceStageClient) CreateHook(request *model.CreateHookRequest) (*model.CreateHookResponse, error)
- func (c *ServiceStageClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *ServiceStageClient) CreateOAuth(request *model.CreateOAuthRequest) (*model.CreateOAuthResponse, error)
- func (c *ServiceStageClient) CreatePasswordAuth(request *model.CreatePasswordAuthRequest) (*model.CreatePasswordAuthResponse, error)
- func (c *ServiceStageClient) CreatePersonalAuth(request *model.CreatePersonalAuthRequest) (*model.CreatePersonalAuthResponse, error)
- func (c *ServiceStageClient) CreateProject(request *model.CreateProjectRequest) (*model.CreateProjectResponse, error)
- func (c *ServiceStageClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)
- func (c *ServiceStageClient) DeleteApplication(request *model.DeleteApplicationRequest) (*model.DeleteApplicationResponse, error)
- func (c *ServiceStageClient) DeleteApplicationConfiguration(request *model.DeleteApplicationConfigurationRequest) (*model.DeleteApplicationConfigurationResponse, error)
- func (c *ServiceStageClient) DeleteAuthorize(request *model.DeleteAuthorizeRequest) (*model.DeleteAuthorizeResponse, error)
- func (c *ServiceStageClient) DeleteComponent(request *model.DeleteComponentRequest) (*model.DeleteComponentResponse, error)
- func (c *ServiceStageClient) DeleteEnvironment(request *model.DeleteEnvironmentRequest) (*model.DeleteEnvironmentResponse, error)
- func (c *ServiceStageClient) DeleteFile(request *model.DeleteFileRequest) (*model.DeleteFileResponse, error)
- func (c *ServiceStageClient) DeleteHook(request *model.DeleteHookRequest) (*model.DeleteHookResponse, error)
- func (c *ServiceStageClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *ServiceStageClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
- func (c *ServiceStageClient) ListApplications(request *model.ListApplicationsRequest) (*model.ListApplicationsResponse, error)
- func (c *ServiceStageClient) ListAuthorizations(request *model.ListAuthorizationsRequest) (*model.ListAuthorizationsResponse, error)
- func (c *ServiceStageClient) ListBranches(request *model.ListBranchesRequest) (*model.ListBranchesResponse, error)
- func (c *ServiceStageClient) ListCommits(request *model.ListCommitsRequest) (*model.ListCommitsResponse, error)
- func (c *ServiceStageClient) ListComponents(request *model.ListComponentsRequest) (*model.ListComponentsResponse, error)
- func (c *ServiceStageClient) ListEnvironments(request *model.ListEnvironmentsRequest) (*model.ListEnvironmentsResponse, error)
- func (c *ServiceStageClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
- func (c *ServiceStageClient) ListHooks(request *model.ListHooksRequest) (*model.ListHooksResponse, error)
- func (c *ServiceStageClient) ListInstanceSnapshots(request *model.ListInstanceSnapshotsRequest) (*model.ListInstanceSnapshotsResponse, error)
- func (c *ServiceStageClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *ServiceStageClient) ListNamespaces(request *model.ListNamespacesRequest) (*model.ListNamespacesResponse, error)
- func (c *ServiceStageClient) ListProjects(request *model.ListProjectsRequest) (*model.ListProjectsResponse, error)
- func (c *ServiceStageClient) ListRuntimes(request *model.ListRuntimesRequest) (*model.ListRuntimesResponse, error)
- func (c *ServiceStageClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
- func (c *ServiceStageClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
- func (c *ServiceStageClient) ListTrees(request *model.ListTreesRequest) (*model.ListTreesResponse, error)
- func (c *ServiceStageClient) ShowApplicationConfiguration(request *model.ShowApplicationConfigurationRequest) (*model.ShowApplicationConfigurationResponse, error)
- func (c *ServiceStageClient) ShowApplicationDetail(request *model.ShowApplicationDetailRequest) (*model.ShowApplicationDetailResponse, error)
- func (c *ServiceStageClient) ShowComponentDetail(request *model.ShowComponentDetailRequest) (*model.ShowComponentDetailResponse, error)
- func (c *ServiceStageClient) ShowContent(request *model.ShowContentRequest) (*model.ShowContentResponse, error)
- func (c *ServiceStageClient) ShowEnvironmentDetail(request *model.ShowEnvironmentDetailRequest) (*model.ShowEnvironmentDetailResponse, error)
- func (c *ServiceStageClient) ShowInstanceDetail(request *model.ShowInstanceDetailRequest) (*model.ShowInstanceDetailResponse, error)
- func (c *ServiceStageClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)
- func (c *ServiceStageClient) ShowProjectDetail(request *model.ShowProjectDetailRequest) (*model.ShowProjectDetailResponse, error)
- func (c *ServiceStageClient) ShowRedirectUrl(request *model.ShowRedirectUrlRequest) (*model.ShowRedirectUrlResponse, error)
- func (c *ServiceStageClient) UpdateFile(request *model.UpdateFileRequest) (*model.UpdateFileResponse, error)
- func (c *ServiceStageClient) UpdateInstanceAction(request *model.UpdateInstanceActionRequest) (*model.UpdateInstanceActionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForChangeApplication ¶
func GenReqDefForChangeApplication() *def.HttpRequestDef
func GenReqDefForChangeApplicationConfiguration ¶
func GenReqDefForChangeApplicationConfiguration() *def.HttpRequestDef
func GenReqDefForChangeComponent ¶
func GenReqDefForChangeComponent() *def.HttpRequestDef
func GenReqDefForChangeEnvironment ¶
func GenReqDefForChangeEnvironment() *def.HttpRequestDef
func GenReqDefForChangeInstance ¶
func GenReqDefForChangeInstance() *def.HttpRequestDef
func GenReqDefForChangeResourceInEnvironment ¶
func GenReqDefForChangeResourceInEnvironment() *def.HttpRequestDef
func GenReqDefForCreateApplication ¶
func GenReqDefForCreateApplication() *def.HttpRequestDef
func GenReqDefForCreateComponent ¶
func GenReqDefForCreateComponent() *def.HttpRequestDef
func GenReqDefForCreateEnvironment ¶
func GenReqDefForCreateEnvironment() *def.HttpRequestDef
func GenReqDefForCreateFile ¶
func GenReqDefForCreateFile() *def.HttpRequestDef
func GenReqDefForCreateHook ¶
func GenReqDefForCreateHook() *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForCreateOAuth ¶
func GenReqDefForCreateOAuth() *def.HttpRequestDef
func GenReqDefForCreatePasswordAuth ¶
func GenReqDefForCreatePasswordAuth() *def.HttpRequestDef
func GenReqDefForCreatePersonalAuth ¶
func GenReqDefForCreatePersonalAuth() *def.HttpRequestDef
func GenReqDefForCreateProject ¶
func GenReqDefForCreateProject() *def.HttpRequestDef
func GenReqDefForCreateTag ¶
func GenReqDefForCreateTag() *def.HttpRequestDef
func GenReqDefForDeleteApplication ¶
func GenReqDefForDeleteApplication() *def.HttpRequestDef
func GenReqDefForDeleteApplicationConfiguration ¶
func GenReqDefForDeleteApplicationConfiguration() *def.HttpRequestDef
func GenReqDefForDeleteAuthorize ¶
func GenReqDefForDeleteAuthorize() *def.HttpRequestDef
func GenReqDefForDeleteComponent ¶
func GenReqDefForDeleteComponent() *def.HttpRequestDef
func GenReqDefForDeleteEnvironment ¶
func GenReqDefForDeleteEnvironment() *def.HttpRequestDef
func GenReqDefForDeleteFile ¶
func GenReqDefForDeleteFile() *def.HttpRequestDef
func GenReqDefForDeleteHook ¶
func GenReqDefForDeleteHook() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForDeleteTag ¶
func GenReqDefForDeleteTag() *def.HttpRequestDef
func GenReqDefForListApplications ¶
func GenReqDefForListApplications() *def.HttpRequestDef
func GenReqDefForListAuthorizations ¶
func GenReqDefForListAuthorizations() *def.HttpRequestDef
func GenReqDefForListBranches ¶
func GenReqDefForListBranches() *def.HttpRequestDef
func GenReqDefForListCommits ¶
func GenReqDefForListCommits() *def.HttpRequestDef
func GenReqDefForListComponents ¶
func GenReqDefForListComponents() *def.HttpRequestDef
func GenReqDefForListEnvironments ¶
func GenReqDefForListEnvironments() *def.HttpRequestDef
func GenReqDefForListFlavors ¶
func GenReqDefForListFlavors() *def.HttpRequestDef
func GenReqDefForListHooks ¶
func GenReqDefForListHooks() *def.HttpRequestDef
func GenReqDefForListInstanceSnapshots ¶
func GenReqDefForListInstanceSnapshots() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListNamespaces ¶
func GenReqDefForListNamespaces() *def.HttpRequestDef
func GenReqDefForListProjects ¶
func GenReqDefForListProjects() *def.HttpRequestDef
func GenReqDefForListRuntimes ¶
func GenReqDefForListRuntimes() *def.HttpRequestDef
func GenReqDefForListTags ¶
func GenReqDefForListTags() *def.HttpRequestDef
func GenReqDefForListTemplates ¶
func GenReqDefForListTemplates() *def.HttpRequestDef
func GenReqDefForListTrees ¶
func GenReqDefForListTrees() *def.HttpRequestDef
func GenReqDefForShowApplicationConfiguration ¶
func GenReqDefForShowApplicationConfiguration() *def.HttpRequestDef
func GenReqDefForShowApplicationDetail ¶
func GenReqDefForShowApplicationDetail() *def.HttpRequestDef
func GenReqDefForShowComponentDetail ¶
func GenReqDefForShowComponentDetail() *def.HttpRequestDef
func GenReqDefForShowContent ¶
func GenReqDefForShowContent() *def.HttpRequestDef
func GenReqDefForShowEnvironmentDetail ¶
func GenReqDefForShowEnvironmentDetail() *def.HttpRequestDef
func GenReqDefForShowInstanceDetail ¶
func GenReqDefForShowInstanceDetail() *def.HttpRequestDef
func GenReqDefForShowJobDetail ¶
func GenReqDefForShowJobDetail() *def.HttpRequestDef
func GenReqDefForShowProjectDetail ¶
func GenReqDefForShowProjectDetail() *def.HttpRequestDef
func GenReqDefForShowRedirectUrl ¶
func GenReqDefForShowRedirectUrl() *def.HttpRequestDef
func GenReqDefForUpdateFile ¶
func GenReqDefForUpdateFile() *def.HttpRequestDef
func GenReqDefForUpdateInstanceAction ¶
func GenReqDefForUpdateInstanceAction() *def.HttpRequestDef
func ServiceStageClientBuilder ¶
func ServiceStageClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type ServiceStageClient ¶
type ServiceStageClient struct {
// contains filtered or unexported fields
}
func NewServiceStageClient ¶
func NewServiceStageClient(hcClient *http_client.HcHttpClient) *ServiceStageClient
func (*ServiceStageClient) ChangeApplication ¶
func (c *ServiceStageClient) ChangeApplication(request *model.ChangeApplicationRequest) (*model.ChangeApplicationResponse, error)
此API通过应用ID修改应用信息。
func (*ServiceStageClient) ChangeApplicationConfiguration ¶
func (c *ServiceStageClient) ChangeApplicationConfiguration(request *model.ChangeApplicationConfigurationRequest) (*model.ChangeApplicationConfigurationResponse, error)
通过此API修改应用配置信息。
func (*ServiceStageClient) ChangeComponent ¶
func (c *ServiceStageClient) ChangeComponent(request *model.ChangeComponentRequest) (*model.ChangeComponentResponse, error)
此API通过组件ID修改组件信息。
func (*ServiceStageClient) ChangeEnvironment ¶
func (c *ServiceStageClient) ChangeEnvironment(request *model.ChangeEnvironmentRequest) (*model.ChangeEnvironmentResponse, error)
此API通过环境ID修改环境信息。
func (*ServiceStageClient) ChangeInstance ¶
func (c *ServiceStageClient) ChangeInstance(request *model.ChangeInstanceRequest) (*model.ChangeInstanceResponse, error)
通过此API修改应用组件实例。
func (*ServiceStageClient) ChangeResourceInEnvironment ¶
func (c *ServiceStageClient) ChangeResourceInEnvironment(request *model.ChangeResourceInEnvironmentRequest) (*model.ChangeResourceInEnvironmentResponse, error)
此API用来修改环境资源。
func (*ServiceStageClient) CreateApplication ¶
func (c *ServiceStageClient) CreateApplication(request *model.CreateApplicationRequest) (*model.CreateApplicationResponse, error)
应用是一个功能相对完备的业务系统,由一个或多个特性相关的组件组成。 此API用来创建应用。
func (*ServiceStageClient) CreateComponent ¶
func (c *ServiceStageClient) CreateComponent(request *model.CreateComponentRequest) (*model.CreateComponentResponse, error)
应用组件是组成应用的某个业务特性实现,以代码或者软件包为载体,可独立部署运行。 此API用来在应用中创建组件。
func (*ServiceStageClient) CreateEnvironment ¶
func (c *ServiceStageClient) CreateEnvironment(request *model.CreateEnvironmentRequest) (*model.CreateEnvironmentResponse, error)
环境是用于应用部署和运行的计算、存储、网络等基础设施的集合。Servicestage把相同VPC下的CCE集群加上多个ELB、RDS、DCS实例组合为一个环境,如:开发环境,测试环境,预生产环境,生产环境。环境内网络互通,可以按环境维度来管理资源、部署服务,减少具体基础设施运维管理的复杂性。 此API用来创建环境。
func (*ServiceStageClient) CreateFile ¶
func (c *ServiceStageClient) CreateFile(request *model.CreateFileRequest) (*model.CreateFileResponse, error)
在指定仓库项目下创建文件。
func (*ServiceStageClient) CreateHook ¶
func (c *ServiceStageClient) CreateHook(request *model.CreateHookRequest) (*model.CreateHookResponse, error)
创建指定项目的hook。
func (*ServiceStageClient) CreateInstance ¶
func (c *ServiceStageClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
此API用来创建应用组件实例。
func (*ServiceStageClient) CreateOAuth ¶
func (c *ServiceStageClient) CreateOAuth(request *model.CreateOAuthRequest) (*model.CreateOAuthResponse, error)
创建指定Git仓库类型的OAuth授权。
func (*ServiceStageClient) CreatePasswordAuth ¶
func (c *ServiceStageClient) CreatePasswordAuth(request *model.CreatePasswordAuthRequest) (*model.CreatePasswordAuthResponse, error)
创建指定Git仓库类型的口令授权。
func (*ServiceStageClient) CreatePersonalAuth ¶
func (c *ServiceStageClient) CreatePersonalAuth(request *model.CreatePersonalAuthRequest) (*model.CreatePersonalAuthResponse, error)
创建指定Git仓库类型的私人令牌授权。
func (*ServiceStageClient) CreateProject ¶
func (c *ServiceStageClient) CreateProject(request *model.CreateProjectRequest) (*model.CreateProjectResponse, error)
创建指定组织下的软件仓库项目。
func (*ServiceStageClient) CreateTag ¶
func (c *ServiceStageClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)
创建指定项目的tag标签。
func (*ServiceStageClient) DeleteApplication ¶
func (c *ServiceStageClient) DeleteApplication(request *model.DeleteApplicationRequest) (*model.DeleteApplicationResponse, error)
此API通过应用ID删除应用。
func (*ServiceStageClient) DeleteApplicationConfiguration ¶
func (c *ServiceStageClient) DeleteApplicationConfiguration(request *model.DeleteApplicationConfigurationRequest) (*model.DeleteApplicationConfigurationResponse, error)
通过此API删除应用配置信息。
func (*ServiceStageClient) DeleteAuthorize ¶
func (c *ServiceStageClient) DeleteAuthorize(request *model.DeleteAuthorizeRequest) (*model.DeleteAuthorizeResponse, error)
通过名称删除仓库授权。
func (*ServiceStageClient) DeleteComponent ¶
func (c *ServiceStageClient) DeleteComponent(request *model.DeleteComponentRequest) (*model.DeleteComponentResponse, error)
此API通过应用组件ID删除应用组件。
func (*ServiceStageClient) DeleteEnvironment ¶
func (c *ServiceStageClient) DeleteEnvironment(request *model.DeleteEnvironmentRequest) (*model.DeleteEnvironmentResponse, error)
此API通过环境ID删除环境。
func (*ServiceStageClient) DeleteFile ¶
func (c *ServiceStageClient) DeleteFile(request *model.DeleteFileRequest) (*model.DeleteFileResponse, error)
删除指定项目仓库下的文件。
func (*ServiceStageClient) DeleteHook ¶
func (c *ServiceStageClient) DeleteHook(request *model.DeleteHookRequest) (*model.DeleteHookResponse, error)
删除指定项目的hook。
func (*ServiceStageClient) DeleteInstance ¶
func (c *ServiceStageClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
通过此API删除应用组件实例。
func (*ServiceStageClient) DeleteTag ¶
func (c *ServiceStageClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
删除指定项目的tag标签。
func (*ServiceStageClient) ListApplications ¶
func (c *ServiceStageClient) ListApplications(request *model.ListApplicationsRequest) (*model.ListApplicationsResponse, error)
通过此API可以获取所有已经创建的应用。
func (*ServiceStageClient) ListAuthorizations ¶
func (c *ServiceStageClient) ListAuthorizations(request *model.ListAuthorizationsRequest) (*model.ListAuthorizationsResponse, error)
获取所有Git仓库授权信息。
func (*ServiceStageClient) ListBranches ¶
func (c *ServiceStageClient) ListBranches(request *model.ListBranchesRequest) (*model.ListBranchesResponse, error)
获取指定项目的所有分支列表。
func (*ServiceStageClient) ListCommits ¶
func (c *ServiceStageClient) ListCommits(request *model.ListCommitsRequest) (*model.ListCommitsResponse, error)
获取指定项目的最近10次commit提交记录。
func (*ServiceStageClient) ListComponents ¶
func (c *ServiceStageClient) ListComponents(request *model.ListComponentsRequest) (*model.ListComponentsResponse, error)
通过此API获取应用下所有应用组件。
func (*ServiceStageClient) ListEnvironments ¶
func (c *ServiceStageClient) ListEnvironments(request *model.ListEnvironmentsRequest) (*model.ListEnvironmentsResponse, error)
此API用来获取所有已经创建环境。
func (*ServiceStageClient) ListFlavors ¶
func (c *ServiceStageClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
通过此API获取所用支持的应用资源规格。
func (*ServiceStageClient) ListHooks ¶
func (c *ServiceStageClient) ListHooks(request *model.ListHooksRequest) (*model.ListHooksResponse, error)
获取指定项目的所有hooks
func (*ServiceStageClient) ListInstanceSnapshots ¶
func (c *ServiceStageClient) ListInstanceSnapshots(request *model.ListInstanceSnapshotsRequest) (*model.ListInstanceSnapshotsResponse, error)
通过此API获取应用组件实例快照信息。
func (*ServiceStageClient) ListInstances ¶
func (c *ServiceStageClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
通过此API获取组件下的所有组件实例。
func (*ServiceStageClient) ListNamespaces ¶
func (c *ServiceStageClient) ListNamespaces(request *model.ListNamespacesRequest) (*model.ListNamespacesResponse, error)
获取仓库的namespaces。
func (*ServiceStageClient) ListProjects ¶
func (c *ServiceStageClient) ListProjects(request *model.ListProjectsRequest) (*model.ListProjectsResponse, error)
获取指定组织下的所有项目。
func (*ServiceStageClient) ListRuntimes ¶
func (c *ServiceStageClient) ListRuntimes(request *model.ListRuntimesRequest) (*model.ListRuntimesResponse, error)
此API用来获取所有支持应用组件运行时类型。
func (*ServiceStageClient) ListTags ¶
func (c *ServiceStageClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
获取指定项目的所有tag标签。
func (*ServiceStageClient) ListTemplates ¶
func (c *ServiceStageClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)
此API用来获取所有内置应用组件模板。
func (*ServiceStageClient) ListTrees ¶
func (c *ServiceStageClient) ListTrees(request *model.ListTreesRequest) (*model.ListTreesResponse, error)
获取指定项目仓库的文件列表。
func (*ServiceStageClient) ShowApplicationConfiguration ¶
func (c *ServiceStageClient) ShowApplicationConfiguration(request *model.ShowApplicationConfigurationRequest) (*model.ShowApplicationConfigurationResponse, error)
通过此API获取应用配置信息。
func (*ServiceStageClient) ShowApplicationDetail ¶
func (c *ServiceStageClient) ShowApplicationDetail(request *model.ShowApplicationDetailRequest) (*model.ShowApplicationDetailResponse, error)
此API通过应用ID获取应用详细信息。
func (*ServiceStageClient) ShowComponentDetail ¶
func (c *ServiceStageClient) ShowComponentDetail(request *model.ShowComponentDetailRequest) (*model.ShowComponentDetailResponse, error)
通过组件ID获取应用组件信息。
func (*ServiceStageClient) ShowContent ¶
func (c *ServiceStageClient) ShowContent(request *model.ShowContentRequest) (*model.ShowContentResponse, error)
获取指定项目仓库下文件的内容。
func (*ServiceStageClient) ShowEnvironmentDetail ¶
func (c *ServiceStageClient) ShowEnvironmentDetail(request *model.ShowEnvironmentDetailRequest) (*model.ShowEnvironmentDetailResponse, error)
此API通过环境ID获取环境详细信息。
func (*ServiceStageClient) ShowInstanceDetail ¶
func (c *ServiceStageClient) ShowInstanceDetail(request *model.ShowInstanceDetailRequest) (*model.ShowInstanceDetailResponse, error)
此API通过实例ID获取实例详细信息。
func (*ServiceStageClient) ShowJobDetail ¶
func (c *ServiceStageClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)
通过此API获取部署任务详细信息。
func (*ServiceStageClient) ShowProjectDetail ¶
func (c *ServiceStageClient) ShowProjectDetail(request *model.ShowProjectDetailRequest) (*model.ShowProjectDetailResponse, error)
通过指定的clone url 获取仓库信息。
func (*ServiceStageClient) ShowRedirectUrl ¶
func (c *ServiceStageClient) ShowRedirectUrl(request *model.ShowRedirectUrlRequest) (*model.ShowRedirectUrlResponse, error)
获取指定Git仓库类型的授权重定向URL。
func (*ServiceStageClient) UpdateFile ¶
func (c *ServiceStageClient) UpdateFile(request *model.UpdateFileRequest) (*model.UpdateFileResponse, error)
更新指定项目仓库下的文件内容。
func (*ServiceStageClient) UpdateInstanceAction ¶
func (c *ServiceStageClient) UpdateInstanceAction(request *model.UpdateInstanceActionRequest) (*model.UpdateInstanceActionResponse, error)
通过此API获取对组件实例的操作。