cmd

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 23 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"`
	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"`

	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