Documentation ¶
Overview ¶
Package admin implements the northbound administrative gRPC service for the configuration subsystem.
Index ¶
- type Server
- func (s Server) CompactChanges(ctx context.Context, request *admin.CompactChangesRequest) (*admin.CompactChangesResponse, error)
- func (s Server) ListRegisteredModels(req *admin.ListModelsRequest, ...) error
- func (s Server) ListSnapshots(r *admin.ListSnapshotsRequest, ...) error
- func (s Server) RollbackNetworkChange(ctx context.Context, req *admin.RollbackRequest) (*admin.RollbackResponse, error)
- func (s Server) UploadRegisterModel(stream admin.ConfigAdminService_UploadRegisterModelServer) error
- type Service
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 ¶
func (s Server) ListRegisteredModels(req *admin.ListModelsRequest, stream admin.ConfigAdminService_ListRegisteredModelsServer) error
ListRegisteredModels lists the registered models..
func (Server) ListSnapshots ¶
func (s Server) ListSnapshots(r *admin.ListSnapshotsRequest, stream admin.ConfigAdminService_ListSnapshotsServer) error
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.
Click to show internal directories.
Click to hide internal directories.