vsourcedeploy

package
v1.6.11 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT, MIT Imports: 24 Imported by: 0

README

Go API client for vsourcedeploy

<br/>https://vpcsourcedeploy.apigw.ntruss.com/api/v1

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 2022-04-22T07:37:28Z
  • Package version:
  • Build package: io.swagger.codegen.languages.NcpGoForVnksClientCodegen

Installation

Put the package under your project folder and add the following in import:

"./vsourcedeploy"

Documentation for API Endpoints

All URIs are relative to https://vpcsourcedeploy.apigw.ntruss.com/api/v1

Class Method HTTP request Description
V1Api GetAutoscalingGroupTargetGroup Get /autoscaling/{autoscalingName}
V1Api GetAutoscalingGroups Get /autoscaling
V1Api GetKubernetesClusters Get /kubernetes/cluster
V1Api GetObjectstorageObjects Get /objectstorage/bucket/{bucketName}
V1Api GetObjectstorageBuckets Get /objectstorage/bucket
V1Api GetProjects Get /project
V1Api CreateProject Post /project
V1Api DeleteProject Delete /project/{projectId}
V1Api GetHistories Get /project/{projectId}/history
V1Api AcceptDeployApproval Post /project/{projectId}/history/{historyId}/approval/accept
V1Api RejectDeployApproval Post /project/{projectId}/history/{historyId}/approval/reject
V1Api AcceptDeployCanary Post /project/{projectId}/history/{historyId}/canary/accept
V1Api RejectDeployCanary Post /project/{projectId}/history/{historyId}/canary/reject
V1Api CancelDeploy Post /project/{projectId}/history/{historyId}/cancel
V1Api GetHistory Get /project/{projectId}/history/{historyId}
V1Api GetCanaryReport Get /project/{projectId}/history/{historyId}/report/{endtime}
V1Api GetCanaryReportEndtime Get /project/{projectId}/history/{historyId}/report
V1Api GetStages Get /project/{projectId}/stage
V1Api CreateStage Post /project/{projectId}/stage
V1Api DeleteStage Delete /project/{projectId}/stage/{stageId}
V1Api GetStage Get /project/{projectId}/stage/{stageId}
V1Api ChangeStage Patch /project/{projectId}/stage/{stageId}
V1Api GetScenarioes Get /project/{projectId}/stage/{stageId}/scenario
V1Api CreateScenario Post /project/{projectId}/stage/{stageId}/scenario
V1Api DeleteScenario Delete /project/{projectId}/stage/{stageId}/scenario/{scenarioId}
V1Api Deploy Post /project/{projectId}/stage/{stageId}/scenario/{scenarioId}/deploy
V1Api DeployRequest Post /project/{projectId}/stage/{stageId}/scenario/{scenarioId}/deploy/request
V1Api GetScenario Get /project/{projectId}/stage/{stageId}/scenario/{scenarioId}
V1Api ChangeScenario Patch /project/{projectId}/stage/{stageId}/scenario/{scenarioId}
V1Api GetServers Get /server
V1Api GetSourcebuildProjects Get /sourcebuild/project
V1Api GetSourcecommitRepositories Get /sourcecommit/repository
V1Api GetSourceCommitBranches Get /sourcecommit/repository/{repositoryName}/branch

Documentation For Models

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func NewConfiguration

func NewConfiguration(region string, apiKeys ...*ncloud.APIKey) *ncloud.Configuration

Types

type APIClient

type APIClient struct {

	// API Services
	V1Api *V1ApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the vsourcedeploy API v2022-04-22T07:37:28Z In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *ncloud.Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type ChangeScenario

type ChangeScenario struct {
	Description *string `json:"description,omitempty"`

	Config *ScenarioConfig `json:"config,omitempty"`
}

type ChangeStage

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

	Type_ *string `json:"type,omitempty"`

	Config *StageConfig `json:"config,omitempty"`
}

type CreateProject

type CreateProject struct {
	Name *string `json:"name"`
}

type CreateScenario

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

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

	Config *ScenarioConfig `json:"config,omitempty"`
}

type CreateStage

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

	Type_ *string `json:"type,omitempty"`

	Config *StageConfig `json:"config,omitempty"`
}

type DeployRequestResponse

type DeployRequestResponse struct {
	HistoryId *int32 `json:"historyId,omitempty"`
}

type GetAutoScalingGroupListResponse

type GetAutoScalingGroupListResponse struct {
	AutoscalingList []*GetAutoScalingGroupListResponseAutoscalingList `json:"autoscalingList,omitempty"`
}

type GetAutoScalingGroupListResponseAutoscalingList

type GetAutoScalingGroupListResponseAutoscalingList struct {
	GroupNo *int32 `json:"groupNo,omitempty"`

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

	InstanceCount *int32 `json:"instanceCount,omitempty"`
}

type GetCanaryAnalysisReportResponse

type GetCanaryAnalysisReportResponse struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	Stage *GetIdNameResponse `json:"stage,omitempty"`

	Id *int32 `json:"id,omitempty"`

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

	Type_ *string `json:"type,omitempty"`

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

	Config *GetScenarioConfig `json:"config,omitempty"`
}

type GetCanaryAnalysisStageListResponse

type GetCanaryAnalysisStageListResponse struct {
	StageList []*int32 `json:"stageList,omitempty"`
}

type GetDeployHistoryDetailResponse

type GetDeployHistoryDetailResponse struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	Stage *GetIdNameResponse `json:"stage,omitempty"`

	Scenario *GetIdNameResponse `json:"scenario,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *string `json:"status,omitempty"`

	Strategy *string `json:"strategy,omitempty"`

	Executor *string `json:"executor,omitempty"`

	StartTime *int32 `json:"startTime,omitempty"`

	EndTime *int32 `json:"endTime,omitempty"`

	Type_ *string `json:"type,omitempty"`

	Config []*GetDeployHistoryDetailResponseConfig `json:"config,omitempty"`
}

type GetDeployHistoryDetailResponseConfig

type GetDeployHistoryDetailResponseConfig struct {
	Strategy *string `json:"strategy,omitempty"`

	File *GetDeployHistoryDetailResponseFile `json:"file,omitempty"`

	Targets []*GetDeployHistoryDetailResponseTargets `json:"targets,omitempty"`
}

type GetDeployHistoryDetailResponseFile

type GetDeployHistoryDetailResponseFile struct {
	File *string `json:"file,omitempty"`

	Type_ *string `json:"type,omitempty"`
}

type GetDeployHistoryDetailResponseServer

type GetDeployHistoryDetailResponseServer struct {
	No *string `json:"no,omitempty"`

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

type GetDeployHistoryDetailResponseStep

type GetDeployHistoryDetailResponseStep struct {
	Pre *string `json:"pre,omitempty"`

	Deploy *string `json:"deploy,omitempty"`

	Post *string `json:"post,omitempty"`
}

type GetDeployHistoryDetailResponseTargets

type GetDeployHistoryDetailResponseTargets struct {
	Server *GetDeployHistoryDetailResponseServer `json:"server,omitempty"`

	Status *string `json:"status,omitempty"`

	Time *GetDeployHistoryDetailResponseTime `json:"time,omitempty"`

	Step *GetDeployHistoryDetailResponseStep `json:"step,omitempty"`
}

type GetDeployHistoryDetailResponseTime

type GetDeployHistoryDetailResponseTime struct {
	Pre *int32 `json:"pre,omitempty"`

	Deploy *int32 `json:"deploy,omitempty"`

	Post *int32 `json:"post,omitempty"`
}

type GetDeployHistoryListResponse

type GetDeployHistoryListResponse struct {
	HistoryList []*GetDeployHistoryListResponseHistoryList `json:"historyList,omitempty"`
}

type GetDeployHistoryListResponseHistoryList

type GetDeployHistoryListResponseHistoryList struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	Stage *GetIdNameResponse `json:"stage,omitempty"`

	Scenario *GetIdNameResponse `json:"scenario,omitempty"`

	Id *string `json:"id,omitempty"`

	StartTime *int32 `json:"startTime,omitempty"`

	Status *string `json:"status,omitempty"`
}

type GetIdNameResponse

type GetIdNameResponse struct {
	Id *int32 `json:"id,omitempty"`

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

type GetKubernetesServiceClusterListResponse

type GetKubernetesServiceClusterListResponse struct {
	ClusterList []*GetIdNameResponse `json:"clusterList,omitempty"`
}

type GetObjectStorageBucketListResponse

type GetObjectStorageBucketListResponse struct {
	BucketList []*GetSourceCommitRepositoryListResponseRepositoryList `json:"bucketList,omitempty"`
}

type GetObjectStorageObjectListResponse

type GetObjectStorageObjectListResponse struct {
	ObjectList []*GetObjectStorageObjectListResponseObjectList `json:"objectList,omitempty"`
}

type GetObjectStorageObjectListResponseObjectList

type GetObjectStorageObjectListResponseObjectList struct {
	Key *string `json:"key,omitempty"`

	Size *int32 `json:"size,omitempty"`
}

type GetProjectListResponse

type GetProjectListResponse struct {
	ProjectList []*GetIdNameResponse `json:"projectList,omitempty"`
}

type GetScenarioConfig

type GetScenarioConfig struct {
	Strategy *string `json:"strategy,omitempty"`

	File *GetScenarioConfigFile `json:"file,omitempty"`

	Rollback *bool `json:"rollback,omitempty"`

	Cmd *ScenarioConfigCmd `json:"cmd,omitempty"`

	LoadBalancer *GetScenarioConfigLoadBalancer `json:"loadBalancer,omitempty"`

	Manifest *ScenarioConfigManifest `json:"manifest,omitempty"`

	CanaryConfig *ScenarioConfigCanaryConfig `json:"canaryConfig,omitempty"`

	Path []*ScenarioConfigCmdDeploy `json:"path,omitempty"`
}

type GetScenarioConfigFile

type GetScenarioConfigFile struct {
	Type_ *string `json:"type,omitempty"`

	ObjectStorage *ScenarioConfigFileObjectStorage `json:"ObjectStorage,omitempty"`

	SourceBuild *GetIdNameResponse `json:"SourceBuild,omitempty"`
}

type GetScenarioConfigLoadBalancer

type GetScenarioConfigLoadBalancer struct {
	LoadBalancerTargetGroupNo *int32 `json:"loadBalancerTargetGroupNo,omitempty"`

	LoadBalancerTargetGroupName *string `json:"loadBalancerTargetGroupName,omitempty"`

	DeleteServer *bool `json:"deleteServer,omitempty"`
}

type GetScenarioDetailResponse

type GetScenarioDetailResponse struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	Stage *GetIdNameResponse `json:"stage,omitempty"`

	Id *int32 `json:"id,omitempty"`

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

	Type_ *string `json:"type,omitempty"`

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

	Config *GetScenarioConfig `json:"config,omitempty"`
}

type GetScenarioListResponse

type GetScenarioListResponse struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	Stage *GetIdNameResponse `json:"stage,omitempty"`

	ScenarioList []*GetIdNameResponse `json:"scenarioList,omitempty"`
}

type GetServerListResponse

type GetServerListResponse struct {
	ServerList []*GetServerListResponseServerList `json:"serverList,omitempty"`
}

type GetServerListResponseServerList

type GetServerListResponseServerList struct {
	ServerNo *int32 `json:"serverNo,omitempty"`

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

type GetSourceBuildProjectListResponse

type GetSourceBuildProjectListResponse struct {
	ProjectList []*GetIdNameResponse `json:"projectList,omitempty"`
}

type GetSourceCommitBranchListResponse

type GetSourceCommitBranchListResponse struct {
	BranchList []*GetSourceCommitRepositoryListResponseRepositoryList `json:"branchList,omitempty"`
}

type GetSourceCommitRepositoryListResponse

type GetSourceCommitRepositoryListResponse struct {
	RepositoryList []*GetSourceCommitRepositoryListResponseRepositoryList `json:"repositoryList,omitempty"`
}

type GetSourceCommitRepositoryListResponseRepositoryList

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

type GetStageDetailResponse

type GetStageDetailResponse struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	Id *int32 `json:"id,omitempty"`

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

	Type_ *string `json:"type,omitempty"`

	Config *GetStageDetailResponseConfig `json:"config,omitempty"`
}

type GetStageDetailResponseConfig

type GetStageDetailResponseConfig struct {
	ServerNo []*int32 `json:"serverNo,omitempty"`

	ServerName []*string `json:"serverName,omitempty"`

	AutoScalingGroupNo *int32 `json:"autoScalingGroupNo,omitempty"`

	AutoScalingGroupName *string `json:"autoScalingGroupName,omitempty"`

	ClusterUuid *string `json:"clusterUuid,omitempty"`

	ClusterName *string `json:"clusterName,omitempty"`

	BucketName *string `json:"bucketName,omitempty"`
}

type GetStageListResponse

type GetStageListResponse struct {
	Project *GetIdNameResponse `json:"project,omitempty"`

	StageList []*GetIdNameResponse `json:"stageList,omitempty"`
}

type GetTargetGroupListResponse

type GetTargetGroupListResponse struct {
	TargetGroupList []*GetIdNameResponse `json:"targetGroupList,omitempty"`
}

type OkResponse

type OkResponse struct {
	Result *bool `json:"result,omitempty"`
}

type ScenarioConfig

type ScenarioConfig struct {
	Strategy *string `json:"strategy,omitempty"`

	File *ScenarioConfigFile `json:"file,omitempty"`

	Rollback *bool `json:"rollback,omitempty"`

	Cmd *ScenarioConfigCmd `json:"cmd,omitempty"`

	LoadBalancer *ScenarioConfigLoadBalancer `json:"loadBalancer,omitempty"`

	Manifest *ScenarioConfigManifest `json:"manifest,omitempty"`

	CanaryConfig *ScenarioConfigCanaryConfig `json:"canaryConfig,omitempty"`

	Path []*ScenarioConfigCmdDeploy `json:"path,omitempty"`
}

type ScenarioConfigCanaryConfig

type ScenarioConfigCanaryConfig struct {
	CanaryCount *int32 `json:"canaryCount,omitempty"`

	AnalysisType *string `json:"analysisType,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Prometheus *string `json:"prometheus,omitempty"`

	Env *ScenarioConfigCanaryConfigEnv `json:"env,omitempty"`

	Metrics []*ScenarioConfigCanaryConfigMetrics `json:"metrics,omitempty"`

	AnalysisConfig *ScenarioConfigCanaryConfigAnalysisConfig `json:"analysisConfig,omitempty"`

	PassScore *int32 `json:"passScore,omitempty"`
}

type ScenarioConfigCanaryConfigAnalysisConfig

type ScenarioConfigCanaryConfigAnalysisConfig struct {
	Duration *int32 `json:"duration,omitempty"`

	Delay *int32 `json:"delay,omitempty"`

	Interval *int32 `json:"interval,omitempty"`

	Step *int32 `json:"step,omitempty"`
}

type ScenarioConfigCanaryConfigEnv

type ScenarioConfigCanaryConfigEnv struct {
	Baseline *string `json:"baseline,omitempty"`

	Canary *string `json:"canary,omitempty"`
}

type ScenarioConfigCanaryConfigMetrics

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

	SuccessCriteria *string `json:"successCriteria,omitempty"`

	QueryType *string `json:"queryType,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	Metric *string `json:"metric,omitempty"`

	Filter *string `json:"filter,omitempty"`

	Query *string `json:"query,omitempty"`
}

type ScenarioConfigCmd

type ScenarioConfigCmd struct {
	Pre []*ScenarioConfigCmdPrePost `json:"pre,omitempty"`

	Deploy []*ScenarioConfigCmdDeploy `json:"deploy,omitempty"`

	Post []*ScenarioConfigCmdPrePost `json:"post,omitempty"`
}

type ScenarioConfigCmdDeploy

type ScenarioConfigCmdDeploy struct {
	SourcePath *string `json:"sourcePath,omitempty"`

	DeployPath *string `json:"deployPath,omitempty"`
}

type ScenarioConfigCmdPrePost

type ScenarioConfigCmdPrePost struct {
	User *string `json:"user,omitempty"`

	Cmd *string `json:"cmd,omitempty"`
}

type ScenarioConfigFile

type ScenarioConfigFile struct {
	Type_ *string `json:"type,omitempty"`

	ObjectStorage *ScenarioConfigFileObjectStorage `json:"ObjectStorage,omitempty"`

	SourceBuild *ScenarioConfigFileSourceBuild `json:"SourceBuild,omitempty"`
}

type ScenarioConfigFileObjectStorage

type ScenarioConfigFileObjectStorage struct {
	Bucket *string `json:"bucket,omitempty"`

	Object *string `json:"object,omitempty"`
}

type ScenarioConfigFileSourceBuild

type ScenarioConfigFileSourceBuild struct {
	Id *int32 `json:"id,omitempty"`
}

type ScenarioConfigLoadBalancer

type ScenarioConfigLoadBalancer struct {
	LoadBalancerTargetGroupNo *int32 `json:"loadBalancerTargetGroupNo,omitempty"`

	DeleteServer *bool `json:"deleteServer,omitempty"`
}

type ScenarioConfigManifest

type ScenarioConfigManifest struct {
	Type_ *string `json:"type,omitempty"`

	Repository *string `json:"repository,omitempty"`

	Branch *string `json:"branch,omitempty"`

	Path []*string `json:"path,omitempty"`
}

type StageConfig

type StageConfig struct {
	ServerNo []*int32 `json:"serverNo,omitempty"`

	AutoScalingGroupNo *int32 `json:"autoScalingGroupNo,omitempty"`

	ClusterUuid *string `json:"clusterUuid,omitempty"`

	BucketName *string `json:"bucketName,omitempty"`
}

type V1ApiService

type V1ApiService service

func (*V1ApiService) AcceptDeployApproval

func (a *V1ApiService) AcceptDeployApproval(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *OkResponse

func (*V1ApiService) AcceptDeployCanary

func (a *V1ApiService) AcceptDeployCanary(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *OkResponse

func (*V1ApiService) CancelDeploy

func (a *V1ApiService) CancelDeploy(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *OkResponse

func (*V1ApiService) ChangeScenario

func (a *V1ApiService) ChangeScenario(ctx context.Context, scenarioUpdate *ChangeScenario, projectId *string, stageId *string, scenarioId *string) (*GetIdNameResponse, error)

V1ApiService @param scenarioUpdate 시나리오 수정 @param projectId projectId @param stageId stageId @param scenarioId scenarioId @return *GetIdNameResponse

func (*V1ApiService) ChangeStage

func (a *V1ApiService) ChangeStage(ctx context.Context, stageUpdate *CreateStage, projectId *string, stageId *string) (*GetIdNameResponse, error)

V1ApiService @param stageUpdate stage 수정 @param projectId projectId @param stageId stageId @return *GetIdNameResponse

func (*V1ApiService) CreateProject

func (a *V1ApiService) CreateProject(ctx context.Context, projectCreate *CreateProject) (*GetIdNameResponse, error)

V1ApiService @param projectCreate 프로젝트 생성 @return *GetIdNameResponse

func (*V1ApiService) CreateScenario

func (a *V1ApiService) CreateScenario(ctx context.Context, scenarioCreate *CreateScenario, projectId *string, stageId *string) (*GetIdNameResponse, error)

V1ApiService @param scenarioCreate 시나리오 생성 @param projectId projectId @param stageId stageId @return *GetIdNameResponse

func (*V1ApiService) CreateStage

func (a *V1ApiService) CreateStage(ctx context.Context, stageCreate *CreateStage, projectId *string) (*GetIdNameResponse, error)

V1ApiService @param stageCreate stage 생성 @param projectId projectId @return *GetIdNameResponse

func (*V1ApiService) DeleteProject

func (a *V1ApiService) DeleteProject(ctx context.Context, projectId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @return *OkResponse

func (*V1ApiService) DeleteScenario

func (a *V1ApiService) DeleteScenario(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @param scenarioId scenarioId @return *OkResponse

func (*V1ApiService) DeleteStage

func (a *V1ApiService) DeleteStage(ctx context.Context, projectId *string, stageId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @return *OkResponse

func (*V1ApiService) Deploy

func (a *V1ApiService) Deploy(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*DeployRequestResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @param scenarioId scenarioId @return *DeployRequestResponse

func (*V1ApiService) DeployRequest

func (a *V1ApiService) DeployRequest(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*DeployRequestResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @param scenarioId scenarioId @return *DeployRequestResponse

func (*V1ApiService) GetAutoscalingGroupTargetGroup

func (a *V1ApiService) GetAutoscalingGroupTargetGroup(ctx context.Context, autoscalingName *string) (*GetTargetGroupListResponse, error)

V1ApiService @param autoscalingName autoscalingName @return *GetTargetGroupListResponse

func (*V1ApiService) GetAutoscalingGroups

func (a *V1ApiService) GetAutoscalingGroups(ctx context.Context) (*GetAutoScalingGroupListResponse, error)

V1ApiService @return *GetAutoScalingGroupListResponse

func (*V1ApiService) GetCanaryReport

func (a *V1ApiService) GetCanaryReport(ctx context.Context, projectId *string, historyId *string, endtime *string) (*GetCanaryAnalysisReportResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @param endtime endtime @return *GetCanaryAnalysisReportResponse

func (*V1ApiService) GetCanaryReportEndtime

func (a *V1ApiService) GetCanaryReportEndtime(ctx context.Context, projectId *string, historyId *string) (*GetCanaryAnalysisStageListResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *GetCanaryAnalysisStageListResponse

func (*V1ApiService) GetHistories

func (a *V1ApiService) GetHistories(ctx context.Context, projectId *string, localVarOptionals map[string]interface{}) (*GetDeployHistoryListResponse, error)

V1ApiService @param projectId projectId @param optional (nil or map[string]interface{}) with one or more of:

@param "pageNo" (string) 페이지 NO
@param "pageSize" (string) 페이지 Size

@return *GetDeployHistoryListResponse

func (*V1ApiService) GetHistory

func (a *V1ApiService) GetHistory(ctx context.Context, projectId *string, historyId *string) (*GetDeployHistoryDetailResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *GetDeployHistoryDetailResponse

func (*V1ApiService) GetKubernetesClusters

func (a *V1ApiService) GetKubernetesClusters(ctx context.Context) (*GetKubernetesServiceClusterListResponse, error)

V1ApiService @return *GetKubernetesServiceClusterListResponse

func (*V1ApiService) GetObjectstorageBuckets

func (a *V1ApiService) GetObjectstorageBuckets(ctx context.Context) (*GetObjectStorageBucketListResponse, error)

V1ApiService @return *GetObjectStorageBucketListResponse

func (*V1ApiService) GetObjectstorageObjects

func (a *V1ApiService) GetObjectstorageObjects(ctx context.Context, bucketName *string) (*GetObjectStorageObjectListResponse, error)

V1ApiService @param bucketName bucketName @return *GetObjectStorageObjectListResponse

func (*V1ApiService) GetProjects

func (a *V1ApiService) GetProjects(ctx context.Context, localVarOptionals map[string]interface{}) (*GetProjectListResponse, error)

V1ApiService @param optional (nil or map[string]interface{}) with one or more of:

@param "pageNo" (string)
@param "pageSize" (string)
@param "projectName" (string)

@return *GetProjectListResponse

func (*V1ApiService) GetScenario

func (a *V1ApiService) GetScenario(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*GetScenarioDetailResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @param scenarioId scenarioId @return *GetScenarioDetailResponse

func (*V1ApiService) GetScenarioes

func (a *V1ApiService) GetScenarioes(ctx context.Context, projectId *string, stageId *string, localVarOptionals map[string]interface{}) (*GetScenarioListResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @param optional (nil or map[string]interface{}) with one or more of:

@param "pageNo" (string) 페이지 NO
@param "pageSize" (string) 페이지 Size
@param "scenarioName" (string) 시나리오 이름으로 검색

@return *GetScenarioListResponse

func (*V1ApiService) GetServers

func (a *V1ApiService) GetServers(ctx context.Context) (*GetServerListResponse, error)

V1ApiService @return *GetServerListResponse

func (*V1ApiService) GetSourceCommitBranches

func (a *V1ApiService) GetSourceCommitBranches(ctx context.Context, repositoryName *string) (*GetSourceCommitBranchListResponse, error)

V1ApiService @param repositoryName repositoryName @return *GetSourceCommitBranchListResponse

func (*V1ApiService) GetSourcebuildProjects

func (a *V1ApiService) GetSourcebuildProjects(ctx context.Context) (*GetSourceBuildProjectListResponse, error)

V1ApiService @return *GetSourceBuildProjectListResponse

func (*V1ApiService) GetSourcecommitRepositories

func (a *V1ApiService) GetSourcecommitRepositories(ctx context.Context) (*GetSourceCommitRepositoryListResponse, error)

V1ApiService @return *GetSourceCommitRepositoryListResponse

func (*V1ApiService) GetStage

func (a *V1ApiService) GetStage(ctx context.Context, projectId *string, stageId *string) (*GetStageDetailResponse, error)

V1ApiService @param projectId projectId @param stageId stageId @return *GetStageDetailResponse

func (*V1ApiService) GetStages

func (a *V1ApiService) GetStages(ctx context.Context, projectId *string, localVarOptionals map[string]interface{}) (*GetStageListResponse, error)

V1ApiService @param projectId projectId @param optional (nil or map[string]interface{}) with one or more of:

@param "pageNo" (string) 페이지 NO
@param "pageSize" (string) 페이지 Size
@param "stageName" (string) Stage 이름으로 검색

@return *GetStageListResponse

func (*V1ApiService) RejectDeployApproval

func (a *V1ApiService) RejectDeployApproval(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *OkResponse

func (*V1ApiService) RejectDeployCanary

func (a *V1ApiService) RejectDeployCanary(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)

V1ApiService @param projectId projectId @param historyId historyId @return *OkResponse

Source Files

Jump to

Keyboard shortcuts

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