package apiserver

import "github.com/docker/compose-on-kubernetes/internal/apiserver"

Index

Variables

var (
	Scheme = runtime.NewScheme()
	Codecs = serializer.NewCodecFactory(Scheme)
)

Internal variables

Types

type CompletedConfig

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

CompletedConfig is the complete API server config

func (CompletedConfig) New

func (c CompletedConfig) New(kubeconfig string) (*ComposeServer, error)

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

type ComposeServer

type ComposeServer struct {
	*genericapiserver.GenericAPIServer
}

ComposeServer is the compose api server

type Config

type Config struct {
	GenericConfig *genericapiserver.RecommendedConfig
}

Config is the API server config

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.

Source Files

apiserver.go

Version
v0.4.25-alpha1
Published
Oct 30, 2019
Platform
js/wasm
Imports
20 packages
Last checked
6 minutes ago

Tools for package owners.