endpoint

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TouchComponentEndpoint

func TouchComponentEndpoint(factory EndpointFactory, material EndpointMaterial) error

func TouchEndpoint

func TouchEndpoint(factory EndpointFactory, material EndpointMaterial) error

Types

type EndpointFactory

type EndpointFactory interface {
	TouchRoute(EndpointMaterial) error
	ClearRoute(EndpointMaterial) error
	TouchComponentRoute(EndpointMaterial) error
	ClearComponentRoute(EndpointMaterial) error
}

type EndpointMaterial

type EndpointMaterial struct {
	K8SNamespace          string
	ServiceName           string
	ServicePort           int
	Routes                []Route
	ServiceGroupNamespace string
	ServiceGroupName      string
	ProjectNamespace      string
	IngressName           string
	K8SRouteOptions       k8s.RouteOptions
}

type Route

type Route struct {
	Host string
	Path string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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