Documentation ¶
Overview ¶
Package _go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterIkeConnectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIkeConnectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IkeConnectionServiceClient) error
- func RegisterIkeConnectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIkeConnectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IkeConnectionServiceServer) error
- func RegisterIkeConnectionServiceServer(s grpc.ServiceRegistrar, srv IkeConnectionServiceServer)
- func RegisterIkePeerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIkePeerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IkePeerServiceClient) error
- func RegisterIkePeerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIkePeerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IkePeerServiceServer) error
- func RegisterIkePeerServiceServer(s grpc.ServiceRegistrar, srv IkePeerServiceServer)
- func RegisterIpsecPolicyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIpsecPolicyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IpsecPolicyServiceClient) error
- func RegisterIpsecPolicyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIpsecPolicyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IpsecPolicyServiceServer) error
- func RegisterIpsecPolicyServiceServer(s grpc.ServiceRegistrar, srv IpsecPolicyServiceServer)
- func RegisterIpsecSaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIpsecSaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IpsecSaServiceClient) error
- func RegisterIpsecSaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIpsecSaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IpsecSaServiceServer) error
- func RegisterIpsecSaServiceServer(s grpc.ServiceRegistrar, srv IpsecSaServiceServer)
- type AntiReplayStats
- func (*AntiReplayStats) Descriptor() ([]byte, []int)deprecated
- func (x *AntiReplayStats) GetFailed() int64
- func (x *AntiReplayStats) GetPacketDropped() int64
- func (x *AntiReplayStats) GetReplayWindow() *AntiReplayWindow
- func (x *AntiReplayStats) GetSeqNumCounter() uint64
- func (*AntiReplayStats) ProtoMessage()
- func (x *AntiReplayStats) ProtoReflect() protoreflect.Message
- func (x *AntiReplayStats) Reset()
- func (x *AntiReplayStats) String() string
- type AntiReplayWindow
- func (*AntiReplayWindow) Descriptor() ([]byte, []int)deprecated
- func (x *AntiReplayWindow) GetB() uint64
- func (x *AntiReplayWindow) GetT() uint64
- func (x *AntiReplayWindow) GetW() int32
- func (*AntiReplayWindow) ProtoMessage()
- func (x *AntiReplayWindow) ProtoReflect() protoreflect.Message
- func (x *AntiReplayWindow) Reset()
- func (x *AntiReplayWindow) String() string
- type AuthType
- type AutoStartupMode
- func (AutoStartupMode) Descriptor() protoreflect.EnumDescriptor
- func (x AutoStartupMode) Enum() *AutoStartupMode
- func (AutoStartupMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AutoStartupMode) Number() protoreflect.EnumNumber
- func (x AutoStartupMode) String() string
- func (AutoStartupMode) Type() protoreflect.EnumType
- type CaCerts
- type ChildSaInfo
- func (*ChildSaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChildSaInfo) GetFsGroups() []int32
- func (x *ChildSaInfo) GetLifetimeHard() *IpsecSaLifetimeHard
- func (x *ChildSaInfo) GetLifetimeSoft() *IpsecSaLifetimeSoft
- func (*ChildSaInfo) ProtoMessage()
- func (x *ChildSaInfo) ProtoReflect() protoreflect.Message
- func (x *ChildSaInfo) Reset()
- func (x *ChildSaInfo) String() string
- type CreateIkeConnectionRequest
- func (*CreateIkeConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIkeConnectionRequest) GetIkeConnection() *IkeConnection
- func (x *CreateIkeConnectionRequest) GetIkeConnectionId() string
- func (*CreateIkeConnectionRequest) ProtoMessage()
- func (x *CreateIkeConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIkeConnectionRequest) Reset()
- func (x *CreateIkeConnectionRequest) String() string
- type CreateIkePeerRequest
- func (*CreateIkePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIkePeerRequest) GetIkePeer() *IkePeer
- func (x *CreateIkePeerRequest) GetIkePeerId() string
- func (*CreateIkePeerRequest) ProtoMessage()
- func (x *CreateIkePeerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIkePeerRequest) Reset()
- func (x *CreateIkePeerRequest) String() string
- type CreateIpsecPolicyRequest
- func (*CreateIpsecPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIpsecPolicyRequest) GetIpsecPolicy() *IpsecPolicy
- func (x *CreateIpsecPolicyRequest) GetIpsecPolicyId() string
- func (*CreateIpsecPolicyRequest) ProtoMessage()
- func (x *CreateIpsecPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIpsecPolicyRequest) Reset()
- func (x *CreateIpsecPolicyRequest) String() string
- type CreateIpsecSaRequest
- func (*CreateIpsecSaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIpsecSaRequest) GetIpsecSa() *IpsecSa
- func (x *CreateIpsecSaRequest) GetIpsecSaId() string
- func (*CreateIpsecSaRequest) ProtoMessage()
- func (x *CreateIpsecSaRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIpsecSaRequest) Reset()
- func (x *CreateIpsecSaRequest) String() string
- type DHGroups
- type DSAlgorithm
- func (DSAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x DSAlgorithm) Enum() *DSAlgorithm
- func (DSAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x DSAlgorithm) Number() protoreflect.EnumNumber
- func (x DSAlgorithm) String() string
- func (DSAlgorithm) Type() protoreflect.EnumType
- type DSAuth
- func (*DSAuth) Descriptor() ([]byte, []int)deprecated
- func (x *DSAuth) GetAlgorithm() DSAlgorithm
- func (x *DSAuth) GetCaCerts() *CaCerts
- func (x *DSAuth) GetCert() string
- func (x *DSAuth) GetPrivateKey() string
- func (x *DSAuth) GetRawPublicKey() string
- func (*DSAuth) ProtoMessage()
- func (x *DSAuth) ProtoReflect() protoreflect.Message
- func (x *DSAuth) Reset()
- func (x *DSAuth) String() string
- type DeleteIkeConnectionRequest
- func (*DeleteIkeConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIkeConnectionRequest) GetName() string
- func (*DeleteIkeConnectionRequest) ProtoMessage()
- func (x *DeleteIkeConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIkeConnectionRequest) Reset()
- func (x *DeleteIkeConnectionRequest) String() string
- type DeleteIkePeerRequest
- func (*DeleteIkePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIkePeerRequest) GetName() string
- func (*DeleteIkePeerRequest) ProtoMessage()
- func (x *DeleteIkePeerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIkePeerRequest) Reset()
- func (x *DeleteIkePeerRequest) String() string
- type DeleteIpsecPolicyRequest
- func (*DeleteIpsecPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIpsecPolicyRequest) GetName() string
- func (*DeleteIpsecPolicyRequest) ProtoMessage()
- func (x *DeleteIpsecPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIpsecPolicyRequest) Reset()
- func (x *DeleteIpsecPolicyRequest) String() string
- type DeleteIpsecSaRequest
- func (*DeleteIpsecSaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIpsecSaRequest) GetName() string
- func (*DeleteIpsecSaRequest) ProtoMessage()
- func (x *DeleteIpsecSaRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIpsecSaRequest) Reset()
- func (x *DeleteIpsecSaRequest) String() string
- type DfBitAction
- func (DfBitAction) Descriptor() protoreflect.EnumDescriptor
- func (x DfBitAction) Enum() *DfBitAction
- func (DfBitAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x DfBitAction) Number() protoreflect.EnumNumber
- func (x DfBitAction) String() string
- func (DfBitAction) Type() protoreflect.EnumType
- type DscpMapping
- func (*DscpMapping) Descriptor() ([]byte, []int)deprecated
- func (x *DscpMapping) GetId() int32
- func (x *DscpMapping) GetInnerDscp() int32
- func (x *DscpMapping) GetOuterDscp() int32
- func (*DscpMapping) ProtoMessage()
- func (x *DscpMapping) ProtoReflect() protoreflect.Message
- func (x *DscpMapping) Reset()
- func (x *DscpMapping) String() string
- type EncAlgorithm
- func (EncAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x EncAlgorithm) Enum() *EncAlgorithm
- func (EncAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncAlgorithm) Number() protoreflect.EnumNumber
- func (x EncAlgorithm) String() string
- func (EncAlgorithm) Type() protoreflect.EnumType
- type Encap
- type EspAlgorithms
- func (*EspAlgorithms) Descriptor() ([]byte, []int)deprecated
- func (x *EspAlgorithms) GetEncryption() []EncAlgorithm
- func (x *EspAlgorithms) GetIntegrity() []IntegAlgorithm
- func (x *EspAlgorithms) GetTfcPad() bool
- func (*EspAlgorithms) ProtoMessage()
- func (x *EspAlgorithms) ProtoReflect() protoreflect.Message
- func (x *EspAlgorithms) Reset()
- func (x *EspAlgorithms) String() string
- type EspEncap
- type GetIkeConnectionRequest
- func (*GetIkeConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIkeConnectionRequest) GetName() string
- func (*GetIkeConnectionRequest) ProtoMessage()
- func (x *GetIkeConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetIkeConnectionRequest) Reset()
- func (x *GetIkeConnectionRequest) String() string
- type GetIkePeerRequest
- type GetIpsecPolicyRequest
- func (*GetIpsecPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIpsecPolicyRequest) GetName() string
- func (*GetIpsecPolicyRequest) ProtoMessage()
- func (x *GetIpsecPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetIpsecPolicyRequest) Reset()
- func (x *GetIpsecPolicyRequest) String() string
- type GetIpsecSaRequest
- type IkeConnection
- func (*IkeConnection) Descriptor() ([]byte, []int)deprecated
- func (x *IkeConnection) GetAutostartup() AutoStartupMode
- func (x *IkeConnection) GetDhgroups() []DHGroups
- func (x *IkeConnection) GetEncap() *Encap
- func (x *IkeConnection) GetEncryptionAlg() []EncAlgorithm
- func (x *IkeConnection) GetFragmentation() *IkeFragmentation
- func (x *IkeConnection) GetIfId() string
- func (x *IkeConnection) GetIkeSaLifetimeHard() *IkeSaLifetimeHard
- func (x *IkeConnection) GetIkeSaLifetimeSoft() *IkeSaLifetimeSoft
- func (x *IkeConnection) GetIntegrityAlg() []IntegAlgorithm
- func (x *IkeConnection) GetLocal() string
- func (x *IkeConnection) GetLocalPort() int32
- func (x *IkeConnection) GetName() string
- func (x *IkeConnection) GetPolicies() []string
- func (x *IkeConnection) GetPrf() []PRF
- func (x *IkeConnection) GetRemote() string
- func (x *IkeConnection) GetRemotePort() int32
- func (x *IkeConnection) GetState() *IkeConnectionState
- func (x *IkeConnection) GetVersion() IkeVersion
- func (*IkeConnection) ProtoMessage()
- func (x *IkeConnection) ProtoReflect() protoreflect.Message
- func (x *IkeConnection) Reset()
- func (x *IkeConnection) String() string
- type IkeConnectionServiceClient
- type IkeConnectionServiceServer
- type IkeConnectionState
- func (*IkeConnectionState) Descriptor() ([]byte, []int)deprecated
- func (x *IkeConnectionState) GetCurrentReauthInterval() *durationpb.Duration
- func (x *IkeConnectionState) GetCurrentRekeyInterval() *durationpb.Duration
- func (x *IkeConnectionState) GetEncap() *Encap
- func (x *IkeConnectionState) GetEstablished() int64
- func (x *IkeConnectionState) GetInitiator() bool
- func (x *IkeConnectionState) GetInitiatorIkeSpi() int32
- func (x *IkeConnectionState) GetNatLocal() bool
- func (x *IkeConnectionState) GetNatRemote() bool
- func (x *IkeConnectionState) GetResponderIkeSa() int32
- func (*IkeConnectionState) ProtoMessage()
- func (x *IkeConnectionState) ProtoReflect() protoreflect.Message
- func (x *IkeConnectionState) Reset()
- func (x *IkeConnectionState) String() string
- type IkeFragmentation
- func (*IkeFragmentation) Descriptor() ([]byte, []int)deprecated
- func (x *IkeFragmentation) GetEnabled() bool
- func (x *IkeFragmentation) GetMtu() int32
- func (*IkeFragmentation) ProtoMessage()
- func (x *IkeFragmentation) ProtoReflect() protoreflect.Message
- func (x *IkeFragmentation) Reset()
- func (x *IkeFragmentation) String() string
- type IkePeer
- func (*IkePeer) Descriptor() ([]byte, []int)deprecated
- func (x *IkePeer) GetFqdn() string
- func (x *IkePeer) GetIpAddress() *_go.IPAddress
- func (x *IkePeer) GetName() string
- func (x *IkePeer) GetPeerAuth() *IkePeerAuthentication
- func (*IkePeer) ProtoMessage()
- func (x *IkePeer) ProtoReflect() protoreflect.Message
- func (x *IkePeer) Reset()
- func (x *IkePeer) String() string
- type IkePeerAuthentication
- func (*IkePeerAuthentication) Descriptor() ([]byte, []int)deprecated
- func (x *IkePeerAuthentication) GetAuthMethod() AuthType
- func (x *IkePeerAuthentication) GetDigitalSignature() *DSAuth
- func (x *IkePeerAuthentication) GetEapType() int32
- func (x *IkePeerAuthentication) GetPsk() string
- func (*IkePeerAuthentication) ProtoMessage()
- func (x *IkePeerAuthentication) ProtoReflect() protoreflect.Message
- func (x *IkePeerAuthentication) Reset()
- func (x *IkePeerAuthentication) String() string
- type IkePeerServiceClient
- type IkePeerServiceServer
- type IkeSaLifetimeHard
- func (*IkeSaLifetimeHard) Descriptor() ([]byte, []int)deprecated
- func (x *IkeSaLifetimeHard) GetMaxDuration() *durationpb.Duration
- func (*IkeSaLifetimeHard) ProtoMessage()
- func (x *IkeSaLifetimeHard) ProtoReflect() protoreflect.Message
- func (x *IkeSaLifetimeHard) Reset()
- func (x *IkeSaLifetimeHard) String() string
- type IkeSaLifetimeSoft
- func (*IkeSaLifetimeSoft) Descriptor() ([]byte, []int)deprecated
- func (x *IkeSaLifetimeSoft) GetReauthInterval() *durationpb.Duration
- func (x *IkeSaLifetimeSoft) GetRekeyInterval() *durationpb.Duration
- func (*IkeSaLifetimeSoft) ProtoMessage()
- func (x *IkeSaLifetimeSoft) ProtoReflect() protoreflect.Message
- func (x *IkeSaLifetimeSoft) Reset()
- func (x *IkeSaLifetimeSoft) String() string
- type IkeVersion
- 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 IpsecPolicy
- func (*IpsecPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecPolicy) GetConfig() *IpsecPolicyConfig
- func (x *IpsecPolicy) GetName() string
- func (x *IpsecPolicy) GetReqid() int64
- func (*IpsecPolicy) ProtoMessage()
- func (x *IpsecPolicy) ProtoReflect() protoreflect.Message
- func (x *IpsecPolicy) Reset()
- func (x *IpsecPolicy) String() string
- type IpsecPolicyConfig
- func (*IpsecPolicyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecPolicyConfig) GetArwSize() int32
- func (x *IpsecPolicyConfig) GetProcessing() *SpdProcessingInfo
- func (x *IpsecPolicyConfig) GetTrafficSelector() *TrafficSelector
- func (*IpsecPolicyConfig) ProtoMessage()
- func (x *IpsecPolicyConfig) ProtoReflect() protoreflect.Message
- func (x *IpsecPolicyConfig) Reset()
- func (x *IpsecPolicyConfig) String() string
- type IpsecPolicyServiceClient
- type IpsecPolicyServiceServer
- type IpsecProtocol
- func (IpsecProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x IpsecProtocol) Enum() *IpsecProtocol
- func (IpsecProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpsecProtocol) Number() protoreflect.EnumNumber
- func (x IpsecProtocol) String() string
- func (IpsecProtocol) Type() protoreflect.EnumType
- type IpsecSa
- func (*IpsecSa) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecSa) GetConfig() *IpsecSaConfig
- func (x *IpsecSa) GetName() string
- func (x *IpsecSa) GetReqid() int64
- func (x *IpsecSa) GetState() *IpsecSaState
- func (*IpsecSa) ProtoMessage()
- func (x *IpsecSa) ProtoReflect() protoreflect.Message
- func (x *IpsecSa) Reset()
- func (x *IpsecSa) String() string
- type IpsecSaConfig
- func (*IpsecSaConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecSaConfig) GetArwSize() int32
- func (x *IpsecSaConfig) GetEncap() *Encap
- func (x *IpsecSaConfig) GetEsn() bool
- func (x *IpsecSaConfig) GetEspAlgorithms() *EspAlgorithms
- func (x *IpsecSaConfig) GetLifetimeHard() *IpsecSaLifetimeHard
- func (x *IpsecSaConfig) GetLifetimeSoft() *IpsecSaLifetimeSoft
- func (x *IpsecSaConfig) GetMode() IpsecMode
- func (x *IpsecSaConfig) GetProtocol() IpsecProtocol
- func (x *IpsecSaConfig) GetSpi() uint32
- func (x *IpsecSaConfig) GetTrafficSelector() *TrafficSelector
- func (x *IpsecSaConfig) GetTunnel() *Tunnel
- func (*IpsecSaConfig) ProtoMessage()
- func (x *IpsecSaConfig) ProtoReflect() protoreflect.Message
- func (x *IpsecSaConfig) Reset()
- func (x *IpsecSaConfig) String() string
- type IpsecSaLifetimeHard
- func (*IpsecSaLifetimeHard) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecSaLifetimeHard) GetLifetime() *Lifetime
- func (*IpsecSaLifetimeHard) ProtoMessage()
- func (x *IpsecSaLifetimeHard) ProtoReflect() protoreflect.Message
- func (x *IpsecSaLifetimeHard) Reset()
- func (x *IpsecSaLifetimeHard) String() string
- type IpsecSaLifetimeSoft
- func (*IpsecSaLifetimeSoft) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecSaLifetimeSoft) GetAction() LifetimeAction
- func (x *IpsecSaLifetimeSoft) GetLifetime() *Lifetime
- func (*IpsecSaLifetimeSoft) ProtoMessage()
- func (x *IpsecSaLifetimeSoft) ProtoReflect() protoreflect.Message
- func (x *IpsecSaLifetimeSoft) Reset()
- func (x *IpsecSaLifetimeSoft) String() string
- type IpsecSaServiceClient
- type IpsecSaServiceServer
- type IpsecSaState
- func (*IpsecSaState) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecSaState) GetLifetime() *Lifetime
- func (x *IpsecSaState) GetReplayStats() *AntiReplayStats
- func (*IpsecSaState) ProtoMessage()
- func (x *IpsecSaState) ProtoReflect() protoreflect.Message
- func (x *IpsecSaState) Reset()
- func (x *IpsecSaState) String() string
- type IpsecSaTemplate
- func (*IpsecSaTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *IpsecSaTemplate) GetEsn() bool
- func (x *IpsecSaTemplate) GetEspAlgorithms() *EspAlgorithms
- func (x *IpsecSaTemplate) GetMode() IpsecMode
- func (x *IpsecSaTemplate) GetProtocol() IpsecProtocol
- func (x *IpsecSaTemplate) GetTunnel() *Tunnel
- func (*IpsecSaTemplate) ProtoMessage()
- func (x *IpsecSaTemplate) ProtoReflect() protoreflect.Message
- func (x *IpsecSaTemplate) Reset()
- func (x *IpsecSaTemplate) String() string
- type IpsecSpdAction
- func (IpsecSpdAction) Descriptor() protoreflect.EnumDescriptor
- func (x IpsecSpdAction) Enum() *IpsecSpdAction
- func (IpsecSpdAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpsecSpdAction) Number() protoreflect.EnumNumber
- func (x IpsecSpdAction) String() string
- func (IpsecSpdAction) Type() protoreflect.EnumType
- type Lifetime
- func (*Lifetime) Descriptor() ([]byte, []int)deprecated
- func (x *Lifetime) GetBytes() int64
- func (x *Lifetime) GetDuration() *durationpb.Duration
- func (x *Lifetime) GetIdle() *durationpb.Duration
- func (x *Lifetime) GetPackets() int64
- func (*Lifetime) ProtoMessage()
- func (x *Lifetime) ProtoReflect() protoreflect.Message
- func (x *Lifetime) Reset()
- func (x *Lifetime) String() string
- type LifetimeAction
- func (LifetimeAction) Descriptor() protoreflect.EnumDescriptor
- func (x LifetimeAction) Enum() *LifetimeAction
- func (LifetimeAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x LifetimeAction) Number() protoreflect.EnumNumber
- func (x LifetimeAction) String() string
- func (LifetimeAction) Type() protoreflect.EnumType
- type ListIkeConnectionsRequest
- func (*ListIkeConnectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIkeConnectionsRequest) GetPageSize() int32
- func (x *ListIkeConnectionsRequest) GetPageToken() string
- func (*ListIkeConnectionsRequest) ProtoMessage()
- func (x *ListIkeConnectionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIkeConnectionsRequest) Reset()
- func (x *ListIkeConnectionsRequest) String() string
- type ListIkeConnectionsResponse
- func (*ListIkeConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIkeConnectionsResponse) GetIkeConnections() []*IkeConnection
- func (x *ListIkeConnectionsResponse) GetNextPageToken() string
- func (*ListIkeConnectionsResponse) ProtoMessage()
- func (x *ListIkeConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIkeConnectionsResponse) Reset()
- func (x *ListIkeConnectionsResponse) String() string
- type ListIkePeersRequest
- func (*ListIkePeersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIkePeersRequest) GetPageSize() int32
- func (x *ListIkePeersRequest) GetPageToken() string
- func (*ListIkePeersRequest) ProtoMessage()
- func (x *ListIkePeersRequest) ProtoReflect() protoreflect.Message
- func (x *ListIkePeersRequest) Reset()
- func (x *ListIkePeersRequest) String() string
- type ListIkePeersResponse
- func (*ListIkePeersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIkePeersResponse) GetIkePeers() []*IkePeer
- func (x *ListIkePeersResponse) GetNextPageToken() string
- func (*ListIkePeersResponse) ProtoMessage()
- func (x *ListIkePeersResponse) ProtoReflect() protoreflect.Message
- func (x *ListIkePeersResponse) Reset()
- func (x *ListIkePeersResponse) String() string
- type ListIpsecPoliciesRequest
- func (*ListIpsecPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpsecPoliciesRequest) GetPageSize() int32
- func (x *ListIpsecPoliciesRequest) GetPageToken() string
- func (*ListIpsecPoliciesRequest) ProtoMessage()
- func (x *ListIpsecPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListIpsecPoliciesRequest) Reset()
- func (x *ListIpsecPoliciesRequest) String() string
- type ListIpsecPoliciesResponse
- func (*ListIpsecPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpsecPoliciesResponse) GetIpsecPolicies() []*IpsecPolicy
- func (x *ListIpsecPoliciesResponse) GetNextPageToken() string
- func (*ListIpsecPoliciesResponse) ProtoMessage()
- func (x *ListIpsecPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListIpsecPoliciesResponse) Reset()
- func (x *ListIpsecPoliciesResponse) String() string
- type ListIpsecSasRequest
- func (*ListIpsecSasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpsecSasRequest) GetPageSize() int32
- func (x *ListIpsecSasRequest) GetPageToken() string
- func (*ListIpsecSasRequest) ProtoMessage()
- func (x *ListIpsecSasRequest) ProtoReflect() protoreflect.Message
- func (x *ListIpsecSasRequest) Reset()
- func (x *ListIpsecSasRequest) String() string
- type ListIpsecSasResponse
- func (*ListIpsecSasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpsecSasResponse) GetIpsecSas() []*IpsecSa
- func (x *ListIpsecSasResponse) GetNextPageToken() string
- func (*ListIpsecSasResponse) ProtoMessage()
- func (x *ListIpsecSasResponse) ProtoReflect() protoreflect.Message
- func (x *ListIpsecSasResponse) Reset()
- func (x *ListIpsecSasResponse) String() string
- type NumberIkeSAs
- func (*NumberIkeSAs) Descriptor() ([]byte, []int)deprecated
- func (x *NumberIkeSAs) GetHalfOpen() int64
- func (x *NumberIkeSAs) GetTotal() int64
- func (*NumberIkeSAs) ProtoMessage()
- func (x *NumberIkeSAs) ProtoReflect() protoreflect.Message
- func (x *NumberIkeSAs) Reset()
- func (x *NumberIkeSAs) String() string
- type PRF
- type PortRange
- type SpdProcessingInfo
- func (*SpdProcessingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SpdProcessingInfo) GetAction() IpsecSpdAction
- func (x *SpdProcessingInfo) GetSaConfig() *IpsecSaTemplate
- func (*SpdProcessingInfo) ProtoMessage()
- func (x *SpdProcessingInfo) ProtoReflect() protoreflect.Message
- func (x *SpdProcessingInfo) Reset()
- func (x *SpdProcessingInfo) String() string
- type StatsIkeConnectionsRequest
- type StatsIkeConnectionsResponse
- func (*StatsIkeConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatsIkeConnectionsResponse) GetNumberIkeSas() *NumberIkeSAs
- func (*StatsIkeConnectionsResponse) ProtoMessage()
- func (x *StatsIkeConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *StatsIkeConnectionsResponse) Reset()
- func (x *StatsIkeConnectionsResponse) String() string
- type TrafficSelector
- func (*TrafficSelector) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficSelector) GetInnerProtocol() int32
- func (x *TrafficSelector) GetLocalPorts() []*PortRange
- func (x *TrafficSelector) GetLocalPrefix() *_go.IPPrefix
- func (x *TrafficSelector) GetRemotePorts() []*PortRange
- func (x *TrafficSelector) GetRemotePrefix() *_go.IPPrefix
- func (*TrafficSelector) ProtoMessage()
- func (x *TrafficSelector) ProtoReflect() protoreflect.Message
- func (x *TrafficSelector) Reset()
- func (x *TrafficSelector) String() string
- type Tunnel
- func (*Tunnel) Descriptor() ([]byte, []int)deprecated
- func (x *Tunnel) GetBypassDscp() bool
- func (x *Tunnel) GetDfBit() DfBitAction
- func (x *Tunnel) GetDscpMapping() []*DscpMapping
- func (x *Tunnel) GetLocal() *_go.IPAddress
- func (x *Tunnel) GetRemote() *_go.IPAddress
- func (*Tunnel) ProtoMessage()
- func (x *Tunnel) ProtoReflect() protoreflect.Message
- func (x *Tunnel) Reset()
- func (x *Tunnel) String() string
- type UnimplementedIkeConnectionServiceServer
- func (UnimplementedIkeConnectionServiceServer) CreateIkeConnection(context.Context, *CreateIkeConnectionRequest) (*IkeConnection, error)
- func (UnimplementedIkeConnectionServiceServer) DeleteIkeConnection(context.Context, *DeleteIkeConnectionRequest) (*emptypb.Empty, error)
- func (UnimplementedIkeConnectionServiceServer) GetIkeConnection(context.Context, *GetIkeConnectionRequest) (*IkeConnection, error)
- func (UnimplementedIkeConnectionServiceServer) ListIkeConnections(context.Context, *ListIkeConnectionsRequest) (*ListIkeConnectionsResponse, error)
- func (UnimplementedIkeConnectionServiceServer) StatsIkeConnections(context.Context, *StatsIkeConnectionsRequest) (*StatsIkeConnectionsResponse, error)
- func (UnimplementedIkeConnectionServiceServer) UpdateIkeConnection(context.Context, *UpdateIkeConnectionRequest) (*IkeConnection, error)
- type UnimplementedIkePeerServiceServer
- func (UnimplementedIkePeerServiceServer) CreateIkePeer(context.Context, *CreateIkePeerRequest) (*IkePeer, error)
- func (UnimplementedIkePeerServiceServer) DeleteIkePeer(context.Context, *DeleteIkePeerRequest) (*emptypb.Empty, error)
- func (UnimplementedIkePeerServiceServer) GetIkePeer(context.Context, *GetIkePeerRequest) (*IkePeer, error)
- func (UnimplementedIkePeerServiceServer) ListIkePeers(context.Context, *ListIkePeersRequest) (*ListIkePeersResponse, error)
- func (UnimplementedIkePeerServiceServer) UpdateIkePeer(context.Context, *UpdateIkePeerRequest) (*IkePeer, error)
- type UnimplementedIpsecPolicyServiceServer
- func (UnimplementedIpsecPolicyServiceServer) CreateIpsecPolicy(context.Context, *CreateIpsecPolicyRequest) (*IpsecPolicy, error)
- func (UnimplementedIpsecPolicyServiceServer) DeleteIpsecPolicy(context.Context, *DeleteIpsecPolicyRequest) (*emptypb.Empty, error)
- func (UnimplementedIpsecPolicyServiceServer) GetIpsecPolicy(context.Context, *GetIpsecPolicyRequest) (*IpsecPolicy, error)
- func (UnimplementedIpsecPolicyServiceServer) ListIpsecPolicies(context.Context, *ListIpsecPoliciesRequest) (*ListIpsecPoliciesResponse, error)
- func (UnimplementedIpsecPolicyServiceServer) UpdateIpsecPolicy(context.Context, *UpdateIpsecPolicyRequest) (*IpsecPolicy, error)
- type UnimplementedIpsecSaServiceServer
- func (UnimplementedIpsecSaServiceServer) CreateIpsecSa(context.Context, *CreateIpsecSaRequest) (*IpsecSa, error)
- func (UnimplementedIpsecSaServiceServer) DeleteIpsecSa(context.Context, *DeleteIpsecSaRequest) (*emptypb.Empty, error)
- func (UnimplementedIpsecSaServiceServer) GetIpsecSa(context.Context, *GetIpsecSaRequest) (*IpsecSa, error)
- func (UnimplementedIpsecSaServiceServer) ListIpsecSas(context.Context, *ListIpsecSasRequest) (*ListIpsecSasResponse, error)
- func (UnimplementedIpsecSaServiceServer) UpdateIpsecSa(context.Context, *UpdateIpsecSaRequest) (*IpsecSa, error)
- type UnsafeIkeConnectionServiceServer
- type UnsafeIkePeerServiceServer
- type UnsafeIpsecPolicyServiceServer
- type UnsafeIpsecSaServiceServer
- type UpdateIkeConnectionRequest
- func (*UpdateIkeConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIkeConnectionRequest) GetIkeConnection() *IkeConnection
- func (x *UpdateIkeConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIkeConnectionRequest) ProtoMessage()
- func (x *UpdateIkeConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIkeConnectionRequest) Reset()
- func (x *UpdateIkeConnectionRequest) String() string
- type UpdateIkePeerRequest
- func (*UpdateIkePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIkePeerRequest) GetIkePeer() *IkePeer
- func (x *UpdateIkePeerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIkePeerRequest) ProtoMessage()
- func (x *UpdateIkePeerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIkePeerRequest) Reset()
- func (x *UpdateIkePeerRequest) String() string
- type UpdateIpsecPolicyRequest
- func (*UpdateIpsecPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIpsecPolicyRequest) GetIpsecPolicy() *IpsecPolicy
- func (x *UpdateIpsecPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIpsecPolicyRequest) ProtoMessage()
- func (x *UpdateIpsecPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIpsecPolicyRequest) Reset()
- func (x *UpdateIpsecPolicyRequest) String() string
- type UpdateIpsecSaRequest
- func (*UpdateIpsecSaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIpsecSaRequest) GetIpsecSa() *IpsecSa
- func (x *UpdateIpsecSaRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIpsecSaRequest) ProtoMessage()
- func (x *UpdateIpsecSaRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIpsecSaRequest) Reset()
- func (x *UpdateIpsecSaRequest) String() string
Constants ¶
const ( IkePeerService_CreateIkePeer_FullMethodName = "/opi_api.security.v1alpha1.IkePeerService/CreateIkePeer" IkePeerService_UpdateIkePeer_FullMethodName = "/opi_api.security.v1alpha1.IkePeerService/UpdateIkePeer" IkePeerService_DeleteIkePeer_FullMethodName = "/opi_api.security.v1alpha1.IkePeerService/DeleteIkePeer" IkePeerService_GetIkePeer_FullMethodName = "/opi_api.security.v1alpha1.IkePeerService/GetIkePeer" IkePeerService_ListIkePeers_FullMethodName = "/opi_api.security.v1alpha1.IkePeerService/ListIkePeers" )
const ( IkeConnectionService_CreateIkeConnection_FullMethodName = "/opi_api.security.v1alpha1.IkeConnectionService/CreateIkeConnection" IkeConnectionService_UpdateIkeConnection_FullMethodName = "/opi_api.security.v1alpha1.IkeConnectionService/UpdateIkeConnection" IkeConnectionService_DeleteIkeConnection_FullMethodName = "/opi_api.security.v1alpha1.IkeConnectionService/DeleteIkeConnection" IkeConnectionService_GetIkeConnection_FullMethodName = "/opi_api.security.v1alpha1.IkeConnectionService/GetIkeConnection" IkeConnectionService_ListIkeConnections_FullMethodName = "/opi_api.security.v1alpha1.IkeConnectionService/ListIkeConnections" IkeConnectionService_StatsIkeConnections_FullMethodName = "/opi_api.security.v1alpha1.IkeConnectionService/StatsIkeConnections" )
const ( IpsecSaService_CreateIpsecSa_FullMethodName = "/opi_api.security.v1alpha1.IpsecSaService/CreateIpsecSa" IpsecSaService_UpdateIpsecSa_FullMethodName = "/opi_api.security.v1alpha1.IpsecSaService/UpdateIpsecSa" IpsecSaService_DeleteIpsecSa_FullMethodName = "/opi_api.security.v1alpha1.IpsecSaService/DeleteIpsecSa" IpsecSaService_GetIpsecSa_FullMethodName = "/opi_api.security.v1alpha1.IpsecSaService/GetIpsecSa" IpsecSaService_ListIpsecSas_FullMethodName = "/opi_api.security.v1alpha1.IpsecSaService/ListIpsecSas" )
const ( IpsecPolicyService_CreateIpsecPolicy_FullMethodName = "/opi_api.security.v1alpha1.IpsecPolicyService/CreateIpsecPolicy" IpsecPolicyService_UpdateIpsecPolicy_FullMethodName = "/opi_api.security.v1alpha1.IpsecPolicyService/UpdateIpsecPolicy" IpsecPolicyService_DeleteIpsecPolicy_FullMethodName = "/opi_api.security.v1alpha1.IpsecPolicyService/DeleteIpsecPolicy" IpsecPolicyService_GetIpsecPolicy_FullMethodName = "/opi_api.security.v1alpha1.IpsecPolicyService/GetIpsecPolicy" IpsecPolicyService_ListIpsecPolicies_FullMethodName = "/opi_api.security.v1alpha1.IpsecPolicyService/ListIpsecPolicies" )
Variables ¶
var ( EncAlgorithm_name = map[int32]string{ 0: "ENC_ALGORITHM_UNSPECIFIED", 1: "ENC_ALGORITHM_AES128CBC", 2: "ENC_ALGORITHM_AES192CBC", 3: "ENC_ALGORITHM_AES256CBC", 4: "ENC_ALGORITHM_AES128GCM128", 5: "ENC_ALGORITHM_AES192GCM128", 6: "ENC_ALGORITHM_AES256GCM128", 7: "ENC_ALGORITHM_CHACHA20POLY1305", } EncAlgorithm_value = map[string]int32{ "ENC_ALGORITHM_UNSPECIFIED": 0, "ENC_ALGORITHM_AES128CBC": 1, "ENC_ALGORITHM_AES192CBC": 2, "ENC_ALGORITHM_AES256CBC": 3, "ENC_ALGORITHM_AES128GCM128": 4, "ENC_ALGORITHM_AES192GCM128": 5, "ENC_ALGORITHM_AES256GCM128": 6, "ENC_ALGORITHM_CHACHA20POLY1305": 7, } )
Enum value maps for EncAlgorithm.
var ( IntegAlgorithm_name = map[int32]string{ 0: "INTEG_ALGORITHM_UNSPECIFIED", 1: "INTEG_ALGORITHM_SHA1_96", 2: "INTEG_ALGORITHM_SHA256_128", 3: "INTEG_ALGORITHM_SHA384_192", 4: "INTEG_ALGORITHM_SHA512_512", 5: "INTEG_ALGORITHM_AES128GMAC", 6: "INTEG_ALGORITHM_AES256GMAC", } IntegAlgorithm_value = map[string]int32{ "INTEG_ALGORITHM_UNSPECIFIED": 0, "INTEG_ALGORITHM_SHA1_96": 1, "INTEG_ALGORITHM_SHA256_128": 2, "INTEG_ALGORITHM_SHA384_192": 3, "INTEG_ALGORITHM_SHA512_512": 4, "INTEG_ALGORITHM_AES128GMAC": 5, "INTEG_ALGORITHM_AES256GMAC": 6, } )
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 ( PRF_name = map[int32]string{ 0: "PRF_UNSPECIFIED", 1: "PRF_SHA1", 2: "PRF_AESXCBC", 3: "PRF_AESCMAC", 4: "PRF_SHA256", 5: "PRF_SHA384", 6: "PRF_SHA512", } PRF_value = map[string]int32{ "PRF_UNSPECIFIED": 0, "PRF_SHA1": 1, "PRF_AESXCBC": 2, "PRF_AESCMAC": 3, "PRF_SHA256": 4, "PRF_SHA384": 5, "PRF_SHA512": 6, } )
Enum value maps for PRF.
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 ( AutoStartupMode_name = map[int32]string{ 0: "AUTO_STARTUP_MODE_UNSPECIFIED", 1: "AUTO_STARTUP_MODE_ADD", 2: "AUTO_STARTUP_MODE_ON_DEMAND", 3: "AUTO_STARTUP_MODE_START", } AutoStartupMode_value = map[string]int32{ "AUTO_STARTUP_MODE_UNSPECIFIED": 0, "AUTO_STARTUP_MODE_ADD": 1, "AUTO_STARTUP_MODE_ON_DEMAND": 2, "AUTO_STARTUP_MODE_START": 3, } )
Enum value maps for AutoStartupMode.
var ( IkeVersion_name = map[int32]string{ 0: "IKE_VERSION_UNSPECIFIED", 2: "IKE_VERSION_IKEV2", } IkeVersion_value = map[string]int32{ "IKE_VERSION_UNSPECIFIED": 0, "IKE_VERSION_IKEV2": 2, } )
Enum value maps for IkeVersion.
var ( EspEncap_name = map[int32]string{ 0: "ESP_ENCAP_UNSPECIFIED", 1: "ESP_ENCAP_ESP_IN_UDP", } EspEncap_value = map[string]int32{ "ESP_ENCAP_UNSPECIFIED": 0, "ESP_ENCAP_ESP_IN_UDP": 1, } )
Enum value maps for EspEncap.
var ( IpsecSpdAction_name = map[int32]string{ 0: "IPSEC_SPD_ACTION_UNSPECIFIED", 1: "IPSEC_SPD_ACTION_PROTECT", 2: "IPSEC_SPD_ACTION_BYPASS", 3: "IPSEC_SPD_ACTION_DISCARD", } IpsecSpdAction_value = map[string]int32{ "IPSEC_SPD_ACTION_UNSPECIFIED": 0, "IPSEC_SPD_ACTION_PROTECT": 1, "IPSEC_SPD_ACTION_BYPASS": 2, "IPSEC_SPD_ACTION_DISCARD": 3, } )
Enum value maps for IpsecSpdAction.
var ( IpsecProtocol_name = map[int32]string{ 0: "IPSEC_PROTOCOL_UNSPECIFIED", 1: "IPSEC_PROTOCOL_ESP", } IpsecProtocol_value = map[string]int32{ "IPSEC_PROTOCOL_UNSPECIFIED": 0, "IPSEC_PROTOCOL_ESP": 1, } )
Enum value maps for IpsecProtocol.
var ( LifetimeAction_name = map[int32]string{ 0: "LIFETIME_ACTION_UNSPECIFIED", 1: "LIFETIME_ACTION_TERMINATE_CLEAR", 2: "LIFETIME_ACTION_TERMINATE_HOLD", 3: "LIFETIME_ACTION_REPLACE", } LifetimeAction_value = map[string]int32{ "LIFETIME_ACTION_UNSPECIFIED": 0, "LIFETIME_ACTION_TERMINATE_CLEAR": 1, "LIFETIME_ACTION_TERMINATE_HOLD": 2, "LIFETIME_ACTION_REPLACE": 3, } )
Enum value maps for LifetimeAction.
var ( DfBitAction_name = map[int32]string{ 0: "DF_BIT_ACTION_UNSPECIFIED", 1: "DF_BIT_ACTION_CLEAR", 2: "DF_BIT_ACTION_SET", 3: "DF_BIT_ACTION_COPY", } DfBitAction_value = map[string]int32{ "DF_BIT_ACTION_UNSPECIFIED": 0, "DF_BIT_ACTION_CLEAR": 1, "DF_BIT_ACTION_SET": 2, "DF_BIT_ACTION_COPY": 3, } )
Enum value maps for DfBitAction.
var ( DSAlgorithm_name = map[int32]string{ 0: "DS_ALGORITHM_UNSPECIFIED", 1: "DS_ALGORITHM_RSA", 9: "DS_ALGORITHM_ECDSA_SHA256_P256", 10: "DS_ALGORITHM_ECDSA_SHA384_P384", 11: "DS_ALGORITHM_ECDSA_SHA512_P512", } DSAlgorithm_value = map[string]int32{ "DS_ALGORITHM_UNSPECIFIED": 0, "DS_ALGORITHM_RSA": 1, "DS_ALGORITHM_ECDSA_SHA256_P256": 9, "DS_ALGORITHM_ECDSA_SHA384_P384": 10, "DS_ALGORITHM_ECDSA_SHA512_P512": 11, } )
Enum value maps for DSAlgorithm.
var File_opi_ipsec_proto protoreflect.FileDescriptor
var IkeConnectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.security.v1alpha1.IkeConnectionService", HandlerType: (*IkeConnectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIkeConnection", Handler: _IkeConnectionService_CreateIkeConnection_Handler, }, { MethodName: "UpdateIkeConnection", Handler: _IkeConnectionService_UpdateIkeConnection_Handler, }, { MethodName: "DeleteIkeConnection", Handler: _IkeConnectionService_DeleteIkeConnection_Handler, }, { MethodName: "GetIkeConnection", Handler: _IkeConnectionService_GetIkeConnection_Handler, }, { MethodName: "ListIkeConnections", Handler: _IkeConnectionService_ListIkeConnections_Handler, }, { MethodName: "StatsIkeConnections", Handler: _IkeConnectionService_StatsIkeConnections_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "opi_ipsec.proto", }
IkeConnectionService_ServiceDesc is the grpc.ServiceDesc for IkeConnectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var IkePeerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.security.v1alpha1.IkePeerService", HandlerType: (*IkePeerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIkePeer", Handler: _IkePeerService_CreateIkePeer_Handler, }, { MethodName: "UpdateIkePeer", Handler: _IkePeerService_UpdateIkePeer_Handler, }, { MethodName: "DeleteIkePeer", Handler: _IkePeerService_DeleteIkePeer_Handler, }, { MethodName: "GetIkePeer", Handler: _IkePeerService_GetIkePeer_Handler, }, { MethodName: "ListIkePeers", Handler: _IkePeerService_ListIkePeers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "opi_ipsec.proto", }
IkePeerService_ServiceDesc is the grpc.ServiceDesc for IkePeerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var IpsecPolicyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.security.v1alpha1.IpsecPolicyService", HandlerType: (*IpsecPolicyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIpsecPolicy", Handler: _IpsecPolicyService_CreateIpsecPolicy_Handler, }, { MethodName: "UpdateIpsecPolicy", Handler: _IpsecPolicyService_UpdateIpsecPolicy_Handler, }, { MethodName: "DeleteIpsecPolicy", Handler: _IpsecPolicyService_DeleteIpsecPolicy_Handler, }, { MethodName: "GetIpsecPolicy", Handler: _IpsecPolicyService_GetIpsecPolicy_Handler, }, { MethodName: "ListIpsecPolicies", Handler: _IpsecPolicyService_ListIpsecPolicies_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "opi_ipsec.proto", }
IpsecPolicyService_ServiceDesc is the grpc.ServiceDesc for IpsecPolicyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var IpsecSaService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.security.v1alpha1.IpsecSaService", HandlerType: (*IpsecSaServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIpsecSa", Handler: _IpsecSaService_CreateIpsecSa_Handler, }, { MethodName: "UpdateIpsecSa", Handler: _IpsecSaService_UpdateIpsecSa_Handler, }, { MethodName: "DeleteIpsecSa", Handler: _IpsecSaService_DeleteIpsecSa_Handler, }, { MethodName: "GetIpsecSa", Handler: _IpsecSaService_GetIpsecSa_Handler, }, { MethodName: "ListIpsecSas", Handler: _IpsecSaService_ListIpsecSas_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "opi_ipsec.proto", }
IpsecSaService_ServiceDesc is the grpc.ServiceDesc for IpsecSaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIkeConnectionServiceHandler ¶
func RegisterIkeConnectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIkeConnectionServiceHandler registers the http handlers for service IkeConnectionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIkeConnectionServiceHandlerClient ¶
func RegisterIkeConnectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IkeConnectionServiceClient) error
RegisterIkeConnectionServiceHandlerClient registers the http handlers for service IkeConnectionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IkeConnectionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IkeConnectionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IkeConnectionServiceClient" to call the correct interceptors.
func RegisterIkeConnectionServiceHandlerFromEndpoint ¶
func RegisterIkeConnectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIkeConnectionServiceHandlerFromEndpoint is same as RegisterIkeConnectionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIkeConnectionServiceHandlerServer ¶
func RegisterIkeConnectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IkeConnectionServiceServer) error
RegisterIkeConnectionServiceHandlerServer registers the http handlers for service IkeConnectionService to "mux". UnaryRPC :call IkeConnectionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIkeConnectionServiceHandlerFromEndpoint instead.
func RegisterIkeConnectionServiceServer ¶
func RegisterIkeConnectionServiceServer(s grpc.ServiceRegistrar, srv IkeConnectionServiceServer)
func RegisterIkePeerServiceHandler ¶
func RegisterIkePeerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIkePeerServiceHandler registers the http handlers for service IkePeerService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIkePeerServiceHandlerClient ¶
func RegisterIkePeerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IkePeerServiceClient) error
RegisterIkePeerServiceHandlerClient registers the http handlers for service IkePeerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IkePeerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IkePeerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IkePeerServiceClient" to call the correct interceptors.
func RegisterIkePeerServiceHandlerFromEndpoint ¶
func RegisterIkePeerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIkePeerServiceHandlerFromEndpoint is same as RegisterIkePeerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIkePeerServiceHandlerServer ¶
func RegisterIkePeerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IkePeerServiceServer) error
RegisterIkePeerServiceHandlerServer registers the http handlers for service IkePeerService to "mux". UnaryRPC :call IkePeerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIkePeerServiceHandlerFromEndpoint instead.
func RegisterIkePeerServiceServer ¶
func RegisterIkePeerServiceServer(s grpc.ServiceRegistrar, srv IkePeerServiceServer)
func RegisterIpsecPolicyServiceHandler ¶
func RegisterIpsecPolicyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIpsecPolicyServiceHandler registers the http handlers for service IpsecPolicyService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIpsecPolicyServiceHandlerClient ¶
func RegisterIpsecPolicyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IpsecPolicyServiceClient) error
RegisterIpsecPolicyServiceHandlerClient registers the http handlers for service IpsecPolicyService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IpsecPolicyServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IpsecPolicyServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IpsecPolicyServiceClient" to call the correct interceptors.
func RegisterIpsecPolicyServiceHandlerFromEndpoint ¶
func RegisterIpsecPolicyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIpsecPolicyServiceHandlerFromEndpoint is same as RegisterIpsecPolicyServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIpsecPolicyServiceHandlerServer ¶
func RegisterIpsecPolicyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IpsecPolicyServiceServer) error
RegisterIpsecPolicyServiceHandlerServer registers the http handlers for service IpsecPolicyService to "mux". UnaryRPC :call IpsecPolicyServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIpsecPolicyServiceHandlerFromEndpoint instead.
func RegisterIpsecPolicyServiceServer ¶
func RegisterIpsecPolicyServiceServer(s grpc.ServiceRegistrar, srv IpsecPolicyServiceServer)
func RegisterIpsecSaServiceHandler ¶
func RegisterIpsecSaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIpsecSaServiceHandler registers the http handlers for service IpsecSaService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIpsecSaServiceHandlerClient ¶
func RegisterIpsecSaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IpsecSaServiceClient) error
RegisterIpsecSaServiceHandlerClient registers the http handlers for service IpsecSaService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IpsecSaServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IpsecSaServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IpsecSaServiceClient" to call the correct interceptors.
func RegisterIpsecSaServiceHandlerFromEndpoint ¶
func RegisterIpsecSaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIpsecSaServiceHandlerFromEndpoint is same as RegisterIpsecSaServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIpsecSaServiceHandlerServer ¶
func RegisterIpsecSaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IpsecSaServiceServer) error
RegisterIpsecSaServiceHandlerServer registers the http handlers for service IpsecSaService to "mux". UnaryRPC :call IpsecSaServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIpsecSaServiceHandlerFromEndpoint instead.
func RegisterIpsecSaServiceServer ¶
func RegisterIpsecSaServiceServer(s grpc.ServiceRegistrar, srv IpsecSaServiceServer)
Types ¶
type AntiReplayStats ¶
type AntiReplayStats struct { // ARW state ReplayWindow *AntiReplayWindow `protobuf:"bytes,1,opt,name=replay_window,json=replayWindow,proto3" json:"replay_window,omitempty"` // Packets dropped because they are replay packets PacketDropped int64 `protobuf:"varint,2,opt,name=packet_dropped,json=packetDropped,proto3" json:"packet_dropped,omitempty"` // Number of packets detected out of the replay window Failed int64 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` // Current value of the sequence number // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: The sequence number cannot be negative. --) SeqNumCounter uint64 `protobuf:"varint,4,opt,name=seq_num_counter,json=seqNumCounter,proto3" json:"seq_num_counter,omitempty"` // contains filtered or unexported fields }
Anti-replay stats
func (*AntiReplayStats) Descriptor
deprecated
func (*AntiReplayStats) Descriptor() ([]byte, []int)
Deprecated: Use AntiReplayStats.ProtoReflect.Descriptor instead.
func (*AntiReplayStats) GetFailed ¶
func (x *AntiReplayStats) GetFailed() int64
func (*AntiReplayStats) GetPacketDropped ¶
func (x *AntiReplayStats) GetPacketDropped() int64
func (*AntiReplayStats) GetReplayWindow ¶
func (x *AntiReplayStats) GetReplayWindow() *AntiReplayWindow
func (*AntiReplayStats) GetSeqNumCounter ¶
func (x *AntiReplayStats) GetSeqNumCounter() uint64
func (*AntiReplayStats) ProtoMessage ¶
func (*AntiReplayStats) ProtoMessage()
func (*AntiReplayStats) ProtoReflect ¶
func (x *AntiReplayStats) ProtoReflect() protoreflect.Message
func (*AntiReplayStats) Reset ¶
func (x *AntiReplayStats) Reset()
func (*AntiReplayStats) String ¶
func (x *AntiReplayStats) String() string
type AntiReplayWindow ¶
type AntiReplayWindow struct { // Size of the replay window. A value in the range [1, 4096]. W int32 `protobuf:"varint,1,opt,name=w,proto3" json:"w,omitempty"` // Highest sequence number authenticated so far, upper bound of window // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: The sequence number cannot be negative. --) T uint64 `protobuf:"varint,2,opt,name=t,proto3" json:"t,omitempty"` // Lower bound of window // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: The sequence number cannot be negative. --) B uint64 `protobuf:"varint,3,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
Anti-replay window state. Three parameters define the state of the replay window: window size (w), highest sequence number authenticated (t), and lower bound of the window (b), according to Appendix A2.1 in RFC 4303 (w = t - b + 1)
func (*AntiReplayWindow) Descriptor
deprecated
func (*AntiReplayWindow) Descriptor() ([]byte, []int)
Deprecated: Use AntiReplayWindow.ProtoReflect.Descriptor instead.
func (*AntiReplayWindow) GetB ¶
func (x *AntiReplayWindow) GetB() uint64
func (*AntiReplayWindow) GetT ¶
func (x *AntiReplayWindow) GetT() uint64
func (*AntiReplayWindow) GetW ¶
func (x *AntiReplayWindow) GetW() int32
func (*AntiReplayWindow) ProtoMessage ¶
func (*AntiReplayWindow) ProtoMessage()
func (*AntiReplayWindow) ProtoReflect ¶
func (x *AntiReplayWindow) ProtoReflect() protoreflect.Message
func (*AntiReplayWindow) Reset ¶
func (x *AntiReplayWindow) Reset()
func (*AntiReplayWindow) String ¶
func (x *AntiReplayWindow) String() string
type AuthType ¶
type AuthType int32
Authentication Type
const ( // Authentication type is not specified AuthType_AUTH_TYPE_UNSPECIFIED AuthType = 0 // Public Key Authentication AuthType_AUTH_TYPE_PUBKEY AuthType = 1 // Pre-shared Key Authentication AuthType_AUTH_TYPE_PSK AuthType = 2 // XAUTH Authentication AuthType_AUTH_TYPE_XAUTH AuthType = 3 // EAP Authentication AuthType_AUTH_TYPE_EAP AuthType = 4 )
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 AutoStartupMode ¶
type AutoStartupMode int32
IKE connection startup behavior
const ( // IKE connection startup behavior is not specified AutoStartupMode_AUTO_STARTUP_MODE_UNSPECIFIED AutoStartupMode = 0 // IKE/IPsec connection configuration is only loaded into the IKE // implementation, but IKE/IPsec SA is not started. AutoStartupMode_AUTO_STARTUP_MODE_ADD AutoStartupMode = 1 // IKE/IPsec connection configuration is loaded into the IKE implementation. // The IPsec policies are configured but the IKE SAs are not established // immediately. The IKE implementation will negotiate the IPsec SAs when they // are required. AutoStartupMode_AUTO_STARTUP_MODE_ON_DEMAND AutoStartupMode = 2 // IKE/IPsec connection configuration is loaded and the IKEv2-based IPsec SAs // are established immediately without waiting for any packet. AutoStartupMode_AUTO_STARTUP_MODE_START AutoStartupMode = 3 )
func (AutoStartupMode) Descriptor ¶
func (AutoStartupMode) Descriptor() protoreflect.EnumDescriptor
func (AutoStartupMode) Enum ¶
func (x AutoStartupMode) Enum() *AutoStartupMode
func (AutoStartupMode) EnumDescriptor
deprecated
func (AutoStartupMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutoStartupMode.Descriptor instead.
func (AutoStartupMode) Number ¶
func (x AutoStartupMode) Number() protoreflect.EnumNumber
func (AutoStartupMode) String ¶
func (x AutoStartupMode) String() string
func (AutoStartupMode) Type ¶
func (AutoStartupMode) Type() protoreflect.EnumType
type CaCerts ¶
type CaCerts struct { // List of CA certificates. Cacert []string `protobuf:"bytes,1,rep,name=cacert,proto3" json:"cacert,omitempty"` // contains filtered or unexported fields }
Defines a Certificate Authority (CA) certificate.
func (*CaCerts) Descriptor
deprecated
func (*CaCerts) ProtoMessage ¶
func (*CaCerts) ProtoMessage()
func (*CaCerts) ProtoReflect ¶
func (x *CaCerts) ProtoReflect() protoreflect.Message
type ChildSaInfo ¶
type ChildSaInfo struct { // If non-zero, forward secrecy is required when a new IPsec SA is being // created. The non-zero value indicates the DH group number to use for the // key exchange process used to achieve forward secrecy. The list is ordered // following from the higher priority to lower priority. The first node of the // list will be the algorithm with higher priority. FsGroups []int32 `protobuf:"varint,1,rep,packed,name=fs_groups,json=fsGroups,proto3" json:"fs_groups,omitempty"` // Soft IPsec SA lifetime. After the lifetime, the lifetime action is // performed. LifetimeSoft *IpsecSaLifetimeSoft `protobuf:"bytes,2,opt,name=lifetime_soft,json=lifetimeSoft,proto3" json:"lifetime_soft,omitempty"` // Hard IPsec SA lifetime. The action will be used to terminate the IPsec SA. LifetimeHard *IpsecSaLifetimeHard `protobuf:"bytes,3,opt,name=lifetime_hard,json=lifetimeHard,proto3" json:"lifetime_hard,omitempty"` // contains filtered or unexported fields }
Specific information for IPsec SAs. It includes Perfect Forward Secrecy (PFS) group and IPsec SA rekey lifetimes.
func (*ChildSaInfo) Descriptor
deprecated
func (*ChildSaInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChildSaInfo.ProtoReflect.Descriptor instead.
func (*ChildSaInfo) GetFsGroups ¶
func (x *ChildSaInfo) GetFsGroups() []int32
func (*ChildSaInfo) GetLifetimeHard ¶
func (x *ChildSaInfo) GetLifetimeHard() *IpsecSaLifetimeHard
func (*ChildSaInfo) GetLifetimeSoft ¶
func (x *ChildSaInfo) GetLifetimeSoft() *IpsecSaLifetimeSoft
func (*ChildSaInfo) ProtoMessage ¶
func (*ChildSaInfo) ProtoMessage()
func (*ChildSaInfo) ProtoReflect ¶
func (x *ChildSaInfo) ProtoReflect() protoreflect.Message
func (*ChildSaInfo) Reset ¶
func (x *ChildSaInfo) Reset()
func (*ChildSaInfo) String ¶
func (x *ChildSaInfo) String() string
type CreateIkeConnectionRequest ¶
type CreateIkeConnectionRequest struct { // The ID to use for the IKE Connection. IkeConnectionId string `protobuf:"bytes,1,opt,name=ike_connection_id,json=ikeConnectionId,proto3" json:"ike_connection_id,omitempty"` // The IKE Connection to create. IkeConnection *IkeConnection `protobuf:"bytes,2,opt,name=ike_connection,json=ikeConnection,proto3" json:"ike_connection,omitempty"` // contains filtered or unexported fields }
Create an IKE Connection
func (*CreateIkeConnectionRequest) Descriptor
deprecated
func (*CreateIkeConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIkeConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateIkeConnectionRequest) GetIkeConnection ¶
func (x *CreateIkeConnectionRequest) GetIkeConnection() *IkeConnection
func (*CreateIkeConnectionRequest) GetIkeConnectionId ¶
func (x *CreateIkeConnectionRequest) GetIkeConnectionId() string
func (*CreateIkeConnectionRequest) ProtoMessage ¶
func (*CreateIkeConnectionRequest) ProtoMessage()
func (*CreateIkeConnectionRequest) ProtoReflect ¶
func (x *CreateIkeConnectionRequest) ProtoReflect() protoreflect.Message
func (*CreateIkeConnectionRequest) Reset ¶
func (x *CreateIkeConnectionRequest) Reset()
func (*CreateIkeConnectionRequest) String ¶
func (x *CreateIkeConnectionRequest) String() string
type CreateIkePeerRequest ¶
type CreateIkePeerRequest struct { // The ID to use for the IKE Peer. IkePeerId string `protobuf:"bytes,1,opt,name=ike_peer_id,json=ikePeerId,proto3" json:"ike_peer_id,omitempty"` // The IKE Peer to create. IkePeer *IkePeer `protobuf:"bytes,2,opt,name=ike_peer,json=ikePeer,proto3" json:"ike_peer,omitempty"` // contains filtered or unexported fields }
Create an IKE Peer
func (*CreateIkePeerRequest) Descriptor
deprecated
func (*CreateIkePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIkePeerRequest.ProtoReflect.Descriptor instead.
func (*CreateIkePeerRequest) GetIkePeer ¶
func (x *CreateIkePeerRequest) GetIkePeer() *IkePeer
func (*CreateIkePeerRequest) GetIkePeerId ¶
func (x *CreateIkePeerRequest) GetIkePeerId() string
func (*CreateIkePeerRequest) ProtoMessage ¶
func (*CreateIkePeerRequest) ProtoMessage()
func (*CreateIkePeerRequest) ProtoReflect ¶
func (x *CreateIkePeerRequest) ProtoReflect() protoreflect.Message
func (*CreateIkePeerRequest) Reset ¶
func (x *CreateIkePeerRequest) Reset()
func (*CreateIkePeerRequest) String ¶
func (x *CreateIkePeerRequest) String() string
type CreateIpsecPolicyRequest ¶
type CreateIpsecPolicyRequest struct { // The ID to use for the IPsec Policy. IpsecPolicyId string `protobuf:"bytes,1,opt,name=ipsec_policy_id,json=ipsecPolicyId,proto3" json:"ipsec_policy_id,omitempty"` // The IPsec Policy to create. IpsecPolicy *IpsecPolicy `protobuf:"bytes,2,opt,name=ipsec_policy,json=ipsecPolicy,proto3" json:"ipsec_policy,omitempty"` // contains filtered or unexported fields }
Create an IPsec Policy
func (*CreateIpsecPolicyRequest) Descriptor
deprecated
func (*CreateIpsecPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIpsecPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateIpsecPolicyRequest) GetIpsecPolicy ¶
func (x *CreateIpsecPolicyRequest) GetIpsecPolicy() *IpsecPolicy
func (*CreateIpsecPolicyRequest) GetIpsecPolicyId ¶
func (x *CreateIpsecPolicyRequest) GetIpsecPolicyId() string
func (*CreateIpsecPolicyRequest) ProtoMessage ¶
func (*CreateIpsecPolicyRequest) ProtoMessage()
func (*CreateIpsecPolicyRequest) ProtoReflect ¶
func (x *CreateIpsecPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateIpsecPolicyRequest) Reset ¶
func (x *CreateIpsecPolicyRequest) Reset()
func (*CreateIpsecPolicyRequest) String ¶
func (x *CreateIpsecPolicyRequest) String() string
type CreateIpsecSaRequest ¶
type CreateIpsecSaRequest struct { // The ID to use for the IPsec SA. IpsecSaId string `protobuf:"bytes,1,opt,name=ipsec_sa_id,json=ipsecSaId,proto3" json:"ipsec_sa_id,omitempty"` // The IPsec SA to create. IpsecSa *IpsecSa `protobuf:"bytes,2,opt,name=ipsec_sa,json=ipsecSa,proto3" json:"ipsec_sa,omitempty"` // contains filtered or unexported fields }
Create an IPsec SA
func (*CreateIpsecSaRequest) Descriptor
deprecated
func (*CreateIpsecSaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIpsecSaRequest.ProtoReflect.Descriptor instead.
func (*CreateIpsecSaRequest) GetIpsecSa ¶
func (x *CreateIpsecSaRequest) GetIpsecSa() *IpsecSa
func (*CreateIpsecSaRequest) GetIpsecSaId ¶
func (x *CreateIpsecSaRequest) GetIpsecSaId() string
func (*CreateIpsecSaRequest) ProtoMessage ¶
func (*CreateIpsecSaRequest) ProtoMessage()
func (*CreateIpsecSaRequest) ProtoReflect ¶
func (x *CreateIpsecSaRequest) ProtoReflect() protoreflect.Message
func (*CreateIpsecSaRequest) Reset ¶
func (x *CreateIpsecSaRequest) Reset()
func (*CreateIpsecSaRequest) String ¶
func (x *CreateIpsecSaRequest) String() string
type DHGroups ¶
type DHGroups int32
Diffie Hellman Groups
const ( // DH Group is not specified DHGroups_DH_GROUPS_UNSPECIFIED DHGroups = 0 // MODP768 DH Group DHGroups_DH_GROUPS_MODP768 DHGroups = 1 // MODP1024 DH Group DHGroups_DH_GROUPS_MODP1024 DHGroups = 2 // MODP1536 DH Group DHGroups_DH_GROUPS_MODP1536 DHGroups = 3 // MODP2048 DH Group DHGroups_DH_GROUPS_MODP2048 DHGroups = 4 // MODP3072 DH Group DHGroups_DH_GROUPS_MODP3072 DHGroups = 5 // MODP4096 DH Group DHGroups_DH_GROUPS_MODP4096 DHGroups = 6 // MODP6144 DH Group DHGroups_DH_GROUPS_MODP6144 DHGroups = 7 // MODP8192 DH Group DHGroups_DH_GROUPS_MODP8192 DHGroups = 8 // MODP1024S160 DH Group DHGroups_DH_GROUPS_MODP1024S160 DHGroups = 9 // MODP2048S224 DH Group DHGroups_DH_GROUPS_MODP2048S224 DHGroups = 10 // MODP2048S256 DH Group DHGroups_DH_GROUPS_MODP2048S256 DHGroups = 11 // Curve25519 DH Group 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 DSAlgorithm ¶
type DSAlgorithm int32
Digital Signature Algorithm Encoding follows the IANA encoding for IKEv2 Authentication Method https://www.iana.org/assignments/ikev2-parameters/ikev2-parameters.xhtml#ikev2-parameters-12
const ( // Digital Signature algorithm is not specified DSAlgorithm_DS_ALGORITHM_UNSPECIFIED DSAlgorithm = 0 // RSA digital signature algorithm DSAlgorithm_DS_ALGORITHM_RSA DSAlgorithm = 1 // ECDSA digital signature algorithm with SHA-256 and a P-256 curve DSAlgorithm_DS_ALGORITHM_ECDSA_SHA256_P256 DSAlgorithm = 9 // ECDSA digital signature algorithm with SHA-384 and a P-384 curve DSAlgorithm_DS_ALGORITHM_ECDSA_SHA384_P384 DSAlgorithm = 10 // ECDSA digital signature algorithm with SHA-512 and a P-512 curve DSAlgorithm_DS_ALGORITHM_ECDSA_SHA512_P512 DSAlgorithm = 11 )
func (DSAlgorithm) Descriptor ¶
func (DSAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (DSAlgorithm) Enum ¶
func (x DSAlgorithm) Enum() *DSAlgorithm
func (DSAlgorithm) EnumDescriptor
deprecated
func (DSAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use DSAlgorithm.Descriptor instead.
func (DSAlgorithm) Number ¶
func (x DSAlgorithm) Number() protoreflect.EnumNumber
func (DSAlgorithm) String ¶
func (x DSAlgorithm) String() string
func (DSAlgorithm) Type ¶
func (DSAlgorithm) Type() protoreflect.EnumType
type DSAuth ¶
type DSAuth struct { // The digital signature algorithm Algorithm DSAlgorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=opi_api.security.v1alpha1.DSAlgorithm" json:"algorithm,omitempty"` // Raw public key RawPublicKey string `protobuf:"bytes,2,opt,name=raw_public_key,json=rawPublicKey,proto3" json:"raw_public_key,omitempty"` // Certificate Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"` // Private key PrivateKey string `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Certificates CaCerts *CaCerts `protobuf:"bytes,5,opt,name=ca_certs,json=caCerts,proto3" json:"ca_certs,omitempty"` // contains filtered or unexported fields }
Digital Signature Authentication
func (*DSAuth) Descriptor
deprecated
func (*DSAuth) GetAlgorithm ¶
func (x *DSAuth) GetAlgorithm() DSAlgorithm
func (*DSAuth) GetCaCerts ¶
func (*DSAuth) GetPrivateKey ¶
func (*DSAuth) GetRawPublicKey ¶
func (*DSAuth) ProtoMessage ¶
func (*DSAuth) ProtoMessage()
func (*DSAuth) ProtoReflect ¶
func (x *DSAuth) ProtoReflect() protoreflect.Message
type DeleteIkeConnectionRequest ¶
type DeleteIkeConnectionRequest struct { // Connection name identifying the IKE connection to delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Delete an IKE Connection
func (*DeleteIkeConnectionRequest) Descriptor
deprecated
func (*DeleteIkeConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIkeConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteIkeConnectionRequest) GetName ¶
func (x *DeleteIkeConnectionRequest) GetName() string
func (*DeleteIkeConnectionRequest) ProtoMessage ¶
func (*DeleteIkeConnectionRequest) ProtoMessage()
func (*DeleteIkeConnectionRequest) ProtoReflect ¶
func (x *DeleteIkeConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteIkeConnectionRequest) Reset ¶
func (x *DeleteIkeConnectionRequest) Reset()
func (*DeleteIkeConnectionRequest) String ¶
func (x *DeleteIkeConnectionRequest) String() string
type DeleteIkePeerRequest ¶
type DeleteIkePeerRequest struct { // Name of the IKE peer to delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Delete an IKE Peer
func (*DeleteIkePeerRequest) Descriptor
deprecated
func (*DeleteIkePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIkePeerRequest.ProtoReflect.Descriptor instead.
func (*DeleteIkePeerRequest) GetName ¶
func (x *DeleteIkePeerRequest) GetName() string
func (*DeleteIkePeerRequest) ProtoMessage ¶
func (*DeleteIkePeerRequest) ProtoMessage()
func (*DeleteIkePeerRequest) ProtoReflect ¶
func (x *DeleteIkePeerRequest) ProtoReflect() protoreflect.Message
func (*DeleteIkePeerRequest) Reset ¶
func (x *DeleteIkePeerRequest) Reset()
func (*DeleteIkePeerRequest) String ¶
func (x *DeleteIkePeerRequest) String() string
type DeleteIpsecPolicyRequest ¶
type DeleteIpsecPolicyRequest struct { // Name of the policy to delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Delete an IPsec Policy
func (*DeleteIpsecPolicyRequest) Descriptor
deprecated
func (*DeleteIpsecPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIpsecPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteIpsecPolicyRequest) GetName ¶
func (x *DeleteIpsecPolicyRequest) GetName() string
func (*DeleteIpsecPolicyRequest) ProtoMessage ¶
func (*DeleteIpsecPolicyRequest) ProtoMessage()
func (*DeleteIpsecPolicyRequest) ProtoReflect ¶
func (x *DeleteIpsecPolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteIpsecPolicyRequest) Reset ¶
func (x *DeleteIpsecPolicyRequest) Reset()
func (*DeleteIpsecPolicyRequest) String ¶
func (x *DeleteIpsecPolicyRequest) String() string
type DeleteIpsecSaRequest ¶
type DeleteIpsecSaRequest struct { // Name of the SA to delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Delete an IPsec SA
func (*DeleteIpsecSaRequest) Descriptor
deprecated
func (*DeleteIpsecSaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIpsecSaRequest.ProtoReflect.Descriptor instead.
func (*DeleteIpsecSaRequest) GetName ¶
func (x *DeleteIpsecSaRequest) GetName() string
func (*DeleteIpsecSaRequest) ProtoMessage ¶
func (*DeleteIpsecSaRequest) ProtoMessage()
func (*DeleteIpsecSaRequest) ProtoReflect ¶
func (x *DeleteIpsecSaRequest) ProtoReflect() protoreflect.Message
func (*DeleteIpsecSaRequest) Reset ¶
func (x *DeleteIpsecSaRequest) Reset()
func (*DeleteIpsecSaRequest) String ¶
func (x *DeleteIpsecSaRequest) String() string
type DfBitAction ¶
type DfBitAction int32
Don't Fragment (DF) bit handling when encapsulating tunnel mode IPsec traffic.
const ( // DF action is not specified. DfBitAction_DF_BIT_ACTION_UNSPECIFIED DfBitAction = 0 // Disable the Don't Fragment (DF) bit in the outer header. DfBitAction_DF_BIT_ACTION_CLEAR DfBitAction = 1 // Enable the DF bit in the outer header DfBitAction_DF_BIT_ACTION_SET DfBitAction = 2 // Copy the DF bit to the outer header DfBitAction_DF_BIT_ACTION_COPY DfBitAction = 3 )
func (DfBitAction) Descriptor ¶
func (DfBitAction) Descriptor() protoreflect.EnumDescriptor
func (DfBitAction) Enum ¶
func (x DfBitAction) Enum() *DfBitAction
func (DfBitAction) EnumDescriptor
deprecated
func (DfBitAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use DfBitAction.Descriptor instead.
func (DfBitAction) Number ¶
func (x DfBitAction) Number() protoreflect.EnumNumber
func (DfBitAction) String ¶
func (x DfBitAction) String() string
func (DfBitAction) Type ¶
func (DfBitAction) Type() protoreflect.EnumType
type DscpMapping ¶
type DscpMapping struct { // The list entry index with the different mappings. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The DSCP value of the inner IP packet. InnerDscp int32 `protobuf:"varint,2,opt,name=inner_dscp,json=innerDscp,proto3" json:"inner_dscp,omitempty"` // The DSCP value of the outer IP packet. OuterDscp int32 `protobuf:"varint,3,opt,name=outer_dscp,json=outerDscp,proto3" json:"outer_dscp,omitempty"` // contains filtered or unexported fields }
Mapping from the inner DSCP value to the outer DSCP value.
func (*DscpMapping) Descriptor
deprecated
func (*DscpMapping) Descriptor() ([]byte, []int)
Deprecated: Use DscpMapping.ProtoReflect.Descriptor instead.
func (*DscpMapping) GetId ¶
func (x *DscpMapping) GetId() int32
func (*DscpMapping) GetInnerDscp ¶
func (x *DscpMapping) GetInnerDscp() int32
func (*DscpMapping) GetOuterDscp ¶
func (x *DscpMapping) GetOuterDscp() int32
func (*DscpMapping) ProtoMessage ¶
func (*DscpMapping) ProtoMessage()
func (*DscpMapping) ProtoReflect ¶
func (x *DscpMapping) ProtoReflect() protoreflect.Message
func (*DscpMapping) Reset ¶
func (x *DscpMapping) Reset()
func (*DscpMapping) String ¶
func (x *DscpMapping) String() string
type EncAlgorithm ¶
type EncAlgorithm int32
Cryptographic algorithm for encryption.
const ( // Encryption algorithm is not specified EncAlgorithm_ENC_ALGORITHM_UNSPECIFIED EncAlgorithm = 0 // AES-CBC with a 128 bit key EncAlgorithm_ENC_ALGORITHM_AES128CBC EncAlgorithm = 1 // AES-CBC with a 192 bit key EncAlgorithm_ENC_ALGORITHM_AES192CBC EncAlgorithm = 2 // AES-CBC with a 256 bit key EncAlgorithm_ENC_ALGORITHM_AES256CBC EncAlgorithm = 3 // AES-GCM with a 128 bit key and a 128 byte tag EncAlgorithm_ENC_ALGORITHM_AES128GCM128 EncAlgorithm = 4 // AES-GCM with a 192 bit key and a 128 byte tag EncAlgorithm_ENC_ALGORITHM_AES192GCM128 EncAlgorithm = 5 // AES-GCM with a 256 bit key and a 128 byte tag EncAlgorithm_ENC_ALGORITHM_AES256GCM128 EncAlgorithm = 6 // ChaCha20-Poly1305 AEAD algorithm EncAlgorithm_ENC_ALGORITHM_CHACHA20POLY1305 EncAlgorithm = 7 )
func (EncAlgorithm) Descriptor ¶
func (EncAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (EncAlgorithm) Enum ¶
func (x EncAlgorithm) Enum() *EncAlgorithm
func (EncAlgorithm) EnumDescriptor
deprecated
func (EncAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncAlgorithm.Descriptor instead.
func (EncAlgorithm) Number ¶
func (x EncAlgorithm) Number() protoreflect.EnumNumber
func (EncAlgorithm) String ¶
func (x EncAlgorithm) String() string
func (EncAlgorithm) Type ¶
func (EncAlgorithm) Type() protoreflect.EnumType
type Encap ¶
type Encap struct { // Type of encapsulation to use. Espencap EspEncap `protobuf:"varint,1,opt,name=espencap,proto3,enum=opi_api.security.v1alpha1.EspEncap" json:"espencap,omitempty"` // Encapsulation source port. Default = 4500 Sport int32 `protobuf:"varint,2,opt,name=sport,proto3" json:"sport,omitempty"` // Encapsulation destination port. Default = 4500 Dport int32 `protobuf:"varint,3,opt,name=dport,proto3" json:"dport,omitempty"` // contains filtered or unexported fields }
Defines the type of encapsulation in case NAT traversal is required and includes port information.
func (*Encap) Descriptor
deprecated
func (*Encap) GetEspencap ¶
func (*Encap) ProtoMessage ¶
func (*Encap) ProtoMessage()
func (*Encap) ProtoReflect ¶
func (x *Encap) ProtoReflect() protoreflect.Message
type EspAlgorithms ¶
type EspAlgorithms struct { // Configuration of ESP authentication based on the specified integrity // algorithm. With AEAD encryption algorithms, the integrity node is not used. Integrity []IntegAlgorithm `protobuf:"varint,1,rep,packed,name=integrity,proto3,enum=opi_api.security.v1alpha1.IntegAlgorithm" json:"integrity,omitempty"` // Encryption of AEAD algorithm for the IPsec SAs. This list is ordered from // higher priority to lower priority. The first node of the list will be the // algorithm with the higher priority. If the list is empty then AES-256-GCM // will be applied. Encryption []EncAlgorithm `protobuf:"varint,2,rep,packed,name=encryption,proto3,enum=opi_api.security.v1alpha1.EncAlgorithm" json:"encryption,omitempty"` // If Traffic Flow Confidentiality (TFC) padding for ESP encryption can be // used (true) or not (false). TfcPad bool `protobuf:"varint,3,opt,name=tfc_pad,json=tfcPad,proto3" json:"tfc_pad,omitempty"` // contains filtered or unexported fields }
Configuration of ESP parameters and algorithms
func (*EspAlgorithms) Descriptor
deprecated
func (*EspAlgorithms) Descriptor() ([]byte, []int)
Deprecated: Use EspAlgorithms.ProtoReflect.Descriptor instead.
func (*EspAlgorithms) GetEncryption ¶
func (x *EspAlgorithms) GetEncryption() []EncAlgorithm
func (*EspAlgorithms) GetIntegrity ¶
func (x *EspAlgorithms) GetIntegrity() []IntegAlgorithm
func (*EspAlgorithms) GetTfcPad ¶
func (x *EspAlgorithms) GetTfcPad() bool
func (*EspAlgorithms) ProtoMessage ¶
func (*EspAlgorithms) ProtoMessage()
func (*EspAlgorithms) ProtoReflect ¶
func (x *EspAlgorithms) ProtoReflect() protoreflect.Message
func (*EspAlgorithms) Reset ¶
func (x *EspAlgorithms) Reset()
func (*EspAlgorithms) String ¶
func (x *EspAlgorithms) String() string
type EspEncap ¶
type EspEncap int32
ESP Encapsulation method for NAT traversal
func (EspEncap) Descriptor ¶
func (EspEncap) Descriptor() protoreflect.EnumDescriptor
func (EspEncap) EnumDescriptor
deprecated
func (EspEncap) Number ¶
func (x EspEncap) Number() protoreflect.EnumNumber
func (EspEncap) Type ¶
func (EspEncap) Type() protoreflect.EnumType
type GetIkeConnectionRequest ¶
type GetIkeConnectionRequest struct { // Connection name identifying the IKE connection to retrieve Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Get an IKE Connection
func (*GetIkeConnectionRequest) Descriptor
deprecated
func (*GetIkeConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIkeConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetIkeConnectionRequest) GetName ¶
func (x *GetIkeConnectionRequest) GetName() string
func (*GetIkeConnectionRequest) ProtoMessage ¶
func (*GetIkeConnectionRequest) ProtoMessage()
func (*GetIkeConnectionRequest) ProtoReflect ¶
func (x *GetIkeConnectionRequest) ProtoReflect() protoreflect.Message
func (*GetIkeConnectionRequest) Reset ¶
func (x *GetIkeConnectionRequest) Reset()
func (*GetIkeConnectionRequest) String ¶
func (x *GetIkeConnectionRequest) String() string
type GetIkePeerRequest ¶
type GetIkePeerRequest struct { // Name of the IKE peer to retrieve Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Get an IKE Peer
func (*GetIkePeerRequest) Descriptor
deprecated
func (*GetIkePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIkePeerRequest.ProtoReflect.Descriptor instead.
func (*GetIkePeerRequest) GetName ¶
func (x *GetIkePeerRequest) GetName() string
func (*GetIkePeerRequest) ProtoMessage ¶
func (*GetIkePeerRequest) ProtoMessage()
func (*GetIkePeerRequest) ProtoReflect ¶
func (x *GetIkePeerRequest) ProtoReflect() protoreflect.Message
func (*GetIkePeerRequest) Reset ¶
func (x *GetIkePeerRequest) Reset()
func (*GetIkePeerRequest) String ¶
func (x *GetIkePeerRequest) String() string
type GetIpsecPolicyRequest ¶
type GetIpsecPolicyRequest struct { // Name of the policy to retrieve Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Get an IPsec Policy
func (*GetIpsecPolicyRequest) Descriptor
deprecated
func (*GetIpsecPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIpsecPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetIpsecPolicyRequest) GetName ¶
func (x *GetIpsecPolicyRequest) GetName() string
func (*GetIpsecPolicyRequest) ProtoMessage ¶
func (*GetIpsecPolicyRequest) ProtoMessage()
func (*GetIpsecPolicyRequest) ProtoReflect ¶
func (x *GetIpsecPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetIpsecPolicyRequest) Reset ¶
func (x *GetIpsecPolicyRequest) Reset()
func (*GetIpsecPolicyRequest) String ¶
func (x *GetIpsecPolicyRequest) String() string
type GetIpsecSaRequest ¶
type GetIpsecSaRequest struct { // Name of the SA to retrieve Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Get an IPsec SA
func (*GetIpsecSaRequest) Descriptor
deprecated
func (*GetIpsecSaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIpsecSaRequest.ProtoReflect.Descriptor instead.
func (*GetIpsecSaRequest) GetName ¶
func (x *GetIpsecSaRequest) GetName() string
func (*GetIpsecSaRequest) ProtoMessage ¶
func (*GetIpsecSaRequest) ProtoMessage()
func (*GetIpsecSaRequest) ProtoReflect ¶
func (x *GetIpsecSaRequest) ProtoReflect() protoreflect.Message
func (*GetIpsecSaRequest) Reset ¶
func (x *GetIpsecSaRequest) Reset()
func (*GetIpsecSaRequest) String ¶
func (x *GetIpsecSaRequest) String() string
type IkeConnection ¶
type IkeConnection struct { // Unique name to identify the connection. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // IKE/IPsec connection startup behavior. Default: AUTO_STARTUP_MODE_ADD Autostartup AutoStartupMode `protobuf:"varint,2,opt,name=autostartup,proto3,enum=opi_api.security.v1alpha1.AutoStartupMode" json:"autostartup,omitempty"` // IKE version. Only version 2 is supported. Version IkeVersion `protobuf:"varint,3,opt,name=version,proto3,enum=opi_api.security.v1alpha1.IkeVersion" json:"version,omitempty"` // IKE fragmentation Fragmentation *IkeFragmentation `protobuf:"bytes,4,opt,name=fragmentation,proto3" json:"fragmentation,omitempty"` // IKE SA soft lifetime IkeSaLifetimeSoft *IkeSaLifetimeSoft `protobuf:"bytes,5,opt,name=ike_sa_lifetime_soft,json=ikeSaLifetimeSoft,proto3" json:"ike_sa_lifetime_soft,omitempty"` // IKE SA hard lifetime IkeSaLifetimeHard *IkeSaLifetimeHard `protobuf:"bytes,6,opt,name=ike_sa_lifetime_hard,json=ikeSaLifetimeHard,proto3" json:"ike_sa_lifetime_hard,omitempty"` // Encryption algorithms EncryptionAlg []EncAlgorithm `` /* 152-byte string literal not displayed */ // Integrity algorithms IntegrityAlg []IntegAlgorithm `` /* 151-byte string literal not displayed */ // Pseudo Random Function (PRF) algorithms Prf []PRF `protobuf:"varint,9,rep,packed,name=prf,proto3,enum=opi_api.security.v1alpha1.PRF" json:"prf,omitempty"` // Diffie Hellman groups Dhgroups []DHGroups `protobuf:"varint,10,rep,packed,name=dhgroups,proto3,enum=opi_api.security.v1alpha1.DHGroups" json:"dhgroups,omitempty"` // Local peer name. Local string `protobuf:"bytes,11,opt,name=local,proto3" json:"local,omitempty"` // Remote peer name. Remote string `protobuf:"bytes,12,opt,name=remote,proto3" json:"remote,omitempty"` // Configuration information about the encapsulation that should be used when // NAT traversal is required. No encapsulation is used if this field is not // specified. Encap *Encap `protobuf:"bytes,13,opt,name=encap,proto3" json:"encap,omitempty"` // Local UDP port for IKE communication. Defaults to 500 if not specified. LocalPort int32 `protobuf:"varint,14,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` // Remote UDP port for IKE communication. Defaults to 500 if not specified. RemotePort int32 `protobuf:"varint,15,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` // Interface that this connection is associated with. Used for route based // VPNs. IfId string `protobuf:"bytes,16,opt,name=if_id,json=ifId,proto3" json:"if_id,omitempty"` // IPsec policies that apply to the connection Policies []string `protobuf:"bytes,17,rep,name=policies,proto3" json:"policies,omitempty"` // Connection state / status State *IkeConnectionState `protobuf:"bytes,18,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
An IKE Connection specification
func (*IkeConnection) Descriptor
deprecated
func (*IkeConnection) Descriptor() ([]byte, []int)
Deprecated: Use IkeConnection.ProtoReflect.Descriptor instead.
func (*IkeConnection) GetAutostartup ¶
func (x *IkeConnection) GetAutostartup() AutoStartupMode
func (*IkeConnection) GetDhgroups ¶
func (x *IkeConnection) GetDhgroups() []DHGroups
func (*IkeConnection) GetEncap ¶
func (x *IkeConnection) GetEncap() *Encap
func (*IkeConnection) GetEncryptionAlg ¶
func (x *IkeConnection) GetEncryptionAlg() []EncAlgorithm
func (*IkeConnection) GetFragmentation ¶
func (x *IkeConnection) GetFragmentation() *IkeFragmentation
func (*IkeConnection) GetIfId ¶
func (x *IkeConnection) GetIfId() string
func (*IkeConnection) GetIkeSaLifetimeHard ¶
func (x *IkeConnection) GetIkeSaLifetimeHard() *IkeSaLifetimeHard
func (*IkeConnection) GetIkeSaLifetimeSoft ¶
func (x *IkeConnection) GetIkeSaLifetimeSoft() *IkeSaLifetimeSoft
func (*IkeConnection) GetIntegrityAlg ¶
func (x *IkeConnection) GetIntegrityAlg() []IntegAlgorithm
func (*IkeConnection) GetLocal ¶
func (x *IkeConnection) GetLocal() string
func (*IkeConnection) GetLocalPort ¶
func (x *IkeConnection) GetLocalPort() int32
func (*IkeConnection) GetName ¶
func (x *IkeConnection) GetName() string
func (*IkeConnection) GetPolicies ¶
func (x *IkeConnection) GetPolicies() []string
func (*IkeConnection) GetPrf ¶
func (x *IkeConnection) GetPrf() []PRF
func (*IkeConnection) GetRemote ¶
func (x *IkeConnection) GetRemote() string
func (*IkeConnection) GetRemotePort ¶
func (x *IkeConnection) GetRemotePort() int32
func (*IkeConnection) GetState ¶
func (x *IkeConnection) GetState() *IkeConnectionState
func (*IkeConnection) GetVersion ¶
func (x *IkeConnection) GetVersion() IkeVersion
func (*IkeConnection) ProtoMessage ¶
func (*IkeConnection) ProtoMessage()
func (*IkeConnection) ProtoReflect ¶
func (x *IkeConnection) ProtoReflect() protoreflect.Message
func (*IkeConnection) Reset ¶
func (x *IkeConnection) Reset()
func (*IkeConnection) String ¶
func (x *IkeConnection) String() string
type IkeConnectionServiceClient ¶
type IkeConnectionServiceClient interface { // Create an IKE connection. The request includes specification of the local // and remote IKE peers and the specification of the IPsec SAs (aka child SAs) // from this IKE connection. CreateIkeConnection(ctx context.Context, in *CreateIkeConnectionRequest, opts ...grpc.CallOption) (*IkeConnection, error) // Update an existing IKE connection. UpdateIkeConnection(ctx context.Context, in *UpdateIkeConnectionRequest, opts ...grpc.CallOption) (*IkeConnection, error) // Delete an existing IKE connection. DeleteIkeConnection(ctx context.Context, in *DeleteIkeConnectionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Retrieve an IKE connection. GetIkeConnection(ctx context.Context, in *GetIkeConnectionRequest, opts ...grpc.CallOption) (*IkeConnection, error) // List existing IKE connections. ListIkeConnections(ctx context.Context, in *ListIkeConnectionsRequest, opts ...grpc.CallOption) (*ListIkeConnectionsResponse, error) // Get IKE connection statistics. StatsIkeConnections(ctx context.Context, in *StatsIkeConnectionsRequest, opts ...grpc.CallOption) (*StatsIkeConnectionsResponse, error) }
IkeConnectionServiceClient is the client API for IkeConnectionService 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 NewIkeConnectionServiceClient ¶
func NewIkeConnectionServiceClient(cc grpc.ClientConnInterface) IkeConnectionServiceClient
type IkeConnectionServiceServer ¶
type IkeConnectionServiceServer interface { // Create an IKE connection. The request includes specification of the local // and remote IKE peers and the specification of the IPsec SAs (aka child SAs) // from this IKE connection. CreateIkeConnection(context.Context, *CreateIkeConnectionRequest) (*IkeConnection, error) // Update an existing IKE connection. UpdateIkeConnection(context.Context, *UpdateIkeConnectionRequest) (*IkeConnection, error) // Delete an existing IKE connection. DeleteIkeConnection(context.Context, *DeleteIkeConnectionRequest) (*emptypb.Empty, error) // Retrieve an IKE connection. GetIkeConnection(context.Context, *GetIkeConnectionRequest) (*IkeConnection, error) // List existing IKE connections. ListIkeConnections(context.Context, *ListIkeConnectionsRequest) (*ListIkeConnectionsResponse, error) // Get IKE connection statistics. StatsIkeConnections(context.Context, *StatsIkeConnectionsRequest) (*StatsIkeConnectionsResponse, error) // contains filtered or unexported methods }
IkeConnectionServiceServer is the server API for IkeConnectionService service. All implementations must embed UnimplementedIkeConnectionServiceServer for forward compatibility
type IkeConnectionState ¶
type IkeConnectionState struct { // True if the local endpoint is acting as the initiator for this connection. Initiator bool `protobuf:"varint,1,opt,name=initiator,proto3" json:"initiator,omitempty"` // Initiator's IKE SA SPI InitiatorIkeSpi int32 `protobuf:"varint,2,opt,name=initiator_ike_spi,json=initiatorIkeSpi,proto3" json:"initiator_ike_spi,omitempty"` // Responder's IKE SA SPI ResponderIkeSa int32 `protobuf:"varint,3,opt,name=responder_ike_sa,json=responderIkeSa,proto3" json:"responder_ike_sa,omitempty"` // True if the local endpoint is behind a NAT. NatLocal bool `protobuf:"varint,4,opt,name=nat_local,json=natLocal,proto3" json:"nat_local,omitempty"` // True if the remote endpoint is behind a NAT. NatRemote bool `protobuf:"varint,5,opt,name=nat_remote,json=natRemote,proto3" json:"nat_remote,omitempty"` // Provides information about the encapsulation that IKE is using. Encap *Encap `protobuf:"bytes,6,opt,name=encap,proto3" json:"encap,omitempty"` // Seconds since this IKE SA has been established. Established int64 `protobuf:"varint,7,opt,name=established,proto3" json:"established,omitempty"` // Seconds before IKE SA is rekeyed CurrentRekeyInterval *durationpb.Duration `protobuf:"bytes,8,opt,name=current_rekey_interval,json=currentRekeyInterval,proto3" json:"current_rekey_interval,omitempty"` // Seconds before IKE SA is re-authenticated CurrentReauthInterval *durationpb.Duration `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
IKE state data for an IKE connection
func (*IkeConnectionState) Descriptor
deprecated
func (*IkeConnectionState) Descriptor() ([]byte, []int)
Deprecated: Use IkeConnectionState.ProtoReflect.Descriptor instead.
func (*IkeConnectionState) GetCurrentReauthInterval ¶
func (x *IkeConnectionState) GetCurrentReauthInterval() *durationpb.Duration
func (*IkeConnectionState) GetCurrentRekeyInterval ¶
func (x *IkeConnectionState) GetCurrentRekeyInterval() *durationpb.Duration
func (*IkeConnectionState) GetEncap ¶
func (x *IkeConnectionState) GetEncap() *Encap
func (*IkeConnectionState) GetEstablished ¶
func (x *IkeConnectionState) GetEstablished() int64
func (*IkeConnectionState) GetInitiator ¶
func (x *IkeConnectionState) GetInitiator() bool
func (*IkeConnectionState) GetInitiatorIkeSpi ¶
func (x *IkeConnectionState) GetInitiatorIkeSpi() int32
func (*IkeConnectionState) GetNatLocal ¶
func (x *IkeConnectionState) GetNatLocal() bool
func (*IkeConnectionState) GetNatRemote ¶
func (x *IkeConnectionState) GetNatRemote() bool
func (*IkeConnectionState) GetResponderIkeSa ¶
func (x *IkeConnectionState) GetResponderIkeSa() int32
func (*IkeConnectionState) ProtoMessage ¶
func (*IkeConnectionState) ProtoMessage()
func (*IkeConnectionState) ProtoReflect ¶
func (x *IkeConnectionState) ProtoReflect() protoreflect.Message
func (*IkeConnectionState) Reset ¶
func (x *IkeConnectionState) Reset()
func (*IkeConnectionState) String ¶
func (x *IkeConnectionState) String() string
type IkeFragmentation ¶
type IkeFragmentation struct { // Enable/Disable IKEv2 fragmentation. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // When fragmentation is enabled, the MTU that IKEv2 can use for IKEv2 // fragmentation. Mtu int32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` // contains filtered or unexported fields }
IKEv2 Fragmentation, as per RFC 7383. If IKEv2 fragmentation is enabled, it is possible to specify the MTU.
func (*IkeFragmentation) Descriptor
deprecated
func (*IkeFragmentation) Descriptor() ([]byte, []int)
Deprecated: Use IkeFragmentation.ProtoReflect.Descriptor instead.
func (*IkeFragmentation) GetEnabled ¶
func (x *IkeFragmentation) GetEnabled() bool
func (*IkeFragmentation) GetMtu ¶
func (x *IkeFragmentation) GetMtu() int32
func (*IkeFragmentation) ProtoMessage ¶
func (*IkeFragmentation) ProtoMessage()
func (*IkeFragmentation) ProtoReflect ¶
func (x *IkeFragmentation) ProtoReflect() protoreflect.Message
func (*IkeFragmentation) Reset ¶
func (x *IkeFragmentation) Reset()
func (*IkeFragmentation) String ¶
func (x *IkeFragmentation) String() string
type IkePeer ¶
type IkePeer struct { // Name to uniquely identify the peer. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // IPv4 or IPv6 address of the peer. IpAddress *_go.IPAddress `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // FQDN of the peer. Fqdn string `protobuf:"bytes,3,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // IKE Peer Authentication PeerAuth *IkePeerAuthentication `protobuf:"bytes,4,opt,name=peer_auth,json=peerAuth,proto3" json:"peer_auth,omitempty"` // contains filtered or unexported fields }
IKE Peer
func (*IkePeer) Descriptor
deprecated
func (*IkePeer) GetIpAddress ¶
func (*IkePeer) GetPeerAuth ¶
func (x *IkePeer) GetPeerAuth() *IkePeerAuthentication
func (*IkePeer) ProtoMessage ¶
func (*IkePeer) ProtoMessage()
func (*IkePeer) ProtoReflect ¶
func (x *IkePeer) ProtoReflect() protoreflect.Message
type IkePeerAuthentication ¶
type IkePeerAuthentication struct { // Authentication method AuthMethod AuthType `` /* 132-byte string literal not displayed */ // EAP method type specified with a value extracted from the IANA registry. // This information provides the particular EAP method to be used. Depending // on the EAP method, pre-shared keys or certificates may be used. EapType int32 `protobuf:"varint,2,opt,name=eap_type,json=eapType,proto3" json:"eap_type,omitempty"` // Pre-shared secret value. This value MUST be set of the EAP method uses a // pre-shared key or pre-shared authentication has been chosen. Psk string `protobuf:"bytes,3,opt,name=psk,proto3" json:"psk,omitempty"` // Digital signature DigitalSignature *DSAuth `protobuf:"bytes,4,opt,name=digital_signature,json=digitalSignature,proto3" json:"digital_signature,omitempty"` // contains filtered or unexported fields }
IKE Peer Authentication
func (*IkePeerAuthentication) Descriptor
deprecated
func (*IkePeerAuthentication) Descriptor() ([]byte, []int)
Deprecated: Use IkePeerAuthentication.ProtoReflect.Descriptor instead.
func (*IkePeerAuthentication) GetAuthMethod ¶
func (x *IkePeerAuthentication) GetAuthMethod() AuthType
func (*IkePeerAuthentication) GetDigitalSignature ¶
func (x *IkePeerAuthentication) GetDigitalSignature() *DSAuth
func (*IkePeerAuthentication) GetEapType ¶
func (x *IkePeerAuthentication) GetEapType() int32
func (*IkePeerAuthentication) GetPsk ¶
func (x *IkePeerAuthentication) GetPsk() string
func (*IkePeerAuthentication) ProtoMessage ¶
func (*IkePeerAuthentication) ProtoMessage()
func (*IkePeerAuthentication) ProtoReflect ¶
func (x *IkePeerAuthentication) ProtoReflect() protoreflect.Message
func (*IkePeerAuthentication) Reset ¶
func (x *IkePeerAuthentication) Reset()
func (*IkePeerAuthentication) String ¶
func (x *IkePeerAuthentication) String() string
type IkePeerServiceClient ¶
type IkePeerServiceClient interface { // Create an IKE peer. This request includes the specification of the keys and certificates // associated with the peer. CreateIkePeer(ctx context.Context, in *CreateIkePeerRequest, opts ...grpc.CallOption) (*IkePeer, error) // Update an existing IKE peer specification. UpdateIkePeer(ctx context.Context, in *UpdateIkePeerRequest, opts ...grpc.CallOption) (*IkePeer, error) // Delete an existing IKE peer specification. DeleteIkePeer(ctx context.Context, in *DeleteIkePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get an existing IKE peer specification. GetIkePeer(ctx context.Context, in *GetIkePeerRequest, opts ...grpc.CallOption) (*IkePeer, error) // List existing IKE peers. ListIkePeers(ctx context.Context, in *ListIkePeersRequest, opts ...grpc.CallOption) (*ListIkePeersResponse, error) }
IkePeerServiceClient is the client API for IkePeerService 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 NewIkePeerServiceClient ¶
func NewIkePeerServiceClient(cc grpc.ClientConnInterface) IkePeerServiceClient
type IkePeerServiceServer ¶
type IkePeerServiceServer interface { // Create an IKE peer. This request includes the specification of the keys and certificates // associated with the peer. CreateIkePeer(context.Context, *CreateIkePeerRequest) (*IkePeer, error) // Update an existing IKE peer specification. UpdateIkePeer(context.Context, *UpdateIkePeerRequest) (*IkePeer, error) // Delete an existing IKE peer specification. DeleteIkePeer(context.Context, *DeleteIkePeerRequest) (*emptypb.Empty, error) // Get an existing IKE peer specification. GetIkePeer(context.Context, *GetIkePeerRequest) (*IkePeer, error) // List existing IKE peers. ListIkePeers(context.Context, *ListIkePeersRequest) (*ListIkePeersResponse, error) // contains filtered or unexported methods }
IkePeerServiceServer is the server API for IkePeerService service. All implementations must embed UnimplementedIkePeerServiceServer for forward compatibility
type IkeSaLifetimeHard ¶
type IkeSaLifetimeHard struct { // Time in seconds before the IKE SA is removed. The value 0 means infinite. MaxDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=max_duration,json=maxDuration,proto3" json:"max_duration,omitempty"` // contains filtered or unexported fields }
IKE SA hard lifetime. When this time is reached, the IKE SA is removed.
func (*IkeSaLifetimeHard) Descriptor
deprecated
func (*IkeSaLifetimeHard) Descriptor() ([]byte, []int)
Deprecated: Use IkeSaLifetimeHard.ProtoReflect.Descriptor instead.
func (*IkeSaLifetimeHard) GetMaxDuration ¶
func (x *IkeSaLifetimeHard) GetMaxDuration() *durationpb.Duration
func (*IkeSaLifetimeHard) ProtoMessage ¶
func (*IkeSaLifetimeHard) ProtoMessage()
func (*IkeSaLifetimeHard) ProtoReflect ¶
func (x *IkeSaLifetimeHard) ProtoReflect() protoreflect.Message
func (*IkeSaLifetimeHard) Reset ¶
func (x *IkeSaLifetimeHard) Reset()
func (*IkeSaLifetimeHard) String ¶
func (x *IkeSaLifetimeHard) String() string
type IkeSaLifetimeSoft ¶
type IkeSaLifetimeSoft struct { // Time in seconds between each IKE SA rekey. The value of 0 means infinite. RekeyInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=rekey_interval,json=rekeyInterval,proto3" json:"rekey_interval,omitempty"` // Time in seconds between each IKE SA re-authentication. The value of 0 means // infinite. ReauthInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=reauth_interval,json=reauthInterval,proto3" json:"reauth_interval,omitempty"` // contains filtered or unexported fields }
IKE SA soft lifetime. Two lifetime values can be configured, either rekey time of the IKE SA or reauth time of the IKE SA. When the rekey lifetime expires, a rekey of the IKE SA starts. When reauth lifetime expires, an IKE SA re-authentication starts.
func (*IkeSaLifetimeSoft) Descriptor
deprecated
func (*IkeSaLifetimeSoft) Descriptor() ([]byte, []int)
Deprecated: Use IkeSaLifetimeSoft.ProtoReflect.Descriptor instead.
func (*IkeSaLifetimeSoft) GetReauthInterval ¶
func (x *IkeSaLifetimeSoft) GetReauthInterval() *durationpb.Duration
func (*IkeSaLifetimeSoft) GetRekeyInterval ¶
func (x *IkeSaLifetimeSoft) GetRekeyInterval() *durationpb.Duration
func (*IkeSaLifetimeSoft) ProtoMessage ¶
func (*IkeSaLifetimeSoft) ProtoMessage()
func (*IkeSaLifetimeSoft) ProtoReflect ¶
func (x *IkeSaLifetimeSoft) ProtoReflect() protoreflect.Message
func (*IkeSaLifetimeSoft) Reset ¶
func (x *IkeSaLifetimeSoft) Reset()
func (*IkeSaLifetimeSoft) String ¶
func (x *IkeSaLifetimeSoft) String() string
type IkeVersion ¶
type IkeVersion int32
IKE Version
const ( // IKE version is not specified IkeVersion_IKE_VERSION_UNSPECIFIED IkeVersion = 0 // IKE version 2 IkeVersion_IKE_VERSION_IKEV2 IkeVersion = 2 )
func (IkeVersion) Descriptor ¶
func (IkeVersion) Descriptor() protoreflect.EnumDescriptor
func (IkeVersion) Enum ¶
func (x IkeVersion) Enum() *IkeVersion
func (IkeVersion) EnumDescriptor
deprecated
func (IkeVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use IkeVersion.Descriptor instead.
func (IkeVersion) Number ¶
func (x IkeVersion) Number() protoreflect.EnumNumber
func (IkeVersion) String ¶
func (x IkeVersion) String() string
func (IkeVersion) Type ¶
func (IkeVersion) Type() protoreflect.EnumType
type IntegAlgorithm ¶
type IntegAlgorithm int32
Cryptographic algorithm for authentication.
const ( // Integrity algorithm is not specified IntegAlgorithm_INTEG_ALGORITHM_UNSPECIFIED IntegAlgorithm = 0 // SHA-1 with a 96 bit truncated hash output length IntegAlgorithm_INTEG_ALGORITHM_SHA1_96 IntegAlgorithm = 1 // SHA-256 with a 128 bit truncated hash output length IntegAlgorithm_INTEG_ALGORITHM_SHA256_128 IntegAlgorithm = 2 // SHA-384 with a 192 bit truncated hash output length IntegAlgorithm_INTEG_ALGORITHM_SHA384_192 IntegAlgorithm = 3 // SHA-512 with a 256 bit truncated hash output length IntegAlgorithm_INTEG_ALGORITHM_SHA512_512 IntegAlgorithm = 4 // AES-GMAC with a 128 bit key IntegAlgorithm_INTEG_ALGORITHM_AES128GMAC IntegAlgorithm = 5 // AES-GMAC with a 256 bit key IntegAlgorithm_INTEG_ALGORITHM_AES256GMAC IntegAlgorithm = 6 )
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
IPsec Mode. Tunnel or Transport 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 IpsecPolicy ¶
type IpsecPolicy struct { // Unique name to identify the IPsec policy in the SPD. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This value allows linking this IPsec policy with the IPsec SAs with the // same reqid. A value of 0 (the default) means that the reqid is unused. Reqid int64 `protobuf:"varint,2,opt,name=reqid,proto3" json:"reqid,omitempty"` // IPsec Policy configuration Config *IpsecPolicyConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
Holds configuration information for an IPsec SPD entry.
func (*IpsecPolicy) Descriptor
deprecated
func (*IpsecPolicy) Descriptor() ([]byte, []int)
Deprecated: Use IpsecPolicy.ProtoReflect.Descriptor instead.
func (*IpsecPolicy) GetConfig ¶
func (x *IpsecPolicy) GetConfig() *IpsecPolicyConfig
func (*IpsecPolicy) GetName ¶
func (x *IpsecPolicy) GetName() string
func (*IpsecPolicy) GetReqid ¶
func (x *IpsecPolicy) GetReqid() int64
func (*IpsecPolicy) ProtoMessage ¶
func (*IpsecPolicy) ProtoMessage()
func (*IpsecPolicy) ProtoReflect ¶
func (x *IpsecPolicy) ProtoReflect() protoreflect.Message
func (*IpsecPolicy) Reset ¶
func (x *IpsecPolicy) Reset()
func (*IpsecPolicy) String ¶
func (x *IpsecPolicy) String() string
type IpsecPolicyConfig ¶
type IpsecPolicyConfig struct { // Anti-Replay-Window size. If not set, the default value is 64, following the // recommendation in RFC4303. ArwSize int32 `protobuf:"varint,1,opt,name=arw_size,json=arwSize,proto3" json:"arw_size,omitempty"` // Packets are selected for processing actions based on Traffic Selector // values, which refer to IP and inner protocol header information. TrafficSelector *TrafficSelector `protobuf:"bytes,2,opt,name=traffic_selector,json=trafficSelector,proto3" json:"traffic_selector,omitempty"` // SPD processing to be performed on packets that match the traffic selector. Processing *SpdProcessingInfo `protobuf:"bytes,3,opt,name=processing,proto3" json:"processing,omitempty"` // contains filtered or unexported fields }
Holds configuration information for an IPsec SPD entry.
func (*IpsecPolicyConfig) Descriptor
deprecated
func (*IpsecPolicyConfig) Descriptor() ([]byte, []int)
Deprecated: Use IpsecPolicyConfig.ProtoReflect.Descriptor instead.
func (*IpsecPolicyConfig) GetArwSize ¶
func (x *IpsecPolicyConfig) GetArwSize() int32
func (*IpsecPolicyConfig) GetProcessing ¶
func (x *IpsecPolicyConfig) GetProcessing() *SpdProcessingInfo
func (*IpsecPolicyConfig) GetTrafficSelector ¶
func (x *IpsecPolicyConfig) GetTrafficSelector() *TrafficSelector
func (*IpsecPolicyConfig) ProtoMessage ¶
func (*IpsecPolicyConfig) ProtoMessage()
func (*IpsecPolicyConfig) ProtoReflect ¶
func (x *IpsecPolicyConfig) ProtoReflect() protoreflect.Message
func (*IpsecPolicyConfig) Reset ¶
func (x *IpsecPolicyConfig) Reset()
func (*IpsecPolicyConfig) String ¶
func (x *IpsecPolicyConfig) String() string
type IpsecPolicyServiceClient ¶
type IpsecPolicyServiceClient interface { // Create an IPsec Policy CreateIpsecPolicy(ctx context.Context, in *CreateIpsecPolicyRequest, opts ...grpc.CallOption) (*IpsecPolicy, error) // Update an existing IPsec Policy UpdateIpsecPolicy(ctx context.Context, in *UpdateIpsecPolicyRequest, opts ...grpc.CallOption) (*IpsecPolicy, error) // Delete an existing IPsec Policy DeleteIpsecPolicy(ctx context.Context, in *DeleteIpsecPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get an IPsec Policy GetIpsecPolicy(ctx context.Context, in *GetIpsecPolicyRequest, opts ...grpc.CallOption) (*IpsecPolicy, error) // List existing IPsec Policies ListIpsecPolicies(ctx context.Context, in *ListIpsecPoliciesRequest, opts ...grpc.CallOption) (*ListIpsecPoliciesResponse, error) }
IpsecPolicyServiceClient is the client API for IpsecPolicyService 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 NewIpsecPolicyServiceClient ¶
func NewIpsecPolicyServiceClient(cc grpc.ClientConnInterface) IpsecPolicyServiceClient
type IpsecPolicyServiceServer ¶
type IpsecPolicyServiceServer interface { // Create an IPsec Policy CreateIpsecPolicy(context.Context, *CreateIpsecPolicyRequest) (*IpsecPolicy, error) // Update an existing IPsec Policy UpdateIpsecPolicy(context.Context, *UpdateIpsecPolicyRequest) (*IpsecPolicy, error) // Delete an existing IPsec Policy DeleteIpsecPolicy(context.Context, *DeleteIpsecPolicyRequest) (*emptypb.Empty, error) // Get an IPsec Policy GetIpsecPolicy(context.Context, *GetIpsecPolicyRequest) (*IpsecPolicy, error) // List existing IPsec Policies ListIpsecPolicies(context.Context, *ListIpsecPoliciesRequest) (*ListIpsecPoliciesResponse, error) // contains filtered or unexported methods }
IpsecPolicyServiceServer is the server API for IpsecPolicyService service. All implementations must embed UnimplementedIpsecPolicyServiceServer for forward compatibility
type IpsecProtocol ¶
type IpsecProtocol int32
IPsec security protocols
const ( // IPsec protocol is not specified IpsecProtocol_IPSEC_PROTOCOL_UNSPECIFIED IpsecProtocol = 0 // IPsec ESP IpsecProtocol_IPSEC_PROTOCOL_ESP IpsecProtocol = 1 )
func (IpsecProtocol) Descriptor ¶
func (IpsecProtocol) Descriptor() protoreflect.EnumDescriptor
func (IpsecProtocol) Enum ¶
func (x IpsecProtocol) Enum() *IpsecProtocol
func (IpsecProtocol) EnumDescriptor
deprecated
func (IpsecProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpsecProtocol.Descriptor instead.
func (IpsecProtocol) Number ¶
func (x IpsecProtocol) Number() protoreflect.EnumNumber
func (IpsecProtocol) String ¶
func (x IpsecProtocol) String() string
func (IpsecProtocol) Type ¶
func (IpsecProtocol) Type() protoreflect.EnumType
type IpsecSa ¶
type IpsecSa struct { // Unique name in the SAD to identify this SA Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This value allows linking this IPsec SA with an IPsec policy with the same // reqid Reqid int64 `protobuf:"varint,2,opt,name=reqid,proto3" json:"reqid,omitempty"` // IPsec SA configuration Config *IpsecSaConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // IPsec SA state State *IpsecSaState `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
An IPsec Security Association (SA)
func (*IpsecSa) Descriptor
deprecated
func (*IpsecSa) GetConfig ¶
func (x *IpsecSa) GetConfig() *IpsecSaConfig
func (*IpsecSa) GetState ¶
func (x *IpsecSa) GetState() *IpsecSaState
func (*IpsecSa) ProtoMessage ¶
func (*IpsecSa) ProtoMessage()
func (*IpsecSa) ProtoReflect ¶
func (x *IpsecSa) ProtoReflect() protoreflect.Message
type IpsecSaConfig ¶
type IpsecSaConfig struct { // IPsec SA Security Parameter Index (SPI) // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: The SPI cannot be negative. --) Spi uint32 `protobuf:"varint,1,opt,name=spi,proto3" json:"spi,omitempty"` // True if this IPsec SA is using extended sequence numbers. If true, the // 64-bit extended sequence number counter is used. If false, the normal // 32-bit sequence number counter is used. Esn bool `protobuf:"varint,2,opt,name=esn,proto3" json:"esn,omitempty"` // Anti-Replay-Window size. If not set, the default value is 64, following the // recommendation in RFC4303. ArwSize int32 `protobuf:"varint,3,opt,name=arw_size,json=arwSize,proto3" json:"arw_size,omitempty"` // Packets are selected for processing actions based on Traffic Selector // values, which refer to IP and inner protocol header information. TrafficSelector *TrafficSelector `protobuf:"bytes,4,opt,name=traffic_selector,json=trafficSelector,proto3" json:"traffic_selector,omitempty"` // Security protocol of the IPsec SA. Only ESP is supported. Protocol IpsecProtocol `protobuf:"varint,5,opt,name=protocol,proto3,enum=opi_api.security.v1alpha1.IpsecProtocol" json:"protocol,omitempty"` // IPsec SA has to be processed in transport or tunnel mode. If not specified, // transport mode is used. Mode IpsecMode `protobuf:"varint,6,opt,name=mode,proto3,enum=opi_api.security.v1alpha1.IpsecMode" json:"mode,omitempty"` // IPsec ESP algorithm configuration EspAlgorithms *EspAlgorithms `protobuf:"bytes,7,opt,name=esp_algorithms,json=espAlgorithms,proto3" json:"esp_algorithms,omitempty"` // Tunnel configuration. Only relevant when mode = Tunnel. Tunnel *Tunnel `protobuf:"bytes,8,opt,name=tunnel,proto3" json:"tunnel,omitempty"` // Soft IPsec SA lifetime. After the lifetime, the lifetime action is // performed. LifetimeSoft *IpsecSaLifetimeSoft `protobuf:"bytes,9,opt,name=lifetime_soft,json=lifetimeSoft,proto3" json:"lifetime_soft,omitempty"` // Hard IPsec SA lifetime. The action will be used to terminate the IPsec SA. LifetimeHard *IpsecSaLifetimeHard `protobuf:"bytes,10,opt,name=lifetime_hard,json=lifetimeHard,proto3" json:"lifetime_hard,omitempty"` // Provides information about the encapsulation that the IPsec SA is using. Encap *Encap `protobuf:"bytes,11,opt,name=encap,proto3" json:"encap,omitempty"` // contains filtered or unexported fields }
IPsec Security Association Configuration
func (*IpsecSaConfig) Descriptor
deprecated
func (*IpsecSaConfig) Descriptor() ([]byte, []int)
Deprecated: Use IpsecSaConfig.ProtoReflect.Descriptor instead.
func (*IpsecSaConfig) GetArwSize ¶
func (x *IpsecSaConfig) GetArwSize() int32
func (*IpsecSaConfig) GetEncap ¶
func (x *IpsecSaConfig) GetEncap() *Encap
func (*IpsecSaConfig) GetEsn ¶
func (x *IpsecSaConfig) GetEsn() bool
func (*IpsecSaConfig) GetEspAlgorithms ¶
func (x *IpsecSaConfig) GetEspAlgorithms() *EspAlgorithms
func (*IpsecSaConfig) GetLifetimeHard ¶
func (x *IpsecSaConfig) GetLifetimeHard() *IpsecSaLifetimeHard
func (*IpsecSaConfig) GetLifetimeSoft ¶
func (x *IpsecSaConfig) GetLifetimeSoft() *IpsecSaLifetimeSoft
func (*IpsecSaConfig) GetMode ¶
func (x *IpsecSaConfig) GetMode() IpsecMode
func (*IpsecSaConfig) GetProtocol ¶
func (x *IpsecSaConfig) GetProtocol() IpsecProtocol
func (*IpsecSaConfig) GetSpi ¶
func (x *IpsecSaConfig) GetSpi() uint32
func (*IpsecSaConfig) GetTrafficSelector ¶
func (x *IpsecSaConfig) GetTrafficSelector() *TrafficSelector
func (*IpsecSaConfig) GetTunnel ¶
func (x *IpsecSaConfig) GetTunnel() *Tunnel
func (*IpsecSaConfig) ProtoMessage ¶
func (*IpsecSaConfig) ProtoMessage()
func (*IpsecSaConfig) ProtoReflect ¶
func (x *IpsecSaConfig) ProtoReflect() protoreflect.Message
func (*IpsecSaConfig) Reset ¶
func (x *IpsecSaConfig) Reset()
func (*IpsecSaConfig) String ¶
func (x *IpsecSaConfig) String() string
type IpsecSaLifetimeHard ¶
type IpsecSaLifetimeHard struct { // The lifetime of the IPsec SA. Lifetime *Lifetime `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // contains filtered or unexported fields }
IPsec SA hard lifetime. Specifies a lifetime after which the IPsec SA should be terminated.
func (*IpsecSaLifetimeHard) Descriptor
deprecated
func (*IpsecSaLifetimeHard) Descriptor() ([]byte, []int)
Deprecated: Use IpsecSaLifetimeHard.ProtoReflect.Descriptor instead.
func (*IpsecSaLifetimeHard) GetLifetime ¶
func (x *IpsecSaLifetimeHard) GetLifetime() *Lifetime
func (*IpsecSaLifetimeHard) ProtoMessage ¶
func (*IpsecSaLifetimeHard) ProtoMessage()
func (*IpsecSaLifetimeHard) ProtoReflect ¶
func (x *IpsecSaLifetimeHard) ProtoReflect() protoreflect.Message
func (*IpsecSaLifetimeHard) Reset ¶
func (x *IpsecSaLifetimeHard) Reset()
func (*IpsecSaLifetimeHard) String ¶
func (x *IpsecSaLifetimeHard) String() string
type IpsecSaLifetimeSoft ¶
type IpsecSaLifetimeSoft struct { // The lifetime of the IPsec SA. Lifetime *Lifetime `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // The action to be performed once the lifetime expires. Action LifetimeAction `protobuf:"varint,2,opt,name=action,proto3,enum=opi_api.security.v1alpha1.LifetimeAction" json:"action,omitempty"` // contains filtered or unexported fields }
IPsec SA soft lifetime. Specifies a lifetime and an action to be performed once the lifetime expires.
func (*IpsecSaLifetimeSoft) Descriptor
deprecated
func (*IpsecSaLifetimeSoft) Descriptor() ([]byte, []int)
Deprecated: Use IpsecSaLifetimeSoft.ProtoReflect.Descriptor instead.
func (*IpsecSaLifetimeSoft) GetAction ¶
func (x *IpsecSaLifetimeSoft) GetAction() LifetimeAction
func (*IpsecSaLifetimeSoft) GetLifetime ¶
func (x *IpsecSaLifetimeSoft) GetLifetime() *Lifetime
func (*IpsecSaLifetimeSoft) ProtoMessage ¶
func (*IpsecSaLifetimeSoft) ProtoMessage()
func (*IpsecSaLifetimeSoft) ProtoReflect ¶
func (x *IpsecSaLifetimeSoft) ProtoReflect() protoreflect.Message
func (*IpsecSaLifetimeSoft) Reset ¶
func (x *IpsecSaLifetimeSoft) Reset()
func (*IpsecSaLifetimeSoft) String ¶
func (x *IpsecSaLifetimeSoft) String() string
type IpsecSaServiceClient ¶
type IpsecSaServiceClient interface { // Create an IPsec Security Association CreateIpsecSa(ctx context.Context, in *CreateIpsecSaRequest, opts ...grpc.CallOption) (*IpsecSa, error) // Update an existing IPsec Security Association UpdateIpsecSa(ctx context.Context, in *UpdateIpsecSaRequest, opts ...grpc.CallOption) (*IpsecSa, error) // Delete an existing IPsec Security Association DeleteIpsecSa(ctx context.Context, in *DeleteIpsecSaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get an IPsec Security Association GetIpsecSa(ctx context.Context, in *GetIpsecSaRequest, opts ...grpc.CallOption) (*IpsecSa, error) // List existing IPsec Security Associations ListIpsecSas(ctx context.Context, in *ListIpsecSasRequest, opts ...grpc.CallOption) (*ListIpsecSasResponse, error) }
IpsecSaServiceClient is the client API for IpsecSaService 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 NewIpsecSaServiceClient ¶
func NewIpsecSaServiceClient(cc grpc.ClientConnInterface) IpsecSaServiceClient
type IpsecSaServiceServer ¶
type IpsecSaServiceServer interface { // Create an IPsec Security Association CreateIpsecSa(context.Context, *CreateIpsecSaRequest) (*IpsecSa, error) // Update an existing IPsec Security Association UpdateIpsecSa(context.Context, *UpdateIpsecSaRequest) (*IpsecSa, error) // Delete an existing IPsec Security Association DeleteIpsecSa(context.Context, *DeleteIpsecSaRequest) (*emptypb.Empty, error) // Get an IPsec Security Association GetIpsecSa(context.Context, *GetIpsecSaRequest) (*IpsecSa, error) // List existing IPsec Security Associations ListIpsecSas(context.Context, *ListIpsecSasRequest) (*ListIpsecSasResponse, error) // contains filtered or unexported methods }
IpsecSaServiceServer is the server API for IpsecSaService service. All implementations must embed UnimplementedIpsecSaServiceServer for forward compatibility
type IpsecSaState ¶
type IpsecSaState struct { // SA Current Lifetime Lifetime *Lifetime `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // State about the anti-replay window ReplayStats *AntiReplayStats `protobuf:"bytes,2,opt,name=replay_stats,json=replayStats,proto3" json:"replay_stats,omitempty"` // contains filtered or unexported fields }
IPsec Security Association State
func (*IpsecSaState) Descriptor
deprecated
func (*IpsecSaState) Descriptor() ([]byte, []int)
Deprecated: Use IpsecSaState.ProtoReflect.Descriptor instead.
func (*IpsecSaState) GetLifetime ¶
func (x *IpsecSaState) GetLifetime() *Lifetime
func (*IpsecSaState) GetReplayStats ¶
func (x *IpsecSaState) GetReplayStats() *AntiReplayStats
func (*IpsecSaState) ProtoMessage ¶
func (*IpsecSaState) ProtoMessage()
func (*IpsecSaState) ProtoReflect ¶
func (x *IpsecSaState) ProtoReflect() protoreflect.Message
func (*IpsecSaState) Reset ¶
func (x *IpsecSaState) Reset()
func (*IpsecSaState) String ¶
func (x *IpsecSaState) String() string
type IpsecSaTemplate ¶
type IpsecSaTemplate struct { // True if this IPsec SA is using extended sequence numbers. If true, the // 64-bit extended sequence number counter is used. If false, the normal // 32-bit sequence number counter is used. Esn bool `protobuf:"varint,1,opt,name=esn,proto3" json:"esn,omitempty"` // IPsec SA has to be processed in transport or tunnel mode. If not specified, // transport mode is used. Mode IpsecMode `protobuf:"varint,2,opt,name=mode,proto3,enum=opi_api.security.v1alpha1.IpsecMode" json:"mode,omitempty"` // Security protocol of the IPsec SA. Only ESP is supported. Protocol IpsecProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=opi_api.security.v1alpha1.IpsecProtocol" json:"protocol,omitempty"` // IPsec ESP algorithm configuration EspAlgorithms *EspAlgorithms `protobuf:"bytes,4,opt,name=esp_algorithms,json=espAlgorithms,proto3" json:"esp_algorithms,omitempty"` // Tunnel configuration. Only relevant when mode = Tunnel. Tunnel *Tunnel `protobuf:"bytes,5,opt,name=tunnel,proto3" json:"tunnel,omitempty"` // contains filtered or unexported fields }
IPsec SA configuration template
func (*IpsecSaTemplate) Descriptor
deprecated
func (*IpsecSaTemplate) Descriptor() ([]byte, []int)
Deprecated: Use IpsecSaTemplate.ProtoReflect.Descriptor instead.
func (*IpsecSaTemplate) GetEsn ¶
func (x *IpsecSaTemplate) GetEsn() bool
func (*IpsecSaTemplate) GetEspAlgorithms ¶
func (x *IpsecSaTemplate) GetEspAlgorithms() *EspAlgorithms
func (*IpsecSaTemplate) GetMode ¶
func (x *IpsecSaTemplate) GetMode() IpsecMode
func (*IpsecSaTemplate) GetProtocol ¶
func (x *IpsecSaTemplate) GetProtocol() IpsecProtocol
func (*IpsecSaTemplate) GetTunnel ¶
func (x *IpsecSaTemplate) GetTunnel() *Tunnel
func (*IpsecSaTemplate) ProtoMessage ¶
func (*IpsecSaTemplate) ProtoMessage()
func (*IpsecSaTemplate) ProtoReflect ¶
func (x *IpsecSaTemplate) ProtoReflect() protoreflect.Message
func (*IpsecSaTemplate) Reset ¶
func (x *IpsecSaTemplate) Reset()
func (*IpsecSaTemplate) String ¶
func (x *IpsecSaTemplate) String() string
type IpsecSpdAction ¶
type IpsecSpdAction int32
IPsec Security Policy Actions
const ( // IPsec SPD action is not specified IpsecSpdAction_IPSEC_SPD_ACTION_UNSPECIFIED IpsecSpdAction = 0 // Protect the traffic with IPsec. IpsecSpdAction_IPSEC_SPD_ACTION_PROTECT IpsecSpdAction = 1 // Bypass the traffic. The packet is forwarded without IPsec protection. IpsecSpdAction_IPSEC_SPD_ACTION_BYPASS IpsecSpdAction = 2 // Discard the traffic. The IP packet is discarded. IpsecSpdAction_IPSEC_SPD_ACTION_DISCARD IpsecSpdAction = 3 )
func (IpsecSpdAction) Descriptor ¶
func (IpsecSpdAction) Descriptor() protoreflect.EnumDescriptor
func (IpsecSpdAction) Enum ¶
func (x IpsecSpdAction) Enum() *IpsecSpdAction
func (IpsecSpdAction) EnumDescriptor
deprecated
func (IpsecSpdAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpsecSpdAction.Descriptor instead.
func (IpsecSpdAction) Number ¶
func (x IpsecSpdAction) Number() protoreflect.EnumNumber
func (IpsecSpdAction) String ¶
func (x IpsecSpdAction) String() string
func (IpsecSpdAction) Type ¶
func (IpsecSpdAction) Type() protoreflect.EnumType
type Lifetime ¶
type Lifetime struct { // Time in seconds since the IPsec SA was added. For example, if this value is // 180 seconds, it means the IPsec SA expires in 180 seconds after it was // added. A value of 0 implies infinite. Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` // If the IPsec SA processes the number of bytes expressed in this field, the // IPsec SA expires and should be rekeyed. A value of 0 implies infinite. Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // If the IPsec SA processes the number of packets expressed in this field, // the IPsec SA expires and should be rekeyed. A value of 0 implies infinite. Packets int64 `protobuf:"varint,3,opt,name=packets,proto3" json:"packets,omitempty"` // If the IPsec SA is idle during this number of seconds, the IPsec SA should // be removed. A value of 0 implies infinite. Idle *durationpb.Duration `protobuf:"bytes,4,opt,name=idle,proto3" json:"idle,omitempty"` // contains filtered or unexported fields }
Lifetime of an IPsec SA. The lifetime can be expressed in terms of time, bytes, packets, or idle time.
func (*Lifetime) Descriptor
deprecated
func (*Lifetime) GetDuration ¶
func (x *Lifetime) GetDuration() *durationpb.Duration
func (*Lifetime) GetIdle ¶
func (x *Lifetime) GetIdle() *durationpb.Duration
func (*Lifetime) GetPackets ¶
func (*Lifetime) ProtoMessage ¶
func (*Lifetime) ProtoMessage()
func (*Lifetime) ProtoReflect ¶
func (x *Lifetime) ProtoReflect() protoreflect.Message
type LifetimeAction ¶
type LifetimeAction int32
Lifetime action for IPsec SAs
const ( // Lifetime action is not specified LifetimeAction_LIFETIME_ACTION_UNSPECIFIED LifetimeAction = 0 // Terminates the IPsec SA and allows the packets through. LifetimeAction_LIFETIME_ACTION_TERMINATE_CLEAR LifetimeAction = 1 // Terminates the IPsec SA and drops the packets. LifetimeAction_LIFETIME_ACTION_TERMINATE_HOLD LifetimeAction = 2 // Replaces the IPsec SA with a new one. Rekey. LifetimeAction_LIFETIME_ACTION_REPLACE LifetimeAction = 3 )
func (LifetimeAction) Descriptor ¶
func (LifetimeAction) Descriptor() protoreflect.EnumDescriptor
func (LifetimeAction) Enum ¶
func (x LifetimeAction) Enum() *LifetimeAction
func (LifetimeAction) EnumDescriptor
deprecated
func (LifetimeAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use LifetimeAction.Descriptor instead.
func (LifetimeAction) Number ¶
func (x LifetimeAction) Number() protoreflect.EnumNumber
func (LifetimeAction) String ¶
func (x LifetimeAction) String() string
func (LifetimeAction) Type ¶
func (LifetimeAction) Type() protoreflect.EnumType
type ListIkeConnectionsRequest ¶
type ListIkeConnectionsRequest struct { // The maximum number of IKE connections to return. The service may return fewer than this value. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListIkeConnections` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
List IKE Connections
func (*ListIkeConnectionsRequest) Descriptor
deprecated
func (*ListIkeConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIkeConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListIkeConnectionsRequest) GetPageSize ¶
func (x *ListIkeConnectionsRequest) GetPageSize() int32
func (*ListIkeConnectionsRequest) GetPageToken ¶
func (x *ListIkeConnectionsRequest) GetPageToken() string
func (*ListIkeConnectionsRequest) ProtoMessage ¶
func (*ListIkeConnectionsRequest) ProtoMessage()
func (*ListIkeConnectionsRequest) ProtoReflect ¶
func (x *ListIkeConnectionsRequest) ProtoReflect() protoreflect.Message
func (*ListIkeConnectionsRequest) Reset ¶
func (x *ListIkeConnectionsRequest) Reset()
func (*ListIkeConnectionsRequest) String ¶
func (x *ListIkeConnectionsRequest) String() string
type ListIkeConnectionsResponse ¶
type ListIkeConnectionsResponse struct { // List of IKE connections IkeConnections []*IkeConnection `protobuf:"bytes,1,rep,name=ike_connections,json=ikeConnections,proto3" json:"ike_connections,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are not subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response to a ListIkeConnectionsRequest
func (*ListIkeConnectionsResponse) Descriptor
deprecated
func (*ListIkeConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIkeConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListIkeConnectionsResponse) GetIkeConnections ¶
func (x *ListIkeConnectionsResponse) GetIkeConnections() []*IkeConnection
func (*ListIkeConnectionsResponse) GetNextPageToken ¶
func (x *ListIkeConnectionsResponse) GetNextPageToken() string
func (*ListIkeConnectionsResponse) ProtoMessage ¶
func (*ListIkeConnectionsResponse) ProtoMessage()
func (*ListIkeConnectionsResponse) ProtoReflect ¶
func (x *ListIkeConnectionsResponse) ProtoReflect() protoreflect.Message
func (*ListIkeConnectionsResponse) Reset ¶
func (x *ListIkeConnectionsResponse) Reset()
func (*ListIkeConnectionsResponse) String ¶
func (x *ListIkeConnectionsResponse) String() string
type ListIkePeersRequest ¶
type ListIkePeersRequest struct { // The maximum number of IKE peers to return. The service may return fewer than this value. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListIkePeers` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
List IKE Peers
func (*ListIkePeersRequest) Descriptor
deprecated
func (*ListIkePeersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIkePeersRequest.ProtoReflect.Descriptor instead.
func (*ListIkePeersRequest) GetPageSize ¶
func (x *ListIkePeersRequest) GetPageSize() int32
func (*ListIkePeersRequest) GetPageToken ¶
func (x *ListIkePeersRequest) GetPageToken() string
func (*ListIkePeersRequest) ProtoMessage ¶
func (*ListIkePeersRequest) ProtoMessage()
func (*ListIkePeersRequest) ProtoReflect ¶
func (x *ListIkePeersRequest) ProtoReflect() protoreflect.Message
func (*ListIkePeersRequest) Reset ¶
func (x *ListIkePeersRequest) Reset()
func (*ListIkePeersRequest) String ¶
func (x *ListIkePeersRequest) String() string
type ListIkePeersResponse ¶
type ListIkePeersResponse struct { // List of IKE peers IkePeers []*IkePeer `protobuf:"bytes,1,rep,name=ike_peers,json=ikePeers,proto3" json:"ike_peers,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are not subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response to a ListIkePeersRequest
func (*ListIkePeersResponse) Descriptor
deprecated
func (*ListIkePeersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIkePeersResponse.ProtoReflect.Descriptor instead.
func (*ListIkePeersResponse) GetIkePeers ¶
func (x *ListIkePeersResponse) GetIkePeers() []*IkePeer
func (*ListIkePeersResponse) GetNextPageToken ¶
func (x *ListIkePeersResponse) GetNextPageToken() string
func (*ListIkePeersResponse) ProtoMessage ¶
func (*ListIkePeersResponse) ProtoMessage()
func (*ListIkePeersResponse) ProtoReflect ¶
func (x *ListIkePeersResponse) ProtoReflect() protoreflect.Message
func (*ListIkePeersResponse) Reset ¶
func (x *ListIkePeersResponse) Reset()
func (*ListIkePeersResponse) String ¶
func (x *ListIkePeersResponse) String() string
type ListIpsecPoliciesRequest ¶
type ListIpsecPoliciesRequest struct { // The maximum number of IPsec policies to return. The service may return fewer than this value. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListIpsecPolicies` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
List IPsec Policies
func (*ListIpsecPoliciesRequest) Descriptor
deprecated
func (*ListIpsecPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIpsecPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListIpsecPoliciesRequest) GetPageSize ¶
func (x *ListIpsecPoliciesRequest) GetPageSize() int32
func (*ListIpsecPoliciesRequest) GetPageToken ¶
func (x *ListIpsecPoliciesRequest) GetPageToken() string
func (*ListIpsecPoliciesRequest) ProtoMessage ¶
func (*ListIpsecPoliciesRequest) ProtoMessage()
func (*ListIpsecPoliciesRequest) ProtoReflect ¶
func (x *ListIpsecPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListIpsecPoliciesRequest) Reset ¶
func (x *ListIpsecPoliciesRequest) Reset()
func (*ListIpsecPoliciesRequest) String ¶
func (x *ListIpsecPoliciesRequest) String() string
type ListIpsecPoliciesResponse ¶
type ListIpsecPoliciesResponse struct { // List of IPsec policies IpsecPolicies []*IpsecPolicy `protobuf:"bytes,1,rep,name=ipsec_policies,json=ipsecPolicies,proto3" json:"ipsec_policies,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are not subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response to a ListIpsecPoliciesRequest
func (*ListIpsecPoliciesResponse) Descriptor
deprecated
func (*ListIpsecPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIpsecPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListIpsecPoliciesResponse) GetIpsecPolicies ¶
func (x *ListIpsecPoliciesResponse) GetIpsecPolicies() []*IpsecPolicy
func (*ListIpsecPoliciesResponse) GetNextPageToken ¶
func (x *ListIpsecPoliciesResponse) GetNextPageToken() string
func (*ListIpsecPoliciesResponse) ProtoMessage ¶
func (*ListIpsecPoliciesResponse) ProtoMessage()
func (*ListIpsecPoliciesResponse) ProtoReflect ¶
func (x *ListIpsecPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListIpsecPoliciesResponse) Reset ¶
func (x *ListIpsecPoliciesResponse) Reset()
func (*ListIpsecPoliciesResponse) String ¶
func (x *ListIpsecPoliciesResponse) String() string
type ListIpsecSasRequest ¶
type ListIpsecSasRequest struct { // The maximum number of IPsec SAs to return. The service may return fewer than this value. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListIpsecSas` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
List IPsec SAs
func (*ListIpsecSasRequest) Descriptor
deprecated
func (*ListIpsecSasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIpsecSasRequest.ProtoReflect.Descriptor instead.
func (*ListIpsecSasRequest) GetPageSize ¶
func (x *ListIpsecSasRequest) GetPageSize() int32
func (*ListIpsecSasRequest) GetPageToken ¶
func (x *ListIpsecSasRequest) GetPageToken() string
func (*ListIpsecSasRequest) ProtoMessage ¶
func (*ListIpsecSasRequest) ProtoMessage()
func (*ListIpsecSasRequest) ProtoReflect ¶
func (x *ListIpsecSasRequest) ProtoReflect() protoreflect.Message
func (*ListIpsecSasRequest) Reset ¶
func (x *ListIpsecSasRequest) Reset()
func (*ListIpsecSasRequest) String ¶
func (x *ListIpsecSasRequest) String() string
type ListIpsecSasResponse ¶
type ListIpsecSasResponse struct { // List of IPsec SAs IpsecSas []*IpsecSa `protobuf:"bytes,1,rep,name=ipsec_sas,json=ipsecSas,proto3" json:"ipsec_sas,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are not subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response to a ListIpsecSasRequest
func (*ListIpsecSasResponse) Descriptor
deprecated
func (*ListIpsecSasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIpsecSasResponse.ProtoReflect.Descriptor instead.
func (*ListIpsecSasResponse) GetIpsecSas ¶
func (x *ListIpsecSasResponse) GetIpsecSas() []*IpsecSa
func (*ListIpsecSasResponse) GetNextPageToken ¶
func (x *ListIpsecSasResponse) GetNextPageToken() string
func (*ListIpsecSasResponse) ProtoMessage ¶
func (*ListIpsecSasResponse) ProtoMessage()
func (*ListIpsecSasResponse) ProtoReflect ¶
func (x *ListIpsecSasResponse) ProtoReflect() protoreflect.Message
func (*ListIpsecSasResponse) Reset ¶
func (x *ListIpsecSasResponse) Reset()
func (*ListIpsecSasResponse) String ¶
func (x *ListIpsecSasResponse) String() string
type NumberIkeSAs ¶
type NumberIkeSAs struct { // Total number of active IKE SAs. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // Number of half-open active IKE SAs. HalfOpen int64 `protobuf:"varint,2,opt,name=half_open,json=halfOpen,proto3" json:"half_open,omitempty"` // contains filtered or unexported fields }
General information about the IKE SAs. In particular, it provides the number of IKE SAs.
func (*NumberIkeSAs) Descriptor
deprecated
func (*NumberIkeSAs) Descriptor() ([]byte, []int)
Deprecated: Use NumberIkeSAs.ProtoReflect.Descriptor instead.
func (*NumberIkeSAs) GetHalfOpen ¶
func (x *NumberIkeSAs) GetHalfOpen() int64
func (*NumberIkeSAs) GetTotal ¶
func (x *NumberIkeSAs) GetTotal() int64
func (*NumberIkeSAs) ProtoMessage ¶
func (*NumberIkeSAs) ProtoMessage()
func (*NumberIkeSAs) ProtoReflect ¶
func (x *NumberIkeSAs) ProtoReflect() protoreflect.Message
func (*NumberIkeSAs) Reset ¶
func (x *NumberIkeSAs) Reset()
func (*NumberIkeSAs) String ¶
func (x *NumberIkeSAs) String() string
type PRF ¶
type PRF int32
Pesudo Random Function (PRF) Algorithm
func (PRF) Descriptor ¶
func (PRF) Descriptor() protoreflect.EnumDescriptor
func (PRF) EnumDescriptor
deprecated
func (PRF) Number ¶
func (x PRF) Number() protoreflect.EnumNumber
func (PRF) Type ¶
func (PRF) Type() protoreflect.EnumType
type PortRange ¶
type PortRange struct { // Start port number. Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // End port number. The end port number must be equal to or greater than the // start port number. End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
A port range, such as that expressed in RFC 4301, for example 1500 (Start Port Number) - 1600 (End Port Number). A port range is used in the Traffic Selector. To express a single prot, set the same value as start and end.
func (*PortRange) Descriptor
deprecated
func (*PortRange) ProtoMessage ¶
func (*PortRange) ProtoMessage()
func (*PortRange) ProtoReflect ¶
func (x *PortRange) ProtoReflect() protoreflect.Message
type SpdProcessingInfo ¶
type SpdProcessingInfo struct { // Action to be performed on the packet. Action IpsecSpdAction `protobuf:"varint,1,opt,name=action,proto3,enum=opi_api.security.v1alpha1.IpsecSpdAction" json:"action,omitempty"` // IPsec SA configuration included in the SPD entry. SaConfig *IpsecSaTemplate `protobuf:"bytes,2,opt,name=sa_config,json=saConfig,proto3" json:"sa_config,omitempty"` // contains filtered or unexported fields }
SPD processing. If the required processing action is protect, it contains the required information to process the packet.
func (*SpdProcessingInfo) Descriptor
deprecated
func (*SpdProcessingInfo) Descriptor() ([]byte, []int)
Deprecated: Use SpdProcessingInfo.ProtoReflect.Descriptor instead.
func (*SpdProcessingInfo) GetAction ¶
func (x *SpdProcessingInfo) GetAction() IpsecSpdAction
func (*SpdProcessingInfo) GetSaConfig ¶
func (x *SpdProcessingInfo) GetSaConfig() *IpsecSaTemplate
func (*SpdProcessingInfo) ProtoMessage ¶
func (*SpdProcessingInfo) ProtoMessage()
func (*SpdProcessingInfo) ProtoReflect ¶
func (x *SpdProcessingInfo) ProtoReflect() protoreflect.Message
func (*SpdProcessingInfo) Reset ¶
func (x *SpdProcessingInfo) Reset()
func (*SpdProcessingInfo) String ¶
func (x *SpdProcessingInfo) String() string
type StatsIkeConnectionsRequest ¶
type StatsIkeConnectionsRequest struct {
// contains filtered or unexported fields
}
Request to get IKE Connection statistics
func (*StatsIkeConnectionsRequest) Descriptor
deprecated
func (*StatsIkeConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatsIkeConnectionsRequest.ProtoReflect.Descriptor instead.
func (*StatsIkeConnectionsRequest) ProtoMessage ¶
func (*StatsIkeConnectionsRequest) ProtoMessage()
func (*StatsIkeConnectionsRequest) ProtoReflect ¶
func (x *StatsIkeConnectionsRequest) ProtoReflect() protoreflect.Message
func (*StatsIkeConnectionsRequest) Reset ¶
func (x *StatsIkeConnectionsRequest) Reset()
func (*StatsIkeConnectionsRequest) String ¶
func (x *StatsIkeConnectionsRequest) String() string
type StatsIkeConnectionsResponse ¶
type StatsIkeConnectionsResponse struct { // Number of IKE SAs NumberIkeSas *NumberIkeSAs `protobuf:"bytes,1,opt,name=number_ike_sas,json=numberIkeSas,proto3" json:"number_ike_sas,omitempty"` // contains filtered or unexported fields }
Response to a StatsIkeConnectionsRequest
func (*StatsIkeConnectionsResponse) Descriptor
deprecated
func (*StatsIkeConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatsIkeConnectionsResponse.ProtoReflect.Descriptor instead.
func (*StatsIkeConnectionsResponse) GetNumberIkeSas ¶
func (x *StatsIkeConnectionsResponse) GetNumberIkeSas() *NumberIkeSAs
func (*StatsIkeConnectionsResponse) ProtoMessage ¶
func (*StatsIkeConnectionsResponse) ProtoMessage()
func (*StatsIkeConnectionsResponse) ProtoReflect ¶
func (x *StatsIkeConnectionsResponse) ProtoReflect() protoreflect.Message
func (*StatsIkeConnectionsResponse) Reset ¶
func (x *StatsIkeConnectionsResponse) Reset()
func (*StatsIkeConnectionsResponse) String ¶
func (x *StatsIkeConnectionsResponse) String() string
type TrafficSelector ¶
type TrafficSelector struct { // Local IP address prefix. LocalPrefix *_go.IPPrefix `protobuf:"bytes,1,opt,name=local_prefix,json=localPrefix,proto3" json:"local_prefix,omitempty"` // Remote IP address prefix. RemotePrefix *_go.IPPrefix `protobuf:"bytes,2,opt,name=remote_prefix,json=remotePrefix,proto3" json:"remote_prefix,omitempty"` // Inner protocol that is going to be protected with IPsec. If no protocol is // specified, all inner protocols will be protected. Protocols are encoded // using the IP protocol number. InnerProtocol int32 `protobuf:"varint,3,opt,name=inner_protocol,json=innerProtocol,proto3" json:"inner_protocol,omitempty"` // List of local ports. When the inner protocol is ICMP, this 16-bit value // represents code and type. If this list is not defined, it is assumed that // start and end are 0 by default (any port). LocalPorts []*PortRange `protobuf:"bytes,4,rep,name=local_ports,json=localPorts,proto3" json:"local_ports,omitempty"` // List of remote ports. When the inner protocol is ICMP, this 16-bit value // represents code and type. If this list is not defined, it is assumed that // start and end are 0 by default (any port). RemotePorts []*PortRange `protobuf:"bytes,5,rep,name=remote_ports,json=remotePorts,proto3" json:"remote_ports,omitempty"` // contains filtered or unexported fields }
A Traffic Selector used in IPsec policies and IPsec SAs.
func (*TrafficSelector) Descriptor
deprecated
func (*TrafficSelector) Descriptor() ([]byte, []int)
Deprecated: Use TrafficSelector.ProtoReflect.Descriptor instead.
func (*TrafficSelector) GetInnerProtocol ¶
func (x *TrafficSelector) GetInnerProtocol() int32
func (*TrafficSelector) GetLocalPorts ¶
func (x *TrafficSelector) GetLocalPorts() []*PortRange
func (*TrafficSelector) GetLocalPrefix ¶
func (x *TrafficSelector) GetLocalPrefix() *_go.IPPrefix
func (*TrafficSelector) GetRemotePorts ¶
func (x *TrafficSelector) GetRemotePorts() []*PortRange
func (*TrafficSelector) GetRemotePrefix ¶
func (x *TrafficSelector) GetRemotePrefix() *_go.IPPrefix
func (*TrafficSelector) ProtoMessage ¶
func (*TrafficSelector) ProtoMessage()
func (*TrafficSelector) ProtoReflect ¶
func (x *TrafficSelector) ProtoReflect() protoreflect.Message
func (*TrafficSelector) Reset ¶
func (x *TrafficSelector) Reset()
func (*TrafficSelector) String ¶
func (x *TrafficSelector) String() string
type Tunnel ¶
type Tunnel struct { // Local IP address tunnel endpoint Local *_go.IPAddress `protobuf:"bytes,1,opt,name=local,proto3" json:"local,omitempty"` // Remote IP address tunnel endpoint Remote *_go.IPAddress `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` // Allow configuring the DF bit when encapsulating tunnel mode IPsec traffic. // RFC 4301 describes three options to handle the DF bit during tunnel // encapsulation: clear, set and copy from the inner IP header. This must be // ignored or has no meaning when the local/remote IP addresses are IPv6 // addresses. DfBit DfBitAction `protobuf:"varint,3,opt,name=df_bit,json=dfBit,proto3,enum=opi_api.security.v1alpha1.DfBitAction" json:"df_bit,omitempty"` // If true, copy the DSCP value from the inner header to the outer header. If // false, map the DSCP values from an inner header to values in an outer // header following the dscp_mapping. BypassDscp bool `protobuf:"varint,4,opt,name=bypass_dscp,json=bypassDscp,proto3" json:"bypass_dscp,omitempty"` // A list that represents an array with the mapping from the inner DSCP value // to outer DSCP value when bypass_dscp is false. To express a default mapping // in the list where any other inner dscp value is not matching a node in the // list, a new node has to be included at the end of the list where the // inner-dscp is not defined (ANY) and the outer-dscp includes the value of // the mapping. If there is no value set in the outer-dscp, the default value // for this leaf is 0. DscpMapping []*DscpMapping `protobuf:"bytes,5,rep,name=dscp_mapping,json=dscpMapping,proto3" json:"dscp_mapping,omitempty"` // contains filtered or unexported fields }
The parameters required to define the IP tunnel endpoints when IPsec SA requires tunnel mode. The tunnel is defined by two endpoints: the local IP address and the remote IP address.
func (*Tunnel) Descriptor
deprecated
func (*Tunnel) GetBypassDscp ¶
func (*Tunnel) GetDfBit ¶
func (x *Tunnel) GetDfBit() DfBitAction
func (*Tunnel) GetDscpMapping ¶
func (x *Tunnel) GetDscpMapping() []*DscpMapping
func (*Tunnel) ProtoMessage ¶
func (*Tunnel) ProtoMessage()
func (*Tunnel) ProtoReflect ¶
func (x *Tunnel) ProtoReflect() protoreflect.Message
type UnimplementedIkeConnectionServiceServer ¶
type UnimplementedIkeConnectionServiceServer struct { }
UnimplementedIkeConnectionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIkeConnectionServiceServer) CreateIkeConnection ¶
func (UnimplementedIkeConnectionServiceServer) CreateIkeConnection(context.Context, *CreateIkeConnectionRequest) (*IkeConnection, error)
func (UnimplementedIkeConnectionServiceServer) DeleteIkeConnection ¶
func (UnimplementedIkeConnectionServiceServer) DeleteIkeConnection(context.Context, *DeleteIkeConnectionRequest) (*emptypb.Empty, error)
func (UnimplementedIkeConnectionServiceServer) GetIkeConnection ¶
func (UnimplementedIkeConnectionServiceServer) GetIkeConnection(context.Context, *GetIkeConnectionRequest) (*IkeConnection, error)
func (UnimplementedIkeConnectionServiceServer) ListIkeConnections ¶
func (UnimplementedIkeConnectionServiceServer) ListIkeConnections(context.Context, *ListIkeConnectionsRequest) (*ListIkeConnectionsResponse, error)
func (UnimplementedIkeConnectionServiceServer) StatsIkeConnections ¶
func (UnimplementedIkeConnectionServiceServer) StatsIkeConnections(context.Context, *StatsIkeConnectionsRequest) (*StatsIkeConnectionsResponse, error)
func (UnimplementedIkeConnectionServiceServer) UpdateIkeConnection ¶
func (UnimplementedIkeConnectionServiceServer) UpdateIkeConnection(context.Context, *UpdateIkeConnectionRequest) (*IkeConnection, error)
type UnimplementedIkePeerServiceServer ¶
type UnimplementedIkePeerServiceServer struct { }
UnimplementedIkePeerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIkePeerServiceServer) CreateIkePeer ¶
func (UnimplementedIkePeerServiceServer) CreateIkePeer(context.Context, *CreateIkePeerRequest) (*IkePeer, error)
func (UnimplementedIkePeerServiceServer) DeleteIkePeer ¶
func (UnimplementedIkePeerServiceServer) DeleteIkePeer(context.Context, *DeleteIkePeerRequest) (*emptypb.Empty, error)
func (UnimplementedIkePeerServiceServer) GetIkePeer ¶
func (UnimplementedIkePeerServiceServer) GetIkePeer(context.Context, *GetIkePeerRequest) (*IkePeer, error)
func (UnimplementedIkePeerServiceServer) ListIkePeers ¶
func (UnimplementedIkePeerServiceServer) ListIkePeers(context.Context, *ListIkePeersRequest) (*ListIkePeersResponse, error)
func (UnimplementedIkePeerServiceServer) UpdateIkePeer ¶
func (UnimplementedIkePeerServiceServer) UpdateIkePeer(context.Context, *UpdateIkePeerRequest) (*IkePeer, error)
type UnimplementedIpsecPolicyServiceServer ¶
type UnimplementedIpsecPolicyServiceServer struct { }
UnimplementedIpsecPolicyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIpsecPolicyServiceServer) CreateIpsecPolicy ¶
func (UnimplementedIpsecPolicyServiceServer) CreateIpsecPolicy(context.Context, *CreateIpsecPolicyRequest) (*IpsecPolicy, error)
func (UnimplementedIpsecPolicyServiceServer) DeleteIpsecPolicy ¶
func (UnimplementedIpsecPolicyServiceServer) DeleteIpsecPolicy(context.Context, *DeleteIpsecPolicyRequest) (*emptypb.Empty, error)
func (UnimplementedIpsecPolicyServiceServer) GetIpsecPolicy ¶
func (UnimplementedIpsecPolicyServiceServer) GetIpsecPolicy(context.Context, *GetIpsecPolicyRequest) (*IpsecPolicy, error)
func (UnimplementedIpsecPolicyServiceServer) ListIpsecPolicies ¶
func (UnimplementedIpsecPolicyServiceServer) ListIpsecPolicies(context.Context, *ListIpsecPoliciesRequest) (*ListIpsecPoliciesResponse, error)
func (UnimplementedIpsecPolicyServiceServer) UpdateIpsecPolicy ¶
func (UnimplementedIpsecPolicyServiceServer) UpdateIpsecPolicy(context.Context, *UpdateIpsecPolicyRequest) (*IpsecPolicy, error)
type UnimplementedIpsecSaServiceServer ¶
type UnimplementedIpsecSaServiceServer struct { }
UnimplementedIpsecSaServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIpsecSaServiceServer) CreateIpsecSa ¶
func (UnimplementedIpsecSaServiceServer) CreateIpsecSa(context.Context, *CreateIpsecSaRequest) (*IpsecSa, error)
func (UnimplementedIpsecSaServiceServer) DeleteIpsecSa ¶
func (UnimplementedIpsecSaServiceServer) DeleteIpsecSa(context.Context, *DeleteIpsecSaRequest) (*emptypb.Empty, error)
func (UnimplementedIpsecSaServiceServer) GetIpsecSa ¶
func (UnimplementedIpsecSaServiceServer) GetIpsecSa(context.Context, *GetIpsecSaRequest) (*IpsecSa, error)
func (UnimplementedIpsecSaServiceServer) ListIpsecSas ¶
func (UnimplementedIpsecSaServiceServer) ListIpsecSas(context.Context, *ListIpsecSasRequest) (*ListIpsecSasResponse, error)
func (UnimplementedIpsecSaServiceServer) UpdateIpsecSa ¶
func (UnimplementedIpsecSaServiceServer) UpdateIpsecSa(context.Context, *UpdateIpsecSaRequest) (*IpsecSa, error)
type UnsafeIkeConnectionServiceServer ¶
type UnsafeIkeConnectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIkeConnectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IkeConnectionServiceServer will result in compilation errors.
type UnsafeIkePeerServiceServer ¶
type UnsafeIkePeerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIkePeerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IkePeerServiceServer will result in compilation errors.
type UnsafeIpsecPolicyServiceServer ¶
type UnsafeIpsecPolicyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIpsecPolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IpsecPolicyServiceServer will result in compilation errors.
type UnsafeIpsecSaServiceServer ¶
type UnsafeIpsecSaServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIpsecSaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IpsecSaServiceServer will result in compilation errors.
type UpdateIkeConnectionRequest ¶
type UpdateIkeConnectionRequest struct { // The connections `name` field identifies the IKE connection to update. IkeConnection *IkeConnection `protobuf:"bytes,1,opt,name=ike_connection,json=ikeConnection,proto3" json:"ike_connection,omitempty"` // The list of fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Update an IKE Connection
func (*UpdateIkeConnectionRequest) Descriptor
deprecated
func (*UpdateIkeConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIkeConnectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateIkeConnectionRequest) GetIkeConnection ¶
func (x *UpdateIkeConnectionRequest) GetIkeConnection() *IkeConnection
func (*UpdateIkeConnectionRequest) GetUpdateMask ¶
func (x *UpdateIkeConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIkeConnectionRequest) ProtoMessage ¶
func (*UpdateIkeConnectionRequest) ProtoMessage()
func (*UpdateIkeConnectionRequest) ProtoReflect ¶
func (x *UpdateIkeConnectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateIkeConnectionRequest) Reset ¶
func (x *UpdateIkeConnectionRequest) Reset()
func (*UpdateIkeConnectionRequest) String ¶
func (x *UpdateIkeConnectionRequest) String() string
type UpdateIkePeerRequest ¶
type UpdateIkePeerRequest struct { // the peer's `name` field is used to identify the IKE peer to update. IkePeer *IkePeer `protobuf:"bytes,1,opt,name=ike_peer,json=ikePeer,proto3" json:"ike_peer,omitempty"` // The list of fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Update an IKE Peer
func (*UpdateIkePeerRequest) Descriptor
deprecated
func (*UpdateIkePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIkePeerRequest.ProtoReflect.Descriptor instead.
func (*UpdateIkePeerRequest) GetIkePeer ¶
func (x *UpdateIkePeerRequest) GetIkePeer() *IkePeer
func (*UpdateIkePeerRequest) GetUpdateMask ¶
func (x *UpdateIkePeerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIkePeerRequest) ProtoMessage ¶
func (*UpdateIkePeerRequest) ProtoMessage()
func (*UpdateIkePeerRequest) ProtoReflect ¶
func (x *UpdateIkePeerRequest) ProtoReflect() protoreflect.Message
func (*UpdateIkePeerRequest) Reset ¶
func (x *UpdateIkePeerRequest) Reset()
func (*UpdateIkePeerRequest) String ¶
func (x *UpdateIkePeerRequest) String() string
type UpdateIpsecPolicyRequest ¶
type UpdateIpsecPolicyRequest struct { // The policy's name field identifies the IPsec policy to update. IpsecPolicy *IpsecPolicy `protobuf:"bytes,1,opt,name=ipsec_policy,json=ipsecPolicy,proto3" json:"ipsec_policy,omitempty"` // The list of fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Update an IPsec Policy
func (*UpdateIpsecPolicyRequest) Descriptor
deprecated
func (*UpdateIpsecPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIpsecPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateIpsecPolicyRequest) GetIpsecPolicy ¶
func (x *UpdateIpsecPolicyRequest) GetIpsecPolicy() *IpsecPolicy
func (*UpdateIpsecPolicyRequest) GetUpdateMask ¶
func (x *UpdateIpsecPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIpsecPolicyRequest) ProtoMessage ¶
func (*UpdateIpsecPolicyRequest) ProtoMessage()
func (*UpdateIpsecPolicyRequest) ProtoReflect ¶
func (x *UpdateIpsecPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateIpsecPolicyRequest) Reset ¶
func (x *UpdateIpsecPolicyRequest) Reset()
func (*UpdateIpsecPolicyRequest) String ¶
func (x *UpdateIpsecPolicyRequest) String() string
type UpdateIpsecSaRequest ¶
type UpdateIpsecSaRequest struct { // The SA's name field identifies the IPsec SA to update. IpsecSa *IpsecSa `protobuf:"bytes,1,opt,name=ipsec_sa,json=ipsecSa,proto3" json:"ipsec_sa,omitempty"` // The list of fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Update an IPsec SA
func (*UpdateIpsecSaRequest) Descriptor
deprecated
func (*UpdateIpsecSaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIpsecSaRequest.ProtoReflect.Descriptor instead.
func (*UpdateIpsecSaRequest) GetIpsecSa ¶
func (x *UpdateIpsecSaRequest) GetIpsecSa() *IpsecSa
func (*UpdateIpsecSaRequest) GetUpdateMask ¶
func (x *UpdateIpsecSaRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIpsecSaRequest) ProtoMessage ¶
func (*UpdateIpsecSaRequest) ProtoMessage()
func (*UpdateIpsecSaRequest) ProtoReflect ¶
func (x *UpdateIpsecSaRequest) ProtoReflect() protoreflect.Message
func (*UpdateIpsecSaRequest) Reset ¶
func (x *UpdateIpsecSaRequest) Reset()
func (*UpdateIpsecSaRequest) String ¶
func (x *UpdateIpsecSaRequest) String() string