Documentation ¶
Overview ¶
+groupName=config.kubedb.com
Index ¶
Constants ¶
View Source
const (
ResourceKindMongoConfiguration = "MongoConfiguration"
)
Variables ¶
View Source
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: catalog.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type MongoDBConfiguration ¶
type MongoDBConfiguration struct { metav1.TypeMeta `json:",inline,omitempty"` // ConfigServer is the dsn of config server of mongodb sharding. The dsn includes the port no too. ConfigServer string `json:"configServer,omitempty"` // ReplicaSets contains the dsn of each replicaset of sharding. The DSNs are in key-value pair, where // the keys are host-0, host-1 etc, and the values are DSN of each replicaset. If there is no sharding // but only one replicaset, then ReplicaSets field contains only one key-value pair where the key is // host-0 and the value is dsn of that replicaset. ReplicaSets map[string]string `json:"replicaSets,omitempty"` }
MongoDBConfiguration defines a MongoDB app configuration. https://www.vaultproject.io/api/secret/databases/index.html https://www.vaultproject.io/api/secret/databases/mongodb.html#configure-connection
func (*MongoDBConfiguration) DeepCopy ¶
func (in *MongoDBConfiguration) DeepCopy() *MongoDBConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBConfiguration.
func (*MongoDBConfiguration) DeepCopyInto ¶
func (in *MongoDBConfiguration) DeepCopyInto(out *MongoDBConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBConfiguration) DeepCopyObject ¶
func (in *MongoDBConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Click to show internal directories.
Click to hide internal directories.