cmd

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer()

Types

type Config

type Config struct {
	CdServer       string `default:"kuberpult-cd-service:8443"`
	CdServerSecure bool   `default:"false" split_words:"true"`
	EnableTracing  bool   `default:"false" split_words:"true"`

	ArgocdServer             string `split_words:"true"`
	ArgocdInsecure           bool   `default:"false" split_words:"true"`
	ArgocdToken              string `split_words:"true"`
	ArgocdRefreshEnabled     bool   `split_words:"true"`
	ArgocdRefreshConcurrency int    `default:"50" split_words:"true"`

	RevolutionDoraEnabled     bool          `split_words:"true"`
	RevolutionDoraUrl         string        `split_words:"true" default:""`
	RevolutionDoraToken       string        `split_words:"true" default:""`
	RevolutionDoraConcurrency int           `default:"10" split_words:"true"`
	RevolutionDoraMaxEventAge time.Duration `default:"0" split_words:"true"`

	ManageArgoApplicationsEnabled bool     `split_words:"true" default:"true"`
	ManageArgoApplicationsFilter  []string `split_words:"true" default:"sreteam"`

	ManifestRepoUrl string `default:"" split_words:"true"`
	Branch          string `default:"" split_words:"true"`
}

func (*Config) ClientConfig

func (config *Config) ClientConfig() (apiclient.ClientOptions, error)

func (*Config) RevolutionConfig

func (config *Config) RevolutionConfig() (revolution.Config, error)

Jump to

Keyboard shortcuts

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