514 lines
18 KiB
Go
514 lines
18 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_ssl_policy.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
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 CreateSSLPolicyRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Http2Enabled bool `protobuf:"varint,1,opt,name=http2Enabled,proto3" json:"http2Enabled,omitempty"` // 可选项,是否启用HTTP/2
|
||
Http3Enabled bool `protobuf:"varint,10,opt,name=http3Enabled,proto3" json:"http3Enabled,omitempty"` // 可选项,是否启用HTTP/3(在满足条件的基础上)
|
||
MinVersion string `protobuf:"bytes,2,opt,name=minVersion,proto3" json:"minVersion,omitempty"` // 支持的最低SSL版本,可选择值: SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, TLS 1.3
|
||
SslCertsJSON []byte `protobuf:"bytes,3,opt,name=sslCertsJSON,proto3" json:"sslCertsJSON,omitempty"` // 可选项,关联的证书信息,可以在创建后再通过修改策略来配置 @link json:ssl_cert_refs
|
||
HstsJSON []byte `protobuf:"bytes,4,opt,name=hstsJSON,proto3" json:"hstsJSON,omitempty"` // 可选项,HSTS配置 @link json:hsts
|
||
ClientAuthType int32 `protobuf:"varint,5,opt,name=clientAuthType,proto3" json:"clientAuthType,omitempty"` // 可选项,客户端校验类型:0 无需证书,1 需要客户端证书,2 需要任一客户端证书,3 如果客户端上传了证书才校验,4 需要客户端证书而且需要校验
|
||
ClientCACertsJSON []byte `protobuf:"bytes,6,opt,name=clientCACertsJSON,proto3" json:"clientCACertsJSON,omitempty"` // 可选项,CA证书内容
|
||
CipherSuites []string `protobuf:"bytes,7,rep,name=cipherSuites,proto3" json:"cipherSuites,omitempty"` // 可选项,自定义加密套件
|
||
CipherSuitesIsOn bool `protobuf:"varint,8,opt,name=cipherSuitesIsOn,proto3" json:"cipherSuitesIsOn,omitempty"` // 可选项,是否启用自定义加密套件
|
||
OcspIsOn bool `protobuf:"varint,9,opt,name=ocspIsOn,proto3" json:"ocspIsOn,omitempty"` // 可选项,是否启用OCSP
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) Reset() {
|
||
*x = CreateSSLPolicyRequest{}
|
||
mi := &file_service_ssl_policy_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLPolicyRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLPolicyRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_policy_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 CreateSSLPolicyRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLPolicyRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_policy_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetHttp2Enabled() bool {
|
||
if x != nil {
|
||
return x.Http2Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetHttp3Enabled() bool {
|
||
if x != nil {
|
||
return x.Http3Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetMinVersion() string {
|
||
if x != nil {
|
||
return x.MinVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetSslCertsJSON() []byte {
|
||
if x != nil {
|
||
return x.SslCertsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetHstsJSON() []byte {
|
||
if x != nil {
|
||
return x.HstsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetClientAuthType() int32 {
|
||
if x != nil {
|
||
return x.ClientAuthType
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetClientCACertsJSON() []byte {
|
||
if x != nil {
|
||
return x.ClientCACertsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetCipherSuites() []string {
|
||
if x != nil {
|
||
return x.CipherSuites
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetCipherSuitesIsOn() bool {
|
||
if x != nil {
|
||
return x.CipherSuitesIsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLPolicyRequest) GetOcspIsOn() bool {
|
||
if x != nil {
|
||
return x.OcspIsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
type CreateSSLPolicyResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslPolicyId int64 `protobuf:"varint,1,opt,name=sslPolicyId,proto3" json:"sslPolicyId,omitempty"` // 创建的策略ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLPolicyResponse) Reset() {
|
||
*x = CreateSSLPolicyResponse{}
|
||
mi := &file_service_ssl_policy_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLPolicyResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLPolicyResponse) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLPolicyResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_policy_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 CreateSSLPolicyResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLPolicyResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_policy_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *CreateSSLPolicyResponse) GetSslPolicyId() int64 {
|
||
if x != nil {
|
||
return x.SslPolicyId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 修改策略
|
||
type UpdateSSLPolicyRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslPolicyId int64 `protobuf:"varint,1,opt,name=sslPolicyId,proto3" json:"sslPolicyId,omitempty"` // 策略ID
|
||
Http2Enabled bool `protobuf:"varint,2,opt,name=http2Enabled,proto3" json:"http2Enabled,omitempty"` // 可选项,是否启用HTTP/2
|
||
Http3Enabled bool `protobuf:"varint,11,opt,name=http3Enabled,proto3" json:"http3Enabled,omitempty"` // 可选项,是否启用HTTP/3(在满足条件的基础上)
|
||
MinVersion string `protobuf:"bytes,3,opt,name=minVersion,proto3" json:"minVersion,omitempty"` // 支持的最低SSL版本,可选择值: SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, TLS 1.3
|
||
SslCertsJSON []byte `protobuf:"bytes,4,opt,name=sslCertsJSON,proto3" json:"sslCertsJSON,omitempty"` // 关联的证书信息 @link json:ssl_cert_refs
|
||
HstsJSON []byte `protobuf:"bytes,5,opt,name=hstsJSON,proto3" json:"hstsJSON,omitempty"` // 可选项,HSTS配置 @link json:hsts
|
||
ClientAuthType int32 `protobuf:"varint,6,opt,name=clientAuthType,proto3" json:"clientAuthType,omitempty"` // 可选项,客户端校验类型:0 无需证书,1 需要客户端证书,2 需要任一客户端证书,3 如果客户端上传了证书才校验,4 需要客户端证书而且需要校验
|
||
ClientCACertsJSON []byte `protobuf:"bytes,7,opt,name=clientCACertsJSON,proto3" json:"clientCACertsJSON,omitempty"` // 可选项,CA证书内容
|
||
CipherSuites []string `protobuf:"bytes,8,rep,name=cipherSuites,proto3" json:"cipherSuites,omitempty"` // 可选项,自定义加密套件
|
||
CipherSuitesIsOn bool `protobuf:"varint,9,opt,name=cipherSuitesIsOn,proto3" json:"cipherSuitesIsOn,omitempty"` // 可选项,是否启用自定义加密套件
|
||
OcspIsOn bool `protobuf:"varint,10,opt,name=ocspIsOn,proto3" json:"ocspIsOn,omitempty"` // 可选项,是否启用OCSP
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) Reset() {
|
||
*x = UpdateSSLPolicyRequest{}
|
||
mi := &file_service_ssl_policy_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateSSLPolicyRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateSSLPolicyRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_policy_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 UpdateSSLPolicyRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateSSLPolicyRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_policy_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetSslPolicyId() int64 {
|
||
if x != nil {
|
||
return x.SslPolicyId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetHttp2Enabled() bool {
|
||
if x != nil {
|
||
return x.Http2Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetHttp3Enabled() bool {
|
||
if x != nil {
|
||
return x.Http3Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetMinVersion() string {
|
||
if x != nil {
|
||
return x.MinVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetSslCertsJSON() []byte {
|
||
if x != nil {
|
||
return x.SslCertsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetHstsJSON() []byte {
|
||
if x != nil {
|
||
return x.HstsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetClientAuthType() int32 {
|
||
if x != nil {
|
||
return x.ClientAuthType
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetClientCACertsJSON() []byte {
|
||
if x != nil {
|
||
return x.ClientCACertsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetCipherSuites() []string {
|
||
if x != nil {
|
||
return x.CipherSuites
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetCipherSuitesIsOn() bool {
|
||
if x != nil {
|
||
return x.CipherSuitesIsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateSSLPolicyRequest) GetOcspIsOn() bool {
|
||
if x != nil {
|
||
return x.OcspIsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 查找策略
|
||
type FindEnabledSSLPolicyConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslPolicyId int64 `protobuf:"varint,1,opt,name=sslPolicyId,proto3" json:"sslPolicyId,omitempty"` // SSL策略ID
|
||
IgnoreData bool `protobuf:"varint,2,opt,name=ignoreData,proto3" json:"ignoreData,omitempty"` // 是否忽略证书内容数据
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigRequest) Reset() {
|
||
*x = FindEnabledSSLPolicyConfigRequest{}
|
||
mi := &file_service_ssl_policy_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledSSLPolicyConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_policy_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 FindEnabledSSLPolicyConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledSSLPolicyConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_policy_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigRequest) GetSslPolicyId() int64 {
|
||
if x != nil {
|
||
return x.SslPolicyId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigRequest) GetIgnoreData() bool {
|
||
if x != nil {
|
||
return x.IgnoreData
|
||
}
|
||
return false
|
||
}
|
||
|
||
type FindEnabledSSLPolicyConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslPolicyJSON []byte `protobuf:"bytes,1,opt,name=sslPolicyJSON,proto3" json:"sslPolicyJSON,omitempty"` // 策略配置信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigResponse) Reset() {
|
||
*x = FindEnabledSSLPolicyConfigResponse{}
|
||
mi := &file_service_ssl_policy_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledSSLPolicyConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_policy_proto_msgTypes[4]
|
||
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 FindEnabledSSLPolicyConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledSSLPolicyConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_policy_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *FindEnabledSSLPolicyConfigResponse) GetSslPolicyJSON() []byte {
|
||
if x != nil {
|
||
return x.SslPolicyJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_service_ssl_policy_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_ssl_policy_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x18service_ssl_policy.proto\x12\x02pb\x1a\x19models/rpc_messages.proto\"\x82\x03\n" +
|
||
"\x16CreateSSLPolicyRequest\x12\"\n" +
|
||
"\fhttp2Enabled\x18\x01 \x01(\bR\fhttp2Enabled\x12\"\n" +
|
||
"\fhttp3Enabled\x18\n" +
|
||
" \x01(\bR\fhttp3Enabled\x12\x1e\n" +
|
||
"\n" +
|
||
"minVersion\x18\x02 \x01(\tR\n" +
|
||
"minVersion\x12\"\n" +
|
||
"\fsslCertsJSON\x18\x03 \x01(\fR\fsslCertsJSON\x12\x1a\n" +
|
||
"\bhstsJSON\x18\x04 \x01(\fR\bhstsJSON\x12&\n" +
|
||
"\x0eclientAuthType\x18\x05 \x01(\x05R\x0eclientAuthType\x12,\n" +
|
||
"\x11clientCACertsJSON\x18\x06 \x01(\fR\x11clientCACertsJSON\x12\"\n" +
|
||
"\fcipherSuites\x18\a \x03(\tR\fcipherSuites\x12*\n" +
|
||
"\x10cipherSuitesIsOn\x18\b \x01(\bR\x10cipherSuitesIsOn\x12\x1a\n" +
|
||
"\bocspIsOn\x18\t \x01(\bR\bocspIsOn\";\n" +
|
||
"\x17CreateSSLPolicyResponse\x12 \n" +
|
||
"\vsslPolicyId\x18\x01 \x01(\x03R\vsslPolicyId\"\xa4\x03\n" +
|
||
"\x16UpdateSSLPolicyRequest\x12 \n" +
|
||
"\vsslPolicyId\x18\x01 \x01(\x03R\vsslPolicyId\x12\"\n" +
|
||
"\fhttp2Enabled\x18\x02 \x01(\bR\fhttp2Enabled\x12\"\n" +
|
||
"\fhttp3Enabled\x18\v \x01(\bR\fhttp3Enabled\x12\x1e\n" +
|
||
"\n" +
|
||
"minVersion\x18\x03 \x01(\tR\n" +
|
||
"minVersion\x12\"\n" +
|
||
"\fsslCertsJSON\x18\x04 \x01(\fR\fsslCertsJSON\x12\x1a\n" +
|
||
"\bhstsJSON\x18\x05 \x01(\fR\bhstsJSON\x12&\n" +
|
||
"\x0eclientAuthType\x18\x06 \x01(\x05R\x0eclientAuthType\x12,\n" +
|
||
"\x11clientCACertsJSON\x18\a \x01(\fR\x11clientCACertsJSON\x12\"\n" +
|
||
"\fcipherSuites\x18\b \x03(\tR\fcipherSuites\x12*\n" +
|
||
"\x10cipherSuitesIsOn\x18\t \x01(\bR\x10cipherSuitesIsOn\x12\x1a\n" +
|
||
"\bocspIsOn\x18\n" +
|
||
" \x01(\bR\bocspIsOn\"e\n" +
|
||
"!FindEnabledSSLPolicyConfigRequest\x12 \n" +
|
||
"\vsslPolicyId\x18\x01 \x01(\x03R\vsslPolicyId\x12\x1e\n" +
|
||
"\n" +
|
||
"ignoreData\x18\x02 \x01(\bR\n" +
|
||
"ignoreData\"J\n" +
|
||
"\"FindEnabledSSLPolicyConfigResponse\x12$\n" +
|
||
"\rsslPolicyJSON\x18\x01 \x01(\fR\rsslPolicyJSON2\x8a\x02\n" +
|
||
"\x10SSLPolicyService\x12J\n" +
|
||
"\x0fcreateSSLPolicy\x12\x1a.pb.CreateSSLPolicyRequest\x1a\x1b.pb.CreateSSLPolicyResponse\x12=\n" +
|
||
"\x0fupdateSSLPolicy\x12\x1a.pb.UpdateSSLPolicyRequest\x1a\x0e.pb.RPCSuccess\x12k\n" +
|
||
"\x1afindEnabledSSLPolicyConfig\x12%.pb.FindEnabledSSLPolicyConfigRequest\x1a&.pb.FindEnabledSSLPolicyConfigResponseB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_ssl_policy_proto_rawDescOnce sync.Once
|
||
file_service_ssl_policy_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_ssl_policy_proto_rawDescGZIP() []byte {
|
||
file_service_ssl_policy_proto_rawDescOnce.Do(func() {
|
||
file_service_ssl_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ssl_policy_proto_rawDesc), len(file_service_ssl_policy_proto_rawDesc)))
|
||
})
|
||
return file_service_ssl_policy_proto_rawDescData
|
||
}
|
||
|
||
var file_service_ssl_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||
var file_service_ssl_policy_proto_goTypes = []any{
|
||
(*CreateSSLPolicyRequest)(nil), // 0: pb.CreateSSLPolicyRequest
|
||
(*CreateSSLPolicyResponse)(nil), // 1: pb.CreateSSLPolicyResponse
|
||
(*UpdateSSLPolicyRequest)(nil), // 2: pb.UpdateSSLPolicyRequest
|
||
(*FindEnabledSSLPolicyConfigRequest)(nil), // 3: pb.FindEnabledSSLPolicyConfigRequest
|
||
(*FindEnabledSSLPolicyConfigResponse)(nil), // 4: pb.FindEnabledSSLPolicyConfigResponse
|
||
(*RPCSuccess)(nil), // 5: pb.RPCSuccess
|
||
}
|
||
var file_service_ssl_policy_proto_depIdxs = []int32{
|
||
0, // 0: pb.SSLPolicyService.createSSLPolicy:input_type -> pb.CreateSSLPolicyRequest
|
||
2, // 1: pb.SSLPolicyService.updateSSLPolicy:input_type -> pb.UpdateSSLPolicyRequest
|
||
3, // 2: pb.SSLPolicyService.findEnabledSSLPolicyConfig:input_type -> pb.FindEnabledSSLPolicyConfigRequest
|
||
1, // 3: pb.SSLPolicyService.createSSLPolicy:output_type -> pb.CreateSSLPolicyResponse
|
||
5, // 4: pb.SSLPolicyService.updateSSLPolicy:output_type -> pb.RPCSuccess
|
||
4, // 5: pb.SSLPolicyService.findEnabledSSLPolicyConfig:output_type -> pb.FindEnabledSSLPolicyConfigResponse
|
||
3, // [3:6] is the sub-list for method output_type
|
||
0, // [0:3] is the sub-list for method input_type
|
||
0, // [0:0] is the sub-list for extension type_name
|
||
0, // [0:0] is the sub-list for extension extendee
|
||
0, // [0:0] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_service_ssl_policy_proto_init() }
|
||
func file_service_ssl_policy_proto_init() {
|
||
if File_service_ssl_policy_proto != nil {
|
||
return
|
||
}
|
||
file_models_rpc_messages_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ssl_policy_proto_rawDesc), len(file_service_ssl_policy_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 5,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_ssl_policy_proto_goTypes,
|
||
DependencyIndexes: file_service_ssl_policy_proto_depIdxs,
|
||
MessageInfos: file_service_ssl_policy_proto_msgTypes,
|
||
}.Build()
|
||
File_service_ssl_policy_proto = out.File
|
||
file_service_ssl_policy_proto_goTypes = nil
|
||
file_service_ssl_policy_proto_depIdxs = nil
|
||
}
|