deployopts

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecodedDeployerId

func GetDecodedDeployerId(deployerCode string) (string, bool)

func GetEncodedDeployerId

func GetEncodedDeployerId(deployment string, env string) (string, bool)

func InitSupportedDeployers

func InitSupportedDeployers() []string

func NewOptionsBuilder

func NewOptionsBuilder(opts ...Option)

Types

type Option

type Option func(*OptionsBuilder)

func LoadOptions

func LoadOptions() Option

type OptionsBuilder

type OptionsBuilder struct {
	// Deploy
	InitSupportedDeployers func() []string
	GetDecodedDeployerId   func(sessionId string) (string, bool)
	GetEncodedDeployerId   func(deployment string, env string) (string, bool)
}
var BuildOptions *OptionsBuilder

Jump to

Keyboard shortcuts

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