results

package
v0.0.0-...-44f915f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointKey

type EndpointKey struct {
	IstioExternalServiceName types.NamespacedName
	ServiceName              string
	Endpoint                 istioexternalapiv1.IstioExternalServiceEndpoint
}

func (EndpointKey) String

func (key EndpointKey) String() string

func (EndpointKey) ToHostPortEndpointKey

func (key EndpointKey) ToHostPortEndpointKey() HostPortEndpointKey

type HostPortEndpointKey

type HostPortEndpointKey struct {
	IstioExternalServiceName types.NamespacedName
	ServiceName              string
	Host                     string
	Port                     int32
}

func (HostPortEndpointKey) String

func (key HostPortEndpointKey) String() string

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *Manager

func (*Manager) Delete

func (m *Manager) Delete(key EndpointKey)

func (*Manager) Get

func (m *Manager) Get(key EndpointKey) Result

func (*Manager) Set

func (m *Manager) Set(key EndpointKey, rs Result)

func (*Manager) Updates

func (m *Manager) Updates() <-chan Update

type Result

type Result int
const (
	Unknown Result = iota - 1
	Success
	Failure
)

func (Result) String

func (r Result) String() string

type Update

type Update struct {
	EndpointKey
	Result
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL