Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientSecret ¶
func ClientSecret() string
func RunnerUserID ¶
func RunnerUserID() string
Types ¶
type Conf ¶
type Conf struct { Debug bool `env:"DEBUG" default:"false"` ListenAddr string `env:"LISTEN_ADDR" default:":9500"` ClientID string `env:"CLIENT_ID" default:"action-runner"` ClientSecret string `env:"CLIENT_SECRET" default:"devops/action-runner"` RunnerUserID string `env:"RUNNER_USER_ID" default:"1111"` }
Conf defines env configs.
Click to show internal directories.
Click to hide internal directories.