store

package
v0.1.60 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SegmentWriteKey = ""

	RuntimeDefURL    = "https://raw.githubusercontent.com/codefresh-io/csdp-official/stable/csdp/hybrid/basic/runtime.yaml"
	OldRuntimeDefURL = "https://github.com/codefresh-io/cli-v2/releases/latest/download/runtime.yaml"
	AddClusterDefURL = "https://github.com/codefresh-io/csdp-official/add-cluster/kustomize"
)

Functions

This section is empty.

Types

type Store

type Store struct {
	AddClusterJobName                 string
	AnalysisRunResourceName           string
	AnnotationKeyReleaseName          string
	AnnotationKeyReleaseNamespace     string
	AnnotationKeySyncWave             string
	AppProxyIngressName               string
	AppProxyIngressPath               string
	AppProxyServiceName               string
	ArgoCD                            string
	ArgoCDServerName                  string
	ArgoCDTokenKey                    string
	ArgoCDTokenSecret                 string
	ArgoWfIngressPath                 string
	ArgoWfServiceName                 string
	BinaryName                        string
	CFComponentType                   string
	CFGitSourceType                   string
	CFInternalGitSources              []string
	CFInternalReporters               []string
	CFRuntimeDefType                  string
	CFRuntimeType                     string
	CFStoreIVSecretKey                string
	CFTokenSecret                     string
	CFTokenSecretKey                  string
	CLIDownloadTemplate               string
	CLILatestVersionFileLink          string
	ClusterResourcesPath              string
	Codefresh                         string
	CodefreshCM                       string
	CodefreshSA                       string
	ComponentsReporterName            string
	ComponentsReporterSA              string
	ComponentsReporterURL             string
	DefaultAPI                        string
	DefaultNamespace                  string
	DefVersionToLastCLIVersion        map[string]string
	DemoCalendarDependencyName        string
	DemoCalendarEventName             string
	DemoCalendarEventSourceFileName   string
	DemoCalendarEventSourceObjectName string
	DemoCalendarSensorFileName        string
	DemoCalendarSensorObjectName      string
	DemoGitDependencyName             string
	DemoGitEventName                  string
	DemoGitEventSourceFileName        string
	DemoGitEventSourceObjectName      string
	DemoGitEventSourceServicePort     int32
	DemoGitEventSourceTargetPort      string
	DemoGitSensorFileName             string
	DemoGitSensorObjectName           string
	DemoGitTriggerTemplateName        string
	DemoWorkflowTemplateFileName      string
	DemoWorkflowTemplateName          string
	DocsLink                          string
	DownloadCliLink                   string
	EventBusName                      string
	EventReportingEndpoint            string
	EventsReporterName                string
	GithubEventTypeHeader             string
	GitlabEventTypeHeader             string
	GitSourceName                     string
	GitTokenSecretKey                 string
	GitTokenSecretObjectName          string
	GitTokensLink                     string
	GsCreateFlow                      string
	InClusterName                     string
	InClusterPath                     string
	InClusterServerURL                string
	IngressHost                       string
	InsecureIngressHost               bool
	InternalRouterIngressFilePath     string
	InternalRouterIngressName         string
	InternalRouterInternalIngressName string
	InternalRouterServiceName         string
	InternalRouterServicePort         int32
	IscRuntimesDir                    string
	IsDownloadRuntimeLogs             bool
	KubeVersionConstrint              *semver.Constraints
	LabelFieldCFType                  string
	LabelGitIntegrationTypeKey        string
	LabelGitIntegrationTypeValue      string
	LabelKeyCFInternal                string
	LabelKeyCFType                    string
	LabelSelectorGitIntegrationSecret string
	LabelSelectorSealedSecret         string
	LastRuntimeVersionInCLI           *semver.Version
	MarketplaceGitSourceName          string
	MarketplaceRepo                   string
	MasterIngressName                 string
	MaxDefVersion                     *semver.Version
	MinimumCpuRequired                string
	MinimumLocalDiskSizeRequired      string
	MinimumMemorySizeRequired         string
	NetworkTesterGenerateName         string
	NetworkTesterImage                string
	NetworkTesterName                 string
	OldRuntimeDefURL                  string
	ReplicaSetResourceName            string
	RequirementsLink                  string
	RolloutReporterName               string
	RolloutReporterServiceAccount     string
	RolloutResourceName               string
	RuntimeDefURL                     string
	SccName                           string
	SetDefaultResources               bool
	Silent                            bool
	TCPConnectionTesterGenerateName   string
	TCPConnectionTesterName           string
	Version                           Version
	WaitTimeout                       time.Duration
	WebhooksIngressPath               string
	WebhooksRootPath                  string
	WorkflowName                      string
	WorkflowReporterName              string
	WorkflowResourceName              string
	WorkflowTriggerServiceAccount     string
}

func Get

func Get() *Store

Get returns the global store

func (*Store) IsCustomDefURL added in v0.1.0

func (s *Store) IsCustomDefURL(orgRepo string) bool

type Version

type Version struct {
	Version    *semver.Version
	BuildDate  string
	GitCommit  string
	GoVersion  string
	GoCompiler string
	Platform   string
}

Jump to

Keyboard shortcuts

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