Directories ¶
Path | Synopsis |
---|---|
auth
|
|
mtls
Package mtls facilitates Mutual TLS authentication for SansShell.
|
Package mtls facilitates Mutual TLS authentication for SansShell. |
mtls/flags
Package flags provides flag support for loading client/server certs and CA root of trust.
|
Package flags provides flag support for loading client/server certs and CA root of trust. |
opa
Package opa contains code for performing authorization checks using opa/rego.
|
Package opa contains code for performing authorization checks using opa/rego. |
opa/rpcauth
Package rpcauth provides OPA policy authorization for Sansshell RPCs.
|
Package rpcauth provides OPA policy authorization for Sansshell RPCs. |
Package client provides utility functions for gluing new commands easily into sanssh.
|
Package client provides utility functions for gluing new commands easily into sanssh. |
cmd
|
|
proxy-server/server
Package server provides functionality so that other uses of sansshell can provide their own main.go without having to cargo-cult everything across for common use cases.
|
Package server provides functionality so that other uses of sansshell can provide their own main.go without having to cargo-cult everything across for common use cases. |
sanssh
Package main implements the SansShell CLI client.
|
Package main implements the SansShell CLI client. |
sanssh/client
Package client provides functionality so that other uses of sansshell can provide their own main.go without having to cargo-cult everything across for common use cases.
|
Package client provides functionality so that other uses of sansshell can provide their own main.go without having to cargo-cult everything across for common use cases. |
sansshell-server
Package main implements the SansShell server.
|
Package main implements the SansShell server. |
sansshell-server/server
Package server provides functionality so that other uses of sansshell can provide their own main.go without having to cargo-cult everything across for common use cases.
|
Package server provides functionality so that other uses of sansshell can provide their own main.go without having to cargo-cult everything across for common use cases. |
util
Package util provides functions used across command line binaries for setup/exection.
|
Package util provides functions used across command line binaries for setup/exection. |
Package proxy provides the client side API for working with a proxy server.
|
Package proxy provides the client side API for working with a proxy server. |
server
Package server provides the server-side implementation of the sansshell proxy server.
|
Package server provides the server-side implementation of the sansshell proxy server. |
testutil
Package testutil contains helpers and utilities for writing unittests against the sansshell proxy.
|
Package testutil contains helpers and utilities for writing unittests against the sansshell proxy. |
Package server provides helpers for building and running a sansshell server.
|
Package server provides helpers for building and running a sansshell server. |
Package services provides functions to register and list all the services contained in a sansshell gRPC server.
|
Package services provides functions to register and list all the services contained in a sansshell gRPC server. |
ansible
Package ansible defines the RPC interface for the sansshell Ansible actions.
|
Package ansible defines the RPC interface for the sansshell Ansible actions. |
ansible/client
Package client provides the client interface for 'ansible'
|
Package client provides the client interface for 'ansible' |
ansible/server
Package server implements the sansshell 'Ansible' service.
|
Package server implements the sansshell 'Ansible' service. |
dns
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
dns/client
Package client provides the client interface for 'dns'
|
Package client provides the client interface for 'dns' |
dns/server
Package server implements the sansshell 'Logging' service.
|
Package server implements the sansshell 'Logging' service. |
exec
Package exec defines the RPC interface for the sansshell Exec actions.
|
Package exec defines the RPC interface for the sansshell Exec actions. |
exec/client
Package client provides the client interface for 'exec'
|
Package client provides the client interface for 'exec' |
exec/server
Package server implements the sansshell 'Exec' service.
|
Package server implements the sansshell 'Exec' service. |
fdb
Package fdb defines the RPC interface for the sansshell FDB actions.
|
Package fdb defines the RPC interface for the sansshell FDB actions. |
healthcheck
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
healthcheck/client
Package client provides the client interface for 'healthcheck'
|
Package client provides the client interface for 'healthcheck' |
healthcheck/server
Package server implements the sansshell 'HealthCheck' service.
|
Package server implements the sansshell 'HealthCheck' service. |
httpoverrpc
Package httpoverrpc defines the RPC interface for the sansshell HTTP actions.
|
Package httpoverrpc defines the RPC interface for the sansshell HTTP actions. |
httpoverrpc/client
Package client provides the client interface for 'httpoverrpc'
|
Package client provides the client interface for 'httpoverrpc' |
httpoverrpc/server
Package server implements the sansshell 'httpoverrpc' service.
|
Package server implements the sansshell 'httpoverrpc' service. |
localfile
Package localfile defines the RPC interface for the sansshell LocalFile actions.
|
Package localfile defines the RPC interface for the sansshell LocalFile actions. |
localfile/client
Package client provides the client interface for 'file'
|
Package client provides the client interface for 'file' |
localfile/server
Package server implements the sansshell 'LocalFile' service.
|
Package server implements the sansshell 'LocalFile' service. |
packages
Package packages defines the RPC interface for the sansshell Packages actions.
|
Package packages defines the RPC interface for the sansshell Packages actions. |
packages/client
Package client provides the client interface for 'packages'
|
Package client provides the client interface for 'packages' |
packages/server
Package server implements the sansshell 'Packages' service.
|
Package server implements the sansshell 'Packages' service. |
power
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
power/client
Package client provides the client interface for 'power'
|
Package client provides the client interface for 'power' |
power/server
Package server implements the sansshell 'Power' service.
|
Package server implements the sansshell 'Power' service. |
process
Package process defines the RPC interface for the sansshell Process actions.
|
Package process defines the RPC interface for the sansshell Process actions. |
process/client
Package client provides the client interface for 'process'
|
Package client provides the client interface for 'process' |
process/server
Package server implements the sansshell 'Process' service.
|
Package server implements the sansshell 'Process' service. |
sansshell
Package sansshell defines the RPC interface for internal Sansshell operations.
|
Package sansshell defines the RPC interface for internal Sansshell operations. |
sansshell/client
Package client provides the client interface for 'Logging'
|
Package client provides the client interface for 'Logging' |
sansshell/server
Package server implements the sansshell 'Logging' service.
|
Package server implements the sansshell 'Logging' service. |
service
Package service defines the RPC interface for the sansshell Service actions.
|
Package service defines the RPC interface for the sansshell Service actions. |
service/client
Package client provides the client interface for 'service'
|
Package client provides the client interface for 'service' |
service/server
Package server implements the sansshell 'Service' service.
|
Package server implements the sansshell 'Service' service. |
sysinfo
Package sysinfo defines the RPC interface for the sansshell SysInfo actions.
|
Package sysinfo defines the RPC interface for the sansshell SysInfo actions. |
sysinfo/client
Package client provides the client interface for 'sysinfo'
|
Package client provides the client interface for 'sysinfo' |
sysinfo/server
Package server implements the sansshell 'SysInfo' service.
|
Package server implements the sansshell 'SysInfo' service. |
tlsinfo
package tlsinfo defines the RPC interface for the sansshell TLSInfo actions
|
package tlsinfo defines the RPC interface for the sansshell TLSInfo actions |
tlsinfo/client
Package client provides the client interface for 'tlsinfo'
|
Package client provides the client interface for 'tlsinfo' |
tlsinfo/server
Package server implements the server interface for sansshell 'tlsinfo' service.
|
Package server implements the server interface for sansshell 'tlsinfo' service. |
util
Package util provides utility operations used in building sansshell system services.
|
Package util provides utility operations used in building sansshell system services. |
Package telemetry contains code for emitting telemetry from Sansshell processes.
|
Package telemetry contains code for emitting telemetry from Sansshell processes. |
metrics
Copyright (c) 2023 Snowflake Inc.
|
Copyright (c) 2023 Snowflake Inc. |
testing
|
|
testutil
Package testutil provides many test helpers/assertions used to simplify common testing patterns.
|
Package testutil provides many test helpers/assertions used to simplify common testing patterns. |
Click to show internal directories.
Click to hide internal directories.