blob

package
v0.113.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket interface {
	WriteAll(ctx context.Context, key string, p []byte, opts *blob.WriterOptions) error
	ReadAll(ctx context.Context, key string) ([]byte, error)
	List(opts *blob.ListOptions) *blob.ListIterator
	Delete(ctx context.Context, key string) error
	Close() error
}

func NewStore

func NewStore(ctx context.Context, storagePath, storageSecret string) (Bucket, error)

type PlanRepository added in v0.8.0

type PlanRepository struct {
	// contains filtered or unexported fields
}

func NewPlanRepository added in v0.8.0

func NewPlanRepository(b Bucket) *PlanRepository

func (*PlanRepository) Get added in v0.8.0

func (s *PlanRepository) Get(ctx context.Context) (plan.File, error)

Get returns the plans from the bucket

type SchemaRepository

type SchemaRepository struct {
	// contains filtered or unexported fields
}

func NewSchemaConfigRepository

func NewSchemaConfigRepository(b Bucket) *SchemaRepository

func (*SchemaRepository) GetDefinition

func (s *SchemaRepository) GetDefinition(ctx context.Context) (*schema.ServiceDefinition, error)

GetDefinition returns the service definition from the bucket

Jump to

Keyboard shortcuts

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