api

package
v0.0.0-...-81da00b Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsConfig

type MetricsConfig *struct {
	MetricsPort *float32 `json:"metricsPort,omitempty"`
}

type Server

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

func NewServer

func NewServer(baseLogger *zap.Logger, pathPrefix string, production bool) (*Server, error)

func (*Server) GetOpenapiJson

func (s *Server) GetOpenapiJson(ctx echo.Context) error

func (*Server) PostClustersAdd

func (s *Server) PostClustersAdd(ctx echo.Context) error

func (*Server) PostCollectInformation

func (s *Server) PostCollectInformation(ctx echo.Context) error

func (*Server) PostSgwAdd

func (s *Server) PostSgwAdd(ctx echo.Context) error

func (*Server) Serve

func (s *Server) Serve(host string, port int)

Directories

Path Synopsis
Package v1 provides primitives to interact with the openapi HTTP API.
Package v1 provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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