agent

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package agent GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

View Source
var HEADER_KUBEPKG_AGENT = "X-Kubepkg-Server"

Functions

func ToKubeAgentHead

func ToKubeAgentHead(ai *AgentInfo) string

Types

type AgentInfo

type AgentInfo struct {
	AgentID            string
	Version            string
	SupportedPlatforms []string
}

func FromKubeAgentHead

func FromKubeAgentHead(h string) (*AgentInfo, error)

func (AgentInfo) RuntimeDoc

func (v AgentInfo) RuntimeDoc(names ...string) ([]string, bool)

type Server

type Server struct {
	Storage        containerregistry.Storage
	RemoteRegistry containerregistry.RemoteRegistry

	Public serverinfo.Public

	infrahttp.Server
	// contains filtered or unexported fields
}

func (*Server) Init

func (s *Server) Init(ctx context.Context) error

func (*Server) InjectContext

func (s *Server) InjectContext(ctx context.Context) context.Context

func (Server) RuntimeDoc

func (v Server) RuntimeDoc(names ...string) ([]string, bool)

func (*Server) SetDefaults

func (s *Server) SetDefaults()

Directories

Path Synopsis
auth
+gengo:operator:register=R +gengo:operator:tag=auth
+gengo:operator:register=R +gengo:operator:tag=auth
auth/operator
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
cluster
+gengo:operator:register=R +gengo:operator:tag=cluster
+gengo:operator:register=R +gengo:operator:tag=cluster
kubepkg
+gengo:operator:register=R +gengo:operator:tag=kubepkg
+gengo:operator:register=R +gengo:operator:tag=kubepkg
registry
+gengo:operator:register=R +gengo:operator:tag=registry
+gengo:operator:register=R +gengo:operator:tag=registry
client
agent
Package agent GENERATED BY gengo:client DON'T EDIT THIS FILE
Package agent GENERATED BY gengo:client DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL