Documentation ¶
Index ¶
- Variables
- func RegisterEntryServer(s grpc.ServiceRegistrar, srv EntryServer)
- type BatchCreateEntryRequest
- func (*BatchCreateEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateEntryRequest) GetEntries() []*types.Entry
- func (x *BatchCreateEntryRequest) GetOutputMask() *types.EntryMask
- func (*BatchCreateEntryRequest) ProtoMessage()
- func (x *BatchCreateEntryRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateEntryRequest) Reset()
- func (x *BatchCreateEntryRequest) String() string
- type BatchCreateEntryResponse
- func (*BatchCreateEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateEntryResponse) GetResults() []*BatchCreateEntryResponse_Result
- func (*BatchCreateEntryResponse) ProtoMessage()
- func (x *BatchCreateEntryResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateEntryResponse) Reset()
- func (x *BatchCreateEntryResponse) String() string
- type BatchCreateEntryResponse_Result
- func (*BatchCreateEntryResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateEntryResponse_Result) GetEntry() *types.Entry
- func (x *BatchCreateEntryResponse_Result) GetStatus() *types.Status
- func (*BatchCreateEntryResponse_Result) ProtoMessage()
- func (x *BatchCreateEntryResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchCreateEntryResponse_Result) Reset()
- func (x *BatchCreateEntryResponse_Result) String() string
- type BatchDeleteEntryRequest
- func (*BatchDeleteEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteEntryRequest) GetIds() []string
- func (*BatchDeleteEntryRequest) ProtoMessage()
- func (x *BatchDeleteEntryRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteEntryRequest) Reset()
- func (x *BatchDeleteEntryRequest) String() string
- type BatchDeleteEntryResponse
- func (*BatchDeleteEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteEntryResponse) GetResults() []*BatchDeleteEntryResponse_Result
- func (*BatchDeleteEntryResponse) ProtoMessage()
- func (x *BatchDeleteEntryResponse) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteEntryResponse) Reset()
- func (x *BatchDeleteEntryResponse) String() string
- type BatchDeleteEntryResponse_Result
- func (*BatchDeleteEntryResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteEntryResponse_Result) GetId() string
- func (x *BatchDeleteEntryResponse_Result) GetStatus() *types.Status
- func (*BatchDeleteEntryResponse_Result) ProtoMessage()
- func (x *BatchDeleteEntryResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteEntryResponse_Result) Reset()
- func (x *BatchDeleteEntryResponse_Result) String() string
- type BatchUpdateEntryRequest
- func (*BatchUpdateEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateEntryRequest) GetEntries() []*types.Entry
- func (x *BatchUpdateEntryRequest) GetInputMask() *types.EntryMask
- func (x *BatchUpdateEntryRequest) GetOutputMask() *types.EntryMask
- func (*BatchUpdateEntryRequest) ProtoMessage()
- func (x *BatchUpdateEntryRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateEntryRequest) Reset()
- func (x *BatchUpdateEntryRequest) String() string
- type BatchUpdateEntryResponse
- func (*BatchUpdateEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateEntryResponse) GetResults() []*BatchUpdateEntryResponse_Result
- func (*BatchUpdateEntryResponse) ProtoMessage()
- func (x *BatchUpdateEntryResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateEntryResponse) Reset()
- func (x *BatchUpdateEntryResponse) String() string
- type BatchUpdateEntryResponse_Result
- func (*BatchUpdateEntryResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateEntryResponse_Result) GetEntry() *types.Entry
- func (x *BatchUpdateEntryResponse_Result) GetStatus() *types.Status
- func (*BatchUpdateEntryResponse_Result) ProtoMessage()
- func (x *BatchUpdateEntryResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateEntryResponse_Result) Reset()
- func (x *BatchUpdateEntryResponse_Result) String() string
- type CountEntriesRequest
- type CountEntriesResponse
- func (*CountEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountEntriesResponse) GetCount() int32
- func (*CountEntriesResponse) ProtoMessage()
- func (x *CountEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *CountEntriesResponse) Reset()
- func (x *CountEntriesResponse) String() string
- type EntryClient
- type EntryServer
- type GetAuthorizedEntriesRequest
- func (*GetAuthorizedEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorizedEntriesRequest) GetOutputMask() *types.EntryMask
- func (*GetAuthorizedEntriesRequest) ProtoMessage()
- func (x *GetAuthorizedEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthorizedEntriesRequest) Reset()
- func (x *GetAuthorizedEntriesRequest) String() string
- type GetAuthorizedEntriesResponse
- func (*GetAuthorizedEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorizedEntriesResponse) GetEntries() []*types.Entry
- func (*GetAuthorizedEntriesResponse) ProtoMessage()
- func (x *GetAuthorizedEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthorizedEntriesResponse) Reset()
- func (x *GetAuthorizedEntriesResponse) String() string
- type GetEntryRequest
- func (*GetEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntryRequest) GetId() string
- func (x *GetEntryRequest) GetOutputMask() *types.EntryMask
- func (*GetEntryRequest) ProtoMessage()
- func (x *GetEntryRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntryRequest) Reset()
- func (x *GetEntryRequest) String() string
- type ListEntriesRequest
- func (*ListEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntriesRequest) GetFilter() *ListEntriesRequest_Filter
- func (x *ListEntriesRequest) GetOutputMask() *types.EntryMask
- func (x *ListEntriesRequest) GetPageSize() int32
- func (x *ListEntriesRequest) GetPageToken() string
- func (*ListEntriesRequest) ProtoMessage()
- func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntriesRequest) Reset()
- func (x *ListEntriesRequest) String() string
- type ListEntriesRequest_Filter
- func (*ListEntriesRequest_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntriesRequest_Filter) GetByFederatesWith() *types.FederatesWithMatch
- func (x *ListEntriesRequest_Filter) GetByParentId() *types.SPIFFEID
- func (x *ListEntriesRequest_Filter) GetBySelectors() *types.SelectorMatch
- func (x *ListEntriesRequest_Filter) GetBySpiffeId() *types.SPIFFEID
- func (*ListEntriesRequest_Filter) ProtoMessage()
- func (x *ListEntriesRequest_Filter) ProtoReflect() protoreflect.Message
- func (x *ListEntriesRequest_Filter) Reset()
- func (x *ListEntriesRequest_Filter) String() string
- type ListEntriesResponse
- func (*ListEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntriesResponse) GetEntries() []*types.Entry
- func (x *ListEntriesResponse) GetNextPageToken() string
- func (*ListEntriesResponse) ProtoMessage()
- func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntriesResponse) Reset()
- func (x *ListEntriesResponse) String() string
- type UnimplementedEntryServer
- func (UnimplementedEntryServer) BatchCreateEntry(context.Context, *BatchCreateEntryRequest) (*BatchCreateEntryResponse, error)
- func (UnimplementedEntryServer) BatchDeleteEntry(context.Context, *BatchDeleteEntryRequest) (*BatchDeleteEntryResponse, error)
- func (UnimplementedEntryServer) BatchUpdateEntry(context.Context, *BatchUpdateEntryRequest) (*BatchUpdateEntryResponse, error)
- func (UnimplementedEntryServer) CountEntries(context.Context, *CountEntriesRequest) (*CountEntriesResponse, error)
- func (UnimplementedEntryServer) GetAuthorizedEntries(context.Context, *GetAuthorizedEntriesRequest) (*GetAuthorizedEntriesResponse, error)
- func (UnimplementedEntryServer) GetEntry(context.Context, *GetEntryRequest) (*types.Entry, error)
- func (UnimplementedEntryServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
- type UnsafeEntryServer
Constants ¶
This section is empty.
Variables ¶
var File_spire_api_server_entry_v1_entry_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEntryServer ¶
func RegisterEntryServer(s grpc.ServiceRegistrar, srv EntryServer)
Types ¶
type BatchCreateEntryRequest ¶
type BatchCreateEntryRequest struct { // The entries to be created. The entry ID field is output only, and will // be ignored here. Entries []*types.Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // An output mask indicating the entry fields set in the response. OutputMask *types.EntryMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateEntryRequest) Descriptor
deprecated
func (*BatchCreateEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateEntryRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateEntryRequest) GetEntries ¶
func (x *BatchCreateEntryRequest) GetEntries() []*types.Entry
func (*BatchCreateEntryRequest) GetOutputMask ¶
func (x *BatchCreateEntryRequest) GetOutputMask() *types.EntryMask
func (*BatchCreateEntryRequest) ProtoMessage ¶
func (*BatchCreateEntryRequest) ProtoMessage()
func (*BatchCreateEntryRequest) ProtoReflect ¶
func (x *BatchCreateEntryRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateEntryRequest) Reset ¶
func (x *BatchCreateEntryRequest) Reset()
func (*BatchCreateEntryRequest) String ¶
func (x *BatchCreateEntryRequest) String() string
type BatchCreateEntryResponse ¶
type BatchCreateEntryResponse struct { // Result for each entry in the request (order is maintained). Results []*BatchCreateEntryResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateEntryResponse) Descriptor
deprecated
func (*BatchCreateEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateEntryResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateEntryResponse) GetResults ¶
func (x *BatchCreateEntryResponse) GetResults() []*BatchCreateEntryResponse_Result
func (*BatchCreateEntryResponse) ProtoMessage ¶
func (*BatchCreateEntryResponse) ProtoMessage()
func (*BatchCreateEntryResponse) ProtoReflect ¶
func (x *BatchCreateEntryResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateEntryResponse) Reset ¶
func (x *BatchCreateEntryResponse) Reset()
func (*BatchCreateEntryResponse) String ¶
func (x *BatchCreateEntryResponse) String() string
type BatchCreateEntryResponse_Result ¶
type BatchCreateEntryResponse_Result struct { // The status of creating the entry. If status code will be // ALREADY_EXISTS if a similar entry already exists. An entry is // similar if it has the same spiffe_id, parent_id, and selectors. Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // The entry that was created (.e.g status code is OK) or that already // exists (i.e. status code is ALREADY_EXISTS). // // If the status code is any other value, this field will not be set. Entry *types.Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateEntryResponse_Result) Descriptor
deprecated
func (*BatchCreateEntryResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateEntryResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchCreateEntryResponse_Result) GetEntry ¶
func (x *BatchCreateEntryResponse_Result) GetEntry() *types.Entry
func (*BatchCreateEntryResponse_Result) GetStatus ¶
func (x *BatchCreateEntryResponse_Result) GetStatus() *types.Status
func (*BatchCreateEntryResponse_Result) ProtoMessage ¶
func (*BatchCreateEntryResponse_Result) ProtoMessage()
func (*BatchCreateEntryResponse_Result) ProtoReflect ¶
func (x *BatchCreateEntryResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchCreateEntryResponse_Result) Reset ¶
func (x *BatchCreateEntryResponse_Result) Reset()
func (*BatchCreateEntryResponse_Result) String ¶
func (x *BatchCreateEntryResponse_Result) String() string
type BatchDeleteEntryRequest ¶
type BatchDeleteEntryRequest struct { // IDs of the entries to delete. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*BatchDeleteEntryRequest) Descriptor
deprecated
func (*BatchDeleteEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteEntryRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteEntryRequest) GetIds ¶
func (x *BatchDeleteEntryRequest) GetIds() []string
func (*BatchDeleteEntryRequest) ProtoMessage ¶
func (*BatchDeleteEntryRequest) ProtoMessage()
func (*BatchDeleteEntryRequest) ProtoReflect ¶
func (x *BatchDeleteEntryRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteEntryRequest) Reset ¶
func (x *BatchDeleteEntryRequest) Reset()
func (*BatchDeleteEntryRequest) String ¶
func (x *BatchDeleteEntryRequest) String() string
type BatchDeleteEntryResponse ¶
type BatchDeleteEntryResponse struct { // Result for each entry ID in the request (order is maintained). Results []*BatchDeleteEntryResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*BatchDeleteEntryResponse) Descriptor
deprecated
func (*BatchDeleteEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteEntryResponse.ProtoReflect.Descriptor instead.
func (*BatchDeleteEntryResponse) GetResults ¶
func (x *BatchDeleteEntryResponse) GetResults() []*BatchDeleteEntryResponse_Result
func (*BatchDeleteEntryResponse) ProtoMessage ¶
func (*BatchDeleteEntryResponse) ProtoMessage()
func (*BatchDeleteEntryResponse) ProtoReflect ¶
func (x *BatchDeleteEntryResponse) ProtoReflect() protoreflect.Message
func (*BatchDeleteEntryResponse) Reset ¶
func (x *BatchDeleteEntryResponse) Reset()
func (*BatchDeleteEntryResponse) String ¶
func (x *BatchDeleteEntryResponse) String() string
type BatchDeleteEntryResponse_Result ¶
type BatchDeleteEntryResponse_Result struct { // The status of creating the entry. Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // The ID of the entry that was deleted. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*BatchDeleteEntryResponse_Result) Descriptor
deprecated
func (*BatchDeleteEntryResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteEntryResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchDeleteEntryResponse_Result) GetId ¶
func (x *BatchDeleteEntryResponse_Result) GetId() string
func (*BatchDeleteEntryResponse_Result) GetStatus ¶
func (x *BatchDeleteEntryResponse_Result) GetStatus() *types.Status
func (*BatchDeleteEntryResponse_Result) ProtoMessage ¶
func (*BatchDeleteEntryResponse_Result) ProtoMessage()
func (*BatchDeleteEntryResponse_Result) ProtoReflect ¶
func (x *BatchDeleteEntryResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchDeleteEntryResponse_Result) Reset ¶
func (x *BatchDeleteEntryResponse_Result) Reset()
func (*BatchDeleteEntryResponse_Result) String ¶
func (x *BatchDeleteEntryResponse_Result) String() string
type BatchUpdateEntryRequest ¶
type BatchUpdateEntryRequest struct { // The entries to be updated. Entries []*types.Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // An input mask indicating what entry fields should be updated. InputMask *types.EntryMask `protobuf:"bytes,2,opt,name=input_mask,json=inputMask,proto3" json:"input_mask,omitempty"` // An output mask indicating what entry fields are set in the response. OutputMask *types.EntryMask `protobuf:"bytes,3,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateEntryRequest) Descriptor
deprecated
func (*BatchUpdateEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateEntryRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateEntryRequest) GetEntries ¶
func (x *BatchUpdateEntryRequest) GetEntries() []*types.Entry
func (*BatchUpdateEntryRequest) GetInputMask ¶
func (x *BatchUpdateEntryRequest) GetInputMask() *types.EntryMask
func (*BatchUpdateEntryRequest) GetOutputMask ¶
func (x *BatchUpdateEntryRequest) GetOutputMask() *types.EntryMask
func (*BatchUpdateEntryRequest) ProtoMessage ¶
func (*BatchUpdateEntryRequest) ProtoMessage()
func (*BatchUpdateEntryRequest) ProtoReflect ¶
func (x *BatchUpdateEntryRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateEntryRequest) Reset ¶
func (x *BatchUpdateEntryRequest) Reset()
func (*BatchUpdateEntryRequest) String ¶
func (x *BatchUpdateEntryRequest) String() string
type BatchUpdateEntryResponse ¶
type BatchUpdateEntryResponse struct { // Result for each entry in the request (order is maintained). Results []*BatchUpdateEntryResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateEntryResponse) Descriptor
deprecated
func (*BatchUpdateEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateEntryResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateEntryResponse) GetResults ¶
func (x *BatchUpdateEntryResponse) GetResults() []*BatchUpdateEntryResponse_Result
func (*BatchUpdateEntryResponse) ProtoMessage ¶
func (*BatchUpdateEntryResponse) ProtoMessage()
func (*BatchUpdateEntryResponse) ProtoReflect ¶
func (x *BatchUpdateEntryResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateEntryResponse) Reset ¶
func (x *BatchUpdateEntryResponse) Reset()
func (*BatchUpdateEntryResponse) String ¶
func (x *BatchUpdateEntryResponse) String() string
type BatchUpdateEntryResponse_Result ¶
type BatchUpdateEntryResponse_Result struct { // The status of creating the entry. Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // The entry that was updated. If the status is OK, it will be the // entry that was updated. If the status is any other value, this field // will not be set. Entry *types.Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateEntryResponse_Result) Descriptor
deprecated
func (*BatchUpdateEntryResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateEntryResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchUpdateEntryResponse_Result) GetEntry ¶
func (x *BatchUpdateEntryResponse_Result) GetEntry() *types.Entry
func (*BatchUpdateEntryResponse_Result) GetStatus ¶
func (x *BatchUpdateEntryResponse_Result) GetStatus() *types.Status
func (*BatchUpdateEntryResponse_Result) ProtoMessage ¶
func (*BatchUpdateEntryResponse_Result) ProtoMessage()
func (*BatchUpdateEntryResponse_Result) ProtoReflect ¶
func (x *BatchUpdateEntryResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchUpdateEntryResponse_Result) Reset ¶
func (x *BatchUpdateEntryResponse_Result) Reset()
func (*BatchUpdateEntryResponse_Result) String ¶
func (x *BatchUpdateEntryResponse_Result) String() string
type CountEntriesRequest ¶
type CountEntriesRequest struct {
// contains filtered or unexported fields
}
func (*CountEntriesRequest) Descriptor
deprecated
func (*CountEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountEntriesRequest.ProtoReflect.Descriptor instead.
func (*CountEntriesRequest) ProtoMessage ¶
func (*CountEntriesRequest) ProtoMessage()
func (*CountEntriesRequest) ProtoReflect ¶
func (x *CountEntriesRequest) ProtoReflect() protoreflect.Message
func (*CountEntriesRequest) Reset ¶
func (x *CountEntriesRequest) Reset()
func (*CountEntriesRequest) String ¶
func (x *CountEntriesRequest) String() string
type CountEntriesResponse ¶
type CountEntriesResponse struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountEntriesResponse) Descriptor
deprecated
func (*CountEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountEntriesResponse.ProtoReflect.Descriptor instead.
func (*CountEntriesResponse) GetCount ¶
func (x *CountEntriesResponse) GetCount() int32
func (*CountEntriesResponse) ProtoMessage ¶
func (*CountEntriesResponse) ProtoMessage()
func (*CountEntriesResponse) ProtoReflect ¶
func (x *CountEntriesResponse) ProtoReflect() protoreflect.Message
func (*CountEntriesResponse) Reset ¶
func (x *CountEntriesResponse) Reset()
func (*CountEntriesResponse) String ¶
func (x *CountEntriesResponse) String() string
type EntryClient ¶
type EntryClient interface { // Count entries. // // The caller must be local or present an admin X509-SVID. CountEntries(ctx context.Context, in *CountEntriesRequest, opts ...grpc.CallOption) (*CountEntriesResponse, error) // Lists entries. // // The caller must be local or present an admin X509-SVID. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) // Gets an entry. If the entry does not exist, NOT_FOUND is returned. // // The caller must be local or present an admin X509-SVID. GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*types.Entry, error) // Batch creates one or more entries. // // The caller must be local or present an admin X509-SVID. BatchCreateEntry(ctx context.Context, in *BatchCreateEntryRequest, opts ...grpc.CallOption) (*BatchCreateEntryResponse, error) // Batch updates one or more entries. // // The caller must be local or present an admin X509-SVID. BatchUpdateEntry(ctx context.Context, in *BatchUpdateEntryRequest, opts ...grpc.CallOption) (*BatchUpdateEntryResponse, error) // Batch deletes one or more entries. // // The caller must be local or present an admin X509-SVID. BatchDeleteEntry(ctx context.Context, in *BatchDeleteEntryRequest, opts ...grpc.CallOption) (*BatchDeleteEntryResponse, error) // Gets the entries the caller is authorized for. // // The caller must present an active agent X509-SVID. See the Agent // AttestAgent/RenewAgent RPCs. GetAuthorizedEntries(ctx context.Context, in *GetAuthorizedEntriesRequest, opts ...grpc.CallOption) (*GetAuthorizedEntriesResponse, error) }
EntryClient is the client API for Entry 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 NewEntryClient ¶
func NewEntryClient(cc grpc.ClientConnInterface) EntryClient
type EntryServer ¶
type EntryServer interface { // Count entries. // // The caller must be local or present an admin X509-SVID. CountEntries(context.Context, *CountEntriesRequest) (*CountEntriesResponse, error) // Lists entries. // // The caller must be local or present an admin X509-SVID. ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error) // Gets an entry. If the entry does not exist, NOT_FOUND is returned. // // The caller must be local or present an admin X509-SVID. GetEntry(context.Context, *GetEntryRequest) (*types.Entry, error) // Batch creates one or more entries. // // The caller must be local or present an admin X509-SVID. BatchCreateEntry(context.Context, *BatchCreateEntryRequest) (*BatchCreateEntryResponse, error) // Batch updates one or more entries. // // The caller must be local or present an admin X509-SVID. BatchUpdateEntry(context.Context, *BatchUpdateEntryRequest) (*BatchUpdateEntryResponse, error) // Batch deletes one or more entries. // // The caller must be local or present an admin X509-SVID. BatchDeleteEntry(context.Context, *BatchDeleteEntryRequest) (*BatchDeleteEntryResponse, error) // Gets the entries the caller is authorized for. // // The caller must present an active agent X509-SVID. See the Agent // AttestAgent/RenewAgent RPCs. GetAuthorizedEntries(context.Context, *GetAuthorizedEntriesRequest) (*GetAuthorizedEntriesResponse, error) // contains filtered or unexported methods }
EntryServer is the server API for Entry service. All implementations must embed UnimplementedEntryServer for forward compatibility
type GetAuthorizedEntriesRequest ¶
type GetAuthorizedEntriesRequest struct { // An output mask indicating which fields are set in the response. OutputMask *types.EntryMask `protobuf:"bytes,1,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"` // contains filtered or unexported fields }
func (*GetAuthorizedEntriesRequest) Descriptor
deprecated
func (*GetAuthorizedEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizedEntriesRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorizedEntriesRequest) GetOutputMask ¶
func (x *GetAuthorizedEntriesRequest) GetOutputMask() *types.EntryMask
func (*GetAuthorizedEntriesRequest) ProtoMessage ¶
func (*GetAuthorizedEntriesRequest) ProtoMessage()
func (*GetAuthorizedEntriesRequest) ProtoReflect ¶
func (x *GetAuthorizedEntriesRequest) ProtoReflect() protoreflect.Message
func (*GetAuthorizedEntriesRequest) Reset ¶
func (x *GetAuthorizedEntriesRequest) Reset()
func (*GetAuthorizedEntriesRequest) String ¶
func (x *GetAuthorizedEntriesRequest) String() string
type GetAuthorizedEntriesResponse ¶
type GetAuthorizedEntriesResponse struct { // The authorized entries. Entries []*types.Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*GetAuthorizedEntriesResponse) Descriptor
deprecated
func (*GetAuthorizedEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizedEntriesResponse.ProtoReflect.Descriptor instead.
func (*GetAuthorizedEntriesResponse) GetEntries ¶
func (x *GetAuthorizedEntriesResponse) GetEntries() []*types.Entry
func (*GetAuthorizedEntriesResponse) ProtoMessage ¶
func (*GetAuthorizedEntriesResponse) ProtoMessage()
func (*GetAuthorizedEntriesResponse) ProtoReflect ¶
func (x *GetAuthorizedEntriesResponse) ProtoReflect() protoreflect.Message
func (*GetAuthorizedEntriesResponse) Reset ¶
func (x *GetAuthorizedEntriesResponse) Reset()
func (*GetAuthorizedEntriesResponse) String ¶
func (x *GetAuthorizedEntriesResponse) String() string
type GetEntryRequest ¶
type GetEntryRequest struct { // Required. ID of the entry to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // An output mask indicating the entry fields set in the response. OutputMask *types.EntryMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"` // contains filtered or unexported fields }
func (*GetEntryRequest) Descriptor
deprecated
func (*GetEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.
func (*GetEntryRequest) GetId ¶
func (x *GetEntryRequest) GetId() string
func (*GetEntryRequest) GetOutputMask ¶
func (x *GetEntryRequest) GetOutputMask() *types.EntryMask
func (*GetEntryRequest) ProtoMessage ¶
func (*GetEntryRequest) ProtoMessage()
func (*GetEntryRequest) ProtoReflect ¶
func (x *GetEntryRequest) ProtoReflect() protoreflect.Message
func (*GetEntryRequest) Reset ¶
func (x *GetEntryRequest) Reset()
func (*GetEntryRequest) String ¶
func (x *GetEntryRequest) String() string
type ListEntriesRequest ¶
type ListEntriesRequest struct { // Filters the entries returned in the response. Filter *ListEntriesRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // An output mask indicating the entry fields set in the response. OutputMask *types.EntryMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"` // The maximum number of results to return. The server may further // constrain this value, or if zero, choose its own. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous request, if any. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListEntriesRequest) Descriptor
deprecated
func (*ListEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.
func (*ListEntriesRequest) GetFilter ¶
func (x *ListEntriesRequest) GetFilter() *ListEntriesRequest_Filter
func (*ListEntriesRequest) GetOutputMask ¶
func (x *ListEntriesRequest) GetOutputMask() *types.EntryMask
func (*ListEntriesRequest) GetPageSize ¶
func (x *ListEntriesRequest) GetPageSize() int32
func (*ListEntriesRequest) GetPageToken ¶
func (x *ListEntriesRequest) GetPageToken() string
func (*ListEntriesRequest) ProtoMessage ¶
func (*ListEntriesRequest) ProtoMessage()
func (*ListEntriesRequest) ProtoReflect ¶
func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message
func (*ListEntriesRequest) Reset ¶
func (x *ListEntriesRequest) Reset()
func (*ListEntriesRequest) String ¶
func (x *ListEntriesRequest) String() string
type ListEntriesRequest_Filter ¶
type ListEntriesRequest_Filter struct { BySpiffeId *types.SPIFFEID `protobuf:"bytes,1,opt,name=by_spiffe_id,json=bySpiffeId,proto3" json:"by_spiffe_id,omitempty"` ByParentId *types.SPIFFEID `protobuf:"bytes,2,opt,name=by_parent_id,json=byParentId,proto3" json:"by_parent_id,omitempty"` BySelectors *types.SelectorMatch `protobuf:"bytes,3,opt,name=by_selectors,json=bySelectors,proto3" json:"by_selectors,omitempty"` ByFederatesWith *types.FederatesWithMatch `protobuf:"bytes,4,opt,name=by_federates_with,json=byFederatesWith,proto3" json:"by_federates_with,omitempty"` // contains filtered or unexported fields }
func (*ListEntriesRequest_Filter) Descriptor
deprecated
func (*ListEntriesRequest_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListEntriesRequest_Filter.ProtoReflect.Descriptor instead.
func (*ListEntriesRequest_Filter) GetByFederatesWith ¶
func (x *ListEntriesRequest_Filter) GetByFederatesWith() *types.FederatesWithMatch
func (*ListEntriesRequest_Filter) GetByParentId ¶
func (x *ListEntriesRequest_Filter) GetByParentId() *types.SPIFFEID
func (*ListEntriesRequest_Filter) GetBySelectors ¶
func (x *ListEntriesRequest_Filter) GetBySelectors() *types.SelectorMatch
func (*ListEntriesRequest_Filter) GetBySpiffeId ¶
func (x *ListEntriesRequest_Filter) GetBySpiffeId() *types.SPIFFEID
func (*ListEntriesRequest_Filter) ProtoMessage ¶
func (*ListEntriesRequest_Filter) ProtoMessage()
func (*ListEntriesRequest_Filter) ProtoReflect ¶
func (x *ListEntriesRequest_Filter) ProtoReflect() protoreflect.Message
func (*ListEntriesRequest_Filter) Reset ¶
func (x *ListEntriesRequest_Filter) Reset()
func (*ListEntriesRequest_Filter) String ¶
func (x *ListEntriesRequest_Filter) String() string
type ListEntriesResponse ¶
type ListEntriesResponse struct { // The list of entries. Entries []*types.Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // The page token for the next request. Empty if there are no more results. // This field should be checked by clients even when a page_size was not // requested, since the server may choose its own (see page_size). NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListEntriesResponse) Descriptor
deprecated
func (*ListEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.
func (*ListEntriesResponse) GetEntries ¶
func (x *ListEntriesResponse) GetEntries() []*types.Entry
func (*ListEntriesResponse) GetNextPageToken ¶
func (x *ListEntriesResponse) GetNextPageToken() string
func (*ListEntriesResponse) ProtoMessage ¶
func (*ListEntriesResponse) ProtoMessage()
func (*ListEntriesResponse) ProtoReflect ¶
func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message
func (*ListEntriesResponse) Reset ¶
func (x *ListEntriesResponse) Reset()
func (*ListEntriesResponse) String ¶
func (x *ListEntriesResponse) String() string
type UnimplementedEntryServer ¶
type UnimplementedEntryServer struct { }
UnimplementedEntryServer must be embedded to have forward compatible implementations.
func (UnimplementedEntryServer) BatchCreateEntry ¶
func (UnimplementedEntryServer) BatchCreateEntry(context.Context, *BatchCreateEntryRequest) (*BatchCreateEntryResponse, error)
func (UnimplementedEntryServer) BatchDeleteEntry ¶
func (UnimplementedEntryServer) BatchDeleteEntry(context.Context, *BatchDeleteEntryRequest) (*BatchDeleteEntryResponse, error)
func (UnimplementedEntryServer) BatchUpdateEntry ¶
func (UnimplementedEntryServer) BatchUpdateEntry(context.Context, *BatchUpdateEntryRequest) (*BatchUpdateEntryResponse, error)
func (UnimplementedEntryServer) CountEntries ¶
func (UnimplementedEntryServer) CountEntries(context.Context, *CountEntriesRequest) (*CountEntriesResponse, error)
func (UnimplementedEntryServer) GetAuthorizedEntries ¶
func (UnimplementedEntryServer) GetAuthorizedEntries(context.Context, *GetAuthorizedEntriesRequest) (*GetAuthorizedEntriesResponse, error)
func (UnimplementedEntryServer) GetEntry ¶
func (UnimplementedEntryServer) GetEntry(context.Context, *GetEntryRequest) (*types.Entry, error)
func (UnimplementedEntryServer) ListEntries ¶
func (UnimplementedEntryServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
type UnsafeEntryServer ¶
type UnsafeEntryServer interface {
// contains filtered or unexported methods
}
UnsafeEntryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntryServer will result in compilation errors.