From 203d4bb0480c16ecd44c8dff9bf73918524ead29 Mon Sep 17 00:00:00 2001 From: Louis Ruch Date: Thu, 25 May 2023 16:19:27 -0400 Subject: [PATCH] fix(storage): Remove client --- internal/storage/plugin/client.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 internal/storage/plugin/client.go diff --git a/internal/storage/plugin/client.go b/internal/storage/plugin/client.go deleted file mode 100644 index a3fc9b2c3b..0000000000 --- a/internal/storage/plugin/client.go +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package plugin - -import ( - "context" - - wpbs "github.com/hashicorp/boundary/internal/gen/worker/servers/services" -) - -// StorageProxyClient provides storage related functions that will be sent from a controller -// to a worker through a CommandClientProducer destined for a corresponding storage plugin. -type StorageProxyClient interface { - // OnCreateStorageBucket is a hook that runs when a storage bucket is created. - OnCreateStorageBucket(context.Context, string, *wpbs.OnCreateStorageBucketRequest) (*wpbs.OnCreateStorageBucketResponse, error) - // OnUpdateStorageBucket is a hook that runs when a storage bucket is updated. - OnUpdateStorageBucket(context.Context, string, *wpbs.OnUpdateStorageBucketRequest) (*wpbs.OnUpdateStorageBucketResponse, error) - // OnDeleteStorageBucket is a hook that runs when a storage bucket is deleted. - OnDeleteStorageBucket(context.Context, string, *wpbs.OnDeleteStorageBucketRequest) (*wpbs.OnDeleteStorageBucketResponse, error) -}