mars

package
v5.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BranchPass

func BranchPass(branches []string, name string) bool

func GetMarsNamespace

func GetMarsNamespace(ns, prefix string) string

GetMarsNamespace prefix `devops-` namespace output dev devops-dev devops-dev devops-dev

func ParseInputConfig

func ParseInputConfig(mars *mars.Config, input string) (string, error)
values.yaml:
 ```
 command:
   command:
     - sleep 3600
 ```

 config_field: command

 input:
 ```
 command:
  - app
 ```

 wants:
 ```
  command:
    command:
    - app
 ```

------------------------------------

   values.yaml:
   command:
   - sleep 3600

   config_field: command

   input:
   ```
   command:
	- app
   ```

   wants:
   ```
	command:
    - app
   ```

Types

This section is empty.

Jump to

Keyboard shortcuts

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