examples

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT 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 ParseProtocolFromLabelString

func ParseProtocolFromLabelString(s string) (Protocol, error)

func ParseProtocolFromString

func ParseProtocolFromString(s string) (Protocol, error)

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 (Protocol) TypeName() string

func (*Protocol) UnmarshalText

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

func (Protocol) Value

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

type PullPolicy added in v1.3.0

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