Documentation ¶
Index ¶
- Variables
- type Capabilities
- type ConnectionStatus
- func (ConnectionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionStatus) Enum() *ConnectionStatus
- func (ConnectionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionStatus) Number() protoreflect.EnumNumber
- func (x ConnectionStatus) String() string
- func (ConnectionStatus) Type() protoreflect.EnumType
- type Controller
- func (*Controller) Descriptor() ([]byte, []int)deprecated
- func (x *Controller) GetAuthKey() *auth.AuthKey
- func (x *Controller) GetCapabilities() *Capabilities
- func (x *Controller) GetControllerID() string
- func (x *Controller) GetExternalIPv4() string
- func (x *Controller) GetFedID() string
- func (x *Controller) GetFedToken() string
- func (x *Controller) GetHost() string
- func (x *Controller) GetLocation() *location.Location
- func (x *Controller) GetMetrics() *Metrics
- func (x *Controller) GetPort() int32
- func (x *Controller) GetPriority() int32
- func (x *Controller) GetStatus() *Status
- func (*Controller) ProtoMessage()
- func (x *Controller) ProtoReflect() protoreflect.Message
- func (x *Controller) Reset()
- func (x *Controller) String() string
- type ControllerServices
- func (*ControllerServices) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerServices) GetRelay() *RelayManagedService
- func (x *ControllerServices) GetSaaS() *SaaS
- func (*ControllerServices) ProtoMessage()
- func (x *ControllerServices) ProtoReflect() protoreflect.Message
- func (x *ControllerServices) Reset()
- func (x *ControllerServices) String() string
- type Controllers
- type Federation
- func (*Federation) Descriptor() ([]byte, []int)deprecated
- func (x *Federation) GetControllers() map[string]*Controller
- func (x *Federation) GetFedID() string
- func (x *Federation) GetFedToken() string
- func (x *Federation) GetNodes() map[string]string
- func (*Federation) ProtoMessage()
- func (x *Federation) ProtoReflect() protoreflect.Message
- func (x *Federation) Reset()
- func (x *Federation) String() string
- type FederationEndpoints
- func (*FederationEndpoints) Descriptor() ([]byte, []int)deprecated
- func (x *FederationEndpoints) GetControllers() map[string]*Controller
- func (x *FederationEndpoints) GetFedID() string
- func (*FederationEndpoints) ProtoMessage()
- func (x *FederationEndpoints) ProtoReflect() protoreflect.Message
- func (x *FederationEndpoints) Reset()
- func (x *FederationEndpoints) String() string
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *Metrics) GetHostMetrics() *metrics.HostMetrics
- func (x *Metrics) GetNetDevStats() *metrics.NetworkMetrics
- func (*Metrics) ProtoMessage()
- func (x *Metrics) ProtoReflect() protoreflect.Message
- func (x *Metrics) Reset()
- func (x *Metrics) String() string
- type RelayManagedService
- func (*RelayManagedService) Descriptor() ([]byte, []int)deprecated
- func (x *RelayManagedService) GetEnabled() bool
- func (x *RelayManagedService) GetExternalIPv4() string
- func (*RelayManagedService) ProtoMessage()
- func (x *RelayManagedService) ProtoReflect() protoreflect.Message
- func (x *RelayManagedService) Reset()
- func (x *RelayManagedService) String() string
- type SaaS
- func (*SaaS) Descriptor() ([]byte, []int)deprecated
- func (x *SaaS) GetControllers() []*SaaSController
- func (x *SaaS) GetEnabled() bool
- func (x *SaaS) GetPublic() bool
- func (x *SaaS) GetTiers() []string
- func (*SaaS) ProtoMessage()
- func (x *SaaS) ProtoReflect() protoreflect.Message
- func (x *SaaS) Reset()
- func (x *SaaS) String() string
- type SaaSController
- func (*SaaSController) Descriptor() ([]byte, []int)deprecated
- func (x *SaaSController) GetAuthServer() string
- func (x *SaaSController) GetEndpoint() string
- func (x *SaaSController) GetLocation() string
- func (x *SaaSController) GetName() string
- func (*SaaSController) ProtoMessage()
- func (x *SaaSController) ProtoReflect() protoreflect.Message
- func (x *SaaSController) Reset()
- func (x *SaaSController) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetConnectedUsers() int32
- func (x *Status) GetLastUpdated() int64
- func (x *Status) GetRoutedNodes() int32
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConnectionStatus_name = map[int32]string{ 0: "ONLINE", 1: "OFFLINE", } ConnectionStatus_value = map[string]int32{ "ONLINE": 0, "OFFLINE": 1, } )
Enum value maps for ConnectionStatus.
View Source
var File_mmesh_protobuf_network_v1_resources_controller_controller_proto protoreflect.FileDescriptor
View Source
var File_mmesh_protobuf_network_v1_resources_controller_federation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
type Capabilities struct { Services *ControllerServices `protobuf:"bytes,1,opt,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*Capabilities) Descriptor
deprecated
func (*Capabilities) Descriptor() ([]byte, []int)
Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.
func (*Capabilities) GetServices ¶
func (x *Capabilities) GetServices() *ControllerServices
func (*Capabilities) ProtoMessage ¶
func (*Capabilities) ProtoMessage()
func (*Capabilities) ProtoReflect ¶
func (x *Capabilities) ProtoReflect() protoreflect.Message
func (*Capabilities) Reset ¶
func (x *Capabilities) Reset()
func (*Capabilities) String ¶
func (x *Capabilities) String() string
type ConnectionStatus ¶
type ConnectionStatus int32
const ( ConnectionStatus_ONLINE ConnectionStatus = 0 ConnectionStatus_OFFLINE ConnectionStatus = 1 )
func (ConnectionStatus) Descriptor ¶
func (ConnectionStatus) Descriptor() protoreflect.EnumDescriptor
func (ConnectionStatus) Enum ¶
func (x ConnectionStatus) Enum() *ConnectionStatus
func (ConnectionStatus) EnumDescriptor
deprecated
func (ConnectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionStatus.Descriptor instead.
func (ConnectionStatus) Number ¶
func (x ConnectionStatus) Number() protoreflect.EnumNumber
func (ConnectionStatus) String ¶
func (x ConnectionStatus) String() string
func (ConnectionStatus) Type ¶
func (ConnectionStatus) Type() protoreflect.EnumType
type Controller ¶
type Controller struct { FedID string `protobuf:"bytes,1,opt,name=fedID,proto3" json:"fedID,omitempty"` FedToken string `protobuf:"bytes,2,opt,name=fedToken,proto3" json:"fedToken,omitempty"` ControllerID string `protobuf:"bytes,3,opt,name=controllerID,proto3" json:"controllerID,omitempty"` AuthKey *auth.AuthKey `protobuf:"bytes,4,opt,name=authKey,proto3" json:"authKey,omitempty"` Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` ExternalIPv4 string `protobuf:"bytes,7,opt,name=externalIPv4,proto3" json:"externalIPv4,omitempty"` Priority int32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` Location *location.Location `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"` Capabilities *Capabilities `protobuf:"bytes,10,opt,name=capabilities,proto3" json:"capabilities,omitempty"` Status *Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` Metrics *Metrics `protobuf:"bytes,12,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*Controller) Descriptor
deprecated
func (*Controller) Descriptor() ([]byte, []int)
Deprecated: Use Controller.ProtoReflect.Descriptor instead.
func (*Controller) GetAuthKey ¶
func (x *Controller) GetAuthKey() *auth.AuthKey
func (*Controller) GetCapabilities ¶
func (x *Controller) GetCapabilities() *Capabilities
func (*Controller) GetControllerID ¶
func (x *Controller) GetControllerID() string
func (*Controller) GetExternalIPv4 ¶
func (x *Controller) GetExternalIPv4() string
func (*Controller) GetFedID ¶
func (x *Controller) GetFedID() string
func (*Controller) GetFedToken ¶
func (x *Controller) GetFedToken() string
func (*Controller) GetHost ¶
func (x *Controller) GetHost() string
func (*Controller) GetLocation ¶
func (x *Controller) GetLocation() *location.Location
func (*Controller) GetMetrics ¶
func (x *Controller) GetMetrics() *Metrics
func (*Controller) GetPort ¶
func (x *Controller) GetPort() int32
func (*Controller) GetPriority ¶
func (x *Controller) GetPriority() int32
func (*Controller) GetStatus ¶
func (x *Controller) GetStatus() *Status
func (*Controller) ProtoMessage ¶
func (*Controller) ProtoMessage()
func (*Controller) ProtoReflect ¶
func (x *Controller) ProtoReflect() protoreflect.Message
func (*Controller) Reset ¶
func (x *Controller) Reset()
func (*Controller) String ¶
func (x *Controller) String() string
type ControllerServices ¶
type ControllerServices struct { Relay *RelayManagedService `protobuf:"bytes,1,opt,name=relay,proto3" json:"relay,omitempty"` SaaS *SaaS `protobuf:"bytes,2,opt,name=SaaS,proto3" json:"SaaS,omitempty"` // contains filtered or unexported fields }
func (*ControllerServices) Descriptor
deprecated
func (*ControllerServices) Descriptor() ([]byte, []int)
Deprecated: Use ControllerServices.ProtoReflect.Descriptor instead.
func (*ControllerServices) GetRelay ¶
func (x *ControllerServices) GetRelay() *RelayManagedService
func (*ControllerServices) GetSaaS ¶
func (x *ControllerServices) GetSaaS() *SaaS
func (*ControllerServices) ProtoMessage ¶
func (*ControllerServices) ProtoMessage()
func (*ControllerServices) ProtoReflect ¶
func (x *ControllerServices) ProtoReflect() protoreflect.Message
func (*ControllerServices) Reset ¶
func (x *ControllerServices) Reset()
func (*ControllerServices) String ¶
func (x *ControllerServices) String() string
type Controllers ¶
type Controllers struct { Controllers []*Controller `protobuf:"bytes,1,rep,name=controllers,proto3" json:"controllers,omitempty"` // contains filtered or unexported fields }
func (*Controllers) Descriptor
deprecated
func (*Controllers) Descriptor() ([]byte, []int)
Deprecated: Use Controllers.ProtoReflect.Descriptor instead.
func (*Controllers) GetControllers ¶
func (x *Controllers) GetControllers() []*Controller
func (*Controllers) ProtoMessage ¶
func (*Controllers) ProtoMessage()
func (*Controllers) ProtoReflect ¶
func (x *Controllers) ProtoReflect() protoreflect.Message
func (*Controllers) Reset ¶
func (x *Controllers) Reset()
func (*Controllers) String ¶
func (x *Controllers) String() string
type Federation ¶
type Federation struct { FedID string `protobuf:"bytes,1,opt,name=fedID,proto3" json:"fedID,omitempty"` FedToken string `protobuf:"bytes,2,opt,name=fedToken,proto3" json:"fedToken,omitempty"` Controllers map[string]*Controller `` // map[controllerID]*Controller /* 163-byte string literal not displayed */ Nodes map[string]string `` // map[mmID]controllerID /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Federation) Descriptor
deprecated
func (*Federation) Descriptor() ([]byte, []int)
Deprecated: Use Federation.ProtoReflect.Descriptor instead.
func (*Federation) GetControllers ¶
func (x *Federation) GetControllers() map[string]*Controller
func (*Federation) GetFedID ¶
func (x *Federation) GetFedID() string
func (*Federation) GetFedToken ¶
func (x *Federation) GetFedToken() string
func (*Federation) GetNodes ¶
func (x *Federation) GetNodes() map[string]string
func (*Federation) ProtoMessage ¶
func (*Federation) ProtoMessage()
func (*Federation) ProtoReflect ¶
func (x *Federation) ProtoReflect() protoreflect.Message
func (*Federation) Reset ¶
func (x *Federation) Reset()
func (*Federation) String ¶
func (x *Federation) String() string
type FederationEndpoints ¶
type FederationEndpoints struct { FedID string `protobuf:"bytes,1,opt,name=fedID,proto3" json:"fedID,omitempty"` Controllers map[string]*Controller `` // map[controllerID]*Controller /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FederationEndpoints) Descriptor
deprecated
func (*FederationEndpoints) Descriptor() ([]byte, []int)
Deprecated: Use FederationEndpoints.ProtoReflect.Descriptor instead.
func (*FederationEndpoints) GetControllers ¶
func (x *FederationEndpoints) GetControllers() map[string]*Controller
func (*FederationEndpoints) GetFedID ¶
func (x *FederationEndpoints) GetFedID() string
func (*FederationEndpoints) ProtoMessage ¶
func (*FederationEndpoints) ProtoMessage()
func (*FederationEndpoints) ProtoReflect ¶
func (x *FederationEndpoints) ProtoReflect() protoreflect.Message
func (*FederationEndpoints) Reset ¶
func (x *FederationEndpoints) Reset()
func (*FederationEndpoints) String ¶
func (x *FederationEndpoints) String() string
type Metrics ¶
type Metrics struct { HostMetrics *metrics.HostMetrics `protobuf:"bytes,2,opt,name=hostMetrics,proto3" json:"hostMetrics,omitempty"` NetDevStats *metrics.NetworkMetrics `protobuf:"bytes,3,opt,name=netDevStats,proto3" json:"netDevStats,omitempty"` // contains filtered or unexported fields }
func (*Metrics) GetHostMetrics ¶
func (x *Metrics) GetHostMetrics() *metrics.HostMetrics
func (*Metrics) GetNetDevStats ¶
func (x *Metrics) GetNetDevStats() *metrics.NetworkMetrics
func (*Metrics) ProtoReflect ¶
func (x *Metrics) ProtoReflect() protoreflect.Message
type RelayManagedService ¶
type RelayManagedService struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` ExternalIPv4 string `protobuf:"bytes,2,opt,name=externalIPv4,proto3" json:"externalIPv4,omitempty"` // contains filtered or unexported fields }
func (*RelayManagedService) Descriptor
deprecated
func (*RelayManagedService) Descriptor() ([]byte, []int)
Deprecated: Use RelayManagedService.ProtoReflect.Descriptor instead.
func (*RelayManagedService) GetEnabled ¶
func (x *RelayManagedService) GetEnabled() bool
func (*RelayManagedService) GetExternalIPv4 ¶
func (x *RelayManagedService) GetExternalIPv4() string
func (*RelayManagedService) ProtoMessage ¶
func (*RelayManagedService) ProtoMessage()
func (*RelayManagedService) ProtoReflect ¶
func (x *RelayManagedService) ProtoReflect() protoreflect.Message
func (*RelayManagedService) Reset ¶
func (x *RelayManagedService) Reset()
func (*RelayManagedService) String ¶
func (x *RelayManagedService) String() string
type SaaS ¶
type SaaS struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Public bool `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"` Tiers []string `protobuf:"bytes,3,rep,name=tiers,proto3" json:"tiers,omitempty"` Controllers []*SaaSController `protobuf:"bytes,4,rep,name=controllers,proto3" json:"controllers,omitempty"` // contains filtered or unexported fields }
func (*SaaS) GetControllers ¶
func (x *SaaS) GetControllers() []*SaaSController
func (*SaaS) ProtoReflect ¶
func (x *SaaS) ProtoReflect() protoreflect.Message
type SaaSController ¶
type SaaSController struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` AuthServer string `protobuf:"bytes,3,opt,name=authServer,proto3" json:"authServer,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*SaaSController) Descriptor
deprecated
func (*SaaSController) Descriptor() ([]byte, []int)
Deprecated: Use SaaSController.ProtoReflect.Descriptor instead.
func (*SaaSController) GetAuthServer ¶
func (x *SaaSController) GetAuthServer() string
func (*SaaSController) GetEndpoint ¶
func (x *SaaSController) GetEndpoint() string
func (*SaaSController) GetLocation ¶
func (x *SaaSController) GetLocation() string
func (*SaaSController) GetName ¶
func (x *SaaSController) GetName() string
func (*SaaSController) ProtoMessage ¶
func (*SaaSController) ProtoMessage()
func (*SaaSController) ProtoReflect ¶
func (x *SaaSController) ProtoReflect() protoreflect.Message
func (*SaaSController) Reset ¶
func (x *SaaSController) Reset()
func (*SaaSController) String ¶
func (x *SaaSController) String() string
type Status ¶
type Status struct { LastUpdated int64 `protobuf:"varint,1,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"` RoutedNodes int32 `protobuf:"varint,2,opt,name=routedNodes,proto3" json:"routedNodes,omitempty"` ConnectedUsers int32 `protobuf:"varint,3,opt,name=connectedUsers,proto3" json:"connectedUsers,omitempty"` // contains filtered or unexported fields }
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.