Documentation
¶
Index ¶
- Constants
- Variables
- func Branch() string
- func Check() error
- func Days() int
- func Debug() bool
- func GCPBillingProject() string
- func GCPBillingTable() string
- func GoogleCloudProject() string
- func ImageDir() string
- func ImageFormat() string
- func Load()
- func Message() string
- func Revision() string
- func SlackChannel() string
- func SlackToken() string
- func SubcommandVersion() bool
- func TimeZone() *time.Location
- func Timestamp() string
- func Version() string
Constants ¶
View Source
const ( DEBUG = "DEBUG" TZ = "TZ" GOOGLE_CLOUD_PROJECT = "GOOGLE_CLOUD_PROJECT" GCP_BILLING_TABLE = "GCP_BILLING_TABLE" GCP_BILLING_PROJECT = "GCP_BILLING_PROJECT" DAYS = "DAYS" IMAGE_FORMAT = "IMAGE_FORMAT" MESSAGE = "MESSAGE" SLACK_TOKEN = "SLACK_TOKEN" SLACK_CHANNEL = "SLACK_CHANNEL" IMAGE_DIR = "IMAGE_DIR" )
nolint: revive,stylecheck
Variables ¶
View Source
var ErrFlagOrEnvIsNotEnough = errors.New("config: flag or environment variable is not enough")
Functions ¶
func GCPBillingProject ¶
func GCPBillingProject() string
func GCPBillingTable ¶
func GCPBillingTable() string
func GoogleCloudProject ¶
func GoogleCloudProject() string
func ImageFormat ¶
func ImageFormat() string
func SlackChannel ¶
func SlackChannel() string
func SlackToken ¶
func SlackToken() string
func SubcommandVersion ¶
func SubcommandVersion() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.