_go

package
v0.0.0-...-6cd2180 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package _go is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_opi_ipsec_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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) Enum

func (x AuthType) Enum() *AuthType

func (AuthType) EnumDescriptor deprecated

func (AuthType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthType.Descriptor instead.

func (AuthType) Number

func (x AuthType) Number() protoreflect.EnumNumber

func (AuthType) String

func (x AuthType) String() string

func (AuthType) Type

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) Enum

func (x AutoStartupMode) Enum() *AutoStartupMode

func (AutoStartupMode) EnumDescriptor deprecated

func (AutoStartupMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutoStartupMode.Descriptor instead.

func (AutoStartupMode) Number

func (AutoStartupMode) String

func (x AutoStartupMode) String() string

func (AutoStartupMode) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use CaCerts.ProtoReflect.Descriptor instead.

func (*CaCerts) GetCacert

func (x *CaCerts) GetCacert() []string

func (*CaCerts) ProtoMessage

func (*CaCerts) ProtoMessage()

func (*CaCerts) ProtoReflect

func (x *CaCerts) ProtoReflect() protoreflect.Message

func (*CaCerts) Reset

func (x *CaCerts) Reset()

func (*CaCerts) String

func (x *CaCerts) String() string

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 (*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) Enum

func (x DHGroups) Enum() *DHGroups

func (DHGroups) EnumDescriptor deprecated

func (DHGroups) EnumDescriptor() ([]byte, []int)

Deprecated: Use DHGroups.Descriptor instead.

func (DHGroups) Number

func (x DHGroups) Number() protoreflect.EnumNumber

func (DHGroups) String

func (x DHGroups) String() string

func (DHGroups) Type

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use DSAuth.ProtoReflect.Descriptor instead.

func (*DSAuth) GetAlgorithm

func (x *DSAuth) GetAlgorithm() DSAlgorithm

func (*DSAuth) GetCaCerts

func (x *DSAuth) GetCaCerts() *CaCerts

func (*DSAuth) GetCert

func (x *DSAuth) GetCert() string

func (*DSAuth) GetPrivateKey

func (x *DSAuth) GetPrivateKey() string

func (*DSAuth) GetRawPublicKey

func (x *DSAuth) GetRawPublicKey() string

func (*DSAuth) ProtoMessage

func (*DSAuth) ProtoMessage()

func (*DSAuth) ProtoReflect

func (x *DSAuth) ProtoReflect() protoreflect.Message

func (*DSAuth) Reset

func (x *DSAuth) Reset()

func (*DSAuth) String

func (x *DSAuth) String() string

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 (*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) 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

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) Enum

func (x EncAlgorithm) Enum() *EncAlgorithm

func (EncAlgorithm) EnumDescriptor deprecated

func (EncAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncAlgorithm.Descriptor instead.

func (EncAlgorithm) Number

func (EncAlgorithm) String

func (x EncAlgorithm) String() string

func (EncAlgorithm) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Encap.ProtoReflect.Descriptor instead.

func (*Encap) GetDport

func (x *Encap) GetDport() int32

func (*Encap) GetEspencap

func (x *Encap) GetEspencap() EspEncap

func (*Encap) GetSport

func (x *Encap) GetSport() int32

func (*Encap) ProtoMessage

func (*Encap) ProtoMessage()

func (*Encap) ProtoReflect

func (x *Encap) ProtoReflect() protoreflect.Message

func (*Encap) Reset

func (x *Encap) Reset()

func (*Encap) String

func (x *Encap) String() string

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

const (
	// Unspecified ESP encapsulation method
	EspEncap_ESP_ENCAP_UNSPECIFIED EspEncap = 0
	// ESP encapsulation in UDP
	EspEncap_ESP_ENCAP_ESP_IN_UDP EspEncap = 1
)

func (EspEncap) Descriptor

func (EspEncap) Descriptor() protoreflect.EnumDescriptor

func (EspEncap) Enum

func (x EspEncap) Enum() *EspEncap

func (EspEncap) EnumDescriptor deprecated

func (EspEncap) EnumDescriptor() ([]byte, []int)

Deprecated: Use EspEncap.Descriptor instead.

func (EspEncap) Number

func (x EspEncap) Number() protoreflect.EnumNumber

func (EspEncap) String

func (x EspEncap) String() string

func (EspEncap) Type

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use IkePeer.ProtoReflect.Descriptor instead.

func (*IkePeer) GetFqdn

func (x *IkePeer) GetFqdn() string

func (*IkePeer) GetIpAddress

func (x *IkePeer) GetIpAddress() *_go.IPAddress

func (*IkePeer) GetName

func (x *IkePeer) GetName() string

func (*IkePeer) GetPeerAuth

func (x *IkePeer) GetPeerAuth() *IkePeerAuthentication

func (*IkePeer) ProtoMessage

func (*IkePeer) ProtoMessage()

func (*IkePeer) ProtoReflect

func (x *IkePeer) ProtoReflect() protoreflect.Message

func (*IkePeer) Reset

func (x *IkePeer) Reset()

func (*IkePeer) String

func (x *IkePeer) String() string

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.

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

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) Enum

func (x IntegAlgorithm) Enum() *IntegAlgorithm

func (IntegAlgorithm) EnumDescriptor deprecated

func (IntegAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use IntegAlgorithm.Descriptor instead.

func (IntegAlgorithm) Number

func (IntegAlgorithm) String

func (x IntegAlgorithm) String() string

func (IntegAlgorithm) Type

type IpsecMode

type IpsecMode int32

IPsec Mode. Tunnel or Transport mode.

const (
	// IPsec mode is not specified
	IpsecMode_IPSEC_MODE_UNSPECIFIED IpsecMode = 0
	// Tunnel mode IPsec
	IpsecMode_IPSEC_MODE_TUNNEL_MODE IpsecMode = 1
	// Transport mode IPsec
	IpsecMode_IPSEC_MODE_TRANSPORT_MODE IpsecMode = 2
)

func (IpsecMode) Descriptor

func (IpsecMode) Descriptor() protoreflect.EnumDescriptor

func (IpsecMode) Enum

func (x IpsecMode) Enum() *IpsecMode

func (IpsecMode) EnumDescriptor deprecated

func (IpsecMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use IpsecMode.Descriptor instead.

func (IpsecMode) Number

func (x IpsecMode) Number() protoreflect.EnumNumber

func (IpsecMode) String

func (x IpsecMode) String() string

func (IpsecMode) Type

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.

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) Enum

func (x IpsecProtocol) Enum() *IpsecProtocol

func (IpsecProtocol) EnumDescriptor deprecated

func (IpsecProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use IpsecProtocol.Descriptor instead.

func (IpsecProtocol) Number

func (IpsecProtocol) String

func (x IpsecProtocol) String() string

func (IpsecProtocol) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use IpsecSa.ProtoReflect.Descriptor instead.

func (*IpsecSa) GetConfig

func (x *IpsecSa) GetConfig() *IpsecSaConfig

func (*IpsecSa) GetName

func (x *IpsecSa) GetName() string

func (*IpsecSa) GetReqid

func (x *IpsecSa) GetReqid() int64

func (*IpsecSa) GetState

func (x *IpsecSa) GetState() *IpsecSaState

func (*IpsecSa) ProtoMessage

func (*IpsecSa) ProtoMessage()

func (*IpsecSa) ProtoReflect

func (x *IpsecSa) ProtoReflect() protoreflect.Message

func (*IpsecSa) Reset

func (x *IpsecSa) Reset()

func (*IpsecSa) String

func (x *IpsecSa) String() string

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.

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) Enum

func (x IpsecSpdAction) Enum() *IpsecSpdAction

func (IpsecSpdAction) EnumDescriptor deprecated

func (IpsecSpdAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use IpsecSpdAction.Descriptor instead.

func (IpsecSpdAction) Number

func (IpsecSpdAction) String

func (x IpsecSpdAction) String() string

func (IpsecSpdAction) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Lifetime.ProtoReflect.Descriptor instead.

func (*Lifetime) GetBytes

func (x *Lifetime) GetBytes() int64

func (*Lifetime) GetDuration

func (x *Lifetime) GetDuration() *durationpb.Duration

func (*Lifetime) GetIdle

func (x *Lifetime) GetIdle() *durationpb.Duration

func (*Lifetime) GetPackets

func (x *Lifetime) GetPackets() int64

func (*Lifetime) ProtoMessage

func (*Lifetime) ProtoMessage()

func (*Lifetime) ProtoReflect

func (x *Lifetime) ProtoReflect() protoreflect.Message

func (*Lifetime) Reset

func (x *Lifetime) Reset()

func (*Lifetime) String

func (x *Lifetime) String() string

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) Enum

func (x LifetimeAction) Enum() *LifetimeAction

func (LifetimeAction) EnumDescriptor deprecated

func (LifetimeAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use LifetimeAction.Descriptor instead.

func (LifetimeAction) Number

func (LifetimeAction) String

func (x LifetimeAction) String() string

func (LifetimeAction) Type

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 (*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 (*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 (*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

const (
	// PRF algorithm is not specified
	PRF_PRF_UNSPECIFIED PRF = 0
	// SHA-1 PRF
	PRF_PRF_SHA1 PRF = 1
	// AES-XCBC PRF
	PRF_PRF_AESXCBC PRF = 2
	// AES-CMAC PRF
	PRF_PRF_AESCMAC PRF = 3
	// SHA-256 PRF
	PRF_PRF_SHA256 PRF = 4
	// SHA-384 PRF
	PRF_PRF_SHA384 PRF = 5
	// SHA-512 PRF
	PRF_PRF_SHA512 PRF = 6
)

func (PRF) Descriptor

func (PRF) Descriptor() protoreflect.EnumDescriptor

func (PRF) Enum

func (x PRF) Enum() *PRF

func (PRF) EnumDescriptor deprecated

func (PRF) EnumDescriptor() ([]byte, []int)

Deprecated: Use PRF.Descriptor instead.

func (PRF) Number

func (x PRF) Number() protoreflect.EnumNumber

func (PRF) String

func (x PRF) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PortRange.ProtoReflect.Descriptor instead.

func (*PortRange) GetEnd

func (x *PortRange) GetEnd() int32

func (*PortRange) GetStart

func (x *PortRange) GetStart() int32

func (*PortRange) ProtoMessage

func (*PortRange) ProtoMessage()

func (*PortRange) ProtoReflect

func (x *PortRange) ProtoReflect() protoreflect.Message

func (*PortRange) Reset

func (x *PortRange) Reset()

func (*PortRange) String

func (x *PortRange) String() string

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Tunnel.ProtoReflect.Descriptor instead.

func (*Tunnel) GetBypassDscp

func (x *Tunnel) GetBypassDscp() bool

func (*Tunnel) GetDfBit

func (x *Tunnel) GetDfBit() DfBitAction

func (*Tunnel) GetDscpMapping

func (x *Tunnel) GetDscpMapping() []*DscpMapping

func (*Tunnel) GetLocal

func (x *Tunnel) GetLocal() *_go.IPAddress

func (*Tunnel) GetRemote

func (x *Tunnel) GetRemote() *_go.IPAddress

func (*Tunnel) ProtoMessage

func (*Tunnel) ProtoMessage()

func (*Tunnel) ProtoReflect

func (x *Tunnel) ProtoReflect() protoreflect.Message

func (*Tunnel) Reset

func (x *Tunnel) Reset()

func (*Tunnel) String

func (x *Tunnel) String() string

type UnimplementedIkeConnectionServiceServer

type UnimplementedIkeConnectionServiceServer struct {
}

UnimplementedIkeConnectionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIkeConnectionServiceServer) CreateIkeConnection

func (UnimplementedIkeConnectionServiceServer) DeleteIkeConnection

func (UnimplementedIkeConnectionServiceServer) GetIkeConnection

func (UnimplementedIkeConnectionServiceServer) ListIkeConnections

func (UnimplementedIkeConnectionServiceServer) StatsIkeConnections

func (UnimplementedIkeConnectionServiceServer) UpdateIkeConnection

type UnimplementedIkePeerServiceServer

type UnimplementedIkePeerServiceServer struct {
}

UnimplementedIkePeerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIkePeerServiceServer) CreateIkePeer

func (UnimplementedIkePeerServiceServer) DeleteIkePeer

func (UnimplementedIkePeerServiceServer) GetIkePeer

func (UnimplementedIkePeerServiceServer) ListIkePeers

func (UnimplementedIkePeerServiceServer) UpdateIkePeer

type UnimplementedIpsecPolicyServiceServer

type UnimplementedIpsecPolicyServiceServer struct {
}

UnimplementedIpsecPolicyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIpsecPolicyServiceServer) CreateIpsecPolicy

func (UnimplementedIpsecPolicyServiceServer) DeleteIpsecPolicy

func (UnimplementedIpsecPolicyServiceServer) GetIpsecPolicy

func (UnimplementedIpsecPolicyServiceServer) ListIpsecPolicies

func (UnimplementedIpsecPolicyServiceServer) UpdateIpsecPolicy

type UnimplementedIpsecSaServiceServer

type UnimplementedIpsecSaServiceServer struct {
}

UnimplementedIpsecSaServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIpsecSaServiceServer) CreateIpsecSa

func (UnimplementedIpsecSaServiceServer) DeleteIpsecSa

func (UnimplementedIpsecSaServiceServer) GetIpsecSa

func (UnimplementedIpsecSaServiceServer) ListIpsecSas

func (UnimplementedIpsecSaServiceServer) UpdateIpsecSa

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL