Documentation ¶
Overview ¶
Copyright The KubeDB Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Scheme = runtime.NewScheme() Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
func (CompletedConfig) New ¶
func (c CompletedConfig) New() (*PerconaXtraDBServer, error)
New returns a new instance of PerconaXtraDBServer from the given config.
type ExtraConfig ¶
type ExtraConfig struct {
AdmissionHooks []hooks.AdmissionHook
}
type PerconaXtraDBServer ¶
type PerconaXtraDBServer struct { GenericAPIServer *genericapiserver.GenericAPIServer Operator *controller.Controller }
PerconaXtraDBServer contains state for a Kubernetes cluster master/api server.
func (*PerconaXtraDBServer) Run ¶
func (op *PerconaXtraDBServer) Run(stopCh <-chan struct{}) error
type PerconaXtraDBServerConfig ¶
type PerconaXtraDBServerConfig struct { GenericConfig *genericapiserver.RecommendedConfig ExtraConfig ExtraConfig OperatorConfig *controller.OperatorConfig }
func (*PerconaXtraDBServerConfig) Complete ¶
func (c *PerconaXtraDBServerConfig) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.