keys

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account added in v0.0.7

type Account = Address

func ParseAccountPath added in v0.0.7

func ParseAccountPath(buf string) (Account, error)

type Address added in v0.0.7

type Address base.Bytes

func ParseAddressPath added in v0.0.7

func ParseAddressPath(buf string) (Address, error)

func (Address) Bytes added in v0.0.7

func (k Address) Bytes() []byte

func (Address) ID added in v0.0.7

func (k Address) ID() base.Bytes

type Deployment

type Deployment = Address

func DeploymentID

func DeploymentID(id base.Bytes) Deployment

func ParseDeploymentPath

func ParseDeploymentPath(buf string) (Deployment, error)

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

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

type Key

type Key interface {
	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

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

type Provider added in v0.0.7

type Provider = Address

func ParseProviderPath added in v0.0.7

func ParseProviderPath(buf string) (Provider, error)

Jump to

Keyboard shortcuts

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