Documentation ¶
Overview ¶
Package roles :
Index ¶
- type Server
- func (s *Server) Get(req *admin.DeviceRoleRequest, stream admin.DeviceRoleService_GetServer) error
- func (s *Server) Set(ctx context.Context, r *admin.DeviceRoleChangeRequest) (*admin.DeviceRoleChangeResponse, error)
- func (s *Server) Subscribe(req *admin.DeviceRoleRequest, stream admin.DeviceRoleService_SubscribeServer) error
- type Service
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 zero-touch provisioning facilities.
func (*Server) Get ¶
func (s *Server) Get(req *admin.DeviceRoleRequest, stream admin.DeviceRoleService_GetServer) error
Get provides means to query device role configuration.
func (*Server) Set ¶
func (s *Server) Set(ctx context.Context, r *admin.DeviceRoleChangeRequest) (*admin.DeviceRoleChangeResponse, error)
Set provides means to add, update or delete device role configuration.
func (*Server) Subscribe ¶
func (s *Server) Subscribe(req *admin.DeviceRoleRequest, stream admin.DeviceRoleService_SubscribeServer) error
Subscribe provides means to monitor changes in the device role configuration.
Click to show internal directories.
Click to hide internal directories.