bucketserver

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 26 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

This section is empty.

Functions

This section is empty.

Types

type BucketClassRegistry

type BucketClassRegistry interface {
	Get(bucketClassName string) (*iriv1alpha1.BucketClass, bool)
	List() []*iriv1alpha1.BucketClass
}

type Options

type Options struct {
	IDGen idgen.IDGen

	Namespace                  string
	BucketEndpoint             string
	BucketPoolStorageClassName string
	BucketClassSelector        map[string]string
}

type Server

type Server struct {
	iriv1alpha1.UnimplementedBucketRuntimeServer
	// contains filtered or unexported fields
}

func New

func New(cfg *rest.Config, bucketClassRegistry BucketClassRegistry, opts Options) (*Server, error)

func (*Server) CreateBucket

func (s *Server) CreateBucket(
	ctx context.Context,
	req *iriv1alpha1.CreateBucketRequest,
) (res *iriv1alpha1.CreateBucketResponse, retErr error)

func (*Server) ListEvents added in v0.3.0

func (s *Server) ListEvents(ctx context.Context, req *iri.ListEventsRequest) (*iri.ListEventsResponse, error)

func (*Server) Version added in v0.4.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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