services

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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

type SansShellRPCService interface {
	Register(*grpc.Server)
}

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 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 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 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 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 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.
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 util provides utility operations used in building sansshell system services.
Package util provides utility operations used in building sansshell system services.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL