Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterExternalSecretStorePluginServiceServer(s grpc.ServiceRegistrar, srv ExternalSecretStorePluginServiceServer)
- type ApplySecretRequest
- func (*ApplySecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySecretRequest) GetConfig() *ConfigReference
- func (x *ApplySecretRequest) GetSecret() *Secret
- func (*ApplySecretRequest) ProtoMessage()
- func (x *ApplySecretRequest) ProtoReflect() protoreflect.Message
- func (x *ApplySecretRequest) Reset()
- func (x *ApplySecretRequest) String() string
- type ApplySecretResponse
- func (*ApplySecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySecretResponse) GetChanged() bool
- func (*ApplySecretResponse) ProtoMessage()
- func (x *ApplySecretResponse) ProtoReflect() protoreflect.Message
- func (x *ApplySecretResponse) Reset()
- func (x *ApplySecretResponse) String() string
- type ConfigReference
- func (*ConfigReference) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigReference) GetApiVersion() string
- func (x *ConfigReference) GetKind() string
- func (x *ConfigReference) GetName() string
- func (*ConfigReference) ProtoMessage()
- func (x *ConfigReference) ProtoReflect() protoreflect.Message
- func (x *ConfigReference) Reset()
- func (x *ConfigReference) String() string
- type DeleteKeysRequest
- func (*DeleteKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKeysRequest) GetConfig() *ConfigReference
- func (x *DeleteKeysRequest) GetSecret() *Secret
- func (*DeleteKeysRequest) ProtoMessage()
- func (x *DeleteKeysRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKeysRequest) Reset()
- func (x *DeleteKeysRequest) String() string
- type DeleteKeysResponse
- type ExternalSecretStorePluginServiceClient
- type ExternalSecretStorePluginServiceServer
- type GetSecretRequest
- func (*GetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretRequest) GetConfig() *ConfigReference
- func (x *GetSecretRequest) GetSecret() *Secret
- func (*GetSecretRequest) ProtoMessage()
- func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretRequest) Reset()
- func (x *GetSecretRequest) String() string
- type GetSecretResponse
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetData() map[string][]byte
- func (x *Secret) GetMetadata() map[string]string
- func (x *Secret) GetScopedName() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type UnimplementedExternalSecretStorePluginServiceServer
- func (UnimplementedExternalSecretStorePluginServiceServer) ApplySecret(context.Context, *ApplySecretRequest) (*ApplySecretResponse, error)
- func (UnimplementedExternalSecretStorePluginServiceServer) DeleteKeys(context.Context, *DeleteKeysRequest) (*DeleteKeysResponse, error)
- func (UnimplementedExternalSecretStorePluginServiceServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
- type UnsafeExternalSecretStorePluginServiceServer
Constants ¶
const ( ExternalSecretStorePluginService_GetSecret_FullMethodName = "/ess.proto.v1alpha1.ExternalSecretStorePluginService/GetSecret" ExternalSecretStorePluginService_ApplySecret_FullMethodName = "/ess.proto.v1alpha1.ExternalSecretStorePluginService/ApplySecret" ExternalSecretStorePluginService_DeleteKeys_FullMethodName = "/ess.proto.v1alpha1.ExternalSecretStorePluginService/DeleteKeys" )
Variables ¶
var ExternalSecretStorePluginService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ess.proto.v1alpha1.ExternalSecretStorePluginService", HandlerType: (*ExternalSecretStorePluginServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSecret", Handler: _ExternalSecretStorePluginService_GetSecret_Handler, }, { MethodName: "ApplySecret", Handler: _ExternalSecretStorePluginService_ApplySecret_Handler, }, { MethodName: "DeleteKeys", Handler: _ExternalSecretStorePluginService_DeleteKeys_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1alpha1/ess.proto", }
ExternalSecretStorePluginService_ServiceDesc is the grpc.ServiceDesc for ExternalSecretStorePluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_v1alpha1_ess_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExternalSecretStorePluginServiceServer ¶
func RegisterExternalSecretStorePluginServiceServer(s grpc.ServiceRegistrar, srv ExternalSecretStorePluginServiceServer)
Types ¶
type ApplySecretRequest ¶
type ApplySecretRequest struct { Config *ConfigReference `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
ApplySecretRequest applies the secret data update to the secret store.
func (*ApplySecretRequest) Descriptor
deprecated
func (*ApplySecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplySecretRequest.ProtoReflect.Descriptor instead.
func (*ApplySecretRequest) GetConfig ¶
func (x *ApplySecretRequest) GetConfig() *ConfigReference
func (*ApplySecretRequest) GetSecret ¶
func (x *ApplySecretRequest) GetSecret() *Secret
func (*ApplySecretRequest) ProtoMessage ¶
func (*ApplySecretRequest) ProtoMessage()
func (*ApplySecretRequest) ProtoReflect ¶
func (x *ApplySecretRequest) ProtoReflect() protoreflect.Message
func (*ApplySecretRequest) Reset ¶
func (x *ApplySecretRequest) Reset()
func (*ApplySecretRequest) String ¶
func (x *ApplySecretRequest) String() string
type ApplySecretResponse ¶
type ApplySecretResponse struct { Changed bool `protobuf:"varint,1,opt,name=changed,proto3" json:"changed,omitempty"` // contains filtered or unexported fields }
ApplySecretResponse returns if the secret is changed or not.
func (*ApplySecretResponse) Descriptor
deprecated
func (*ApplySecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplySecretResponse.ProtoReflect.Descriptor instead.
func (*ApplySecretResponse) GetChanged ¶
func (x *ApplySecretResponse) GetChanged() bool
func (*ApplySecretResponse) ProtoMessage ¶
func (*ApplySecretResponse) ProtoMessage()
func (*ApplySecretResponse) ProtoReflect ¶
func (x *ApplySecretResponse) ProtoReflect() protoreflect.Message
func (*ApplySecretResponse) Reset ¶
func (x *ApplySecretResponse) Reset()
func (*ApplySecretResponse) String ¶
func (x *ApplySecretResponse) String() string
type ConfigReference ¶
type ConfigReference struct { ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
ConfigReference is used to refer a StoreConfig object.
func (*ConfigReference) Descriptor
deprecated
func (*ConfigReference) Descriptor() ([]byte, []int)
Deprecated: Use ConfigReference.ProtoReflect.Descriptor instead.
func (*ConfigReference) GetApiVersion ¶
func (x *ConfigReference) GetApiVersion() string
func (*ConfigReference) GetKind ¶
func (x *ConfigReference) GetKind() string
func (*ConfigReference) GetName ¶
func (x *ConfigReference) GetName() string
func (*ConfigReference) ProtoMessage ¶
func (*ConfigReference) ProtoMessage()
func (*ConfigReference) ProtoReflect ¶
func (x *ConfigReference) ProtoReflect() protoreflect.Message
func (*ConfigReference) Reset ¶
func (x *ConfigReference) Reset()
func (*ConfigReference) String ¶
func (x *ConfigReference) String() string
type DeleteKeysRequest ¶
type DeleteKeysRequest struct { Config *ConfigReference `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
DeleteKeysRequest deletes the secret from the secret store.
func (*DeleteKeysRequest) Descriptor
deprecated
func (*DeleteKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeysRequest.ProtoReflect.Descriptor instead.
func (*DeleteKeysRequest) GetConfig ¶
func (x *DeleteKeysRequest) GetConfig() *ConfigReference
func (*DeleteKeysRequest) GetSecret ¶
func (x *DeleteKeysRequest) GetSecret() *Secret
func (*DeleteKeysRequest) ProtoMessage ¶
func (*DeleteKeysRequest) ProtoMessage()
func (*DeleteKeysRequest) ProtoReflect ¶
func (x *DeleteKeysRequest) ProtoReflect() protoreflect.Message
func (*DeleteKeysRequest) Reset ¶
func (x *DeleteKeysRequest) Reset()
func (*DeleteKeysRequest) String ¶
func (x *DeleteKeysRequest) String() string
type DeleteKeysResponse ¶
type DeleteKeysResponse struct {
// contains filtered or unexported fields
}
DeleteKeysResponse is returned if the secret is deleted.
func (*DeleteKeysResponse) Descriptor
deprecated
func (*DeleteKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeysResponse.ProtoReflect.Descriptor instead.
func (*DeleteKeysResponse) ProtoMessage ¶
func (*DeleteKeysResponse) ProtoMessage()
func (*DeleteKeysResponse) ProtoReflect ¶
func (x *DeleteKeysResponse) ProtoReflect() protoreflect.Message
func (*DeleteKeysResponse) Reset ¶
func (x *DeleteKeysResponse) Reset()
func (*DeleteKeysResponse) String ¶
func (x *DeleteKeysResponse) String() string
type ExternalSecretStorePluginServiceClient ¶
type ExternalSecretStorePluginServiceClient interface { GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error) ApplySecret(ctx context.Context, in *ApplySecretRequest, opts ...grpc.CallOption) (*ApplySecretResponse, error) DeleteKeys(ctx context.Context, in *DeleteKeysRequest, opts ...grpc.CallOption) (*DeleteKeysResponse, error) }
ExternalSecretStorePluginServiceClient is the client API for ExternalSecretStorePluginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExternalSecretStorePluginServiceClient ¶
func NewExternalSecretStorePluginServiceClient(cc grpc.ClientConnInterface) ExternalSecretStorePluginServiceClient
type ExternalSecretStorePluginServiceServer ¶
type ExternalSecretStorePluginServiceServer interface { GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error) ApplySecret(context.Context, *ApplySecretRequest) (*ApplySecretResponse, error) DeleteKeys(context.Context, *DeleteKeysRequest) (*DeleteKeysResponse, error) // contains filtered or unexported methods }
ExternalSecretStorePluginServiceServer is the server API for ExternalSecretStorePluginService service. All implementations must embed UnimplementedExternalSecretStorePluginServiceServer for forward compatibility
type GetSecretRequest ¶
type GetSecretRequest struct { Config *ConfigReference `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
GetSecretRequest requests secret from the secret store.
func (*GetSecretRequest) Descriptor
deprecated
func (*GetSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.
func (*GetSecretRequest) GetConfig ¶
func (x *GetSecretRequest) GetConfig() *ConfigReference
func (*GetSecretRequest) GetSecret ¶
func (x *GetSecretRequest) GetSecret() *Secret
func (*GetSecretRequest) ProtoMessage ¶
func (*GetSecretRequest) ProtoMessage()
func (*GetSecretRequest) ProtoReflect ¶
func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
func (*GetSecretRequest) Reset ¶
func (x *GetSecretRequest) Reset()
func (*GetSecretRequest) String ¶
func (x *GetSecretRequest) String() string
type GetSecretResponse ¶
type GetSecretResponse struct { Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
GetSecretResponse returns the secret from the secret store.
func (*GetSecretResponse) Descriptor
deprecated
func (*GetSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretResponse.ProtoReflect.Descriptor instead.
func (*GetSecretResponse) GetSecret ¶
func (x *GetSecretResponse) GetSecret() *Secret
func (*GetSecretResponse) ProtoMessage ¶
func (*GetSecretResponse) ProtoMessage()
func (*GetSecretResponse) ProtoReflect ¶
func (x *GetSecretResponse) ProtoReflect() protoreflect.Message
func (*GetSecretResponse) Reset ¶
func (x *GetSecretResponse) Reset()
func (*GetSecretResponse) String ¶
func (x *GetSecretResponse) String() string
type Secret ¶
type Secret struct { ScopedName string `protobuf:"bytes,1,opt,name=scoped_name,json=scopedName,proto3" json:"scoped_name,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Data map[string][]byte `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Secret defines the structure of a secret.
func (*Secret) Descriptor
deprecated
func (*Secret) GetMetadata ¶
func (*Secret) GetScopedName ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type UnimplementedExternalSecretStorePluginServiceServer ¶
type UnimplementedExternalSecretStorePluginServiceServer struct { }
UnimplementedExternalSecretStorePluginServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedExternalSecretStorePluginServiceServer) ApplySecret ¶
func (UnimplementedExternalSecretStorePluginServiceServer) ApplySecret(context.Context, *ApplySecretRequest) (*ApplySecretResponse, error)
func (UnimplementedExternalSecretStorePluginServiceServer) DeleteKeys ¶
func (UnimplementedExternalSecretStorePluginServiceServer) DeleteKeys(context.Context, *DeleteKeysRequest) (*DeleteKeysResponse, error)
func (UnimplementedExternalSecretStorePluginServiceServer) GetSecret ¶
func (UnimplementedExternalSecretStorePluginServiceServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
type UnsafeExternalSecretStorePluginServiceServer ¶
type UnsafeExternalSecretStorePluginServiceServer interface {
// contains filtered or unexported methods
}
UnsafeExternalSecretStorePluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExternalSecretStorePluginServiceServer will result in compilation errors.