Documentation ¶
Index ¶
- Variables
- func RegisterCredentialsServiceServer(s grpc.ServiceRegistrar, srv CredentialsServiceServer)
- type CreateCredentialRequest
- func (*CreateCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialRequest) GetStreamRef() *v1.StreamRef
- func (*CreateCredentialRequest) ProtoMessage()
- func (x *CreateCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialRequest) Reset()
- func (x *CreateCredentialRequest) String() string
- type CreateCredentialResponse
- func (*CreateCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialResponse) GetCredentials() *v1.Credentials
- func (*CreateCredentialResponse) ProtoMessage()
- func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialResponse) Reset()
- func (x *CreateCredentialResponse) String() string
- type CredentialsServiceClient
- type CredentialsServiceServer
- type DeleteCredentialRequest
- func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCredentialRequest) GetClientId() string
- func (*DeleteCredentialRequest) ProtoMessage()
- func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialRequest) Reset()
- func (x *DeleteCredentialRequest) String() string
- type DeleteCredentialResponse
- type GetCredentialRequest
- func (*GetCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialRequest) GetClientId() string
- func (*GetCredentialRequest) ProtoMessage()
- func (x *GetCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *GetCredentialRequest) Reset()
- func (x *GetCredentialRequest) String() string
- type GetCredentialResponse
- func (*GetCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialResponse) GetCredential() *v1.Credentials
- func (*GetCredentialResponse) ProtoMessage()
- func (x *GetCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *GetCredentialResponse) Reset()
- func (x *GetCredentialResponse) String() string
- type ListCredentialsRequest
- func (*ListCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialsRequest) GetStreamRef() *v1.StreamRef
- func (*ListCredentialsRequest) ProtoMessage()
- func (x *ListCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCredentialsRequest) Reset()
- func (x *ListCredentialsRequest) String() string
- type ListCredentialsResponse
- func (*ListCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialsResponse) GetCredentials() []*v1.Credentials
- func (*ListCredentialsResponse) ProtoMessage()
- func (x *ListCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCredentialsResponse) Reset()
- func (x *ListCredentialsResponse) String() string
- type UnimplementedCredentialsServiceServer
- func (UnimplementedCredentialsServiceServer) CreateCredential(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
- func (UnimplementedCredentialsServiceServer) DeleteCredential(context.Context, *DeleteCredentialRequest) (*DeleteCredentialResponse, error)
- func (UnimplementedCredentialsServiceServer) GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error)
- func (UnimplementedCredentialsServiceServer) ListCredentials(context.Context, *ListCredentialsRequest) (*ListCredentialsResponse, error)
- type UnsafeCredentialsServiceServer
Constants ¶
This section is empty.
Variables ¶
var CredentialsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.credentials.v1.CredentialsService", HandlerType: (*CredentialsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListCredentials", Handler: _CredentialsService_ListCredentials_Handler, }, { MethodName: "GetCredential", Handler: _CredentialsService_GetCredential_Handler, }, { MethodName: "CreateCredential", Handler: _CredentialsService_CreateCredential_Handler, }, { MethodName: "DeleteCredential", Handler: _CredentialsService_DeleteCredential_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/credentials/v1/credentials_v1.proto", }
CredentialsService_ServiceDesc is the grpc.ServiceDesc for CredentialsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_strmprivacy_api_credentials_v1_credentials_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCredentialsServiceServer ¶
func RegisterCredentialsServiceServer(s grpc.ServiceRegistrar, srv CredentialsServiceServer)
Types ¶
type CreateCredentialRequest ¶
type CreateCredentialRequest struct { // (-- api-linter: core::0133::request-unknown-fields=disabled // aip.dev/not-precedent: Credentials are created for a specific stream. --) StreamRef *v1.StreamRef `protobuf:"bytes,1,opt,name=stream_ref,json=streamRef,proto3" json:"stream_ref,omitempty"` // contains filtered or unexported fields }
(-- api-linter: core::0133::request-resource-field=disabled
aip.dev/not-precedent: Credentials are created for a specific stream. --)
func (*CreateCredentialRequest) Descriptor
deprecated
func (*CreateCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialRequest.ProtoReflect.Descriptor instead.
func (*CreateCredentialRequest) GetStreamRef ¶
func (x *CreateCredentialRequest) GetStreamRef() *v1.StreamRef
func (*CreateCredentialRequest) ProtoMessage ¶
func (*CreateCredentialRequest) ProtoMessage()
func (*CreateCredentialRequest) ProtoReflect ¶
func (x *CreateCredentialRequest) ProtoReflect() protoreflect.Message
func (*CreateCredentialRequest) Reset ¶
func (x *CreateCredentialRequest) Reset()
func (*CreateCredentialRequest) String ¶
func (x *CreateCredentialRequest) String() string
type CreateCredentialResponse ¶
type CreateCredentialResponse struct { Credentials *v1.Credentials `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*CreateCredentialResponse) Descriptor
deprecated
func (*CreateCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialResponse.ProtoReflect.Descriptor instead.
func (*CreateCredentialResponse) GetCredentials ¶
func (x *CreateCredentialResponse) GetCredentials() *v1.Credentials
func (*CreateCredentialResponse) ProtoMessage ¶
func (*CreateCredentialResponse) ProtoMessage()
func (*CreateCredentialResponse) ProtoReflect ¶
func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
func (*CreateCredentialResponse) Reset ¶
func (x *CreateCredentialResponse) Reset()
func (*CreateCredentialResponse) String ¶
func (x *CreateCredentialResponse) String() string
type CredentialsServiceClient ¶
type CredentialsServiceClient interface { ListCredentials(ctx context.Context, in *ListCredentialsRequest, opts ...grpc.CallOption) (*ListCredentialsResponse, error) GetCredential(ctx context.Context, in *GetCredentialRequest, opts ...grpc.CallOption) (*GetCredentialResponse, error) CreateCredential(ctx context.Context, in *CreateCredentialRequest, opts ...grpc.CallOption) (*CreateCredentialResponse, error) DeleteCredential(ctx context.Context, in *DeleteCredentialRequest, opts ...grpc.CallOption) (*DeleteCredentialResponse, error) }
CredentialsServiceClient is the client API for CredentialsService 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 NewCredentialsServiceClient ¶
func NewCredentialsServiceClient(cc grpc.ClientConnInterface) CredentialsServiceClient
type CredentialsServiceServer ¶
type CredentialsServiceServer interface { ListCredentials(context.Context, *ListCredentialsRequest) (*ListCredentialsResponse, error) GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error) CreateCredential(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error) DeleteCredential(context.Context, *DeleteCredentialRequest) (*DeleteCredentialResponse, error) // contains filtered or unexported methods }
CredentialsServiceServer is the server API for CredentialsService service. All implementations must embed UnimplementedCredentialsServiceServer for forward compatibility
type DeleteCredentialRequest ¶
type DeleteCredentialRequest struct { // (-- api-linter: core::0135::request-unknown-fields=disabled // aip.dev/not-precedent: A credential has no name, but a level. --) ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
(-- api-linter: core::0135::request-name-required=disabled
aip.dev/not-precedent: A credential has no name, but a level. --)
func (*DeleteCredentialRequest) Descriptor
deprecated
func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialRequest.ProtoReflect.Descriptor instead.
func (*DeleteCredentialRequest) GetClientId ¶
func (x *DeleteCredentialRequest) GetClientId() string
func (*DeleteCredentialRequest) ProtoMessage ¶
func (*DeleteCredentialRequest) ProtoMessage()
func (*DeleteCredentialRequest) ProtoReflect ¶
func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
func (*DeleteCredentialRequest) Reset ¶
func (x *DeleteCredentialRequest) Reset()
func (*DeleteCredentialRequest) String ¶
func (x *DeleteCredentialRequest) String() string
type DeleteCredentialResponse ¶
type DeleteCredentialResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCredentialResponse) Descriptor
deprecated
func (*DeleteCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialResponse.ProtoReflect.Descriptor instead.
func (*DeleteCredentialResponse) ProtoMessage ¶
func (*DeleteCredentialResponse) ProtoMessage()
func (*DeleteCredentialResponse) ProtoReflect ¶
func (x *DeleteCredentialResponse) ProtoReflect() protoreflect.Message
func (*DeleteCredentialResponse) Reset ¶
func (x *DeleteCredentialResponse) Reset()
func (*DeleteCredentialResponse) String ¶
func (x *DeleteCredentialResponse) String() string
type GetCredentialRequest ¶
type GetCredentialRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*GetCredentialRequest) Descriptor
deprecated
func (*GetCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialRequest.ProtoReflect.Descriptor instead.
func (*GetCredentialRequest) GetClientId ¶
func (x *GetCredentialRequest) GetClientId() string
func (*GetCredentialRequest) ProtoMessage ¶
func (*GetCredentialRequest) ProtoMessage()
func (*GetCredentialRequest) ProtoReflect ¶
func (x *GetCredentialRequest) ProtoReflect() protoreflect.Message
func (*GetCredentialRequest) Reset ¶
func (x *GetCredentialRequest) Reset()
func (*GetCredentialRequest) String ¶
func (x *GetCredentialRequest) String() string
type GetCredentialResponse ¶
type GetCredentialResponse struct { Credential *v1.Credentials `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*GetCredentialResponse) Descriptor
deprecated
func (*GetCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialResponse.ProtoReflect.Descriptor instead.
func (*GetCredentialResponse) GetCredential ¶
func (x *GetCredentialResponse) GetCredential() *v1.Credentials
func (*GetCredentialResponse) ProtoMessage ¶
func (*GetCredentialResponse) ProtoMessage()
func (*GetCredentialResponse) ProtoReflect ¶
func (x *GetCredentialResponse) ProtoReflect() protoreflect.Message
func (*GetCredentialResponse) Reset ¶
func (x *GetCredentialResponse) Reset()
func (*GetCredentialResponse) String ¶
func (x *GetCredentialResponse) String() string
type ListCredentialsRequest ¶
type ListCredentialsRequest struct { StreamRef *v1.StreamRef `protobuf:"bytes,1,opt,name=stream_ref,json=streamRef,proto3" json:"stream_ref,omitempty"` // contains filtered or unexported fields }
func (*ListCredentialsRequest) Descriptor
deprecated
func (*ListCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialsRequest.ProtoReflect.Descriptor instead.
func (*ListCredentialsRequest) GetStreamRef ¶
func (x *ListCredentialsRequest) GetStreamRef() *v1.StreamRef
func (*ListCredentialsRequest) ProtoMessage ¶
func (*ListCredentialsRequest) ProtoMessage()
func (*ListCredentialsRequest) ProtoReflect ¶
func (x *ListCredentialsRequest) ProtoReflect() protoreflect.Message
func (*ListCredentialsRequest) Reset ¶
func (x *ListCredentialsRequest) Reset()
func (*ListCredentialsRequest) String ¶
func (x *ListCredentialsRequest) String() string
type ListCredentialsResponse ¶
type ListCredentialsResponse struct { Credentials []*v1.Credentials `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*ListCredentialsResponse) Descriptor
deprecated
func (*ListCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialsResponse.ProtoReflect.Descriptor instead.
func (*ListCredentialsResponse) GetCredentials ¶
func (x *ListCredentialsResponse) GetCredentials() []*v1.Credentials
func (*ListCredentialsResponse) ProtoMessage ¶
func (*ListCredentialsResponse) ProtoMessage()
func (*ListCredentialsResponse) ProtoReflect ¶
func (x *ListCredentialsResponse) ProtoReflect() protoreflect.Message
func (*ListCredentialsResponse) Reset ¶
func (x *ListCredentialsResponse) Reset()
func (*ListCredentialsResponse) String ¶
func (x *ListCredentialsResponse) String() string
type UnimplementedCredentialsServiceServer ¶
type UnimplementedCredentialsServiceServer struct { }
UnimplementedCredentialsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCredentialsServiceServer) CreateCredential ¶
func (UnimplementedCredentialsServiceServer) CreateCredential(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
func (UnimplementedCredentialsServiceServer) DeleteCredential ¶
func (UnimplementedCredentialsServiceServer) DeleteCredential(context.Context, *DeleteCredentialRequest) (*DeleteCredentialResponse, error)
func (UnimplementedCredentialsServiceServer) GetCredential ¶
func (UnimplementedCredentialsServiceServer) GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error)
func (UnimplementedCredentialsServiceServer) ListCredentials ¶
func (UnimplementedCredentialsServiceServer) ListCredentials(context.Context, *ListCredentialsRequest) (*ListCredentialsResponse, error)
type UnsafeCredentialsServiceServer ¶
type UnsafeCredentialsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialsServiceServer will result in compilation errors.