Documentation
¶
Index ¶
- func ClientCredentials(org *string) runtime.ClientAuthInfoWriter
- func GenerateCanonical(name string) string
- func GetPipelineName(project, env string) string
- func IsInList(pattern string, list []string) bool
- func NewAPI() *client.APIClient
- func ReplaceCycloidVars(ctx CycloidContext, text []byte) []byte
- func ReplaceCycloidVarsString(ctx CycloidContext, text string) string
- func RequiredFlag(withFlag func(cmd *cobra.Command) string, cmd *cobra.Command)
- func RequiredPersistentFlag(withFlag func(cmd *cobra.Command) string, cmd *cobra.Command)
- func WithFlagCan(cmd *cobra.Command) string
- func WithFlagCred(cmd *cobra.Command) string
- func WithFlagEnv(cmd *cobra.Command) string
- func WithFlagID(cmd *cobra.Command) string
- func WithFlagOrg(cmd *cobra.Command) string
- func WithFlagProject(cmd *cobra.Command) string
- type CycloidContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientCredentials ¶
func ClientCredentials(org *string) runtime.ClientAuthInfoWriter
func GenerateCanonical ¶ added in v1.0.53
GenerateCanonical will generate a canonical from the name passed in input
func GetPipelineName ¶
func ReplaceCycloidVars ¶
func ReplaceCycloidVars(ctx CycloidContext, text []byte) []byte
func ReplaceCycloidVarsString ¶
func ReplaceCycloidVarsString(ctx CycloidContext, text string) string
func RequiredPersistentFlag ¶
func WithFlagCan ¶ added in v1.0.58
func WithFlagCred ¶
func WithFlagEnv ¶
func WithFlagID ¶
func WithFlagOrg ¶
func WithFlagProject ¶
Types ¶
type CycloidContext ¶
Click to show internal directories.
Click to hide internal directories.