Documentation ¶
Overview ¶
Package agent GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
- Variables
- func ToKubeAgentHead(ai *AgentInfo) string
- type AgentInfo
- type Server
- func (s *Server) ApplyHandler(h handler.HandlerMiddleware)
- func (a *Server) Init(ctx context.Context) error
- func (a *Server) InjectContext(ctx context.Context) context.Context
- func (v Server) RuntimeDoc(names ...string) ([]string, bool)
- func (a *Server) Serve(ctx context.Context) error
- func (s *Server) SetDefaults()
- func (a *Server) Shutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var HEADER_KUBEPKG_AGENT = "X-Kubepkg-Server"
Functions ¶
func ToKubeAgentHead ¶
Types ¶
type AgentInfo ¶
func FromKubeAgentHead ¶
type Server ¶
type Server struct { Storage containerregistry.Storage // Server ID AgentID string `flag:",omitempty"` // Supported platforms Platforms []string `flag:"platform,omitempty"` // The address the server endpoint binds to AgentAddr string `flag:",omitempty,expose=http"` // contains filtered or unexported fields }
func (*Server) ApplyHandler ¶
func (s *Server) ApplyHandler(h handler.HandlerMiddleware)
func (*Server) SetDefaults ¶
func (s *Server) SetDefaults()
Directories ¶
Path | Synopsis |
---|---|
blob
+gengo:operator:register=R +gengo:operator:tag=blob
|
+gengo:operator:register=R +gengo:operator:tag=blob |
kubepkg
+gengo:operator:register=R +gengo:operator:tag=kubepkg
|
+gengo:operator:register=R +gengo:operator:tag=kubepkg |
client
|
|
agent
Package agent GENERATED BY gengo:client DON'T EDIT THIS FILE
|
Package agent GENERATED BY gengo:client DON'T EDIT THIS FILE |
Click to show internal directories.
Click to hide internal directories.