// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 // protoc v5.27.3 // source: api/pb/caddy_storage.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) 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) ) type StoreCaddyStorageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *StoreCaddyStorageRequest) Reset() { *x = StoreCaddyStorageRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StoreCaddyStorageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*StoreCaddyStorageRequest) ProtoMessage() {} func (x *StoreCaddyStorageRequest) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StoreCaddyStorageRequest.ProtoReflect.Descriptor instead. func (*StoreCaddyStorageRequest) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{0} } func (x *StoreCaddyStorageRequest) GetKey() string { if x != nil { return x.Key } return "" } func (x *StoreCaddyStorageRequest) GetValue() []byte { if x != nil { return x.Value } return nil } type LoadCaddyStorageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } func (x *LoadCaddyStorageRequest) Reset() { *x = LoadCaddyStorageRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LoadCaddyStorageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoadCaddyStorageRequest) ProtoMessage() {} func (x *LoadCaddyStorageRequest) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoadCaddyStorageRequest.ProtoReflect.Descriptor instead. func (*LoadCaddyStorageRequest) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{1} } func (x *LoadCaddyStorageRequest) GetKey() string { if x != nil { return x.Key } return "" } type LoadCaddyStorageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` } func (x *LoadCaddyStorageResponse) Reset() { *x = LoadCaddyStorageResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LoadCaddyStorageResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoadCaddyStorageResponse) ProtoMessage() {} func (x *LoadCaddyStorageResponse) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoadCaddyStorageResponse.ProtoReflect.Descriptor instead. func (*LoadCaddyStorageResponse) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{2} } func (x *LoadCaddyStorageResponse) GetValue() []byte { if x != nil { return x.Value } return nil } func (x *LoadCaddyStorageResponse) GetUpdatedAt() *timestamppb.Timestamp { if x != nil { return x.UpdatedAt } return nil } type DeleteCaddyStorageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } func (x *DeleteCaddyStorageRequest) Reset() { *x = DeleteCaddyStorageRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteCaddyStorageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteCaddyStorageRequest) ProtoMessage() {} func (x *DeleteCaddyStorageRequest) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteCaddyStorageRequest.ProtoReflect.Descriptor instead. func (*DeleteCaddyStorageRequest) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{3} } func (x *DeleteCaddyStorageRequest) GetKey() string { if x != nil { return x.Key } return "" } type ListCaddyStorageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` } func (x *ListCaddyStorageRequest) Reset() { *x = ListCaddyStorageRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListCaddyStorageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListCaddyStorageRequest) ProtoMessage() {} func (x *ListCaddyStorageRequest) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListCaddyStorageRequest.ProtoReflect.Descriptor instead. func (*ListCaddyStorageRequest) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{4} } func (x *ListCaddyStorageRequest) GetPrefix() string { if x != nil { return x.Prefix } return "" } func (x *ListCaddyStorageRequest) GetRecursive() bool { if x != nil { return x.Recursive } return false } type ListCaddyStorageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` } func (x *ListCaddyStorageResponse) Reset() { *x = ListCaddyStorageResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListCaddyStorageResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListCaddyStorageResponse) ProtoMessage() {} func (x *ListCaddyStorageResponse) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListCaddyStorageResponse.ProtoReflect.Descriptor instead. func (*ListCaddyStorageResponse) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{5} } func (x *ListCaddyStorageResponse) GetKeys() []string { if x != nil { return x.Keys } return nil } type StatCaddyStorageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } func (x *StatCaddyStorageRequest) Reset() { *x = StatCaddyStorageRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StatCaddyStorageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatCaddyStorageRequest) ProtoMessage() {} func (x *StatCaddyStorageRequest) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StatCaddyStorageRequest.ProtoReflect.Descriptor instead. func (*StatCaddyStorageRequest) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{6} } func (x *StatCaddyStorageRequest) GetKey() string { if x != nil { return x.Key } return "" } type StatCaddyStorageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` IsTerminal bool `protobuf:"varint,4,opt,name=is_terminal,json=isTerminal,proto3" json:"is_terminal,omitempty"` } func (x *StatCaddyStorageResponse) Reset() { *x = StatCaddyStorageResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StatCaddyStorageResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatCaddyStorageResponse) ProtoMessage() {} func (x *StatCaddyStorageResponse) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StatCaddyStorageResponse.ProtoReflect.Descriptor instead. func (*StatCaddyStorageResponse) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{7} } func (x *StatCaddyStorageResponse) GetKey() string { if x != nil { return x.Key } return "" } func (x *StatCaddyStorageResponse) GetUpdatedAt() *timestamppb.Timestamp { if x != nil { return x.UpdatedAt } return nil } func (x *StatCaddyStorageResponse) GetSize() int64 { if x != nil { return x.Size } return 0 } func (x *StatCaddyStorageResponse) GetIsTerminal() bool { if x != nil { return x.IsTerminal } return false } type ListCertificatesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Certificates []*IssuedCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` } func (x *ListCertificatesResponse) Reset() { *x = ListCertificatesResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListCertificatesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListCertificatesResponse) ProtoMessage() {} func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListCertificatesResponse.ProtoReflect.Descriptor instead. func (*ListCertificatesResponse) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{8} } func (x *ListCertificatesResponse) GetCertificates() []*IssuedCertificate { if x != nil { return x.Certificates } return nil } type IssuedCertificate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Subject Alternative Name (SAN) of the certificate. Caddy doesn't issue certificates with multiple SANs. San string `protobuf:"bytes,1,opt,name=san,proto3" json:"san,omitempty"` // The PEM-encoding of DER-encoded ASN.1 data for the cert or chain, leaf first. Chain []byte `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` // Any extra information associated with the certificate, usually provided by the issuer implementation. // JSON-encoded, may be absent or null. IssuerData []byte `protobuf:"bytes,3,opt,name=issuer_data,json=issuerData,proto3" json:"issuer_data,omitempty"` } func (x *IssuedCertificate) Reset() { *x = IssuedCertificate{} if protoimpl.UnsafeEnabled { mi := &file_api_pb_caddy_storage_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IssuedCertificate) String() string { return protoimpl.X.MessageStringOf(x) } func (*IssuedCertificate) ProtoMessage() {} func (x *IssuedCertificate) ProtoReflect() protoreflect.Message { mi := &file_api_pb_caddy_storage_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use IssuedCertificate.ProtoReflect.Descriptor instead. func (*IssuedCertificate) Descriptor() ([]byte, []int) { return file_api_pb_caddy_storage_proto_rawDescGZIP(), []int{9} } func (x *IssuedCertificate) GetSan() string { if x != nil { return x.San } return "" } func (x *IssuedCertificate) GetChain() []byte { if x != nil { return x.Chain } return nil } func (x *IssuedCertificate) GetIssuerData() []byte { if x != nil { return x.IssuerData } return nil } var File_api_pb_caddy_storage_proto protoreflect.FileDescriptor var file_api_pb_caddy_storage_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x61, 0x64, 0x64, 0x79, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x18, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2b, 0x0a, 0x17, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x6b, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x2d, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x4f, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x22, 0x2e, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x2b, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x22, 0x56, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x61, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x32, 0xaa, 0x03, 0x0a, 0x0c, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x04, 0x4c, 0x6f, 0x61, 0x64, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x43, 0x61, 0x64, 0x64, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x73, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x6b, 0x69, 0x2f, 0x75, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_api_pb_caddy_storage_proto_rawDescOnce sync.Once file_api_pb_caddy_storage_proto_rawDescData = file_api_pb_caddy_storage_proto_rawDesc ) func file_api_pb_caddy_storage_proto_rawDescGZIP() []byte { file_api_pb_caddy_storage_proto_rawDescOnce.Do(func() { file_api_pb_caddy_storage_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_pb_caddy_storage_proto_rawDescData) }) return file_api_pb_caddy_storage_proto_rawDescData } var file_api_pb_caddy_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_api_pb_caddy_storage_proto_goTypes = []any{ (*StoreCaddyStorageRequest)(nil), // 0: api.StoreCaddyStorageRequest (*LoadCaddyStorageRequest)(nil), // 1: api.LoadCaddyStorageRequest (*LoadCaddyStorageResponse)(nil), // 2: api.LoadCaddyStorageResponse (*DeleteCaddyStorageRequest)(nil), // 3: api.DeleteCaddyStorageRequest (*ListCaddyStorageRequest)(nil), // 4: api.ListCaddyStorageRequest (*ListCaddyStorageResponse)(nil), // 5: api.ListCaddyStorageResponse (*StatCaddyStorageRequest)(nil), // 6: api.StatCaddyStorageRequest (*StatCaddyStorageResponse)(nil), // 7: api.StatCaddyStorageResponse (*ListCertificatesResponse)(nil), // 8: api.ListCertificatesResponse (*IssuedCertificate)(nil), // 9: api.IssuedCertificate (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp (*emptypb.Empty)(nil), // 11: google.protobuf.Empty } var file_api_pb_caddy_storage_proto_depIdxs = []int32{ 10, // 0: api.LoadCaddyStorageResponse.updated_at:type_name -> google.protobuf.Timestamp 10, // 1: api.StatCaddyStorageResponse.updated_at:type_name -> google.protobuf.Timestamp 9, // 2: api.ListCertificatesResponse.certificates:type_name -> api.IssuedCertificate 0, // 3: api.CaddyStorage.Store:input_type -> api.StoreCaddyStorageRequest 1, // 4: api.CaddyStorage.Load:input_type -> api.LoadCaddyStorageRequest 3, // 5: api.CaddyStorage.Delete:input_type -> api.DeleteCaddyStorageRequest 4, // 6: api.CaddyStorage.List:input_type -> api.ListCaddyStorageRequest 6, // 7: api.CaddyStorage.Stat:input_type -> api.StatCaddyStorageRequest 11, // 8: api.CaddyStorage.ListCertificates:input_type -> google.protobuf.Empty 11, // 9: api.CaddyStorage.Store:output_type -> google.protobuf.Empty 2, // 10: api.CaddyStorage.Load:output_type -> api.LoadCaddyStorageResponse 11, // 11: api.CaddyStorage.Delete:output_type -> google.protobuf.Empty 5, // 12: api.CaddyStorage.List:output_type -> api.ListCaddyStorageResponse 7, // 13: api.CaddyStorage.Stat:output_type -> api.StatCaddyStorageResponse 8, // 14: api.CaddyStorage.ListCertificates:output_type -> api.ListCertificatesResponse 9, // [9:15] is the sub-list for method output_type 3, // [3:9] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_api_pb_caddy_storage_proto_init() } func file_api_pb_caddy_storage_proto_init() { if File_api_pb_caddy_storage_proto != nil { return } if !protoimpl.UnsafeEnabled { file_api_pb_caddy_storage_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*StoreCaddyStorageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*LoadCaddyStorageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*LoadCaddyStorageResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*DeleteCaddyStorageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ListCaddyStorageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ListCaddyStorageResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*StatCaddyStorageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*StatCaddyStorageResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ListCertificatesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_pb_caddy_storage_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*IssuedCertificate); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_pb_caddy_storage_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_api_pb_caddy_storage_proto_goTypes, DependencyIndexes: file_api_pb_caddy_storage_proto_depIdxs, MessageInfos: file_api_pb_caddy_storage_proto_msgTypes, }.Build() File_api_pb_caddy_storage_proto = out.File file_api_pb_caddy_storage_proto_rawDesc = nil file_api_pb_caddy_storage_proto_goTypes = nil file_api_pb_caddy_storage_proto_depIdxs = nil }