apiserver

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScheme added in v0.2.0

func NewScheme() *runtime.Scheme

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

CompletedConfig embeds a private pointer that cannot be instantiated outside of this package.

func (CompletedConfig) New

func (c CompletedConfig) New() (*TiltServer, error)

New returns a new instance of TiltServer from the given config.

type Config

type Config struct {
	GenericConfig *genericapiserver.RecommendedConfig
	ExtraConfig   ExtraConfig
}

Config defines the config for the apiserver

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type ConnProvider added in v0.2.0

type ConnProvider interface {
	Dial(network, address string) (net.Conn, error)
	DialContext(ctx context.Context, network, address string) (net.Conn, error)
	Listen(network, address string) (net.Listener, error)
}

func NetworkConnProvider added in v0.2.2

func NetworkConnProvider(p ConnProvider, network string) ConnProvider

Creates a ConnProvider where all connections are redirected over a particular network. Useful for use with memconn, which uses "memb" and "memu" as in-memory networks.

type ExtraConfig

type ExtraConfig struct {
	Scheme      *runtime.Scheme
	Codecs      serializer.CodecFactory
	APIs        map[schema.GroupVersionResource]StorageProvider
	ServingInfo *genericapiserver.SecureServingInfo
	Version     *version.Info
}

ExtraConfig holds custom apiserver config

type TiltServer

type TiltServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

TiltServer contains state for a Kubernetes cluster master/api server.

Jump to

Keyboard shortcuts

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