admin

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 15 Imported by: 2

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. Deprecated: models should only be loaded at startup

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