Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Defaults = Service{ Context: "default", Location: gh.Location{ Ref: "master", }, Interceptors: Interceptors{ PreStopSleep: PreStopSleepInterceptor{ Options: prestopsleep.Options{ Seconds: 3, }, }, GHStatusChecker: GHStatusCheckerInterceptor{ Options: statuschecker.DefaultOptions, }, }, } )
Functions ¶
This section is empty.
Types ¶
type GHStatusCheckerInterceptor ¶
type GHStatusCheckerInterceptor struct { Enabled TriState `yaml:"enabled"` Options statuschecker.Options `yaml:"options"` }
type Interceptor ¶
type Interceptor struct {
Enabled TriState `yaml:"enabled"`
}
type Interceptors ¶
type Interceptors struct { PreStopSleep PreStopSleepInterceptor `yaml:"preStopSleep"` RemoveResourceSpecs Interceptor `yaml:"removeResourceSpecs"` Waiter Interceptor `yaml:"waiter"` GHStatusChecker GHStatusCheckerInterceptor `yaml:"ghStatusChecker"` }
type PreStopSleepInterceptor ¶
type PreStopSleepInterceptor struct { Enabled TriState `yaml:"enabled"` Options prestopsleep.Options `yaml:"options"` }
type Service ¶
type Settings ¶
type Settings struct { Defaults Service `yaml:"defaults"` Services Services `yaml:"services"` Contexts Contexts `yaml:"contexts"` // contains filtered or unexported fields }
func ReadFromFile ¶
func (*Settings) CurrentContext ¶
func (*Settings) GuessService ¶
Click to show internal directories.
Click to hide internal directories.