Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIPsecServiceServer(s grpc.ServiceRegistrar, srv IPsecServiceServer)
- type Addrs
- type AuthType
- type CaCerts
- type CertPolicy
- type CertificateType
- func (CertificateType) Descriptor() protoreflect.EnumDescriptor
- func (x CertificateType) Enum() *CertificateType
- func (CertificateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificateType) Number() protoreflect.EnumNumber
- func (x CertificateType) String() string
- func (CertificateType) Type() protoreflect.EnumType
- type Certs
- type Child
- func (*Child) Descriptor() ([]byte, []int)deprecated
- func (x *Child) GetAgProposals() *Proposals
- func (x *Child) GetEspProposals() *Proposals
- func (x *Child) GetHwOffload() string
- func (x *Child) GetInactivity() uint32
- func (x *Child) GetLifeTime() uint32
- func (x *Child) GetLocalTs() *TrafficSelectors
- func (x *Child) GetMarkIn() uint32
- func (x *Child) GetMarkInSa() string
- func (x *Child) GetMarkOut() uint32
- func (x *Child) GetName() string
- func (x *Child) GetRandTime() uint32
- func (x *Child) GetRekeyTime() uint32
- func (x *Child) GetRemoteTs() *TrafficSelectors
- func (x *Child) GetSetMarkIn() uint32
- func (x *Child) GetSetMarkOut() uint32
- func (x *Child) GetUpdown() string
- func (*Child) ProtoMessage()
- func (x *Child) ProtoReflect() protoreflect.Message
- func (x *Child) Reset()
- func (x *Child) String() string
- type ChildSaState
- func (ChildSaState) Descriptor() protoreflect.EnumDescriptor
- func (x ChildSaState) Enum() *ChildSaState
- func (ChildSaState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChildSaState) Number() protoreflect.EnumNumber
- func (x ChildSaState) String() string
- func (ChildSaState) Type() protoreflect.EnumType
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetChildren() []*Child
- func (x *Connection) GetDpdDelay() uint32
- func (x *Connection) GetDpdTimeout() uint32
- func (x *Connection) GetDscp() uint64
- func (x *Connection) GetEncap() string
- func (x *Connection) GetLocalAddrs() []*Addrs
- func (x *Connection) GetLocalAuth() *LocalAuth
- func (x *Connection) GetLocalPort() uint32
- func (x *Connection) GetMobike() string
- func (x *Connection) GetName() string
- func (x *Connection) GetPools() *Pools
- func (x *Connection) GetProposals() *Proposals
- func (x *Connection) GetReauthTime() uint32
- func (x *Connection) GetRekeyTime() uint32
- func (x *Connection) GetRemoteAddrs() []*Addrs
- func (x *Connection) GetRemoteAuth() *RemoteAuth
- func (x *Connection) GetRemotePort() uint32
- func (x *Connection) GetVersion() string
- func (x *Connection) GetVips() *Vips
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type CryptoAlgorithm
- func (CryptoAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x CryptoAlgorithm) Enum() *CryptoAlgorithm
- func (CryptoAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x CryptoAlgorithm) Number() protoreflect.EnumNumber
- func (x CryptoAlgorithm) String() string
- func (CryptoAlgorithm) Type() protoreflect.EnumType
- type DHGroups
- type Groups
- type IPsecInitiateRequest
- func (*IPsecInitiateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecInitiateRequest) GetChild() string
- func (x *IPsecInitiateRequest) GetIke() string
- func (x *IPsecInitiateRequest) GetLoglevel() string
- func (x *IPsecInitiateRequest) GetTimeout() string
- func (*IPsecInitiateRequest) ProtoMessage()
- func (x *IPsecInitiateRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecInitiateRequest) Reset()
- func (x *IPsecInitiateRequest) String() string
- type IPsecInitiateResponse
- type IPsecListCertsRequest
- func (*IPsecListCertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecListCertsRequest) GetFlag() string
- func (x *IPsecListCertsRequest) GetSubject() string
- func (x *IPsecListCertsRequest) GetType() string
- func (*IPsecListCertsRequest) ProtoMessage()
- func (x *IPsecListCertsRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecListCertsRequest) Reset()
- func (x *IPsecListCertsRequest) String() string
- type IPsecListCertsResponse
- func (*IPsecListCertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecListCertsResponse) GetCerts() []*ListCert
- func (*IPsecListCertsResponse) ProtoMessage()
- func (x *IPsecListCertsResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecListCertsResponse) Reset()
- func (x *IPsecListCertsResponse) String() string
- type IPsecListConnsRequest
- func (*IPsecListConnsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecListConnsRequest) GetIke() string
- func (*IPsecListConnsRequest) ProtoMessage()
- func (x *IPsecListConnsRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecListConnsRequest) Reset()
- func (x *IPsecListConnsRequest) String() string
- type IPsecListConnsResponse
- func (*IPsecListConnsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecListConnsResponse) GetConnection() []*ListConnResp
- func (*IPsecListConnsResponse) ProtoMessage()
- func (x *IPsecListConnsResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecListConnsResponse) Reset()
- func (x *IPsecListConnsResponse) String() string
- type IPsecListSasRequest
- func (*IPsecListSasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecListSasRequest) GetChild() string
- func (x *IPsecListSasRequest) GetChildId() uint64
- func (x *IPsecListSasRequest) GetIke() string
- func (x *IPsecListSasRequest) GetIkeId() uint64
- func (x *IPsecListSasRequest) GetNoblock() string
- func (*IPsecListSasRequest) ProtoMessage()
- func (x *IPsecListSasRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecListSasRequest) Reset()
- func (x *IPsecListSasRequest) String() string
- type IPsecListSasResponse
- func (*IPsecListSasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecListSasResponse) GetIkesas() []*ListIkeSa
- func (*IPsecListSasResponse) ProtoMessage()
- func (x *IPsecListSasResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecListSasResponse) Reset()
- func (x *IPsecListSasResponse) String() string
- type IPsecLoadConnRequest
- func (*IPsecLoadConnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecLoadConnRequest) GetConnection() *Connection
- func (*IPsecLoadConnRequest) ProtoMessage()
- func (x *IPsecLoadConnRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecLoadConnRequest) Reset()
- func (x *IPsecLoadConnRequest) String() string
- type IPsecLoadConnResponse
- func (*IPsecLoadConnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecLoadConnResponse) GetSuccess() string
- func (*IPsecLoadConnResponse) ProtoMessage()
- func (x *IPsecLoadConnResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecLoadConnResponse) Reset()
- func (x *IPsecLoadConnResponse) String() string
- type IPsecRekeyRequest
- func (*IPsecRekeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecRekeyRequest) GetChild() string
- func (x *IPsecRekeyRequest) GetChildId() uint64
- func (x *IPsecRekeyRequest) GetIke() string
- func (x *IPsecRekeyRequest) GetIkeId() uint64
- func (x *IPsecRekeyRequest) GetReauth() string
- func (*IPsecRekeyRequest) ProtoMessage()
- func (x *IPsecRekeyRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecRekeyRequest) Reset()
- func (x *IPsecRekeyRequest) String() string
- type IPsecRekeyResponse
- func (*IPsecRekeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecRekeyResponse) GetMatches() uint32
- func (x *IPsecRekeyResponse) GetSuccess() string
- func (*IPsecRekeyResponse) ProtoMessage()
- func (x *IPsecRekeyResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecRekeyResponse) Reset()
- func (x *IPsecRekeyResponse) String() string
- type IPsecServiceClient
- type IPsecServiceServer
- type IPsecStatsRequest
- type IPsecStatsResponse
- func (*IPsecStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecStatsResponse) GetStatus() string
- func (*IPsecStatsResponse) ProtoMessage()
- func (x *IPsecStatsResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecStatsResponse) Reset()
- func (x *IPsecStatsResponse) String() string
- type IPsecTerminateRequest
- func (*IPsecTerminateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecTerminateRequest) GetChild() string
- func (x *IPsecTerminateRequest) GetChildId() uint64
- func (x *IPsecTerminateRequest) GetForce() string
- func (x *IPsecTerminateRequest) GetIke() string
- func (x *IPsecTerminateRequest) GetIkeId() uint64
- func (x *IPsecTerminateRequest) GetLoglevel() string
- func (x *IPsecTerminateRequest) GetTimeout() string
- func (*IPsecTerminateRequest) ProtoMessage()
- func (x *IPsecTerminateRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecTerminateRequest) Reset()
- func (x *IPsecTerminateRequest) String() string
- type IPsecTerminateResponse
- func (*IPsecTerminateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecTerminateResponse) GetMatches() uint32
- func (x *IPsecTerminateResponse) GetSuccess() string
- func (x *IPsecTerminateResponse) GetTerminated() uint32
- func (*IPsecTerminateResponse) ProtoMessage()
- func (x *IPsecTerminateResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecTerminateResponse) Reset()
- func (x *IPsecTerminateResponse) String() string
- type IPsecUnloadConnRequest
- func (*IPsecUnloadConnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecUnloadConnRequest) GetName() string
- func (*IPsecUnloadConnRequest) ProtoMessage()
- func (x *IPsecUnloadConnRequest) ProtoReflect() protoreflect.Message
- func (x *IPsecUnloadConnRequest) Reset()
- func (x *IPsecUnloadConnRequest) String() string
- type IPsecUnloadConnResponse
- func (*IPsecUnloadConnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecUnloadConnResponse) GetSuccess() string
- func (*IPsecUnloadConnResponse) ProtoMessage()
- func (x *IPsecUnloadConnResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecUnloadConnResponse) Reset()
- func (x *IPsecUnloadConnResponse) String() string
- type IPsecVersionRequest
- type IPsecVersionResponse
- func (*IPsecVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPsecVersionResponse) GetDaemon() string
- func (x *IPsecVersionResponse) GetMachine() string
- func (x *IPsecVersionResponse) GetRelease() string
- func (x *IPsecVersionResponse) GetSysname() string
- func (x *IPsecVersionResponse) GetVersion() string
- func (*IPsecVersionResponse) ProtoMessage()
- func (x *IPsecVersionResponse) ProtoReflect() protoreflect.Message
- func (x *IPsecVersionResponse) Reset()
- func (x *IPsecVersionResponse) String() string
- type IkeSaState
- type IntegAlgorithm
- func (IntegAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x IntegAlgorithm) Enum() *IntegAlgorithm
- func (IntegAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x IntegAlgorithm) Number() protoreflect.EnumNumber
- func (x IntegAlgorithm) String() string
- func (IntegAlgorithm) Type() protoreflect.EnumType
- type IpsecMode
- type ListCert
- func (*ListCert) Descriptor() ([]byte, []int)deprecated
- func (x *ListCert) GetData() string
- func (x *ListCert) GetFlag() X509CertificateFlag
- func (x *ListCert) GetHasprivkey() string
- func (x *ListCert) GetNotafter() string
- func (x *ListCert) GetNotbefore() string
- func (x *ListCert) GetSubject() string
- func (x *ListCert) GetType() CertificateType
- func (*ListCert) ProtoMessage()
- func (x *ListCert) ProtoReflect() protoreflect.Message
- func (x *ListCert) Reset()
- func (x *ListCert) String() string
- type ListChild
- func (*ListChild) Descriptor() ([]byte, []int)deprecated
- func (x *ListChild) GetCloseAction() string
- func (x *ListChild) GetDpdAction() string
- func (x *ListChild) GetInterface() string
- func (x *ListChild) GetLabel() string
- func (x *ListChild) GetLocalTs() *TrafficSelectors
- func (x *ListChild) GetMode() string
- func (x *ListChild) GetName() string
- func (x *ListChild) GetPriority() string
- func (x *ListChild) GetRekeyBytes() uint32
- func (x *ListChild) GetRekeyPackets() uint32
- func (x *ListChild) GetRekeyTime() uint32
- func (x *ListChild) GetRemoteTs() *TrafficSelectors
- func (*ListChild) ProtoMessage()
- func (x *ListChild) ProtoReflect() protoreflect.Message
- func (x *ListChild) Reset()
- func (x *ListChild) String() string
- type ListChildSa
- func (*ListChildSa) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildSa) GetCpiIn() string
- func (x *ListChildSa) GetCpiOut() string
- func (x *ListChildSa) GetDhGroup() string
- func (x *ListChildSa) GetEncap() string
- func (x *ListChildSa) GetEncrAlg() string
- func (x *ListChildSa) GetEncrKeysize() string
- func (x *ListChildSa) GetEsn() string
- func (x *ListChildSa) GetIfIdIn() string
- func (x *ListChildSa) GetIfIdOut() string
- func (x *ListChildSa) GetIntegAlg() string
- func (x *ListChildSa) GetIntegKeysize() string
- func (x *ListChildSa) GetMarkIn() string
- func (x *ListChildSa) GetMarkMaskIn() string
- func (x *ListChildSa) GetMarkMaskOut() string
- func (x *ListChildSa) GetMarkOut() string
- func (x *ListChildSa) GetName() string
- func (x *ListChildSa) GetProtocol() string
- func (x *ListChildSa) GetSpiIn() string
- func (x *ListChildSa) GetSpiOut() string
- func (*ListChildSa) ProtoMessage()
- func (x *ListChildSa) ProtoReflect() protoreflect.Message
- func (x *ListChildSa) Reset()
- func (x *ListChildSa) String() string
- type ListConnAuth
- func (*ListConnAuth) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnAuth) GetAaaId() string
- func (x *ListConnAuth) GetCaId() string
- func (x *ListConnAuth) GetCacerts() *CaCerts
- func (x *ListConnAuth) GetCertPolicy() *CertPolicy
- func (x *ListConnAuth) GetCerts() *Certs
- func (x *ListConnAuth) GetClass() string
- func (x *ListConnAuth) GetEapId() string
- func (x *ListConnAuth) GetEaptype() string
- func (x *ListConnAuth) GetEapvendor() string
- func (x *ListConnAuth) GetGroup() *Groups
- func (x *ListConnAuth) GetId() string
- func (x *ListConnAuth) GetRevocation() string
- func (x *ListConnAuth) GetXauth() string
- func (x *ListConnAuth) GetXauthId() string
- func (*ListConnAuth) ProtoMessage()
- func (x *ListConnAuth) ProtoReflect() protoreflect.Message
- func (x *ListConnAuth) Reset()
- func (x *ListConnAuth) String() string
- type ListConnResp
- func (*ListConnResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnResp) GetChildren() []*ListChild
- func (x *ListConnResp) GetDpdDelay() uint32
- func (x *ListConnResp) GetDpdTimeout() uint32
- func (x *ListConnResp) GetLocalAddrs() []*Addrs
- func (x *ListConnResp) GetLocalAuth() []*ListConnAuth
- func (x *ListConnResp) GetName() string
- func (x *ListConnResp) GetPpk() string
- func (x *ListConnResp) GetPpkRequired() string
- func (x *ListConnResp) GetReauthTime() uint32
- func (x *ListConnResp) GetRekeyTime() uint32
- func (x *ListConnResp) GetRemoteAddrs() []*Addrs
- func (x *ListConnResp) GetRemoteAuth() []*ListConnAuth
- func (x *ListConnResp) GetUnique() string
- func (x *ListConnResp) GetVersion() string
- func (*ListConnResp) ProtoMessage()
- func (x *ListConnResp) ProtoReflect() protoreflect.Message
- func (x *ListConnResp) Reset()
- func (x *ListConnResp) String() string
- type ListIkeSa
- func (*ListIkeSa) Descriptor() ([]byte, []int)deprecated
- func (x *ListIkeSa) GetChildsas() []*ListChildSa
- func (x *ListIkeSa) GetDhGroup() string
- func (x *ListIkeSa) GetEncrAlg() string
- func (x *ListIkeSa) GetEncrKeysize() string
- func (x *ListIkeSa) GetEstablished() string
- func (x *ListIkeSa) GetIfIdIn() string
- func (x *ListIkeSa) GetIfIdOut() string
- func (x *ListIkeSa) GetIkestate() IkeSaState
- func (x *ListIkeSa) GetInitiator() string
- func (x *ListIkeSa) GetInitiatorSpi() string
- func (x *ListIkeSa) GetIntegAlg() string
- func (x *ListIkeSa) GetIntegKeysize() string
- func (x *ListIkeSa) GetLocalHost() string
- func (x *ListIkeSa) GetLocalId() string
- func (x *ListIkeSa) GetLocalPort() string
- func (x *ListIkeSa) GetLocalVips() []string
- func (x *ListIkeSa) GetName() string
- func (x *ListIkeSa) GetNatAny() string
- func (x *ListIkeSa) GetNatFake() string
- func (x *ListIkeSa) GetNatLocal() string
- func (x *ListIkeSa) GetNatRemote() string
- func (x *ListIkeSa) GetPpk() string
- func (x *ListIkeSa) GetPrfAlg() string
- func (x *ListIkeSa) GetReauthTime() string
- func (x *ListIkeSa) GetRekeyTime() string
- func (x *ListIkeSa) GetRemoteEapId() string
- func (x *ListIkeSa) GetRemoteHost() string
- func (x *ListIkeSa) GetRemoteId() string
- func (x *ListIkeSa) GetRemotePort() string
- func (x *ListIkeSa) GetRemoteVips() []string
- func (x *ListIkeSa) GetRemoteXauthId() string
- func (x *ListIkeSa) GetResponderSpi() string
- func (x *ListIkeSa) GetTasksActive() []string
- func (x *ListIkeSa) GetTasksPassive() []string
- func (x *ListIkeSa) GetTasksQueued() []string
- func (x *ListIkeSa) GetUniqueid() string
- func (x *ListIkeSa) GetVersion() string
- func (*ListIkeSa) ProtoMessage()
- func (x *ListIkeSa) ProtoReflect() protoreflect.Message
- func (x *ListIkeSa) Reset()
- func (x *ListIkeSa) String() string
- type LocalAuth
- func (*LocalAuth) Descriptor() ([]byte, []int)deprecated
- func (x *LocalAuth) GetAaaId() string
- func (x *LocalAuth) GetAuth() AuthType
- func (x *LocalAuth) GetCerts() *Certs
- func (x *LocalAuth) GetEapId() string
- func (x *LocalAuth) GetId() string
- func (x *LocalAuth) GetPubkeys() *PubKeys
- func (x *LocalAuth) GetXauthId() string
- func (*LocalAuth) ProtoMessage()
- func (x *LocalAuth) ProtoReflect() protoreflect.Message
- func (x *LocalAuth) Reset()
- func (x *LocalAuth) String() string
- type PRFunction
- type Pools
- type Proposals
- func (*Proposals) Descriptor() ([]byte, []int)deprecated
- func (x *Proposals) GetCryptoAlg() []CryptoAlgorithm
- func (x *Proposals) GetDhgroups() []DHGroups
- func (x *Proposals) GetIntegAlg() []IntegAlgorithm
- func (x *Proposals) GetPrf() []PRFunction
- func (*Proposals) ProtoMessage()
- func (x *Proposals) ProtoReflect() protoreflect.Message
- func (x *Proposals) Reset()
- func (x *Proposals) String() string
- type PubKeys
- type RemoteAuth
- func (*RemoteAuth) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteAuth) GetAuth() AuthType
- func (x *RemoteAuth) GetCaCerts() *CaCerts
- func (x *RemoteAuth) GetCertPolicy() *CertPolicy
- func (x *RemoteAuth) GetCerts() *Certs
- func (x *RemoteAuth) GetEapId() string
- func (x *RemoteAuth) GetGroups() *Groups
- func (x *RemoteAuth) GetId() string
- func (x *RemoteAuth) GetPubkeys() *PubKeys
- func (*RemoteAuth) ProtoMessage()
- func (x *RemoteAuth) ProtoReflect() protoreflect.Message
- func (x *RemoteAuth) Reset()
- func (x *RemoteAuth) String() string
- type TrafficSelectors
- func (*TrafficSelectors) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficSelectors) GetTs() []*TrafficSelectors_TrafficSelector
- func (*TrafficSelectors) ProtoMessage()
- func (x *TrafficSelectors) ProtoReflect() protoreflect.Message
- func (x *TrafficSelectors) Reset()
- func (x *TrafficSelectors) String() string
- type TrafficSelectors_TrafficSelector
- func (*TrafficSelectors_TrafficSelector) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficSelectors_TrafficSelector) GetCidr() string
- func (x *TrafficSelectors_TrafficSelector) GetPort() string
- func (x *TrafficSelectors_TrafficSelector) GetProto() string
- func (*TrafficSelectors_TrafficSelector) ProtoMessage()
- func (x *TrafficSelectors_TrafficSelector) ProtoReflect() protoreflect.Message
- func (x *TrafficSelectors_TrafficSelector) Reset()
- func (x *TrafficSelectors_TrafficSelector) String() string
- type UnimplementedIPsecServiceServer
- func (UnimplementedIPsecServiceServer) IPsecInitiate(context.Context, *IPsecInitiateRequest) (*IPsecInitiateResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecListCerts(context.Context, *IPsecListCertsRequest) (*IPsecListCertsResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecListConns(context.Context, *IPsecListConnsRequest) (*IPsecListConnsResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecListSas(context.Context, *IPsecListSasRequest) (*IPsecListSasResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecLoadConn(context.Context, *IPsecLoadConnRequest) (*IPsecLoadConnResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecRekey(context.Context, *IPsecRekeyRequest) (*IPsecRekeyResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecStats(context.Context, *IPsecStatsRequest) (*IPsecStatsResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecTerminate(context.Context, *IPsecTerminateRequest) (*IPsecTerminateResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecUnloadConn(context.Context, *IPsecUnloadConnRequest) (*IPsecUnloadConnResponse, error)
- func (UnimplementedIPsecServiceServer) IPsecVersion(context.Context, *IPsecVersionRequest) (*IPsecVersionResponse, error)
- type UnsafeIPsecServiceServer
- type Vips
- type X509CertificateFlag
- func (X509CertificateFlag) Descriptor() protoreflect.EnumDescriptor
- func (x X509CertificateFlag) Enum() *X509CertificateFlag
- func (X509CertificateFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x X509CertificateFlag) Number() protoreflect.EnumNumber
- func (x X509CertificateFlag) String() string
- func (X509CertificateFlag) Type() protoreflect.EnumType
Constants ¶
const ( IPsecService_IPsecVersion_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecVersion" IPsecService_IPsecStats_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecStats" IPsecService_IPsecInitiate_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecInitiate" IPsecService_IPsecTerminate_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecTerminate" IPsecService_IPsecRekey_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecRekey" IPsecService_IPsecListSas_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecListSas" IPsecService_IPsecListConns_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecListConns" IPsecService_IPsecListCerts_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecListCerts" IPsecService_IPsecLoadConn_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecLoadConn" IPsecService_IPsecUnloadConn_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecUnloadConn" )
Variables ¶
var ( CryptoAlgorithm_name = map[int32]string{ 0: "CRYPTO_ALGORITHM_UNSPECIFIED", 1: "CRYPTO_ALGORITHM_AES128", 2: "CRYPTO_ALGORITHM_AES192", 3: "CRYPTO_ALGORITHM_AES256", 4: "CRYPTO_ALGORITHM_AES128GCM128", 5: "CRYPTO_ALGORITHM_AES256GCM128", 6: "CRYPTO_ALGORITHM_AES128GMAC", 7: "CRYPTO_ALGORITHM_AES256GMAC", } CryptoAlgorithm_value = map[string]int32{ "CRYPTO_ALGORITHM_UNSPECIFIED": 0, "CRYPTO_ALGORITHM_AES128": 1, "CRYPTO_ALGORITHM_AES192": 2, "CRYPTO_ALGORITHM_AES256": 3, "CRYPTO_ALGORITHM_AES128GCM128": 4, "CRYPTO_ALGORITHM_AES256GCM128": 5, "CRYPTO_ALGORITHM_AES128GMAC": 6, "CRYPTO_ALGORITHM_AES256GMAC": 7, } )
Enum value maps for CryptoAlgorithm.
var ( IntegAlgorithm_name = map[int32]string{ 0: "INTEG_ALGORITHM_UNSPECIFIED", 1: "INTEG_ALGORITHM_MD5", 2: "INTEG_ALGORITHM_MD5_128", 3: "INTEG_ALGORITHM_SHA1", 4: "INTEG_ALGORITHM_SHA1_160", 5: "INTEG_ALGORITHM_SHA256", 7: "INTEG_ALGORITHM_SHA384", 8: "INTEG_ALGORITHM_SHA512", 9: "INTEG_ALGORITHM_SHA256_96", } IntegAlgorithm_value = map[string]int32{ "INTEG_ALGORITHM_UNSPECIFIED": 0, "INTEG_ALGORITHM_MD5": 1, "INTEG_ALGORITHM_MD5_128": 2, "INTEG_ALGORITHM_SHA1": 3, "INTEG_ALGORITHM_SHA1_160": 4, "INTEG_ALGORITHM_SHA256": 5, "INTEG_ALGORITHM_SHA384": 7, "INTEG_ALGORITHM_SHA512": 8, "INTEG_ALGORITHM_SHA256_96": 9, } )
Enum value maps for IntegAlgorithm.
var ( DHGroups_name = map[int32]string{ 0: "DH_GROUPS_UNSPECIFIED", 1: "DH_GROUPS_MODP768", 2: "DH_GROUPS_MODP1024", 3: "DH_GROUPS_MODP1536", 4: "DH_GROUPS_MODP2048", 5: "DH_GROUPS_MODP3072", 6: "DH_GROUPS_MODP4096", 7: "DH_GROUPS_MODP6144", 8: "DH_GROUPS_MODP8192", 9: "DH_GROUPS_MODP1024S160", 10: "DH_GROUPS_MODP2048S224", 11: "DH_GROUPS_MODP2048S256", 12: "DH_GROUPS_CURVE25519", } DHGroups_value = map[string]int32{ "DH_GROUPS_UNSPECIFIED": 0, "DH_GROUPS_MODP768": 1, "DH_GROUPS_MODP1024": 2, "DH_GROUPS_MODP1536": 3, "DH_GROUPS_MODP2048": 4, "DH_GROUPS_MODP3072": 5, "DH_GROUPS_MODP4096": 6, "DH_GROUPS_MODP6144": 7, "DH_GROUPS_MODP8192": 8, "DH_GROUPS_MODP1024S160": 9, "DH_GROUPS_MODP2048S224": 10, "DH_GROUPS_MODP2048S256": 11, "DH_GROUPS_CURVE25519": 12, } )
Enum value maps for DHGroups.
var ( PRFunction_name = map[int32]string{ 0: "PR_FUNCTION_UNSPECIFIED", 1: "PR_FUNCTION_MD5", 2: "PR_FUNCTION_SHA1", 3: "PR_FUNCTION_AESXCBC", 4: "PR_FUNCTION_AESCMAC", 5: "PR_FUNCTION_SHA256", 6: "PR_FUNCTION_SHA384", 7: "PR_FUNCTION_SHA512", } PRFunction_value = map[string]int32{ "PR_FUNCTION_UNSPECIFIED": 0, "PR_FUNCTION_MD5": 1, "PR_FUNCTION_SHA1": 2, "PR_FUNCTION_AESXCBC": 3, "PR_FUNCTION_AESCMAC": 4, "PR_FUNCTION_SHA256": 5, "PR_FUNCTION_SHA384": 6, "PR_FUNCTION_SHA512": 7, } )
Enum value maps for PRFunction.
var ( IpsecMode_name = map[int32]string{ 0: "IPSEC_MODE_UNSPECIFIED", 1: "IPSEC_MODE_TUNNEL_MODE", 2: "IPSEC_MODE_TRANSPORT_MODE", } IpsecMode_value = map[string]int32{ "IPSEC_MODE_UNSPECIFIED": 0, "IPSEC_MODE_TUNNEL_MODE": 1, "IPSEC_MODE_TRANSPORT_MODE": 2, } )
Enum value maps for IpsecMode.
var ( AuthType_name = map[int32]string{ 0: "AUTH_TYPE_UNSPECIFIED", 1: "AUTH_TYPE_PUBKEY", 2: "AUTH_TYPE_PSK", 3: "AUTH_TYPE_XAUTH", 4: "AUTH_TYPE_EAP", } AuthType_value = map[string]int32{ "AUTH_TYPE_UNSPECIFIED": 0, "AUTH_TYPE_PUBKEY": 1, "AUTH_TYPE_PSK": 2, "AUTH_TYPE_XAUTH": 3, "AUTH_TYPE_EAP": 4, } )
Enum value maps for AuthType.
var ( IkeSaState_name = map[int32]string{ 0: "IKE_SA_STATE_UNSPECIFIED", 1: "IKE_SA_STATE_CREATED", 2: "IKE_SA_STATE_CONNECTING", 3: "IKE_SA_STATE_ESTABLISHED", 4: "IKE_SA_STATE_PASSIVE", 5: "IKE_SA_STATE_REKEYING", 6: "IKE_SA_STATE_REKEYED", 7: "IKE_SA_STATE_DELETING", 8: "IKE_SA_STATE_DESTROYING", } IkeSaState_value = map[string]int32{ "IKE_SA_STATE_UNSPECIFIED": 0, "IKE_SA_STATE_CREATED": 1, "IKE_SA_STATE_CONNECTING": 2, "IKE_SA_STATE_ESTABLISHED": 3, "IKE_SA_STATE_PASSIVE": 4, "IKE_SA_STATE_REKEYING": 5, "IKE_SA_STATE_REKEYED": 6, "IKE_SA_STATE_DELETING": 7, "IKE_SA_STATE_DESTROYING": 8, } )
Enum value maps for IkeSaState.
var ( ChildSaState_name = map[int32]string{ 0: "CHILD_SA_STATE_UNSPECIFIED", 1: "CHILD_SA_STATE_CREATED", 2: "CHILD_SA_STATE_ROUTED", 3: "CHILD_SA_STATE_INSTALLING", 4: "CHILD_SA_STATE_INSTALLED", 5: "CHILD_SA_STATE_UPDATING", 6: "CHILD_SA_STATE_REKEYING", 7: "CHILD_SA_STATE_REKEYED", 8: "CHILD_SA_STATE_RETRYING", 9: "CHILD_SA_STATE_DELETING", 10: "CHILD_SA_STATE_DELETED", 11: "CHILD_SA_STATE_DESTROYING", } ChildSaState_value = map[string]int32{ "CHILD_SA_STATE_UNSPECIFIED": 0, "CHILD_SA_STATE_CREATED": 1, "CHILD_SA_STATE_ROUTED": 2, "CHILD_SA_STATE_INSTALLING": 3, "CHILD_SA_STATE_INSTALLED": 4, "CHILD_SA_STATE_UPDATING": 5, "CHILD_SA_STATE_REKEYING": 6, "CHILD_SA_STATE_REKEYED": 7, "CHILD_SA_STATE_RETRYING": 8, "CHILD_SA_STATE_DELETING": 9, "CHILD_SA_STATE_DELETED": 10, "CHILD_SA_STATE_DESTROYING": 11, } )
Enum value maps for ChildSaState.
var ( CertificateType_name = map[int32]string{ 0: "CERTIFICATE_TYPE_X509_UNSPECIFIED", 1: "CERTIFICATE_TYPE_X509_AC", 2: "CERTIFICATE_TYPE_X509_CRL", 3: "CERTIFICATE_TYPE_OCSP_RESPONSE", 4: "CERTIFICATE_TYPE_PUBKEY", } CertificateType_value = map[string]int32{ "CERTIFICATE_TYPE_X509_UNSPECIFIED": 0, "CERTIFICATE_TYPE_X509_AC": 1, "CERTIFICATE_TYPE_X509_CRL": 2, "CERTIFICATE_TYPE_OCSP_RESPONSE": 3, "CERTIFICATE_TYPE_PUBKEY": 4, } )
Enum value maps for CertificateType.
var ( X509CertificateFlag_name = map[int32]string{ 0: "X509_CERTIFICATE_FLAG_UNSPECIFIED", 1: "X509_CERTIFICATE_FLAG_CA", 2: "X509_CERTIFICATE_FLAG_AA", 3: "X509_CERTIFICATE_FLAG_OCSP", } X509CertificateFlag_value = map[string]int32{ "X509_CERTIFICATE_FLAG_UNSPECIFIED": 0, "X509_CERTIFICATE_FLAG_CA": 1, "X509_CERTIFICATE_FLAG_AA": 2, "X509_CERTIFICATE_FLAG_OCSP": 3, } )
Enum value maps for X509CertificateFlag.
var File_ipsec_proto protoreflect.FileDescriptor
var IPsecService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.security.v1.IPsecService", HandlerType: (*IPsecServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IPsecVersion", Handler: _IPsecService_IPsecVersion_Handler, }, { MethodName: "IPsecStats", Handler: _IPsecService_IPsecStats_Handler, }, { MethodName: "IPsecInitiate", Handler: _IPsecService_IPsecInitiate_Handler, }, { MethodName: "IPsecTerminate", Handler: _IPsecService_IPsecTerminate_Handler, }, { MethodName: "IPsecRekey", Handler: _IPsecService_IPsecRekey_Handler, }, { MethodName: "IPsecListSas", Handler: _IPsecService_IPsecListSas_Handler, }, { MethodName: "IPsecListConns", Handler: _IPsecService_IPsecListConns_Handler, }, { MethodName: "IPsecListCerts", Handler: _IPsecService_IPsecListCerts_Handler, }, { MethodName: "IPsecLoadConn", Handler: _IPsecService_IPsecLoadConn_Handler, }, { MethodName: "IPsecUnloadConn", Handler: _IPsecService_IPsecUnloadConn_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ipsec.proto", }
IPsecService_ServiceDesc is the grpc.ServiceDesc for IPsecService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIPsecServiceServer ¶
func RegisterIPsecServiceServer(s grpc.ServiceRegistrar, srv IPsecServiceServer)
Types ¶
type Addrs ¶
type Addrs struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
IP addresses or hostanmes
func (*Addrs) Descriptor
deprecated
func (*Addrs) ProtoMessage ¶
func (*Addrs) ProtoMessage()
func (*Addrs) ProtoReflect ¶
func (x *Addrs) ProtoReflect() protoreflect.Message
type AuthType ¶
type AuthType int32
Authentication Type
func (AuthType) Descriptor ¶
func (AuthType) Descriptor() protoreflect.EnumDescriptor
func (AuthType) EnumDescriptor
deprecated
func (AuthType) Number ¶
func (x AuthType) Number() protoreflect.EnumNumber
func (AuthType) Type ¶
func (AuthType) Type() protoreflect.EnumType
type CaCerts ¶
type CaCerts struct { Cacert []string `protobuf:"bytes,1,rep,name=cacert,proto3" json:"cacert,omitempty"` // contains filtered or unexported fields }
func (*CaCerts) Descriptor
deprecated
func (*CaCerts) ProtoMessage ¶
func (*CaCerts) ProtoMessage()
func (*CaCerts) ProtoReflect ¶
func (x *CaCerts) ProtoReflect() protoreflect.Message
type CertPolicy ¶
type CertPolicy struct { CertPolicy []string `protobuf:"bytes,1,rep,name=cert_policy,json=certPolicy,proto3" json:"cert_policy,omitempty"` // contains filtered or unexported fields }
func (*CertPolicy) Descriptor
deprecated
func (*CertPolicy) Descriptor() ([]byte, []int)
Deprecated: Use CertPolicy.ProtoReflect.Descriptor instead.
func (*CertPolicy) GetCertPolicy ¶
func (x *CertPolicy) GetCertPolicy() []string
func (*CertPolicy) ProtoMessage ¶
func (*CertPolicy) ProtoMessage()
func (*CertPolicy) ProtoReflect ¶
func (x *CertPolicy) ProtoReflect() protoreflect.Message
func (*CertPolicy) Reset ¶
func (x *CertPolicy) Reset()
func (*CertPolicy) String ¶
func (x *CertPolicy) String() string
type CertificateType ¶
type CertificateType int32
Certificate type
const ( CertificateType_CERTIFICATE_TYPE_X509_UNSPECIFIED CertificateType = 0 CertificateType_CERTIFICATE_TYPE_X509_AC CertificateType = 1 CertificateType_CERTIFICATE_TYPE_X509_CRL CertificateType = 2 CertificateType_CERTIFICATE_TYPE_OCSP_RESPONSE CertificateType = 3 CertificateType_CERTIFICATE_TYPE_PUBKEY CertificateType = 4 )
func (CertificateType) Descriptor ¶
func (CertificateType) Descriptor() protoreflect.EnumDescriptor
func (CertificateType) Enum ¶
func (x CertificateType) Enum() *CertificateType
func (CertificateType) EnumDescriptor
deprecated
func (CertificateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificateType.Descriptor instead.
func (CertificateType) Number ¶
func (x CertificateType) Number() protoreflect.EnumNumber
func (CertificateType) String ¶
func (x CertificateType) String() string
func (CertificateType) Type ¶
func (CertificateType) Type() protoreflect.EnumType
type Certs ¶
type Certs struct { Cert []string `protobuf:"bytes,1,rep,name=cert,proto3" json:"cert,omitempty"` // contains filtered or unexported fields }
func (*Certs) Descriptor
deprecated
func (*Certs) ProtoMessage ¶
func (*Certs) ProtoMessage()
func (*Certs) ProtoReflect ¶
func (x *Certs) ProtoReflect() protoreflect.Message
type Child ¶
type Child struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Child SA name AgProposals *Proposals `protobuf:"bytes,2,opt,name=ag_proposals,json=agProposals,proto3" json:"ag_proposals,omitempty"` EspProposals *Proposals `protobuf:"bytes,3,opt,name=esp_proposals,json=espProposals,proto3" json:"esp_proposals,omitempty"` LocalTs *TrafficSelectors `protobuf:"bytes,4,opt,name=local_ts,json=localTs,proto3" json:"local_ts,omitempty"` RemoteTs *TrafficSelectors `protobuf:"bytes,5,opt,name=remote_ts,json=remoteTs,proto3" json:"remote_ts,omitempty"` RekeyTime uint32 `protobuf:"varint,6,opt,name=rekey_time,json=rekeyTime,proto3" json:"rekey_time,omitempty"` LifeTime uint32 `protobuf:"varint,7,opt,name=life_time,json=lifeTime,proto3" json:"life_time,omitempty"` RandTime uint32 `protobuf:"varint,8,opt,name=rand_time,json=randTime,proto3" json:"rand_time,omitempty"` Updown string `protobuf:"bytes,9,opt,name=updown,proto3" json:"updown,omitempty"` Inactivity uint32 `protobuf:"varint,10,opt,name=inactivity,proto3" json:"inactivity,omitempty"` MarkIn uint32 `protobuf:"varint,11,opt,name=mark_in,json=markIn,proto3" json:"mark_in,omitempty"` MarkInSa string `protobuf:"bytes,12,opt,name=mark_in_sa,json=markInSa,proto3" json:"mark_in_sa,omitempty"` MarkOut uint32 `protobuf:"varint,13,opt,name=mark_out,json=markOut,proto3" json:"mark_out,omitempty"` SetMarkIn uint32 `protobuf:"varint,14,opt,name=set_mark_in,json=setMarkIn,proto3" json:"set_mark_in,omitempty"` SetMarkOut uint32 `protobuf:"varint,15,opt,name=set_mark_out,json=setMarkOut,proto3" json:"set_mark_out,omitempty"` HwOffload string `protobuf:"bytes,16,opt,name=hw_offload,json=hwOffload,proto3" json:"hw_offload,omitempty"` // contains filtered or unexported fields }
Child SA
func (*Child) Descriptor
deprecated
func (*Child) GetAgProposals ¶
func (*Child) GetEspProposals ¶
func (*Child) GetHwOffload ¶
func (*Child) GetInactivity ¶
func (*Child) GetLifeTime ¶
func (*Child) GetLocalTs ¶
func (x *Child) GetLocalTs() *TrafficSelectors
func (*Child) GetMarkInSa ¶
func (*Child) GetMarkOut ¶
func (*Child) GetRandTime ¶
func (*Child) GetRekeyTime ¶
func (*Child) GetRemoteTs ¶
func (x *Child) GetRemoteTs() *TrafficSelectors
func (*Child) GetSetMarkIn ¶
func (*Child) GetSetMarkOut ¶
func (*Child) ProtoMessage ¶
func (*Child) ProtoMessage()
func (*Child) ProtoReflect ¶
func (x *Child) ProtoReflect() protoreflect.Message
type ChildSaState ¶
type ChildSaState int32
CHILD_SA state
const ( ChildSaState_CHILD_SA_STATE_UNSPECIFIED ChildSaState = 0 ChildSaState_CHILD_SA_STATE_CREATED ChildSaState = 1 ChildSaState_CHILD_SA_STATE_ROUTED ChildSaState = 2 ChildSaState_CHILD_SA_STATE_INSTALLING ChildSaState = 3 ChildSaState_CHILD_SA_STATE_INSTALLED ChildSaState = 4 ChildSaState_CHILD_SA_STATE_UPDATING ChildSaState = 5 ChildSaState_CHILD_SA_STATE_REKEYING ChildSaState = 6 ChildSaState_CHILD_SA_STATE_REKEYED ChildSaState = 7 ChildSaState_CHILD_SA_STATE_RETRYING ChildSaState = 8 ChildSaState_CHILD_SA_STATE_DELETING ChildSaState = 9 ChildSaState_CHILD_SA_STATE_DELETED ChildSaState = 10 ChildSaState_CHILD_SA_STATE_DESTROYING ChildSaState = 11 )
func (ChildSaState) Descriptor ¶
func (ChildSaState) Descriptor() protoreflect.EnumDescriptor
func (ChildSaState) Enum ¶
func (x ChildSaState) Enum() *ChildSaState
func (ChildSaState) EnumDescriptor
deprecated
func (ChildSaState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChildSaState.Descriptor instead.
func (ChildSaState) Number ¶
func (x ChildSaState) Number() protoreflect.EnumNumber
func (ChildSaState) String ¶
func (x ChildSaState) String() string
func (ChildSaState) Type ¶
func (ChildSaState) Type() protoreflect.EnumType
type Connection ¶
type Connection struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // connection name Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` LocalAddrs []*Addrs `protobuf:"bytes,3,rep,name=local_addrs,json=localAddrs,proto3" json:"local_addrs,omitempty"` RemoteAddrs []*Addrs `protobuf:"bytes,4,rep,name=remote_addrs,json=remoteAddrs,proto3" json:"remote_addrs,omitempty"` LocalPort uint32 `protobuf:"varint,5,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` RemotePort uint32 `protobuf:"varint,6,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` Proposals *Proposals `protobuf:"bytes,7,opt,name=proposals,proto3" json:"proposals,omitempty"` Vips *Vips `protobuf:"bytes,8,opt,name=vips,proto3" json:"vips,omitempty"` Dscp uint64 `protobuf:"varint,9,opt,name=dscp,proto3" json:"dscp,omitempty"` // We use only the lower 6 bytes Encap string `protobuf:"bytes,10,opt,name=encap,proto3" json:"encap,omitempty"` Mobike string `protobuf:"bytes,11,opt,name=mobike,proto3" json:"mobike,omitempty"` DpdDelay uint32 `protobuf:"varint,12,opt,name=dpd_delay,json=dpdDelay,proto3" json:"dpd_delay,omitempty"` DpdTimeout uint32 `protobuf:"varint,13,opt,name=dpd_timeout,json=dpdTimeout,proto3" json:"dpd_timeout,omitempty"` ReauthTime uint32 `protobuf:"varint,14,opt,name=reauth_time,json=reauthTime,proto3" json:"reauth_time,omitempty"` RekeyTime uint32 `protobuf:"varint,15,opt,name=rekey_time,json=rekeyTime,proto3" json:"rekey_time,omitempty"` Pools *Pools `protobuf:"bytes,16,opt,name=pools,proto3" json:"pools,omitempty"` LocalAuth *LocalAuth `protobuf:"bytes,17,opt,name=local_auth,json=localAuth,proto3" json:"local_auth,omitempty"` RemoteAuth *RemoteAuth `protobuf:"bytes,18,opt,name=remote_auth,json=remoteAuth,proto3" json:"remote_auth,omitempty"` Children []*Child `protobuf:"bytes,19,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
IKE connection
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetChildren ¶
func (x *Connection) GetChildren() []*Child
func (*Connection) GetDpdDelay ¶
func (x *Connection) GetDpdDelay() uint32
func (*Connection) GetDpdTimeout ¶
func (x *Connection) GetDpdTimeout() uint32
func (*Connection) GetDscp ¶
func (x *Connection) GetDscp() uint64
func (*Connection) GetEncap ¶
func (x *Connection) GetEncap() string
func (*Connection) GetLocalAddrs ¶
func (x *Connection) GetLocalAddrs() []*Addrs
func (*Connection) GetLocalAuth ¶
func (x *Connection) GetLocalAuth() *LocalAuth
func (*Connection) GetLocalPort ¶
func (x *Connection) GetLocalPort() uint32
func (*Connection) GetMobike ¶
func (x *Connection) GetMobike() string
func (*Connection) GetName ¶
func (x *Connection) GetName() string
func (*Connection) GetPools ¶
func (x *Connection) GetPools() *Pools
func (*Connection) GetProposals ¶
func (x *Connection) GetProposals() *Proposals
func (*Connection) GetReauthTime ¶
func (x *Connection) GetReauthTime() uint32
func (*Connection) GetRekeyTime ¶
func (x *Connection) GetRekeyTime() uint32
func (*Connection) GetRemoteAddrs ¶
func (x *Connection) GetRemoteAddrs() []*Addrs
func (*Connection) GetRemoteAuth ¶
func (x *Connection) GetRemoteAuth() *RemoteAuth
func (*Connection) GetRemotePort ¶
func (x *Connection) GetRemotePort() uint32
func (*Connection) GetVersion ¶
func (x *Connection) GetVersion() string
func (*Connection) GetVips ¶
func (x *Connection) GetVips() *Vips
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type CryptoAlgorithm ¶
type CryptoAlgorithm int32
Cryptographic algorithm for encryption
const ( CryptoAlgorithm_CRYPTO_ALGORITHM_UNSPECIFIED CryptoAlgorithm = 0 CryptoAlgorithm_CRYPTO_ALGORITHM_AES128 CryptoAlgorithm = 1 CryptoAlgorithm_CRYPTO_ALGORITHM_AES192 CryptoAlgorithm = 2 CryptoAlgorithm_CRYPTO_ALGORITHM_AES256 CryptoAlgorithm = 3 CryptoAlgorithm_CRYPTO_ALGORITHM_AES128GCM128 CryptoAlgorithm = 4 CryptoAlgorithm_CRYPTO_ALGORITHM_AES256GCM128 CryptoAlgorithm = 5 CryptoAlgorithm_CRYPTO_ALGORITHM_AES128GMAC CryptoAlgorithm = 6 CryptoAlgorithm_CRYPTO_ALGORITHM_AES256GMAC CryptoAlgorithm = 7 )
func (CryptoAlgorithm) Descriptor ¶
func (CryptoAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (CryptoAlgorithm) Enum ¶
func (x CryptoAlgorithm) Enum() *CryptoAlgorithm
func (CryptoAlgorithm) EnumDescriptor
deprecated
func (CryptoAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use CryptoAlgorithm.Descriptor instead.
func (CryptoAlgorithm) Number ¶
func (x CryptoAlgorithm) Number() protoreflect.EnumNumber
func (CryptoAlgorithm) String ¶
func (x CryptoAlgorithm) String() string
func (CryptoAlgorithm) Type ¶
func (CryptoAlgorithm) Type() protoreflect.EnumType
type DHGroups ¶
type DHGroups int32
Diffie Hellman Groups
const ( DHGroups_DH_GROUPS_UNSPECIFIED DHGroups = 0 DHGroups_DH_GROUPS_MODP768 DHGroups = 1 DHGroups_DH_GROUPS_MODP1024 DHGroups = 2 DHGroups_DH_GROUPS_MODP1536 DHGroups = 3 DHGroups_DH_GROUPS_MODP2048 DHGroups = 4 DHGroups_DH_GROUPS_MODP3072 DHGroups = 5 DHGroups_DH_GROUPS_MODP4096 DHGroups = 6 DHGroups_DH_GROUPS_MODP6144 DHGroups = 7 DHGroups_DH_GROUPS_MODP8192 DHGroups = 8 DHGroups_DH_GROUPS_MODP1024S160 DHGroups = 9 DHGroups_DH_GROUPS_MODP2048S224 DHGroups = 10 DHGroups_DH_GROUPS_MODP2048S256 DHGroups = 11 DHGroups_DH_GROUPS_CURVE25519 DHGroups = 12 )
func (DHGroups) Descriptor ¶
func (DHGroups) Descriptor() protoreflect.EnumDescriptor
func (DHGroups) EnumDescriptor
deprecated
func (DHGroups) Number ¶
func (x DHGroups) Number() protoreflect.EnumNumber
func (DHGroups) Type ¶
func (DHGroups) Type() protoreflect.EnumType
type Groups ¶
type Groups struct { Group []string `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*Groups) Descriptor
deprecated
func (*Groups) ProtoMessage ¶
func (*Groups) ProtoMessage()
func (*Groups) ProtoReflect ¶
func (x *Groups) ProtoReflect() protoreflect.Message
type IPsecInitiateRequest ¶
type IPsecInitiateRequest struct { Child string `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"` Ike string `protobuf:"bytes,2,opt,name=ike,proto3" json:"ike,omitempty"` Timeout string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` Loglevel string `protobuf:"bytes,4,opt,name=loglevel,proto3" json:"loglevel,omitempty"` // contains filtered or unexported fields }
func (*IPsecInitiateRequest) Descriptor
deprecated
func (*IPsecInitiateRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecInitiateRequest.ProtoReflect.Descriptor instead.
func (*IPsecInitiateRequest) GetChild ¶
func (x *IPsecInitiateRequest) GetChild() string
func (*IPsecInitiateRequest) GetIke ¶
func (x *IPsecInitiateRequest) GetIke() string
func (*IPsecInitiateRequest) GetLoglevel ¶
func (x *IPsecInitiateRequest) GetLoglevel() string
func (*IPsecInitiateRequest) GetTimeout ¶
func (x *IPsecInitiateRequest) GetTimeout() string
func (*IPsecInitiateRequest) ProtoMessage ¶
func (*IPsecInitiateRequest) ProtoMessage()
func (*IPsecInitiateRequest) ProtoReflect ¶
func (x *IPsecInitiateRequest) ProtoReflect() protoreflect.Message
func (*IPsecInitiateRequest) Reset ¶
func (x *IPsecInitiateRequest) Reset()
func (*IPsecInitiateRequest) String ¶
func (x *IPsecInitiateRequest) String() string
type IPsecInitiateResponse ¶
type IPsecInitiateResponse struct {
// contains filtered or unexported fields
}
func (*IPsecInitiateResponse) Descriptor
deprecated
func (*IPsecInitiateResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecInitiateResponse.ProtoReflect.Descriptor instead.
func (*IPsecInitiateResponse) ProtoMessage ¶
func (*IPsecInitiateResponse) ProtoMessage()
func (*IPsecInitiateResponse) ProtoReflect ¶
func (x *IPsecInitiateResponse) ProtoReflect() protoreflect.Message
func (*IPsecInitiateResponse) Reset ¶
func (x *IPsecInitiateResponse) Reset()
func (*IPsecInitiateResponse) String ¶
func (x *IPsecInitiateResponse) String() string
type IPsecListCertsRequest ¶
type IPsecListCertsRequest struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*IPsecListCertsRequest) Descriptor
deprecated
func (*IPsecListCertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecListCertsRequest.ProtoReflect.Descriptor instead.
func (*IPsecListCertsRequest) GetFlag ¶
func (x *IPsecListCertsRequest) GetFlag() string
func (*IPsecListCertsRequest) GetSubject ¶
func (x *IPsecListCertsRequest) GetSubject() string
func (*IPsecListCertsRequest) GetType ¶
func (x *IPsecListCertsRequest) GetType() string
func (*IPsecListCertsRequest) ProtoMessage ¶
func (*IPsecListCertsRequest) ProtoMessage()
func (*IPsecListCertsRequest) ProtoReflect ¶
func (x *IPsecListCertsRequest) ProtoReflect() protoreflect.Message
func (*IPsecListCertsRequest) Reset ¶
func (x *IPsecListCertsRequest) Reset()
func (*IPsecListCertsRequest) String ¶
func (x *IPsecListCertsRequest) String() string
type IPsecListCertsResponse ¶
type IPsecListCertsResponse struct { Certs []*ListCert `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"` // contains filtered or unexported fields }
func (*IPsecListCertsResponse) Descriptor
deprecated
func (*IPsecListCertsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecListCertsResponse.ProtoReflect.Descriptor instead.
func (*IPsecListCertsResponse) GetCerts ¶
func (x *IPsecListCertsResponse) GetCerts() []*ListCert
func (*IPsecListCertsResponse) ProtoMessage ¶
func (*IPsecListCertsResponse) ProtoMessage()
func (*IPsecListCertsResponse) ProtoReflect ¶
func (x *IPsecListCertsResponse) ProtoReflect() protoreflect.Message
func (*IPsecListCertsResponse) Reset ¶
func (x *IPsecListCertsResponse) Reset()
func (*IPsecListCertsResponse) String ¶
func (x *IPsecListCertsResponse) String() string
type IPsecListConnsRequest ¶
type IPsecListConnsRequest struct { Ike string `protobuf:"bytes,1,opt,name=ike,proto3" json:"ike,omitempty"` // contains filtered or unexported fields }
func (*IPsecListConnsRequest) Descriptor
deprecated
func (*IPsecListConnsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecListConnsRequest.ProtoReflect.Descriptor instead.
func (*IPsecListConnsRequest) GetIke ¶
func (x *IPsecListConnsRequest) GetIke() string
func (*IPsecListConnsRequest) ProtoMessage ¶
func (*IPsecListConnsRequest) ProtoMessage()
func (*IPsecListConnsRequest) ProtoReflect ¶
func (x *IPsecListConnsRequest) ProtoReflect() protoreflect.Message
func (*IPsecListConnsRequest) Reset ¶
func (x *IPsecListConnsRequest) Reset()
func (*IPsecListConnsRequest) String ¶
func (x *IPsecListConnsRequest) String() string
type IPsecListConnsResponse ¶
type IPsecListConnsResponse struct { Connection []*ListConnResp `protobuf:"bytes,1,rep,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
func (*IPsecListConnsResponse) Descriptor
deprecated
func (*IPsecListConnsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecListConnsResponse.ProtoReflect.Descriptor instead.
func (*IPsecListConnsResponse) GetConnection ¶
func (x *IPsecListConnsResponse) GetConnection() []*ListConnResp
func (*IPsecListConnsResponse) ProtoMessage ¶
func (*IPsecListConnsResponse) ProtoMessage()
func (*IPsecListConnsResponse) ProtoReflect ¶
func (x *IPsecListConnsResponse) ProtoReflect() protoreflect.Message
func (*IPsecListConnsResponse) Reset ¶
func (x *IPsecListConnsResponse) Reset()
func (*IPsecListConnsResponse) String ¶
func (x *IPsecListConnsResponse) String() string
type IPsecListSasRequest ¶
type IPsecListSasRequest struct { Noblock string `protobuf:"bytes,1,opt,name=noblock,proto3" json:"noblock,omitempty"` Ike string `protobuf:"bytes,2,opt,name=ike,proto3" json:"ike,omitempty"` IkeId uint64 `protobuf:"varint,3,opt,name=ike_id,json=ikeId,proto3" json:"ike_id,omitempty"` Child string `protobuf:"bytes,4,opt,name=child,proto3" json:"child,omitempty"` ChildId uint64 `protobuf:"varint,5,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` // contains filtered or unexported fields }
func (*IPsecListSasRequest) Descriptor
deprecated
func (*IPsecListSasRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecListSasRequest.ProtoReflect.Descriptor instead.
func (*IPsecListSasRequest) GetChild ¶
func (x *IPsecListSasRequest) GetChild() string
func (*IPsecListSasRequest) GetChildId ¶
func (x *IPsecListSasRequest) GetChildId() uint64
func (*IPsecListSasRequest) GetIke ¶
func (x *IPsecListSasRequest) GetIke() string
func (*IPsecListSasRequest) GetIkeId ¶
func (x *IPsecListSasRequest) GetIkeId() uint64
func (*IPsecListSasRequest) GetNoblock ¶
func (x *IPsecListSasRequest) GetNoblock() string
func (*IPsecListSasRequest) ProtoMessage ¶
func (*IPsecListSasRequest) ProtoMessage()
func (*IPsecListSasRequest) ProtoReflect ¶
func (x *IPsecListSasRequest) ProtoReflect() protoreflect.Message
func (*IPsecListSasRequest) Reset ¶
func (x *IPsecListSasRequest) Reset()
func (*IPsecListSasRequest) String ¶
func (x *IPsecListSasRequest) String() string
type IPsecListSasResponse ¶
type IPsecListSasResponse struct { Ikesas []*ListIkeSa `protobuf:"bytes,1,rep,name=ikesas,proto3" json:"ikesas,omitempty"` // contains filtered or unexported fields }
func (*IPsecListSasResponse) Descriptor
deprecated
func (*IPsecListSasResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecListSasResponse.ProtoReflect.Descriptor instead.
func (*IPsecListSasResponse) GetIkesas ¶
func (x *IPsecListSasResponse) GetIkesas() []*ListIkeSa
func (*IPsecListSasResponse) ProtoMessage ¶
func (*IPsecListSasResponse) ProtoMessage()
func (*IPsecListSasResponse) ProtoReflect ¶
func (x *IPsecListSasResponse) ProtoReflect() protoreflect.Message
func (*IPsecListSasResponse) Reset ¶
func (x *IPsecListSasResponse) Reset()
func (*IPsecListSasResponse) String ¶
func (x *IPsecListSasResponse) String() string
type IPsecLoadConnRequest ¶
type IPsecLoadConnRequest struct { Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
func (*IPsecLoadConnRequest) Descriptor
deprecated
func (*IPsecLoadConnRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecLoadConnRequest.ProtoReflect.Descriptor instead.
func (*IPsecLoadConnRequest) GetConnection ¶
func (x *IPsecLoadConnRequest) GetConnection() *Connection
func (*IPsecLoadConnRequest) ProtoMessage ¶
func (*IPsecLoadConnRequest) ProtoMessage()
func (*IPsecLoadConnRequest) ProtoReflect ¶
func (x *IPsecLoadConnRequest) ProtoReflect() protoreflect.Message
func (*IPsecLoadConnRequest) Reset ¶
func (x *IPsecLoadConnRequest) Reset()
func (*IPsecLoadConnRequest) String ¶
func (x *IPsecLoadConnRequest) String() string
type IPsecLoadConnResponse ¶
type IPsecLoadConnResponse struct { Success string `protobuf:"bytes,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*IPsecLoadConnResponse) Descriptor
deprecated
func (*IPsecLoadConnResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecLoadConnResponse.ProtoReflect.Descriptor instead.
func (*IPsecLoadConnResponse) GetSuccess ¶
func (x *IPsecLoadConnResponse) GetSuccess() string
func (*IPsecLoadConnResponse) ProtoMessage ¶
func (*IPsecLoadConnResponse) ProtoMessage()
func (*IPsecLoadConnResponse) ProtoReflect ¶
func (x *IPsecLoadConnResponse) ProtoReflect() protoreflect.Message
func (*IPsecLoadConnResponse) Reset ¶
func (x *IPsecLoadConnResponse) Reset()
func (*IPsecLoadConnResponse) String ¶
func (x *IPsecLoadConnResponse) String() string
type IPsecRekeyRequest ¶
type IPsecRekeyRequest struct { Child string `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"` Ike string `protobuf:"bytes,2,opt,name=ike,proto3" json:"ike,omitempty"` ChildId uint64 `protobuf:"varint,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` IkeId uint64 `protobuf:"varint,4,opt,name=ike_id,json=ikeId,proto3" json:"ike_id,omitempty"` Reauth string `protobuf:"bytes,5,opt,name=reauth,proto3" json:"reauth,omitempty"` // contains filtered or unexported fields }
func (*IPsecRekeyRequest) Descriptor
deprecated
func (*IPsecRekeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecRekeyRequest.ProtoReflect.Descriptor instead.
func (*IPsecRekeyRequest) GetChild ¶
func (x *IPsecRekeyRequest) GetChild() string
func (*IPsecRekeyRequest) GetChildId ¶
func (x *IPsecRekeyRequest) GetChildId() uint64
func (*IPsecRekeyRequest) GetIke ¶
func (x *IPsecRekeyRequest) GetIke() string
func (*IPsecRekeyRequest) GetIkeId ¶
func (x *IPsecRekeyRequest) GetIkeId() uint64
func (*IPsecRekeyRequest) GetReauth ¶
func (x *IPsecRekeyRequest) GetReauth() string
func (*IPsecRekeyRequest) ProtoMessage ¶
func (*IPsecRekeyRequest) ProtoMessage()
func (*IPsecRekeyRequest) ProtoReflect ¶
func (x *IPsecRekeyRequest) ProtoReflect() protoreflect.Message
func (*IPsecRekeyRequest) Reset ¶
func (x *IPsecRekeyRequest) Reset()
func (*IPsecRekeyRequest) String ¶
func (x *IPsecRekeyRequest) String() string
type IPsecRekeyResponse ¶
type IPsecRekeyResponse struct { Success string `protobuf:"bytes,1,opt,name=success,proto3" json:"success,omitempty"` Matches uint32 `protobuf:"varint,2,opt,name=matches,proto3" json:"matches,omitempty"` // contains filtered or unexported fields }
func (*IPsecRekeyResponse) Descriptor
deprecated
func (*IPsecRekeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecRekeyResponse.ProtoReflect.Descriptor instead.
func (*IPsecRekeyResponse) GetMatches ¶
func (x *IPsecRekeyResponse) GetMatches() uint32
func (*IPsecRekeyResponse) GetSuccess ¶
func (x *IPsecRekeyResponse) GetSuccess() string
func (*IPsecRekeyResponse) ProtoMessage ¶
func (*IPsecRekeyResponse) ProtoMessage()
func (*IPsecRekeyResponse) ProtoReflect ¶
func (x *IPsecRekeyResponse) ProtoReflect() protoreflect.Message
func (*IPsecRekeyResponse) Reset ¶
func (x *IPsecRekeyResponse) Reset()
func (*IPsecRekeyResponse) String ¶
func (x *IPsecRekeyResponse) String() string
type IPsecServiceClient ¶
type IPsecServiceClient interface { IPsecVersion(ctx context.Context, in *IPsecVersionRequest, opts ...grpc.CallOption) (*IPsecVersionResponse, error) IPsecStats(ctx context.Context, in *IPsecStatsRequest, opts ...grpc.CallOption) (*IPsecStatsResponse, error) IPsecInitiate(ctx context.Context, in *IPsecInitiateRequest, opts ...grpc.CallOption) (*IPsecInitiateResponse, error) IPsecTerminate(ctx context.Context, in *IPsecTerminateRequest, opts ...grpc.CallOption) (*IPsecTerminateResponse, error) IPsecRekey(ctx context.Context, in *IPsecRekeyRequest, opts ...grpc.CallOption) (*IPsecRekeyResponse, error) IPsecListSas(ctx context.Context, in *IPsecListSasRequest, opts ...grpc.CallOption) (*IPsecListSasResponse, error) IPsecListConns(ctx context.Context, in *IPsecListConnsRequest, opts ...grpc.CallOption) (*IPsecListConnsResponse, error) IPsecListCerts(ctx context.Context, in *IPsecListCertsRequest, opts ...grpc.CallOption) (*IPsecListCertsResponse, error) IPsecLoadConn(ctx context.Context, in *IPsecLoadConnRequest, opts ...grpc.CallOption) (*IPsecLoadConnResponse, error) IPsecUnloadConn(ctx context.Context, in *IPsecUnloadConnRequest, opts ...grpc.CallOption) (*IPsecUnloadConnResponse, error) }
IPsecServiceClient is the client API for IPsecService 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 NewIPsecServiceClient ¶
func NewIPsecServiceClient(cc grpc.ClientConnInterface) IPsecServiceClient
type IPsecServiceServer ¶
type IPsecServiceServer interface { IPsecVersion(context.Context, *IPsecVersionRequest) (*IPsecVersionResponse, error) IPsecStats(context.Context, *IPsecStatsRequest) (*IPsecStatsResponse, error) IPsecInitiate(context.Context, *IPsecInitiateRequest) (*IPsecInitiateResponse, error) IPsecTerminate(context.Context, *IPsecTerminateRequest) (*IPsecTerminateResponse, error) IPsecRekey(context.Context, *IPsecRekeyRequest) (*IPsecRekeyResponse, error) IPsecListSas(context.Context, *IPsecListSasRequest) (*IPsecListSasResponse, error) IPsecListConns(context.Context, *IPsecListConnsRequest) (*IPsecListConnsResponse, error) IPsecListCerts(context.Context, *IPsecListCertsRequest) (*IPsecListCertsResponse, error) IPsecLoadConn(context.Context, *IPsecLoadConnRequest) (*IPsecLoadConnResponse, error) IPsecUnloadConn(context.Context, *IPsecUnloadConnRequest) (*IPsecUnloadConnResponse, error) // contains filtered or unexported methods }
IPsecServiceServer is the server API for IPsecService service. All implementations must embed UnimplementedIPsecServiceServer for forward compatibility
type IPsecStatsRequest ¶
type IPsecStatsRequest struct {
// contains filtered or unexported fields
}
func (*IPsecStatsRequest) Descriptor
deprecated
func (*IPsecStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecStatsRequest.ProtoReflect.Descriptor instead.
func (*IPsecStatsRequest) ProtoMessage ¶
func (*IPsecStatsRequest) ProtoMessage()
func (*IPsecStatsRequest) ProtoReflect ¶
func (x *IPsecStatsRequest) ProtoReflect() protoreflect.Message
func (*IPsecStatsRequest) Reset ¶
func (x *IPsecStatsRequest) Reset()
func (*IPsecStatsRequest) String ¶
func (x *IPsecStatsRequest) String() string
type IPsecStatsResponse ¶
type IPsecStatsResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Generic status string for now // contains filtered or unexported fields }
func (*IPsecStatsResponse) Descriptor
deprecated
func (*IPsecStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecStatsResponse.ProtoReflect.Descriptor instead.
func (*IPsecStatsResponse) GetStatus ¶
func (x *IPsecStatsResponse) GetStatus() string
func (*IPsecStatsResponse) ProtoMessage ¶
func (*IPsecStatsResponse) ProtoMessage()
func (*IPsecStatsResponse) ProtoReflect ¶
func (x *IPsecStatsResponse) ProtoReflect() protoreflect.Message
func (*IPsecStatsResponse) Reset ¶
func (x *IPsecStatsResponse) Reset()
func (*IPsecStatsResponse) String ¶
func (x *IPsecStatsResponse) String() string
type IPsecTerminateRequest ¶
type IPsecTerminateRequest struct { Child string `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"` Ike string `protobuf:"bytes,2,opt,name=ike,proto3" json:"ike,omitempty"` ChildId uint64 `protobuf:"varint,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` IkeId uint64 `protobuf:"varint,4,opt,name=ike_id,json=ikeId,proto3" json:"ike_id,omitempty"` Force string `protobuf:"bytes,5,opt,name=force,proto3" json:"force,omitempty"` Timeout string `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` Loglevel string `protobuf:"bytes,7,opt,name=loglevel,proto3" json:"loglevel,omitempty"` // contains filtered or unexported fields }
func (*IPsecTerminateRequest) Descriptor
deprecated
func (*IPsecTerminateRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecTerminateRequest.ProtoReflect.Descriptor instead.
func (*IPsecTerminateRequest) GetChild ¶
func (x *IPsecTerminateRequest) GetChild() string
func (*IPsecTerminateRequest) GetChildId ¶
func (x *IPsecTerminateRequest) GetChildId() uint64
func (*IPsecTerminateRequest) GetForce ¶
func (x *IPsecTerminateRequest) GetForce() string
func (*IPsecTerminateRequest) GetIke ¶
func (x *IPsecTerminateRequest) GetIke() string
func (*IPsecTerminateRequest) GetIkeId ¶
func (x *IPsecTerminateRequest) GetIkeId() uint64
func (*IPsecTerminateRequest) GetLoglevel ¶
func (x *IPsecTerminateRequest) GetLoglevel() string
func (*IPsecTerminateRequest) GetTimeout ¶
func (x *IPsecTerminateRequest) GetTimeout() string
func (*IPsecTerminateRequest) ProtoMessage ¶
func (*IPsecTerminateRequest) ProtoMessage()
func (*IPsecTerminateRequest) ProtoReflect ¶
func (x *IPsecTerminateRequest) ProtoReflect() protoreflect.Message
func (*IPsecTerminateRequest) Reset ¶
func (x *IPsecTerminateRequest) Reset()
func (*IPsecTerminateRequest) String ¶
func (x *IPsecTerminateRequest) String() string
type IPsecTerminateResponse ¶
type IPsecTerminateResponse struct { Success string `protobuf:"bytes,1,opt,name=success,proto3" json:"success,omitempty"` Matches uint32 `protobuf:"varint,2,opt,name=matches,proto3" json:"matches,omitempty"` Terminated uint32 `protobuf:"varint,3,opt,name=terminated,proto3" json:"terminated,omitempty"` // contains filtered or unexported fields }
func (*IPsecTerminateResponse) Descriptor
deprecated
func (*IPsecTerminateResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecTerminateResponse.ProtoReflect.Descriptor instead.
func (*IPsecTerminateResponse) GetMatches ¶
func (x *IPsecTerminateResponse) GetMatches() uint32
func (*IPsecTerminateResponse) GetSuccess ¶
func (x *IPsecTerminateResponse) GetSuccess() string
func (*IPsecTerminateResponse) GetTerminated ¶
func (x *IPsecTerminateResponse) GetTerminated() uint32
func (*IPsecTerminateResponse) ProtoMessage ¶
func (*IPsecTerminateResponse) ProtoMessage()
func (*IPsecTerminateResponse) ProtoReflect ¶
func (x *IPsecTerminateResponse) ProtoReflect() protoreflect.Message
func (*IPsecTerminateResponse) Reset ¶
func (x *IPsecTerminateResponse) Reset()
func (*IPsecTerminateResponse) String ¶
func (x *IPsecTerminateResponse) String() string
type IPsecUnloadConnRequest ¶
type IPsecUnloadConnRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*IPsecUnloadConnRequest) Descriptor
deprecated
func (*IPsecUnloadConnRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecUnloadConnRequest.ProtoReflect.Descriptor instead.
func (*IPsecUnloadConnRequest) GetName ¶
func (x *IPsecUnloadConnRequest) GetName() string
func (*IPsecUnloadConnRequest) ProtoMessage ¶
func (*IPsecUnloadConnRequest) ProtoMessage()
func (*IPsecUnloadConnRequest) ProtoReflect ¶
func (x *IPsecUnloadConnRequest) ProtoReflect() protoreflect.Message
func (*IPsecUnloadConnRequest) Reset ¶
func (x *IPsecUnloadConnRequest) Reset()
func (*IPsecUnloadConnRequest) String ¶
func (x *IPsecUnloadConnRequest) String() string
type IPsecUnloadConnResponse ¶
type IPsecUnloadConnResponse struct { Success string `protobuf:"bytes,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*IPsecUnloadConnResponse) Descriptor
deprecated
func (*IPsecUnloadConnResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecUnloadConnResponse.ProtoReflect.Descriptor instead.
func (*IPsecUnloadConnResponse) GetSuccess ¶
func (x *IPsecUnloadConnResponse) GetSuccess() string
func (*IPsecUnloadConnResponse) ProtoMessage ¶
func (*IPsecUnloadConnResponse) ProtoMessage()
func (*IPsecUnloadConnResponse) ProtoReflect ¶
func (x *IPsecUnloadConnResponse) ProtoReflect() protoreflect.Message
func (*IPsecUnloadConnResponse) Reset ¶
func (x *IPsecUnloadConnResponse) Reset()
func (*IPsecUnloadConnResponse) String ¶
func (x *IPsecUnloadConnResponse) String() string
type IPsecVersionRequest ¶
type IPsecVersionRequest struct {
// contains filtered or unexported fields
}
func (*IPsecVersionRequest) Descriptor
deprecated
func (*IPsecVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPsecVersionRequest.ProtoReflect.Descriptor instead.
func (*IPsecVersionRequest) ProtoMessage ¶
func (*IPsecVersionRequest) ProtoMessage()
func (*IPsecVersionRequest) ProtoReflect ¶
func (x *IPsecVersionRequest) ProtoReflect() protoreflect.Message
func (*IPsecVersionRequest) Reset ¶
func (x *IPsecVersionRequest) Reset()
func (*IPsecVersionRequest) String ¶
func (x *IPsecVersionRequest) String() string
type IPsecVersionResponse ¶
type IPsecVersionResponse struct { Daemon string `protobuf:"bytes,1,opt,name=daemon,proto3" json:"daemon,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Sysname string `protobuf:"bytes,3,opt,name=sysname,proto3" json:"sysname,omitempty"` Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*IPsecVersionResponse) Descriptor
deprecated
func (*IPsecVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPsecVersionResponse.ProtoReflect.Descriptor instead.
func (*IPsecVersionResponse) GetDaemon ¶
func (x *IPsecVersionResponse) GetDaemon() string
func (*IPsecVersionResponse) GetMachine ¶
func (x *IPsecVersionResponse) GetMachine() string
func (*IPsecVersionResponse) GetRelease ¶
func (x *IPsecVersionResponse) GetRelease() string
func (*IPsecVersionResponse) GetSysname ¶
func (x *IPsecVersionResponse) GetSysname() string
func (*IPsecVersionResponse) GetVersion ¶
func (x *IPsecVersionResponse) GetVersion() string
func (*IPsecVersionResponse) ProtoMessage ¶
func (*IPsecVersionResponse) ProtoMessage()
func (*IPsecVersionResponse) ProtoReflect ¶
func (x *IPsecVersionResponse) ProtoReflect() protoreflect.Message
func (*IPsecVersionResponse) Reset ¶
func (x *IPsecVersionResponse) Reset()
func (*IPsecVersionResponse) String ¶
func (x *IPsecVersionResponse) String() string
type IkeSaState ¶
type IkeSaState int32
IKE_SA state
const ( IkeSaState_IKE_SA_STATE_UNSPECIFIED IkeSaState = 0 IkeSaState_IKE_SA_STATE_CREATED IkeSaState = 1 IkeSaState_IKE_SA_STATE_CONNECTING IkeSaState = 2 IkeSaState_IKE_SA_STATE_ESTABLISHED IkeSaState = 3 IkeSaState_IKE_SA_STATE_PASSIVE IkeSaState = 4 IkeSaState_IKE_SA_STATE_REKEYING IkeSaState = 5 IkeSaState_IKE_SA_STATE_REKEYED IkeSaState = 6 IkeSaState_IKE_SA_STATE_DELETING IkeSaState = 7 IkeSaState_IKE_SA_STATE_DESTROYING IkeSaState = 8 )
func (IkeSaState) Descriptor ¶
func (IkeSaState) Descriptor() protoreflect.EnumDescriptor
func (IkeSaState) Enum ¶
func (x IkeSaState) Enum() *IkeSaState
func (IkeSaState) EnumDescriptor
deprecated
func (IkeSaState) EnumDescriptor() ([]byte, []int)
Deprecated: Use IkeSaState.Descriptor instead.
func (IkeSaState) Number ¶
func (x IkeSaState) Number() protoreflect.EnumNumber
func (IkeSaState) String ¶
func (x IkeSaState) String() string
func (IkeSaState) Type ¶
func (IkeSaState) Type() protoreflect.EnumType
type IntegAlgorithm ¶
type IntegAlgorithm int32
Cryptographic algorithm for authentication
const ( IntegAlgorithm_INTEG_ALGORITHM_UNSPECIFIED IntegAlgorithm = 0 IntegAlgorithm_INTEG_ALGORITHM_MD5 IntegAlgorithm = 1 IntegAlgorithm_INTEG_ALGORITHM_MD5_128 IntegAlgorithm = 2 IntegAlgorithm_INTEG_ALGORITHM_SHA1 IntegAlgorithm = 3 IntegAlgorithm_INTEG_ALGORITHM_SHA1_160 IntegAlgorithm = 4 IntegAlgorithm_INTEG_ALGORITHM_SHA256 IntegAlgorithm = 5 IntegAlgorithm_INTEG_ALGORITHM_SHA384 IntegAlgorithm = 7 IntegAlgorithm_INTEG_ALGORITHM_SHA512 IntegAlgorithm = 8 IntegAlgorithm_INTEG_ALGORITHM_SHA256_96 IntegAlgorithm = 9 )
func (IntegAlgorithm) Descriptor ¶
func (IntegAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (IntegAlgorithm) Enum ¶
func (x IntegAlgorithm) Enum() *IntegAlgorithm
func (IntegAlgorithm) EnumDescriptor
deprecated
func (IntegAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntegAlgorithm.Descriptor instead.
func (IntegAlgorithm) Number ¶
func (x IntegAlgorithm) Number() protoreflect.EnumNumber
func (IntegAlgorithm) String ¶
func (x IntegAlgorithm) String() string
func (IntegAlgorithm) Type ¶
func (IntegAlgorithm) Type() protoreflect.EnumType
type IpsecMode ¶
type IpsecMode int32
Tunnel mode
func (IpsecMode) Descriptor ¶
func (IpsecMode) Descriptor() protoreflect.EnumDescriptor
func (IpsecMode) EnumDescriptor
deprecated
func (IpsecMode) Number ¶
func (x IpsecMode) Number() protoreflect.EnumNumber
func (IpsecMode) Type ¶
func (IpsecMode) Type() protoreflect.EnumType
type ListCert ¶
type ListCert struct { Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=opi_api.security.v1.CertificateType" json:"type,omitempty"` Flag X509CertificateFlag `protobuf:"varint,2,opt,name=flag,proto3,enum=opi_api.security.v1.X509CertificateFlag" json:"flag,omitempty"` Hasprivkey string `protobuf:"bytes,3,opt,name=hasprivkey,proto3" json:"hasprivkey,omitempty"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` Notbefore string `protobuf:"bytes,6,opt,name=notbefore,proto3" json:"notbefore,omitempty"` Notafter string `protobuf:"bytes,7,opt,name=notafter,proto3" json:"notafter,omitempty"` // contains filtered or unexported fields }
list-cert
func (*ListCert) Descriptor
deprecated
func (*ListCert) GetFlag ¶
func (x *ListCert) GetFlag() X509CertificateFlag
func (*ListCert) GetHasprivkey ¶
func (*ListCert) GetNotafter ¶
func (*ListCert) GetNotbefore ¶
func (*ListCert) GetSubject ¶
func (*ListCert) GetType ¶
func (x *ListCert) GetType() CertificateType
func (*ListCert) ProtoMessage ¶
func (*ListCert) ProtoMessage()
func (*ListCert) ProtoReflect ¶
func (x *ListCert) ProtoReflect() protoreflect.Message
type ListChild ¶
type ListChild struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Child SA name Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` RekeyTime uint32 `protobuf:"varint,4,opt,name=rekey_time,json=rekeyTime,proto3" json:"rekey_time,omitempty"` RekeyBytes uint32 `protobuf:"varint,5,opt,name=rekey_bytes,json=rekeyBytes,proto3" json:"rekey_bytes,omitempty"` RekeyPackets uint32 `protobuf:"varint,6,opt,name=rekey_packets,json=rekeyPackets,proto3" json:"rekey_packets,omitempty"` DpdAction string `protobuf:"bytes,7,opt,name=dpd_action,json=dpdAction,proto3" json:"dpd_action,omitempty"` CloseAction string `protobuf:"bytes,8,opt,name=close_action,json=closeAction,proto3" json:"close_action,omitempty"` LocalTs *TrafficSelectors `protobuf:"bytes,9,opt,name=local_ts,json=localTs,proto3" json:"local_ts,omitempty"` RemoteTs *TrafficSelectors `protobuf:"bytes,10,opt,name=remote_ts,json=remoteTs,proto3" json:"remote_ts,omitempty"` Interface string `protobuf:"bytes,11,opt,name=interface,proto3" json:"interface,omitempty"` Priority string `protobuf:"bytes,12,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
func (*ListChild) Descriptor
deprecated
func (*ListChild) GetCloseAction ¶
func (*ListChild) GetDpdAction ¶
func (*ListChild) GetInterface ¶
func (*ListChild) GetLocalTs ¶
func (x *ListChild) GetLocalTs() *TrafficSelectors
func (*ListChild) GetPriority ¶
func (*ListChild) GetRekeyBytes ¶
func (*ListChild) GetRekeyPackets ¶
func (*ListChild) GetRekeyTime ¶
func (*ListChild) GetRemoteTs ¶
func (x *ListChild) GetRemoteTs() *TrafficSelectors
func (*ListChild) ProtoMessage ¶
func (*ListChild) ProtoMessage()
func (*ListChild) ProtoReflect ¶
func (x *ListChild) ProtoReflect() protoreflect.Message
type ListChildSa ¶
type ListChildSa struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` Encap string `protobuf:"bytes,3,opt,name=encap,proto3" json:"encap,omitempty"` SpiIn string `protobuf:"bytes,4,opt,name=spi_in,json=spiIn,proto3" json:"spi_in,omitempty"` SpiOut string `protobuf:"bytes,5,opt,name=spi_out,json=spiOut,proto3" json:"spi_out,omitempty"` CpiIn string `protobuf:"bytes,6,opt,name=cpi_in,json=cpiIn,proto3" json:"cpi_in,omitempty"` CpiOut string `protobuf:"bytes,7,opt,name=cpi_out,json=cpiOut,proto3" json:"cpi_out,omitempty"` MarkIn string `protobuf:"bytes,8,opt,name=mark_in,json=markIn,proto3" json:"mark_in,omitempty"` MarkMaskIn string `protobuf:"bytes,9,opt,name=mark_mask_in,json=markMaskIn,proto3" json:"mark_mask_in,omitempty"` MarkOut string `protobuf:"bytes,10,opt,name=mark_out,json=markOut,proto3" json:"mark_out,omitempty"` MarkMaskOut string `protobuf:"bytes,11,opt,name=mark_mask_out,json=markMaskOut,proto3" json:"mark_mask_out,omitempty"` IfIdIn string `protobuf:"bytes,12,opt,name=if_id_in,json=ifIdIn,proto3" json:"if_id_in,omitempty"` IfIdOut string `protobuf:"bytes,13,opt,name=if_id_out,json=ifIdOut,proto3" json:"if_id_out,omitempty"` EncrAlg string `protobuf:"bytes,14,opt,name=encr_alg,json=encrAlg,proto3" json:"encr_alg,omitempty"` EncrKeysize string `protobuf:"bytes,15,opt,name=encr_keysize,json=encrKeysize,proto3" json:"encr_keysize,omitempty"` IntegAlg string `protobuf:"bytes,16,opt,name=integ_alg,json=integAlg,proto3" json:"integ_alg,omitempty"` IntegKeysize string `protobuf:"bytes,17,opt,name=integ_keysize,json=integKeysize,proto3" json:"integ_keysize,omitempty"` DhGroup string `protobuf:"bytes,18,opt,name=dh_group,json=dhGroup,proto3" json:"dh_group,omitempty"` Esn string `protobuf:"bytes,19,opt,name=esn,proto3" json:"esn,omitempty"` // contains filtered or unexported fields }
func (*ListChildSa) Descriptor
deprecated
func (*ListChildSa) Descriptor() ([]byte, []int)
Deprecated: Use ListChildSa.ProtoReflect.Descriptor instead.
func (*ListChildSa) GetCpiIn ¶
func (x *ListChildSa) GetCpiIn() string
func (*ListChildSa) GetCpiOut ¶
func (x *ListChildSa) GetCpiOut() string
func (*ListChildSa) GetDhGroup ¶
func (x *ListChildSa) GetDhGroup() string
func (*ListChildSa) GetEncap ¶
func (x *ListChildSa) GetEncap() string
func (*ListChildSa) GetEncrAlg ¶
func (x *ListChildSa) GetEncrAlg() string
func (*ListChildSa) GetEncrKeysize ¶
func (x *ListChildSa) GetEncrKeysize() string
func (*ListChildSa) GetEsn ¶
func (x *ListChildSa) GetEsn() string
func (*ListChildSa) GetIfIdIn ¶
func (x *ListChildSa) GetIfIdIn() string
func (*ListChildSa) GetIfIdOut ¶
func (x *ListChildSa) GetIfIdOut() string
func (*ListChildSa) GetIntegAlg ¶
func (x *ListChildSa) GetIntegAlg() string
func (*ListChildSa) GetIntegKeysize ¶
func (x *ListChildSa) GetIntegKeysize() string
func (*ListChildSa) GetMarkIn ¶
func (x *ListChildSa) GetMarkIn() string
func (*ListChildSa) GetMarkMaskIn ¶
func (x *ListChildSa) GetMarkMaskIn() string
func (*ListChildSa) GetMarkMaskOut ¶
func (x *ListChildSa) GetMarkMaskOut() string
func (*ListChildSa) GetMarkOut ¶
func (x *ListChildSa) GetMarkOut() string
func (*ListChildSa) GetName ¶
func (x *ListChildSa) GetName() string
func (*ListChildSa) GetProtocol ¶
func (x *ListChildSa) GetProtocol() string
func (*ListChildSa) GetSpiIn ¶
func (x *ListChildSa) GetSpiIn() string
func (*ListChildSa) GetSpiOut ¶
func (x *ListChildSa) GetSpiOut() string
func (*ListChildSa) ProtoMessage ¶
func (*ListChildSa) ProtoMessage()
func (*ListChildSa) ProtoReflect ¶
func (x *ListChildSa) ProtoReflect() protoreflect.Message
func (*ListChildSa) Reset ¶
func (x *ListChildSa) Reset()
func (*ListChildSa) String ¶
func (x *ListChildSa) String() string
type ListConnAuth ¶
type ListConnAuth struct { Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` Eaptype string `protobuf:"bytes,2,opt,name=eaptype,proto3" json:"eaptype,omitempty"` Eapvendor string `protobuf:"bytes,3,opt,name=eapvendor,proto3" json:"eapvendor,omitempty"` Xauth string `protobuf:"bytes,4,opt,name=xauth,proto3" json:"xauth,omitempty"` Revocation string `protobuf:"bytes,5,opt,name=revocation,proto3" json:"revocation,omitempty"` Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` CaId string `protobuf:"bytes,7,opt,name=ca_id,json=caId,proto3" json:"ca_id,omitempty"` AaaId string `protobuf:"bytes,8,opt,name=aaa_id,json=aaaId,proto3" json:"aaa_id,omitempty"` EapId string `protobuf:"bytes,9,opt,name=eap_id,json=eapId,proto3" json:"eap_id,omitempty"` XauthId string `protobuf:"bytes,10,opt,name=xauth_id,json=xauthId,proto3" json:"xauth_id,omitempty"` Group *Groups `protobuf:"bytes,11,opt,name=group,proto3" json:"group,omitempty"` CertPolicy *CertPolicy `protobuf:"bytes,12,opt,name=cert_policy,json=certPolicy,proto3" json:"cert_policy,omitempty"` Certs *Certs `protobuf:"bytes,13,opt,name=certs,proto3" json:"certs,omitempty"` Cacerts *CaCerts `protobuf:"bytes,14,opt,name=cacerts,proto3" json:"cacerts,omitempty"` // contains filtered or unexported fields }
func (*ListConnAuth) Descriptor
deprecated
func (*ListConnAuth) Descriptor() ([]byte, []int)
Deprecated: Use ListConnAuth.ProtoReflect.Descriptor instead.
func (*ListConnAuth) GetAaaId ¶
func (x *ListConnAuth) GetAaaId() string
func (*ListConnAuth) GetCaId ¶
func (x *ListConnAuth) GetCaId() string
func (*ListConnAuth) GetCacerts ¶
func (x *ListConnAuth) GetCacerts() *CaCerts
func (*ListConnAuth) GetCertPolicy ¶
func (x *ListConnAuth) GetCertPolicy() *CertPolicy
func (*ListConnAuth) GetCerts ¶
func (x *ListConnAuth) GetCerts() *Certs
func (*ListConnAuth) GetClass ¶
func (x *ListConnAuth) GetClass() string
func (*ListConnAuth) GetEapId ¶
func (x *ListConnAuth) GetEapId() string
func (*ListConnAuth) GetEaptype ¶
func (x *ListConnAuth) GetEaptype() string
func (*ListConnAuth) GetEapvendor ¶
func (x *ListConnAuth) GetEapvendor() string
func (*ListConnAuth) GetGroup ¶
func (x *ListConnAuth) GetGroup() *Groups
func (*ListConnAuth) GetId ¶
func (x *ListConnAuth) GetId() string
func (*ListConnAuth) GetRevocation ¶
func (x *ListConnAuth) GetRevocation() string
func (*ListConnAuth) GetXauth ¶
func (x *ListConnAuth) GetXauth() string
func (*ListConnAuth) GetXauthId ¶
func (x *ListConnAuth) GetXauthId() string
func (*ListConnAuth) ProtoMessage ¶
func (*ListConnAuth) ProtoMessage()
func (*ListConnAuth) ProtoReflect ¶
func (x *ListConnAuth) ProtoReflect() protoreflect.Message
func (*ListConnAuth) Reset ¶
func (x *ListConnAuth) Reset()
func (*ListConnAuth) String ¶
func (x *ListConnAuth) String() string
type ListConnResp ¶
type ListConnResp struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Connection name LocalAddrs []*Addrs `protobuf:"bytes,2,rep,name=local_addrs,json=localAddrs,proto3" json:"local_addrs,omitempty"` RemoteAddrs []*Addrs `protobuf:"bytes,3,rep,name=remote_addrs,json=remoteAddrs,proto3" json:"remote_addrs,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` ReauthTime uint32 `protobuf:"varint,5,opt,name=reauth_time,json=reauthTime,proto3" json:"reauth_time,omitempty"` RekeyTime uint32 `protobuf:"varint,6,opt,name=rekey_time,json=rekeyTime,proto3" json:"rekey_time,omitempty"` Unique string `protobuf:"bytes,7,opt,name=unique,proto3" json:"unique,omitempty"` DpdDelay uint32 `protobuf:"varint,8,opt,name=dpd_delay,json=dpdDelay,proto3" json:"dpd_delay,omitempty"` DpdTimeout uint32 `protobuf:"varint,9,opt,name=dpd_timeout,json=dpdTimeout,proto3" json:"dpd_timeout,omitempty"` Ppk string `protobuf:"bytes,10,opt,name=ppk,proto3" json:"ppk,omitempty"` PpkRequired string `protobuf:"bytes,11,opt,name=ppk_required,json=ppkRequired,proto3" json:"ppk_required,omitempty"` LocalAuth []*ListConnAuth `protobuf:"bytes,12,rep,name=local_auth,json=localAuth,proto3" json:"local_auth,omitempty"` RemoteAuth []*ListConnAuth `protobuf:"bytes,13,rep,name=remote_auth,json=remoteAuth,proto3" json:"remote_auth,omitempty"` Children []*ListChild `protobuf:"bytes,14,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*ListConnResp) Descriptor
deprecated
func (*ListConnResp) Descriptor() ([]byte, []int)
Deprecated: Use ListConnResp.ProtoReflect.Descriptor instead.
func (*ListConnResp) GetChildren ¶
func (x *ListConnResp) GetChildren() []*ListChild
func (*ListConnResp) GetDpdDelay ¶
func (x *ListConnResp) GetDpdDelay() uint32
func (*ListConnResp) GetDpdTimeout ¶
func (x *ListConnResp) GetDpdTimeout() uint32
func (*ListConnResp) GetLocalAddrs ¶
func (x *ListConnResp) GetLocalAddrs() []*Addrs
func (*ListConnResp) GetLocalAuth ¶
func (x *ListConnResp) GetLocalAuth() []*ListConnAuth
func (*ListConnResp) GetName ¶
func (x *ListConnResp) GetName() string
func (*ListConnResp) GetPpk ¶
func (x *ListConnResp) GetPpk() string
func (*ListConnResp) GetPpkRequired ¶
func (x *ListConnResp) GetPpkRequired() string
func (*ListConnResp) GetReauthTime ¶
func (x *ListConnResp) GetReauthTime() uint32
func (*ListConnResp) GetRekeyTime ¶
func (x *ListConnResp) GetRekeyTime() uint32
func (*ListConnResp) GetRemoteAddrs ¶
func (x *ListConnResp) GetRemoteAddrs() []*Addrs
func (*ListConnResp) GetRemoteAuth ¶
func (x *ListConnResp) GetRemoteAuth() []*ListConnAuth
func (*ListConnResp) GetUnique ¶
func (x *ListConnResp) GetUnique() string
func (*ListConnResp) GetVersion ¶
func (x *ListConnResp) GetVersion() string
func (*ListConnResp) ProtoMessage ¶
func (*ListConnResp) ProtoMessage()
func (*ListConnResp) ProtoReflect ¶
func (x *ListConnResp) ProtoReflect() protoreflect.Message
func (*ListConnResp) Reset ¶
func (x *ListConnResp) Reset()
func (*ListConnResp) String ¶
func (x *ListConnResp) String() string
type ListIkeSa ¶
type ListIkeSa struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // IKE_SA name Uniqueid string `protobuf:"bytes,2,opt,name=uniqueid,proto3" json:"uniqueid,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Ikestate IkeSaState `protobuf:"varint,4,opt,name=ikestate,proto3,enum=opi_api.security.v1.IkeSaState" json:"ikestate,omitempty"` LocalHost string `protobuf:"bytes,5,opt,name=local_host,json=localHost,proto3" json:"local_host,omitempty"` LocalPort string `protobuf:"bytes,6,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` LocalId string `protobuf:"bytes,7,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty"` RemoteHost string `protobuf:"bytes,8,opt,name=remote_host,json=remoteHost,proto3" json:"remote_host,omitempty"` RemotePort string `protobuf:"bytes,9,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` RemoteId string `protobuf:"bytes,10,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` RemoteXauthId string `protobuf:"bytes,11,opt,name=remote_xauth_id,json=remoteXauthId,proto3" json:"remote_xauth_id,omitempty"` RemoteEapId string `protobuf:"bytes,12,opt,name=remote_eap_id,json=remoteEapId,proto3" json:"remote_eap_id,omitempty"` Initiator string `protobuf:"bytes,13,opt,name=initiator,proto3" json:"initiator,omitempty"` InitiatorSpi string `protobuf:"bytes,14,opt,name=initiator_spi,json=initiatorSpi,proto3" json:"initiator_spi,omitempty"` ResponderSpi string `protobuf:"bytes,15,opt,name=responder_spi,json=responderSpi,proto3" json:"responder_spi,omitempty"` NatLocal string `protobuf:"bytes,16,opt,name=nat_local,json=natLocal,proto3" json:"nat_local,omitempty"` NatRemote string `protobuf:"bytes,17,opt,name=nat_remote,json=natRemote,proto3" json:"nat_remote,omitempty"` NatFake string `protobuf:"bytes,18,opt,name=nat_fake,json=natFake,proto3" json:"nat_fake,omitempty"` NatAny string `protobuf:"bytes,19,opt,name=nat_any,json=natAny,proto3" json:"nat_any,omitempty"` IfIdIn string `protobuf:"bytes,20,opt,name=if_id_in,json=ifIdIn,proto3" json:"if_id_in,omitempty"` IfIdOut string `protobuf:"bytes,21,opt,name=if_id_out,json=ifIdOut,proto3" json:"if_id_out,omitempty"` EncrAlg string `protobuf:"bytes,22,opt,name=encr_alg,json=encrAlg,proto3" json:"encr_alg,omitempty"` EncrKeysize string `protobuf:"bytes,23,opt,name=encr_keysize,json=encrKeysize,proto3" json:"encr_keysize,omitempty"` IntegAlg string `protobuf:"bytes,24,opt,name=integ_alg,json=integAlg,proto3" json:"integ_alg,omitempty"` IntegKeysize string `protobuf:"bytes,25,opt,name=integ_keysize,json=integKeysize,proto3" json:"integ_keysize,omitempty"` PrfAlg string `protobuf:"bytes,26,opt,name=prf_alg,json=prfAlg,proto3" json:"prf_alg,omitempty"` DhGroup string `protobuf:"bytes,27,opt,name=dh_group,json=dhGroup,proto3" json:"dh_group,omitempty"` Ppk string `protobuf:"bytes,28,opt,name=ppk,proto3" json:"ppk,omitempty"` Established string `protobuf:"bytes,29,opt,name=established,proto3" json:"established,omitempty"` RekeyTime string `protobuf:"bytes,30,opt,name=rekey_time,json=rekeyTime,proto3" json:"rekey_time,omitempty"` ReauthTime string `protobuf:"bytes,31,opt,name=reauth_time,json=reauthTime,proto3" json:"reauth_time,omitempty"` LocalVips []string `protobuf:"bytes,32,rep,name=local_vips,json=localVips,proto3" json:"local_vips,omitempty"` RemoteVips []string `protobuf:"bytes,33,rep,name=remote_vips,json=remoteVips,proto3" json:"remote_vips,omitempty"` TasksQueued []string `protobuf:"bytes,34,rep,name=tasks_queued,json=tasksQueued,proto3" json:"tasks_queued,omitempty"` TasksActive []string `protobuf:"bytes,35,rep,name=tasks_active,json=tasksActive,proto3" json:"tasks_active,omitempty"` TasksPassive []string `protobuf:"bytes,36,rep,name=tasks_passive,json=tasksPassive,proto3" json:"tasks_passive,omitempty"` Childsas []*ListChildSa `protobuf:"bytes,37,rep,name=childsas,proto3" json:"childsas,omitempty"` // contains filtered or unexported fields }
func (*ListIkeSa) Descriptor
deprecated
func (*ListIkeSa) GetChildsas ¶
func (x *ListIkeSa) GetChildsas() []*ListChildSa
func (*ListIkeSa) GetDhGroup ¶
func (*ListIkeSa) GetEncrAlg ¶
func (*ListIkeSa) GetEncrKeysize ¶
func (*ListIkeSa) GetEstablished ¶
func (*ListIkeSa) GetIfIdOut ¶
func (*ListIkeSa) GetIkestate ¶
func (x *ListIkeSa) GetIkestate() IkeSaState
func (*ListIkeSa) GetInitiator ¶
func (*ListIkeSa) GetInitiatorSpi ¶
func (*ListIkeSa) GetIntegAlg ¶
func (*ListIkeSa) GetIntegKeysize ¶
func (*ListIkeSa) GetLocalHost ¶
func (*ListIkeSa) GetLocalId ¶
func (*ListIkeSa) GetLocalPort ¶
func (*ListIkeSa) GetLocalVips ¶
func (*ListIkeSa) GetNatFake ¶
func (*ListIkeSa) GetNatLocal ¶
func (*ListIkeSa) GetNatRemote ¶
func (*ListIkeSa) GetReauthTime ¶
func (*ListIkeSa) GetRekeyTime ¶
func (*ListIkeSa) GetRemoteEapId ¶
func (*ListIkeSa) GetRemoteHost ¶
func (*ListIkeSa) GetRemoteId ¶
func (*ListIkeSa) GetRemotePort ¶
func (*ListIkeSa) GetRemoteVips ¶
func (*ListIkeSa) GetRemoteXauthId ¶
func (*ListIkeSa) GetResponderSpi ¶
func (*ListIkeSa) GetTasksActive ¶
func (*ListIkeSa) GetTasksPassive ¶
func (*ListIkeSa) GetTasksQueued ¶
func (*ListIkeSa) GetUniqueid ¶
func (*ListIkeSa) GetVersion ¶
func (*ListIkeSa) ProtoMessage ¶
func (*ListIkeSa) ProtoMessage()
func (*ListIkeSa) ProtoReflect ¶
func (x *ListIkeSa) ProtoReflect() protoreflect.Message
type LocalAuth ¶
type LocalAuth struct { Auth AuthType `protobuf:"varint,1,opt,name=auth,proto3,enum=opi_api.security.v1.AuthType" json:"auth,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` EapId string `protobuf:"bytes,3,opt,name=eap_id,json=eapId,proto3" json:"eap_id,omitempty"` AaaId string `protobuf:"bytes,4,opt,name=aaa_id,json=aaaId,proto3" json:"aaa_id,omitempty"` XauthId string `protobuf:"bytes,5,opt,name=xauth_id,json=xauthId,proto3" json:"xauth_id,omitempty"` Certs *Certs `protobuf:"bytes,6,opt,name=certs,proto3" json:"certs,omitempty"` Pubkeys *PubKeys `protobuf:"bytes,7,opt,name=pubkeys,proto3" json:"pubkeys,omitempty"` // contains filtered or unexported fields }
func (*LocalAuth) Descriptor
deprecated
func (*LocalAuth) GetPubkeys ¶
func (*LocalAuth) GetXauthId ¶
func (*LocalAuth) ProtoMessage ¶
func (*LocalAuth) ProtoMessage()
func (*LocalAuth) ProtoReflect ¶
func (x *LocalAuth) ProtoReflect() protoreflect.Message
type PRFunction ¶
type PRFunction int32
Pesudo Random Function
const ( PRFunction_PR_FUNCTION_UNSPECIFIED PRFunction = 0 PRFunction_PR_FUNCTION_MD5 PRFunction = 1 PRFunction_PR_FUNCTION_SHA1 PRFunction = 2 PRFunction_PR_FUNCTION_AESXCBC PRFunction = 3 PRFunction_PR_FUNCTION_AESCMAC PRFunction = 4 PRFunction_PR_FUNCTION_SHA256 PRFunction = 5 PRFunction_PR_FUNCTION_SHA384 PRFunction = 6 PRFunction_PR_FUNCTION_SHA512 PRFunction = 7 )
func (PRFunction) Descriptor ¶
func (PRFunction) Descriptor() protoreflect.EnumDescriptor
func (PRFunction) Enum ¶
func (x PRFunction) Enum() *PRFunction
func (PRFunction) EnumDescriptor
deprecated
func (PRFunction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PRFunction.Descriptor instead.
func (PRFunction) Number ¶
func (x PRFunction) Number() protoreflect.EnumNumber
func (PRFunction) String ¶
func (x PRFunction) String() string
func (PRFunction) Type ¶
func (PRFunction) Type() protoreflect.EnumType
type Pools ¶
type Pools struct { Pool []string `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"` // contains filtered or unexported fields }
func (*Pools) Descriptor
deprecated
func (*Pools) ProtoMessage ¶
func (*Pools) ProtoMessage()
func (*Pools) ProtoReflect ¶
func (x *Pools) ProtoReflect() protoreflect.Message
type Proposals ¶
type Proposals struct { CryptoAlg []CryptoAlgorithm `` /* 137-byte string literal not displayed */ IntegAlg []IntegAlgorithm `` /* 133-byte string literal not displayed */ Prf []PRFunction `protobuf:"varint,3,rep,packed,name=prf,proto3,enum=opi_api.security.v1.PRFunction" json:"prf,omitempty"` Dhgroups []DHGroups `protobuf:"varint,4,rep,packed,name=dhgroups,proto3,enum=opi_api.security.v1.DHGroups" json:"dhgroups,omitempty"` // contains filtered or unexported fields }
func (*Proposals) Descriptor
deprecated
func (*Proposals) GetCryptoAlg ¶
func (x *Proposals) GetCryptoAlg() []CryptoAlgorithm
func (*Proposals) GetDhgroups ¶
func (*Proposals) GetIntegAlg ¶
func (x *Proposals) GetIntegAlg() []IntegAlgorithm
func (*Proposals) GetPrf ¶
func (x *Proposals) GetPrf() []PRFunction
func (*Proposals) ProtoMessage ¶
func (*Proposals) ProtoMessage()
func (*Proposals) ProtoReflect ¶
func (x *Proposals) ProtoReflect() protoreflect.Message
type PubKeys ¶
type PubKeys struct { Pubkey []string `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey,omitempty"` // contains filtered or unexported fields }
func (*PubKeys) Descriptor
deprecated
func (*PubKeys) ProtoMessage ¶
func (*PubKeys) ProtoMessage()
func (*PubKeys) ProtoReflect ¶
func (x *PubKeys) ProtoReflect() protoreflect.Message
type RemoteAuth ¶
type RemoteAuth struct { Auth AuthType `protobuf:"varint,1,opt,name=auth,proto3,enum=opi_api.security.v1.AuthType" json:"auth,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` EapId string `protobuf:"bytes,3,opt,name=eap_id,json=eapId,proto3" json:"eap_id,omitempty"` Groups *Groups `protobuf:"bytes,4,opt,name=groups,proto3" json:"groups,omitempty"` CertPolicy *CertPolicy `protobuf:"bytes,5,opt,name=cert_policy,json=certPolicy,proto3" json:"cert_policy,omitempty"` Certs *Certs `protobuf:"bytes,6,opt,name=certs,proto3" json:"certs,omitempty"` CaCerts *CaCerts `protobuf:"bytes,7,opt,name=ca_certs,json=caCerts,proto3" json:"ca_certs,omitempty"` Pubkeys *PubKeys `protobuf:"bytes,8,opt,name=pubkeys,proto3" json:"pubkeys,omitempty"` // contains filtered or unexported fields }
func (*RemoteAuth) Descriptor
deprecated
func (*RemoteAuth) Descriptor() ([]byte, []int)
Deprecated: Use RemoteAuth.ProtoReflect.Descriptor instead.
func (*RemoteAuth) GetAuth ¶
func (x *RemoteAuth) GetAuth() AuthType
func (*RemoteAuth) GetCaCerts ¶
func (x *RemoteAuth) GetCaCerts() *CaCerts
func (*RemoteAuth) GetCertPolicy ¶
func (x *RemoteAuth) GetCertPolicy() *CertPolicy
func (*RemoteAuth) GetCerts ¶
func (x *RemoteAuth) GetCerts() *Certs
func (*RemoteAuth) GetEapId ¶
func (x *RemoteAuth) GetEapId() string
func (*RemoteAuth) GetGroups ¶
func (x *RemoteAuth) GetGroups() *Groups
func (*RemoteAuth) GetId ¶
func (x *RemoteAuth) GetId() string
func (*RemoteAuth) GetPubkeys ¶
func (x *RemoteAuth) GetPubkeys() *PubKeys
func (*RemoteAuth) ProtoMessage ¶
func (*RemoteAuth) ProtoMessage()
func (*RemoteAuth) ProtoReflect ¶
func (x *RemoteAuth) ProtoReflect() protoreflect.Message
func (*RemoteAuth) Reset ¶
func (x *RemoteAuth) Reset()
func (*RemoteAuth) String ¶
func (x *RemoteAuth) String() string
type TrafficSelectors ¶
type TrafficSelectors struct { Ts []*TrafficSelectors_TrafficSelector `protobuf:"bytes,1,rep,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*TrafficSelectors) Descriptor
deprecated
func (*TrafficSelectors) Descriptor() ([]byte, []int)
Deprecated: Use TrafficSelectors.ProtoReflect.Descriptor instead.
func (*TrafficSelectors) GetTs ¶
func (x *TrafficSelectors) GetTs() []*TrafficSelectors_TrafficSelector
func (*TrafficSelectors) ProtoMessage ¶
func (*TrafficSelectors) ProtoMessage()
func (*TrafficSelectors) ProtoReflect ¶
func (x *TrafficSelectors) ProtoReflect() protoreflect.Message
func (*TrafficSelectors) Reset ¶
func (x *TrafficSelectors) Reset()
func (*TrafficSelectors) String ¶
func (x *TrafficSelectors) String() string
type TrafficSelectors_TrafficSelector ¶
type TrafficSelectors_TrafficSelector struct { Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"` Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*TrafficSelectors_TrafficSelector) Descriptor
deprecated
func (*TrafficSelectors_TrafficSelector) Descriptor() ([]byte, []int)
Deprecated: Use TrafficSelectors_TrafficSelector.ProtoReflect.Descriptor instead.
func (*TrafficSelectors_TrafficSelector) GetCidr ¶
func (x *TrafficSelectors_TrafficSelector) GetCidr() string
func (*TrafficSelectors_TrafficSelector) GetPort ¶
func (x *TrafficSelectors_TrafficSelector) GetPort() string
func (*TrafficSelectors_TrafficSelector) GetProto ¶
func (x *TrafficSelectors_TrafficSelector) GetProto() string
func (*TrafficSelectors_TrafficSelector) ProtoMessage ¶
func (*TrafficSelectors_TrafficSelector) ProtoMessage()
func (*TrafficSelectors_TrafficSelector) ProtoReflect ¶
func (x *TrafficSelectors_TrafficSelector) ProtoReflect() protoreflect.Message
func (*TrafficSelectors_TrafficSelector) Reset ¶
func (x *TrafficSelectors_TrafficSelector) Reset()
func (*TrafficSelectors_TrafficSelector) String ¶
func (x *TrafficSelectors_TrafficSelector) String() string
type UnimplementedIPsecServiceServer ¶
type UnimplementedIPsecServiceServer struct { }
UnimplementedIPsecServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIPsecServiceServer) IPsecInitiate ¶
func (UnimplementedIPsecServiceServer) IPsecInitiate(context.Context, *IPsecInitiateRequest) (*IPsecInitiateResponse, error)
func (UnimplementedIPsecServiceServer) IPsecListCerts ¶
func (UnimplementedIPsecServiceServer) IPsecListCerts(context.Context, *IPsecListCertsRequest) (*IPsecListCertsResponse, error)
func (UnimplementedIPsecServiceServer) IPsecListConns ¶
func (UnimplementedIPsecServiceServer) IPsecListConns(context.Context, *IPsecListConnsRequest) (*IPsecListConnsResponse, error)
func (UnimplementedIPsecServiceServer) IPsecListSas ¶
func (UnimplementedIPsecServiceServer) IPsecListSas(context.Context, *IPsecListSasRequest) (*IPsecListSasResponse, error)
func (UnimplementedIPsecServiceServer) IPsecLoadConn ¶
func (UnimplementedIPsecServiceServer) IPsecLoadConn(context.Context, *IPsecLoadConnRequest) (*IPsecLoadConnResponse, error)
func (UnimplementedIPsecServiceServer) IPsecRekey ¶
func (UnimplementedIPsecServiceServer) IPsecRekey(context.Context, *IPsecRekeyRequest) (*IPsecRekeyResponse, error)
func (UnimplementedIPsecServiceServer) IPsecStats ¶
func (UnimplementedIPsecServiceServer) IPsecStats(context.Context, *IPsecStatsRequest) (*IPsecStatsResponse, error)
func (UnimplementedIPsecServiceServer) IPsecTerminate ¶
func (UnimplementedIPsecServiceServer) IPsecTerminate(context.Context, *IPsecTerminateRequest) (*IPsecTerminateResponse, error)
func (UnimplementedIPsecServiceServer) IPsecUnloadConn ¶
func (UnimplementedIPsecServiceServer) IPsecUnloadConn(context.Context, *IPsecUnloadConnRequest) (*IPsecUnloadConnResponse, error)
func (UnimplementedIPsecServiceServer) IPsecVersion ¶
func (UnimplementedIPsecServiceServer) IPsecVersion(context.Context, *IPsecVersionRequest) (*IPsecVersionResponse, error)
type UnsafeIPsecServiceServer ¶
type UnsafeIPsecServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIPsecServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IPsecServiceServer will result in compilation errors.
type Vips ¶
type Vips struct { Vip []string `protobuf:"bytes,1,rep,name=vip,proto3" json:"vip,omitempty"` // contains filtered or unexported fields }
func (*Vips) Descriptor
deprecated
func (*Vips) ProtoMessage ¶
func (*Vips) ProtoMessage()
func (*Vips) ProtoReflect ¶
func (x *Vips) ProtoReflect() protoreflect.Message
type X509CertificateFlag ¶
type X509CertificateFlag int32
X.509 certificate flag
const ( X509CertificateFlag_X509_CERTIFICATE_FLAG_UNSPECIFIED X509CertificateFlag = 0 X509CertificateFlag_X509_CERTIFICATE_FLAG_CA X509CertificateFlag = 1 X509CertificateFlag_X509_CERTIFICATE_FLAG_AA X509CertificateFlag = 2 X509CertificateFlag_X509_CERTIFICATE_FLAG_OCSP X509CertificateFlag = 3 )
func (X509CertificateFlag) Descriptor ¶
func (X509CertificateFlag) Descriptor() protoreflect.EnumDescriptor
func (X509CertificateFlag) Enum ¶
func (x X509CertificateFlag) Enum() *X509CertificateFlag
func (X509CertificateFlag) EnumDescriptor
deprecated
func (X509CertificateFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use X509CertificateFlag.Descriptor instead.
func (X509CertificateFlag) Number ¶
func (x X509CertificateFlag) Number() protoreflect.EnumNumber
func (X509CertificateFlag) String ¶
func (x X509CertificateFlag) String() string
func (X509CertificateFlag) Type ¶
func (X509CertificateFlag) Type() protoreflect.EnumType