Documentation ¶
Overview ¶
Package services provides functions to register and list all the services contained in a sansshell gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSansShellService ¶
func RegisterSansShellService(s SansShellRPCService)
RegisterSansShellService provides a mechanism for imported modules to register themselves with a gRPC server.
Types ¶
type SansShellRPCService ¶
SansShellRPCService provides an interface for services to implement to make them registerable in this package.
func ListServices ¶
func ListServices() []SansShellRPCService
ListServices returns the list of registered services.
Directories ¶
Path | Synopsis |
---|---|
Package ansible defines the RPC interface for the sansshell Ansible actions.
|
Package ansible defines the RPC interface for the sansshell Ansible actions. |
client
Package client provides the client interface for 'ansible'
|
Package client provides the client interface for 'ansible' |
server
Package server implements the sansshell 'Ansible' service.
|
Package server implements the sansshell 'Ansible' service. |
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
client
Package client provides the client interface for 'dns'
|
Package client provides the client interface for 'dns' |
server
Package server implements the sansshell 'Logging' service.
|
Package server implements the sansshell 'Logging' service. |
Package exec defines the RPC interface for the sansshell Exec actions.
|
Package exec defines the RPC interface for the sansshell Exec actions. |
client
Package client provides the client interface for 'exec'
|
Package client provides the client interface for 'exec' |
server
Package server implements the sansshell 'Exec' service.
|
Package server implements the sansshell 'Exec' service. |
Package fdb defines the RPC interface for the sansshell FDB actions.
|
Package fdb defines the RPC interface for the sansshell FDB actions. |
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
client
Package client provides the client interface for 'healthcheck'
|
Package client provides the client interface for 'healthcheck' |
server
Package server implements the sansshell 'HealthCheck' service.
|
Package server implements the sansshell 'HealthCheck' service. |
Package httpoverrpc defines the RPC interface for the sansshell HTTP actions.
|
Package httpoverrpc defines the RPC interface for the sansshell HTTP actions. |
client
Package client provides the client interface for 'httpoverrpc'
|
Package client provides the client interface for 'httpoverrpc' |
server
Package server implements the sansshell 'httpoverrpc' service.
|
Package server implements the sansshell 'httpoverrpc' service. |
Package localfile defines the RPC interface for the sansshell LocalFile actions.
|
Package localfile defines the RPC interface for the sansshell LocalFile actions. |
client
Package client provides the client interface for 'file'
|
Package client provides the client interface for 'file' |
server
Package server implements the sansshell 'LocalFile' service.
|
Package server implements the sansshell 'LocalFile' service. |
Package mpa defines the RPC interface for the sansshell MPA actions.
|
Package mpa defines the RPC interface for the sansshell MPA actions. |
client
Package client provides the client interface for 'mpa'
|
Package client provides the client interface for 'mpa' |
mpahooks
Package mpahooks provides grpc interceptors and other helpers for implementing MPA.
|
Package mpahooks provides grpc interceptors and other helpers for implementing MPA. |
server
Package server implements the sansshell 'Mpa' service.
|
Package server implements the sansshell 'Mpa' service. |
Package healthcheck defines the RPC interface for the sansshell Network actions.
|
Package healthcheck defines the RPC interface for the sansshell Network actions. |
client
Package client provides the client interface for 'network'
|
Package client provides the client interface for 'network' |
server
Package server implements the sansshell 'Network' service.
|
Package server implements the sansshell 'Network' service. |
Package packages defines the RPC interface for the sansshell Packages actions.
|
Package packages defines the RPC interface for the sansshell Packages actions. |
client
Package client provides the client interface for 'packages'
|
Package client provides the client interface for 'packages' |
server
Package server implements the sansshell 'Packages' service.
|
Package server implements the sansshell 'Packages' service. |
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
client
Package client provides the client interface for 'power'
|
Package client provides the client interface for 'power' |
server
Package server implements the sansshell 'Power' service.
|
Package server implements the sansshell 'Power' service. |
Package process defines the RPC interface for the sansshell Process actions.
|
Package process defines the RPC interface for the sansshell Process actions. |
client
Package client provides the client interface for 'process'
|
Package client provides the client interface for 'process' |
server
Package server implements the sansshell 'Process' service.
|
Package server implements the sansshell 'Process' service. |
raw
|
|
client
Package client provides subcommands that use proto reflection to call other services built into sansshell.
|
Package client provides subcommands that use proto reflection to call other services built into sansshell. |
Package sansshell defines the RPC interface for internal Sansshell operations.
|
Package sansshell defines the RPC interface for internal Sansshell operations. |
client
Package client provides the client interface for 'Logging'
|
Package client provides the client interface for 'Logging' |
server
Package server implements the sansshell 'Logging' service.
|
Package server implements the sansshell 'Logging' service. |
Package service defines the RPC interface for the sansshell Service actions.
|
Package service defines the RPC interface for the sansshell Service actions. |
client
Package client provides the client interface for 'service'
|
Package client provides the client interface for 'service' |
server
Package server implements the sansshell 'Service' service.
|
Package server implements the sansshell 'Service' service. |
Package sysinfo defines the RPC interface for the sansshell SysInfo actions.
|
Package sysinfo defines the RPC interface for the sansshell SysInfo actions. |
client
Package client provides the client interface for 'sysinfo'
|
Package client provides the client interface for 'sysinfo' |
server
Package server implements the sansshell 'SysInfo' service.
|
Package server implements the sansshell 'SysInfo' service. |
package tlsinfo defines the RPC interface for the sansshell TLSInfo actions
|
package tlsinfo defines the RPC interface for the sansshell TLSInfo actions |
client
Package client provides the client interface for 'tlsinfo'
|
Package client provides the client interface for 'tlsinfo' |
server
Package server implements the server interface for sansshell 'tlsinfo' service.
|
Package server implements the server interface for sansshell 'tlsinfo' service. |
Package util provides utility operations used in building sansshell system services.
|
Package util provides utility operations used in building sansshell system services. |
Click to show internal directories.
Click to hide internal directories.