admin

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package admin implements the northbound administrative gRPC service for the configuration subsystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
}

Server implements the gRPC service for administrative facilities.

func (Server) CompactChanges

func (s Server) CompactChanges(ctx context.Context, request *admin.CompactChangesRequest) (*admin.CompactChangesResponse, error)

CompactChanges takes a snapshot of all devices

func (Server) ListRegisteredModels

ListRegisteredModels lists the registered models..

func (Server) ListSnapshots

ListSnapshots lists snapshots for all devices

func (Server) RollbackNetworkChange

func (s Server) RollbackNetworkChange(ctx context.Context, req *admin.RollbackRequest) (*admin.RollbackResponse, error)

RollbackNetworkChange rolls back a named atomix-based network change.

func (Server) UploadRegisterModel

func (s Server) UploadRegisterModel(stream admin.ConfigAdminService_UploadRegisterModelServer) error

UploadRegisterModel uploads and registers a new model plugin.

type Service

type Service struct {
	northbound.Service
}

Service is a Service implementation for administration.

func (Service) Register

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

Register registers the Service with the gRPC server.

Jump to

Keyboard shortcuts

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