Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ParameterCodec runtime.ParameterCodec }
ExtraConfig holds custom apiserver config
type StorageProvider ¶
type StorageProvider func(s *runtime.Scheme, g genericregistry.RESTOptionsGetter) (rest.Storage, error)
type TiltServer ¶
type TiltServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
TiltServer contains state for a Kubernetes cluster master/api server.
Click to show internal directories.
Click to hide internal directories.