node

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

Node implements the complete TRISA Self Hosted Node including the TRISA gRPC server, the TRP API server, the web compliance and admin user interface, and the internal API server, along with kubernetes probes and metrics if required.

func New

func New(conf config.Config) (node *Node, err error)

Create a new TRISA node from the global configuration, ready to serve.

func (*Node) Serve

func (s *Node) Serve() (err error)

Serve all enabled services based on configuration and block until shutdown or until an OS signal or error causes the server to shutdown.

func (*Node) Shutdown

func (s *Node) Shutdown() (err error)

Jump to

Keyboard shortcuts

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