northbound

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package northbound implements the northbound API of the device provisioner

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 grpc device provisioner service

func (*Server) Add added in v0.2.3

Add registers new pipeline configuration

func (*Server) Delete added in v0.2.3

Delete removes a pipeline configuration

func (*Server) Get added in v0.2.3

Get returns pipeline configuration based on a given ID

func (*Server) List added in v0.2.3

List returns all registered pipelines

type Service

type Service struct {
	northbound.Service
	// contains filtered or unexported fields
}

Service implements the device provisioner NB gRPC

func NewService

func NewService(controller *controller.Controller, configStore store.ConfigStore) Service

NewService allocates a Service struct with the given parameters

func (Service) Register

func (s Service) Register(r *grpc.Server)

Register registers the server with grpc

Jump to

Keyboard shortcuts

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