Documentation ¶
Index ¶
- type BeeV2
- func (b *BeeV2) Authenticate(ctx context.Context, password string) (string, error)
- func (b *BeeV2) DownloadChunk(ctx context.Context, ref swarm.Address) ([]byte, error)
- func (b *BeeV2) ExpectToHaveFile(ctx context.Context, file File) error
- func (b *BeeV2) Name() string
- func (b *BeeV2) NewChunkUploader(ctx context.Context) (*ChunkUploader, error)
- func (b *BeeV2) RefreshAuthToken(ctx context.Context, token string) (string, error)
- func (b *BeeV2) Restricted() bool
- func (b *BeeV2) UploadFile(ctx context.Context, file File) error
- func (b *BeeV2) UploadRandomFile(ctx context.Context) (File, error)
- type Bees
- type CaseOptions
- type CheckCase
- type ChunkUploader
- type ConsumeFunc
- type File
- type FilterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeeV2 ¶ added in v0.9.1
func (*BeeV2) Authenticate ¶ added in v0.9.1
func (*BeeV2) DownloadChunk ¶ added in v0.9.1
func (*BeeV2) ExpectToHaveFile ¶ added in v0.9.1
func (*BeeV2) NewChunkUploader ¶ added in v0.9.1
func (b *BeeV2) NewChunkUploader(ctx context.Context) (*ChunkUploader, error)
func (*BeeV2) RefreshAuthToken ¶ added in v0.9.1
func (*BeeV2) Restricted ¶ added in v0.9.1
func (*BeeV2) UploadFile ¶ added in v0.9.1
type Bees ¶ added in v0.9.1
type Bees []BeeV2
func (Bees) Filter ¶ added in v0.9.1
func (bb Bees) Filter(f FilterFunc) (out Bees)
func (Bees) ForEach ¶ added in v0.9.1
func (bb Bees) ForEach(c ConsumeFunc) error
type CaseOptions ¶
type CheckCase ¶
type CheckCase struct {
// contains filtered or unexported fields
}
func NewCheckCase ¶
func NewCheckCase(ctx context.Context, cluster orchestration.Cluster, caseOpts CaseOptions, logger logging.Logger) (*CheckCase, error)
func (*CheckCase) Balances ¶
func (c *CheckCase) Balances(ctx context.Context) (balances orchestration.NodeGroupBalances, err error)
type ChunkUploader ¶
type ChunkUploader struct { Overlay string // contains filtered or unexported fields }
func (*ChunkUploader) Name ¶
func (c *ChunkUploader) Name() string
func (*ChunkUploader) UploadRandomChunk ¶
func (cu *ChunkUploader) UploadRandomChunk() (*chunkV2, error)
type ConsumeFunc ¶ added in v0.9.1
type FilterFunc ¶ added in v0.9.1
Click to show internal directories.
Click to hide internal directories.