api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server implements the API server. The API server is used to serve the GRPC server.

func New

func New(cfg *config.Config) (*Server, error)

New return a new API server. For the we have to create a new gRPC server and register all services, like the clusters service and all services for the configured plugins.

func (*Server) Start

func (s *Server) Start()

Start starts serving the API server.

func (*Server) Stop

func (s *Server) Stop()

Stop terminates the API server gracefully.

Directories

Path Synopsis
application/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
application/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
application/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
application/clientset/versioned/typed/application/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
application/clientset/versioned/typed/application/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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