Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { IsClustered(ctx context.Context) bool // CreateCluster creates a new InnoDB cluster called // innodb.DefaultClusterName. CreateCluster(ctx context.Context, multiMaster bool) (*innodb.ClusterStatus, error) // GetClusterStatus gets the status of the innodb.DefaultClusterName InnoDB // cluster. GetClusterStatus(ctx context.Context) (*innodb.ClusterStatus, error) // CheckInstanceState verifies the existing data on the instance (specified // by URI) does not prevent it from joining a cluster. CheckInstanceState(ctx context.Context, uri string) (*innodb.InstanceState, error) // AddInstanceToCluster adds the instance (specified by URI) the InnoDB // cluster. AddInstanceToCluster(ctx context.Context, uri string) error // RejoinInstanceToCluster rejoins an instance (specified by URI) to the // InnoDB cluster. RejoinInstanceToCluster(ctx context.Context, uri string) error // RemoveInstanceFromCluster removes an instance (specified by URI) to the // InnoDB cluster. RemoveInstanceFromCluster(ctx context.Context, uri string) error }
Interface is an injectable interface for running mysqlsh commands.
Click to show internal directories.
Click to hide internal directories.