mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 02:03:00 +00:00
85a718da63
This ensures that if someone does include some extension Consul does not currently make use of, that extension is actually usable. Without linking these envoy protobufs into the main binary it can't round trip the escape hatches to send them down to envoy. Whenenver the go-control-plane library is upgraded next we just have to re-run 'make envoy-library'.
327 lines
12 KiB
Go
327 lines
12 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: envoy/admin/v2alpha/certs.proto
|
|
|
|
package envoy_admin_v2alpha
|
|
|
|
import (
|
|
fmt "fmt"
|
|
_ "github.com/cncf/udpa/go/udpa/annotations"
|
|
proto "github.com/golang/protobuf/proto"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type Certificates struct {
|
|
Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Certificates) Reset() { *m = Certificates{} }
|
|
func (m *Certificates) String() string { return proto.CompactTextString(m) }
|
|
func (*Certificates) ProtoMessage() {}
|
|
func (*Certificates) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c7cd1796e05ff7fa, []int{0}
|
|
}
|
|
|
|
func (m *Certificates) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Certificates.Unmarshal(m, b)
|
|
}
|
|
func (m *Certificates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Certificates.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Certificates) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Certificates.Merge(m, src)
|
|
}
|
|
func (m *Certificates) XXX_Size() int {
|
|
return xxx_messageInfo_Certificates.Size(m)
|
|
}
|
|
func (m *Certificates) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Certificates.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Certificates proto.InternalMessageInfo
|
|
|
|
func (m *Certificates) GetCertificates() []*Certificate {
|
|
if m != nil {
|
|
return m.Certificates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Certificate struct {
|
|
CaCert []*CertificateDetails `protobuf:"bytes,1,rep,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
|
|
CertChain []*CertificateDetails `protobuf:"bytes,2,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Certificate) Reset() { *m = Certificate{} }
|
|
func (m *Certificate) String() string { return proto.CompactTextString(m) }
|
|
func (*Certificate) ProtoMessage() {}
|
|
func (*Certificate) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c7cd1796e05ff7fa, []int{1}
|
|
}
|
|
|
|
func (m *Certificate) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Certificate.Unmarshal(m, b)
|
|
}
|
|
func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Certificate.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Certificate) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Certificate.Merge(m, src)
|
|
}
|
|
func (m *Certificate) XXX_Size() int {
|
|
return xxx_messageInfo_Certificate.Size(m)
|
|
}
|
|
func (m *Certificate) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Certificate.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Certificate proto.InternalMessageInfo
|
|
|
|
func (m *Certificate) GetCaCert() []*CertificateDetails {
|
|
if m != nil {
|
|
return m.CaCert
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Certificate) GetCertChain() []*CertificateDetails {
|
|
if m != nil {
|
|
return m.CertChain
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CertificateDetails struct {
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
|
|
SubjectAltNames []*SubjectAlternateName `protobuf:"bytes,3,rep,name=subject_alt_names,json=subjectAltNames,proto3" json:"subject_alt_names,omitempty"`
|
|
DaysUntilExpiration uint64 `protobuf:"varint,4,opt,name=days_until_expiration,json=daysUntilExpiration,proto3" json:"days_until_expiration,omitempty"`
|
|
ValidFrom *timestamp.Timestamp `protobuf:"bytes,5,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"`
|
|
ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CertificateDetails) Reset() { *m = CertificateDetails{} }
|
|
func (m *CertificateDetails) String() string { return proto.CompactTextString(m) }
|
|
func (*CertificateDetails) ProtoMessage() {}
|
|
func (*CertificateDetails) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c7cd1796e05ff7fa, []int{2}
|
|
}
|
|
|
|
func (m *CertificateDetails) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CertificateDetails.Unmarshal(m, b)
|
|
}
|
|
func (m *CertificateDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CertificateDetails.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CertificateDetails) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CertificateDetails.Merge(m, src)
|
|
}
|
|
func (m *CertificateDetails) XXX_Size() int {
|
|
return xxx_messageInfo_CertificateDetails.Size(m)
|
|
}
|
|
func (m *CertificateDetails) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CertificateDetails.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CertificateDetails proto.InternalMessageInfo
|
|
|
|
func (m *CertificateDetails) GetPath() string {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CertificateDetails) GetSerialNumber() string {
|
|
if m != nil {
|
|
return m.SerialNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CertificateDetails) GetSubjectAltNames() []*SubjectAlternateName {
|
|
if m != nil {
|
|
return m.SubjectAltNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CertificateDetails) GetDaysUntilExpiration() uint64 {
|
|
if m != nil {
|
|
return m.DaysUntilExpiration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CertificateDetails) GetValidFrom() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.ValidFrom
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CertificateDetails) GetExpirationTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.ExpirationTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubjectAlternateName struct {
|
|
// Types that are valid to be assigned to Name:
|
|
// *SubjectAlternateName_Dns
|
|
// *SubjectAlternateName_Uri
|
|
// *SubjectAlternateName_IpAddress
|
|
Name isSubjectAlternateName_Name `protobuf_oneof:"name"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubjectAlternateName) Reset() { *m = SubjectAlternateName{} }
|
|
func (m *SubjectAlternateName) String() string { return proto.CompactTextString(m) }
|
|
func (*SubjectAlternateName) ProtoMessage() {}
|
|
func (*SubjectAlternateName) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c7cd1796e05ff7fa, []int{3}
|
|
}
|
|
|
|
func (m *SubjectAlternateName) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubjectAlternateName.Unmarshal(m, b)
|
|
}
|
|
func (m *SubjectAlternateName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubjectAlternateName.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubjectAlternateName) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubjectAlternateName.Merge(m, src)
|
|
}
|
|
func (m *SubjectAlternateName) XXX_Size() int {
|
|
return xxx_messageInfo_SubjectAlternateName.Size(m)
|
|
}
|
|
func (m *SubjectAlternateName) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubjectAlternateName.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubjectAlternateName proto.InternalMessageInfo
|
|
|
|
type isSubjectAlternateName_Name interface {
|
|
isSubjectAlternateName_Name()
|
|
}
|
|
|
|
type SubjectAlternateName_Dns struct {
|
|
Dns string `protobuf:"bytes,1,opt,name=dns,proto3,oneof"`
|
|
}
|
|
|
|
type SubjectAlternateName_Uri struct {
|
|
Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
|
|
}
|
|
|
|
type SubjectAlternateName_IpAddress struct {
|
|
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubjectAlternateName_Dns) isSubjectAlternateName_Name() {}
|
|
|
|
func (*SubjectAlternateName_Uri) isSubjectAlternateName_Name() {}
|
|
|
|
func (*SubjectAlternateName_IpAddress) isSubjectAlternateName_Name() {}
|
|
|
|
func (m *SubjectAlternateName) GetName() isSubjectAlternateName_Name {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubjectAlternateName) GetDns() string {
|
|
if x, ok := m.GetName().(*SubjectAlternateName_Dns); ok {
|
|
return x.Dns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SubjectAlternateName) GetUri() string {
|
|
if x, ok := m.GetName().(*SubjectAlternateName_Uri); ok {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SubjectAlternateName) GetIpAddress() string {
|
|
if x, ok := m.GetName().(*SubjectAlternateName_IpAddress); ok {
|
|
return x.IpAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*SubjectAlternateName) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*SubjectAlternateName_Dns)(nil),
|
|
(*SubjectAlternateName_Uri)(nil),
|
|
(*SubjectAlternateName_IpAddress)(nil),
|
|
}
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Certificates)(nil), "envoy.admin.v2alpha.Certificates")
|
|
proto.RegisterType((*Certificate)(nil), "envoy.admin.v2alpha.Certificate")
|
|
proto.RegisterType((*CertificateDetails)(nil), "envoy.admin.v2alpha.CertificateDetails")
|
|
proto.RegisterType((*SubjectAlternateName)(nil), "envoy.admin.v2alpha.SubjectAlternateName")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("envoy/admin/v2alpha/certs.proto", fileDescriptor_c7cd1796e05ff7fa) }
|
|
|
|
var fileDescriptor_c7cd1796e05ff7fa = []byte{
|
|
// 473 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcd, 0x6e, 0x13, 0x31,
|
|
0x10, 0x66, 0x93, 0x10, 0x94, 0x49, 0xa0, 0xe0, 0x82, 0xb4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