solvers

package
v1.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: EPL-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicSolver

type BasicSolver struct{}

func (*BasicSolver) GetExposedEndpoints

func (s *BasicSolver) GetExposedEndpoints(
	endpoints map[string]v1alpha1.EndpointList,
	routingObj RoutingObjects) (exposedEndpoints map[string]v1alpha1.ExposedEndpointList, ready bool, err error)

func (*BasicSolver) GetSpecObjects

func (s *BasicSolver) GetSpecObjects(spec v1alpha1.WorkspaceRoutingSpec, workspaceMeta WorkspaceMetadata) RoutingObjects

type ClusterSolver

type ClusterSolver struct {
	TLS bool
}

func (*ClusterSolver) GetExposedEndpoints

func (s *ClusterSolver) GetExposedEndpoints(
	endpoints map[string]v1alpha1.EndpointList,
	routingObj RoutingObjects) (exposedEndpoints map[string]v1alpha1.ExposedEndpointList, ready bool, err error)

func (*ClusterSolver) GetSpecObjects

func (s *ClusterSolver) GetSpecObjects(spec v1alpha1.WorkspaceRoutingSpec, workspaceMeta WorkspaceMetadata) RoutingObjects

type OpenShiftOAuthSolver

type OpenShiftOAuthSolver struct{}

func (*OpenShiftOAuthSolver) GetExposedEndpoints

func (s *OpenShiftOAuthSolver) GetExposedEndpoints(
	endpoints map[string]v1alpha1.EndpointList,
	routingObj RoutingObjects) (exposedEndpoints map[string]v1alpha1.ExposedEndpointList, ready bool, err error)

func (*OpenShiftOAuthSolver) GetSpecObjects

type RoutingObjects

type RoutingObjects struct {
	Services     []v1.Service
	Ingresses    []v1beta1.Ingress
	Routes       []routeV1.Route
	PodAdditions *v1alpha1.PodAdditions
	OAuthClient  *oauthv1.OAuthClient
}

type RoutingSolver

type RoutingSolver interface {
	GetSpecObjects(spec v1alpha1.WorkspaceRoutingSpec, workspaceMeta WorkspaceMetadata) RoutingObjects
	GetExposedEndpoints(endpoints map[string]v1alpha1.EndpointList, routingObj RoutingObjects) (exposedEndpoints map[string]v1alpha1.ExposedEndpointList, ready bool, err error)
}

type WorkspaceMetadata

type WorkspaceMetadata struct {
	WorkspaceId   string
	Namespace     string
	PodSelector   map[string]string
	RoutingSuffix string
}

Jump to

Keyboard shortcuts

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