types

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidProtocol = errors.New("invalid Protocol type")

Functions

This section is empty.

Types

type Protocol

type Protocol int
const (
	PROTOCOL_UNKNOWN Protocol = iota
	PROTOCOL__HTTP            // http
	PROTOCOL__HTTPS           // https

	PROTOCOL__TCP
)

func ParseProtocolFromLabel

func ParseProtocolFromLabel(s string) (Protocol, error)

func ParseProtocolFromString

func ParseProtocolFromString(s string) (Protocol, error)

func (Protocol) ConstValues

func (v Protocol) ConstValues() []enum.IntStringerEnum

func (Protocol) Int

func (v Protocol) Int() int

func (Protocol) Label

func (v Protocol) Label() string

func (Protocol) MarshalText

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

func (Protocol) Offset

func (Protocol) Offset() int

func (*Protocol) Scan

func (v *Protocol) Scan(src interface{}) error

func (Protocol) String

func (v Protocol) String() string

func (Protocol) TypeName

func (v Protocol) TypeName() string

func (*Protocol) UnmarshalText

func (v *Protocol) UnmarshalText(data []byte) error

func (Protocol) Value

func (v Protocol) Value() (driver.Value, error)

type PullPolicy

type PullPolicy string
const (
	PullAlways       PullPolicy = "Always"
	PullNever        PullPolicy = "Never"
	PullIfNotPresent PullPolicy = "IfNotPresent"
)

Jump to

Keyboard shortcuts

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