spadepolicy

package
v0.2.32 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0, MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cli.Command{
	Name:      "create",
	Usage:     "Create a SPADE policy for self deal proposal",
	ArgsUsage: "DATASET_NAME [...PROVIDER_ID]",
	Flags: []cli.Flag{
		&cli.Float64Flag{
			Name:  "min-delay",
			Usage: "Minimum delay in days for the deal start epoch",
			Value: 3.0,
		},
		&cli.Float64Flag{
			Name:  "max-delay",
			Usage: "Maximum delay in days for the deal start epoch",
			Value: 3.0,
		},
		&cli.Float64Flag{
			Name:  "min-duration",
			Usage: "Minimum duration in days for the deal start epoch",
			Value: 535.0,
		},
		&cli.Float64Flag{
			Name:  "max-duration",
			Usage: "Maximum duration in days for the deal start epoch",
			Value: 535.0,
		},
		&cli.BoolFlag{
			Name:  "verified",
			Usage: "Whether to propose dea as verified",
			Value: true,
		},
		&cli.Float64Flag{
			Name:  "price",
			Usage: "The price of the deal measured by per 32GiB over the whole duration",
			Value: 0.0,
		},
	},
	Action: func(c *cli.Context) error {
		return nil
	},
}
View Source
var ListCmd = &cli.Command{
	Name:      "list",
	Usage:     "List all SPADE policies for self deal proposal",
	ArgsUsage: "DATASET_NAME",
	Action: func(c *cli.Context) error {
		return nil
	},
}
View Source
var RemoveCmd = &cli.Command{
	Name:      "remove",
	Usage:     "Remove a SPADE policy for self deal proposal",
	ArgsUsage: "DATASET_NAME POLICY_ID",
	Action: func(c *cli.Context) error {
		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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