chunkserver

package
v0.0.0-...-46d4b59 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

* Copyright (c) 2023 NetEase Inc. * * 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.

* Project: CurveCli * Created Date: 2023-05-11 * Author: chengyi01

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChunkserverStatus

func GetChunkserverStatus(caller *cobra.Command) (*interface{}, *cmderror.CmdError, cobrautil.ClUSTER_HEALTH_STATUS)

func NewChunkServerCommand

func NewChunkServerCommand() *cobra.Command

Types

type ChunkServerCommand

type ChunkServerCommand struct {
	basecmd.FinalCurveCmd

	ChunkServerInfos []*topology.ChunkServerInfo
	RecoverStatusMap map[uint32]bool
}

func NewStatusChunkServerCommand

func NewStatusChunkServerCommand() *ChunkServerCommand

func (*ChunkServerCommand) AddFlags

func (csCmd *ChunkServerCommand) AddFlags()

func (*ChunkServerCommand) Init

func (csCmd *ChunkServerCommand) Init(cmd *cobra.Command, args []string) error

func (*ChunkServerCommand) Print

func (csCmd *ChunkServerCommand) Print(cmd *cobra.Command, args []string) error

func (*ChunkServerCommand) ResultPlainOutput

func (csCmd *ChunkServerCommand) ResultPlainOutput() error

func (*ChunkServerCommand) RunCommand

func (csCmd *ChunkServerCommand) RunCommand(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL