registrycmdutil

package
v0.37.1-beta4 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstanceAPIError

func GetInstanceAPIError(err error) (e registryinstanceclient.Error, ok bool)

GetInstanceAPIError gets a strongly typed error from an error

func TransformInstanceError

func TransformInstanceError(err error) error

TransformInstanceError code contains message that can be returned to the user

func ValidateName

func ValidateName(val interface{}) error

ValidateName validates the proposed name of a Kafka instance

Types

type Error

type Error struct {
	Err error
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

Jump to

Keyboard shortcuts

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