operator: kubedb.dev/operator/pkg/server Index | Files

package server

import "kubedb.dev/operator/pkg/server"


Package Files



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

type CompletedConfig Uses

type CompletedConfig struct {
    // contains filtered or unexported fields

func (CompletedConfig) New Uses

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

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

type ExtraConfig Uses

type ExtraConfig struct {
    AdmissionHooks []hooks.AdmissionHook

type KubeDBServer Uses

type KubeDBServer struct {
    GenericAPIServer *genericapiserver.GenericAPIServer
    Operator         *controller.Controller

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

func (*KubeDBServer) Run Uses

func (op *KubeDBServer) Run(stopCh <-chan struct{}) error

type KubeDBServerConfig Uses

type KubeDBServerConfig struct {
    GenericConfig  *genericapiserver.RecommendedConfig
    ExtraConfig    ExtraConfig
    OperatorConfig *controller.OperatorConfig

func (*KubeDBServerConfig) Complete Uses

func (c *KubeDBServerConfig) Complete() CompletedConfig

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

Package server imports 30 packages (graph) and is imported by 2 packages. Updated 2019-07-28. Refresh now. Tools for package owners.