mirror of
https://github.com/hanzoai/ca.git
synced 2026-11-03 18:08:27 +00:00
592 lines
20 KiB
Go
592 lines
20 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.12
|
|
// protoc v7.36.2
|
|
// source: admin.proto
|
|
|
|
package privpb
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
|
|
_ "github.com/effective-security/protoc-gen-go/api"
|
|
pb "github.com/effective-security/trustyca/api/pb"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
_ "google.golang.org/protobuf/types/known/emptypb"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// ListOrgsRequest specifies list orgs request
|
|
type ListOrgsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Limit specifies maximum number of records to return
|
|
Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
// Offset specifies offset for the offset-based pagination.
|
|
// Which is limited to 10000.
|
|
// To paginate for large number of records, use cursor-based pagination
|
|
// instead.
|
|
Offset uint32 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
|
|
// Cursor specifies cursor for the cursor-based pagination.
|
|
// Use "initial" to start the pagination or pass the cursor returned from
|
|
// the previous request.
|
|
Cursor string `protobuf:"bytes,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
|
|
// Status specifies on optional status of the item to filter by.
|
|
// If not specified, all items will be listed.
|
|
Status pb.ItemStatus_Enum `protobuf:"varint,4,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListOrgsRequest) Reset() {
|
|
*x = ListOrgsRequest{}
|
|
mi := &file_admin_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListOrgsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOrgsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListOrgsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOrgsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListOrgsRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ListOrgsRequest) GetLimit() uint32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListOrgsRequest) GetOffset() uint32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListOrgsRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListOrgsRequest) GetStatus() pb.ItemStatus_Enum {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return pb.ItemStatus_Enum(0)
|
|
}
|
|
|
|
// ListProjectsRequest specifies list projects request
|
|
type ListProjectsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Limit specifies maximum number of records to return
|
|
Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
// Offset specifies offset for the offset-based pagination.
|
|
// Which is limited to 10000.
|
|
// To paginate for large number of records, use cursor-based pagination
|
|
// instead.
|
|
Offset uint32 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
|
|
// Cursor specifies cursor for the cursor-based pagination.
|
|
// Use "initial" to start the pagination or pass the cursor returned from
|
|
// the previous request.
|
|
Cursor string `protobuf:"bytes,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
|
|
// Status specifies on optional status of the item to filter by.
|
|
// If not specified, all items will be listed.
|
|
Status pb.ItemStatus_Enum `protobuf:"varint,4,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
|
|
// OrgID specifies optional org ID to filter by.
|
|
OrgID string `protobuf:"bytes,5,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListProjectsRequest) Reset() {
|
|
*x = ListProjectsRequest{}
|
|
mi := &file_admin_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListProjectsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListProjectsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListProjectsRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListProjectsRequest) GetLimit() uint32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListProjectsRequest) GetOffset() uint32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListProjectsRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListProjectsRequest) GetStatus() pb.ItemStatus_Enum {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return pb.ItemStatus_Enum(0)
|
|
}
|
|
|
|
func (x *ListProjectsRequest) GetOrgID() string {
|
|
if x != nil {
|
|
return x.OrgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// ListAllIssuersRequest specifies a paginated list of issuers across orgs
|
|
type ListAllIssuersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Limit specifies maximum number of records to return
|
|
Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
// Offset specifies offset for the offset-based pagination
|
|
Offset uint32 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
|
|
// Cursor specifies cursor for the cursor-based pagination.
|
|
// Use "initial" to start the pagination or pass the cursor returned from
|
|
// the previous request.
|
|
Cursor string `protobuf:"bytes,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
|
|
// OrgID limits the result to the org. Empty lists the issuers of every
|
|
// org and of the platform, or of the platform only with Platform.
|
|
OrgID string `protobuf:"bytes,4,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
|
|
// Platform limits the result to the platform issuers (no org) when
|
|
// OrgID is empty
|
|
Platform bool `protobuf:"varint,5,opt,name=Platform,proto3" json:"Platform,omitempty"`
|
|
// ProjectID limits the result to the project; used with OrgID
|
|
ProjectID string `protobuf:"bytes,6,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
|
|
// Label limits the result to the issuers with the label, in every scope
|
|
// the list covers
|
|
Label string `protobuf:"bytes,7,opt,name=Label,proto3" json:"Label,omitempty"`
|
|
// Status filters by lifecycle status; Unknown returns all
|
|
Status pb.IssuerStatus_Enum `protobuf:"varint,8,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
|
|
// Type filters by authority type; Unknown returns all
|
|
Type pb.AuthorityType_Enum `protobuf:"varint,9,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
|
|
// IDs limits the result to the issuers with the IDs, at most 500
|
|
IDs []string `protobuf:"bytes,10,rep,name=IDs,proto3" json:"IDs,omitempty"`
|
|
// IKIDs limits the result to the issuers with the key identifiers (the
|
|
// SKID of the issuer, the IKID of the certificates it issued), at most
|
|
// 500
|
|
IKIDs []string `protobuf:"bytes,11,rep,name=IKIDs,proto3" json:"IKIDs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) Reset() {
|
|
*x = ListAllIssuersRequest{}
|
|
mi := &file_admin_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAllIssuersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListAllIssuersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAllIssuersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListAllIssuersRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetLimit() uint32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetOffset() uint32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetOrgID() string {
|
|
if x != nil {
|
|
return x.OrgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetPlatform() bool {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetProjectID() string {
|
|
if x != nil {
|
|
return x.ProjectID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetStatus() pb.IssuerStatus_Enum {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return pb.IssuerStatus_Enum(0)
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetType() pb.AuthorityType_Enum {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return pb.AuthorityType_Enum(0)
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetIDs() []string {
|
|
if x != nil {
|
|
return x.IDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListAllIssuersRequest) GetIKIDs() []string {
|
|
if x != nil {
|
|
return x.IKIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ListAllCertificatesRequest specifies a paginated list of certificates across
|
|
// orgs, newest first
|
|
type ListAllCertificatesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Limit specifies maximum number of records to return
|
|
Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
// Offset specifies offset for the offset-based pagination
|
|
Offset uint32 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
|
|
// Cursor specifies cursor for the cursor-based pagination.
|
|
// Use "initial" to start the pagination or pass the cursor returned from
|
|
// the previous request.
|
|
Cursor string `protobuf:"bytes,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
|
|
// OrgID limits the result to the org. Empty lists the certificates of
|
|
// every org and of the platform, or of the platform only with Platform.
|
|
OrgID string `protobuf:"bytes,4,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
|
|
// Platform limits the result to the platform certificates (no org) when
|
|
// OrgID is empty
|
|
Platform bool `protobuf:"varint,5,opt,name=Platform,proto3" json:"Platform,omitempty"`
|
|
// ProjectID limits the result to the project; used with OrgID
|
|
ProjectID string `protobuf:"bytes,6,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
|
|
// IKID filters by issuer
|
|
IKID string `protobuf:"bytes,7,opt,name=IKID,proto3" json:"IKID,omitempty"`
|
|
// Profile filters by profile label
|
|
Profile string `protobuf:"bytes,8,opt,name=Profile,proto3" json:"Profile,omitempty"`
|
|
// Status filters by status; Unknown returns all
|
|
Status pb.CertificateStatus_Enum `protobuf:"varint,9,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
|
|
// ExpiringBefore filters certificates with NotAfter before the time,
|
|
// in RFC3339 format
|
|
ExpiringBefore string `protobuf:"bytes,10,opt,name=ExpiringBefore,proto3" json:"ExpiringBefore,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) Reset() {
|
|
*x = ListAllCertificatesRequest{}
|
|
mi := &file_admin_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAllCertificatesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListAllCertificatesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAllCertificatesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListAllCertificatesRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetLimit() uint32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetOffset() uint32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetOrgID() string {
|
|
if x != nil {
|
|
return x.OrgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetPlatform() bool {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetProjectID() string {
|
|
if x != nil {
|
|
return x.ProjectID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetIKID() string {
|
|
if x != nil {
|
|
return x.IKID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetProfile() string {
|
|
if x != nil {
|
|
return x.Profile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetStatus() pb.CertificateStatus_Enum {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return pb.CertificateStatus_Enum(0)
|
|
}
|
|
|
|
func (x *ListAllCertificatesRequest) GetExpiringBefore() string {
|
|
if x != nil {
|
|
return x.ExpiringBefore
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_admin_proto protoreflect.FileDescriptor
|
|
|
|
const file_admin_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\vadmin.proto\x12\x06privpb\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x18es/api/annotations.proto\x1a\vtypes.proto\x1a\n" +
|
|
"orgs.proto\x1a\n" +
|
|
"pkix.proto\x1a\bca.proto\"\x84\x01\n" +
|
|
"\x0fListOrgsRequest\x12\x14\n" +
|
|
"\x05Limit\x18\x01 \x01(\rR\x05Limit\x12\x16\n" +
|
|
"\x06Offset\x18\x02 \x01(\rR\x06Offset\x12\x16\n" +
|
|
"\x06Cursor\x18\x03 \x01(\tR\x06Cursor\x12+\n" +
|
|
"\x06Status\x18\x04 \x01(\x0e2\x13.pb.ItemStatus.EnumR\x06Status\"\x9e\x01\n" +
|
|
"\x13ListProjectsRequest\x12\x14\n" +
|
|
"\x05Limit\x18\x01 \x01(\rR\x05Limit\x12\x16\n" +
|
|
"\x06Offset\x18\x02 \x01(\rR\x06Offset\x12\x16\n" +
|
|
"\x06Cursor\x18\x03 \x01(\tR\x06Cursor\x12+\n" +
|
|
"\x06Status\x18\x04 \x01(\x0e2\x13.pb.ItemStatus.EnumR\x06Status\x12\x14\n" +
|
|
"\x05OrgID\x18\x05 \x01(\tR\x05OrgID\"\xc6\x02\n" +
|
|
"\x15ListAllIssuersRequest\x12\x14\n" +
|
|
"\x05Limit\x18\x01 \x01(\rR\x05Limit\x12\x16\n" +
|
|
"\x06Offset\x18\x02 \x01(\rR\x06Offset\x12\x16\n" +
|
|
"\x06Cursor\x18\x03 \x01(\tR\x06Cursor\x12\x14\n" +
|
|
"\x05OrgID\x18\x04 \x01(\tR\x05OrgID\x12\x1a\n" +
|
|
"\bPlatform\x18\x05 \x01(\bR\bPlatform\x12\x1c\n" +
|
|
"\tProjectID\x18\x06 \x01(\tR\tProjectID\x12\x14\n" +
|
|
"\x05Label\x18\a \x01(\tR\x05Label\x12-\n" +
|
|
"\x06Status\x18\b \x01(\x0e2\x15.pb.IssuerStatus.EnumR\x06Status\x12*\n" +
|
|
"\x04Type\x18\t \x01(\x0e2\x16.pb.AuthorityType.EnumR\x04Type\x12\x10\n" +
|
|
"\x03IDs\x18\n" +
|
|
" \x03(\tR\x03IDs\x12\x14\n" +
|
|
"\x05IKIDs\x18\v \x03(\tR\x05IKIDs\"\xbc\x02\n" +
|
|
"\x1aListAllCertificatesRequest\x12\x14\n" +
|
|
"\x05Limit\x18\x01 \x01(\rR\x05Limit\x12\x16\n" +
|
|
"\x06Offset\x18\x02 \x01(\rR\x06Offset\x12\x16\n" +
|
|
"\x06Cursor\x18\x03 \x01(\tR\x06Cursor\x12\x14\n" +
|
|
"\x05OrgID\x18\x04 \x01(\tR\x05OrgID\x12\x1a\n" +
|
|
"\bPlatform\x18\x05 \x01(\bR\bPlatform\x12\x1c\n" +
|
|
"\tProjectID\x18\x06 \x01(\tR\tProjectID\x12\x12\n" +
|
|
"\x04IKID\x18\a \x01(\tR\x04IKID\x12\x18\n" +
|
|
"\aProfile\x18\b \x01(\tR\aProfile\x122\n" +
|
|
"\x06Status\x18\t \x01(\x0e2\x1a.pb.CertificateStatus.EnumR\x06Status\x12&\n" +
|
|
"\x0eExpiringBefore\x18\n" +
|
|
" \x01(\tR\x0eExpiringBefore2\xec\x03\n" +
|
|
"\x05Admin\x12c\n" +
|
|
"\bListOrgs\x12\x17.privpb.ListOrgsRequest\x1a\x10.pb.OrgsResponse\",\x82C\borg list\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/privpb.Admin/ListOrgs\x12w\n" +
|
|
"\fListProjects\x12\x1b.privpb.ListProjectsRequest\x1a\x14.pb.ProjectsResponse\"4\x82C\fproject list\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/privpb.Admin/ListProjects\x12x\n" +
|
|
"\vListIssuers\x12\x1d.privpb.ListAllIssuersRequest\x1a\x13.pb.IssuersResponse\"5\x82C\x0eca issuer list\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/privpb.Admin/ListIssuers\x12\x8a\x01\n" +
|
|
"\x10ListCertificates\x12\".privpb.ListAllCertificatesRequest\x1a\x18.pb.CertificatesResponse\"8\x82C\fca cert list\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/privpb.Admin/ListCertificatesB/Z-github.com/effective-security/trustyca/privpbb\x06proto3"
|
|
|
|
var (
|
|
file_admin_proto_rawDescOnce sync.Once
|
|
file_admin_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_admin_proto_rawDescGZIP() []byte {
|
|
file_admin_proto_rawDescOnce.Do(func() {
|
|
file_admin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_admin_proto_rawDesc), len(file_admin_proto_rawDesc)))
|
|
})
|
|
return file_admin_proto_rawDescData
|
|
}
|
|
|
|
var file_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_admin_proto_goTypes = []any{
|
|
(*ListOrgsRequest)(nil), // 0: privpb.ListOrgsRequest
|
|
(*ListProjectsRequest)(nil), // 1: privpb.ListProjectsRequest
|
|
(*ListAllIssuersRequest)(nil), // 2: privpb.ListAllIssuersRequest
|
|
(*ListAllCertificatesRequest)(nil), // 3: privpb.ListAllCertificatesRequest
|
|
(pb.ItemStatus_Enum)(0), // 4: pb.ItemStatus.Enum
|
|
(pb.IssuerStatus_Enum)(0), // 5: pb.IssuerStatus.Enum
|
|
(pb.AuthorityType_Enum)(0), // 6: pb.AuthorityType.Enum
|
|
(pb.CertificateStatus_Enum)(0), // 7: pb.CertificateStatus.Enum
|
|
(*pb.OrgsResponse)(nil), // 8: pb.OrgsResponse
|
|
(*pb.ProjectsResponse)(nil), // 9: pb.ProjectsResponse
|
|
(*pb.IssuersResponse)(nil), // 10: pb.IssuersResponse
|
|
(*pb.CertificatesResponse)(nil), // 11: pb.CertificatesResponse
|
|
}
|
|
var file_admin_proto_depIdxs = []int32{
|
|
4, // 0: privpb.ListOrgsRequest.Status:type_name -> pb.ItemStatus.Enum
|
|
4, // 1: privpb.ListProjectsRequest.Status:type_name -> pb.ItemStatus.Enum
|
|
5, // 2: privpb.ListAllIssuersRequest.Status:type_name -> pb.IssuerStatus.Enum
|
|
6, // 3: privpb.ListAllIssuersRequest.Type:type_name -> pb.AuthorityType.Enum
|
|
7, // 4: privpb.ListAllCertificatesRequest.Status:type_name -> pb.CertificateStatus.Enum
|
|
0, // 5: privpb.Admin.ListOrgs:input_type -> privpb.ListOrgsRequest
|
|
1, // 6: privpb.Admin.ListProjects:input_type -> privpb.ListProjectsRequest
|
|
2, // 7: privpb.Admin.ListIssuers:input_type -> privpb.ListAllIssuersRequest
|
|
3, // 8: privpb.Admin.ListCertificates:input_type -> privpb.ListAllCertificatesRequest
|
|
8, // 9: privpb.Admin.ListOrgs:output_type -> pb.OrgsResponse
|
|
9, // 10: privpb.Admin.ListProjects:output_type -> pb.ProjectsResponse
|
|
10, // 11: privpb.Admin.ListIssuers:output_type -> pb.IssuersResponse
|
|
11, // 12: privpb.Admin.ListCertificates:output_type -> pb.CertificatesResponse
|
|
9, // [9:13] is the sub-list for method output_type
|
|
5, // [5:9] is the sub-list for method input_type
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
0, // [0:5] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_admin_proto_init() }
|
|
func file_admin_proto_init() {
|
|
if File_admin_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_admin_proto_rawDesc), len(file_admin_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_admin_proto_goTypes,
|
|
DependencyIndexes: file_admin_proto_depIdxs,
|
|
MessageInfos: file_admin_proto_msgTypes,
|
|
}.Build()
|
|
File_admin_proto = out.File
|
|
file_admin_proto_goTypes = nil
|
|
file_admin_proto_depIdxs = nil
|
|
}
|