entryv1

package
v1.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

View Source
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. If no entry ID is provided, one will be
	// generated.
	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 (*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 (*BatchCreateEntryResponse_Result) GetStatus

func (*BatchCreateEntryResponse_Result) ProtoMessage

func (*BatchCreateEntryResponse_Result) ProtoMessage()

func (*BatchCreateEntryResponse_Result) ProtoReflect

func (*BatchCreateEntryResponse_Result) Reset

func (*BatchCreateEntryResponse_Result) 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 (*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 (*BatchDeleteEntryResponse_Result) GetStatus

func (*BatchDeleteEntryResponse_Result) ProtoMessage

func (*BatchDeleteEntryResponse_Result) ProtoMessage()

func (*BatchDeleteEntryResponse_Result) ProtoReflect

func (*BatchDeleteEntryResponse_Result) Reset

func (*BatchDeleteEntryResponse_Result) 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 (*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 (*BatchUpdateEntryResponse_Result) GetStatus

func (*BatchUpdateEntryResponse_Result) ProtoMessage

func (*BatchUpdateEntryResponse_Result) ProtoMessage()

func (*BatchUpdateEntryResponse_Result) ProtoReflect

func (*BatchUpdateEntryResponse_Result) Reset

func (*BatchUpdateEntryResponse_Result) 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)
	// Syncs authorized entries down to the caller. The caller controls which
	// entries the server sends down full details for. The flow is as follows:
	// 1. Caller opens up sync stream
	// 2. Server determines authorized entries for caller:
	//    - If there are less entries than a server-determined page size, go to (5).
	//    - Otherwise, go to (3).
	// 3. Server pages entry revisions to the caller (contains the entry ID and
	//    revision number). The "more" flag set for all pages but the last so
	//    that the caller knows when the server is done.
	// 4. Client determines which entries are new or updated (based on revision
	//    number) and asks for them by sending a request with the IDs.
	// 5. Server pages down entries to the caller for each ID identified in (4)
	//    or every entry in (2) if the number of entries was less than the
	//    server-determined page size. The "more" flag set for all pages but
	//    the last so that the caller knows when the server is done.
	// 6. Steps (4) and (5) are repeated until the caller has synced down the
	//    details for all new/updated entries and closes the stream.
	SyncAuthorizedEntries(ctx context.Context, opts ...grpc.CallOption) (Entry_SyncAuthorizedEntriesClient, 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 EntryRevision added in v1.8.7

type EntryRevision struct {

	// The entry ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The entry revision number.
	RevisionNumber int64 `protobuf:"varint,2,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryRevision) Descriptor deprecated added in v1.8.7

func (*EntryRevision) Descriptor() ([]byte, []int)

Deprecated: Use EntryRevision.ProtoReflect.Descriptor instead.

func (*EntryRevision) GetId added in v1.8.7

func (x *EntryRevision) GetId() string

func (*EntryRevision) GetRevisionNumber added in v1.8.7

func (x *EntryRevision) GetRevisionNumber() int64

func (*EntryRevision) ProtoMessage added in v1.8.7

func (*EntryRevision) ProtoMessage()

func (*EntryRevision) ProtoReflect added in v1.8.7

func (x *EntryRevision) ProtoReflect() protoreflect.Message

func (*EntryRevision) Reset added in v1.8.7

func (x *EntryRevision) Reset()

func (*EntryRevision) String added in v1.8.7

func (x *EntryRevision) String() string

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)
	// Syncs authorized entries down to the caller. The caller controls which
	// entries the server sends down full details for. The flow is as follows:
	// 1. Caller opens up sync stream
	// 2. Server determines authorized entries for caller:
	//    - If there are less entries than a server-determined page size, go to (5).
	//    - Otherwise, go to (3).
	// 3. Server pages entry revisions to the caller (contains the entry ID and
	//    revision number). The "more" flag set for all pages but the last so
	//    that the caller knows when the server is done.
	// 4. Client determines which entries are new or updated (based on revision
	//    number) and asks for them by sending a request with the IDs.
	// 5. Server pages down entries to the caller for each ID identified in (4)
	//    or every entry in (2) if the number of entries was less than the
	//    server-determined page size. The "more" flag set for all pages but
	//    the last so that the caller knows when the server is done.
	// 6. Steps (4) and (5) are repeated until the caller has synced down the
	//    details for all new/updated entries and closes the stream.
	SyncAuthorizedEntries(Entry_SyncAuthorizedEntriesServer) error
	// contains filtered or unexported methods
}

EntryServer is the server API for Entry service. All implementations must embed UnimplementedEntryServer for forward compatibility

type Entry_SyncAuthorizedEntriesClient added in v1.8.7

type Entry_SyncAuthorizedEntriesClient interface {
	Send(*SyncAuthorizedEntriesRequest) error
	Recv() (*SyncAuthorizedEntriesResponse, error)
	grpc.ClientStream
}

type Entry_SyncAuthorizedEntriesServer added in v1.8.7

type Entry_SyncAuthorizedEntriesServer interface {
	Send(*SyncAuthorizedEntriesResponse) error
	Recv() (*SyncAuthorizedEntriesRequest, error)
	grpc.ServerStream
}

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 (*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 (*GetAuthorizedEntriesResponse) Reset

func (x *GetAuthorizedEntriesResponse) Reset()

func (*GetAuthorizedEntriesResponse) 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 (*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"`
	ByHint          *wrapperspb.StringValue   `protobuf:"bytes,5,opt,name=by_hint,json=byHint,proto3" json:"by_hint,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) GetByHint added in v1.6.3

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 (*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 SyncAuthorizedEntriesRequest added in v1.8.7

type SyncAuthorizedEntriesRequest 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"`
	// IDs of the entries to fetch in full. Sent by the client in response to
	// a sparse entry.
	Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncAuthorizedEntriesRequest) Descriptor deprecated added in v1.8.7

func (*SyncAuthorizedEntriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SyncAuthorizedEntriesRequest.ProtoReflect.Descriptor instead.

func (*SyncAuthorizedEntriesRequest) GetIds added in v1.8.7

func (x *SyncAuthorizedEntriesRequest) GetIds() []string

func (*SyncAuthorizedEntriesRequest) GetOutputMask added in v1.8.7

func (x *SyncAuthorizedEntriesRequest) GetOutputMask() *types.EntryMask

func (*SyncAuthorizedEntriesRequest) ProtoMessage added in v1.8.7

func (*SyncAuthorizedEntriesRequest) ProtoMessage()

func (*SyncAuthorizedEntriesRequest) ProtoReflect added in v1.8.7

func (*SyncAuthorizedEntriesRequest) Reset added in v1.8.7

func (x *SyncAuthorizedEntriesRequest) Reset()

func (*SyncAuthorizedEntriesRequest) String added in v1.8.7

type SyncAuthorizedEntriesResponse added in v1.8.7

type SyncAuthorizedEntriesResponse struct {

	// The revisions of the authorized entries. This field is set when the
	// authorized entry list meets or exceeds the server-determined page size.
	// Callers use it to determine which entries are new/updated that they then
	// request on the stream.
	// See SyncAuthorizedEntries for details.
	EntryRevisions []*EntryRevision `protobuf:"bytes,1,rep,name=entry_revisions,json=entryRevisions,proto3" json:"entry_revisions,omitempty"`
	// The authorized entries. This field is set either 1) on the initial
	// response if the number of authorized entries is less than the page size
	// or 2) in response to the caller requesting the entries after determining
	// they need to details based on entry revisions provided in a previous
	// response.
	// See SyncAuthorizedEntries for details.
	Entries []*types.Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// Whether there are more entries to sync down in this response phase.
	More bool `protobuf:"varint,3,opt,name=more,proto3" json:"more,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncAuthorizedEntriesResponse) Descriptor deprecated added in v1.8.7

func (*SyncAuthorizedEntriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SyncAuthorizedEntriesResponse.ProtoReflect.Descriptor instead.

func (*SyncAuthorizedEntriesResponse) GetEntries added in v1.8.7

func (x *SyncAuthorizedEntriesResponse) GetEntries() []*types.Entry

func (*SyncAuthorizedEntriesResponse) GetEntryRevisions added in v1.8.7

func (x *SyncAuthorizedEntriesResponse) GetEntryRevisions() []*EntryRevision

func (*SyncAuthorizedEntriesResponse) GetMore added in v1.8.7

func (x *SyncAuthorizedEntriesResponse) GetMore() bool

func (*SyncAuthorizedEntriesResponse) ProtoMessage added in v1.8.7

func (*SyncAuthorizedEntriesResponse) ProtoMessage()

func (*SyncAuthorizedEntriesResponse) ProtoReflect added in v1.8.7

func (*SyncAuthorizedEntriesResponse) Reset added in v1.8.7

func (x *SyncAuthorizedEntriesResponse) Reset()

func (*SyncAuthorizedEntriesResponse) String added in v1.8.7

type UnimplementedEntryServer

type UnimplementedEntryServer struct {
}

UnimplementedEntryServer must be embedded to have forward compatible implementations.

func (UnimplementedEntryServer) BatchCreateEntry

func (UnimplementedEntryServer) BatchDeleteEntry

func (UnimplementedEntryServer) BatchUpdateEntry

func (UnimplementedEntryServer) CountEntries

func (UnimplementedEntryServer) GetEntry

func (UnimplementedEntryServer) ListEntries

func (UnimplementedEntryServer) SyncAuthorizedEntries added in v1.8.7

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL