workflows

package
v0.49.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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