Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ShowEnv bool
ShowCosts string
Metrics []string
NetworkInterface string
DiskDevice string
Sccache string
ZctionsResultsURL string
ActionsResultsURL string
}
Config holds the action's configuration values derived from inputs and environment.
func NewConfigFromInputs ¶
func NewConfigFromInputs(action *githubactions.Action) (*Config, error)
NewConfigFromInputs parses action inputs and environment variables to build the Config struct.
func (*Config) HasMetrics ¶
func (*Config) HasSccache ¶
func (*Config) HasShowCosts ¶
func (*Config) HasShowEnv ¶
func (*Config) IsUsingLinux ¶
func (*Config) IsUsingRunsOn ¶
Click to show internal directories.
Click to hide internal directories.