package app
import "github.com/mesos/mesos-go/api/v1/cmd/example-scheduler/app"
Index ¶
- Constants
- Variables
- func Run(cfg Config) error
- type Config
- type IDStore
- type IDStoreAdapter
- type Labels
- type StateError
- type URL
Constants ¶
const AuthModeBasic = "basic"
Variables ¶
Functions ¶
func Run ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewConfig ¶
func NewConfig() Config
func (*Config) AddFlags ¶
type IDStore ¶
IDStore is a thread-safe abstraction to load and store a stringified ID.
func NewInMemoryIDStore ¶
func NewInMemoryIDStore() IDStore
type IDStoreAdapter ¶
func (IDStoreAdapter) Get ¶
func (a IDStoreAdapter) Get() string
func (IDStoreAdapter) Set ¶
func (a IDStoreAdapter) Set(s string)
type Labels ¶
type Labels []mesos.Label
func (*Labels) Set ¶
func (Labels) String ¶
type StateError ¶
type StateError string
StateError is returned when the system encounters an unresolvable state transition error and should likely exit.
func (StateError) Error ¶
func (err StateError) Error() string
type URL ¶
func (*URL) Set ¶
Source Files ¶
app.go config.go control.go env.go flags.go metrics.go server.go state.go store.go
Directories ¶
Path | Synopsis |
---|---|
api/v1/cmd/example-scheduler/app/metrics |
- Version
- v0.0.3
- Published
- Jun 19, 2017
- Platform
- js/wasm
- Imports
- 30 packages
- Last checked
- 50 minutes ago –
Tools for package owners.