workflows

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanEditWorkflowInPlace

func CanEditWorkflowInPlace(platform string) bool

canEditWorkflowInPlace indicates whether the workflow can be inserted within an existing CI/CD workflow file

func GenerateWorkflow

func GenerateWorkflow(platform string) (string, error)

Generates a default worfklow file for the specified CI/CD platform, at a default path (recommanded by the platform) If a workflow file already exists at default file location, we try to update it or return an error

func GetAccessTokenHelp

func GetAccessTokenHelp(platform string, envvarname string) (help string)

GetAccessTokenHelp returns the help message on how to securely setup the reliably access token required for CLI to make authenticated calls to the API

func GetWorkflow

func GetWorkflow(platform string) string

GetWorflow returns the default workflow content for the CI/CD platform

func GetWorkflowPath

func GetWorkflowPath(platform string) string

GetWorkflowPath returns the path of the workflow file to generate for the specified CI/CD platform

Types

This section is empty.

Jump to

Keyboard shortcuts

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