store

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Name    string
	Context string
}

type Values

type Values struct {
	Agent struct {
		Version string
	}
	Git struct {
		Token       string
		Integration string
		Context     codefresh.ContextPayload
	}
	Argo struct {
		Username string
		Password string
		Token    string
		Host     string
	}
	Codefresh struct {
		Host                string
		Token               string
		Integration         string
		SyncMode            string
		ApplicationsForSync []string
	}
	Heartbeat struct {
		Error string
	}
	Environments []Environment
}

func GetStore

func GetStore() *Values

func SetAgent

func SetAgent(Version string) *Values

func SetArgo

func SetArgo(token string, host string, username string, password string) *Values

func SetArgoHost

func SetArgoHost(host string) *Values

func SetArgoToken

func SetArgoToken(token string) *Values

func SetCodefresh

func SetCodefresh(host string, token string, integration string) *Values

func SetEnvironments

func SetEnvironments(environments []Environment) *Values

func SetGit

func SetGit(Token string) *Values

func SetGitContext

func SetGitContext(context codefresh.ContextPayload) *Values

func SetHeartbeatError

func SetHeartbeatError(error string) *Values

func SetSyncOptions

func SetSyncOptions(syncMode string, applicationsToSync []string) *Values

Jump to

Keyboard shortcuts

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