Documentation ¶
Overview ¶
Package system and sub packages add optional features to a controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FactoryFunc ¶
type RawConfig ¶
type RawConfig struct { Config Raw json.RawMessage `json:"-"` }
func (RawConfig) MarshalJSON ¶
func (*RawConfig) UnmarshalJSON ¶
type Services ¶
type Services struct { ConfigDirs []string DataDir string Logger *zap.Logger GRPCEndpoint string // host:port of this controllers grpc api Node *node.Node // for advertising devices CohortManager node.Remote Database *bolthold.Store HTTPMux *http.ServeMux // to allow systems to serve http requests TokenValidators *token.ValidatorSet // to allow systems to contribute towards client validation // GRPCCerts allows a system to contribute a pki.Source that might be used for outbound or inbound gRPC connections. // These certs will be used only if no other certificate mechanism is in effect, for example if the controller is // enrolled in a cohort then the cohort certificates will be used, // if the controller has been configured to read certificates from a file then they will be used. // These certificates get used in preference to self signed certificates only. GRPCCerts *pki.SourceSet PrivateKey pki.PrivateKey // the key managed by the controller ClientTLSConfig *tls.Config // for connecting to other smartcore nodes }
Directories ¶
Path | Synopsis |
---|---|
Package authn provides token based authentication for gRPC requests.
|
Package authn provides token based authentication for gRPC requests. |
Package history provides an implementation of HistoryAdminApi backed by a history.Store.
|
Package history provides an implementation of HistoryAdminApi backed by a history.Store. |
Package hub manages the enrollment process for a cohort of nodes.
|
Package hub manages the enrollment process for a cohort of nodes. |
Click to show internal directories.
Click to hide internal directories.