readreplica

package
v0.1.18-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterName string
View Source
var ReadReplicaCmd = &cobra.Command{
	Use:   "read-replica",
	Short: "Manage Read Replicas",
	Long:  "Manage Read Replicas",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}

Functions

func GetDefaultSpec added in v0.1.3

func GetDefaultSpec(primaryClusterCloud ybmclient.CloudEnum, vpcId string) ybmclient.ReadReplicaSpec

func ParseReplicaOpts added in v0.1.3

func ParseReplicaOpts(authApi *ybmAuthClient.AuthApiClient, replicaOpts []string, primaryClusterCloud ybmclient.CloudEnum, vpcId string) ([]ybmclient.ReadReplicaSpec, error)

Parse array of read replica string to string params

func SetMemoryAndDisk added in v0.1.3

func SetMemoryAndDisk(authApi *ybmAuthClient.AuthApiClient, spec *ybmclient.ReadReplicaSpec) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳