Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint interface { // NamespacedName returns a ns name to identify this endpoint NamespacedName() types.NamespacedName // Hostname returns a hostname for the endpoint Hostname() string // BackendPort returns a port which can be used by the application behind this endpoint BackendPort() int32 // IngressPort is a port which is used by the clients to connect to the endpoint IngressPort() int32 // IsHealthy returns whether or not all Kube resources used by endpoint are healthy IsHealthy(ctx context.Context, c client.Client) (bool, error) // MarkForCleanup adds a label to all the resources created for the endpoint // Callers are expected to not overwrite MarkForCleanup(ctx context.Context, c client.Client, key, value string) error }
Endpoint knows how to connect with a Transport or a Transfer
Click to show internal directories.
Click to hide internal directories.