api

package
v0.0.0-...-820ca4b Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterLinkHandler

type InterLinkHandler struct {
	Config interlink.InterLinkConfig
	Ctx    context.Context
}

func (*InterLinkHandler) CreateHandler

func (h *InterLinkHandler) CreateHandler(w http.ResponseWriter, r *http.Request)

CreateHandler collects and rearranges all needed ConfigMaps/Secrets/EmptyDirs to ship them to the sidecar, then sends a response to the client

func (*InterLinkHandler) DeleteHandler

func (h *InterLinkHandler) DeleteHandler(w http.ResponseWriter, r *http.Request)

DeleteHandler deletes the cached status for the provided Pod and forwards the request to the sidecar

func (*InterLinkHandler) GetLogsHandler

func (h *InterLinkHandler) GetLogsHandler(w http.ResponseWriter, r *http.Request)

func (*InterLinkHandler) Ping

Ping is just a very basic Ping function

func (*InterLinkHandler) StatusHandler

func (h *InterLinkHandler) StatusHandler(w http.ResponseWriter, r *http.Request)

func (*InterLinkHandler) UpdateCacheHandler

func (h *InterLinkHandler) UpdateCacheHandler(w http.ResponseWriter, r *http.Request)

UpdateCacheHandler is responsible for deleting not-available-anymore Pods on the Virtual Kubelet from the InterLink caching structure

type MutexStatuses

type MutexStatuses struct {
	Statuses map[string]commonIL.PodStatus
	// contains filtered or unexported fields
}
var PodStatuses MutexStatuses

Jump to

Keyboard shortcuts

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