Documentation ¶
Index ¶
- type InterLinkHandler
- func (h *InterLinkHandler) CreateHandler(w http.ResponseWriter, r *http.Request)
- func (h *InterLinkHandler) DeleteHandler(w http.ResponseWriter, r *http.Request)
- func (h *InterLinkHandler) GetLogsHandler(w http.ResponseWriter, r *http.Request)
- func (h *InterLinkHandler) Ping(w http.ResponseWriter, r *http.Request)
- func (h *InterLinkHandler) StatusHandler(w http.ResponseWriter, r *http.Request)
- func (h *InterLinkHandler) UpdateCacheHandler(w http.ResponseWriter, r *http.Request)
- type MutexStatuses
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 ¶
func (h *InterLinkHandler) Ping(w http.ResponseWriter, r *http.Request)
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
Click to show internal directories.
Click to hide internal directories.