Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
APIServer is the web server exposing the API of an agent.
func NewAPIServer ¶
func NewAPIServer(config *APIServerConfig) *APIServer
NewAPIServer returns a pointer to a APIServer.
type APIServerConfig ¶
type APIServerConfig struct {
Addr string
Port string
SystemService agent.SystemService
ClusterService agent.ClusterService
SignatureService agent.DigitalSignatureService
EdgeManager *edge.Manager
KubeClient *kubernetes.KubeClient
KubernetesDeployer *exec.KubernetesDeployer
RuntimeConfiguration *agent.RuntimeConfig
AgentOptions *agent.Options
ContainerPlatform agent.ContainerPlatform
}
APIServerConfig represents a server configuration used to create a new API server
Click to show internal directories.
Click to hide internal directories.