ingress

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEndpointFromKubeObjects

func GetEndpointFromKubeObjects(c client.Client, obj types.NamespacedName) (endpoint.Endpoint, error)

GetEndpointFromKubeObjects check if the required Ingress is created and healthy. It populates the fields for the Endpoint needed for transfer and transport objects.

func NewEndpoint

func NewEndpoint(namespacedName types.NamespacedName, labels map[string]string, subdomain string) endpoint.Endpoint

Types

type IngressEndpoint

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

func (*IngressEndpoint) Create

func (i *IngressEndpoint) Create(c client.Client) error

func (*IngressEndpoint) ExposedPort

func (i *IngressEndpoint) ExposedPort() int32

func (*IngressEndpoint) Hostname

func (i *IngressEndpoint) Hostname() string

func (*IngressEndpoint) IsHealthy

func (i *IngressEndpoint) IsHealthy(c client.Client) (bool, error)

func (*IngressEndpoint) Labels

func (i *IngressEndpoint) Labels() map[string]string

func (*IngressEndpoint) NamespacedName

func (i *IngressEndpoint) NamespacedName() types.NamespacedName

func (*IngressEndpoint) Port

func (i *IngressEndpoint) Port() int32

Jump to

Keyboard shortcuts

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