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 ¶
- Version
- v0.5.0 (latest)
- Published
- Jan 28, 2022
- Platform
- linux/amd64
- Imports
- 20 packages
- Last checked
- 5 hours ago –
Tools for package owners.