Documentation ¶
Overview ¶
Package codestream Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package codestream Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package codestream Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package codestream Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package codestream Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package codestream Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Index ¶
- func CreateCustomIntegration(APIClient *types.APIClientOptions, name string, description string, ...) (*types.CustomIntegration, error)
- func CreateExecution(APIClient *types.APIClientOptions, id string, inputs string, comment string) (*types.CreateExecutionResponse, error)
- func CreateVariable(APIClient *types.APIClientOptions, name string, description string, ...) (*types.VariableResponse, error)
- func DeleteCustomIntegration(APIClient *types.APIClientOptions, id, name string) error
- func DeleteEndpoint(APIClient *types.APIClientOptions, id string) error
- func DeleteEndpointByProject(APIClient *types.APIClientOptions, project string) ([]*types.Endpoint, error)
- func DeleteExecution(APIClient *types.APIClientOptions, id string) (bool, error)
- func DeleteExecutions(APIClient *types.APIClientOptions, project string, status string, name string, ...) ([]*types.Executions, error)
- func DeletePipeline(APIClient *types.APIClientOptions, id string) (*types.Pipeline, error)
- func DeletePipelineInProject(APIClient *types.APIClientOptions, project string) ([]*types.Pipeline, error)
- func DeleteVariable(APIClient *types.APIClientOptions, id string) (bool, error)
- func DeleteVariableByProject(APIClient *types.APIClientOptions, project string) ([]*types.VariableResponse, error)
- func ExportCustomIntegration(customintegration types.CustomIntegration, exportPath string, overwrite bool) error
- func ExportVariable(variable interface{}, exportPath string)
- func ExportYaml(APIClient *types.APIClientOptions, id, name, project, path, object string) error
- func GetCustomIntegration(APIClient *types.APIClientOptions, id, name string) ([]*types.CustomIntegration, error)
- func GetCustomIntegrationVersions(APIClient *types.APIClientOptions, id string) ([]string, error)
- func GetEndpoint(APIClient *types.APIClientOptions, id, name, project, endpointtype string, ...) ([]*types.Endpoint, error)
- func GetExecution(APIClient *types.APIClientOptions, id string, project string, status string, ...) ([]*types.Executions, error)
- func GetPipeline(APIClient *types.APIClientOptions, id string, name string, project string, ...) ([]*types.Pipeline, error)
- func GetVariable(APIClient *types.APIClientOptions, id, name, project, exportPath string) ([]*types.VariableResponse, error)
- func ImportCustomIntegration(importPath string) (*types.CustomIntegration, error)
- func ImportVariables(filePath string) []types.VariableRequest
- func ImportYaml(APIClient *types.APIClientOptions, ...) error
- func PatchPipeline(APIClient *types.APIClientOptions, id string, payload string) (*types.Pipeline, error)
- func UpdateCustomIntegration(APIClient *types.APIClientOptions, id string, description string, yaml string, ...) (*types.CustomIntegration, error)
- func UpdateVariable(APIClient *types.APIClientOptions, id string, name string, description string, ...) (*types.VariableResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomIntegration ¶
func CreateCustomIntegration(APIClient *types.APIClientOptions, name string, description string, yaml string, importPath string) (*types.CustomIntegration, error)
CreateCustomIntegration - Create a new Code Stream CustomIntegration
func CreateExecution ¶
func CreateExecution(APIClient *types.APIClientOptions, id string, inputs string, comment string) (*types.CreateExecutionResponse, error)
CreateExecution - creates an execution
func CreateVariable ¶
func CreateVariable(APIClient *types.APIClientOptions, name string, description string, variableType string, project string, value string) (*types.VariableResponse, error)
CreateVariable - Create a new Code Stream Variable
func DeleteCustomIntegration ¶
func DeleteCustomIntegration(APIClient *types.APIClientOptions, id, name string) error
DeleteCustomIntegration - Delete a Code Stream CustomIntegration
func DeleteEndpoint ¶
func DeleteEndpoint(APIClient *types.APIClientOptions, id string) error
DeleteEndpoint deletes an endpoint
func DeleteEndpointByProject ¶
func DeleteEndpointByProject(APIClient *types.APIClientOptions, project string) ([]*types.Endpoint, error)
DeleteEndpointByProject deletes an endpoint by project
func DeleteExecution ¶
func DeleteExecution(APIClient *types.APIClientOptions, id string) (bool, error)
DeleteExecution - deletes an execution by ID
func DeleteExecutions ¶
func DeleteExecutions(APIClient *types.APIClientOptions, project string, status string, name string, nested bool, rollback bool) ([]*types.Executions, error)
DeleteExecutions - deletes an execution by project, status, or pipeline name
func DeletePipeline ¶
DeletePipeline - Delete Code Stream Pipeline by ID
func DeletePipelineInProject ¶
func DeletePipelineInProject(APIClient *types.APIClientOptions, project string) ([]*types.Pipeline, error)
DeletePipelineInProject - Delete Code Stream Pipeline by Project
func DeleteVariable ¶
func DeleteVariable(APIClient *types.APIClientOptions, id string) (bool, error)
DeleteVariable - Delete a Code Stream Variable
func DeleteVariableByProject ¶
func DeleteVariableByProject(APIClient *types.APIClientOptions, project string) ([]*types.VariableResponse, error)
DeleteVariableByProject - Delete all Variables in a Project
func ExportCustomIntegration ¶
func ExportCustomIntegration(customintegration types.CustomIntegration, exportPath string, overwrite bool) error
ExportCustomIntegration - Export a custom integration
func ExportVariable ¶
func ExportVariable(variable interface{}, exportPath string)
ExportVariable - Export a variable to YAML
func ExportYaml ¶
func ExportYaml(APIClient *types.APIClientOptions, id, name, project, path, object string) error
ExportYaml exports the Pipeline or Endpoint to a YAML file
func GetCustomIntegration ¶
func GetCustomIntegration(APIClient *types.APIClientOptions, id, name string) ([]*types.CustomIntegration, error)
GetCustomIntegration returns a custom integration
func GetCustomIntegrationVersions ¶
func GetCustomIntegrationVersions(APIClient *types.APIClientOptions, id string) ([]string, error)
GetCustomIntegrationVersions returns all versions of a custom integration
func GetEndpoint ¶
func GetEndpoint(APIClient *types.APIClientOptions, id, name, project, endpointtype string, exportPath string) ([]*types.Endpoint, error)
GetEndpoint returns an endpoint
func GetExecution ¶
func GetExecution(APIClient *types.APIClientOptions, id string, project string, status string, name string, nested bool, rollback bool) ([]*types.Executions, error)
GetExecution - returns a list of executions
func GetPipeline ¶
func GetPipeline(APIClient *types.APIClientOptions, id string, name string, project string, exportPath string) ([]*types.Pipeline, error)
GetPipeline - Get Code Stream Pipeline
func GetVariable ¶
func GetVariable(APIClient *types.APIClientOptions, id, name, project, exportPath string) ([]*types.VariableResponse, error)
GetVariable - Get a Code Stream Variable
func ImportCustomIntegration ¶
func ImportCustomIntegration(importPath string) (*types.CustomIntegration, error)
ImportCustomIntegration - Import Custom Integrations from the importPath
func ImportVariables ¶
func ImportVariables(filePath string) []types.VariableRequest
ImportVariables - Import variables from the filePath
func ImportYaml ¶
func ImportYaml(APIClient *types.APIClientOptions, yamlPath, action, project, importType string) error
ImportYaml import a yaml pipeline or endpoint
func PatchPipeline ¶
func PatchPipeline(APIClient *types.APIClientOptions, id string, payload string) (*types.Pipeline, error)
PatchPipeline - Patch Code Stream Pipeline by ID
func UpdateCustomIntegration ¶
func UpdateCustomIntegration(APIClient *types.APIClientOptions, id string, description string, yaml string, version string, state string) (*types.CustomIntegration, error)
UpdateCustomIntegration - Create a new Code Stream CustomIntegration
func UpdateVariable ¶
func UpdateVariable(APIClient *types.APIClientOptions, id string, name string, description string, typename string, value string) (*types.VariableResponse, error)
UpdateVariable - Update an existing Code Stream Variable
Types ¶
This section is empty.