Documentation
¶
Index ¶
- Variables
- type Service
- func (s Service) CreateStorageBucket(ctx context.Context, req *pbs.CreateStorageBucketRequest) (*pbs.CreateStorageBucketResponse, error)
- func (s Service) DeleteStorageBucket(ctx context.Context, req *pbs.DeleteStorageBucketRequest) (*pbs.DeleteStorageBucketResponse, error)
- func (s Service) GetStorageBucket(ctx context.Context, req *pbs.GetStorageBucketRequest) (*pbs.GetStorageBucketResponse, error)
- func (s Service) ListStorageBuckets(ctx context.Context, req *pbs.ListStorageBucketsRequest) (*pbs.ListStorageBucketsResponse, error)
- func (s Service) UpdateStorageBucket(ctx context.Context, req *pbs.UpdateStorageBucketRequest) (*pbs.UpdateStorageBucketResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IdActions contains the set of actions that can be performed on // individual resources IdActions = action.ActionSet{ action.NoOp, action.Read, action.Update, action.Delete, } // CollectionActions contains the set of actions that can be performed on // this collection CollectionActions = action.ActionSet{ action.Create, action.List, } )
View Source
var NewServiceFn = func(ctx context.Context, pluginStorageRepoFn common.PluginStorageBucketRepoFactory, iamRepoFn common.IamRepoFactory, pluginRepoFn common.PluginRepoFactory, controllerExt globals.ControllerExtension, ) (pbs.StorageBucketServiceServer, error) { return Service{}, nil }
NewServiceFn returns a storage bucket service which is not implemented in OSS
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
pbs.UnimplementedStorageBucketServiceServer
}
func (Service) CreateStorageBucket ¶
func (s Service) CreateStorageBucket(ctx context.Context, req *pbs.CreateStorageBucketRequest) (*pbs.CreateStorageBucketResponse, error)
CreateStorageBucket implements the interface pbs.StorageBucketServiceServer.
func (Service) DeleteStorageBucket ¶
func (s Service) DeleteStorageBucket(ctx context.Context, req *pbs.DeleteStorageBucketRequest) (*pbs.DeleteStorageBucketResponse, error)
DeleteStorageBucket implements the interface pbs.StorageBucketServiceServer.
func (Service) GetStorageBucket ¶
func (s Service) GetStorageBucket(ctx context.Context, req *pbs.GetStorageBucketRequest) (*pbs.GetStorageBucketResponse, error)
GetStorageBucket implements the interface pbs.StorageBucketServiceServer.
func (Service) ListStorageBuckets ¶
func (s Service) ListStorageBuckets(ctx context.Context, req *pbs.ListStorageBucketsRequest) (*pbs.ListStorageBucketsResponse, error)
ListStorageBuckets implements the interface pbs.StorageBucketServiceServer.
func (Service) UpdateStorageBucket ¶
func (s Service) UpdateStorageBucket(ctx context.Context, req *pbs.UpdateStorageBucketRequest) (*pbs.UpdateStorageBucketResponse, error)
UpdateStorageBucket implements the interface pbs.StorageBucketServiceServer.
Click to show internal directories.
Click to hide internal directories.