config

package
v0.27.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigureUrl                string `json:"configureUrl"`
	AppID                       int64  `json:"appID"`
	AppInstallationID           int64  `json:"appInstallationID"`
	AppPrivateKey               string `json:"appPrivateKey"`
	Token                       string `json:"token"`
	EphemeralRunnerSetNamespace string `json:"ephemeralRunnerSetNamespace"`
	EphemeralRunnerSetName      string `json:"ephemeralRunnerSetName"`
	MaxRunners                  int    `json:"maxRunners"`
	MinRunners                  int    `json:"minRunners"`
	RunnerScaleSetId            int    `json:"runnerScaleSetId"`
	RunnerScaleSetName          string `json:"runnerScaleSetName"`
	ServerRootCA                string `json:"serverRootCA"`
	LogLevel                    string `json:"logLevel"`
	LogFormat                   string `json:"logFormat"`
	MetricsAddr                 string `json:"metricsAddr"`
	MetricsEndpoint             string `json:"metricsEndpoint"`
}

func Read

func Read(path string) (Config, error)

Jump to

Keyboard shortcuts

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