services

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 4 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 CheckConstraint added in v1.41.0

func CheckConstraint(constraint string) (bool, error)

Check constraint of supported API version. Versioning must follow https://semver.org/.

func RegisterSansShellService

func RegisterSansShellService(s SansShellRPCService)

RegisterSansShellService provides a mechanism for imported modules to register themselves with a gRPC server.

func SetAPIVersion added in v1.41.0

func SetAPIVersion(version string) error

SetAPIVersion sets currently supported API version. Versioning must follow https://semver.org/.

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.
dns
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
Package exec defines the RPC interface for the sansshell Exec actions.
Package exec defines the RPC interface for the sansshell Exec actions.
fdb
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.
Package httpoverrpc defines the RPC interface for the sansshell HTTP actions.
Package httpoverrpc defines the RPC interface for the sansshell HTTP actions.
Package localfile defines the RPC interface for the sansshell LocalFile actions.
Package localfile defines the RPC interface for the sansshell LocalFile actions.
mpa
Package mpa defines the RPC interface for the sansshell MPA actions.
Package mpa defines the RPC interface for the sansshell MPA actions.
Package healthcheck defines the RPC interface for the sansshell Network actions.
Package healthcheck defines the RPC interface for the sansshell Network actions.
Package packages defines the RPC interface for the sansshell Packages actions.
Package packages defines the RPC interface for the sansshell Packages actions.
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
Package process defines the RPC interface for the sansshell Process actions.
Package process defines the RPC interface for the sansshell Process actions.
raw
Package sansshell defines the RPC interface for internal Sansshell operations.
Package sansshell defines the RPC interface for internal Sansshell operations.
Package service defines the RPC interface for the sansshell Service actions.
Package service defines the RPC interface for the sansshell Service actions.
Package sysinfo defines the RPC interface for the sansshell SysInfo actions.
Package sysinfo defines the RPC interface for the sansshell SysInfo actions.
package tlsinfo defines the RPC interface for the sansshell TLSInfo actions
package tlsinfo defines the RPC interface for the sansshell TLSInfo actions
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