apiserver

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package apiserver provides the Kubernetes API server.

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
}

func NewAPIServer

func NewAPIServer(addr string, s store.Store) *APIServer

func NewAPIServerWithCRI added in v0.12.0

func NewAPIServerWithCRI(addr string, s store.Store, criSocket string) *APIServer

NewAPIServerWithCRI builds an apiserver that can serve real pod logs by talking to the CRI runtime at criSocket. If the socket is empty or unreachable, log requests return an honest error instead of fake data.

func (*APIServer) Shutdown

func (a *APIServer) Shutdown(ctx context.Context) error

func (*APIServer) Start

func (a *APIServer) Start() error

Jump to

Keyboard shortcuts

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