Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCredentialsServer(s grpc.ServiceRegistrar, srv CredentialsServer)
- func RegisterLoginsServer(s grpc.ServiceRegistrar, srv LoginsServer)
- type CreateCredentialRequest
- func (*CreateCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialRequest) GetCredentials() []*pb.Core
- 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() []*pb.Core
- func (*CreateCredentialResponse) ProtoMessage()
- func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialResponse) Reset()
- func (x *CreateCredentialResponse) String() string
- type CreateLoginRequest
- func (*CreateLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLoginRequest) GetLogins() []*pb.Login
- func (*CreateLoginRequest) ProtoMessage()
- func (x *CreateLoginRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLoginRequest) Reset()
- func (x *CreateLoginRequest) String() string
- type CreateLoginResponse
- func (*CreateLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLoginResponse) GetLogins() []*pb.Login
- func (*CreateLoginResponse) ProtoMessage()
- func (x *CreateLoginResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLoginResponse) Reset()
- func (x *CreateLoginResponse) String() string
- type CredentialsClient
- type CredentialsServer
- type DeleteCredentialRequest
- func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCredentialRequest) GetCredentials() []*pb.Core
- func (*DeleteCredentialRequest) ProtoMessage()
- func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialRequest) Reset()
- func (x *DeleteCredentialRequest) String() string
- type DeleteCredentialResponse
- func (*DeleteCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCredentialResponse) GetCredentials() []*pb.Core
- func (*DeleteCredentialResponse) ProtoMessage()
- func (x *DeleteCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialResponse) Reset()
- func (x *DeleteCredentialResponse) String() string
- type DeleteLoginRequest
- func (*DeleteLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLoginRequest) GetLogins() []*pb.Login
- func (*DeleteLoginRequest) ProtoMessage()
- func (x *DeleteLoginRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLoginRequest) Reset()
- func (x *DeleteLoginRequest) String() string
- type DeleteLoginResponse
- func (*DeleteLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLoginResponse) GetLogins() []*pb.Login
- func (*DeleteLoginResponse) ProtoMessage()
- func (x *DeleteLoginResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteLoginResponse) Reset()
- func (x *DeleteLoginResponse) String() string
- type LoginsClient
- type LoginsServer
- type ReadCredentialManyRequest
- func (*ReadCredentialManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadCredentialManyRequest) GetCredential() *pb.Core
- func (*ReadCredentialManyRequest) ProtoMessage()
- func (x *ReadCredentialManyRequest) ProtoReflect() protoreflect.Message
- func (x *ReadCredentialManyRequest) Reset()
- func (x *ReadCredentialManyRequest) String() string
- type ReadCredentialManyResponse
- func (*ReadCredentialManyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadCredentialManyResponse) GetCredentials() []*pb.Core
- func (*ReadCredentialManyResponse) ProtoMessage()
- func (x *ReadCredentialManyResponse) ProtoReflect() protoreflect.Message
- func (x *ReadCredentialManyResponse) Reset()
- func (x *ReadCredentialManyResponse) String() string
- type ReadCredentialRequest
- func (*ReadCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadCredentialRequest) GetCredential() *pb.Core
- func (x *ReadCredentialRequest) GetHost() *pb1.Host
- func (x *ReadCredentialRequest) GetPrefix() string
- func (x *ReadCredentialRequest) GetSource() string
- func (*ReadCredentialRequest) ProtoMessage()
- func (x *ReadCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *ReadCredentialRequest) Reset()
- func (x *ReadCredentialRequest) String() string
- type ReadCredentialResponse
- func (*ReadCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadCredentialResponse) GetCredentials() []*pb.Core
- func (*ReadCredentialResponse) ProtoMessage()
- func (x *ReadCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *ReadCredentialResponse) Reset()
- func (x *ReadCredentialResponse) String() string
- type ReadLoginManyRequest
- func (*ReadLoginManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadLoginManyRequest) GetLogin() *pb.Login
- func (*ReadLoginManyRequest) ProtoMessage()
- func (x *ReadLoginManyRequest) ProtoReflect() protoreflect.Message
- func (x *ReadLoginManyRequest) Reset()
- func (x *ReadLoginManyRequest) String() string
- type ReadLoginManyResponse
- func (*ReadLoginManyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadLoginManyResponse) GetLogins() []*pb.Login
- func (*ReadLoginManyResponse) ProtoMessage()
- func (x *ReadLoginManyResponse) ProtoReflect() protoreflect.Message
- func (x *ReadLoginManyResponse) Reset()
- func (x *ReadLoginManyResponse) String() string
- type ReadLoginRequest
- type ReadLoginResponse
- func (*ReadLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadLoginResponse) GetLogins() []*pb.Login
- func (*ReadLoginResponse) ProtoMessage()
- func (x *ReadLoginResponse) ProtoReflect() protoreflect.Message
- func (x *ReadLoginResponse) Reset()
- func (x *ReadLoginResponse) String() string
- type UnimplementedCredentialsServer
- func (UnimplementedCredentialsServer) Create(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
- func (UnimplementedCredentialsServer) Delete(context.Context, *DeleteCredentialRequest) (*DeleteCredentialResponse, error)
- func (UnimplementedCredentialsServer) List(context.Context, *ReadCredentialRequest) (*ReadCredentialResponse, error)
- func (UnimplementedCredentialsServer) Read(context.Context, *ReadCredentialRequest) (*ReadCredentialResponse, error)
- func (UnimplementedCredentialsServer) Upsert(context.Context, *UpsertCredentialRequest) (*UpsertCredentialResponse, error)
- type UnimplementedLoginsServer
- func (UnimplementedLoginsServer) Create(context.Context, *CreateLoginRequest) (*CreateLoginResponse, error)
- func (UnimplementedLoginsServer) Delete(context.Context, *DeleteLoginRequest) (*DeleteLoginResponse, error)
- func (UnimplementedLoginsServer) List(context.Context, *ReadLoginRequest) (*ReadLoginResponse, error)
- func (UnimplementedLoginsServer) Read(context.Context, *ReadLoginRequest) (*ReadLoginResponse, error)
- func (UnimplementedLoginsServer) Upsert(context.Context, *UpsertLoginRequest) (*UpsertLoginResponse, error)
- type UnsafeCredentialsServer
- type UnsafeLoginsServer
- type UpsertCredentialRequest
- func (*UpsertCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertCredentialRequest) GetCredentials() []*pb.Core
- func (*UpsertCredentialRequest) ProtoMessage()
- func (x *UpsertCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertCredentialRequest) Reset()
- func (x *UpsertCredentialRequest) String() string
- type UpsertCredentialResponse
- func (*UpsertCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertCredentialResponse) GetCredentials() []*pb.Core
- func (*UpsertCredentialResponse) ProtoMessage()
- func (x *UpsertCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertCredentialResponse) Reset()
- func (x *UpsertCredentialResponse) String() string
- type UpsertLoginRequest
- func (*UpsertLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertLoginRequest) GetLogins() []*pb.Login
- func (*UpsertLoginRequest) ProtoMessage()
- func (x *UpsertLoginRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertLoginRequest) Reset()
- func (x *UpsertLoginRequest) String() string
- type UpsertLoginResponse
- func (*UpsertLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertLoginResponse) GetLogins() []*pb.Login
- func (*UpsertLoginResponse) ProtoMessage()
- func (x *UpsertLoginResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertLoginResponse) Reset()
- func (x *UpsertLoginResponse) String() string
Constants ¶
const ( Credentials_Create_FullMethodName = "/credentials.Credentials/Create" Credentials_Read_FullMethodName = "/credentials.Credentials/Read" Credentials_List_FullMethodName = "/credentials.Credentials/List" Credentials_Upsert_FullMethodName = "/credentials.Credentials/Upsert" Credentials_Delete_FullMethodName = "/credentials.Credentials/Delete" )
const ( Logins_Create_FullMethodName = "/credentials.Logins/Create" Logins_Read_FullMethodName = "/credentials.Logins/Read" Logins_List_FullMethodName = "/credentials.Logins/List" Logins_Upsert_FullMethodName = "/credentials.Logins/Upsert" Logins_Delete_FullMethodName = "/credentials.Logins/Delete" )
Variables ¶
var Credentials_ServiceDesc = grpc.ServiceDesc{ ServiceName: "credentials.Credentials", HandlerType: (*CredentialsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Credentials_Create_Handler, }, { MethodName: "Read", Handler: _Credentials_Read_Handler, }, { MethodName: "List", Handler: _Credentials_List_Handler, }, { MethodName: "Upsert", Handler: _Credentials_Upsert_Handler, }, { MethodName: "Delete", Handler: _Credentials_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "credential/pb/rpc/credentials.proto", }
Credentials_ServiceDesc is the grpc.ServiceDesc for Credentials service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_credential_pb_rpc_credentials_proto protoreflect.FileDescriptor
var File_credential_pb_rpc_logins_proto protoreflect.FileDescriptor
var Logins_ServiceDesc = grpc.ServiceDesc{ ServiceName: "credentials.Logins", HandlerType: (*LoginsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Logins_Create_Handler, }, { MethodName: "Read", Handler: _Logins_Read_Handler, }, { MethodName: "List", Handler: _Logins_List_Handler, }, { MethodName: "Upsert", Handler: _Logins_Upsert_Handler, }, { MethodName: "Delete", Handler: _Logins_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "credential/pb/rpc/logins.proto", }
Logins_ServiceDesc is the grpc.ServiceDesc for Logins service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCredentialsServer ¶
func RegisterCredentialsServer(s grpc.ServiceRegistrar, srv CredentialsServer)
func RegisterLoginsServer ¶
func RegisterLoginsServer(s grpc.ServiceRegistrar, srv LoginsServer)
Types ¶
type CreateCredentialRequest ¶
type CreateCredentialRequest struct {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*CreateCredentialRequest) Descriptor
deprecated
func (*CreateCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialRequest.ProtoReflect.Descriptor instead.
func (*CreateCredentialRequest) GetCredentials ¶
func (x *CreateCredentialRequest) GetCredentials() []*pb.Core
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 []*pb.Core `protobuf:"bytes,1,rep,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() []*pb.Core
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 CreateLoginRequest ¶
type CreateLoginRequest struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*CreateLoginRequest) Descriptor
deprecated
func (*CreateLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLoginRequest.ProtoReflect.Descriptor instead.
func (*CreateLoginRequest) GetLogins ¶
func (x *CreateLoginRequest) GetLogins() []*pb.Login
func (*CreateLoginRequest) ProtoMessage ¶
func (*CreateLoginRequest) ProtoMessage()
func (*CreateLoginRequest) ProtoReflect ¶
func (x *CreateLoginRequest) ProtoReflect() protoreflect.Message
func (*CreateLoginRequest) Reset ¶
func (x *CreateLoginRequest) Reset()
func (*CreateLoginRequest) String ¶
func (x *CreateLoginRequest) String() string
type CreateLoginResponse ¶
type CreateLoginResponse struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*CreateLoginResponse) Descriptor
deprecated
func (*CreateLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLoginResponse.ProtoReflect.Descriptor instead.
func (*CreateLoginResponse) GetLogins ¶
func (x *CreateLoginResponse) GetLogins() []*pb.Login
func (*CreateLoginResponse) ProtoMessage ¶
func (*CreateLoginResponse) ProtoMessage()
func (*CreateLoginResponse) ProtoReflect ¶
func (x *CreateLoginResponse) ProtoReflect() protoreflect.Message
func (*CreateLoginResponse) Reset ¶
func (x *CreateLoginResponse) Reset()
func (*CreateLoginResponse) String ¶
func (x *CreateLoginResponse) String() string
type CredentialsClient ¶
type CredentialsClient interface {
Create(ctx context.Context, in *CreateCredentialRequest, opts ...grpc.CallOption) (*CreateCredentialResponse, error)
Read(ctx context.Context, in *ReadCredentialRequest, opts ...grpc.CallOption) (*ReadCredentialResponse, error)
List(ctx context.Context, in *ReadCredentialRequest, opts ...grpc.CallOption) (*ReadCredentialResponse, error)
Upsert(ctx context.Context, in *UpsertCredentialRequest, opts ...grpc.CallOption) (*UpsertCredentialResponse, error)
Delete(ctx context.Context, in *DeleteCredentialRequest, opts ...grpc.CallOption) (*DeleteCredentialResponse, error)
}
CredentialsClient is the client API for Credentials 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 NewCredentialsClient ¶
func NewCredentialsClient(cc grpc.ClientConnInterface) CredentialsClient
type CredentialsServer ¶
type CredentialsServer interface {
Create(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
Read(context.Context, *ReadCredentialRequest) (*ReadCredentialResponse, error)
List(context.Context, *ReadCredentialRequest) (*ReadCredentialResponse, error)
Upsert(context.Context, *UpsertCredentialRequest) (*UpsertCredentialResponse, error)
Delete(context.Context, *DeleteCredentialRequest) (*DeleteCredentialResponse, error)
// contains filtered or unexported methods
}
CredentialsServer is the server API for Credentials service. All implementations must embed UnimplementedCredentialsServer for forward compatibility
type DeleteCredentialRequest ¶
type DeleteCredentialRequest struct {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteCredentialRequest) Descriptor
deprecated
func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialRequest.ProtoReflect.Descriptor instead.
func (*DeleteCredentialRequest) GetCredentials ¶
func (x *DeleteCredentialRequest) GetCredentials() []*pb.Core
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 {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteCredentialResponse) Descriptor
deprecated
func (*DeleteCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialResponse.ProtoReflect.Descriptor instead.
func (*DeleteCredentialResponse) GetCredentials ¶
func (x *DeleteCredentialResponse) GetCredentials() []*pb.Core
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 DeleteLoginRequest ¶
type DeleteLoginRequest struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteLoginRequest) Descriptor
deprecated
func (*DeleteLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLoginRequest.ProtoReflect.Descriptor instead.
func (*DeleteLoginRequest) GetLogins ¶
func (x *DeleteLoginRequest) GetLogins() []*pb.Login
func (*DeleteLoginRequest) ProtoMessage ¶
func (*DeleteLoginRequest) ProtoMessage()
func (*DeleteLoginRequest) ProtoReflect ¶
func (x *DeleteLoginRequest) ProtoReflect() protoreflect.Message
func (*DeleteLoginRequest) Reset ¶
func (x *DeleteLoginRequest) Reset()
func (*DeleteLoginRequest) String ¶
func (x *DeleteLoginRequest) String() string
type DeleteLoginResponse ¶
type DeleteLoginResponse struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteLoginResponse) Descriptor
deprecated
func (*DeleteLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLoginResponse.ProtoReflect.Descriptor instead.
func (*DeleteLoginResponse) GetLogins ¶
func (x *DeleteLoginResponse) GetLogins() []*pb.Login
func (*DeleteLoginResponse) ProtoMessage ¶
func (*DeleteLoginResponse) ProtoMessage()
func (*DeleteLoginResponse) ProtoReflect ¶
func (x *DeleteLoginResponse) ProtoReflect() protoreflect.Message
func (*DeleteLoginResponse) Reset ¶
func (x *DeleteLoginResponse) Reset()
func (*DeleteLoginResponse) String ¶
func (x *DeleteLoginResponse) String() string
type LoginsClient ¶
type LoginsClient interface {
Create(ctx context.Context, in *CreateLoginRequest, opts ...grpc.CallOption) (*CreateLoginResponse, error)
Read(ctx context.Context, in *ReadLoginRequest, opts ...grpc.CallOption) (*ReadLoginResponse, error)
List(ctx context.Context, in *ReadLoginRequest, opts ...grpc.CallOption) (*ReadLoginResponse, error)
Upsert(ctx context.Context, in *UpsertLoginRequest, opts ...grpc.CallOption) (*UpsertLoginResponse, error)
Delete(ctx context.Context, in *DeleteLoginRequest, opts ...grpc.CallOption) (*DeleteLoginResponse, error)
}
LoginsClient is the client API for Logins 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 NewLoginsClient ¶
func NewLoginsClient(cc grpc.ClientConnInterface) LoginsClient
type LoginsServer ¶
type LoginsServer interface {
Create(context.Context, *CreateLoginRequest) (*CreateLoginResponse, error)
Read(context.Context, *ReadLoginRequest) (*ReadLoginResponse, error)
List(context.Context, *ReadLoginRequest) (*ReadLoginResponse, error)
Upsert(context.Context, *UpsertLoginRequest) (*UpsertLoginResponse, error)
Delete(context.Context, *DeleteLoginRequest) (*DeleteLoginResponse, error)
// contains filtered or unexported methods
}
LoginsServer is the server API for Logins service. All implementations must embed UnimplementedLoginsServer for forward compatibility
type ReadCredentialManyRequest ¶
type ReadCredentialManyRequest struct {
Credential *pb.Core `protobuf:"bytes,1,opt,name=Credential,proto3" json:"Credential,omitempty"`
// contains filtered or unexported fields
}
func (*ReadCredentialManyRequest) Descriptor
deprecated
func (*ReadCredentialManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadCredentialManyRequest.ProtoReflect.Descriptor instead.
func (*ReadCredentialManyRequest) GetCredential ¶
func (x *ReadCredentialManyRequest) GetCredential() *pb.Core
func (*ReadCredentialManyRequest) ProtoMessage ¶
func (*ReadCredentialManyRequest) ProtoMessage()
func (*ReadCredentialManyRequest) ProtoReflect ¶
func (x *ReadCredentialManyRequest) ProtoReflect() protoreflect.Message
func (*ReadCredentialManyRequest) Reset ¶
func (x *ReadCredentialManyRequest) Reset()
func (*ReadCredentialManyRequest) String ¶
func (x *ReadCredentialManyRequest) String() string
type ReadCredentialManyResponse ¶
type ReadCredentialManyResponse struct {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*ReadCredentialManyResponse) Descriptor
deprecated
func (*ReadCredentialManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadCredentialManyResponse.ProtoReflect.Descriptor instead.
func (*ReadCredentialManyResponse) GetCredentials ¶
func (x *ReadCredentialManyResponse) GetCredentials() []*pb.Core
func (*ReadCredentialManyResponse) ProtoMessage ¶
func (*ReadCredentialManyResponse) ProtoMessage()
func (*ReadCredentialManyResponse) ProtoReflect ¶
func (x *ReadCredentialManyResponse) ProtoReflect() protoreflect.Message
func (*ReadCredentialManyResponse) Reset ¶
func (x *ReadCredentialManyResponse) Reset()
func (*ReadCredentialManyResponse) String ¶
func (x *ReadCredentialManyResponse) String() string
type ReadCredentialRequest ¶
type ReadCredentialRequest struct {
Credential *pb.Core `protobuf:"bytes,1,opt,name=Credential,proto3" json:"Credential,omitempty"`
// Source: if set, scope the read to only the credentials contributed by this tool
// (matched against provenance.Source.Tool via the core_sources join) — the "give me
// only my objects" filter. Empty means the default cross-tool shared view.
Source string `protobuf:"bytes,2,opt,name=Source,proto3" json:"Source,omitempty"`
// Prefix: if set, scope the read to credentials whose public username begins with this
// string, OR whose id begins with it (the id leg keeps the username-less → id-fallback
// candidates in range) — a SQL prefix LIKE 'x%' pushed down to the database rather than
// loading every credential for the client to filter. It is the server-side completion
// filter behind `credentials` username completion. Empty is a no-op (no prefix scoping).
Prefix string `protobuf:"bytes,3,opt,name=Prefix,proto3" json:"Prefix,omitempty"`
// Host: if set, scope the read to only the credentials gathered from a service running on
// this host — the host/subnet scoping axis, orthogonal to (and composable with) Source and
// Prefix. The host is resolved by identity (Id, else address, else hostname) and the link
// runs through the credential's provenance sources (sources.service_id -> ports.host_id):
// see credential.WhereLoggedInHost. Unset/nil means every host.
Host *pb1.Host `protobuf:"bytes,4,opt,name=Host,proto3" json:"Host,omitempty"`
// contains filtered or unexported fields
}
func (*ReadCredentialRequest) Descriptor
deprecated
func (*ReadCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadCredentialRequest.ProtoReflect.Descriptor instead.
func (*ReadCredentialRequest) GetCredential ¶
func (x *ReadCredentialRequest) GetCredential() *pb.Core
func (*ReadCredentialRequest) GetHost ¶ added in v0.3.0
func (x *ReadCredentialRequest) GetHost() *pb1.Host
func (*ReadCredentialRequest) GetPrefix ¶ added in v0.3.0
func (x *ReadCredentialRequest) GetPrefix() string
func (*ReadCredentialRequest) GetSource ¶
func (x *ReadCredentialRequest) GetSource() string
func (*ReadCredentialRequest) ProtoMessage ¶
func (*ReadCredentialRequest) ProtoMessage()
func (*ReadCredentialRequest) ProtoReflect ¶
func (x *ReadCredentialRequest) ProtoReflect() protoreflect.Message
func (*ReadCredentialRequest) Reset ¶
func (x *ReadCredentialRequest) Reset()
func (*ReadCredentialRequest) String ¶
func (x *ReadCredentialRequest) String() string
type ReadCredentialResponse ¶
type ReadCredentialResponse struct {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*ReadCredentialResponse) Descriptor
deprecated
func (*ReadCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadCredentialResponse.ProtoReflect.Descriptor instead.
func (*ReadCredentialResponse) GetCredentials ¶
func (x *ReadCredentialResponse) GetCredentials() []*pb.Core
func (*ReadCredentialResponse) ProtoMessage ¶
func (*ReadCredentialResponse) ProtoMessage()
func (*ReadCredentialResponse) ProtoReflect ¶
func (x *ReadCredentialResponse) ProtoReflect() protoreflect.Message
func (*ReadCredentialResponse) Reset ¶
func (x *ReadCredentialResponse) Reset()
func (*ReadCredentialResponse) String ¶
func (x *ReadCredentialResponse) String() string
type ReadLoginManyRequest ¶
type ReadLoginManyRequest struct {
Login *pb.Login `protobuf:"bytes,1,opt,name=Login,proto3" json:"Login,omitempty"`
// contains filtered or unexported fields
}
func (*ReadLoginManyRequest) Descriptor
deprecated
func (*ReadLoginManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadLoginManyRequest.ProtoReflect.Descriptor instead.
func (*ReadLoginManyRequest) GetLogin ¶
func (x *ReadLoginManyRequest) GetLogin() *pb.Login
func (*ReadLoginManyRequest) ProtoMessage ¶
func (*ReadLoginManyRequest) ProtoMessage()
func (*ReadLoginManyRequest) ProtoReflect ¶
func (x *ReadLoginManyRequest) ProtoReflect() protoreflect.Message
func (*ReadLoginManyRequest) Reset ¶
func (x *ReadLoginManyRequest) Reset()
func (*ReadLoginManyRequest) String ¶
func (x *ReadLoginManyRequest) String() string
type ReadLoginManyResponse ¶
type ReadLoginManyResponse struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*ReadLoginManyResponse) Descriptor
deprecated
func (*ReadLoginManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadLoginManyResponse.ProtoReflect.Descriptor instead.
func (*ReadLoginManyResponse) GetLogins ¶
func (x *ReadLoginManyResponse) GetLogins() []*pb.Login
func (*ReadLoginManyResponse) ProtoMessage ¶
func (*ReadLoginManyResponse) ProtoMessage()
func (*ReadLoginManyResponse) ProtoReflect ¶
func (x *ReadLoginManyResponse) ProtoReflect() protoreflect.Message
func (*ReadLoginManyResponse) Reset ¶
func (x *ReadLoginManyResponse) Reset()
func (*ReadLoginManyResponse) String ¶
func (x *ReadLoginManyResponse) String() string
type ReadLoginRequest ¶
type ReadLoginRequest struct {
Login *pb.Login `protobuf:"bytes,1,opt,name=Login,proto3" json:"Login,omitempty"`
// contains filtered or unexported fields
}
func (*ReadLoginRequest) Descriptor
deprecated
func (*ReadLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadLoginRequest.ProtoReflect.Descriptor instead.
func (*ReadLoginRequest) GetLogin ¶
func (x *ReadLoginRequest) GetLogin() *pb.Login
func (*ReadLoginRequest) ProtoMessage ¶
func (*ReadLoginRequest) ProtoMessage()
func (*ReadLoginRequest) ProtoReflect ¶
func (x *ReadLoginRequest) ProtoReflect() protoreflect.Message
func (*ReadLoginRequest) Reset ¶
func (x *ReadLoginRequest) Reset()
func (*ReadLoginRequest) String ¶
func (x *ReadLoginRequest) String() string
type ReadLoginResponse ¶
type ReadLoginResponse struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*ReadLoginResponse) Descriptor
deprecated
func (*ReadLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadLoginResponse.ProtoReflect.Descriptor instead.
func (*ReadLoginResponse) GetLogins ¶
func (x *ReadLoginResponse) GetLogins() []*pb.Login
func (*ReadLoginResponse) ProtoMessage ¶
func (*ReadLoginResponse) ProtoMessage()
func (*ReadLoginResponse) ProtoReflect ¶
func (x *ReadLoginResponse) ProtoReflect() protoreflect.Message
func (*ReadLoginResponse) Reset ¶
func (x *ReadLoginResponse) Reset()
func (*ReadLoginResponse) String ¶
func (x *ReadLoginResponse) String() string
type UnimplementedCredentialsServer ¶
type UnimplementedCredentialsServer struct {
}
UnimplementedCredentialsServer must be embedded to have forward compatible implementations.
func (UnimplementedCredentialsServer) Create ¶
func (UnimplementedCredentialsServer) Create(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
func (UnimplementedCredentialsServer) Delete ¶
func (UnimplementedCredentialsServer) Delete(context.Context, *DeleteCredentialRequest) (*DeleteCredentialResponse, error)
func (UnimplementedCredentialsServer) List ¶
func (UnimplementedCredentialsServer) List(context.Context, *ReadCredentialRequest) (*ReadCredentialResponse, error)
func (UnimplementedCredentialsServer) Read ¶
func (UnimplementedCredentialsServer) Read(context.Context, *ReadCredentialRequest) (*ReadCredentialResponse, error)
func (UnimplementedCredentialsServer) Upsert ¶
func (UnimplementedCredentialsServer) Upsert(context.Context, *UpsertCredentialRequest) (*UpsertCredentialResponse, error)
type UnimplementedLoginsServer ¶
type UnimplementedLoginsServer struct {
}
UnimplementedLoginsServer must be embedded to have forward compatible implementations.
func (UnimplementedLoginsServer) Create ¶
func (UnimplementedLoginsServer) Create(context.Context, *CreateLoginRequest) (*CreateLoginResponse, error)
func (UnimplementedLoginsServer) Delete ¶
func (UnimplementedLoginsServer) Delete(context.Context, *DeleteLoginRequest) (*DeleteLoginResponse, error)
func (UnimplementedLoginsServer) List ¶
func (UnimplementedLoginsServer) List(context.Context, *ReadLoginRequest) (*ReadLoginResponse, error)
func (UnimplementedLoginsServer) Read ¶
func (UnimplementedLoginsServer) Read(context.Context, *ReadLoginRequest) (*ReadLoginResponse, error)
func (UnimplementedLoginsServer) Upsert ¶
func (UnimplementedLoginsServer) Upsert(context.Context, *UpsertLoginRequest) (*UpsertLoginResponse, error)
type UnsafeCredentialsServer ¶
type UnsafeCredentialsServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialsServer will result in compilation errors.
type UnsafeLoginsServer ¶
type UnsafeLoginsServer interface {
// contains filtered or unexported methods
}
UnsafeLoginsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoginsServer will result in compilation errors.
type UpsertCredentialRequest ¶
type UpsertCredentialRequest struct {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertCredentialRequest) Descriptor
deprecated
func (*UpsertCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertCredentialRequest.ProtoReflect.Descriptor instead.
func (*UpsertCredentialRequest) GetCredentials ¶
func (x *UpsertCredentialRequest) GetCredentials() []*pb.Core
func (*UpsertCredentialRequest) ProtoMessage ¶
func (*UpsertCredentialRequest) ProtoMessage()
func (*UpsertCredentialRequest) ProtoReflect ¶
func (x *UpsertCredentialRequest) ProtoReflect() protoreflect.Message
func (*UpsertCredentialRequest) Reset ¶
func (x *UpsertCredentialRequest) Reset()
func (*UpsertCredentialRequest) String ¶
func (x *UpsertCredentialRequest) String() string
type UpsertCredentialResponse ¶
type UpsertCredentialResponse struct {
Credentials []*pb.Core `protobuf:"bytes,1,rep,name=Credentials,proto3" json:"Credentials,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertCredentialResponse) Descriptor
deprecated
func (*UpsertCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertCredentialResponse.ProtoReflect.Descriptor instead.
func (*UpsertCredentialResponse) GetCredentials ¶
func (x *UpsertCredentialResponse) GetCredentials() []*pb.Core
func (*UpsertCredentialResponse) ProtoMessage ¶
func (*UpsertCredentialResponse) ProtoMessage()
func (*UpsertCredentialResponse) ProtoReflect ¶
func (x *UpsertCredentialResponse) ProtoReflect() protoreflect.Message
func (*UpsertCredentialResponse) Reset ¶
func (x *UpsertCredentialResponse) Reset()
func (*UpsertCredentialResponse) String ¶
func (x *UpsertCredentialResponse) String() string
type UpsertLoginRequest ¶
type UpsertLoginRequest struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertLoginRequest) Descriptor
deprecated
func (*UpsertLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertLoginRequest.ProtoReflect.Descriptor instead.
func (*UpsertLoginRequest) GetLogins ¶
func (x *UpsertLoginRequest) GetLogins() []*pb.Login
func (*UpsertLoginRequest) ProtoMessage ¶
func (*UpsertLoginRequest) ProtoMessage()
func (*UpsertLoginRequest) ProtoReflect ¶
func (x *UpsertLoginRequest) ProtoReflect() protoreflect.Message
func (*UpsertLoginRequest) Reset ¶
func (x *UpsertLoginRequest) Reset()
func (*UpsertLoginRequest) String ¶
func (x *UpsertLoginRequest) String() string
type UpsertLoginResponse ¶
type UpsertLoginResponse struct {
Logins []*pb.Login `protobuf:"bytes,1,rep,name=Logins,proto3" json:"Logins,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertLoginResponse) Descriptor
deprecated
func (*UpsertLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertLoginResponse.ProtoReflect.Descriptor instead.
func (*UpsertLoginResponse) GetLogins ¶
func (x *UpsertLoginResponse) GetLogins() []*pb.Login
func (*UpsertLoginResponse) ProtoMessage ¶
func (*UpsertLoginResponse) ProtoMessage()
func (*UpsertLoginResponse) ProtoReflect ¶
func (x *UpsertLoginResponse) ProtoReflect() protoreflect.Message
func (*UpsertLoginResponse) Reset ¶
func (x *UpsertLoginResponse) Reset()
func (*UpsertLoginResponse) String ¶
func (x *UpsertLoginResponse) String() string