Documentation
¶
Index ¶
- Variables
- type ACE
- func (*ACE) Descriptor() ([]byte, []int)deprecated
- func (x *ACE) GetActions() []*ACEAction
- func (x *ACE) GetDir() ACEDirection
- func (x *ACE) GetId() int32
- func (x *ACE) GetMatches() []*ACEMatch
- func (x *ACE) GetName() string
- func (*ACE) ProtoMessage()
- func (x *ACE) ProtoReflect() protoreflect.Message
- func (x *ACE) Reset()
- func (x *ACE) String() string
- type ACEAction
- func (*ACEAction) Descriptor() ([]byte, []int)deprecated
- func (x *ACEAction) GetAppPort() uint32
- func (x *ACEAction) GetDrop() bool
- func (x *ACEAction) GetLimit() bool
- func (x *ACEAction) GetLimitburst() uint32
- func (x *ACEAction) GetLimitrate() uint32
- func (x *ACEAction) GetLimitunit() string
- func (x *ACEAction) GetPortmap() bool
- func (*ACEAction) ProtoMessage()
- func (x *ACEAction) ProtoReflect() protoreflect.Message
- func (x *ACEAction) Reset()
- func (x *ACEAction) String() string
- type ACEDirection
- func (ACEDirection) Descriptor() protoreflect.EnumDescriptor
- func (x ACEDirection) Enum() *ACEDirection
- func (ACEDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACEDirection) Number() protoreflect.EnumNumber
- func (x ACEDirection) String() string
- func (ACEDirection) Type() protoreflect.EnumType
- type ACEMatch
- type Adapter
- func (*Adapter) Descriptor() ([]byte, []int)deprecated
- func (x *Adapter) GetEthVf() *EthVF
- func (x *Adapter) GetInterfaceOrder() uint32
- func (x *Adapter) GetName() string
- func (x *Adapter) GetType() evecommon.PhyIoType
- func (*Adapter) ProtoMessage()
- func (x *Adapter) ProtoReflect() protoreflect.Message
- func (x *Adapter) Reset()
- func (x *Adapter) String() string
- type AddressType
- func (AddressType) Descriptor() protoreflect.EnumDescriptor
- func (x AddressType) Enum() *AddressType
- func (AddressType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AddressType) Number() protoreflect.EnumNumber
- func (x AddressType) String() string
- func (AddressType) Type() protoreflect.EnumType
- type AppDebugAccessPolicy
- func (*AppDebugAccessPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AppDebugAccessPolicy) GetAllowApp() bool
- func (*AppDebugAccessPolicy) ProtoMessage()
- func (x *AppDebugAccessPolicy) ProtoReflect() protoreflect.Message
- func (x *AppDebugAccessPolicy) Reset()
- func (x *AppDebugAccessPolicy) String() string
- type AppInstanceConfig
- func (*AppInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AppInstanceConfig) GetActivate() bool
- func (x *AppInstanceConfig) GetAdapters() []*Adapter
- func (x *AppInstanceConfig) GetCipherData() *evecommon.CipherBlock
- func (x *AppInstanceConfig) GetCloudInitVersion() uint32
- func (x *AppInstanceConfig) GetCollectStatsIPAddr() string
- func (x *AppInstanceConfig) GetDesignatedNodeId() string
- func (x *AppInstanceConfig) GetDisplayname() string
- func (x *AppInstanceConfig) GetDrives() []*Drive
- func (x *AppInstanceConfig) GetFixedresources() *VmConfig
- func (x *AppInstanceConfig) GetInterfaces() []*NetworkAdapter
- func (x *AppInstanceConfig) GetMetaDataType() MetaDataType
- func (x *AppInstanceConfig) GetPatchRef() *PatchEnvelopeRef
- func (x *AppInstanceConfig) GetProfileList() []string
- func (x *AppInstanceConfig) GetPurge() *InstanceOpsCmd
- func (x *AppInstanceConfig) GetRemoteConsole() bool
- func (x *AppInstanceConfig) GetRestart() *InstanceOpsCmd
- func (x *AppInstanceConfig) GetRuntimeType() AppRuntimeType
- func (x *AppInstanceConfig) GetService() bool
- func (x *AppInstanceConfig) GetSnapshot() *SnapshotConfig
- func (x *AppInstanceConfig) GetStartDelayInSeconds() uint32
- func (x *AppInstanceConfig) GetUserData() string
- func (x *AppInstanceConfig) GetUuidandversion() *UUIDandVersion
- func (x *AppInstanceConfig) GetVmResolution() string
- func (x *AppInstanceConfig) GetVolumeRefList() []*VolumeRef
- func (*AppInstanceConfig) ProtoMessage()
- func (x *AppInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *AppInstanceConfig) Reset()
- func (x *AppInstanceConfig) String() string
- type AppRuntimeType
- func (AppRuntimeType) Descriptor() protoreflect.EnumDescriptor
- func (x AppRuntimeType) Enum() *AppRuntimeType
- func (AppRuntimeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppRuntimeType) Number() protoreflect.EnumNumber
- func (x AppRuntimeType) String() string
- func (AppRuntimeType) Type() protoreflect.EnumType
- type ArpMonitor
- func (*ArpMonitor) Descriptor() ([]byte, []int)deprecated
- func (x *ArpMonitor) GetInterval() uint32
- func (x *ArpMonitor) GetIpTargets() []string
- func (*ArpMonitor) ProtoMessage()
- func (x *ArpMonitor) ProtoReflect() protoreflect.Message
- func (x *ArpMonitor) Reset()
- func (x *ArpMonitor) String() string
- type BaseOS
- func (*BaseOS) Descriptor() ([]byte, []int)deprecated
- func (x *BaseOS) GetActivate() bool
- func (x *BaseOS) GetBaseOsVersion() string
- func (x *BaseOS) GetContentTreeUuid() string
- func (x *BaseOS) GetRetryUpdate() *DeviceOpsCmd
- func (*BaseOS) ProtoMessage()
- func (x *BaseOS) ProtoReflect() protoreflect.Message
- func (x *BaseOS) Reset()
- func (x *BaseOS) String() string
- type BaseOSConfig
- func (*BaseOSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BaseOSConfig) GetActivate() bool
- func (x *BaseOSConfig) GetBaseOSVersion() string
- func (x *BaseOSConfig) GetDrives() []*Drive
- func (x *BaseOSConfig) GetUuidandversion() *UUIDandVersion
- func (x *BaseOSConfig) GetVolumeID() string
- func (*BaseOSConfig) ProtoMessage()
- func (x *BaseOSConfig) ProtoReflect() protoreflect.Message
- func (x *BaseOSConfig) Reset()
- func (x *BaseOSConfig) String() string
- type BondAdapter
- func (*BondAdapter) Descriptor() ([]byte, []int)deprecated
- func (x *BondAdapter) GetArp() *ArpMonitor
- func (x *BondAdapter) GetBondMode() BondMode
- func (x *BondAdapter) GetInterfaceName() string
- func (x *BondAdapter) GetLacpRate() LacpRate
- func (x *BondAdapter) GetLogicallabel() string
- func (x *BondAdapter) GetLowerLayerNames() []string
- func (x *BondAdapter) GetMii() *MIIMonitor
- func (m *BondAdapter) GetMonitoring() isBondAdapter_Monitoring
- func (*BondAdapter) ProtoMessage()
- func (x *BondAdapter) ProtoReflect() protoreflect.Message
- func (x *BondAdapter) Reset()
- func (x *BondAdapter) String() string
- type BondAdapter_Arp
- type BondAdapter_Mii
- type BondMode
- type BootstrapConfig
- func (*BootstrapConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapConfig) GetControllerCerts() []*certs.ZCert
- func (x *BootstrapConfig) GetSignedConfig() *auth.AuthContainer
- func (*BootstrapConfig) ProtoMessage()
- func (x *BootstrapConfig) ProtoReflect() protoreflect.Message
- func (x *BootstrapConfig) Reset()
- func (x *BootstrapConfig) String() string
- type CellularAccessPoint
- func (*CellularAccessPoint) Descriptor() ([]byte, []int)deprecated
- func (x *CellularAccessPoint) GetApn() string
- func (x *CellularAccessPoint) GetAuthProtocol() CellularAuthProtocol
- func (x *CellularAccessPoint) GetCipherData() *evecommon.CipherBlock
- func (x *CellularAccessPoint) GetForbidRoaming() bool
- func (x *CellularAccessPoint) GetPreferredPlmns() []string
- func (x *CellularAccessPoint) GetPreferredRats() []evecommon.RadioAccessTechnology
- func (x *CellularAccessPoint) GetSimSlot() uint32
- func (*CellularAccessPoint) ProtoMessage()
- func (x *CellularAccessPoint) ProtoReflect() protoreflect.Message
- func (x *CellularAccessPoint) Reset()
- func (x *CellularAccessPoint) String() string
- type CellularAuthProtocol
- func (CellularAuthProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x CellularAuthProtocol) Enum() *CellularAuthProtocol
- func (CellularAuthProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x CellularAuthProtocol) Number() protoreflect.EnumNumber
- func (x CellularAuthProtocol) String() string
- func (CellularAuthProtocol) Type() protoreflect.EnumType
- type CellularConfig
- func (*CellularConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CellularConfig) GetAPN() string
- func (x *CellularConfig) GetAccessPoints() []*CellularAccessPoint
- func (x *CellularConfig) GetActivatedSimSlot() uint32
- func (x *CellularConfig) GetLocationTracking() bool
- func (x *CellularConfig) GetProbe() *CellularConnectivityProbe
- func (*CellularConfig) ProtoMessage()
- func (x *CellularConfig) ProtoReflect() protoreflect.Message
- func (x *CellularConfig) Reset()
- func (x *CellularConfig) String() string
- type CellularConnectivityProbe
- func (*CellularConnectivityProbe) Descriptor() ([]byte, []int)deprecated
- func (x *CellularConnectivityProbe) GetCustomProbe() *ConnectivityProbe
- func (x *CellularConnectivityProbe) GetDisable() bool
- func (x *CellularConnectivityProbe) GetProbeAddress() stringdeprecated
- func (*CellularConnectivityProbe) ProtoMessage()
- func (x *CellularConnectivityProbe) ProtoReflect() protoreflect.Message
- func (x *CellularConnectivityProbe) Reset()
- func (x *CellularConnectivityProbe) String() string
- type CompoundEdgeDevConfig
- func (*CompoundEdgeDevConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CompoundEdgeDevConfig) GetAppCmdList() *profile.LocalAppCmdList
- func (x *CompoundEdgeDevConfig) GetDevCmd() *profile.LocalDevCmd
- func (x *CompoundEdgeDevConfig) GetProtectedConfig() *auth.AuthContainer
- func (x *CompoundEdgeDevConfig) GetRadioConfig() *profile.RadioConfig
- func (x *CompoundEdgeDevConfig) GetTimestamp() uint64
- func (*CompoundEdgeDevConfig) ProtoMessage()
- func (x *CompoundEdgeDevConfig) ProtoReflect() protoreflect.Message
- func (x *CompoundEdgeDevConfig) Reset()
- func (x *CompoundEdgeDevConfig) String() string
- type CompoundEdgeDevConfigRequest
- func (*CompoundEdgeDevConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompoundEdgeDevConfigRequest) GetCfgReq() *ConfigRequest
- func (x *CompoundEdgeDevConfigRequest) GetLastCmdTimestamp() uint64
- func (*CompoundEdgeDevConfigRequest) ProtoMessage()
- func (x *CompoundEdgeDevConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CompoundEdgeDevConfigRequest) Reset()
- func (x *CompoundEdgeDevConfigRequest) String() string
- type ConfigItem
- type ConfigRequest
- func (*ConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest) GetConfigHash() string
- func (x *ConfigRequest) GetIntegrityToken() []byte
- func (*ConfigRequest) ProtoMessage()
- func (x *ConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest) Reset()
- func (x *ConfigRequest) String() string
- type ConfigResponse
- func (*ConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigResponse) GetConfig() *EdgeDevConfig
- func (x *ConfigResponse) GetConfigHash() string
- func (*ConfigResponse) ProtoMessage()
- func (x *ConfigResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigResponse) Reset()
- func (x *ConfigResponse) String() string
- type ConnectivityProbe
- func (*ConnectivityProbe) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectivityProbe) GetProbeEndpoint() *ProbeEndpoint
- func (x *ConnectivityProbe) GetProbeMethod() ConnectivityProbeMethod
- func (*ConnectivityProbe) ProtoMessage()
- func (x *ConnectivityProbe) ProtoReflect() protoreflect.Message
- func (x *ConnectivityProbe) Reset()
- func (x *ConnectivityProbe) String() string
- type ConnectivityProbeMethod
- func (ConnectivityProbeMethod) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectivityProbeMethod) Enum() *ConnectivityProbeMethod
- func (ConnectivityProbeMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectivityProbeMethod) Number() protoreflect.EnumNumber
- func (x ConnectivityProbeMethod) String() string
- func (ConnectivityProbeMethod) Type() protoreflect.EnumType
- type ContentTree
- func (*ContentTree) Descriptor() ([]byte, []int)deprecated
- func (x *ContentTree) GetCustomMetaData() string
- func (x *ContentTree) GetDesignatedNodeId() string
- func (x *ContentTree) GetDisplayName() string
- func (x *ContentTree) GetDsId() string
- func (x *ContentTree) GetDsIdsList() []string
- func (x *ContentTree) GetGenerationCount() int64
- func (x *ContentTree) GetIformat() Format
- func (x *ContentTree) GetMaxSizeBytes() uint64
- func (x *ContentTree) GetSha256() string
- func (x *ContentTree) GetSiginfo() *SignatureInfo
- func (x *ContentTree) GetURL() string
- func (x *ContentTree) GetUuid() string
- func (*ContentTree) ProtoMessage()
- func (x *ContentTree) ProtoReflect() protoreflect.Message
- func (x *ContentTree) Reset()
- func (x *ContentTree) String() string
- type DHCPType
- type DatastoreConfig
- func (*DatastoreConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DatastoreConfig) GetApiKey() string
- func (x *DatastoreConfig) GetCipherData() *evecommon.CipherBlock
- func (x *DatastoreConfig) GetDType() DsType
- func (x *DatastoreConfig) GetDpath() string
- func (x *DatastoreConfig) GetDsCertPEM() [][]byte
- func (x *DatastoreConfig) GetFqdn() string
- func (x *DatastoreConfig) GetId() string
- func (x *DatastoreConfig) GetPassword() string
- func (x *DatastoreConfig) GetRegion() string
- func (*DatastoreConfig) ProtoMessage()
- func (x *DatastoreConfig) ProtoReflect() protoreflect.Message
- func (x *DatastoreConfig) Reset()
- func (x *DatastoreConfig) String() string
- type DevDebugAccessPolicy
- func (*DevDebugAccessPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DevDebugAccessPolicy) GetAllowDev() bool
- func (*DevDebugAccessPolicy) ProtoMessage()
- func (x *DevDebugAccessPolicy) ProtoReflect() protoreflect.Message
- func (x *DevDebugAccessPolicy) Reset()
- func (x *DevDebugAccessPolicy) String() string
- type DeviceOpsCmd
- func (*DeviceOpsCmd) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOpsCmd) GetCounter() uint32
- func (x *DeviceOpsCmd) GetDesiredState() bool
- func (x *DeviceOpsCmd) GetOpsTime() string
- func (*DeviceOpsCmd) ProtoMessage()
- func (x *DeviceOpsCmd) ProtoReflect() protoreflect.Message
- func (x *DeviceOpsCmd) Reset()
- func (x *DeviceOpsCmd) String() string
- type DhcpOptionsIgnore
- func (*DhcpOptionsIgnore) Descriptor() ([]byte, []int)deprecated
- func (x *DhcpOptionsIgnore) GetNtpServerExclusively() bool
- func (*DhcpOptionsIgnore) ProtoMessage()
- func (x *DhcpOptionsIgnore) ProtoReflect() protoreflect.Message
- func (x *DhcpOptionsIgnore) Reset()
- func (x *DhcpOptionsIgnore) String() string
- type DiskConfig
- func (*DiskConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DiskConfig) GetDisk() *evecommon.DiskDescription
- func (x *DiskConfig) GetDiskConfig() DiskConfigType
- func (x *DiskConfig) GetOldDisk() *evecommon.DiskDescription
- func (*DiskConfig) ProtoMessage()
- func (x *DiskConfig) ProtoReflect() protoreflect.Message
- func (x *DiskConfig) Reset()
- func (x *DiskConfig) String() string
- type DiskConfigType
- func (DiskConfigType) Descriptor() protoreflect.EnumDescriptor
- func (x DiskConfigType) Enum() *DiskConfigType
- func (DiskConfigType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskConfigType) Number() protoreflect.EnumNumber
- func (x DiskConfigType) String() string
- func (DiskConfigType) Type() protoreflect.EnumType
- type DisksArrayType
- func (DisksArrayType) Descriptor() protoreflect.EnumDescriptor
- func (x DisksArrayType) Enum() *DisksArrayType
- func (DisksArrayType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DisksArrayType) Number() protoreflect.EnumNumber
- func (x DisksArrayType) String() string
- func (DisksArrayType) Type() protoreflect.EnumType
- type DisksConfig
- func (*DisksConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DisksConfig) GetArrayType() DisksArrayType
- func (x *DisksConfig) GetChildren() []*DisksConfig
- func (x *DisksConfig) GetDisks() []*DiskConfig
- func (*DisksConfig) ProtoMessage()
- func (x *DisksConfig) ProtoReflect() protoreflect.Message
- func (x *DisksConfig) Reset()
- func (x *DisksConfig) String() string
- type Drive
- func (*Drive) Descriptor() ([]byte, []int)deprecated
- func (x *Drive) GetDrvtype() DriveType
- func (x *Drive) GetImage() *Image
- func (x *Drive) GetMaxsizebytes() int64
- func (x *Drive) GetPreserve() bool
- func (x *Drive) GetReadonly() bool
- func (x *Drive) GetTarget() Target
- func (*Drive) ProtoMessage()
- func (x *Drive) ProtoReflect() protoreflect.Message
- func (x *Drive) Reset()
- func (x *Drive) String() string
- type DriveType
- type DsType
- type EVE_OPAQUE_OBJECT_CATEGORY
- func (EVE_OPAQUE_OBJECT_CATEGORY) Descriptor() protoreflect.EnumDescriptor
- func (x EVE_OPAQUE_OBJECT_CATEGORY) Enum() *EVE_OPAQUE_OBJECT_CATEGORY
- func (EVE_OPAQUE_OBJECT_CATEGORY) EnumDescriptor() ([]byte, []int)deprecated
- func (x EVE_OPAQUE_OBJECT_CATEGORY) Number() protoreflect.EnumNumber
- func (x EVE_OPAQUE_OBJECT_CATEGORY) String() string
- func (EVE_OPAQUE_OBJECT_CATEGORY) Type() protoreflect.EnumType
- type EVE_PATCH_ENVELOPE_ACTION
- func (EVE_PATCH_ENVELOPE_ACTION) Descriptor() protoreflect.EnumDescriptor
- func (x EVE_PATCH_ENVELOPE_ACTION) Enum() *EVE_PATCH_ENVELOPE_ACTION
- func (EVE_PATCH_ENVELOPE_ACTION) EnumDescriptor() ([]byte, []int)deprecated
- func (x EVE_PATCH_ENVELOPE_ACTION) Number() protoreflect.EnumNumber
- func (x EVE_PATCH_ENVELOPE_ACTION) String() string
- func (EVE_PATCH_ENVELOPE_ACTION) Type() protoreflect.EnumType
- type EdgeDevConfig
- func (*EdgeDevConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EdgeDevConfig) GetApps() []*AppInstanceConfig
- func (x *EdgeDevConfig) GetBackup() *DeviceOpsCmd
- func (x *EdgeDevConfig) GetBase() []*BaseOSConfig
- func (x *EdgeDevConfig) GetBaseos() *BaseOS
- func (x *EdgeDevConfig) GetBonds() []*BondAdapter
- func (x *EdgeDevConfig) GetCipherContexts() []*evecommon.CipherContext
- func (x *EdgeDevConfig) GetCluster() *EdgeNodeCluster
- func (x *EdgeDevConfig) GetConfigItems() []*ConfigItem
- func (x *EdgeDevConfig) GetConfigTimestamp() *timestamppb.Timestamp
- func (x *EdgeDevConfig) GetContentInfo() []*ContentTree
- func (x *EdgeDevConfig) GetControllerEpoch() int64
- func (x *EdgeDevConfig) GetControllercertConfighash() string
- func (x *EdgeDevConfig) GetDatastores() []*DatastoreConfig
- func (x *EdgeDevConfig) GetDeviceIoList() []*PhysicalIO
- func (x *EdgeDevConfig) GetDeviceName() string
- func (x *EdgeDevConfig) GetDisks() *DisksConfig
- func (x *EdgeDevConfig) GetEdgeview() *EdgeViewConfig
- func (x *EdgeDevConfig) GetEnterpriseId() string
- func (x *EdgeDevConfig) GetEnterpriseName() string
- func (x *EdgeDevConfig) GetGlobalProfile() string
- func (x *EdgeDevConfig) GetId() *UUIDandVersion
- func (x *EdgeDevConfig) GetLocConfig() *LOCConfig
- func (x *EdgeDevConfig) GetLocalProfileServer() string
- func (x *EdgeDevConfig) GetMaintenanceMode() bool
- func (x *EdgeDevConfig) GetManufacturer() string
- func (x *EdgeDevConfig) GetNetworkInstances() []*NetworkInstanceConfig
- func (x *EdgeDevConfig) GetNetworks() []*NetworkConfig
- func (x *EdgeDevConfig) GetPatchEnvelopes() []*EvePatchEnvelope
- func (x *EdgeDevConfig) GetProductName() string
- func (x *EdgeDevConfig) GetProfileServerToken() string
- func (x *EdgeDevConfig) GetProjectId() string
- func (x *EdgeDevConfig) GetProjectName() string
- func (x *EdgeDevConfig) GetReboot() *DeviceOpsCmd
- func (x *EdgeDevConfig) GetShutdown() *DeviceOpsCmd
- func (x *EdgeDevConfig) GetSystemAdapterList() []*SystemAdapter
- func (x *EdgeDevConfig) GetVlans() []*VlanAdapter
- func (x *EdgeDevConfig) GetVolumes() []*Volume
- func (*EdgeDevConfig) ProtoMessage()
- func (x *EdgeDevConfig) ProtoReflect() protoreflect.Message
- func (x *EdgeDevConfig) Reset()
- func (x *EdgeDevConfig) String() string
- type EdgeNodeCluster
- func (*EdgeNodeCluster) Descriptor() ([]byte, []int)deprecated
- func (x *EdgeNodeCluster) GetClusterId() string
- func (x *EdgeNodeCluster) GetClusterInterface() string
- func (x *EdgeNodeCluster) GetClusterIpPrefix() string
- func (x *EdgeNodeCluster) GetClusterName() string
- func (x *EdgeNodeCluster) GetEncryptedClusterToken() *evecommon.CipherBlock
- func (x *EdgeNodeCluster) GetIsWorkerNode() bool
- func (x *EdgeNodeCluster) GetJoinServerIp() string
- func (*EdgeNodeCluster) ProtoMessage()
- func (x *EdgeNodeCluster) ProtoReflect() protoreflect.Message
- func (x *EdgeNodeCluster) Reset()
- func (x *EdgeNodeCluster) String() string
- type EdgeViewConfig
- func (*EdgeViewConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EdgeViewConfig) GetAppPolicy() *AppDebugAccessPolicy
- func (x *EdgeViewConfig) GetDevPolicy() *DevDebugAccessPolicy
- func (x *EdgeViewConfig) GetDispCertPem() [][]byte
- func (x *EdgeViewConfig) GetExtPolicy() *ExternalEndPointPolicy
- func (x *EdgeViewConfig) GetGenerationId() uint32
- func (x *EdgeViewConfig) GetToken() string
- func (*EdgeViewConfig) ProtoMessage()
- func (x *EdgeViewConfig) ProtoReflect() protoreflect.Message
- func (x *EdgeViewConfig) Reset()
- func (x *EdgeViewConfig) String() string
- type EthVF
- type EveBinaryArtifact
- func (*EveBinaryArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *EveBinaryArtifact) GetArtifactMetaData() string
- func (m *EveBinaryArtifact) GetBinaryBlob() isEveBinaryArtifact_BinaryBlob
- func (x *EveBinaryArtifact) GetFormat() EVE_OPAQUE_OBJECT_CATEGORY
- func (x *EveBinaryArtifact) GetInline() *InlineOpaqueBase64Data
- func (x *EveBinaryArtifact) GetVolumeRef() *ExternalOpaqueBinaryBlob
- func (*EveBinaryArtifact) ProtoMessage()
- func (x *EveBinaryArtifact) ProtoReflect() protoreflect.Message
- func (x *EveBinaryArtifact) Reset()
- func (x *EveBinaryArtifact) String() string
- type EveBinaryArtifact_Inline
- type EveBinaryArtifact_VolumeRef
- type EvePatchEnvelope
- func (*EvePatchEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *EvePatchEnvelope) GetAction() EVE_PATCH_ENVELOPE_ACTION
- func (x *EvePatchEnvelope) GetAppInstIdsAllowed() []string
- func (x *EvePatchEnvelope) GetArtifacts() []*EveBinaryArtifact
- func (x *EvePatchEnvelope) GetCreateTime() *timestamppb.Timestamp
- func (x *EvePatchEnvelope) GetDisplayName() string
- func (x *EvePatchEnvelope) GetUuid() string
- func (x *EvePatchEnvelope) GetVersion() string
- func (*EvePatchEnvelope) ProtoMessage()
- func (x *EvePatchEnvelope) ProtoReflect() protoreflect.Message
- func (x *EvePatchEnvelope) Reset()
- func (x *EvePatchEnvelope) String() string
- type ExternalEndPointPolicy
- func (*ExternalEndPointPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalEndPointPolicy) GetAllowExt() bool
- func (*ExternalEndPointPolicy) ProtoMessage()
- func (x *ExternalEndPointPolicy) ProtoReflect() protoreflect.Message
- func (x *ExternalEndPointPolicy) Reset()
- func (x *ExternalEndPointPolicy) String() string
- type ExternalOpaqueBinaryBlob
- func (*ExternalOpaqueBinaryBlob) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalOpaqueBinaryBlob) GetBlobMetaData() string
- func (x *ExternalOpaqueBinaryBlob) GetFileNameToUse() string
- func (x *ExternalOpaqueBinaryBlob) GetImageId() string
- func (x *ExternalOpaqueBinaryBlob) GetImageName() string
- func (*ExternalOpaqueBinaryBlob) ProtoMessage()
- func (x *ExternalOpaqueBinaryBlob) ProtoReflect() protoreflect.Message
- func (x *ExternalOpaqueBinaryBlob) Reset()
- func (x *ExternalOpaqueBinaryBlob) String() string
- type Format
- type IPRoute
- func (*IPRoute) Descriptor() ([]byte, []int)deprecated
- func (x *IPRoute) GetDestinationNetwork() string
- func (x *IPRoute) GetGateway() string
- func (x *IPRoute) GetPort() string
- func (x *IPRoute) GetPreferLowerCost() bool
- func (x *IPRoute) GetPreferStrongerWwanSignal() bool
- func (x *IPRoute) GetProbe() *PortProbe
- func (*IPRoute) ProtoMessage()
- func (x *IPRoute) ProtoReflect() protoreflect.Message
- func (x *IPRoute) Reset()
- func (x *IPRoute) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetDsId() string
- func (x *Image) GetIformat() Format
- func (x *Image) GetName() string
- func (x *Image) GetSha256() string
- func (x *Image) GetSiginfo() *SignatureInfo
- func (x *Image) GetSizeBytes() int64
- func (x *Image) GetUuidandversion() *UUIDandVersion
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type InlineOpaqueBase64Data
- func (*InlineOpaqueBase64Data) Descriptor() ([]byte, []int)deprecated
- func (x *InlineOpaqueBase64Data) GetBase64Data() string
- func (x *InlineOpaqueBase64Data) GetBase64MetaData() string
- func (x *InlineOpaqueBase64Data) GetFileNameToUse() string
- func (*InlineOpaqueBase64Data) ProtoMessage()
- func (x *InlineOpaqueBase64Data) ProtoReflect() protoreflect.Message
- func (x *InlineOpaqueBase64Data) Reset()
- func (x *InlineOpaqueBase64Data) String() string
- type InstanceOpsCmd
- func (*InstanceOpsCmd) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceOpsCmd) GetCounter() uint32
- func (x *InstanceOpsCmd) GetOpsTime() string
- func (*InstanceOpsCmd) ProtoMessage()
- func (x *InstanceOpsCmd) ProtoReflect() protoreflect.Message
- func (x *InstanceOpsCmd) Reset()
- func (x *InstanceOpsCmd) String() string
- type IpRange
- type Ipspec
- func (*Ipspec) Descriptor() ([]byte, []int)deprecated
- func (x *Ipspec) GetDhcp() DHCPType
- func (x *Ipspec) GetDhcpOptionsIgnore() *DhcpOptionsIgnore
- func (x *Ipspec) GetDhcpRange() *IpRange
- func (x *Ipspec) GetDns() []string
- func (x *Ipspec) GetDomain() string
- func (x *Ipspec) GetGateway() string
- func (x *Ipspec) GetMoreNtp() []string
- func (x *Ipspec) GetNtp() string
- func (x *Ipspec) GetSubnet() string
- func (*Ipspec) ProtoMessage()
- func (x *Ipspec) ProtoReflect() protoreflect.Message
- func (x *Ipspec) Reset()
- func (x *Ipspec) String() string
- type LOCConfig
- type LacpRate
- type MIIMonitor
- func (*MIIMonitor) Descriptor() ([]byte, []int)deprecated
- func (x *MIIMonitor) GetDowndelay() uint32
- func (x *MIIMonitor) GetInterval() uint32
- func (x *MIIMonitor) GetUpdelay() uint32
- func (*MIIMonitor) ProtoMessage()
- func (x *MIIMonitor) ProtoReflect() protoreflect.Message
- func (x *MIIMonitor) Reset()
- func (x *MIIMonitor) String() string
- type MetaDataType
- func (MetaDataType) Descriptor() protoreflect.EnumDescriptor
- func (x MetaDataType) Enum() *MetaDataType
- func (MetaDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetaDataType) Number() protoreflect.EnumNumber
- func (x MetaDataType) String() string
- func (MetaDataType) Type() protoreflect.EnumType
- type NetworkAdapter
- func (*NetworkAdapter) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkAdapter) GetAccessVlanId() uint32
- func (x *NetworkAdapter) GetAcls() []*ACE
- func (x *NetworkAdapter) GetAddr() string
- func (x *NetworkAdapter) GetAllowToDiscover() bool
- func (x *NetworkAdapter) GetCryptoEid() string
- func (x *NetworkAdapter) GetHostname() string
- func (x *NetworkAdapter) GetInterfaceOrder() uint32
- func (x *NetworkAdapter) GetLispsignature() string
- func (x *NetworkAdapter) GetMacAddress() string
- func (x *NetworkAdapter) GetName() string
- func (x *NetworkAdapter) GetNetworkId() string
- func (x *NetworkAdapter) GetPemcert() []byte
- func (x *NetworkAdapter) GetPemprivatekey() []byte
- func (*NetworkAdapter) ProtoMessage()
- func (x *NetworkAdapter) ProtoReflect() protoreflect.Message
- func (x *NetworkAdapter) Reset()
- func (x *NetworkAdapter) String() string
- type NetworkConfig
- func (*NetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConfig) GetDns() []*ZnetStaticDNSEntry
- func (x *NetworkConfig) GetEntProxy() *ProxyConfig
- func (x *NetworkConfig) GetId() string
- func (x *NetworkConfig) GetIp() *Ipspec
- func (x *NetworkConfig) GetMtu() uint32
- func (x *NetworkConfig) GetType() NetworkType
- func (x *NetworkConfig) GetWireless() *WirelessConfig
- func (*NetworkConfig) ProtoMessage()
- func (x *NetworkConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkConfig) Reset()
- func (x *NetworkConfig) String() string
- type NetworkInstanceConfig
- func (*NetworkInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstanceConfig) GetActivate() bool
- func (x *NetworkInstanceConfig) GetCfg() *NetworkInstanceOpaqueConfig
- func (x *NetworkInstanceConfig) GetDisableFlowlog() bool
- func (x *NetworkInstanceConfig) GetDisplayname() string
- func (x *NetworkInstanceConfig) GetDns() []*ZnetStaticDNSEntry
- func (x *NetworkInstanceConfig) GetInstType() ZNetworkInstType
- func (x *NetworkInstanceConfig) GetIp() *Ipspec
- func (x *NetworkInstanceConfig) GetIpType() AddressType
- func (x *NetworkInstanceConfig) GetMtu() uint32
- func (x *NetworkInstanceConfig) GetPort() *Adapter
- func (x *NetworkInstanceConfig) GetPropagateConnectedRoutes() bool
- func (x *NetworkInstanceConfig) GetStaticRoutes() []*IPRoute
- func (x *NetworkInstanceConfig) GetStp() *SpanningTreeProtocol
- func (x *NetworkInstanceConfig) GetUuidandversion() *UUIDandVersion
- func (x *NetworkInstanceConfig) GetVlanAccessPorts() []*VlanAccessPort
- func (*NetworkInstanceConfig) ProtoMessage()
- func (x *NetworkInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceConfig) Reset()
- func (x *NetworkInstanceConfig) String() string
- type NetworkInstanceLispConfig
- func (*NetworkInstanceLispConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstanceLispConfig) GetAllocate() bool
- func (x *NetworkInstanceLispConfig) GetAllocationprefix() []byte
- func (x *NetworkInstanceLispConfig) GetAllocationprefixlen() uint32
- func (x *NetworkInstanceLispConfig) GetExperimental() bool
- func (x *NetworkInstanceLispConfig) GetExportprivate() bool
- func (x *NetworkInstanceLispConfig) GetLispInstanceId() uint32
- func (x *NetworkInstanceLispConfig) GetLispMSs() []*ZcServicePoint
- func (*NetworkInstanceLispConfig) ProtoMessage()
- func (x *NetworkInstanceLispConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceLispConfig) Reset()
- func (x *NetworkInstanceLispConfig) String() string
- type NetworkInstanceOpaqueConfig
- func (*NetworkInstanceOpaqueConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstanceOpaqueConfig) GetLispConfig() *NetworkInstanceLispConfig
- func (x *NetworkInstanceOpaqueConfig) GetOconfig() string
- func (x *NetworkInstanceOpaqueConfig) GetType() ZNetworkOpaqueConfigType
- func (*NetworkInstanceOpaqueConfig) ProtoMessage()
- func (x *NetworkInstanceOpaqueConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkInstanceOpaqueConfig) Reset()
- func (x *NetworkInstanceOpaqueConfig) String() string
- type NetworkType
- func (NetworkType) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkType) Enum() *NetworkType
- func (NetworkType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkType) Number() protoreflect.EnumNumber
- func (x NetworkType) String() string
- func (NetworkType) Type() protoreflect.EnumType
- type OSKeyTags
- type OSVerDetails
- type PatchEnvelopeRef
- func (*PatchEnvelopeRef) Descriptor() ([]byte, []int)deprecated
- func (x *PatchEnvelopeRef) GetId() string
- func (x *PatchEnvelopeRef) GetName() string
- func (*PatchEnvelopeRef) ProtoMessage()
- func (x *PatchEnvelopeRef) ProtoReflect() protoreflect.Message
- func (x *PatchEnvelopeRef) Reset()
- func (x *PatchEnvelopeRef) String() string
- type PhyIOUsagePolicy
- type PhysicalIO
- func (*PhysicalIO) Descriptor() ([]byte, []int)deprecated
- func (x *PhysicalIO) GetAssigngrp() string
- func (x *PhysicalIO) GetCbattr() map[string]string
- func (x *PhysicalIO) GetLogicallabel() string
- func (x *PhysicalIO) GetParentassigngrp() string
- func (x *PhysicalIO) GetPhyaddrs() map[string]string
- func (x *PhysicalIO) GetPhylabel() string
- func (x *PhysicalIO) GetPtype() evecommon.PhyIoType
- func (x *PhysicalIO) GetUsage() evecommon.PhyIoMemberUsage
- func (x *PhysicalIO) GetUsagePolicy() *PhyIOUsagePolicy
- func (x *PhysicalIO) GetVflist() *VfList
- func (*PhysicalIO) ProtoMessage()
- func (x *PhysicalIO) ProtoReflect() protoreflect.Message
- func (x *PhysicalIO) Reset()
- func (x *PhysicalIO) String() string
- type PortProbe
- func (*PortProbe) Descriptor() ([]byte, []int)deprecated
- func (x *PortProbe) GetCustomProbe() *ConnectivityProbe
- func (x *PortProbe) GetEnableGwPing() bool
- func (x *PortProbe) GetGwPingMaxCost() uint32
- func (*PortProbe) ProtoMessage()
- func (x *PortProbe) ProtoReflect() protoreflect.Message
- func (x *PortProbe) Reset()
- func (x *PortProbe) String() string
- type ProbeEndpoint
- func (*ProbeEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeEndpoint) GetHost() string
- func (x *ProbeEndpoint) GetPort() uint32
- func (*ProbeEndpoint) ProtoMessage()
- func (x *ProbeEndpoint) ProtoReflect() protoreflect.Message
- func (x *ProbeEndpoint) Reset()
- func (x *ProbeEndpoint) String() string
- type ProxyConfig
- func (*ProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConfig) GetExceptions() string
- func (x *ProxyConfig) GetNetworkProxyEnable() bool
- func (x *ProxyConfig) GetNetworkProxyURL() string
- func (x *ProxyConfig) GetPacfile() string
- func (x *ProxyConfig) GetProxies() []*ProxyServer
- func (x *ProxyConfig) GetProxyCertPEM() [][]byte
- func (*ProxyConfig) ProtoMessage()
- func (x *ProxyConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConfig) Reset()
- func (x *ProxyConfig) String() string
- type ProxyProto
- type ProxyServer
- func (*ProxyServer) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyServer) GetPort() uint32
- func (x *ProxyServer) GetProto() ProxyProto
- func (x *ProxyServer) GetServer() string
- func (*ProxyServer) ProtoMessage()
- func (x *ProxyServer) ProtoReflect() protoreflect.Message
- func (x *ProxyServer) Reset()
- func (x *ProxyServer) String() string
- type SignatureInfo
- func (*SignatureInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureInfo) GetIntercertsurl() string
- func (x *SignatureInfo) GetSignature() []byte
- func (x *SignatureInfo) GetSignercerturl() string
- func (*SignatureInfo) ProtoMessage()
- func (x *SignatureInfo) ProtoReflect() protoreflect.Message
- func (x *SignatureInfo) Reset()
- func (x *SignatureInfo) String() string
- type SnapshotConfig
- func (*SnapshotConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotConfig) GetActiveSnapshot() string
- func (x *SnapshotConfig) GetMaxSnapshots() uint32
- func (x *SnapshotConfig) GetRollbackCmd() *InstanceOpsCmd
- func (x *SnapshotConfig) GetSnapshots() []*SnapshotDesc
- func (*SnapshotConfig) ProtoMessage()
- func (x *SnapshotConfig) ProtoReflect() protoreflect.Message
- func (x *SnapshotConfig) Reset()
- func (x *SnapshotConfig) String() string
- type SnapshotDesc
- func (*SnapshotDesc) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotDesc) GetId() string
- func (x *SnapshotDesc) GetType() SnapshotType
- func (*SnapshotDesc) ProtoMessage()
- func (x *SnapshotDesc) ProtoReflect() protoreflect.Message
- func (x *SnapshotDesc) Reset()
- func (x *SnapshotDesc) String() string
- type SnapshotType
- func (SnapshotType) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotType) Enum() *SnapshotType
- func (SnapshotType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotType) Number() protoreflect.EnumNumber
- func (x SnapshotType) String() string
- func (SnapshotType) Type() protoreflect.EnumType
- type SpanningTreeProtocol
- func (*SpanningTreeProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *SpanningTreeProtocol) GetPortsWithBpduGuard() string
- func (*SpanningTreeProtocol) ProtoMessage()
- func (x *SpanningTreeProtocol) ProtoReflect() protoreflect.Message
- func (x *SpanningTreeProtocol) Reset()
- func (x *SpanningTreeProtocol) String() string
- type SystemAdapter
- func (*SystemAdapter) Descriptor() ([]byte, []int)deprecated
- func (x *SystemAdapter) GetAddr() string
- func (x *SystemAdapter) GetAlias() string
- func (x *SystemAdapter) GetCost() uint32
- func (x *SystemAdapter) GetFreeUplink() bool
- func (x *SystemAdapter) GetLowerLayerName() string
- func (x *SystemAdapter) GetName() string
- func (x *SystemAdapter) GetNetworkUUID() string
- func (x *SystemAdapter) GetSharedLabels() []string
- func (x *SystemAdapter) GetUplink() bool
- func (*SystemAdapter) ProtoMessage()
- func (x *SystemAdapter) ProtoReflect() protoreflect.Message
- func (x *SystemAdapter) Reset()
- func (x *SystemAdapter) String() string
- type Target
- type UUIDandVersion
- func (*UUIDandVersion) Descriptor() ([]byte, []int)deprecated
- func (x *UUIDandVersion) GetUuid() string
- func (x *UUIDandVersion) GetVersion() string
- func (*UUIDandVersion) ProtoMessage()
- func (x *UUIDandVersion) ProtoReflect() protoreflect.Message
- func (x *UUIDandVersion) Reset()
- func (x *UUIDandVersion) String() string
- type VfList
- type VlanAccessPort
- func (*VlanAccessPort) Descriptor() ([]byte, []int)deprecated
- func (x *VlanAccessPort) GetAccessPort() string
- func (x *VlanAccessPort) GetVlanId() uint32
- func (*VlanAccessPort) ProtoMessage()
- func (x *VlanAccessPort) ProtoReflect() protoreflect.Message
- func (x *VlanAccessPort) Reset()
- func (x *VlanAccessPort) String() string
- type VlanAdapter
- func (*VlanAdapter) Descriptor() ([]byte, []int)deprecated
- func (x *VlanAdapter) GetInterfaceName() string
- func (x *VlanAdapter) GetLogicallabel() string
- func (x *VlanAdapter) GetLowerLayerName() string
- func (x *VlanAdapter) GetVlanId() uint32
- func (*VlanAdapter) ProtoMessage()
- func (x *VlanAdapter) ProtoReflect() protoreflect.Message
- func (x *VlanAdapter) Reset()
- func (x *VlanAdapter) String() string
- type VmBootMode
- type VmConfig
- func (*VmConfig) Descriptor() ([]byte, []int)deprecated
- func (x *VmConfig) GetBootMode() VmBootMode
- func (x *VmConfig) GetBootloader() string
- func (x *VmConfig) GetCpus() string
- func (x *VmConfig) GetDevicetree() string
- func (x *VmConfig) GetDisableLogs() bool
- func (x *VmConfig) GetDtdev() []string
- func (x *VmConfig) GetEnableOemWinLicenseKey() bool
- func (x *VmConfig) GetEnableVnc() bool
- func (x *VmConfig) GetEnableVncShimVm() bool
- func (x *VmConfig) GetEnforceNetworkInterfaceOrder() bool
- func (x *VmConfig) GetExtraargs() string
- func (x *VmConfig) GetIomem() []string
- func (x *VmConfig) GetIrqs() []uint32
- func (x *VmConfig) GetKernel() string
- func (x *VmConfig) GetMaxcpus() uint32
- func (x *VmConfig) GetMaxmem() uint32
- func (x *VmConfig) GetMemory() uint32
- func (x *VmConfig) GetPinCpu() bool
- func (x *VmConfig) GetRamdisk() string
- func (x *VmConfig) GetRootdev() string
- func (x *VmConfig) GetVcpus() uint32
- func (x *VmConfig) GetVirtualizationMode() VmMode
- func (x *VmConfig) GetVmmMaxmem() uint32
- func (x *VmConfig) GetVncDisplay() uint32
- func (x *VmConfig) GetVncPasswd() string
- func (*VmConfig) ProtoMessage()
- func (x *VmConfig) ProtoReflect() protoreflect.Message
- func (x *VmConfig) Reset()
- func (x *VmConfig) String() string
- type VmMode
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetClearText() bool
- func (x *Volume) GetDesignatedNodeId() string
- func (x *Volume) GetDisplayName() string
- func (x *Volume) GetGenerationCount() int64
- func (x *Volume) GetMaxsizebytes() int64
- func (x *Volume) GetOrigin() *VolumeContentOrigin
- func (x *Volume) GetProtocols() []VolumeAccessProtocols
- func (x *Volume) GetReadonly() bool
- func (x *Volume) GetTarget() Target
- func (x *Volume) GetUuid() string
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type VolumeAccessProtocols
- func (VolumeAccessProtocols) Descriptor() protoreflect.EnumDescriptor
- func (x VolumeAccessProtocols) Enum() *VolumeAccessProtocols
- func (VolumeAccessProtocols) EnumDescriptor() ([]byte, []int)deprecated
- func (x VolumeAccessProtocols) Number() protoreflect.EnumNumber
- func (x VolumeAccessProtocols) String() string
- func (VolumeAccessProtocols) Type() protoreflect.EnumType
- type VolumeContentOrigin
- func (*VolumeContentOrigin) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeContentOrigin) GetDownloadContentTreeID() string
- func (x *VolumeContentOrigin) GetType() VolumeContentOriginType
- func (*VolumeContentOrigin) ProtoMessage()
- func (x *VolumeContentOrigin) ProtoReflect() protoreflect.Message
- func (x *VolumeContentOrigin) Reset()
- func (x *VolumeContentOrigin) String() string
- type VolumeContentOriginType
- func (VolumeContentOriginType) Descriptor() protoreflect.EnumDescriptor
- func (x VolumeContentOriginType) Enum() *VolumeContentOriginType
- func (VolumeContentOriginType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VolumeContentOriginType) Number() protoreflect.EnumNumber
- func (x VolumeContentOriginType) String() string
- func (VolumeContentOriginType) Type() protoreflect.EnumType
- type VolumeRef
- func (*VolumeRef) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeRef) GetGenerationCount() int64
- func (x *VolumeRef) GetMountDir() string
- func (x *VolumeRef) GetUuid() string
- func (*VolumeRef) ProtoMessage()
- func (x *VolumeRef) ProtoReflect() protoreflect.Message
- func (x *VolumeRef) Reset()
- func (x *VolumeRef) String() string
- type WiFiKeyScheme
- func (WiFiKeyScheme) Descriptor() protoreflect.EnumDescriptor
- func (x WiFiKeyScheme) Enum() *WiFiKeyScheme
- func (WiFiKeyScheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x WiFiKeyScheme) Number() protoreflect.EnumNumber
- func (x WiFiKeyScheme) String() string
- func (WiFiKeyScheme) Type() protoreflect.EnumType
- type WifiConfig
- func (*WifiConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WifiConfig) GetCipherData() *evecommon.CipherBlock
- func (x *WifiConfig) GetCrypto() *WifiConfigCryptoblock
- func (x *WifiConfig) GetIdentity() string
- func (x *WifiConfig) GetKeyScheme() WiFiKeyScheme
- func (x *WifiConfig) GetPassword() string
- func (x *WifiConfig) GetPriority() int32
- func (x *WifiConfig) GetWifiSSID() string
- func (*WifiConfig) ProtoMessage()
- func (x *WifiConfig) ProtoReflect() protoreflect.Message
- func (x *WifiConfig) Reset()
- func (x *WifiConfig) String() string
- type WifiConfigCryptoblock
- func (*WifiConfigCryptoblock) Descriptor() ([]byte, []int)deprecated
- func (x *WifiConfigCryptoblock) GetIdentity() string
- func (x *WifiConfigCryptoblock) GetPassword() string
- func (*WifiConfigCryptoblock) ProtoMessage()
- func (x *WifiConfigCryptoblock) ProtoReflect() protoreflect.Message
- func (x *WifiConfigCryptoblock) Reset()
- func (x *WifiConfigCryptoblock) String() string
- type WirelessConfig
- func (*WirelessConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessConfig) GetCellularCfg() []*CellularConfig
- func (x *WirelessConfig) GetType() WirelessType
- func (x *WirelessConfig) GetWifiCfg() []*WifiConfig
- func (*WirelessConfig) ProtoMessage()
- func (x *WirelessConfig) ProtoReflect() protoreflect.Message
- func (x *WirelessConfig) Reset()
- func (x *WirelessConfig) String() string
- type WirelessType
- func (WirelessType) Descriptor() protoreflect.EnumDescriptor
- func (x WirelessType) Enum() *WirelessType
- func (WirelessType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WirelessType) Number() protoreflect.EnumNumber
- func (x WirelessType) String() string
- func (WirelessType) Type() protoreflect.EnumType
- type ZNetworkInstType
- func (ZNetworkInstType) Descriptor() protoreflect.EnumDescriptor
- func (x ZNetworkInstType) Enum() *ZNetworkInstType
- func (ZNetworkInstType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ZNetworkInstType) Number() protoreflect.EnumNumber
- func (x ZNetworkInstType) String() string
- func (ZNetworkInstType) Type() protoreflect.EnumType
- type ZNetworkOpaqueConfigType
- func (ZNetworkOpaqueConfigType) Descriptor() protoreflect.EnumDescriptor
- func (x ZNetworkOpaqueConfigType) Enum() *ZNetworkOpaqueConfigType
- func (ZNetworkOpaqueConfigType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ZNetworkOpaqueConfigType) Number() protoreflect.EnumNumber
- func (x ZNetworkOpaqueConfigType) String() string
- func (ZNetworkOpaqueConfigType) Type() protoreflect.EnumType
- type ZcServicePoint
- func (*ZcServicePoint) Descriptor() ([]byte, []int)deprecated
- func (x *ZcServicePoint) GetCredential() string
- func (x *ZcServicePoint) GetNameOrIp() string
- func (x *ZcServicePoint) GetZsType() ZcServiceType
- func (*ZcServicePoint) ProtoMessage()
- func (x *ZcServicePoint) ProtoReflect() protoreflect.Message
- func (x *ZcServicePoint) Reset()
- func (x *ZcServicePoint) String() string
- type ZcServiceType
- func (ZcServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x ZcServiceType) Enum() *ZcServiceType
- func (ZcServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ZcServiceType) Number() protoreflect.EnumNumber
- func (x ZcServiceType) String() string
- func (ZcServiceType) Type() protoreflect.EnumType
- type ZedServer
- type ZnetStaticDNSEntry
- func (*ZnetStaticDNSEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ZnetStaticDNSEntry) GetAddress() []string
- func (x *ZnetStaticDNSEntry) GetHostName() string
- func (*ZnetStaticDNSEntry) ProtoMessage()
- func (x *ZnetStaticDNSEntry) ProtoReflect() protoreflect.Message
- func (x *ZnetStaticDNSEntry) Reset()
- func (x *ZnetStaticDNSEntry) String() string
Constants ¶
This section is empty.
Variables ¶
var ( MetaDataType_name = map[int32]string{ 0: "MetaDataDrive", 1: "MetaDataNone", 2: "MetaDataOpenStack", 3: "MetaDataDriveMultipart", } MetaDataType_value = map[string]int32{ "MetaDataDrive": 0, "MetaDataNone": 1, "MetaDataOpenStack": 2, "MetaDataDriveMultipart": 3, } )
Enum value maps for MetaDataType.
var ( SnapshotType_name = map[int32]string{ 0: "SNAPSHOT_TYPE_UNSPECIFIED", 1: "SNAPSHOT_TYPE_APP_UPDATE", } SnapshotType_value = map[string]int32{ "SNAPSHOT_TYPE_UNSPECIFIED": 0, "SNAPSHOT_TYPE_APP_UPDATE": 1, } )
Enum value maps for SnapshotType.
var ( AppRuntimeType_name = map[int32]string{ 0: "APP_RUNTIME_TYPE_UNSPECIFIED", 1: "APP_RUNTIME_TYPE_DOCKER", } AppRuntimeType_value = map[string]int32{ "APP_RUNTIME_TYPE_UNSPECIFIED": 0, "APP_RUNTIME_TYPE_DOCKER": 1, } )
Enum value maps for AppRuntimeType.
var ( BondMode_name = map[int32]string{ 0: "BOND_MODE_UNSPECIFIED", 1: "BOND_MODE_BALANCE_RR", 2: "BOND_MODE_ACTIVE_BACKUP", 3: "BOND_MODE_BALANCE_XOR", 4: "BOND_MODE_BROADCAST", 5: "BOND_MODE_802_3AD", 6: "BOND_MODE_BALANCE_TLB", 7: "BOND_MODE_BALANCE_ALB", } BondMode_value = map[string]int32{ "BOND_MODE_UNSPECIFIED": 0, "BOND_MODE_BALANCE_RR": 1, "BOND_MODE_ACTIVE_BACKUP": 2, "BOND_MODE_BALANCE_XOR": 3, "BOND_MODE_BROADCAST": 4, "BOND_MODE_802_3AD": 5, "BOND_MODE_BALANCE_TLB": 6, "BOND_MODE_BALANCE_ALB": 7, } )
Enum value maps for BondMode.
var ( LacpRate_name = map[int32]string{ 0: "LACP_RATE_UNSPECIFIED", 1: "LACP_RATE_SLOW", 2: "LACP_RATE_FAST", } LacpRate_value = map[string]int32{ "LACP_RATE_UNSPECIFIED": 0, "LACP_RATE_SLOW": 1, "LACP_RATE_FAST": 2, } )
Enum value maps for LacpRate.
var ( ACEDirection_name = map[int32]string{ 0: "BOTH", 1: "INGRESS", 2: "EGRESS", } ACEDirection_value = map[string]int32{ "BOTH": 0, "INGRESS": 1, "EGRESS": 2, } )
Enum value maps for ACEDirection.
var ( ProxyProto_name = map[int32]string{ 0: "PROXY_HTTP", 1: "PROXY_HTTPS", 2: "PROXY_SOCKS", 3: "PROXY_FTP", 255: "PROXY_OTHER", } ProxyProto_value = map[string]int32{ "PROXY_HTTP": 0, "PROXY_HTTPS": 1, "PROXY_SOCKS": 2, "PROXY_FTP": 3, "PROXY_OTHER": 255, } )
Enum value maps for ProxyProto.
var ( DHCPType_name = map[int32]string{ 0: "DHCPNoop", 1: "Static", 2: "DHCPNone", 4: "Client", } DHCPType_value = map[string]int32{ "DHCPNoop": 0, "Static": 1, "DHCPNone": 2, "Client": 4, } )
Enum value maps for DHCPType.
var ( NetworkType_name = map[int32]string{ 0: "NETWORKTYPENOOP", 4: "V4", 6: "V6", 24: "CryptoV4", 26: "CryptoV6", 14: "CryptoEID", 7: "V4Only", 8: "V6Only", 9: "DualV4V6", } NetworkType_value = map[string]int32{ "NETWORKTYPENOOP": 0, "V4": 4, "V6": 6, "CryptoV4": 24, "CryptoV6": 26, "CryptoEID": 14, "V4Only": 7, "V6Only": 8, "DualV4V6": 9, } )
Enum value maps for NetworkType.
var ( WirelessType_name = map[int32]string{ 0: "TypeNOOP", 1: "WiFi", 2: "Cellular", } WirelessType_value = map[string]int32{ "TypeNOOP": 0, "WiFi": 1, "Cellular": 2, } )
Enum value maps for WirelessType.
var ( WiFiKeyScheme_name = map[int32]string{ 0: "SchemeNOOP", 1: "WPAPSK", 2: "WPAEAP", } WiFiKeyScheme_value = map[string]int32{ "SchemeNOOP": 0, "WPAPSK": 1, "WPAEAP": 2, } )
Enum value maps for WiFiKeyScheme.
var ( ConnectivityProbeMethod_name = map[int32]string{ 0: "CONNECTIVITY_PROBE_METHOD_UNSPECIFIED", 1: "CONNECTIVITY_PROBE_METHOD_ICMP", 2: "CONNECTIVITY_PROBE_METHOD_TCP", } ConnectivityProbeMethod_value = map[string]int32{ "CONNECTIVITY_PROBE_METHOD_UNSPECIFIED": 0, "CONNECTIVITY_PROBE_METHOD_ICMP": 1, "CONNECTIVITY_PROBE_METHOD_TCP": 2, } )
Enum value maps for ConnectivityProbeMethod.
var ( CellularAuthProtocol_name = map[int32]string{ 0: "CELLULAR_AUTH_PROTOCOL_NONE", 1: "CELLULAR_AUTH_PROTOCOL_PAP", 2: "CELLULAR_AUTH_PROTOCOL_CHAP", 3: "CELLULAR_AUTH_PROTOCOL_PAP_AND_CHAP", } CellularAuthProtocol_value = map[string]int32{ "CELLULAR_AUTH_PROTOCOL_NONE": 0, "CELLULAR_AUTH_PROTOCOL_PAP": 1, "CELLULAR_AUTH_PROTOCOL_CHAP": 2, "CELLULAR_AUTH_PROTOCOL_PAP_AND_CHAP": 3, } )
Enum value maps for CellularAuthProtocol.
var ( ZNetworkInstType_name = map[int32]string{ 0: "ZNetInstFirst", 1: "ZnetInstSwitch", 2: "ZnetInstLocal", 3: "ZnetInstCloud", 4: "ZnetInstMesh", 5: "ZnetInstHoneyPot", 6: "ZnetInstTransparent", 255: "ZNetInstLast", } ZNetworkInstType_value = map[string]int32{ "ZNetInstFirst": 0, "ZnetInstSwitch": 1, "ZnetInstLocal": 2, "ZnetInstCloud": 3, "ZnetInstMesh": 4, "ZnetInstHoneyPot": 5, "ZnetInstTransparent": 6, "ZNetInstLast": 255, } )
Enum value maps for ZNetworkInstType.
var ( AddressType_name = map[int32]string{ 0: "First", 1: "IPV4", 2: "IPV6", 3: "CryptoIPV4", 4: "CryptoIPV6", 255: "Last", } AddressType_value = map[string]int32{ "First": 0, "IPV4": 1, "IPV6": 2, "CryptoIPV4": 3, "CryptoIPV6": 4, "Last": 255, } )
Enum value maps for AddressType.
var ( ZNetworkOpaqueConfigType_name = map[int32]string{ 0: "ZNetOConfigVPN", 1: "ZNetOConfigLisp", } ZNetworkOpaqueConfigType_value = map[string]int32{ "ZNetOConfigVPN": 0, "ZNetOConfigLisp": 1, } )
Enum value maps for ZNetworkOpaqueConfigType.
var ( ZcServiceType_name = map[int32]string{ 0: "zcloudInvalidSrv", 1: "mapServer", 2: "supportServer", } ZcServiceType_value = map[string]int32{ "zcloudInvalidSrv": 0, "mapServer": 1, "supportServer": 2, } )
Enum value maps for ZcServiceType.
var ( EVE_OPAQUE_OBJECT_CATEGORY_name = map[int32]string{ 0: "UNKOWN", 1: "BASE64", 2: "BINARYBLOB", 3: "SECRET", } EVE_OPAQUE_OBJECT_CATEGORY_value = map[string]int32{ "UNKOWN": 0, "BASE64": 1, "BINARYBLOB": 2, "SECRET": 3, } )
Enum value maps for EVE_OPAQUE_OBJECT_CATEGORY.
var ( EVE_PATCH_ENVELOPE_ACTION_name = map[int32]string{ 0: "STORE", 1: "ACTIVATE", } EVE_PATCH_ENVELOPE_ACTION_value = map[string]int32{ "STORE": 0, "ACTIVATE": 1, } )
Enum value maps for EVE_PATCH_ENVELOPE_ACTION.
var ( DsType_name = map[int32]string{ 0: "DsUnknown", 1: "DsHttp", 2: "DsHttps", 3: "DsS3", 4: "DsSFTP", 5: "DsContainerRegistry", 6: "DsAzureBlob", 7: "DsGoogleStorage", } DsType_value = map[string]int32{ "DsUnknown": 0, "DsHttp": 1, "DsHttps": 2, "DsS3": 3, "DsSFTP": 4, "DsContainerRegistry": 5, "DsAzureBlob": 6, "DsGoogleStorage": 7, } )
Enum value maps for DsType.
var ( Format_name = map[int32]string{ 0: "FmtUnknown", 1: "RAW", 2: "QCOW", 3: "QCOW2", 4: "VHD", 5: "VMDK", 6: "OVA", 7: "VHDX", 8: "CONTAINER", 9: "ISO", 10: "PVC", } Format_value = map[string]int32{ "FmtUnknown": 0, "RAW": 1, "QCOW": 2, "QCOW2": 3, "VHD": 4, "VMDK": 5, "OVA": 6, "VHDX": 7, "CONTAINER": 8, "ISO": 9, "PVC": 10, } )
Enum value maps for Format.
var ( Target_name = map[int32]string{ 0: "TgtUnknown", 1: "Disk", 2: "Kernel", 3: "Initrd", 4: "RamDisk", 5: "AppCustom", } Target_value = map[string]int32{ "TgtUnknown": 0, "Disk": 1, "Kernel": 2, "Initrd": 3, "RamDisk": 4, "AppCustom": 5, } )
Enum value maps for Target.
var ( DriveType_name = map[int32]string{ 0: "Unclassified", 1: "CDROM", 2: "HDD", 3: "NET", 4: "HDD_EMPTY", } DriveType_value = map[string]int32{ "Unclassified": 0, "CDROM": 1, "HDD": 2, "NET": 3, "HDD_EMPTY": 4, } )
Enum value maps for DriveType.
var ( VolumeAccessProtocols_name = map[int32]string{ 0: "VAP_NONE", 1: "VAP_9P", } VolumeAccessProtocols_value = map[string]int32{ "VAP_NONE": 0, "VAP_9P": 1, } )
Enum value maps for VolumeAccessProtocols.
var ( VolumeContentOriginType_name = map[int32]string{ 0: "VCOT_UNKNOWN", 1: "VCOT_BLANK", 2: "VCOT_DOWNLOAD", } VolumeContentOriginType_value = map[string]int32{ "VCOT_UNKNOWN": 0, "VCOT_BLANK": 1, "VCOT_DOWNLOAD": 2, } )
Enum value maps for VolumeContentOriginType.
var ( DiskConfigType_name = map[int32]string{ 0: "DISK_CONFIG_TYPE_UNSPECIFIED", 1: "DISK_CONFIG_TYPE_EVEOS", 2: "DISK_CONFIG_TYPE_PERSIST", 3: "DISK_CONFIG_TYPE_ZFS_ONLINE", 4: "DISK_CONFIG_TYPE_ZFS_OFFLINE", 5: "DISK_CONFIG_TYPE_APPDIRECT", 6: "DISK_CONFIG_TYPE_UNUSED", } DiskConfigType_value = map[string]int32{ "DISK_CONFIG_TYPE_UNSPECIFIED": 0, "DISK_CONFIG_TYPE_EVEOS": 1, "DISK_CONFIG_TYPE_PERSIST": 2, "DISK_CONFIG_TYPE_ZFS_ONLINE": 3, "DISK_CONFIG_TYPE_ZFS_OFFLINE": 4, "DISK_CONFIG_TYPE_APPDIRECT": 5, "DISK_CONFIG_TYPE_UNUSED": 6, } )
Enum value maps for DiskConfigType.
var ( DisksArrayType_name = map[int32]string{ 0: "DISKS_ARRAY_TYPE_UNSPECIFIED", 1: "DISKS_ARRAY_TYPE_RAID0", 2: "DISKS_ARRAY_TYPE_RAID1", 3: "DISKS_ARRAY_TYPE_RAID5", 4: "DISKS_ARRAY_TYPE_RAID6", } DisksArrayType_value = map[string]int32{ "DISKS_ARRAY_TYPE_UNSPECIFIED": 0, "DISKS_ARRAY_TYPE_RAID0": 1, "DISKS_ARRAY_TYPE_RAID1": 2, "DISKS_ARRAY_TYPE_RAID5": 3, "DISKS_ARRAY_TYPE_RAID6": 4, } )
Enum value maps for DisksArrayType.
var ( VmMode_name = map[int32]string{ 0: "PV", 1: "HVM", 2: "Filler", 3: "FML", 4: "NOHYPER", 5: "LEGACY", } VmMode_value = map[string]int32{ "PV": 0, "HVM": 1, "Filler": 2, "FML": 3, "NOHYPER": 4, "LEGACY": 5, } )
Enum value maps for VmMode.
var ( VmBootMode_name = map[int32]string{ 0: "VM_BOOT_MODE_UNSPECIFIED", 1: "VM_BOOT_MODE_LEGACY", 2: "VM_BOOT_MODE_UEFI", } VmBootMode_value = map[string]int32{ "VM_BOOT_MODE_UNSPECIFIED": 0, "VM_BOOT_MODE_LEGACY": 1, "VM_BOOT_MODE_UEFI": 2, } )
Enum value maps for VmBootMode.
var File_config_appconfig_proto protoreflect.FileDescriptor
var File_config_baseosconfig_proto protoreflect.FileDescriptor
var File_config_compound_devconfig_proto protoreflect.FileDescriptor
var File_config_devcommon_proto protoreflect.FileDescriptor
var File_config_devconfig_proto protoreflect.FileDescriptor
var File_config_devmodel_proto protoreflect.FileDescriptor
var File_config_edge_node_cluster_proto protoreflect.FileDescriptor
var File_config_edgeview_proto protoreflect.FileDescriptor
var File_config_fw_proto protoreflect.FileDescriptor
var File_config_netcmn_proto protoreflect.FileDescriptor
var File_config_netconfig_proto protoreflect.FileDescriptor
var File_config_netinst_proto protoreflect.FileDescriptor
var File_config_patch_envelope_proto protoreflect.FileDescriptor
var File_config_storage_proto protoreflect.FileDescriptor
var File_config_vm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ACE ¶
type ACE struct { // multiple matches here is for various fields of 6 tuples // // for example // 1) host=www.example.com & port=http // 2) ip=8.8.8.8 & port=53 & proto=UDP // 3) adapter=uplink && port=8080 && proto=TCP Matches []*ACEMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` // Expect only single action...repeated here is // for future work. Actions []*ACEAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // User visible name of the ACL Id int32 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` // identifier Dir ACEDirection `protobuf:"varint,5,opt,name=dir,proto3,enum=org.lfedge.eve.config.ACEDirection" json:"dir,omitempty"` // direction // contains filtered or unexported fields }
func (*ACE) Descriptor
deprecated
func (*ACE) GetActions ¶
func (*ACE) GetDir ¶
func (x *ACE) GetDir() ACEDirection
func (*ACE) GetMatches ¶
func (*ACE) ProtoMessage ¶
func (*ACE) ProtoMessage()
func (*ACE) ProtoReflect ¶
func (x *ACE) ProtoReflect() protoreflect.Message
type ACEAction ¶
type ACEAction struct { Drop bool `protobuf:"varint,1,opt,name=drop,proto3" json:"drop,omitempty"` // limit action, and its associated parameter Limit bool `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Limitrate uint32 `protobuf:"varint,3,opt,name=limitrate,proto3" json:"limitrate,omitempty"` Limitunit string `protobuf:"bytes,4,opt,name=limitunit,proto3" json:"limitunit,omitempty"` Limitburst uint32 `protobuf:"varint,5,opt,name=limitburst,proto3" json:"limitburst,omitempty"` // port map action, and its associated parameter Portmap bool `protobuf:"varint,6,opt,name=portmap,proto3" json:"portmap,omitempty"` AppPort uint32 `protobuf:"varint,7,opt,name=appPort,proto3" json:"appPort,omitempty"` // contains filtered or unexported fields }
func (*ACEAction) Descriptor
deprecated
func (*ACEAction) GetAppPort ¶
func (*ACEAction) GetLimitburst ¶
func (*ACEAction) GetLimitrate ¶
func (*ACEAction) GetLimitunit ¶
func (*ACEAction) GetPortmap ¶
func (*ACEAction) ProtoMessage ¶
func (*ACEAction) ProtoMessage()
func (*ACEAction) ProtoReflect ¶
func (x *ACEAction) ProtoReflect() protoreflect.Message
type ACEDirection ¶
type ACEDirection int32
const ( ACEDirection_BOTH ACEDirection = 0 ACEDirection_INGRESS ACEDirection = 1 ACEDirection_EGRESS ACEDirection = 2 )
func (ACEDirection) Descriptor ¶
func (ACEDirection) Descriptor() protoreflect.EnumDescriptor
func (ACEDirection) Enum ¶
func (x ACEDirection) Enum() *ACEDirection
func (ACEDirection) EnumDescriptor
deprecated
func (ACEDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACEDirection.Descriptor instead.
func (ACEDirection) Number ¶
func (x ACEDirection) Number() protoreflect.EnumNumber
func (ACEDirection) String ¶
func (x ACEDirection) String() string
func (ACEDirection) Type ¶
func (ACEDirection) Type() protoreflect.EnumType
type ACEMatch ¶
type ACEMatch struct { // Supported ACE match types: // - "ip": value should be an IP address of a remote endpoint. The match is satisfied // for outbound and inbound flow if the destination and the source IP address // matches the given value, respectively. Can be combined with any other match // type to further narrow down the selection criteria. // - "host": value should be a domain name of a remote endpoint. It can be either a fully // qualified, or a partially qualified domain name (FQDN or PQDN). A packet is // matched if it is destined to or originated from an IP address that was obtained // by a DNS query for that exact domain or any of its subdomains. For example, // match of type "host" with value "domain.com" will also apply to the endpoint // "subdomain.domain.com". Can be combined with other match types except for "eidset". // - "eidset": special match type for the overlay network. Matches IPs of all applications // deployed in the same network as well as all IPs with statically configured // DNS entries (under the config field NetworkInstanceConfig.Dns). For this type, // value field is not used. Can be combined with other match types except for // "host". // - "protocol": value should specify the protocol to match. Protocol can be one of "tcp", // "udp", "icmp", or "all", or it can be a numeric value, representing one // of these protocols or a different one. A protocol name from /etc/protocols // is also allowed. Protocol match can be combined with any other match type // (often combined with port numbers). // - "lport": value should be an application local port number. For filtering actions, // this is the source port for outbound traffic and destination port for inbound // traffic. For PORTMAP action, this represents application port as exposed // to the external network (i.e., if <edge-node-ip>:2222 is mapped to <app-ip>:22, // lport refers to 2222). lport can be combined with any other match type. // It is actually required to combine "lport" and "protocol" inside the same ACE. // In other words, port without protocol is not valid. // - "fport": value should be a remote endpoint port number (foreign port). Used for filtering // actions, but not for PORTMAP (do not confuse with "lport", which is still used to // represent the forwarded port - the forwarded port is still considered as local). // "fport" can be combined with any other match type. It is actually required // to combine "fport" with "protocol" inside the same ACE. In other words, port // without protocol is not valid. // - "adapter": value should be an adapter shared label (SystemAdapter.shared_labels). // It can be used for an inbound ACE to apply the rule only to packets arriving // via one of the matched network adapters. Typically used to activate a given // port-forwarding rule (PORTMAP) for only a subset of network adapters. // When not specified, the rule applies to every port attached to the network // instance (i.e. equivalent to setting "adapter" to the pre-defined shared // label "all"). // Adapter label cannot be used for outbound ACE. This is because the EVE firewall // is applied before routing, and the output network adapter is not yet known. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ACEMatch) Descriptor
deprecated
func (*ACEMatch) ProtoMessage ¶
func (*ACEMatch) ProtoMessage()
func (*ACEMatch) ProtoReflect ¶
func (x *ACEMatch) ProtoReflect() protoreflect.Message
type Adapter ¶
type Adapter struct { Type evecommon.PhyIoType `protobuf:"varint,1,opt,name=type,proto3,enum=org.lfedge.eve.common.PhyIoType" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Short hand name such as "com" from bundle EthVf *EthVF `protobuf:"bytes,3,opt,name=eth_vf,json=ethVf,proto3" json:"eth_vf,omitempty"` // Only relevant for PHY_IO_TYPE_PHY_IO_NET_ETH_VF // Define the network interface order relative to other directly assigned // network devices and virtual network adapters. // Only applies to (assignable) network adapters, i.e. types: "PhyIoNetEth", "PhyIoNetWLAN", // "PhyIoNetWWAN" and "PhyIoNetEthVF". // The numbering is across both the "Adapter" (direct assignments) and the "NetworkAdapter" // (virtual interfaces) lists for a given "AppInstanceConfig", thus every entry in these // lists, excluding non-networking adapters, must have a unique order number // (when the "enforce_network_interface_order" is enabled, see "VmConfig"). // Interface with a lower order value should appear inside the application before // interface with a higher order value. // The implementation of this ordering may depend on the hypervisor. For example, // the hypervisor might virtualize the PCI bus and assign lower PCI addresses to // interfaces with lower order values. But the actual outcome of interface ordering // depends on the application and EVE therefore cannot guarantee desired order. // Since this field was introduced in later versions, older EVE versions do not support // user-defined interface ordering. For backward compatibility, the user-defined // order is applied only if "enforce_network_interface_order" is enabled for the given // application (see "VmConfig", file "vm.proto"). InterfaceOrder uint32 `protobuf:"varint,4,opt,name=interface_order,json=interfaceOrder,proto3" json:"interface_order,omitempty"` // contains filtered or unexported fields }
Adapter bundles corresponding to a subset of what is in ZioBundle When used by a NetworkInstanceConfig the name is the logicallabel for the network adapter.
func (*Adapter) Descriptor
deprecated
func (*Adapter) GetInterfaceOrder ¶
func (*Adapter) ProtoMessage ¶
func (*Adapter) ProtoMessage()
func (*Adapter) ProtoReflect ¶
func (x *Adapter) ProtoReflect() protoreflect.Message
type AddressType ¶
type AddressType int32
const ( AddressType_First AddressType = 0 AddressType_IPV4 AddressType = 1 AddressType_IPV6 AddressType = 2 AddressType_CryptoIPV4 AddressType = 3 AddressType_CryptoIPV6 AddressType = 4 AddressType_Last AddressType = 255 )
func (AddressType) Descriptor ¶
func (AddressType) Descriptor() protoreflect.EnumDescriptor
func (AddressType) Enum ¶
func (x AddressType) Enum() *AddressType
func (AddressType) EnumDescriptor
deprecated
func (AddressType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AddressType.Descriptor instead.
func (AddressType) Number ¶
func (x AddressType) Number() protoreflect.EnumNumber
func (AddressType) String ¶
func (x AddressType) String() string
func (AddressType) Type ¶
func (AddressType) Type() protoreflect.EnumType
type AppDebugAccessPolicy ¶
type AppDebugAccessPolicy struct { // app side of edge-view access is allowed or not AllowApp bool `protobuf:"varint,1,opt,name=allow_app,json=allowApp,proto3" json:"allow_app,omitempty"` // contains filtered or unexported fields }
App debug policy applicable to edge-view
func (*AppDebugAccessPolicy) Descriptor
deprecated
func (*AppDebugAccessPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AppDebugAccessPolicy.ProtoReflect.Descriptor instead.
func (*AppDebugAccessPolicy) GetAllowApp ¶
func (x *AppDebugAccessPolicy) GetAllowApp() bool
func (*AppDebugAccessPolicy) ProtoMessage ¶
func (*AppDebugAccessPolicy) ProtoMessage()
func (*AppDebugAccessPolicy) ProtoReflect ¶
func (x *AppDebugAccessPolicy) ProtoReflect() protoreflect.Message
func (*AppDebugAccessPolicy) Reset ¶
func (x *AppDebugAccessPolicy) Reset()
func (*AppDebugAccessPolicy) String ¶
func (x *AppDebugAccessPolicy) String() string
type AppInstanceConfig ¶
type AppInstanceConfig struct { Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"` Displayname string `protobuf:"bytes,2,opt,name=displayname,proto3" json:"displayname,omitempty"` // User-friendly name Fixedresources *VmConfig `protobuf:"bytes,3,opt,name=fixedresources,proto3" json:"fixedresources,omitempty"` // VolumeRefs, if supported by EVE, will supersede drives. Drives still // exist for backward compatibility. // Drives will be deprecated in the future. // The order here is critical because they are presented to the VM or // container in the order they are listed, e.g., the first VM image // will be the root disk. Drives []*Drive `protobuf:"bytes,4,rep,name=drives,proto3" json:"drives,omitempty"` // Set activate to start the application instance; clear it to stop it. Activate bool `protobuf:"varint,5,opt,name=activate,proto3" json:"activate,omitempty"` // NetworkAdapter are virtual adapters assigned to the application // The order here is critical because they are presented to the VM or // container in the order they are listed, e.g., the first NetworkAdapter // will appear in a Linux VM as eth0. Also, the MAC address is determined // based on the order in the list. Interfaces []*NetworkAdapter `protobuf:"bytes,6,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // Physical adapters such as eth1 or USB controllers and GPUs assigned // to the application instance. // The Name in Adapter should be set to PhysicalIO.assigngrp Adapters []*Adapter `protobuf:"bytes,7,rep,name=adapters,proto3" json:"adapters,omitempty"` // The device behavior for a restart command (if counter increased) // is to restart the application instance // Increasing this multiple times does not imply the application instance // will restart more than once. // EVE can assume that the adapters did not change. Restart *InstanceOpsCmd `protobuf:"bytes,9,opt,name=restart,proto3" json:"restart,omitempty"` // The EVE behavior for a purge command is to restart the application instance // with the first drive/volumeRef recreated from its origin. Purge *InstanceOpsCmd `protobuf:"bytes,10,opt,name=purge,proto3" json:"purge,omitempty"` // App Instance initialization configuration data provided by user // This will be used as "user-data" in cloud-init // Empty string will indicate that cloud-init is not required // It is also used to carry environment variables for containers. // XXX will be deprecated and replaced by the cipherData below. UserData string `protobuf:"bytes,11,opt,name=userData,proto3" json:"userData,omitempty"` // Config flag if the app-instance should be made accessible // through a remote console session established by the device. RemoteConsole bool `protobuf:"varint,12,opt,name=remoteConsole,proto3" json:"remoteConsole,omitempty"` // contains the encrypted userdata CipherData *evecommon.CipherBlock `protobuf:"bytes,13,opt,name=cipherData,proto3" json:"cipherData,omitempty"` // The static IP address assigned on the NetworkAdapter which App Container // stats collection uses. If the 'collectStatsIPAddr' is not empty and valid, // it enables the container stats collection for this App. // During App instance creation, after user enables the collection of stats // from App, cloud needs to make sure at least one 'Local' type of Network-Instance // is assigned to the App interface, and based on the subnet of the NI, statically // assign an IP address on the same subnet, e.g. 10.1.0.100 CollectStatsIPAddr string `protobuf:"bytes,15,opt,name=collectStatsIPAddr,proto3" json:"collectStatsIPAddr,omitempty"` // The volumes to be attached to the app-instance. // The order here is critical because they are presented to the VM or // container in the order they are listed, e.g., the first VM image // will be the root disk. // Note that since the name volumeRef was used before and deprecated // python protobuf seems to require that we use a different name. VolumeRefList []*VolumeRef `protobuf:"bytes,16,rep,name=volumeRefList,proto3" json:"volumeRefList,omitempty"` // metadata type to use for app if provided inside userData MetaDataType MetaDataType `protobuf:"varint,17,opt,name=metaDataType,proto3,enum=org.lfedge.eve.config.MetaDataType" json:"metaDataType,omitempty"` // profile_list is a set of strings which can be used to control which sets // of applications are run. Combined with the activate flag above. // If the profile list is empty it means wildcard; application will // be started independent of the global or local profile specified for the // device. ProfileList []string `protobuf:"bytes,18,rep,name=profile_list,json=profileList,proto3" json:"profile_list,omitempty"` // start_delay_in_seconds - Applicable only when EVE boots up fresh and starts // applications for the first time after boot up. This is the amount of time that // EVE waits (after boot finish) before starting each application. // Default value 0 -> start application immediately. // Non-Zero value -> After EVE is ready to start application instance, wait for the // given amount of time before starting the respective application instance. StartDelayInSeconds uint32 `protobuf:"varint,19,opt,name=start_delay_in_seconds,json=startDelayInSeconds,proto3" json:"start_delay_in_seconds,omitempty"` // service - run app instance as a service container in the host/dom0 // will override default capabilities with configuration // defined in org.mobyproject.config label of image provided by linuxkit Service bool `protobuf:"varint,20,opt,name=service,proto3" json:"service,omitempty"` // All changes to the cloud-init config are tracked using this version field - // once the version is changed cloud-init tool restarts in a guest. CloudInitVersion uint32 `protobuf:"varint,21,opt,name=cloud_init_version,json=cloudInitVersion,proto3" json:"cloud_init_version,omitempty"` // SnapshotConfig is used to track the snapshots of the app instance Snapshot *SnapshotConfig `protobuf:"bytes,22,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // PatchEnvelopeRef is used to track all patch envelopes used by the app instance PatchRef *PatchEnvelopeRef `protobuf:"bytes,23,opt,name=patchRef,proto3" json:"patchRef,omitempty"` // This edge-node UUID for the Designate Node for the Application DesignatedNodeId string `protobuf:"bytes,26,opt,name=designated_node_id,json=designatedNodeId,proto3" json:"designated_node_id,omitempty"` // Custom resolution applies to VM that is running in FML mode only. VmResolution string `protobuf:"bytes,27,opt,name=vm_resolution,json=vmResolution,proto3" json:"vm_resolution,omitempty"` // AppRuntimeType - to indicate the types of Application Runtime Deployment RuntimeType AppRuntimeType `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
The complete configuration for an Application Instance When changing key fields such as the drives/volumeRefs or the number of interfaces, the controller is required to issue a purge command i.e., increase the purge counter. Otherwise there will be an error (The controller can also issue a purge command to re-construct the content of the first drive/volumeRef without any changes.) Some changes such as ACL changes in the interfaces do not require a restart, but all other changes (such as fixedresources and adapters) require a restart command i.e., an increase to the restart counter. The restart counter can also be increased to cause an application instance restart without any other change to the application instance.
func (*AppInstanceConfig) Descriptor
deprecated
func (*AppInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use AppInstanceConfig.ProtoReflect.Descriptor instead.
func (*AppInstanceConfig) GetActivate ¶
func (x *AppInstanceConfig) GetActivate() bool
func (*AppInstanceConfig) GetAdapters ¶
func (x *AppInstanceConfig) GetAdapters() []*Adapter
func (*AppInstanceConfig) GetCipherData ¶
func (x *AppInstanceConfig) GetCipherData() *evecommon.CipherBlock
func (*AppInstanceConfig) GetCloudInitVersion ¶
func (x *AppInstanceConfig) GetCloudInitVersion() uint32
func (*AppInstanceConfig) GetCollectStatsIPAddr ¶
func (x *AppInstanceConfig) GetCollectStatsIPAddr() string
func (*AppInstanceConfig) GetDesignatedNodeId ¶
func (x *AppInstanceConfig) GetDesignatedNodeId() string
func (*AppInstanceConfig) GetDisplayname ¶
func (x *AppInstanceConfig) GetDisplayname() string
func (*AppInstanceConfig) GetDrives ¶
func (x *AppInstanceConfig) GetDrives() []*Drive
func (*AppInstanceConfig) GetFixedresources ¶
func (x *AppInstanceConfig) GetFixedresources() *VmConfig
func (*AppInstanceConfig) GetInterfaces ¶
func (x *AppInstanceConfig) GetInterfaces() []*NetworkAdapter
func (*AppInstanceConfig) GetMetaDataType ¶
func (x *AppInstanceConfig) GetMetaDataType() MetaDataType
func (*AppInstanceConfig) GetPatchRef ¶
func (x *AppInstanceConfig) GetPatchRef() *PatchEnvelopeRef
func (*AppInstanceConfig) GetProfileList ¶
func (x *AppInstanceConfig) GetProfileList() []string
func (*AppInstanceConfig) GetPurge ¶
func (x *AppInstanceConfig) GetPurge() *InstanceOpsCmd
func (*AppInstanceConfig) GetRemoteConsole ¶
func (x *AppInstanceConfig) GetRemoteConsole() bool
func (*AppInstanceConfig) GetRestart ¶
func (x *AppInstanceConfig) GetRestart() *InstanceOpsCmd
func (*AppInstanceConfig) GetRuntimeType ¶
func (x *AppInstanceConfig) GetRuntimeType() AppRuntimeType
func (*AppInstanceConfig) GetService ¶
func (x *AppInstanceConfig) GetService() bool
func (*AppInstanceConfig) GetSnapshot ¶
func (x *AppInstanceConfig) GetSnapshot() *SnapshotConfig
func (*AppInstanceConfig) GetStartDelayInSeconds ¶
func (x *AppInstanceConfig) GetStartDelayInSeconds() uint32
func (*AppInstanceConfig) GetUserData ¶
func (x *AppInstanceConfig) GetUserData() string
func (*AppInstanceConfig) GetUuidandversion ¶
func (x *AppInstanceConfig) GetUuidandversion() *UUIDandVersion
func (*AppInstanceConfig) GetVmResolution ¶
func (x *AppInstanceConfig) GetVmResolution() string
func (*AppInstanceConfig) GetVolumeRefList ¶
func (x *AppInstanceConfig) GetVolumeRefList() []*VolumeRef
func (*AppInstanceConfig) ProtoMessage ¶
func (*AppInstanceConfig) ProtoMessage()
func (*AppInstanceConfig) ProtoReflect ¶
func (x *AppInstanceConfig) ProtoReflect() protoreflect.Message
func (*AppInstanceConfig) Reset ¶
func (x *AppInstanceConfig) Reset()
func (*AppInstanceConfig) String ¶
func (x *AppInstanceConfig) String() string
type AppRuntimeType ¶
type AppRuntimeType int32
AppRuntimeType - to indicate the types of Application Deployment For instance, the need to gather of docker container metrics and logs from the agent inside applications on EVE device.
const ( AppRuntimeType_APP_RUNTIME_TYPE_UNSPECIFIED AppRuntimeType = 0 AppRuntimeType_APP_RUNTIME_TYPE_DOCKER AppRuntimeType = 1 )
func (AppRuntimeType) Descriptor ¶
func (AppRuntimeType) Descriptor() protoreflect.EnumDescriptor
func (AppRuntimeType) Enum ¶
func (x AppRuntimeType) Enum() *AppRuntimeType
func (AppRuntimeType) EnumDescriptor
deprecated
func (AppRuntimeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppRuntimeType.Descriptor instead.
func (AppRuntimeType) Number ¶
func (x AppRuntimeType) Number() protoreflect.EnumNumber
func (AppRuntimeType) String ¶
func (x AppRuntimeType) String() string
func (AppRuntimeType) Type ¶
func (AppRuntimeType) Type() protoreflect.EnumType
type ArpMonitor ¶
type ArpMonitor struct { // Interval specifies the ARP link monitoring frequency in milliseconds. Interval uint32 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` // IpTargets specifies the IPv4 addresses to use as ARP monitoring peers. // These are the targets of ARP requests sent to determine the health of links. IpTargets []string `protobuf:"bytes,2,rep,name=ip_targets,json=ipTargets,proto3" json:"ip_targets,omitempty"` // contains filtered or unexported fields }
ArpMonitor : ARP-based link monitoring parameters. Defined for BondAdapter.
func (*ArpMonitor) Descriptor
deprecated
func (*ArpMonitor) Descriptor() ([]byte, []int)
Deprecated: Use ArpMonitor.ProtoReflect.Descriptor instead.
func (*ArpMonitor) GetInterval ¶
func (x *ArpMonitor) GetInterval() uint32
func (*ArpMonitor) GetIpTargets ¶
func (x *ArpMonitor) GetIpTargets() []string
func (*ArpMonitor) ProtoMessage ¶
func (*ArpMonitor) ProtoMessage()
func (*ArpMonitor) ProtoReflect ¶
func (x *ArpMonitor) ProtoReflect() protoreflect.Message
func (*ArpMonitor) Reset ¶
func (x *ArpMonitor) Reset()
func (*ArpMonitor) String ¶
func (x *ArpMonitor) String() string
type BaseOS ¶
type BaseOS struct { // UUID for ContentTree with BaseOS image ContentTreeUuid string `protobuf:"bytes,1,opt,name=content_tree_uuid,json=contentTreeUuid,proto3" json:"content_tree_uuid,omitempty"` // retry_update // Retry the BaseOs update if the update failed previously. // 1. If this image is in FAILED state, retry the image update. // 2. If this image is already active and fully installed (PartitionState = UPDATED), // Do nothing. Just update the baseos_update_counter in Info message. // 3. If this image is same as active image, but status is NOT yet UPDATED, or // if the update to this image is in progress, wait till the update // concludes (Success / Error+rollback) - then trigger the retry as needed. RetryUpdate *DeviceOpsCmd `protobuf:"bytes,2,opt,name=retry_update,json=retryUpdate,proto3" json:"retry_update,omitempty"` // if not set BaseOS will be installed, // but not activated Activate bool `protobuf:"varint,3,opt,name=activate,proto3" json:"activate,omitempty"` BaseOsVersion string `protobuf:"bytes,4,opt,name=base_os_version,json=baseOsVersion,proto3" json:"base_os_version,omitempty"` // contains filtered or unexported fields }
func (*BaseOS) Descriptor
deprecated
func (*BaseOS) GetActivate ¶
func (*BaseOS) GetBaseOsVersion ¶
func (*BaseOS) GetContentTreeUuid ¶
func (*BaseOS) GetRetryUpdate ¶
func (x *BaseOS) GetRetryUpdate() *DeviceOpsCmd
func (*BaseOS) ProtoMessage ¶
func (*BaseOS) ProtoMessage()
func (*BaseOS) ProtoReflect ¶
func (x *BaseOS) ProtoReflect() protoreflect.Message
type BaseOSConfig ¶
type BaseOSConfig struct { Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"` // volumeID will supersede drives. Drives still // exist for backward compatibility. // Drives will be deprecated in the future. Drives []*Drive `protobuf:"bytes,3,rep,name=drives,proto3" json:"drives,omitempty"` Activate bool `protobuf:"varint,4,opt,name=activate,proto3" json:"activate,omitempty"` BaseOSVersion string `protobuf:"bytes,10,opt,name=baseOSVersion,proto3" json:"baseOSVersion,omitempty"` // deprecated 11; OSVerDetails baseOSDetails VolumeID string `protobuf:"bytes,12,opt,name=volumeID,proto3" json:"volumeID,omitempty"` // UUID for Volume with BaseOS image // contains filtered or unexported fields }
func (*BaseOSConfig) Descriptor
deprecated
func (*BaseOSConfig) Descriptor() ([]byte, []int)
Deprecated: Use BaseOSConfig.ProtoReflect.Descriptor instead.
func (*BaseOSConfig) GetActivate ¶
func (x *BaseOSConfig) GetActivate() bool
func (*BaseOSConfig) GetBaseOSVersion ¶
func (x *BaseOSConfig) GetBaseOSVersion() string
func (*BaseOSConfig) GetDrives ¶
func (x *BaseOSConfig) GetDrives() []*Drive
func (*BaseOSConfig) GetUuidandversion ¶
func (x *BaseOSConfig) GetUuidandversion() *UUIDandVersion
func (*BaseOSConfig) GetVolumeID ¶
func (x *BaseOSConfig) GetVolumeID() string
func (*BaseOSConfig) ProtoMessage ¶
func (*BaseOSConfig) ProtoMessage()
func (*BaseOSConfig) ProtoReflect ¶
func (x *BaseOSConfig) ProtoReflect() protoreflect.Message
func (*BaseOSConfig) Reset ¶
func (x *BaseOSConfig) Reset()
func (*BaseOSConfig) String ¶
func (x *BaseOSConfig) String() string
type BondAdapter ¶
type BondAdapter struct { // Name of this bond adapter. Logicallabel string `protobuf:"bytes,1,opt,name=logicallabel,proto3" json:"logicallabel,omitempty"` // A physical name of the bond interface. // Note that the interface name is limited in Linux kernel to 15 characters. // If not defined, logicallabel will be used instead. InterfaceName string `protobuf:"bytes,2,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` // Logical names of aggregated PhysicalIOs. // For all bonding modes but Active-Backup the order is irrelevant. // In the Active-Backup mode (BOND_MODE_ACTIVE_BACKUP), the first PhysicalIO // in the list will be considered as the primary port (i.e. only when // the primary is off-line will alternate ports be used). LowerLayerNames []string `protobuf:"bytes,3,rep,name=lower_layer_names,json=lowerLayerNames,proto3" json:"lower_layer_names,omitempty"` // A bonding mode specifies the policy indicating how bonding slaves are used // during network transmission BondMode BondMode `protobuf:"varint,4,opt,name=bond_mode,json=bondMode,proto3,enum=org.lfedge.eve.config.BondMode" json:"bond_mode,omitempty"` // Method by which link failures and recoveries are detected. // // Types that are assignable to Monitoring: // // *BondAdapter_Mii // *BondAdapter_Arp Monitoring isBondAdapter_Monitoring `protobuf_oneof:"monitoring"` // Option specifying the rate in which EVE will ask LACP link partners // to transmit LACPDU packets in 802.3ad mode. LacpRate LacpRate `protobuf:"varint,8,opt,name=lacp_rate,json=lacpRate,proto3,enum=org.lfedge.eve.config.LacpRate" json:"lacp_rate,omitempty"` // contains filtered or unexported fields }
BondAdapter aggregates multiple PhysicalIOs into one adapter for redundancy and load-spreading purposes.
func (*BondAdapter) Descriptor
deprecated
func (*BondAdapter) Descriptor() ([]byte, []int)
Deprecated: Use BondAdapter.ProtoReflect.Descriptor instead.
func (*BondAdapter) GetArp ¶
func (x *BondAdapter) GetArp() *ArpMonitor
func (*BondAdapter) GetBondMode ¶
func (x *BondAdapter) GetBondMode() BondMode
func (*BondAdapter) GetInterfaceName ¶
func (x *BondAdapter) GetInterfaceName() string
func (*BondAdapter) GetLacpRate ¶
func (x *BondAdapter) GetLacpRate() LacpRate
func (*BondAdapter) GetLogicallabel ¶
func (x *BondAdapter) GetLogicallabel() string
func (*BondAdapter) GetLowerLayerNames ¶
func (x *BondAdapter) GetLowerLayerNames() []string
func (*BondAdapter) GetMii ¶
func (x *BondAdapter) GetMii() *MIIMonitor
func (*BondAdapter) GetMonitoring ¶
func (m *BondAdapter) GetMonitoring() isBondAdapter_Monitoring
func (*BondAdapter) ProtoMessage ¶
func (*BondAdapter) ProtoMessage()
func (*BondAdapter) ProtoReflect ¶
func (x *BondAdapter) ProtoReflect() protoreflect.Message
func (*BondAdapter) Reset ¶
func (x *BondAdapter) Reset()
func (*BondAdapter) String ¶
func (x *BondAdapter) String() string
type BondAdapter_Arp ¶
type BondAdapter_Arp struct { // The ARP monitor is based on the communication to the target // hosts designated by their IP addresses. Even if the link is beyond // the nearest connected switch, the APR monitor can detect it. Arp *ArpMonitor `protobuf:"bytes,6,opt,name=arp,proto3,oneof"` }
type BondAdapter_Mii ¶
type BondAdapter_Mii struct { // The MII monitor is driver-dependent. It monitors the links from the device // to the nearest connected switch. If the failure occurs beyond the nearest // connected switch, it cannot be detected by MII monitor. Mii *MIIMonitor `protobuf:"bytes,5,opt,name=mii,proto3,oneof"` }
type BondMode ¶
type BondMode int32
A bonding mode specifies the policy indicating how bonding slaves are used during network transmission.
const ( // BOND_MODE_UNSPECIFIED : if bonding mode is not explicitly specified, // then by default Round-Robin policy is applied (BOND_MODE_BALANCE_RR). BondMode_BOND_MODE_UNSPECIFIED BondMode = 0 // BOND_MODE_BALANCE_RR : transmit packets in sequential order from the first // available slave through the last. This mode provides load balancing // and fault tolerance. // This is the default bonding mode. BondMode_BOND_MODE_BALANCE_RR BondMode = 1 // BOND_MODE_ACTIVE_BACKUP : only one slave in the bond is active. // A different slave becomes active if, and only if, the active slave fails. // The bond's MAC address is externally visible on only one port to avoid // confusing the switch. // This mode provides fault tolerance. BondMode_BOND_MODE_ACTIVE_BACKUP BondMode = 2 // BOND_MODE_BALANCE_XOR : packet source and destination MAC addresses are // used to calculate hash and select the output slave interface accordingly. // This algorithm will place all traffic destined to a particular network // peer on the same slave. // This mode provides load balancing and fault tolerance. BondMode_BOND_MODE_BALANCE_XOR BondMode = 3 // BOND_MODE_BROADCAST: transmits everything on all slave interfaces. // This mode provides fault tolerance. BondMode_BOND_MODE_BROADCAST BondMode = 4 // BOND_MODE_802_3AD : IEEE 802.3ad Dynamic link aggregation. // Creates aggregation groups that share the same speed and duplex settings. // Utilizes all slaves in the active aggregator according to the 802.3ad // specification. // Requires that upstream networks equipment supports and has the IEEE 802.3ad // Dynamic link aggregation properly configured. BondMode_BOND_MODE_802_3AD BondMode = 5 // BOND_MODE_BALANCE_TLB : adaptive transmit load balancing. Channel bonding that // does not require any special switch support. The outgoing traffic // is distributed according to the current load (computed relative to the speed) // on each slave. // Incoming traffic is received by the current slave. If the receiving slave // fails, another slave takes over the MAC address of the failed receiving slave. // This mode provides (TX) load balancing and fault tolerance. BondMode_BOND_MODE_BALANCE_TLB BondMode = 6 // BOND_MODE_BALANCE_ALB : adaptive load balancing. Includes BOND_MODE_BALANCE_TLB // plus receive load balancing (RLB) for IPV4 traffic, and does not require // any special switch support. The receive load balancing is achieved by ARP // negotiation. // This mode provides load balancing and fault tolerance. BondMode_BOND_MODE_BALANCE_ALB BondMode = 7 )
func (BondMode) Descriptor ¶
func (BondMode) Descriptor() protoreflect.EnumDescriptor
func (BondMode) EnumDescriptor
deprecated
func (BondMode) Number ¶
func (x BondMode) Number() protoreflect.EnumNumber
func (BondMode) Type ¶
func (BondMode) Type() protoreflect.EnumType
type BootstrapConfig ¶
type BootstrapConfig struct { // Device configuration to use for bootstrapping. // Should be signed by the controller using AuthContainer (see OBJECT_SIGNING.md). // Put **protobuf-encoded** (not json) EdgeDevConfig under AuthContainer.protectedPayload. // Instead of AuthContainer.senderCert, use controller_certs attribute below to include // the signing certificate and all intermediate certificates needed for signature // verification against root_certificate. However, the corresponding hash of the signing // certificate is still expected to be included in AuthContainer (senderCertHash attribute). SignedConfig *auth.AuthContainer `protobuf:"bytes,1,opt,name=signed_config,json=signedConfig,proto3" json:"signed_config,omitempty"` // Signing certificate (CERT_TYPE_CONTROLLER_SIGNING) and intermediate certificates // (CERT_TYPE_CONTROLLER_INTERMEDIATE). ControllerCerts []*certs.ZCert `protobuf:"bytes,2,rep,name=controller_certs,json=controllerCerts,proto3" json:"controller_certs,omitempty"` // contains filtered or unexported fields }
BootstrapConfig is used to carry initial device configuration, baked into a "single-use" EVE installer prepared for a specific device to bootstrap, i.e. to establish the initial connectivity with the controller and onboard. This is useful if the default network configuration (i.e. Ethernet connectivity with DHCP) is not applicable for access to the controller.
func (*BootstrapConfig) Descriptor
deprecated
func (*BootstrapConfig) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapConfig.ProtoReflect.Descriptor instead.
func (*BootstrapConfig) GetControllerCerts ¶
func (x *BootstrapConfig) GetControllerCerts() []*certs.ZCert
func (*BootstrapConfig) GetSignedConfig ¶
func (x *BootstrapConfig) GetSignedConfig() *auth.AuthContainer
func (*BootstrapConfig) ProtoMessage ¶
func (*BootstrapConfig) ProtoMessage()
func (*BootstrapConfig) ProtoReflect ¶
func (x *BootstrapConfig) ProtoReflect() protoreflect.Message
func (*BootstrapConfig) Reset ¶
func (x *BootstrapConfig) Reset()
func (*BootstrapConfig) String ¶
func (x *BootstrapConfig) String() string
type CellularAccessPoint ¶
type CellularAccessPoint struct { // SIM card slot to which this configuration applies. // 0 - unspecified (apply to currently activated or the only available) // 1 - config for SIM card in the first slot // 2 - config for SIM card in the second slot // etc. SimSlot uint32 `protobuf:"varint,1,opt,name=sim_slot,json=simSlot,proto3" json:"sim_slot,omitempty"` // Access Point Network to connect into. // By default it is "internet". Apn string `protobuf:"bytes,2,opt,name=apn,proto3" json:"apn,omitempty"` // Authentication protocol used by the network. AuthProtocol CellularAuthProtocol `` /* 146-byte string literal not displayed */ // Cipher data may contain encrypted user credentials // (inside cellNetUsername and cellNetPassword fields). CipherData *evecommon.CipherBlock `protobuf:"bytes,4,opt,name=cipher_data,json=cipherData,proto3" json:"cipher_data,omitempty"` // The set of cellular network operators that modem should preferably try to register // and connect into. // Network operator should be referenced by PLMN (Public Land Mobile Network) code, // consisting of 3-digits MCC (Mobile Country Code) and 2 or 3-digits MNC (Mobile Network Code), // separated by a dash, e.g. "310-260". // If empty, then modem will select the network automatically based on the SIM card config. PreferredPlmns []string `protobuf:"bytes,5,rep,name=preferred_plmns,json=preferredPlmns,proto3" json:"preferred_plmns,omitempty"` // If true, then modem will avoid connecting to networks with roaming. ForbidRoaming bool `protobuf:"varint,6,opt,name=forbid_roaming,json=forbidRoaming,proto3" json:"forbid_roaming,omitempty"` // The list of preferred Radio Access Technologies (RATs) to use for connecting // to the network. // Order matters, first is the most preferred, second is tried next, etc. // Not listed technologies will not be tried. // If empty, then modem will select RAT automatically. PreferredRats []evecommon.RadioAccessTechnology `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
CellularAccessPoint contains config parameters for connecting to a cellular network.
func (*CellularAccessPoint) Descriptor
deprecated
func (*CellularAccessPoint) Descriptor() ([]byte, []int)
Deprecated: Use CellularAccessPoint.ProtoReflect.Descriptor instead.
func (*CellularAccessPoint) GetApn ¶
func (x *CellularAccessPoint) GetApn() string
func (*CellularAccessPoint) GetAuthProtocol ¶
func (x *CellularAccessPoint) GetAuthProtocol() CellularAuthProtocol
func (*CellularAccessPoint) GetCipherData ¶
func (x *CellularAccessPoint) GetCipherData() *evecommon.CipherBlock
func (*CellularAccessPoint) GetForbidRoaming ¶
func (x *CellularAccessPoint) GetForbidRoaming() bool
func (*CellularAccessPoint) GetPreferredPlmns ¶
func (x *CellularAccessPoint) GetPreferredPlmns() []string
func (*CellularAccessPoint) GetPreferredRats ¶
func (x *CellularAccessPoint) GetPreferredRats() []evecommon.RadioAccessTechnology
func (*CellularAccessPoint) GetSimSlot ¶
func (x *CellularAccessPoint) GetSimSlot() uint32
func (*CellularAccessPoint) ProtoMessage ¶
func (*CellularAccessPoint) ProtoMessage()
func (*CellularAccessPoint) ProtoReflect ¶
func (x *CellularAccessPoint) ProtoReflect() protoreflect.Message
func (*CellularAccessPoint) Reset ¶
func (x *CellularAccessPoint) Reset()
func (*CellularAccessPoint) String ¶
func (x *CellularAccessPoint) String() string
type CellularAuthProtocol ¶
type CellularAuthProtocol int32
const ( // No authentication. CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_NONE CellularAuthProtocol = 0 // Password Authentication Protocol. CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_PAP CellularAuthProtocol = 1 // Challenge-Handshake Authentication Protocol. CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_CHAP CellularAuthProtocol = 2 // Both PAP and CHAP. CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_PAP_AND_CHAP CellularAuthProtocol = 3 )
func (CellularAuthProtocol) Descriptor ¶
func (CellularAuthProtocol) Descriptor() protoreflect.EnumDescriptor
func (CellularAuthProtocol) Enum ¶
func (x CellularAuthProtocol) Enum() *CellularAuthProtocol
func (CellularAuthProtocol) EnumDescriptor
deprecated
func (CellularAuthProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use CellularAuthProtocol.Descriptor instead.
func (CellularAuthProtocol) Number ¶
func (x CellularAuthProtocol) Number() protoreflect.EnumNumber
func (CellularAuthProtocol) String ¶
func (x CellularAuthProtocol) String() string
func (CellularAuthProtocol) Type ¶
func (CellularAuthProtocol) Type() protoreflect.EnumType
type CellularConfig ¶
type CellularConfig struct { // APN string - by default it is "internet". // TO BE DEPRECATED: Fill connection arguments inside access_points instead. // If access_points is non-empty, then APN field is ignored. APN string `protobuf:"bytes,1,opt,name=APN,proto3" json:"APN,omitempty"` // Optional cellular connectivity probing. // By default it is enabled. Probe *CellularConnectivityProbe `protobuf:"bytes,2,opt,name=probe,proto3" json:"probe,omitempty"` // Some LTE modems have GNSS receiver integrated and can be used for device // location tracking. // Enable this option to have location info periodically obtained from this // modem and published to controller and to applications. LocationTracking bool `protobuf:"varint,3,opt,name=location_tracking,json=locationTracking,proto3" json:"location_tracking,omitempty"` // Parameters to apply for connecting to cellular networks. // Configured separately for every SIM card inserted into the modem. AccessPoints []*CellularAccessPoint `protobuf:"bytes,4,rep,name=access_points,json=accessPoints,proto3" json:"access_points,omitempty"` // Select SIM card slot to activate. // Currently, EVE support only single-standby SIM card mode. // 0 - unspecified (leave the currently activated) // 1 - activate the first SIM slot // 2 - activate the second SIM slot // etc. ActivatedSimSlot uint32 `protobuf:"varint,5,opt,name=activated_sim_slot,json=activatedSimSlot,proto3" json:"activated_sim_slot,omitempty"` // contains filtered or unexported fields }
func (*CellularConfig) Descriptor
deprecated
func (*CellularConfig) Descriptor() ([]byte, []int)
Deprecated: Use CellularConfig.ProtoReflect.Descriptor instead.
func (*CellularConfig) GetAPN ¶
func (x *CellularConfig) GetAPN() string
func (*CellularConfig) GetAccessPoints ¶
func (x *CellularConfig) GetAccessPoints() []*CellularAccessPoint
func (*CellularConfig) GetActivatedSimSlot ¶
func (x *CellularConfig) GetActivatedSimSlot() uint32
func (*CellularConfig) GetLocationTracking ¶
func (x *CellularConfig) GetLocationTracking() bool
func (*CellularConfig) GetProbe ¶
func (x *CellularConfig) GetProbe() *CellularConnectivityProbe
func (*CellularConfig) ProtoMessage ¶
func (*CellularConfig) ProtoMessage()
func (*CellularConfig) ProtoReflect ¶
func (x *CellularConfig) ProtoReflect() protoreflect.Message
func (*CellularConfig) Reset ¶
func (x *CellularConfig) Reset()
func (*CellularConfig) String ¶
func (x *CellularConfig) String() string
type CellularConnectivityProbe ¶
type CellularConnectivityProbe struct { // If true, then probing is disabled. Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"` // IP/FQDN to periodically probe using 3 pings per iteration to determine connectivity status. // This field is now deprecated and replaced with custom_probe (see below). // To maintain backward-compatibility, EVE will check both probe_address and custom_probe // and will use whichever has non-zero value (if any), but preferring custom_probe. // // Deprecated: Marked as deprecated in config/netconfig.proto. ProbeAddress string `protobuf:"bytes,2,opt,name=probe_address,json=probeAddress,proto3" json:"probe_address,omitempty"` // User-defined probe for cellular connectivity testing. // Only IP address is allowed as ConnectivityProbe.probe_address (and port if needed), // not hostname. // The probing algorithm is more complex that just testing reachability of a remote // endpoint and the goal is to minimize generated traffic, probing time and false negatives // (that would trigger undesired re-connect). // EVE will periodically check the modem status, accessibility of DNS server(s) and potentially // also proxies in the local network, and only as the last resort (if connectivity state // is still unclear) it will probe the remote endpoint. If custom_probe is not defined, // EVE will try to ping "8.8.8.8" (Google public DNS). // It is recommended to use custom probe for private LTE networks where public DNS servers // might not be allowed by the firewall (and hence ping would fail even with a working // connectivity). CustomProbe *ConnectivityProbe `protobuf:"bytes,3,opt,name=custom_probe,json=customProbe,proto3" json:"custom_probe,omitempty"` // contains filtered or unexported fields }
CellularConnectivityProbe is used to periodically check the connectivity status of a cellular network by probing a remote endpoint. Whenever the probe fails, the cellular connection is automatically restarted. If the probe keeps failing even after the restart, the failure is reported in ZCellularStatus.probeError. The connectivity probing interval is 5 minutes and currently it is not configurable.
func (*CellularConnectivityProbe) Descriptor
deprecated
func (*CellularConnectivityProbe) Descriptor() ([]byte, []int)
Deprecated: Use CellularConnectivityProbe.ProtoReflect.Descriptor instead.
func (*CellularConnectivityProbe) GetCustomProbe ¶
func (x *CellularConnectivityProbe) GetCustomProbe() *ConnectivityProbe
func (*CellularConnectivityProbe) GetDisable ¶
func (x *CellularConnectivityProbe) GetDisable() bool
func (*CellularConnectivityProbe) GetProbeAddress
deprecated
func (x *CellularConnectivityProbe) GetProbeAddress() string
Deprecated: Marked as deprecated in config/netconfig.proto.
func (*CellularConnectivityProbe) ProtoMessage ¶
func (*CellularConnectivityProbe) ProtoMessage()
func (*CellularConnectivityProbe) ProtoReflect ¶
func (x *CellularConnectivityProbe) ProtoReflect() protoreflect.Message
func (*CellularConnectivityProbe) Reset ¶
func (x *CellularConnectivityProbe) Reset()
func (*CellularConnectivityProbe) String ¶
func (x *CellularConnectivityProbe) String() string
type CompoundEdgeDevConfig ¶
type CompoundEdgeDevConfig struct { // See the details about the field in the corresponding messages // `LocalDevCommand` and `AppCommand` defined in `local_profile.proto`. Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ProtectedConfig *auth.AuthContainer `protobuf:"bytes,2,opt,name=protected_config,json=protectedConfig,proto3" json:"protected_config,omitempty"` DevCmd *profile.LocalDevCmd `protobuf:"bytes,3,opt,name=dev_cmd,json=devCmd,proto3" json:"dev_cmd,omitempty"` AppCmdList *profile.LocalAppCmdList `protobuf:"bytes,4,opt,name=app_cmd_list,json=appCmdList,proto3" json:"app_cmd_list,omitempty"` RadioConfig *profile.RadioConfig `protobuf:"bytes,5,opt,name=radio_config,json=radioConfig,proto3" json:"radio_config,omitempty"` // contains filtered or unexported fields }
CompoundEdgeDevConfig message combines regular edge config, packed in auth envelope, node/applications commands and radio config. This message is needed for the LOC case, when a single "/compound-config" endpoint can be used.
func (*CompoundEdgeDevConfig) Descriptor
deprecated
func (*CompoundEdgeDevConfig) Descriptor() ([]byte, []int)
Deprecated: Use CompoundEdgeDevConfig.ProtoReflect.Descriptor instead.
func (*CompoundEdgeDevConfig) GetAppCmdList ¶
func (x *CompoundEdgeDevConfig) GetAppCmdList() *profile.LocalAppCmdList
func (*CompoundEdgeDevConfig) GetDevCmd ¶
func (x *CompoundEdgeDevConfig) GetDevCmd() *profile.LocalDevCmd
func (*CompoundEdgeDevConfig) GetProtectedConfig ¶
func (x *CompoundEdgeDevConfig) GetProtectedConfig() *auth.AuthContainer
func (*CompoundEdgeDevConfig) GetRadioConfig ¶
func (x *CompoundEdgeDevConfig) GetRadioConfig() *profile.RadioConfig
func (*CompoundEdgeDevConfig) GetTimestamp ¶
func (x *CompoundEdgeDevConfig) GetTimestamp() uint64
func (*CompoundEdgeDevConfig) ProtoMessage ¶
func (*CompoundEdgeDevConfig) ProtoMessage()
func (*CompoundEdgeDevConfig) ProtoReflect ¶
func (x *CompoundEdgeDevConfig) ProtoReflect() protoreflect.Message
func (*CompoundEdgeDevConfig) Reset ¶
func (x *CompoundEdgeDevConfig) Reset()
func (*CompoundEdgeDevConfig) String ¶
func (x *CompoundEdgeDevConfig) String() string
type CompoundEdgeDevConfigRequest ¶
type CompoundEdgeDevConfigRequest struct { // See the details about the field in the corresponding messages // `LocalDevInfo` and `LocalAppInfo` defined in `local_profile.proto`. LastCmdTimestamp uint64 `protobuf:"varint,1,opt,name=last_cmd_timestamp,json=lastCmdTimestamp,proto3" json:"last_cmd_timestamp,omitempty"` CfgReq *ConfigRequest `protobuf:"bytes,2,opt,name=cfg_req,json=cfgReq,proto3" json:"cfg_req,omitempty"` // contains filtered or unexported fields }
func (*CompoundEdgeDevConfigRequest) Descriptor
deprecated
func (*CompoundEdgeDevConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompoundEdgeDevConfigRequest.ProtoReflect.Descriptor instead.
func (*CompoundEdgeDevConfigRequest) GetCfgReq ¶
func (x *CompoundEdgeDevConfigRequest) GetCfgReq() *ConfigRequest
func (*CompoundEdgeDevConfigRequest) GetLastCmdTimestamp ¶
func (x *CompoundEdgeDevConfigRequest) GetLastCmdTimestamp() uint64
func (*CompoundEdgeDevConfigRequest) ProtoMessage ¶
func (*CompoundEdgeDevConfigRequest) ProtoMessage()
func (*CompoundEdgeDevConfigRequest) ProtoReflect ¶
func (x *CompoundEdgeDevConfigRequest) ProtoReflect() protoreflect.Message
func (*CompoundEdgeDevConfigRequest) Reset ¶
func (x *CompoundEdgeDevConfigRequest) Reset()
func (*CompoundEdgeDevConfigRequest) String ¶
func (x *CompoundEdgeDevConfigRequest) String() string
type ConfigItem ¶
type ConfigItem struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // E.g., "configinterval" Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Timers and other per-device policy which relates to the interaction with zedcloud. Note that the timers are randomized on the device to avoid synchronization with other devices. Random range is between between .5 and 1.5 of these nominal values. If not set (i.e. zero), it means the default value of 60 seconds.
func (*ConfigItem) Descriptor
deprecated
func (*ConfigItem) Descriptor() ([]byte, []int)
Deprecated: Use ConfigItem.ProtoReflect.Descriptor instead.
func (*ConfigItem) GetKey ¶
func (x *ConfigItem) GetKey() string
func (*ConfigItem) GetValue ¶
func (x *ConfigItem) GetValue() string
func (*ConfigItem) ProtoMessage ¶
func (*ConfigItem) ProtoMessage()
func (*ConfigItem) ProtoReflect ¶
func (x *ConfigItem) ProtoReflect() protoreflect.Message
func (*ConfigItem) Reset ¶
func (x *ConfigItem) Reset()
func (*ConfigItem) String ¶
func (x *ConfigItem) String() string
type ConfigRequest ¶
type ConfigRequest struct { ConfigHash string `protobuf:"bytes,1,opt,name=configHash,proto3" json:"configHash,omitempty"` IntegrityToken []byte `protobuf:"bytes,2,opt,name=integrity_token,json=integrityToken,proto3" json:"integrity_token,omitempty"` // value provided by controller during remote attestation // contains filtered or unexported fields }
func (*ConfigRequest) Descriptor
deprecated
func (*ConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.
func (*ConfigRequest) GetConfigHash ¶
func (x *ConfigRequest) GetConfigHash() string
func (*ConfigRequest) GetIntegrityToken ¶
func (x *ConfigRequest) GetIntegrityToken() []byte
func (*ConfigRequest) ProtoMessage ¶
func (*ConfigRequest) ProtoMessage()
func (*ConfigRequest) ProtoReflect ¶
func (x *ConfigRequest) ProtoReflect() protoreflect.Message
func (*ConfigRequest) Reset ¶
func (x *ConfigRequest) Reset()
func (*ConfigRequest) String ¶
func (x *ConfigRequest) String() string
type ConfigResponse ¶
type ConfigResponse struct { Config *EdgeDevConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ConfigHash string `protobuf:"bytes,2,opt,name=configHash,proto3" json:"configHash,omitempty"` // contains filtered or unexported fields }
func (*ConfigResponse) Descriptor
deprecated
func (*ConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead.
func (*ConfigResponse) GetConfig ¶
func (x *ConfigResponse) GetConfig() *EdgeDevConfig
func (*ConfigResponse) GetConfigHash ¶
func (x *ConfigResponse) GetConfigHash() string
func (*ConfigResponse) ProtoMessage ¶
func (*ConfigResponse) ProtoMessage()
func (*ConfigResponse) ProtoReflect ¶
func (x *ConfigResponse) ProtoReflect() protoreflect.Message
func (*ConfigResponse) Reset ¶
func (x *ConfigResponse) Reset()
func (*ConfigResponse) String ¶
func (x *ConfigResponse) String() string
type ConnectivityProbe ¶
type ConnectivityProbe struct { // Method to use to determine the connectivity status. ProbeMethod ConnectivityProbeMethod `` /* 146-byte string literal not displayed */ // Endpoint to probe using the selected probing mechanism to determine // the connectivity status. ProbeEndpoint *ProbeEndpoint `protobuf:"bytes,2,opt,name=probe_endpoint,json=probeEndpoint,proto3" json:"probe_endpoint,omitempty"` // contains filtered or unexported fields }
Configuration for user-defined connectivity-testing probe.
func (*ConnectivityProbe) Descriptor
deprecated
func (*ConnectivityProbe) Descriptor() ([]byte, []int)
Deprecated: Use ConnectivityProbe.ProtoReflect.Descriptor instead.
func (*ConnectivityProbe) GetProbeEndpoint ¶
func (x *ConnectivityProbe) GetProbeEndpoint() *ProbeEndpoint
func (*ConnectivityProbe) GetProbeMethod ¶
func (x *ConnectivityProbe) GetProbeMethod() ConnectivityProbeMethod
func (*ConnectivityProbe) ProtoMessage ¶
func (*ConnectivityProbe) ProtoMessage()
func (*ConnectivityProbe) ProtoReflect ¶
func (x *ConnectivityProbe) ProtoReflect() protoreflect.Message
func (*ConnectivityProbe) Reset ¶
func (x *ConnectivityProbe) Reset()
func (*ConnectivityProbe) String ¶
func (x *ConnectivityProbe) String() string
type ConnectivityProbeMethod ¶
type ConnectivityProbeMethod int32
User-defined method to use to determine the connectivity status.
const ( // Connectivity probing method is not specified and therefore will not be used. ConnectivityProbeMethod_CONNECTIVITY_PROBE_METHOD_UNSPECIFIED ConnectivityProbeMethod = 0 // Use ICMP ping against the probed endpoint to determine the connectivity status. ConnectivityProbeMethod_CONNECTIVITY_PROBE_METHOD_ICMP ConnectivityProbeMethod = 1 // Try to establish TCP connection with the probed endpoint to determine the connectivity // status. ConnectivityProbeMethod_CONNECTIVITY_PROBE_METHOD_TCP ConnectivityProbeMethod = 2 // TODO: Consider adding support for BFD probing. )
func (ConnectivityProbeMethod) Descriptor ¶
func (ConnectivityProbeMethod) Descriptor() protoreflect.EnumDescriptor
func (ConnectivityProbeMethod) Enum ¶
func (x ConnectivityProbeMethod) Enum() *ConnectivityProbeMethod
func (ConnectivityProbeMethod) EnumDescriptor
deprecated
func (ConnectivityProbeMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectivityProbeMethod.Descriptor instead.
func (ConnectivityProbeMethod) Number ¶
func (x ConnectivityProbeMethod) Number() protoreflect.EnumNumber
func (ConnectivityProbeMethod) String ¶
func (x ConnectivityProbeMethod) String() string
func (ConnectivityProbeMethod) Type ¶
func (ConnectivityProbeMethod) Type() protoreflect.EnumType
type ContentTree ¶
type ContentTree struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` DsId string `protobuf:"bytes,2,opt,name=dsId,proto3" json:"dsId,omitempty"` // Deprecated; You need to check the ds_ids_list URL string `protobuf:"bytes,3,opt,name=URL,proto3" json:"URL,omitempty"` // URL to append to datastore dpath Iformat Format `protobuf:"varint,4,opt,name=iformat,proto3,enum=org.lfedge.eve.config.Format" json:"iformat,omitempty"` // The sha is for the top blob of the ContentTree Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"` // maxSizeBytes used for capping resource consumption in EVE. // maxSizeBytes indicates the maximum download size of content tree. MaxSizeBytes uint64 `protobuf:"varint,6,opt,name=maxSizeBytes,proto3" json:"maxSizeBytes,omitempty"` Siginfo *SignatureInfo `protobuf:"bytes,7,opt,name=siginfo,proto3" json:"siginfo,omitempty"` DisplayName string `protobuf:"bytes,8,opt,name=displayName,proto3" json:"displayName,omitempty"` // Optional friendly name echo'ed in info // For container ContentTree, sha256 might not be available in config. // If the sha256 is not available then it needs to be resolved corresponding to the tag // change in generation_count indicates that the resolution of tag is needed // generation_count needs to be updated when purge is required for an existing // instance. In case of new instance using the same content tree, EVE will get // new content tree UUID in the device configuration from the controller. GenerationCount int64 `protobuf:"varint,9,opt,name=generation_count,json=generationCount,proto3" json:"generation_count,omitempty"` // An arbitrary string. Usage depends on the content purpose. Currently the // only usage is with custom application blobs (AppCustom) - this string will // appear in the restAPI endpoint available at http://169.254.169.254. So user // application can read that data and treat the blob accordingly. CustomMetaData string `protobuf:"bytes,10,opt,name=custom_meta_data,json=customMetaData,proto3" json:"custom_meta_data,omitempty"` // List of DatastoreConfig UUIDs, that must have the same content. In case of // network failure, the download process can fallback to the next datastore // in the list. DsIdsList []string `protobuf:"bytes,11,rep,name=ds_ids_list,json=dsIdsList,proto3" json:"ds_ids_list,omitempty"` // To inform the edge-node if the device receiving this content tree is // responsible for content tree download or not. DesignatedNodeId string `protobuf:"bytes,12,opt,name=designated_node_id,json=designatedNodeId,proto3" json:"designated_node_id,omitempty"` // contains filtered or unexported fields }
ContentTree describes the top of some content tree. The controller needs to allocate a uuid for it, and that uuid will be sent by EVE in the ZInfoContentTree message
func (*ContentTree) Descriptor
deprecated
func (*ContentTree) Descriptor() ([]byte, []int)
Deprecated: Use ContentTree.ProtoReflect.Descriptor instead.
func (*ContentTree) GetCustomMetaData ¶
func (x *ContentTree) GetCustomMetaData() string
func (*ContentTree) GetDesignatedNodeId ¶
func (x *ContentTree) GetDesignatedNodeId() string
func (*ContentTree) GetDisplayName ¶
func (x *ContentTree) GetDisplayName() string
func (*ContentTree) GetDsId ¶
func (x *ContentTree) GetDsId() string
func (*ContentTree) GetDsIdsList ¶
func (x *ContentTree) GetDsIdsList() []string
func (*ContentTree) GetGenerationCount ¶
func (x *ContentTree) GetGenerationCount() int64
func (*ContentTree) GetIformat ¶
func (x *ContentTree) GetIformat() Format
func (*ContentTree) GetMaxSizeBytes ¶
func (x *ContentTree) GetMaxSizeBytes() uint64
func (*ContentTree) GetSha256 ¶
func (x *ContentTree) GetSha256() string
func (*ContentTree) GetSiginfo ¶
func (x *ContentTree) GetSiginfo() *SignatureInfo
func (*ContentTree) GetURL ¶
func (x *ContentTree) GetURL() string
func (*ContentTree) GetUuid ¶
func (x *ContentTree) GetUuid() string
func (*ContentTree) ProtoMessage ¶
func (*ContentTree) ProtoMessage()
func (*ContentTree) ProtoReflect ¶
func (x *ContentTree) ProtoReflect() protoreflect.Message
func (*ContentTree) Reset ¶
func (x *ContentTree) Reset()
func (*ContentTree) String ¶
func (x *ContentTree) String() string
type DHCPType ¶
type DHCPType int32
func (DHCPType) Descriptor ¶
func (DHCPType) Descriptor() protoreflect.EnumDescriptor
func (DHCPType) EnumDescriptor
deprecated
func (DHCPType) Number ¶
func (x DHCPType) Number() protoreflect.EnumNumber
func (DHCPType) Type ¶
func (DHCPType) Type() protoreflect.EnumType
type DatastoreConfig ¶
type DatastoreConfig struct { Id string `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"` // UUID DType DsType `protobuf:"varint,1,opt,name=dType,proto3,enum=org.lfedge.eve.config.DsType" json:"dType,omitempty"` Fqdn string `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Fully-qualified domain name of server // to be deprecated, use cipherData instead ApiKey string `protobuf:"bytes,3,opt,name=apiKey,proto3" json:"apiKey,omitempty"` // to be deprecated, use cipherData instead Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // depending on datastore types, it could be bucket or path Dpath string `protobuf:"bytes,5,opt,name=dpath,proto3" json:"dpath,omitempty"` // Applies for some datastore types Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` // contains the encrypted credentials CipherData *evecommon.CipherBlock `protobuf:"bytes,7,opt,name=cipherData,proto3" json:"cipherData,omitempty"` // Uploaded datastore certificate or certificate chain DsCertPEM [][]byte `protobuf:"bytes,8,rep,name=dsCertPEM,proto3" json:"dsCertPEM,omitempty"` // contains filtered or unexported fields }
The DataStoreConfig contains common parameters for a give source of images aka ContentTrees, such as the credentials and server
func (*DatastoreConfig) Descriptor
deprecated
func (*DatastoreConfig) Descriptor() ([]byte, []int)
Deprecated: Use DatastoreConfig.ProtoReflect.Descriptor instead.
func (*DatastoreConfig) GetApiKey ¶
func (x *DatastoreConfig) GetApiKey() string
func (*DatastoreConfig) GetCipherData ¶
func (x *DatastoreConfig) GetCipherData() *evecommon.CipherBlock
func (*DatastoreConfig) GetDType ¶
func (x *DatastoreConfig) GetDType() DsType
func (*DatastoreConfig) GetDpath ¶
func (x *DatastoreConfig) GetDpath() string
func (*DatastoreConfig) GetDsCertPEM ¶
func (x *DatastoreConfig) GetDsCertPEM() [][]byte
func (*DatastoreConfig) GetFqdn ¶
func (x *DatastoreConfig) GetFqdn() string
func (*DatastoreConfig) GetId ¶
func (x *DatastoreConfig) GetId() string
func (*DatastoreConfig) GetPassword ¶
func (x *DatastoreConfig) GetPassword() string
func (*DatastoreConfig) GetRegion ¶
func (x *DatastoreConfig) GetRegion() string
func (*DatastoreConfig) ProtoMessage ¶
func (*DatastoreConfig) ProtoMessage()
func (*DatastoreConfig) ProtoReflect ¶
func (x *DatastoreConfig) ProtoReflect() protoreflect.Message
func (*DatastoreConfig) Reset ¶
func (x *DatastoreConfig) Reset()
func (*DatastoreConfig) String ¶
func (x *DatastoreConfig) String() string
type DevDebugAccessPolicy ¶
type DevDebugAccessPolicy struct { // device side of edge-view access is allowed or not AllowDev bool `protobuf:"varint,1,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"` // contains filtered or unexported fields }
Dev debug policy applicable to edge-view
func (*DevDebugAccessPolicy) Descriptor
deprecated
func (*DevDebugAccessPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DevDebugAccessPolicy.ProtoReflect.Descriptor instead.
func (*DevDebugAccessPolicy) GetAllowDev ¶
func (x *DevDebugAccessPolicy) GetAllowDev() bool
func (*DevDebugAccessPolicy) ProtoMessage ¶
func (*DevDebugAccessPolicy) ProtoMessage()
func (*DevDebugAccessPolicy) ProtoReflect ¶
func (x *DevDebugAccessPolicy) ProtoReflect() protoreflect.Message
func (*DevDebugAccessPolicy) Reset ¶
func (x *DevDebugAccessPolicy) Reset()
func (*DevDebugAccessPolicy) String ¶
func (x *DevDebugAccessPolicy) String() string
type DeviceOpsCmd ¶
type DeviceOpsCmd struct { Counter uint32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"` DesiredState bool `protobuf:"varint,3,opt,name=desiredState,proto3" json:"desiredState,omitempty"` // FIXME: change to timestamp, once we move to gogo proto OpsTime string `protobuf:"bytes,4,opt,name=opsTime,proto3" json:"opsTime,omitempty"` // contains filtered or unexported fields }
Device Operational Commands Semantic For rebooting device, command=Reset, counter = counter+delta, desiredState = on For poweroff device, command=Reset, counter = counter+delta, desiredState = off For backup at midnight, command=Backup, counter = counter+delta, desiredState=n/a, opsTime = mm/dd/yy:hh:ss Current implementation does support only single command outstanding for each type. In future can be extended to have more scheduled events.
func (*DeviceOpsCmd) Descriptor
deprecated
func (*DeviceOpsCmd) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOpsCmd.ProtoReflect.Descriptor instead.
func (*DeviceOpsCmd) GetCounter ¶
func (x *DeviceOpsCmd) GetCounter() uint32
func (*DeviceOpsCmd) GetDesiredState ¶
func (x *DeviceOpsCmd) GetDesiredState() bool
func (*DeviceOpsCmd) GetOpsTime ¶
func (x *DeviceOpsCmd) GetOpsTime() string
func (*DeviceOpsCmd) ProtoMessage ¶
func (*DeviceOpsCmd) ProtoMessage()
func (*DeviceOpsCmd) ProtoReflect ¶
func (x *DeviceOpsCmd) ProtoReflect() protoreflect.Message
func (*DeviceOpsCmd) Reset ¶
func (x *DeviceOpsCmd) Reset()
func (*DeviceOpsCmd) String ¶
func (x *DeviceOpsCmd) String() string
type DhcpOptionsIgnore ¶
type DhcpOptionsIgnore struct { // use exclusively specified NTP servers // if set to true and no NTP server is provided then no NTP servers should be used NtpServerExclusively bool `protobuf:"varint,1,opt,name=ntp_server_exclusively,json=ntpServerExclusively,proto3" json:"ntp_server_exclusively,omitempty"` // DHCP option 42 / DHCPv6 option 56 // contains filtered or unexported fields }
DhcpOptionsIgnore is used to ignore dhcp options like f.e. the NTP servers - currently no other options are supported, but DNS servers might be a good candidate in the future the options defined can be found here: DHCP: https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml DHCPv6: https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml
func (*DhcpOptionsIgnore) Descriptor
deprecated
func (*DhcpOptionsIgnore) Descriptor() ([]byte, []int)
Deprecated: Use DhcpOptionsIgnore.ProtoReflect.Descriptor instead.
func (*DhcpOptionsIgnore) GetNtpServerExclusively ¶
func (x *DhcpOptionsIgnore) GetNtpServerExclusively() bool
func (*DhcpOptionsIgnore) ProtoMessage ¶
func (*DhcpOptionsIgnore) ProtoMessage()
func (*DhcpOptionsIgnore) ProtoReflect ¶
func (x *DhcpOptionsIgnore) ProtoReflect() protoreflect.Message
func (*DhcpOptionsIgnore) Reset ¶
func (x *DhcpOptionsIgnore) Reset()
func (*DhcpOptionsIgnore) String ¶
func (x *DhcpOptionsIgnore) String() string
type DiskConfig ¶
type DiskConfig struct { Disk *evecommon.DiskDescription `protobuf:"bytes,1,opt,name=disk,proto3" json:"disk,omitempty"` // define old disk here to replace it with new one defined in disk, omit it to not use replacement OldDisk *evecommon.DiskDescription `protobuf:"bytes,2,opt,name=old_disk,json=oldDisk,proto3" json:"old_disk,omitempty"` DiskConfig DiskConfigType `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
DiskConfig describe desired configuration of disk If we want change state to online/offline we should define its state If we want to add disk we should define it here and set DiskConfigType to online or offline If we want to remove disk we should set its state to unused or appdirect If we want to replace disk we should fill old_disk to be replaced with disk Progress of operation is expected to be available in info messages
func (*DiskConfig) Descriptor
deprecated
func (*DiskConfig) Descriptor() ([]byte, []int)
Deprecated: Use DiskConfig.ProtoReflect.Descriptor instead.
func (*DiskConfig) GetDisk ¶
func (x *DiskConfig) GetDisk() *evecommon.DiskDescription
func (*DiskConfig) GetDiskConfig ¶
func (x *DiskConfig) GetDiskConfig() DiskConfigType
func (*DiskConfig) GetOldDisk ¶
func (x *DiskConfig) GetOldDisk() *evecommon.DiskDescription
func (*DiskConfig) ProtoMessage ¶
func (*DiskConfig) ProtoMessage()
func (*DiskConfig) ProtoReflect ¶
func (x *DiskConfig) ProtoReflect() protoreflect.Message
func (*DiskConfig) Reset ¶
func (x *DiskConfig) Reset()
func (*DiskConfig) String ¶
func (x *DiskConfig) String() string
type DiskConfigType ¶
type DiskConfigType int32
DiskConfigType is the desired configuration of disks
const ( DiskConfigType_DISK_CONFIG_TYPE_UNSPECIFIED DiskConfigType = 0 // no configured, do nothing DiskConfigType_DISK_CONFIG_TYPE_EVEOS DiskConfigType = 1 // the disk EVE is installed on DiskConfigType_DISK_CONFIG_TYPE_PERSIST DiskConfigType = 2 // the disk is separate persist partition, not zfs DiskConfigType_DISK_CONFIG_TYPE_ZFS_ONLINE DiskConfigType = 3 // included in zfs and online DiskConfigType_DISK_CONFIG_TYPE_ZFS_OFFLINE DiskConfigType = 4 // included in zfs and offline DiskConfigType_DISK_CONFIG_TYPE_APPDIRECT DiskConfigType = 5 // for direct assignment DiskConfigType_DISK_CONFIG_TYPE_UNUSED DiskConfigType = 6 // removed from zfs/app-direct )
func (DiskConfigType) Descriptor ¶
func (DiskConfigType) Descriptor() protoreflect.EnumDescriptor
func (DiskConfigType) Enum ¶
func (x DiskConfigType) Enum() *DiskConfigType
func (DiskConfigType) EnumDescriptor
deprecated
func (DiskConfigType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskConfigType.Descriptor instead.
func (DiskConfigType) Number ¶
func (x DiskConfigType) Number() protoreflect.EnumNumber
func (DiskConfigType) String ¶
func (x DiskConfigType) String() string
func (DiskConfigType) Type ¶
func (DiskConfigType) Type() protoreflect.EnumType
type DisksArrayType ¶
type DisksArrayType int32
DisksArrayType is the desired configuration of disks in DisksConfig
const ( DisksArrayType_DISKS_ARRAY_TYPE_UNSPECIFIED DisksArrayType = 0 // no configured DisksArrayType_DISKS_ARRAY_TYPE_RAID0 DisksArrayType = 1 // stripe DisksArrayType_DISKS_ARRAY_TYPE_RAID1 DisksArrayType = 2 // mirror DisksArrayType_DISKS_ARRAY_TYPE_RAID5 DisksArrayType = 3 // raidz1 DisksArrayType_DISKS_ARRAY_TYPE_RAID6 DisksArrayType = 4 // raidz2 )
func (DisksArrayType) Descriptor ¶
func (DisksArrayType) Descriptor() protoreflect.EnumDescriptor
func (DisksArrayType) Enum ¶
func (x DisksArrayType) Enum() *DisksArrayType
func (DisksArrayType) EnumDescriptor
deprecated
func (DisksArrayType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DisksArrayType.Descriptor instead.
func (DisksArrayType) Number ¶
func (x DisksArrayType) Number() protoreflect.EnumNumber
func (DisksArrayType) String ¶
func (x DisksArrayType) String() string
func (DisksArrayType) Type ¶
func (DisksArrayType) Type() protoreflect.EnumType
type DisksConfig ¶
type DisksConfig struct { Disks []*DiskConfig `protobuf:"bytes,1,rep,name=disks,proto3" json:"disks,omitempty"` ArrayType DisksArrayType `` /* 131-byte string literal not displayed */ Children []*DisksConfig `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
DisksConfig is a configuration of disks We expect information about disks to be filled and will try to adjust disks states accordingly All disks defined in disks field expected to have array type defined in array_type To support nested topologies we can use children field
For example to use stripe of two pairs of mirrored disks we should define DisksConfig without disks with array_type DISKS_ARRAY_TYPE_RAID0 with two children with properly defined disks inside and with array_type DISKS_ARRAY_TYPE_RAID1 and empty children
func (*DisksConfig) Descriptor
deprecated
func (*DisksConfig) Descriptor() ([]byte, []int)
Deprecated: Use DisksConfig.ProtoReflect.Descriptor instead.
func (*DisksConfig) GetArrayType ¶
func (x *DisksConfig) GetArrayType() DisksArrayType
func (*DisksConfig) GetChildren ¶
func (x *DisksConfig) GetChildren() []*DisksConfig
func (*DisksConfig) GetDisks ¶
func (x *DisksConfig) GetDisks() []*DiskConfig
func (*DisksConfig) ProtoMessage ¶
func (*DisksConfig) ProtoMessage()
func (*DisksConfig) ProtoReflect ¶
func (x *DisksConfig) ProtoReflect() protoreflect.Message
func (*DisksConfig) Reset ¶
func (x *DisksConfig) Reset()
func (*DisksConfig) String ¶
func (x *DisksConfig) String() string
type Drive ¶
type Drive struct { Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Readonly bool `protobuf:"varint,5,opt,name=readonly,proto3" json:"readonly,omitempty"` Preserve bool `protobuf:"varint,6,opt,name=preserve,proto3" json:"preserve,omitempty"` // XXX deprecate; EVE always preserves unless there is a purge Drvtype DriveType `protobuf:"varint,8,opt,name=drvtype,proto3,enum=org.lfedge.eve.config.DriveType" json:"drvtype,omitempty"` Target Target `protobuf:"varint,9,opt,name=target,proto3,enum=org.lfedge.eve.config.Target" json:"target,omitempty"` // maxsizebytes indicates the maximum size of the volume. // Initial image size will be resized to the maxsizebytes // iff maxsizebytes is greater than the image size. Maxsizebytes int64 `protobuf:"varint,10,opt,name=maxsizebytes,proto3" json:"maxsizebytes,omitempty"` // contains filtered or unexported fields }
XXX the Drive will be deprecated and we will use Volumes instead
func (*Drive) Descriptor
deprecated
func (*Drive) GetDrvtype ¶
func (*Drive) GetMaxsizebytes ¶
func (*Drive) GetPreserve ¶
func (*Drive) GetReadonly ¶
func (*Drive) ProtoMessage ¶
func (*Drive) ProtoMessage()
func (*Drive) ProtoReflect ¶
func (x *Drive) ProtoReflect() protoreflect.Message
type DriveType ¶
type DriveType int32
XXX the DriveType will be deprecated when we deprecate Drive
func (DriveType) Descriptor ¶
func (DriveType) Descriptor() protoreflect.EnumDescriptor
func (DriveType) EnumDescriptor
deprecated
func (DriveType) Number ¶
func (x DriveType) Number() protoreflect.EnumNumber
func (DriveType) Type ¶
func (DriveType) Type() protoreflect.EnumType
type DsType ¶
type DsType int32
func (DsType) Descriptor ¶
func (DsType) Descriptor() protoreflect.EnumDescriptor
func (DsType) EnumDescriptor
deprecated
func (DsType) Number ¶
func (x DsType) Number() protoreflect.EnumNumber
func (DsType) Type ¶
func (DsType) Type() protoreflect.EnumType
type EVE_OPAQUE_OBJECT_CATEGORY ¶
type EVE_OPAQUE_OBJECT_CATEGORY int32
const ( EVE_OPAQUE_OBJECT_CATEGORY_UNKOWN EVE_OPAQUE_OBJECT_CATEGORY = 0 EVE_OPAQUE_OBJECT_CATEGORY_BASE64 EVE_OPAQUE_OBJECT_CATEGORY = 1 EVE_OPAQUE_OBJECT_CATEGORY_BINARYBLOB EVE_OPAQUE_OBJECT_CATEGORY = 2 EVE_OPAQUE_OBJECT_CATEGORY_SECRET EVE_OPAQUE_OBJECT_CATEGORY = 3 )
func (EVE_OPAQUE_OBJECT_CATEGORY) Descriptor ¶
func (EVE_OPAQUE_OBJECT_CATEGORY) Descriptor() protoreflect.EnumDescriptor
func (EVE_OPAQUE_OBJECT_CATEGORY) Enum ¶
func (x EVE_OPAQUE_OBJECT_CATEGORY) Enum() *EVE_OPAQUE_OBJECT_CATEGORY
func (EVE_OPAQUE_OBJECT_CATEGORY) EnumDescriptor
deprecated
func (EVE_OPAQUE_OBJECT_CATEGORY) EnumDescriptor() ([]byte, []int)
Deprecated: Use EVE_OPAQUE_OBJECT_CATEGORY.Descriptor instead.
func (EVE_OPAQUE_OBJECT_CATEGORY) Number ¶
func (x EVE_OPAQUE_OBJECT_CATEGORY) Number() protoreflect.EnumNumber
func (EVE_OPAQUE_OBJECT_CATEGORY) String ¶
func (x EVE_OPAQUE_OBJECT_CATEGORY) String() string
func (EVE_OPAQUE_OBJECT_CATEGORY) Type ¶
func (EVE_OPAQUE_OBJECT_CATEGORY) Type() protoreflect.EnumType
type EVE_PATCH_ENVELOPE_ACTION ¶
type EVE_PATCH_ENVELOPE_ACTION int32
const ( EVE_PATCH_ENVELOPE_ACTION_STORE EVE_PATCH_ENVELOPE_ACTION = 0 EVE_PATCH_ENVELOPE_ACTION_ACTIVATE EVE_PATCH_ENVELOPE_ACTION = 1 )
func (EVE_PATCH_ENVELOPE_ACTION) Descriptor ¶
func (EVE_PATCH_ENVELOPE_ACTION) Descriptor() protoreflect.EnumDescriptor
func (EVE_PATCH_ENVELOPE_ACTION) Enum ¶
func (x EVE_PATCH_ENVELOPE_ACTION) Enum() *EVE_PATCH_ENVELOPE_ACTION
func (EVE_PATCH_ENVELOPE_ACTION) EnumDescriptor
deprecated
func (EVE_PATCH_ENVELOPE_ACTION) EnumDescriptor() ([]byte, []int)
Deprecated: Use EVE_PATCH_ENVELOPE_ACTION.Descriptor instead.
func (EVE_PATCH_ENVELOPE_ACTION) Number ¶
func (x EVE_PATCH_ENVELOPE_ACTION) Number() protoreflect.EnumNumber
func (EVE_PATCH_ENVELOPE_ACTION) String ¶
func (x EVE_PATCH_ENVELOPE_ACTION) String() string
func (EVE_PATCH_ENVELOPE_ACTION) Type ¶
func (EVE_PATCH_ENVELOPE_ACTION) Type() protoreflect.EnumType
type EdgeDevConfig ¶
type EdgeDevConfig struct { Id *UUIDandVersion `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Apps []*AppInstanceConfig `protobuf:"bytes,4,rep,name=apps,proto3" json:"apps,omitempty"` Networks []*NetworkConfig `protobuf:"bytes,5,rep,name=networks,proto3" json:"networks,omitempty"` Datastores []*DatastoreConfig `protobuf:"bytes,6,rep,name=datastores,proto3" json:"datastores,omitempty"` // OBSOLETE - base. Use baseos instead. Controller should fill this for // backward compatibility till all the Older Eve images are no longer // supported. Base []*BaseOSConfig `protobuf:"bytes,8,rep,name=base,proto3" json:"base,omitempty"` // BaseOSImage config block Reboot *DeviceOpsCmd `protobuf:"bytes,9,opt,name=reboot,proto3" json:"reboot,omitempty"` Backup *DeviceOpsCmd `protobuf:"bytes,10,opt,name=backup,proto3" json:"backup,omitempty"` ConfigItems []*ConfigItem `protobuf:"bytes,11,rep,name=configItems,proto3" json:"configItems,omitempty"` // systemAdapterList - List of DeviceNetworkAdapters. Only Network // // adapters ( Ex: eth0, wlan1 etc ) have a corresponding SystemAdapter. // // non-Network adapters do not have systemadapters. SystemAdapterList []*SystemAdapter `protobuf:"bytes,12,rep,name=systemAdapterList,proto3" json:"systemAdapterList,omitempty"` // deviceIoList - List of Physical Adapters. Includes both Network // // Adapters and Non-Network Adapters ( USB / Com etc ) DeviceIoList []*PhysicalIO `protobuf:"bytes,13,rep,name=deviceIoList,proto3" json:"deviceIoList,omitempty"` // Override dmidecode info if set Manufacturer string `protobuf:"bytes,14,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` ProductName string `protobuf:"bytes,15,opt,name=productName,proto3" json:"productName,omitempty"` NetworkInstances []*NetworkInstanceConfig `protobuf:"bytes,16,rep,name=networkInstances,proto3" json:"networkInstances,omitempty"` // controller supplies a list of cipher contexts, // containing certificate and other details, to be // used for sensitive data decryption CipherContexts []*evecommon.CipherContext `protobuf:"bytes,19,rep,name=cipherContexts,proto3" json:"cipherContexts,omitempty"` // These images aka ContentTrees and Volumes should be created by EVE // independently of any application usage. // Application instances will refer to the volumes. ContentInfo []*ContentTree `protobuf:"bytes,20,rep,name=contentInfo,proto3" json:"contentInfo,omitempty"` Volumes []*Volume `protobuf:"bytes,21,rep,name=volumes,proto3" json:"volumes,omitempty"` // This field is used by the device to detect when it needs to re-download // the controller certs using the /certs API endpoint. // The controller just needs to ensure this value changes when it wants the // device to re-fetch the controller certs, for instance by having it // be a hash of all of the controller certificates. ControllercertConfighash string `` /* 134-byte string literal not displayed */ // deprecated 23; // If maintence_mode is set the device will operate in a limited mode e.g., // not start applications etc as to enable inspection of its state and // recover from bad state. MaintenanceMode bool `protobuf:"varint,24,opt,name=maintenance_mode,json=maintenanceMode,proto3" json:"maintenance_mode,omitempty"` // controller_epoch indicates current epoch of config // if we set new epoch, EVE sends all info messages to controller // it captures when a new controller takes over and needs all the info be resent ControllerEpoch int64 `protobuf:"varint,25,opt,name=controller_epoch,json=controllerEpoch,proto3" json:"controller_epoch,omitempty"` // Baseos Config Block Baseos *BaseOS `protobuf:"bytes,26,opt,name=baseos,proto3" json:"baseos,omitempty"` // global_profile, if set, controls set of applications which will run. // The Activate=true app instances which have this profile in their profile_list // will run. If the global_profile is not set, then the profile_list is not // used to gate the application instances. GlobalProfile string `protobuf:"bytes,27,opt,name=global_profile,json=globalProfile,proto3" json:"global_profile,omitempty"` // local_profile_server, if set, indicates a hostname/IPv4/IPv6 address and // optional port number at which EVE will request for a local profile. // If such a local profile is retrieved, it will override the global_profile. // The syntax follows the usual URL server name syntax thus the following // are example valid strings: // // [fe80::1]:1234 // 10.1.1.1:1234 // hostname:1234 // [fe80::1] // 10.1.1.1 // hostname // // If the port number is not specified, it will default to 8888 LocalProfileServer string `protobuf:"bytes,28,opt,name=local_profile_server,json=localProfileServer,proto3" json:"local_profile_server,omitempty"` // Together with a local_profile_server one can specify a // profile_server_token. EVE must verify that the response from the // local_profile_server contains this token. ProfileServerToken string `protobuf:"bytes,29,opt,name=profile_server_token,json=profileServerToken,proto3" json:"profile_server_token,omitempty"` // A list of VLAN sub-interfaces configured for EVE management traffic and // for local network instances. Vlans []*VlanAdapter `protobuf:"bytes,30,rep,name=vlans,proto3" json:"vlans,omitempty"` // A list of bond interfaces (LAGs) aggregating physical network adapters. Bonds []*BondAdapter `protobuf:"bytes,31,rep,name=bonds,proto3" json:"bonds,omitempty"` // edge-view configuration Edgeview *EdgeViewConfig `protobuf:"bytes,32,opt,name=edgeview,proto3" json:"edgeview,omitempty"` // disks configuration Disks *DisksConfig `protobuf:"bytes,33,opt,name=disks,proto3" json:"disks,omitempty"` // Graceful shutdown of all app instances on the edge node. // Any local profile server is shut down after all the other app instances // have halted. // Note that this does not power off the edge node since there is no remote // power on capability; power off can be done locally using the Local Profile // Server API. Shutdown *DeviceOpsCmd `protobuf:"bytes,34,opt,name=shutdown,proto3" json:"shutdown,omitempty"` DeviceName string `protobuf:"bytes,35,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` ProjectName string `protobuf:"bytes,36,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` ProjectId string `protobuf:"bytes,37,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` EnterpriseName string `protobuf:"bytes,38,opt,name=enterprise_name,json=enterpriseName,proto3" json:"enterprise_name,omitempty"` EnterpriseId string `protobuf:"bytes,39,opt,name=enterprise_id,json=enterpriseId,proto3" json:"enterprise_id,omitempty"` // Timestamp updated by controller whenever device config is modified. // Used by EVE to properly order configurations that originate at the same controller // but get submitted to device through different ways: // // /config API vs. initial config for bootstrapping vs. USB-based config override etc. // // This ensures that device will not accidentally revert back to an older configuration. // Does not apply to legacy override.json and usb.json mechanisms. ConfigTimestamp *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=config_timestamp,json=configTimestamp,proto3" json:"config_timestamp,omitempty"` // Configuration of the Local Operator Console (LOC) LocConfig *LOCConfig `protobuf:"bytes,41,opt,name=loc_config,json=locConfig,proto3" json:"loc_config,omitempty"` PatchEnvelopes []*EvePatchEnvelope `protobuf:"bytes,42,rep,name=patchEnvelopes,proto3" json:"patchEnvelopes,omitempty"` // cluster configuration Cluster *EdgeNodeCluster `protobuf:"bytes,43,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
This is the response to a GET /api/v1/edgeDevice/config The EdgeDevConfig message carries all of the device's configuration from the controller to the device. The device will request these messages either periodically or as a result of some TBD notification. The message is assumed to be protected by a TLS session bound to the device certificate.
func (*EdgeDevConfig) Descriptor
deprecated
func (*EdgeDevConfig) Descriptor() ([]byte, []int)
Deprecated: Use EdgeDevConfig.ProtoReflect.Descriptor instead.
func (*EdgeDevConfig) GetApps ¶
func (x *EdgeDevConfig) GetApps() []*AppInstanceConfig
func (*EdgeDevConfig) GetBackup ¶
func (x *EdgeDevConfig) GetBackup() *DeviceOpsCmd
func (*EdgeDevConfig) GetBase ¶
func (x *EdgeDevConfig) GetBase() []*BaseOSConfig
func (*EdgeDevConfig) GetBaseos ¶
func (x *EdgeDevConfig) GetBaseos() *BaseOS
func (*EdgeDevConfig) GetBonds ¶
func (x *EdgeDevConfig) GetBonds() []*BondAdapter
func (*EdgeDevConfig) GetCipherContexts ¶
func (x *EdgeDevConfig) GetCipherContexts() []*evecommon.CipherContext
func (*EdgeDevConfig) GetCluster ¶
func (x *EdgeDevConfig) GetCluster() *EdgeNodeCluster
func (*EdgeDevConfig) GetConfigItems ¶
func (x *EdgeDevConfig) GetConfigItems() []*ConfigItem
func (*EdgeDevConfig) GetConfigTimestamp ¶
func (x *EdgeDevConfig) GetConfigTimestamp() *timestamppb.Timestamp
func (*EdgeDevConfig) GetContentInfo ¶
func (x *EdgeDevConfig) GetContentInfo() []*ContentTree
func (*EdgeDevConfig) GetControllerEpoch ¶
func (x *EdgeDevConfig) GetControllerEpoch() int64
func (*EdgeDevConfig) GetControllercertConfighash ¶
func (x *EdgeDevConfig) GetControllercertConfighash() string
func (*EdgeDevConfig) GetDatastores ¶
func (x *EdgeDevConfig) GetDatastores() []*DatastoreConfig
func (*EdgeDevConfig) GetDeviceIoList ¶
func (x *EdgeDevConfig) GetDeviceIoList() []*PhysicalIO
func (*EdgeDevConfig) GetDeviceName ¶
func (x *EdgeDevConfig) GetDeviceName() string
func (*EdgeDevConfig) GetDisks ¶
func (x *EdgeDevConfig) GetDisks() *DisksConfig
func (*EdgeDevConfig) GetEdgeview ¶
func (x *EdgeDevConfig) GetEdgeview() *EdgeViewConfig
func (*EdgeDevConfig) GetEnterpriseId ¶
func (x *EdgeDevConfig) GetEnterpriseId() string
func (*EdgeDevConfig) GetEnterpriseName ¶
func (x *EdgeDevConfig) GetEnterpriseName() string
func (*EdgeDevConfig) GetGlobalProfile ¶
func (x *EdgeDevConfig) GetGlobalProfile() string
func (*EdgeDevConfig) GetId ¶
func (x *EdgeDevConfig) GetId() *UUIDandVersion
func (*EdgeDevConfig) GetLocConfig ¶
func (x *EdgeDevConfig) GetLocConfig() *LOCConfig
func (*EdgeDevConfig) GetLocalProfileServer ¶
func (x *EdgeDevConfig) GetLocalProfileServer() string
func (*EdgeDevConfig) GetMaintenanceMode ¶
func (x *EdgeDevConfig) GetMaintenanceMode() bool
func (*EdgeDevConfig) GetManufacturer ¶
func (x *EdgeDevConfig) GetManufacturer() string
func (*EdgeDevConfig) GetNetworkInstances ¶
func (x *EdgeDevConfig) GetNetworkInstances() []*NetworkInstanceConfig
func (*EdgeDevConfig) GetNetworks ¶
func (x *EdgeDevConfig) GetNetworks() []*NetworkConfig
func (*EdgeDevConfig) GetPatchEnvelopes ¶
func (x *EdgeDevConfig) GetPatchEnvelopes() []*EvePatchEnvelope
func (*EdgeDevConfig) GetProductName ¶
func (x *EdgeDevConfig) GetProductName() string
func (*EdgeDevConfig) GetProfileServerToken ¶
func (x *EdgeDevConfig) GetProfileServerToken() string
func (*EdgeDevConfig) GetProjectId ¶
func (x *EdgeDevConfig) GetProjectId() string
func (*EdgeDevConfig) GetProjectName ¶
func (x *EdgeDevConfig) GetProjectName() string
func (*EdgeDevConfig) GetReboot ¶
func (x *EdgeDevConfig) GetReboot() *DeviceOpsCmd
func (*EdgeDevConfig) GetShutdown ¶
func (x *EdgeDevConfig) GetShutdown() *DeviceOpsCmd
func (*EdgeDevConfig) GetSystemAdapterList ¶
func (x *EdgeDevConfig) GetSystemAdapterList() []*SystemAdapter
func (*EdgeDevConfig) GetVlans ¶
func (x *EdgeDevConfig) GetVlans() []*VlanAdapter
func (*EdgeDevConfig) GetVolumes ¶
func (x *EdgeDevConfig) GetVolumes() []*Volume
func (*EdgeDevConfig) ProtoMessage ¶
func (*EdgeDevConfig) ProtoMessage()
func (*EdgeDevConfig) ProtoReflect ¶
func (x *EdgeDevConfig) ProtoReflect() protoreflect.Message
func (*EdgeDevConfig) Reset ¶
func (x *EdgeDevConfig) Reset()
func (*EdgeDevConfig) String ¶
func (x *EdgeDevConfig) String() string
type EdgeNodeCluster ¶
type EdgeNodeCluster struct { // cluster name, in case it has multiple cluster on the same site ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // cluster UUID ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Cluster-Interface, for example "mgmt0", this is the logicallabel of the physicalIO ClusterInterface string `protobuf:"bytes,3,opt,name=cluster_interface,json=clusterInterface,proto3" json:"cluster_interface,omitempty"` // the 'cluster-prefix' IP address of the 'Cluster-Interface', 10.244.244.2/28 ClusterIpPrefix string `protobuf:"bytes,4,opt,name=cluster_ip_prefix,json=clusterIpPrefix,proto3" json:"cluster_ip_prefix,omitempty"` // This device is an 'Agent' node IsWorkerNode bool `protobuf:"varint,5,opt,name=is_worker_node,json=isWorkerNode,proto3" json:"is_worker_node,omitempty"` // Server IP address to join the cluster. E.g. 10.244.244.1 JoinServerIp string `protobuf:"bytes,6,opt,name=join_server_ip,json=joinServerIp,proto3" json:"join_server_ip,omitempty"` // encrypted token string, use edge-node TPM to decrypt EncryptedClusterToken *evecommon.CipherBlock `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EdgeNodeCluster) Descriptor
deprecated
func (*EdgeNodeCluster) Descriptor() ([]byte, []int)
Deprecated: Use EdgeNodeCluster.ProtoReflect.Descriptor instead.
func (*EdgeNodeCluster) GetClusterId ¶
func (x *EdgeNodeCluster) GetClusterId() string
func (*EdgeNodeCluster) GetClusterInterface ¶
func (x *EdgeNodeCluster) GetClusterInterface() string
func (*EdgeNodeCluster) GetClusterIpPrefix ¶
func (x *EdgeNodeCluster) GetClusterIpPrefix() string
func (*EdgeNodeCluster) GetClusterName ¶
func (x *EdgeNodeCluster) GetClusterName() string
func (*EdgeNodeCluster) GetEncryptedClusterToken ¶
func (x *EdgeNodeCluster) GetEncryptedClusterToken() *evecommon.CipherBlock
func (*EdgeNodeCluster) GetIsWorkerNode ¶
func (x *EdgeNodeCluster) GetIsWorkerNode() bool
func (*EdgeNodeCluster) GetJoinServerIp ¶
func (x *EdgeNodeCluster) GetJoinServerIp() string
func (*EdgeNodeCluster) ProtoMessage ¶
func (*EdgeNodeCluster) ProtoMessage()
func (*EdgeNodeCluster) ProtoReflect ¶
func (x *EdgeNodeCluster) ProtoReflect() protoreflect.Message
func (*EdgeNodeCluster) Reset ¶
func (x *EdgeNodeCluster) Reset()
func (*EdgeNodeCluster) String ¶
func (x *EdgeNodeCluster) String() string
type EdgeViewConfig ¶
type EdgeViewConfig struct { // JWT token for signed info, it contains the dispatcher // endpoint IP:Port, device UUID, nonce and expiration time Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // dispatcher certificate(s) if it's not well-known CA signed DispCertPem [][]byte `protobuf:"bytes,2,rep,name=disp_cert_pem,json=dispCertPem,proto3" json:"disp_cert_pem,omitempty"` // policy for device access through edge-view DevPolicy *DevDebugAccessPolicy `protobuf:"bytes,3,opt,name=dev_policy,json=devPolicy,proto3" json:"dev_policy,omitempty"` // policy access for apps through edge-view AppPolicy *AppDebugAccessPolicy `protobuf:"bytes,4,opt,name=app_policy,json=appPolicy,proto3" json:"app_policy,omitempty"` // policy access for external endpoint through edge-view ExtPolicy *ExternalEndPointPolicy `protobuf:"bytes,5,opt,name=ext_policy,json=extPolicy,proto3" json:"ext_policy,omitempty"` // Generation ID for re-start edgeview without parameter changes GenerationId uint32 `protobuf:"varint,6,opt,name=generation_id,json=generationId,proto3" json:"generation_id,omitempty"` // contains filtered or unexported fields }
func (*EdgeViewConfig) Descriptor
deprecated
func (*EdgeViewConfig) Descriptor() ([]byte, []int)
Deprecated: Use EdgeViewConfig.ProtoReflect.Descriptor instead.
func (*EdgeViewConfig) GetAppPolicy ¶
func (x *EdgeViewConfig) GetAppPolicy() *AppDebugAccessPolicy
func (*EdgeViewConfig) GetDevPolicy ¶
func (x *EdgeViewConfig) GetDevPolicy() *DevDebugAccessPolicy
func (*EdgeViewConfig) GetDispCertPem ¶
func (x *EdgeViewConfig) GetDispCertPem() [][]byte
func (*EdgeViewConfig) GetExtPolicy ¶
func (x *EdgeViewConfig) GetExtPolicy() *ExternalEndPointPolicy
func (*EdgeViewConfig) GetGenerationId ¶
func (x *EdgeViewConfig) GetGenerationId() uint32
func (*EdgeViewConfig) GetToken ¶
func (x *EdgeViewConfig) GetToken() string
func (*EdgeViewConfig) ProtoMessage ¶
func (*EdgeViewConfig) ProtoMessage()
func (*EdgeViewConfig) ProtoReflect ¶
func (x *EdgeViewConfig) ProtoReflect() protoreflect.Message
func (*EdgeViewConfig) Reset ¶
func (x *EdgeViewConfig) Reset()
func (*EdgeViewConfig) String ¶
func (x *EdgeViewConfig) String() string
type EthVF ¶
type EthVF struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"` VlanId uint32 `protobuf:"varint,3,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // contains filtered or unexported fields }
Information regarding Virtual Function (VF) customisation
func (*EthVF) Descriptor
deprecated
func (*EthVF) ProtoMessage ¶
func (*EthVF) ProtoMessage()
func (*EthVF) ProtoReflect ¶
func (x *EthVF) ProtoReflect() protoreflect.Message
type EveBinaryArtifact ¶
type EveBinaryArtifact struct { // base64 or binary blob only - secret type is invalid Format EVE_OPAQUE_OBJECT_CATEGORY `protobuf:"varint,1,opt,name=format,proto3,enum=org.lfedge.eve.config.EVE_OPAQUE_OBJECT_CATEGORY" json:"format,omitempty"` // Types that are assignable to BinaryBlob: // // *EveBinaryArtifact_Inline // *EveBinaryArtifact_VolumeRef BinaryBlob isEveBinaryArtifact_BinaryBlob `protobuf_oneof:"binaryBlob"` ArtifactMetaData *string `protobuf:"bytes,4,opt,name=artifactMetaData,proto3,oneof" json:"artifactMetaData,omitempty"` // contains filtered or unexported fields }
func (*EveBinaryArtifact) Descriptor
deprecated
func (*EveBinaryArtifact) Descriptor() ([]byte, []int)
Deprecated: Use EveBinaryArtifact.ProtoReflect.Descriptor instead.
func (*EveBinaryArtifact) GetArtifactMetaData ¶
func (x *EveBinaryArtifact) GetArtifactMetaData() string
func (*EveBinaryArtifact) GetBinaryBlob ¶
func (m *EveBinaryArtifact) GetBinaryBlob() isEveBinaryArtifact_BinaryBlob
func (*EveBinaryArtifact) GetFormat ¶
func (x *EveBinaryArtifact) GetFormat() EVE_OPAQUE_OBJECT_CATEGORY
func (*EveBinaryArtifact) GetInline ¶
func (x *EveBinaryArtifact) GetInline() *InlineOpaqueBase64Data
func (*EveBinaryArtifact) GetVolumeRef ¶
func (x *EveBinaryArtifact) GetVolumeRef() *ExternalOpaqueBinaryBlob
func (*EveBinaryArtifact) ProtoMessage ¶
func (*EveBinaryArtifact) ProtoMessage()
func (*EveBinaryArtifact) ProtoReflect ¶
func (x *EveBinaryArtifact) ProtoReflect() protoreflect.Message
func (*EveBinaryArtifact) Reset ¶
func (x *EveBinaryArtifact) Reset()
func (*EveBinaryArtifact) String ¶
func (x *EveBinaryArtifact) String() string
type EveBinaryArtifact_Inline ¶
type EveBinaryArtifact_Inline struct {
Inline *InlineOpaqueBase64Data `protobuf:"bytes,2,opt,name=inline,proto3,oneof"`
}
type EveBinaryArtifact_VolumeRef ¶
type EveBinaryArtifact_VolumeRef struct {
VolumeRef *ExternalOpaqueBinaryBlob `protobuf:"bytes,3,opt,name=volumeRef,proto3,oneof"`
}
type EvePatchEnvelope ¶
type EvePatchEnvelope struct { // Unique name provided by user DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` // Unique Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // arbitrary version from user Version *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"` // way this object should be treated Action EVE_PATCH_ENVELOPE_ACTION `protobuf:"varint,4,opt,name=action,proto3,enum=org.lfedge.eve.config.EVE_PATCH_ENVELOPE_ACTION" json:"action,omitempty"` Artifacts []*EveBinaryArtifact `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // List of application instance ids that should // be allowed to access this patch envelope AppInstIdsAllowed []string `protobuf:"bytes,6,rep,name=appInstIdsAllowed,proto3" json:"appInstIdsAllowed,omitempty"` // Time object created in UTC format CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createTime,proto3" json:"createTime,omitempty"` // contains filtered or unexported fields }
func (*EvePatchEnvelope) Descriptor
deprecated
func (*EvePatchEnvelope) Descriptor() ([]byte, []int)
Deprecated: Use EvePatchEnvelope.ProtoReflect.Descriptor instead.
func (*EvePatchEnvelope) GetAction ¶
func (x *EvePatchEnvelope) GetAction() EVE_PATCH_ENVELOPE_ACTION
func (*EvePatchEnvelope) GetAppInstIdsAllowed ¶
func (x *EvePatchEnvelope) GetAppInstIdsAllowed() []string
func (*EvePatchEnvelope) GetArtifacts ¶
func (x *EvePatchEnvelope) GetArtifacts() []*EveBinaryArtifact
func (*EvePatchEnvelope) GetCreateTime ¶
func (x *EvePatchEnvelope) GetCreateTime() *timestamppb.Timestamp
func (*EvePatchEnvelope) GetDisplayName ¶
func (x *EvePatchEnvelope) GetDisplayName() string
func (*EvePatchEnvelope) GetUuid ¶
func (x *EvePatchEnvelope) GetUuid() string
func (*EvePatchEnvelope) GetVersion ¶
func (x *EvePatchEnvelope) GetVersion() string
func (*EvePatchEnvelope) ProtoMessage ¶
func (*EvePatchEnvelope) ProtoMessage()
func (*EvePatchEnvelope) ProtoReflect ¶
func (x *EvePatchEnvelope) ProtoReflect() protoreflect.Message
func (*EvePatchEnvelope) Reset ¶
func (x *EvePatchEnvelope) Reset()
func (*EvePatchEnvelope) String ¶
func (x *EvePatchEnvelope) String() string
type ExternalEndPointPolicy ¶
type ExternalEndPointPolicy struct { // external of device side of edge-view access is allowed or not AllowExt bool `protobuf:"varint,1,opt,name=allow_ext,json=allowExt,proto3" json:"allow_ext,omitempty"` // contains filtered or unexported fields }
External Endpoint applicable to edge-view To mean the entity external to the device, e.g. a local-profile server on the LAN outside of mgmt or app-shared ports. since it's not part of EVE, and not part of EVE applications. In the EdgeView code, if tcp session setup is to an address we don't have, it identifies the request as 'external'
func (*ExternalEndPointPolicy) Descriptor
deprecated
func (*ExternalEndPointPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ExternalEndPointPolicy.ProtoReflect.Descriptor instead.
func (*ExternalEndPointPolicy) GetAllowExt ¶
func (x *ExternalEndPointPolicy) GetAllowExt() bool
func (*ExternalEndPointPolicy) ProtoMessage ¶
func (*ExternalEndPointPolicy) ProtoMessage()
func (*ExternalEndPointPolicy) ProtoReflect ¶
func (x *ExternalEndPointPolicy) ProtoReflect() protoreflect.Message
func (*ExternalEndPointPolicy) Reset ¶
func (x *ExternalEndPointPolicy) Reset()
func (*ExternalEndPointPolicy) String ¶
func (x *ExternalEndPointPolicy) String() string
type ExternalOpaqueBinaryBlob ¶
type ExternalOpaqueBinaryBlob struct { // Name of the image uploaded into data store ImageName string `protobuf:"bytes,1,opt,name=imageName,proto3" json:"imageName,omitempty"` // file name to be used for storing this data in EVE // the same file name shall be advertised to application agent // if it's empty EVE will use image name FileNameToUse *string `protobuf:"bytes,2,opt,name=fileNameToUse,proto3,oneof" json:"fileNameToUse,omitempty"` // can be image type or size encoded into a single string BlobMetaData *string `protobuf:"bytes,3,opt,name=blobMetaData,proto3,oneof" json:"blobMetaData,omitempty"` // Target field of Volume set to AppCustom // refers to UUID of a volume ImageId string `protobuf:"bytes,4,opt,name=imageId,proto3" json:"imageId,omitempty"` // contains filtered or unexported fields }
func (*ExternalOpaqueBinaryBlob) Descriptor
deprecated
func (*ExternalOpaqueBinaryBlob) Descriptor() ([]byte, []int)
Deprecated: Use ExternalOpaqueBinaryBlob.ProtoReflect.Descriptor instead.
func (*ExternalOpaqueBinaryBlob) GetBlobMetaData ¶
func (x *ExternalOpaqueBinaryBlob) GetBlobMetaData() string
func (*ExternalOpaqueBinaryBlob) GetFileNameToUse ¶
func (x *ExternalOpaqueBinaryBlob) GetFileNameToUse() string
func (*ExternalOpaqueBinaryBlob) GetImageId ¶
func (x *ExternalOpaqueBinaryBlob) GetImageId() string
func (*ExternalOpaqueBinaryBlob) GetImageName ¶
func (x *ExternalOpaqueBinaryBlob) GetImageName() string
func (*ExternalOpaqueBinaryBlob) ProtoMessage ¶
func (*ExternalOpaqueBinaryBlob) ProtoMessage()
func (*ExternalOpaqueBinaryBlob) ProtoReflect ¶
func (x *ExternalOpaqueBinaryBlob) ProtoReflect() protoreflect.Message
func (*ExternalOpaqueBinaryBlob) Reset ¶
func (x *ExternalOpaqueBinaryBlob) Reset()
func (*ExternalOpaqueBinaryBlob) String ¶
func (x *ExternalOpaqueBinaryBlob) String() string
type Format ¶
type Format int32
func (Format) Descriptor ¶
func (Format) Descriptor() protoreflect.EnumDescriptor
func (Format) EnumDescriptor
deprecated
func (Format) Number ¶
func (x Format) Number() protoreflect.EnumNumber
func (Format) Type ¶
func (Format) Type() protoreflect.EnumType
type IPRoute ¶
type IPRoute struct { // Destination network address in the CIDR format: <IP-address>/<prefix-length> // It is allowed to submit default route with all-zeroes destination network address // 0.0.0.0/0 or ::/0. DestinationNetwork string `protobuf:"bytes,1,opt,name=destination_network,json=destinationNetwork,proto3" json:"destination_network,omitempty"` // Gateway IP address. // This must be a valid IP address and can not be all-zeroes. // At least one of 'gateway' or 'port' (see below) must be defined (both can be set). // This can be an external gateway IP or an IP address of one of the app instances // connected to the network instance. Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"` // Output device port for the routed traffic. // Either a single NI port referenced by its name (SystemAdapter.Name, aka logical label) // or an adapter shared-label matching zero or more NI ports (multipath routing). // Can be used additionally to or instead of `gateway` to determine the next hop // and the output network interface for the destination network. // At least one of 'gateway' or 'port' must be defined. // Since 'port' refers to one or more physical network adapters, it is not applicable // to routes where gateway points to another application instance running on EVE. // If shared label is used, EVE will pick (at most) one of the matched ports to be used // for route at a given time. Port is selected based on connectivity status, port costs, // wwan signal strength, etc. - see config options below. // Note that load-balancing across multiple ports is not yet supported. // Also please note that if `gateway` is defined, only ports with subnets containing // the gateway IP will be considered. Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` // Periodically probe remote endpoint to determine connectivity status of every port // selected for the route (by the 'port' label, see above). One of the ports with // a working connectivity is then picked for the route. If there are multiple connected // ports, other port selection criteria are considered (port costs, wwan signal strength, // etc., see other options of IPRoute). // Probing effectively provides automatic fail-over between ports. // If 'port' is not defined or references only a single port (e.g. directly by // the logical label), probing is skipped (nothing to fail-over to anyway). // If probing is not enabled, EVE picks the port based on other remaining criteria, // such as cost, wwan network signal, etc. (and eventually possibly making a random // choice). Probe *PortProbe `protobuf:"bytes,4,opt,name=probe,proto3" json:"probe,omitempty"` // When EVE is deciding which port to use for multipath route and multiple ports have // working connectivity (or probing is disabled), port can be selected based on the cost // (see SystemAdapter.cost). If this option is enabled, EVE will prefer ports with lower // costs. PreferLowerCost bool `protobuf:"varint,5,opt,name=prefer_lower_cost,json=preferLowerCost,proto3" json:"prefer_lower_cost,omitempty"` // When EVE is deciding which port to use for multipath route and there are multiple // candidates among cellular modems, it might make sense to consider the current cellular // network signal strength. If this option is enabled, EVE will prefer cellular ports // with better signal (only among cellular ports). PreferStrongerWwanSignal bool `` // TODO: config for multipath load-balancing /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IPRoute) Descriptor
deprecated
func (*IPRoute) GetDestinationNetwork ¶
func (*IPRoute) GetGateway ¶
func (*IPRoute) GetPreferLowerCost ¶
func (*IPRoute) GetPreferStrongerWwanSignal ¶
func (*IPRoute) ProtoMessage ¶
func (*IPRoute) ProtoMessage()
func (*IPRoute) ProtoReflect ¶
func (x *IPRoute) ProtoReflect() protoreflect.Message
type Image ¶
type Image struct { Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"` // it could be relative path/name as well; appended to the datastore dpath Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Sha256 string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"` // EVE will verify this sha for the content Iformat Format `protobuf:"varint,4,opt,name=iformat,proto3,enum=org.lfedge.eve.config.Format" json:"iformat,omitempty"` // if its signed image Siginfo *SignatureInfo `protobuf:"bytes,5,opt,name=siginfo,proto3" json:"siginfo,omitempty"` DsId string `protobuf:"bytes,6,opt,name=dsId,proto3" json:"dsId,omitempty"` // Datastore UUID // sizeBytes indicates the maximum download size of an image. // A value of 0 will indicate the unlimited download. SizeBytes int64 `protobuf:"varint,8,opt,name=sizeBytes,proto3" json:"sizeBytes,omitempty"` // contains filtered or unexported fields }
XXX the Image will be deprecated and we will use ContentTree instead
func (*Image) Descriptor
deprecated
func (*Image) GetIformat ¶
func (*Image) GetSiginfo ¶
func (x *Image) GetSiginfo() *SignatureInfo
func (*Image) GetSizeBytes ¶
func (*Image) GetUuidandversion ¶
func (x *Image) GetUuidandversion() *UUIDandVersion
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type InlineOpaqueBase64Data ¶
type InlineOpaqueBase64Data struct { // base64 encoded data Base64Data string `protobuf:"bytes,1,opt,name=base64Data,proto3" json:"base64Data,omitempty"` // file name to be used for storing this data // same file name shall be advertised to application agent FileNameToUse string `protobuf:"bytes,2,opt,name=fileNameToUse,proto3" json:"fileNameToUse,omitempty"` // any arbitraty metadata encoded to base64 string Base64MetaData *string `protobuf:"bytes,3,opt,name=base64MetaData,proto3,oneof" json:"base64MetaData,omitempty"` // contains filtered or unexported fields }
func (*InlineOpaqueBase64Data) Descriptor
deprecated
func (*InlineOpaqueBase64Data) Descriptor() ([]byte, []int)
Deprecated: Use InlineOpaqueBase64Data.ProtoReflect.Descriptor instead.
func (*InlineOpaqueBase64Data) GetBase64Data ¶
func (x *InlineOpaqueBase64Data) GetBase64Data() string
func (*InlineOpaqueBase64Data) GetBase64MetaData ¶
func (x *InlineOpaqueBase64Data) GetBase64MetaData() string
func (*InlineOpaqueBase64Data) GetFileNameToUse ¶
func (x *InlineOpaqueBase64Data) GetFileNameToUse() string
func (*InlineOpaqueBase64Data) ProtoMessage ¶
func (*InlineOpaqueBase64Data) ProtoMessage()
func (*InlineOpaqueBase64Data) ProtoReflect ¶
func (x *InlineOpaqueBase64Data) ProtoReflect() protoreflect.Message
func (*InlineOpaqueBase64Data) Reset ¶
func (x *InlineOpaqueBase64Data) Reset()
func (*InlineOpaqueBase64Data) String ¶
func (x *InlineOpaqueBase64Data) String() string
type InstanceOpsCmd ¶
type InstanceOpsCmd struct { Counter uint32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"` OpsTime string `protobuf:"bytes,4,opt,name=opsTime,proto3" json:"opsTime,omitempty"` // Not currently used // contains filtered or unexported fields }
func (*InstanceOpsCmd) Descriptor
deprecated
func (*InstanceOpsCmd) Descriptor() ([]byte, []int)
Deprecated: Use InstanceOpsCmd.ProtoReflect.Descriptor instead.
func (*InstanceOpsCmd) GetCounter ¶
func (x *InstanceOpsCmd) GetCounter() uint32
func (*InstanceOpsCmd) GetOpsTime ¶
func (x *InstanceOpsCmd) GetOpsTime() string
func (*InstanceOpsCmd) ProtoMessage ¶
func (*InstanceOpsCmd) ProtoMessage()
func (*InstanceOpsCmd) ProtoReflect ¶
func (x *InstanceOpsCmd) ProtoReflect() protoreflect.Message
func (*InstanceOpsCmd) Reset ¶
func (x *InstanceOpsCmd) Reset()
func (*InstanceOpsCmd) String ¶
func (x *InstanceOpsCmd) String() string
type IpRange ¶
type IpRange struct { Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*IpRange) Descriptor
deprecated
func (*IpRange) ProtoMessage ¶
func (*IpRange) ProtoMessage()
func (*IpRange) ProtoReflect ¶
func (x *IpRange) ProtoReflect() protoreflect.Message
type Ipspec ¶
type Ipspec struct { Dhcp DHCPType `protobuf:"varint,2,opt,name=dhcp,proto3,enum=org.lfedge.eve.config.DHCPType" json:"dhcp,omitempty"` // subnet is CIDR format...x.y.z.l/nn Subnet string `protobuf:"bytes,3,opt,name=subnet,proto3" json:"subnet,omitempty"` Gateway string `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"` Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"` // ntp and more_ntp are used as a union to specify several NTP servers // via IP address or FQDN // this is for historical reasons when we only allowed to specify one // NTP server Ntp string `protobuf:"bytes,7,opt,name=ntp,proto3" json:"ntp,omitempty"` MoreNtp []string `protobuf:"bytes,10,rep,name=more_ntp,json=moreNtp,proto3" json:"more_ntp,omitempty"` Dns []string `protobuf:"bytes,8,rep,name=dns,proto3" json:"dns,omitempty"` // for IPAM management when dhcp is turned on. // If none provided, system will default pool. DhcpRange *IpRange `protobuf:"bytes,9,opt,name=dhcpRange,proto3" json:"dhcpRange,omitempty"` // Even if DhcpType is Client, EVE still accepts static // IP config and will merge it with the DHCP-provided one by default // use the following option to override this behavior DhcpOptionsIgnore *DhcpOptionsIgnore `protobuf:"bytes,11,opt,name=dhcp_options_ignore,json=dhcpOptionsIgnore,proto3" json:"dhcp_options_ignore,omitempty"` // contains filtered or unexported fields }
Common for IPv4 and IPv6
func (*Ipspec) Descriptor
deprecated
func (*Ipspec) GetDhcpOptionsIgnore ¶
func (x *Ipspec) GetDhcpOptionsIgnore() *DhcpOptionsIgnore
func (*Ipspec) GetDhcpRange ¶
func (*Ipspec) GetGateway ¶
func (*Ipspec) GetMoreNtp ¶
func (*Ipspec) ProtoMessage ¶
func (*Ipspec) ProtoMessage()
func (*Ipspec) ProtoReflect ¶
func (x *Ipspec) ProtoReflect() protoreflect.Message
type LOCConfig ¶
type LOCConfig struct { // If set indicates URL of the Local Operator Console (LOC) LocUrl string `protobuf:"bytes,1,opt,name=loc_url,json=locUrl,proto3" json:"loc_url,omitempty"` // contains filtered or unexported fields }
func (*LOCConfig) Descriptor
deprecated
func (*LOCConfig) ProtoMessage ¶
func (*LOCConfig) ProtoMessage()
func (*LOCConfig) ProtoReflect ¶
func (x *LOCConfig) ProtoReflect() protoreflect.Message
type LacpRate ¶
type LacpRate int32
Option specifying the rate in which EVE will ask LACP link partners to transmit LACPDU packets in 802.3ad mode.
func (LacpRate) Descriptor ¶
func (LacpRate) Descriptor() protoreflect.EnumDescriptor
func (LacpRate) EnumDescriptor
deprecated
func (LacpRate) Number ¶
func (x LacpRate) Number() protoreflect.EnumNumber
func (LacpRate) Type ¶
func (LacpRate) Type() protoreflect.EnumType
type MIIMonitor ¶
type MIIMonitor struct { // Specifies the MII link monitoring frequency in milliseconds. // This determines how often the link state of each bond slave is inspected // for link failures. Interval uint32 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` // Updelay specifies the time, in milliseconds, to wait before enabling // a bond slave after a link recovery has been detected. // The updelay value should be a multiple of the monitoring interval; if not, // it will be rounded down to the nearest multiple. // The default value is 0. Updelay uint32 `protobuf:"varint,2,opt,name=updelay,proto3" json:"updelay,omitempty"` // Specifies the time, in milliseconds, to wait before disabling a bond // slave after a link failure has been detected. // The downdelay value should be a multiple of the monitoring interval; if not, // it will be rounded down to the nearest multiple. // The default value is 0. Downdelay uint32 `protobuf:"varint,3,opt,name=downdelay,proto3" json:"downdelay,omitempty"` // contains filtered or unexported fields }
MIIMonitor : MII link monitoring parameters. Defined for BondAdapter.
func (*MIIMonitor) Descriptor
deprecated
func (*MIIMonitor) Descriptor() ([]byte, []int)
Deprecated: Use MIIMonitor.ProtoReflect.Descriptor instead.
func (*MIIMonitor) GetDowndelay ¶
func (x *MIIMonitor) GetDowndelay() uint32
func (*MIIMonitor) GetInterval ¶
func (x *MIIMonitor) GetInterval() uint32
func (*MIIMonitor) GetUpdelay ¶
func (x *MIIMonitor) GetUpdelay() uint32
func (*MIIMonitor) ProtoMessage ¶
func (*MIIMonitor) ProtoMessage()
func (*MIIMonitor) ProtoReflect ¶
func (x *MIIMonitor) ProtoReflect() protoreflect.Message
func (*MIIMonitor) Reset ¶
func (x *MIIMonitor) Reset()
func (*MIIMonitor) String ¶
func (x *MIIMonitor) String() string
type MetaDataType ¶
type MetaDataType int32
Type of cloud-init data to provide to application
const ( MetaDataType_MetaDataDrive MetaDataType = 0 MetaDataType_MetaDataNone MetaDataType = 1 // Do not provide metadata MetaDataType_MetaDataOpenStack MetaDataType = 2 MetaDataType_MetaDataDriveMultipart MetaDataType = 3 // Process multipart MIME for application )
func (MetaDataType) Descriptor ¶
func (MetaDataType) Descriptor() protoreflect.EnumDescriptor
func (MetaDataType) Enum ¶
func (x MetaDataType) Enum() *MetaDataType
func (MetaDataType) EnumDescriptor
deprecated
func (MetaDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetaDataType.Descriptor instead.
func (MetaDataType) Number ¶
func (x MetaDataType) Number() protoreflect.EnumNumber
func (MetaDataType) String ¶
func (x MetaDataType) String() string
func (MetaDataType) Type ¶
func (MetaDataType) Type() protoreflect.EnumType
type NetworkAdapter ¶
type NetworkAdapter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name which we report in metrics and status NetworkId string `protobuf:"bytes,3,opt,name=networkId,proto3" json:"networkId,omitempty"` // UUID of NetworkInstance object Addr string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"` // Static IP address; could be IPv4 EID Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"` // Not currently used // more configuration for getting addr/EID CryptoEid string `protobuf:"bytes,10,opt,name=cryptoEid,proto3" json:"cryptoEid,omitempty"` Lispsignature string `protobuf:"bytes,6,opt,name=lispsignature,proto3" json:"lispsignature,omitempty"` Pemcert []byte `protobuf:"bytes,7,opt,name=pemcert,proto3" json:"pemcert,omitempty"` Pemprivatekey []byte `protobuf:"bytes,8,opt,name=pemprivatekey,proto3" json:"pemprivatekey,omitempty"` // Used in case of P2V, where we want to specify a macAddress // to vif, that is simulated towards app MacAddress string `protobuf:"bytes,9,opt,name=macAddress,proto3" json:"macAddress,omitempty"` // firewall Acls []*ACE `protobuf:"bytes,40,rep,name=acls,proto3" json:"acls,omitempty"` // access port vlan id // app interface with access vlan id of zero will be treated as trunk port // valid vlan id range: 2 - 4093 // vlan id 1 is implicitly used by linux bridges AccessVlanId uint32 `protobuf:"varint,41,opt,name=access_vlan_id,json=accessVlanId,proto3" json:"access_vlan_id,omitempty"` // allow AppInstance to discover other AppInstances // attached to this network instance. Default is false AllowToDiscover bool `protobuf:"varint,42,opt,name=allow_to_discover,json=allowToDiscover,proto3" json:"allow_to_discover,omitempty"` // Define the network interface order relative to other virtual network adapters // and directly assigned network devices. // The numbering is across both the "Adapter" (direct assignments) and the "NetworkAdapter" // (virtual interfaces) lists for a given "AppInstanceConfig", thus every entry in these // lists, excluding non-networking adapters, must have a unique order number // (when the "enforce_network_interface_order" is enabled, see "VmConfig"). // Interface with a lower order value should appear inside the application before // interface with a higher order value. // The implementation of this ordering may depend on the hypervisor. For example, // the hypervisor might virtualize the PCI bus and assign lower PCI addresses to // interfaces with lower order values. But the actual outcome of interface ordering // depends on the application and EVE therefore cannot guarantee desired order. // Since this field was introduced in later versions, older EVE versions do not support // user-defined interface ordering. For backward compatibility, the user-defined // order is applied only if "enforce_network_interface_order" is enabled for the given // application (see "VmConfig", file "vm.proto"). InterfaceOrder uint32 `protobuf:"varint,50,opt,name=interface_order,json=interfaceOrder,proto3" json:"interface_order,omitempty"` // contains filtered or unexported fields }
func (*NetworkAdapter) Descriptor
deprecated
func (*NetworkAdapter) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAdapter.ProtoReflect.Descriptor instead.
func (*NetworkAdapter) GetAccessVlanId ¶
func (x *NetworkAdapter) GetAccessVlanId() uint32
func (*NetworkAdapter) GetAcls ¶
func (x *NetworkAdapter) GetAcls() []*ACE
func (*NetworkAdapter) GetAddr ¶
func (x *NetworkAdapter) GetAddr() string
func (*NetworkAdapter) GetAllowToDiscover ¶
func (x *NetworkAdapter) GetAllowToDiscover() bool
func (*NetworkAdapter) GetCryptoEid ¶
func (x *NetworkAdapter) GetCryptoEid() string
func (*NetworkAdapter) GetHostname ¶
func (x *NetworkAdapter) GetHostname() string
func (*NetworkAdapter) GetInterfaceOrder ¶
func (x *NetworkAdapter) GetInterfaceOrder() uint32
func (*NetworkAdapter) GetLispsignature ¶
func (x *NetworkAdapter) GetLispsignature() string
func (*NetworkAdapter) GetMacAddress ¶
func (x *NetworkAdapter) GetMacAddress() string
func (*NetworkAdapter) GetName ¶
func (x *NetworkAdapter) GetName() string
func (*NetworkAdapter) GetNetworkId ¶
func (x *NetworkAdapter) GetNetworkId() string
func (*NetworkAdapter) GetPemcert ¶
func (x *NetworkAdapter) GetPemcert() []byte
func (*NetworkAdapter) GetPemprivatekey ¶
func (x *NetworkAdapter) GetPemprivatekey() []byte
func (*NetworkAdapter) ProtoMessage ¶
func (*NetworkAdapter) ProtoMessage()
func (*NetworkAdapter) ProtoReflect ¶
func (x *NetworkAdapter) ProtoReflect() protoreflect.Message
func (*NetworkAdapter) Reset ¶
func (x *NetworkAdapter) Reset()
func (*NetworkAdapter) String ¶
func (x *NetworkAdapter) String() string
type NetworkConfig ¶
type NetworkConfig struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type NetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=org.lfedge.eve.config.NetworkType" json:"type,omitempty"` // network ip specification Ip *Ipspec `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` Dns []*ZnetStaticDNSEntry `protobuf:"bytes,7,rep,name=dns,proto3" json:"dns,omitempty"` // enterprise proxy EntProxy *ProxyConfig `protobuf:"bytes,8,opt,name=entProxy,proto3" json:"entProxy,omitempty"` // wireless specification Wireless *WirelessConfig `protobuf:"bytes,10,opt,name=wireless,proto3" json:"wireless,omitempty"` // Maximum transmission unit (MTU) to set on the associated network adapter(s). // This is the largest IP packet that the underlying link can and is allowed to carry. // This does not include the L2 header size (e.g. Ethernet header or a VLAN tag size). // The value is a 16-byte unsigned integer, representing the MTU size in bytes. // The minimum accepted value for the MTU is 1280 (RFC 8200, "IPv6 minimum link MTU"). // If not defined (zero value), EVE will set the default MTU size, which depends // on the network adapter type. Ethernet and WiFi adapters default to 1500 bytes, // while cellular modems typically receive their MTU value from the network provider // (which EVE will use unless user overrides the MTU value). Mtu uint32 `protobuf:"varint,11,opt,name=mtu,proto3" json:"mtu,omitempty"` // contains filtered or unexported fields }
func (*NetworkConfig) Descriptor
deprecated
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetDns ¶
func (x *NetworkConfig) GetDns() []*ZnetStaticDNSEntry
func (*NetworkConfig) GetEntProxy ¶
func (x *NetworkConfig) GetEntProxy() *ProxyConfig
func (*NetworkConfig) GetId ¶
func (x *NetworkConfig) GetId() string
func (*NetworkConfig) GetIp ¶
func (x *NetworkConfig) GetIp() *Ipspec
func (*NetworkConfig) GetMtu ¶
func (x *NetworkConfig) GetMtu() uint32
func (*NetworkConfig) GetType ¶
func (x *NetworkConfig) GetType() NetworkType
func (*NetworkConfig) GetWireless ¶
func (x *NetworkConfig) GetWireless() *WirelessConfig
func (*NetworkConfig) ProtoMessage ¶
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect ¶
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset ¶
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String ¶
func (x *NetworkConfig) String() string
type NetworkInstanceConfig ¶
type NetworkInstanceConfig struct { Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"` Displayname string `protobuf:"bytes,2,opt,name=displayname,proto3" json:"displayname,omitempty"` // instType - Type of network instance ( local, bridge etc ) InstType ZNetworkInstType `protobuf:"varint,4,opt,name=instType,proto3,enum=org.lfedge.eve.config.ZNetworkInstType" json:"instType,omitempty"` // activate // - True by default. If set to false ( deactivate), the network instance // configuration is downloaded to the device, but the network instance // itself is not created on the device. Activate bool `protobuf:"varint,5,opt,name=activate,proto3" json:"activate,omitempty"` // Port(s) providing external connectivity for the network instance. // Either a single port referenced by its name (SystemAdapter.Name, aka logical label) // or an adapter shared-label matching zero or more network ports (ports containing this // label in SystemAdapter.shared_labels). // Note that apart from the user-defined adapter labels, EVE automatically assigns shared // label "all" to every port, "uplink" to every management port and "freeuplink" to every // management port with zero cost. // Both physical (e.g. eth0) and logical (e.g. vlan0) ports are allowed. // However, EVE may filter out some of the matched ports which are not compatible // with the network instance type (e.g. wireless adapters cannot be used with switch NI // and ports without IP addresses are not usable for local NIs). // Network instance with no assigned port (empty port reference or label not matching // any port) is air-gapped, i.e. completely isolated from external networks. // With multiple ports assigned, the behaviour depends on the network instance type. // Switch network instance will run Rapid Spanning Tree Protocol (RSTP) to avoid bridge // loops and the broadcast storm that results from them. // Local network instance will apply IP routes configured for the matched ports (either // statically or via DHCP) to select the next hop and the output port for a given flow. // Traffic not matching any connected, statically-configured, or DHCP-received route, // will be routed according to the default route. Unless user configures a static default // route with customized output port selection, EVE will pick one of the ports for // the default route by periodic connectivity probing, performed for every selected port // (skipped if NI has 1 or 0 ports). // First, NI ports are filtered down to those with a known gateway IP. Then probing // is used to determine connectivity status. For NIs with EVE-provided "uplink" or // "freeuplink" labels, i.e. matching only mgmt ports, EVE checks port gateway IP // reachability using ICMP ping and controller reachability with TCP connect to // <controller-IP>:443. For NIs with user-defined shared-labels, possibly also matching // app-shared ports, only ICMP ping of the port gateway is performed. EVE then picks port // with a working connectivity, preferring the currently used one. // Add a static default route (see 'static_routes" below) to customize the output port // selection algorithm. Port *Adapter `protobuf:"bytes,20,opt,name=port,proto3" json:"port,omitempty"` // Configuration for the Spanning Tree Protocol (STP), which is run for switch network // instance when the port label matches multiple network ports. Stp *SpanningTreeProtocol `protobuf:"bytes,21,opt,name=stp,proto3" json:"stp,omitempty"` // cfg - Used to pass some feature-specific configuration to the // // network instance. For Ex: Lisp, StriongSwan etc Cfg *NetworkInstanceOpaqueConfig `protobuf:"bytes,30,opt,name=cfg,proto3" json:"cfg,omitempty"` // type of ipSpec IpType AddressType `protobuf:"varint,39,opt,name=ipType,proto3,enum=org.lfedge.eve.config.AddressType" json:"ipType,omitempty"` // network ip specification // Note that ip.gateway must be a valid IP address and can not be all-zeroes. // To suppress automatic propagation of the default route into apps, configure network // instance as air-gapped (without port) or mark all NI ports as app-shared // (not for management) and ensure that they will not get a default route // (e.g. set ip.gateway of the attached NetworkConfig(s) to all-zeroes IP). Ip *Ipspec `protobuf:"bytes,40,opt,name=ip,proto3" json:"ip,omitempty"` // static DNS entry, if we are running DNS/DHCP service Dns []*ZnetStaticDNSEntry `protobuf:"bytes,41,rep,name=dns,proto3" json:"dns,omitempty"` // Enable to use DHCP to automatically propagate routes for port subnets // into applications connected to them indirectly through local network instances. // This option is only valid for local network instances. For other types // of network instances, it will be ignored. PropagateConnectedRoutes bool `` /* 137-byte string literal not displayed */ // List of IP routes statically added to the network instance routing table. // Statically routed subnets are also propagated to connected applications // using DHCP, with gateway set to the network instance bridge IP if it is // outside of the network instance subnet. // // IP route gateway may point to an external endpoint (provided that network // instance is not air-gapped), or to an IP address of one of the applications // connected to the network instance. For an external gateway, user may specify // output port label instead of the IP address. EVE will automatically determine // the gateway IP address (based on the port config statically configured or received // via DHCP). // // Static routes are handled independently from connected routes. While connected // routes are propagated to applications only if enabled by propagate_connected_routes, // static routes are always propagated. Both connected and statically configured // routes can be propagated at the same time, there are no restrictions for using both. // // Note that the default route (with the bridge IP as the gateway) is automatically // propagated to connected applications, unless network instance is air-gapped // (without port) or all NI ports are app-shared (not management) and neither // of them has a default route. In both cases, it is possible to enforce default // route propagation by configuring a static default route for the network instance. // // For more info on static and connected routes please refer to: // https://wiki.lfedge.org/display/EVE/Connected+and+Static+IP+Route // // This option is only valid for local network instances. For other types // of network instances, it will be ignored. StaticRoutes []*IPRoute `protobuf:"bytes,43,rep,name=static_routes,json=staticRoutes,proto3" json:"static_routes,omitempty"` // Maximum transmission unit (MTU) to set for the network instance and all application // interfaces connected to it. // This is the largest IP packet that the network instance is allowed to carry. // This does not include the L2 header size (e.g. Ethernet header or a VLAN tag size). // The value is a 16-byte unsigned integer, representing the MTU size in bytes. // The minimum accepted value for the MTU is 1280 (RFC 8200, "IPv6 minimum link MTU"). // If not defined (zero value), EVE will set the MTU to the default value of 1500 bytes. // On the host side, MTU is set to interfaces by EVE. On the guest (app) side, // the responsibility to set the MTU lies either with EVE or with the user/app, depending on // the network instance, app type and the type of interfaces used (local or switch, // VM or container, virtio or emulated). // For container applications running inside an EVE-created shim-VM, EVE initializes // the MTU of interfaces during shim-VM boot. Furthermore, interfaces connected // to local network instances will have their MTUs automatically updated if there is // a change in MTU configuration. To update the MTU of interfaces connected to switch // network instances, the user may run an external DHCP server in the network and publish // MTU changes via DHCP option 26 (the DHCP client run by EVE inside shim-VM will pick it up // and apply it). // In the case of VM applications, it is mostly the responsibility of the app/user to set // and keep the MTUs up-to-date. // If device provides HW-assisted virtualization capabilities, EVE will connect VM with // network instances using para-virtualized virtio interfaces, which allow to propagate MTU // value from the host to the guest. If the virtio driver used by the app supports the MTU // propagation (VIRTIO_NET_F_MTU feature flag is set), the initial MTU values will be set // using virtio (regardless of the network instance type). // To support MTU update for interfaces connected to local network instances, the app can // run a DHCP client and receive the latest MTU via DHCP option 26. For switch network // instances, the user can run his own external DHCP server in the network with the MTU // option configured. // Please note that application traffic leaving or entering the device via a network // adapter associated with the network instance is additionally limited by MTU values // of NI ports, configured within their NetworkConfig objects (refer to netconfig.proto). // If the configured network instance MTU is higher than MTU of any of the NI ports, // EVE will flag the network instance with an error and use the lowest MTU among // all the NI ports for the network instance instead. This is to prevent apps from sending // packets exceeding the path MTU. Packets entering NI via port with a higher MTU and with // size exceeding the NI MTU will get fragmented inside EVE (if allowed by IP header). // By default (if MTU is not configured by the user, i.e. 'mtu' is zero), EVE uses 1500 // as MTU for air-gapped network instances and the lowest MTU among NI ports for NIs with // external connectivity. Mtu uint32 `protobuf:"varint,44,opt,name=mtu,proto3" json:"mtu,omitempty"` // Disable flow logging for this network instance. // When flow logging is enabled, EVE periodically records all application TCP and UDP // flows. A flow record includes the application UUID, VIF name, open/close timestamps, // source/destination IP/port/protocol 5-tuple, and packet and byte counters. // Additionally, EVE records every DNS request made by an application, including // the request time, the hostname being resolved, and the returned IP address(es). // The flow logging API can be found in proto/config/flowlog/flowlog.proto // If flow logging is not needed, it is recommended to disable this feature as it // can potentially generate a large amount of data, which is then uploaded to the controller. // Depending on the implementation, it may also introduce additional packet processing // overhead. DisableFlowlog bool `protobuf:"varint,50,opt,name=disable_flowlog,json=disableFlowlog,proto3" json:"disable_flowlog,omitempty"` // VLAN access ports configured for a switch network instance. // For other types of network instances, this option is ignored. // This setting applies to physical network ports attached to the network instance. // VLAN configuration for application interfaces is applied separately via AppInstanceConfig // (see NetworkAdapter.access_vlan_id). VlanAccessPorts []*VlanAccessPort `protobuf:"bytes,51,rep,name=vlan_access_ports,json=vlanAccessPorts,proto3" json:"vlan_access_ports,omitempty"` // contains filtered or unexported fields }
func (*NetworkInstanceConfig) Descriptor
deprecated
func (*NetworkInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceConfig.ProtoReflect.Descriptor instead.
func (*NetworkInstanceConfig) GetActivate ¶
func (x *NetworkInstanceConfig) GetActivate() bool
func (*NetworkInstanceConfig) GetCfg ¶
func (x *NetworkInstanceConfig) GetCfg() *NetworkInstanceOpaqueConfig
func (*NetworkInstanceConfig) GetDisableFlowlog ¶
func (x *NetworkInstanceConfig) GetDisableFlowlog() bool
func (*NetworkInstanceConfig) GetDisplayname ¶
func (x *NetworkInstanceConfig) GetDisplayname() string
func (*NetworkInstanceConfig) GetDns ¶
func (x *NetworkInstanceConfig) GetDns() []*ZnetStaticDNSEntry
func (*NetworkInstanceConfig) GetInstType ¶
func (x *NetworkInstanceConfig) GetInstType() ZNetworkInstType
func (*NetworkInstanceConfig) GetIp ¶
func (x *NetworkInstanceConfig) GetIp() *Ipspec
func (*NetworkInstanceConfig) GetIpType ¶
func (x *NetworkInstanceConfig) GetIpType() AddressType
func (*NetworkInstanceConfig) GetMtu ¶
func (x *NetworkInstanceConfig) GetMtu() uint32
func (*NetworkInstanceConfig) GetPort ¶
func (x *NetworkInstanceConfig) GetPort() *Adapter
func (*NetworkInstanceConfig) GetPropagateConnectedRoutes ¶
func (x *NetworkInstanceConfig) GetPropagateConnectedRoutes() bool
func (*NetworkInstanceConfig) GetStaticRoutes ¶
func (x *NetworkInstanceConfig) GetStaticRoutes() []*IPRoute
func (*NetworkInstanceConfig) GetStp ¶
func (x *NetworkInstanceConfig) GetStp() *SpanningTreeProtocol
func (*NetworkInstanceConfig) GetUuidandversion ¶
func (x *NetworkInstanceConfig) GetUuidandversion() *UUIDandVersion
func (*NetworkInstanceConfig) GetVlanAccessPorts ¶
func (x *NetworkInstanceConfig) GetVlanAccessPorts() []*VlanAccessPort
func (*NetworkInstanceConfig) ProtoMessage ¶
func (*NetworkInstanceConfig) ProtoMessage()
func (*NetworkInstanceConfig) ProtoReflect ¶
func (x *NetworkInstanceConfig) ProtoReflect() protoreflect.Message
func (*NetworkInstanceConfig) Reset ¶
func (x *NetworkInstanceConfig) Reset()
func (*NetworkInstanceConfig) String ¶
func (x *NetworkInstanceConfig) String() string
type NetworkInstanceLispConfig ¶
type NetworkInstanceLispConfig struct { LispMSs []*ZcServicePoint `protobuf:"bytes,1,rep,name=LispMSs,proto3" json:"LispMSs,omitempty"` LispInstanceId uint32 `protobuf:"varint,2,opt,name=LispInstanceId,proto3" json:"LispInstanceId,omitempty"` Allocate bool `protobuf:"varint,3,opt,name=allocate,proto3" json:"allocate,omitempty"` Exportprivate bool `protobuf:"varint,4,opt,name=exportprivate,proto3" json:"exportprivate,omitempty"` Allocationprefix []byte `protobuf:"bytes,5,opt,name=allocationprefix,proto3" json:"allocationprefix,omitempty"` Allocationprefixlen uint32 `protobuf:"varint,6,opt,name=allocationprefixlen,proto3" json:"allocationprefixlen,omitempty"` // various configuration to dataPlane, lispers.net vs Zededa Experimental bool `protobuf:"varint,20,opt,name=experimental,proto3" json:"experimental,omitempty"` // contains filtered or unexported fields }
Lisp NetworkInstance config
func (*NetworkInstanceLispConfig) Descriptor
deprecated
func (*NetworkInstanceLispConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceLispConfig.ProtoReflect.Descriptor instead.
func (*NetworkInstanceLispConfig) GetAllocate ¶
func (x *NetworkInstanceLispConfig) GetAllocate() bool
func (*NetworkInstanceLispConfig) GetAllocationprefix ¶
func (x *NetworkInstanceLispConfig) GetAllocationprefix() []byte
func (*NetworkInstanceLispConfig) GetAllocationprefixlen ¶
func (x *NetworkInstanceLispConfig) GetAllocationprefixlen() uint32
func (*NetworkInstanceLispConfig) GetExperimental ¶
func (x *NetworkInstanceLispConfig) GetExperimental() bool
func (*NetworkInstanceLispConfig) GetExportprivate ¶
func (x *NetworkInstanceLispConfig) GetExportprivate() bool
func (*NetworkInstanceLispConfig) GetLispInstanceId ¶
func (x *NetworkInstanceLispConfig) GetLispInstanceId() uint32
func (*NetworkInstanceLispConfig) GetLispMSs ¶
func (x *NetworkInstanceLispConfig) GetLispMSs() []*ZcServicePoint
func (*NetworkInstanceLispConfig) ProtoMessage ¶
func (*NetworkInstanceLispConfig) ProtoMessage()
func (*NetworkInstanceLispConfig) ProtoReflect ¶
func (x *NetworkInstanceLispConfig) ProtoReflect() protoreflect.Message
func (*NetworkInstanceLispConfig) Reset ¶
func (x *NetworkInstanceLispConfig) Reset()
func (*NetworkInstanceLispConfig) String ¶
func (x *NetworkInstanceLispConfig) String() string
type NetworkInstanceOpaqueConfig ¶
type NetworkInstanceOpaqueConfig struct { Oconfig string `protobuf:"bytes,1,opt,name=oconfig,proto3" json:"oconfig,omitempty"` LispConfig *NetworkInstanceLispConfig `protobuf:"bytes,2,opt,name=lispConfig,proto3" json:"lispConfig,omitempty"` Type ZNetworkOpaqueConfigType `protobuf:"varint,3,opt,name=type,proto3,enum=org.lfedge.eve.config.ZNetworkOpaqueConfigType" json:"type,omitempty"` // contains filtered or unexported fields }
Network Instance Opaque config. In future we might add more fields here but idea is here. This is service specific configuration.
func (*NetworkInstanceOpaqueConfig) Descriptor
deprecated
func (*NetworkInstanceOpaqueConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstanceOpaqueConfig.ProtoReflect.Descriptor instead.
func (*NetworkInstanceOpaqueConfig) GetLispConfig ¶
func (x *NetworkInstanceOpaqueConfig) GetLispConfig() *NetworkInstanceLispConfig
func (*NetworkInstanceOpaqueConfig) GetOconfig ¶
func (x *NetworkInstanceOpaqueConfig) GetOconfig() string
func (*NetworkInstanceOpaqueConfig) GetType ¶
func (x *NetworkInstanceOpaqueConfig) GetType() ZNetworkOpaqueConfigType
func (*NetworkInstanceOpaqueConfig) ProtoMessage ¶
func (*NetworkInstanceOpaqueConfig) ProtoMessage()
func (*NetworkInstanceOpaqueConfig) ProtoReflect ¶
func (x *NetworkInstanceOpaqueConfig) ProtoReflect() protoreflect.Message
func (*NetworkInstanceOpaqueConfig) Reset ¶
func (x *NetworkInstanceOpaqueConfig) Reset()
func (*NetworkInstanceOpaqueConfig) String ¶
func (x *NetworkInstanceOpaqueConfig) String() string
type NetworkType ¶
type NetworkType int32
const ( NetworkType_NETWORKTYPENOOP NetworkType = 0 NetworkType_V4 NetworkType = 4 // Legacy - interpreted same as Dual stack NetworkType_V6 NetworkType = 6 // Legacy - interpreted same as Dual stack NetworkType_CryptoV4 NetworkType = 24 NetworkType_CryptoV6 NetworkType = 26 NetworkType_CryptoEID NetworkType = 14 NetworkType_V4Only NetworkType = 7 NetworkType_V6Only NetworkType = 8 NetworkType_DualV4V6 NetworkType = 9 )
func (NetworkType) Descriptor ¶
func (NetworkType) Descriptor() protoreflect.EnumDescriptor
func (NetworkType) Enum ¶
func (x NetworkType) Enum() *NetworkType
func (NetworkType) EnumDescriptor
deprecated
func (NetworkType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkType.Descriptor instead.
func (NetworkType) Number ¶
func (x NetworkType) Number() protoreflect.EnumNumber
func (NetworkType) String ¶
func (x NetworkType) String() string
func (NetworkType) Type ¶
func (NetworkType) Type() protoreflect.EnumType
type OSKeyTags ¶
type OSKeyTags struct {
// contains filtered or unexported fields
}
OS version key and value pair
func (*OSKeyTags) Descriptor
deprecated
func (*OSKeyTags) ProtoMessage ¶
func (*OSKeyTags) ProtoMessage()
func (*OSKeyTags) ProtoReflect ¶
func (x *OSKeyTags) ProtoReflect() protoreflect.Message
type OSVerDetails ¶
type OSVerDetails struct {
// contains filtered or unexported fields
}
repeated key value tags compromising
func (*OSVerDetails) Descriptor
deprecated
func (*OSVerDetails) Descriptor() ([]byte, []int)
Deprecated: Use OSVerDetails.ProtoReflect.Descriptor instead.
func (*OSVerDetails) ProtoMessage ¶
func (*OSVerDetails) ProtoMessage()
func (*OSVerDetails) ProtoReflect ¶
func (x *OSVerDetails) ProtoReflect() protoreflect.Message
func (*OSVerDetails) Reset ¶
func (x *OSVerDetails) Reset()
func (*OSVerDetails) String ¶
func (x *OSVerDetails) String() string
type PatchEnvelopeRef ¶
type PatchEnvelopeRef struct { // one of them should be non-empty // non-empty name overrides the id Name string `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PatchEnvelopeRef) Descriptor
deprecated
func (*PatchEnvelopeRef) Descriptor() ([]byte, []int)
Deprecated: Use PatchEnvelopeRef.ProtoReflect.Descriptor instead.
func (*PatchEnvelopeRef) GetId ¶
func (x *PatchEnvelopeRef) GetId() string
func (*PatchEnvelopeRef) GetName ¶
func (x *PatchEnvelopeRef) GetName() string
func (*PatchEnvelopeRef) ProtoMessage ¶
func (*PatchEnvelopeRef) ProtoMessage()
func (*PatchEnvelopeRef) ProtoReflect ¶
func (x *PatchEnvelopeRef) ProtoReflect() protoreflect.Message
func (*PatchEnvelopeRef) Reset ¶
func (x *PatchEnvelopeRef) Reset()
func (*PatchEnvelopeRef) String ¶
func (x *PatchEnvelopeRef) String() string
type PhyIOUsagePolicy ¶
type PhyIOUsagePolicy struct { FreeUplink bool `protobuf:"varint,1,opt,name=freeUplink,proto3" json:"freeUplink,omitempty"` // DEPRECATED by cost in the SystemAdapter message // contains filtered or unexported fields }
Given additional details for EVE software to how to treat this interface. Example policies could be limit use of LTE interface or only use Eth1 only if Eth0 is not available etc Note that this is the static information from the model. Current configuration is in systemAdapter
func (*PhyIOUsagePolicy) Descriptor
deprecated
func (*PhyIOUsagePolicy) Descriptor() ([]byte, []int)
Deprecated: Use PhyIOUsagePolicy.ProtoReflect.Descriptor instead.
func (*PhyIOUsagePolicy) GetFreeUplink ¶
func (x *PhyIOUsagePolicy) GetFreeUplink() bool
func (*PhyIOUsagePolicy) ProtoMessage ¶
func (*PhyIOUsagePolicy) ProtoMessage()
func (*PhyIOUsagePolicy) ProtoReflect ¶
func (x *PhyIOUsagePolicy) ProtoReflect() protoreflect.Message
func (*PhyIOUsagePolicy) Reset ¶
func (x *PhyIOUsagePolicy) Reset()
func (*PhyIOUsagePolicy) String ¶
func (x *PhyIOUsagePolicy) String() string
type PhysicalIO ¶
type PhysicalIO struct { Ptype evecommon.PhyIoType `protobuf:"varint,1,opt,name=ptype,proto3,enum=org.lfedge.eve.common.PhyIoType" json:"ptype,omitempty"` // physical label typically printed on box. // Example Eth0, Eth1, Wifi0, ComA, ComB Phylabel string `protobuf:"bytes,2,opt,name=phylabel,proto3" json:"phylabel,omitempty"` // The hardware bus address. The key to this map can be of the following // (case-insensitive) values: // "pcilong": the address is a PCI id of the form 0000:02:00.0 // "ifname": the address is a string for a network interface like "eth1" // "serial": the address is a Linux serial port alias such as "/dev/ttyS2" // "irq": the address is a number such as "5". This can be a comma // // separated list of integers or even a range of integers. Hence using // a string to address this. // // "ioports": the address is a string such as "2f8-2ff" // "usbaddr": the address is a USB of the form of "1:2.3" // If the type is PhyIoNet*, then there needs to be an "ifname" physaddr. Phyaddrs map[string]string `` /* 157-byte string literal not displayed */ // logicallabel - provides the ability to model designer to refer // // the physicalIO port to using more friendly name // // For example Eth0->Mgmt0 // // or USBA->ConfigDiskA etc Logicallabel string `protobuf:"bytes,4,opt,name=logicallabel,proto3" json:"logicallabel,omitempty"` // assigngrp // Assignment Group, is unique label that is applied across PhysicalIOs // EntireGroup can be assigned to application or nothing at all // // This is the name used in AppInstanceConfig.adapters to assign an // adapter to an application. // // If assigngrp is not set, the Adapter cannot be assigned to any // application. One example is, when the adapter is on the same Pci // bus as another device required by Dom0. // // Even if there is only one device on the its PCIBus, the assignGrp Must // be set. Assigngrp string `protobuf:"bytes,5,opt,name=assigngrp,proto3" json:"assigngrp,omitempty"` // usage - indicates the role of adapter ( mgmt / blocked / app-direct // // etc. ) Usage evecommon.PhyIoMemberUsage `protobuf:"varint,6,opt,name=usage,proto3,enum=org.lfedge.eve.common.PhyIoMemberUsage" json:"usage,omitempty"` // usagePolicy - Policy Object used to further refine the usage. // For example, specify if this should be only used as fallback? // // Or used as the primary uplink? Allow App traffic? restrict // app traffic?? etc.. UsagePolicy *PhyIOUsagePolicy `protobuf:"bytes,7,opt,name=usagePolicy,proto3" json:"usagePolicy,omitempty"` // physical and logical attributes // // For example in WWAN to which firmware version to load etc Cbattr map[string]string `` /* 153-byte string literal not displayed */ // list of Virtual Functions (VF) for given Physical Function (PF) // only applies for PHY_IO_TYPE_PHY_IO_NET_ETH_PF Vflist *VfList `protobuf:"bytes,9,opt,name=vflist,proto3" json:"vflist,omitempty"` // parentassigngrp // // Parent Assignment Group is there to reference the parent assignment // group in order to make the device dependent on a different device. // Currently the concrete reason to do this is to make a usb device dependent // on the PCI address the USB controller is using to prevent passthrough of // the USB controller in one application while trying to passthrough // a USB device on this controller to another application. // // We only allow these two cases: // - children and their parent devices are assigned to the same application // instance // - parent device stays in host and one or more children (in separate // assignment groups) are assigned to one or more application instances Parentassigngrp string `protobuf:"bytes,10,opt,name=parentassigngrp,proto3" json:"parentassigngrp,omitempty"` // contains filtered or unexported fields }
PhysicalIO:
Absolute low level description of physical buses and ports that are available on given platform. Collection of these IOs, constitute what we would call as hardware model. Each physical IO is manageable and visible to EVE software, and it can be further configured to either provide IP connectivity or directly be given to workloads
func (*PhysicalIO) Descriptor
deprecated
func (*PhysicalIO) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalIO.ProtoReflect.Descriptor instead.
func (*PhysicalIO) GetAssigngrp ¶
func (x *PhysicalIO) GetAssigngrp() string
func (*PhysicalIO) GetCbattr ¶
func (x *PhysicalIO) GetCbattr() map[string]string
func (*PhysicalIO) GetLogicallabel ¶
func (x *PhysicalIO) GetLogicallabel() string
func (*PhysicalIO) GetParentassigngrp ¶
func (x *PhysicalIO) GetParentassigngrp() string
func (*PhysicalIO) GetPhyaddrs ¶
func (x *PhysicalIO) GetPhyaddrs() map[string]string
func (*PhysicalIO) GetPhylabel ¶
func (x *PhysicalIO) GetPhylabel() string
func (*PhysicalIO) GetPtype ¶
func (x *PhysicalIO) GetPtype() evecommon.PhyIoType
func (*PhysicalIO) GetUsage ¶
func (x *PhysicalIO) GetUsage() evecommon.PhyIoMemberUsage
func (*PhysicalIO) GetUsagePolicy ¶
func (x *PhysicalIO) GetUsagePolicy() *PhyIOUsagePolicy
func (*PhysicalIO) GetVflist ¶
func (x *PhysicalIO) GetVflist() *VfList
func (*PhysicalIO) ProtoMessage ¶
func (*PhysicalIO) ProtoMessage()
func (*PhysicalIO) ProtoReflect ¶
func (x *PhysicalIO) ProtoReflect() protoreflect.Message
func (*PhysicalIO) Reset ¶
func (x *PhysicalIO) Reset()
func (*PhysicalIO) String ¶
func (x *PhysicalIO) String() string
type PortProbe ¶
type PortProbe struct { // Use ICMP ping towards the port's gateway IP to determine connectivity status. // This probing is performed much more frequently than the custom_probe and provides // faster fail-over. On the other hand, it generates more traffic through the probed // ports. Use gw_ping_max_cost (see below) to limit which ports it is enabled for // based on the port cost. // Avoid using this probe method if the gateway router is configured to drop/ignore // ICMP pings and therefore this probe method would return false negatives. EnableGwPing bool `protobuf:"varint,1,opt,name=enable_gw_ping,json=enableGwPing,proto3" json:"enable_gw_ping,omitempty"` // Ports exceeding this cost will have the gateway probing disabled to reduce // traffic generated by probing (only less-frequent custom_probe will be performed). GwPingMaxCost uint32 `protobuf:"varint,2,opt,name=gw_ping_max_cost,json=gwPingMaxCost,proto3" json:"gw_ping_max_cost,omitempty"` // User-defined method to use to determine the port connectivity status. // Run additionally to gateway pings (if enabled). CustomProbe *ConnectivityProbe `protobuf:"bytes,3,opt,name=custom_probe,json=customProbe,proto3" json:"custom_probe,omitempty"` // contains filtered or unexported fields }
Configuration for port connectivity probe.
func (*PortProbe) Descriptor
deprecated
func (*PortProbe) GetCustomProbe ¶
func (x *PortProbe) GetCustomProbe() *ConnectivityProbe
func (*PortProbe) GetEnableGwPing ¶
func (*PortProbe) GetGwPingMaxCost ¶
func (*PortProbe) ProtoMessage ¶
func (*PortProbe) ProtoMessage()
func (*PortProbe) ProtoReflect ¶
func (x *PortProbe) ProtoReflect() protoreflect.Message
type ProbeEndpoint ¶
type ProbeEndpoint struct { // IP address or FQDN. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // TCP port required for CONNECTIVITY_PROBE_METHOD_TCP. // Leave empty for CONNECTIVITY_PROBE_METHOD_ICMP. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
Address of a remote endpoint to probe in order to determine connectivity status.
func (*ProbeEndpoint) Descriptor
deprecated
func (*ProbeEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ProbeEndpoint.ProtoReflect.Descriptor instead.
func (*ProbeEndpoint) GetHost ¶
func (x *ProbeEndpoint) GetHost() string
func (*ProbeEndpoint) GetPort ¶
func (x *ProbeEndpoint) GetPort() uint32
func (*ProbeEndpoint) ProtoMessage ¶
func (*ProbeEndpoint) ProtoMessage()
func (*ProbeEndpoint) ProtoReflect ¶
func (x *ProbeEndpoint) ProtoReflect() protoreflect.Message
func (*ProbeEndpoint) Reset ¶
func (x *ProbeEndpoint) Reset()
func (*ProbeEndpoint) String ¶
func (x *ProbeEndpoint) String() string
type ProxyConfig ¶
type ProxyConfig struct { // enable network level proxy in the form of WPAD NetworkProxyEnable bool `protobuf:"varint,1,opt,name=networkProxyEnable,proto3" json:"networkProxyEnable,omitempty"` // dedicated per protocol information Proxies []*ProxyServer `protobuf:"bytes,2,rep,name=proxies,proto3" json:"proxies,omitempty"` // exceptions separated by commas Exceptions string `protobuf:"bytes,3,opt,name=exceptions,proto3" json:"exceptions,omitempty"` // or pacfile can be in place of others // base64 encoded Pacfile string `protobuf:"bytes,4,opt,name=pacfile,proto3" json:"pacfile,omitempty"` // Direct URL for wpad.dat download NetworkProxyURL string `protobuf:"bytes,5,opt,name=networkProxyURL,proto3" json:"networkProxyURL,omitempty"` // Uploaded proxy certificate or certificate chain for MITM // this may be needed either in explicit (has ProxyServer items), automatic // (networkProxyEnable) or transparent (network layer not aware of proxy) ProxyCertPEM [][]byte `protobuf:"bytes,6,rep,name=proxyCertPEM,proto3" json:"proxyCertPEM,omitempty"` // contains filtered or unexported fields }
func (*ProxyConfig) Descriptor
deprecated
func (*ProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.
func (*ProxyConfig) GetExceptions ¶
func (x *ProxyConfig) GetExceptions() string
func (*ProxyConfig) GetNetworkProxyEnable ¶
func (x *ProxyConfig) GetNetworkProxyEnable() bool
func (*ProxyConfig) GetNetworkProxyURL ¶
func (x *ProxyConfig) GetNetworkProxyURL() string
func (*ProxyConfig) GetPacfile ¶
func (x *ProxyConfig) GetPacfile() string
func (*ProxyConfig) GetProxies ¶
func (x *ProxyConfig) GetProxies() []*ProxyServer
func (*ProxyConfig) GetProxyCertPEM ¶
func (x *ProxyConfig) GetProxyCertPEM() [][]byte
func (*ProxyConfig) ProtoMessage ¶
func (*ProxyConfig) ProtoMessage()
func (*ProxyConfig) ProtoReflect ¶
func (x *ProxyConfig) ProtoReflect() protoreflect.Message
func (*ProxyConfig) Reset ¶
func (x *ProxyConfig) Reset()
func (*ProxyConfig) String ¶
func (x *ProxyConfig) String() string
type ProxyProto ¶
type ProxyProto int32
const ( ProxyProto_PROXY_HTTP ProxyProto = 0 ProxyProto_PROXY_HTTPS ProxyProto = 1 ProxyProto_PROXY_SOCKS ProxyProto = 2 ProxyProto_PROXY_FTP ProxyProto = 3 ProxyProto_PROXY_OTHER ProxyProto = 255 )
func (ProxyProto) Descriptor ¶
func (ProxyProto) Descriptor() protoreflect.EnumDescriptor
func (ProxyProto) Enum ¶
func (x ProxyProto) Enum() *ProxyProto
func (ProxyProto) EnumDescriptor
deprecated
func (ProxyProto) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProxyProto.Descriptor instead.
func (ProxyProto) Number ¶
func (x ProxyProto) Number() protoreflect.EnumNumber
func (ProxyProto) String ¶
func (x ProxyProto) String() string
func (ProxyProto) Type ¶
func (ProxyProto) Type() protoreflect.EnumType
type ProxyServer ¶
type ProxyServer struct { Proto ProxyProto `protobuf:"varint,1,opt,name=proto,proto3,enum=org.lfedge.eve.config.ProxyProto" json:"proto,omitempty"` Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*ProxyServer) Descriptor
deprecated
func (*ProxyServer) Descriptor() ([]byte, []int)
Deprecated: Use ProxyServer.ProtoReflect.Descriptor instead.
func (*ProxyServer) GetPort ¶
func (x *ProxyServer) GetPort() uint32
func (*ProxyServer) GetProto ¶
func (x *ProxyServer) GetProto() ProxyProto
func (*ProxyServer) GetServer ¶
func (x *ProxyServer) GetServer() string
func (*ProxyServer) ProtoMessage ¶
func (*ProxyServer) ProtoMessage()
func (*ProxyServer) ProtoReflect ¶
func (x *ProxyServer) ProtoReflect() protoreflect.Message
func (*ProxyServer) Reset ¶
func (x *ProxyServer) Reset()
func (*ProxyServer) String ¶
func (x *ProxyServer) String() string
type SignatureInfo ¶
type SignatureInfo struct { Intercertsurl string `protobuf:"bytes,1,opt,name=intercertsurl,proto3" json:"intercertsurl,omitempty"` Signercerturl string `protobuf:"bytes,2,opt,name=signercerturl,proto3" json:"signercerturl,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
XXX this will be deprecated when all deployed instances of EVE no longer expect it. 5.6.X depend on it. 5.7.1 does not.
func (*SignatureInfo) Descriptor
deprecated
func (*SignatureInfo) Descriptor() ([]byte, []int)
Deprecated: Use SignatureInfo.ProtoReflect.Descriptor instead.
func (*SignatureInfo) GetIntercertsurl ¶
func (x *SignatureInfo) GetIntercertsurl() string
func (*SignatureInfo) GetSignature ¶
func (x *SignatureInfo) GetSignature() []byte
func (*SignatureInfo) GetSignercerturl ¶
func (x *SignatureInfo) GetSignercerturl() string
func (*SignatureInfo) ProtoMessage ¶
func (*SignatureInfo) ProtoMessage()
func (*SignatureInfo) ProtoReflect ¶
func (x *SignatureInfo) ProtoReflect() protoreflect.Message
func (*SignatureInfo) Reset ¶
func (x *SignatureInfo) Reset()
func (*SignatureInfo) String ¶
func (x *SignatureInfo) String() string
type SnapshotConfig ¶
type SnapshotConfig struct { // active_snapshot is the id of the snapshot which is expected to be used by // the application. // It may be empty if no snapshot expected to be used. ActiveSnapshot string `protobuf:"bytes,1,opt,name=active_snapshot,json=activeSnapshot,proto3" json:"active_snapshot,omitempty"` // rollback_cmd is used to trigger a rollback to the snapshot with the // active_snapshot id. // The counter inside the InstanceOpsCmd is incremented when a snapshot is // used for a rollback. It should not be decreased. // The counter's semantics is the same as the one used in the restart/purge // commands. It's necessary for the cases, when the state of the device is // behind the controller because it hasn't yet managed to fetch the latest // declarative statement. Only increasing the counter will trigger the // rollback. RollbackCmd *InstanceOpsCmd `protobuf:"bytes,2,opt,name=rollback_cmd,json=rollbackCmd,proto3" json:"rollback_cmd,omitempty"` // max_snapshots is the maximum number of snapshots that can be stored for the // application instance. // If the number of snapshots exceeds the max_snapshots, the oldest snapshot // will be deleted. It's so even if the oldest snapshot is the active one. // As an example, let's consider the following scenario: // The value of max_snapshots is 1. Then a snapshot is created. VM continues // working. Then a rollback to the snapshot created earlier is requested, so // the first snapshot becomes active. EVE performs the rollback. Then the // controller requests a new snapshot be created. EVE is configured to store // only 1 snapshot, hence the first one should be deleted. MaxSnapshots uint32 `protobuf:"varint,3,opt,name=max_snapshots,json=maxSnapshots,proto3" json:"max_snapshots,omitempty"` // snapshots is the list of snapshots of the application instance. // It is used to synchronize the list of snapshots between the controller and // the device. This can be used to provide an id of a new snapshot or to // delete an existing snapshot. // To provide a new snapshot id, the controller should send a message with // the new snapshot id in the snapshots list. The id is generated by // Controller in this case. (It can be also generated by EVE, if the snapshot // creation is triggered locally. In this case the ID will be returned in the // ZInfoApp.snapshots[].id field, see the `info.proto` file). // Worth noting that the snapshot creation is not triggered by the appearance // of the snapshot id in the available_snapshots list. The snapshot creation // will be triggered by the behaviour defined in the snapshot type field. // To delete a snapshot, the controller should send a message that does not // contain the snapshot id in the available_snapshots list. The device will // delete the snapshot with the absent id. Snapshots []*SnapshotDesc `protobuf:"bytes,4,rep,name=snapshots,proto3" json:"snapshots,omitempty"` // contains filtered or unexported fields }
The snapshot information for an Application Instance
func (*SnapshotConfig) Descriptor
deprecated
func (*SnapshotConfig) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotConfig.ProtoReflect.Descriptor instead.
func (*SnapshotConfig) GetActiveSnapshot ¶
func (x *SnapshotConfig) GetActiveSnapshot() string
func (*SnapshotConfig) GetMaxSnapshots ¶
func (x *SnapshotConfig) GetMaxSnapshots() uint32
func (*SnapshotConfig) GetRollbackCmd ¶
func (x *SnapshotConfig) GetRollbackCmd() *InstanceOpsCmd
func (*SnapshotConfig) GetSnapshots ¶
func (x *SnapshotConfig) GetSnapshots() []*SnapshotDesc
func (*SnapshotConfig) ProtoMessage ¶
func (*SnapshotConfig) ProtoMessage()
func (*SnapshotConfig) ProtoReflect ¶
func (x *SnapshotConfig) ProtoReflect() protoreflect.Message
func (*SnapshotConfig) Reset ¶
func (x *SnapshotConfig) Reset()
func (*SnapshotConfig) String ¶
func (x *SnapshotConfig) String() string
type SnapshotDesc ¶
type SnapshotDesc struct { // id of the snapshot. // The format of the ID is a standard UUIDv4. // Should be unique within the app instance. Generated by the Controller in // the case the snapshot creation is requested by the Controller, or by EVE // in the case the snapshot creation is triggered locally. // Corresponds to the ZInfoApp.snapshots[].id field (see the `info.proto` // file). Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // type of the snapshot creation trigger. Type SnapshotType `protobuf:"varint,2,opt,name=type,proto3,enum=org.lfedge.eve.config.SnapshotType" json:"type,omitempty"` // contains filtered or unexported fields }
A descriptor of the snapshot instance
func (*SnapshotDesc) Descriptor
deprecated
func (*SnapshotDesc) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotDesc.ProtoReflect.Descriptor instead.
func (*SnapshotDesc) GetId ¶
func (x *SnapshotDesc) GetId() string
func (*SnapshotDesc) GetType ¶
func (x *SnapshotDesc) GetType() SnapshotType
func (*SnapshotDesc) ProtoMessage ¶
func (*SnapshotDesc) ProtoMessage()
func (*SnapshotDesc) ProtoReflect ¶
func (x *SnapshotDesc) ProtoReflect() protoreflect.Message
func (*SnapshotDesc) Reset ¶
func (x *SnapshotDesc) Reset()
func (*SnapshotDesc) String ¶
func (x *SnapshotDesc) String() string
type SnapshotType ¶
type SnapshotType int32
Type of the snapshot creation trigger
const ( SnapshotType_SNAPSHOT_TYPE_UNSPECIFIED SnapshotType = 0 SnapshotType_SNAPSHOT_TYPE_APP_UPDATE SnapshotType = 1 // Snapshot created as a result of an application update )
func (SnapshotType) Descriptor ¶
func (SnapshotType) Descriptor() protoreflect.EnumDescriptor
func (SnapshotType) Enum ¶
func (x SnapshotType) Enum() *SnapshotType
func (SnapshotType) EnumDescriptor
deprecated
func (SnapshotType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotType.Descriptor instead.
func (SnapshotType) Number ¶
func (x SnapshotType) Number() protoreflect.EnumNumber
func (SnapshotType) String ¶
func (x SnapshotType) String() string
func (SnapshotType) Type ¶
func (SnapshotType) Type() protoreflect.EnumType
type SpanningTreeProtocol ¶
type SpanningTreeProtocol struct { // Ports matched by this adapter label (logical or shared) will have the BPDU guard enabled. // It makes sense to enable the guard on ports which are expected to be leafs // and therefore not participate in STP, or where the downstream bridges are not fully // trusted. PortsWithBpduGuard string `protobuf:"bytes,1,opt,name=ports_with_bpdu_guard,json=portsWithBpduGuard,proto3" json:"ports_with_bpdu_guard,omitempty"` // contains filtered or unexported fields }
Configuration for the Spanning Tree Protocol (STP), which is run for switch network instance when the port label matches multiple network ports.
func (*SpanningTreeProtocol) Descriptor
deprecated
func (*SpanningTreeProtocol) Descriptor() ([]byte, []int)
Deprecated: Use SpanningTreeProtocol.ProtoReflect.Descriptor instead.
func (*SpanningTreeProtocol) GetPortsWithBpduGuard ¶
func (x *SpanningTreeProtocol) GetPortsWithBpduGuard() string
func (*SpanningTreeProtocol) ProtoMessage ¶
func (*SpanningTreeProtocol) ProtoMessage()
func (*SpanningTreeProtocol) ProtoReflect ¶
func (x *SpanningTreeProtocol) ProtoReflect() protoreflect.Message
func (*SpanningTreeProtocol) Reset ¶
func (x *SpanningTreeProtocol) Reset()
func (*SpanningTreeProtocol) String ¶
func (x *SpanningTreeProtocol) String() string
type SystemAdapter ¶
type SystemAdapter struct { // name - Name of the Network Interface. This is the Port Name // // used in Info / Metrics / flowlog etc. Name cannot be changed. // // This will be the Network Port name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // DEPRECATED by cost below FreeUplink bool `protobuf:"varint,2,opt,name=freeUplink,proto3" json:"freeUplink,omitempty"` // uplink - DEPRECATED by PhysicalIO.Usage / PhysicalIO.UsagePolicy // this is part of the uplink group // deprecate: have a separate device policy object in the API Uplink bool `protobuf:"varint,3,opt,name=uplink,proto3" json:"uplink,omitempty"` // networkUUID - attach this network config for this adapter // if not set, depending on Usage of Adapter, would be treated as // an L2 port NetworkUUID string `protobuf:"bytes,4,opt,name=networkUUID,proto3" json:"networkUUID,omitempty"` // addr - if its static network we need ip address // If this is specified, networkUUID must also be specified. addr // is expected to be in sync with the network object (same subnet etc ). Addr string `protobuf:"bytes,5,opt,name=addr,proto3" json:"addr,omitempty"` // alias - Device just reflects it back in status / Metrics back to // cloud. Alias string `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"` // lowerLayerName - For example, if lower layer is PhysicalAdapter // ( physical interface), this should point to logicallabel of the // physicalIO. LowerLayerName string `protobuf:"bytes,8,opt,name=lowerLayerName,proto3" json:"lowerLayerName,omitempty"` // Cost of sending traffic over the port. // Used to prioritize ports and give preference to lower-cost ports (e.g. eth over wwan). // 0 is the lowest cost (free); 255 the highest. // Can be set for management and app-shared ports. // Cost is used for EVE management traffic and for local network instances with multiple // ports. For any request towards the controller or for an image download, EVE tries ports // in the order of increasing cost, starting with the free ports. Once it finds the lowest // cost port with a working connectivity, it may spread the load if there are multiple // connected ports of the same cost. // For local networking instances with multiple ports, the cost may be used to decide // which port to use for a particular destination network (incl. port selection for // the default route). Unlike the management traffic, load-balancing is currently // not supported for local network instances and the app traffic that is routed through // them. Cost uint32 `protobuf:"varint,9,opt,name=cost,proto3" json:"cost,omitempty"` // There are no restrictions on the format of an adapter label, it can be any // non-empty string. // Unlike the logical label (aka port logical name), shared label is not a unique // port identifier. Instead, the same shared label can be assigned to multiple ports. // Note that EVE automatically assigns "all" label to every port, "uplink" label to every // management port and "freeuplink" label to every management port with zero cost. // ("automatically assigns" is meant here in imaginary sense, these labels are not supposed // to be explicitly added by the controller to SystemAdapters inside EdgeDevConfig). // Shared label can be used to: // - designate a group of network adapters to be used by a network instances for external // connectivity // - limit port-forwarding firewall rule to only a subset of network adapters // - create a multi-path static IP route (with multiple ports providing access to the routed // destination network) SharedLabels []string `protobuf:"bytes,10,rep,name=shared_labels,json=sharedLabels,proto3" json:"shared_labels,omitempty"` // contains filtered or unexported fields }
systemAdapters are higher-level IP-ready network endpoints. systemAdapters give all the required bits to turn the physical IOs and intermediate L2 objects into useful IP endpoints. These endpoints can be further used to connect to controller or can be shared between workload/services running on the node.
func (*SystemAdapter) Descriptor
deprecated
func (*SystemAdapter) Descriptor() ([]byte, []int)
Deprecated: Use SystemAdapter.ProtoReflect.Descriptor instead.
func (*SystemAdapter) GetAddr ¶
func (x *SystemAdapter) GetAddr() string
func (*SystemAdapter) GetAlias ¶
func (x *SystemAdapter) GetAlias() string
func (*SystemAdapter) GetCost ¶
func (x *SystemAdapter) GetCost() uint32
func (*SystemAdapter) GetFreeUplink ¶
func (x *SystemAdapter) GetFreeUplink() bool
func (*SystemAdapter) GetLowerLayerName ¶
func (x *SystemAdapter) GetLowerLayerName() string
func (*SystemAdapter) GetName ¶
func (x *SystemAdapter) GetName() string
func (*SystemAdapter) GetNetworkUUID ¶
func (x *SystemAdapter) GetNetworkUUID() string
func (*SystemAdapter) GetSharedLabels ¶
func (x *SystemAdapter) GetSharedLabels() []string
func (*SystemAdapter) GetUplink ¶
func (x *SystemAdapter) GetUplink() bool
func (*SystemAdapter) ProtoMessage ¶
func (*SystemAdapter) ProtoMessage()
func (*SystemAdapter) ProtoReflect ¶
func (x *SystemAdapter) ProtoReflect() protoreflect.Message
func (*SystemAdapter) Reset ¶
func (x *SystemAdapter) Reset()
func (*SystemAdapter) String ¶
func (x *SystemAdapter) String() string
type Target ¶
type Target int32
func (Target) Descriptor ¶
func (Target) Descriptor() protoreflect.EnumDescriptor
func (Target) EnumDescriptor
deprecated
func (Target) Number ¶
func (x Target) Number() protoreflect.EnumNumber
func (Target) Type ¶
func (Target) Type() protoreflect.EnumType
type UUIDandVersion ¶
type UUIDandVersion struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*UUIDandVersion) Descriptor
deprecated
func (*UUIDandVersion) Descriptor() ([]byte, []int)
Deprecated: Use UUIDandVersion.ProtoReflect.Descriptor instead.
func (*UUIDandVersion) GetUuid ¶
func (x *UUIDandVersion) GetUuid() string
func (*UUIDandVersion) GetVersion ¶
func (x *UUIDandVersion) GetVersion() string
func (*UUIDandVersion) ProtoMessage ¶
func (*UUIDandVersion) ProtoMessage()
func (*UUIDandVersion) ProtoReflect ¶
func (x *UUIDandVersion) ProtoReflect() protoreflect.Message
func (*UUIDandVersion) Reset ¶
func (x *UUIDandVersion) Reset()
func (*UUIDandVersion) String ¶
func (x *UUIDandVersion) String() string
type VfList ¶
type VfList struct { // how many Virtual Functions (VF) will be created VfCount uint32 `protobuf:"varint,1,opt,name=vf_count,json=vfCount,proto3" json:"vf_count,omitempty"` // optional configuration for given Virtual Function (VF) Data []*EthVF `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*VfList) Descriptor
deprecated
func (*VfList) GetVfCount ¶
func (*VfList) ProtoMessage ¶
func (*VfList) ProtoMessage()
func (*VfList) ProtoReflect ¶
func (x *VfList) ProtoReflect() protoreflect.Message
type VlanAccessPort ¶
type VlanAccessPort struct { // VLAN ID from the range <1,4094> VlanId uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // Physical network adapter used as the access port for the given VLAN. // Either a single NI port referenced by its name (SystemAdapter.Name, aka logical label) // or an adapter shared-label matching zero or more NI ports. AccessPort string `protobuf:"bytes,2,opt,name=access_port,json=accessPort,proto3" json:"access_port,omitempty"` // contains filtered or unexported fields }
VLAN Access Port config applied to physical port(s) attached to a Switch Network Instance.
func (*VlanAccessPort) Descriptor
deprecated
func (*VlanAccessPort) Descriptor() ([]byte, []int)
Deprecated: Use VlanAccessPort.ProtoReflect.Descriptor instead.
func (*VlanAccessPort) GetAccessPort ¶
func (x *VlanAccessPort) GetAccessPort() string
func (*VlanAccessPort) GetVlanId ¶
func (x *VlanAccessPort) GetVlanId() uint32
func (*VlanAccessPort) ProtoMessage ¶
func (*VlanAccessPort) ProtoMessage()
func (*VlanAccessPort) ProtoReflect ¶
func (x *VlanAccessPort) ProtoReflect() protoreflect.Message
func (*VlanAccessPort) Reset ¶
func (x *VlanAccessPort) Reset()
func (*VlanAccessPort) String ¶
func (x *VlanAccessPort) String() string
type VlanAdapter ¶
type VlanAdapter struct { // Logical name of this VLAN adapter. Logicallabel string `protobuf:"bytes,1,opt,name=logicallabel,proto3" json:"logicallabel,omitempty"` // A physical name of the VLAN sub-interface. // Note that the interface name is limited in Linux kernel to 15 characters. // If not defined, logicallabel will be used instead. InterfaceName string `protobuf:"bytes,2,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` // Logical name of the lower layer adapter (bond or physicalIO). LowerLayerName string `protobuf:"bytes,3,opt,name=lower_layer_name,json=lowerLayerName,proto3" json:"lower_layer_name,omitempty"` // VLAN ID. Valid values are from 1 to 4094. VlanId uint32 `protobuf:"varint,4,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // contains filtered or unexported fields }
VlanAdapter represents a single VLAN sub-interface. The parent, which is referenced by lower_layer_name, should be either PhysicalIO or BondAdapter.
func (*VlanAdapter) Descriptor
deprecated
func (*VlanAdapter) Descriptor() ([]byte, []int)
Deprecated: Use VlanAdapter.ProtoReflect.Descriptor instead.
func (*VlanAdapter) GetInterfaceName ¶
func (x *VlanAdapter) GetInterfaceName() string
func (*VlanAdapter) GetLogicallabel ¶
func (x *VlanAdapter) GetLogicallabel() string
func (*VlanAdapter) GetLowerLayerName ¶
func (x *VlanAdapter) GetLowerLayerName() string
func (*VlanAdapter) GetVlanId ¶
func (x *VlanAdapter) GetVlanId() uint32
func (*VlanAdapter) ProtoMessage ¶
func (*VlanAdapter) ProtoMessage()
func (*VlanAdapter) ProtoReflect ¶
func (x *VlanAdapter) ProtoReflect() protoreflect.Message
func (*VlanAdapter) Reset ¶
func (x *VlanAdapter) Reset()
func (*VlanAdapter) String ¶
func (x *VlanAdapter) String() string
type VmBootMode ¶
type VmBootMode int32
Boot mechanisms supported by the BIOS of the Virtual Machine
const ( VmBootMode_VM_BOOT_MODE_UNSPECIFIED VmBootMode = 0 // Boot mode not specified, use default VmBootMode_VM_BOOT_MODE_LEGACY VmBootMode = 1 // Legacy BIOS, MBR support only VmBootMode_VM_BOOT_MODE_UEFI VmBootMode = 2 // UEFI BIOS )
func (VmBootMode) Descriptor ¶
func (VmBootMode) Descriptor() protoreflect.EnumDescriptor
func (VmBootMode) Enum ¶
func (x VmBootMode) Enum() *VmBootMode
func (VmBootMode) EnumDescriptor
deprecated
func (VmBootMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use VmBootMode.Descriptor instead.
func (VmBootMode) Number ¶
func (x VmBootMode) Number() protoreflect.EnumNumber
func (VmBootMode) String ¶
func (x VmBootMode) String() string
func (VmBootMode) Type ¶
func (VmBootMode) Type() protoreflect.EnumType
type VmConfig ¶
type VmConfig struct { Kernel string `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"` Ramdisk string `protobuf:"bytes,2,opt,name=ramdisk,proto3" json:"ramdisk,omitempty"` // in kbytes; rounded up to Mbytes for xen Memory uint32 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"` // in kbytes; xen only, default equal to 'memory', so no ballooning Maxmem uint32 `protobuf:"varint,4,opt,name=maxmem,proto3" json:"maxmem,omitempty"` // The amount of the VCPUs in the VM. Vcpus uint32 `protobuf:"varint,5,opt,name=vcpus,proto3" json:"vcpus,omitempty"` // In the case of the Xen hypervisor - the maximal amount of the VCPUs // available to the VM. Can be greater than `vcpus` (the VCPUs online on the // VM start). If the field is not set, it is initialized by EVE to the value // in the `vcpus` field. Maxcpus uint32 `protobuf:"varint,6,opt,name=maxcpus,proto3" json:"maxcpus,omitempty"` Rootdev string `protobuf:"bytes,7,opt,name=rootdev,proto3" json:"rootdev,omitempty"` Extraargs string `protobuf:"bytes,8,opt,name=extraargs,proto3" json:"extraargs,omitempty"` Bootloader string `protobuf:"bytes,9,opt,name=bootloader,proto3" json:"bootloader,omitempty"` // Currently is not handled by EVE. // CPU mask of the CPUs assigned to the VM. Represented in the form // "d[[,-]d]*". E.g. "0-2" or "0-2,5,6". CPUs start with 0. For example, the // mask "0,3" would mean that only physical CPUs 0 and 3 are available for // the VM. Cpus string `protobuf:"bytes,10,opt,name=cpus,proto3" json:"cpus,omitempty"` Devicetree string `protobuf:"bytes,11,opt,name=devicetree,proto3" json:"devicetree,omitempty"` Dtdev []string `protobuf:"bytes,12,rep,name=dtdev,proto3" json:"dtdev,omitempty"` Irqs []uint32 `protobuf:"varint,13,rep,packed,name=irqs,proto3" json:"irqs,omitempty"` Iomem []string `protobuf:"bytes,14,rep,name=iomem,proto3" json:"iomem,omitempty"` VirtualizationMode VmMode `protobuf:"varint,15,opt,name=virtualizationMode,proto3,enum=org.lfedge.eve.config.VmMode" json:"virtualizationMode,omitempty"` // Enable VNC access to the edge application EnableVnc bool `protobuf:"varint,16,opt,name=enable_vnc,json=enableVnc,proto3" json:"enable_vnc,omitempty"` VncDisplay uint32 `protobuf:"varint,17,opt,name=vncDisplay,proto3" json:"vncDisplay,omitempty"` VncPasswd string `protobuf:"bytes,18,opt,name=vncPasswd,proto3" json:"vncPasswd,omitempty"` // Change of the 'disable logs' field can be handled without VM reboot DisableLogs bool `protobuf:"varint,19,opt,name=disableLogs,proto3" json:"disableLogs,omitempty"` // Set if the VM should run in a mode with pinned CPUs. // In this case any VCPU thread created by QEMU runs on a dedicated physical // CPU. All the other QEMU threads will be limited to run on the physical // CPUs defined by CPU mask. The CPU mask is provided with the 'cpus' field, // defined above. If the CPU mask is not set, the physical CPUs to be used // for running QEMU threads are picked automatically by Pillar: it just takes // that amount of available physical CPUs that is defined with the 'vcpus' // parameter defined above. PinCpu bool `protobuf:"varint,20,opt,name=pin_cpu,json=pinCpu,proto3" json:"pin_cpu,omitempty"` // Maximum amount of memory in kbytes allowed for VM monitor to occupy, // aka "overhead". E.g. for the qemu-kvm hypervisor the memory limit // for one VM instance (guest RAM + VM monitor) is set according to the // following equation: `memory` + `vmm_maxmem` VmmMaxmem uint32 `protobuf:"varint,21,opt,name=vmm_maxmem,json=vmmMaxmem,proto3" json:"vmm_maxmem,omitempty"` // Enable VNC access to the shim VM harboring the edge application (for containers only) EnableVncShimVm bool `protobuf:"varint,22,opt,name=enable_vnc_shim_vm,json=enableVncShimVm,proto3" json:"enable_vnc_shim_vm,omitempty"` // Boot mode: Legacy or UEFI BootMode VmBootMode `protobuf:"varint,23,opt,name=boot_mode,json=bootMode,proto3,enum=org.lfedge.eve.config.VmBootMode" json:"boot_mode,omitempty"` // Enables enforcement of user-defined ordering for network interfaces. // This applies to both virtual interfaces (specified in the "AppInstanceConfig.interfaces" list) // and directly assigned network adapters (specified in the "AppInstanceConfig.adapters" list // as items of type "PhyIoNetEth", "PhyIoNetWLAN", "PhyIoNetWWAN", and "PhyIoNetEthVF"). // Note: Older versions of EVE may not support enforcing the user-defined order // of application network interfaces. The controller can check // "ZInfoDevice.api_capability" to verify if the configured device supports the // API capability "API_CAPABILITY_ENFORCED_NET_INTERFACE_ORDER". // Please beware that EVE's ability to influence the order of VM application interfaces // is limited. Depending on the application's operating system, achieving the desired network // interface order might not be possible. EnforceNetworkInterfaceOrder bool `` /* 151-byte string literal not displayed */ // The app should receive the Windows license embedded in ACPI tables EnableOemWinLicenseKey bool `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VmConfig) Descriptor
deprecated
func (*VmConfig) GetBootMode ¶
func (x *VmConfig) GetBootMode() VmBootMode
func (*VmConfig) GetBootloader ¶
func (*VmConfig) GetDevicetree ¶
func (*VmConfig) GetDisableLogs ¶
func (*VmConfig) GetEnableOemWinLicenseKey ¶
func (*VmConfig) GetEnableVnc ¶
func (*VmConfig) GetEnableVncShimVm ¶
func (*VmConfig) GetEnforceNetworkInterfaceOrder ¶
func (*VmConfig) GetExtraargs ¶
func (*VmConfig) GetMaxcpus ¶
func (*VmConfig) GetRamdisk ¶
func (*VmConfig) GetRootdev ¶
func (*VmConfig) GetVirtualizationMode ¶
func (*VmConfig) GetVmmMaxmem ¶
func (*VmConfig) GetVncDisplay ¶
func (*VmConfig) GetVncPasswd ¶
func (*VmConfig) ProtoMessage ¶
func (*VmConfig) ProtoMessage()
func (*VmConfig) ProtoReflect ¶
func (x *VmConfig) ProtoReflect() protoreflect.Message
type VmMode ¶
type VmMode int32
For now we need to tell the device which virtualization mode to use. Later we might use a single one for all VMs (on any particular ISA). If we end up keeping this we should make the names be less tied to a particular hypervisor.
func (VmMode) Descriptor ¶
func (VmMode) Descriptor() protoreflect.EnumDescriptor
func (VmMode) EnumDescriptor
deprecated
func (VmMode) Number ¶
func (x VmMode) Number() protoreflect.EnumNumber
func (VmMode) Type ¶
func (VmMode) Type() protoreflect.EnumType
type Volume ¶
type Volume struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // origin of the volume content. Origin *VolumeContentOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // describes all the different ways how this Volume can // be offered to Tasks Protocols []VolumeAccessProtocols `` /* 128-byte string literal not displayed */ // change in generationCount indicates that the mutated volume needs to be // purged and built from scratch. This is a generalization of the purge // command for an application instance GenerationCount int64 `protobuf:"varint,4,opt,name=generationCount,proto3" json:"generationCount,omitempty"` // miscellaneous attributes of the Volume // maxSizeBytes Used for capping resource consumption in EVE. // maxSizeBytes indicates the maximum size of the volume. Maxsizebytes int64 `protobuf:"varint,5,opt,name=maxsizebytes,proto3" json:"maxsizebytes,omitempty"` Readonly bool `protobuf:"varint,6,opt,name=readonly,proto3" json:"readonly,omitempty"` // Will be offered to tasks as read-only DisplayName string `protobuf:"bytes,7,opt,name=displayName,proto3" json:"displayName,omitempty"` // Optional friendly name echo'ed in info message ClearText bool `protobuf:"varint,8,opt,name=clear_text,json=clearText,proto3" json:"clear_text,omitempty"` // Flag to indicate the volume encryption needed or not Target Target `protobuf:"varint,9,opt,name=target,proto3,enum=org.lfedge.eve.config.Target" json:"target,omitempty"` // How the volume will be presented to the instance. At the moment only the AppCustom is used // To inform the edge-node if the device receiving this Volume is // responsible for volume creation, convert PVC, or not DesignatedNodeId string `protobuf:"bytes,10,opt,name=designated_node_id,json=designatedNodeId,proto3" json:"designated_node_id,omitempty"` // contains filtered or unexported fields }
The Volume describes a storage volume which should exist on the device. This can currently either be blank or created from a ContentTree If maxSizeBytes is zero it means unlimited by the controller. In that case EVE needs to determine how much space it can assign and limit any downloaded ContentTree and the created volume based on that calculated size.
func (*Volume) Descriptor
deprecated
func (*Volume) GetClearText ¶
func (*Volume) GetDesignatedNodeId ¶
func (*Volume) GetDisplayName ¶
func (*Volume) GetGenerationCount ¶
func (*Volume) GetMaxsizebytes ¶
func (*Volume) GetOrigin ¶
func (x *Volume) GetOrigin() *VolumeContentOrigin
func (*Volume) GetProtocols ¶
func (x *Volume) GetProtocols() []VolumeAccessProtocols
func (*Volume) GetReadonly ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeAccessProtocols ¶
type VolumeAccessProtocols int32
The protocol that the task will use to access the Volume
const ( VolumeAccessProtocols_VAP_NONE VolumeAccessProtocols = 0 VolumeAccessProtocols_VAP_9P VolumeAccessProtocols = 1 )
func (VolumeAccessProtocols) Descriptor ¶
func (VolumeAccessProtocols) Descriptor() protoreflect.EnumDescriptor
func (VolumeAccessProtocols) Enum ¶
func (x VolumeAccessProtocols) Enum() *VolumeAccessProtocols
func (VolumeAccessProtocols) EnumDescriptor
deprecated
func (VolumeAccessProtocols) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeAccessProtocols.Descriptor instead.
func (VolumeAccessProtocols) Number ¶
func (x VolumeAccessProtocols) Number() protoreflect.EnumNumber
func (VolumeAccessProtocols) String ¶
func (x VolumeAccessProtocols) String() string
func (VolumeAccessProtocols) Type ¶
func (VolumeAccessProtocols) Type() protoreflect.EnumType
type VolumeContentOrigin ¶
type VolumeContentOrigin struct { Type VolumeContentOriginType `protobuf:"varint,1,opt,name=type,proto3,enum=org.lfedge.eve.config.VolumeContentOriginType" json:"type,omitempty"` DownloadContentTreeID string `protobuf:"bytes,2,opt,name=downloadContentTreeID,proto3" json:"downloadContentTreeID,omitempty"` // UUID for ContentTree // contains filtered or unexported fields }
func (*VolumeContentOrigin) Descriptor
deprecated
func (*VolumeContentOrigin) Descriptor() ([]byte, []int)
Deprecated: Use VolumeContentOrigin.ProtoReflect.Descriptor instead.
func (*VolumeContentOrigin) GetDownloadContentTreeID ¶
func (x *VolumeContentOrigin) GetDownloadContentTreeID() string
func (*VolumeContentOrigin) GetType ¶
func (x *VolumeContentOrigin) GetType() VolumeContentOriginType
func (*VolumeContentOrigin) ProtoMessage ¶
func (*VolumeContentOrigin) ProtoMessage()
func (*VolumeContentOrigin) ProtoReflect ¶
func (x *VolumeContentOrigin) ProtoReflect() protoreflect.Message
func (*VolumeContentOrigin) Reset ¶
func (x *VolumeContentOrigin) Reset()
func (*VolumeContentOrigin) String ¶
func (x *VolumeContentOrigin) String() string
type VolumeContentOriginType ¶
type VolumeContentOriginType int32
const ( VolumeContentOriginType_VCOT_UNKNOWN VolumeContentOriginType = 0 VolumeContentOriginType_VCOT_BLANK VolumeContentOriginType = 1 // Create an empty directory/disk with specified size VolumeContentOriginType_VCOT_DOWNLOAD VolumeContentOriginType = 2 // Create from downloadContentTreeID )
func (VolumeContentOriginType) Descriptor ¶
func (VolumeContentOriginType) Descriptor() protoreflect.EnumDescriptor
func (VolumeContentOriginType) Enum ¶
func (x VolumeContentOriginType) Enum() *VolumeContentOriginType
func (VolumeContentOriginType) EnumDescriptor
deprecated
func (VolumeContentOriginType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeContentOriginType.Descriptor instead.
func (VolumeContentOriginType) Number ¶
func (x VolumeContentOriginType) Number() protoreflect.EnumNumber
func (VolumeContentOriginType) String ¶
func (x VolumeContentOriginType) String() string
func (VolumeContentOriginType) Type ¶
func (VolumeContentOriginType) Type() protoreflect.EnumType
type VolumeRef ¶
type VolumeRef struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Volume UUID GenerationCount int64 `protobuf:"varint,2,opt,name=generationCount,proto3" json:"generationCount,omitempty"` // Indicates volume mount point inside container // if mount_dir is empty then it will be mounted on /mnt MountDir string `protobuf:"bytes,3,opt,name=mount_dir,json=mountDir,proto3" json:"mount_dir,omitempty"` // contains filtered or unexported fields }
Reference to a Volume specified separately in the API If a volume is purged (re-created from scratch) it will either have a new UUID or a new generationCount
func (*VolumeRef) Descriptor
deprecated
func (*VolumeRef) GetGenerationCount ¶
func (*VolumeRef) GetMountDir ¶
func (*VolumeRef) ProtoMessage ¶
func (*VolumeRef) ProtoMessage()
func (*VolumeRef) ProtoReflect ¶
func (x *VolumeRef) ProtoReflect() protoreflect.Message
type WiFiKeyScheme ¶
type WiFiKeyScheme int32
const ( WiFiKeyScheme_SchemeNOOP WiFiKeyScheme = 0 WiFiKeyScheme_WPAPSK WiFiKeyScheme = 1 // WPA-PSK WiFiKeyScheme_WPAEAP WiFiKeyScheme = 2 // WPA-EAP or WPA2 Enterprise )
func (WiFiKeyScheme) Descriptor ¶
func (WiFiKeyScheme) Descriptor() protoreflect.EnumDescriptor
func (WiFiKeyScheme) Enum ¶
func (x WiFiKeyScheme) Enum() *WiFiKeyScheme
func (WiFiKeyScheme) EnumDescriptor
deprecated
func (WiFiKeyScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use WiFiKeyScheme.Descriptor instead.
func (WiFiKeyScheme) Number ¶
func (x WiFiKeyScheme) Number() protoreflect.EnumNumber
func (WiFiKeyScheme) String ¶
func (x WiFiKeyScheme) String() string
func (WiFiKeyScheme) Type ¶
func (WiFiKeyScheme) Type() protoreflect.EnumType
type WifiConfig ¶
type WifiConfig struct { WifiSSID string `protobuf:"bytes,1,opt,name=wifiSSID,proto3" json:"wifiSSID,omitempty"` // SSID for WIFI KeyScheme WiFiKeyScheme `protobuf:"varint,2,opt,name=keyScheme,proto3,enum=org.lfedge.eve.config.WiFiKeyScheme" json:"keyScheme,omitempty"` // key management scheme, WPA-PSK, WPS-EPA, etc // to be deprecated, use cipherData instead Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` // WPA2 Enterprise user identity/username // to be deprecated, use cipherData instead Password string `protobuf:"bytes,10,opt,name=password,proto3" json:"password,omitempty"` // a string of hashed psk or password Crypto *WifiConfigCryptoblock `protobuf:"bytes,20,opt,name=crypto,proto3" json:"crypto,omitempty"` // encrypted block Priority int32 `protobuf:"varint,25,opt,name=priority,proto3" json:"priority,omitempty"` // priority of connection, default is 0 CipherData *evecommon.CipherBlock `protobuf:"bytes,30,opt,name=cipherData,proto3" json:"cipherData,omitempty"` // contains encrypted credential information // contains filtered or unexported fields }
func (*WifiConfig) Descriptor
deprecated
func (*WifiConfig) Descriptor() ([]byte, []int)
Deprecated: Use WifiConfig.ProtoReflect.Descriptor instead.
func (*WifiConfig) GetCipherData ¶
func (x *WifiConfig) GetCipherData() *evecommon.CipherBlock
func (*WifiConfig) GetCrypto ¶
func (x *WifiConfig) GetCrypto() *WifiConfigCryptoblock
func (*WifiConfig) GetIdentity ¶
func (x *WifiConfig) GetIdentity() string
func (*WifiConfig) GetKeyScheme ¶
func (x *WifiConfig) GetKeyScheme() WiFiKeyScheme
func (*WifiConfig) GetPassword ¶
func (x *WifiConfig) GetPassword() string
func (*WifiConfig) GetPriority ¶
func (x *WifiConfig) GetPriority() int32
func (*WifiConfig) GetWifiSSID ¶
func (x *WifiConfig) GetWifiSSID() string
func (*WifiConfig) ProtoMessage ¶
func (*WifiConfig) ProtoMessage()
func (*WifiConfig) ProtoReflect ¶
func (x *WifiConfig) ProtoReflect() protoreflect.Message
func (*WifiConfig) Reset ¶
func (x *WifiConfig) Reset()
func (*WifiConfig) String ¶
func (x *WifiConfig) String() string
type WifiConfigCryptoblock ¶
type WifiConfigCryptoblock struct { Identity string `protobuf:"bytes,11,opt,name=identity,proto3" json:"identity,omitempty"` // encrypted username if not empty Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"` // encrypted Password if not empty // contains filtered or unexported fields }
func (*WifiConfigCryptoblock) Descriptor
deprecated
func (*WifiConfigCryptoblock) Descriptor() ([]byte, []int)
Deprecated: Use WifiConfigCryptoblock.ProtoReflect.Descriptor instead.
func (*WifiConfigCryptoblock) GetIdentity ¶
func (x *WifiConfigCryptoblock) GetIdentity() string
func (*WifiConfigCryptoblock) GetPassword ¶
func (x *WifiConfigCryptoblock) GetPassword() string
func (*WifiConfigCryptoblock) ProtoMessage ¶
func (*WifiConfigCryptoblock) ProtoMessage()
func (*WifiConfigCryptoblock) ProtoReflect ¶
func (x *WifiConfigCryptoblock) ProtoReflect() protoreflect.Message
func (*WifiConfigCryptoblock) Reset ¶
func (x *WifiConfigCryptoblock) Reset()
func (*WifiConfigCryptoblock) String ¶
func (x *WifiConfigCryptoblock) String() string
type WirelessConfig ¶
type WirelessConfig struct { Type WirelessType `protobuf:"varint,1,opt,name=type,proto3,enum=org.lfedge.eve.config.WirelessType" json:"type,omitempty"` // either LTE or Wifi CellularCfg []*CellularConfig `protobuf:"bytes,5,rep,name=cellularCfg,proto3" json:"cellularCfg,omitempty"` // Cellular config WifiCfg []*WifiConfig `protobuf:"bytes,10,rep,name=wifiCfg,proto3" json:"wifiCfg,omitempty"` // Wifi, can be multiple APs on a single wlan, e.g. one for 2.5Ghz, other 5Ghz SSIDs // contains filtered or unexported fields }
func (*WirelessConfig) Descriptor
deprecated
func (*WirelessConfig) Descriptor() ([]byte, []int)
Deprecated: Use WirelessConfig.ProtoReflect.Descriptor instead.
func (*WirelessConfig) GetCellularCfg ¶
func (x *WirelessConfig) GetCellularCfg() []*CellularConfig
func (*WirelessConfig) GetType ¶
func (x *WirelessConfig) GetType() WirelessType
func (*WirelessConfig) GetWifiCfg ¶
func (x *WirelessConfig) GetWifiCfg() []*WifiConfig
func (*WirelessConfig) ProtoMessage ¶
func (*WirelessConfig) ProtoMessage()
func (*WirelessConfig) ProtoReflect ¶
func (x *WirelessConfig) ProtoReflect() protoreflect.Message
func (*WirelessConfig) Reset ¶
func (x *WirelessConfig) Reset()
func (*WirelessConfig) String ¶
func (x *WirelessConfig) String() string
type WirelessType ¶
type WirelessType int32
const ( WirelessType_TypeNOOP WirelessType = 0 WirelessType_WiFi WirelessType = 1 WirelessType_Cellular WirelessType = 2 )
func (WirelessType) Descriptor ¶
func (WirelessType) Descriptor() protoreflect.EnumDescriptor
func (WirelessType) Enum ¶
func (x WirelessType) Enum() *WirelessType
func (WirelessType) EnumDescriptor
deprecated
func (WirelessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WirelessType.Descriptor instead.
func (WirelessType) Number ¶
func (x WirelessType) Number() protoreflect.EnumNumber
func (WirelessType) String ¶
func (x WirelessType) String() string
func (WirelessType) Type ¶
func (WirelessType) Type() protoreflect.EnumType
type ZNetworkInstType ¶
type ZNetworkInstType int32
const ( ZNetworkInstType_ZNetInstFirst ZNetworkInstType = 0 ZNetworkInstType_ZnetInstSwitch ZNetworkInstType = 1 ZNetworkInstType_ZnetInstLocal ZNetworkInstType = 2 ZNetworkInstType_ZnetInstCloud ZNetworkInstType = 3 ZNetworkInstType_ZnetInstMesh ZNetworkInstType = 4 ZNetworkInstType_ZnetInstHoneyPot ZNetworkInstType = 5 ZNetworkInstType_ZnetInstTransparent ZNetworkInstType = 6 ZNetworkInstType_ZNetInstLast ZNetworkInstType = 255 )
func (ZNetworkInstType) Descriptor ¶
func (ZNetworkInstType) Descriptor() protoreflect.EnumDescriptor
func (ZNetworkInstType) Enum ¶
func (x ZNetworkInstType) Enum() *ZNetworkInstType
func (ZNetworkInstType) EnumDescriptor
deprecated
func (ZNetworkInstType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZNetworkInstType.Descriptor instead.
func (ZNetworkInstType) Number ¶
func (x ZNetworkInstType) Number() protoreflect.EnumNumber
func (ZNetworkInstType) String ¶
func (x ZNetworkInstType) String() string
func (ZNetworkInstType) Type ¶
func (ZNetworkInstType) Type() protoreflect.EnumType
type ZNetworkOpaqueConfigType ¶
type ZNetworkOpaqueConfigType int32
const ( ZNetworkOpaqueConfigType_ZNetOConfigVPN ZNetworkOpaqueConfigType = 0 ZNetworkOpaqueConfigType_ZNetOConfigLisp ZNetworkOpaqueConfigType = 1 )
func (ZNetworkOpaqueConfigType) Descriptor ¶
func (ZNetworkOpaqueConfigType) Descriptor() protoreflect.EnumDescriptor
func (ZNetworkOpaqueConfigType) Enum ¶
func (x ZNetworkOpaqueConfigType) Enum() *ZNetworkOpaqueConfigType
func (ZNetworkOpaqueConfigType) EnumDescriptor
deprecated
func (ZNetworkOpaqueConfigType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZNetworkOpaqueConfigType.Descriptor instead.
func (ZNetworkOpaqueConfigType) Number ¶
func (x ZNetworkOpaqueConfigType) Number() protoreflect.EnumNumber
func (ZNetworkOpaqueConfigType) String ¶
func (x ZNetworkOpaqueConfigType) String() string
func (ZNetworkOpaqueConfigType) Type ¶
func (ZNetworkOpaqueConfigType) Type() protoreflect.EnumType
type ZcServicePoint ¶
type ZcServicePoint struct { ZsType ZcServiceType `protobuf:"varint,3,opt,name=zsType,proto3,enum=org.lfedge.eve.config.ZcServiceType" json:"zsType,omitempty"` NameOrIp string `protobuf:"bytes,1,opt,name=NameOrIp,proto3" json:"NameOrIp,omitempty"` Credential string `protobuf:"bytes,2,opt,name=Credential,proto3" json:"Credential,omitempty"` // contains filtered or unexported fields }
This is way to tell the device if there is service in cloud somewhere, what type it is how to access it
func (*ZcServicePoint) Descriptor
deprecated
func (*ZcServicePoint) Descriptor() ([]byte, []int)
Deprecated: Use ZcServicePoint.ProtoReflect.Descriptor instead.
func (*ZcServicePoint) GetCredential ¶
func (x *ZcServicePoint) GetCredential() string
func (*ZcServicePoint) GetNameOrIp ¶
func (x *ZcServicePoint) GetNameOrIp() string
func (*ZcServicePoint) GetZsType ¶
func (x *ZcServicePoint) GetZsType() ZcServiceType
func (*ZcServicePoint) ProtoMessage ¶
func (*ZcServicePoint) ProtoMessage()
func (*ZcServicePoint) ProtoReflect ¶
func (x *ZcServicePoint) ProtoReflect() protoreflect.Message
func (*ZcServicePoint) Reset ¶
func (x *ZcServicePoint) Reset()
func (*ZcServicePoint) String ¶
func (x *ZcServicePoint) String() string
type ZcServiceType ¶
type ZcServiceType int32
const ( ZcServiceType_zcloudInvalidSrv ZcServiceType = 0 // mapping service for zededa overlay service ZcServiceType_mapServer ZcServiceType = 1 // if device has support feature enabled, this is cloud service from // device can be reached ZcServiceType_supportServer ZcServiceType = 2 )
func (ZcServiceType) Descriptor ¶
func (ZcServiceType) Descriptor() protoreflect.EnumDescriptor
func (ZcServiceType) Enum ¶
func (x ZcServiceType) Enum() *ZcServiceType
func (ZcServiceType) EnumDescriptor
deprecated
func (ZcServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZcServiceType.Descriptor instead.
func (ZcServiceType) Number ¶
func (x ZcServiceType) Number() protoreflect.EnumNumber
func (ZcServiceType) String ¶
func (x ZcServiceType) String() string
func (ZcServiceType) Type ¶
func (ZcServiceType) Type() protoreflect.EnumType
type ZedServer ¶
type ZedServer struct { HostName string `protobuf:"bytes,1,opt,name=HostName,proto3" json:"HostName,omitempty"` EID []string `protobuf:"bytes,2,rep,name=EID,proto3" json:"EID,omitempty"` // contains filtered or unexported fields }
deprecated use ZnetStaticDNSEntry
func (*ZedServer) Descriptor
deprecated
func (*ZedServer) GetHostName ¶
func (*ZedServer) ProtoMessage ¶
func (*ZedServer) ProtoMessage()
func (*ZedServer) ProtoReflect ¶
func (x *ZedServer) ProtoReflect() protoreflect.Message
type ZnetStaticDNSEntry ¶
type ZnetStaticDNSEntry struct { HostName string `protobuf:"bytes,1,opt,name=HostName,proto3" json:"HostName,omitempty"` Address []string `protobuf:"bytes,2,rep,name=Address,proto3" json:"Address,omitempty"` // contains filtered or unexported fields }
These are list of static mapping that can be added to network
func (*ZnetStaticDNSEntry) Descriptor
deprecated
func (*ZnetStaticDNSEntry) Descriptor() ([]byte, []int)
Deprecated: Use ZnetStaticDNSEntry.ProtoReflect.Descriptor instead.
func (*ZnetStaticDNSEntry) GetAddress ¶
func (x *ZnetStaticDNSEntry) GetAddress() []string
func (*ZnetStaticDNSEntry) GetHostName ¶
func (x *ZnetStaticDNSEntry) GetHostName() string
func (*ZnetStaticDNSEntry) ProtoMessage ¶
func (*ZnetStaticDNSEntry) ProtoMessage()
func (*ZnetStaticDNSEntry) ProtoReflect ¶
func (x *ZnetStaticDNSEntry) ProtoReflect() protoreflect.Message
func (*ZnetStaticDNSEntry) Reset ¶
func (x *ZnetStaticDNSEntry) Reset()
func (*ZnetStaticDNSEntry) String ¶
func (x *ZnetStaticDNSEntry) String() string