Documentation
¶
Index ¶
- type Spec
- func (s *Spec) GetDownwardData() ([]model.DownwardBackendServer, error)
- func (s *Spec) HasDownwardInterface() bool
- func (s *Spec) HasUpwardInterface() bool
- func (s *Spec) Initialize(globals *model.Globals) error
- func (s *Spec) Name() string
- func (s *Spec) PushUpwardData(data model.UpwardData) error
- func (s *Spec) RunNotificationLoop(notChan chan struct{}, quitChan chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct {
File string `yaml:"file"`
Type string `yaml:"type"`
DefaultWeight int `yaml:"defaultWeight"`
// contains filtered or unexported fields
}
Spec is the spec subpart of a service for the docker front proxy plugin
func (*Spec) GetDownwardData ¶
func (s *Spec) GetDownwardData() ([]model.DownwardBackendServer, error)
GetDownwardData ..
func (*Spec) HasDownwardInterface ¶
HasDownwardInterface is true, plugin checks for file updates
func (*Spec) HasUpwardInterface ¶
HasUpwardInterface is false, does not expose something
func (*Spec) Initialize ¶
Initialize the plugin
func (*Spec) PushUpwardData ¶
func (s *Spec) PushUpwardData(data model.UpwardData) error
func (*Spec) RunNotificationLoop ¶
RunNotificationLoop ...
Click to show internal directories.
Click to hide internal directories.