Documentation ¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func NewConfiguration(region string, apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- type APIClient
- type APIResponse
- type ChangeScenario
- type ChangeStage
- type CreateProject
- type CreateScenario
- type CreateStage
- type DeployRequestResponse
- type GetAutoScalingGroupListResponse
- type GetAutoScalingGroupListResponseAutoscalingList
- type GetCanaryAnalysisReportResponse
- type GetCanaryAnalysisStageListResponse
- type GetDeployHistoryDetailResponse
- type GetDeployHistoryDetailResponseConfig
- type GetDeployHistoryDetailResponseFile
- type GetDeployHistoryDetailResponseServer
- type GetDeployHistoryDetailResponseStep
- type GetDeployHistoryDetailResponseTargets
- type GetDeployHistoryDetailResponseTime
- type GetDeployHistoryListResponse
- type GetDeployHistoryListResponseHistoryList
- type GetIdNameResponse
- type GetKubernetesServiceClusterListResponse
- type GetObjectStorageBucketListResponse
- type GetObjectStorageObjectListResponse
- type GetObjectStorageObjectListResponseObjectList
- type GetProjectListResponse
- type GetScenarioConfig
- type GetScenarioConfigFile
- type GetScenarioConfigLoadBalancer
- type GetScenarioDetailResponse
- type GetScenarioListResponse
- type GetServerListResponse
- type GetServerListResponseServerList
- type GetSourceBuildProjectListResponse
- type GetSourceCommitBranchListResponse
- type GetSourceCommitRepositoryListResponse
- type GetSourceCommitRepositoryListResponseRepositoryList
- type GetStageDetailResponse
- type GetStageDetailResponseConfig
- type GetStageListResponse
- type GetTargetGroupListResponse
- type OkResponse
- type ScenarioConfig
- type ScenarioConfigCanaryConfig
- type ScenarioConfigCanaryConfigAnalysisConfig
- type ScenarioConfigCanaryConfigEnv
- type ScenarioConfigCanaryConfigMetrics
- type ScenarioConfigCmd
- type ScenarioConfigCmdDeploy
- type ScenarioConfigCmdPrePost
- type ScenarioConfigFile
- type ScenarioConfigFileObjectStorage
- type ScenarioConfigFileSourceBuild
- type ScenarioConfigLoadBalancer
- type ScenarioConfigManifest
- type StageConfig
- type V1ApiService
- func (a *V1ApiService) AcceptDeployApproval(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)
- func (a *V1ApiService) AcceptDeployCanary(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)
- func (a *V1ApiService) CancelDeploy(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)
- func (a *V1ApiService) ChangeScenario(ctx context.Context, scenarioUpdate *ChangeScenario, projectId *string, ...) (*GetIdNameResponse, error)
- func (a *V1ApiService) ChangeStage(ctx context.Context, stageUpdate *CreateStage, projectId *string, ...) (*GetIdNameResponse, error)
- func (a *V1ApiService) CreateProject(ctx context.Context, projectCreate *CreateProject) (*GetIdNameResponse, error)
- func (a *V1ApiService) CreateScenario(ctx context.Context, scenarioCreate *CreateScenario, projectId *string, ...) (*GetIdNameResponse, error)
- func (a *V1ApiService) CreateStage(ctx context.Context, stageCreate *CreateStage, projectId *string) (*GetIdNameResponse, error)
- func (a *V1ApiService) DeleteProject(ctx context.Context, projectId *string) (*OkResponse, error)
- func (a *V1ApiService) DeleteScenario(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*OkResponse, error)
- func (a *V1ApiService) DeleteStage(ctx context.Context, projectId *string, stageId *string) (*OkResponse, error)
- func (a *V1ApiService) Deploy(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*DeployRequestResponse, error)
- func (a *V1ApiService) DeployRequest(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*DeployRequestResponse, error)
- func (a *V1ApiService) GetAutoscalingGroupTargetGroup(ctx context.Context, autoscalingName *string) (*GetTargetGroupListResponse, error)
- func (a *V1ApiService) GetAutoscalingGroups(ctx context.Context) (*GetAutoScalingGroupListResponse, error)
- func (a *V1ApiService) GetCanaryReport(ctx context.Context, projectId *string, historyId *string, endtime *string) (*GetCanaryAnalysisReportResponse, error)
- func (a *V1ApiService) GetCanaryReportEndtime(ctx context.Context, projectId *string, historyId *string) (*GetCanaryAnalysisStageListResponse, error)
- func (a *V1ApiService) GetHistories(ctx context.Context, projectId *string, ...) (*GetDeployHistoryListResponse, error)
- func (a *V1ApiService) GetHistory(ctx context.Context, projectId *string, historyId *string) (*GetDeployHistoryDetailResponse, error)
- func (a *V1ApiService) GetKubernetesClusters(ctx context.Context) (*GetKubernetesServiceClusterListResponse, error)
- func (a *V1ApiService) GetObjectstorageBuckets(ctx context.Context) (*GetObjectStorageBucketListResponse, error)
- func (a *V1ApiService) GetObjectstorageObjects(ctx context.Context, bucketName *string) (*GetObjectStorageObjectListResponse, error)
- func (a *V1ApiService) GetProjects(ctx context.Context, localVarOptionals map[string]interface{}) (*GetProjectListResponse, error)
- func (a *V1ApiService) GetScenario(ctx context.Context, projectId *string, stageId *string, scenarioId *string) (*GetScenarioDetailResponse, error)
- func (a *V1ApiService) GetScenarioes(ctx context.Context, projectId *string, stageId *string, ...) (*GetScenarioListResponse, error)
- func (a *V1ApiService) GetServers(ctx context.Context) (*GetServerListResponse, error)
- func (a *V1ApiService) GetSourceCommitBranches(ctx context.Context, repositoryName *string) (*GetSourceCommitBranchListResponse, error)
- func (a *V1ApiService) GetSourcebuildProjects(ctx context.Context) (*GetSourceBuildProjectListResponse, error)
- func (a *V1ApiService) GetSourcecommitRepositories(ctx context.Context) (*GetSourceCommitRepositoryListResponse, error)
- func (a *V1ApiService) GetStage(ctx context.Context, projectId *string, stageId *string) (*GetStageDetailResponse, error)
- func (a *V1ApiService) GetStages(ctx context.Context, projectId *string, ...) (*GetStageListResponse, error)
- func (a *V1ApiService) RejectDeployApproval(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)
- func (a *V1ApiService) RejectDeployCanary(ctx context.Context, projectId *string, historyId *string) (*OkResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
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 ¶
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 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 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 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 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 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 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 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 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 ScenarioConfigFile ¶
type ScenarioConfigFile struct { Type_ *string `json:"type,omitempty"` ObjectStorage *ScenarioConfigFileObjectStorage `json:"ObjectStorage,omitempty"` SourceBuild *ScenarioConfigFileSourceBuild `json:"SourceBuild,omitempty"` }
type ScenarioConfigFileSourceBuild ¶
type ScenarioConfigFileSourceBuild struct {
Id *int32 `json:"id,omitempty"`
}
type ScenarioConfigManifest ¶
type StageConfig ¶
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 ¶
- api_client.go
- api_response.go
- change_scenario.go
- change_stage.go
- configuration.go
- create_project.go
- create_scenario.go
- create_stage.go
- deploy_request_response.go
- get_auto_scaling_group_list_response.go
- get_auto_scaling_group_list_response_autoscaling_list.go
- get_canary_analysis_report_response.go
- get_canary_analysis_stage_list_response.go
- get_deploy_history_detail_response.go
- get_deploy_history_detail_response_config.go
- get_deploy_history_detail_response_file.go
- get_deploy_history_detail_response_server.go
- get_deploy_history_detail_response_step.go
- get_deploy_history_detail_response_targets.go
- get_deploy_history_detail_response_time.go
- get_deploy_history_list_response.go
- get_deploy_history_list_response_history_list.go
- get_id_name_response.go
- get_kubernetes_service_cluster_list_response.go
- get_object_storage_bucket_list_response.go
- get_object_storage_object_list_response.go
- get_object_storage_object_list_response_object_list.go
- get_project_list_response.go
- get_scenario_config.go
- get_scenario_config_file.go
- get_scenario_config_load_balancer.go
- get_scenario_detail_response.go
- get_scenario_list_response.go
- get_server_list_response.go
- get_server_list_response_server_list.go
- get_source_build_project_list_response.go
- get_source_commit_branch_list_response.go
- get_source_commit_repository_list_response.go
- get_source_commit_repository_list_response_repository_list.go
- get_stage_detail_response.go
- get_stage_detail_response_config.go
- get_stage_list_response.go
- get_target_group_list_response.go
- ok_response.go
- scenario_config.go
- scenario_config_canary_config.go
- scenario_config_canary_config_analysis_config.go
- scenario_config_canary_config_env.go
- scenario_config_canary_config_metrics.go
- scenario_config_cmd.go
- scenario_config_cmd_deploy.go
- scenario_config_cmd_pre_post.go
- scenario_config_file.go
- scenario_config_file_object_storage.go
- scenario_config_file_source_build.go
- scenario_config_load_balancer.go
- scenario_config_manifest.go
- stage_config.go
- v1_api.go