rest

package
v0.0.0-...-8b13cda Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableTLS                  bool
	RestServerPort             int
	RestServerTLSPort          int
	GRPCServerPort             int
	HostToTraceSecretName      string
	HostToTraceSecretNamespace string
	HostToTraceSecretOwnerName string
	TLSServerCertFilePath      string
	TLSServerKeyFilePath       string
	RootCertFilePath           string
}

type Server

type Server struct {
	manager.Getter
	// contains filtered or unexported fields
}

func CreateRESTServer

func CreateRESTServer(config *Config, getter manager.Getter) (*Server, error)

func (*Server) Start

func (s *Server) Start(errChan chan struct{})

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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