store

package
v0.0.0-...-2c9277d Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeInCluster           = "InCluster"
	ApplicationName         = "runner"
	MonitorApplicationName  = "monitor"
	AppProxyApplicationName = "app-proxy"
	EngineAppName           = "codefresh-engine"
	NetworkTesterName       = "cf-venona-network-tester"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentAPI

type AgentAPI struct {
	Token string
	Id    string
}

type AppProxy

type AppProxy struct {
	Resources map[string]interface{}
}

type CodefreshAPI

type CodefreshAPI struct {
	Host              string
	Token             string
	Client            codefresh.Codefresh
	BuildNodeSelector map[string]string
}

type CurrentVersion

type CurrentVersion struct {
	Version string
	Commit  string
	Date    string
}

type Image

type Image struct {
	Name string
	Tag  string
}

type KubernetesAPI

type KubernetesAPI struct {
	ConfigPath   string
	Namespace    string
	ContextName  string
	InCluster    bool
	NodeSelector string
	Tolerations  []k8sApi.Toleration
}

type LocalVolumeMonitor

type LocalVolumeMonitor struct {
	Resources map[string]interface{}
}

type Monitor

type Monitor struct {
	Resources map[string]interface{}
}

type Runner

type Runner struct {
	Resources map[string]interface{}
}

type Values

type Values struct {
	AppName string

	Mode           string
	Image          *Image
	DockerRegistry string
	AgentToken     string

	ServerCert *certs.ServerCert

	CodefreshAPI *CodefreshAPI

	KubernetesAPI *KubernetesAPI

	Runner Runner

	VolumeProvisioner VolumeProvisioner

	LocalVolumeMonitor LocalVolumeMonitor

	Monitor Monitor

	AppProxy AppProxy

	AgentAPI *AgentAPI

	ClusterInCodefresh string

	DryRun bool

	Verbose bool

	Insecure bool

	RuntimeEnvironment string

	Version *Version

	ClusterId string

	Helm3 bool

	// need for define if monitor use cluster role or just role
	UseNamespaceWithRole bool

	AdditionalEnvVars map[string]string
}

func GetStore

func GetStore() *Values

func (*Values) BuildValues

func (s *Values) BuildValues() map[string]interface{}

type Version

type Version struct {
	Current *CurrentVersion
}

type VolumeProvisioner

type VolumeProvisioner struct {
	Resources map[string]interface{}
}

Jump to

Keyboard shortcuts

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