v1

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

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_Connect_FullMethodName     = "/v1.AppDaemon/Connect"
	AppDaemon_Disconnect_FullMethodName  = "/v1.AppDaemon/Disconnect"
	AppDaemon_Query_FullMethodName       = "/v1.AppDaemon/Query"
	AppDaemon_Metrics_FullMethodName     = "/v1.AppDaemon/Metrics"
	AppDaemon_Status_FullMethodName      = "/v1.AppDaemon/Status"
	AppDaemon_Subscribe_FullMethodName   = "/v1.AppDaemon/Subscribe"
	AppDaemon_Publish_FullMethodName     = "/v1.AppDaemon/Publish"
	AppDaemon_AnnounceDHT_FullMethodName = "/v1.AppDaemon/AnnounceDHT"
	AppDaemon_LeaveDHT_FullMethodName    = "/v1.AppDaemon/LeaveDHT"
)
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 (
	StatusResponse_ConnectionStatus_name = map[int32]string{
		0: "DISCONNECTED",
		1: "CONNECTING",
		2: "CONNECTED",
	}
	StatusResponse_ConnectionStatus_value = map[string]int32{
		"DISCONNECTED": 0,
		"CONNECTING":   1,
		"CONNECTED":    2,
	}
)

Enum value maps for StatusResponse_ConnectionStatus.

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",
	}
	QueryRequest_QueryCommand_value = map[string]int32{
		"GET":  0,
		"LIST": 1,
	}
)

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: "Connect",
			Handler:    _AppDaemon_Connect_Handler,
		},
		{
			MethodName: "Disconnect",
			Handler:    _AppDaemon_Disconnect_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _AppDaemon_Query_Handler,
		},
		{
			MethodName: "Metrics",
			Handler:    _AppDaemon_Metrics_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _AppDaemon_Status_Handler,
		},
		{
			MethodName: "Publish",
			Handler:    _AppDaemon_Publish_Handler,
		},
		{
			MethodName: "AnnounceDHT",
			Handler:    _AppDaemon_AnnounceDHT_Handler,
		},
		{
			MethodName: "LeaveDHT",
			Handler:    _AppDaemon_LeaveDHT_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Subscribe",
			Handler:       _AppDaemon_Subscribe_Handler,
			ServerStreams: true,
		},
	},
	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 added in v0.2.2

func RegisterAppDaemonServer(s grpc.ServiceRegistrar, srv AppDaemonServer)

func RegisterAuthPluginServer added in v0.1.4

func RegisterAuthPluginServer(s grpc.ServiceRegistrar, srv AuthPluginServer)

func RegisterIPAMPluginServer added in v0.1.4

func RegisterIPAMPluginServer(s grpc.ServiceRegistrar, srv IPAMPluginServer)

func RegisterMembershipServer added in v0.2.2

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 added in v0.9.0

func RegisterRegistrarServer(s grpc.ServiceRegistrar, srv RegistrarServer)

func RegisterStorageProviderPluginServer added in v0.4.0

func RegisterStorageProviderPluginServer(s grpc.ServiceRegistrar, srv StorageProviderPluginServer)

func RegisterStorageQuerierPluginServer added in v0.4.0

func RegisterStorageQuerierPluginServer(s grpc.ServiceRegistrar, srv StorageQuerierPluginServer)

func RegisterStorageQueryServiceServer added in v0.4.0

func RegisterStorageQueryServiceServer(s grpc.ServiceRegistrar, srv StorageQueryServiceServer)

func RegisterWatchPluginServer added in v0.1.4

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 added in v0.4.0

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

AddObserverResponse is the response object for the AddObserver RPC.

func (*AddObserverResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*AddObserverResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use AddObserverResponse.ProtoReflect.Descriptor instead.

func (*AddObserverResponse) ProtoMessage added in v0.4.0

func (*AddObserverResponse) ProtoMessage()

func (*AddObserverResponse) ProtoReflect added in v0.4.0

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

func (*AddObserverResponse) Reset added in v0.4.0

func (x *AddObserverResponse) Reset()

func (*AddObserverResponse) String added in v0.4.0

func (x *AddObserverResponse) String() string

func (*AddObserverResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m AddObserverResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddObserverResponseMultiError) Error added in v0.6.2

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

type AddObserverResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (AddObserverResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AddObserverResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AddObserverResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (AddObserverResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (AddObserverResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type AddVoterResponse added in v0.4.0

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

AddVoterResponse is the response object for the AddVoter RPC.

func (*AddVoterResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*AddVoterResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use AddVoterResponse.ProtoReflect.Descriptor instead.

func (*AddVoterResponse) ProtoMessage added in v0.4.0

func (*AddVoterResponse) ProtoMessage()

func (*AddVoterResponse) ProtoReflect added in v0.4.0

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

func (*AddVoterResponse) Reset added in v0.4.0

func (x *AddVoterResponse) Reset()

func (*AddVoterResponse) String added in v0.4.0

func (x *AddVoterResponse) String() string

func (*AddVoterResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m AddVoterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddVoterResponseMultiError) Error added in v0.6.2

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

type AddVoterResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (AddVoterResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AddVoterResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AddVoterResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (AddVoterResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (AddVoterResponseValidationError) Reason added in v0.6.2

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 added in v0.1.4

type AllocateIPRequest struct {

	// node_id 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*AllocateIPRequest) Descriptor deprecated added in v0.1.4

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

Deprecated: Use AllocateIPRequest.ProtoReflect.Descriptor instead.

func (*AllocateIPRequest) GetNodeID added in v0.7.0

func (x *AllocateIPRequest) GetNodeID() string

func (*AllocateIPRequest) GetSubnet added in v0.1.4

func (x *AllocateIPRequest) GetSubnet() string

func (*AllocateIPRequest) ProtoMessage added in v0.1.4

func (*AllocateIPRequest) ProtoMessage()

func (*AllocateIPRequest) ProtoReflect added in v0.1.4

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

func (*AllocateIPRequest) Reset added in v0.1.4

func (x *AllocateIPRequest) Reset()

func (*AllocateIPRequest) String added in v0.1.4

func (x *AllocateIPRequest) String() string

func (*AllocateIPRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m AllocateIPRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllocateIPRequestMultiError) Error added in v0.6.2

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

type AllocateIPRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (AllocateIPRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AllocateIPRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AllocateIPRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (AllocateIPRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (AllocateIPRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type AllocatedIP added in v0.1.4

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*AllocatedIP) Descriptor deprecated added in v0.1.4

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

Deprecated: Use AllocatedIP.ProtoReflect.Descriptor instead.

func (*AllocatedIP) GetIp added in v0.1.4

func (x *AllocatedIP) GetIp() string

func (*AllocatedIP) ProtoMessage added in v0.1.4

func (*AllocatedIP) ProtoMessage()

func (*AllocatedIP) ProtoReflect added in v0.1.4

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

func (*AllocatedIP) Reset added in v0.1.4

func (x *AllocatedIP) Reset()

func (*AllocatedIP) String added in v0.1.4

func (x *AllocatedIP) String() string

func (*AllocatedIP) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m AllocatedIPMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllocatedIPMultiError) Error added in v0.6.2

func (m AllocatedIPMultiError) Error() string

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

type AllocatedIPValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (AllocatedIPValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AllocatedIPValidationError) ErrorName added in v0.6.2

func (e AllocatedIPValidationError) ErrorName() string

ErrorName returns error name.

func (AllocatedIPValidationError) Field added in v0.6.2

Field function returns field value.

func (AllocatedIPValidationError) Key added in v0.6.2

Key function returns key value.

func (AllocatedIPValidationError) Reason added in v0.6.2

Reason function returns reason value.

type AnnounceDHTRequest added in v0.2.4

type AnnounceDHTRequest struct {

	// Bootstrap servers are optional bootstrap servers to use for bootstrapping
	// the DHT. If not provided, the node will use the default bootstrap servers.
	BootstrapServers []string `protobuf:"bytes,1,rep,name=bootstrapServers,proto3" json:"bootstrapServers,omitempty"`
	// PSK is the pre-shared key to use for the DHT.
	Psk string `protobuf:"bytes,2,opt,name=psk,proto3" json:"psk,omitempty"`
	// contains filtered or unexported fields
}

AnnounceDHTRequest is sent by the application to the node to announce the node's presence on the Kademlia DHT for other nodes to discover.

func (*AnnounceDHTRequest) DeepCopy added in v0.6.2

func (in *AnnounceDHTRequest) DeepCopy() *AnnounceDHTRequest

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

func (*AnnounceDHTRequest) DeepCopyInterface added in v0.6.2

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

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

func (*AnnounceDHTRequest) DeepCopyInto added in v0.6.2

func (in *AnnounceDHTRequest) DeepCopyInto(out *AnnounceDHTRequest)

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

func (*AnnounceDHTRequest) Descriptor deprecated added in v0.2.4

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

Deprecated: Use AnnounceDHTRequest.ProtoReflect.Descriptor instead.

func (*AnnounceDHTRequest) GetBootstrapServers added in v0.2.4

func (x *AnnounceDHTRequest) GetBootstrapServers() []string

func (*AnnounceDHTRequest) GetPsk added in v0.2.4

func (x *AnnounceDHTRequest) GetPsk() string

func (*AnnounceDHTRequest) ProtoMessage added in v0.2.4

func (*AnnounceDHTRequest) ProtoMessage()

func (*AnnounceDHTRequest) ProtoReflect added in v0.2.4

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

func (*AnnounceDHTRequest) Reset added in v0.2.4

func (x *AnnounceDHTRequest) Reset()

func (*AnnounceDHTRequest) String added in v0.2.4

func (x *AnnounceDHTRequest) String() string

func (*AnnounceDHTRequest) Validate added in v0.6.2

func (m *AnnounceDHTRequest) Validate() error

Validate checks the field values on AnnounceDHTRequest 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 (*AnnounceDHTRequest) ValidateAll added in v0.6.2

func (m *AnnounceDHTRequest) ValidateAll() error

ValidateAll checks the field values on AnnounceDHTRequest 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 AnnounceDHTRequestMultiError, or nil if none found.

type AnnounceDHTRequestMultiError added in v0.6.2

type AnnounceDHTRequestMultiError []error

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

func (AnnounceDHTRequestMultiError) AllErrors added in v0.6.2

func (m AnnounceDHTRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnnounceDHTRequestMultiError) Error added in v0.6.2

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

type AnnounceDHTRequestValidationError added in v0.6.2

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

AnnounceDHTRequestValidationError is the validation error returned by AnnounceDHTRequest.Validate if the designated constraints aren't met.

func (AnnounceDHTRequestValidationError) Cause added in v0.6.2

Cause function returns cause value.

func (AnnounceDHTRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AnnounceDHTRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AnnounceDHTRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (AnnounceDHTRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (AnnounceDHTRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type AnnounceDHTResponse added in v0.2.4

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

AnnounceDHTResponse is returned by the AnnounceDHT RPC.

func (*AnnounceDHTResponse) DeepCopy added in v0.6.2

func (in *AnnounceDHTResponse) DeepCopy() *AnnounceDHTResponse

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

func (*AnnounceDHTResponse) DeepCopyInterface added in v0.6.2

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

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

func (*AnnounceDHTResponse) DeepCopyInto added in v0.6.2

func (in *AnnounceDHTResponse) DeepCopyInto(out *AnnounceDHTResponse)

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

func (*AnnounceDHTResponse) Descriptor deprecated added in v0.2.4

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

Deprecated: Use AnnounceDHTResponse.ProtoReflect.Descriptor instead.

func (*AnnounceDHTResponse) ProtoMessage added in v0.2.4

func (*AnnounceDHTResponse) ProtoMessage()

func (*AnnounceDHTResponse) ProtoReflect added in v0.2.4

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

func (*AnnounceDHTResponse) Reset added in v0.2.4

func (x *AnnounceDHTResponse) Reset()

func (*AnnounceDHTResponse) String added in v0.2.4

func (x *AnnounceDHTResponse) String() string

func (*AnnounceDHTResponse) Validate added in v0.6.2

func (m *AnnounceDHTResponse) Validate() error

Validate checks the field values on AnnounceDHTResponse 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 (*AnnounceDHTResponse) ValidateAll added in v0.6.2

func (m *AnnounceDHTResponse) ValidateAll() error

ValidateAll checks the field values on AnnounceDHTResponse 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 AnnounceDHTResponseMultiError, or nil if none found.

type AnnounceDHTResponseMultiError added in v0.6.2

type AnnounceDHTResponseMultiError []error

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

func (AnnounceDHTResponseMultiError) AllErrors added in v0.6.2

func (m AnnounceDHTResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnnounceDHTResponseMultiError) Error added in v0.6.2

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

type AnnounceDHTResponseValidationError added in v0.6.2

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

AnnounceDHTResponseValidationError is the validation error returned by AnnounceDHTResponse.Validate if the designated constraints aren't met.

func (AnnounceDHTResponseValidationError) Cause added in v0.6.2

Cause function returns cause value.

func (AnnounceDHTResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AnnounceDHTResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AnnounceDHTResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (AnnounceDHTResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (AnnounceDHTResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type AppDaemonClient added in v0.2.2

type AppDaemonClient interface {
	// Connect is used to establish a connection between the node and a
	// mesh. The provided struct is used to override any defaults configured
	// on the node.
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error)
	// Disconnect is used to disconnect the node from the mesh.
	Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error)
	// Query is used to query the mesh for information.
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	// Metrics is used to retrieve interface metrics from the node.
	Metrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsResponse, error)
	// Status is used to retrieve the status of the node.
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	// Subscribe is used to subscribe to events in the mesh database.
	Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (AppDaemon_SubscribeClient, error)
	// Publish is used to publish events to the mesh database. A restricted set
	// of keys are allowed to be published to.
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error)
	// AnnounceDHT is used to announce the node's presence on the Kademlia DHT
	// for other nodes to discover.
	AnnounceDHT(ctx context.Context, in *AnnounceDHTRequest, opts ...grpc.CallOption) (*AnnounceDHTResponse, error)
	// LeaveDHT is used to leave the Kademlia DHT.
	LeaveDHT(ctx context.Context, in *LeaveDHTRequest, opts ...grpc.CallOption) (*LeaveDHTResponse, 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 added in v0.2.2

func NewAppDaemonClient(cc grpc.ClientConnInterface) AppDaemonClient

type AppDaemonServer added in v0.2.2

type AppDaemonServer interface {
	// Connect is used to establish a connection between the node and a
	// mesh. The provided struct is used to override any defaults configured
	// on the node.
	Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
	// Disconnect is used to disconnect the node from the mesh.
	Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
	// Query is used to query the mesh for information.
	Query(context.Context, *QueryRequest) (*QueryResponse, error)
	// Metrics is used to retrieve interface metrics from the node.
	Metrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
	// Status is used to retrieve the status of the node.
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	// Subscribe is used to subscribe to events in the mesh database.
	Subscribe(*SubscribeRequest, AppDaemon_SubscribeServer) error
	// Publish is used to publish events to the mesh database. A restricted set
	// of keys are allowed to be published to.
	Publish(context.Context, *PublishRequest) (*PublishResponse, error)
	// AnnounceDHT is used to announce the node's presence on the Kademlia DHT
	// for other nodes to discover.
	AnnounceDHT(context.Context, *AnnounceDHTRequest) (*AnnounceDHTResponse, error)
	// LeaveDHT is used to leave the Kademlia DHT.
	LeaveDHT(context.Context, *LeaveDHTRequest) (*LeaveDHTResponse, error)
	// contains filtered or unexported methods
}

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

type AppDaemon_SubscribeClient added in v0.2.2

type AppDaemon_SubscribeClient interface {
	Recv() (*SubscriptionEvent, error)
	grpc.ClientStream
}

type AppDaemon_SubscribeServer added in v0.2.2

type AppDaemon_SubscribeServer interface {
	Send(*SubscriptionEvent) error
	grpc.ServerStream
}

type AuthPluginClient added in v0.1.4

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 added in v0.1.4

func NewAuthPluginClient(cc grpc.ClientConnInterface) AuthPluginClient

type AuthPluginServer added in v0.1.4

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 added in v0.6.2

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

func (*AuthenticationRequest) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m AuthenticationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticationRequestMultiError) Error added in v0.6.2

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

type AuthenticationRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (AuthenticationRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AuthenticationRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AuthenticationRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (AuthenticationRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (AuthenticationRequestValidationError) Reason added in v0.6.2

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 added in v0.6.2

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

func (*AuthenticationResponse) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m AuthenticationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticationResponseMultiError) Error added in v0.6.2

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

type AuthenticationResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (AuthenticationResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (AuthenticationResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (AuthenticationResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (AuthenticationResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (AuthenticationResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type BootstrapRequest added in v0.4.0

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

BootstrapRequest is the request object for the Bootstrap RPC.

func (*BootstrapRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*BootstrapRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use BootstrapRequest.ProtoReflect.Descriptor instead.

func (*BootstrapRequest) ProtoMessage added in v0.4.0

func (*BootstrapRequest) ProtoMessage()

func (*BootstrapRequest) ProtoReflect added in v0.4.0

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

func (*BootstrapRequest) Reset added in v0.4.0

func (x *BootstrapRequest) Reset()

func (*BootstrapRequest) String added in v0.4.0

func (x *BootstrapRequest) String() string

func (*BootstrapRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m BootstrapRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BootstrapRequestMultiError) Error added in v0.6.2

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

type BootstrapRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (BootstrapRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (BootstrapRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (BootstrapRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (BootstrapRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (BootstrapRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type BootstrapResponse added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*BootstrapResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use BootstrapResponse.ProtoReflect.Descriptor instead.

func (*BootstrapResponse) GetStatus added in v0.4.0

func (x *BootstrapResponse) GetStatus() *StorageStatus

func (*BootstrapResponse) ProtoMessage added in v0.4.0

func (*BootstrapResponse) ProtoMessage()

func (*BootstrapResponse) ProtoReflect added in v0.4.0

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

func (*BootstrapResponse) Reset added in v0.4.0

func (x *BootstrapResponse) Reset()

func (*BootstrapResponse) String added in v0.4.0

func (x *BootstrapResponse) String() string

func (*BootstrapResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m BootstrapResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BootstrapResponseMultiError) Error added in v0.6.2

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

type BootstrapResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (BootstrapResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (BootstrapResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (BootstrapResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (BootstrapResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (BootstrapResponseValidationError) Reason added in v0.6.2

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 added in v0.4.0

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 added in v0.4.0

func (ConnectProtocol) Enum added in v0.4.0

func (x ConnectProtocol) Enum() *ConnectProtocol

func (ConnectProtocol) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use ConnectProtocol.Descriptor instead.

func (ConnectProtocol) Number added in v0.4.0

func (ConnectProtocol) String added in v0.4.0

func (x ConnectProtocol) String() string

func (ConnectProtocol) Type added in v0.4.0

type ConnectRequest added in v0.2.2

type ConnectRequest struct {

	// Config is used to override any defaults configured on the node.
	Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Disable bootstrap tells a node that is otherwise configured to
	// bootstrap to not bootstrap for this connection.
	DisableBootstrap bool `protobuf:"varint,2,opt,name=disableBootstrap,proto3" json:"disableBootstrap,omitempty"`
	// Join PSK is the pre-shared key to use for joining the mesh.
	JoinPSK string `protobuf:"bytes,3,opt,name=joinPSK,proto3" json:"joinPSK,omitempty"`
	// contains filtered or unexported fields
}

ConnectRequest is sent by the application to the node to establish a connection to a mesh. This message will eventually contain unique identifiers to allow creating connections to multiple meshes.

func (*ConnectRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*ConnectRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetConfig added in v0.2.2

func (x *ConnectRequest) GetConfig() *structpb.Struct

func (*ConnectRequest) GetDisableBootstrap added in v0.2.2

func (x *ConnectRequest) GetDisableBootstrap() bool

func (*ConnectRequest) GetJoinPSK added in v0.7.0

func (x *ConnectRequest) GetJoinPSK() string

func (*ConnectRequest) ProtoMessage added in v0.2.2

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect added in v0.2.2

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

func (*ConnectRequest) Reset added in v0.2.2

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String added in v0.2.2

func (x *ConnectRequest) String() string

func (*ConnectRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ConnectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectRequestMultiError) Error added in v0.6.2

func (m ConnectRequestMultiError) Error() string

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

type ConnectRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ConnectRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ConnectRequestValidationError) ErrorName added in v0.6.2

func (e ConnectRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (ConnectRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (ConnectRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type ConnectResponse added in v0.2.2

type ConnectResponse struct {

	// node id is the unique identifier of the node.
	NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// mesh domain is the domain of the mesh.
	MeshDomain string `protobuf:"bytes,2,opt,name=meshDomain,proto3" json:"meshDomain,omitempty"`
	// ipv4 is the IPv4 address of the node.
	Ipv4 string `protobuf:"bytes,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	// ipv6 is the IPv6 address of the node.
	Ipv6 string `protobuf:"bytes,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

ConnectResponse is returned by the Connect RPC.

func (*ConnectResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*ConnectResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.

func (*ConnectResponse) GetIpv4 added in v0.2.2

func (x *ConnectResponse) GetIpv4() string

func (*ConnectResponse) GetIpv6 added in v0.2.2

func (x *ConnectResponse) GetIpv6() string

func (*ConnectResponse) GetMeshDomain added in v0.2.2

func (x *ConnectResponse) GetMeshDomain() string

func (*ConnectResponse) GetNodeID added in v0.7.0

func (x *ConnectResponse) GetNodeID() string

func (*ConnectResponse) ProtoMessage added in v0.2.2

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) ProtoReflect added in v0.2.2

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

func (*ConnectResponse) Reset added in v0.2.2

func (x *ConnectResponse) Reset()

func (*ConnectResponse) String added in v0.2.2

func (x *ConnectResponse) String() string

func (*ConnectResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ConnectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectResponseMultiError) Error added in v0.6.2

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

type ConnectResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ConnectResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ConnectResponseValidationError) ErrorName added in v0.6.2

func (e ConnectResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (ConnectResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (ConnectResponseValidationError) Reason added in v0.6.2

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"`
	// stun_servers 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 added in v0.6.2

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

func (*DataChannelNegotiation) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DataChannelNegotiationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataChannelNegotiationMultiError) Error added in v0.6.2

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

type DataChannelNegotiationValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DataChannelNegotiationValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DataChannelNegotiationValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DataChannelNegotiationValidationError) Field added in v0.6.2

Field function returns field value.

func (DataChannelNegotiationValidationError) Key added in v0.6.2

Key function returns key value.

func (DataChannelNegotiationValidationError) Reason added in v0.6.2

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"`
	// stun_servers 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DataChannelOfferMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataChannelOfferMultiError) Error added in v0.6.2

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

type DataChannelOfferValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DataChannelOfferValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DataChannelOfferValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DataChannelOfferValidationError) Field added in v0.6.2

Field function returns field value.

func (DataChannelOfferValidationError) Key added in v0.6.2

Key function returns key value.

func (DataChannelOfferValidationError) Reason added in v0.6.2

Reason function returns reason value.

type DeleteValueRequest added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*DeleteValueRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DeleteValueRequest.ProtoReflect.Descriptor instead.

func (*DeleteValueRequest) GetKey added in v0.4.0

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

func (*DeleteValueRequest) ProtoMessage added in v0.4.0

func (*DeleteValueRequest) ProtoMessage()

func (*DeleteValueRequest) ProtoReflect added in v0.4.0

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

func (*DeleteValueRequest) Reset added in v0.4.0

func (x *DeleteValueRequest) Reset()

func (*DeleteValueRequest) String added in v0.4.0

func (x *DeleteValueRequest) String() string

func (*DeleteValueRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DeleteValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteValueRequestMultiError) Error added in v0.6.2

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

type DeleteValueRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DeleteValueRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DeleteValueRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DeleteValueRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (DeleteValueRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (DeleteValueRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type DeleteValueResponse added in v0.4.0

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

DeleteValueResponse is the response object for the DeleteValue RPC.

func (*DeleteValueResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*DeleteValueResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DeleteValueResponse.ProtoReflect.Descriptor instead.

func (*DeleteValueResponse) ProtoMessage added in v0.4.0

func (*DeleteValueResponse) ProtoMessage()

func (*DeleteValueResponse) ProtoReflect added in v0.4.0

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

func (*DeleteValueResponse) Reset added in v0.4.0

func (x *DeleteValueResponse) Reset()

func (*DeleteValueResponse) String added in v0.4.0

func (x *DeleteValueResponse) String() string

func (*DeleteValueResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DeleteValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteValueResponseMultiError) Error added in v0.6.2

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

type DeleteValueResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DeleteValueResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DeleteValueResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DeleteValueResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (DeleteValueResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (DeleteValueResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type DemoteVoterResponse added in v0.4.0

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

DemoteVoterResponse is the response object for the DemoteVoter RPC.

func (*DemoteVoterResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*DemoteVoterResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DemoteVoterResponse.ProtoReflect.Descriptor instead.

func (*DemoteVoterResponse) ProtoMessage added in v0.4.0

func (*DemoteVoterResponse) ProtoMessage()

func (*DemoteVoterResponse) ProtoReflect added in v0.4.0

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

func (*DemoteVoterResponse) Reset added in v0.4.0

func (x *DemoteVoterResponse) Reset()

func (*DemoteVoterResponse) String added in v0.4.0

func (x *DemoteVoterResponse) String() string

func (*DemoteVoterResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DemoteVoterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DemoteVoterResponseMultiError) Error added in v0.6.2

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

type DemoteVoterResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DemoteVoterResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DemoteVoterResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DemoteVoterResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (DemoteVoterResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (DemoteVoterResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type DisconnectRequest added in v0.2.2

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

DisconnectRequest is sent by the application to the node to disconnect from a mesh. This message will eventually contain unique identifiers for allowing the application to disconnect from a specific mesh.

func (*DisconnectRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*DisconnectRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.

func (*DisconnectRequest) ProtoMessage added in v0.2.2

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) ProtoReflect added in v0.2.2

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

func (*DisconnectRequest) Reset added in v0.2.2

func (x *DisconnectRequest) Reset()

func (*DisconnectRequest) String added in v0.2.2

func (x *DisconnectRequest) String() string

func (*DisconnectRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DisconnectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DisconnectRequestMultiError) Error added in v0.6.2

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

type DisconnectRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DisconnectRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DisconnectRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DisconnectRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (DisconnectRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (DisconnectRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type DisconnectResponse added in v0.2.2

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

DisconnectResponse is returned by the Disconnect RPC.

func (*DisconnectResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*DisconnectResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.

func (*DisconnectResponse) ProtoMessage added in v0.2.2

func (*DisconnectResponse) ProtoMessage()

func (*DisconnectResponse) ProtoReflect added in v0.2.2

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

func (*DisconnectResponse) Reset added in v0.2.2

func (x *DisconnectResponse) Reset()

func (*DisconnectResponse) String added in v0.2.2

func (x *DisconnectResponse) String() string

func (*DisconnectResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m DisconnectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DisconnectResponseMultiError) Error added in v0.6.2

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

type DisconnectResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (DisconnectResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (DisconnectResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (DisconnectResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (DisconnectResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (DisconnectResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type EdgeAttribute added in v0.4.0

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 added in v0.4.0

func (EdgeAttribute) Enum added in v0.4.0

func (x EdgeAttribute) Enum() *EdgeAttribute

func (EdgeAttribute) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use EdgeAttribute.Descriptor instead.

func (EdgeAttribute) Number added in v0.4.0

func (EdgeAttribute) String added in v0.4.0

func (x EdgeAttribute) String() string

func (EdgeAttribute) Type added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m EventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventMultiError) Error added in v0.6.2

func (m EventMultiError) Error() string

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

type EventValidationError added in v0.6.2

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 added in v0.6.2

func (e EventValidationError) Cause() error

Cause function returns cause value.

func (EventValidationError) Error added in v0.6.2

func (e EventValidationError) Error() string

Error satisfies the builtin error interface

func (EventValidationError) ErrorName added in v0.6.2

func (e EventValidationError) ErrorName() string

ErrorName returns error name.

func (EventValidationError) Field added in v0.6.2

func (e EventValidationError) Field() string

Field function returns field value.

func (EventValidationError) Key added in v0.6.2

func (e EventValidationError) Key() bool

Key function returns key value.

func (EventValidationError) Reason added in v0.6.2

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 added in v0.3.0

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 added in v0.3.0

func (Event_WatchEvent) Enum added in v0.3.0

func (Event_WatchEvent) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use Event_WatchEvent.Descriptor instead.

func (Event_WatchEvent) Number added in v0.3.0

func (Event_WatchEvent) String added in v0.3.0

func (x Event_WatchEvent) String() string

func (Event_WatchEvent) Type added in v0.3.0

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 added in v0.4.0

type FeaturePort struct {

	// feature is the feature.
	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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*FeaturePort) Descriptor deprecated added in v0.4.0

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

Deprecated: Use FeaturePort.ProtoReflect.Descriptor instead.

func (*FeaturePort) GetFeature added in v0.4.0

func (x *FeaturePort) GetFeature() Feature

func (*FeaturePort) GetPort added in v0.4.0

func (x *FeaturePort) GetPort() int32

func (*FeaturePort) ProtoMessage added in v0.4.0

func (*FeaturePort) ProtoMessage()

func (*FeaturePort) ProtoReflect added in v0.4.0

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

func (*FeaturePort) Reset added in v0.4.0

func (x *FeaturePort) Reset()

func (*FeaturePort) String added in v0.4.0

func (x *FeaturePort) String() string

func (*FeaturePort) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m FeaturePortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeaturePortMultiError) Error added in v0.6.2

func (m FeaturePortMultiError) Error() string

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

type FeaturePortValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (FeaturePortValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (FeaturePortValidationError) ErrorName added in v0.6.2

func (e FeaturePortValidationError) ErrorName() string

ErrorName returns error name.

func (FeaturePortValidationError) Field added in v0.6.2

Field function returns field value.

func (FeaturePortValidationError) Key added in v0.6.2

Key function returns key value.

func (FeaturePortValidationError) Reason added in v0.6.2

Reason function returns reason value.

type GetLeaderRequest added in v0.4.0

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

GetLeaderRequest is the request object for the GetLeader RPC.

func (*GetLeaderRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*GetLeaderRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use GetLeaderRequest.ProtoReflect.Descriptor instead.

func (*GetLeaderRequest) ProtoMessage added in v0.4.0

func (*GetLeaderRequest) ProtoMessage()

func (*GetLeaderRequest) ProtoReflect added in v0.4.0

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

func (*GetLeaderRequest) Reset added in v0.4.0

func (x *GetLeaderRequest) Reset()

func (*GetLeaderRequest) String added in v0.4.0

func (x *GetLeaderRequest) String() string

func (*GetLeaderRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GetLeaderRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLeaderRequestMultiError) Error added in v0.6.2

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

type GetLeaderRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (GetLeaderRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (GetLeaderRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (GetLeaderRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (GetLeaderRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (GetLeaderRequestValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GetNodeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeRequestMultiError) Error added in v0.6.2

func (m GetNodeRequestMultiError) Error() string

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

type GetNodeRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (GetNodeRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (GetNodeRequestValidationError) ErrorName added in v0.6.2

func (e GetNodeRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetNodeRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (GetNodeRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (GetNodeRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type GetPeersRequest added in v0.5.0

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

GetPeersRequest is the request object for the GetPeers RPC.

func (*GetPeersRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*GetPeersRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetPeersRequest.ProtoReflect.Descriptor instead.

func (*GetPeersRequest) ProtoMessage added in v0.5.0

func (*GetPeersRequest) ProtoMessage()

func (*GetPeersRequest) ProtoReflect added in v0.5.0

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

func (*GetPeersRequest) Reset added in v0.5.0

func (x *GetPeersRequest) Reset()

func (*GetPeersRequest) String added in v0.5.0

func (x *GetPeersRequest) String() string

func (*GetPeersRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GetPeersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPeersRequestMultiError) Error added in v0.6.2

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

type GetPeersRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (GetPeersRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (GetPeersRequestValidationError) ErrorName added in v0.6.2

func (e GetPeersRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetPeersRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (GetPeersRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (GetPeersRequestValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GetStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStatusRequestMultiError) Error added in v0.6.2

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

type GetStatusRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (GetStatusRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (GetStatusRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (GetStatusRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (GetStatusRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (GetStatusRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type GetValueRequest added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*GetValueRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.

func (*GetValueRequest) GetKey added in v0.4.0

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

func (*GetValueRequest) ProtoMessage added in v0.4.0

func (*GetValueRequest) ProtoMessage()

func (*GetValueRequest) ProtoReflect added in v0.4.0

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

func (*GetValueRequest) Reset added in v0.4.0

func (x *GetValueRequest) Reset()

func (*GetValueRequest) String added in v0.4.0

func (x *GetValueRequest) String() string

func (*GetValueRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GetValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetValueRequestMultiError) Error added in v0.6.2

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

type GetValueRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (GetValueRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (GetValueRequestValidationError) ErrorName added in v0.6.2

func (e GetValueRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetValueRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (GetValueRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (GetValueRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type GetValueResponse added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*GetValueResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.

func (*GetValueResponse) GetValue added in v0.4.0

func (x *GetValueResponse) GetValue() *StorageValue

func (*GetValueResponse) ProtoMessage added in v0.4.0

func (*GetValueResponse) ProtoMessage()

func (*GetValueResponse) ProtoReflect added in v0.4.0

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

func (*GetValueResponse) Reset added in v0.4.0

func (x *GetValueResponse) Reset()

func (*GetValueResponse) String added in v0.4.0

func (x *GetValueResponse) String() string

func (*GetValueResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GetValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetValueResponseMultiError) Error added in v0.6.2

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

type GetValueResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (GetValueResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (GetValueResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (GetValueResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (GetValueResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (GetValueResponseValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupMultiError) Error added in v0.6.2

func (m GroupMultiError) Error() string

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

type GroupValidationError added in v0.6.2

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 added in v0.6.2

func (e GroupValidationError) Cause() error

Cause function returns cause value.

func (GroupValidationError) Error added in v0.6.2

func (e GroupValidationError) Error() string

Error satisfies the builtin error interface

func (GroupValidationError) ErrorName added in v0.6.2

func (e GroupValidationError) ErrorName() string

ErrorName returns error name.

func (GroupValidationError) Field added in v0.6.2

func (e GroupValidationError) Field() string

Field function returns field value.

func (GroupValidationError) Key added in v0.6.2

func (e GroupValidationError) Key() bool

Key function returns key value.

func (GroupValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m GroupsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupsMultiError) Error added in v0.6.2

func (m GroupsMultiError) Error() string

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

type GroupsValidationError added in v0.6.2

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 added in v0.6.2

func (e GroupsValidationError) Cause() error

Cause function returns cause value.

func (GroupsValidationError) Error added in v0.6.2

func (e GroupsValidationError) Error() string

Error satisfies the builtin error interface

func (GroupsValidationError) ErrorName added in v0.6.2

func (e GroupsValidationError) ErrorName() string

ErrorName returns error name.

func (GroupsValidationError) Field added in v0.6.2

func (e GroupsValidationError) Field() string

Field function returns field value.

func (GroupsValidationError) Key added in v0.6.2

func (e GroupsValidationError) Key() bool

Key function returns key value.

func (GroupsValidationError) Reason added in v0.6.2

func (e GroupsValidationError) Reason() string

Reason function returns reason value.

type IPAMPluginClient added in v0.1.4

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 added in v0.1.4

func NewIPAMPluginClient(cc grpc.ClientConnInterface) IPAMPluginClient

type IPAMPluginServer added in v0.1.4

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 {

	// device_name is the name of the device.
	DeviceName string `protobuf:"bytes,1,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// public_key is the public key of the node.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// address_v4 is the IPv4 address of the node.
	AddressV4 string `protobuf:"bytes,3,opt,name=addressV4,proto3" json:"addressV4,omitempty"`
	// address_v6 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"`
	// listen_port is the port wireguard is listening on.
	ListenPort int32 `protobuf:"varint,6,opt,name=listenPort,proto3" json:"listenPort,omitempty"`
	// total_receive_bytes is the total number of bytes received.
	TotalReceiveBytes uint64 `protobuf:"varint,7,opt,name=totalReceiveBytes,proto3" json:"totalReceiveBytes,omitempty"`
	// total_transmit_bytes is the total number of bytes transmitted.
	TotalTransmitBytes uint64 `protobuf:"varint,8,opt,name=totalTransmitBytes,proto3" json:"totalTransmitBytes,omitempty"`
	// num_peers 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m InterfaceMetricsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InterfaceMetricsMultiError) Error added in v0.6.2

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

type InterfaceMetricsValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (InterfaceMetricsValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (InterfaceMetricsValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (InterfaceMetricsValidationError) Field added in v0.6.2

Field function returns field value.

func (InterfaceMetricsValidationError) Key added in v0.6.2

Key function returns key value.

func (InterfaceMetricsValidationError) Reason added in v0.6.2

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"`
	// public_key is the public key of the node to broadcast to peers.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// primary_endpoint 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"`
	// wireguard_endpoints is a list of WireGuard endpoints for the node.
	WireguardEndpoints []string `protobuf:"bytes,5,rep,name=wireguardEndpoints,proto3" json:"wireguardEndpoints,omitempty"`
	// zone_awareness_id is the zone awareness ID of the node.
	ZoneAwarenessID string `protobuf:"bytes,6,opt,name=zoneAwarenessID,proto3" json:"zoneAwarenessID,omitempty"`
	// assign_ipv4 is whether an IPv4 address should be assigned to the node.
	AssignIPv4 bool `protobuf:"varint,7,opt,name=assignIPv4,proto3" json:"assignIPv4,omitempty"`
	// prefer_storage_ipv6 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"`
	// as_voter 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"`
	// as_observer 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"`
	// direct_peers 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.2.2

func (x *JoinRequest) GetAsObserver() bool

func (*JoinRequest) GetAsVoter

func (x *JoinRequest) GetAsVoter() bool

func (*JoinRequest) GetAssignIPv4 added in v0.7.0

func (x *JoinRequest) GetAssignIPv4() bool

func (*JoinRequest) GetDirectPeers added in v0.1.3

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

func (*JoinRequest) GetFeatures added in v0.2.1

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

func (*JoinRequest) GetId

func (x *JoinRequest) GetId() string

func (*JoinRequest) GetMultiaddrs added in v0.4.0

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

func (*JoinRequest) GetPreferStorageIPv6 added in v0.7.0

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 added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m JoinRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinRequestMultiError) Error added in v0.6.2

func (m JoinRequestMultiError) Error() string

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

type JoinRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (JoinRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (JoinRequestValidationError) ErrorName added in v0.6.2

func (e JoinRequestValidationError) ErrorName() string

ErrorName returns error name.

func (JoinRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (JoinRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (JoinRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type JoinResponse

type JoinResponse struct {

	// address_ipv4 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"`
	// address_ipv6 is the IPv6 network assigned to the node.
	AddressIPv6 string `protobuf:"bytes,2,opt,name=addressIPv6,proto3" json:"addressIPv6,omitempty"`
	// network_ipv4 is the IPv4 network of the Mesh.
	NetworkIPv4 string `protobuf:"bytes,3,opt,name=networkIPv4,proto3" json:"networkIPv4,omitempty"`
	// network_ipv6 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"`
	// ice_servers 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"`
	// dns_servers is a list of peers offering DNS services.
	DnsServers []string `protobuf:"bytes,7,rep,name=dnsServers,proto3" json:"dnsServers,omitempty"`
	// mesh_domain 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.7.0

func (x *JoinResponse) GetAddressIPv4() string

func (*JoinResponse) GetAddressIPv6 added in v0.7.0

func (x *JoinResponse) GetAddressIPv6() string

func (*JoinResponse) GetDnsServers added in v0.2.1

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

func (*JoinResponse) GetIceServers added in v0.1.3

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

func (*JoinResponse) GetMeshDomain added in v0.2.0

func (x *JoinResponse) GetMeshDomain() string

func (*JoinResponse) GetNetworkIPv4 added in v0.7.0

func (x *JoinResponse) GetNetworkIPv4() string

func (*JoinResponse) GetNetworkIPv6 added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m JoinResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinResponseMultiError) Error added in v0.6.2

func (m JoinResponseMultiError) Error() string

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

type JoinResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (JoinResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (JoinResponseValidationError) ErrorName added in v0.6.2

func (e JoinResponseValidationError) ErrorName() string

ErrorName returns error name.

func (JoinResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (JoinResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (JoinResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type LeaveDHTRequest added in v0.2.4

type LeaveDHTRequest struct {

	// PSK is the pre-shared key that was used to join the DHT.
	Psk string `protobuf:"bytes,1,opt,name=psk,proto3" json:"psk,omitempty"`
	// contains filtered or unexported fields
}

LeaveDHTRequest is sent by the application to the node to leave the Kademlia DHT.

func (*LeaveDHTRequest) DeepCopy added in v0.6.2

func (in *LeaveDHTRequest) DeepCopy() *LeaveDHTRequest

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

func (*LeaveDHTRequest) DeepCopyInterface added in v0.6.2

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

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

func (*LeaveDHTRequest) DeepCopyInto added in v0.6.2

func (in *LeaveDHTRequest) DeepCopyInto(out *LeaveDHTRequest)

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

func (*LeaveDHTRequest) Descriptor deprecated added in v0.2.4

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

Deprecated: Use LeaveDHTRequest.ProtoReflect.Descriptor instead.

func (*LeaveDHTRequest) GetPsk added in v0.2.4

func (x *LeaveDHTRequest) GetPsk() string

func (*LeaveDHTRequest) ProtoMessage added in v0.2.4

func (*LeaveDHTRequest) ProtoMessage()

func (*LeaveDHTRequest) ProtoReflect added in v0.2.4

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

func (*LeaveDHTRequest) Reset added in v0.2.4

func (x *LeaveDHTRequest) Reset()

func (*LeaveDHTRequest) String added in v0.2.4

func (x *LeaveDHTRequest) String() string

func (*LeaveDHTRequest) Validate added in v0.6.2

func (m *LeaveDHTRequest) Validate() error

Validate checks the field values on LeaveDHTRequest 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 (*LeaveDHTRequest) ValidateAll added in v0.6.2

func (m *LeaveDHTRequest) ValidateAll() error

ValidateAll checks the field values on LeaveDHTRequest 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 LeaveDHTRequestMultiError, or nil if none found.

type LeaveDHTRequestMultiError added in v0.6.2

type LeaveDHTRequestMultiError []error

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

func (LeaveDHTRequestMultiError) AllErrors added in v0.6.2

func (m LeaveDHTRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveDHTRequestMultiError) Error added in v0.6.2

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

type LeaveDHTRequestValidationError added in v0.6.2

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

LeaveDHTRequestValidationError is the validation error returned by LeaveDHTRequest.Validate if the designated constraints aren't met.

func (LeaveDHTRequestValidationError) Cause added in v0.6.2

Cause function returns cause value.

func (LeaveDHTRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (LeaveDHTRequestValidationError) ErrorName added in v0.6.2

func (e LeaveDHTRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LeaveDHTRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (LeaveDHTRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (LeaveDHTRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type LeaveDHTResponse added in v0.2.4

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

LeaveDHTResponse is returned by the LeaveDHT RPC.

func (*LeaveDHTResponse) DeepCopy added in v0.6.2

func (in *LeaveDHTResponse) DeepCopy() *LeaveDHTResponse

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

func (*LeaveDHTResponse) DeepCopyInterface added in v0.6.2

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

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

func (*LeaveDHTResponse) DeepCopyInto added in v0.6.2

func (in *LeaveDHTResponse) DeepCopyInto(out *LeaveDHTResponse)

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

func (*LeaveDHTResponse) Descriptor deprecated added in v0.2.4

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

Deprecated: Use LeaveDHTResponse.ProtoReflect.Descriptor instead.

func (*LeaveDHTResponse) ProtoMessage added in v0.2.4

func (*LeaveDHTResponse) ProtoMessage()

func (*LeaveDHTResponse) ProtoReflect added in v0.2.4

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

func (*LeaveDHTResponse) Reset added in v0.2.4

func (x *LeaveDHTResponse) Reset()

func (*LeaveDHTResponse) String added in v0.2.4

func (x *LeaveDHTResponse) String() string

func (*LeaveDHTResponse) Validate added in v0.6.2

func (m *LeaveDHTResponse) Validate() error

Validate checks the field values on LeaveDHTResponse 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 (*LeaveDHTResponse) ValidateAll added in v0.6.2

func (m *LeaveDHTResponse) ValidateAll() error

ValidateAll checks the field values on LeaveDHTResponse 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 LeaveDHTResponseMultiError, or nil if none found.

type LeaveDHTResponseMultiError added in v0.6.2

type LeaveDHTResponseMultiError []error

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

func (LeaveDHTResponseMultiError) AllErrors added in v0.6.2

func (m LeaveDHTResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveDHTResponseMultiError) Error added in v0.6.2

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

type LeaveDHTResponseValidationError added in v0.6.2

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

LeaveDHTResponseValidationError is the validation error returned by LeaveDHTResponse.Validate if the designated constraints aren't met.

func (LeaveDHTResponseValidationError) Cause added in v0.6.2

Cause function returns cause value.

func (LeaveDHTResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (LeaveDHTResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (LeaveDHTResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (LeaveDHTResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (LeaveDHTResponseValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m LeaveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveRequestMultiError) Error added in v0.6.2

func (m LeaveRequestMultiError) Error() string

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

type LeaveRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (LeaveRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (LeaveRequestValidationError) ErrorName added in v0.6.2

func (e LeaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LeaveRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (LeaveRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (LeaveRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type LeaveResponse added in v0.2.2

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

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

func (*LeaveResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*LeaveResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use LeaveResponse.ProtoReflect.Descriptor instead.

func (*LeaveResponse) ProtoMessage added in v0.2.2

func (*LeaveResponse) ProtoMessage()

func (*LeaveResponse) ProtoReflect added in v0.2.2

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

func (*LeaveResponse) Reset added in v0.2.2

func (x *LeaveResponse) Reset()

func (*LeaveResponse) String added in v0.2.2

func (x *LeaveResponse) String() string

func (*LeaveResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m LeaveResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveResponseMultiError) Error added in v0.6.2

func (m LeaveResponseMultiError) Error() string

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

type LeaveResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (LeaveResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (LeaveResponseValidationError) ErrorName added in v0.6.2

func (e LeaveResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LeaveResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (LeaveResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (LeaveResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type ListKeysRequest added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*ListKeysRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.

func (*ListKeysRequest) GetPrefix added in v0.4.0

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

func (*ListKeysRequest) ProtoMessage added in v0.4.0

func (*ListKeysRequest) ProtoMessage()

func (*ListKeysRequest) ProtoReflect added in v0.4.0

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

func (*ListKeysRequest) Reset added in v0.4.0

func (x *ListKeysRequest) Reset()

func (*ListKeysRequest) String added in v0.4.0

func (x *ListKeysRequest) String() string

func (*ListKeysRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ListKeysRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKeysRequestMultiError) Error added in v0.6.2

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

type ListKeysRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ListKeysRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ListKeysRequestValidationError) ErrorName added in v0.6.2

func (e ListKeysRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListKeysRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (ListKeysRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (ListKeysRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type ListKeysResponse added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*ListKeysResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.

func (*ListKeysResponse) GetKeys added in v0.4.0

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

func (*ListKeysResponse) ProtoMessage added in v0.4.0

func (*ListKeysResponse) ProtoMessage()

func (*ListKeysResponse) ProtoReflect added in v0.4.0

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

func (*ListKeysResponse) Reset added in v0.4.0

func (x *ListKeysResponse) Reset()

func (*ListKeysResponse) String added in v0.4.0

func (x *ListKeysResponse) String() string

func (*ListKeysResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ListKeysResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKeysResponseMultiError) Error added in v0.6.2

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

type ListKeysResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ListKeysResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ListKeysResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (ListKeysResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (ListKeysResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (ListKeysResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type ListValuesRequest added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*ListValuesRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ListValuesRequest.ProtoReflect.Descriptor instead.

func (*ListValuesRequest) GetPrefix added in v0.4.0

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

func (*ListValuesRequest) ProtoMessage added in v0.4.0

func (*ListValuesRequest) ProtoMessage()

func (*ListValuesRequest) ProtoReflect added in v0.4.0

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

func (*ListValuesRequest) Reset added in v0.4.0

func (x *ListValuesRequest) Reset()

func (*ListValuesRequest) String added in v0.4.0

func (x *ListValuesRequest) String() string

func (*ListValuesRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ListValuesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListValuesRequestMultiError) Error added in v0.6.2

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

type ListValuesRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ListValuesRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ListValuesRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (ListValuesRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (ListValuesRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (ListValuesRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type ListValuesResponse added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

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

func (*ListValuesResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ListValuesResponse.ProtoReflect.Descriptor instead.

func (*ListValuesResponse) GetValues added in v0.4.0

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

func (*ListValuesResponse) ProtoMessage added in v0.4.0

func (*ListValuesResponse) ProtoMessage()

func (*ListValuesResponse) ProtoReflect added in v0.4.0

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

func (*ListValuesResponse) Reset added in v0.4.0

func (x *ListValuesResponse) Reset()

func (*ListValuesResponse) String added in v0.4.0

func (x *ListValuesResponse) String() string

func (*ListValuesResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ListValuesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListValuesResponseMultiError) Error added in v0.6.2

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

type ListValuesResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ListValuesResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ListValuesResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (ListValuesResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (ListValuesResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (ListValuesResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type LookupRequest added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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

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

func (*LookupRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead.

func (*LookupRequest) GetAlias added in v0.9.0

func (x *LookupRequest) GetAlias() string

func (*LookupRequest) GetId added in v0.9.0

func (x *LookupRequest) GetId() string

func (*LookupRequest) GetPublicKey added in v0.9.0

func (x *LookupRequest) GetPublicKey() string

func (*LookupRequest) ProtoMessage added in v0.9.0

func (*LookupRequest) ProtoMessage()

func (*LookupRequest) ProtoReflect added in v0.9.0

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

func (*LookupRequest) Reset added in v0.9.0

func (x *LookupRequest) Reset()

func (*LookupRequest) String added in v0.9.0

func (x *LookupRequest) String() string

func (*LookupRequest) Validate added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

func (m LookupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupRequestMultiError) Error added in v0.9.0

func (m LookupRequestMultiError) Error() string

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

type LookupRequestValidationError added in v0.9.0

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 added in v0.9.0

Cause function returns cause value.

func (LookupRequestValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (LookupRequestValidationError) ErrorName added in v0.9.0

func (e LookupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LookupRequestValidationError) Field added in v0.9.0

Field function returns field value.

func (LookupRequestValidationError) Key added in v0.9.0

Key function returns key value.

func (LookupRequestValidationError) Reason added in v0.9.0

Reason function returns reason value.

type LookupResponse added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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

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

func (*LookupResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.

func (*LookupResponse) GetAlias added in v0.9.0

func (x *LookupResponse) GetAlias() string

func (*LookupResponse) GetId added in v0.9.0

func (x *LookupResponse) GetId() string

func (*LookupResponse) GetPublicKey added in v0.9.0

func (x *LookupResponse) GetPublicKey() string

func (*LookupResponse) ProtoMessage added in v0.9.0

func (*LookupResponse) ProtoMessage()

func (*LookupResponse) ProtoReflect added in v0.9.0

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

func (*LookupResponse) Reset added in v0.9.0

func (x *LookupResponse) Reset()

func (*LookupResponse) String added in v0.9.0

func (x *LookupResponse) String() string

func (*LookupResponse) Validate added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

func (m LookupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupResponseMultiError) Error added in v0.9.0

func (m LookupResponseMultiError) Error() string

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

type LookupResponseValidationError added in v0.9.0

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 added in v0.9.0

Cause function returns cause value.

func (LookupResponseValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (LookupResponseValidationError) ErrorName added in v0.9.0

func (e LookupResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LookupResponseValidationError) Field added in v0.9.0

Field function returns field value.

func (LookupResponseValidationError) Key added in v0.9.0

Key function returns key value.

func (LookupResponseValidationError) Reason added in v0.9.0

Reason function returns reason value.

type MembershipClient added in v0.2.2

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 added in v0.2.2

func NewMembershipClient(cc grpc.ClientConnInterface) MembershipClient

type MembershipServer added in v0.2.2

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 added in v0.3.0

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

type Membership_SubscribePeersServer added in v0.3.0

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 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.1.3

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m MeshEdgeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshEdgeMultiError) Error added in v0.6.2

func (m MeshEdgeMultiError) Error() string

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

type MeshEdgeValidationError added in v0.6.2

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 added in v0.6.2

func (e MeshEdgeValidationError) Cause() error

Cause function returns cause value.

func (MeshEdgeValidationError) Error added in v0.6.2

func (e MeshEdgeValidationError) Error() string

Error satisfies the builtin error interface

func (MeshEdgeValidationError) ErrorName added in v0.6.2

func (e MeshEdgeValidationError) ErrorName() string

ErrorName returns error name.

func (MeshEdgeValidationError) Field added in v0.6.2

func (e MeshEdgeValidationError) Field() string

Field function returns field value.

func (MeshEdgeValidationError) Key added in v0.6.2

func (e MeshEdgeValidationError) Key() bool

Key function returns key value.

func (MeshEdgeValidationError) Reason added in v0.6.2

func (e MeshEdgeValidationError) Reason() string

Reason function returns reason value.

type MeshEdges added in v0.1.3

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *MeshEdges) DeepCopyInto(out *MeshEdges)

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

func (*MeshEdges) Descriptor deprecated added in v0.1.3

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

Deprecated: Use MeshEdges.ProtoReflect.Descriptor instead.

func (*MeshEdges) GetItems added in v0.1.3

func (x *MeshEdges) GetItems() []*MeshEdge

func (*MeshEdges) ProtoMessage added in v0.1.3

func (*MeshEdges) ProtoMessage()

func (*MeshEdges) ProtoReflect added in v0.1.3

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

func (*MeshEdges) Reset added in v0.1.3

func (x *MeshEdges) Reset()

func (*MeshEdges) String added in v0.1.3

func (x *MeshEdges) String() string

func (*MeshEdges) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m MeshEdgesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshEdgesMultiError) Error added in v0.6.2

func (m MeshEdgesMultiError) Error() string

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

type MeshEdgesValidationError added in v0.6.2

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 added in v0.6.2

func (e MeshEdgesValidationError) Cause() error

Cause function returns cause value.

func (MeshEdgesValidationError) Error added in v0.6.2

func (e MeshEdgesValidationError) Error() string

Error satisfies the builtin error interface

func (MeshEdgesValidationError) ErrorName added in v0.6.2

func (e MeshEdgesValidationError) ErrorName() string

ErrorName returns error name.

func (MeshEdgesValidationError) Field added in v0.6.2

func (e MeshEdgesValidationError) Field() string

Field function returns field value.

func (MeshEdgesValidationError) Key added in v0.6.2

Key function returns key value.

func (MeshEdgesValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m MeshGraphMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshGraphMultiError) Error added in v0.6.2

func (m MeshGraphMultiError) Error() string

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

type MeshGraphValidationError added in v0.6.2

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 added in v0.6.2

func (e MeshGraphValidationError) Cause() error

Cause function returns cause value.

func (MeshGraphValidationError) Error added in v0.6.2

func (e MeshGraphValidationError) Error() string

Error satisfies the builtin error interface

func (MeshGraphValidationError) ErrorName added in v0.6.2

func (e MeshGraphValidationError) ErrorName() string

ErrorName returns error name.

func (MeshGraphValidationError) Field added in v0.6.2

func (e MeshGraphValidationError) Field() string

Field function returns field value.

func (MeshGraphValidationError) Key added in v0.6.2

Key function returns key value.

func (MeshGraphValidationError) Reason added in v0.6.2

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"`
	// public_key is the public key of the node.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// primary_endpoint is the primary endpoint of the node.
	PrimaryEndpoint string `protobuf:"bytes,4,opt,name=primaryEndpoint,proto3" json:"primaryEndpoint,omitempty"`
	// wireguard_endpoints is a list of WireGuard endpoints for the node.
	WireguardEndpoints []string `protobuf:"bytes,5,rep,name=wireguardEndpoints,proto3" json:"wireguardEndpoints,omitempty"`
	// zone_awareness_id is the zone awareness ID of the node.
	ZoneAwarenessID string `protobuf:"bytes,6,opt,name=zoneAwarenessID,proto3" json:"zoneAwarenessID,omitempty"`
	// private_ipv4 is the private IPv4 address of the node.
	PrivateIPv4 string `protobuf:"bytes,7,opt,name=privateIPv4,proto3" json:"privateIPv4,omitempty"`
	// private_ipv6 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"`
	// joined_at 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.2.1

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

func (*MeshNode) GetId

func (x *MeshNode) GetId() string

func (*MeshNode) GetJoinedAt added in v0.4.0

func (x *MeshNode) GetJoinedAt() *timestamppb.Timestamp

func (*MeshNode) GetMultiaddrs added in v0.4.0

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

func (*MeshNode) GetPrimaryEndpoint

func (x *MeshNode) GetPrimaryEndpoint() string

func (*MeshNode) GetPrivateIPv4 added in v0.7.0

func (x *MeshNode) GetPrivateIPv4() string

func (*MeshNode) GetPrivateIPv6 added in v0.7.0

func (x *MeshNode) GetPrivateIPv6() string

func (*MeshNode) GetPublicKey

func (x *MeshNode) GetPublicKey() string

func (*MeshNode) GetWireguardEndpoints

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

func (*MeshNode) GetZoneAwarenessID added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m MeshNodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MeshNodeMultiError) Error added in v0.6.2

func (m MeshNodeMultiError) Error() string

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

type MeshNodeValidationError added in v0.6.2

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 added in v0.6.2

func (e MeshNodeValidationError) Cause() error

Cause function returns cause value.

func (MeshNodeValidationError) Error added in v0.6.2

func (e MeshNodeValidationError) Error() string

Error satisfies the builtin error interface

func (MeshNodeValidationError) ErrorName added in v0.6.2

func (e MeshNodeValidationError) ErrorName() string

ErrorName returns error name.

func (MeshNodeValidationError) Field added in v0.6.2

func (e MeshNodeValidationError) Field() string

Field function returns field value.

func (MeshNodeValidationError) Key added in v0.6.2

func (e MeshNodeValidationError) Key() bool

Key function returns key value.

func (MeshNodeValidationError) Reason added in v0.6.2

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 added in v0.2.2

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

MetricsRequest is sent by the application to the node to retrieve interface metrics. It is intentionally empty for now, but can eventually be used to query specific interfaces/metrics.

func (*MetricsRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *MetricsRequest) DeepCopyInto(out *MetricsRequest)

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

func (*MetricsRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.

func (*MetricsRequest) ProtoMessage added in v0.2.2

func (*MetricsRequest) ProtoMessage()

func (*MetricsRequest) ProtoReflect added in v0.2.2

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

func (*MetricsRequest) Reset added in v0.2.2

func (x *MetricsRequest) Reset()

func (*MetricsRequest) String added in v0.2.2

func (x *MetricsRequest) String() string

func (*MetricsRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m MetricsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetricsRequestMultiError) Error added in v0.6.2

func (m MetricsRequestMultiError) Error() string

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

type MetricsRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (MetricsRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (MetricsRequestValidationError) ErrorName added in v0.6.2

func (e MetricsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (MetricsRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (MetricsRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (MetricsRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type MetricsResponse added in v0.2.2

type MetricsResponse struct {

	// interfaces is a map of interface names to 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *MetricsResponse) DeepCopyInto(out *MetricsResponse)

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

func (*MetricsResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use MetricsResponse.ProtoReflect.Descriptor instead.

func (*MetricsResponse) GetInterfaces added in v0.2.2

func (x *MetricsResponse) GetInterfaces() map[string]*InterfaceMetrics

func (*MetricsResponse) ProtoMessage added in v0.2.2

func (*MetricsResponse) ProtoMessage()

func (*MetricsResponse) ProtoReflect added in v0.2.2

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

func (*MetricsResponse) Reset added in v0.2.2

func (x *MetricsResponse) Reset()

func (*MetricsResponse) String added in v0.2.2

func (x *MetricsResponse) String() string

func (*MetricsResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m MetricsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetricsResponseMultiError) Error added in v0.6.2

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

type MetricsResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (MetricsResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (MetricsResponseValidationError) ErrorName added in v0.6.2

func (e MetricsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (MetricsResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (MetricsResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (MetricsResponseValidationError) Reason added in v0.6.2

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"`
	// source_nodes 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"`
	// destination_nodes 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"`
	// source_cidrs 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"`
	// destination_cidrs 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m NetworkACLMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkACLMultiError) Error added in v0.6.2

func (m NetworkACLMultiError) Error() string

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

type NetworkACLValidationError added in v0.6.2

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 added in v0.6.2

func (e NetworkACLValidationError) Cause() error

Cause function returns cause value.

func (NetworkACLValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (NetworkACLValidationError) ErrorName added in v0.6.2

func (e NetworkACLValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkACLValidationError) Field added in v0.6.2

Field function returns field value.

func (NetworkACLValidationError) Key added in v0.6.2

Key function returns key value.

func (NetworkACLValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m NetworkACLsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkACLsMultiError) Error added in v0.6.2

func (m NetworkACLsMultiError) Error() string

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

type NetworkACLsValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (NetworkACLsValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (NetworkACLsValidationError) ErrorName added in v0.6.2

func (e NetworkACLsValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkACLsValidationError) Field added in v0.6.2

Field function returns field value.

func (NetworkACLsValidationError) Key added in v0.6.2

Key function returns key value.

func (NetworkACLsValidationError) Reason added in v0.6.2

Reason function returns reason value.

type NetworkAction

type NetworkAction struct {

	// src_node is the source node of the action.
	SrcNode string `protobuf:"bytes,1,opt,name=srcNode,proto3" json:"srcNode,omitempty"`
	// src_cidr is the source CIDR of the action.
	SrcCIDR string `protobuf:"bytes,2,opt,name=srcCIDR,proto3" json:"srcCIDR,omitempty"`
	// dst_node is the destination node of the action.
	DstNode string `protobuf:"bytes,3,opt,name=dstNode,proto3" json:"dstNode,omitempty"`
	// dst_cidr 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.7.0

func (x *NetworkAction) GetDstCIDR() string

func (*NetworkAction) GetDstNode

func (x *NetworkAction) GetDstNode() string

func (*NetworkAction) GetSrcCIDR added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m NetworkActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkActionMultiError) Error added in v0.6.2

func (m NetworkActionMultiError) Error() string

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

type NetworkActionValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (NetworkActionValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (NetworkActionValidationError) ErrorName added in v0.6.2

func (e NetworkActionValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkActionValidationError) Field added in v0.6.2

Field function returns field value.

func (NetworkActionValidationError) Key added in v0.6.2

Key function returns key value.

func (NetworkActionValidationError) Reason added in v0.6.2

Reason function returns reason value.

type NetworkState added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

func (in *NetworkState) DeepCopyInto(out *NetworkState)

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

func (*NetworkState) Descriptor deprecated added in v0.8.0

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

Deprecated: Use NetworkState.ProtoReflect.Descriptor instead.

func (*NetworkState) GetDomain added in v0.8.0

func (x *NetworkState) GetDomain() string

func (*NetworkState) GetNetworkV4 added in v0.8.0

func (x *NetworkState) GetNetworkV4() string

func (*NetworkState) GetNetworkV6 added in v0.8.0

func (x *NetworkState) GetNetworkV6() string

func (*NetworkState) ProtoMessage added in v0.8.0

func (*NetworkState) ProtoMessage()

func (*NetworkState) ProtoReflect added in v0.8.0

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

func (*NetworkState) Reset added in v0.8.0

func (x *NetworkState) Reset()

func (*NetworkState) String added in v0.8.0

func (x *NetworkState) String() string

func (*NetworkState) Validate added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

func (m NetworkStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkStateMultiError) Error added in v0.8.0

func (m NetworkStateMultiError) Error() string

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

type NetworkStateValidationError added in v0.8.0

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 added in v0.8.0

Cause function returns cause value.

func (NetworkStateValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (NetworkStateValidationError) ErrorName added in v0.8.0

func (e NetworkStateValidationError) ErrorName() string

ErrorName returns error name.

func (NetworkStateValidationError) Field added in v0.8.0

Field function returns field value.

func (NetworkStateValidationError) Key added in v0.8.0

Key function returns key value.

func (NetworkStateValidationError) Reason added in v0.8.0

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 added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration)

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

func (*NodeConfiguration) Descriptor deprecated added in v0.9.1

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

Deprecated: Use NodeConfiguration.ProtoReflect.Descriptor instead.

func (*NodeConfiguration) GetAddressIPv4 added in v0.9.1

func (x *NodeConfiguration) GetAddressIPv4() string

func (*NodeConfiguration) GetAddressIPv6 added in v0.9.1

func (x *NodeConfiguration) GetAddressIPv6() string

func (*NodeConfiguration) GetDomain added in v0.9.1

func (x *NodeConfiguration) GetDomain() string

func (*NodeConfiguration) GetId added in v0.9.1

func (x *NodeConfiguration) GetId() string

func (*NodeConfiguration) GetNetworkIPv4 added in v0.9.1

func (x *NodeConfiguration) GetNetworkIPv4() string

func (*NodeConfiguration) GetNetworkIPv6 added in v0.9.1

func (x *NodeConfiguration) GetNetworkIPv6() string

func (*NodeConfiguration) GetPrivateKey added in v0.9.1

func (x *NodeConfiguration) GetPrivateKey() []byte

func (*NodeConfiguration) ProtoMessage added in v0.9.1

func (*NodeConfiguration) ProtoMessage()

func (*NodeConfiguration) ProtoReflect added in v0.9.1

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

func (*NodeConfiguration) Reset added in v0.9.1

func (x *NodeConfiguration) Reset()

func (*NodeConfiguration) String added in v0.9.1

func (x *NodeConfiguration) String() string

func (*NodeConfiguration) Validate added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

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 added in v0.9.1

func (m NodeConfigurationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeConfigurationMultiError) Error added in v0.9.1

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

type NodeConfigurationValidationError added in v0.9.1

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 added in v0.9.1

Cause function returns cause value.

func (NodeConfigurationValidationError) Error added in v0.9.1

Error satisfies the builtin error interface

func (NodeConfigurationValidationError) ErrorName added in v0.9.1

ErrorName returns error name.

func (NodeConfigurationValidationError) Field added in v0.9.1

Field function returns field value.

func (NodeConfigurationValidationError) Key added in v0.9.1

Key function returns key value.

func (NodeConfigurationValidationError) Reason added in v0.9.1

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m NodeListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeListMultiError) Error added in v0.6.2

func (m NodeListMultiError) Error() string

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

type NodeListValidationError added in v0.6.2

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 added in v0.6.2

func (e NodeListValidationError) Cause() error

Cause function returns cause value.

func (NodeListValidationError) Error added in v0.6.2

func (e NodeListValidationError) Error() string

Error satisfies the builtin error interface

func (NodeListValidationError) ErrorName added in v0.6.2

func (e NodeListValidationError) ErrorName() string

ErrorName returns error name.

func (NodeListValidationError) Field added in v0.6.2

func (e NodeListValidationError) Field() string

Field function returns field value.

func (NodeListValidationError) Key added in v0.6.2

func (e NodeListValidationError) Key() bool

Key function returns key value.

func (NodeListValidationError) Reason added in v0.6.2

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 added in v0.4.0

type Node_ReceiveSignalChannelClient interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ClientStream
}

type Node_ReceiveSignalChannelServer added in v0.4.0

type Node_ReceiveSignalChannelServer interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ServerStream
}

type PeerConfigurations added in v0.3.0

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"`
	// ice_servers 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"`
	// dns_servers 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *PeerConfigurations) DeepCopyInto(out *PeerConfigurations)

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

func (*PeerConfigurations) Descriptor deprecated added in v0.3.0

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

Deprecated: Use PeerConfigurations.ProtoReflect.Descriptor instead.

func (*PeerConfigurations) GetDnsServers added in v0.3.0

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

func (*PeerConfigurations) GetIceServers added in v0.3.0

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

func (*PeerConfigurations) GetPeers added in v0.3.0

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

func (*PeerConfigurations) ProtoMessage added in v0.3.0

func (*PeerConfigurations) ProtoMessage()

func (*PeerConfigurations) ProtoReflect added in v0.3.0

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

func (*PeerConfigurations) Reset added in v0.3.0

func (x *PeerConfigurations) Reset()

func (*PeerConfigurations) String added in v0.3.0

func (x *PeerConfigurations) String() string

func (*PeerConfigurations) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PeerConfigurationsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeerConfigurationsMultiError) Error added in v0.6.2

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

type PeerConfigurationsValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PeerConfigurationsValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PeerConfigurationsValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (PeerConfigurationsValidationError) Field added in v0.6.2

Field function returns field value.

func (PeerConfigurationsValidationError) Key added in v0.6.2

Key function returns key value.

func (PeerConfigurationsValidationError) Reason added in v0.6.2

Reason function returns reason value.

type PeerMetrics

type PeerMetrics struct {

	// public_key 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"`
	// persistent_keep_alive is the persistent keep alive interval for the peer.
	PersistentKeepAlive string `protobuf:"bytes,3,opt,name=persistentKeepAlive,proto3" json:"persistentKeepAlive,omitempty"`
	// last_handshake_time is the last handshake time for the peer.
	LastHandshakeTime string `protobuf:"bytes,4,opt,name=lastHandshakeTime,proto3" json:"lastHandshakeTime,omitempty"`
	// allowed_ips is the list of allowed IPs for the peer.
	AllowedIPs []string `protobuf:"bytes,5,rep,name=allowedIPs,proto3" json:"allowedIPs,omitempty"`
	// protocol_version is the version of the wireguard protocol negotiated with the peer.
	ProtocolVersion int64 `protobuf:"varint,6,opt,name=protocolVersion,proto3" json:"protocolVersion,omitempty"`
	// receive_bytes is the bytes received from the peer.
	ReceiveBytes uint64 `protobuf:"varint,7,opt,name=receiveBytes,proto3" json:"receiveBytes,omitempty"`
	// transmit_bytes 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PeerMetricsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeerMetricsMultiError) Error added in v0.6.2

func (m PeerMetricsMultiError) Error() string

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

type PeerMetricsValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PeerMetricsValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PeerMetricsValidationError) ErrorName added in v0.6.2

func (e PeerMetricsValidationError) ErrorName() string

ErrorName returns error name.

func (PeerMetricsValidationError) Field added in v0.6.2

Field function returns field value.

func (PeerMetricsValidationError) Key added in v0.6.2

Key function returns key value.

func (PeerMetricsValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.9.1

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PluginConfigurationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PluginConfigurationMultiError) Error added in v0.6.2

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

type PluginConfigurationValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PluginConfigurationValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PluginConfigurationValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (PluginConfigurationValidationError) Field added in v0.6.2

Field function returns field value.

func (PluginConfigurationValidationError) Key added in v0.6.2

Key function returns key value.

func (PluginConfigurationValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PluginInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PluginInfoMultiError) Error added in v0.6.2

func (m PluginInfoMultiError) Error() string

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

type PluginInfoValidationError added in v0.6.2

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 added in v0.6.2

func (e PluginInfoValidationError) Cause() error

Cause function returns cause value.

func (PluginInfoValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PluginInfoValidationError) ErrorName added in v0.6.2

func (e PluginInfoValidationError) ErrorName() string

ErrorName returns error name.

func (PluginInfoValidationError) Field added in v0.6.2

Field function returns field value.

func (PluginInfoValidationError) Key added in v0.6.2

Key function returns key value.

func (PluginInfoValidationError) Reason added in v0.6.2

func (e PluginInfoValidationError) Reason() string

Reason function returns reason value.

type PluginInfo_PluginCapability added in v0.3.0

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 added in v0.3.0

func (PluginInfo_PluginCapability) Enum added in v0.3.0

func (PluginInfo_PluginCapability) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use PluginInfo_PluginCapability.Descriptor instead.

func (PluginInfo_PluginCapability) Number added in v0.3.0

func (PluginInfo_PluginCapability) String added in v0.3.0

func (PluginInfo_PluginCapability) Type added in v0.3.0

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 added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *PrefixEvent) DeepCopyInto(out *PrefixEvent)

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

func (*PrefixEvent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use PrefixEvent.ProtoReflect.Descriptor instead.

func (*PrefixEvent) GetEventType added in v0.4.0

func (x *PrefixEvent) GetEventType() PrefixEvent_EventType

func (*PrefixEvent) GetPrefix added in v0.4.0

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

func (*PrefixEvent) GetValue added in v0.4.0

func (x *PrefixEvent) GetValue() *StorageValue

func (*PrefixEvent) ProtoMessage added in v0.4.0

func (*PrefixEvent) ProtoMessage()

func (*PrefixEvent) ProtoReflect added in v0.4.0

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

func (*PrefixEvent) Reset added in v0.4.0

func (x *PrefixEvent) Reset()

func (*PrefixEvent) String added in v0.4.0

func (x *PrefixEvent) String() string

func (*PrefixEvent) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PrefixEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrefixEventMultiError) Error added in v0.6.2

func (m PrefixEventMultiError) Error() string

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

type PrefixEventValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PrefixEventValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PrefixEventValidationError) ErrorName added in v0.6.2

func (e PrefixEventValidationError) ErrorName() string

ErrorName returns error name.

func (PrefixEventValidationError) Field added in v0.6.2

Field function returns field value.

func (PrefixEventValidationError) Key added in v0.6.2

Key function returns key value.

func (PrefixEventValidationError) Reason added in v0.6.2

Reason function returns reason value.

type PrefixEvent_EventType added in v0.4.0

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 added in v0.4.0

func (PrefixEvent_EventType) Enum added in v0.4.0

func (PrefixEvent_EventType) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use PrefixEvent_EventType.Descriptor instead.

func (PrefixEvent_EventType) Number added in v0.4.0

func (PrefixEvent_EventType) String added in v0.4.0

func (x PrefixEvent_EventType) String() string

func (PrefixEvent_EventType) Type added in v0.4.0

type PublishRequest added in v0.2.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *PublishRequest) DeepCopyInto(out *PublishRequest)

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

func (*PublishRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetKey added in v0.2.2

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

func (*PublishRequest) GetTtl added in v0.2.2

func (x *PublishRequest) GetTtl() *durationpb.Duration

func (*PublishRequest) GetValue added in v0.2.2

func (x *PublishRequest) GetValue() []byte

func (*PublishRequest) ProtoMessage added in v0.2.2

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect added in v0.2.2

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

func (*PublishRequest) Reset added in v0.2.2

func (x *PublishRequest) Reset()

func (*PublishRequest) String added in v0.2.2

func (x *PublishRequest) String() string

func (*PublishRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PublishRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublishRequestMultiError) Error added in v0.6.2

func (m PublishRequestMultiError) Error() string

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

type PublishRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PublishRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PublishRequestValidationError) ErrorName added in v0.6.2

func (e PublishRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PublishRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (PublishRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (PublishRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type PublishResponse added in v0.2.2

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

PublishResponse is the response to a publish request. This is currently empty.

func (*PublishResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *PublishResponse) DeepCopyInto(out *PublishResponse)

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

func (*PublishResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) ProtoMessage added in v0.2.2

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect added in v0.2.2

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

func (*PublishResponse) Reset added in v0.2.2

func (x *PublishResponse) Reset()

func (*PublishResponse) String added in v0.2.2

func (x *PublishResponse) String() string

func (*PublishResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PublishResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublishResponseMultiError) Error added in v0.6.2

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

type PublishResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PublishResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PublishResponseValidationError) ErrorName added in v0.6.2

func (e PublishResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PublishResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (PublishResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (PublishResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type PutValueRequest added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *PutValueRequest) DeepCopyInto(out *PutValueRequest)

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

func (*PutValueRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use PutValueRequest.ProtoReflect.Descriptor instead.

func (*PutValueRequest) GetTtl added in v0.4.0

func (x *PutValueRequest) GetTtl() *durationpb.Duration

func (*PutValueRequest) GetValue added in v0.4.0

func (x *PutValueRequest) GetValue() *StorageValue

func (*PutValueRequest) ProtoMessage added in v0.4.0

func (*PutValueRequest) ProtoMessage()

func (*PutValueRequest) ProtoReflect added in v0.4.0

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

func (*PutValueRequest) Reset added in v0.4.0

func (x *PutValueRequest) Reset()

func (*PutValueRequest) String added in v0.4.0

func (x *PutValueRequest) String() string

func (*PutValueRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PutValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutValueRequestMultiError) Error added in v0.6.2

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

type PutValueRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PutValueRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PutValueRequestValidationError) ErrorName added in v0.6.2

func (e PutValueRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PutValueRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (PutValueRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (PutValueRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type PutValueResponse added in v0.4.0

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

PutValueResponse is the response object for the PutValue RPC.

func (*PutValueResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *PutValueResponse) DeepCopyInto(out *PutValueResponse)

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

func (*PutValueResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use PutValueResponse.ProtoReflect.Descriptor instead.

func (*PutValueResponse) ProtoMessage added in v0.4.0

func (*PutValueResponse) ProtoMessage()

func (*PutValueResponse) ProtoReflect added in v0.4.0

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

func (*PutValueResponse) Reset added in v0.4.0

func (x *PutValueResponse) Reset()

func (*PutValueResponse) String added in v0.4.0

func (x *PutValueResponse) String() string

func (*PutValueResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m PutValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutValueResponseMultiError) Error added in v0.6.2

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

type PutValueResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (PutValueResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (PutValueResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (PutValueResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (PutValueResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (PutValueResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type QueryRequest added in v0.2.2

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 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 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.
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryRequest is sent by the application to the node to query the mesh for information.

func (*QueryRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *QueryRequest) DeepCopyInto(out *QueryRequest)

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

func (*QueryRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.

func (*QueryRequest) GetCommand added in v0.2.2

func (x *QueryRequest) GetCommand() QueryRequest_QueryCommand

func (*QueryRequest) GetQuery added in v0.2.2

func (x *QueryRequest) GetQuery() string

func (*QueryRequest) GetType added in v0.8.0

func (x *QueryRequest) GetType() QueryRequest_QueryType

func (*QueryRequest) ProtoMessage added in v0.2.2

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect added in v0.2.2

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

func (*QueryRequest) Reset added in v0.2.2

func (x *QueryRequest) Reset()

func (*QueryRequest) String added in v0.2.2

func (x *QueryRequest) String() string

func (*QueryRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m QueryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryRequestMultiError) Error added in v0.6.2

func (m QueryRequestMultiError) Error() string

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

type QueryRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (QueryRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (QueryRequestValidationError) ErrorName added in v0.6.2

func (e QueryRequestValidationError) ErrorName() string

ErrorName returns error name.

func (QueryRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (QueryRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (QueryRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type QueryRequest_QueryCommand added in v0.2.2

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
)

func (QueryRequest_QueryCommand) Descriptor added in v0.2.2

func (QueryRequest_QueryCommand) Enum added in v0.2.2

func (QueryRequest_QueryCommand) EnumDescriptor deprecated added in v0.2.2

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

Deprecated: Use QueryRequest_QueryCommand.Descriptor instead.

func (QueryRequest_QueryCommand) Number added in v0.2.2

func (QueryRequest_QueryCommand) String added in v0.2.2

func (x QueryRequest_QueryCommand) String() string

func (QueryRequest_QueryCommand) Type added in v0.2.2

type QueryRequest_QueryType added in v0.8.0

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 added in v0.8.0

func (QueryRequest_QueryType) Enum added in v0.8.0

func (QueryRequest_QueryType) EnumDescriptor deprecated added in v0.8.0

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

Deprecated: Use QueryRequest_QueryType.Descriptor instead.

func (QueryRequest_QueryType) Number added in v0.8.0

func (QueryRequest_QueryType) String added in v0.8.0

func (x QueryRequest_QueryType) String() string

func (QueryRequest_QueryType) Type added in v0.8.0

type QueryResponse added in v0.2.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *QueryResponse) DeepCopyInto(out *QueryResponse)

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

func (*QueryResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetError added in v0.2.2

func (x *QueryResponse) GetError() string

func (*QueryResponse) GetItems added in v0.8.0

func (x *QueryResponse) GetItems() [][]byte

func (*QueryResponse) ProtoMessage added in v0.2.2

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect added in v0.2.2

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

func (*QueryResponse) Reset added in v0.2.2

func (x *QueryResponse) Reset()

func (*QueryResponse) String added in v0.2.2

func (x *QueryResponse) String() string

func (*QueryResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m QueryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryResponseMultiError) Error added in v0.6.2

func (m QueryResponseMultiError) Error() string

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

type QueryResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (QueryResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (QueryResponseValidationError) ErrorName added in v0.6.2

func (e QueryResponseValidationError) ErrorName() string

ErrorName returns error name.

func (QueryResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (QueryResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (QueryResponseValidationError) Reason added in v0.6.2

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"`
	// resource_name 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RBACActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RBACActionMultiError) Error added in v0.6.2

func (m RBACActionMultiError) Error() string

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

type RBACActionValidationError added in v0.6.2

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 added in v0.6.2

func (e RBACActionValidationError) Cause() error

Cause function returns cause value.

func (RBACActionValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RBACActionValidationError) ErrorName added in v0.6.2

func (e RBACActionValidationError) ErrorName() string

ErrorName returns error name.

func (RBACActionValidationError) Field added in v0.6.2

Field function returns field value.

func (RBACActionValidationError) Key added in v0.6.2

Key function returns key value.

func (RBACActionValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RaftApplyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftApplyResponseMultiError) Error added in v0.6.2

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

type RaftApplyResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RaftApplyResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RaftApplyResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (RaftApplyResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (RaftApplyResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (RaftApplyResponseValidationError) Reason added in v0.6.2

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 added in v0.3.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *RaftDataItem) DeepCopyInto(out *RaftDataItem)

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

func (*RaftDataItem) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RaftDataItem.ProtoReflect.Descriptor instead.

func (*RaftDataItem) GetKey added in v0.3.0

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

func (*RaftDataItem) GetTtl added in v0.3.0

func (x *RaftDataItem) GetTtl() *durationpb.Duration

func (*RaftDataItem) GetValue added in v0.3.0

func (x *RaftDataItem) GetValue() []byte

func (*RaftDataItem) ProtoMessage added in v0.3.0

func (*RaftDataItem) ProtoMessage()

func (*RaftDataItem) ProtoReflect added in v0.3.0

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

func (*RaftDataItem) Reset added in v0.3.0

func (x *RaftDataItem) Reset()

func (*RaftDataItem) String added in v0.3.0

func (x *RaftDataItem) String() string

func (*RaftDataItem) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RaftDataItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftDataItemMultiError) Error added in v0.6.2

func (m RaftDataItemMultiError) Error() string

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

type RaftDataItemValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RaftDataItemValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RaftDataItemValidationError) ErrorName added in v0.6.2

func (e RaftDataItemValidationError) ErrorName() string

ErrorName returns error name.

func (RaftDataItemValidationError) Field added in v0.6.2

Field function returns field value.

func (RaftDataItemValidationError) Key added in v0.6.2

Key function returns key value.

func (RaftDataItemValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.2.0

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

func (*RaftLogEntry) GetTtl added in v0.2.2

func (x *RaftLogEntry) GetTtl() *durationpb.Duration

func (*RaftLogEntry) GetType

func (x *RaftLogEntry) GetType() RaftCommandType

func (*RaftLogEntry) GetValue added in v0.2.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RaftLogEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftLogEntryMultiError) Error added in v0.6.2

func (m RaftLogEntryMultiError) Error() string

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

type RaftLogEntryValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RaftLogEntryValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RaftLogEntryValidationError) ErrorName added in v0.6.2

func (e RaftLogEntryValidationError) ErrorName() string

ErrorName returns error name.

func (RaftLogEntryValidationError) Field added in v0.6.2

Field function returns field value.

func (RaftLogEntryValidationError) Key added in v0.6.2

Key function returns key value.

func (RaftLogEntryValidationError) Reason added in v0.6.2

Reason function returns reason value.

type RaftSnapshot added in v0.3.0

type RaftSnapshot struct {
	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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *RaftSnapshot) DeepCopyInto(out *RaftSnapshot)

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

func (*RaftSnapshot) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RaftSnapshot.ProtoReflect.Descriptor instead.

func (*RaftSnapshot) GetKv added in v0.3.0

func (x *RaftSnapshot) GetKv() []*RaftDataItem

func (*RaftSnapshot) ProtoMessage added in v0.3.0

func (*RaftSnapshot) ProtoMessage()

func (*RaftSnapshot) ProtoReflect added in v0.3.0

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

func (*RaftSnapshot) Reset added in v0.3.0

func (x *RaftSnapshot) Reset()

func (*RaftSnapshot) String added in v0.3.0

func (x *RaftSnapshot) String() string

func (*RaftSnapshot) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RaftSnapshotMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RaftSnapshotMultiError) Error added in v0.6.2

func (m RaftSnapshotMultiError) Error() string

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

type RaftSnapshotValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RaftSnapshotValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RaftSnapshotValidationError) ErrorName added in v0.6.2

func (e RaftSnapshotValidationError) ErrorName() string

ErrorName returns error name.

func (RaftSnapshotValidationError) Field added in v0.6.2

Field function returns field value.

func (RaftSnapshotValidationError) Key added in v0.6.2

Key function returns key value.

func (RaftSnapshotValidationError) Reason added in v0.6.2

Reason function returns reason value.

type RegisterRequest added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

func (in *RegisterRequest) DeepCopyInto(out *RegisterRequest)

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

func (*RegisterRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAlias added in v0.9.0

func (x *RegisterRequest) GetAlias() string

func (*RegisterRequest) GetExpiry added in v0.9.0

func (x *RegisterRequest) GetExpiry() *timestamppb.Timestamp

func (*RegisterRequest) GetPublicKey added in v0.9.0

func (x *RegisterRequest) GetPublicKey() string

func (*RegisterRequest) ProtoMessage added in v0.9.0

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect added in v0.9.0

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

func (*RegisterRequest) Reset added in v0.9.0

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String added in v0.9.0

func (x *RegisterRequest) String() string

func (*RegisterRequest) Validate added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

func (m RegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterRequestMultiError) Error added in v0.9.0

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

type RegisterRequestValidationError added in v0.9.0

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 added in v0.9.0

Cause function returns cause value.

func (RegisterRequestValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName added in v0.9.0

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field added in v0.9.0

Field function returns field value.

func (RegisterRequestValidationError) Key added in v0.9.0

Key function returns key value.

func (RegisterRequestValidationError) Reason added in v0.9.0

Reason function returns reason value.

type RegisterResponse added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

func (in *RegisterResponse) DeepCopyInto(out *RegisterResponse)

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

func (*RegisterResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetId added in v0.9.0

func (x *RegisterResponse) GetId() string

func (*RegisterResponse) ProtoMessage added in v0.9.0

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect added in v0.9.0

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

func (*RegisterResponse) Reset added in v0.9.0

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String added in v0.9.0

func (x *RegisterResponse) String() string

func (*RegisterResponse) Validate added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

func (m RegisterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterResponseMultiError) Error added in v0.9.0

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

type RegisterResponseValidationError added in v0.9.0

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 added in v0.9.0

Cause function returns cause value.

func (RegisterResponseValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (RegisterResponseValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (RegisterResponseValidationError) Field added in v0.9.0

Field function returns field value.

func (RegisterResponseValidationError) Key added in v0.9.0

Key function returns key value.

func (RegisterResponseValidationError) Reason added in v0.9.0

Reason function returns reason value.

type RegistrarClient added in v0.9.0

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 added in v0.9.0

func NewRegistrarClient(cc grpc.ClientConnInterface) RegistrarClient

type RegistrarServer added in v0.9.0

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 added in v0.1.4

type ReleaseIPRequest struct {

	// node_id 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *ReleaseIPRequest) DeepCopyInto(out *ReleaseIPRequest)

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

func (*ReleaseIPRequest) Descriptor deprecated added in v0.1.4

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

Deprecated: Use ReleaseIPRequest.ProtoReflect.Descriptor instead.

func (*ReleaseIPRequest) GetIp added in v0.1.4

func (x *ReleaseIPRequest) GetIp() string

func (*ReleaseIPRequest) GetNodeID added in v0.7.0

func (x *ReleaseIPRequest) GetNodeID() string

func (*ReleaseIPRequest) ProtoMessage added in v0.1.4

func (*ReleaseIPRequest) ProtoMessage()

func (*ReleaseIPRequest) ProtoReflect added in v0.1.4

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

func (*ReleaseIPRequest) Reset added in v0.1.4

func (x *ReleaseIPRequest) Reset()

func (*ReleaseIPRequest) String added in v0.1.4

func (x *ReleaseIPRequest) String() string

func (*ReleaseIPRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m ReleaseIPRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReleaseIPRequestMultiError) Error added in v0.6.2

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

type ReleaseIPRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (ReleaseIPRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (ReleaseIPRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (ReleaseIPRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (ReleaseIPRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (ReleaseIPRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type RemoveServerResponse added in v0.4.0

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

RemoveServerResponse is the response object for the RemoveServer RPC.

func (*RemoveServerResponse) DeepCopy added in v0.6.2

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

func (*RemoveServerResponse) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

func (in *RemoveServerResponse) DeepCopyInto(out *RemoveServerResponse)

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

func (*RemoveServerResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use RemoveServerResponse.ProtoReflect.Descriptor instead.

func (*RemoveServerResponse) ProtoMessage added in v0.4.0

func (*RemoveServerResponse) ProtoMessage()

func (*RemoveServerResponse) ProtoReflect added in v0.4.0

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

func (*RemoveServerResponse) Reset added in v0.4.0

func (x *RemoveServerResponse) Reset()

func (*RemoveServerResponse) String added in v0.4.0

func (x *RemoveServerResponse) String() string

func (*RemoveServerResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RemoveServerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveServerResponseMultiError) Error added in v0.6.2

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

type RemoveServerResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RemoveServerResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RemoveServerResponseValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (RemoveServerResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (RemoveServerResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (RemoveServerResponseValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RoleBindingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleBindingMultiError) Error added in v0.6.2

func (m RoleBindingMultiError) Error() string

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

type RoleBindingValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RoleBindingValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RoleBindingValidationError) ErrorName added in v0.6.2

func (e RoleBindingValidationError) ErrorName() string

ErrorName returns error name.

func (RoleBindingValidationError) Field added in v0.6.2

Field function returns field value.

func (RoleBindingValidationError) Key added in v0.6.2

Key function returns key value.

func (RoleBindingValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RoleBindingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleBindingsMultiError) Error added in v0.6.2

func (m RoleBindingsMultiError) Error() string

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

type RoleBindingsValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (RoleBindingsValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (RoleBindingsValidationError) ErrorName added in v0.6.2

func (e RoleBindingsValidationError) ErrorName() string

ErrorName returns error name.

func (RoleBindingsValidationError) Field added in v0.6.2

Field function returns field value.

func (RoleBindingsValidationError) Key added in v0.6.2

Key function returns key value.

func (RoleBindingsValidationError) Reason added in v0.6.2

Reason function returns reason value.

type RoleMultiError added in v0.6.2

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 added in v0.6.2

func (m RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleMultiError) Error added in v0.6.2

func (m RoleMultiError) Error() string

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

type RoleValidationError added in v0.6.2

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 added in v0.6.2

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error added in v0.6.2

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName added in v0.6.2

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field added in v0.6.2

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key added in v0.6.2

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RolesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RolesMultiError) Error added in v0.6.2

func (m RolesMultiError) Error() string

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

type RolesValidationError added in v0.6.2

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 added in v0.6.2

func (e RolesValidationError) Cause() error

Cause function returns cause value.

func (RolesValidationError) Error added in v0.6.2

func (e RolesValidationError) Error() string

Error satisfies the builtin error interface

func (RolesValidationError) ErrorName added in v0.6.2

func (e RolesValidationError) ErrorName() string

ErrorName returns error name.

func (RolesValidationError) Field added in v0.6.2

func (e RolesValidationError) Field() string

Field function returns field value.

func (RolesValidationError) Key added in v0.6.2

func (e RolesValidationError) Key() bool

Key function returns key value.

func (RolesValidationError) Reason added in v0.6.2

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"`
	// destination_cidrs 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.
	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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.7.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RouteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RouteMultiError) Error added in v0.6.2

func (m RouteMultiError) Error() string

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

type RouteValidationError added in v0.6.2

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 added in v0.6.2

func (e RouteValidationError) Cause() error

Cause function returns cause value.

func (RouteValidationError) Error added in v0.6.2

func (e RouteValidationError) Error() string

Error satisfies the builtin error interface

func (RouteValidationError) ErrorName added in v0.6.2

func (e RouteValidationError) ErrorName() string

ErrorName returns error name.

func (RouteValidationError) Field added in v0.6.2

func (e RouteValidationError) Field() string

Field function returns field value.

func (RouteValidationError) Key added in v0.6.2

func (e RouteValidationError) Key() bool

Key function returns key value.

func (RouteValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RoutesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoutesMultiError) Error added in v0.6.2

func (m RoutesMultiError) Error() string

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

type RoutesValidationError added in v0.6.2

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 added in v0.6.2

func (e RoutesValidationError) Cause() error

Cause function returns cause value.

func (RoutesValidationError) Error added in v0.6.2

func (e RoutesValidationError) Error() string

Error satisfies the builtin error interface

func (RoutesValidationError) ErrorName added in v0.6.2

func (e RoutesValidationError) ErrorName() string

ErrorName returns error name.

func (RoutesValidationError) Field added in v0.6.2

func (e RoutesValidationError) Field() string

Field function returns field value.

func (RoutesValidationError) Key added in v0.6.2

func (e RoutesValidationError) Key() bool

Key function returns key value.

func (RoutesValidationError) Reason added in v0.6.2

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"`
	// resource_names 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m RuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuleMultiError) Error added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (e RuleValidationError) Cause() error

Cause function returns cause value.

func (RuleValidationError) Error added in v0.6.2

func (e RuleValidationError) Error() string

Error satisfies the builtin error interface

func (RuleValidationError) ErrorName added in v0.6.2

func (e RuleValidationError) ErrorName() string

ErrorName returns error name.

func (RuleValidationError) Field added in v0.6.2

func (e RuleValidationError) Field() string

Field function returns field value.

func (RuleValidationError) Key added in v0.6.2

func (e RuleValidationError) Key() bool

Key function returns key value.

func (RuleValidationError) Reason added in v0.6.2

func (e RuleValidationError) Reason() string

Reason function returns reason value.

type RuleVerb added in v0.1.3

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 added in v0.1.3

func (RuleVerb) Descriptor() protoreflect.EnumDescriptor

func (RuleVerb) Enum added in v0.1.3

func (x RuleVerb) Enum() *RuleVerb

func (RuleVerb) EnumDescriptor deprecated added in v0.1.3

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

Deprecated: Use RuleVerb.Descriptor instead.

func (RuleVerb) Number added in v0.1.3

func (x RuleVerb) Number() protoreflect.EnumNumber

func (RuleVerb) String added in v0.1.3

func (x RuleVerb) String() string

func (RuleVerb) Type added in v0.1.3

type StartDataChannelRequest

type StartDataChannelRequest struct {

	// node_id is the ID of the node to send the data to.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,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 added in v0.6.2

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

func (*StartDataChannelRequest) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

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

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StartDataChannelRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StartDataChannelRequestMultiError) Error added in v0.6.2

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

type StartDataChannelRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StartDataChannelRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StartDataChannelRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (StartDataChannelRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (StartDataChannelRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (StartDataChannelRequestValidationError) Reason added in v0.6.2

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"`
	// commit is the commit of the node.
	Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"`
	// build_date is the build date of the node.
	BuildDate string `protobuf:"bytes,5,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	// uptime is the uptime of the node.
	Uptime string `protobuf:"bytes,6,opt,name=uptime,proto3" json:"uptime,omitempty"`
	// started_at 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"`
	// cluster_status is the status of the node in the cluster.
	ClusterStatus ClusterStatus `protobuf:"varint,9,opt,name=clusterStatus,proto3,enum=v1.ClusterStatus" json:"clusterStatus,omitempty"`
	// current_leader is the current leader of the cluster.
	CurrentLeader string `protobuf:"bytes,10,opt,name=currentLeader,proto3" json:"currentLeader,omitempty"`
	// interface_metrics 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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

func (x *Status) GetCommit() string

func (*Status) GetCurrentLeader

func (x *Status) GetCurrentLeader() string

func (*Status) GetDescription added in v0.9.0

func (x *Status) GetDescription() string

func (*Status) GetFeatures

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

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusMultiError) Error added in v0.6.2

func (m StatusMultiError) Error() string

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

type StatusRequest added in v0.2.2

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

StatusRequest is sent by the application to the node to retrieve the status of the node.

func (*StatusRequest) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *StatusRequest) DeepCopyInto(out *StatusRequest)

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

func (*StatusRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage added in v0.2.2

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect added in v0.2.2

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

func (*StatusRequest) Reset added in v0.2.2

func (x *StatusRequest) Reset()

func (*StatusRequest) String added in v0.2.2

func (x *StatusRequest) String() string

func (*StatusRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusRequestMultiError) Error added in v0.6.2

func (m StatusRequestMultiError) Error() string

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

type StatusRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StatusRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StatusRequestValidationError) ErrorName added in v0.6.2

func (e StatusRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatusRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (StatusRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (StatusRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StatusResponse added in v0.2.2

type StatusResponse struct {

	// connection status is the status of the connection.
	ConnectionStatus StatusResponse_ConnectionStatus `` /* 150-byte string literal not displayed */
	// node is the node status. This is only populated if the node is connected.
	Node *MeshNode `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

StatusResponse is a message containing the status of the node.

func (*StatusResponse) DeepCopy added in v0.6.2

func (in *StatusResponse) DeepCopy() *StatusResponse

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

func (*StatusResponse) DeepCopyInterface added in v0.6.2

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

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

func (*StatusResponse) DeepCopyInto added in v0.6.2

func (in *StatusResponse) DeepCopyInto(out *StatusResponse)

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

func (*StatusResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetConnectionStatus added in v0.2.2

func (x *StatusResponse) GetConnectionStatus() StatusResponse_ConnectionStatus

func (*StatusResponse) GetNode added in v0.2.2

func (x *StatusResponse) GetNode() *MeshNode

func (*StatusResponse) ProtoMessage added in v0.2.2

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect added in v0.2.2

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

func (*StatusResponse) Reset added in v0.2.2

func (x *StatusResponse) Reset()

func (*StatusResponse) String added in v0.2.2

func (x *StatusResponse) String() string

func (*StatusResponse) Validate added in v0.6.2

func (m *StatusResponse) Validate() error

Validate checks the field values on StatusResponse 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 (*StatusResponse) ValidateAll added in v0.6.2

func (m *StatusResponse) ValidateAll() error

ValidateAll checks the field values on StatusResponse 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 StatusResponseMultiError, or nil if none found.

type StatusResponseMultiError added in v0.6.2

type StatusResponseMultiError []error

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

func (StatusResponseMultiError) AllErrors added in v0.6.2

func (m StatusResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusResponseMultiError) Error added in v0.6.2

func (m StatusResponseMultiError) Error() string

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

type StatusResponseValidationError added in v0.6.2

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

StatusResponseValidationError is the validation error returned by StatusResponse.Validate if the designated constraints aren't met.

func (StatusResponseValidationError) Cause added in v0.6.2

Cause function returns cause value.

func (StatusResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StatusResponseValidationError) ErrorName added in v0.6.2

func (e StatusResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StatusResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (StatusResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (StatusResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StatusResponse_ConnectionStatus added in v0.2.2

type StatusResponse_ConnectionStatus int32
const (
	// DISCONNECTED indicates that the node is not connected to a mesh.
	StatusResponse_DISCONNECTED StatusResponse_ConnectionStatus = 0
	// CONNECTING indicates that the node is in the process of connecting to a mesh.
	StatusResponse_CONNECTING StatusResponse_ConnectionStatus = 1
	// CONNECTED indicates that the node is connected to a mesh.
	StatusResponse_CONNECTED StatusResponse_ConnectionStatus = 2
)

func (StatusResponse_ConnectionStatus) Descriptor added in v0.2.2

func (StatusResponse_ConnectionStatus) Enum added in v0.2.2

func (StatusResponse_ConnectionStatus) EnumDescriptor deprecated added in v0.2.2

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

Deprecated: Use StatusResponse_ConnectionStatus.Descriptor instead.

func (StatusResponse_ConnectionStatus) Number added in v0.2.2

func (StatusResponse_ConnectionStatus) String added in v0.2.2

func (StatusResponse_ConnectionStatus) Type added in v0.2.2

type StatusValidationError added in v0.6.2

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 added in v0.6.2

func (e StatusValidationError) Cause() error

Cause function returns cause value.

func (StatusValidationError) Error added in v0.6.2

func (e StatusValidationError) Error() string

Error satisfies the builtin error interface

func (StatusValidationError) ErrorName added in v0.6.2

func (e StatusValidationError) ErrorName() string

ErrorName returns error name.

func (StatusValidationError) Field added in v0.6.2

func (e StatusValidationError) Field() string

Field function returns field value.

func (StatusValidationError) Key added in v0.6.2

func (e StatusValidationError) Key() bool

Key function returns key value.

func (StatusValidationError) Reason added in v0.6.2

func (e StatusValidationError) Reason() string

Reason function returns reason value.

type StorageConsensusRequest added in v0.8.0

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

StorageConsensusRequest is a request to get the current Storage configuration.

func (*StorageConsensusRequest) DeepCopy added in v0.8.0

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

func (*StorageConsensusRequest) DeepCopyInterface added in v0.8.0

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 added in v0.8.0

func (in *StorageConsensusRequest) DeepCopyInto(out *StorageConsensusRequest)

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

func (*StorageConsensusRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use StorageConsensusRequest.ProtoReflect.Descriptor instead.

func (*StorageConsensusRequest) ProtoMessage added in v0.8.0

func (*StorageConsensusRequest) ProtoMessage()

func (*StorageConsensusRequest) ProtoReflect added in v0.8.0

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

func (*StorageConsensusRequest) Reset added in v0.8.0

func (x *StorageConsensusRequest) Reset()

func (*StorageConsensusRequest) String added in v0.8.0

func (x *StorageConsensusRequest) String() string

func (*StorageConsensusRequest) Validate added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

func (m StorageConsensusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageConsensusRequestMultiError) Error added in v0.8.0

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

type StorageConsensusRequestValidationError added in v0.8.0

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 added in v0.8.0

Cause function returns cause value.

func (StorageConsensusRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (StorageConsensusRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (StorageConsensusRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (StorageConsensusRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (StorageConsensusRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type StorageConsensusResponse added in v0.8.0

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 added in v0.8.0

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

func (*StorageConsensusResponse) DeepCopyInterface added in v0.8.0

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 added in v0.8.0

func (in *StorageConsensusResponse) DeepCopyInto(out *StorageConsensusResponse)

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

func (*StorageConsensusResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use StorageConsensusResponse.ProtoReflect.Descriptor instead.

func (*StorageConsensusResponse) GetServers added in v0.8.0

func (x *StorageConsensusResponse) GetServers() []*StorageServer

func (*StorageConsensusResponse) ProtoMessage added in v0.8.0

func (*StorageConsensusResponse) ProtoMessage()

func (*StorageConsensusResponse) ProtoReflect added in v0.8.0

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

func (*StorageConsensusResponse) Reset added in v0.8.0

func (x *StorageConsensusResponse) Reset()

func (*StorageConsensusResponse) String added in v0.8.0

func (x *StorageConsensusResponse) String() string

func (*StorageConsensusResponse) Validate added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

func (m StorageConsensusResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageConsensusResponseMultiError) Error added in v0.8.0

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

type StorageConsensusResponseValidationError added in v0.8.0

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 added in v0.8.0

Cause function returns cause value.

func (StorageConsensusResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (StorageConsensusResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (StorageConsensusResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (StorageConsensusResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (StorageConsensusResponseValidationError) Reason added in v0.8.0

Reason function returns reason value.

type StoragePeer added in v0.4.0

type StoragePeer struct {

	// ID is the id of the server.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// public_key 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *StoragePeer) DeepCopyInto(out *StoragePeer)

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

func (*StoragePeer) Descriptor deprecated added in v0.4.0

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

Deprecated: Use StoragePeer.ProtoReflect.Descriptor instead.

func (*StoragePeer) GetAddress added in v0.4.0

func (x *StoragePeer) GetAddress() string

func (*StoragePeer) GetClusterStatus added in v0.4.0

func (x *StoragePeer) GetClusterStatus() ClusterStatus

func (*StoragePeer) GetId added in v0.4.0

func (x *StoragePeer) GetId() string

func (*StoragePeer) GetPublicKey added in v0.4.0

func (x *StoragePeer) GetPublicKey() string

func (*StoragePeer) ProtoMessage added in v0.4.0

func (*StoragePeer) ProtoMessage()

func (*StoragePeer) ProtoReflect added in v0.4.0

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

func (*StoragePeer) Reset added in v0.4.0

func (x *StoragePeer) Reset()

func (*StoragePeer) String added in v0.4.0

func (x *StoragePeer) String() string

func (*StoragePeer) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StoragePeerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StoragePeerMultiError) Error added in v0.6.2

func (m StoragePeerMultiError) Error() string

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

type StoragePeerValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StoragePeerValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StoragePeerValidationError) ErrorName added in v0.6.2

func (e StoragePeerValidationError) ErrorName() string

ErrorName returns error name.

func (StoragePeerValidationError) Field added in v0.6.2

Field function returns field value.

func (StoragePeerValidationError) Key added in v0.6.2

Key function returns key value.

func (StoragePeerValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StoragePeers added in v0.5.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *StoragePeers) DeepCopyInto(out *StoragePeers)

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

func (*StoragePeers) Descriptor deprecated added in v0.5.0

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

Deprecated: Use StoragePeers.ProtoReflect.Descriptor instead.

func (*StoragePeers) GetPeers added in v0.5.0

func (x *StoragePeers) GetPeers() []*StoragePeer

func (*StoragePeers) ProtoMessage added in v0.5.0

func (*StoragePeers) ProtoMessage()

func (*StoragePeers) ProtoReflect added in v0.5.0

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

func (*StoragePeers) Reset added in v0.5.0

func (x *StoragePeers) Reset()

func (*StoragePeers) String added in v0.5.0

func (x *StoragePeers) String() string

func (*StoragePeers) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StoragePeersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StoragePeersMultiError) Error added in v0.6.2

func (m StoragePeersMultiError) Error() string

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

type StoragePeersValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StoragePeersValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StoragePeersValidationError) ErrorName added in v0.6.2

func (e StoragePeersValidationError) ErrorName() string

ErrorName returns error name.

func (StoragePeersValidationError) Field added in v0.6.2

Field function returns field value.

func (StoragePeersValidationError) Key added in v0.6.2

Key function returns key value.

func (StoragePeersValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StorageProviderPluginClient added in v0.4.0

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.

func NewStorageProviderPluginClient added in v0.4.0

func NewStorageProviderPluginClient(cc grpc.ClientConnInterface) StorageProviderPluginClient

type StorageProviderPluginServer added in v0.4.0

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 added in v0.4.0

type StorageProviderPlugin_SubscribePrefixClient interface {
	Recv() (*PrefixEvent, error)
	grpc.ClientStream
}

type StorageProviderPlugin_SubscribePrefixServer added in v0.4.0

type StorageProviderPlugin_SubscribePrefixServer interface {
	Send(*PrefixEvent) error
	grpc.ServerStream
}

type StorageQuerierPluginClient added in v0.4.0

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.

func NewStorageQuerierPluginClient added in v0.4.0

func NewStorageQuerierPluginClient(cc grpc.ClientConnInterface) StorageQuerierPluginClient

type StorageQuerierPluginServer added in v0.4.0

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 added in v0.4.0

type StorageQuerierPlugin_InjectQuerierClient interface {
	Send(*QueryResponse) error
	Recv() (*QueryRequest, error)
	grpc.ClientStream
}

type StorageQuerierPlugin_InjectQuerierServer added in v0.4.0

type StorageQuerierPlugin_InjectQuerierServer interface {
	Send(*QueryRequest) error
	Recv() (*QueryResponse, error)
	grpc.ServerStream
}

type StorageQueryServiceClient added in v0.4.0

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.

func NewStorageQueryServiceClient added in v0.4.0

func NewStorageQueryServiceClient(cc grpc.ClientConnInterface) StorageQueryServiceClient

type StorageQueryServiceServer added in v0.4.0

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 added in v0.4.0

type StorageQueryService_SubscribeClient interface {
	Recv() (*SubscriptionEvent, error)
	grpc.ClientStream
}

type StorageQueryService_SubscribeServer added in v0.4.0

type StorageQueryService_SubscribeServer interface {
	Send(*SubscriptionEvent) error
	grpc.ServerStream
}

type StorageServer added in v0.3.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *StorageServer) DeepCopyInto(out *StorageServer)

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

func (*StorageServer) Descriptor deprecated added in v0.4.0

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

Deprecated: Use StorageServer.ProtoReflect.Descriptor instead.

func (*StorageServer) GetAddress added in v0.4.0

func (x *StorageServer) GetAddress() string

func (*StorageServer) GetId added in v0.4.0

func (x *StorageServer) GetId() string

func (*StorageServer) GetPublicKey added in v0.8.0

func (x *StorageServer) GetPublicKey() string

func (*StorageServer) GetSuffrage added in v0.4.0

func (x *StorageServer) GetSuffrage() ClusterStatus

func (*StorageServer) ProtoMessage added in v0.4.0

func (*StorageServer) ProtoMessage()

func (*StorageServer) ProtoReflect added in v0.4.0

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

func (*StorageServer) Reset added in v0.4.0

func (x *StorageServer) Reset()

func (*StorageServer) String added in v0.4.0

func (x *StorageServer) String() string

func (*StorageServer) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StorageServerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageServerMultiError) Error added in v0.6.2

func (m StorageServerMultiError) Error() string

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

type StorageServerValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StorageServerValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StorageServerValidationError) ErrorName added in v0.6.2

func (e StorageServerValidationError) ErrorName() string

ErrorName returns error name.

func (StorageServerValidationError) Field added in v0.6.2

Field function returns field value.

func (StorageServerValidationError) Key added in v0.6.2

Key function returns key value.

func (StorageServerValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StorageStatus added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *StorageStatus) DeepCopyInto(out *StorageStatus)

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

func (*StorageStatus) Descriptor deprecated added in v0.4.0

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

Deprecated: Use StorageStatus.ProtoReflect.Descriptor instead.

func (*StorageStatus) GetClusterStatus added in v0.4.0

func (x *StorageStatus) GetClusterStatus() ClusterStatus

func (*StorageStatus) GetIsWritable added in v0.4.0

func (x *StorageStatus) GetIsWritable() bool

func (*StorageStatus) GetMessage added in v0.4.0

func (x *StorageStatus) GetMessage() string

func (*StorageStatus) GetPeers added in v0.4.0

func (x *StorageStatus) GetPeers() []*StoragePeer

func (*StorageStatus) ProtoMessage added in v0.4.0

func (*StorageStatus) ProtoMessage()

func (*StorageStatus) ProtoReflect added in v0.4.0

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

func (*StorageStatus) Reset added in v0.4.0

func (x *StorageStatus) Reset()

func (*StorageStatus) String added in v0.4.0

func (x *StorageStatus) String() string

func (*StorageStatus) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StorageStatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageStatusMultiError) Error added in v0.6.2

func (m StorageStatusMultiError) Error() string

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

type StorageStatusRequest added in v0.4.0

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

StorageStatusRequest is the request object for the StorageStatus RPC.

func (*StorageStatusRequest) DeepCopy added in v0.6.2

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

func (*StorageStatusRequest) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

func (in *StorageStatusRequest) DeepCopyInto(out *StorageStatusRequest)

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

func (*StorageStatusRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use StorageStatusRequest.ProtoReflect.Descriptor instead.

func (*StorageStatusRequest) ProtoMessage added in v0.4.0

func (*StorageStatusRequest) ProtoMessage()

func (*StorageStatusRequest) ProtoReflect added in v0.4.0

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

func (*StorageStatusRequest) Reset added in v0.4.0

func (x *StorageStatusRequest) Reset()

func (*StorageStatusRequest) String added in v0.4.0

func (x *StorageStatusRequest) String() string

func (*StorageStatusRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StorageStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageStatusRequestMultiError) Error added in v0.6.2

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

type StorageStatusRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StorageStatusRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StorageStatusRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (StorageStatusRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (StorageStatusRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (StorageStatusRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StorageStatusValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StorageStatusValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StorageStatusValidationError) ErrorName added in v0.6.2

func (e StorageStatusValidationError) ErrorName() string

ErrorName returns error name.

func (StorageStatusValidationError) Field added in v0.6.2

Field function returns field value.

func (StorageStatusValidationError) Key added in v0.6.2

Key function returns key value.

func (StorageStatusValidationError) Reason added in v0.6.2

Reason function returns reason value.

type StorageValue added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *StorageValue) DeepCopyInto(out *StorageValue)

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

func (*StorageValue) Descriptor deprecated added in v0.4.0

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

Deprecated: Use StorageValue.ProtoReflect.Descriptor instead.

func (*StorageValue) GetKey added in v0.4.0

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

func (*StorageValue) GetValue added in v0.4.0

func (x *StorageValue) GetValue() []byte

func (*StorageValue) ProtoMessage added in v0.4.0

func (*StorageValue) ProtoMessage()

func (*StorageValue) ProtoReflect added in v0.4.0

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

func (*StorageValue) Reset added in v0.4.0

func (x *StorageValue) Reset()

func (*StorageValue) String added in v0.4.0

func (x *StorageValue) String() string

func (*StorageValue) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m StorageValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StorageValueMultiError) Error added in v0.6.2

func (m StorageValueMultiError) Error() string

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

type StorageValueValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (StorageValueValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (StorageValueValidationError) ErrorName added in v0.6.2

func (e StorageValueValidationError) ErrorName() string

ErrorName returns error name.

func (StorageValueValidationError) Field added in v0.6.2

Field function returns field value.

func (StorageValueValidationError) Key added in v0.6.2

Key function returns key value.

func (StorageValueValidationError) Reason added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m SubjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubjectMultiError) Error added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (e SubjectValidationError) Cause() error

Cause function returns cause value.

func (SubjectValidationError) Error added in v0.6.2

func (e SubjectValidationError) Error() string

Error satisfies the builtin error interface

func (SubjectValidationError) ErrorName added in v0.6.2

func (e SubjectValidationError) ErrorName() string

ErrorName returns error name.

func (SubjectValidationError) Field added in v0.6.2

func (e SubjectValidationError) Field() string

Field function returns field value.

func (SubjectValidationError) Key added in v0.6.2

func (e SubjectValidationError) Key() bool

Key function returns key value.

func (SubjectValidationError) Reason added in v0.6.2

func (e SubjectValidationError) Reason() string

Reason function returns reason value.

type SubscribePeersRequest added in v0.3.0

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 added in v0.6.2

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

func (*SubscribePeersRequest) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

func (in *SubscribePeersRequest) DeepCopyInto(out *SubscribePeersRequest)

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

func (*SubscribePeersRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SubscribePeersRequest.ProtoReflect.Descriptor instead.

func (*SubscribePeersRequest) GetId added in v0.3.0

func (x *SubscribePeersRequest) GetId() string

func (*SubscribePeersRequest) ProtoMessage added in v0.3.0

func (*SubscribePeersRequest) ProtoMessage()

func (*SubscribePeersRequest) ProtoReflect added in v0.3.0

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

func (*SubscribePeersRequest) Reset added in v0.3.0

func (x *SubscribePeersRequest) Reset()

func (*SubscribePeersRequest) String added in v0.3.0

func (x *SubscribePeersRequest) String() string

func (*SubscribePeersRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m SubscribePeersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribePeersRequestMultiError) Error added in v0.6.2

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

type SubscribePeersRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (SubscribePeersRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (SubscribePeersRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (SubscribePeersRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (SubscribePeersRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (SubscribePeersRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type SubscribePrefixRequest added in v0.4.0

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 added in v0.6.2

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

func (*SubscribePrefixRequest) DeepCopyInterface added in v0.6.2

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 added in v0.6.2

func (in *SubscribePrefixRequest) DeepCopyInto(out *SubscribePrefixRequest)

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

func (*SubscribePrefixRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SubscribePrefixRequest.ProtoReflect.Descriptor instead.

func (*SubscribePrefixRequest) GetPrefix added in v0.4.0

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

func (*SubscribePrefixRequest) ProtoMessage added in v0.4.0

func (*SubscribePrefixRequest) ProtoMessage()

func (*SubscribePrefixRequest) ProtoReflect added in v0.4.0

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

func (*SubscribePrefixRequest) Reset added in v0.4.0

func (x *SubscribePrefixRequest) Reset()

func (*SubscribePrefixRequest) String added in v0.4.0

func (x *SubscribePrefixRequest) String() string

func (*SubscribePrefixRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m SubscribePrefixRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribePrefixRequestMultiError) Error added in v0.6.2

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

type SubscribePrefixRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (SubscribePrefixRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (SubscribePrefixRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (SubscribePrefixRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (SubscribePrefixRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (SubscribePrefixRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type SubscribeRequest added in v0.2.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *SubscribeRequest) DeepCopyInto(out *SubscribeRequest)

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

func (*SubscribeRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) GetPrefix added in v0.2.2

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

func (*SubscribeRequest) ProtoMessage added in v0.2.2

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) ProtoReflect added in v0.2.2

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

func (*SubscribeRequest) Reset added in v0.2.2

func (x *SubscribeRequest) Reset()

func (*SubscribeRequest) String added in v0.2.2

func (x *SubscribeRequest) String() string

func (*SubscribeRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m SubscribeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeRequestMultiError) Error added in v0.6.2

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

type SubscribeRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (SubscribeRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (SubscribeRequestValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (SubscribeRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (SubscribeRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (SubscribeRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type SubscriptionEvent added in v0.2.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *SubscriptionEvent) DeepCopyInto(out *SubscriptionEvent)

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

func (*SubscriptionEvent) Descriptor deprecated added in v0.2.2

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

Deprecated: Use SubscriptionEvent.ProtoReflect.Descriptor instead.

func (*SubscriptionEvent) GetKey added in v0.2.2

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

func (*SubscriptionEvent) GetValue added in v0.2.2

func (x *SubscriptionEvent) GetValue() []byte

func (*SubscriptionEvent) ProtoMessage added in v0.2.2

func (*SubscriptionEvent) ProtoMessage()

func (*SubscriptionEvent) ProtoReflect added in v0.2.2

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

func (*SubscriptionEvent) Reset added in v0.2.2

func (x *SubscriptionEvent) Reset()

func (*SubscriptionEvent) String added in v0.2.2

func (x *SubscriptionEvent) String() string

func (*SubscriptionEvent) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m SubscriptionEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscriptionEventMultiError) Error added in v0.6.2

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

type SubscriptionEventValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (SubscriptionEventValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (SubscriptionEventValidationError) ErrorName added in v0.6.2

ErrorName returns error name.

func (SubscriptionEventValidationError) Field added in v0.6.2

Field function returns field value.

func (SubscriptionEventValidationError) Key added in v0.6.2

Key function returns key value.

func (SubscriptionEventValidationError) Reason added in v0.6.2

Reason function returns reason value.

type UnimplementedAdminServer

type UnimplementedAdminServer struct {
}

UnimplementedAdminServer must be embedded to have forward compatible implementations.

func (UnimplementedAdminServer) DeleteEdge added in v0.1.3

func (UnimplementedAdminServer) DeleteGroup

func (UnimplementedAdminServer) DeleteNetworkACL

func (UnimplementedAdminServer) DeleteRole

func (UnimplementedAdminServer) DeleteRoleBinding

func (UnimplementedAdminServer) DeleteRoute

func (UnimplementedAdminServer) GetEdge added in v0.1.3

func (UnimplementedAdminServer) GetGroup

func (UnimplementedAdminServer) GetNetworkACL

func (UnimplementedAdminServer) GetRole

func (UnimplementedAdminServer) GetRoleBinding

func (UnimplementedAdminServer) GetRoute

func (UnimplementedAdminServer) ListEdges added in v0.1.3

func (UnimplementedAdminServer) ListGroups

func (UnimplementedAdminServer) ListNetworkACLs

func (UnimplementedAdminServer) ListRoleBindings

func (UnimplementedAdminServer) ListRoles

func (UnimplementedAdminServer) ListRoutes

func (UnimplementedAdminServer) PutEdge added in v0.1.3

func (UnimplementedAdminServer) PutGroup

func (UnimplementedAdminServer) PutNetworkACL

func (UnimplementedAdminServer) PutRole

func (UnimplementedAdminServer) PutRoleBinding

func (UnimplementedAdminServer) PutRoute

type UnimplementedAppDaemonServer added in v0.2.2

type UnimplementedAppDaemonServer struct {
}

UnimplementedAppDaemonServer must be embedded to have forward compatible implementations.

func (UnimplementedAppDaemonServer) AnnounceDHT added in v0.2.4

func (UnimplementedAppDaemonServer) Connect added in v0.2.2

func (UnimplementedAppDaemonServer) Disconnect added in v0.2.2

func (UnimplementedAppDaemonServer) LeaveDHT added in v0.2.4

func (UnimplementedAppDaemonServer) Metrics added in v0.2.2

func (UnimplementedAppDaemonServer) Publish added in v0.2.2

func (UnimplementedAppDaemonServer) Query added in v0.2.2

func (UnimplementedAppDaemonServer) Status added in v0.2.2

func (UnimplementedAppDaemonServer) Subscribe added in v0.2.2

type UnimplementedAuthPluginServer added in v0.1.4

type UnimplementedAuthPluginServer struct {
}

UnimplementedAuthPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthPluginServer) Authenticate added in v0.1.4

type UnimplementedIPAMPluginServer added in v0.1.4

type UnimplementedIPAMPluginServer struct {
}

UnimplementedIPAMPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedIPAMPluginServer) Allocate added in v0.1.4

func (UnimplementedIPAMPluginServer) Release added in v0.1.4

type UnimplementedMembershipServer added in v0.2.2

type UnimplementedMembershipServer struct {
}

UnimplementedMembershipServer must be embedded to have forward compatible implementations.

func (UnimplementedMembershipServer) Apply added in v0.2.2

func (UnimplementedMembershipServer) GetCurrentConsensus added in v0.8.0

func (UnimplementedMembershipServer) Join added in v0.2.2

func (UnimplementedMembershipServer) Leave added in v0.2.2

func (UnimplementedMembershipServer) SubscribePeers added in v0.3.0

func (UnimplementedMembershipServer) Update added in v0.2.2

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 added in v0.4.0

type UnimplementedPluginServer

type UnimplementedPluginServer struct {
}

UnimplementedPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedPluginServer) Close added in v0.1.4

func (UnimplementedPluginServer) Configure

func (UnimplementedPluginServer) GetInfo

type UnimplementedRegistrarServer added in v0.9.0

type UnimplementedRegistrarServer struct {
}

UnimplementedRegistrarServer must be embedded to have forward compatible implementations.

func (UnimplementedRegistrarServer) Lookup added in v0.9.0

func (UnimplementedRegistrarServer) Register added in v0.9.0

type UnimplementedStorageProviderPluginServer added in v0.4.0

type UnimplementedStorageProviderPluginServer struct {
}

UnimplementedStorageProviderPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageProviderPluginServer) AddObserver added in v0.4.0

func (UnimplementedStorageProviderPluginServer) AddVoter added in v0.4.0

func (UnimplementedStorageProviderPluginServer) Bootstrap added in v0.4.0

func (UnimplementedStorageProviderPluginServer) DeleteValue added in v0.4.0

func (UnimplementedStorageProviderPluginServer) DemoteVoter added in v0.4.0

func (UnimplementedStorageProviderPluginServer) GetLeader added in v0.4.0

func (UnimplementedStorageProviderPluginServer) GetPeers added in v0.5.0

func (UnimplementedStorageProviderPluginServer) GetStatus added in v0.4.0

func (UnimplementedStorageProviderPluginServer) GetValue added in v0.4.0

func (UnimplementedStorageProviderPluginServer) ListKeys added in v0.4.0

func (UnimplementedStorageProviderPluginServer) ListValues added in v0.4.0

func (UnimplementedStorageProviderPluginServer) PutValue added in v0.4.0

func (UnimplementedStorageProviderPluginServer) RemovePeer added in v0.4.0

func (UnimplementedStorageProviderPluginServer) SubscribePrefix added in v0.4.0

type UnimplementedStorageQuerierPluginServer added in v0.4.0

type UnimplementedStorageQuerierPluginServer struct {
}

UnimplementedStorageQuerierPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageQuerierPluginServer) InjectQuerier added in v0.4.0

type UnimplementedStorageQueryServiceServer added in v0.4.0

type UnimplementedStorageQueryServiceServer struct {
}

UnimplementedStorageQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageQueryServiceServer) Publish added in v0.4.0

func (UnimplementedStorageQueryServiceServer) Query added in v0.4.0

func (UnimplementedStorageQueryServiceServer) Subscribe added in v0.4.0

type UnimplementedWatchPluginServer added in v0.1.4

type UnimplementedWatchPluginServer struct {
}

UnimplementedWatchPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedWatchPluginServer) Emit added in v0.1.4

type UnimplementedWebRTCServer

type UnimplementedWebRTCServer struct {
}

UnimplementedWebRTCServer must be embedded to have forward compatible implementations.

func (UnimplementedWebRTCServer) StartDataChannel

func (UnimplementedWebRTCServer) StartSignalChannel added in v0.4.0

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 added in v0.2.2

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 added in v0.1.4

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 added in v0.1.4

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 added in v0.2.2

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 added in v0.9.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.1.4

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 added in v0.2.2

type UpdateRequest struct {

	// id is the ID of the node.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// public_key is the public key of the node to broadcast to peers.
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// primary_endpoint 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"`
	// wireguard_endpoints is a list of WireGuard endpoints for the node.
	WireguardEndpoints []string `protobuf:"bytes,4,rep,name=wireguardEndpoints,proto3" json:"wireguardEndpoints,omitempty"`
	// zone_awareness_id is the zone awareness ID of the node.
	ZoneAwarenessID string `protobuf:"bytes,5,opt,name=zoneAwarenessID,proto3" json:"zoneAwarenessID,omitempty"`
	// as_voter 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *UpdateRequest) DeepCopyInto(out *UpdateRequest)

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

func (*UpdateRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetAsVoter added in v0.2.2

func (x *UpdateRequest) GetAsVoter() bool

func (*UpdateRequest) GetFeatures added in v0.2.2

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

func (*UpdateRequest) GetId added in v0.2.2

func (x *UpdateRequest) GetId() string

func (*UpdateRequest) GetMultiaddrs added in v0.4.0

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

func (*UpdateRequest) GetPrimaryEndpoint added in v0.2.2

func (x *UpdateRequest) GetPrimaryEndpoint() string

func (*UpdateRequest) GetPublicKey added in v0.2.2

func (x *UpdateRequest) GetPublicKey() string

func (*UpdateRequest) GetRoutes added in v0.2.2

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

func (*UpdateRequest) GetWireguardEndpoints added in v0.2.2

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

func (*UpdateRequest) GetZoneAwarenessID added in v0.7.0

func (x *UpdateRequest) GetZoneAwarenessID() string

func (*UpdateRequest) ProtoMessage added in v0.2.2

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect added in v0.2.2

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

func (*UpdateRequest) Reset added in v0.2.2

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String added in v0.2.2

func (x *UpdateRequest) String() string

func (*UpdateRequest) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m UpdateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRequestMultiError) Error added in v0.6.2

func (m UpdateRequestMultiError) Error() string

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

type UpdateRequestValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (UpdateRequestValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (UpdateRequestValidationError) ErrorName added in v0.6.2

func (e UpdateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRequestValidationError) Field added in v0.6.2

Field function returns field value.

func (UpdateRequestValidationError) Key added in v0.6.2

Key function returns key value.

func (UpdateRequestValidationError) Reason added in v0.6.2

Reason function returns reason value.

type UpdateResponse added in v0.2.2

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

UpdateResponse is a response to an update request. It is currently empty.

func (*UpdateResponse) DeepCopy added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *UpdateResponse) DeepCopyInto(out *UpdateResponse)

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

func (*UpdateResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage added in v0.2.2

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v0.2.2

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

func (*UpdateResponse) Reset added in v0.2.2

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String added in v0.2.2

func (x *UpdateResponse) String() string

func (*UpdateResponse) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m UpdateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResponseMultiError) Error added in v0.6.2

func (m UpdateResponseMultiError) Error() string

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

type UpdateResponseValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (UpdateResponseValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (UpdateResponseValidationError) ErrorName added in v0.6.2

func (e UpdateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateResponseValidationError) Field added in v0.6.2

Field function returns field value.

func (UpdateResponseValidationError) Key added in v0.6.2

Key function returns key value.

func (UpdateResponseValidationError) Reason added in v0.6.2

Reason function returns reason value.

type WatchPluginClient added in v0.1.4

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.

func NewWatchPluginClient added in v0.1.4

func NewWatchPluginClient(cc grpc.ClientConnInterface) WatchPluginClient

type WatchPluginServer added in v0.1.4

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 added in v0.4.0

type WebRTCSignal struct {

	// node_id 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (in *WebRTCSignal) DeepCopyInto(out *WebRTCSignal)

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

func (*WebRTCSignal) Descriptor deprecated added in v0.4.0

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

Deprecated: Use WebRTCSignal.ProtoReflect.Descriptor instead.

func (*WebRTCSignal) GetCandidate added in v0.4.0

func (x *WebRTCSignal) GetCandidate() string

func (*WebRTCSignal) GetDescription added in v0.4.0

func (x *WebRTCSignal) GetDescription() string

func (*WebRTCSignal) GetNodeID added in v0.7.0

func (x *WebRTCSignal) GetNodeID() string

func (*WebRTCSignal) ProtoMessage added in v0.4.0

func (*WebRTCSignal) ProtoMessage()

func (*WebRTCSignal) ProtoReflect added in v0.4.0

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

func (*WebRTCSignal) Reset added in v0.4.0

func (x *WebRTCSignal) Reset()

func (*WebRTCSignal) String added in v0.4.0

func (x *WebRTCSignal) String() string

func (*WebRTCSignal) Validate added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m WebRTCSignalMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WebRTCSignalMultiError) Error added in v0.6.2

func (m WebRTCSignalMultiError) Error() string

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

type WebRTCSignalValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (WebRTCSignalValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (WebRTCSignalValidationError) ErrorName added in v0.6.2

func (e WebRTCSignalValidationError) ErrorName() string

ErrorName returns error name.

func (WebRTCSignalValidationError) Field added in v0.6.2

Field function returns field value.

func (WebRTCSignalValidationError) Key added in v0.6.2

Key function returns key value.

func (WebRTCSignalValidationError) Reason added in v0.6.2

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 added in v0.4.0

type WebRTC_StartSignalChannelClient interface {
	Send(*WebRTCSignal) error
	Recv() (*WebRTCSignal, error)
	grpc.ClientStream
}

type WebRTC_StartSignalChannelServer added in v0.4.0

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"`
	// allowed_ips is the list of allowed IPs for the peer.
	AllowedIPs []string `protobuf:"bytes,2,rep,name=allowedIPs,proto3" json:"allowedIPs,omitempty"`
	// allowed_routes 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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.7.0

func (x *WireGuardPeer) GetAllowedIPs() []string

func (*WireGuardPeer) GetAllowedRoutes

func (x *WireGuardPeer) GetAllowedRoutes() []string

func (*WireGuardPeer) GetNode added in v0.4.0

func (x *WireGuardPeer) GetNode() *MeshNode

func (*WireGuardPeer) GetProto added in v0.4.0

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

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 added in v0.6.2

func (m WireGuardPeerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WireGuardPeerMultiError) Error added in v0.6.2

func (m WireGuardPeerMultiError) Error() string

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

type WireGuardPeerValidationError added in v0.6.2

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 added in v0.6.2

Cause function returns cause value.

func (WireGuardPeerValidationError) Error added in v0.6.2

Error satisfies the builtin error interface

func (WireGuardPeerValidationError) ErrorName added in v0.6.2

func (e WireGuardPeerValidationError) ErrorName() string

ErrorName returns error name.

func (WireGuardPeerValidationError) Field added in v0.6.2

Field function returns field value.

func (WireGuardPeerValidationError) Key added in v0.6.2

Key function returns key value.

func (WireGuardPeerValidationError) Reason added in v0.6.2

Reason function returns reason value.

Jump to

Keyboard shortcuts

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