Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Disable filesystem polling, used by hub DisableDirtyPolling DefaultBool `default:"false" envconfig:"DISABLE_DIRTY_POLLING"` DisableFlexVolume DefaultBool `default:"false" envconfig:"DISABLE_FLEXVOLUME"` DotmeshUpgradesURL string PollDirty struct { SuccessTimeout DefaultDuration `default:"1s" envconfig:"POLL_DIRTY_SUCCESS_TIMEOUT"` ErrorTimeout DefaultDuration `default:"1s" envconfig:"POLL_DIRTY_ERROR_TIMEOUT"` } Upgrades struct { URL string `envconfig:"DOTMESH_UPGRADES_URL"` IntervalSeconds DefaultInt `default:"300" envconfig:"DOTMESH_UPGRADES_INTERVAL_SECONDS"` } }
Config stores the configuration settings.
type DefaultBool ¶
type DefaultBool bool
func (*DefaultBool) Decode ¶
func (b *DefaultBool) Decode(value string) error
type DefaultDuration ¶
func (*DefaultDuration) Decode ¶
func (b *DefaultDuration) Decode(value string) error
func (*DefaultDuration) Duration ¶
func (b *DefaultDuration) Duration() time.Duration
type DefaultInt ¶
type DefaultInt int
func (*DefaultInt) Decode ¶
func (b *DefaultInt) Decode(value string) error
func (*DefaultInt) Value ¶
func (b *DefaultInt) Value() int
Click to show internal directories.
Click to hide internal directories.