bundlev1

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 31

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BatchDeleteFederatedBundleRequest_Mode_name = map[int32]string{
		0: "RESTRICT",
		1: "DELETE",
		2: "DISSOCIATE",
	}
	BatchDeleteFederatedBundleRequest_Mode_value = map[string]int32{
		"RESTRICT":   0,
		"DELETE":     1,
		"DISSOCIATE": 2,
	}
)

Enum value maps for BatchDeleteFederatedBundleRequest_Mode.

View Source
var File_spire_api_server_bundle_v1_bundle_proto protoreflect.FileDescriptor

Functions

func RegisterBundleServer

func RegisterBundleServer(s grpc.ServiceRegistrar, srv BundleServer)

Types

type AppendBundleRequest

type AppendBundleRequest struct {

	// X.509 authorities to append.
	X509Authorities []*types.X509Certificate `protobuf:"bytes,1,rep,name=x509_authorities,json=x509Authorities,proto3" json:"x509_authorities,omitempty"`
	// JWT authorities to append.
	JwtAuthorities []*types.JWTKey `protobuf:"bytes,2,rep,name=jwt_authorities,json=jwtAuthorities,proto3" json:"jwt_authorities,omitempty"`
	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,3,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*AppendBundleRequest) Descriptor deprecated

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

Deprecated: Use AppendBundleRequest.ProtoReflect.Descriptor instead.

func (*AppendBundleRequest) GetJwtAuthorities

func (x *AppendBundleRequest) GetJwtAuthorities() []*types.JWTKey

func (*AppendBundleRequest) GetOutputMask

func (x *AppendBundleRequest) GetOutputMask() *types.BundleMask

func (*AppendBundleRequest) GetX509Authorities

func (x *AppendBundleRequest) GetX509Authorities() []*types.X509Certificate

func (*AppendBundleRequest) ProtoMessage

func (*AppendBundleRequest) ProtoMessage()

func (*AppendBundleRequest) ProtoReflect

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

func (*AppendBundleRequest) Reset

func (x *AppendBundleRequest) Reset()

func (*AppendBundleRequest) String

func (x *AppendBundleRequest) String() string

type BatchCreateFederatedBundleRequest

type BatchCreateFederatedBundleRequest struct {

	// The bundles to be created.
	Bundle []*types.Bundle `protobuf:"bytes,1,rep,name=bundle,proto3" json:"bundle,omitempty"`
	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateFederatedBundleRequest) Descriptor deprecated

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

Deprecated: Use BatchCreateFederatedBundleRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateFederatedBundleRequest) GetBundle

func (*BatchCreateFederatedBundleRequest) GetOutputMask

func (*BatchCreateFederatedBundleRequest) ProtoMessage

func (*BatchCreateFederatedBundleRequest) ProtoMessage()

func (*BatchCreateFederatedBundleRequest) ProtoReflect

func (*BatchCreateFederatedBundleRequest) Reset

func (*BatchCreateFederatedBundleRequest) String

type BatchCreateFederatedBundleResponse

type BatchCreateFederatedBundleResponse struct {

	// Result for each bundle in the request (order is maintained).
	Results []*BatchCreateFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateFederatedBundleResponse) Descriptor deprecated

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

Deprecated: Use BatchCreateFederatedBundleResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateFederatedBundleResponse) GetResults

func (*BatchCreateFederatedBundleResponse) ProtoMessage

func (*BatchCreateFederatedBundleResponse) ProtoMessage()

func (*BatchCreateFederatedBundleResponse) ProtoReflect

func (*BatchCreateFederatedBundleResponse) Reset

func (*BatchCreateFederatedBundleResponse) String

type BatchCreateFederatedBundleResponse_Result

type BatchCreateFederatedBundleResponse_Result struct {

	// The status of creating the bundle.
	Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The bundle that was created. This will be set if the status is OK.
	Bundle *types.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateFederatedBundleResponse_Result) Descriptor deprecated

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

Deprecated: Use BatchCreateFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.

func (*BatchCreateFederatedBundleResponse_Result) GetBundle

func (*BatchCreateFederatedBundleResponse_Result) GetStatus

func (*BatchCreateFederatedBundleResponse_Result) ProtoMessage

func (*BatchCreateFederatedBundleResponse_Result) ProtoReflect

func (*BatchCreateFederatedBundleResponse_Result) Reset

func (*BatchCreateFederatedBundleResponse_Result) String

type BatchDeleteFederatedBundleRequest

type BatchDeleteFederatedBundleRequest struct {

	// The trust domain names (e.g., "example.org") of the bundles to delete.
	TrustDomains []string `protobuf:"bytes,1,rep,name=trust_domains,json=trustDomains,proto3" json:"trust_domains,omitempty"`
	// The deletion mode selected
	Mode BatchDeleteFederatedBundleRequest_Mode `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BatchDeleteFederatedBundleRequest) Descriptor deprecated

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

Deprecated: Use BatchDeleteFederatedBundleRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteFederatedBundleRequest) GetMode

func (*BatchDeleteFederatedBundleRequest) GetTrustDomains

func (x *BatchDeleteFederatedBundleRequest) GetTrustDomains() []string

func (*BatchDeleteFederatedBundleRequest) ProtoMessage

func (*BatchDeleteFederatedBundleRequest) ProtoMessage()

func (*BatchDeleteFederatedBundleRequest) ProtoReflect

func (*BatchDeleteFederatedBundleRequest) Reset

func (*BatchDeleteFederatedBundleRequest) String

type BatchDeleteFederatedBundleRequest_Mode

type BatchDeleteFederatedBundleRequest_Mode int32

Mode controls the delete behavior if there are other records associated with the bundle (e.g. registration entries).

const (
	// RESTRICT prevents the bundle from being deleted in the presence of associated entries
	BatchDeleteFederatedBundleRequest_RESTRICT BatchDeleteFederatedBundleRequest_Mode = 0
	// DELETE deletes the bundle and associated entries
	BatchDeleteFederatedBundleRequest_DELETE BatchDeleteFederatedBundleRequest_Mode = 1
	// DISSOCIATE deletes the bundle and dissociates associated entries
	BatchDeleteFederatedBundleRequest_DISSOCIATE BatchDeleteFederatedBundleRequest_Mode = 2
)

func (BatchDeleteFederatedBundleRequest_Mode) Descriptor

func (BatchDeleteFederatedBundleRequest_Mode) Enum

func (BatchDeleteFederatedBundleRequest_Mode) EnumDescriptor deprecated

func (BatchDeleteFederatedBundleRequest_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use BatchDeleteFederatedBundleRequest_Mode.Descriptor instead.

func (BatchDeleteFederatedBundleRequest_Mode) Number

func (BatchDeleteFederatedBundleRequest_Mode) String

func (BatchDeleteFederatedBundleRequest_Mode) Type

type BatchDeleteFederatedBundleResponse

type BatchDeleteFederatedBundleResponse struct {

	// Result for each trust domain name in the request (order is maintained).
	Results []*BatchDeleteFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchDeleteFederatedBundleResponse) Descriptor deprecated

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

Deprecated: Use BatchDeleteFederatedBundleResponse.ProtoReflect.Descriptor instead.

func (*BatchDeleteFederatedBundleResponse) GetResults

func (*BatchDeleteFederatedBundleResponse) ProtoMessage

func (*BatchDeleteFederatedBundleResponse) ProtoMessage()

func (*BatchDeleteFederatedBundleResponse) ProtoReflect

func (*BatchDeleteFederatedBundleResponse) Reset

func (*BatchDeleteFederatedBundleResponse) String

type BatchDeleteFederatedBundleResponse_Result

type BatchDeleteFederatedBundleResponse_Result struct {

	// The status of deleting the bundle.
	Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The trust domain name (e.g., "example.org") of the bundle that was
	// deleted.
	TrustDomain string `protobuf:"bytes,2,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchDeleteFederatedBundleResponse_Result) Descriptor deprecated

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

Deprecated: Use BatchDeleteFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.

func (*BatchDeleteFederatedBundleResponse_Result) GetStatus

func (*BatchDeleteFederatedBundleResponse_Result) GetTrustDomain

func (*BatchDeleteFederatedBundleResponse_Result) ProtoMessage

func (*BatchDeleteFederatedBundleResponse_Result) ProtoReflect

func (*BatchDeleteFederatedBundleResponse_Result) Reset

func (*BatchDeleteFederatedBundleResponse_Result) String

type BatchSetFederatedBundleRequest

type BatchSetFederatedBundleRequest struct {

	// The bundles to be upserted.
	Bundle []*types.Bundle `protobuf:"bytes,1,rep,name=bundle,proto3" json:"bundle,omitempty"`
	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchSetFederatedBundleRequest) Descriptor deprecated

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

Deprecated: Use BatchSetFederatedBundleRequest.ProtoReflect.Descriptor instead.

func (*BatchSetFederatedBundleRequest) GetBundle

func (x *BatchSetFederatedBundleRequest) GetBundle() []*types.Bundle

func (*BatchSetFederatedBundleRequest) GetOutputMask

func (x *BatchSetFederatedBundleRequest) GetOutputMask() *types.BundleMask

func (*BatchSetFederatedBundleRequest) ProtoMessage

func (*BatchSetFederatedBundleRequest) ProtoMessage()

func (*BatchSetFederatedBundleRequest) ProtoReflect

func (*BatchSetFederatedBundleRequest) Reset

func (x *BatchSetFederatedBundleRequest) Reset()

func (*BatchSetFederatedBundleRequest) String

type BatchSetFederatedBundleResponse

type BatchSetFederatedBundleResponse struct {

	// Result for each bundle in the request (order is maintained).
	Results []*BatchSetFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchSetFederatedBundleResponse) Descriptor deprecated

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

Deprecated: Use BatchSetFederatedBundleResponse.ProtoReflect.Descriptor instead.

func (*BatchSetFederatedBundleResponse) GetResults

func (*BatchSetFederatedBundleResponse) ProtoMessage

func (*BatchSetFederatedBundleResponse) ProtoMessage()

func (*BatchSetFederatedBundleResponse) ProtoReflect

func (*BatchSetFederatedBundleResponse) Reset

func (*BatchSetFederatedBundleResponse) String

type BatchSetFederatedBundleResponse_Result

type BatchSetFederatedBundleResponse_Result struct {

	// The status of upserting the bundle.
	Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The bundle that was upserted. This will be set if the status is OK.
	Bundle *types.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchSetFederatedBundleResponse_Result) Descriptor deprecated

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

Deprecated: Use BatchSetFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.

func (*BatchSetFederatedBundleResponse_Result) GetBundle

func (*BatchSetFederatedBundleResponse_Result) GetStatus

func (*BatchSetFederatedBundleResponse_Result) ProtoMessage

func (*BatchSetFederatedBundleResponse_Result) ProtoReflect

func (*BatchSetFederatedBundleResponse_Result) Reset

func (*BatchSetFederatedBundleResponse_Result) String

type BatchUpdateFederatedBundleRequest

type BatchUpdateFederatedBundleRequest struct {

	// The bundles to be updated.
	Bundle []*types.Bundle `protobuf:"bytes,1,rep,name=bundle,proto3" json:"bundle,omitempty"`
	// An input mask indicating which bundle fields should be updated.
	InputMask *types.BundleMask `protobuf:"bytes,2,opt,name=input_mask,json=inputMask,proto3" json:"input_mask,omitempty"`
	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,3,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchUpdateFederatedBundleRequest) Descriptor deprecated

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

Deprecated: Use BatchUpdateFederatedBundleRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateFederatedBundleRequest) GetBundle

func (*BatchUpdateFederatedBundleRequest) GetInputMask

func (*BatchUpdateFederatedBundleRequest) GetOutputMask

func (*BatchUpdateFederatedBundleRequest) ProtoMessage

func (*BatchUpdateFederatedBundleRequest) ProtoMessage()

func (*BatchUpdateFederatedBundleRequest) ProtoReflect

func (*BatchUpdateFederatedBundleRequest) Reset

func (*BatchUpdateFederatedBundleRequest) String

type BatchUpdateFederatedBundleResponse

type BatchUpdateFederatedBundleResponse struct {

	// Result for each bundle in the request (order is maintained).
	Results []*BatchUpdateFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchUpdateFederatedBundleResponse) Descriptor deprecated

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

Deprecated: Use BatchUpdateFederatedBundleResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateFederatedBundleResponse) GetResults

func (*BatchUpdateFederatedBundleResponse) ProtoMessage

func (*BatchUpdateFederatedBundleResponse) ProtoMessage()

func (*BatchUpdateFederatedBundleResponse) ProtoReflect

func (*BatchUpdateFederatedBundleResponse) Reset

func (*BatchUpdateFederatedBundleResponse) String

type BatchUpdateFederatedBundleResponse_Result

type BatchUpdateFederatedBundleResponse_Result struct {

	// The status of updating the bundle.
	Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The bundle that was updated. This will be set if the status is OK.
	Bundle *types.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchUpdateFederatedBundleResponse_Result) Descriptor deprecated

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

Deprecated: Use BatchUpdateFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.

func (*BatchUpdateFederatedBundleResponse_Result) GetBundle

func (*BatchUpdateFederatedBundleResponse_Result) GetStatus

func (*BatchUpdateFederatedBundleResponse_Result) ProtoMessage

func (*BatchUpdateFederatedBundleResponse_Result) ProtoReflect

func (*BatchUpdateFederatedBundleResponse_Result) Reset

func (*BatchUpdateFederatedBundleResponse_Result) String

type BundleClient

type BundleClient interface {
	// Count bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	CountBundles(ctx context.Context, in *CountBundlesRequest, opts ...grpc.CallOption) (*CountBundlesResponse, error)
	// Gets the bundle for the trust domain of the server.
	//
	// The RPC does not require authentication.
	GetBundle(ctx context.Context, in *GetBundleRequest, opts ...grpc.CallOption) (*types.Bundle, error)
	// Append to the bundle. Items specified in the bundle in the request are
	// appended to the existing bundle. If the bundle does not exist, NOT_FOUND
	// is returned. This is the only RPC that can be used to update the
	// bundle for the trust domain of the SPIRE server.
	//
	// The caller must be local or present an admin X509-SVID.
	AppendBundle(ctx context.Context, in *AppendBundleRequest, opts ...grpc.CallOption) (*types.Bundle, error)
	// Publishes a downstream JWT authority to the SPIRE server. If the server
	// is itself a downstream server (i.e. configured with an UpstreamAuthority
	// plugin), the JWT authority is published further upstream using the
	// UpstreamAuthority plugin. If the server is not a downstream server, or
	// if the UpstreamAuthority does not support publishing JWT authorities,
	// the server appends the JWT authority to its own bundle.
	//
	// The caller must present a downstream X509-SVID.
	PublishJWTAuthority(ctx context.Context, in *PublishJWTAuthorityRequest, opts ...grpc.CallOption) (*PublishJWTAuthorityResponse, error)
	// Lists federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	ListFederatedBundles(ctx context.Context, in *ListFederatedBundlesRequest, opts ...grpc.CallOption) (*ListFederatedBundlesResponse, error)
	// Gets a federated bundle. If the bundle does not exist, NOT_FOUND is returned.
	//
	// The caller must be local or present an admin or an active agent X509-SVID.
	GetFederatedBundle(ctx context.Context, in *GetFederatedBundleRequest, opts ...grpc.CallOption) (*types.Bundle, error)
	// Batch creates one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchCreateFederatedBundle(ctx context.Context, in *BatchCreateFederatedBundleRequest, opts ...grpc.CallOption) (*BatchCreateFederatedBundleResponse, error)
	// Batch updates one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchUpdateFederatedBundle(ctx context.Context, in *BatchUpdateFederatedBundleRequest, opts ...grpc.CallOption) (*BatchUpdateFederatedBundleResponse, error)
	// Batch upserts one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchSetFederatedBundle(ctx context.Context, in *BatchSetFederatedBundleRequest, opts ...grpc.CallOption) (*BatchSetFederatedBundleResponse, error)
	// Batch deletes one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchDeleteFederatedBundle(ctx context.Context, in *BatchDeleteFederatedBundleRequest, opts ...grpc.CallOption) (*BatchDeleteFederatedBundleResponse, error)
}

BundleClient is the client API for Bundle 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 NewBundleClient

func NewBundleClient(cc grpc.ClientConnInterface) BundleClient

type BundleServer

type BundleServer interface {
	// Count bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	CountBundles(context.Context, *CountBundlesRequest) (*CountBundlesResponse, error)
	// Gets the bundle for the trust domain of the server.
	//
	// The RPC does not require authentication.
	GetBundle(context.Context, *GetBundleRequest) (*types.Bundle, error)
	// Append to the bundle. Items specified in the bundle in the request are
	// appended to the existing bundle. If the bundle does not exist, NOT_FOUND
	// is returned. This is the only RPC that can be used to update the
	// bundle for the trust domain of the SPIRE server.
	//
	// The caller must be local or present an admin X509-SVID.
	AppendBundle(context.Context, *AppendBundleRequest) (*types.Bundle, error)
	// Publishes a downstream JWT authority to the SPIRE server. If the server
	// is itself a downstream server (i.e. configured with an UpstreamAuthority
	// plugin), the JWT authority is published further upstream using the
	// UpstreamAuthority plugin. If the server is not a downstream server, or
	// if the UpstreamAuthority does not support publishing JWT authorities,
	// the server appends the JWT authority to its own bundle.
	//
	// The caller must present a downstream X509-SVID.
	PublishJWTAuthority(context.Context, *PublishJWTAuthorityRequest) (*PublishJWTAuthorityResponse, error)
	// Lists federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	ListFederatedBundles(context.Context, *ListFederatedBundlesRequest) (*ListFederatedBundlesResponse, error)
	// Gets a federated bundle. If the bundle does not exist, NOT_FOUND is returned.
	//
	// The caller must be local or present an admin or an active agent X509-SVID.
	GetFederatedBundle(context.Context, *GetFederatedBundleRequest) (*types.Bundle, error)
	// Batch creates one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchCreateFederatedBundle(context.Context, *BatchCreateFederatedBundleRequest) (*BatchCreateFederatedBundleResponse, error)
	// Batch updates one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchUpdateFederatedBundle(context.Context, *BatchUpdateFederatedBundleRequest) (*BatchUpdateFederatedBundleResponse, error)
	// Batch upserts one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchSetFederatedBundle(context.Context, *BatchSetFederatedBundleRequest) (*BatchSetFederatedBundleResponse, error)
	// Batch deletes one or more federated bundles.
	//
	// The caller must be local or present an admin X509-SVID.
	BatchDeleteFederatedBundle(context.Context, *BatchDeleteFederatedBundleRequest) (*BatchDeleteFederatedBundleResponse, error)
	// contains filtered or unexported methods
}

BundleServer is the server API for Bundle service. All implementations must embed UnimplementedBundleServer for forward compatibility

type CountBundlesRequest

type CountBundlesRequest struct {
	// contains filtered or unexported fields
}

func (*CountBundlesRequest) Descriptor deprecated

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

Deprecated: Use CountBundlesRequest.ProtoReflect.Descriptor instead.

func (*CountBundlesRequest) ProtoMessage

func (*CountBundlesRequest) ProtoMessage()

func (*CountBundlesRequest) ProtoReflect

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

func (*CountBundlesRequest) Reset

func (x *CountBundlesRequest) Reset()

func (*CountBundlesRequest) String

func (x *CountBundlesRequest) String() string

type CountBundlesResponse

type CountBundlesResponse struct {

	// The total number of bundles, including the server bundle.
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*CountBundlesResponse) Descriptor deprecated

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

Deprecated: Use CountBundlesResponse.ProtoReflect.Descriptor instead.

func (*CountBundlesResponse) GetCount

func (x *CountBundlesResponse) GetCount() int32

func (*CountBundlesResponse) ProtoMessage

func (*CountBundlesResponse) ProtoMessage()

func (*CountBundlesResponse) ProtoReflect

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

func (*CountBundlesResponse) Reset

func (x *CountBundlesResponse) Reset()

func (*CountBundlesResponse) String

func (x *CountBundlesResponse) String() string

type GetBundleRequest

type GetBundleRequest struct {

	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,1,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBundleRequest) Descriptor deprecated

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

Deprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead.

func (*GetBundleRequest) GetOutputMask

func (x *GetBundleRequest) GetOutputMask() *types.BundleMask

func (*GetBundleRequest) ProtoMessage

func (*GetBundleRequest) ProtoMessage()

func (*GetBundleRequest) ProtoReflect

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

func (*GetBundleRequest) Reset

func (x *GetBundleRequest) Reset()

func (*GetBundleRequest) String

func (x *GetBundleRequest) String() string

type GetFederatedBundleRequest

type GetFederatedBundleRequest struct {

	// Required. The trust domain name of the bundle (e.g., "example.org").
	TrustDomain string `protobuf:"bytes,1,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFederatedBundleRequest) Descriptor deprecated

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

Deprecated: Use GetFederatedBundleRequest.ProtoReflect.Descriptor instead.

func (*GetFederatedBundleRequest) GetOutputMask

func (x *GetFederatedBundleRequest) GetOutputMask() *types.BundleMask

func (*GetFederatedBundleRequest) GetTrustDomain

func (x *GetFederatedBundleRequest) GetTrustDomain() string

func (*GetFederatedBundleRequest) ProtoMessage

func (*GetFederatedBundleRequest) ProtoMessage()

func (*GetFederatedBundleRequest) ProtoReflect

func (*GetFederatedBundleRequest) Reset

func (x *GetFederatedBundleRequest) Reset()

func (*GetFederatedBundleRequest) String

func (x *GetFederatedBundleRequest) String() string

type ListFederatedBundlesRequest

type ListFederatedBundlesRequest struct {

	// An output mask indicating which bundle fields are set in the response.
	OutputMask *types.BundleMask `protobuf:"bytes,1,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,2,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,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFederatedBundlesRequest) Descriptor deprecated

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

Deprecated: Use ListFederatedBundlesRequest.ProtoReflect.Descriptor instead.

func (*ListFederatedBundlesRequest) GetOutputMask

func (x *ListFederatedBundlesRequest) GetOutputMask() *types.BundleMask

func (*ListFederatedBundlesRequest) GetPageSize

func (x *ListFederatedBundlesRequest) GetPageSize() int32

func (*ListFederatedBundlesRequest) GetPageToken

func (x *ListFederatedBundlesRequest) GetPageToken() string

func (*ListFederatedBundlesRequest) ProtoMessage

func (*ListFederatedBundlesRequest) ProtoMessage()

func (*ListFederatedBundlesRequest) ProtoReflect

func (*ListFederatedBundlesRequest) Reset

func (x *ListFederatedBundlesRequest) Reset()

func (*ListFederatedBundlesRequest) String

func (x *ListFederatedBundlesRequest) String() string

type ListFederatedBundlesResponse

type ListFederatedBundlesResponse struct {

	// The bundles.
	Bundles []*types.Bundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,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 (*ListFederatedBundlesResponse) Descriptor deprecated

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

Deprecated: Use ListFederatedBundlesResponse.ProtoReflect.Descriptor instead.

func (*ListFederatedBundlesResponse) GetBundles

func (x *ListFederatedBundlesResponse) GetBundles() []*types.Bundle

func (*ListFederatedBundlesResponse) GetNextPageToken

func (x *ListFederatedBundlesResponse) GetNextPageToken() string

func (*ListFederatedBundlesResponse) ProtoMessage

func (*ListFederatedBundlesResponse) ProtoMessage()

func (*ListFederatedBundlesResponse) ProtoReflect

func (*ListFederatedBundlesResponse) Reset

func (x *ListFederatedBundlesResponse) Reset()

func (*ListFederatedBundlesResponse) String

type PublishJWTAuthorityRequest

type PublishJWTAuthorityRequest struct {

	// Required. The JWT authority to publish.
	JwtAuthority *types.JWTKey `protobuf:"bytes,1,opt,name=jwt_authority,json=jwtAuthority,proto3" json:"jwt_authority,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishJWTAuthorityRequest) Descriptor deprecated

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

Deprecated: Use PublishJWTAuthorityRequest.ProtoReflect.Descriptor instead.

func (*PublishJWTAuthorityRequest) GetJwtAuthority

func (x *PublishJWTAuthorityRequest) GetJwtAuthority() *types.JWTKey

func (*PublishJWTAuthorityRequest) ProtoMessage

func (*PublishJWTAuthorityRequest) ProtoMessage()

func (*PublishJWTAuthorityRequest) ProtoReflect

func (*PublishJWTAuthorityRequest) Reset

func (x *PublishJWTAuthorityRequest) Reset()

func (*PublishJWTAuthorityRequest) String

func (x *PublishJWTAuthorityRequest) String() string

type PublishJWTAuthorityResponse

type PublishJWTAuthorityResponse struct {

	// The JWT authorities for the trust domain.
	JwtAuthorities []*types.JWTKey `protobuf:"bytes,1,rep,name=jwt_authorities,json=jwtAuthorities,proto3" json:"jwt_authorities,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishJWTAuthorityResponse) Descriptor deprecated

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

Deprecated: Use PublishJWTAuthorityResponse.ProtoReflect.Descriptor instead.

func (*PublishJWTAuthorityResponse) GetJwtAuthorities

func (x *PublishJWTAuthorityResponse) GetJwtAuthorities() []*types.JWTKey

func (*PublishJWTAuthorityResponse) ProtoMessage

func (*PublishJWTAuthorityResponse) ProtoMessage()

func (*PublishJWTAuthorityResponse) ProtoReflect

func (*PublishJWTAuthorityResponse) Reset

func (x *PublishJWTAuthorityResponse) Reset()

func (*PublishJWTAuthorityResponse) String

func (x *PublishJWTAuthorityResponse) String() string

type UnimplementedBundleServer

type UnimplementedBundleServer struct {
}

UnimplementedBundleServer must be embedded to have forward compatible implementations.

func (UnimplementedBundleServer) AppendBundle

func (UnimplementedBundleServer) CountBundles

func (UnimplementedBundleServer) GetBundle

func (UnimplementedBundleServer) GetFederatedBundle

type UnsafeBundleServer

type UnsafeBundleServer interface {
	// contains filtered or unexported methods
}

UnsafeBundleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BundleServer will result in compilation errors.

Jump to

Keyboard shortcuts

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