Documentation ¶
Index ¶
- Constants
- func NewEtcdCluster(name string, replicas uint, clusterType kstonev1alpha1.EtcdClusterType, ...) *kstonev1alpha1.EtcdCluster
- func NewEtcdInspection(name string, inspectionType kstonev1alpha1.KStoneFeature) *kstonev1alpha1.EtcdInspection
- func StatefulSetFromManifest(fileName, ns string) (*appsv1.StatefulSet, error)
- func SvcFromManifest(fileName string) (*v1.Service, error)
Constants ¶
View Source
const ( DefaultFeatureGate = "monitor=true,consistency=true,healthy=true,request=true,backup=true,alarm=true,backupcheck=true" DefaultTestClusterAddr = "etcd-test-headless.default.svc.cluster.local:2379" DefaultTestClusterStatefulsetYaml = "etcd_statefulset.yaml" DefaultTestClusterSvcYaml = "etcd_service.yaml" DefaultKstoneNamespace = "kstone" )
Variables ¶
This section is empty.
Functions ¶
func NewEtcdCluster ¶
func NewEtcdCluster( name string, replicas uint, clusterType kstonev1alpha1.EtcdClusterType, featureGate, clusterAddr string) *kstonev1alpha1.EtcdCluster
func NewEtcdInspection ¶
func NewEtcdInspection(name string, inspectionType kstonev1alpha1.KStoneFeature) *kstonev1alpha1.EtcdInspection
func StatefulSetFromManifest ¶
func StatefulSetFromManifest(fileName, ns string) (*appsv1.StatefulSet, error)
StatefulSetFromManifest returns a StatefulSet from a manifest stored in fileName in the Namespace indicated by ns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.