query

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountPath

func AccountPath(address []byte) string

func DeploymentGroupPath

func DeploymentGroupPath(id types.DeploymentGroupID) string

func DeploymentGroupsPath added in v0.0.10

func DeploymentGroupsPath() string

func DeploymentLeasesPath added in v0.0.7

func DeploymentLeasesPath(address []byte) string

func DeploymentPath

func DeploymentPath(address []byte) string

func DeploymentsPath added in v0.0.7

func DeploymentsPath() string

func FulfillmentPath

func FulfillmentPath(id types.FulfillmentID) string

func FulfillmentsPath added in v0.0.10

func FulfillmentsPath() string

func LeasePath

func LeasePath(id types.LeaseID) string

func LeasesPath added in v0.0.7

func LeasesPath() string

func OrderPath

func OrderPath(id types.OrderID) string

func OrdersPath added in v0.0.7

func OrdersPath() string

func ProviderPath

func ProviderPath(address []byte) string

func ProvidersPath added in v0.0.7

func ProvidersPath() string

Types

type Client added in v0.0.7

type Client interface {
	Account(ctx context.Context, id []byte) (*types.Account, error)

	Providers(ctx context.Context) (*types.Providers, error)
	Provider(ctx context.Context, id []byte) (*types.Provider, error)

	Deployments(ctx context.Context) (*types.Deployments, error)
	Deployment(ctx context.Context, id []byte) (*types.Deployment, error)
	DeploymentLeases(ctx context.Context, id []byte) (*types.Leases, error)

	DeploymentGroups(ctx context.Context) (*types.DeploymentGroups, error)
	DeploymentGroupsForDeployment(ctx context.Context, id []byte) (*types.DeploymentGroups, error)
	DeploymentGroup(ctx context.Context, id types.DeploymentGroupID) (*types.DeploymentGroup, error)

	Orders(ctx context.Context) (*types.Orders, error)
	Order(ctx context.Context, id types.OrderID) (*types.Order, error)

	Fulfillments(ctx context.Context) (*types.Fulfillments, error)
	Fulfillment(ctx context.Context, id types.FulfillmentID) (*types.Fulfillment, error)

	Leases(ctx context.Context) (*types.Leases, error)
	Lease(ctx context.Context, id types.LeaseID) (*types.Lease, error)

	TenantDeployments(ctx context.Context, tenant []byte) (*types.Deployments, error)
	TenantLeases(ctx context.Context, tenant []byte) (*types.Leases, error)
	ProviderLeases(ctx context.Context, provider []byte) (*types.Leases, error)

	Get(ctx context.Context, path string, obj proto.Message, data []byte) error
}

func NewClient added in v0.0.7

func NewClient(tmc *tmclient.HTTP) Client

Directories

Path Synopsis
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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