admin

package
v0.10.23 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 13 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 {
	// contains filtered or unexported fields
}

Server implements the gRPC service for administrative facilities.

func (Server) GetConfiguration added in v0.10.12

GetConfiguration returns response with the requested configuration

func (Server) GetTransaction added in v0.10.12

GetTransaction returns response with the requested transaction

func (Server) ListConfigurations added in v0.10.12

ListConfigurations provides stream listing all configurations

func (Server) ListRegisteredModels

ListRegisteredModels lists the registered models..

func (Server) ListTransactions added in v0.10.12

ListTransactions provides stream listing all transactions

func (Server) RollbackTransaction added in v0.10.13

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

RollbackTransaction rolls back configuration change transaction with the specified index.

func (Server) WatchConfigurations added in v0.10.12

WatchConfigurations provides stream with events representing configuration changes

func (Server) WatchTransactions added in v0.10.12

WatchTransactions provides stream with events representing transactions changes

type Service

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

Service is a Service implementation for administration.

func NewService added in v0.10.8

func NewService(transactionsStore transaction.Store, configurationsStore configuration.Store, pluginRegistry pluginregistry.PluginRegistry) Service

NewService allocates a Service struct with the given parameters

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