enum

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidShippingProcessorType = errors.New("invalid ShippingProcessorType")

Functions

This section is empty.

Types

type ShippingProcessorType

type ShippingProcessorType uint8

api:enum

const (
	SHIPPING_PROCESSOR_TYPE_UNKNOWN           ShippingProcessorType = iota
	SHIPPING_PROCESSOR_TYPE__DEFAULT_REGISTRY                       // default registry
	SHIPPING_PROCESSOR_TYPE__ALIYUN_REGISTRY                        // aliyun registry
	SHIPPING_PROCESSOR_TYPE__TENCENT_REGISTRY                       // tencent registry
)

打包处理器类型

func ParseShippingProcessorTypeFromLabelString

func ParseShippingProcessorTypeFromLabelString(s string) (ShippingProcessorType, error)

func ParseShippingProcessorTypeFromString

func ParseShippingProcessorTypeFromString(s string) (ShippingProcessorType, error)

func (ShippingProcessorType) EnumType

func (ShippingProcessorType) EnumType() string

func (ShippingProcessorType) Enums

func (ShippingProcessorType) Enums() map[int][]string

func (ShippingProcessorType) Label

func (v ShippingProcessorType) Label() string

func (ShippingProcessorType) MarshalText

func (v ShippingProcessorType) MarshalText() ([]byte, error)

func (ShippingProcessorType) String

func (v ShippingProcessorType) String() string

func (*ShippingProcessorType) UnmarshalText

func (v *ShippingProcessorType) UnmarshalText(data []byte) (err error)

Jump to

Keyboard shortcuts

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