builder

package
v0.0.0-...-ff642e8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(rootCmd *cobra.Command)

Types

type Options

type Options struct {
	Id                      string // Identity name. This name used to leader election.
	DSN                     string // DataSourceName.
	Namespace               string
	EnableLeaderElection    bool
	LeaseLockName           string
	LeaseLockNamespace      string
	GithubAppId             int64
	GithubInstallationId    int64
	GithubPrivateKeyFile    string
	GithubAppSecretName     string
	MinIOEndpoint           string
	MinIOName               string
	MinIONamespace          string
	MinIOPort               int
	MinIOBucket             string
	MinIOAccessKey          string
	MinIOSecretAccessKey    string
	ServiceAccountTokenFile string
	VaultAddr               string
	VaultTokenFile          string
	VaultK8sAuthPath        string
	VaultK8sAuthRole        string

	Addr                       string
	DashboardUrl               string // URL of dashboard that can access people via browser
	BuilderApiUrl              string // URL of the api of builder.
	RemoteCache                string // If not empty, This value will passed to Bazel through --remote_cache argument.
	RemoteAssetApi             bool   // Use Remote Asset API. An api is experimental and depends on remote cache with gRPC.
	BazelImage                 string
	UseBazelisk                bool
	DefaultBazelVersion        string
	BazelMirrorURL             string
	BazelMirrorEndpoint        string
	BazelMirrorName            string
	BazelMirrorNamespace       string
	BazelMirrorPort            int
	BazelMirrorBucket          string
	BazelMirrorPrefix          string
	BazelMirrorAccessKey       string
	BazelMirrorSecretAccessKey string
	SidecarImage               string
	CLIImage                   string
	PullAlways                 bool
	TaskCPULimit               string
	TaskMemoryLimit            string
	WithGC                     bool

	Dev   bool
	Debug bool
}

Jump to

Keyboard shortcuts

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