v1

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 26 Imported by: 49

Documentation

Index

Constants

View Source
const (
	Admin_PutRole_FullMethodName           = "/v1.Admin/PutRole"
	Admin_DeleteRole_FullMethodName        = "/v1.Admin/DeleteRole"
	Admin_GetRole_FullMethodName           = "/v1.Admin/GetRole"
	Admin_ListRoles_FullMethodName         = "/v1.Admin/ListRoles"
	Admin_PutRoleBinding_FullMethodName    = "/v1.Admin/PutRoleBinding"
	Admin_DeleteRoleBinding_FullMethodName = "/v1.Admin/DeleteRoleBinding"
	Admin_GetRoleBinding_FullMethodName    = "/v1.Admin/GetRoleBinding"
	Admin_ListRoleBindings_FullMethodName  = "/v1.Admin/ListRoleBindings"
	Admin_PutGroup_FullMethodName          = "/v1.Admin/PutGroup"
	Admin_DeleteGroup_FullMethodName       = "/v1.Admin/DeleteGroup"
	Admin_GetGroup_FullMethodName          = "/v1.Admin/GetGroup"
	Admin_ListGroups_FullMethodName        = "/v1.Admin/ListGroups"
	Admin_PutNetworkACL_FullMethodName     = "/v1.Admin/PutNetworkACL"
	Admin_DeleteNetworkACL_FullMethodName  = "/v1.Admin/DeleteNetworkACL"
	Admin_GetNetworkACL_FullMethodName     = "/v1.Admin/GetNetworkACL"
	Admin_ListNetworkACLs_FullMethodName   = "/v1.Admin/ListNetworkACLs"
	Admin_PutRoute_FullMethodName          = "/v1.Admin/PutRoute"
	Admin_DeleteRoute_FullMethodName       = "/v1.Admin/DeleteRoute"
	Admin_GetRoute_FullMethodName          = "/v1.Admin/GetRoute"
	Admin_ListRoutes_FullMethodName        = "/v1.Admin/ListRoutes"
	Admin_PutEdge_FullMethodName           = "/v1.Admin/PutEdge"
	Admin_DeleteEdge_FullMethodName        = "/v1.Admin/DeleteEdge"
	Admin_GetEdge_FullMethodName           = "/v1.Admin/GetEdge"
	Admin_ListEdges_FullMethodName         = "/v1.Admin/ListEdges"
)
View Source
const (
	AppDaemon_PutConnection_FullMethodName   = "/v1.AppDaemon/PutConnection"
	AppDaemon_GetConnection_FullMethodName   = "/v1.AppDaemon/GetConnection"
	AppDaemon_DropConnection_FullMethodName  = "/v1.AppDaemon/DropConnection"
	AppDaemon_ListConnections_FullMethodName = "/v1.AppDaemon/ListConnections"
	AppDaemon_Connect_FullMethodName         = "/v1.AppDaemon/Connect"
	AppDaemon_Disconnect_FullMethodName      = "/v1.AppDaemon/Disconnect"
	AppDaemon_Metrics_FullMethodName         = "/v1.AppDaemon/Metrics"
	AppDaemon_Query_FullMethodName           = "/v1.AppDaemon/Query"
	AppDaemon_Status_FullMethodName          = "/v1.AppDaemon/Status"
)
View Source
const (
	Membership_Join_FullMethodName                = "/v1.Membership/Join"
	Membership_Update_FullMethodName              = "/v1.Membership/Update"
	Membership_Leave_FullMethodName               = "/v1.Membership/Leave"
	Membership_SubscribePeers_FullMethodName      = "/v1.Membership/SubscribePeers"
	Membership_Apply_FullMethodName               = "/v1.Membership/Apply"
	Membership_GetCurrentConsensus_FullMethodName = "/v1.Membership/GetCurrentConsensus"
)
View Source
const (
	Mesh_GetNode_FullMethodName      = "/v1.Mesh/GetNode"
	Mesh_ListNodes_FullMethodName    = "/v1.Mesh/ListNodes"
	Mesh_GetMeshGraph_FullMethodName = "/v1.Mesh/GetMeshGraph"
)
View Source
const (
	Node_GetStatus_FullMethodName            = "/v1.Node/GetStatus"
	Node_NegotiateDataChannel_FullMethodName = "/v1.Node/NegotiateDataChannel"
	Node_ReceiveSignalChannel_FullMethodName = "/v1.Node/ReceiveSignalChannel"
)
View Source
const (
	Plugin_GetInfo_FullMethodName   = "/v1.Plugin/GetInfo"
	Plugin_Configure_FullMethodName = "/v1.Plugin/Configure"
	Plugin_Close_FullMethodName     = "/v1.Plugin/Close"
)
View Source
const (
	IPAMPlugin_Allocate_FullMethodName = "/v1.IPAMPlugin/Allocate"
	IPAMPlugin_Release_FullMethodName  = "/v1.IPAMPlugin/Release"
)
View Source
const (
	Registrar_Register_FullMethodName = "/v1.Registrar/Register"
	Registrar_Lookup_FullMethodName   = "/v1.Registrar/Lookup"
)
View Source
const (
	StorageProviderPlugin_GetStatus_FullMethodName       = "/v1.StorageProviderPlugin/GetStatus"
	StorageProviderPlugin_Bootstrap_FullMethodName       = "/v1.StorageProviderPlugin/Bootstrap"
	StorageProviderPlugin_AddVoter_FullMethodName        = "/v1.StorageProviderPlugin/AddVoter"
	StorageProviderPlugin_AddObserver_FullMethodName     = "/v1.StorageProviderPlugin/AddObserver"
	StorageProviderPlugin_DemoteVoter_FullMethodName     = "/v1.StorageProviderPlugin/DemoteVoter"
	StorageProviderPlugin_RemovePeer_FullMethodName      = "/v1.StorageProviderPlugin/RemovePeer"
	StorageProviderPlugin_GetLeader_FullMethodName       = "/v1.StorageProviderPlugin/GetLeader"
	StorageProviderPlugin_GetPeers_FullMethodName        = "/v1.StorageProviderPlugin/GetPeers"
	StorageProviderPlugin_GetValue_FullMethodName        = "/v1.StorageProviderPlugin/GetValue"
	StorageProviderPlugin_PutValue_FullMethodName        = "/v1.StorageProviderPlugin/PutValue"
	StorageProviderPlugin_DeleteValue_FullMethodName     = "/v1.StorageProviderPlugin/DeleteValue"
	StorageProviderPlugin_ListKeys_FullMethodName        = "/v1.StorageProviderPlugin/ListKeys"
	StorageProviderPlugin_ListValues_FullMethodName      = "/v1.StorageProviderPlugin/ListValues"
	StorageProviderPlugin_SubscribePrefix_FullMethodName = "/v1.StorageProviderPlugin/SubscribePrefix"
)
View Source
const (
	StorageQueryService_Query_FullMethodName     = "/v1.StorageQueryService/Query"
	StorageQueryService_Publish_FullMethodName   = "/v1.StorageQueryService/Publish"
	StorageQueryService_Subscribe_FullMethodName = "/v1.StorageQueryService/Subscribe"
)
View Source
const (
	WebRTC_StartDataChannel_FullMethodName   = "/v1.WebRTC/StartDataChannel"
	WebRTC_StartSignalChannel_FullMethodName = "/v1.WebRTC/StartSignalChannel"
)
View Source
const (
	AuthPlugin_Authenticate_FullMethodName = "/v1.AuthPlugin/Authenticate"
)
View Source
const (
	StorageQuerierPlugin_InjectQuerier_FullMethodName = "/v1.StorageQuerierPlugin/InjectQuerier"
)
View Source
const (
	WatchPlugin_Emit_FullMethodName = "/v1.WatchPlugin/Emit"
)

Variables

View Source
var (
	NetworkAuthMethod_name = map[int32]string{
		0: "NO_AUTH",
		1: "BASIC",
		2: "LDAP",
		3: "ID",
		4: "MTLS",
	}
	NetworkAuthMethod_value = map[string]int32{
		"NO_AUTH": 0,
		"BASIC":   1,
		"LDAP":    2,
		"ID":      3,
		"MTLS":    4,
	}
)

Enum value maps for NetworkAuthMethod.

View Source
var (
	DaemonConnStatus_name = map[int32]string{
		0: "DISCONNECTED",
		1: "CONNECTING",
		2: "CONNECTED",
	}
	DaemonConnStatus_value = map[string]int32{
		"DISCONNECTED": 0,
		"CONNECTING":   1,
		"CONNECTED":    2,
	}
)

Enum value maps for DaemonConnStatus.

View Source
var (
	ConnectionParameters_AddrType_name = map[int32]string{
		0: "ADDR",
		1: "MULTIADDR",
		2: "RENDEZVOUS",
	}
	ConnectionParameters_AddrType_value = map[string]int32{
		"ADDR":       0,
		"MULTIADDR":  1,
		"RENDEZVOUS": 2,
	}
)

Enum value maps for ConnectionParameters_AddrType.

View Source
var (
	ConnectionParameters_AuthHeader_name = map[int32]string{
		0: "BASIC_USERNAME",
		1: "BASIC_PASSWORD",
		2: "LDAP_USERNAME",
		3: "LDAP_PASSWORD",
		4: "ADDRS_ENVELOPE",
	}
	ConnectionParameters_AuthHeader_value = map[string]int32{
		"BASIC_USERNAME": 0,
		"BASIC_PASSWORD": 1,
		"LDAP_USERNAME":  2,
		"LDAP_PASSWORD":  3,
		"ADDRS_ENVELOPE": 4,
	}
)

Enum value maps for ConnectionParameters_AuthHeader.

View Source
var (
	MeshConnBootstrap_DefaultNetworkACL_name = map[int32]string{
		0: "ACCEPT",
		1: "DROP",
	}
	MeshConnBootstrap_DefaultNetworkACL_value = map[string]int32{
		"ACCEPT": 0,
		"DROP":   1,
	}
)

Enum value maps for MeshConnBootstrap_DefaultNetworkACL.

View Source
var (
	ConnectProtocol_name = map[int32]string{
		0: "CONNECT_NATIVE",
		1: "CONNECT_ICE",
		2: "CONNECT_LIBP2P",
	}
	ConnectProtocol_value = map[string]int32{
		"CONNECT_NATIVE": 0,
		"CONNECT_ICE":    1,
		"CONNECT_LIBP2P": 2,
	}
)

Enum value maps for ConnectProtocol.

View Source
var (
	ACLAction_name = map[int32]string{
		0: "ACTION_UNKNOWN",
		1: "ACTION_ACCEPT",
		2: "ACTION_DENY",
	}
	ACLAction_value = map[string]int32{
		"ACTION_UNKNOWN": 0,
		"ACTION_ACCEPT":  1,
		"ACTION_DENY":    2,
	}
)

Enum value maps for ACLAction.

View Source
var (
	ClusterStatus_name = map[int32]string{
		0: "CLUSTER_STATUS_UNKNOWN",
		1: "CLUSTER_LEADER",
		2: "CLUSTER_VOTER",
		3: "CLUSTER_OBSERVER",
		4: "CLUSTER_NODE",
	}
	ClusterStatus_value = map[string]int32{
		"CLUSTER_STATUS_UNKNOWN": 0,
		"CLUSTER_LEADER":         1,
		"CLUSTER_VOTER":          2,
		"CLUSTER_OBSERVER":       3,
		"CLUSTER_NODE":           4,
	}
)

Enum value maps for ClusterStatus.

View Source
var (
	Feature_name = map[int32]string{
		0:  "FEATURE_NONE",
		1:  "NODES",
		2:  "LEADER_PROXY",
		3:  "MESH_API",
		4:  "ADMIN_API",
		5:  "MEMBERSHIP",
		6:  "METRICS",
		7:  "ICE_NEGOTIATION",
		8:  "TURN_SERVER",
		9:  "MESH_DNS",
		10: "FORWARD_MESH_DNS",
		11: "STORAGE_QUERIER",
		12: "STORAGE_PROVIDER",
		13: "REGISTRAR",
	}
	Feature_value = map[string]int32{
		"FEATURE_NONE":     0,
		"NODES":            1,
		"LEADER_PROXY":     2,
		"MESH_API":         3,
		"ADMIN_API":        4,
		"MEMBERSHIP":       5,
		"METRICS":          6,
		"ICE_NEGOTIATION":  7,
		"TURN_SERVER":      8,
		"MESH_DNS":         9,
		"FORWARD_MESH_DNS": 10,
		"STORAGE_QUERIER":  11,
		"STORAGE_PROVIDER": 12,
		"REGISTRAR":        13,
	}
)

Enum value maps for Feature.

View Source
var (
	EdgeAttribute_name = map[int32]string{
		0: "EDGE_ATTRIBUTE_UNKNOWN",
		1: "EDGE_ATTRIBUTE_NATIVE",
		2: "EDGE_ATTRIBUTE_ICE",
		3: "EDGE_ATTRIBUTE_LIBP2P",
	}
	EdgeAttribute_value = map[string]int32{
		"EDGE_ATTRIBUTE_UNKNOWN": 0,
		"EDGE_ATTRIBUTE_NATIVE":  1,
		"EDGE_ATTRIBUTE_ICE":     2,
		"EDGE_ATTRIBUTE_LIBP2P":  3,
	}
)

Enum value maps for EdgeAttribute.

View Source
var (
	DataChannel_name = map[int32]string{
		0: "CHANNELS",
		1: "CONNECTIONS",
	}
	DataChannel_value = map[string]int32{
		"CHANNELS":    0,
		"CONNECTIONS": 1,
	}
)

Enum value maps for DataChannel.

View Source
var (
	PluginInfo_PluginCapability_name = map[int32]string{
		0: "UNKNOWN",
		1: "STORAGE_PROVIDER",
		2: "AUTH",
		3: "WATCH",
		4: "IPAMV4",
		5: "STORAGE_QUERIER",
	}
	PluginInfo_PluginCapability_value = map[string]int32{
		"UNKNOWN":          0,
		"STORAGE_PROVIDER": 1,
		"AUTH":             2,
		"WATCH":            3,
		"IPAMV4":           4,
		"STORAGE_QUERIER":  5,
	}
)

Enum value maps for PluginInfo_PluginCapability.

View Source
var (
	Event_WatchEvent_name = map[int32]string{
		0: "UNKNOWN",
		1: "NODE_JOIN",
		2: "NODE_LEAVE",
		3: "LEADER_CHANGE",
	}
	Event_WatchEvent_value = map[string]int32{
		"UNKNOWN":       0,
		"NODE_JOIN":     1,
		"NODE_LEAVE":    2,
		"LEADER_CHANGE": 3,
	}
)

Enum value maps for Event_WatchEvent.

View Source
var (
	RaftCommandType_name = map[int32]string{
		0: "UNKNOWN",
		1: "PUT",
		2: "DELETE",
	}
	RaftCommandType_value = map[string]int32{
		"UNKNOWN": 0,
		"PUT":     1,
		"DELETE":  2,
	}
)

Enum value maps for RaftCommandType.

View Source
var (
	RuleResource_name = map[int32]string{
		0:   "RESOURCE_UNKNOWN",
		1:   "RESOURCE_VOTES",
		2:   "RESOURCE_ROLES",
		3:   "RESOURCE_ROLE_BINDINGS",
		4:   "RESOURCE_GROUPS",
		5:   "RESOURCE_NETWORK_ACLS",
		6:   "RESOURCE_ROUTES",
		7:   "RESOURCE_DATA_CHANNELS",
		8:   "RESOURCE_EDGES",
		9:   "RESOURCE_OBSERVERS",
		10:  "RESOURCE_PUBSUB",
		999: "RESOURCE_ALL",
	}
	RuleResource_value = map[string]int32{
		"RESOURCE_UNKNOWN":       0,
		"RESOURCE_VOTES":         1,
		"RESOURCE_ROLES":         2,
		"RESOURCE_ROLE_BINDINGS": 3,
		"RESOURCE_GROUPS":        4,
		"RESOURCE_NETWORK_ACLS":  5,
		"RESOURCE_ROUTES":        6,
		"RESOURCE_DATA_CHANNELS": 7,
		"RESOURCE_EDGES":         8,
		"RESOURCE_OBSERVERS":     9,
		"RESOURCE_PUBSUB":        10,
		"RESOURCE_ALL":           999,
	}
)

Enum value maps for RuleResource.

View Source
var (
	RuleVerb_name = map[int32]string{
		0:   "VERB_UNKNOWN",
		1:   "VERB_PUT",
		2:   "VERB_GET",
		3:   "VERB_DELETE",
		999: "VERB_ALL",
	}
	RuleVerb_value = map[string]int32{
		"VERB_UNKNOWN": 0,
		"VERB_PUT":     1,
		"VERB_GET":     2,
		"VERB_DELETE":  3,
		"VERB_ALL":     999,
	}
)

Enum value maps for RuleVerb.

View Source
var (
	SubjectType_name = map[int32]string{
		0:   "SUBJECT_UNKNOWN",
		1:   "SUBJECT_NODE",
		2:   "SUBJECT_USER",
		3:   "SUBJECT_GROUP",
		999: "SUBJECT_ALL",
	}
	SubjectType_value = map[string]int32{
		"SUBJECT_UNKNOWN": 0,
		"SUBJECT_NODE":    1,
		"SUBJECT_USER":    2,
		"SUBJECT_GROUP":   3,
		"SUBJECT_ALL":     999,
	}
)

Enum value maps for SubjectType.

View Source
var (
	PrefixEvent_EventType_name = map[int32]string{
		0: "EventTypeUnknown",
		1: "EventTypeUpdated",
		2: "EventTypeRemoved",
	}
	PrefixEvent_EventType_value = map[string]int32{
		"EventTypeUnknown": 0,
		"EventTypeUpdated": 1,
		"EventTypeRemoved": 2,
	}
)

Enum value maps for PrefixEvent_EventType.

View Source
var (
	QueryRequest_QueryCommand_name = map[int32]string{
		0: "GET",
		1: "LIST",
		2: "PUT",
		3: "DELETE",
	}
	QueryRequest_QueryCommand_value = map[string]int32{
		"GET":    0,
		"LIST":   1,
		"PUT":    2,
		"DELETE": 3,
	}
)

Enum value maps for QueryRequest_QueryCommand.

View Source
var (
	QueryRequest_QueryType_name = map[int32]string{
		0:  "VALUE",
		1:  "KEYS",
		2:  "PEERS",
		3:  "EDGES",
		4:  "ROUTES",
		5:  "ACLS",
		6:  "ROLES",
		7:  "ROLEBINDINGS",
		8:  "GROUPS",
		9:  "NETWORK_STATE",
		10: "RBAC_STATE",
	}
	QueryRequest_QueryType_value = map[string]int32{
		"VALUE":         0,
		"KEYS":          1,
		"PEERS":         2,
		"EDGES":         3,
		"ROUTES":        4,
		"ACLS":          5,
		"ROLES":         6,
		"ROLEBINDINGS":  7,
		"GROUPS":        8,
		"NETWORK_STATE": 9,
		"RBAC_STATE":    10,
	}
)

Enum value maps for QueryRequest_QueryType.

View Source
var Admin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Admin",
	HandlerType: (*AdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PutRole",
			Handler:    _Admin_PutRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _Admin_DeleteRole_Handler,
		},
		{
			MethodName: "GetRole",
			Handler:    _Admin_GetRole_Handler,
		},
		{
			MethodName: "ListRoles",
			Handler:    _Admin_ListRoles_Handler,
		},
		{
			MethodName: "PutRoleBinding",
			Handler:    _Admin_PutRoleBinding_Handler,
		},
		{
			MethodName: "DeleteRoleBinding",
			Handler:    _Admin_DeleteRoleBinding_Handler,
		},
		{
			MethodName: "GetRoleBinding",
			Handler:    _Admin_GetRoleBinding_Handler,
		},
		{
			MethodName: "ListRoleBindings",
			Handler:    _Admin_ListRoleBindings_Handler,
		},
		{
			MethodName: "PutGroup",
			Handler:    _Admin_PutGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _Admin_DeleteGroup_Handler,
		},
		{
			MethodName: "GetGroup",
			Handler:    _Admin_GetGroup_Handler,
		},
		{
			MethodName: "ListGroups",
			Handler:    _Admin_ListGroups_Handler,
		},
		{
			MethodName: "PutNetworkACL",
			Handler:    _Admin_PutNetworkACL_Handler,
		},
		{
			MethodName: "DeleteNetworkACL",
			Handler:    _Admin_DeleteNetworkACL_Handler,
		},
		{
			MethodName: "GetNetworkACL",
			Handler:    _Admin_GetNetworkACL_Handler,
		},
		{
			MethodName: "ListNetworkACLs",
			Handler:    _Admin_ListNetworkACLs_Handler,
		},
		{
			MethodName: "PutRoute",
			Handler:    _Admin_PutRoute_Handler,
		},
		{
			MethodName: "DeleteRoute",
			Handler:    _Admin_DeleteRoute_Handler,
		},
		{
			MethodName: "GetRoute",
			Handler:    _Admin_GetRoute_Handler,
		},
		{
			MethodName: "ListRoutes",
			Handler:    _Admin_ListRoutes_Handler,
		},
		{
			MethodName: "PutEdge",
			Handler:    _Admin_PutEdge_Handler,
		},
		{
			MethodName: "DeleteEdge",
			Handler:    _Admin_DeleteEdge_Handler,
		},
		{
			MethodName: "GetEdge",
			Handler:    _Admin_GetEdge_Handler,
		},
		{
			MethodName: "ListEdges",
			Handler:    _Admin_ListEdges_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/admin.proto",
}

Admin_ServiceDesc is the grpc.ServiceDesc for Admin 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 AppDaemon_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.AppDaemon",
	HandlerType: (*AppDaemonServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PutConnection",
			Handler:    _AppDaemon_PutConnection_Handler,
		},
		{
			MethodName: "GetConnection",
			Handler:    _AppDaemon_GetConnection_Handler,
		},
		{
			MethodName: "DropConnection",
			Handler:    _AppDaemon_DropConnection_Handler,
		},
		{
			MethodName: "ListConnections",
			Handler:    _AppDaemon_ListConnections_Handler,
		},
		{
			MethodName: "Connect",
			Handler:    _AppDaemon_Connect_Handler,
		},
		{
			MethodName: "Disconnect",
			Handler:    _AppDaemon_Disconnect_Handler,
		},
		{
			MethodName: "Metrics",
			Handler:    _AppDaemon_Metrics_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _AppDaemon_Query_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _AppDaemon_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/app.proto",
}

AppDaemon_ServiceDesc is the grpc.ServiceDesc for AppDaemon 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 AuthPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.AuthPlugin",
	HandlerType: (*AuthPluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authenticate",
			Handler:    _AuthPlugin_Authenticate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/plugin.proto",
}

AuthPlugin_ServiceDesc is the grpc.ServiceDesc for AuthPlugin 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 File_v1_admin_proto protoreflect.FileDescriptor
View Source
var File_v1_app_proto protoreflect.FileDescriptor
View Source
var File_v1_members_proto protoreflect.FileDescriptor
View Source
var File_v1_mesh_proto protoreflect.FileDescriptor
View Source
var File_v1_network_acls_proto protoreflect.FileDescriptor
View Source
var File_v1_node_proto protoreflect.FileDescriptor
View Source
var File_v1_plugin_proto protoreflect.FileDescriptor
View Source
var File_v1_raft_proto protoreflect.FileDescriptor
View Source
var File_v1_rbac_proto protoreflect.FileDescriptor
View Source
var File_v1_registrar_proto protoreflect.FileDescriptor
View Source
var File_v1_storage_provider_proto protoreflect.FileDescriptor
View Source
var File_v1_storage_query_proto protoreflect.FileDescriptor
View Source
var File_v1_webrtc_proto protoreflect.FileDescriptor
View Source
var IPAMPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.IPAMPlugin",
	HandlerType: (*IPAMPluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Allocate",
			Handler:    _IPAMPlugin_Allocate_Handler,
		},
		{
			MethodName: "Release",
			Handler:    _IPAMPlugin_Release_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/plugin.proto",
}

IPAMPlugin_ServiceDesc is the grpc.ServiceDesc for IPAMPlugin 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 Membership_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Membership",
	HandlerType: (*MembershipServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Join",
			Handler:    _Membership_Join_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Membership_Update_Handler,
		},
		{
			MethodName: "Leave",
			Handler:    _Membership_Leave_Handler,
		},
		{
			MethodName: "Apply",
			Handler:    _Membership_Apply_Handler,
		},
		{
			MethodName: "GetCurrentConsensus",
			Handler:    _Membership_GetCurrentConsensus_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribePeers",
			Handler:       _Membership_SubscribePeers_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "v1/members.proto",
}

Membership_ServiceDesc is the grpc.ServiceDesc for Membership 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 Mesh_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Mesh",
	HandlerType: (*MeshServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNode",
			Handler:    _Mesh_GetNode_Handler,
		},
		{
			MethodName: "ListNodes",
			Handler:    _Mesh_ListNodes_Handler,
		},
		{
			MethodName: "GetMeshGraph",
			Handler:    _Mesh_GetMeshGraph_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/mesh.proto",
}

Mesh_ServiceDesc is the grpc.ServiceDesc for Mesh 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 Node_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Node",
	HandlerType: (*NodeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStatus",
			Handler:    _Node_GetStatus_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "NegotiateDataChannel",
			Handler:       _Node_NegotiateDataChannel_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "ReceiveSignalChannel",
			Handler:       _Node_ReceiveSignalChannel_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "v1/node.proto",
}

Node_ServiceDesc is the grpc.ServiceDesc for Node 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 Plugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Plugin",
	HandlerType: (*PluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInfo",
			Handler:    _Plugin_GetInfo_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Plugin_Configure_Handler,
		},
		{
			MethodName: "Close",
			Handler:    _Plugin_Close_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/plugin.proto",
}

Plugin_ServiceDesc is the grpc.ServiceDesc for Plugin 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 Registrar_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Registrar",
	HandlerType: (*RegistrarServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _Registrar_Register_Handler,
		},
		{
			MethodName: "Lookup",
			Handler:    _Registrar_Lookup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/registrar.proto",
}

Registrar_ServiceDesc is the grpc.ServiceDesc for Registrar 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 StorageProviderPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.StorageProviderPlugin",
	HandlerType: (*StorageProviderPluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStatus",
			Handler:    _StorageProviderPlugin_GetStatus_Handler,
		},
		{
			MethodName: "Bootstrap",
			Handler:    _StorageProviderPlugin_Bootstrap_Handler,
		},
		{
			MethodName: "AddVoter",
			Handler:    _StorageProviderPlugin_AddVoter_Handler,
		},
		{
			MethodName: "AddObserver",
			Handler:    _StorageProviderPlugin_AddObserver_Handler,
		},
		{
			MethodName: "DemoteVoter",
			Handler:    _StorageProviderPlugin_DemoteVoter_Handler,
		},
		{
			MethodName: "RemovePeer",
			Handler:    _StorageProviderPlugin_RemovePeer_Handler,
		},
		{
			MethodName: "GetLeader",
			Handler:    _StorageProviderPlugin_GetLeader_Handler,
		},
		{
			MethodName: "GetPeers",
			Handler:    _StorageProviderPlugin_GetPeers_Handler,
		},
		{
			MethodName: "GetValue",
			Handler:    _StorageProviderPlugin_GetValue_Handler,
		},
		{
			MethodName: "PutValue",
			Handler:    _StorageProviderPlugin_PutValue_Handler,
		},
		{
			MethodName: "DeleteValue",
			Handler:    _StorageProviderPlugin_DeleteValue_Handler,
		},
		{
			MethodName: "ListKeys",
			Handler:    _StorageProviderPlugin_ListKeys_Handler,
		},
		{
			MethodName: "ListValues",
			Handler:    _StorageProviderPlugin_ListValues_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribePrefix",
			Handler:       _StorageProviderPlugin_SubscribePrefix_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "v1/storage_provider.proto",
}

StorageProviderPlugin_ServiceDesc is the grpc.ServiceDesc for StorageProviderPlugin 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 StorageQuerierPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.StorageQuerierPlugin",
	HandlerType: (*StorageQuerierPluginServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "InjectQuerier",
			Handler:       _StorageQuerierPlugin_InjectQuerier_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "v1/plugin.proto",
}

StorageQuerierPlugin_ServiceDesc is the grpc.ServiceDesc for StorageQuerierPlugin 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 StorageQueryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.StorageQueryService",
	HandlerType: (*StorageQueryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Query",
			Handler:    _StorageQueryService_Query_Handler,
		},
		{
			MethodName: "Publish",
			Handler:    _StorageQueryService_Publish_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Subscribe",
			Handler:       _StorageQueryService_Subscribe_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "v1/storage_query.proto",
}

StorageQueryService_ServiceDesc is the grpc.ServiceDesc for StorageQueryService 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 WatchPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.WatchPlugin",
	HandlerType: (*WatchPluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Emit",
			Handler:    _WatchPlugin_Emit_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/plugin.proto",
}

WatchPlugin_ServiceDesc is the grpc.ServiceDesc for WatchPlugin 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 WebRTC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.WebRTC",
	HandlerType: (*WebRTCServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StartDataChannel",
			Handler:       _WebRTC_StartDataChannel_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "StartSignalChannel",
			Handler:       _WebRTC_StartSignalChannel_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "v1/webrtc.proto",
}

WebRTC_ServiceDesc is the grpc.ServiceDesc for WebRTC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAdminServer

func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)

func RegisterAppDaemonServer

func RegisterAppDaemonServer(s grpc.ServiceRegistrar, srv AppDaemonServer)

func RegisterAuthPluginServer

func RegisterAuthPluginServer(s grpc.ServiceRegistrar, srv AuthPluginServer)

func RegisterIPAMPluginServer

func RegisterIPAMPluginServer(s grpc.ServiceRegistrar, srv IPAMPluginServer)

func RegisterMembershipServer

func RegisterMembershipServer(s grpc.ServiceRegistrar, srv MembershipServer)

func RegisterMeshServer

func RegisterMeshServer(s grpc.ServiceRegistrar, srv MeshServer)

func RegisterNodeServer

func RegisterNodeServer(s grpc.ServiceRegistrar, srv NodeServer)

func RegisterPluginServer

func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)

func RegisterRegistrarServer

func RegisterRegistrarServer(s grpc.ServiceRegistrar, srv RegistrarServer)

func RegisterStorageProviderPluginServer

func RegisterStorageProviderPluginServer(s grpc.ServiceRegistrar, srv StorageProviderPluginServer)

func RegisterStorageQuerierPluginServer

func RegisterStorageQuerierPluginServer(s grpc.ServiceRegistrar, srv StorageQuerierPluginServer)

func RegisterStorageQueryServiceServer

func RegisterStorageQueryServiceServer(s grpc.ServiceRegistrar, srv StorageQueryServiceServer)

func RegisterWatchPluginServer

func RegisterWatchPluginServer(s grpc.ServiceRegistrar, srv WatchPluginServer)

func RegisterWebRTCServer

func RegisterWebRTCServer(s grpc.ServiceRegistrar, srv WebRTCServer)

Types

type ACLAction

type ACLAction int32

ACLAction is the action to take when a request matches an ACL.

const (
	// ACTION_UNKNOWN is the default action for ACLs. It is synonymous with ACTION_DENY.
	ACLAction_ACTION_UNKNOWN ACLAction = 0
	// ACTION_ACCEPT allows the request to proceed.
	ACLAction_ACTION_ACCEPT ACLAction = 1
	// ACTION_DENY denies the request.
	ACLAction_ACTION_DENY ACLAction = 2
)

func (ACLAction) Descriptor

func (ACLAction) Descriptor() protoreflect.EnumDescriptor

func (ACLAction) Enum

func (x ACLAction) Enum() *ACLAction

func (ACLAction) EnumDescriptor deprecated

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

Deprecated: Use ACLAction.Descriptor instead.

func (ACLAction) Number

func (x ACLAction) Number() protoreflect.EnumNumber

func (ACLAction) String

func (x ACLAction) String() string

func (ACLAction) Type

type AddObserverResponse

type AddObserverResponse struct {
	// contains filtered or unexported fields
}

AddObserverResponse is the response object for the AddObserver RPC.

func (*AddObserverResponse) DeepCopy

func (in *AddObserverResponse) DeepCopy() *AddObserverResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddObserverResponse. Required by controller-gen.

func (*AddObserverResponse) DeepCopyInterface

func (in *AddObserverResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AddObserverResponse. Required by controller-gen.

func (*AddObserverResponse) DeepCopyInto

func (in *AddObserverResponse) DeepCopyInto(out *AddObserverResponse)

DeepCopyInto supports using AddObserverResponse within kubernetes types, where deepcopy-gen is used.

func (*AddObserverResponse) Descriptor deprecated

func (*AddObserverResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddObserverResponse.ProtoReflect.Descriptor instead.

func (*AddObserverResponse) ProtoMessage

func (*AddObserverResponse) ProtoMessage()

func (*AddObserverResponse) ProtoReflect

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

func (*AddObserverResponse) Reset

func (x *AddObserverResponse) Reset()

func (*AddObserverResponse) String

func (x *AddObserverResponse) String() string

func (*AddObserverResponse) Validate

func (m *AddObserverResponse) Validate() error

Validate checks the field values on AddObserverResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddObserverResponse) ValidateAll

func (m *AddObserverResponse) ValidateAll() error

ValidateAll checks the field values on AddObserverResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddObserverResponseMultiError, or nil if none found.

type AddObserverResponseMultiError

type AddObserverResponseMultiError []error

AddObserverResponseMultiError is an error wrapping multiple validation errors returned by AddObserverResponse.ValidateAll() if the designated constraints aren't met.

func (AddObserverResponseMultiError) AllErrors

func (m AddObserverResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddObserverResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddObserverResponseValidationError

type AddObserverResponseValidationError struct {
	// contains filtered or unexported fields
}

AddObserverResponseValidationError is the validation error returned by AddObserverResponse.Validate if the designated constraints aren't met.

func (AddObserverResponseValidationError) Cause

Cause function returns cause value.

func (AddObserverResponseValidationError) Error

Error satisfies the builtin error interface

func (AddObserverResponseValidationError) ErrorName

ErrorName returns error name.

func (AddObserverResponseValidationError) Field

Field function returns field value.

func (AddObserverResponseValidationError) Key

Key function returns key value.

func (AddObserverResponseValidationError) Reason

Reason function returns reason value.

type AddVoterResponse

type AddVoterResponse struct {
	// contains filtered or unexported fields
}

AddVoterResponse is the response object for the AddVoter RPC.

func (*AddVoterResponse) DeepCopy

func (in *AddVoterResponse) DeepCopy() *AddVoterResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddVoterResponse. Required by controller-gen.

func (*AddVoterResponse) DeepCopyInterface

func (in *AddVoterResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AddVoterResponse. Required by controller-gen.

func (*AddVoterResponse) DeepCopyInto

func (in *AddVoterResponse) DeepCopyInto(out *AddVoterResponse)

DeepCopyInto supports using AddVoterResponse within kubernetes types, where deepcopy-gen is used.

func (*AddVoterResponse) Descriptor deprecated

func (*AddVoterResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddVoterResponse.ProtoReflect.Descriptor instead.

func (*AddVoterResponse) ProtoMessage

func (*AddVoterResponse) ProtoMessage()

func (*AddVoterResponse) ProtoReflect

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

func (*AddVoterResponse) Reset

func (x *AddVoterResponse) Reset()

func (*AddVoterResponse) String

func (x *AddVoterResponse) String() string

func (*AddVoterResponse) Validate

func (m *AddVoterResponse) Validate() error

Validate checks the field values on AddVoterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddVoterResponse) ValidateAll

func (m *AddVoterResponse) ValidateAll() error

ValidateAll checks the field values on AddVoterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddVoterResponseMultiError, or nil if none found.

type AddVoterResponseMultiError

type AddVoterResponseMultiError []error

AddVoterResponseMultiError is an error wrapping multiple validation errors returned by AddVoterResponse.ValidateAll() if the designated constraints aren't met.

func (AddVoterResponseMultiError) AllErrors

func (m AddVoterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddVoterResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddVoterResponseValidationError

type AddVoterResponseValidationError struct {
	// contains filtered or unexported fields
}

AddVoterResponseValidationError is the validation error returned by AddVoterResponse.Validate if the designated constraints aren't met.

func (AddVoterResponseValidationError) Cause

Cause function returns cause value.

func (AddVoterResponseValidationError) Error

Error satisfies the builtin error interface

func (AddVoterResponseValidationError) ErrorName

ErrorName returns error name.

func (AddVoterResponseValidationError) Field

Field function returns field value.

func (AddVoterResponseValidationError) Key

Key function returns key value.

func (AddVoterResponseValidationError) Reason

Reason function returns reason value.

type AdminClient

type AdminClient interface {
	// PutRole creates or updates a role.
	PutRole(ctx context.Context, in *Role, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteRole deletes a role.
	DeleteRole(ctx context.Context, in *Role, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetRole gets a role.
	GetRole(ctx context.Context, in *Role, opts ...grpc.CallOption) (*Role, error)
	// ListRoles gets all roles.
	ListRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Roles, error)
	// PutRoleBinding creates or updates a role binding.
	PutRoleBinding(ctx context.Context, in *RoleBinding, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteRoleBinding deletes a role binding.
	DeleteRoleBinding(ctx context.Context, in *RoleBinding, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetRoleBinding gets a role binding.
	GetRoleBinding(ctx context.Context, in *RoleBinding, opts ...grpc.CallOption) (*RoleBinding, error)
	// ListRoleBindings gets all role bindings.
	ListRoleBindings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RoleBindings, error)
	// PutGroup creates or updates a group.
	PutGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteGroup deletes a group.
	DeleteGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetGroup gets a group.
	GetGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*Group, error)
	// ListGroups gets all groups.
	ListGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Groups, error)
	// PutNetworkACL creates or updates a network ACL.
	PutNetworkACL(ctx context.Context, in *NetworkACL, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteNetworkACL deletes a network ACL.
	DeleteNetworkACL(ctx context.Context, in *NetworkACL, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetNetworkACL gets a network ACL.
	GetNetworkACL(ctx context.Context, in *NetworkACL, opts ...grpc.CallOption) (*NetworkACL, error)
	// ListNetworkACLs gets all network ACLs.
	ListNetworkACLs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetworkACLs, error)
	// PutRoute creates or updates a route.
	PutRoute(ctx context.Context, in *Route, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteRoute deletes a route.
	DeleteRoute(ctx context.Context, in *Route, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetRoute gets a route.
	GetRoute(ctx context.Context, in *Route, opts ...grpc.CallOption) (*Route, error)
	// ListRoutes gets all routes.
	ListRoutes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Routes, error)
	// PutEdge creates or updates an edge between two nodes.
	PutEdge(ctx context.Context, in *MeshEdge, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteEdge deletes an edge between two nodes.
	DeleteEdge(ctx context.Context, in *MeshEdge, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetEdge gets an edge between two nodes.
	GetEdge(ctx context.Context, in *MeshEdge, opts ...grpc.CallOption) (*MeshEdge, error)
	// ListEdges gets all current edges.
	ListEdges(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MeshEdges, error)
}

AdminClient is the client API for Admin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminServer

type AdminServer interface {
	// PutRole creates or updates a role.
	PutRole(context.Context, *Role) (*emptypb.Empty, error)
	// DeleteRole deletes a role.
	DeleteRole(context.Context, *Role) (*emptypb.Empty, error)
	// GetRole gets a role.
	GetRole(context.Context, *Role) (*Role, error)
	// ListRoles gets all roles.
	ListRoles(context.Context, *emptypb.Empty) (*Roles, error)
	// PutRoleBinding creates or updates a role binding.
	PutRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error)
	// DeleteRoleBinding deletes a role binding.
	DeleteRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error)
	// GetRoleBinding gets a role binding.
	GetRoleBinding(context.Context, *RoleBinding) (*RoleBinding, error)
	// ListRoleBindings gets all role bindings.
	ListRoleBindings(context.Context, *emptypb.Empty) (*RoleBindings, error)
	// PutGroup creates or updates a group.
	PutGroup(context.Context, *Group) (*emptypb.Empty, error)
	// DeleteGroup deletes a group.
	DeleteGroup(context.Context, *Group) (*emptypb.Empty, error)
	// GetGroup gets a group.
	GetGroup(context.Context, *Group) (*Group, error)
	// ListGroups gets all groups.
	ListGroups(context.Context, *emptypb.Empty) (*Groups, error)
	// PutNetworkACL creates or updates a network ACL.
	PutNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error)
	// DeleteNetworkACL deletes a network ACL.
	DeleteNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error)
	// GetNetworkACL gets a network ACL.
	GetNetworkACL(context.Context, *NetworkACL) (*NetworkACL, error)
	// ListNetworkACLs gets all network ACLs.
	ListNetworkACLs(context.Context, *emptypb.Empty) (*NetworkACLs, error)
	// PutRoute creates or updates a route.
	PutRoute(context.Context, *Route) (*emptypb.Empty, error)
	// DeleteRoute deletes a route.
	DeleteRoute(context.Context, *Route) (*emptypb.Empty, error)
	// GetRoute gets a route.
	GetRoute(context.Context, *Route) (*Route, error)
	// ListRoutes gets all routes.
	ListRoutes(context.Context, *emptypb.Empty) (*Routes, error)
	// PutEdge creates or updates an edge between two nodes.
	PutEdge(context.Context, *MeshEdge) (*emptypb.Empty, error)
	// DeleteEdge deletes an edge between two nodes.
	DeleteEdge(context.Context, *MeshEdge) (*emptypb.Empty, error)
	// GetEdge gets an edge between two nodes.
	GetEdge(context.Context, *MeshEdge) (*MeshEdge, error)
	// ListEdges gets all current edges.
	ListEdges(context.Context, *emptypb.Empty) (*MeshEdges, error)
	// contains filtered or unexported methods
}

AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility

type AllocateIPRequest

type AllocateIPRequest struct {

	// NodeID is the node that the IP should be allocated for.
	NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// Subnet is the subnet that the IP should be allocated from.
	Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
	// contains filtered or unexported fields
}

AllocateIPRequest is the message containing an IP allocation request.

func (*AllocateIPRequest) DeepCopy

func (in *AllocateIPRequest) DeepCopy() *AllocateIPRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocateIPRequest. Required by controller-gen.

func (*AllocateIPRequest) DeepCopyInterface

func (in *AllocateIPRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AllocateIPRequest. Required by controller-gen.

func (*AllocateIPRequest) DeepCopyInto

func (in *AllocateIPRequest) DeepCopyInto(out *AllocateIPRequest)

DeepCopyInto supports using AllocateIPRequest within kubernetes types, where deepcopy-gen is used.

func (*AllocateIPRequest) Descriptor deprecated

func (*AllocateIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use AllocateIPRequest.ProtoReflect.Descriptor instead.

func (*AllocateIPRequest) GetNodeID

func (x *AllocateIPRequest) GetNodeID() string

func (*AllocateIPRequest) GetSubnet

func (x *AllocateIPRequest) GetSubnet() string

func (*AllocateIPRequest) ProtoMessage

func (*AllocateIPRequest) ProtoMessage()

func (*AllocateIPRequest) ProtoReflect

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

func (*AllocateIPRequest) Reset

func (x *AllocateIPRequest) Reset()

func (*AllocateIPRequest) String

func (x *AllocateIPRequest) String() string

func (*AllocateIPRequest) Validate

func (m *AllocateIPRequest) Validate() error

Validate checks the field values on AllocateIPRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllocateIPRequest) ValidateAll

func (m *AllocateIPRequest) ValidateAll() error

ValidateAll checks the field values on AllocateIPRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllocateIPRequestMultiError, or nil if none found.

type AllocateIPRequestMultiError

type AllocateIPRequestMultiError []error

AllocateIPRequestMultiError is an error wrapping multiple validation errors returned by AllocateIPRequest.ValidateAll() if the designated constraints aren't met.

func (AllocateIPRequestMultiError) AllErrors

func (m AllocateIPRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllocateIPRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AllocateIPRequestValidationError

type AllocateIPRequestValidationError struct {
	// contains filtered or unexported fields
}

AllocateIPRequestValidationError is the validation error returned by AllocateIPRequest.Validate if the designated constraints aren't met.

func (AllocateIPRequestValidationError) Cause

Cause function returns cause value.

func (AllocateIPRequestValidationError) Error

Error satisfies the builtin error interface

func (AllocateIPRequestValidationError) ErrorName

ErrorName returns error name.

func (AllocateIPRequestValidationError) Field

Field function returns field value.

func (AllocateIPRequestValidationError) Key

Key function returns key value.

func (AllocateIPRequestValidationError) Reason

Reason function returns reason value.

type AllocatedIP

type AllocatedIP struct {

	// IP is the allocated IP. It should be returned in CIDR notation.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

AllocatedIP is the message containing an allocated IP.

func (*AllocatedIP) DeepCopy

func (in *AllocatedIP) DeepCopy() *AllocatedIP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocatedIP. Required by controller-gen.

func (*AllocatedIP) DeepCopyInterface

func (in *AllocatedIP) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AllocatedIP. Required by controller-gen.

func (*AllocatedIP) DeepCopyInto

func (in *AllocatedIP) DeepCopyInto(out *AllocatedIP)

DeepCopyInto supports using AllocatedIP within kubernetes types, where deepcopy-gen is used.

func (*AllocatedIP) Descriptor deprecated

func (*AllocatedIP) Descriptor() ([]byte, []int)

Deprecated: Use AllocatedIP.ProtoReflect.Descriptor instead.

func (*AllocatedIP) GetIp

func (x *AllocatedIP) GetIp() string

func (*AllocatedIP) ProtoMessage

func (*AllocatedIP) ProtoMessage()

func (*AllocatedIP) ProtoReflect

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

func (*AllocatedIP) Reset

func (x *AllocatedIP) Reset()

func (*AllocatedIP) String

func (x *AllocatedIP) String() string

func (*AllocatedIP) Validate

func (m *AllocatedIP) Validate() error

Validate checks the field values on AllocatedIP with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllocatedIP) ValidateAll

func (m *AllocatedIP) ValidateAll() error

ValidateAll checks the field values on AllocatedIP with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllocatedIPMultiError, or nil if none found.

type AllocatedIPMultiError

type AllocatedIPMultiError []error

AllocatedIPMultiError is an error wrapping multiple validation errors returned by AllocatedIP.ValidateAll() if the designated constraints aren't met.

func (AllocatedIPMultiError) AllErrors

func (m AllocatedIPMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllocatedIPMultiError) Error

func (m AllocatedIPMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AllocatedIPValidationError

type AllocatedIPValidationError struct {
	// contains filtered or unexported fields
}

AllocatedIPValidationError is the validation error returned by AllocatedIP.Validate if the designated constraints aren't met.

func (AllocatedIPValidationError) Cause

Cause function returns cause value.

func (AllocatedIPValidationError) Error

Error satisfies the builtin error interface

func (AllocatedIPValidationError) ErrorName

func (e AllocatedIPValidationError) ErrorName() string

ErrorName returns error name.

func (AllocatedIPValidationError) Field

Field function returns field value.

func (AllocatedIPValidationError) Key

Key function returns key value.

func (AllocatedIPValidationError) Reason

Reason function returns reason value.

type AppDaemonClient

type AppDaemonClient interface {
	// PutConnection stores the parameters for a connection in the daemon.
	PutConnection(ctx context.Context, in *PutConnectionRequest, opts ...grpc.CallOption) (*PutConnectionResponse, error)
	// GetConnection retrieves the parameters and current status of a connection in the daemon.
	GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*GetConnectionResponse, error)
	// DropConnection deletes all data stored for a given mesh connection.
	DropConnection(ctx context.Context, in *DropConnectionRequest, opts ...grpc.CallOption) (*DropConnectionResponse, error)
	// ListConnections retrieves the parameters and current status of all connections in the daemon.
	ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error)
	// Connect is used to establish a connection between the node and a mesh.
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error)
	// Disconnect is used to disconnect the node from a mesh.
	Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error)
	// Metrics is used to retrieve interface metrics for one or more mesh connections.
	Metrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsResponse, error)
	// Query is used to query a mesh connection for information.
	Query(ctx context.Context, in *AppQueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	// Status is used to retrieve the status of the daemon. This includes a map of known connections and their statuses.
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*DaemonStatus, error)
}

AppDaemonClient is the client API for AppDaemon service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAppDaemonClient

func NewAppDaemonClient(cc grpc.ClientConnInterface) AppDaemonClient

type AppDaemonServer

type AppDaemonServer interface {
	// PutConnection stores the parameters for a connection in the daemon.
	PutConnection(context.Context, *PutConnectionRequest) (*PutConnectionResponse, error)
	// GetConnection retrieves the parameters and current status of a connection in the daemon.
	GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error)
	// DropConnection deletes all data stored for a given mesh connection.
	DropConnection(context.Context, *DropConnectionRequest) (*DropConnectionResponse, error)
	// ListConnections retrieves the parameters and current status of all connections in the daemon.
	ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
	// Connect is used to establish a connection between the node and a mesh.
	Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
	// Disconnect is used to disconnect the node from a mesh.
	Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
	// Metrics is used to retrieve interface metrics for one or more mesh connections.
	Metrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
	// Query is used to query a mesh connection for information.
	Query(context.Context, *AppQueryRequest) (*QueryResponse, error)
	// Status is used to retrieve the status of the daemon. This includes a map of known connections and their statuses.
	Status(context.Context, *StatusRequest) (*DaemonStatus, error)
	// contains filtered or unexported methods
}

AppDaemonServer is the server API for AppDaemon service. All implementations must embed UnimplementedAppDaemonServer for forward compatibility

type AppQueryRequest

type AppQueryRequest struct {

	// ID is the unique identifier of this connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Query is the query to execute.
	Query *QueryRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

AppQueryRequest is sent by the application to a daemon to query a mesh's storage.

func (*AppQueryRequest) DeepCopy

func (in *AppQueryRequest) DeepCopy() *AppQueryRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppQueryRequest. Required by controller-gen.

func (*AppQueryRequest) DeepCopyInterface

func (in *AppQueryRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AppQueryRequest. Required by controller-gen.

func (*AppQueryRequest) DeepCopyInto

func (in *AppQueryRequest) DeepCopyInto(out *AppQueryRequest)

DeepCopyInto supports using AppQueryRequest within kubernetes types, where deepcopy-gen is used.

func (*AppQueryRequest) Descriptor deprecated

func (*AppQueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use AppQueryRequest.ProtoReflect.Descriptor instead.

func (*AppQueryRequest) GetId

func (x *AppQueryRequest) GetId() string

func (*AppQueryRequest) GetQuery

func (x *AppQueryRequest) GetQuery() *QueryRequest

func (*AppQueryRequest) ProtoMessage

func (*AppQueryRequest) ProtoMessage()

func (*AppQueryRequest) ProtoReflect

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

func (*AppQueryRequest) Reset

func (x *AppQueryRequest) Reset()

func (*AppQueryRequest) String

func (x *AppQueryRequest) String() string

func (*AppQueryRequest) Validate

func (m *AppQueryRequest) Validate() error

Validate checks the field values on AppQueryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AppQueryRequest) ValidateAll

func (m *AppQueryRequest) ValidateAll() error

ValidateAll checks the field values on AppQueryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppQueryRequestMultiError, or nil if none found.

type AppQueryRequestMultiError

type AppQueryRequestMultiError []error

AppQueryRequestMultiError is an error wrapping multiple validation errors returned by AppQueryRequest.ValidateAll() if the designated constraints aren't met.

func (AppQueryRequestMultiError) AllErrors

func (m AppQueryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppQueryRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AppQueryRequestValidationError

type AppQueryRequestValidationError struct {
	// contains filtered or unexported fields
}

AppQueryRequestValidationError is the validation error returned by AppQueryRequest.Validate if the designated constraints aren't met.

func (AppQueryRequestValidationError) Cause

Cause function returns cause value.

func (AppQueryRequestValidationError) Error

Error satisfies the builtin error interface

func (AppQueryRequestValidationError) ErrorName

func (e AppQueryRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AppQueryRequestValidationError) Field

Field function returns field value.

func (AppQueryRequestValidationError) Key

Key function returns key value.

func (AppQueryRequestValidationError) Reason

Reason function returns reason value.

type AuthPluginClient

type AuthPluginClient interface {
	// Authenticate authenticates a request.
	Authenticate(ctx context.Context, in *AuthenticationRequest, opts ...grpc.CallOption) (*AuthenticationResponse, error)
}

AuthPluginClient is the client API for AuthPlugin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuthPluginClient

func NewAuthPluginClient(cc grpc.ClientConnInterface) AuthPluginClient

type AuthPluginServer

type AuthPluginServer interface {
	// Authenticate authenticates a request.
	Authenticate(context.Context, *AuthenticationRequest) (*AuthenticationResponse, error)
	// contains filtered or unexported methods
}

AuthPluginServer is the server API for AuthPlugin service. All implementations must embed UnimplementedAuthPluginServer for forward compatibility

type AuthenticationRequest

type AuthenticationRequest struct {

	// Headers are the headers of the request.
	Headers map[string]string `` /* 155-byte string literal not displayed */
	// Certificates are the DER encoded certificates of the request.
	Certificates [][]byte `protobuf:"bytes,2,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// contains filtered or unexported fields
}

AuthenticationRequest is the message containing an authentication request.

func (*AuthenticationRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationRequest. Required by controller-gen.

func (*AuthenticationRequest) DeepCopyInterface

func (in *AuthenticationRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationRequest. Required by controller-gen.

func (*AuthenticationRequest) DeepCopyInto

func (in *AuthenticationRequest) DeepCopyInto(out *AuthenticationRequest)

DeepCopyInto supports using AuthenticationRequest within kubernetes types, where deepcopy-gen is used.

func (*AuthenticationRequest) Descriptor deprecated

func (*AuthenticationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticationRequest.ProtoReflect.Descriptor instead.

func (*AuthenticationRequest) GetCertificates

func (x *AuthenticationRequest) GetCertificates() [][]byte

func (*AuthenticationRequest) GetHeaders

func (x *AuthenticationRequest) GetHeaders() map[string]string

func (*AuthenticationRequest) ProtoMessage

func (*AuthenticationRequest) ProtoMessage()

func (*AuthenticationRequest) ProtoReflect

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

func (*AuthenticationRequest) Reset

func (x *AuthenticationRequest) Reset()

func (*AuthenticationRequest) String

func (x *AuthenticationRequest) String() string

func (*AuthenticationRequest) Validate

func (m *AuthenticationRequest) Validate() error

Validate checks the field values on AuthenticationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthenticationRequest) ValidateAll

func (m *AuthenticationRequest) ValidateAll() error

ValidateAll checks the field values on AuthenticationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthenticationRequestMultiError, or nil if none found.

type AuthenticationRequestMultiError

type AuthenticationRequestMultiError []error

AuthenticationRequestMultiError is an error wrapping multiple validation errors returned by AuthenticationRequest.ValidateAll() if the designated constraints aren't met.

func (AuthenticationRequestMultiError) AllErrors

func (m AuthenticationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticationRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthenticationRequestValidationError

type AuthenticationRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthenticationRequestValidationError is the validation error returned by AuthenticationRequest.Validate if the designated constraints aren't met.

func (AuthenticationRequestValidationError) Cause

Cause function returns cause value.

func (AuthenticationRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthenticationRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthenticationRequestValidationError) Field

Field function returns field value.

func (AuthenticationRequestValidationError) Key

Key function returns key value.

func (AuthenticationRequestValidationError) Reason

Reason function returns reason value.

type AuthenticationResponse

type AuthenticationResponse struct {

	// ID is the id of the authenticated user.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

AuthenticationResponse is the message containing an authentication response.

func (*AuthenticationResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationResponse. Required by controller-gen.

func (*AuthenticationResponse) DeepCopyInterface

func (in *AuthenticationResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationResponse. Required by controller-gen.

func (*AuthenticationResponse) DeepCopyInto

func (in *AuthenticationResponse) DeepCopyInto(out *AuthenticationResponse)

DeepCopyInto supports using AuthenticationResponse within kubernetes types, where deepcopy-gen is used.

func (*AuthenticationResponse) Descriptor deprecated

func (*AuthenticationResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticationResponse.ProtoReflect.Descriptor instead.

func (*AuthenticationResponse) GetId

func (x *AuthenticationResponse) GetId() string

func (*AuthenticationResponse) ProtoMessage

func (*AuthenticationResponse) ProtoMessage()

func (*AuthenticationResponse) ProtoReflect

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

func (*AuthenticationResponse) Reset

func (x *AuthenticationResponse) Reset()

func (*AuthenticationResponse) String

func (x *AuthenticationResponse) String() string

func (*AuthenticationResponse) Validate

func (m *AuthenticationResponse) Validate() error

Validate checks the field values on AuthenticationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthenticationResponse) ValidateAll

func (m *AuthenticationResponse) ValidateAll() error

ValidateAll checks the field values on AuthenticationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthenticationResponseMultiError, or nil if none found.

type AuthenticationResponseMultiError

type AuthenticationResponseMultiError []error

AuthenticationResponseMultiError is an error wrapping multiple validation errors returned by AuthenticationResponse.ValidateAll() if the designated constraints aren't met.

func (AuthenticationResponseMultiError) AllErrors

func (m AuthenticationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticationResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthenticationResponseValidationError

type AuthenticationResponseValidationError struct {
	// contains filtered or unexported fields
}

AuthenticationResponseValidationError is the validation error returned by AuthenticationResponse.Validate if the designated constraints aren't met.

func (AuthenticationResponseValidationError) Cause

Cause function returns cause value.

func (AuthenticationResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthenticationResponseValidationError) ErrorName

ErrorName returns error name.

func (AuthenticationResponseValidationError) Field

Field function returns field value.

func (AuthenticationResponseValidationError) Key

Key function returns key value.

func (AuthenticationResponseValidationError) Reason

Reason function returns reason value.

type BootstrapRequest

type BootstrapRequest struct {
	// contains filtered or unexported fields
}

BootstrapRequest is the request object for the Bootstrap RPC.

func (*BootstrapRequest) DeepCopy

func (in *BootstrapRequest) DeepCopy() *BootstrapRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapRequest. Required by controller-gen.

func (*BootstrapRequest) DeepCopyInterface

func (in *BootstrapRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapRequest. Required by controller-gen.

func (*BootstrapRequest) DeepCopyInto

func (in *BootstrapRequest) DeepCopyInto(out *BootstrapRequest)

DeepCopyInto supports using BootstrapRequest within kubernetes types, where deepcopy-gen is used.

func (*BootstrapRequest) Descriptor deprecated

func (*BootstrapRequest) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapRequest.ProtoReflect.Descriptor instead.

func (*BootstrapRequest) ProtoMessage

func (*BootstrapRequest) ProtoMessage()

func (*BootstrapRequest) ProtoReflect

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

func (*BootstrapRequest) Reset

func (x *BootstrapRequest) Reset()

func (*BootstrapRequest) String

func (x *BootstrapRequest) String() string

func (*BootstrapRequest) Validate

func (m *BootstrapRequest) Validate() error

Validate checks the field values on BootstrapRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BootstrapRequest) ValidateAll

func (m *BootstrapRequest) ValidateAll() error

ValidateAll checks the field values on BootstrapRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BootstrapRequestMultiError, or nil if none found.

type BootstrapRequestMultiError

type BootstrapRequestMultiError []error

BootstrapRequestMultiError is an error wrapping multiple validation errors returned by BootstrapRequest.ValidateAll() if the designated constraints aren't met.

func (BootstrapRequestMultiError) AllErrors

func (m BootstrapRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BootstrapRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BootstrapRequestValidationError

type BootstrapRequestValidationError struct {
	// contains filtered or unexported fields
}

BootstrapRequestValidationError is the validation error returned by BootstrapRequest.Validate if the designated constraints aren't met.

func (BootstrapRequestValidationError) Cause

Cause function returns cause value.

func (BootstrapRequestValidationError) Error

Error satisfies the builtin error interface

func (BootstrapRequestValidationError) ErrorName

ErrorName returns error name.

func (BootstrapRequestValidationError) Field

Field function returns field value.

func (BootstrapRequestValidationError) Key

Key function returns key value.

func (BootstrapRequestValidationError) Reason

Reason function returns reason value.

type BootstrapResponse

type BootstrapResponse struct {

	// Status is the status of the storage after the bootstrap.
	Status *StorageStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

BootstrapResponse is the response object for the Bootstrap RPC.

func (*BootstrapResponse) DeepCopy

func (in *BootstrapResponse) DeepCopy() *BootstrapResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapResponse. Required by controller-gen.

func (*BootstrapResponse) DeepCopyInterface

func (in *BootstrapResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapResponse. Required by controller-gen.

func (*BootstrapResponse) DeepCopyInto

func (in *BootstrapResponse) DeepCopyInto(out *BootstrapResponse)

DeepCopyInto supports using BootstrapResponse within kubernetes types, where deepcopy-gen is used.

func (*BootstrapResponse) Descriptor deprecated

func (*BootstrapResponse) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapResponse.ProtoReflect.Descriptor instead.

func (*BootstrapResponse) GetStatus

func (x *BootstrapResponse) GetStatus() *StorageStatus

func (*BootstrapResponse) ProtoMessage

func (*BootstrapResponse) ProtoMessage()

func (*BootstrapResponse) ProtoReflect

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

func (*BootstrapResponse) Reset

func (x *BootstrapResponse) Reset()

func (*BootstrapResponse) String

func (x *BootstrapResponse) String() string

func (*BootstrapResponse) Validate

func (m *BootstrapResponse) Validate() error

Validate checks the field values on BootstrapResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BootstrapResponse) ValidateAll

func (m *BootstrapResponse) ValidateAll() error

ValidateAll checks the field values on BootstrapResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BootstrapResponseMultiError, or nil if none found.

type BootstrapResponseMultiError

type BootstrapResponseMultiError []error

BootstrapResponseMultiError is an error wrapping multiple validation errors returned by BootstrapResponse.ValidateAll() if the designated constraints aren't met.

func (BootstrapResponseMultiError) AllErrors

func (m BootstrapResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BootstrapResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BootstrapResponseValidationError

type BootstrapResponseValidationError struct {
	// contains filtered or unexported fields
}

BootstrapResponseValidationError is the validation error returned by BootstrapResponse.Validate if the designated constraints aren't met.

func (BootstrapResponseValidationError) Cause

Cause function returns cause value.

func (BootstrapResponseValidationError) Error

Error satisfies the builtin error interface

func (BootstrapResponseValidationError) ErrorName

ErrorName returns error name.

func (BootstrapResponseValidationError) Field

Field function returns field value.

func (BootstrapResponseValidationError) Key

Key function returns key value.

func (BootstrapResponseValidationError) Reason

Reason function returns reason value.

type ClusterStatus

type ClusterStatus int32

ClusterStatus is the status of the node in the cluster.

const (
	// CLUSTER_STATUS_UNKNOWN is the default status.
	ClusterStatus_CLUSTER_STATUS_UNKNOWN ClusterStatus = 0
	// CLUSTER_LEADER is the status for the leader node.
	ClusterStatus_CLUSTER_LEADER ClusterStatus = 1
	// CLUSTER_VOTER is the status for a voter node.
	ClusterStatus_CLUSTER_VOTER ClusterStatus = 2
	// CLUSTER_OBSERVER is the status for a non-voter node.
	ClusterStatus_CLUSTER_OBSERVER ClusterStatus = 3
	// CLUSTER_NODE is the status of a node that is not a part of the storage consensus.
	ClusterStatus_CLUSTER_NODE ClusterStatus = 4
)

func (ClusterStatus) Descriptor

func (ClusterStatus) Enum

func (x ClusterStatus) Enum() *ClusterStatus

func (ClusterStatus) EnumDescriptor deprecated

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

Deprecated: Use ClusterStatus.Descriptor instead.

func (ClusterStatus) Number

func (ClusterStatus) String

func (x ClusterStatus) String() string

func (ClusterStatus) Type

type ConnectProtocol

type ConnectProtocol int32

ConnectProtocol is a type of protocol for establishing a connection into a mesh.

const (
	// CONNECT_NATIVE indicates that the node should connect to other nodes via the native
	// webmesh mechanisms.
	ConnectProtocol_CONNECT_NATIVE ConnectProtocol = 0
	// CONNECT_ICE indicates that the node should connect to other nodes via ICE.
	ConnectProtocol_CONNECT_ICE ConnectProtocol = 1
	// CONNECT_LIBP2P indicates that the node should connect to other nodes via libp2p.
	ConnectProtocol_CONNECT_LIBP2P ConnectProtocol = 2
)

func (ConnectProtocol) Descriptor

func (ConnectProtocol) Enum

func (x ConnectProtocol) Enum() *ConnectProtocol

func (ConnectProtocol) EnumDescriptor deprecated

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

Deprecated: Use ConnectProtocol.Descriptor instead.

func (ConnectProtocol) Number

func (ConnectProtocol) String

func (x ConnectProtocol) String() string

func (ConnectProtocol) Type

type ConnectRequest

type ConnectRequest struct {

	// ID is the unique identifier of the connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ConnectRequest is sent by an application to a daemon to connect to a mesh.

func (*ConnectRequest) DeepCopy

func (in *ConnectRequest) DeepCopy() *ConnectRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. Required by controller-gen.

func (*ConnectRequest) DeepCopyInterface

func (in *ConnectRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. Required by controller-gen.

func (*ConnectRequest) DeepCopyInto

func (in *ConnectRequest) DeepCopyInto(out *ConnectRequest)

DeepCopyInto supports using ConnectRequest within kubernetes types, where deepcopy-gen is used.

func (*ConnectRequest) Descriptor deprecated

func (*ConnectRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetId

func (x *ConnectRequest) GetId() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect

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

func (*ConnectRequest) Reset

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String

func (x *ConnectRequest) String() string

func (*ConnectRequest) Validate

func (m *ConnectRequest) Validate() error

Validate checks the field values on ConnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConnectRequest) ValidateAll

func (m *ConnectRequest) ValidateAll() error

ValidateAll checks the field values on ConnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectRequestMultiError, or nil if none found.

type ConnectRequestMultiError

type ConnectRequestMultiError []error

ConnectRequestMultiError is an error wrapping multiple validation errors returned by ConnectRequest.ValidateAll() if the designated constraints aren't met.

func (ConnectRequestMultiError) AllErrors

func (m ConnectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectRequestMultiError) Error

func (m ConnectRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConnectRequestValidationError

type ConnectRequestValidationError struct {
	// contains filtered or unexported fields
}

ConnectRequestValidationError is the validation error returned by ConnectRequest.Validate if the designated constraints aren't met.

func (ConnectRequestValidationError) Cause

Cause function returns cause value.

func (ConnectRequestValidationError) Error

Error satisfies the builtin error interface

func (ConnectRequestValidationError) ErrorName

func (e ConnectRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectRequestValidationError) Field

Field function returns field value.

func (ConnectRequestValidationError) Key

Key function returns key value.

func (ConnectRequestValidationError) Reason

Reason function returns reason value.

type ConnectResponse

type ConnectResponse struct {

	// ID is the unique identifier of this connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Node id is the unique identifier of the node.
	NodeID string `protobuf:"bytes,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// Mesh domain is the domain of the mesh.
	MeshDomain string `protobuf:"bytes,3,opt,name=meshDomain,proto3" json:"meshDomain,omitempty"`
	// IPv4Address is the IPv4 address of the node.
	Ipv4Address string `protobuf:"bytes,4,opt,name=ipv4Address,proto3" json:"ipv4Address,omitempty"`
	// IPv6Address is the IPv6 address of the node.
	Ipv6Address string `protobuf:"bytes,5,opt,name=ipv6Address,proto3" json:"ipv6Address,omitempty"`
	// IPv4Network is the IPv4 network of the mesh.
	Ipv4Network string `protobuf:"bytes,6,opt,name=ipv4Network,proto3" json:"ipv4Network,omitempty"`
	// IPv6Network is the IPv6 network of the mesh.
	Ipv6Network string `protobuf:"bytes,7,opt,name=ipv6Network,proto3" json:"ipv6Network,omitempty"`
	// contains filtered or unexported fields
}

ConnectResponse is returned by the Connect RPC.

func (*ConnectResponse) DeepCopy

func (in *ConnectResponse) DeepCopy() *ConnectResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectResponse. Required by controller-gen.

func (*ConnectResponse) DeepCopyInterface

func (in *ConnectResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConnectResponse. Required by controller-gen.

func (*ConnectResponse) DeepCopyInto

func (in *ConnectResponse) DeepCopyInto(out *ConnectResponse)

DeepCopyInto supports using ConnectResponse within kubernetes types, where deepcopy-gen is used.

func (*ConnectResponse) Descriptor deprecated

func (*ConnectResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.

func (*ConnectResponse) GetId

func (x *ConnectResponse) GetId() string

func (*ConnectResponse) GetIpv4Address

func (x *ConnectResponse) GetIpv4Address() string

func (*ConnectResponse) GetIpv4Network

func (x *ConnectResponse) GetIpv4Network() string

func (*ConnectResponse) GetIpv6Address

func (x *ConnectResponse) GetIpv6Address() string

func (*ConnectResponse) GetIpv6Network

func (x *ConnectResponse) GetIpv6Network() string

func (*ConnectResponse) GetMeshDomain

func (x *ConnectResponse) GetMeshDomain() string

func (*ConnectResponse) GetNodeID

func (x *ConnectResponse) GetNodeID() string

func (*ConnectResponse) ProtoMessage

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) ProtoReflect

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

func (*ConnectResponse) Reset

func (x *ConnectResponse) Reset()

func (*ConnectResponse) String

func (x *ConnectResponse) String() string

func (*ConnectResponse) Validate

func (m *ConnectResponse) Validate() error

Validate checks the field values on ConnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConnectResponse) ValidateAll

func (m *ConnectResponse) ValidateAll() error

ValidateAll checks the field values on ConnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectResponseMultiError, or nil if none found.

type ConnectResponseMultiError

type ConnectResponseMultiError []error

ConnectResponseMultiError is an error wrapping multiple validation errors returned by ConnectResponse.ValidateAll() if the designated constraints aren't met.

func (ConnectResponseMultiError) AllErrors

func (m ConnectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConnectResponseValidationError

type ConnectResponseValidationError struct {
	// contains filtered or unexported fields
}

ConnectResponseValidationError is the validation error returned by ConnectResponse.Validate if the designated constraints aren't met.

func (ConnectResponseValidationError) Cause

Cause function returns cause value.

func (ConnectResponseValidationError) Error

Error satisfies the builtin error interface

func (ConnectResponseValidationError) ErrorName

func (e ConnectResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectResponseValidationError) Field

Field function returns field value.

func (ConnectResponseValidationError) Key

Key function returns key value.

func (ConnectResponseValidationError) Reason

Reason function returns reason value.

type ConnectionParameters added in v0.12.0

type ConnectionParameters struct {

	// AuthMethod is the type of authentication to use.
	AuthMethod NetworkAuthMethod `protobuf:"varint,2,opt,name=authMethod,proto3,enum=v1.NetworkAuthMethod" json:"authMethod,omitempty"`
	// AuthCredentials are additional credentials as required by the authType.
	AuthCredentials map[string]string `` /* 171-byte string literal not displayed */
	// AddrType is the type of join addresses in the addrs list.
	AddrType ConnectionParameters_AddrType `protobuf:"varint,4,opt,name=addrType,proto3,enum=v1.ConnectionParameters_AddrType" json:"addrType,omitempty"`
	// Addrs are the join addresses to use to connect to the mesh.
	Addrs []string `protobuf:"bytes,5,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// Networking is the networking configuration to use.
	Networking *MeshConnNetworking `protobuf:"bytes,6,opt,name=networking,proto3" json:"networking,omitempty"`
	// Services are the services to expose to other nodes on the mesh.
	Services *MeshConnServices `protobuf:"bytes,7,opt,name=services,proto3" json:"services,omitempty"`
	// Bootstrap are options for bootstrapping a new mesh.
	Bootstrap *MeshConnBootstrap `protobuf:"bytes,8,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// TLS are TLS configurations for the mesh connection.
	Tls *MeshConnTLS `protobuf:"bytes,9,opt,name=tls,proto3" json:"tls,omitempty"`
	// contains filtered or unexported fields
}

ConnectionParameters are the parameters for a mesh connection.

func (*ConnectionParameters) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionParameters. Required by controller-gen.

func (*ConnectionParameters) DeepCopyInterface added in v0.12.0

func (in *ConnectionParameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionParameters. Required by controller-gen.

func (*ConnectionParameters) DeepCopyInto added in v0.12.0

func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters)

DeepCopyInto supports using ConnectionParameters within kubernetes types, where deepcopy-gen is used.

func (*ConnectionParameters) Descriptor deprecated added in v0.12.0

func (*ConnectionParameters) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionParameters.ProtoReflect.Descriptor instead.

func (*ConnectionParameters) GetAddrType added in v0.12.0

func (*ConnectionParameters) GetAddrs added in v0.12.0

func (x *ConnectionParameters) GetAddrs() []string

func (*ConnectionParameters) GetAuthCredentials added in v0.12.0

func (x *ConnectionParameters) GetAuthCredentials() map[string]string

func (*ConnectionParameters) GetAuthMethod added in v0.12.0

func (x *ConnectionParameters) GetAuthMethod() NetworkAuthMethod

func (*ConnectionParameters) GetBootstrap added in v0.12.0

func (x *ConnectionParameters) GetBootstrap() *MeshConnBootstrap

func (*ConnectionParameters) GetNetworking added in v0.12.0

func (x *ConnectionParameters) GetNetworking() *MeshConnNetworking

func (*ConnectionParameters) GetServices added in v0.12.0

func (x *ConnectionParameters) GetServices() *MeshConnServices

func (*ConnectionParameters) GetTls added in v0.12.0

func (x *ConnectionParameters) GetTls() *MeshConnTLS

func (*ConnectionParameters) ProtoMessage added in v0.12.0

func (*ConnectionParameters) ProtoMessage()

func (*ConnectionParameters) ProtoReflect added in v0.12.0

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

func (*ConnectionParameters) Reset added in v0.12.0

func (x *ConnectionParameters) Reset()

func (*ConnectionParameters) String added in v0.12.0

func (x *ConnectionParameters) String() string

func (*ConnectionParameters) Validate added in v0.12.0

func (m *ConnectionParameters) Validate() error

Validate checks the field values on ConnectionParameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConnectionParameters) ValidateAll added in v0.12.0

func (m *ConnectionParameters) ValidateAll() error

ValidateAll checks the field values on ConnectionParameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectionParametersMultiError, or nil if none found.

type ConnectionParametersMultiError added in v0.12.0

type ConnectionParametersMultiError []error

ConnectionParametersMultiError is an error wrapping multiple validation errors returned by ConnectionParameters.ValidateAll() if the designated constraints aren't met.

func (ConnectionParametersMultiError) AllErrors added in v0.12.0

func (m ConnectionParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectionParametersMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type ConnectionParametersValidationError added in v0.12.0

type ConnectionParametersValidationError struct {
	// contains filtered or unexported fields
}

ConnectionParametersValidationError is the validation error returned by ConnectionParameters.Validate if the designated constraints aren't met.

func (ConnectionParametersValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (ConnectionParametersValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (ConnectionParametersValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (ConnectionParametersValidationError) Field added in v0.12.0

Field function returns field value.

func (ConnectionParametersValidationError) Key added in v0.12.0

Key function returns key value.

func (ConnectionParametersValidationError) Reason added in v0.12.0

Reason function returns reason value.

type ConnectionParameters_AddrType added in v0.12.0

type ConnectionParameters_AddrType int32

AddrType is the type of join addresses included in the request.

const (
	// ADDR is used to join a mesh using an IP or DNS address.
	ConnectionParameters_ADDR ConnectionParameters_AddrType = 0
	// MULTIADDR is used to join a mesh using a multiaddr.
	ConnectionParameters_MULTIADDR ConnectionParameters_AddrType = 1
	// RENDEZVOUS is used to join a mesh using a rendezvous string.
	ConnectionParameters_RENDEZVOUS ConnectionParameters_AddrType = 2
)

func (ConnectionParameters_AddrType) Descriptor added in v0.12.0

func (ConnectionParameters_AddrType) Enum added in v0.12.0

func (ConnectionParameters_AddrType) EnumDescriptor deprecated added in v0.12.0

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

Deprecated: Use ConnectionParameters_AddrType.Descriptor instead.

func (ConnectionParameters_AddrType) Number added in v0.12.0

func (ConnectionParameters_AddrType) String added in v0.12.0

func (ConnectionParameters_AddrType) Type added in v0.12.0

type ConnectionParameters_AuthHeader added in v0.12.0

type ConnectionParameters_AuthHeader int32

AuthHeader is an enumeration of headers that coorespond to the AuthMethod. They are used to pass authentication credentials to the daemon. Enums cannot be used as map keys, so their string values are used instead.

const (
	// BASIC_USERNAME is the username for basic authentication.
	ConnectionParameters_BASIC_USERNAME ConnectionParameters_AuthHeader = 0
	// BASIC_PASSWORD is the password for basic authentication.
	ConnectionParameters_BASIC_PASSWORD ConnectionParameters_AuthHeader = 1
	// LDAP_USERNAME is the username for LDAP authentication.
	ConnectionParameters_LDAP_USERNAME ConnectionParameters_AuthHeader = 2
	// LDAP_PASSWORD is the password for LDAP authentication.
	ConnectionParameters_LDAP_PASSWORD ConnectionParameters_AuthHeader = 3
	// ADDRS_ENVELOPE is the header for a signed envelope containing
	// the join addresses to use to connect to the mesh.
	ConnectionParameters_ADDRS_ENVELOPE ConnectionParameters_AuthHeader = 4
)

func (ConnectionParameters_AuthHeader) Descriptor added in v0.12.0

func (ConnectionParameters_AuthHeader) Enum added in v0.12.0

func (ConnectionParameters_AuthHeader) EnumDescriptor deprecated added in v0.12.0

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

Deprecated: Use ConnectionParameters_AuthHeader.Descriptor instead.

func (ConnectionParameters_AuthHeader) Number added in v0.12.0

func (ConnectionParameters_AuthHeader) String added in v0.12.0

func (ConnectionParameters_AuthHeader) Type added in v0.12.0

type DaemonConnStatus added in v0.11.0

type DaemonConnStatus int32

DaemonConnStatus are the statuses of a mesh connection.

const (
	// DISCONNECTED indicates that the node is not connected to a mesh.
	DaemonConnStatus_DISCONNECTED DaemonConnStatus = 0
	// CONNECTING indicates that the node is in the process of connecting to a mesh.
	DaemonConnStatus_CONNECTING DaemonConnStatus = 1
	// CONNECTED indicates that the node is connected to a mesh.
	DaemonConnStatus_CONNECTED DaemonConnStatus = 2
)

func (DaemonConnStatus) Descriptor added in v0.11.0

func (DaemonConnStatus) Enum added in v0.11.0

func (DaemonConnStatus) EnumDescriptor deprecated added in v0.11.0

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

Deprecated: Use DaemonConnStatus.Descriptor instead.

func (DaemonConnStatus) Number added in v0.11.0

func (DaemonConnStatus) String added in v0.11.0

func (x DaemonConnStatus) String() string

func (DaemonConnStatus) Type added in v0.11.0

type DaemonStatus added in v0.11.0

type DaemonStatus struct {

	// NodeID is the unique identifier of the daemon.
	// This is used for mesh connections from the daemon.
	NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// PublicKey is the public key of the daemon.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// Description is a description of the daemon.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Version is the version of the daemon.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// GitCommit is the git commit of the daemon.
	GitCommit string `protobuf:"bytes,5,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"`
	// BuildDate is the build date of the daemon.
	BuildDate string `protobuf:"bytes,6,opt,name=buildDate,proto3" json:"buildDate,omitempty"`
	// Uptime is the uptime of the daemon.
	Uptime string `protobuf:"bytes,7,opt,name=uptime,proto3" json:"uptime,omitempty"`
	// StartedAt is the time the daemon started.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
	// Connections are a map of known connections to the daemon and their statuses.
	Connections map[string]DaemonConnStatus `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

DaemonStatus contains the information about the daemon.

func (*DaemonStatus) DeepCopy added in v0.11.0

func (in *DaemonStatus) DeepCopy() *DaemonStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonStatus. Required by controller-gen.

func (*DaemonStatus) DeepCopyInterface added in v0.11.0

func (in *DaemonStatus) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DaemonStatus. Required by controller-gen.

func (*DaemonStatus) DeepCopyInto added in v0.11.0

func (in *DaemonStatus) DeepCopyInto(out *DaemonStatus)

DeepCopyInto supports using DaemonStatus within kubernetes types, where deepcopy-gen is used.

func (*DaemonStatus) Descriptor deprecated added in v0.11.0

func (*DaemonStatus) Descriptor() ([]byte, []int)

Deprecated: Use DaemonStatus.ProtoReflect.Descriptor instead.

func (*DaemonStatus) GetBuildDate added in v0.11.0

func (x *DaemonStatus) GetBuildDate() string

func (*DaemonStatus) GetConnections added in v0.11.0

func (x *DaemonStatus) GetConnections() map[string]DaemonConnStatus

func (*DaemonStatus) GetDescription added in v0.11.0

func (x *DaemonStatus) GetDescription() string

func (*DaemonStatus) GetGitCommit added in v0.11.0

func (x *DaemonStatus) GetGitCommit() string

func (*DaemonStatus) GetNodeID added in v0.11.0

func (x *DaemonStatus) GetNodeID() string

func (*DaemonStatus) GetPublicKey added in v0.11.2

func (x *DaemonStatus) GetPublicKey() string

func (*DaemonStatus) GetStartedAt added in v0.11.0

func (x *DaemonStatus) GetStartedAt() *timestamppb.Timestamp

func (*DaemonStatus) GetUptime added in v0.11.0

func (x *DaemonStatus) GetUptime() string

func (*DaemonStatus) GetVersion added in v0.11.0

func (x *DaemonStatus) GetVersion() string

func (*DaemonStatus) ProtoMessage added in v0.11.0

func (*DaemonStatus) ProtoMessage()

func (*DaemonStatus) ProtoReflect added in v0.11.0

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

func (*DaemonStatus) Reset added in v0.11.0

func (x *DaemonStatus) Reset()

func (*DaemonStatus) String added in v0.11.0

func (x *DaemonStatus) String() string

func (*DaemonStatus) Validate added in v0.11.0

func (m *DaemonStatus) Validate() error

Validate checks the field values on DaemonStatus with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DaemonStatus) ValidateAll added in v0.11.0

func (m *DaemonStatus) ValidateAll() error

ValidateAll checks the field values on DaemonStatus with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DaemonStatusMultiError, or nil if none found.

type DaemonStatusMultiError added in v0.11.0

type DaemonStatusMultiError []error

DaemonStatusMultiError is an error wrapping multiple validation errors returned by DaemonStatus.ValidateAll() if the designated constraints aren't met.

func (DaemonStatusMultiError) AllErrors added in v0.11.0

func (m DaemonStatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DaemonStatusMultiError) Error added in v0.11.0

func (m DaemonStatusMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DaemonStatusValidationError added in v0.11.0

type DaemonStatusValidationError struct {
	// contains filtered or unexported fields
}

DaemonStatusValidationError is the validation error returned by DaemonStatus.Validate if the designated constraints aren't met.

func (DaemonStatusValidationError) Cause added in v0.11.0

Cause function returns cause value.

func (DaemonStatusValidationError) Error added in v0.11.0

Error satisfies the builtin error interface

func (DaemonStatusValidationError) ErrorName added in v0.11.0

func (e DaemonStatusValidationError) ErrorName() string

ErrorName returns error name.

func (DaemonStatusValidationError) Field added in v0.11.0

Field function returns field value.

func (DaemonStatusValidationError) Key added in v0.11.0

Key function returns key value.

func (DaemonStatusValidationError) Reason added in v0.11.0

Reason function returns reason value.

type DataChannel

type DataChannel int32

DataChannel are the data channels used when communicating over ICE with a node.

const (
	// CHANNELS is the data channel used for negotiating new channels.
	// This is the first channel that is opened. The ID of the channel
	// should be 0.
	DataChannel_CHANNELS DataChannel = 0
	// CONNECTIONS is the data channel used for negotiating new connections.
	// This is a channel that is opened for each incoming connection from a
	// client. The ID should start at 0 and be incremented for each new connection.
	DataChannel_CONNECTIONS DataChannel = 1
)

func (DataChannel) Descriptor

func (DataChannel) Enum

func (x DataChannel) Enum() *DataChannel

func (DataChannel) EnumDescriptor deprecated

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

Deprecated: Use DataChannel.Descriptor instead.

func (DataChannel) Number

func (x DataChannel) Number() protoreflect.EnumNumber

func (DataChannel) String

func (x DataChannel) String() string

func (DataChannel) Type

type DataChannelNegotiation

type DataChannelNegotiation struct {

	// Proto is the protocol of the traffic.
	Proto string `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"`
	// Src is the address of the client that initiated the request.
	Src string `protobuf:"bytes,2,opt,name=src,proto3" json:"src,omitempty"`
	// Dst is the destination address of the traffic.
	Dst string `protobuf:"bytes,3,opt,name=dst,proto3" json:"dst,omitempty"`
	// Port is the destination port of the traffic.
	Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// Offer is the offer for the node to use as its local description.
	Offer string `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"`
	// Answer is the answer for the node to use as its remote description.
	Answer string `protobuf:"bytes,6,opt,name=answer,proto3" json:"answer,omitempty"`
	// Candidate is an ICE candidate.
	Candidate string `protobuf:"bytes,7,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// StunServers is the list of STUN servers to use.
	StunServers []string `protobuf:"bytes,8,rep,name=stunServers,proto3" json:"stunServers,omitempty"`
	// contains filtered or unexported fields
}

DataChannelNegotiation is the message for communicating data channels to nodes.

func (*DataChannelNegotiation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelNegotiation. Required by controller-gen.

func (*DataChannelNegotiation) DeepCopyInterface

func (in *DataChannelNegotiation) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelNegotiation. Required by controller-gen.

func (*DataChannelNegotiation) DeepCopyInto

func (in *DataChannelNegotiation) DeepCopyInto(out *DataChannelNegotiation)

DeepCopyInto supports using DataChannelNegotiation within kubernetes types, where deepcopy-gen is used.

func (*DataChannelNegotiation) Descriptor deprecated

func (*DataChannelNegotiation) Descriptor() ([]byte, []int)

Deprecated: Use DataChannelNegotiation.ProtoReflect.Descriptor instead.

func (*DataChannelNegotiation) GetAnswer

func (x *DataChannelNegotiation) GetAnswer() string

func (*DataChannelNegotiation) GetCandidate

func (x *DataChannelNegotiation) GetCandidate() string

func (*DataChannelNegotiation) GetDst

func (x *DataChannelNegotiation) GetDst() string

func (*DataChannelNegotiation) GetOffer

func (x *DataChannelNegotiation) GetOffer() string

func (*DataChannelNegotiation) GetPort

func (x *DataChannelNegotiation) GetPort() uint32

func (*DataChannelNegotiation) GetProto

func (x *DataChannelNegotiation) GetProto() string

func (*DataChannelNegotiation) GetSrc

func (x *DataChannelNegotiation) GetSrc() string

func (*DataChannelNegotiation) GetStunServers

func (x *DataChannelNegotiation) GetStunServers() []string

func (*DataChannelNegotiation) ProtoMessage

func (*DataChannelNegotiation) ProtoMessage()

func (*DataChannelNegotiation) ProtoReflect

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

func (*DataChannelNegotiation) Reset

func (x *DataChannelNegotiation) Reset()

func (*DataChannelNegotiation) String

func (x *DataChannelNegotiation) String() string

func (*DataChannelNegotiation) Validate

func (m *DataChannelNegotiation) Validate() error

Validate checks the field values on DataChannelNegotiation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DataChannelNegotiation) ValidateAll

func (m *DataChannelNegotiation) ValidateAll() error

ValidateAll checks the field values on DataChannelNegotiation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataChannelNegotiationMultiError, or nil if none found.

type DataChannelNegotiationMultiError

type DataChannelNegotiationMultiError []error

DataChannelNegotiationMultiError is an error wrapping multiple validation errors returned by DataChannelNegotiation.ValidateAll() if the designated constraints aren't met.

func (DataChannelNegotiationMultiError) AllErrors

func (m DataChannelNegotiationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataChannelNegotiationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataChannelNegotiationValidationError

type DataChannelNegotiationValidationError struct {
	// contains filtered or unexported fields
}

DataChannelNegotiationValidationError is the validation error returned by DataChannelNegotiation.Validate if the designated constraints aren't met.

func (DataChannelNegotiationValidationError) Cause

Cause function returns cause value.

func (DataChannelNegotiationValidationError) Error

Error satisfies the builtin error interface

func (DataChannelNegotiationValidationError) ErrorName

ErrorName returns error name.

func (DataChannelNegotiationValidationError) Field

Field function returns field value.

func (DataChannelNegotiationValidationError) Key

Key function returns key value.

func (DataChannelNegotiationValidationError) Reason

Reason function returns reason value.

type DataChannelOffer

type DataChannelOffer struct {

	// Offer is the offer.
	Offer string `protobuf:"bytes,1,opt,name=offer,proto3" json:"offer,omitempty"`
	// STUNServers is the list of STUN servers to use.
	StunServers []string `protobuf:"bytes,2,rep,name=stunServers,proto3" json:"stunServers,omitempty"`
	// Candidate is an ICE candidate.
	Candidate string `protobuf:"bytes,3,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

DataChannelOffer is an offer for a data channel. Candidates are sent after the offer is sent.

func (*DataChannelOffer) DeepCopy

func (in *DataChannelOffer) DeepCopy() *DataChannelOffer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelOffer. Required by controller-gen.

func (*DataChannelOffer) DeepCopyInterface

func (in *DataChannelOffer) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelOffer. Required by controller-gen.

func (*DataChannelOffer) DeepCopyInto

func (in *DataChannelOffer) DeepCopyInto(out *DataChannelOffer)

DeepCopyInto supports using DataChannelOffer within kubernetes types, where deepcopy-gen is used.

func (*DataChannelOffer) Descriptor deprecated

func (*DataChannelOffer) Descriptor() ([]byte, []int)

Deprecated: Use DataChannelOffer.ProtoReflect.Descriptor instead.

func (*DataChannelOffer) GetCandidate

func (x *DataChannelOffer) GetCandidate() string

func (*DataChannelOffer) GetOffer

func (x *DataChannelOffer) GetOffer() string

func (*DataChannelOffer) GetStunServers

func (x *DataChannelOffer) GetStunServers() []string

func (*DataChannelOffer) ProtoMessage

func (*DataChannelOffer) ProtoMessage()

func (*DataChannelOffer) ProtoReflect

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

func (*DataChannelOffer) Reset

func (x *DataChannelOffer) Reset()

func (*DataChannelOffer) String

func (x *DataChannelOffer) String() string

func (*DataChannelOffer) Validate

func (m *DataChannelOffer) Validate() error

Validate checks the field values on DataChannelOffer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DataChannelOffer) ValidateAll

func (m *DataChannelOffer) ValidateAll() error

ValidateAll checks the field values on DataChannelOffer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataChannelOfferMultiError, or nil if none found.

type DataChannelOfferMultiError

type DataChannelOfferMultiError []error

DataChannelOfferMultiError is an error wrapping multiple validation errors returned by DataChannelOffer.ValidateAll() if the designated constraints aren't met.

func (DataChannelOfferMultiError) AllErrors

func (m DataChannelOfferMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataChannelOfferMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataChannelOfferValidationError

type DataChannelOfferValidationError struct {
	// contains filtered or unexported fields
}

DataChannelOfferValidationError is the validation error returned by DataChannelOffer.Validate if the designated constraints aren't met.

func (DataChannelOfferValidationError) Cause

Cause function returns cause value.

func (DataChannelOfferValidationError) Error

Error satisfies the builtin error interface

func (DataChannelOfferValidationError) ErrorName

ErrorName returns error name.

func (DataChannelOfferValidationError) Field

Field function returns field value.

func (DataChannelOfferValidationError) Key

Key function returns key value.

func (DataChannelOfferValidationError) Reason

Reason function returns reason value.

type DeleteValueRequest

type DeleteValueRequest struct {

	// Key is the key to delete.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

DeleteValueRequest is the request object for the DeleteValue RPC.

func (*DeleteValueRequest) DeepCopy

func (in *DeleteValueRequest) DeepCopy() *DeleteValueRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueRequest. Required by controller-gen.

func (*DeleteValueRequest) DeepCopyInterface

func (in *DeleteValueRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueRequest. Required by controller-gen.

func (*DeleteValueRequest) DeepCopyInto

func (in *DeleteValueRequest) DeepCopyInto(out *DeleteValueRequest)

DeepCopyInto supports using DeleteValueRequest within kubernetes types, where deepcopy-gen is used.

func (*DeleteValueRequest) Descriptor deprecated

func (*DeleteValueRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteValueRequest.ProtoReflect.Descriptor instead.

func (*DeleteValueRequest) GetKey

func (x *DeleteValueRequest) GetKey() []byte

func (*DeleteValueRequest) ProtoMessage

func (*DeleteValueRequest) ProtoMessage()

func (*DeleteValueRequest) ProtoReflect

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

func (*DeleteValueRequest) Reset

func (x *DeleteValueRequest) Reset()

func (*DeleteValueRequest) String

func (x *DeleteValueRequest) String() string

func (*DeleteValueRequest) Validate

func (m *DeleteValueRequest) Validate() error

Validate checks the field values on DeleteValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteValueRequest) ValidateAll

func (m *DeleteValueRequest) ValidateAll() error

ValidateAll checks the field values on DeleteValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteValueRequestMultiError, or nil if none found.

type DeleteValueRequestMultiError

type DeleteValueRequestMultiError []error

DeleteValueRequestMultiError is an error wrapping multiple validation errors returned by DeleteValueRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteValueRequestMultiError) AllErrors

func (m DeleteValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteValueRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteValueRequestValidationError

type DeleteValueRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteValueRequestValidationError is the validation error returned by DeleteValueRequest.Validate if the designated constraints aren't met.

func (DeleteValueRequestValidationError) Cause

Cause function returns cause value.

func (DeleteValueRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteValueRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteValueRequestValidationError) Field

Field function returns field value.

func (DeleteValueRequestValidationError) Key

Key function returns key value.

func (DeleteValueRequestValidationError) Reason

Reason function returns reason value.

type DeleteValueResponse

type DeleteValueResponse struct {
	// contains filtered or unexported fields
}

DeleteValueResponse is the response object for the DeleteValue RPC.

func (*DeleteValueResponse) DeepCopy

func (in *DeleteValueResponse) DeepCopy() *DeleteValueResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueResponse. Required by controller-gen.

func (*DeleteValueResponse) DeepCopyInterface

func (in *DeleteValueResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueResponse. Required by controller-gen.

func (*DeleteValueResponse) DeepCopyInto

func (in *DeleteValueResponse) DeepCopyInto(out *DeleteValueResponse)

DeepCopyInto supports using DeleteValueResponse within kubernetes types, where deepcopy-gen is used.

func (*DeleteValueResponse) Descriptor deprecated

func (*DeleteValueResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteValueResponse.ProtoReflect.Descriptor instead.

func (*DeleteValueResponse) ProtoMessage

func (*DeleteValueResponse) ProtoMessage()

func (*DeleteValueResponse) ProtoReflect

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

func (*DeleteValueResponse) Reset

func (x *DeleteValueResponse) Reset()

func (*DeleteValueResponse) String

func (x *DeleteValueResponse) String() string

func (*DeleteValueResponse) Validate

func (m *DeleteValueResponse) Validate() error

Validate checks the field values on DeleteValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteValueResponse) ValidateAll

func (m *DeleteValueResponse) ValidateAll() error

ValidateAll checks the field values on DeleteValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteValueResponseMultiError, or nil if none found.

type DeleteValueResponseMultiError

type DeleteValueResponseMultiError []error

DeleteValueResponseMultiError is an error wrapping multiple validation errors returned by DeleteValueResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteValueResponseMultiError) AllErrors

func (m DeleteValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteValueResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteValueResponseValidationError

type DeleteValueResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteValueResponseValidationError is the validation error returned by DeleteValueResponse.Validate if the designated constraints aren't met.

func (DeleteValueResponseValidationError) Cause

Cause function returns cause value.

func (DeleteValueResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteValueResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteValueResponseValidationError) Field

Field function returns field value.

func (DeleteValueResponseValidationError) Key

Key function returns key value.

func (DeleteValueResponseValidationError) Reason

Reason function returns reason value.

type DemoteVoterResponse

type DemoteVoterResponse struct {
	// contains filtered or unexported fields
}

DemoteVoterResponse is the response object for the DemoteVoter RPC.

func (*DemoteVoterResponse) DeepCopy

func (in *DemoteVoterResponse) DeepCopy() *DemoteVoterResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoteVoterResponse. Required by controller-gen.

func (*DemoteVoterResponse) DeepCopyInterface

func (in *DemoteVoterResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DemoteVoterResponse. Required by controller-gen.

func (*DemoteVoterResponse) DeepCopyInto

func (in *DemoteVoterResponse) DeepCopyInto(out *DemoteVoterResponse)

DeepCopyInto supports using DemoteVoterResponse within kubernetes types, where deepcopy-gen is used.

func (*DemoteVoterResponse) Descriptor deprecated

func (*DemoteVoterResponse) Descriptor() ([]byte, []int)

Deprecated: Use DemoteVoterResponse.ProtoReflect.Descriptor instead.

func (*DemoteVoterResponse) ProtoMessage

func (*DemoteVoterResponse) ProtoMessage()

func (*DemoteVoterResponse) ProtoReflect

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

func (*DemoteVoterResponse) Reset

func (x *DemoteVoterResponse) Reset()

func (*DemoteVoterResponse) String

func (x *DemoteVoterResponse) String() string

func (*DemoteVoterResponse) Validate

func (m *DemoteVoterResponse) Validate() error

Validate checks the field values on DemoteVoterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DemoteVoterResponse) ValidateAll

func (m *DemoteVoterResponse) ValidateAll() error

ValidateAll checks the field values on DemoteVoterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DemoteVoterResponseMultiError, or nil if none found.

type DemoteVoterResponseMultiError

type DemoteVoterResponseMultiError []error

DemoteVoterResponseMultiError is an error wrapping multiple validation errors returned by DemoteVoterResponse.ValidateAll() if the designated constraints aren't met.

func (DemoteVoterResponseMultiError) AllErrors

func (m DemoteVoterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DemoteVoterResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DemoteVoterResponseValidationError

type DemoteVoterResponseValidationError struct {
	// contains filtered or unexported fields
}

DemoteVoterResponseValidationError is the validation error returned by DemoteVoterResponse.Validate if the designated constraints aren't met.

func (DemoteVoterResponseValidationError) Cause

Cause function returns cause value.

func (DemoteVoterResponseValidationError) Error

Error satisfies the builtin error interface

func (DemoteVoterResponseValidationError) ErrorName

ErrorName returns error name.

func (DemoteVoterResponseValidationError) Field

Field function returns field value.

func (DemoteVoterResponseValidationError) Key

Key function returns key value.

func (DemoteVoterResponseValidationError) Reason

Reason function returns reason value.

type DisconnectRequest

type DisconnectRequest struct {

	// ID is the unique identifier of the connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DisconnectRequest is sent by an application to a daemon to disconnect from a mesh.

func (*DisconnectRequest) DeepCopy

func (in *DisconnectRequest) DeepCopy() *DisconnectRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectRequest. Required by controller-gen.

func (*DisconnectRequest) DeepCopyInterface

func (in *DisconnectRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectRequest. Required by controller-gen.

func (*DisconnectRequest) DeepCopyInto

func (in *DisconnectRequest) DeepCopyInto(out *DisconnectRequest)

DeepCopyInto supports using DisconnectRequest within kubernetes types, where deepcopy-gen is used.

func (*DisconnectRequest) Descriptor deprecated

func (*DisconnectRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.

func (*DisconnectRequest) GetId

func (x *DisconnectRequest) GetId() string

func (*DisconnectRequest) ProtoMessage

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) ProtoReflect

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

func (*DisconnectRequest) Reset

func (x *DisconnectRequest) Reset()

func (*DisconnectRequest) String

func (x *DisconnectRequest) String() string

func (*DisconnectRequest) Validate

func (m *DisconnectRequest) Validate() error

Validate checks the field values on DisconnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DisconnectRequest) ValidateAll

func (m *DisconnectRequest) ValidateAll() error

ValidateAll checks the field values on DisconnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisconnectRequestMultiError, or nil if none found.

type DisconnectRequestMultiError

type DisconnectRequestMultiError []error

DisconnectRequestMultiError is an error wrapping multiple validation errors returned by DisconnectRequest.ValidateAll() if the designated constraints aren't met.

func (DisconnectRequestMultiError) AllErrors

func (m DisconnectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DisconnectRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DisconnectRequestValidationError

type DisconnectRequestValidationError struct {
	// contains filtered or unexported fields
}

DisconnectRequestValidationError is the validation error returned by DisconnectRequest.Validate if the designated constraints aren't met.

func (DisconnectRequestValidationError) Cause

Cause function returns cause value.

func (DisconnectRequestValidationError) Error

Error satisfies the builtin error interface

func (DisconnectRequestValidationError) ErrorName

ErrorName returns error name.

func (DisconnectRequestValidationError) Field

Field function returns field value.

func (DisconnectRequestValidationError) Key

Key function returns key value.

func (DisconnectRequestValidationError) Reason

Reason function returns reason value.

type DisconnectResponse

type DisconnectResponse struct {
	// contains filtered or unexported fields
}

DisconnectResponse is returned by the Disconnect RPC.

func (*DisconnectResponse) DeepCopy

func (in *DisconnectResponse) DeepCopy() *DisconnectResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectResponse. Required by controller-gen.

func (*DisconnectResponse) DeepCopyInterface

func (in *DisconnectResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectResponse. Required by controller-gen.

func (*DisconnectResponse) DeepCopyInto

func (in *DisconnectResponse) DeepCopyInto(out *DisconnectResponse)

DeepCopyInto supports using DisconnectResponse within kubernetes types, where deepcopy-gen is used.

func (*DisconnectResponse) Descriptor deprecated

func (*DisconnectResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.

func (*DisconnectResponse) ProtoMessage

func (*DisconnectResponse) ProtoMessage()

func (*DisconnectResponse) ProtoReflect

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

func (*DisconnectResponse) Reset

func (x *DisconnectResponse) Reset()

func (*DisconnectResponse) String

func (x *DisconnectResponse) String() string

func (*DisconnectResponse) Validate

func (m *DisconnectResponse) Validate() error

Validate checks the field values on DisconnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DisconnectResponse) ValidateAll

func (m *DisconnectResponse) ValidateAll() error

ValidateAll checks the field values on DisconnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisconnectResponseMultiError, or nil if none found.

type DisconnectResponseMultiError

type DisconnectResponseMultiError []error

DisconnectResponseMultiError is an error wrapping multiple validation errors returned by DisconnectResponse.ValidateAll() if the designated constraints aren't met.

func (DisconnectResponseMultiError) AllErrors

func (m DisconnectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DisconnectResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DisconnectResponseValidationError

type DisconnectResponseValidationError struct {
	// contains filtered or unexported fields
}

DisconnectResponseValidationError is the validation error returned by DisconnectResponse.Validate if the designated constraints aren't met.

func (DisconnectResponseValidationError) Cause

Cause function returns cause value.

func (DisconnectResponseValidationError) Error

Error satisfies the builtin error interface

func (DisconnectResponseValidationError) ErrorName

ErrorName returns error name.

func (DisconnectResponseValidationError) Field

Field function returns field value.

func (DisconnectResponseValidationError) Key

Key function returns key value.

func (DisconnectResponseValidationError) Reason

Reason function returns reason value.

type DropConnectionRequest added in v0.12.0

type DropConnectionRequest struct {

	// ID is the unique identifier of this connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DropConnectionRequest is sent by the application to a daemon to drop all storage and information for a mesh connection.

func (*DropConnectionRequest) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropConnectionRequest. Required by controller-gen.

func (*DropConnectionRequest) DeepCopyInterface added in v0.12.0

func (in *DropConnectionRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DropConnectionRequest. Required by controller-gen.

func (*DropConnectionRequest) DeepCopyInto added in v0.12.0

func (in *DropConnectionRequest) DeepCopyInto(out *DropConnectionRequest)

DeepCopyInto supports using DropConnectionRequest within kubernetes types, where deepcopy-gen is used.

func (*DropConnectionRequest) Descriptor deprecated added in v0.12.0

func (*DropConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DropConnectionRequest.ProtoReflect.Descriptor instead.

func (*DropConnectionRequest) GetId added in v0.12.0

func (x *DropConnectionRequest) GetId() string

func (*DropConnectionRequest) ProtoMessage added in v0.12.0

func (*DropConnectionRequest) ProtoMessage()

func (*DropConnectionRequest) ProtoReflect added in v0.12.0

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

func (*DropConnectionRequest) Reset added in v0.12.0

func (x *DropConnectionRequest) Reset()

func (*DropConnectionRequest) String added in v0.12.0

func (x *DropConnectionRequest) String() string

func (*DropConnectionRequest) Validate added in v0.12.0

func (m *DropConnectionRequest) Validate() error

Validate checks the field values on DropConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DropConnectionRequest) ValidateAll added in v0.12.0

func (m *DropConnectionRequest) ValidateAll() error

ValidateAll checks the field values on DropConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DropConnectionRequestMultiError, or nil if none found.

type DropConnectionRequestMultiError added in v0.12.0

type DropConnectionRequestMultiError []error

DropConnectionRequestMultiError is an error wrapping multiple validation errors returned by DropConnectionRequest.ValidateAll() if the designated constraints aren't met.

func (DropConnectionRequestMultiError) AllErrors added in v0.12.0

func (m DropConnectionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DropConnectionRequestMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type DropConnectionRequestValidationError added in v0.12.0

type DropConnectionRequestValidationError struct {
	// contains filtered or unexported fields
}

DropConnectionRequestValidationError is the validation error returned by DropConnectionRequest.Validate if the designated constraints aren't met.

func (DropConnectionRequestValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (DropConnectionRequestValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (DropConnectionRequestValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (DropConnectionRequestValidationError) Field added in v0.12.0

Field function returns field value.

func (DropConnectionRequestValidationError) Key added in v0.12.0

Key function returns key value.

func (DropConnectionRequestValidationError) Reason added in v0.12.0

Reason function returns reason value.

type DropConnectionResponse added in v0.12.0

type DropConnectionResponse struct {
	// contains filtered or unexported fields
}

DropConnectionResponse is a message returned for a drop request.

func (*DropConnectionResponse) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropConnectionResponse. Required by controller-gen.

func (*DropConnectionResponse) DeepCopyInterface added in v0.12.0

func (in *DropConnectionResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DropConnectionResponse. Required by controller-gen.

func (*DropConnectionResponse) DeepCopyInto added in v0.12.0

func (in *DropConnectionResponse) DeepCopyInto(out *DropConnectionResponse)

DeepCopyInto supports using DropConnectionResponse within kubernetes types, where deepcopy-gen is used.

func (*DropConnectionResponse) Descriptor deprecated added in v0.12.0

func (*DropConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use DropConnectionResponse.ProtoReflect.Descriptor instead.

func (*DropConnectionResponse) ProtoMessage added in v0.12.0

func (*DropConnectionResponse) ProtoMessage()

func (*DropConnectionResponse) ProtoReflect added in v0.12.0

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

func (*DropConnectionResponse) Reset added in v0.12.0

func (x *DropConnectionResponse) Reset()

func (*DropConnectionResponse) String added in v0.12.0

func (x *DropConnectionResponse) String() string

func (*DropConnectionResponse) Validate added in v0.12.0

func (m *DropConnectionResponse) Validate() error

Validate checks the field values on DropConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DropConnectionResponse) ValidateAll added in v0.12.0

func (m *DropConnectionResponse) ValidateAll() error

ValidateAll checks the field values on DropConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DropConnectionResponseMultiError, or nil if none found.

type DropConnectionResponseMultiError added in v0.12.0

type DropConnectionResponseMultiError []error

DropConnectionResponseMultiError is an error wrapping multiple validation errors returned by DropConnectionResponse.ValidateAll() if the designated constraints aren't met.

func (DropConnectionResponseMultiError) AllErrors added in v0.12.0

func (m DropConnectionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DropConnectionResponseMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type DropConnectionResponseValidationError added in v0.12.0

type DropConnectionResponseValidationError struct {
	// contains filtered or unexported fields
}

DropConnectionResponseValidationError is the validation error returned by DropConnectionResponse.Validate if the designated constraints aren't met.

func (DropConnectionResponseValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (DropConnectionResponseValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (DropConnectionResponseValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (DropConnectionResponseValidationError) Field added in v0.12.0

Field function returns field value.

func (DropConnectionResponseValidationError) Key added in v0.12.0

Key function returns key value.

func (DropConnectionResponseValidationError) Reason added in v0.12.0

Reason function returns reason value.

type EdgeAttribute

type EdgeAttribute int32

EdgeAttribute are pre-defined edge attributes. They should be used as their string values.

const (
	// EDGE_ATTRIBUTE_UNKNOWN is an unknown edge attribute.
	EdgeAttribute_EDGE_ATTRIBUTE_UNKNOWN EdgeAttribute = 0
	// EDGE_ATTRIBUTE_NATIVE is a native edge attribute.
	EdgeAttribute_EDGE_ATTRIBUTE_NATIVE EdgeAttribute = 1
	// EDGE_ATTRIBUTE_ICE is an ICE edge attribute.
	EdgeAttribute_EDGE_ATTRIBUTE_ICE EdgeAttribute = 2
	// EDGE_ATTRIBUTE_LIBP2P is a libp2p edge attribute.
	EdgeAttribute_EDGE_ATTRIBUTE_LIBP2P EdgeAttribute = 3
)

func (EdgeAttribute) Descriptor

func (EdgeAttribute) Enum

func (x EdgeAttribute) Enum() *EdgeAttribute

func (EdgeAttribute) EnumDescriptor deprecated

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

Deprecated: Use EdgeAttribute.Descriptor instead.

func (EdgeAttribute) Number

func (EdgeAttribute) String

func (x EdgeAttribute) String() string

func (EdgeAttribute) Type

type Event

type Event struct {

	// Type is the type of the watch event.
	Type Event_WatchEvent `protobuf:"varint,1,opt,name=type,proto3,enum=v1.Event_WatchEvent" json:"type,omitempty"`
	// Event is the data of the watch event.
	//
	// Types that are assignable to Event:
	//
	//	*Event_Node
	Event isEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

Event is the message containing a watch event.

func (*Event) DeepCopy

func (in *Event) DeepCopy() *Event

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. Required by controller-gen.

func (*Event) DeepCopyInterface

func (in *Event) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Event. Required by controller-gen.

func (*Event) DeepCopyInto

func (in *Event) DeepCopyInto(out *Event)

DeepCopyInto supports using Event within kubernetes types, where deepcopy-gen is used.

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetEvent

func (m *Event) GetEvent() isEvent_Event

func (*Event) GetNode

func (x *Event) GetNode() *MeshNode

func (*Event) GetType

func (x *Event) GetType() Event_WatchEvent

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

func (*Event) Validate

func (m *Event) Validate() error

Validate checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Event) ValidateAll

func (m *Event) ValidateAll() error

ValidateAll checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventMultiError, or nil if none found.

type EventMultiError

type EventMultiError []error

EventMultiError is an error wrapping multiple validation errors returned by Event.ValidateAll() if the designated constraints aren't met.

func (EventMultiError) AllErrors

func (m EventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventMultiError) Error

func (m EventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EventValidationError

type EventValidationError struct {
	// contains filtered or unexported fields
}

EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.

func (EventValidationError) Cause

func (e EventValidationError) Cause() error

Cause function returns cause value.

func (EventValidationError) Error

func (e EventValidationError) Error() string

Error satisfies the builtin error interface

func (EventValidationError) ErrorName

func (e EventValidationError) ErrorName() string

ErrorName returns error name.

func (EventValidationError) Field

func (e EventValidationError) Field() string

Field function returns field value.

func (EventValidationError) Key

func (e EventValidationError) Key() bool

Key function returns key value.

func (EventValidationError) Reason

func (e EventValidationError) Reason() string

Reason function returns reason value.

type Event_Node

type Event_Node struct {
	// Node is the node that the event is about.
	Node *MeshNode `protobuf:"bytes,2,opt,name=node,proto3,oneof"`
}

type Event_WatchEvent

type Event_WatchEvent int32

WatchEvent is the type of a watch event.

const (
	// UNKNOWN is the default value of WatchEvent.
	Event_UNKNOWN Event_WatchEvent = 0
	// NODE_JOIN indicates that a node has joined the cluster.
	Event_NODE_JOIN Event_WatchEvent = 1
	// NODE_LEAVE indicates that a node has left the cluster.
	Event_NODE_LEAVE Event_WatchEvent = 2
	// LEADER_CHANGE indicates that the leader of the cluster has changed.
	Event_LEADER_CHANGE Event_WatchEvent = 3
)

func (Event_WatchEvent) Descriptor

func (Event_WatchEvent) Enum

func (Event_WatchEvent) EnumDescriptor deprecated

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

Deprecated: Use Event_WatchEvent.Descriptor instead.

func (Event_WatchEvent) Number

func (Event_WatchEvent) String

func (x Event_WatchEvent) String() string

func (Event_WatchEvent) Type

type Feature

type Feature int32

Feature is a list of features supported by a node.

const (
	// FEATURE_NONE is the default feature set.
	Feature_FEATURE_NONE Feature = 0
	// NODES is the feature for nodes. This is always supported.
	Feature_NODES Feature = 1
	// LEADER_PROXY is the feature for leader proxying.
	Feature_LEADER_PROXY Feature = 2
	// MESH_API is the feature for the mesh API.
	// This will be deprecated in favor of the MEMBERSHIP feature.
	Feature_MESH_API Feature = 3
	// ADMIN_API is the feature for the admin API.
	Feature_ADMIN_API Feature = 4
	// MEMBERSHIP is the feature for membership. This is always supported on storage-providing members.
	Feature_MEMBERSHIP Feature = 5
	// METRICS is the feature for exposing metrics.
	Feature_METRICS Feature = 6
	// ICE_NEGOTIATION is the feature for ICE negotiation.
	Feature_ICE_NEGOTIATION Feature = 7
	// TURN_SERVER is the feature for TURN server.
	Feature_TURN_SERVER Feature = 8
	// MESH_DNS is the feature for mesh DNS.
	Feature_MESH_DNS Feature = 9
	// FORWARD_MESH_DNS is the feature for forwarding mesh DNS lookups to other meshes.
	Feature_FORWARD_MESH_DNS Feature = 10
	// STORAGE_QUERIER is the feature for querying, publishing, and subscribing to mesh state.
	Feature_STORAGE_QUERIER Feature = 11
	// STORAGE_PROVIDER is the feature for being able to provide distributed storage.
	Feature_STORAGE_PROVIDER Feature = 12
	// REGISTRAR is the feature for being able to register aliases to node IDs and/or public keys.
	Feature_REGISTRAR Feature = 13
)

func (Feature) Descriptor

func (Feature) Descriptor() protoreflect.EnumDescriptor

func (Feature) Enum

func (x Feature) Enum() *Feature

func (Feature) EnumDescriptor deprecated

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

Deprecated: Use Feature.Descriptor instead.

func (Feature) Number

func (x Feature) Number() protoreflect.EnumNumber

func (Feature) String

func (x Feature) String() string

func (Feature) Type

func (Feature) Type() protoreflect.EnumType

type FeaturePort

type FeaturePort struct {

	// Feature is the feature advertised on the port.
	Feature Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=v1.Feature" json:"feature,omitempty"`
	// Port is the port the feature is advertised on.
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

FeaturePort describes a feature and the port it is advertised on.

func (*FeaturePort) DeepCopy

func (in *FeaturePort) DeepCopy() *FeaturePort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePort. Required by controller-gen.

func (*FeaturePort) DeepCopyInterface

func (in *FeaturePort) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePort. Required by controller-gen.

func (*FeaturePort) DeepCopyInto

func (in *FeaturePort) DeepCopyInto(out *FeaturePort)

DeepCopyInto supports using FeaturePort within kubernetes types, where deepcopy-gen is used.

func (*FeaturePort) Descriptor deprecated

func (*FeaturePort) Descriptor() ([]byte, []int)

Deprecated: Use FeaturePort.ProtoReflect.Descriptor instead.

func (*FeaturePort) GetFeature

func (x *FeaturePort) GetFeature() Feature

func (*FeaturePort) GetPort

func (x *FeaturePort) GetPort() int32

func (*FeaturePort) ProtoMessage

func (*FeaturePort) ProtoMessage()

func (*FeaturePort) ProtoReflect

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

func (*FeaturePort) Reset

func (x *FeaturePort) Reset()

func (*FeaturePort) String

func (x *FeaturePort) String() string

func (*FeaturePort) Validate

func (m *FeaturePort) Validate() error

Validate checks the field values on FeaturePort with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FeaturePort) ValidateAll

func (m *FeaturePort) ValidateAll() error

ValidateAll checks the field values on FeaturePort with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FeaturePortMultiError, or nil if none found.

type FeaturePortMultiError

type FeaturePortMultiError []error

FeaturePortMultiError is an error wrapping multiple validation errors returned by FeaturePort.ValidateAll() if the designated constraints aren't met.

func (FeaturePortMultiError) AllErrors

func (m FeaturePortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeaturePortMultiError) Error

func (m FeaturePortMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FeaturePortValidationError

type FeaturePortValidationError struct {
	// contains filtered or unexported fields
}

FeaturePortValidationError is the validation error returned by FeaturePort.Validate if the designated constraints aren't met.

func (FeaturePortValidationError) Cause

Cause function returns cause value.

func (FeaturePortValidationError) Error

Error satisfies the builtin error interface

func (FeaturePortValidationError) ErrorName

func (e FeaturePortValidationError) ErrorName() string

ErrorName returns error name.

func (FeaturePortValidationError) Field

Field function returns field value.

func (FeaturePortValidationError) Key

Key function returns key value.

func (FeaturePortValidationError) Reason

Reason function returns reason value.

type GetConnectionRequest added in v0.12.0

type GetConnectionRequest struct {

	// ID is the unique identifier of the connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetConnectionRequest is sent by an application to a daemon to retrieve the parameters and current status of a mesh connection.

func (*GetConnectionRequest) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetConnectionRequest. Required by controller-gen.

func (*GetConnectionRequest) DeepCopyInterface added in v0.12.0

func (in *GetConnectionRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetConnectionRequest. Required by controller-gen.

func (*GetConnectionRequest) DeepCopyInto added in v0.12.0

func (in *GetConnectionRequest) DeepCopyInto(out *GetConnectionRequest)

DeepCopyInto supports using GetConnectionRequest within kubernetes types, where deepcopy-gen is used.

func (*GetConnectionRequest) Descriptor deprecated added in v0.12.0

func (*GetConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetConnectionRequest) GetId added in v0.12.0

func (x *GetConnectionRequest) GetId() string

func (*GetConnectionRequest) ProtoMessage added in v0.12.0

func (*GetConnectionRequest) ProtoMessage()

func (*GetConnectionRequest) ProtoReflect added in v0.12.0

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

func (*GetConnectionRequest) Reset added in v0.12.0

func (x *GetConnectionRequest) Reset()

func (*GetConnectionRequest) String added in v0.12.0

func (x *GetConnectionRequest) String() string

func (*GetConnectionRequest) Validate added in v0.12.0

func (m *GetConnectionRequest) Validate() error

Validate checks the field values on GetConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectionRequest) ValidateAll added in v0.12.0

func (m *GetConnectionRequest) ValidateAll() error

ValidateAll checks the field values on GetConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectionRequestMultiError, or nil if none found.

type GetConnectionRequestMultiError added in v0.12.0

type GetConnectionRequestMultiError []error

GetConnectionRequestMultiError is an error wrapping multiple validation errors returned by GetConnectionRequest.ValidateAll() if the designated constraints aren't met.

func (GetConnectionRequestMultiError) AllErrors added in v0.12.0

func (m GetConnectionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConnectionRequestMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type GetConnectionRequestValidationError added in v0.12.0

type GetConnectionRequestValidationError struct {
	// contains filtered or unexported fields
}

GetConnectionRequestValidationError is the validation error returned by GetConnectionRequest.Validate if the designated constraints aren't met.

func (GetConnectionRequestValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (GetConnectionRequestValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (GetConnectionRequestValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (GetConnectionRequestValidationError) Field added in v0.12.0

Field function returns field value.

func (GetConnectionRequestValidationError) Key added in v0.12.0

Key function returns key value.

func (GetConnectionRequestValidationError) Reason added in v0.12.0

Reason function returns reason value.

type GetConnectionResponse added in v0.12.0

type GetConnectionResponse struct {

	// Status is the status of the connection.
	Status DaemonConnStatus `protobuf:"varint,1,opt,name=status,proto3,enum=v1.DaemonConnStatus" json:"status,omitempty"`
	// Parameters are the parameters for the connection.
	Parameters *ConnectionParameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Metadata are arbitrary key/value pairs stored with the connection.
	Metadata *structpb.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Node is the node information for the connection.
	// This is only populated when the connection is connected.
	Node *MeshNode `protobuf:"bytes,4,opt,name=node,proto3" json:"node,omitempty"`
	// IPv4Network is the IPv4 network of the mesh.
	// This is only populated when the connection is connected.
	Ipv4Network string `protobuf:"bytes,5,opt,name=ipv4Network,proto3" json:"ipv4Network,omitempty"`
	// IPv6Network is the IPv6 network of the mesh.
	// This is only populated when the connection is connected.
	Ipv6Network string `protobuf:"bytes,6,opt,name=ipv6Network,proto3" json:"ipv6Network,omitempty"`
	// Domain is the domain of the mesh.
	// This is only populated when the connection is connected.
	Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

GetConnectionResponse is returned by the GetConnection RPC.

func (*GetConnectionResponse) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetConnectionResponse. Required by controller-gen.

func (*GetConnectionResponse) DeepCopyInterface added in v0.12.0

func (in *GetConnectionResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetConnectionResponse. Required by controller-gen.

func (*GetConnectionResponse) DeepCopyInto added in v0.12.0

func (in *GetConnectionResponse) DeepCopyInto(out *GetConnectionResponse)

DeepCopyInto supports using GetConnectionResponse within kubernetes types, where deepcopy-gen is used.

func (*GetConnectionResponse) Descriptor deprecated added in v0.12.0

func (*GetConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectionResponse.ProtoReflect.Descriptor instead.

func (*GetConnectionResponse) GetDomain added in v0.12.2

func (x *GetConnectionResponse) GetDomain() string

func (*GetConnectionResponse) GetIpv4Network added in v0.12.2

func (x *GetConnectionResponse) GetIpv4Network() string

func (*GetConnectionResponse) GetIpv6Network added in v0.12.2

func (x *GetConnectionResponse) GetIpv6Network() string

func (*GetConnectionResponse) GetMetadata added in v0.12.0

func (x *GetConnectionResponse) GetMetadata() *structpb.Struct

func (*GetConnectionResponse) GetNode added in v0.12.0

func (x *GetConnectionResponse) GetNode() *MeshNode

func (*GetConnectionResponse) GetParameters added in v0.12.0

func (x *GetConnectionResponse) GetParameters() *ConnectionParameters

func (*GetConnectionResponse) GetStatus added in v0.12.0

func (x *GetConnectionResponse) GetStatus() DaemonConnStatus

func (*GetConnectionResponse) ProtoMessage added in v0.12.0

func (*GetConnectionResponse) ProtoMessage()

func (*GetConnectionResponse) ProtoReflect added in v0.12.0

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

func (*GetConnectionResponse) Reset added in v0.12.0

func (x *GetConnectionResponse) Reset()

func (*GetConnectionResponse) String added in v0.12.0

func (x *GetConnectionResponse) String() string

func (*GetConnectionResponse) Validate added in v0.12.0

func (m *GetConnectionResponse) Validate() error

Validate checks the field values on GetConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectionResponse) ValidateAll added in v0.12.0

func (m *GetConnectionResponse) ValidateAll() error

ValidateAll checks the field values on GetConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectionResponseMultiError, or nil if none found.

type GetConnectionResponseMultiError added in v0.12.0

type GetConnectionResponseMultiError []error

GetConnectionResponseMultiError is an error wrapping multiple validation errors returned by GetConnectionResponse.ValidateAll() if the designated constraints aren't met.

func (GetConnectionResponseMultiError) AllErrors added in v0.12.0

func (m GetConnectionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConnectionResponseMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type GetConnectionResponseValidationError added in v0.12.0

type GetConnectionResponseValidationError struct {
	// contains filtered or unexported fields
}

GetConnectionResponseValidationError is the validation error returned by GetConnectionResponse.Validate if the designated constraints aren't met.

func (GetConnectionResponseValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (GetConnectionResponseValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (GetConnectionResponseValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (GetConnectionResponseValidationError) Field added in v0.12.0

Field function returns field value.

func (GetConnectionResponseValidationError) Key added in v0.12.0

Key function returns key value.

func (GetConnectionResponseValidationError) Reason added in v0.12.0

Reason function returns reason value.

type GetLeaderRequest

type GetLeaderRequest struct {
	// contains filtered or unexported fields
}

GetLeaderRequest is the request object for the GetLeader RPC.

func (*GetLeaderRequest) DeepCopy

func (in *GetLeaderRequest) DeepCopy() *GetLeaderRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetLeaderRequest. Required by controller-gen.

func (*GetLeaderRequest) DeepCopyInterface

func (in *GetLeaderRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetLeaderRequest. Required by controller-gen.

func (*GetLeaderRequest) DeepCopyInto

func (in *GetLeaderRequest) DeepCopyInto(out *GetLeaderRequest)

DeepCopyInto supports using GetLeaderRequest within kubernetes types, where deepcopy-gen is used.

func (*GetLeaderRequest) Descriptor deprecated

func (*GetLeaderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLeaderRequest.ProtoReflect.Descriptor instead.

func (*GetLeaderRequest) ProtoMessage

func (*GetLeaderRequest) ProtoMessage()

func (*GetLeaderRequest) ProtoReflect

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

func (*GetLeaderRequest) Reset

func (x *GetLeaderRequest) Reset()

func (*GetLeaderRequest) String

func (x *GetLeaderRequest) String() string

func (*GetLeaderRequest) Validate

func (m *GetLeaderRequest) Validate() error

Validate checks the field values on GetLeaderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetLeaderRequest) ValidateAll

func (m *GetLeaderRequest) ValidateAll() error

ValidateAll checks the field values on GetLeaderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetLeaderRequestMultiError, or nil if none found.

type GetLeaderRequestMultiError

type GetLeaderRequestMultiError []error

GetLeaderRequestMultiError is an error wrapping multiple validation errors returned by GetLeaderRequest.ValidateAll() if the designated constraints aren't met.

func (GetLeaderRequestMultiError) AllErrors

func (m GetLeaderRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLeaderRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLeaderRequestValidationError

type GetLeaderRequestValidationError struct {
	// contains filtered or unexported fields
}

GetLeaderRequestValidationError is the validation error returned by GetLeaderRequest.Validate if the designated constraints aren't met.

func (GetLeaderRequestValidationError) Cause

Cause function returns cause value.

func (GetLeaderRequestValidationError) Error

Error satisfies the builtin error interface

func (GetLeaderRequestValidationError) ErrorName

ErrorName returns error name.

func (GetLeaderRequestValidationError) Field

Field function returns field value.

func (GetLeaderRequestValidationError) Key

Key function returns key value.

func (GetLeaderRequestValidationError) Reason

Reason function returns reason value.

type GetNodeRequest

type GetNodeRequest struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetNodeRequest is a request to get a node.

func (*GetNodeRequest) DeepCopy

func (in *GetNodeRequest) DeepCopy() *GetNodeRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetNodeRequest. Required by controller-gen.

func (*GetNodeRequest) DeepCopyInterface

func (in *GetNodeRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetNodeRequest. Required by controller-gen.

func (*GetNodeRequest) DeepCopyInto

func (in *GetNodeRequest) DeepCopyInto(out *GetNodeRequest)

DeepCopyInto supports using GetNodeRequest within kubernetes types, where deepcopy-gen is used.

func (*GetNodeRequest) Descriptor deprecated

func (*GetNodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.

func (*GetNodeRequest) GetId

func (x *GetNodeRequest) GetId() string

func (*GetNodeRequest) ProtoMessage

func (*GetNodeRequest) ProtoMessage()

func (*GetNodeRequest) ProtoReflect

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

func (*GetNodeRequest) Reset

func (x *GetNodeRequest) Reset()

func (*GetNodeRequest) String

func (x *GetNodeRequest) String() string

func (*GetNodeRequest) Validate

func (m *GetNodeRequest) Validate() error

Validate checks the field values on GetNodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNodeRequest) ValidateAll

func (m *GetNodeRequest) ValidateAll() error

ValidateAll checks the field values on GetNodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeRequestMultiError, or nil if none found.

type GetNodeRequestMultiError

type GetNodeRequestMultiError []error

GetNodeRequestMultiError is an error wrapping multiple validation errors returned by GetNodeRequest.ValidateAll() if the designated constraints aren't met.

func (GetNodeRequestMultiError) AllErrors

func (m GetNodeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeRequestMultiError) Error

func (m GetNodeRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetNodeRequestValidationError

type GetNodeRequestValidationError struct {
	// contains filtered or unexported fields
}

GetNodeRequestValidationError is the validation error returned by GetNodeRequest.Validate if the designated constraints aren't met.

func (GetNodeRequestValidationError) Cause

Cause function returns cause value.

func (GetNodeRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNodeRequestValidationError) ErrorName

func (e GetNodeRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetNodeRequestValidationError) Field

Field function returns field value.

func (GetNodeRequestValidationError) Key

Key function returns key value.

func (GetNodeRequestValidationError) Reason

Reason function returns reason value.

type GetPeersRequest

type GetPeersRequest struct {
	// contains filtered or unexported fields
}

GetPeersRequest is the request object for the GetPeers RPC.

func (*GetPeersRequest) DeepCopy

func (in *GetPeersRequest) DeepCopy() *GetPeersRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPeersRequest. Required by controller-gen.

func (*GetPeersRequest) DeepCopyInterface

func (in *GetPeersRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPeersRequest. Required by controller-gen.

func (*GetPeersRequest) DeepCopyInto

func (in *GetPeersRequest) DeepCopyInto(out *GetPeersRequest)

DeepCopyInto supports using GetPeersRequest within kubernetes types, where deepcopy-gen is used.

func (*GetPeersRequest) Descriptor deprecated

func (*GetPeersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPeersRequest.ProtoReflect.Descriptor instead.

func (*GetPeersRequest) ProtoMessage

func (*GetPeersRequest) ProtoMessage()

func (*GetPeersRequest) ProtoReflect

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

func (*GetPeersRequest) Reset

func (x *GetPeersRequest) Reset()

func (*GetPeersRequest) String

func (x *GetPeersRequest) String() string

func (*GetPeersRequest) Validate

func (m *GetPeersRequest) Validate() error

Validate checks the field values on GetPeersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPeersRequest) ValidateAll

func (m *GetPeersRequest) ValidateAll() error

ValidateAll checks the field values on GetPeersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPeersRequestMultiError, or nil if none found.

type GetPeersRequestMultiError

type GetPeersRequestMultiError []error

GetPeersRequestMultiError is an error wrapping multiple validation errors returned by GetPeersRequest.ValidateAll() if the designated constraints aren't met.

func (GetPeersRequestMultiError) AllErrors

func (m GetPeersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPeersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPeersRequestValidationError

type GetPeersRequestValidationError struct {
	// contains filtered or unexported fields
}

GetPeersRequestValidationError is the validation error returned by GetPeersRequest.Validate if the designated constraints aren't met.

func (GetPeersRequestValidationError) Cause

Cause function returns cause value.

func (GetPeersRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPeersRequestValidationError) ErrorName

func (e GetPeersRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetPeersRequestValidationError) Field

Field function returns field value.

func (GetPeersRequestValidationError) Key

Key function returns key value.

func (GetPeersRequestValidationError) Reason

Reason function returns reason value.

type GetStatusRequest

type GetStatusRequest struct {

	// ID is the ID of the node. If unset, the status of the local node is returned.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetStatusRequest is a request to get the status of a node.

func (*GetStatusRequest) DeepCopy

func (in *GetStatusRequest) DeepCopy() *GetStatusRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetStatusRequest. Required by controller-gen.

func (*GetStatusRequest) DeepCopyInterface

func (in *GetStatusRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetStatusRequest. Required by controller-gen.

func (*GetStatusRequest) DeepCopyInto

func (in *GetStatusRequest) DeepCopyInto(out *GetStatusRequest)

DeepCopyInto supports using GetStatusRequest within kubernetes types, where deepcopy-gen is used.

func (*GetStatusRequest) Descriptor deprecated

func (*GetStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) GetId

func (x *GetStatusRequest) GetId() string

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

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

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

func (*GetStatusRequest) Validate

func (m *GetStatusRequest) Validate() error

Validate checks the field values on GetStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetStatusRequest) ValidateAll

func (m *GetStatusRequest) ValidateAll() error

ValidateAll checks the field values on GetStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStatusRequestMultiError, or nil if none found.

type GetStatusRequestMultiError

type GetStatusRequestMultiError []error

GetStatusRequestMultiError is an error wrapping multiple validation errors returned by GetStatusRequest.ValidateAll() if the designated constraints aren't met.

func (GetStatusRequestMultiError) AllErrors

func (m GetStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetStatusRequestValidationError

type GetStatusRequestValidationError struct {
	// contains filtered or unexported fields
}

GetStatusRequestValidationError is the validation error returned by GetStatusRequest.Validate if the designated constraints aren't met.

func (GetStatusRequestValidationError) Cause

Cause function returns cause value.

func (GetStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (GetStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (GetStatusRequestValidationError) Field

Field function returns field value.

func (GetStatusRequestValidationError) Key

Key function returns key value.

func (GetStatusRequestValidationError) Reason

Reason function returns reason value.

type GetValueRequest

type GetValueRequest struct {

	// Key is the key to get the value for.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

GetValueRequest is the request object for the GetValue RPC.

func (*GetValueRequest) DeepCopy

func (in *GetValueRequest) DeepCopy() *GetValueRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetValueRequest. Required by controller-gen.

func (*GetValueRequest) DeepCopyInterface

func (in *GetValueRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetValueRequest. Required by controller-gen.

func (*GetValueRequest) DeepCopyInto

func (in *GetValueRequest) DeepCopyInto(out *GetValueRequest)

DeepCopyInto supports using GetValueRequest within kubernetes types, where deepcopy-gen is used.

func (*GetValueRequest) Descriptor deprecated

func (*GetValueRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.

func (*GetValueRequest) GetKey

func (x *GetValueRequest) GetKey() []byte

func (*GetValueRequest) ProtoMessage

func (*GetValueRequest) ProtoMessage()

func (*GetValueRequest) ProtoReflect

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

func (*GetValueRequest) Reset

func (x *GetValueRequest) Reset()

func (*GetValueRequest) String

func (x *GetValueRequest) String() string

func (*GetValueRequest) Validate

func (m *GetValueRequest) Validate() error

Validate checks the field values on GetValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetValueRequest) ValidateAll

func (m *GetValueRequest) ValidateAll() error

ValidateAll checks the field values on GetValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetValueRequestMultiError, or nil if none found.

type GetValueRequestMultiError

type GetValueRequestMultiError []error

GetValueRequestMultiError is an error wrapping multiple validation errors returned by GetValueRequest.ValidateAll() if the designated constraints aren't met.

func (GetValueRequestMultiError) AllErrors

func (m GetValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetValueRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetValueRequestValidationError

type GetValueRequestValidationError struct {
	// contains filtered or unexported fields
}

GetValueRequestValidationError is the validation error returned by GetValueRequest.Validate if the designated constraints aren't met.

func (GetValueRequestValidationError) Cause

Cause function returns cause value.

func (GetValueRequestValidationError) Error

Error satisfies the builtin error interface

func (GetValueRequestValidationError) ErrorName

func (e GetValueRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetValueRequestValidationError) Field

Field function returns field value.

func (GetValueRequestValidationError) Key

Key function returns key value.

func (GetValueRequestValidationError) Reason

Reason function returns reason value.

type GetValueResponse

type GetValueResponse struct {

	// Value is the value of the key.
	Value *StorageValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetValueResponse is the response object for the GetValue RPC.

func (*GetValueResponse) DeepCopy

func (in *GetValueResponse) DeepCopy() *GetValueResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetValueResponse. Required by controller-gen.

func (*GetValueResponse) DeepCopyInterface

func (in *GetValueResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetValueResponse. Required by controller-gen.

func (*GetValueResponse) DeepCopyInto

func (in *GetValueResponse) DeepCopyInto(out *GetValueResponse)

DeepCopyInto supports using GetValueResponse within kubernetes types, where deepcopy-gen is used.

func (*GetValueResponse) Descriptor deprecated

func (*GetValueResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.

func (*GetValueResponse) GetValue

func (x *GetValueResponse) GetValue() *StorageValue

func (*GetValueResponse) ProtoMessage

func (*GetValueResponse) ProtoMessage()

func (*GetValueResponse) ProtoReflect

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

func (*GetValueResponse) Reset

func (x *GetValueResponse) Reset()

func (*GetValueResponse) String

func (x *GetValueResponse) String() string

func (*GetValueResponse) Validate

func (m *GetValueResponse) Validate() error

Validate checks the field values on GetValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetValueResponse) ValidateAll

func (m *GetValueResponse) ValidateAll() error

ValidateAll checks the field values on GetValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetValueResponseMultiError, or nil if none found.

type GetValueResponseMultiError

type GetValueResponseMultiError []error

GetValueResponseMultiError is an error wrapping multiple validation errors returned by GetValueResponse.ValidateAll() if the designated constraints aren't met.

func (GetValueResponseMultiError) AllErrors

func (m GetValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetValueResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetValueResponseValidationError

type GetValueResponseValidationError struct {
	// contains filtered or unexported fields
}

GetValueResponseValidationError is the validation error returned by GetValueResponse.Validate if the designated constraints aren't met.

func (GetValueResponseValidationError) Cause

Cause function returns cause value.

func (GetValueResponseValidationError) Error

Error satisfies the builtin error interface

func (GetValueResponseValidationError) ErrorName

ErrorName returns error name.

func (GetValueResponseValidationError) Field

Field function returns field value.

func (GetValueResponseValidationError) Key

Key function returns key value.

func (GetValueResponseValidationError) Reason

Reason function returns reason value.

type Group

type Group struct {

	// Name is the name of the group.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Subjects is the list of subjects in the group.
	Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"`
	// contains filtered or unexported fields
}

Group is a group of subjects.

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group. Required by controller-gen.

func (*Group) DeepCopyInterface

func (in *Group) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Group. Required by controller-gen.

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

DeepCopyInto supports using Group within kubernetes types, where deepcopy-gen is used.

func (*Group) Descriptor deprecated

func (*Group) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetSubjects

func (x *Group) GetSubjects() []*Subject

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) Validate

func (m *Group) Validate() error

Validate checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Group) ValidateAll

func (m *Group) ValidateAll() error

ValidateAll checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupMultiError, or nil if none found.

type GroupMultiError

type GroupMultiError []error

GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.

func (GroupMultiError) AllErrors

func (m GroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupMultiError) Error

func (m GroupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupValidationError

type GroupValidationError struct {
	// contains filtered or unexported fields
}

GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.

func (GroupValidationError) Cause

func (e GroupValidationError) Cause() error

Cause function returns cause value.

func (GroupValidationError) Error

func (e GroupValidationError) Error() string

Error satisfies the builtin error interface

func (GroupValidationError) ErrorName

func (e GroupValidationError) ErrorName() string

ErrorName returns error name.

func (GroupValidationError) Field

func (e GroupValidationError) Field() string

Field function returns field value.

func (GroupValidationError) Key

func (e GroupValidationError) Key() bool

Key function returns key value.

func (GroupValidationError) Reason

func (e GroupValidationError) Reason() string

Reason function returns reason value.

type Groups

type Groups struct {

	// Items is the list of groups.
	Items []*Group `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Groups is a list of groups.

func (*Groups) DeepCopy

func (in *Groups) DeepCopy() *Groups

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Groups. Required by controller-gen.

func (*Groups) DeepCopyInterface

func (in *Groups) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Groups. Required by controller-gen.

func (*Groups) DeepCopyInto

func (in *Groups) DeepCopyInto(out *Groups)

DeepCopyInto supports using Groups within kubernetes types, where deepcopy-gen is used.

func (*Groups) Descriptor deprecated

func (*Groups) Descriptor() ([]byte, []int)

Deprecated: Use Groups.ProtoReflect.Descriptor instead.

func (*Groups) GetItems

func (x *Groups) GetItems() []*Group

func (*Groups) ProtoMessage

func (*Groups) ProtoMessage()

func (*Groups) ProtoReflect

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

func (*Groups) Reset

func (x *Groups) Reset()

func (*Groups) String

func (x *Groups) String() string

func (*Groups) Validate

func (m *Groups) Validate() error

Validate checks the field values on Groups with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Groups) ValidateAll

func (m *Groups) ValidateAll() error

ValidateAll checks the field values on Groups with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupsMultiError, or nil if none found.

type GroupsMultiError

type GroupsMultiError []error

GroupsMultiError is an error wrapping multiple validation errors returned by Groups.ValidateAll() if the designated constraints aren't met.

func (GroupsMultiError) AllErrors

func (m GroupsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupsMultiError) Error

func (m GroupsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupsValidationError

type GroupsValidationError struct {
	// contains filtered or unexported fields
}

GroupsValidationError is the validation error returned by Groups.Validate if the designated constraints aren't met.

func (GroupsValidationError) Cause

func (e GroupsValidationError) Cause() error

Cause function returns cause value.

func (GroupsValidationError) Error

func (e GroupsValidationError) Error() string

Error satisfies the builtin error interface

func (GroupsValidationError) ErrorName

func (e GroupsValidationError) ErrorName() string

ErrorName returns error name.

func (GroupsValidationError) Field

func (e GroupsValidationError) Field() string

Field function returns field value.

func (GroupsValidationError) Key

func (e GroupsValidationError) Key() bool

Key function returns key value.

func (GroupsValidationError) Reason

func (e GroupsValidationError) Reason() string

Reason function returns reason value.

type IPAMPluginClient

type IPAMPluginClient interface {
	// Allocate allocates an IP for a node.
	Allocate(ctx context.Context, in *AllocateIPRequest, opts ...grpc.CallOption) (*AllocatedIP, error)
	// Release releases an IP for a node.
	Release(ctx context.Context, in *ReleaseIPRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

IPAMPluginClient is the client API for IPAMPlugin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewIPAMPluginClient

func NewIPAMPluginClient(cc grpc.ClientConnInterface) IPAMPluginClient

type IPAMPluginServer

type IPAMPluginServer interface {
	// Allocate allocates an IP for a node.
	Allocate(context.Context, *AllocateIPRequest) (*AllocatedIP, error)
	// Release releases an IP for a node.
	Release(context.Context, *ReleaseIPRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

IPAMPluginServer is the server API for IPAMPlugin service. All implementations must embed UnimplementedIPAMPluginServer for forward compatibility

type InterfaceMetrics

type InterfaceMetrics struct {

	// DeviceName is the name of the device.
	DeviceName string `protobuf:"bytes,1,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// PublicKey is the public key of the node.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// AddressV4 is the IPv4 address of the node.
	AddressV4 string `protobuf:"bytes,3,opt,name=addressV4,proto3" json:"addressV4,omitempty"`
	// AddressV6 is the IPv6 address of the node.
	AddressV6 string `protobuf:"bytes,4,opt,name=addressV6,proto3" json:"addressV6,omitempty"`
	// Type is the type of interface being used for wireguard.
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// ListenPort is the port wireguard is listening on.
	ListenPort int32 `protobuf:"varint,6,opt,name=listenPort,proto3" json:"listenPort,omitempty"`
	// TotalReceiveBytes is the total number of bytes received.
	TotalReceiveBytes uint64 `protobuf:"varint,7,opt,name=totalReceiveBytes,proto3" json:"totalReceiveBytes,omitempty"`
	// TotalTransmitBytes is the total number of bytes transmitted.
	TotalTransmitBytes uint64 `protobuf:"varint,8,opt,name=totalTransmitBytes,proto3" json:"totalTransmitBytes,omitempty"`
	// NumPeers is the number of peers connected to the node.
	NumPeers int32 `protobuf:"varint,9,opt,name=numPeers,proto3" json:"numPeers,omitempty"`
	// Peers are the per-peer statistics.
	Peers []*PeerMetrics `protobuf:"bytes,10,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

InterfaceMetrics is the metrics for the WireGuard interface on a node.

func (*InterfaceMetrics) DeepCopy

func (in *InterfaceMetrics) DeepCopy() *InterfaceMetrics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMetrics. Required by controller-gen.

func (*InterfaceMetrics) DeepCopyInterface

func (in *InterfaceMetrics) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMetrics. Required by controller-gen.

func (*InterfaceMetrics) DeepCopyInto

func (in *InterfaceMetrics) DeepCopyInto(out *InterfaceMetrics)

DeepCopyInto supports using InterfaceMetrics within kubernetes types, where deepcopy-gen is used.

func (*InterfaceMetrics) Descriptor deprecated

func (*InterfaceMetrics) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceMetrics.ProtoReflect.Descriptor instead.

func (*InterfaceMetrics) GetAddressV4

func (x *InterfaceMetrics) GetAddressV4() string

func (*InterfaceMetrics) GetAddressV6

func (x *InterfaceMetrics) GetAddressV6() string

func (*InterfaceMetrics) GetDeviceName

func (x *InterfaceMetrics) GetDeviceName() string

func (*InterfaceMetrics) GetListenPort

func (x *InterfaceMetrics) GetListenPort() int32

func (*InterfaceMetrics) GetNumPeers

func (x *InterfaceMetrics) GetNumPeers() int32

func (*InterfaceMetrics) GetPeers

func (x *InterfaceMetrics) GetPeers() []*PeerMetrics

func (*InterfaceMetrics) GetPublicKey

func (x *InterfaceMetrics) GetPublicKey() string

func (*InterfaceMetrics) GetTotalReceiveBytes

func (x *InterfaceMetrics) GetTotalReceiveBytes() uint64

func (*InterfaceMetrics) GetTotalTransmitBytes

func (x *InterfaceMetrics) GetTotalTransmitBytes() uint64

func (*InterfaceMetrics) GetType

func (x *InterfaceMetrics) GetType() string

func (*InterfaceMetrics) ProtoMessage

func (*InterfaceMetrics) ProtoMessage()

func (*InterfaceMetrics) ProtoReflect

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

func (*InterfaceMetrics) Reset

func (x *InterfaceMetrics) Reset()

func (*InterfaceMetrics) String

func (x *InterfaceMetrics) String() string

func (*InterfaceMetrics) Validate

func (m *InterfaceMetrics) Validate() error

Validate checks the field values on InterfaceMetrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InterfaceMetrics) ValidateAll

func (m *InterfaceMetrics) ValidateAll() error

ValidateAll checks the field values on InterfaceMetrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InterfaceMetricsMultiError, or nil if none found.

type InterfaceMetricsMultiError

type InterfaceMetricsMultiError []error

InterfaceMetricsMultiError is an error wrapping multiple validation errors returned by InterfaceMetrics.ValidateAll() if the designated constraints aren't met.

func (InterfaceMetricsMultiError) AllErrors

func (m InterfaceMetricsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InterfaceMetricsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type InterfaceMetricsValidationError

type InterfaceMetricsValidationError struct {
	// contains filtered or unexported fields
}

InterfaceMetricsValidationError is the validation error returned by InterfaceMetrics.Validate if the designated constraints aren't met.

func (InterfaceMetricsValidationError) Cause

Cause function returns cause value.

func (InterfaceMetricsValidationError) Error

Error satisfies the builtin error interface

func (InterfaceMetricsValidationError) ErrorName

ErrorName returns error name.

func (InterfaceMetricsValidationError) Field

Field function returns field value.

func (InterfaceMetricsValidationError) Key

Key function returns key value.

func (InterfaceMetricsValidationError) Reason

Reason function returns reason value.

type JoinRequest

type JoinRequest struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// PublicKey is the public key of the node to broadcast to peers.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// PrimaryEndpoint is a routable address for the node. If left unset,
	// the node is assumed to be behind a NAT and not directly accessible.
	PrimaryEndpoint string `protobuf:"bytes,4,opt,name=primaryEndpoint,proto3" json:"primaryEndpoint,omitempty"`
	// WireguardEndpoints is a list of WireGuard endpoints for the node.
	WireguardEndpoints []string `protobuf:"bytes,5,rep,name=wireguardEndpoints,proto3" json:"wireguardEndpoints,omitempty"`
	// ZoneAwarenessID is the zone awareness ID of the node.
	ZoneAwarenessID string `protobuf:"bytes,6,opt,name=zoneAwarenessID,proto3" json:"zoneAwarenessID,omitempty"`
	// AssignIPv4 is whether an IPv4 address should be assigned to the node.
	AssignIPv4 bool `protobuf:"varint,7,opt,name=assignIPv4,proto3" json:"assignIPv4,omitempty"`
	// PreferStorageIPv6 is whether IPv6 should be preferred over IPv4 for storage communication.
	// This is only used if assign_ipv4 is true.
	PreferStorageIPv6 bool `protobuf:"varint,8,opt,name=preferStorageIPv6,proto3" json:"preferStorageIPv6,omitempty"`
	// AsVoter is whether the node should receive a vote in elections. The request
	// will be denied if the node is not allowed to vote.
	AsVoter bool `protobuf:"varint,9,opt,name=asVoter,proto3" json:"asVoter,omitempty"`
	// AsObserver is whether the node should be added as an observer. They will receive
	// updates to the storage, but not be able to vote in elections.
	AsObserver bool `protobuf:"varint,10,opt,name=asObserver,proto3" json:"asObserver,omitempty"`
	// Routes is a list of routes to advertise to peers. The request will be denied
	// if the node is not allowed to put routes.
	Routes []string `protobuf:"bytes,11,rep,name=routes,proto3" json:"routes,omitempty"`
	// DirectPeers is a map of extra peers that should be connected to directly over relays.
	// The provided edge attribute is the callers preference of how the relay should be created.
	// The request will be denied if the node is not allowed to put data channels or edges.
	// The default joining behavior creates direct links between the caller and the joiner.
	// If the caller has a primary endpoint, the joiner will link the caller to all
	// other nodes with a primary endpoint. If the caller has a zone awareness ID,
	// the joiner will link the caller to all other nodes with the same zone awareness ID
	// that also have a primary endpoint.
	DirectPeers map[string]ConnectProtocol `` /* 189-byte string literal not displayed */
	// Features is a list of features supported by the node that should be advertised to peers
	// and the port they are available on.
	Features []*FeaturePort `protobuf:"bytes,13,rep,name=features,proto3" json:"features,omitempty"`
	// Multiaddrs are libp2p multiaddresses this node is listening on.
	Multiaddrs []string `protobuf:"bytes,14,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"`
	// contains filtered or unexported fields
}

JoinRequest is a request to join the cluster.

func (*JoinRequest) DeepCopy

func (in *JoinRequest) DeepCopy() *JoinRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinRequest. Required by controller-gen.

func (*JoinRequest) DeepCopyInterface

func (in *JoinRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new JoinRequest. Required by controller-gen.

func (*JoinRequest) DeepCopyInto

func (in *JoinRequest) DeepCopyInto(out *JoinRequest)

DeepCopyInto supports using JoinRequest within kubernetes types, where deepcopy-gen is used.

func (*JoinRequest) Descriptor deprecated

func (*JoinRequest) Descriptor() ([]byte, []int)

Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.

func (*JoinRequest) GetAsObserver

func (x *JoinRequest) GetAsObserver() bool

func (*JoinRequest) GetAsVoter

func (x *JoinRequest) GetAsVoter() bool

func (*JoinRequest) GetAssignIPv4

func (x *JoinRequest) GetAssignIPv4() bool

func (*JoinRequest) GetDirectPeers

func (x *JoinRequest) GetDirectPeers() map[string]ConnectProtocol

func (*JoinRequest) GetFeatures

func (x *JoinRequest) GetFeatures() []*FeaturePort

func (*JoinRequest) GetId

func (x *JoinRequest) GetId() string

func (*JoinRequest) GetMultiaddrs

func (x *JoinRequest) GetMultiaddrs() []string

func (*JoinRequest) GetPreferStorageIPv6

func (x *JoinRequest) GetPreferStorageIPv6() bool

func (*JoinRequest) GetPrimaryEndpoint

func (x *JoinRequest) GetPrimaryEndpoint() string

func (*JoinRequest) GetPublicKey

func (x *JoinRequest) GetPublicKey() string

func (*JoinRequest) GetRoutes

func (x *JoinRequest) GetRoutes() []string

func (*JoinRequest) GetWireguardEndpoints

func (x *JoinRequest) GetWireguardEndpoints() []string

func (*JoinRequest) GetZoneAwarenessID

func (x *JoinRequest) GetZoneAwarenessID() string

func (*JoinRequest) ProtoMessage

func (*JoinRequest) ProtoMessage()

func (*JoinRequest) ProtoReflect

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

func (*JoinRequest) Reset

func (x *JoinRequest) Reset()

func (*JoinRequest) String

func (x *JoinRequest) String() string

func (*JoinRequest) Validate

func (m *JoinRequest) Validate() error

Validate checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JoinRequest) ValidateAll

func (m *JoinRequest) ValidateAll() error

ValidateAll checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinRequestMultiError, or nil if none found.

type JoinRequestMultiError

type JoinRequestMultiError []error

JoinRequestMultiError is an error wrapping multiple validation errors returned by JoinRequest.ValidateAll() if the designated constraints aren't met.

func (JoinRequestMultiError) AllErrors

func (m JoinRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinRequestMultiError) Error

func (m JoinRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JoinRequestValidationError

type JoinRequestValidationError struct {
	// contains filtered or unexported fields
}

JoinRequestValidationError is the validation error returned by JoinRequest.Validate if the designated constraints aren't met.

func (JoinRequestValidationError) Cause

Cause function returns cause value.

func (JoinRequestValidationError) Error

Error satisfies the builtin error interface

func (JoinRequestValidationError) ErrorName

func (e JoinRequestValidationError) ErrorName() string

ErrorName returns error name.

func (JoinRequestValidationError) Field

Field function returns field value.

func (JoinRequestValidationError) Key

Key function returns key value.

func (JoinRequestValidationError) Reason

Reason function returns reason value.

type JoinResponse

type JoinResponse struct {

	// AddressIPv4 is the private IPv4 wireguard address of the node
	// in CIDR format representing the network. This is only set if
	// assign_ipv4 was set in the request or no network_ipv6 was provided.
	AddressIPv4 string `protobuf:"bytes,1,opt,name=addressIPv4,proto3" json:"addressIPv4,omitempty"`
	// AddressIPv6 is the IPv6 network assigned to the node.
	AddressIPv6 string `protobuf:"bytes,2,opt,name=addressIPv6,proto3" json:"addressIPv6,omitempty"`
	// NetworkIPv4 is the IPv4 network of the Mesh.
	NetworkIPv4 string `protobuf:"bytes,3,opt,name=networkIPv4,proto3" json:"networkIPv4,omitempty"`
	// NetworkIPv6 is the IPv6 network of the Mesh.
	NetworkIPv6 string `protobuf:"bytes,4,opt,name=networkIPv6,proto3" json:"networkIPv6,omitempty"`
	// Peers is a list of wireguard peers to connect to.
	Peers []*WireGuardPeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
	// ICEServers is a list of public nodes that can be used to negotiate
	// ICE connections if required. This may only be populated when one of
	// the peers has the ICE flag set. This must be set if the requestor
	// specifies direct_peers.
	IceServers []string `protobuf:"bytes,6,rep,name=iceServers,proto3" json:"iceServers,omitempty"`
	// DNSServers is a list of peers offering DNS services.
	DnsServers []string `protobuf:"bytes,7,rep,name=dnsServers,proto3" json:"dnsServers,omitempty"`
	// MeshDomain is the domain of the mesh.
	MeshDomain string `protobuf:"bytes,8,opt,name=meshDomain,proto3" json:"meshDomain,omitempty"`
	// contains filtered or unexported fields
}

JoinResponse is a response to a join request.

func (*JoinResponse) DeepCopy

func (in *JoinResponse) DeepCopy() *JoinResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinResponse. Required by controller-gen.

func (*JoinResponse) DeepCopyInterface

func (in *JoinResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new JoinResponse. Required by controller-gen.

func (*JoinResponse) DeepCopyInto

func (in *JoinResponse) DeepCopyInto(out *JoinResponse)

DeepCopyInto supports using JoinResponse within kubernetes types, where deepcopy-gen is used.

func (*JoinResponse) Descriptor deprecated

func (*JoinResponse) Descriptor() ([]byte, []int)

Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.

func (*JoinResponse) GetAddressIPv4

func (x *JoinResponse) GetAddressIPv4() string

func (*JoinResponse) GetAddressIPv6

func (x *JoinResponse) GetAddressIPv6() string

func (*JoinResponse) GetDnsServers

func (x *JoinResponse) GetDnsServers() []string

func (*JoinResponse) GetIceServers

func (x *JoinResponse) GetIceServers() []string

func (*JoinResponse) GetMeshDomain

func (x *JoinResponse) GetMeshDomain() string

func (*JoinResponse) GetNetworkIPv4

func (x *JoinResponse) GetNetworkIPv4() string

func (*JoinResponse) GetNetworkIPv6

func (x *JoinResponse) GetNetworkIPv6() string

func (*JoinResponse) GetPeers

func (x *JoinResponse) GetPeers() []*WireGuardPeer

func (*JoinResponse) ProtoMessage

func (*JoinResponse) ProtoMessage()

func (*JoinResponse) ProtoReflect

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

func (*JoinResponse) Reset

func (x *JoinResponse) Reset()

func (*JoinResponse) String

func (x *JoinResponse) String() string

func (*JoinResponse) Validate

func (m *JoinResponse) Validate() error

Validate checks the field values on JoinResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JoinResponse) ValidateAll

func (m *JoinResponse) ValidateAll() error

ValidateAll checks the field values on JoinResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinResponseMultiError, or nil if none found.

type JoinResponseMultiError

type JoinResponseMultiError []error

JoinResponseMultiError is an error wrapping multiple validation errors returned by JoinResponse.ValidateAll() if the designated constraints aren't met.

func (JoinResponseMultiError) AllErrors

func (m JoinResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinResponseMultiError) Error

func (m JoinResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JoinResponseValidationError

type JoinResponseValidationError struct {
	// contains filtered or unexported fields
}

JoinResponseValidationError is the validation error returned by JoinResponse.Validate if the designated constraints aren't met.

func (JoinResponseValidationError) Cause

Cause function returns cause value.

func (JoinResponseValidationError) Error

Error satisfies the builtin error interface

func (JoinResponseValidationError) ErrorName

func (e JoinResponseValidationError) ErrorName() string

ErrorName returns error name.

func (JoinResponseValidationError) Field

Field function returns field value.

func (JoinResponseValidationError) Key

Key function returns key value.

func (JoinResponseValidationError) Reason

Reason function returns reason value.

type LeaveRequest

type LeaveRequest struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

LeaveRequest is a request to leave the cluster.

func (*LeaveRequest) DeepCopy

func (in *LeaveRequest) DeepCopy() *LeaveRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaveRequest. Required by controller-gen.

func (*LeaveRequest) DeepCopyInterface

func (in *LeaveRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaveRequest. Required by controller-gen.

func (*LeaveRequest) DeepCopyInto

func (in *LeaveRequest) DeepCopyInto(out *LeaveRequest)

DeepCopyInto supports using LeaveRequest within kubernetes types, where deepcopy-gen is used.

func (*LeaveRequest) Descriptor deprecated

func (*LeaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead.

func (*LeaveRequest) GetId

func (x *LeaveRequest) GetId() string

func (*LeaveRequest) ProtoMessage

func (*LeaveRequest) ProtoMessage()

func (*LeaveRequest) ProtoReflect

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

func (*LeaveRequest) Reset

func (x *LeaveRequest) Reset()

func (*LeaveRequest) String

func (x *LeaveRequest) String() string

func (*LeaveRequest) Validate

func (m *LeaveRequest) Validate() error

Validate checks the field values on LeaveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LeaveRequest) ValidateAll

func (m *LeaveRequest) ValidateAll() error

ValidateAll checks the field values on LeaveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeaveRequestMultiError, or nil if none found.

type LeaveRequestMultiError

type LeaveRequestMultiError []error

LeaveRequestMultiError is an error wrapping multiple validation errors returned by LeaveRequest.ValidateAll() if the designated constraints aren't met.

func (LeaveRequestMultiError) AllErrors

func (m LeaveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveRequestMultiError) Error

func (m LeaveRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LeaveRequestValidationError

type LeaveRequestValidationError struct {
	// contains filtered or unexported fields
}

LeaveRequestValidationError is the validation error returned by LeaveRequest.Validate if the designated constraints aren't met.

func (LeaveRequestValidationError) Cause

Cause function returns cause value.

func (LeaveRequestValidationError) Error

Error satisfies the builtin error interface

func (LeaveRequestValidationError) ErrorName

func (e LeaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LeaveRequestValidationError) Field

Field function returns field value.

func (LeaveRequestValidationError) Key

Key function returns key value.

func (LeaveRequestValidationError) Reason

Reason function returns reason value.

type LeaveResponse

type LeaveResponse struct {
	// contains filtered or unexported fields
}

LeaveResponse is a response to a leave request. It is currently empty.

func (*LeaveResponse) DeepCopy

func (in *LeaveResponse) DeepCopy() *LeaveResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaveResponse. Required by controller-gen.

func (*LeaveResponse) DeepCopyInterface

func (in *LeaveResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaveResponse. Required by controller-gen.

func (*LeaveResponse) DeepCopyInto

func (in *LeaveResponse) DeepCopyInto(out *LeaveResponse)

DeepCopyInto supports using LeaveResponse within kubernetes types, where deepcopy-gen is used.

func (*LeaveResponse) Descriptor deprecated

func (*LeaveResponse) Descriptor() ([]byte, []int)

Deprecated: Use LeaveResponse.ProtoReflect.Descriptor instead.

func (*LeaveResponse) ProtoMessage

func (*LeaveResponse) ProtoMessage()

func (*LeaveResponse) ProtoReflect

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

func (*LeaveResponse) Reset

func (x *LeaveResponse) Reset()

func (*LeaveResponse) String

func (x *LeaveResponse) String() string

func (*LeaveResponse) Validate

func (m *LeaveResponse) Validate() error

Validate checks the field values on LeaveResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LeaveResponse) ValidateAll

func (m *LeaveResponse) ValidateAll() error

ValidateAll checks the field values on LeaveResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeaveResponseMultiError, or nil if none found.

type LeaveResponseMultiError

type LeaveResponseMultiError []error

LeaveResponseMultiError is an error wrapping multiple validation errors returned by LeaveResponse.ValidateAll() if the designated constraints aren't met.

func (LeaveResponseMultiError) AllErrors

func (m LeaveResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveResponseMultiError) Error

func (m LeaveResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LeaveResponseValidationError

type LeaveResponseValidationError struct {
	// contains filtered or unexported fields
}

LeaveResponseValidationError is the validation error returned by LeaveResponse.Validate if the designated constraints aren't met.

func (LeaveResponseValidationError) Cause

Cause function returns cause value.

func (LeaveResponseValidationError) Error

Error satisfies the builtin error interface

func (LeaveResponseValidationError) ErrorName

func (e LeaveResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LeaveResponseValidationError) Field

Field function returns field value.

func (LeaveResponseValidationError) Key

Key function returns key value.

func (LeaveResponseValidationError) Reason

Reason function returns reason value.

type ListConnectionsRequest added in v0.12.0

type ListConnectionsRequest struct {

	// IDs are the unique identifiers of the connections to retrieve information for.
	// If not provided, metrics for all known connections will be returned.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

ListConnectionsRequest is sent by an application to a daemon to retrieve the parameters and current status of all mesh connections.

func (*ListConnectionsRequest) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListConnectionsRequest. Required by controller-gen.

func (*ListConnectionsRequest) DeepCopyInterface added in v0.12.0

func (in *ListConnectionsRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListConnectionsRequest. Required by controller-gen.

func (*ListConnectionsRequest) DeepCopyInto added in v0.12.0

func (in *ListConnectionsRequest) DeepCopyInto(out *ListConnectionsRequest)

DeepCopyInto supports using ListConnectionsRequest within kubernetes types, where deepcopy-gen is used.

func (*ListConnectionsRequest) Descriptor deprecated added in v0.12.0

func (*ListConnectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectionsRequest) GetIds added in v0.12.0

func (x *ListConnectionsRequest) GetIds() []string

func (*ListConnectionsRequest) ProtoMessage added in v0.12.0

func (*ListConnectionsRequest) ProtoMessage()

func (*ListConnectionsRequest) ProtoReflect added in v0.12.0

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

func (*ListConnectionsRequest) Reset added in v0.12.0

func (x *ListConnectionsRequest) Reset()

func (*ListConnectionsRequest) String added in v0.12.0

func (x *ListConnectionsRequest) String() string

func (*ListConnectionsRequest) Validate added in v0.12.0

func (m *ListConnectionsRequest) Validate() error

Validate checks the field values on ListConnectionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConnectionsRequest) ValidateAll added in v0.12.0

func (m *ListConnectionsRequest) ValidateAll() error

ValidateAll checks the field values on ListConnectionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConnectionsRequestMultiError, or nil if none found.

type ListConnectionsRequestMultiError added in v0.12.0

type ListConnectionsRequestMultiError []error

ListConnectionsRequestMultiError is an error wrapping multiple validation errors returned by ListConnectionsRequest.ValidateAll() if the designated constraints aren't met.

func (ListConnectionsRequestMultiError) AllErrors added in v0.12.0

func (m ListConnectionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConnectionsRequestMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type ListConnectionsRequestValidationError added in v0.12.0

type ListConnectionsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListConnectionsRequestValidationError is the validation error returned by ListConnectionsRequest.Validate if the designated constraints aren't met.

func (ListConnectionsRequestValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (ListConnectionsRequestValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (ListConnectionsRequestValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (ListConnectionsRequestValidationError) Field added in v0.12.0

Field function returns field value.

func (ListConnectionsRequestValidationError) Key added in v0.12.0

Key function returns key value.

func (ListConnectionsRequestValidationError) Reason added in v0.12.0

Reason function returns reason value.

type ListConnectionsResponse added in v0.12.0

type ListConnectionsResponse struct {

	// Connections are the parameters and statuses of all connections.
	Connections map[string]*GetConnectionResponse `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

ListConnectionsResponse is returned by the ListConnections RPC.

func (*ListConnectionsResponse) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListConnectionsResponse. Required by controller-gen.

func (*ListConnectionsResponse) DeepCopyInterface added in v0.12.0

func (in *ListConnectionsResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListConnectionsResponse. Required by controller-gen.

func (*ListConnectionsResponse) DeepCopyInto added in v0.12.0

func (in *ListConnectionsResponse) DeepCopyInto(out *ListConnectionsResponse)

DeepCopyInto supports using ListConnectionsResponse within kubernetes types, where deepcopy-gen is used.

func (*ListConnectionsResponse) Descriptor deprecated added in v0.12.0

func (*ListConnectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectionsResponse) GetConnections added in v0.12.0

func (x *ListConnectionsResponse) GetConnections() map[string]*GetConnectionResponse

func (*ListConnectionsResponse) ProtoMessage added in v0.12.0

func (*ListConnectionsResponse) ProtoMessage()

func (*ListConnectionsResponse) ProtoReflect added in v0.12.0

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

func (*ListConnectionsResponse) Reset added in v0.12.0

func (x *ListConnectionsResponse) Reset()

func (*ListConnectionsResponse) String added in v0.12.0

func (x *ListConnectionsResponse) String() string

func (*ListConnectionsResponse) Validate added in v0.12.0

func (m *ListConnectionsResponse) Validate() error

Validate checks the field values on ListConnectionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConnectionsResponse) ValidateAll added in v0.12.0

func (m *ListConnectionsResponse) ValidateAll() error

ValidateAll checks the field values on ListConnectionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConnectionsResponseMultiError, or nil if none found.

type ListConnectionsResponseMultiError added in v0.12.0

type ListConnectionsResponseMultiError []error

ListConnectionsResponseMultiError is an error wrapping multiple validation errors returned by ListConnectionsResponse.ValidateAll() if the designated constraints aren't met.

func (ListConnectionsResponseMultiError) AllErrors added in v0.12.0

func (m ListConnectionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConnectionsResponseMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type ListConnectionsResponseValidationError added in v0.12.0

type ListConnectionsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListConnectionsResponseValidationError is the validation error returned by ListConnectionsResponse.Validate if the designated constraints aren't met.

func (ListConnectionsResponseValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (ListConnectionsResponseValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (ListConnectionsResponseValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (ListConnectionsResponseValidationError) Field added in v0.12.0

Field function returns field value.

func (ListConnectionsResponseValidationError) Key added in v0.12.0

Key function returns key value.

func (ListConnectionsResponseValidationError) Reason added in v0.12.0

Reason function returns reason value.

type ListKeysRequest

type ListKeysRequest struct {

	// Prefix is the prefix to list values for.
	Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

ListKeysRequest is the request object for the ListValues RPC.

func (*ListKeysRequest) DeepCopy

func (in *ListKeysRequest) DeepCopy() *ListKeysRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysRequest. Required by controller-gen.

func (*ListKeysRequest) DeepCopyInterface

func (in *ListKeysRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysRequest. Required by controller-gen.

func (*ListKeysRequest) DeepCopyInto

func (in *ListKeysRequest) DeepCopyInto(out *ListKeysRequest)

DeepCopyInto supports using ListKeysRequest within kubernetes types, where deepcopy-gen is used.

func (*ListKeysRequest) Descriptor deprecated

func (*ListKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.

func (*ListKeysRequest) GetPrefix

func (x *ListKeysRequest) GetPrefix() []byte

func (*ListKeysRequest) ProtoMessage

func (*ListKeysRequest) ProtoMessage()

func (*ListKeysRequest) ProtoReflect

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

func (*ListKeysRequest) Reset

func (x *ListKeysRequest) Reset()

func (*ListKeysRequest) String

func (x *ListKeysRequest) String() string

func (*ListKeysRequest) Validate

func (m *ListKeysRequest) Validate() error

Validate checks the field values on ListKeysRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKeysRequest) ValidateAll

func (m *ListKeysRequest) ValidateAll() error

ValidateAll checks the field values on ListKeysRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKeysRequestMultiError, or nil if none found.

type ListKeysRequestMultiError

type ListKeysRequestMultiError []error

ListKeysRequestMultiError is an error wrapping multiple validation errors returned by ListKeysRequest.ValidateAll() if the designated constraints aren't met.

func (ListKeysRequestMultiError) AllErrors

func (m ListKeysRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKeysRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKeysRequestValidationError

type ListKeysRequestValidationError struct {
	// contains filtered or unexported fields
}

ListKeysRequestValidationError is the validation error returned by ListKeysRequest.Validate if the designated constraints aren't met.

func (ListKeysRequestValidationError) Cause

Cause function returns cause value.

func (ListKeysRequestValidationError) Error

Error satisfies the builtin error interface

func (ListKeysRequestValidationError) ErrorName

func (e ListKeysRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListKeysRequestValidationError) Field

Field function returns field value.

func (ListKeysRequestValidationError) Key

Key function returns key value.

func (ListKeysRequestValidationError) Reason

Reason function returns reason value.

type ListKeysResponse

type ListKeysResponse struct {

	// Keys is the list of value keys for the prefix.
	Keys [][]byte `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

ListKeysResponse is the response object for the ListValues RPC.

func (*ListKeysResponse) DeepCopy

func (in *ListKeysResponse) DeepCopy() *ListKeysResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysResponse. Required by controller-gen.

func (*ListKeysResponse) DeepCopyInterface

func (in *ListKeysResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysResponse. Required by controller-gen.

func (*ListKeysResponse) DeepCopyInto

func (in *ListKeysResponse) DeepCopyInto(out *ListKeysResponse)

DeepCopyInto supports using ListKeysResponse within kubernetes types, where deepcopy-gen is used.

func (*ListKeysResponse) Descriptor deprecated

func (*ListKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.

func (*ListKeysResponse) GetKeys

func (x *ListKeysResponse) GetKeys() [][]byte

func (*ListKeysResponse) ProtoMessage

func (*ListKeysResponse) ProtoMessage()

func (*ListKeysResponse) ProtoReflect

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

func (*ListKeysResponse) Reset

func (x *ListKeysResponse) Reset()

func (*ListKeysResponse) String

func (x *ListKeysResponse) String() string

func (*ListKeysResponse) Validate

func (m *ListKeysResponse) Validate() error

Validate checks the field values on ListKeysResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKeysResponse) ValidateAll

func (m *ListKeysResponse) ValidateAll() error

ValidateAll checks the field values on ListKeysResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKeysResponseMultiError, or nil if none found.

type ListKeysResponseMultiError

type ListKeysResponseMultiError []error

ListKeysResponseMultiError is an error wrapping multiple validation errors returned by ListKeysResponse.ValidateAll() if the designated constraints aren't met.

func (ListKeysResponseMultiError) AllErrors

func (m ListKeysResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKeysResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKeysResponseValidationError

type ListKeysResponseValidationError struct {
	// contains filtered or unexported fields
}

ListKeysResponseValidationError is the validation error returned by ListKeysResponse.Validate if the designated constraints aren't met.

func (ListKeysResponseValidationError) Cause

Cause function returns cause value.

func (ListKeysResponseValidationError) Error

Error satisfies the builtin error interface

func (ListKeysResponseValidationError) ErrorName

ErrorName returns error name.

func (ListKeysResponseValidationError) Field

Field function returns field value.

func (ListKeysResponseValidationError) Key

Key function returns key value.

func (ListKeysResponseValidationError) Reason

Reason function returns reason value.

type ListValuesRequest

type ListValuesRequest struct {

	// Prefix is the prefix to list values for.
	Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

ListValuesRequest is the request object for the ListValues RPC.

func (*ListValuesRequest) DeepCopy

func (in *ListValuesRequest) DeepCopy() *ListValuesRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesRequest. Required by controller-gen.

func (*ListValuesRequest) DeepCopyInterface

func (in *ListValuesRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesRequest. Required by controller-gen.

func (*ListValuesRequest) DeepCopyInto

func (in *ListValuesRequest) DeepCopyInto(out *ListValuesRequest)

DeepCopyInto supports using ListValuesRequest within kubernetes types, where deepcopy-gen is used.

func (*ListValuesRequest) Descriptor deprecated

func (*ListValuesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListValuesRequest.ProtoReflect.Descriptor instead.

func (*ListValuesRequest) GetPrefix

func (x *ListValuesRequest) GetPrefix() []byte

func (*ListValuesRequest) ProtoMessage

func (*ListValuesRequest) ProtoMessage()

func (*ListValuesRequest) ProtoReflect

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

func (*ListValuesRequest) Reset

func (x *ListValuesRequest) Reset()

func (*ListValuesRequest) String

func (x *ListValuesRequest) String() string

func (*ListValuesRequest) Validate

func (m *ListValuesRequest) Validate() error

Validate checks the field values on ListValuesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListValuesRequest) ValidateAll

func (m *ListValuesRequest) ValidateAll() error

ValidateAll checks the field values on ListValuesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListValuesRequestMultiError, or nil if none found.

type ListValuesRequestMultiError

type ListValuesRequestMultiError []error

ListValuesRequestMultiError is an error wrapping multiple validation errors returned by ListValuesRequest.ValidateAll() if the designated constraints aren't met.

func (ListValuesRequestMultiError) AllErrors

func (m ListValuesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListValuesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListValuesRequestValidationError

type ListValuesRequestValidationError struct {
	// contains filtered or unexported fields
}

ListValuesRequestValidationError is the validation error returned by ListValuesRequest.Validate if the designated constraints aren't met.

func (ListValuesRequestValidationError) Cause

Cause function returns cause value.

func (ListValuesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListValuesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListValuesRequestValidationError) Field

Field function returns field value.

func (ListValuesRequestValidationError) Key

Key function returns key value.

func (ListValuesRequestValidationError) Reason

Reason function returns reason value.

type ListValuesResponse

type ListValuesResponse struct {

	// Values is the list of values for the prefix.
	Values []*StorageValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ListValuesResponse is the response object for the ListValues RPC.

func (*ListValuesResponse) DeepCopy

func (in *ListValuesResponse) DeepCopy() *ListValuesResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesResponse. Required by controller-gen.

func (*ListValuesResponse) DeepCopyInterface

func (in *ListValuesResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesResponse. Required by controller-gen.

func (*ListValuesResponse) DeepCopyInto

func (in *ListValuesResponse) DeepCopyInto(out *ListValuesResponse)

DeepCopyInto supports using ListValuesResponse within kubernetes types, where deepcopy-gen is used.

func (*ListValuesResponse) Descriptor deprecated

func (*ListValuesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListValuesResponse.ProtoReflect.Descriptor instead.

func (*ListValuesResponse) GetValues

func (x *ListValuesResponse) GetValues() []*StorageValue

func (*ListValuesResponse) ProtoMessage

func (*ListValuesResponse) ProtoMessage()

func (*ListValuesResponse) ProtoReflect

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

func (*ListValuesResponse) Reset

func (x *ListValuesResponse) Reset()

func (*ListValuesResponse) String

func (x *ListValuesResponse) String() string

func (*ListValuesResponse) Validate

func (m *ListValuesResponse) Validate() error

Validate checks the field values on ListValuesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListValuesResponse) ValidateAll

func (m *ListValuesResponse) ValidateAll() error

ValidateAll checks the field values on ListValuesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListValuesResponseMultiError, or nil if none found.

type ListValuesResponseMultiError

type ListValuesResponseMultiError []error

ListValuesResponseMultiError is an error wrapping multiple validation errors returned by ListValuesResponse.ValidateAll() if the designated constraints aren't met.

func (ListValuesResponseMultiError) AllErrors

func (m ListValuesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListValuesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListValuesResponseValidationError

type ListValuesResponseValidationError struct {
	// contains filtered or unexported fields
}

ListValuesResponseValidationError is the validation error returned by ListValuesResponse.Validate if the designated constraints aren't met.

func (ListValuesResponseValidationError) Cause

Cause function returns cause value.

func (ListValuesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListValuesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListValuesResponseValidationError) Field

Field function returns field value.

func (ListValuesResponseValidationError) Key

Key function returns key value.

func (ListValuesResponseValidationError) Reason

Reason function returns reason value.

type LookupRequest

type LookupRequest struct {

	// The ID derived from the public key to lookup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The public key to lookup.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// The alias of the public key to lookup.
	Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

LookupRequest is the request object for the Lookup RPC. One of the fields must be provided.

func (*LookupRequest) DeepCopy

func (in *LookupRequest) DeepCopy() *LookupRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LookupRequest. Required by controller-gen.

func (*LookupRequest) DeepCopyInterface

func (in *LookupRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LookupRequest. Required by controller-gen.

func (*LookupRequest) DeepCopyInto

func (in *LookupRequest) DeepCopyInto(out *LookupRequest)

DeepCopyInto supports using LookupRequest within kubernetes types, where deepcopy-gen is used.

func (*LookupRequest) Descriptor deprecated

func (*LookupRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead.

func (*LookupRequest) GetAlias

func (x *LookupRequest) GetAlias() string

func (*LookupRequest) GetId

func (x *LookupRequest) GetId() string

func (*LookupRequest) GetPublicKey

func (x *LookupRequest) GetPublicKey() string

func (*LookupRequest) ProtoMessage

func (*LookupRequest) ProtoMessage()

func (*LookupRequest) ProtoReflect

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

func (*LookupRequest) Reset

func (x *LookupRequest) Reset()

func (*LookupRequest) String

func (x *LookupRequest) String() string

func (*LookupRequest) Validate

func (m *LookupRequest) Validate() error

Validate checks the field values on LookupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LookupRequest) ValidateAll

func (m *LookupRequest) ValidateAll() error

ValidateAll checks the field values on LookupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LookupRequestMultiError, or nil if none found.

type LookupRequestMultiError

type LookupRequestMultiError []error

LookupRequestMultiError is an error wrapping multiple validation errors returned by LookupRequest.ValidateAll() if the designated constraints aren't met.

func (LookupRequestMultiError) AllErrors

func (m LookupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupRequestMultiError) Error

func (m LookupRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LookupRequestValidationError

type LookupRequestValidationError struct {
	// contains filtered or unexported fields
}

LookupRequestValidationError is the validation error returned by LookupRequest.Validate if the designated constraints aren't met.

func (LookupRequestValidationError) Cause

Cause function returns cause value.

func (LookupRequestValidationError) Error

Error satisfies the builtin error interface

func (LookupRequestValidationError) ErrorName

func (e LookupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LookupRequestValidationError) Field

Field function returns field value.

func (LookupRequestValidationError) Key

Key function returns key value.

func (LookupRequestValidationError) Reason

Reason function returns reason value.

type LookupResponse

type LookupResponse struct {

	// The ID of the public key that was looked up.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The encoded public key that was looked up.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// Any alias associated with the public key.
	Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

LookupResponse is the response object for the Lookup RPC.

func (*LookupResponse) DeepCopy

func (in *LookupResponse) DeepCopy() *LookupResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LookupResponse. Required by controller-gen.

func (*LookupResponse) DeepCopyInterface

func (in *LookupResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LookupResponse. Required by controller-gen.

func (*LookupResponse) DeepCopyInto

func (in *LookupResponse) DeepCopyInto(out *LookupResponse)

DeepCopyInto supports using LookupResponse within kubernetes types, where deepcopy-gen is used.

func (*LookupResponse) Descriptor deprecated

func (*LookupResponse) Descriptor() ([]byte, []int)

Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.

func (*LookupResponse) GetAlias

func (x *LookupResponse) GetAlias() string

func (*LookupResponse) GetId

func (x *LookupResponse) GetId() string

func (*LookupResponse) GetPublicKey

func (x *LookupResponse) GetPublicKey() string

func (*LookupResponse) ProtoMessage

func (*LookupResponse) ProtoMessage()

func (*LookupResponse) ProtoReflect

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

func (*LookupResponse) Reset

func (x *LookupResponse) Reset()

func (*LookupResponse) String

func (x *LookupResponse) String() string

func (*LookupResponse) Validate

func (m *LookupResponse) Validate() error

Validate checks the field values on LookupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LookupResponse) ValidateAll

func (m *LookupResponse) ValidateAll() error

ValidateAll checks the field values on LookupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LookupResponseMultiError, or nil if none found.

type LookupResponseMultiError

type LookupResponseMultiError []error

LookupResponseMultiError is an error wrapping multiple validation errors returned by LookupResponse.ValidateAll() if the designated constraints aren't met.

func (LookupResponseMultiError) AllErrors

func (m LookupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupResponseMultiError) Error

func (m LookupResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LookupResponseValidationError

type LookupResponseValidationError struct {
	// contains filtered or unexported fields
}

LookupResponseValidationError is the validation error returned by LookupResponse.Validate if the designated constraints aren't met.

func (LookupResponseValidationError) Cause

Cause function returns cause value.

func (LookupResponseValidationError) Error

Error satisfies the builtin error interface

func (LookupResponseValidationError) ErrorName

func (e LookupResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LookupResponseValidationError) Field

Field function returns field value.

func (LookupResponseValidationError) Key

Key function returns key value.

func (LookupResponseValidationError) Reason

Reason function returns reason value.

type MembershipClient

type MembershipClient interface {
	// Join is used to join a node to the mesh.
	Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error)
	// Update is used by a node to update its state in the mesh. The node will be updated
	// in the mesh and will be able to query the mesh state or vote in elections. Only
	// non-empty fields will be updated. It is almost semantically equivalent to a join request
	// with the same ID, but redefined to avoid confusion and to allow for expansion.
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// Leave is used to remove a node from the mesh. The node will be removed from the mesh
	// and will no longer be able to query the mesh state or vote in elections.
	Leave(ctx context.Context, in *LeaveRequest, opts ...grpc.CallOption) (*LeaveResponse, error)
	// SubscribePeers subscribes to the peer configuration for the given node. The node
	// will receive updates to the peer configuration as it changes.
	SubscribePeers(ctx context.Context, in *SubscribePeersRequest, opts ...grpc.CallOption) (Membership_SubscribePeersClient, error)
	// Apply is used by voting nodes to request a log entry be applied to the state machine.
	// This is only available on the leader, and can only be called by nodes that are allowed
	// to vote. This is only used by the built-in raft storage implementation.
	Apply(ctx context.Context, in *RaftLogEntry, opts ...grpc.CallOption) (*RaftApplyResponse, error)
	// GetCurrentConsensus returns the current Storage consensus configuration.
	GetCurrentConsensus(ctx context.Context, in *StorageConsensusRequest, opts ...grpc.CallOption) (*StorageConsensusResponse, error)
}

MembershipClient is the client API for Membership service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMembershipClient

func NewMembershipClient(cc grpc.ClientConnInterface) MembershipClient

type MembershipServer

type MembershipServer interface {
	// Join is used to join a node to the mesh.
	Join(context.Context, *JoinRequest) (*JoinResponse, error)
	// Update is used by a node to update its state in the mesh. The node will be updated
	// in the mesh and will be able to query the mesh state or vote in elections. Only
	// non-empty fields will be updated. It is almost semantically equivalent to a join request
	// with the same ID, but redefined to avoid confusion and to allow for expansion.
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	// Leave is used to remove a node from the mesh. The node will be removed from the mesh
	// and will no longer be able to query the mesh state or vote in elections.
	Leave(context.Context, *LeaveRequest) (*LeaveResponse, error)
	// SubscribePeers subscribes to the peer configuration for the given node. The node
	// will receive updates to the peer configuration as it changes.
	SubscribePeers(*SubscribePeersRequest, Membership_SubscribePeersServer) error
	// Apply is used by voting nodes to request a log entry be applied to the state machine.
	// This is only available on the leader, and can only be called by nodes that are allowed
	// to vote. This is only used by the built-in raft storage implementation.
	Apply(context.Context, *RaftLogEntry) (*RaftApplyResponse, error)
	// GetCurrentConsensus returns the current Storage consensus configuration.
	GetCurrentConsensus(context.Context, *StorageConsensusRequest) (*StorageConsensusResponse, error)
	// contains filtered or unexported methods
}

MembershipServer is the server API for Membership service. All implementations must embed UnimplementedMembershipServer for forward compatibility

type Membership_SubscribePeersClient

type Membership_SubscribePeersClient interface {
	Recv() (*PeerConfigurations, error)
	grpc.ClientStream
}

type Membership_SubscribePeersServer

type Membership_SubscribePeersServer interface {
	Send(*PeerConfigurations) error
	grpc.ServerStream
}

type MeshClient

type MeshClient interface {
	// GetNode gets a node by ID.
	GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*MeshNode, error)
	// ListNodes lists all nodes.
	ListNodes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeList, error)
	// GetMeshGraph fetches the mesh graph. It returns a list of nodes,
	// edges, and a rendering in the dot format.
	GetMeshGraph(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MeshGraph, error)
}

MeshClient is the client API for Mesh service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMeshClient

func NewMeshClient(cc grpc.ClientConnInterface) MeshClient

type MeshConnBootstrap

type MeshConnBootstrap struct {

	// Enabled indicates whether or not to bootstrap a new mesh.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Domain is the domain of the mesh. Defaults to "webmesh.internal".
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// IPv4Network is the IPv4 network of the mesh. Defaults to 172.16.0.0/12.
	Ipv4Network string `protobuf:"bytes,3,opt,name=ipv4Network,proto3" json:"ipv4Network,omitempty"`
	// RBACEnabled indicates whether or not to enable RBAC on the mesh.
	RbacEnabled bool `protobuf:"varint,4,opt,name=rbacEnabled,proto3" json:"rbacEnabled,omitempty"`
	// DefaultNetworkACL is the default network ACL to use for the mesh.
	DefaultNetworkACL MeshConnBootstrap_DefaultNetworkACL `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

MeshConnBootstrap are configurations for bootstrapping a new mesh.

func (*MeshConnBootstrap) DeepCopy

func (in *MeshConnBootstrap) DeepCopy() *MeshConnBootstrap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnBootstrap. Required by controller-gen.

func (*MeshConnBootstrap) DeepCopyInterface

func (in *MeshConnBootstrap) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnBootstrap. Required by controller-gen.

func (*MeshConnBootstrap) DeepCopyInto

func (in *MeshConnBootstrap) DeepCopyInto(out *MeshConnBootstrap)

DeepCopyInto supports using MeshConnBootstrap within kubernetes types, where deepcopy-gen is used.

func (*MeshConnBootstrap) Descriptor deprecated

func (*MeshConnBootstrap) Descriptor() ([]byte, []int)

Deprecated: Use MeshConnBootstrap.ProtoReflect.Descriptor instead.

func (*MeshConnBootstrap) GetDefaultNetworkACL

func (x *MeshConnBootstrap) GetDefaultNetworkACL() MeshConnBootstrap_DefaultNetworkACL

func (*MeshConnBootstrap) GetDomain

func (x *MeshConnBootstrap) GetDomain() string

func (*MeshConnBootstrap) GetEnabled

func (x *MeshConnBootstrap) GetEnabled() bool

func (*MeshConnBootstrap) GetIpv4Network

func (x *MeshConnBootstrap) GetIpv4Network() string

func (*MeshConnBootstrap) GetRbacEnabled

func (x *MeshConnBootstrap) GetRbacEnabled() bool

func (*MeshConnBootstrap) ProtoMessage

func (*MeshConnBootstrap) ProtoMessage()

func (*MeshConnBootstrap) ProtoReflect

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

func (*MeshConnBootstrap) Reset

func (x *MeshConnBootstrap) Reset()

func (*MeshConnBootstrap) String

func (x *MeshConnBootstrap) String() string

func (*MeshConnBootstrap) Validate

func (m *MeshConnBootstrap) Validate() error

Validate checks the field values on MeshConnBootstrap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshConnBootstrap) ValidateAll

func (m *MeshConnBootstrap) ValidateAll() error

ValidateAll checks the field values on MeshConnBootstrap with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshConnBootstrapMultiError, or nil if none found.

type MeshConnBootstrapMultiError

type MeshConnBootstrapMultiError []error

MeshConnBootstrapMultiError is an error wrapping multiple validation errors returned by MeshConnBootstrap.ValidateAll() if the designated constraints aren't met.

func (MeshConnBootstrapMultiError) AllErrors

func (m MeshConnBootstrapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshConnBootstrapMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MeshConnBootstrapValidationError

type MeshConnBootstrapValidationError struct {
	// contains filtered or unexported fields
}

MeshConnBootstrapValidationError is the validation error returned by MeshConnBootstrap.Validate if the designated constraints aren't met.

func (MeshConnBootstrapValidationError) Cause

Cause function returns cause value.

func (MeshConnBootstrapValidationError) Error

Error satisfies the builtin error interface

func (MeshConnBootstrapValidationError) ErrorName

ErrorName returns error name.

func (MeshConnBootstrapValidationError) Field

Field function returns field value.

func (MeshConnBootstrapValidationError) Key

Key function returns key value.

func (MeshConnBootstrapValidationError) Reason

Reason function returns reason value.

type MeshConnBootstrap_DefaultNetworkACL

type MeshConnBootstrap_DefaultNetworkACL int32
const (
	MeshConnBootstrap_ACCEPT MeshConnBootstrap_DefaultNetworkACL = 0
	MeshConnBootstrap_DROP   MeshConnBootstrap_DefaultNetworkACL = 1
)

func (MeshConnBootstrap_DefaultNetworkACL) Descriptor

func (MeshConnBootstrap_DefaultNetworkACL) Enum

func (MeshConnBootstrap_DefaultNetworkACL) EnumDescriptor deprecated

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

Deprecated: Use MeshConnBootstrap_DefaultNetworkACL.Descriptor instead.

func (MeshConnBootstrap_DefaultNetworkACL) Number

func (MeshConnBootstrap_DefaultNetworkACL) String

func (MeshConnBootstrap_DefaultNetworkACL) Type

type MeshConnNetworking

type MeshConnNetworking struct {

	// UseDNS indicates whether or not to use the DNS servers of the mesh.
	UseDNS bool `protobuf:"varint,1,opt,name=useDNS,proto3" json:"useDNS,omitempty"`
	// Endpoints are wireguard endpoints to broadcast to the mesh.
	Endpoints []string `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// DetectEndpoints enables endpoint detection.
	DetectEndpoints bool `protobuf:"varint,3,opt,name=detectEndpoints,proto3" json:"detectEndpoints,omitempty"`
	// DetectPrivateEndpoints enables endpoint detection for private addresses.
	// This only makes sense when DetectEndpoints is enabled.
	DetectPrivateEndpoints bool `protobuf:"varint,4,opt,name=detectPrivateEndpoints,proto3" json:"detectPrivateEndpoints,omitempty"`
	// contains filtered or unexported fields
}

MeshConnNetworking are configurations for networking on a mesh.

func (*MeshConnNetworking) DeepCopy

func (in *MeshConnNetworking) DeepCopy() *MeshConnNetworking

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnNetworking. Required by controller-gen.

func (*MeshConnNetworking) DeepCopyInterface

func (in *MeshConnNetworking) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnNetworking. Required by controller-gen.

func (*MeshConnNetworking) DeepCopyInto

func (in *MeshConnNetworking) DeepCopyInto(out *MeshConnNetworking)

DeepCopyInto supports using MeshConnNetworking within kubernetes types, where deepcopy-gen is used.

func (*MeshConnNetworking) Descriptor deprecated

func (*MeshConnNetworking) Descriptor() ([]byte, []int)

Deprecated: Use MeshConnNetworking.ProtoReflect.Descriptor instead.

func (*MeshConnNetworking) GetDetectEndpoints added in v0.10.3

func (x *MeshConnNetworking) GetDetectEndpoints() bool

func (*MeshConnNetworking) GetDetectPrivateEndpoints added in v0.10.6

func (x *MeshConnNetworking) GetDetectPrivateEndpoints() bool

func (*MeshConnNetworking) GetEndpoints added in v0.10.3

func (x *MeshConnNetworking) GetEndpoints() []string

func (*MeshConnNetworking) GetUseDNS

func (x *MeshConnNetworking) GetUseDNS() bool

func (*MeshConnNetworking) ProtoMessage

func (*MeshConnNetworking) ProtoMessage()

func (*MeshConnNetworking) ProtoReflect

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

func (*MeshConnNetworking) Reset

func (x *MeshConnNetworking) Reset()

func (*MeshConnNetworking) String

func (x *MeshConnNetworking) String() string

func (*MeshConnNetworking) Validate

func (m *MeshConnNetworking) Validate() error

Validate checks the field values on MeshConnNetworking with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshConnNetworking) ValidateAll

func (m *MeshConnNetworking) ValidateAll() error

ValidateAll checks the field values on MeshConnNetworking with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshConnNetworkingMultiError, or nil if none found.

type MeshConnNetworkingMultiError

type MeshConnNetworkingMultiError []error

MeshConnNetworkingMultiError is an error wrapping multiple validation errors returned by MeshConnNetworking.ValidateAll() if the designated constraints aren't met.

func (MeshConnNetworkingMultiError) AllErrors

func (m MeshConnNetworkingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshConnNetworkingMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MeshConnNetworkingValidationError

type MeshConnNetworkingValidationError struct {
	// contains filtered or unexported fields
}

MeshConnNetworkingValidationError is the validation error returned by MeshConnNetworking.Validate if the designated constraints aren't met.

func (MeshConnNetworkingValidationError) Cause

Cause function returns cause value.

func (MeshConnNetworkingValidationError) Error

Error satisfies the builtin error interface

func (MeshConnNetworkingValidationError) ErrorName

ErrorName returns error name.

func (MeshConnNetworkingValidationError) Field

Field function returns field value.

func (MeshConnNetworkingValidationError) Key

Key function returns key value.

func (MeshConnNetworkingValidationError) Reason

Reason function returns reason value.

type MeshConnServices

type MeshConnServices struct {

	// Enabled indicates whether or not to expose services to other nodes.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// EnableLibP2P indicates whether or not to serve the API over libp2p.
	EnableLibP2P bool `protobuf:"varint,2,opt,name=enableLibP2P,proto3" json:"enableLibP2P,omitempty"`
	// EnableTLS indicates whether or not to use TLS for the API.
	EnableTLS bool `protobuf:"varint,3,opt,name=enableTLS,proto3" json:"enableTLS,omitempty"`
	// Rendezvous is an optional rendezvous string to use for anouncing the service
	// on the IPFS DHT.
	Rendezvous string `protobuf:"bytes,4,opt,name=rendezvous,proto3" json:"rendezvous,omitempty"`
	// ListenAddress is a raw IP address and port to listen on.
	ListenAddress string `protobuf:"bytes,5,opt,name=listenAddress,proto3" json:"listenAddress,omitempty"`
	// ListenMultiaddrs are multiaddrs to listen on. If not provided and
	// EnableLibP2P is set, the default listen addresses will be used.
	ListenMultiaddrs []string `protobuf:"bytes,6,rep,name=listenMultiaddrs,proto3" json:"listenMultiaddrs,omitempty"`
	// AuthMetod is the of authentication to enable for the services.
	// Only mTLS and ID are supported.
	AuthMethod NetworkAuthMethod `protobuf:"varint,7,opt,name=authMethod,proto3,enum=v1.NetworkAuthMethod" json:"authMethod,omitempty"`
	// Features are which features to enable on the API.
	Features []Feature `protobuf:"varint,8,rep,packed,name=features,proto3,enum=v1.Feature" json:"features,omitempty"`
	// DNS are configurations for running a MeshDNS server.
	Dns *MeshDNSService `protobuf:"bytes,9,opt,name=dns,proto3" json:"dns,omitempty"`
	// contains filtered or unexported fields
}

MeshConnServices are configurations for exposing services to other nodes on a mesh.

func (*MeshConnServices) DeepCopy

func (in *MeshConnServices) DeepCopy() *MeshConnServices

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnServices. Required by controller-gen.

func (*MeshConnServices) DeepCopyInterface

func (in *MeshConnServices) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnServices. Required by controller-gen.

func (*MeshConnServices) DeepCopyInto

func (in *MeshConnServices) DeepCopyInto(out *MeshConnServices)

DeepCopyInto supports using MeshConnServices within kubernetes types, where deepcopy-gen is used.

func (*MeshConnServices) Descriptor deprecated

func (*MeshConnServices) Descriptor() ([]byte, []int)

Deprecated: Use MeshConnServices.ProtoReflect.Descriptor instead.

func (*MeshConnServices) GetAuthMethod added in v0.10.3

func (x *MeshConnServices) GetAuthMethod() NetworkAuthMethod

func (*MeshConnServices) GetDns added in v0.10.8

func (x *MeshConnServices) GetDns() *MeshDNSService

func (*MeshConnServices) GetEnableLibP2P added in v0.10.3

func (x *MeshConnServices) GetEnableLibP2P() bool

func (*MeshConnServices) GetEnableTLS added in v0.10.3

func (x *MeshConnServices) GetEnableTLS() bool

func (*MeshConnServices) GetEnabled

func (x *MeshConnServices) GetEnabled() bool

func (*MeshConnServices) GetFeatures added in v0.10.3

func (x *MeshConnServices) GetFeatures() []Feature

func (*MeshConnServices) GetListenAddress added in v0.10.3

func (x *MeshConnServices) GetListenAddress() string

func (*MeshConnServices) GetListenMultiaddrs added in v0.10.3

func (x *MeshConnServices) GetListenMultiaddrs() []string

func (*MeshConnServices) GetRendezvous added in v0.10.3

func (x *MeshConnServices) GetRendezvous() string

func (*MeshConnServices) ProtoMessage

func (*MeshConnServices) ProtoMessage()

func (*MeshConnServices) ProtoReflect

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

func (*MeshConnServices) Reset

func (x *MeshConnServices) Reset()

func (*MeshConnServices) String

func (x *MeshConnServices) String() string

func (*MeshConnServices) Validate

func (m *MeshConnServices) Validate() error

Validate checks the field values on MeshConnServices with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshConnServices) ValidateAll

func (m *MeshConnServices) ValidateAll() error

ValidateAll checks the field values on MeshConnServices with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshConnServicesMultiError, or nil if none found.

type MeshConnServicesMultiError

type MeshConnServicesMultiError []error

MeshConnServicesMultiError is an error wrapping multiple validation errors returned by MeshConnServices.ValidateAll() if the designated constraints aren't met.

func (MeshConnServicesMultiError) AllErrors

func (m MeshConnServicesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshConnServicesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MeshConnServicesValidationError

type MeshConnServicesValidationError struct {
	// contains filtered or unexported fields
}

MeshConnServicesValidationError is the validation error returned by MeshConnServices.Validate if the designated constraints aren't met.

func (MeshConnServicesValidationError) Cause

Cause function returns cause value.

func (MeshConnServicesValidationError) Error

Error satisfies the builtin error interface

func (MeshConnServicesValidationError) ErrorName

ErrorName returns error name.

func (MeshConnServicesValidationError) Field

Field function returns field value.

func (MeshConnServicesValidationError) Key

Key function returns key value.

func (MeshConnServicesValidationError) Reason

Reason function returns reason value.

type MeshConnTLS

type MeshConnTLS struct {

	// Enabled indicates whether or not to use TLS.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// CACert is a base64 and PEM encoded CA certificate to use for TLS.
	CaCertData string `protobuf:"bytes,2,opt,name=caCertData,proto3" json:"caCertData,omitempty"`
	// CertData is a base64 and PEM encoded certificate to use for TLS.
	CertData string `protobuf:"bytes,3,opt,name=certData,proto3" json:"certData,omitempty"`
	// KeyData is a base64 and PEM encoded private key to use for TLS.
	KeyData string `protobuf:"bytes,4,opt,name=keyData,proto3" json:"keyData,omitempty"`
	// VerifyChainOnly indicates whether or not to only verify the
	// certificate chain.
	VerifyChainOnly bool `protobuf:"varint,5,opt,name=verifyChainOnly,proto3" json:"verifyChainOnly,omitempty"`
	// SkipVerify indicates whether or not to skip verification of the
	// server certificate.
	SkipVerify bool `protobuf:"varint,6,opt,name=skipVerify,proto3" json:"skipVerify,omitempty"`
	// contains filtered or unexported fields
}

MeshhConnTLS are TLS configurations for a mesh connection.

func (*MeshConnTLS) DeepCopy

func (in *MeshConnTLS) DeepCopy() *MeshConnTLS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnTLS. Required by controller-gen.

func (*MeshConnTLS) DeepCopyInterface

func (in *MeshConnTLS) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshConnTLS. Required by controller-gen.

func (*MeshConnTLS) DeepCopyInto

func (in *MeshConnTLS) DeepCopyInto(out *MeshConnTLS)

DeepCopyInto supports using MeshConnTLS within kubernetes types, where deepcopy-gen is used.

func (*MeshConnTLS) Descriptor deprecated

func (*MeshConnTLS) Descriptor() ([]byte, []int)

Deprecated: Use MeshConnTLS.ProtoReflect.Descriptor instead.

func (*MeshConnTLS) GetCaCertData

func (x *MeshConnTLS) GetCaCertData() string

func (*MeshConnTLS) GetCertData

func (x *MeshConnTLS) GetCertData() string

func (*MeshConnTLS) GetEnabled

func (x *MeshConnTLS) GetEnabled() bool

func (*MeshConnTLS) GetKeyData

func (x *MeshConnTLS) GetKeyData() string

func (*MeshConnTLS) GetSkipVerify

func (x *MeshConnTLS) GetSkipVerify() bool

func (*MeshConnTLS) GetVerifyChainOnly

func (x *MeshConnTLS) GetVerifyChainOnly() bool

func (*MeshConnTLS) ProtoMessage

func (*MeshConnTLS) ProtoMessage()

func (*MeshConnTLS) ProtoReflect

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

func (*MeshConnTLS) Reset

func (x *MeshConnTLS) Reset()

func (*MeshConnTLS) String

func (x *MeshConnTLS) String() string

func (*MeshConnTLS) Validate

func (m *MeshConnTLS) Validate() error

Validate checks the field values on MeshConnTLS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshConnTLS) ValidateAll

func (m *MeshConnTLS) ValidateAll() error

ValidateAll checks the field values on MeshConnTLS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshConnTLSMultiError, or nil if none found.

type MeshConnTLSMultiError

type MeshConnTLSMultiError []error

MeshConnTLSMultiError is an error wrapping multiple validation errors returned by MeshConnTLS.ValidateAll() if the designated constraints aren't met.

func (MeshConnTLSMultiError) AllErrors

func (m MeshConnTLSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshConnTLSMultiError) Error

func (m MeshConnTLSMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MeshConnTLSValidationError

type MeshConnTLSValidationError struct {
	// contains filtered or unexported fields
}

MeshConnTLSValidationError is the validation error returned by MeshConnTLS.Validate if the designated constraints aren't met.

func (MeshConnTLSValidationError) Cause

Cause function returns cause value.

func (MeshConnTLSValidationError) Error

Error satisfies the builtin error interface

func (MeshConnTLSValidationError) ErrorName

func (e MeshConnTLSValidationError) ErrorName() string

ErrorName returns error name.

func (MeshConnTLSValidationError) Field

Field function returns field value.

func (MeshConnTLSValidationError) Key

Key function returns key value.

func (MeshConnTLSValidationError) Reason

Reason function returns reason value.

type MeshDNSService added in v0.10.8

type MeshDNSService struct {

	// Enabled indicates whether or not to run a MeshDNS server.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// ListenUDP is a raw IP address and port to listen on for UDP.
	// Defaults to :53. Set to an empty string to disable.
	ListenUDP string `protobuf:"bytes,2,opt,name=listenUDP,proto3" json:"listenUDP,omitempty"`
	// ListenTCP is a raw IP address and port to listen on for TCP.
	// Defaults to :53. Set to an empty string to disable.
	ListenTCP string `protobuf:"bytes,3,opt,name=listenTCP,proto3" json:"listenTCP,omitempty"`
	// contains filtered or unexported fields
}

MeshDNSService are configurations for running a MeshDNS server.

func (*MeshDNSService) DeepCopy added in v0.10.8

func (in *MeshDNSService) DeepCopy() *MeshDNSService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshDNSService. Required by controller-gen.

func (*MeshDNSService) DeepCopyInterface added in v0.10.8

func (in *MeshDNSService) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshDNSService. Required by controller-gen.

func (*MeshDNSService) DeepCopyInto added in v0.10.8

func (in *MeshDNSService) DeepCopyInto(out *MeshDNSService)

DeepCopyInto supports using MeshDNSService within kubernetes types, where deepcopy-gen is used.

func (*MeshDNSService) Descriptor deprecated added in v0.10.8

func (*MeshDNSService) Descriptor() ([]byte, []int)

Deprecated: Use MeshDNSService.ProtoReflect.Descriptor instead.

func (*MeshDNSService) GetEnabled added in v0.10.8

func (x *MeshDNSService) GetEnabled() bool

func (*MeshDNSService) GetListenTCP added in v0.10.8

func (x *MeshDNSService) GetListenTCP() string

func (*MeshDNSService) GetListenUDP added in v0.10.8

func (x *MeshDNSService) GetListenUDP() string

func (*MeshDNSService) ProtoMessage added in v0.10.8

func (*MeshDNSService) ProtoMessage()

func (*MeshDNSService) ProtoReflect added in v0.10.8

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

func (*MeshDNSService) Reset added in v0.10.8

func (x *MeshDNSService) Reset()

func (*MeshDNSService) String added in v0.10.8

func (x *MeshDNSService) String() string

func (*MeshDNSService) Validate added in v0.10.8

func (m *MeshDNSService) Validate() error

Validate checks the field values on MeshDNSService with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshDNSService) ValidateAll added in v0.10.8

func (m *MeshDNSService) ValidateAll() error

ValidateAll checks the field values on MeshDNSService with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshDNSServiceMultiError, or nil if none found.

type MeshDNSServiceMultiError added in v0.10.8

type MeshDNSServiceMultiError []error

MeshDNSServiceMultiError is an error wrapping multiple validation errors returned by MeshDNSService.ValidateAll() if the designated constraints aren't met.

func (MeshDNSServiceMultiError) AllErrors added in v0.10.8

func (m MeshDNSServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshDNSServiceMultiError) Error added in v0.10.8

func (m MeshDNSServiceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MeshDNSServiceValidationError added in v0.10.8

type MeshDNSServiceValidationError struct {
	// contains filtered or unexported fields
}

MeshDNSServiceValidationError is the validation error returned by MeshDNSService.Validate if the designated constraints aren't met.

func (MeshDNSServiceValidationError) Cause added in v0.10.8

Cause function returns cause value.

func (MeshDNSServiceValidationError) Error added in v0.10.8

Error satisfies the builtin error interface

func (MeshDNSServiceValidationError) ErrorName added in v0.10.8

func (e MeshDNSServiceValidationError) ErrorName() string

ErrorName returns error name.

func (MeshDNSServiceValidationError) Field added in v0.10.8

Field function returns field value.

func (MeshDNSServiceValidationError) Key added in v0.10.8

Key function returns key value.

func (MeshDNSServiceValidationError) Reason added in v0.10.8

Reason function returns reason value.

type MeshEdge

type MeshEdge struct {

	// Source is the source node.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Target is the target node.
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// Weight is the weight of the edge.
	Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// Attributes is a list of attributes for the edge.
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

MeshEdge is an edge between two nodes.

func (*MeshEdge) DeepCopy

func (in *MeshEdge) DeepCopy() *MeshEdge

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdge. Required by controller-gen.

func (*MeshEdge) DeepCopyInterface

func (in *MeshEdge) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdge. Required by controller-gen.

func (*MeshEdge) DeepCopyInto

func (in *MeshEdge) DeepCopyInto(out *MeshEdge)

DeepCopyInto supports using MeshEdge within kubernetes types, where deepcopy-gen is used.

func (*MeshEdge) Descriptor deprecated

func (*MeshEdge) Descriptor() ([]byte, []int)

Deprecated: Use MeshEdge.ProtoReflect.Descriptor instead.

func (*MeshEdge) GetAttributes

func (x *MeshEdge) GetAttributes() map[string]string

func (*MeshEdge) GetSource

func (x *MeshEdge) GetSource() string

func (*MeshEdge) GetTarget

func (x *MeshEdge) GetTarget() string

func (*MeshEdge) GetWeight

func (x *MeshEdge) GetWeight() int32

func (*MeshEdge) ProtoMessage

func (*MeshEdge) ProtoMessage()

func (*MeshEdge) ProtoReflect

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

func (*MeshEdge) Reset

func (x *MeshEdge) Reset()

func (*MeshEdge) String

func (x *MeshEdge) String() string

func (*MeshEdge) Validate

func (m *MeshEdge) Validate() error

Validate checks the field values on MeshEdge with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshEdge) ValidateAll

func (m *MeshEdge) ValidateAll() error

ValidateAll checks the field values on MeshEdge with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshEdgeMultiError, or nil if none found.

type MeshEdgeMultiError

type MeshEdgeMultiError []error

MeshEdgeMultiError is an error wrapping multiple validation errors returned by MeshEdge.ValidateAll() if the designated constraints aren't met.

func (MeshEdgeMultiError) AllErrors

func (m MeshEdgeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshEdgeMultiError) Error

func (m MeshEdgeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MeshEdgeValidationError

type MeshEdgeValidationError struct {
	// contains filtered or unexported fields
}

MeshEdgeValidationError is the validation error returned by MeshEdge.Validate if the designated constraints aren't met.

func (MeshEdgeValidationError) Cause

func (e MeshEdgeValidationError) Cause() error

Cause function returns cause value.

func (MeshEdgeValidationError) Error

func (e MeshEdgeValidationError) Error() string

Error satisfies the builtin error interface

func (MeshEdgeValidationError) ErrorName

func (e MeshEdgeValidationError) ErrorName() string

ErrorName returns error name.

func (MeshEdgeValidationError) Field

func (e MeshEdgeValidationError) Field() string

Field function returns field value.

func (MeshEdgeValidationError) Key

func (e MeshEdgeValidationError) Key() bool

Key function returns key value.

func (MeshEdgeValidationError) Reason

func (e MeshEdgeValidationError) Reason() string

Reason function returns reason value.

type MeshEdges

type MeshEdges struct {

	// Items is the list of edges.
	Items []*MeshEdge `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

MeshEdges is a list of edges.

func (*MeshEdges) DeepCopy

func (in *MeshEdges) DeepCopy() *MeshEdges

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdges. Required by controller-gen.

func (*MeshEdges) DeepCopyInterface

func (in *MeshEdges) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdges. Required by controller-gen.

func (*MeshEdges) DeepCopyInto

func (in *MeshEdges) DeepCopyInto(out *MeshEdges)

DeepCopyInto supports using MeshEdges within kubernetes types, where deepcopy-gen is used.

func (*MeshEdges) Descriptor deprecated

func (*MeshEdges) Descriptor() ([]byte, []int)

Deprecated: Use MeshEdges.ProtoReflect.Descriptor instead.

func (*MeshEdges) GetItems

func (x *MeshEdges) GetItems() []*MeshEdge

func (*MeshEdges) ProtoMessage

func (*MeshEdges) ProtoMessage()

func (*MeshEdges) ProtoReflect

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

func (*MeshEdges) Reset

func (x *MeshEdges) Reset()

func (*MeshEdges) String

func (x *MeshEdges) String() string

func (*MeshEdges) Validate

func (m *MeshEdges) Validate() error

Validate checks the field values on MeshEdges with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshEdges) ValidateAll

func (m *MeshEdges) ValidateAll() error

ValidateAll checks the field values on MeshEdges with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshEdgesMultiError, or nil if none found.

type MeshEdgesMultiError

type MeshEdgesMultiError []error

MeshEdgesMultiError is an error wrapping multiple validation errors returned by MeshEdges.ValidateAll() if the designated constraints aren't met.

func (MeshEdgesMultiError) AllErrors

func (m MeshEdgesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshEdgesMultiError) Error

func (m MeshEdgesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MeshEdgesValidationError

type MeshEdgesValidationError struct {
	// contains filtered or unexported fields
}

MeshEdgesValidationError is the validation error returned by MeshEdges.Validate if the designated constraints aren't met.

func (MeshEdgesValidationError) Cause

func (e MeshEdgesValidationError) Cause() error

Cause function returns cause value.

func (MeshEdgesValidationError) Error

func (e MeshEdgesValidationError) Error() string

Error satisfies the builtin error interface

func (MeshEdgesValidationError) ErrorName

func (e MeshEdgesValidationError) ErrorName() string

ErrorName returns error name.

func (MeshEdgesValidationError) Field

func (e MeshEdgesValidationError) Field() string

Field function returns field value.

func (MeshEdgesValidationError) Key

Key function returns key value.

func (MeshEdgesValidationError) Reason

func (e MeshEdgesValidationError) Reason() string

Reason function returns reason value.

type MeshGraph

type MeshGraph struct {

	// Nodes is the list of nodes.
	Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// Edges is the list of edges.
	Edges []*MeshEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	// DOT is the DOT representation of the graph.
	Dot string `protobuf:"bytes,3,opt,name=dot,proto3" json:"dot,omitempty"`
	// contains filtered or unexported fields
}

MeshGraph is a graph of nodes.

func (*MeshGraph) DeepCopy

func (in *MeshGraph) DeepCopy() *MeshGraph

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshGraph. Required by controller-gen.

func (*MeshGraph) DeepCopyInterface

func (in *MeshGraph) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshGraph. Required by controller-gen.

func (*MeshGraph) DeepCopyInto

func (in *MeshGraph) DeepCopyInto(out *MeshGraph)

DeepCopyInto supports using MeshGraph within kubernetes types, where deepcopy-gen is used.

func (*MeshGraph) Descriptor deprecated

func (*MeshGraph) Descriptor() ([]byte, []int)

Deprecated: Use MeshGraph.ProtoReflect.Descriptor instead.

func (*MeshGraph) GetDot

func (x *MeshGraph) GetDot() string

func (*MeshGraph) GetEdges

func (x *MeshGraph) GetEdges() []*MeshEdge

func (*MeshGraph) GetNodes

func (x *MeshGraph) GetNodes() []string

func (*MeshGraph) ProtoMessage

func (*MeshGraph) ProtoMessage()

func (*MeshGraph) ProtoReflect

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

func (*MeshGraph) Reset

func (x *MeshGraph) Reset()

func (*MeshGraph) String

func (x *MeshGraph) String() string

func (*MeshGraph) Validate

func (m *MeshGraph) Validate() error

Validate checks the field values on MeshGraph with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshGraph) ValidateAll

func (m *MeshGraph) ValidateAll() error

ValidateAll checks the field values on MeshGraph with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshGraphMultiError, or nil if none found.

type MeshGraphMultiError

type MeshGraphMultiError []error

MeshGraphMultiError is an error wrapping multiple validation errors returned by MeshGraph.ValidateAll() if the designated constraints aren't met.

func (MeshGraphMultiError) AllErrors

func (m MeshGraphMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshGraphMultiError) Error

func (m MeshGraphMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MeshGraphValidationError

type MeshGraphValidationError struct {
	// contains filtered or unexported fields
}

MeshGraphValidationError is the validation error returned by MeshGraph.Validate if the designated constraints aren't met.

func (MeshGraphValidationError) Cause

func (e MeshGraphValidationError) Cause() error

Cause function returns cause value.

func (MeshGraphValidationError) Error

func (e MeshGraphValidationError) Error() string

Error satisfies the builtin error interface

func (MeshGraphValidationError) ErrorName

func (e MeshGraphValidationError) ErrorName() string

ErrorName returns error name.

func (MeshGraphValidationError) Field

func (e MeshGraphValidationError) Field() string

Field function returns field value.

func (MeshGraphValidationError) Key

Key function returns key value.

func (MeshGraphValidationError) Reason

func (e MeshGraphValidationError) Reason() string

Reason function returns reason value.

type MeshNode

type MeshNode struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// PublicKey is the public key of the node.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// PrimaryEndpoint is the primary endpoint of the node.
	PrimaryEndpoint string `protobuf:"bytes,4,opt,name=primaryEndpoint,proto3" json:"primaryEndpoint,omitempty"`
	// WireguardEndpoints is a list of WireGuard endpoints for the node.
	WireguardEndpoints []string `protobuf:"bytes,5,rep,name=wireguardEndpoints,proto3" json:"wireguardEndpoints,omitempty"`
	// ZoneAwarenessID is the zone awareness ID of the node.
	ZoneAwarenessID string `protobuf:"bytes,6,opt,name=zoneAwarenessID,proto3" json:"zoneAwarenessID,omitempty"`
	// PrivateIPv4 is the private IPv4 address of the node.
	PrivateIPv4 string `protobuf:"bytes,7,opt,name=privateIPv4,proto3" json:"privateIPv4,omitempty"`
	// PrivateIPv6 is the private IPv6 address of the node.
	PrivateIPv6 string `protobuf:"bytes,8,opt,name=privateIPv6,proto3" json:"privateIPv6,omitempty"`
	// Features are a list of features and the ports they are advertised on.
	Features []*FeaturePort `protobuf:"bytes,9,rep,name=features,proto3" json:"features,omitempty"`
	// Multiaddrs are the multiaddrs of the node.
	Multiaddrs []string `protobuf:"bytes,10,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"`
	// JoinedAt is the time the node joined the cluster.
	JoinedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=joinedAt,proto3" json:"joinedAt,omitempty"`
	// contains filtered or unexported fields
}

MeshNode is a node that has been registered with the mesh.

func (*MeshNode) DeepCopy

func (in *MeshNode) DeepCopy() *MeshNode

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshNode. Required by controller-gen.

func (*MeshNode) DeepCopyInterface

func (in *MeshNode) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshNode. Required by controller-gen.

func (*MeshNode) DeepCopyInto

func (in *MeshNode) DeepCopyInto(out *MeshNode)

DeepCopyInto supports using MeshNode within kubernetes types, where deepcopy-gen is used.

func (*MeshNode) Descriptor deprecated

func (*MeshNode) Descriptor() ([]byte, []int)

Deprecated: Use MeshNode.ProtoReflect.Descriptor instead.

func (*MeshNode) GetFeatures

func (x *MeshNode) GetFeatures() []*FeaturePort

func (*MeshNode) GetId

func (x *MeshNode) GetId() string

func (*MeshNode) GetJoinedAt

func (x *MeshNode) GetJoinedAt() *timestamppb.Timestamp

func (*MeshNode) GetMultiaddrs

func (x *MeshNode) GetMultiaddrs() []string

func (*MeshNode) GetPrimaryEndpoint

func (x *MeshNode) GetPrimaryEndpoint() string

func (*MeshNode) GetPrivateIPv4

func (x *MeshNode) GetPrivateIPv4() string

func (*MeshNode) GetPrivateIPv6

func (x *MeshNode) GetPrivateIPv6() string

func (*MeshNode) GetPublicKey

func (x *MeshNode) GetPublicKey() string

func (*MeshNode) GetWireguardEndpoints

func (x *MeshNode) GetWireguardEndpoints() []string

func (*MeshNode) GetZoneAwarenessID

func (x *MeshNode) GetZoneAwarenessID() string

func (*MeshNode) ProtoMessage

func (*MeshNode) ProtoMessage()

func (*MeshNode) ProtoReflect

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

func (*MeshNode) Reset

func (x *MeshNode) Reset()

func (*MeshNode) String

func (x *MeshNode) String() string

func (*MeshNode) Validate

func (m *MeshNode) Validate() error

Validate checks the field values on MeshNode with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MeshNode) ValidateAll

func (m *MeshNode) ValidateAll() error

ValidateAll checks the field values on MeshNode with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MeshNodeMultiError, or nil if none found.

type MeshNodeMultiError

type MeshNodeMultiError []error

MeshNodeMultiError is an error wrapping multiple validation errors returned by MeshNode.ValidateAll() if the designated constraints aren't met.

func (MeshNodeMultiError) AllErrors

func (m MeshNodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshNodeMultiError) Error

func (m MeshNodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MeshNodeValidationError

type MeshNodeValidationError struct {
	// contains filtered or unexported fields
}

MeshNodeValidationError is the validation error returned by MeshNode.Validate if the designated constraints aren't met.

func (MeshNodeValidationError) Cause

func (e MeshNodeValidationError) Cause() error

Cause function returns cause value.

func (MeshNodeValidationError) Error

func (e MeshNodeValidationError) Error() string

Error satisfies the builtin error interface

func (MeshNodeValidationError) ErrorName

func (e MeshNodeValidationError) ErrorName() string

ErrorName returns error name.

func (MeshNodeValidationError) Field

func (e MeshNodeValidationError) Field() string

Field function returns field value.

func (MeshNodeValidationError) Key

func (e MeshNodeValidationError) Key() bool

Key function returns key value.

func (MeshNodeValidationError) Reason

func (e MeshNodeValidationError) Reason() string

Reason function returns reason value.

type MeshServer

type MeshServer interface {
	// GetNode gets a node by ID.
	GetNode(context.Context, *GetNodeRequest) (*MeshNode, error)
	// ListNodes lists all nodes.
	ListNodes(context.Context, *emptypb.Empty) (*NodeList, error)
	// GetMeshGraph fetches the mesh graph. It returns a list of nodes,
	// edges, and a rendering in the dot format.
	GetMeshGraph(context.Context, *emptypb.Empty) (*MeshGraph, error)
	// contains filtered or unexported methods
}

MeshServer is the server API for Mesh service. All implementations must embed UnimplementedMeshServer for forward compatibility

type MetricsRequest

type MetricsRequest struct {

	// IDs are the unique identifiers of the connections to retrieve metrics for.
	// If not provided, metrics for all known connections will be returned.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

MetricsRequest is sent by the application to a daemon to retrieve interface metrics for a mesh connection.

func (*MetricsRequest) DeepCopy

func (in *MetricsRequest) DeepCopy() *MetricsRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsRequest. Required by controller-gen.

func (*MetricsRequest) DeepCopyInterface

func (in *MetricsRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MetricsRequest. Required by controller-gen.

func (*MetricsRequest) DeepCopyInto

func (in *MetricsRequest) DeepCopyInto(out *MetricsRequest)

DeepCopyInto supports using MetricsRequest within kubernetes types, where deepcopy-gen is used.

func (*MetricsRequest) Descriptor deprecated

func (*MetricsRequest) Descriptor() ([]byte, []int)

Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.

func (*MetricsRequest) GetIds

func (x *MetricsRequest) GetIds() []string

func (*MetricsRequest) ProtoMessage

func (*MetricsRequest) ProtoMessage()

func (*MetricsRequest) ProtoReflect

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

func (*MetricsRequest) Reset

func (x *MetricsRequest) Reset()

func (*MetricsRequest) String

func (x *MetricsRequest) String() string

func (*MetricsRequest) Validate

func (m *MetricsRequest) Validate() error

Validate checks the field values on MetricsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MetricsRequest) ValidateAll

func (m *MetricsRequest) ValidateAll() error

ValidateAll checks the field values on MetricsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetricsRequestMultiError, or nil if none found.

type MetricsRequestMultiError

type MetricsRequestMultiError []error

MetricsRequestMultiError is an error wrapping multiple validation errors returned by MetricsRequest.ValidateAll() if the designated constraints aren't met.

func (MetricsRequestMultiError) AllErrors

func (m MetricsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetricsRequestMultiError) Error

func (m MetricsRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetricsRequestValidationError

type MetricsRequestValidationError struct {
	// contains filtered or unexported fields
}

MetricsRequestValidationError is the validation error returned by MetricsRequest.Validate if the designated constraints aren't met.

func (MetricsRequestValidationError) Cause

Cause function returns cause value.

func (MetricsRequestValidationError) Error

Error satisfies the builtin error interface

func (MetricsRequestValidationError) ErrorName

func (e MetricsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (MetricsRequestValidationError) Field

Field function returns field value.

func (MetricsRequestValidationError) Key

Key function returns key value.

func (MetricsRequestValidationError) Reason

Reason function returns reason value.

type MetricsResponse

type MetricsResponse struct {

	// Interfaces is a map of network IDs to their interface metrics.
	Interfaces map[string]*InterfaceMetrics `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

MetricsResponse is a message containing interface metrics.

func (*MetricsResponse) DeepCopy

func (in *MetricsResponse) DeepCopy() *MetricsResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsResponse. Required by controller-gen.

func (*MetricsResponse) DeepCopyInterface

func (in *MetricsResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MetricsResponse. Required by controller-gen.

func (*MetricsResponse) DeepCopyInto

func (in *MetricsResponse) DeepCopyInto(out *MetricsResponse)

DeepCopyInto supports using MetricsResponse within kubernetes types, where deepcopy-gen is used.

func (*MetricsResponse) Descriptor deprecated

func (*MetricsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MetricsResponse.ProtoReflect.Descriptor instead.

func (*MetricsResponse) GetInterfaces

func (x *MetricsResponse) GetInterfaces() map[string]*InterfaceMetrics

func (*MetricsResponse) ProtoMessage

func (*MetricsResponse) ProtoMessage()

func (*MetricsResponse) ProtoReflect

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

func (*MetricsResponse) Reset

func (x *MetricsResponse) Reset()

func (*MetricsResponse) String

func (x *MetricsResponse) String() string

func (*MetricsResponse) Validate

func (m *MetricsResponse) Validate() error

Validate checks the field values on MetricsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MetricsResponse) ValidateAll

func (m *MetricsResponse) ValidateAll() error

ValidateAll checks the field values on MetricsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetricsResponseMultiError, or nil if none found.

type MetricsResponseMultiError

type MetricsResponseMultiError []error

MetricsResponseMultiError is an error wrapping multiple validation errors returned by MetricsResponse.ValidateAll() if the designated constraints aren't met.

func (MetricsResponseMultiError) AllErrors

func (m MetricsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetricsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetricsResponseValidationError

type MetricsResponseValidationError struct {
	// contains filtered or unexported fields
}

MetricsResponseValidationError is the validation error returned by MetricsResponse.Validate if the designated constraints aren't met.

func (MetricsResponseValidationError) Cause

Cause function returns cause value.

func (MetricsResponseValidationError) Error

Error satisfies the builtin error interface

func (MetricsResponseValidationError) ErrorName

func (e MetricsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (MetricsResponseValidationError) Field

Field function returns field value.

func (MetricsResponseValidationError) Key

Key function returns key value.

func (MetricsResponseValidationError) Reason

Reason function returns reason value.

type NetworkACL

type NetworkACL struct {

	// Name is the name of the ACL.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Priority is the priority of the ACL. ACLs with higher priority are evaluated first.
	Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// Action is the action to take when a request matches the ACL.
	Action ACLAction `protobuf:"varint,3,opt,name=action,proto3,enum=v1.ACLAction" json:"action,omitempty"`
	// SourceNodes is a list of source nodes to match against. If empty, all nodes are matched. Groups
	// can be specified with the prefix "group:". If one or more of the nodes is '*', all nodes are matched.
	SourceNodes []string `protobuf:"bytes,4,rep,name=sourceNodes,proto3" json:"sourceNodes,omitempty"`
	// DestinationNodes is a list of destination nodes to match against. If empty, all nodes are matched.
	// Groups can be specified with the prefix "group:". If one or more of the nodes is '*', all nodes are matched.
	DestinationNodes []string `protobuf:"bytes,5,rep,name=destinationNodes,proto3" json:"destinationNodes,omitempty"`
	// SourceCIDRs is a list of source CIDRs to match against. If empty, all CIDRs are matched.
	// If one or more of the CIDRs is '*', all CIDRs are matched.
	SourceCIDRs []string `protobuf:"bytes,6,rep,name=sourceCIDRs,proto3" json:"sourceCIDRs,omitempty"`
	// DestinationCIDRs is a list of destination CIDRs to match against. If empty, all CIDRs are matched.
	// If one or more of the CIDRs is '*', all CIDRs are matched.
	DestinationCIDRs []string `protobuf:"bytes,7,rep,name=destinationCIDRs,proto3" json:"destinationCIDRs,omitempty"`
	// contains filtered or unexported fields
}

NetworkACL is a network ACL.

func (*NetworkACL) DeepCopy

func (in *NetworkACL) DeepCopy() *NetworkACL

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL. Required by controller-gen.

func (*NetworkACL) DeepCopyInterface

func (in *NetworkACL) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL. Required by controller-gen.

func (*NetworkACL) DeepCopyInto

func (in *NetworkACL) DeepCopyInto(out *NetworkACL)

DeepCopyInto supports using NetworkACL within kubernetes types, where deepcopy-gen is used.

func (*NetworkACL) Descriptor deprecated

func (*NetworkACL) Descriptor() ([]byte, []int)

Deprecated: Use NetworkACL.ProtoReflect.Descriptor instead.

func (*NetworkACL) GetAction

func (x *NetworkACL) GetAction() ACLAction

func (*NetworkACL) GetDestinationCIDRs

func (x *NetworkACL) GetDestinationCIDRs() []string

func (*NetworkACL) GetDestinationNodes

func (x *NetworkACL) GetDestinationNodes() []string

func (*NetworkACL) GetName

func (x *NetworkACL) GetName() string

func (*NetworkACL) GetPriority

func (x *NetworkACL) GetPriority() int32

func (*NetworkACL) GetSourceCIDRs

func (x *NetworkACL) GetSourceCIDRs() []string

func (*NetworkACL) GetSourceNodes

func (x *NetworkACL) GetSourceNodes() []string

func (*NetworkACL) ProtoMessage

func (*NetworkACL) ProtoMessage()

func (*NetworkACL) ProtoReflect

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

func (*NetworkACL) Reset

func (x *NetworkACL) Reset()

func (*NetworkACL) String

func (x *NetworkACL) String() string

func (*NetworkACL) Validate

func (m *NetworkACL) Validate() error

Validate checks the field values on NetworkACL with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NetworkACL) ValidateAll

func (m *NetworkACL) ValidateAll() error

ValidateAll checks the field values on NetworkACL with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NetworkACLMultiError, or nil if none found.

type NetworkACLMultiError

type NetworkACLMultiError []error

NetworkACLMultiError is an error wrapping multiple validation errors returned by NetworkACL.ValidateAll() if the designated constraints aren't met.

func (NetworkACLMultiError) AllErrors

func (m NetworkACLMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkACLMultiError) Error

func (m NetworkACLMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NetworkACLValidationError

type NetworkACLValidationError struct {
	// contains filtered or unexported fields
}

NetworkACLValidationError is the validation error returned by NetworkACL.Validate if the designated constraints aren't met.

func (NetworkACLValidationError) Cause

func (e NetworkACLValidationError) Cause() error

Cause function returns cause value.

func (NetworkACLValidationError) Error

Error satisfies the builtin error interface

func (NetworkACLValidationError) ErrorName

func (e NetworkACLValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkACLValidationError) Field

Field function returns field value.

func (NetworkACLValidationError) Key

Key function returns key value.

func (NetworkACLValidationError) Reason

func (e NetworkACLValidationError) Reason() string

Reason function returns reason value.

type NetworkACLs

type NetworkACLs struct {

	// Items is the list of network ACLs.
	Items []*NetworkACL `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

NetworkACLs is a list of network ACLs.

func (*NetworkACLs) DeepCopy

func (in *NetworkACLs) DeepCopy() *NetworkACLs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLs. Required by controller-gen.

func (*NetworkACLs) DeepCopyInterface

func (in *NetworkACLs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLs. Required by controller-gen.

func (*NetworkACLs) DeepCopyInto

func (in *NetworkACLs) DeepCopyInto(out *NetworkACLs)

DeepCopyInto supports using NetworkACLs within kubernetes types, where deepcopy-gen is used.

func (*NetworkACLs) Descriptor deprecated

func (*NetworkACLs) Descriptor() ([]byte, []int)

Deprecated: Use NetworkACLs.ProtoReflect.Descriptor instead.

func (*NetworkACLs) GetItems

func (x *NetworkACLs) GetItems() []*NetworkACL

func (*NetworkACLs) ProtoMessage

func (*NetworkACLs) ProtoMessage()

func (*NetworkACLs) ProtoReflect

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

func (*NetworkACLs) Reset

func (x *NetworkACLs) Reset()

func (*NetworkACLs) String

func (x *NetworkACLs) String() string

func (*NetworkACLs) Validate

func (m *NetworkACLs) Validate() error

Validate checks the field values on NetworkACLs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NetworkACLs) ValidateAll

func (m *NetworkACLs) ValidateAll() error

ValidateAll checks the field values on NetworkACLs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NetworkACLsMultiError, or nil if none found.

type NetworkACLsMultiError

type NetworkACLsMultiError []error

NetworkACLsMultiError is an error wrapping multiple validation errors returned by NetworkACLs.ValidateAll() if the designated constraints aren't met.

func (NetworkACLsMultiError) AllErrors

func (m NetworkACLsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkACLsMultiError) Error

func (m NetworkACLsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NetworkACLsValidationError

type NetworkACLsValidationError struct {
	// contains filtered or unexported fields
}

NetworkACLsValidationError is the validation error returned by NetworkACLs.Validate if the designated constraints aren't met.

func (NetworkACLsValidationError) Cause

Cause function returns cause value.

func (NetworkACLsValidationError) Error

Error satisfies the builtin error interface

func (NetworkACLsValidationError) ErrorName

func (e NetworkACLsValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkACLsValidationError) Field

Field function returns field value.

func (NetworkACLsValidationError) Key

Key function returns key value.

func (NetworkACLsValidationError) Reason

Reason function returns reason value.

type NetworkAction

type NetworkAction struct {

	// SrcNode is the source node of the action.
	SrcNode string `protobuf:"bytes,1,opt,name=srcNode,proto3" json:"srcNode,omitempty"`
	// SrcCIDR is the source CIDR of the action.
	SrcCIDR string `protobuf:"bytes,2,opt,name=srcCIDR,proto3" json:"srcCIDR,omitempty"`
	// DstNode is the destination node of the action.
	DstNode string `protobuf:"bytes,3,opt,name=dstNode,proto3" json:"dstNode,omitempty"`
	// DstCIDR is the destination CIDR of the action.
	DstCIDR string `protobuf:"bytes,4,opt,name=dstCIDR,proto3" json:"dstCIDR,omitempty"`
	// contains filtered or unexported fields
}

NetworkAction is an action that can be performed on a network resource. It is used by implementations to evaluate network ACLs.

func (*NetworkAction) DeepCopy

func (in *NetworkAction) DeepCopy() *NetworkAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAction. Required by controller-gen.

func (*NetworkAction) DeepCopyInterface

func (in *NetworkAction) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAction. Required by controller-gen.

func (*NetworkAction) DeepCopyInto

func (in *NetworkAction) DeepCopyInto(out *NetworkAction)

DeepCopyInto supports using NetworkAction within kubernetes types, where deepcopy-gen is used.

func (*NetworkAction) Descriptor deprecated

func (*NetworkAction) Descriptor() ([]byte, []int)

Deprecated: Use NetworkAction.ProtoReflect.Descriptor instead.

func (*NetworkAction) GetDstCIDR

func (x *NetworkAction) GetDstCIDR() string

func (*NetworkAction) GetDstNode

func (x *NetworkAction) GetDstNode() string

func (*NetworkAction) GetSrcCIDR

func (x *NetworkAction) GetSrcCIDR() string

func (*NetworkAction) GetSrcNode

func (x *NetworkAction) GetSrcNode() string

func (*NetworkAction) ProtoMessage

func (*NetworkAction) ProtoMessage()

func (*NetworkAction) ProtoReflect

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

func (*NetworkAction) Reset

func (x *NetworkAction) Reset()

func (*NetworkAction) String

func (x *NetworkAction) String() string

func (*NetworkAction) Validate

func (m *NetworkAction) Validate() error

Validate checks the field values on NetworkAction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NetworkAction) ValidateAll

func (m *NetworkAction) ValidateAll() error

ValidateAll checks the field values on NetworkAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NetworkActionMultiError, or nil if none found.

type NetworkActionMultiError

type NetworkActionMultiError []error

NetworkActionMultiError is an error wrapping multiple validation errors returned by NetworkAction.ValidateAll() if the designated constraints aren't met.

func (NetworkActionMultiError) AllErrors

func (m NetworkActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkActionMultiError) Error

func (m NetworkActionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NetworkActionValidationError

type NetworkActionValidationError struct {
	// contains filtered or unexported fields
}

NetworkActionValidationError is the validation error returned by NetworkAction.Validate if the designated constraints aren't met.

func (NetworkActionValidationError) Cause

Cause function returns cause value.

func (NetworkActionValidationError) Error

Error satisfies the builtin error interface

func (NetworkActionValidationError) ErrorName

func (e NetworkActionValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkActionValidationError) Field

Field function returns field value.

func (NetworkActionValidationError) Key

Key function returns key value.

func (NetworkActionValidationError) Reason

Reason function returns reason value.

type NetworkAuthMethod added in v0.10.3

type NetworkAuthMethod int32

NetworkAuthMethod are types of RPC credentials to supply to mesh nodes.

const (
	// NO_AUTH is used to indicate that no authentication is required.
	NetworkAuthMethod_NO_AUTH NetworkAuthMethod = 0
	// BASIC is used to indicate that basic authentication is required.
	NetworkAuthMethod_BASIC NetworkAuthMethod = 1
	// LDAP is used to indicate that LDAP authentication is required.
	NetworkAuthMethod_LDAP NetworkAuthMethod = 2
	// ID is used to indicate that an identity is required.
	NetworkAuthMethod_ID NetworkAuthMethod = 3
	// MTLS is used to indicate that mutual TLS authentication is required.
	// The TLS object should be used to configure the TLS connection.
	NetworkAuthMethod_MTLS NetworkAuthMethod = 4
)

func (NetworkAuthMethod) Descriptor added in v0.10.3

func (NetworkAuthMethod) Enum added in v0.10.3

func (NetworkAuthMethod) EnumDescriptor deprecated added in v0.10.3

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

Deprecated: Use NetworkAuthMethod.Descriptor instead.

func (NetworkAuthMethod) Number added in v0.10.3

func (NetworkAuthMethod) String added in v0.10.3

func (x NetworkAuthMethod) String() string

func (NetworkAuthMethod) Type added in v0.10.3

type NetworkState

type NetworkState struct {
	NetworkV4 string `protobuf:"bytes,1,opt,name=networkV4,proto3" json:"networkV4,omitempty"`
	NetworkV6 string `protobuf:"bytes,2,opt,name=networkV6,proto3" json:"networkV6,omitempty"`
	Domain    string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

NetworkState represents the full network state as returned by a network state query.

func (*NetworkState) DeepCopy

func (in *NetworkState) DeepCopy() *NetworkState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkState. Required by controller-gen.

func (*NetworkState) DeepCopyInterface

func (in *NetworkState) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkState. Required by controller-gen.

func (*NetworkState) DeepCopyInto

func (in *NetworkState) DeepCopyInto(out *NetworkState)

DeepCopyInto supports using NetworkState within kubernetes types, where deepcopy-gen is used.

func (*NetworkState) Descriptor deprecated

func (*NetworkState) Descriptor() ([]byte, []int)

Deprecated: Use NetworkState.ProtoReflect.Descriptor instead.

func (*NetworkState) GetDomain

func (x *NetworkState) GetDomain() string

func (*NetworkState) GetNetworkV4

func (x *NetworkState) GetNetworkV4() string

func (*NetworkState) GetNetworkV6

func (x *NetworkState) GetNetworkV6() string

func (*NetworkState) ProtoMessage

func (*NetworkState) ProtoMessage()

func (*NetworkState) ProtoReflect

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

func (*NetworkState) Reset

func (x *NetworkState) Reset()

func (*NetworkState) String

func (x *NetworkState) String() string

func (*NetworkState) Validate

func (m *NetworkState) Validate() error

Validate checks the field values on NetworkState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NetworkState) ValidateAll

func (m *NetworkState) ValidateAll() error

ValidateAll checks the field values on NetworkState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NetworkStateMultiError, or nil if none found.

type NetworkStateMultiError

type NetworkStateMultiError []error

NetworkStateMultiError is an error wrapping multiple validation errors returned by NetworkState.ValidateAll() if the designated constraints aren't met.

func (NetworkStateMultiError) AllErrors

func (m NetworkStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkStateMultiError) Error

func (m NetworkStateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NetworkStateValidationError

type NetworkStateValidationError struct {
	// contains filtered or unexported fields
}

NetworkStateValidationError is the validation error returned by NetworkState.Validate if the designated constraints aren't met.

func (NetworkStateValidationError) Cause

Cause function returns cause value.

func (NetworkStateValidationError) Error

Error satisfies the builtin error interface

func (NetworkStateValidationError) ErrorName

func (e NetworkStateValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkStateValidationError) Field

Field function returns field value.

func (NetworkStateValidationError) Key

Key function returns key value.

func (NetworkStateValidationError) Reason

Reason function returns reason value.

type NodeClient

type NodeClient interface {
	// GetStatus gets the status of a node in the cluster. If the node is not able
	// to return the status of the ID requested, it should return an error.
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*Status, error)
	// NegotiateDataChannel is used to negotiate a WebRTC connection between a webmesh client
	// and a node in the cluster. The handling server will send the target node the source address,
	// the destination for traffic, and STUN/TURN servers to use for the negotiation. The node
	// responds with an offer to be forwarded to the client. When the handler receives an answer
	// from the client, it forwards it to the node. Once the node receives the answer, the stream
	// can optionally be used to exchange ICE candidates.
	NegotiateDataChannel(ctx context.Context, opts ...grpc.CallOption) (Node_NegotiateDataChannelClient, error)
	// ReceiveSignalChannel is used to receive a request to start a WebRTC connection between a remote
	// node and this node. The node should wait for the client to send an offer, and then respond with
	// an answer. Once the node receives the answer, the stream can optionally be used to exchange ICE
	// candidates.
	ReceiveSignalChannel(ctx context.Context, opts ...grpc.CallOption) (Node_ReceiveSignalChannelClient, error)
}

NodeClient is the client API for Node service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNodeClient

func NewNodeClient(cc grpc.ClientConnInterface) NodeClient

type NodeConfiguration

type NodeConfiguration struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// NetworkIPv4 is the IPv4 network that the node is a part of.
	NetworkIPv4 string `protobuf:"bytes,2,opt,name=networkIPv4,proto3" json:"networkIPv4,omitempty"`
	// NetworkIPv6 is the IPv6 network that the node is a part of.
	NetworkIPv6 string `protobuf:"bytes,3,opt,name=networkIPv6,proto3" json:"networkIPv6,omitempty"`
	// AddressIPv4 is the IPv4 address of the node.
	AddressIPv4 string `protobuf:"bytes,4,opt,name=addressIPv4,proto3" json:"addressIPv4,omitempty"`
	// AddressIPv6 is the IPv6 address of the node.
	AddressIPv6 string `protobuf:"bytes,5,opt,name=addressIPv6,proto3" json:"addressIPv6,omitempty"`
	// Domain is the domain of the network.
	Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
	// PrivateKey is the private key of the node.
	PrivateKey []byte `protobuf:"bytes,7,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// contains filtered or unexported fields
}

NodeConfiguration is the message containing the configuration of the node and the network that it is a part of.

func (*NodeConfiguration) DeepCopy

func (in *NodeConfiguration) DeepCopy() *NodeConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. Required by controller-gen.

func (*NodeConfiguration) DeepCopyInterface

func (in *NodeConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. Required by controller-gen.

func (*NodeConfiguration) DeepCopyInto

func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration)

DeepCopyInto supports using NodeConfiguration within kubernetes types, where deepcopy-gen is used.

func (*NodeConfiguration) Descriptor deprecated

func (*NodeConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use NodeConfiguration.ProtoReflect.Descriptor instead.

func (*NodeConfiguration) GetAddressIPv4

func (x *NodeConfiguration) GetAddressIPv4() string

func (*NodeConfiguration) GetAddressIPv6

func (x *NodeConfiguration) GetAddressIPv6() string

func (*NodeConfiguration) GetDomain

func (x *NodeConfiguration) GetDomain() string

func (*NodeConfiguration) GetId

func (x *NodeConfiguration) GetId() string

func (*NodeConfiguration) GetNetworkIPv4

func (x *NodeConfiguration) GetNetworkIPv4() string

func (*NodeConfiguration) GetNetworkIPv6

func (x *NodeConfiguration) GetNetworkIPv6() string

func (*NodeConfiguration) GetPrivateKey

func (x *NodeConfiguration) GetPrivateKey() []byte

func (*NodeConfiguration) ProtoMessage

func (*NodeConfiguration) ProtoMessage()

func (*NodeConfiguration) ProtoReflect

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

func (*NodeConfiguration) Reset

func (x *NodeConfiguration) Reset()

func (*NodeConfiguration) String

func (x *NodeConfiguration) String() string

func (*NodeConfiguration) Validate

func (m *NodeConfiguration) Validate() error

Validate checks the field values on NodeConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeConfiguration) ValidateAll

func (m *NodeConfiguration) ValidateAll() error

ValidateAll checks the field values on NodeConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeConfigurationMultiError, or nil if none found.

type NodeConfigurationMultiError

type NodeConfigurationMultiError []error

NodeConfigurationMultiError is an error wrapping multiple validation errors returned by NodeConfiguration.ValidateAll() if the designated constraints aren't met.

func (NodeConfigurationMultiError) AllErrors

func (m NodeConfigurationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeConfigurationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NodeConfigurationValidationError

type NodeConfigurationValidationError struct {
	// contains filtered or unexported fields
}

NodeConfigurationValidationError is the validation error returned by NodeConfiguration.Validate if the designated constraints aren't met.

func (NodeConfigurationValidationError) Cause

Cause function returns cause value.

func (NodeConfigurationValidationError) Error

Error satisfies the builtin error interface

func (NodeConfigurationValidationError) ErrorName

ErrorName returns error name.

func (NodeConfigurationValidationError) Field

Field function returns field value.

func (NodeConfigurationValidationError) Key

Key function returns key value.

func (NodeConfigurationValidationError) Reason

Reason function returns reason value.

type NodeList

type NodeList struct {

	// Nodes is the list of nodes.
	Nodes []*MeshNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

NodeList is a list of nodes.

func (*NodeList) DeepCopy

func (in *NodeList) DeepCopy() *NodeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. Required by controller-gen.

func (*NodeList) DeepCopyInterface

func (in *NodeList) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. Required by controller-gen.

func (*NodeList) DeepCopyInto

func (in *NodeList) DeepCopyInto(out *NodeList)

DeepCopyInto supports using NodeList within kubernetes types, where deepcopy-gen is used.

func (*NodeList) Descriptor deprecated

func (*NodeList) Descriptor() ([]byte, []int)

Deprecated: Use NodeList.ProtoReflect.Descriptor instead.

func (*NodeList) GetNodes

func (x *NodeList) GetNodes() []*MeshNode

func (*NodeList) ProtoMessage

func (*NodeList) ProtoMessage()

func (*NodeList) ProtoReflect

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

func (*NodeList) Reset

func (x *NodeList) Reset()

func (*NodeList) String

func (x *NodeList) String() string

func (*NodeList) Validate

func (m *NodeList) Validate() error

Validate checks the field values on NodeList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeList) ValidateAll

func (m *NodeList) ValidateAll() error

ValidateAll checks the field values on NodeList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeListMultiError, or nil if none found.

type NodeListMultiError

type NodeListMultiError []error

NodeListMultiError is an error wrapping multiple validation errors returned by NodeList.ValidateAll() if the designated constraints aren't met.

func (NodeListMultiError) AllErrors

func (m NodeListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeListMultiError) Error

func (m NodeListMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeListValidationError

type NodeListValidationError struct {
	// contains filtered or unexported fields
}

NodeListValidationError is the validation error returned by NodeList.Validate if the designated constraints aren't met.

func (NodeListValidationError) Cause

func (e NodeListValidationError) Cause() error

Cause function returns cause value.

func (NodeListValidationError) Error

func (e NodeListValidationError) Error() string

Error satisfies the builtin error interface

func (NodeListValidationError) ErrorName

func (e NodeListValidationError) ErrorName() string

ErrorName returns error name.

func (NodeListValidationError) Field

func (e NodeListValidationError) Field() string

Field function returns field value.

func (NodeListValidationError) Key

func (e NodeListValidationError) Key() bool

Key function returns key value.

func (NodeListValidationError) Reason

func (e NodeListValidationError) Reason() string

Reason function returns reason value.

type NodeServer

type NodeServer interface {
	// GetStatus gets the status of a node in the cluster. If the node is not able
	// to return the status of the ID requested, it should return an error.
	GetStatus(context.Context, *GetStatusRequest) (*Status, error)
	// NegotiateDataChannel is used to negotiate a WebRTC connection between a webmesh client
	// and a node in the cluster. The handling server will send the target node the source address,
	// the destination for traffic, and STUN/TURN servers to use for the negotiation. The node
	// responds with an offer to be forwarded to the client. When the handler receives an answer
	// from the client, it forwards it to the node. Once the node receives the answer, the stream
	// can optionally be used to exchange ICE candidates.
	NegotiateDataChannel(Node_NegotiateDataChannelServer) error
	// ReceiveSignalChannel is used to receive a request to start a WebRTC connection between a remote
	// node and this node. The node should wait for the client to send an offer, and then respond with
	// an answer. Once the node receives the answer, the stream can optionally be used to exchange ICE
	// candidates.
	ReceiveSignalChannel(Node_ReceiveSignalChannelServer) error
	// contains filtered or unexported methods
}

NodeServer is the server API for Node service. All implementations must embed UnimplementedNodeServer for forward compatibility

type Node_NegotiateDataChannelClient

type Node_NegotiateDataChannelClient interface {
	Send(*DataChannelNegotiation) error
	Recv() (*DataChannelNegotiation, error)
	grpc.ClientStream
}

type Node_NegotiateDataChannelServer

type Node_NegotiateDataChannelServer interface {
	Send(*DataChannelNegotiation) error
	Recv() (*DataChannelNegotiation, error)
	grpc.ServerStream
}

type Node_ReceiveSignalChannelClient

type Node_ReceiveSignalChannelClient interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ClientStream
}

type Node_ReceiveSignalChannelServer

type Node_ReceiveSignalChannelServer interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ServerStream
}

type PeerConfigurations

type PeerConfigurations struct {

	// Peers is a list of wireguard peers to connect to.
	Peers []*WireGuardPeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
	// ICEServers is a list of public nodes that can be used to negotiate
	// ICE connections if required. This may only be populated when one of
	// the peers has the ICE flag set.
	IceServers []string `protobuf:"bytes,6,rep,name=iceServers,proto3" json:"iceServers,omitempty"`
	// DNSServers is a list of peers offering DNS services.
	DnsServers []string `protobuf:"bytes,7,rep,name=dnsServers,proto3" json:"dnsServers,omitempty"`
	// contains filtered or unexported fields
}

PeerConfigurations is a stream of peer configurations.

func (*PeerConfigurations) DeepCopy

func (in *PeerConfigurations) DeepCopy() *PeerConfigurations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerConfigurations. Required by controller-gen.

func (*PeerConfigurations) DeepCopyInterface

func (in *PeerConfigurations) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PeerConfigurations. Required by controller-gen.

func (*PeerConfigurations) DeepCopyInto

func (in *PeerConfigurations) DeepCopyInto(out *PeerConfigurations)

DeepCopyInto supports using PeerConfigurations within kubernetes types, where deepcopy-gen is used.

func (*PeerConfigurations) Descriptor deprecated

func (*PeerConfigurations) Descriptor() ([]byte, []int)

Deprecated: Use PeerConfigurations.ProtoReflect.Descriptor instead.

func (*PeerConfigurations) GetDnsServers

func (x *PeerConfigurations) GetDnsServers() []string

func (*PeerConfigurations) GetIceServers

func (x *PeerConfigurations) GetIceServers() []string

func (*PeerConfigurations) GetPeers

func (x *PeerConfigurations) GetPeers() []*WireGuardPeer

func (*PeerConfigurations) ProtoMessage

func (*PeerConfigurations) ProtoMessage()

func (*PeerConfigurations) ProtoReflect

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

func (*PeerConfigurations) Reset

func (x *PeerConfigurations) Reset()

func (*PeerConfigurations) String

func (x *PeerConfigurations) String() string

func (*PeerConfigurations) Validate

func (m *PeerConfigurations) Validate() error

Validate checks the field values on PeerConfigurations with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PeerConfigurations) ValidateAll

func (m *PeerConfigurations) ValidateAll() error

ValidateAll checks the field values on PeerConfigurations with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PeerConfigurationsMultiError, or nil if none found.

type PeerConfigurationsMultiError

type PeerConfigurationsMultiError []error

PeerConfigurationsMultiError is an error wrapping multiple validation errors returned by PeerConfigurations.ValidateAll() if the designated constraints aren't met.

func (PeerConfigurationsMultiError) AllErrors

func (m PeerConfigurationsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeerConfigurationsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PeerConfigurationsValidationError

type PeerConfigurationsValidationError struct {
	// contains filtered or unexported fields
}

PeerConfigurationsValidationError is the validation error returned by PeerConfigurations.Validate if the designated constraints aren't met.

func (PeerConfigurationsValidationError) Cause

Cause function returns cause value.

func (PeerConfigurationsValidationError) Error

Error satisfies the builtin error interface

func (PeerConfigurationsValidationError) ErrorName

ErrorName returns error name.

func (PeerConfigurationsValidationError) Field

Field function returns field value.

func (PeerConfigurationsValidationError) Key

Key function returns key value.

func (PeerConfigurationsValidationError) Reason

Reason function returns reason value.

type PeerMetrics

type PeerMetrics struct {

	// PublicKey is the public key of the peer.
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// Endpoint is the connected endpoint of the peer.
	Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// PersistentKeepAlive is the persistent keep alive interval for the peer.
	PersistentKeepAlive string `protobuf:"bytes,3,opt,name=persistentKeepAlive,proto3" json:"persistentKeepAlive,omitempty"`
	// LastHandshakeTime is the last handshake time for the peer.
	LastHandshakeTime string `protobuf:"bytes,4,opt,name=lastHandshakeTime,proto3" json:"lastHandshakeTime,omitempty"`
	// AllowedIPs is the list of allowed IPs for the peer.
	AllowedIPs []string `protobuf:"bytes,5,rep,name=allowedIPs,proto3" json:"allowedIPs,omitempty"`
	// ProtocolVersion is the version of the wireguard protocol negotiated with the peer.
	ProtocolVersion int64 `protobuf:"varint,6,opt,name=protocolVersion,proto3" json:"protocolVersion,omitempty"`
	// ReceiveBytes is the bytes received from the peer.
	ReceiveBytes uint64 `protobuf:"varint,7,opt,name=receiveBytes,proto3" json:"receiveBytes,omitempty"`
	// TransmitBytes is the bytes transmitted to the peer.
	TransmitBytes uint64 `protobuf:"varint,8,opt,name=transmitBytes,proto3" json:"transmitBytes,omitempty"`
	// contains filtered or unexported fields
}

PeerMetrics are the metrics for a node's peer.

func (*PeerMetrics) DeepCopy

func (in *PeerMetrics) DeepCopy() *PeerMetrics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerMetrics. Required by controller-gen.

func (*PeerMetrics) DeepCopyInterface

func (in *PeerMetrics) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PeerMetrics. Required by controller-gen.

func (*PeerMetrics) DeepCopyInto

func (in *PeerMetrics) DeepCopyInto(out *PeerMetrics)

DeepCopyInto supports using PeerMetrics within kubernetes types, where deepcopy-gen is used.

func (*PeerMetrics) Descriptor deprecated

func (*PeerMetrics) Descriptor() ([]byte, []int)

Deprecated: Use PeerMetrics.ProtoReflect.Descriptor instead.

func (*PeerMetrics) GetAllowedIPs

func (x *PeerMetrics) GetAllowedIPs() []string

func (*PeerMetrics) GetEndpoint

func (x *PeerMetrics) GetEndpoint() string

func (*PeerMetrics) GetLastHandshakeTime

func (x *PeerMetrics) GetLastHandshakeTime() string

func (*PeerMetrics) GetPersistentKeepAlive

func (x *PeerMetrics) GetPersistentKeepAlive() string

func (*PeerMetrics) GetProtocolVersion

func (x *PeerMetrics) GetProtocolVersion() int64

func (*PeerMetrics) GetPublicKey

func (x *PeerMetrics) GetPublicKey() string

func (*PeerMetrics) GetReceiveBytes

func (x *PeerMetrics) GetReceiveBytes() uint64

func (*PeerMetrics) GetTransmitBytes

func (x *PeerMetrics) GetTransmitBytes() uint64

func (*PeerMetrics) ProtoMessage

func (*PeerMetrics) ProtoMessage()

func (*PeerMetrics) ProtoReflect

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

func (*PeerMetrics) Reset

func (x *PeerMetrics) Reset()

func (*PeerMetrics) String

func (x *PeerMetrics) String() string

func (*PeerMetrics) Validate

func (m *PeerMetrics) Validate() error

Validate checks the field values on PeerMetrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PeerMetrics) ValidateAll

func (m *PeerMetrics) ValidateAll() error

ValidateAll checks the field values on PeerMetrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PeerMetricsMultiError, or nil if none found.

type PeerMetricsMultiError

type PeerMetricsMultiError []error

PeerMetricsMultiError is an error wrapping multiple validation errors returned by PeerMetrics.ValidateAll() if the designated constraints aren't met.

func (PeerMetricsMultiError) AllErrors

func (m PeerMetricsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeerMetricsMultiError) Error

func (m PeerMetricsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PeerMetricsValidationError

type PeerMetricsValidationError struct {
	// contains filtered or unexported fields
}

PeerMetricsValidationError is the validation error returned by PeerMetrics.Validate if the designated constraints aren't met.

func (PeerMetricsValidationError) Cause

Cause function returns cause value.

func (PeerMetricsValidationError) Error

Error satisfies the builtin error interface

func (PeerMetricsValidationError) ErrorName

func (e PeerMetricsValidationError) ErrorName() string

ErrorName returns error name.

func (PeerMetricsValidationError) Field

Field function returns field value.

func (PeerMetricsValidationError) Key

Key function returns key value.

func (PeerMetricsValidationError) Reason

Reason function returns reason value.

type PluginClient

type PluginClient interface {
	// GetInfo returns the information for the plugin.
	GetInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
	// Configure starts and configures the plugin.
	Configure(ctx context.Context, in *PluginConfiguration, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Close closes the plugin. It is called when the node is shutting down.
	Close(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PluginClient is the client API for Plugin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPluginClient

func NewPluginClient(cc grpc.ClientConnInterface) PluginClient

type PluginConfiguration

type PluginConfiguration struct {

	// Config is the configuration for the plugin. This will be specific
	// for each plugin.
	Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// NodeConfig is the configuration of the node and the network that it is a part of.
	NodeConfig *NodeConfiguration `protobuf:"bytes,2,opt,name=nodeConfig,proto3" json:"nodeConfig,omitempty"`
	// contains filtered or unexported fields
}

PluginConfiguration is the message containing the configuration of a plugin.

func (*PluginConfiguration) DeepCopy

func (in *PluginConfiguration) DeepCopy() *PluginConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfiguration. Required by controller-gen.

func (*PluginConfiguration) DeepCopyInterface

func (in *PluginConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfiguration. Required by controller-gen.

func (*PluginConfiguration) DeepCopyInto

func (in *PluginConfiguration) DeepCopyInto(out *PluginConfiguration)

DeepCopyInto supports using PluginConfiguration within kubernetes types, where deepcopy-gen is used.

func (*PluginConfiguration) Descriptor deprecated

func (*PluginConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use PluginConfiguration.ProtoReflect.Descriptor instead.

func (*PluginConfiguration) GetConfig

func (x *PluginConfiguration) GetConfig() *structpb.Struct

func (*PluginConfiguration) GetNodeConfig

func (x *PluginConfiguration) GetNodeConfig() *NodeConfiguration

func (*PluginConfiguration) ProtoMessage

func (*PluginConfiguration) ProtoMessage()

func (*PluginConfiguration) ProtoReflect

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

func (*PluginConfiguration) Reset

func (x *PluginConfiguration) Reset()

func (*PluginConfiguration) String

func (x *PluginConfiguration) String() string

func (*PluginConfiguration) Validate

func (m *PluginConfiguration) Validate() error

Validate checks the field values on PluginConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PluginConfiguration) ValidateAll

func (m *PluginConfiguration) ValidateAll() error

ValidateAll checks the field values on PluginConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PluginConfigurationMultiError, or nil if none found.

type PluginConfigurationMultiError

type PluginConfigurationMultiError []error

PluginConfigurationMultiError is an error wrapping multiple validation errors returned by PluginConfiguration.ValidateAll() if the designated constraints aren't met.

func (PluginConfigurationMultiError) AllErrors

func (m PluginConfigurationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PluginConfigurationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PluginConfigurationValidationError

type PluginConfigurationValidationError struct {
	// contains filtered or unexported fields
}

PluginConfigurationValidationError is the validation error returned by PluginConfiguration.Validate if the designated constraints aren't met.

func (PluginConfigurationValidationError) Cause

Cause function returns cause value.

func (PluginConfigurationValidationError) Error

Error satisfies the builtin error interface

func (PluginConfigurationValidationError) ErrorName

ErrorName returns error name.

func (PluginConfigurationValidationError) Field

Field function returns field value.

func (PluginConfigurationValidationError) Key

Key function returns key value.

func (PluginConfigurationValidationError) Reason

Reason function returns reason value.

type PluginInfo

type PluginInfo struct {

	// Name is the name of the plugin.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version is the version of the plugin.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Description is the description of the plugin.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Capabilities is the capabilities of the plugin.
	Capabilities []PluginInfo_PluginCapability `protobuf:"varint,5,rep,packed,name=capabilities,proto3,enum=v1.PluginInfo_PluginCapability" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

PluginInfo is the information of a plugin.

func (*PluginInfo) DeepCopy

func (in *PluginInfo) DeepCopy() *PluginInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginInfo. Required by controller-gen.

func (*PluginInfo) DeepCopyInterface

func (in *PluginInfo) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginInfo. Required by controller-gen.

func (*PluginInfo) DeepCopyInto

func (in *PluginInfo) DeepCopyInto(out *PluginInfo)

DeepCopyInto supports using PluginInfo within kubernetes types, where deepcopy-gen is used.

func (*PluginInfo) Descriptor deprecated

func (*PluginInfo) Descriptor() ([]byte, []int)

Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.

func (*PluginInfo) GetCapabilities

func (x *PluginInfo) GetCapabilities() []PluginInfo_PluginCapability

func (*PluginInfo) GetDescription

func (x *PluginInfo) GetDescription() string

func (*PluginInfo) GetName

func (x *PluginInfo) GetName() string

func (*PluginInfo) GetVersion

func (x *PluginInfo) GetVersion() string

func (*PluginInfo) ProtoMessage

func (*PluginInfo) ProtoMessage()

func (*PluginInfo) ProtoReflect

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

func (*PluginInfo) Reset

func (x *PluginInfo) Reset()

func (*PluginInfo) String

func (x *PluginInfo) String() string

func (*PluginInfo) Validate

func (m *PluginInfo) Validate() error

Validate checks the field values on PluginInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PluginInfo) ValidateAll

func (m *PluginInfo) ValidateAll() error

ValidateAll checks the field values on PluginInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PluginInfoMultiError, or nil if none found.

type PluginInfoMultiError

type PluginInfoMultiError []error

PluginInfoMultiError is an error wrapping multiple validation errors returned by PluginInfo.ValidateAll() if the designated constraints aren't met.

func (PluginInfoMultiError) AllErrors

func (m PluginInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PluginInfoMultiError) Error

func (m PluginInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PluginInfoValidationError

type PluginInfoValidationError struct {
	// contains filtered or unexported fields
}

PluginInfoValidationError is the validation error returned by PluginInfo.Validate if the designated constraints aren't met.

func (PluginInfoValidationError) Cause

func (e PluginInfoValidationError) Cause() error

Cause function returns cause value.

func (PluginInfoValidationError) Error

Error satisfies the builtin error interface

func (PluginInfoValidationError) ErrorName

func (e PluginInfoValidationError) ErrorName() string

ErrorName returns error name.

func (PluginInfoValidationError) Field

Field function returns field value.

func (PluginInfoValidationError) Key

Key function returns key value.

func (PluginInfoValidationError) Reason

func (e PluginInfoValidationError) Reason() string

Reason function returns reason value.

type PluginInfo_PluginCapability

type PluginInfo_PluginCapability int32

PluginCapability is the capabilities of a plugin.

const (
	// UNKNOWN is the default value of PluginCapability.
	PluginInfo_UNKNOWN PluginInfo_PluginCapability = 0
	// STORAGE_PROVIDER indicates that the plugin can provide storage and underlying consistency.
	PluginInfo_STORAGE_PROVIDER PluginInfo_PluginCapability = 1
	// AUTH indicates that the plugin is an auth plugin.
	PluginInfo_AUTH PluginInfo_PluginCapability = 2
	// WATCH indicates that the plugin wants to receive watch events.
	PluginInfo_WATCH PluginInfo_PluginCapability = 3
	// IPAMV4 indicates that the plugin is an IPv4 IPAM plugin.
	PluginInfo_IPAMV4 PluginInfo_PluginCapability = 4
	// STORAGE_QUERIER indicates a plugin that wants to interact with storage.
	PluginInfo_STORAGE_QUERIER PluginInfo_PluginCapability = 5
)

func (PluginInfo_PluginCapability) Descriptor

func (PluginInfo_PluginCapability) Enum

func (PluginInfo_PluginCapability) EnumDescriptor deprecated

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

Deprecated: Use PluginInfo_PluginCapability.Descriptor instead.

func (PluginInfo_PluginCapability) Number

func (PluginInfo_PluginCapability) String

func (PluginInfo_PluginCapability) Type

type PluginServer

type PluginServer interface {
	// GetInfo returns the information for the plugin.
	GetInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
	// Configure starts and configures the plugin.
	Configure(context.Context, *PluginConfiguration) (*emptypb.Empty, error)
	// Close closes the plugin. It is called when the node is shutting down.
	Close(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

PluginServer is the server API for Plugin service. All implementations must embed UnimplementedPluginServer for forward compatibility

type PrefixEvent

type PrefixEvent struct {

	// Prefix is the prefix that the event is for.
	Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Value is the value that was added or removed.
	Value *StorageValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// EventType is the type of event.
	EventType PrefixEvent_EventType `protobuf:"varint,3,opt,name=eventType,proto3,enum=v1.PrefixEvent_EventType" json:"eventType,omitempty"`
	// contains filtered or unexported fields
}

PrefixEvent is an event that is emitted when a value is added or removed from the storage for a prefix.

func (*PrefixEvent) DeepCopy

func (in *PrefixEvent) DeepCopy() *PrefixEvent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixEvent. Required by controller-gen.

func (*PrefixEvent) DeepCopyInterface

func (in *PrefixEvent) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PrefixEvent. Required by controller-gen.

func (*PrefixEvent) DeepCopyInto

func (in *PrefixEvent) DeepCopyInto(out *PrefixEvent)

DeepCopyInto supports using PrefixEvent within kubernetes types, where deepcopy-gen is used.

func (*PrefixEvent) Descriptor deprecated

func (*PrefixEvent) Descriptor() ([]byte, []int)

Deprecated: Use PrefixEvent.ProtoReflect.Descriptor instead.

func (*PrefixEvent) GetEventType

func (x *PrefixEvent) GetEventType() PrefixEvent_EventType

func (*PrefixEvent) GetPrefix

func (x *PrefixEvent) GetPrefix() []byte

func (*PrefixEvent) GetValue

func (x *PrefixEvent) GetValue() *StorageValue

func (*PrefixEvent) ProtoMessage

func (*PrefixEvent) ProtoMessage()

func (*PrefixEvent) ProtoReflect

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

func (*PrefixEvent) Reset

func (x *PrefixEvent) Reset()

func (*PrefixEvent) String

func (x *PrefixEvent) String() string

func (*PrefixEvent) Validate

func (m *PrefixEvent) Validate() error

Validate checks the field values on PrefixEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PrefixEvent) ValidateAll

func (m *PrefixEvent) ValidateAll() error

ValidateAll checks the field values on PrefixEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrefixEventMultiError, or nil if none found.

type PrefixEventMultiError

type PrefixEventMultiError []error

PrefixEventMultiError is an error wrapping multiple validation errors returned by PrefixEvent.ValidateAll() if the designated constraints aren't met.

func (PrefixEventMultiError) AllErrors

func (m PrefixEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrefixEventMultiError) Error

func (m PrefixEventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PrefixEventValidationError

type PrefixEventValidationError struct {
	// contains filtered or unexported fields
}

PrefixEventValidationError is the validation error returned by PrefixEvent.Validate if the designated constraints aren't met.

func (PrefixEventValidationError) Cause

Cause function returns cause value.

func (PrefixEventValidationError) Error

Error satisfies the builtin error interface

func (PrefixEventValidationError) ErrorName

func (e PrefixEventValidationError) ErrorName() string

ErrorName returns error name.

func (PrefixEventValidationError) Field

Field function returns field value.

func (PrefixEventValidationError) Key

Key function returns key value.

func (PrefixEventValidationError) Reason

Reason function returns reason value.

type PrefixEvent_EventType

type PrefixEvent_EventType int32
const (
	// EventTypeUnknown is an unknown event type.
	PrefixEvent_EventTypeUnknown PrefixEvent_EventType = 0
	// EventTypeUpdated is an event for when a value is added or updated.
	PrefixEvent_EventTypeUpdated PrefixEvent_EventType = 1
	// EventTypeRemoved is an event for when a value is removed.
	PrefixEvent_EventTypeRemoved PrefixEvent_EventType = 2
)

func (PrefixEvent_EventType) Descriptor

func (PrefixEvent_EventType) Enum

func (PrefixEvent_EventType) EnumDescriptor deprecated

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

Deprecated: Use PrefixEvent_EventType.Descriptor instead.

func (PrefixEvent_EventType) Number

func (PrefixEvent_EventType) String

func (x PrefixEvent_EventType) String() string

func (PrefixEvent_EventType) Type

type PublishRequest

type PublishRequest struct {

	// Key is the key of the event.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the value of the event. This will be the raw value of the key.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// TTL is the time for the event to live in the database.
	Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

PublishRequest is sent by the application to the node to publish events. This currently only supports database events.

func (*PublishRequest) DeepCopy

func (in *PublishRequest) DeepCopy() *PublishRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishRequest. Required by controller-gen.

func (*PublishRequest) DeepCopyInterface

func (in *PublishRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PublishRequest. Required by controller-gen.

func (*PublishRequest) DeepCopyInto

func (in *PublishRequest) DeepCopyInto(out *PublishRequest)

DeepCopyInto supports using PublishRequest within kubernetes types, where deepcopy-gen is used.

func (*PublishRequest) Descriptor deprecated

func (*PublishRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetKey

func (x *PublishRequest) GetKey() []byte

func (*PublishRequest) GetTtl

func (x *PublishRequest) GetTtl() *durationpb.Duration

func (*PublishRequest) GetValue

func (x *PublishRequest) GetValue() []byte

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect

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

func (*PublishRequest) Reset

func (x *PublishRequest) Reset()

func (*PublishRequest) String

func (x *PublishRequest) String() string

func (*PublishRequest) Validate

func (m *PublishRequest) Validate() error

Validate checks the field values on PublishRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PublishRequest) ValidateAll

func (m *PublishRequest) ValidateAll() error

ValidateAll checks the field values on PublishRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PublishRequestMultiError, or nil if none found.

type PublishRequestMultiError

type PublishRequestMultiError []error

PublishRequestMultiError is an error wrapping multiple validation errors returned by PublishRequest.ValidateAll() if the designated constraints aren't met.

func (PublishRequestMultiError) AllErrors

func (m PublishRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublishRequestMultiError) Error

func (m PublishRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PublishRequestValidationError

type PublishRequestValidationError struct {
	// contains filtered or unexported fields
}

PublishRequestValidationError is the validation error returned by PublishRequest.Validate if the designated constraints aren't met.

func (PublishRequestValidationError) Cause

Cause function returns cause value.

func (PublishRequestValidationError) Error

Error satisfies the builtin error interface

func (PublishRequestValidationError) ErrorName

func (e PublishRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PublishRequestValidationError) Field

Field function returns field value.

func (PublishRequestValidationError) Key

Key function returns key value.

func (PublishRequestValidationError) Reason

Reason function returns reason value.

type PublishResponse

type PublishResponse struct {
	// contains filtered or unexported fields
}

PublishResponse is the response to a publish request. This is currently empty.

func (*PublishResponse) DeepCopy

func (in *PublishResponse) DeepCopy() *PublishResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishResponse. Required by controller-gen.

func (*PublishResponse) DeepCopyInterface

func (in *PublishResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PublishResponse. Required by controller-gen.

func (*PublishResponse) DeepCopyInto

func (in *PublishResponse) DeepCopyInto(out *PublishResponse)

DeepCopyInto supports using PublishResponse within kubernetes types, where deepcopy-gen is used.

func (*PublishResponse) Descriptor deprecated

func (*PublishResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) ProtoMessage

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect

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

func (*PublishResponse) Reset

func (x *PublishResponse) Reset()

func (*PublishResponse) String

func (x *PublishResponse) String() string

func (*PublishResponse) Validate

func (m *PublishResponse) Validate() error

Validate checks the field values on PublishResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PublishResponse) ValidateAll

func (m *PublishResponse) ValidateAll() error

ValidateAll checks the field values on PublishResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PublishResponseMultiError, or nil if none found.

type PublishResponseMultiError

type PublishResponseMultiError []error

PublishResponseMultiError is an error wrapping multiple validation errors returned by PublishResponse.ValidateAll() if the designated constraints aren't met.

func (PublishResponseMultiError) AllErrors

func (m PublishResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublishResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PublishResponseValidationError

type PublishResponseValidationError struct {
	// contains filtered or unexported fields
}

PublishResponseValidationError is the validation error returned by PublishResponse.Validate if the designated constraints aren't met.

func (PublishResponseValidationError) Cause

Cause function returns cause value.

func (PublishResponseValidationError) Error

Error satisfies the builtin error interface

func (PublishResponseValidationError) ErrorName

func (e PublishResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PublishResponseValidationError) Field

Field function returns field value.

func (PublishResponseValidationError) Key

Key function returns key value.

func (PublishResponseValidationError) Reason

Reason function returns reason value.

type PutConnectionRequest added in v0.12.0

type PutConnectionRequest struct {

	// ID is the unique identifier of the connection. If not provided
	// one will be generated.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Parameters are the parameters for the connection.
	Parameters *ConnectionParameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Metadata are arbitrary key/value pairs to store with the connection.
	Metadata *structpb.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

PutConnectionRequest is sent by an application to a daemon to store the parameters for a mesh connection.

func (*PutConnectionRequest) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutConnectionRequest. Required by controller-gen.

func (*PutConnectionRequest) DeepCopyInterface added in v0.12.0

func (in *PutConnectionRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PutConnectionRequest. Required by controller-gen.

func (*PutConnectionRequest) DeepCopyInto added in v0.12.0

func (in *PutConnectionRequest) DeepCopyInto(out *PutConnectionRequest)

DeepCopyInto supports using PutConnectionRequest within kubernetes types, where deepcopy-gen is used.

func (*PutConnectionRequest) Descriptor deprecated added in v0.12.0

func (*PutConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use PutConnectionRequest.ProtoReflect.Descriptor instead.

func (*PutConnectionRequest) GetId added in v0.12.0

func (x *PutConnectionRequest) GetId() string

func (*PutConnectionRequest) GetMetadata added in v0.12.0

func (x *PutConnectionRequest) GetMetadata() *structpb.Struct

func (*PutConnectionRequest) GetParameters added in v0.12.0

func (x *PutConnectionRequest) GetParameters() *ConnectionParameters

func (*PutConnectionRequest) ProtoMessage added in v0.12.0

func (*PutConnectionRequest) ProtoMessage()

func (*PutConnectionRequest) ProtoReflect added in v0.12.0

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

func (*PutConnectionRequest) Reset added in v0.12.0

func (x *PutConnectionRequest) Reset()

func (*PutConnectionRequest) String added in v0.12.0

func (x *PutConnectionRequest) String() string

func (*PutConnectionRequest) Validate added in v0.12.0

func (m *PutConnectionRequest) Validate() error

Validate checks the field values on PutConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PutConnectionRequest) ValidateAll added in v0.12.0

func (m *PutConnectionRequest) ValidateAll() error

ValidateAll checks the field values on PutConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PutConnectionRequestMultiError, or nil if none found.

type PutConnectionRequestMultiError added in v0.12.0

type PutConnectionRequestMultiError []error

PutConnectionRequestMultiError is an error wrapping multiple validation errors returned by PutConnectionRequest.ValidateAll() if the designated constraints aren't met.

func (PutConnectionRequestMultiError) AllErrors added in v0.12.0

func (m PutConnectionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutConnectionRequestMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type PutConnectionRequestValidationError added in v0.12.0

type PutConnectionRequestValidationError struct {
	// contains filtered or unexported fields
}

PutConnectionRequestValidationError is the validation error returned by PutConnectionRequest.Validate if the designated constraints aren't met.

func (PutConnectionRequestValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (PutConnectionRequestValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (PutConnectionRequestValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (PutConnectionRequestValidationError) Field added in v0.12.0

Field function returns field value.

func (PutConnectionRequestValidationError) Key added in v0.12.0

Key function returns key value.

func (PutConnectionRequestValidationError) Reason added in v0.12.0

Reason function returns reason value.

type PutConnectionResponse added in v0.12.0

type PutConnectionResponse struct {

	// ID is the unique identifier of the connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

PutConnectionResponse is returned by the PutConnection RPC.

func (*PutConnectionResponse) DeepCopy added in v0.12.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutConnectionResponse. Required by controller-gen.

func (*PutConnectionResponse) DeepCopyInterface added in v0.12.0

func (in *PutConnectionResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PutConnectionResponse. Required by controller-gen.

func (*PutConnectionResponse) DeepCopyInto added in v0.12.0

func (in *PutConnectionResponse) DeepCopyInto(out *PutConnectionResponse)

DeepCopyInto supports using PutConnectionResponse within kubernetes types, where deepcopy-gen is used.

func (*PutConnectionResponse) Descriptor deprecated added in v0.12.0

func (*PutConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use PutConnectionResponse.ProtoReflect.Descriptor instead.

func (*PutConnectionResponse) GetId added in v0.12.0

func (x *PutConnectionResponse) GetId() string

func (*PutConnectionResponse) ProtoMessage added in v0.12.0

func (*PutConnectionResponse) ProtoMessage()

func (*PutConnectionResponse) ProtoReflect added in v0.12.0

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

func (*PutConnectionResponse) Reset added in v0.12.0

func (x *PutConnectionResponse) Reset()

func (*PutConnectionResponse) String added in v0.12.0

func (x *PutConnectionResponse) String() string

func (*PutConnectionResponse) Validate added in v0.12.0

func (m *PutConnectionResponse) Validate() error

Validate checks the field values on PutConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PutConnectionResponse) ValidateAll added in v0.12.0

func (m *PutConnectionResponse) ValidateAll() error

ValidateAll checks the field values on PutConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PutConnectionResponseMultiError, or nil if none found.

type PutConnectionResponseMultiError added in v0.12.0

type PutConnectionResponseMultiError []error

PutConnectionResponseMultiError is an error wrapping multiple validation errors returned by PutConnectionResponse.ValidateAll() if the designated constraints aren't met.

func (PutConnectionResponseMultiError) AllErrors added in v0.12.0

func (m PutConnectionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutConnectionResponseMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type PutConnectionResponseValidationError added in v0.12.0

type PutConnectionResponseValidationError struct {
	// contains filtered or unexported fields
}

PutConnectionResponseValidationError is the validation error returned by PutConnectionResponse.Validate if the designated constraints aren't met.

func (PutConnectionResponseValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (PutConnectionResponseValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (PutConnectionResponseValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (PutConnectionResponseValidationError) Field added in v0.12.0

Field function returns field value.

func (PutConnectionResponseValidationError) Key added in v0.12.0

Key function returns key value.

func (PutConnectionResponseValidationError) Reason added in v0.12.0

Reason function returns reason value.

type PutValueRequest

type PutValueRequest struct {

	// Value is the value to put.
	Value *StorageValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// TTL is the time to live for the value.
	Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

PutValueRequest is the request object for the PutValue RPC.

func (*PutValueRequest) DeepCopy

func (in *PutValueRequest) DeepCopy() *PutValueRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutValueRequest. Required by controller-gen.

func (*PutValueRequest) DeepCopyInterface

func (in *PutValueRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PutValueRequest. Required by controller-gen.

func (*PutValueRequest) DeepCopyInto

func (in *PutValueRequest) DeepCopyInto(out *PutValueRequest)

DeepCopyInto supports using PutValueRequest within kubernetes types, where deepcopy-gen is used.

func (*PutValueRequest) Descriptor deprecated

func (*PutValueRequest) Descriptor() ([]byte, []int)

Deprecated: Use PutValueRequest.ProtoReflect.Descriptor instead.

func (*PutValueRequest) GetTtl

func (x *PutValueRequest) GetTtl() *durationpb.Duration

func (*PutValueRequest) GetValue

func (x *PutValueRequest) GetValue() *StorageValue

func (*PutValueRequest) ProtoMessage

func (*PutValueRequest) ProtoMessage()

func (*PutValueRequest) ProtoReflect

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

func (*PutValueRequest) Reset

func (x *PutValueRequest) Reset()

func (*PutValueRequest) String

func (x *PutValueRequest) String() string

func (*PutValueRequest) Validate

func (m *PutValueRequest) Validate() error

Validate checks the field values on PutValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PutValueRequest) ValidateAll

func (m *PutValueRequest) ValidateAll() error

ValidateAll checks the field values on PutValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PutValueRequestMultiError, or nil if none found.

type PutValueRequestMultiError

type PutValueRequestMultiError []error

PutValueRequestMultiError is an error wrapping multiple validation errors returned by PutValueRequest.ValidateAll() if the designated constraints aren't met.

func (PutValueRequestMultiError) AllErrors

func (m PutValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutValueRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PutValueRequestValidationError

type PutValueRequestValidationError struct {
	// contains filtered or unexported fields
}

PutValueRequestValidationError is the validation error returned by PutValueRequest.Validate if the designated constraints aren't met.

func (PutValueRequestValidationError) Cause

Cause function returns cause value.

func (PutValueRequestValidationError) Error

Error satisfies the builtin error interface

func (PutValueRequestValidationError) ErrorName

func (e PutValueRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PutValueRequestValidationError) Field

Field function returns field value.

func (PutValueRequestValidationError) Key

Key function returns key value.

func (PutValueRequestValidationError) Reason

Reason function returns reason value.

type PutValueResponse

type PutValueResponse struct {
	// contains filtered or unexported fields
}

PutValueResponse is the response object for the PutValue RPC.

func (*PutValueResponse) DeepCopy

func (in *PutValueResponse) DeepCopy() *PutValueResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutValueResponse. Required by controller-gen.

func (*PutValueResponse) DeepCopyInterface

func (in *PutValueResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PutValueResponse. Required by controller-gen.

func (*PutValueResponse) DeepCopyInto

func (in *PutValueResponse) DeepCopyInto(out *PutValueResponse)

DeepCopyInto supports using PutValueResponse within kubernetes types, where deepcopy-gen is used.

func (*PutValueResponse) Descriptor deprecated

func (*PutValueResponse) Descriptor() ([]byte, []int)

Deprecated: Use PutValueResponse.ProtoReflect.Descriptor instead.

func (*PutValueResponse) ProtoMessage

func (*PutValueResponse) ProtoMessage()

func (*PutValueResponse) ProtoReflect

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

func (*PutValueResponse) Reset

func (x *PutValueResponse) Reset()

func (*PutValueResponse) String

func (x *PutValueResponse) String() string

func (*PutValueResponse) Validate

func (m *PutValueResponse) Validate() error

Validate checks the field values on PutValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PutValueResponse) ValidateAll

func (m *PutValueResponse) ValidateAll() error

ValidateAll checks the field values on PutValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PutValueResponseMultiError, or nil if none found.

type PutValueResponseMultiError

type PutValueResponseMultiError []error

PutValueResponseMultiError is an error wrapping multiple validation errors returned by PutValueResponse.ValidateAll() if the designated constraints aren't met.

func (PutValueResponseMultiError) AllErrors

func (m PutValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutValueResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PutValueResponseValidationError

type PutValueResponseValidationError struct {
	// contains filtered or unexported fields
}

PutValueResponseValidationError is the validation error returned by PutValueResponse.Validate if the designated constraints aren't met.

func (PutValueResponseValidationError) Cause

Cause function returns cause value.

func (PutValueResponseValidationError) Error

Error satisfies the builtin error interface

func (PutValueResponseValidationError) ErrorName

ErrorName returns error name.

func (PutValueResponseValidationError) Field

Field function returns field value.

func (PutValueResponseValidationError) Key

Key function returns key value.

func (PutValueResponseValidationError) Reason

Reason function returns reason value.

type QueryRequest

type QueryRequest struct {

	// Command is the command of the query.
	Command QueryRequest_QueryCommand `protobuf:"varint,1,opt,name=command,proto3,enum=v1.QueryRequest_QueryCommand" json:"command,omitempty"`
	// Type is the type of resource for the query.
	Type QueryRequest_QueryType `protobuf:"varint,2,opt,name=type,proto3,enum=v1.QueryRequest_QueryType" json:"type,omitempty"`
	// Query is the string of the query. This follows the format of a comma-separted
	// label selector and is only applicable for certain queries. For get queries this
	// will usually be an ID. For list queries this will usually be one or more filters.
	// On put or delete queries, this should be an ID.
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// Item is an item to put. This is only applicable for PUT queries. It should be a
	// protobuf-JSON encoded object of the given query type.
	Item []byte `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

QueryRequest is sent by the application to the node to query the mesh for information.

func (*QueryRequest) DeepCopy

func (in *QueryRequest) DeepCopy() *QueryRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryRequest. Required by controller-gen.

func (*QueryRequest) DeepCopyInterface

func (in *QueryRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new QueryRequest. Required by controller-gen.

func (*QueryRequest) DeepCopyInto

func (in *QueryRequest) DeepCopyInto(out *QueryRequest)

DeepCopyInto supports using QueryRequest within kubernetes types, where deepcopy-gen is used.

func (*QueryRequest) Descriptor deprecated

func (*QueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.

func (*QueryRequest) GetCommand

func (x *QueryRequest) GetCommand() QueryRequest_QueryCommand

func (*QueryRequest) GetItem added in v0.10.2

func (x *QueryRequest) GetItem() []byte

func (*QueryRequest) GetQuery

func (x *QueryRequest) GetQuery() string

func (*QueryRequest) GetType

func (x *QueryRequest) GetType() QueryRequest_QueryType

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect

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

func (*QueryRequest) Reset

func (x *QueryRequest) Reset()

func (*QueryRequest) String

func (x *QueryRequest) String() string

func (*QueryRequest) Validate

func (m *QueryRequest) Validate() error

Validate checks the field values on QueryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryRequest) ValidateAll

func (m *QueryRequest) ValidateAll() error

ValidateAll checks the field values on QueryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryRequestMultiError, or nil if none found.

type QueryRequestMultiError

type QueryRequestMultiError []error

QueryRequestMultiError is an error wrapping multiple validation errors returned by QueryRequest.ValidateAll() if the designated constraints aren't met.

func (QueryRequestMultiError) AllErrors

func (m QueryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryRequestMultiError) Error

func (m QueryRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type QueryRequestValidationError

type QueryRequestValidationError struct {
	// contains filtered or unexported fields
}

QueryRequestValidationError is the validation error returned by QueryRequest.Validate if the designated constraints aren't met.

func (QueryRequestValidationError) Cause

Cause function returns cause value.

func (QueryRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryRequestValidationError) ErrorName

func (e QueryRequestValidationError) ErrorName() string

ErrorName returns error name.

func (QueryRequestValidationError) Field

Field function returns field value.

func (QueryRequestValidationError) Key

Key function returns key value.

func (QueryRequestValidationError) Reason

Reason function returns reason value.

type QueryRequest_QueryCommand

type QueryRequest_QueryCommand int32

QueryCommand is the type of the query.

const (
	// GET is the command to get a value.
	QueryRequest_GET QueryRequest_QueryCommand = 0
	// LIST is the command to list keys with an optional prefix.
	QueryRequest_LIST QueryRequest_QueryCommand = 1
	// PUT is the command to put a value.
	QueryRequest_PUT QueryRequest_QueryCommand = 2
	// DELETE is the command to delete a value.
	QueryRequest_DELETE QueryRequest_QueryCommand = 3
)

func (QueryRequest_QueryCommand) Descriptor

func (QueryRequest_QueryCommand) Enum

func (QueryRequest_QueryCommand) EnumDescriptor deprecated

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

Deprecated: Use QueryRequest_QueryCommand.Descriptor instead.

func (QueryRequest_QueryCommand) Number

func (QueryRequest_QueryCommand) String

func (x QueryRequest_QueryCommand) String() string

func (QueryRequest_QueryCommand) Type

type QueryRequest_QueryType

type QueryRequest_QueryType int32

QueryType is the type of object being queried.

const (
	// VALUE represents a raw value query at a supplied key.
	QueryRequest_VALUE QueryRequest_QueryType = 0
	// KEYS is the type for querying keys.
	QueryRequest_KEYS QueryRequest_QueryType = 1
	// PEERS is the type for querying peers.
	QueryRequest_PEERS QueryRequest_QueryType = 2
	// EDGES is the type for querying edges.
	QueryRequest_EDGES QueryRequest_QueryType = 3
	// ROUTES is the type for querying routes.
	QueryRequest_ROUTES QueryRequest_QueryType = 4
	// ACLS is the type for querying ACLs.
	QueryRequest_ACLS QueryRequest_QueryType = 5
	// ROLES is the type for querying roles.
	QueryRequest_ROLES QueryRequest_QueryType = 6
	// ROLEBINDINGS is the type for querying role bindings.
	QueryRequest_ROLEBINDINGS QueryRequest_QueryType = 7
	// GROUPS is the type for querying groups.
	QueryRequest_GROUPS QueryRequest_QueryType = 8
	// NETWORK_STATE is the type for querying network configuration.
	QueryRequest_NETWORK_STATE QueryRequest_QueryType = 9
	// RBAC_STATE is the type for querying RBAC configuration.
	// This will return a single item of true or false.
	QueryRequest_RBAC_STATE QueryRequest_QueryType = 10
)

func (QueryRequest_QueryType) Descriptor

func (QueryRequest_QueryType) Enum

func (QueryRequest_QueryType) EnumDescriptor deprecated

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

Deprecated: Use QueryRequest_QueryType.Descriptor instead.

func (QueryRequest_QueryType) Number

func (QueryRequest_QueryType) String

func (x QueryRequest_QueryType) String() string

func (QueryRequest_QueryType) Type

type QueryResponse

type QueryResponse struct {

	// Items contain the results of the query. These will be protobuf
	// json-encoded objects of the given query type.
	Items [][]byte `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// Error is an error that happened during the query. This will always
	// be populated on errors, but single-flight queries will return
	// a coded error instead.
	Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

QueryResponse is the message containing a mesh query result.

func (*QueryResponse) DeepCopy

func (in *QueryResponse) DeepCopy() *QueryResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryResponse. Required by controller-gen.

func (*QueryResponse) DeepCopyInterface

func (in *QueryResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new QueryResponse. Required by controller-gen.

func (*QueryResponse) DeepCopyInto

func (in *QueryResponse) DeepCopyInto(out *QueryResponse)

DeepCopyInto supports using QueryResponse within kubernetes types, where deepcopy-gen is used.

func (*QueryResponse) Descriptor deprecated

func (*QueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetError

func (x *QueryResponse) GetError() string

func (*QueryResponse) GetItems

func (x *QueryResponse) GetItems() [][]byte

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect

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

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) String

func (x *QueryResponse) String() string

func (*QueryResponse) Validate

func (m *QueryResponse) Validate() error

Validate checks the field values on QueryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryResponse) ValidateAll

func (m *QueryResponse) ValidateAll() error

ValidateAll checks the field values on QueryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryResponseMultiError, or nil if none found.

type QueryResponseMultiError

type QueryResponseMultiError []error

QueryResponseMultiError is an error wrapping multiple validation errors returned by QueryResponse.ValidateAll() if the designated constraints aren't met.

func (QueryResponseMultiError) AllErrors

func (m QueryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryResponseMultiError) Error

func (m QueryResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type QueryResponseValidationError

type QueryResponseValidationError struct {
	// contains filtered or unexported fields
}

QueryResponseValidationError is the validation error returned by QueryResponse.Validate if the designated constraints aren't met.

func (QueryResponseValidationError) Cause

Cause function returns cause value.

func (QueryResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryResponseValidationError) ErrorName

func (e QueryResponseValidationError) ErrorName() string

ErrorName returns error name.

func (QueryResponseValidationError) Field

Field function returns field value.

func (QueryResponseValidationError) Key

Key function returns key value.

func (QueryResponseValidationError) Reason

Reason function returns reason value.

type RBACAction

type RBACAction struct {

	// Resource is the resource on which the action is performed.
	Resource RuleResource `protobuf:"varint,1,opt,name=resource,proto3,enum=v1.RuleResource" json:"resource,omitempty"`
	// ResourceName is the name of the resource on which the action is
	// performed.
	ResourceName string `protobuf:"bytes,2,opt,name=resourceName,proto3" json:"resourceName,omitempty"`
	// Verb is the verb that is performed on the resource.
	Verb RuleVerb `protobuf:"varint,3,opt,name=verb,proto3,enum=v1.RuleVerb" json:"verb,omitempty"`
	// contains filtered or unexported fields
}

RBACAction is an action that can be performed on a resource. It is used by implementations to evaluate rules.

func (*RBACAction) DeepCopy

func (in *RBACAction) DeepCopy() *RBACAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACAction. Required by controller-gen.

func (*RBACAction) DeepCopyInterface

func (in *RBACAction) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RBACAction. Required by controller-gen.

func (*RBACAction) DeepCopyInto

func (in *RBACAction) DeepCopyInto(out *RBACAction)

DeepCopyInto supports using RBACAction within kubernetes types, where deepcopy-gen is used.

func (*RBACAction) Descriptor deprecated

func (*RBACAction) Descriptor() ([]byte, []int)

Deprecated: Use RBACAction.ProtoReflect.Descriptor instead.

func (*RBACAction) GetResource

func (x *RBACAction) GetResource() RuleResource

func (*RBACAction) GetResourceName

func (x *RBACAction) GetResourceName() string

func (*RBACAction) GetVerb

func (x *RBACAction) GetVerb() RuleVerb

func (*RBACAction) ProtoMessage

func (*RBACAction) ProtoMessage()

func (*RBACAction) ProtoReflect

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

func (*RBACAction) Reset

func (x *RBACAction) Reset()

func (*RBACAction) String

func (x *RBACAction) String() string

func (*RBACAction) Validate

func (m *RBACAction) Validate() error

Validate checks the field values on RBACAction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RBACAction) ValidateAll

func (m *RBACAction) ValidateAll() error

ValidateAll checks the field values on RBACAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RBACActionMultiError, or nil if none found.

type RBACActionMultiError

type RBACActionMultiError []error

RBACActionMultiError is an error wrapping multiple validation errors returned by RBACAction.ValidateAll() if the designated constraints aren't met.

func (RBACActionMultiError) AllErrors

func (m RBACActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RBACActionMultiError) Error

func (m RBACActionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RBACActionValidationError

type RBACActionValidationError struct {
	// contains filtered or unexported fields
}

RBACActionValidationError is the validation error returned by RBACAction.Validate if the designated constraints aren't met.

func (RBACActionValidationError) Cause

func (e RBACActionValidationError) Cause() error

Cause function returns cause value.

func (RBACActionValidationError) Error

Error satisfies the builtin error interface

func (RBACActionValidationError) ErrorName

func (e RBACActionValidationError) ErrorName() string

ErrorName returns error name.

func (RBACActionValidationError) Field

Field function returns field value.

func (RBACActionValidationError) Key

Key function returns key value.

func (RBACActionValidationError) Reason

func (e RBACActionValidationError) Reason() string

Reason function returns reason value.

type RaftApplyResponse

type RaftApplyResponse struct {

	// Time is the total time it took to apply the log entry.
	Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Error is an error that occurred during the apply.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

RaftApplyResponse is the response to an apply request. It contains the result of applying the log entry.

func (*RaftApplyResponse) DeepCopy

func (in *RaftApplyResponse) DeepCopy() *RaftApplyResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftApplyResponse. Required by controller-gen.

func (*RaftApplyResponse) DeepCopyInterface

func (in *RaftApplyResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftApplyResponse. Required by controller-gen.

func (*RaftApplyResponse) DeepCopyInto

func (in *RaftApplyResponse) DeepCopyInto(out *RaftApplyResponse)

DeepCopyInto supports using RaftApplyResponse within kubernetes types, where deepcopy-gen is used.

func (*RaftApplyResponse) Descriptor deprecated

func (*RaftApplyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RaftApplyResponse.ProtoReflect.Descriptor instead.

func (*RaftApplyResponse) GetError

func (x *RaftApplyResponse) GetError() string

func (*RaftApplyResponse) GetTime

func (x *RaftApplyResponse) GetTime() string

func (*RaftApplyResponse) ProtoMessage

func (*RaftApplyResponse) ProtoMessage()

func (*RaftApplyResponse) ProtoReflect

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

func (*RaftApplyResponse) Reset

func (x *RaftApplyResponse) Reset()

func (*RaftApplyResponse) String

func (x *RaftApplyResponse) String() string

func (*RaftApplyResponse) Validate

func (m *RaftApplyResponse) Validate() error

Validate checks the field values on RaftApplyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RaftApplyResponse) ValidateAll

func (m *RaftApplyResponse) ValidateAll() error

ValidateAll checks the field values on RaftApplyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RaftApplyResponseMultiError, or nil if none found.

type RaftApplyResponseMultiError

type RaftApplyResponseMultiError []error

RaftApplyResponseMultiError is an error wrapping multiple validation errors returned by RaftApplyResponse.ValidateAll() if the designated constraints aren't met.

func (RaftApplyResponseMultiError) AllErrors

func (m RaftApplyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftApplyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RaftApplyResponseValidationError

type RaftApplyResponseValidationError struct {
	// contains filtered or unexported fields
}

RaftApplyResponseValidationError is the validation error returned by RaftApplyResponse.Validate if the designated constraints aren't met.

func (RaftApplyResponseValidationError) Cause

Cause function returns cause value.

func (RaftApplyResponseValidationError) Error

Error satisfies the builtin error interface

func (RaftApplyResponseValidationError) ErrorName

ErrorName returns error name.

func (RaftApplyResponseValidationError) Field

Field function returns field value.

func (RaftApplyResponseValidationError) Key

Key function returns key value.

func (RaftApplyResponseValidationError) Reason

Reason function returns reason value.

type RaftCommandType

type RaftCommandType int32

RaftCommandType is the type of command being sent to the Raft log.

const (
	// UNKNOWN is the unknown command type.
	RaftCommandType_UNKNOWN RaftCommandType = 0
	// PUT is the command for putting a key/value pair.
	RaftCommandType_PUT RaftCommandType = 1
	// DELETE is the command for deleting a key/value pair.
	RaftCommandType_DELETE RaftCommandType = 2
)

func (RaftCommandType) Descriptor

func (RaftCommandType) Enum

func (x RaftCommandType) Enum() *RaftCommandType

func (RaftCommandType) EnumDescriptor deprecated

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

Deprecated: Use RaftCommandType.Descriptor instead.

func (RaftCommandType) Number

func (RaftCommandType) String

func (x RaftCommandType) String() string

func (RaftCommandType) Type

type RaftDataItem

type RaftDataItem struct {

	// Key is the key of the data item.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the value of the data item.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// TTL is the time to live of the data item.
	Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

RaftDataItem represents a value in the Raft data store.

func (*RaftDataItem) DeepCopy

func (in *RaftDataItem) DeepCopy() *RaftDataItem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftDataItem. Required by controller-gen.

func (*RaftDataItem) DeepCopyInterface

func (in *RaftDataItem) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftDataItem. Required by controller-gen.

func (*RaftDataItem) DeepCopyInto

func (in *RaftDataItem) DeepCopyInto(out *RaftDataItem)

DeepCopyInto supports using RaftDataItem within kubernetes types, where deepcopy-gen is used.

func (*RaftDataItem) Descriptor deprecated

func (*RaftDataItem) Descriptor() ([]byte, []int)

Deprecated: Use RaftDataItem.ProtoReflect.Descriptor instead.

func (*RaftDataItem) GetKey

func (x *RaftDataItem) GetKey() []byte

func (*RaftDataItem) GetTtl

func (x *RaftDataItem) GetTtl() *durationpb.Duration

func (*RaftDataItem) GetValue

func (x *RaftDataItem) GetValue() []byte

func (*RaftDataItem) ProtoMessage

func (*RaftDataItem) ProtoMessage()

func (*RaftDataItem) ProtoReflect

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

func (*RaftDataItem) Reset

func (x *RaftDataItem) Reset()

func (*RaftDataItem) String

func (x *RaftDataItem) String() string

func (*RaftDataItem) Validate

func (m *RaftDataItem) Validate() error

Validate checks the field values on RaftDataItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RaftDataItem) ValidateAll

func (m *RaftDataItem) ValidateAll() error

ValidateAll checks the field values on RaftDataItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RaftDataItemMultiError, or nil if none found.

type RaftDataItemMultiError

type RaftDataItemMultiError []error

RaftDataItemMultiError is an error wrapping multiple validation errors returned by RaftDataItem.ValidateAll() if the designated constraints aren't met.

func (RaftDataItemMultiError) AllErrors

func (m RaftDataItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftDataItemMultiError) Error

func (m RaftDataItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RaftDataItemValidationError

type RaftDataItemValidationError struct {
	// contains filtered or unexported fields
}

RaftDataItemValidationError is the validation error returned by RaftDataItem.Validate if the designated constraints aren't met.

func (RaftDataItemValidationError) Cause

Cause function returns cause value.

func (RaftDataItemValidationError) Error

Error satisfies the builtin error interface

func (RaftDataItemValidationError) ErrorName

func (e RaftDataItemValidationError) ErrorName() string

ErrorName returns error name.

func (RaftDataItemValidationError) Field

Field function returns field value.

func (RaftDataItemValidationError) Key

Key function returns key value.

func (RaftDataItemValidationError) Reason

Reason function returns reason value.

type RaftLogEntry

type RaftLogEntry struct {

	// Type is the type of the log entry.
	Type RaftCommandType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.RaftCommandType" json:"type,omitempty"`
	// Key is the key of the log entry.
	Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the value of the log entry.
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// TTL is the time to live of the log entry.
	Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

RaftLogEntry is the data of an entry in the Raft log.

func (*RaftLogEntry) DeepCopy

func (in *RaftLogEntry) DeepCopy() *RaftLogEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftLogEntry. Required by controller-gen.

func (*RaftLogEntry) DeepCopyInterface

func (in *RaftLogEntry) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftLogEntry. Required by controller-gen.

func (*RaftLogEntry) DeepCopyInto

func (in *RaftLogEntry) DeepCopyInto(out *RaftLogEntry)

DeepCopyInto supports using RaftLogEntry within kubernetes types, where deepcopy-gen is used.

func (*RaftLogEntry) Descriptor deprecated

func (*RaftLogEntry) Descriptor() ([]byte, []int)

Deprecated: Use RaftLogEntry.ProtoReflect.Descriptor instead.

func (*RaftLogEntry) GetKey

func (x *RaftLogEntry) GetKey() []byte

func (*RaftLogEntry) GetTtl

func (x *RaftLogEntry) GetTtl() *durationpb.Duration

func (*RaftLogEntry) GetType

func (x *RaftLogEntry) GetType() RaftCommandType

func (*RaftLogEntry) GetValue

func (x *RaftLogEntry) GetValue() []byte

func (*RaftLogEntry) ProtoMessage

func (*RaftLogEntry) ProtoMessage()

func (*RaftLogEntry) ProtoReflect

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

func (*RaftLogEntry) Reset

func (x *RaftLogEntry) Reset()

func (*RaftLogEntry) String

func (x *RaftLogEntry) String() string

func (*RaftLogEntry) Validate

func (m *RaftLogEntry) Validate() error

Validate checks the field values on RaftLogEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RaftLogEntry) ValidateAll

func (m *RaftLogEntry) ValidateAll() error

ValidateAll checks the field values on RaftLogEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RaftLogEntryMultiError, or nil if none found.

type RaftLogEntryMultiError

type RaftLogEntryMultiError []error

RaftLogEntryMultiError is an error wrapping multiple validation errors returned by RaftLogEntry.ValidateAll() if the designated constraints aren't met.

func (RaftLogEntryMultiError) AllErrors

func (m RaftLogEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftLogEntryMultiError) Error

func (m RaftLogEntryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RaftLogEntryValidationError

type RaftLogEntryValidationError struct {
	// contains filtered or unexported fields
}

RaftLogEntryValidationError is the validation error returned by RaftLogEntry.Validate if the designated constraints aren't met.

func (RaftLogEntryValidationError) Cause

Cause function returns cause value.

func (RaftLogEntryValidationError) Error

Error satisfies the builtin error interface

func (RaftLogEntryValidationError) ErrorName

func (e RaftLogEntryValidationError) ErrorName() string

ErrorName returns error name.

func (RaftLogEntryValidationError) Field

Field function returns field value.

func (RaftLogEntryValidationError) Key

Key function returns key value.

func (RaftLogEntryValidationError) Reason

Reason function returns reason value.

type RaftSnapshot

type RaftSnapshot struct {

	// KV is the key/value pairs of the snapshot.
	Kv []*RaftDataItem `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"`
	// contains filtered or unexported fields
}

RaftSnapshot is the data of a snapshot.

func (*RaftSnapshot) DeepCopy

func (in *RaftSnapshot) DeepCopy() *RaftSnapshot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftSnapshot. Required by controller-gen.

func (*RaftSnapshot) DeepCopyInterface

func (in *RaftSnapshot) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftSnapshot. Required by controller-gen.

func (*RaftSnapshot) DeepCopyInto

func (in *RaftSnapshot) DeepCopyInto(out *RaftSnapshot)

DeepCopyInto supports using RaftSnapshot within kubernetes types, where deepcopy-gen is used.

func (*RaftSnapshot) Descriptor deprecated

func (*RaftSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use RaftSnapshot.ProtoReflect.Descriptor instead.

func (*RaftSnapshot) GetKv

func (x *RaftSnapshot) GetKv() []*RaftDataItem

func (*RaftSnapshot) ProtoMessage

func (*RaftSnapshot) ProtoMessage()

func (*RaftSnapshot) ProtoReflect

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

func (*RaftSnapshot) Reset

func (x *RaftSnapshot) Reset()

func (*RaftSnapshot) String

func (x *RaftSnapshot) String() string

func (*RaftSnapshot) Validate

func (m *RaftSnapshot) Validate() error

Validate checks the field values on RaftSnapshot with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RaftSnapshot) ValidateAll

func (m *RaftSnapshot) ValidateAll() error

ValidateAll checks the field values on RaftSnapshot with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RaftSnapshotMultiError, or nil if none found.

type RaftSnapshotMultiError

type RaftSnapshotMultiError []error

RaftSnapshotMultiError is an error wrapping multiple validation errors returned by RaftSnapshot.ValidateAll() if the designated constraints aren't met.

func (RaftSnapshotMultiError) AllErrors

func (m RaftSnapshotMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftSnapshotMultiError) Error

func (m RaftSnapshotMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RaftSnapshotValidationError

type RaftSnapshotValidationError struct {
	// contains filtered or unexported fields
}

RaftSnapshotValidationError is the validation error returned by RaftSnapshot.Validate if the designated constraints aren't met.

func (RaftSnapshotValidationError) Cause

Cause function returns cause value.

func (RaftSnapshotValidationError) Error

Error satisfies the builtin error interface

func (RaftSnapshotValidationError) ErrorName

func (e RaftSnapshotValidationError) ErrorName() string

ErrorName returns error name.

func (RaftSnapshotValidationError) Field

Field function returns field value.

func (RaftSnapshotValidationError) Key

Key function returns key value.

func (RaftSnapshotValidationError) Reason

Reason function returns reason value.

type RegisterRequest

type RegisterRequest struct {

	// The encoded public key to register.
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// An alias to associate with the public key. This can be used to lookup
	// the public key later.
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// Expiry is the time at which the public key and its associated aliases
	// should be removed from the registrar. If not provided, a default value
	// of 1 day from the time of registration will be used.
	Expiry *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

RegisterRequest is the request object for the Register RPC.

func (*RegisterRequest) DeepCopy

func (in *RegisterRequest) DeepCopy() *RegisterRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegisterRequest. Required by controller-gen.

func (*RegisterRequest) DeepCopyInterface

func (in *RegisterRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RegisterRequest. Required by controller-gen.

func (*RegisterRequest) DeepCopyInto

func (in *RegisterRequest) DeepCopyInto(out *RegisterRequest)

DeepCopyInto supports using RegisterRequest within kubernetes types, where deepcopy-gen is used.

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAlias

func (x *RegisterRequest) GetAlias() string

func (*RegisterRequest) GetExpiry

func (x *RegisterRequest) GetExpiry() *timestamppb.Timestamp

func (*RegisterRequest) GetPublicKey

func (x *RegisterRequest) GetPublicKey() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

func (*RegisterRequest) Validate

func (m *RegisterRequest) Validate() error

Validate checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterRequest) ValidateAll

func (m *RegisterRequest) ValidateAll() error

ValidateAll checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRequestMultiError, or nil if none found.

type RegisterRequestMultiError

type RegisterRequestMultiError []error

RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterRequestMultiError) AllErrors

func (m RegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterRequestValidationError

type RegisterRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.

func (RegisterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

Reason function returns reason value.

type RegisterResponse

type RegisterResponse struct {

	// ID of the public key that was registered.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

RegisterResponse is the response object for the Register RPC.

func (*RegisterResponse) DeepCopy

func (in *RegisterResponse) DeepCopy() *RegisterResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegisterResponse. Required by controller-gen.

func (*RegisterResponse) DeepCopyInterface

func (in *RegisterResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RegisterResponse. Required by controller-gen.

func (*RegisterResponse) DeepCopyInto

func (in *RegisterResponse) DeepCopyInto(out *RegisterResponse)

DeepCopyInto supports using RegisterResponse within kubernetes types, where deepcopy-gen is used.

func (*RegisterResponse) Descriptor deprecated

func (*RegisterResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetId

func (x *RegisterResponse) GetId() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

func (*RegisterResponse) Validate

func (m *RegisterResponse) Validate() error

Validate checks the field values on RegisterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterResponse) ValidateAll

func (m *RegisterResponse) ValidateAll() error

ValidateAll checks the field values on RegisterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterResponseMultiError, or nil if none found.

type RegisterResponseMultiError

type RegisterResponseMultiError []error

RegisterResponseMultiError is an error wrapping multiple validation errors returned by RegisterResponse.ValidateAll() if the designated constraints aren't met.

func (RegisterResponseMultiError) AllErrors

func (m RegisterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterResponseValidationError

type RegisterResponseValidationError struct {
	// contains filtered or unexported fields
}

RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.

func (RegisterResponseValidationError) Cause

Cause function returns cause value.

func (RegisterResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterResponseValidationError) Field

Field function returns field value.

func (RegisterResponseValidationError) Key

Key function returns key value.

func (RegisterResponseValidationError) Reason

Reason function returns reason value.

type RegistrarClient

type RegistrarClient interface {
	// Register a public key with the registrar. An alias can be provided to make it easier
	// to lookup the public key later. If the alias is already in use, the request will fail.
	// This method can be used to change the alias of a public key by providing the same
	// public key with a different alias.
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	// Lookup a public key by ID or alias. If the ID is not found, the
	// request will fail.
	Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error)
}

RegistrarClient is the client API for Registrar service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRegistrarClient

func NewRegistrarClient(cc grpc.ClientConnInterface) RegistrarClient

type RegistrarServer

type RegistrarServer interface {
	// Register a public key with the registrar. An alias can be provided to make it easier
	// to lookup the public key later. If the alias is already in use, the request will fail.
	// This method can be used to change the alias of a public key by providing the same
	// public key with a different alias.
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	// Lookup a public key by ID or alias. If the ID is not found, the
	// request will fail.
	Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
	// contains filtered or unexported methods
}

RegistrarServer is the server API for Registrar service. All implementations must embed UnimplementedRegistrarServer for forward compatibility

type ReleaseIPRequest

type ReleaseIPRequest struct {

	// NodeID is the node that the IP should be released for.
	NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// IP is the IP that should be released.
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

ReleaseIPRequest is the message containing an IP release request.

func (*ReleaseIPRequest) DeepCopy

func (in *ReleaseIPRequest) DeepCopy() *ReleaseIPRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseIPRequest. Required by controller-gen.

func (*ReleaseIPRequest) DeepCopyInterface

func (in *ReleaseIPRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseIPRequest. Required by controller-gen.

func (*ReleaseIPRequest) DeepCopyInto

func (in *ReleaseIPRequest) DeepCopyInto(out *ReleaseIPRequest)

DeepCopyInto supports using ReleaseIPRequest within kubernetes types, where deepcopy-gen is used.

func (*ReleaseIPRequest) Descriptor deprecated

func (*ReleaseIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseIPRequest.ProtoReflect.Descriptor instead.

func (*ReleaseIPRequest) GetIp

func (x *ReleaseIPRequest) GetIp() string

func (*ReleaseIPRequest) GetNodeID

func (x *ReleaseIPRequest) GetNodeID() string

func (*ReleaseIPRequest) ProtoMessage

func (*ReleaseIPRequest) ProtoMessage()

func (*ReleaseIPRequest) ProtoReflect

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

func (*ReleaseIPRequest) Reset

func (x *ReleaseIPRequest) Reset()

func (*ReleaseIPRequest) String

func (x *ReleaseIPRequest) String() string

func (*ReleaseIPRequest) Validate

func (m *ReleaseIPRequest) Validate() error

Validate checks the field values on ReleaseIPRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReleaseIPRequest) ValidateAll

func (m *ReleaseIPRequest) ValidateAll() error

ValidateAll checks the field values on ReleaseIPRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReleaseIPRequestMultiError, or nil if none found.

type ReleaseIPRequestMultiError

type ReleaseIPRequestMultiError []error

ReleaseIPRequestMultiError is an error wrapping multiple validation errors returned by ReleaseIPRequest.ValidateAll() if the designated constraints aren't met.

func (ReleaseIPRequestMultiError) AllErrors

func (m ReleaseIPRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReleaseIPRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ReleaseIPRequestValidationError

type ReleaseIPRequestValidationError struct {
	// contains filtered or unexported fields
}

ReleaseIPRequestValidationError is the validation error returned by ReleaseIPRequest.Validate if the designated constraints aren't met.

func (ReleaseIPRequestValidationError) Cause

Cause function returns cause value.

func (ReleaseIPRequestValidationError) Error

Error satisfies the builtin error interface

func (ReleaseIPRequestValidationError) ErrorName

ErrorName returns error name.

func (ReleaseIPRequestValidationError) Field

Field function returns field value.

func (ReleaseIPRequestValidationError) Key

Key function returns key value.

func (ReleaseIPRequestValidationError) Reason

Reason function returns reason value.

type RemoveServerResponse

type RemoveServerResponse struct {
	// contains filtered or unexported fields
}

RemoveServerResponse is the response object for the RemoveServer RPC.

func (*RemoveServerResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoveServerResponse. Required by controller-gen.

func (*RemoveServerResponse) DeepCopyInterface

func (in *RemoveServerResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RemoveServerResponse. Required by controller-gen.

func (*RemoveServerResponse) DeepCopyInto

func (in *RemoveServerResponse) DeepCopyInto(out *RemoveServerResponse)

DeepCopyInto supports using RemoveServerResponse within kubernetes types, where deepcopy-gen is used.

func (*RemoveServerResponse) Descriptor deprecated

func (*RemoveServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveServerResponse.ProtoReflect.Descriptor instead.

func (*RemoveServerResponse) ProtoMessage

func (*RemoveServerResponse) ProtoMessage()

func (*RemoveServerResponse) ProtoReflect

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

func (*RemoveServerResponse) Reset

func (x *RemoveServerResponse) Reset()

func (*RemoveServerResponse) String

func (x *RemoveServerResponse) String() string

func (*RemoveServerResponse) Validate

func (m *RemoveServerResponse) Validate() error

Validate checks the field values on RemoveServerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoveServerResponse) ValidateAll

func (m *RemoveServerResponse) ValidateAll() error

ValidateAll checks the field values on RemoveServerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveServerResponseMultiError, or nil if none found.

type RemoveServerResponseMultiError

type RemoveServerResponseMultiError []error

RemoveServerResponseMultiError is an error wrapping multiple validation errors returned by RemoveServerResponse.ValidateAll() if the designated constraints aren't met.

func (RemoveServerResponseMultiError) AllErrors

func (m RemoveServerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveServerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemoveServerResponseValidationError

type RemoveServerResponseValidationError struct {
	// contains filtered or unexported fields
}

RemoveServerResponseValidationError is the validation error returned by RemoveServerResponse.Validate if the designated constraints aren't met.

func (RemoveServerResponseValidationError) Cause

Cause function returns cause value.

func (RemoveServerResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveServerResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveServerResponseValidationError) Field

Field function returns field value.

func (RemoveServerResponseValidationError) Key

Key function returns key value.

func (RemoveServerResponseValidationError) Reason

Reason function returns reason value.

type Role

type Role struct {

	// Name is the name of the role.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Rules is the list of rules that apply to the role.
	Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

Role is a role that can be assigned to a subject.

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. Required by controller-gen.

func (*Role) DeepCopyInterface

func (in *Role) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Role. Required by controller-gen.

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

DeepCopyInto supports using Role within kubernetes types, where deepcopy-gen is used.

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetRules

func (x *Role) GetRules() []*Rule

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Role) ValidateAll

func (m *Role) ValidateAll() error

ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.

type RoleBinding

type RoleBinding struct {

	// Name is the name of the role binding.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Role is the name of the role to which the binding applies.
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// Subjects is the list of subjects to which the binding applies.
	Subjects []*Subject `protobuf:"bytes,3,rep,name=subjects,proto3" json:"subjects,omitempty"`
	// contains filtered or unexported fields
}

RoleBinding is a binding of a role to one or more subjects.

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. Required by controller-gen.

func (*RoleBinding) DeepCopyInterface

func (in *RoleBinding) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. Required by controller-gen.

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

DeepCopyInto supports using RoleBinding within kubernetes types, where deepcopy-gen is used.

func (*RoleBinding) Descriptor deprecated

func (*RoleBinding) Descriptor() ([]byte, []int)

Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead.

func (*RoleBinding) GetName

func (x *RoleBinding) GetName() string

func (*RoleBinding) GetRole

func (x *RoleBinding) GetRole() string

func (*RoleBinding) GetSubjects

func (x *RoleBinding) GetSubjects() []*Subject

func (*RoleBinding) ProtoMessage

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) ProtoReflect

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

func (*RoleBinding) Reset

func (x *RoleBinding) Reset()

func (*RoleBinding) String

func (x *RoleBinding) String() string

func (*RoleBinding) Validate

func (m *RoleBinding) Validate() error

Validate checks the field values on RoleBinding with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RoleBinding) ValidateAll

func (m *RoleBinding) ValidateAll() error

ValidateAll checks the field values on RoleBinding with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleBindingMultiError, or nil if none found.

type RoleBindingMultiError

type RoleBindingMultiError []error

RoleBindingMultiError is an error wrapping multiple validation errors returned by RoleBinding.ValidateAll() if the designated constraints aren't met.

func (RoleBindingMultiError) AllErrors

func (m RoleBindingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleBindingMultiError) Error

func (m RoleBindingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleBindingValidationError

type RoleBindingValidationError struct {
	// contains filtered or unexported fields
}

RoleBindingValidationError is the validation error returned by RoleBinding.Validate if the designated constraints aren't met.

func (RoleBindingValidationError) Cause

Cause function returns cause value.

func (RoleBindingValidationError) Error

Error satisfies the builtin error interface

func (RoleBindingValidationError) ErrorName

func (e RoleBindingValidationError) ErrorName() string

ErrorName returns error name.

func (RoleBindingValidationError) Field

Field function returns field value.

func (RoleBindingValidationError) Key

Key function returns key value.

func (RoleBindingValidationError) Reason

Reason function returns reason value.

type RoleBindings

type RoleBindings struct {

	// Items is the list of role bindings.
	Items []*RoleBinding `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

RoleBindings is a list of role bindings.

func (*RoleBindings) DeepCopy

func (in *RoleBindings) DeepCopy() *RoleBindings

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindings. Required by controller-gen.

func (*RoleBindings) DeepCopyInterface

func (in *RoleBindings) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindings. Required by controller-gen.

func (*RoleBindings) DeepCopyInto

func (in *RoleBindings) DeepCopyInto(out *RoleBindings)

DeepCopyInto supports using RoleBindings within kubernetes types, where deepcopy-gen is used.

func (*RoleBindings) Descriptor deprecated

func (*RoleBindings) Descriptor() ([]byte, []int)

Deprecated: Use RoleBindings.ProtoReflect.Descriptor instead.

func (*RoleBindings) GetItems

func (x *RoleBindings) GetItems() []*RoleBinding

func (*RoleBindings) ProtoMessage

func (*RoleBindings) ProtoMessage()

func (*RoleBindings) ProtoReflect

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

func (*RoleBindings) Reset

func (x *RoleBindings) Reset()

func (*RoleBindings) String

func (x *RoleBindings) String() string

func (*RoleBindings) Validate

func (m *RoleBindings) Validate() error

Validate checks the field values on RoleBindings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RoleBindings) ValidateAll

func (m *RoleBindings) ValidateAll() error

ValidateAll checks the field values on RoleBindings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleBindingsMultiError, or nil if none found.

type RoleBindingsMultiError

type RoleBindingsMultiError []error

RoleBindingsMultiError is an error wrapping multiple validation errors returned by RoleBindings.ValidateAll() if the designated constraints aren't met.

func (RoleBindingsMultiError) AllErrors

func (m RoleBindingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleBindingsMultiError) Error

func (m RoleBindingsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleBindingsValidationError

type RoleBindingsValidationError struct {
	// contains filtered or unexported fields
}

RoleBindingsValidationError is the validation error returned by RoleBindings.Validate if the designated constraints aren't met.

func (RoleBindingsValidationError) Cause

Cause function returns cause value.

func (RoleBindingsValidationError) Error

Error satisfies the builtin error interface

func (RoleBindingsValidationError) ErrorName

func (e RoleBindingsValidationError) ErrorName() string

ErrorName returns error name.

func (RoleBindingsValidationError) Field

Field function returns field value.

func (RoleBindingsValidationError) Key

Key function returns key value.

func (RoleBindingsValidationError) Reason

Reason function returns reason value.

type RoleMultiError

type RoleMultiError []error

RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.

func (RoleMultiError) AllErrors

func (m RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleMultiError) Error

func (m RoleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleValidationError

type RoleValidationError struct {
	// contains filtered or unexported fields
}

RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.

func (RoleValidationError) Cause

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason

func (e RoleValidationError) Reason() string

Reason function returns reason value.

type Roles

type Roles struct {

	// Items is the list of roles.
	Items []*Role `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Roles is a list of roles.

func (*Roles) DeepCopy

func (in *Roles) DeepCopy() *Roles

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Roles. Required by controller-gen.

func (*Roles) DeepCopyInterface

func (in *Roles) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Roles. Required by controller-gen.

func (*Roles) DeepCopyInto

func (in *Roles) DeepCopyInto(out *Roles)

DeepCopyInto supports using Roles within kubernetes types, where deepcopy-gen is used.

func (*Roles) Descriptor deprecated

func (*Roles) Descriptor() ([]byte, []int)

Deprecated: Use Roles.ProtoReflect.Descriptor instead.

func (*Roles) GetItems

func (x *Roles) GetItems() []*Role

func (*Roles) ProtoMessage

func (*Roles) ProtoMessage()

func (*Roles) ProtoReflect

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

func (*Roles) Reset

func (x *Roles) Reset()

func (*Roles) String

func (x *Roles) String() string

func (*Roles) Validate

func (m *Roles) Validate() error

Validate checks the field values on Roles with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Roles) ValidateAll

func (m *Roles) ValidateAll() error

ValidateAll checks the field values on Roles with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RolesMultiError, or nil if none found.

type RolesMultiError

type RolesMultiError []error

RolesMultiError is an error wrapping multiple validation errors returned by Roles.ValidateAll() if the designated constraints aren't met.

func (RolesMultiError) AllErrors

func (m RolesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RolesMultiError) Error

func (m RolesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RolesValidationError

type RolesValidationError struct {
	// contains filtered or unexported fields
}

RolesValidationError is the validation error returned by Roles.Validate if the designated constraints aren't met.

func (RolesValidationError) Cause

func (e RolesValidationError) Cause() error

Cause function returns cause value.

func (RolesValidationError) Error

func (e RolesValidationError) Error() string

Error satisfies the builtin error interface

func (RolesValidationError) ErrorName

func (e RolesValidationError) ErrorName() string

ErrorName returns error name.

func (RolesValidationError) Field

func (e RolesValidationError) Field() string

Field function returns field value.

func (RolesValidationError) Key

func (e RolesValidationError) Key() bool

Key function returns key value.

func (RolesValidationError) Reason

func (e RolesValidationError) Reason() string

Reason function returns reason value.

type Route

type Route struct {

	// Name is the name of the route.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Node is the node that broadcasts the route. A group can be specified with the prefix "group:".
	Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	// DestinationCIDRs are the destination CIDRs of the route.
	DestinationCIDRs []string `protobuf:"bytes,3,rep,name=destinationCIDRs,proto3" json:"destinationCIDRs,omitempty"`
	// NextHopNode is an optional node that is used as the next hop for the route.
	// This field is not currentl used.
	NextHopNode string `protobuf:"bytes,4,opt,name=nextHopNode,proto3" json:"nextHopNode,omitempty"`
	// contains filtered or unexported fields
}

Route is a route that is broadcasted by one or more nodes.

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route. Required by controller-gen.

func (*Route) DeepCopyInterface

func (in *Route) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Route. Required by controller-gen.

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

DeepCopyInto supports using Route within kubernetes types, where deepcopy-gen is used.

func (*Route) Descriptor deprecated

func (*Route) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetDestinationCIDRs

func (x *Route) GetDestinationCIDRs() []string

func (*Route) GetName

func (x *Route) GetName() string

func (*Route) GetNextHopNode

func (x *Route) GetNextHopNode() string

func (*Route) GetNode

func (x *Route) GetNode() string

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

func (*Route) Validate

func (m *Route) Validate() error

Validate checks the field values on Route with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Route) ValidateAll

func (m *Route) ValidateAll() error

ValidateAll checks the field values on Route with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RouteMultiError, or nil if none found.

type RouteMultiError

type RouteMultiError []error

RouteMultiError is an error wrapping multiple validation errors returned by Route.ValidateAll() if the designated constraints aren't met.

func (RouteMultiError) AllErrors

func (m RouteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RouteMultiError) Error

func (m RouteMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RouteValidationError

type RouteValidationError struct {
	// contains filtered or unexported fields
}

RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.

func (RouteValidationError) Cause

func (e RouteValidationError) Cause() error

Cause function returns cause value.

func (RouteValidationError) Error

func (e RouteValidationError) Error() string

Error satisfies the builtin error interface

func (RouteValidationError) ErrorName

func (e RouteValidationError) ErrorName() string

ErrorName returns error name.

func (RouteValidationError) Field

func (e RouteValidationError) Field() string

Field function returns field value.

func (RouteValidationError) Key

func (e RouteValidationError) Key() bool

Key function returns key value.

func (RouteValidationError) Reason

func (e RouteValidationError) Reason() string

Reason function returns reason value.

type Routes

type Routes struct {

	// Items is the list of routes.
	Items []*Route `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Routes is a list of routes.

func (*Routes) DeepCopy

func (in *Routes) DeepCopy() *Routes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Routes. Required by controller-gen.

func (*Routes) DeepCopyInterface

func (in *Routes) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Routes. Required by controller-gen.

func (*Routes) DeepCopyInto

func (in *Routes) DeepCopyInto(out *Routes)

DeepCopyInto supports using Routes within kubernetes types, where deepcopy-gen is used.

func (*Routes) Descriptor deprecated

func (*Routes) Descriptor() ([]byte, []int)

Deprecated: Use Routes.ProtoReflect.Descriptor instead.

func (*Routes) GetItems

func (x *Routes) GetItems() []*Route

func (*Routes) ProtoMessage

func (*Routes) ProtoMessage()

func (*Routes) ProtoReflect

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

func (*Routes) Reset

func (x *Routes) Reset()

func (*Routes) String

func (x *Routes) String() string

func (*Routes) Validate

func (m *Routes) Validate() error

Validate checks the field values on Routes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Routes) ValidateAll

func (m *Routes) ValidateAll() error

ValidateAll checks the field values on Routes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoutesMultiError, or nil if none found.

type RoutesMultiError

type RoutesMultiError []error

RoutesMultiError is an error wrapping multiple validation errors returned by Routes.ValidateAll() if the designated constraints aren't met.

func (RoutesMultiError) AllErrors

func (m RoutesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoutesMultiError) Error

func (m RoutesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoutesValidationError

type RoutesValidationError struct {
	// contains filtered or unexported fields
}

RoutesValidationError is the validation error returned by Routes.Validate if the designated constraints aren't met.

func (RoutesValidationError) Cause

func (e RoutesValidationError) Cause() error

Cause function returns cause value.

func (RoutesValidationError) Error

func (e RoutesValidationError) Error() string

Error satisfies the builtin error interface

func (RoutesValidationError) ErrorName

func (e RoutesValidationError) ErrorName() string

ErrorName returns error name.

func (RoutesValidationError) Field

func (e RoutesValidationError) Field() string

Field function returns field value.

func (RoutesValidationError) Key

func (e RoutesValidationError) Key() bool

Key function returns key value.

func (RoutesValidationError) Reason

func (e RoutesValidationError) Reason() string

Reason function returns reason value.

type Rule

type Rule struct {

	// Resources is the resources to which the rule applies.
	Resources []RuleResource `protobuf:"varint,1,rep,packed,name=resources,proto3,enum=v1.RuleResource" json:"resources,omitempty"`
	// ResourceNames is the list of resource names to which the rule applies.
	ResourceNames []string `protobuf:"bytes,2,rep,name=resourceNames,proto3" json:"resourceNames,omitempty"`
	// Verbs is the list of verbs that apply to the resource.
	Verbs []RuleVerb `protobuf:"varint,3,rep,packed,name=verbs,proto3,enum=v1.RuleVerb" json:"verbs,omitempty"`
	// contains filtered or unexported fields
}

Rule is a rule that applies to a resource.

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. Required by controller-gen.

func (*Rule) DeepCopyInterface

func (in *Rule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Rule. Required by controller-gen.

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

DeepCopyInto supports using Rule within kubernetes types, where deepcopy-gen is used.

func (*Rule) Descriptor deprecated

func (*Rule) Descriptor() ([]byte, []int)

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetResourceNames

func (x *Rule) GetResourceNames() []string

func (*Rule) GetResources

func (x *Rule) GetResources() []RuleResource

func (*Rule) GetVerbs

func (x *Rule) GetVerbs() []RuleVerb

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

func (*Rule) Validate

func (m *Rule) Validate() error

Validate checks the field values on Rule with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Rule) ValidateAll

func (m *Rule) ValidateAll() error

ValidateAll checks the field values on Rule with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuleMultiError, or nil if none found.

type RuleMultiError

type RuleMultiError []error

RuleMultiError is an error wrapping multiple validation errors returned by Rule.ValidateAll() if the designated constraints aren't met.

func (RuleMultiError) AllErrors

func (m RuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuleMultiError) Error

func (m RuleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RuleResource

type RuleResource int32

RuleResource is the resource type for a rule.

const (
	// RESOURCE_UNKNOWN is an unknown resource.
	RuleResource_RESOURCE_UNKNOWN RuleResource = 0
	// RESOURCE_VOTES is the resource for voting in storage elections. The only
	// verb evaluated for this resource is PUT.
	RuleResource_RESOURCE_VOTES RuleResource = 1
	// RESOURCE_ROLES is the resource for managing roles.
	RuleResource_RESOURCE_ROLES RuleResource = 2
	// RESOURCE_ROLE_BINDINGS is the resource for managing role bindings.
	RuleResource_RESOURCE_ROLE_BINDINGS RuleResource = 3
	// RESOURCE_GROUPS is the resource for managing groups.
	RuleResource_RESOURCE_GROUPS RuleResource = 4
	// RESOURCE_NETWORK_ACLS is the resource for managing network ACLs.
	RuleResource_RESOURCE_NETWORK_ACLS RuleResource = 5
	// RESOURCE_ROUTES is the resource for managing routes.
	RuleResource_RESOURCE_ROUTES RuleResource = 6
	// RESOURCE_DATA_CHANNELS is the resource for creating data channels.
	RuleResource_RESOURCE_DATA_CHANNELS RuleResource = 7
	// RESOURCE_EDGES is the resource for managing edges between nodes.
	RuleResource_RESOURCE_EDGES RuleResource = 8
	// RESOURCE_OBSERVERS is the resource for managing observers. The only
	// verb evaluated for this resource is PUT.
	RuleResource_RESOURCE_OBSERVERS RuleResource = 9
	// RESOURCE_PUBSUB is the resource for managing pubsub topics.
	RuleResource_RESOURCE_PUBSUB RuleResource = 10
	// RESOURCE_ALL is a wildcard resource that matches all resources.
	RuleResource_RESOURCE_ALL RuleResource = 999
)

func (RuleResource) Descriptor

func (RuleResource) Enum

func (x RuleResource) Enum() *RuleResource

func (RuleResource) EnumDescriptor deprecated

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

Deprecated: Use RuleResource.Descriptor instead.

func (RuleResource) Number

func (RuleResource) String

func (x RuleResource) String() string

func (RuleResource) Type

type RuleValidationError

type RuleValidationError struct {
	// contains filtered or unexported fields
}

RuleValidationError is the validation error returned by Rule.Validate if the designated constraints aren't met.

func (RuleValidationError) Cause

func (e RuleValidationError) Cause() error

Cause function returns cause value.

func (RuleValidationError) Error

func (e RuleValidationError) Error() string

Error satisfies the builtin error interface

func (RuleValidationError) ErrorName

func (e RuleValidationError) ErrorName() string

ErrorName returns error name.

func (RuleValidationError) Field

func (e RuleValidationError) Field() string

Field function returns field value.

func (RuleValidationError) Key

func (e RuleValidationError) Key() bool

Key function returns key value.

func (RuleValidationError) Reason

func (e RuleValidationError) Reason() string

Reason function returns reason value.

type RuleVerb

type RuleVerb int32

RuleVerb is the verb type for a rule.

const (
	// VERB_UNKNOWN is an unknown verb.
	RuleVerb_VERB_UNKNOWN RuleVerb = 0
	// VERB_PUT is the verb for creating or updating a resource.
	RuleVerb_VERB_PUT RuleVerb = 1
	// VERB_GET is the verb for getting a resource.
	RuleVerb_VERB_GET RuleVerb = 2
	// VERB_DELETE is the verb for deleting a resource.
	RuleVerb_VERB_DELETE RuleVerb = 3
	// VERB_ALL is a wildcard verb that matches all verbs.
	RuleVerb_VERB_ALL RuleVerb = 999
)

func (RuleVerb) Descriptor

func (RuleVerb) Descriptor() protoreflect.EnumDescriptor

func (RuleVerb) Enum

func (x RuleVerb) Enum() *RuleVerb

func (RuleVerb) EnumDescriptor deprecated

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

Deprecated: Use RuleVerb.Descriptor instead.

func (RuleVerb) Number

func (x RuleVerb) Number() protoreflect.EnumNumber

func (RuleVerb) String

func (x RuleVerb) String() string

func (RuleVerb) Type

type StartDataChannelRequest

type StartDataChannelRequest struct {

	// NodeID is the ID of the node to send the data to.
	NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// Proto is the protocol of the traffic.
	Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
	// Dst is the destination address of the traffic.
	Dst string `protobuf:"bytes,3,opt,name=dst,proto3" json:"dst,omitempty"`
	// Port is the destination port of the traffic. A port of 0 coupled
	// with the udp protocol indicates forwarding to the WireGuard interface.
	Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// Answer is the answer to the offer.
	Answer string `protobuf:"bytes,5,opt,name=answer,proto3" json:"answer,omitempty"`
	// Candidate is an ICE candidate.
	Candidate string `protobuf:"bytes,6,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

StartDataChannelRequest is a request to start a data channel. The answer and candidate fields are populated after the offer is received.

func (*StartDataChannelRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartDataChannelRequest. Required by controller-gen.

func (*StartDataChannelRequest) DeepCopyInterface

func (in *StartDataChannelRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StartDataChannelRequest. Required by controller-gen.

func (*StartDataChannelRequest) DeepCopyInto

func (in *StartDataChannelRequest) DeepCopyInto(out *StartDataChannelRequest)

DeepCopyInto supports using StartDataChannelRequest within kubernetes types, where deepcopy-gen is used.

func (*StartDataChannelRequest) Descriptor deprecated

func (*StartDataChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartDataChannelRequest.ProtoReflect.Descriptor instead.

func (*StartDataChannelRequest) GetAnswer

func (x *StartDataChannelRequest) GetAnswer() string

func (*StartDataChannelRequest) GetCandidate

func (x *StartDataChannelRequest) GetCandidate() string

func (*StartDataChannelRequest) GetDst

func (x *StartDataChannelRequest) GetDst() string

func (*StartDataChannelRequest) GetNodeID added in v0.10.1

func (x *StartDataChannelRequest) GetNodeID() string

func (*StartDataChannelRequest) GetPort

func (x *StartDataChannelRequest) GetPort() uint32

func (*StartDataChannelRequest) GetProto

func (x *StartDataChannelRequest) GetProto() string

func (*StartDataChannelRequest) ProtoMessage

func (*StartDataChannelRequest) ProtoMessage()

func (*StartDataChannelRequest) ProtoReflect

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

func (*StartDataChannelRequest) Reset

func (x *StartDataChannelRequest) Reset()

func (*StartDataChannelRequest) String

func (x *StartDataChannelRequest) String() string

func (*StartDataChannelRequest) Validate

func (m *StartDataChannelRequest) Validate() error

Validate checks the field values on StartDataChannelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StartDataChannelRequest) ValidateAll

func (m *StartDataChannelRequest) ValidateAll() error

ValidateAll checks the field values on StartDataChannelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StartDataChannelRequestMultiError, or nil if none found.

type StartDataChannelRequestMultiError

type StartDataChannelRequestMultiError []error

StartDataChannelRequestMultiError is an error wrapping multiple validation errors returned by StartDataChannelRequest.ValidateAll() if the designated constraints aren't met.

func (StartDataChannelRequestMultiError) AllErrors

func (m StartDataChannelRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StartDataChannelRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartDataChannelRequestValidationError

type StartDataChannelRequestValidationError struct {
	// contains filtered or unexported fields
}

StartDataChannelRequestValidationError is the validation error returned by StartDataChannelRequest.Validate if the designated constraints aren't met.

func (StartDataChannelRequestValidationError) Cause

Cause function returns cause value.

func (StartDataChannelRequestValidationError) Error

Error satisfies the builtin error interface

func (StartDataChannelRequestValidationError) ErrorName

ErrorName returns error name.

func (StartDataChannelRequestValidationError) Field

Field function returns field value.

func (StartDataChannelRequestValidationError) Key

Key function returns key value.

func (StartDataChannelRequestValidationError) Reason

Reason function returns reason value.

type Status

type Status struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Description is an optional description provided by the node.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Version is the version of the node.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// GitCommit is the git commit of the node.
	GitCommit string `protobuf:"bytes,4,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"`
	// BuildDate is the build date of the node.
	BuildDate string `protobuf:"bytes,5,opt,name=buildDate,proto3" json:"buildDate,omitempty"`
	// Uptime is the uptime of the node.
	Uptime string `protobuf:"bytes,6,opt,name=uptime,proto3" json:"uptime,omitempty"`
	// StartedAt is the time the node started.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
	// Features is the list of features currently enabled.
	Features []*FeaturePort `protobuf:"bytes,8,rep,name=features,proto3" json:"features,omitempty"`
	// ClusterStatus is the status of the node in the cluster.
	ClusterStatus ClusterStatus `protobuf:"varint,9,opt,name=clusterStatus,proto3,enum=v1.ClusterStatus" json:"clusterStatus,omitempty"`
	// CurrentLeader is the current leader of the cluster.
	CurrentLeader string `protobuf:"bytes,10,opt,name=currentLeader,proto3" json:"currentLeader,omitempty"`
	// InterfaceMetrics are the metrics for the node's interfaces.
	InterfaceMetrics *InterfaceMetrics `protobuf:"bytes,11,opt,name=interfaceMetrics,proto3" json:"interfaceMetrics,omitempty"`
	// contains filtered or unexported fields
}

Status represents the status of a node.

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. Required by controller-gen.

func (*Status) DeepCopyInterface

func (in *Status) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Status. Required by controller-gen.

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

DeepCopyInto supports using Status within kubernetes types, where deepcopy-gen is used.

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetBuildDate

func (x *Status) GetBuildDate() string

func (*Status) GetClusterStatus

func (x *Status) GetClusterStatus() ClusterStatus

func (*Status) GetCurrentLeader

func (x *Status) GetCurrentLeader() string

func (*Status) GetDescription

func (x *Status) GetDescription() string

func (*Status) GetFeatures

func (x *Status) GetFeatures() []*FeaturePort

func (*Status) GetGitCommit added in v0.10.1

func (x *Status) GetGitCommit() string

func (*Status) GetId

func (x *Status) GetId() string

func (*Status) GetInterfaceMetrics

func (x *Status) GetInterfaceMetrics() *InterfaceMetrics

func (*Status) GetStartedAt

func (x *Status) GetStartedAt() *timestamppb.Timestamp

func (*Status) GetUptime

func (x *Status) GetUptime() string

func (*Status) GetVersion

func (x *Status) GetVersion() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

func (*Status) Validate

func (m *Status) Validate() error

Validate checks the field values on Status with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Status) ValidateAll

func (m *Status) ValidateAll() error

ValidateAll checks the field values on Status with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusMultiError, or nil if none found.

type StatusMultiError

type StatusMultiError []error

StatusMultiError is an error wrapping multiple validation errors returned by Status.ValidateAll() if the designated constraints aren't met.

func (StatusMultiError) AllErrors

func (m StatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusMultiError) Error

func (m StatusMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatusRequest

type StatusRequest struct {
	// contains filtered or unexported fields
}

StatusRequest is sent by the application to a daemon to retrieve the status of the daemon.

func (*StatusRequest) DeepCopy

func (in *StatusRequest) DeepCopy() *StatusRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusRequest. Required by controller-gen.

func (*StatusRequest) DeepCopyInterface

func (in *StatusRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StatusRequest. Required by controller-gen.

func (*StatusRequest) DeepCopyInto

func (in *StatusRequest) DeepCopyInto(out *StatusRequest)

DeepCopyInto supports using StatusRequest within kubernetes types, where deepcopy-gen is used.

func (*StatusRequest) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

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

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

func (*StatusRequest) Validate

func (m *StatusRequest) Validate() error

Validate checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatusRequest) ValidateAll

func (m *StatusRequest) ValidateAll() error

ValidateAll checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusRequestMultiError, or nil if none found.

type StatusRequestMultiError

type StatusRequestMultiError []error

StatusRequestMultiError is an error wrapping multiple validation errors returned by StatusRequest.ValidateAll() if the designated constraints aren't met.

func (StatusRequestMultiError) AllErrors

func (m StatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusRequestMultiError) Error

func (m StatusRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatusRequestValidationError

type StatusRequestValidationError struct {
	// contains filtered or unexported fields
}

StatusRequestValidationError is the validation error returned by StatusRequest.Validate if the designated constraints aren't met.

func (StatusRequestValidationError) Cause

Cause function returns cause value.

func (StatusRequestValidationError) Error

Error satisfies the builtin error interface

func (StatusRequestValidationError) ErrorName

func (e StatusRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatusRequestValidationError) Field

Field function returns field value.

func (StatusRequestValidationError) Key

Key function returns key value.

func (StatusRequestValidationError) Reason

Reason function returns reason value.

type StatusValidationError

type StatusValidationError struct {
	// contains filtered or unexported fields
}

StatusValidationError is the validation error returned by Status.Validate if the designated constraints aren't met.

func (StatusValidationError) Cause

func (e StatusValidationError) Cause() error

Cause function returns cause value.

func (StatusValidationError) Error

func (e StatusValidationError) Error() string

Error satisfies the builtin error interface

func (StatusValidationError) ErrorName

func (e StatusValidationError) ErrorName() string

ErrorName returns error name.

func (StatusValidationError) Field

func (e StatusValidationError) Field() string

Field function returns field value.

func (StatusValidationError) Key

func (e StatusValidationError) Key() bool

Key function returns key value.

func (StatusValidationError) Reason

func (e StatusValidationError) Reason() string

Reason function returns reason value.

type StorageConsensusRequest

type StorageConsensusRequest struct {
	// contains filtered or unexported fields
}

StorageConsensusRequest is a request to get the current Storage configuration.

func (*StorageConsensusRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConsensusRequest. Required by controller-gen.

func (*StorageConsensusRequest) DeepCopyInterface

func (in *StorageConsensusRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageConsensusRequest. Required by controller-gen.

func (*StorageConsensusRequest) DeepCopyInto

func (in *StorageConsensusRequest) DeepCopyInto(out *StorageConsensusRequest)

DeepCopyInto supports using StorageConsensusRequest within kubernetes types, where deepcopy-gen is used.

func (*StorageConsensusRequest) Descriptor deprecated

func (*StorageConsensusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StorageConsensusRequest.ProtoReflect.Descriptor instead.

func (*StorageConsensusRequest) ProtoMessage

func (*StorageConsensusRequest) ProtoMessage()

func (*StorageConsensusRequest) ProtoReflect

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

func (*StorageConsensusRequest) Reset

func (x *StorageConsensusRequest) Reset()

func (*StorageConsensusRequest) String

func (x *StorageConsensusRequest) String() string

func (*StorageConsensusRequest) Validate

func (m *StorageConsensusRequest) Validate() error

Validate checks the field values on StorageConsensusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StorageConsensusRequest) ValidateAll

func (m *StorageConsensusRequest) ValidateAll() error

ValidateAll checks the field values on StorageConsensusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StorageConsensusRequestMultiError, or nil if none found.

type StorageConsensusRequestMultiError

type StorageConsensusRequestMultiError []error

StorageConsensusRequestMultiError is an error wrapping multiple validation errors returned by StorageConsensusRequest.ValidateAll() if the designated constraints aren't met.

func (StorageConsensusRequestMultiError) AllErrors

func (m StorageConsensusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageConsensusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StorageConsensusRequestValidationError

type StorageConsensusRequestValidationError struct {
	// contains filtered or unexported fields
}

StorageConsensusRequestValidationError is the validation error returned by StorageConsensusRequest.Validate if the designated constraints aren't met.

func (StorageConsensusRequestValidationError) Cause

Cause function returns cause value.

func (StorageConsensusRequestValidationError) Error

Error satisfies the builtin error interface

func (StorageConsensusRequestValidationError) ErrorName

ErrorName returns error name.

func (StorageConsensusRequestValidationError) Field

Field function returns field value.

func (StorageConsensusRequestValidationError) Key

Key function returns key value.

func (StorageConsensusRequestValidationError) Reason

Reason function returns reason value.

type StorageConsensusResponse

type StorageConsensusResponse struct {

	// Servers is the list of servers in the storage configuration.
	Servers []*StorageServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

StorageConsensusResponse is a response to a Storage consensus request.

func (*StorageConsensusResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConsensusResponse. Required by controller-gen.

func (*StorageConsensusResponse) DeepCopyInterface

func (in *StorageConsensusResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageConsensusResponse. Required by controller-gen.

func (*StorageConsensusResponse) DeepCopyInto

func (in *StorageConsensusResponse) DeepCopyInto(out *StorageConsensusResponse)

DeepCopyInto supports using StorageConsensusResponse within kubernetes types, where deepcopy-gen is used.

func (*StorageConsensusResponse) Descriptor deprecated

func (*StorageConsensusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StorageConsensusResponse.ProtoReflect.Descriptor instead.

func (*StorageConsensusResponse) GetServers

func (x *StorageConsensusResponse) GetServers() []*StorageServer

func (*StorageConsensusResponse) ProtoMessage

func (*StorageConsensusResponse) ProtoMessage()

func (*StorageConsensusResponse) ProtoReflect

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

func (*StorageConsensusResponse) Reset

func (x *StorageConsensusResponse) Reset()

func (*StorageConsensusResponse) String

func (x *StorageConsensusResponse) String() string

func (*StorageConsensusResponse) Validate

func (m *StorageConsensusResponse) Validate() error

Validate checks the field values on StorageConsensusResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StorageConsensusResponse) ValidateAll

func (m *StorageConsensusResponse) ValidateAll() error

ValidateAll checks the field values on StorageConsensusResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StorageConsensusResponseMultiError, or nil if none found.

type StorageConsensusResponseMultiError

type StorageConsensusResponseMultiError []error

StorageConsensusResponseMultiError is an error wrapping multiple validation errors returned by StorageConsensusResponse.ValidateAll() if the designated constraints aren't met.

func (StorageConsensusResponseMultiError) AllErrors

func (m StorageConsensusResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageConsensusResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StorageConsensusResponseValidationError

type StorageConsensusResponseValidationError struct {
	// contains filtered or unexported fields
}

StorageConsensusResponseValidationError is the validation error returned by StorageConsensusResponse.Validate if the designated constraints aren't met.

func (StorageConsensusResponseValidationError) Cause

Cause function returns cause value.

func (StorageConsensusResponseValidationError) Error

Error satisfies the builtin error interface

func (StorageConsensusResponseValidationError) ErrorName

ErrorName returns error name.

func (StorageConsensusResponseValidationError) Field

Field function returns field value.

func (StorageConsensusResponseValidationError) Key

Key function returns key value.

func (StorageConsensusResponseValidationError) Reason

Reason function returns reason value.

type StoragePeer

type StoragePeer struct {

	// ID is the id of the server.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// PublicKey is the encoded public key of the server. This is not required
	// for demotion or removal RPCs. Not all implementations need to support this.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// Address is the address of the server. This is not required
	// for demotion or removal RPCs.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// ClusterStatus is the status of the server. This is only
	// applicable during a GetStatus RPC.
	ClusterStatus ClusterStatus `protobuf:"varint,4,opt,name=clusterStatus,proto3,enum=v1.ClusterStatus" json:"clusterStatus,omitempty"`
	// contains filtered or unexported fields
}

StoragePeer is a server that is currently recognized by the storage plugin.

func (*StoragePeer) DeepCopy

func (in *StoragePeer) DeepCopy() *StoragePeer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeer. Required by controller-gen.

func (*StoragePeer) DeepCopyInterface

func (in *StoragePeer) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeer. Required by controller-gen.

func (*StoragePeer) DeepCopyInto

func (in *StoragePeer) DeepCopyInto(out *StoragePeer)

DeepCopyInto supports using StoragePeer within kubernetes types, where deepcopy-gen is used.

func (*StoragePeer) Descriptor deprecated

func (*StoragePeer) Descriptor() ([]byte, []int)

Deprecated: Use StoragePeer.ProtoReflect.Descriptor instead.

func (*StoragePeer) GetAddress

func (x *StoragePeer) GetAddress() string

func (*StoragePeer) GetClusterStatus

func (x *StoragePeer) GetClusterStatus() ClusterStatus

func (*StoragePeer) GetId

func (x *StoragePeer) GetId() string

func (*StoragePeer) GetPublicKey

func (x *StoragePeer) GetPublicKey() string

func (*StoragePeer) ProtoMessage

func (*StoragePeer) ProtoMessage()

func (*StoragePeer) ProtoReflect

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

func (*StoragePeer) Reset

func (x *StoragePeer) Reset()

func (*StoragePeer) String

func (x *StoragePeer) String() string

func (*StoragePeer) Validate

func (m *StoragePeer) Validate() error

Validate checks the field values on StoragePeer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StoragePeer) ValidateAll

func (m *StoragePeer) ValidateAll() error

ValidateAll checks the field values on StoragePeer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoragePeerMultiError, or nil if none found.

type StoragePeerMultiError

type StoragePeerMultiError []error

StoragePeerMultiError is an error wrapping multiple validation errors returned by StoragePeer.ValidateAll() if the designated constraints aren't met.

func (StoragePeerMultiError) AllErrors

func (m StoragePeerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StoragePeerMultiError) Error

func (m StoragePeerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StoragePeerValidationError

type StoragePeerValidationError struct {
	// contains filtered or unexported fields
}

StoragePeerValidationError is the validation error returned by StoragePeer.Validate if the designated constraints aren't met.

func (StoragePeerValidationError) Cause

Cause function returns cause value.

func (StoragePeerValidationError) Error

Error satisfies the builtin error interface

func (StoragePeerValidationError) ErrorName

func (e StoragePeerValidationError) ErrorName() string

ErrorName returns error name.

func (StoragePeerValidationError) Field

Field function returns field value.

func (StoragePeerValidationError) Key

Key function returns key value.

func (StoragePeerValidationError) Reason

Reason function returns reason value.

type StoragePeers

type StoragePeers struct {

	// Peers is the list of servers that are currently recognized as peers
	// by the storage plugin.
	Peers []*StoragePeer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

StoragePeers is a list of servers that are currently recognized by the storage plugin.

func (*StoragePeers) DeepCopy

func (in *StoragePeers) DeepCopy() *StoragePeers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeers. Required by controller-gen.

func (*StoragePeers) DeepCopyInterface

func (in *StoragePeers) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeers. Required by controller-gen.

func (*StoragePeers) DeepCopyInto

func (in *StoragePeers) DeepCopyInto(out *StoragePeers)

DeepCopyInto supports using StoragePeers within kubernetes types, where deepcopy-gen is used.

func (*StoragePeers) Descriptor deprecated

func (*StoragePeers) Descriptor() ([]byte, []int)

Deprecated: Use StoragePeers.ProtoReflect.Descriptor instead.

func (*StoragePeers) GetPeers

func (x *StoragePeers) GetPeers() []*StoragePeer

func (*StoragePeers) ProtoMessage

func (*StoragePeers) ProtoMessage()

func (*StoragePeers) ProtoReflect

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

func (*StoragePeers) Reset

func (x *StoragePeers) Reset()

func (*StoragePeers) String

func (x *StoragePeers) String() string

func (*StoragePeers) Validate

func (m *StoragePeers) Validate() error

Validate checks the field values on StoragePeers with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StoragePeers) ValidateAll

func (m *StoragePeers) ValidateAll() error

ValidateAll checks the field values on StoragePeers with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoragePeersMultiError, or nil if none found.

type StoragePeersMultiError

type StoragePeersMultiError []error

StoragePeersMultiError is an error wrapping multiple validation errors returned by StoragePeers.ValidateAll() if the designated constraints aren't met.

func (StoragePeersMultiError) AllErrors

func (m StoragePeersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StoragePeersMultiError) Error

func (m StoragePeersMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StoragePeersValidationError

type StoragePeersValidationError struct {
	// contains filtered or unexported fields
}

StoragePeersValidationError is the validation error returned by StoragePeers.Validate if the designated constraints aren't met.

func (StoragePeersValidationError) Cause

Cause function returns cause value.

func (StoragePeersValidationError) Error

Error satisfies the builtin error interface

func (StoragePeersValidationError) ErrorName

func (e StoragePeersValidationError) ErrorName() string

ErrorName returns error name.

func (StoragePeersValidationError) Field

Field function returns field value.

func (StoragePeersValidationError) Key

Key function returns key value.

func (StoragePeersValidationError) Reason

Reason function returns reason value.

type StorageProviderPluginClient

type StorageProviderPluginClient interface {
	// GetStatus returns the status of the storage.
	GetStatus(ctx context.Context, in *StorageStatusRequest, opts ...grpc.CallOption) (*StorageStatus, error)
	// Bootstrap is called when the storage is created for the first time.
	// It is assumed that this node has been elected as the leader of the cluster.
	// FailedPrecondition should be returned if the storage is already bootstrapped.
	Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error)
	// AddVoter adds a voter to the storage. The underlying implementation
	// should ensure that the voter is added to the storage and that the
	// storage is in a consistent state before returning.
	AddVoter(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*AddVoterResponse, error)
	// AddObserver adds an observer to the storage. The underlying implementation
	// should ensure that the observer is added to the storage and that the
	// storage is in a consistent state before returning. If observers are not
	// supported the underlying implementation can silently ignore this RPC, but
	// it should keep track of the observer in the GetStatus RPC if possible.
	AddObserver(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*AddObserverResponse, error)
	// DemoteVoter demotes a voter to an observer. The underlying implementation
	// should ensure that the voter is demoted and that the storage is in a
	// consistent state before returning. If observers are not supported the
	// underlying implementation can silently ignore this RPC, but it should keep
	// track of the observer in the GetStatus RPC if possible.
	DemoteVoter(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*DemoteVoterResponse, error)
	// RemovePeer removes a peer from the storage. The underlying implementation
	// should ensure that the server is removed and that the storage is in a
	// consistent state before returning. When called with the current ID of the
	// leader, the underlying implementation should relinquish leadership to another
	// peer if possible.
	RemovePeer(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*RemoveServerResponse, error)
	// GetLeader returns the leader of the storage. Leader may be loosely defined
	// by the implementation, but must be a node that can reliably be used to
	// mutate the storage.
	GetLeader(ctx context.Context, in *GetLeaderRequest, opts ...grpc.CallOption) (*StoragePeer, error)
	// GetPeers returns all peers of the storage. Peer status may be loosely defined
	// by the implementation, but must correlate to nodes that can reliably be used to
	// mutate the storage.
	GetPeers(ctx context.Context, in *GetPeersRequest, opts ...grpc.CallOption) (*StoragePeers, error)
	// GetValue returns the value for a key.
	GetValue(ctx context.Context, in *GetValueRequest, opts ...grpc.CallOption) (*GetValueResponse, error)
	// PutValue puts a value for a key.
	PutValue(ctx context.Context, in *PutValueRequest, opts ...grpc.CallOption) (*PutValueResponse, error)
	// DeleteValue deletes a value for a key.
	DeleteValue(ctx context.Context, in *DeleteValueRequest, opts ...grpc.CallOption) (*DeleteValueResponse, error)
	// ListKeys lists all keys for a prefix.
	ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error)
	// ListValues lists all values for a prefix.
	ListValues(ctx context.Context, in *ListValuesRequest, opts ...grpc.CallOption) (*ListValuesResponse, error)
	// SubscribePrefix subscribes to events for a prefix.
	SubscribePrefix(ctx context.Context, in *SubscribePrefixRequest, opts ...grpc.CallOption) (StorageProviderPlugin_SubscribePrefixClient, error)
}

StorageProviderPluginClient is the client API for StorageProviderPlugin 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 StorageProviderPluginServer

type StorageProviderPluginServer interface {
	// GetStatus returns the status of the storage.
	GetStatus(context.Context, *StorageStatusRequest) (*StorageStatus, error)
	// Bootstrap is called when the storage is created for the first time.
	// It is assumed that this node has been elected as the leader of the cluster.
	// FailedPrecondition should be returned if the storage is already bootstrapped.
	Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error)
	// AddVoter adds a voter to the storage. The underlying implementation
	// should ensure that the voter is added to the storage and that the
	// storage is in a consistent state before returning.
	AddVoter(context.Context, *StoragePeer) (*AddVoterResponse, error)
	// AddObserver adds an observer to the storage. The underlying implementation
	// should ensure that the observer is added to the storage and that the
	// storage is in a consistent state before returning. If observers are not
	// supported the underlying implementation can silently ignore this RPC, but
	// it should keep track of the observer in the GetStatus RPC if possible.
	AddObserver(context.Context, *StoragePeer) (*AddObserverResponse, error)
	// DemoteVoter demotes a voter to an observer. The underlying implementation
	// should ensure that the voter is demoted and that the storage is in a
	// consistent state before returning. If observers are not supported the
	// underlying implementation can silently ignore this RPC, but it should keep
	// track of the observer in the GetStatus RPC if possible.
	DemoteVoter(context.Context, *StoragePeer) (*DemoteVoterResponse, error)
	// RemovePeer removes a peer from the storage. The underlying implementation
	// should ensure that the server is removed and that the storage is in a
	// consistent state before returning. When called with the current ID of the
	// leader, the underlying implementation should relinquish leadership to another
	// peer if possible.
	RemovePeer(context.Context, *StoragePeer) (*RemoveServerResponse, error)
	// GetLeader returns the leader of the storage. Leader may be loosely defined
	// by the implementation, but must be a node that can reliably be used to
	// mutate the storage.
	GetLeader(context.Context, *GetLeaderRequest) (*StoragePeer, error)
	// GetPeers returns all peers of the storage. Peer status may be loosely defined
	// by the implementation, but must correlate to nodes that can reliably be used to
	// mutate the storage.
	GetPeers(context.Context, *GetPeersRequest) (*StoragePeers, error)
	// GetValue returns the value for a key.
	GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error)
	// PutValue puts a value for a key.
	PutValue(context.Context, *PutValueRequest) (*PutValueResponse, error)
	// DeleteValue deletes a value for a key.
	DeleteValue(context.Context, *DeleteValueRequest) (*DeleteValueResponse, error)
	// ListKeys lists all keys for a prefix.
	ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
	// ListValues lists all values for a prefix.
	ListValues(context.Context, *ListValuesRequest) (*ListValuesResponse, error)
	// SubscribePrefix subscribes to events for a prefix.
	SubscribePrefix(*SubscribePrefixRequest, StorageProviderPlugin_SubscribePrefixServer) error
	// contains filtered or unexported methods
}

StorageProviderPluginServer is the server API for StorageProviderPlugin service. All implementations must embed UnimplementedStorageProviderPluginServer for forward compatibility

type StorageProviderPlugin_SubscribePrefixClient

type StorageProviderPlugin_SubscribePrefixClient interface {
	Recv() (*PrefixEvent, error)
	grpc.ClientStream
}

type StorageProviderPlugin_SubscribePrefixServer

type StorageProviderPlugin_SubscribePrefixServer interface {
	Send(*PrefixEvent) error
	grpc.ServerStream
}

type StorageQuerierPluginClient

type StorageQuerierPluginClient interface {
	// InjectQuerier is a stream opened by the node to faciliate read operations
	// against the mesh state. The signature is misleading, but it is required to be
	// able to stream the query results back to the node. The node will open a stream
	// to the plugin and send a PluginQueryResult message for every query that is
	// received.
	InjectQuerier(ctx context.Context, opts ...grpc.CallOption) (StorageQuerierPlugin_InjectQuerierClient, error)
}

StorageQuerierPluginClient is the client API for StorageQuerierPlugin 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 StorageQuerierPluginServer

type StorageQuerierPluginServer interface {
	// InjectQuerier is a stream opened by the node to faciliate read operations
	// against the mesh state. The signature is misleading, but it is required to be
	// able to stream the query results back to the node. The node will open a stream
	// to the plugin and send a PluginQueryResult message for every query that is
	// received.
	InjectQuerier(StorageQuerierPlugin_InjectQuerierServer) error
	// contains filtered or unexported methods
}

StorageQuerierPluginServer is the server API for StorageQuerierPlugin service. All implementations must embed UnimplementedStorageQuerierPluginServer for forward compatibility

type StorageQuerierPlugin_InjectQuerierClient

type StorageQuerierPlugin_InjectQuerierClient interface {
	Send(*QueryResponse) error
	Recv() (*QueryRequest, error)
	grpc.ClientStream
}

type StorageQuerierPlugin_InjectQuerierServer

type StorageQuerierPlugin_InjectQuerierServer interface {
	Send(*QueryRequest) error
	Recv() (*QueryResponse, error)
	grpc.ServerStream
}

type StorageQueryServiceClient

type StorageQueryServiceClient interface {
	// Query is used to query the mesh for information.
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	// Publish is used to publish events to the mesh database. A restricted set
	// of keys are allowed to be published to. This is only available on nodes
	// that are able to provide storage.
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error)
	// Subscribe is used to subscribe to events at a particular prefix. This is
	// only available on nodes that are able to provide storage.
	Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (StorageQueryService_SubscribeClient, error)
}

StorageQueryServiceClient is the client API for StorageQueryService 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 StorageQueryServiceServer

type StorageQueryServiceServer interface {
	// Query is used to query the mesh for information.
	Query(context.Context, *QueryRequest) (*QueryResponse, error)
	// Publish is used to publish events to the mesh database. A restricted set
	// of keys are allowed to be published to. This is only available on nodes
	// that are able to provide storage.
	Publish(context.Context, *PublishRequest) (*PublishResponse, error)
	// Subscribe is used to subscribe to events at a particular prefix. This is
	// only available on nodes that are able to provide storage.
	Subscribe(*SubscribeRequest, StorageQueryService_SubscribeServer) error
	// contains filtered or unexported methods
}

StorageQueryServiceServer is the server API for StorageQueryService service. All implementations must embed UnimplementedStorageQueryServiceServer for forward compatibility

type StorageQueryService_SubscribeClient

type StorageQueryService_SubscribeClient interface {
	Recv() (*SubscriptionEvent, error)
	grpc.ClientStream
}

type StorageQueryService_SubscribeServer

type StorageQueryService_SubscribeServer interface {
	Send(*SubscriptionEvent) error
	grpc.ServerStream
}

type StorageServer

type StorageServer struct {

	// ID is the ID of the server.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Suffrage is the suffrage of the server.
	Suffrage ClusterStatus `protobuf:"varint,2,opt,name=suffrage,proto3,enum=v1.ClusterStatus" json:"suffrage,omitempty"`
	// PublicKey is the public key of this server. Not all storage providers track this field.
	PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// Address is the mesh address of the server.
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

StorageServer is a server in the Storage configuration.

func (*StorageServer) DeepCopy

func (in *StorageServer) DeepCopy() *StorageServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageServer. Required by controller-gen.

func (*StorageServer) DeepCopyInterface

func (in *StorageServer) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageServer. Required by controller-gen.

func (*StorageServer) DeepCopyInto

func (in *StorageServer) DeepCopyInto(out *StorageServer)

DeepCopyInto supports using StorageServer within kubernetes types, where deepcopy-gen is used.

func (*StorageServer) Descriptor deprecated

func (*StorageServer) Descriptor() ([]byte, []int)

Deprecated: Use StorageServer.ProtoReflect.Descriptor instead.

func (*StorageServer) GetAddress

func (x *StorageServer) GetAddress() string

func (*StorageServer) GetId

func (x *StorageServer) GetId() string

func (*StorageServer) GetPublicKey

func (x *StorageServer) GetPublicKey() string

func (*StorageServer) GetSuffrage

func (x *StorageServer) GetSuffrage() ClusterStatus

func (*StorageServer) ProtoMessage

func (*StorageServer) ProtoMessage()

func (*StorageServer) ProtoReflect

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

func (*StorageServer) Reset

func (x *StorageServer) Reset()

func (*StorageServer) String

func (x *StorageServer) String() string

func (*StorageServer) Validate

func (m *StorageServer) Validate() error

Validate checks the field values on StorageServer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StorageServer) ValidateAll

func (m *StorageServer) ValidateAll() error

ValidateAll checks the field values on StorageServer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StorageServerMultiError, or nil if none found.

type StorageServerMultiError

type StorageServerMultiError []error

StorageServerMultiError is an error wrapping multiple validation errors returned by StorageServer.ValidateAll() if the designated constraints aren't met.

func (StorageServerMultiError) AllErrors

func (m StorageServerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageServerMultiError) Error

func (m StorageServerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StorageServerValidationError

type StorageServerValidationError struct {
	// contains filtered or unexported fields
}

StorageServerValidationError is the validation error returned by StorageServer.Validate if the designated constraints aren't met.

func (StorageServerValidationError) Cause

Cause function returns cause value.

func (StorageServerValidationError) Error

Error satisfies the builtin error interface

func (StorageServerValidationError) ErrorName

func (e StorageServerValidationError) ErrorName() string

ErrorName returns error name.

func (StorageServerValidationError) Field

Field function returns field value.

func (StorageServerValidationError) Key

Key function returns key value.

func (StorageServerValidationError) Reason

Reason function returns reason value.

type StorageStatus

type StorageStatus struct {

	// IsWritable is true if the storage can currently be written to.
	IsWritable bool `protobuf:"varint,1,opt,name=isWritable,proto3" json:"isWritable,omitempty"`
	// ClusterStatus is the status of the storage. The definitions applied
	// to each status are implementation specific.
	ClusterStatus ClusterStatus `protobuf:"varint,2,opt,name=clusterStatus,proto3,enum=v1.ClusterStatus" json:"clusterStatus,omitempty"`
	// Peers is the list of servers that are currently recognized as peers
	// by the storage plugin. This should include the current server.
	Peers []*StoragePeer `protobuf:"bytes,3,rep,name=peers,proto3" json:"peers,omitempty"`
	// Message is an implementation specific message that can be used to provide
	// additional information about the storage status.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

StorageStatus is the response object for the StorageStatus RPC.

func (*StorageStatus) DeepCopy

func (in *StorageStatus) DeepCopy() *StorageStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus. Required by controller-gen.

func (*StorageStatus) DeepCopyInterface

func (in *StorageStatus) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus. Required by controller-gen.

func (*StorageStatus) DeepCopyInto

func (in *StorageStatus) DeepCopyInto(out *StorageStatus)

DeepCopyInto supports using StorageStatus within kubernetes types, where deepcopy-gen is used.

func (*StorageStatus) Descriptor deprecated

func (*StorageStatus) Descriptor() ([]byte, []int)

Deprecated: Use StorageStatus.ProtoReflect.Descriptor instead.

func (*StorageStatus) GetClusterStatus

func (x *StorageStatus) GetClusterStatus() ClusterStatus

func (*StorageStatus) GetIsWritable

func (x *StorageStatus) GetIsWritable() bool

func (*StorageStatus) GetMessage

func (x *StorageStatus) GetMessage() string

func (*StorageStatus) GetPeers

func (x *StorageStatus) GetPeers() []*StoragePeer

func (*StorageStatus) ProtoMessage

func (*StorageStatus) ProtoMessage()

func (*StorageStatus) ProtoReflect

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

func (*StorageStatus) Reset

func (x *StorageStatus) Reset()

func (*StorageStatus) String

func (x *StorageStatus) String() string

func (*StorageStatus) Validate

func (m *StorageStatus) Validate() error

Validate checks the field values on StorageStatus with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StorageStatus) ValidateAll

func (m *StorageStatus) ValidateAll() error

ValidateAll checks the field values on StorageStatus with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StorageStatusMultiError, or nil if none found.

type StorageStatusMultiError

type StorageStatusMultiError []error

StorageStatusMultiError is an error wrapping multiple validation errors returned by StorageStatus.ValidateAll() if the designated constraints aren't met.

func (StorageStatusMultiError) AllErrors

func (m StorageStatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageStatusMultiError) Error

func (m StorageStatusMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StorageStatusRequest

type StorageStatusRequest struct {
	// contains filtered or unexported fields
}

StorageStatusRequest is the request object for the StorageStatus RPC.

func (*StorageStatusRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatusRequest. Required by controller-gen.

func (*StorageStatusRequest) DeepCopyInterface

func (in *StorageStatusRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatusRequest. Required by controller-gen.

func (*StorageStatusRequest) DeepCopyInto

func (in *StorageStatusRequest) DeepCopyInto(out *StorageStatusRequest)

DeepCopyInto supports using StorageStatusRequest within kubernetes types, where deepcopy-gen is used.

func (*StorageStatusRequest) Descriptor deprecated

func (*StorageStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StorageStatusRequest.ProtoReflect.Descriptor instead.

func (*StorageStatusRequest) ProtoMessage

func (*StorageStatusRequest) ProtoMessage()

func (*StorageStatusRequest) ProtoReflect

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

func (*StorageStatusRequest) Reset

func (x *StorageStatusRequest) Reset()

func (*StorageStatusRequest) String

func (x *StorageStatusRequest) String() string

func (*StorageStatusRequest) Validate

func (m *StorageStatusRequest) Validate() error

Validate checks the field values on StorageStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StorageStatusRequest) ValidateAll

func (m *StorageStatusRequest) ValidateAll() error

ValidateAll checks the field values on StorageStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StorageStatusRequestMultiError, or nil if none found.

type StorageStatusRequestMultiError

type StorageStatusRequestMultiError []error

StorageStatusRequestMultiError is an error wrapping multiple validation errors returned by StorageStatusRequest.ValidateAll() if the designated constraints aren't met.

func (StorageStatusRequestMultiError) AllErrors

func (m StorageStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StorageStatusRequestValidationError

type StorageStatusRequestValidationError struct {
	// contains filtered or unexported fields
}

StorageStatusRequestValidationError is the validation error returned by StorageStatusRequest.Validate if the designated constraints aren't met.

func (StorageStatusRequestValidationError) Cause

Cause function returns cause value.

func (StorageStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (StorageStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (StorageStatusRequestValidationError) Field

Field function returns field value.

func (StorageStatusRequestValidationError) Key

Key function returns key value.

func (StorageStatusRequestValidationError) Reason

Reason function returns reason value.

type StorageStatusValidationError

type StorageStatusValidationError struct {
	// contains filtered or unexported fields
}

StorageStatusValidationError is the validation error returned by StorageStatus.Validate if the designated constraints aren't met.

func (StorageStatusValidationError) Cause

Cause function returns cause value.

func (StorageStatusValidationError) Error

Error satisfies the builtin error interface

func (StorageStatusValidationError) ErrorName

func (e StorageStatusValidationError) ErrorName() string

ErrorName returns error name.

func (StorageStatusValidationError) Field

Field function returns field value.

func (StorageStatusValidationError) Key

Key function returns key value.

func (StorageStatusValidationError) Reason

Reason function returns reason value.

type StorageValue

type StorageValue struct {

	// Key is the key of the value.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the value of the key.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

StorageValue is a value stored in the storage.

func (*StorageValue) DeepCopy

func (in *StorageValue) DeepCopy() *StorageValue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageValue. Required by controller-gen.

func (*StorageValue) DeepCopyInterface

func (in *StorageValue) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageValue. Required by controller-gen.

func (*StorageValue) DeepCopyInto

func (in *StorageValue) DeepCopyInto(out *StorageValue)

DeepCopyInto supports using StorageValue within kubernetes types, where deepcopy-gen is used.

func (*StorageValue) Descriptor deprecated

func (*StorageValue) Descriptor() ([]byte, []int)

Deprecated: Use StorageValue.ProtoReflect.Descriptor instead.

func (*StorageValue) GetKey

func (x *StorageValue) GetKey() []byte

func (*StorageValue) GetValue

func (x *StorageValue) GetValue() []byte

func (*StorageValue) ProtoMessage

func (*StorageValue) ProtoMessage()

func (*StorageValue) ProtoReflect

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

func (*StorageValue) Reset

func (x *StorageValue) Reset()

func (*StorageValue) String

func (x *StorageValue) String() string

func (*StorageValue) Validate

func (m *StorageValue) Validate() error

Validate checks the field values on StorageValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StorageValue) ValidateAll

func (m *StorageValue) ValidateAll() error

ValidateAll checks the field values on StorageValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StorageValueMultiError, or nil if none found.

type StorageValueMultiError

type StorageValueMultiError []error

StorageValueMultiError is an error wrapping multiple validation errors returned by StorageValue.ValidateAll() if the designated constraints aren't met.

func (StorageValueMultiError) AllErrors

func (m StorageValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageValueMultiError) Error

func (m StorageValueMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StorageValueValidationError

type StorageValueValidationError struct {
	// contains filtered or unexported fields
}

StorageValueValidationError is the validation error returned by StorageValue.Validate if the designated constraints aren't met.

func (StorageValueValidationError) Cause

Cause function returns cause value.

func (StorageValueValidationError) Error

Error satisfies the builtin error interface

func (StorageValueValidationError) ErrorName

func (e StorageValueValidationError) ErrorName() string

ErrorName returns error name.

func (StorageValueValidationError) Field

Field function returns field value.

func (StorageValueValidationError) Key

Key function returns key value.

func (StorageValueValidationError) Reason

Reason function returns reason value.

type Subject

type Subject struct {

	// Name is the name of the subject.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type is the type of the subject.
	Type SubjectType `protobuf:"varint,2,opt,name=type,proto3,enum=v1.SubjectType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Subject is a subject to which a role can be bound.

func (*Subject) DeepCopy

func (in *Subject) DeepCopy() *Subject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. Required by controller-gen.

func (*Subject) DeepCopyInterface

func (in *Subject) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Subject. Required by controller-gen.

func (*Subject) DeepCopyInto

func (in *Subject) DeepCopyInto(out *Subject)

DeepCopyInto supports using Subject within kubernetes types, where deepcopy-gen is used.

func (*Subject) Descriptor deprecated

func (*Subject) Descriptor() ([]byte, []int)

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetName

func (x *Subject) GetName() string

func (*Subject) GetType

func (x *Subject) GetType() SubjectType

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

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

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

func (*Subject) Validate

func (m *Subject) Validate() error

Validate checks the field values on Subject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Subject) ValidateAll

func (m *Subject) ValidateAll() error

ValidateAll checks the field values on Subject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubjectMultiError, or nil if none found.

type SubjectMultiError

type SubjectMultiError []error

SubjectMultiError is an error wrapping multiple validation errors returned by Subject.ValidateAll() if the designated constraints aren't met.

func (SubjectMultiError) AllErrors

func (m SubjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubjectMultiError) Error

func (m SubjectMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SubjectType

type SubjectType int32

SubjectType is the type of a subject.

const (
	// SUBJECT_UNKNOWN is an unknown subject type.
	SubjectType_SUBJECT_UNKNOWN SubjectType = 0
	// SUBJECT_NODE is a subject type for a node.
	SubjectType_SUBJECT_NODE SubjectType = 1
	// SUBJECT_USER is a subject type for a user.
	SubjectType_SUBJECT_USER SubjectType = 2
	// SUBJECT_GROUP is a subject type for a group.
	SubjectType_SUBJECT_GROUP SubjectType = 3
	// SUBJECT_ALL is a wildcard subject type that matches all subject types.
	// It can be used with a subject named '*' to match all subjects.
	SubjectType_SUBJECT_ALL SubjectType = 999
)

func (SubjectType) Descriptor

func (SubjectType) Enum

func (x SubjectType) Enum() *SubjectType

func (SubjectType) EnumDescriptor deprecated

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

Deprecated: Use SubjectType.Descriptor instead.

func (SubjectType) Number

func (x SubjectType) Number() protoreflect.EnumNumber

func (SubjectType) String

func (x SubjectType) String() string

func (SubjectType) Type

type SubjectValidationError

type SubjectValidationError struct {
	// contains filtered or unexported fields
}

SubjectValidationError is the validation error returned by Subject.Validate if the designated constraints aren't met.

func (SubjectValidationError) Cause

func (e SubjectValidationError) Cause() error

Cause function returns cause value.

func (SubjectValidationError) Error

func (e SubjectValidationError) Error() string

Error satisfies the builtin error interface

func (SubjectValidationError) ErrorName

func (e SubjectValidationError) ErrorName() string

ErrorName returns error name.

func (SubjectValidationError) Field

func (e SubjectValidationError) Field() string

Field function returns field value.

func (SubjectValidationError) Key

func (e SubjectValidationError) Key() bool

Key function returns key value.

func (SubjectValidationError) Reason

func (e SubjectValidationError) Reason() string

Reason function returns reason value.

type SubscribePeersRequest

type SubscribePeersRequest struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

SubscribePeersRequest is a request to subscribe to peer updates.

func (*SubscribePeersRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePeersRequest. Required by controller-gen.

func (*SubscribePeersRequest) DeepCopyInterface

func (in *SubscribePeersRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePeersRequest. Required by controller-gen.

func (*SubscribePeersRequest) DeepCopyInto

func (in *SubscribePeersRequest) DeepCopyInto(out *SubscribePeersRequest)

DeepCopyInto supports using SubscribePeersRequest within kubernetes types, where deepcopy-gen is used.

func (*SubscribePeersRequest) Descriptor deprecated

func (*SubscribePeersRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribePeersRequest.ProtoReflect.Descriptor instead.

func (*SubscribePeersRequest) GetId

func (x *SubscribePeersRequest) GetId() string

func (*SubscribePeersRequest) ProtoMessage

func (*SubscribePeersRequest) ProtoMessage()

func (*SubscribePeersRequest) ProtoReflect

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

func (*SubscribePeersRequest) Reset

func (x *SubscribePeersRequest) Reset()

func (*SubscribePeersRequest) String

func (x *SubscribePeersRequest) String() string

func (*SubscribePeersRequest) Validate

func (m *SubscribePeersRequest) Validate() error

Validate checks the field values on SubscribePeersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscribePeersRequest) ValidateAll

func (m *SubscribePeersRequest) ValidateAll() error

ValidateAll checks the field values on SubscribePeersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribePeersRequestMultiError, or nil if none found.

type SubscribePeersRequestMultiError

type SubscribePeersRequestMultiError []error

SubscribePeersRequestMultiError is an error wrapping multiple validation errors returned by SubscribePeersRequest.ValidateAll() if the designated constraints aren't met.

func (SubscribePeersRequestMultiError) AllErrors

func (m SubscribePeersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribePeersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscribePeersRequestValidationError

type SubscribePeersRequestValidationError struct {
	// contains filtered or unexported fields
}

SubscribePeersRequestValidationError is the validation error returned by SubscribePeersRequest.Validate if the designated constraints aren't met.

func (SubscribePeersRequestValidationError) Cause

Cause function returns cause value.

func (SubscribePeersRequestValidationError) Error

Error satisfies the builtin error interface

func (SubscribePeersRequestValidationError) ErrorName

ErrorName returns error name.

func (SubscribePeersRequestValidationError) Field

Field function returns field value.

func (SubscribePeersRequestValidationError) Key

Key function returns key value.

func (SubscribePeersRequestValidationError) Reason

Reason function returns reason value.

type SubscribePrefixRequest

type SubscribePrefixRequest struct {

	// Prefix is the prefix to subscribe to.
	Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

SubscribePrefixRequest is the request object for the SubscribePrefix RPC.

func (*SubscribePrefixRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePrefixRequest. Required by controller-gen.

func (*SubscribePrefixRequest) DeepCopyInterface

func (in *SubscribePrefixRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePrefixRequest. Required by controller-gen.

func (*SubscribePrefixRequest) DeepCopyInto

func (in *SubscribePrefixRequest) DeepCopyInto(out *SubscribePrefixRequest)

DeepCopyInto supports using SubscribePrefixRequest within kubernetes types, where deepcopy-gen is used.

func (*SubscribePrefixRequest) Descriptor deprecated

func (*SubscribePrefixRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribePrefixRequest.ProtoReflect.Descriptor instead.

func (*SubscribePrefixRequest) GetPrefix

func (x *SubscribePrefixRequest) GetPrefix() []byte

func (*SubscribePrefixRequest) ProtoMessage

func (*SubscribePrefixRequest) ProtoMessage()

func (*SubscribePrefixRequest) ProtoReflect

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

func (*SubscribePrefixRequest) Reset

func (x *SubscribePrefixRequest) Reset()

func (*SubscribePrefixRequest) String

func (x *SubscribePrefixRequest) String() string

func (*SubscribePrefixRequest) Validate

func (m *SubscribePrefixRequest) Validate() error

Validate checks the field values on SubscribePrefixRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscribePrefixRequest) ValidateAll

func (m *SubscribePrefixRequest) ValidateAll() error

ValidateAll checks the field values on SubscribePrefixRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribePrefixRequestMultiError, or nil if none found.

type SubscribePrefixRequestMultiError

type SubscribePrefixRequestMultiError []error

SubscribePrefixRequestMultiError is an error wrapping multiple validation errors returned by SubscribePrefixRequest.ValidateAll() if the designated constraints aren't met.

func (SubscribePrefixRequestMultiError) AllErrors

func (m SubscribePrefixRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribePrefixRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscribePrefixRequestValidationError

type SubscribePrefixRequestValidationError struct {
	// contains filtered or unexported fields
}

SubscribePrefixRequestValidationError is the validation error returned by SubscribePrefixRequest.Validate if the designated constraints aren't met.

func (SubscribePrefixRequestValidationError) Cause

Cause function returns cause value.

func (SubscribePrefixRequestValidationError) Error

Error satisfies the builtin error interface

func (SubscribePrefixRequestValidationError) ErrorName

ErrorName returns error name.

func (SubscribePrefixRequestValidationError) Field

Field function returns field value.

func (SubscribePrefixRequestValidationError) Key

Key function returns key value.

func (SubscribePrefixRequestValidationError) Reason

Reason function returns reason value.

type SubscribeRequest

type SubscribeRequest struct {

	// Prefix is the prefix of the events to subscribe to.
	Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

SubscribeRequest is sent by the application to the node to subscribe to events. This currently only supports database events.

func (*SubscribeRequest) DeepCopy

func (in *SubscribeRequest) DeepCopy() *SubscribeRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscribeRequest. Required by controller-gen.

func (*SubscribeRequest) DeepCopyInterface

func (in *SubscribeRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscribeRequest. Required by controller-gen.

func (*SubscribeRequest) DeepCopyInto

func (in *SubscribeRequest) DeepCopyInto(out *SubscribeRequest)

DeepCopyInto supports using SubscribeRequest within kubernetes types, where deepcopy-gen is used.

func (*SubscribeRequest) Descriptor deprecated

func (*SubscribeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) GetPrefix

func (x *SubscribeRequest) GetPrefix() []byte

func (*SubscribeRequest) ProtoMessage

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) ProtoReflect

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

func (*SubscribeRequest) Reset

func (x *SubscribeRequest) Reset()

func (*SubscribeRequest) String

func (x *SubscribeRequest) String() string

func (*SubscribeRequest) Validate

func (m *SubscribeRequest) Validate() error

Validate checks the field values on SubscribeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscribeRequest) ValidateAll

func (m *SubscribeRequest) ValidateAll() error

ValidateAll checks the field values on SubscribeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeRequestMultiError, or nil if none found.

type SubscribeRequestMultiError

type SubscribeRequestMultiError []error

SubscribeRequestMultiError is an error wrapping multiple validation errors returned by SubscribeRequest.ValidateAll() if the designated constraints aren't met.

func (SubscribeRequestMultiError) AllErrors

func (m SubscribeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscribeRequestValidationError

type SubscribeRequestValidationError struct {
	// contains filtered or unexported fields
}

SubscribeRequestValidationError is the validation error returned by SubscribeRequest.Validate if the designated constraints aren't met.

func (SubscribeRequestValidationError) Cause

Cause function returns cause value.

func (SubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (SubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (SubscribeRequestValidationError) Field

Field function returns field value.

func (SubscribeRequestValidationError) Key

Key function returns key value.

func (SubscribeRequestValidationError) Reason

Reason function returns reason value.

type SubscriptionEvent

type SubscriptionEvent struct {

	// Key is the key of the event.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the value of the event. This will be the raw value of the key.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionEvent is a message containing a subscription event.

func (*SubscriptionEvent) DeepCopy

func (in *SubscriptionEvent) DeepCopy() *SubscriptionEvent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionEvent. Required by controller-gen.

func (*SubscriptionEvent) DeepCopyInterface

func (in *SubscriptionEvent) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionEvent. Required by controller-gen.

func (*SubscriptionEvent) DeepCopyInto

func (in *SubscriptionEvent) DeepCopyInto(out *SubscriptionEvent)

DeepCopyInto supports using SubscriptionEvent within kubernetes types, where deepcopy-gen is used.

func (*SubscriptionEvent) Descriptor deprecated

func (*SubscriptionEvent) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionEvent.ProtoReflect.Descriptor instead.

func (*SubscriptionEvent) GetKey

func (x *SubscriptionEvent) GetKey() []byte

func (*SubscriptionEvent) GetValue

func (x *SubscriptionEvent) GetValue() []byte

func (*SubscriptionEvent) ProtoMessage

func (*SubscriptionEvent) ProtoMessage()

func (*SubscriptionEvent) ProtoReflect

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

func (*SubscriptionEvent) Reset

func (x *SubscriptionEvent) Reset()

func (*SubscriptionEvent) String

func (x *SubscriptionEvent) String() string

func (*SubscriptionEvent) Validate

func (m *SubscriptionEvent) Validate() error

Validate checks the field values on SubscriptionEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscriptionEvent) ValidateAll

func (m *SubscriptionEvent) ValidateAll() error

ValidateAll checks the field values on SubscriptionEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscriptionEventMultiError, or nil if none found.

type SubscriptionEventMultiError

type SubscriptionEventMultiError []error

SubscriptionEventMultiError is an error wrapping multiple validation errors returned by SubscriptionEvent.ValidateAll() if the designated constraints aren't met.

func (SubscriptionEventMultiError) AllErrors

func (m SubscriptionEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscriptionEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscriptionEventValidationError

type SubscriptionEventValidationError struct {
	// contains filtered or unexported fields
}

SubscriptionEventValidationError is the validation error returned by SubscriptionEvent.Validate if the designated constraints aren't met.

func (SubscriptionEventValidationError) Cause

Cause function returns cause value.

func (SubscriptionEventValidationError) Error

Error satisfies the builtin error interface

func (SubscriptionEventValidationError) ErrorName

ErrorName returns error name.

func (SubscriptionEventValidationError) Field

Field function returns field value.

func (SubscriptionEventValidationError) Key

Key function returns key value.

func (SubscriptionEventValidationError) Reason

Reason function returns reason value.

type UnimplementedAdminServer

type UnimplementedAdminServer struct {
}

UnimplementedAdminServer must be embedded to have forward compatible implementations.

func (UnimplementedAdminServer) DeleteEdge

func (UnimplementedAdminServer) DeleteGroup

func (UnimplementedAdminServer) DeleteNetworkACL

func (UnimplementedAdminServer) DeleteRole

func (UnimplementedAdminServer) DeleteRoleBinding

func (UnimplementedAdminServer) DeleteRoute

func (UnimplementedAdminServer) GetEdge

func (UnimplementedAdminServer) GetGroup

func (UnimplementedAdminServer) GetNetworkACL

func (UnimplementedAdminServer) GetRole

func (UnimplementedAdminServer) GetRoleBinding

func (UnimplementedAdminServer) GetRoute

func (UnimplementedAdminServer) ListEdges

func (UnimplementedAdminServer) ListGroups

func (UnimplementedAdminServer) ListNetworkACLs

func (UnimplementedAdminServer) ListRoleBindings

func (UnimplementedAdminServer) ListRoles

func (UnimplementedAdminServer) ListRoutes

func (UnimplementedAdminServer) PutEdge

func (UnimplementedAdminServer) PutGroup

func (UnimplementedAdminServer) PutNetworkACL

func (UnimplementedAdminServer) PutRole

func (UnimplementedAdminServer) PutRoleBinding

func (UnimplementedAdminServer) PutRoute

type UnimplementedAppDaemonServer

type UnimplementedAppDaemonServer struct {
}

UnimplementedAppDaemonServer must be embedded to have forward compatible implementations.

func (UnimplementedAppDaemonServer) Connect

func (UnimplementedAppDaemonServer) Disconnect

func (UnimplementedAppDaemonServer) DropConnection added in v0.12.0

func (UnimplementedAppDaemonServer) GetConnection added in v0.12.0

func (UnimplementedAppDaemonServer) ListConnections added in v0.12.0

func (UnimplementedAppDaemonServer) Metrics

func (UnimplementedAppDaemonServer) PutConnection added in v0.12.0

func (UnimplementedAppDaemonServer) Query

func (UnimplementedAppDaemonServer) Status

type UnimplementedAuthPluginServer

type UnimplementedAuthPluginServer struct {
}

UnimplementedAuthPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthPluginServer) Authenticate

type UnimplementedIPAMPluginServer

type UnimplementedIPAMPluginServer struct {
}

UnimplementedIPAMPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedIPAMPluginServer) Allocate

func (UnimplementedIPAMPluginServer) Release

type UnimplementedMembershipServer

type UnimplementedMembershipServer struct {
}

UnimplementedMembershipServer must be embedded to have forward compatible implementations.

func (UnimplementedMembershipServer) Apply

func (UnimplementedMembershipServer) GetCurrentConsensus

func (UnimplementedMembershipServer) Join

func (UnimplementedMembershipServer) Leave

func (UnimplementedMembershipServer) SubscribePeers

func (UnimplementedMembershipServer) Update

type UnimplementedMeshServer

type UnimplementedMeshServer struct {
}

UnimplementedMeshServer must be embedded to have forward compatible implementations.

func (UnimplementedMeshServer) GetMeshGraph

func (UnimplementedMeshServer) GetNode

func (UnimplementedMeshServer) ListNodes

type UnimplementedNodeServer

type UnimplementedNodeServer struct {
}

UnimplementedNodeServer must be embedded to have forward compatible implementations.

func (UnimplementedNodeServer) GetStatus

func (UnimplementedNodeServer) NegotiateDataChannel

func (UnimplementedNodeServer) ReceiveSignalChannel

type UnimplementedPluginServer

type UnimplementedPluginServer struct {
}

UnimplementedPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedPluginServer) Close

func (UnimplementedPluginServer) Configure

func (UnimplementedPluginServer) GetInfo

type UnimplementedRegistrarServer

type UnimplementedRegistrarServer struct {
}

UnimplementedRegistrarServer must be embedded to have forward compatible implementations.

func (UnimplementedRegistrarServer) Lookup

func (UnimplementedRegistrarServer) Register

type UnimplementedStorageProviderPluginServer

type UnimplementedStorageProviderPluginServer struct {
}

UnimplementedStorageProviderPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageProviderPluginServer) AddObserver

func (UnimplementedStorageProviderPluginServer) AddVoter

func (UnimplementedStorageProviderPluginServer) Bootstrap

func (UnimplementedStorageProviderPluginServer) DeleteValue

func (UnimplementedStorageProviderPluginServer) DemoteVoter

func (UnimplementedStorageProviderPluginServer) GetLeader

func (UnimplementedStorageProviderPluginServer) GetPeers

func (UnimplementedStorageProviderPluginServer) GetStatus

func (UnimplementedStorageProviderPluginServer) GetValue

func (UnimplementedStorageProviderPluginServer) ListKeys

func (UnimplementedStorageProviderPluginServer) ListValues

func (UnimplementedStorageProviderPluginServer) PutValue

func (UnimplementedStorageProviderPluginServer) RemovePeer

type UnimplementedStorageQuerierPluginServer

type UnimplementedStorageQuerierPluginServer struct {
}

UnimplementedStorageQuerierPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageQuerierPluginServer) InjectQuerier

type UnimplementedStorageQueryServiceServer

type UnimplementedStorageQueryServiceServer struct {
}

UnimplementedStorageQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageQueryServiceServer) Publish

func (UnimplementedStorageQueryServiceServer) Query

func (UnimplementedStorageQueryServiceServer) Subscribe

type UnimplementedWatchPluginServer

type UnimplementedWatchPluginServer struct {
}

UnimplementedWatchPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedWatchPluginServer) Emit

type UnimplementedWebRTCServer

type UnimplementedWebRTCServer struct {
}

UnimplementedWebRTCServer must be embedded to have forward compatible implementations.

func (UnimplementedWebRTCServer) StartDataChannel

func (UnimplementedWebRTCServer) StartSignalChannel

type UnsafeAdminServer

type UnsafeAdminServer interface {
	// contains filtered or unexported methods
}

UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.

type UnsafeAppDaemonServer

type UnsafeAppDaemonServer interface {
	// contains filtered or unexported methods
}

UnsafeAppDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppDaemonServer will result in compilation errors.

type UnsafeAuthPluginServer

type UnsafeAuthPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthPluginServer will result in compilation errors.

type UnsafeIPAMPluginServer

type UnsafeIPAMPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeIPAMPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IPAMPluginServer will result in compilation errors.

type UnsafeMembershipServer

type UnsafeMembershipServer interface {
	// contains filtered or unexported methods
}

UnsafeMembershipServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MembershipServer will result in compilation errors.

type UnsafeMeshServer

type UnsafeMeshServer interface {
	// contains filtered or unexported methods
}

UnsafeMeshServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MeshServer will result in compilation errors.

type UnsafeNodeServer

type UnsafeNodeServer interface {
	// contains filtered or unexported methods
}

UnsafeNodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServer will result in compilation errors.

type UnsafePluginServer

type UnsafePluginServer interface {
	// contains filtered or unexported methods
}

UnsafePluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServer will result in compilation errors.

type UnsafeRegistrarServer

type UnsafeRegistrarServer interface {
	// contains filtered or unexported methods
}

UnsafeRegistrarServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistrarServer will result in compilation errors.

type UnsafeStorageProviderPluginServer

type UnsafeStorageProviderPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageProviderPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageProviderPluginServer will result in compilation errors.

type UnsafeStorageQuerierPluginServer

type UnsafeStorageQuerierPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageQuerierPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageQuerierPluginServer will result in compilation errors.

type UnsafeStorageQueryServiceServer

type UnsafeStorageQueryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageQueryServiceServer will result in compilation errors.

type UnsafeWatchPluginServer

type UnsafeWatchPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeWatchPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchPluginServer will result in compilation errors.

type UnsafeWebRTCServer

type UnsafeWebRTCServer interface {
	// contains filtered or unexported methods
}

UnsafeWebRTCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebRTCServer will result in compilation errors.

type UpdateRequest

type UpdateRequest struct {

	// ID is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// PublicKey is the public key of the node to broadcast to peers.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// PrimaryEndpoint is a routable address for the node. If left unset,
	// the node is assumed to be behind a NAT and not directly accessible.
	PrimaryEndpoint string `protobuf:"bytes,3,opt,name=primaryEndpoint,proto3" json:"primaryEndpoint,omitempty"`
	// WireguardEndpoints is a list of WireGuard endpoints for the node.
	WireguardEndpoints []string `protobuf:"bytes,4,rep,name=wireguardEndpoints,proto3" json:"wireguardEndpoints,omitempty"`
	// ZoneAwarenessID is the zone awareness ID of the node.
	ZoneAwarenessID string `protobuf:"bytes,5,opt,name=zoneAwarenessID,proto3" json:"zoneAwarenessID,omitempty"`
	// AsVoter is whether the node should receive a vote in elections. The request
	// will be denied if the node is not allowed to vote.
	AsVoter bool `protobuf:"varint,6,opt,name=asVoter,proto3" json:"asVoter,omitempty"`
	// Routes is a list of routes to advertise to peers. The request will be denied
	// if the node is not allowed to put routes.
	Routes []string `protobuf:"bytes,7,rep,name=routes,proto3" json:"routes,omitempty"`
	// Features is a list of features supported by the node that should be advertised to peers
	// and the port they are available on.
	Features []*FeaturePort `protobuf:"bytes,8,rep,name=features,proto3" json:"features,omitempty"`
	// Multiaddrs are libp2p multiaddresses this node is listening on.
	Multiaddrs []string `protobuf:"bytes,9,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"`
	// contains filtered or unexported fields
}

UpdateRequest contains most of the same fields as JoinRequest, but is used to update the state of a node in the cluster.

func (*UpdateRequest) DeepCopy

func (in *UpdateRequest) DeepCopy() *UpdateRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateRequest. Required by controller-gen.

func (*UpdateRequest) DeepCopyInterface

func (in *UpdateRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateRequest. Required by controller-gen.

func (*UpdateRequest) DeepCopyInto

func (in *UpdateRequest) DeepCopyInto(out *UpdateRequest)

DeepCopyInto supports using UpdateRequest within kubernetes types, where deepcopy-gen is used.

func (*UpdateRequest) Descriptor deprecated

func (*UpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetAsVoter

func (x *UpdateRequest) GetAsVoter() bool

func (*UpdateRequest) GetFeatures

func (x *UpdateRequest) GetFeatures() []*FeaturePort

func (*UpdateRequest) GetId

func (x *UpdateRequest) GetId() string

func (*UpdateRequest) GetMultiaddrs

func (x *UpdateRequest) GetMultiaddrs() []string

func (*UpdateRequest) GetPrimaryEndpoint

func (x *UpdateRequest) GetPrimaryEndpoint() string

func (*UpdateRequest) GetPublicKey

func (x *UpdateRequest) GetPublicKey() string

func (*UpdateRequest) GetRoutes

func (x *UpdateRequest) GetRoutes() []string

func (*UpdateRequest) GetWireguardEndpoints

func (x *UpdateRequest) GetWireguardEndpoints() []string

func (*UpdateRequest) GetZoneAwarenessID

func (x *UpdateRequest) GetZoneAwarenessID() string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

func (*UpdateRequest) Validate

func (m *UpdateRequest) Validate() error

Validate checks the field values on UpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRequest) ValidateAll

func (m *UpdateRequest) ValidateAll() error

ValidateAll checks the field values on UpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRequestMultiError, or nil if none found.

type UpdateRequestMultiError

type UpdateRequestMultiError []error

UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateRequestMultiError) AllErrors

func (m UpdateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRequestMultiError) Error

func (m UpdateRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpdateRequestValidationError

type UpdateRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.

func (UpdateRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRequestValidationError) ErrorName

func (e UpdateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRequestValidationError) Field

Field function returns field value.

func (UpdateRequestValidationError) Key

Key function returns key value.

func (UpdateRequestValidationError) Reason

Reason function returns reason value.

type UpdateResponse

type UpdateResponse struct {
	// contains filtered or unexported fields
}

UpdateResponse is a response to an update request. It is currently empty.

func (*UpdateResponse) DeepCopy

func (in *UpdateResponse) DeepCopy() *UpdateResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateResponse. Required by controller-gen.

func (*UpdateResponse) DeepCopyInterface

func (in *UpdateResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateResponse. Required by controller-gen.

func (*UpdateResponse) DeepCopyInto

func (in *UpdateResponse) DeepCopyInto(out *UpdateResponse)

DeepCopyInto supports using UpdateResponse within kubernetes types, where deepcopy-gen is used.

func (*UpdateResponse) Descriptor deprecated

func (*UpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

func (*UpdateResponse) Validate

func (m *UpdateResponse) Validate() error

Validate checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateResponse) ValidateAll

func (m *UpdateResponse) ValidateAll() error

ValidateAll checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateResponseMultiError, or nil if none found.

type UpdateResponseMultiError

type UpdateResponseMultiError []error

UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateResponseMultiError) AllErrors

func (m UpdateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResponseMultiError) Error

func (m UpdateResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpdateResponseValidationError

type UpdateResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.

func (UpdateResponseValidationError) Cause

Cause function returns cause value.

func (UpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateResponseValidationError) ErrorName

func (e UpdateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateResponseValidationError) Field

Field function returns field value.

func (UpdateResponseValidationError) Key

Key function returns key value.

func (UpdateResponseValidationError) Reason

Reason function returns reason value.

type WatchPluginClient

type WatchPluginClient interface {
	// Emit handles a watch event.
	Emit(ctx context.Context, in *Event, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

WatchPluginClient is the client API for WatchPlugin 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 WatchPluginServer

type WatchPluginServer interface {
	// Emit handles a watch event.
	Emit(context.Context, *Event) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

WatchPluginServer is the server API for WatchPlugin service. All implementations must embed UnimplementedWatchPluginServer for forward compatibility

type WebRTCClient

type WebRTCClient interface {
	// StartDataChannel requests a new WebRTC connection to a node.
	// The client speaks first with the request containing the node ID
	// and where forwarded packets should be sent. The server responds
	// with an offer and STUN servers to be used to establish a WebRTC connection.
	// The client should then respond with an answer to the offer that matches the
	// spec of the DataChannel.CHANNELS enum value.
	//
	// After the offer is accepted, the stream can be used to exchange ICE candidates
	// to speed up the connection process.
	StartDataChannel(ctx context.Context, opts ...grpc.CallOption) (WebRTC_StartDataChannelClient, error)
	// StartSignalChannel starts a signaling channel to a remote node. This can be used to
	// negotiate WebRTC connections both inside and outside of the mesh. Messages on the wire
	// are proxied to the remote node.
	StartSignalChannel(ctx context.Context, opts ...grpc.CallOption) (WebRTC_StartSignalChannelClient, error)
}

WebRTCClient is the client API for WebRTC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewWebRTCClient

func NewWebRTCClient(cc grpc.ClientConnInterface) WebRTCClient

type WebRTCServer

type WebRTCServer interface {
	// StartDataChannel requests a new WebRTC connection to a node.
	// The client speaks first with the request containing the node ID
	// and where forwarded packets should be sent. The server responds
	// with an offer and STUN servers to be used to establish a WebRTC connection.
	// The client should then respond with an answer to the offer that matches the
	// spec of the DataChannel.CHANNELS enum value.
	//
	// After the offer is accepted, the stream can be used to exchange ICE candidates
	// to speed up the connection process.
	StartDataChannel(WebRTC_StartDataChannelServer) error
	// StartSignalChannel starts a signaling channel to a remote node. This can be used to
	// negotiate WebRTC connections both inside and outside of the mesh. Messages on the wire
	// are proxied to the remote node.
	StartSignalChannel(WebRTC_StartSignalChannelServer) error
	// contains filtered or unexported methods
}

WebRTCServer is the server API for WebRTC service. All implementations must embed UnimplementedWebRTCServer for forward compatibility

type WebRTCSignal

type WebRTCSignal struct {

	// NodeID is the ID of the node to send the signal to.
	// This is set by the original sender. On the node that
	// receives the ReceiveSignalChannel request, this will
	// be set to the ID of the node that sent the request.
	NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// Candidate is an ICE candidate.
	Candidate string `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// Description is a session description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

WebRTCSignal is a signal sent to a remote peer over the WebRTC API.

func (*WebRTCSignal) DeepCopy

func (in *WebRTCSignal) DeepCopy() *WebRTCSignal

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebRTCSignal. Required by controller-gen.

func (*WebRTCSignal) DeepCopyInterface

func (in *WebRTCSignal) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WebRTCSignal. Required by controller-gen.

func (*WebRTCSignal) DeepCopyInto

func (in *WebRTCSignal) DeepCopyInto(out *WebRTCSignal)

DeepCopyInto supports using WebRTCSignal within kubernetes types, where deepcopy-gen is used.

func (*WebRTCSignal) Descriptor deprecated

func (*WebRTCSignal) Descriptor() ([]byte, []int)

Deprecated: Use WebRTCSignal.ProtoReflect.Descriptor instead.

func (*WebRTCSignal) GetCandidate

func (x *WebRTCSignal) GetCandidate() string

func (*WebRTCSignal) GetDescription

func (x *WebRTCSignal) GetDescription() string

func (*WebRTCSignal) GetNodeID

func (x *WebRTCSignal) GetNodeID() string

func (*WebRTCSignal) ProtoMessage

func (*WebRTCSignal) ProtoMessage()

func (*WebRTCSignal) ProtoReflect

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

func (*WebRTCSignal) Reset

func (x *WebRTCSignal) Reset()

func (*WebRTCSignal) String

func (x *WebRTCSignal) String() string

func (*WebRTCSignal) Validate

func (m *WebRTCSignal) Validate() error

Validate checks the field values on WebRTCSignal with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WebRTCSignal) ValidateAll

func (m *WebRTCSignal) ValidateAll() error

ValidateAll checks the field values on WebRTCSignal with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WebRTCSignalMultiError, or nil if none found.

type WebRTCSignalMultiError

type WebRTCSignalMultiError []error

WebRTCSignalMultiError is an error wrapping multiple validation errors returned by WebRTCSignal.ValidateAll() if the designated constraints aren't met.

func (WebRTCSignalMultiError) AllErrors

func (m WebRTCSignalMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WebRTCSignalMultiError) Error

func (m WebRTCSignalMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WebRTCSignalValidationError

type WebRTCSignalValidationError struct {
	// contains filtered or unexported fields
}

WebRTCSignalValidationError is the validation error returned by WebRTCSignal.Validate if the designated constraints aren't met.

func (WebRTCSignalValidationError) Cause

Cause function returns cause value.

func (WebRTCSignalValidationError) Error

Error satisfies the builtin error interface

func (WebRTCSignalValidationError) ErrorName

func (e WebRTCSignalValidationError) ErrorName() string

ErrorName returns error name.

func (WebRTCSignalValidationError) Field

Field function returns field value.

func (WebRTCSignalValidationError) Key

Key function returns key value.

func (WebRTCSignalValidationError) Reason

Reason function returns reason value.

type WebRTC_StartDataChannelClient

type WebRTC_StartDataChannelClient interface {
	Send(*StartDataChannelRequest) error
	Recv() (*DataChannelOffer, error)
	grpc.ClientStream
}

type WebRTC_StartDataChannelServer

type WebRTC_StartDataChannelServer interface {
	Send(*DataChannelOffer) error
	Recv() (*StartDataChannelRequest, error)
	grpc.ServerStream
}

type WebRTC_StartSignalChannelClient

type WebRTC_StartSignalChannelClient interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ClientStream
}

type WebRTC_StartSignalChannelServer

type WebRTC_StartSignalChannelServer interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ServerStream
}

type WireGuardPeer

type WireGuardPeer struct {

	// Node is information about this node.
	Node *MeshNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// AllowedIPs is the list of allowed IPs for the peer.
	AllowedIPs []string `protobuf:"bytes,2,rep,name=allowedIPs,proto3" json:"allowedIPs,omitempty"`
	// AllowedRoutes is the list of allowed routes for the peer.
	AllowedRoutes []string `protobuf:"bytes,3,rep,name=allowedRoutes,proto3" json:"allowedRoutes,omitempty"`
	// Proto indicates the protocol to use to connect to the peer.
	Proto ConnectProtocol `protobuf:"varint,4,opt,name=proto,proto3,enum=v1.ConnectProtocol" json:"proto,omitempty"`
	// contains filtered or unexported fields
}

WireGuardPeer is a peer in the Wireguard network.

func (*WireGuardPeer) DeepCopy

func (in *WireGuardPeer) DeepCopy() *WireGuardPeer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireGuardPeer. Required by controller-gen.

func (*WireGuardPeer) DeepCopyInterface

func (in *WireGuardPeer) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WireGuardPeer. Required by controller-gen.

func (*WireGuardPeer) DeepCopyInto

func (in *WireGuardPeer) DeepCopyInto(out *WireGuardPeer)

DeepCopyInto supports using WireGuardPeer within kubernetes types, where deepcopy-gen is used.

func (*WireGuardPeer) Descriptor deprecated

func (*WireGuardPeer) Descriptor() ([]byte, []int)

Deprecated: Use WireGuardPeer.ProtoReflect.Descriptor instead.

func (*WireGuardPeer) GetAllowedIPs

func (x *WireGuardPeer) GetAllowedIPs() []string

func (*WireGuardPeer) GetAllowedRoutes

func (x *WireGuardPeer) GetAllowedRoutes() []string

func (*WireGuardPeer) GetNode

func (x *WireGuardPeer) GetNode() *MeshNode

func (*WireGuardPeer) GetProto

func (x *WireGuardPeer) GetProto() ConnectProtocol

func (*WireGuardPeer) ProtoMessage

func (*WireGuardPeer) ProtoMessage()

func (*WireGuardPeer) ProtoReflect

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

func (*WireGuardPeer) Reset

func (x *WireGuardPeer) Reset()

func (*WireGuardPeer) String

func (x *WireGuardPeer) String() string

func (*WireGuardPeer) Validate

func (m *WireGuardPeer) Validate() error

Validate checks the field values on WireGuardPeer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WireGuardPeer) ValidateAll

func (m *WireGuardPeer) ValidateAll() error

ValidateAll checks the field values on WireGuardPeer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WireGuardPeerMultiError, or nil if none found.

type WireGuardPeerMultiError

type WireGuardPeerMultiError []error

WireGuardPeerMultiError is an error wrapping multiple validation errors returned by WireGuardPeer.ValidateAll() if the designated constraints aren't met.

func (WireGuardPeerMultiError) AllErrors

func (m WireGuardPeerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WireGuardPeerMultiError) Error

func (m WireGuardPeerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WireGuardPeerValidationError

type WireGuardPeerValidationError struct {
	// contains filtered or unexported fields
}

WireGuardPeerValidationError is the validation error returned by WireGuardPeer.Validate if the designated constraints aren't met.

func (WireGuardPeerValidationError) Cause

Cause function returns cause value.

func (WireGuardPeerValidationError) Error

Error satisfies the builtin error interface

func (WireGuardPeerValidationError) ErrorName

func (e WireGuardPeerValidationError) ErrorName() string

ErrorName returns error name.

func (WireGuardPeerValidationError) Field

Field function returns field value.

func (WireGuardPeerValidationError) Key

Key function returns key value.

func (WireGuardPeerValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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