Documentation

Index

Constants

View Source
const (
	EtcdMaintenanceKey = "maintenance"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RefType

type RefType int
const (
	RefTypeID RefType = iota
	RefTypePath
	RefTypeName
)

func ParseNameRef

func ParseNameRef(ref string) (RefType, error)

ParseRef parses the api call to determine if the provided ref is an ID or a name

func ParsePathRef

func ParsePathRef(ref string) (RefType, error)

ParseRef parses the api call to determine if the provided ref is an ID or a path

Source Files