vtadminproto

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package vtadminproto provides helper functions for working with vtadminpb protobuf types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTabletServingState

func ParseTabletServingState(state string) vtadminpb.Tablet_ServingState

ParseTabletServingState returns a ServingState value from the given string. If the string does not map to a valid value, this function returns UNKNOWN.

func TabletServingStateString

func TabletServingStateString(state vtadminpb.Tablet_ServingState) string

TabletServingStateString returns a ServingState represented as a string. If the state does not map to a valid value, this function returns "UNKNOWN".

Types

This section is empty.

Jump to

Keyboard shortcuts

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