common

package
Version: v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApplicationDetail

func GetApplicationDetail(ctx *command.Context, application string, project string) (
	apistructs.ApplicationFetchResponse, error)

func GetApplicationList

func GetApplicationList(ctx *command.Context, project string) ([]apistructs.ApplicationDTO, error)

func GetBuildDetail

func GetBuildDetail(ctx *command.Context, buildID string) (*apistructs.PipelineDetailDTO, error)

func GetClusterDetail

func GetClusterDetail(ctx *command.Context, cluster string) (apistructs.GetClusterResponse, error)

func GetClusters

func GetClusters(ctx *command.Context, orgid string) (apistructs.ClusterListResponse, error)

func GetOrgDetail

func GetOrgDetail(ctx *command.Context, org string) (apistructs.OrgFetchResponse, error)

func GetOriginRepo added in v1.5.0

func GetOriginRepo() string

func GetProjectDetail

func GetProjectDetail(ctx *command.Context, project string, orgID string) (apistructs.ProjectDetailResponse, error)

func GetProjectList

func GetProjectList(ctx *command.Context) ([]apistructs.ProjectDTO, error)

func GetRepo added in v1.5.0

func GetRepo(remote string) string

func GetRepoStats added in v1.4.0

func GetRepoStats(ctx *command.Context, orgID, project, application string) (apistructs.GittarStatsResponse, error)

func GetRuntimeDetail

func GetRuntimeDetail(ctx *command.Context, runtime string, app string) (apistructs.RuntimeInspectResponse, error)

func GetUserDetail

func GetUserDetail(ctx *command.Context, user string) (apistructs.UserGetResponse, error)

func GetWorkspaceBranch added in v1.4.0

func GetWorkspaceBranch() (string, error)

func GetWorkspaceInfo added in v1.4.0

func GetWorkspaceInfo() (org string, project string, app string, err error)

func GetWorkspaceInfoFromErdaRepo added in v1.5.0

func GetWorkspaceInfoFromErdaRepo(erdaRepo string) (org, project, app string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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