Documentation ¶
Index ¶
- type Config
- type Instance
- func (a *Instance) CheckConfiguredForService(target *Instance) error
- func (a *Instance) Close() (err error)
- func (a *Instance) FindFirstPortForProtocol(protocol model.Protocol) (*MappedPort, error)
- func (a *Instance) GetAdminPort() int
- func (a *Instance) GetConfig() model.Config
- func (a *Instance) GetNodeID() string
- func (a *Instance) GetPorts() []*MappedPort
- type MappedPort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance manages the application and the sidecar proxy.
func (*Instance) CheckConfiguredForService ¶
CheckConfiguredForService implements the agent.Instance interface.
func (*Instance) FindFirstPortForProtocol ¶
func (a *Instance) FindFirstPortForProtocol(protocol model.Protocol) (*MappedPort, error)
FindFirstPortForProtocol is a utility method to simplify lookup of a port for a given protocol.
func (*Instance) GetAdminPort ¶
GetAdminPort implements the agent.Instance interface.
func (*Instance) GetNodeID ¶
GetNodeID returns the envoy metadata ResourceID for pilot's service discovery.
func (*Instance) GetPorts ¶
func (a *Instance) GetPorts() []*MappedPort
GetPorts implements the agent.Instance interface.
Click to show internal directories.
Click to hide internal directories.