keys

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 21, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment base.Bytes

func DeploymentID

func DeploymentID(id base.Bytes) Deployment

func ParseDeploymentPath

func ParseDeploymentPath(buf string) (Deployment, error)

func (Deployment) Bytes

func (k Deployment) Bytes() []byte

func (Deployment) ID

func (k Deployment) ID() base.Bytes

func (Deployment) Path

func (k Deployment) Path() string

type DeploymentGroup

type DeploymentGroup struct {
	types.DeploymentGroupID
}

func DeploymentGroupID

func DeploymentGroupID(id types.DeploymentGroupID) DeploymentGroup

func ParseGroupPath

func ParseGroupPath(buf string) (DeploymentGroup, error)

func (DeploymentGroup) Bytes

func (k DeploymentGroup) Bytes() []byte

func (DeploymentGroup) ID

func (DeploymentGroup) Path

func (k DeploymentGroup) Path() string

type Fulfillment

type Fulfillment struct {
	types.FulfillmentID
}

func FulfillmentID

func FulfillmentID(id types.FulfillmentID) Fulfillment

func ParseFulfillmentPath

func ParseFulfillmentPath(buf string) (Fulfillment, error)

func (Fulfillment) Bytes

func (k Fulfillment) Bytes() []byte

func (Fulfillment) GroupKey

func (k Fulfillment) GroupKey() DeploymentGroup

func (Fulfillment) ID

func (Fulfillment) OrderKey

func (k Fulfillment) OrderKey() Order

func (Fulfillment) Path

func (k Fulfillment) Path() string

type Key

type Key interface {
	Path() string
	Bytes() []byte
}

type Lease

type Lease struct {
	types.LeaseID
}

func LeaseID

func LeaseID(id types.LeaseID) Lease

func ParseLeasePath

func ParseLeasePath(buf string) (Lease, error)

func (Lease) Bytes

func (k Lease) Bytes() []byte

func (Lease) FulfillmentKey

func (k Lease) FulfillmentKey() Fulfillment

func (Lease) GroupKey

func (k Lease) GroupKey() DeploymentGroup

func (Lease) ID

func (k Lease) ID() types.LeaseID

func (Lease) OrderKey

func (k Lease) OrderKey() Order

func (Lease) Path

func (k Lease) Path() string

type Order

type Order struct {
	types.OrderID
}

func OrderID

func OrderID(id types.OrderID) Order

func ParseOrderPath

func ParseOrderPath(buf string) (Order, error)

func (Order) Bytes

func (k Order) Bytes() []byte

func (Order) GroupKey

func (k Order) GroupKey() DeploymentGroup

func (Order) ID

func (k Order) ID() types.OrderID

func (Order) Path

func (k Order) Path() string

Jump to

Keyboard shortcuts

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