types

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StoreTypeNames

func StoreTypeNames() []string

StoreTypeNames returns a list of possible string values of StoreType.

Types

type StoreType

type StoreType int

StoreType is an enumerated type for stores

ENUM( Deployment Log Event )

const (
	// StoreTypeDeployment is a StoreType of type Deployment
	StoreTypeDeployment StoreType = iota
	// StoreTypeLog is a StoreType of type Log
	StoreTypeLog
	// StoreTypeEvent is a StoreType of type Event
	StoreTypeEvent
)

func ParseStoreType

func ParseStoreType(name string) (StoreType, error)

ParseStoreType attempts to convert a string to a StoreType

func (StoreType) String

func (x StoreType) String() string

String implements the Stringer interface.

Jump to

Keyboard shortcuts

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