Documentation ¶
Overview ¶
Package rotor defines interfaces shared by the various rotor plugins
Index ¶
- type MockUpdaterFromFlags
- func (m *MockUpdaterFromFlags) EXPECT() *MockUpdaterFromFlagsMockRecorder
- func (m *MockUpdaterFromFlags) Make() (updater.Updater, error)
- func (m *MockUpdaterFromFlags) MakeXDS() (adapter.XDS, error)
- func (m *MockUpdaterFromFlags) Validate() error
- func (m *MockUpdaterFromFlags) ValidateXDSOnly() error
- type MockUpdaterFromFlagsMockRecorder
- type UpdaterFromFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUpdaterFromFlags ¶
type MockUpdaterFromFlags struct {
// contains filtered or unexported fields
}
MockUpdaterFromFlags is a mock of UpdaterFromFlags interface
func NewMockUpdaterFromFlags ¶
func NewMockUpdaterFromFlags(ctrl *gomock.Controller) *MockUpdaterFromFlags
NewMockUpdaterFromFlags creates a new mock instance
func (*MockUpdaterFromFlags) EXPECT ¶
func (m *MockUpdaterFromFlags) EXPECT() *MockUpdaterFromFlagsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpdaterFromFlags) Make ¶
func (m *MockUpdaterFromFlags) Make() (updater.Updater, error)
Make mocks base method
func (*MockUpdaterFromFlags) MakeXDS ¶
func (m *MockUpdaterFromFlags) MakeXDS() (adapter.XDS, error)
MakeXDS mocks base method
func (*MockUpdaterFromFlags) Validate ¶
func (m *MockUpdaterFromFlags) Validate() error
Validate mocks base method
func (*MockUpdaterFromFlags) ValidateXDSOnly ¶
func (m *MockUpdaterFromFlags) ValidateXDSOnly() error
ValidateXDSOnly mocks base method
type MockUpdaterFromFlagsMockRecorder ¶
type MockUpdaterFromFlagsMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterFromFlagsMockRecorder is the mock recorder for MockUpdaterFromFlags
func (*MockUpdaterFromFlagsMockRecorder) Make ¶
func (mr *MockUpdaterFromFlagsMockRecorder) Make() *gomock.Call
Make indicates an expected call of Make
func (*MockUpdaterFromFlagsMockRecorder) MakeXDS ¶
func (mr *MockUpdaterFromFlagsMockRecorder) MakeXDS() *gomock.Call
MakeXDS indicates an expected call of MakeXDS
func (*MockUpdaterFromFlagsMockRecorder) Validate ¶
func (mr *MockUpdaterFromFlagsMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate
func (*MockUpdaterFromFlagsMockRecorder) ValidateXDSOnly ¶
func (mr *MockUpdaterFromFlagsMockRecorder) ValidateXDSOnly() *gomock.Call
ValidateXDSOnly indicates an expected call of ValidateXDSOnly
type UpdaterFromFlags ¶
type UpdaterFromFlags interface { Validate() error ValidateXDSOnly() error Make() (updater.Updater, error) MakeXDS() (adapter.XDS, error) }
UpdaterFromFlags produces a fully-configured updater.Updater. It differs from updater.FromFlags in that it will also configure the API and potentially an xDS server.
func NewUpdaterFromFlags ¶
func NewUpdaterFromFlags(flagset tbnflag.FlagSet) UpdaterFromFlags
NewUpdaterFromFlags installs an UpdaterFromFlags into the given FlagSet
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package constants contains constants shared across plugin packages.
|
Package constants contains constants shared across plugin packages. |
Package differ implements a mechanism for synchronization of the local service discovery regime to the Turbine Labs public API.
|
Package differ implements a mechanism for synchronization of the local service discovery regime to the Turbine Labs public API. |
main
|
|
plugins
|
|
aws
Package aws provides integrations with Amazon EC2 and ECS.
|
Package aws provides integrations with Amazon EC2 and ECS. |
consul
Package consul provides an integration with Consul.
|
Package consul provides an integration with Consul. |
envoy/v1
Package v1 provides a means for providing service discovery information via an envoy CDS server or a static envoy configuration file.
|
Package v1 provides a means for providing service discovery information via an envoy CDS server or a static envoy configuration file. |
envoy/v2
Package v2 provides a command.Cmd for providing service discovery information via an envoy v2 CDS/EDS server.
|
Package v2 provides a command.Cmd for providing service discovery information via an envoy v2 CDS/EDS server. |
file
Package file provides a means for providing service discovery information via a YAML or JSON file.
|
Package file provides a means for providing service discovery information via a YAML or JSON file. |
kubernetes
Package kubernetes provides an integration with Kubernetes.
|
Package kubernetes provides an integration with Kubernetes. |
kubernetes/labels
Package labels is a shameless veneer on top of k8s.io/apimachinery/pkg/labels to hide the dependency so it can be safely vendored.
|
Package labels is a shameless veneer on top of k8s.io/apimachinery/pkg/labels to hide the dependency so it can be safely vendored. |
marathon
Package marathon provides an integration with Marathon.
|
Package marathon provides an integration with Marathon. |
Package updater provides implements the application of a complete set of or observed changes to cluster data to the Turbine API with a minimum delay between updates.
|
Package updater provides implements the application of a complete set of or observed changes to cluster data to the Turbine API with a minimum delay between updates. |
xds
|
|
adapter
Package adapter provides adapters between Turbine Labs API objects and envoy xDS objects, in the form of an xDS server and ClusterCollector implementations
|
Package adapter provides adapters between Turbine Labs API objects and envoy xDS objects, in the form of an xDS server and ClusterCollector implementations |
collector
Package collector includes common types for the v1 and v2 CDS/EDS collectors
|
Package collector includes common types for the v1 and v2 CDS/EDS collectors |
collector/v1
Package v1 contains v1 implementations of collector interfaces
|
Package v1 contains v1 implementations of collector interfaces |
poller
Package poller provides a interfaces for polling and consuming proxy configuration objects from the Turbine Labs API
|
Package poller provides a interfaces for polling and consuming proxy configuration objects from the Turbine Labs API |