Documentation
¶
Index ¶
- type AAAFrontendLoginResponse
- func (m *AAAFrontendLoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendLoginResponse) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendLoginResponse) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendLoginResponse) Validate(formats strfmt.Registry) error
- type AAAFrontendLoginResponseCause
- type AAAFrontendLoginWithOauthRequest
- func (m *AAAFrontendLoginWithOauthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendLoginWithOauthRequest) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendLoginWithOauthRequest) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendLoginWithOauthRequest) Validate(formats strfmt.Registry) error
- type AAAFrontendLoginWithPasswordRequest
- func (m *AAAFrontendLoginWithPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendLoginWithPasswordRequest) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendLoginWithPasswordRequest) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendLoginWithPasswordRequest) Validate(formats strfmt.Registry) error
- type AAAFrontendLogoutRequest
- type AAAFrontendLogoutResponse
- func (m *AAAFrontendLogoutResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendLogoutResponse) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendLogoutResponse) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendLogoutResponse) Validate(formats strfmt.Registry) error
- type AAAFrontendLogoutResponseCause
- type AAAFrontendOAUTHCallbackRequest
- func (m *AAAFrontendOAUTHCallbackRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendOAUTHCallbackRequest) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendOAUTHCallbackRequest) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendOAUTHCallbackRequest) Validate(formats strfmt.Registry) error
- type ACL
- type ACLAction
- type ActionScope
- type AdapterUsage
- type AdminState
- type AllocationPolicy
- type AllowedEnterprise
- type AppACE
- type AppACEAction
- type AppACEMatch
- type AppAccessPolicy
- type AppCategory
- type AppConfig
- type AppFilter
- type AppInstConfig
- type AppInstConfigStatus
- type AppInstConfigStatusList
- func (m *AppInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstConfigStatusList) MarshalBinary() ([]byte, error)
- func (m *AppInstConfigStatusList) UnmarshalBinary(b []byte) error
- func (m *AppInstConfigStatusList) Validate(formats strfmt.Registry) error
- type AppInstFilter
- type AppInstMemorySummary
- type AppInstPolicy
- type AppInstStatusFilter
- type AppInstStatusListMsg
- type AppInstStatusMsg
- type AppInstStatusSummaryMsg
- func (m *AppInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstStatusSummaryMsg) MarshalBinary() ([]byte, error)
- func (m *AppInstStatusSummaryMsg) UnmarshalBinary(b []byte) error
- func (m *AppInstStatusSummaryMsg) Validate(formats strfmt.Registry) error
- type AppInstance
- type AppInstanceLogs
- type AppInstanceLogsQueryResponse
- func (m *AppInstanceLogsQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstanceLogsQueryResponse) MarshalBinary() ([]byte, error)
- func (m *AppInstanceLogsQueryResponse) UnmarshalBinary(b []byte) error
- func (m *AppInstanceLogsQueryResponse) Validate(formats strfmt.Registry) error
- type AppInstanceLogsQueryResponseItem
- func (m *AppInstanceLogsQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstanceLogsQueryResponseItem) MarshalBinary() ([]byte, error)
- func (m *AppInstanceLogsQueryResponseItem) UnmarshalBinary(b []byte) error
- func (m *AppInstanceLogsQueryResponseItem) Validate(formats strfmt.Registry) error
- type AppInstanceLogsResponse
- func (m *AppInstanceLogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstanceLogsResponse) MarshalBinary() ([]byte, error)
- func (m *AppInstanceLogsResponse) UnmarshalBinary(b []byte) error
- func (m *AppInstanceLogsResponse) Validate(formats strfmt.Registry) error
- type AppInstances
- type AppInterface
- type AppMapParams
- type AppNamingScheme
- type AppNamingSchemeV2
- type AppPolicy
- type AppProjectList
- type AppStatusFromTPController
- func (m *AppStatusFromTPController) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppStatusFromTPController) MarshalBinary() ([]byte, error)
- func (m *AppStatusFromTPController) UnmarshalBinary(b []byte) error
- func (m *AppStatusFromTPController) Validate(formats strfmt.Registry) error
- type AppSummary
- type AppType
- type Application
- type Apps
- type AttestPolicyType
- type AttestState
- type AttestationPolicy
- type AuthProfileType
- type AuthType
- type Author
- type AuthorizationProfile
- type AzureDevStatusDetail
- type AzurePolicy
- type AzureResourceAndServiceDetail
- func (m *AzureResourceAndServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureResourceAndServiceDetail) MarshalBinary() ([]byte, error)
- func (m *AzureResourceAndServiceDetail) UnmarshalBinary(b []byte) error
- func (m *AzureResourceAndServiceDetail) Validate(formats strfmt.Registry) error
- type AzureResourceAndServices
- func (m *AzureResourceAndServices) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureResourceAndServices) MarshalBinary() ([]byte, error)
- func (m *AzureResourceAndServices) UnmarshalBinary(b []byte) error
- func (m *AzureResourceAndServices) Validate(formats strfmt.Registry) error
- type AzureStatus
- type BaseOSImage
- type BinaryArtifact
- type BlobInfo
- type BlobStatus
- type CPUSummary
- type Capabilities
- type Cellular
- type CellularStatus
- type Certificate
- type CertificateChain
- type CertificateEnrollmentDetail
- func (m *CertificateEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CertificateEnrollmentDetail) MarshalBinary() ([]byte, error)
- func (m *CertificateEnrollmentDetail) UnmarshalBinary(b []byte) error
- func (m *CertificateEnrollmentDetail) Validate(formats strfmt.Registry) error
- type ClassificationItem
- type ClassificationResponse
- func (m *ClassificationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClassificationResponse) MarshalBinary() ([]byte, error)
- func (m *ClassificationResponse) UnmarshalBinary(b []byte) error
- func (m *ClassificationResponse) Validate(formats strfmt.Registry) error
- type ClusterConfig
- type ClusterInstPolicy
- type ClusterPolicy
- type ClusterType
- type CmdArg
- type ConfigFormat
- type ConfigurationLock
- type ConfigurationLockPolicy
- func (m *ConfigurationLockPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigurationLockPolicy) MarshalBinary() ([]byte, error)
- func (m *ConfigurationLockPolicy) UnmarshalBinary(b []byte) error
- func (m *ConfigurationLockPolicy) Validate(formats strfmt.Registry) error
- type ContainerDetail
- type ControllerType
- type Credential
- type CredentialType
- type Credentials
- type Cursor
- type CustomConfig
- type CustomConfigVariableGroup
- func (m *CustomConfigVariableGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomConfigVariableGroup) MarshalBinary() ([]byte, error)
- func (m *CustomConfigVariableGroup) UnmarshalBinary(b []byte) error
- func (m *CustomConfigVariableGroup) Validate(formats strfmt.Registry) error
- type DNSInfo
- type DPSServiceDetail
- type DataStream
- type Datastore
- type DatastoreInfoSecrets
- type DatastoreProjectList
- type DatastoreStatus
- type DatastoreType
- type Datastores
- type DebugKnobDetail
- type Deployment
- type DeploymentType
- type DetailedUser
- type Details
- type DevAccessPolicy
- type DevDataSecAtRest
- type DevZedServer
- type DeviceAttestPolicyType
- type DeviceAttestationPolicy
- func (m *DeviceAttestationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeviceAttestationPolicy) MarshalBinary() ([]byte, error)
- func (m *DeviceAttestationPolicy) UnmarshalBinary(b []byte) error
- func (m *DeviceAttestationPolicy) Validate(formats strfmt.Registry) error
- type DeviceBootReason
- type DeviceCerts
- type DeviceCmdsSubType
- type DeviceConfigList
- type DeviceConfigSummary
- type DeviceDataSecurityAtRestStatus
- type DeviceEntity
- type DeviceError
- type DeviceFilter
- type DeviceHWSecurityModuleStatus
- type DeviceInfo
- type DeviceInfoMsg
- type DeviceLisp
- type DeviceLoad
- type DeviceLocation
- type DeviceLocations
- type DeviceMemorySummary
- type DeviceObjectUsageInfo
- type DevicePolicy
- type DevicePolicyType
- type DeviceRawMetrics
- type DeviceSWInfo
- type DeviceSWStatus
- type DeviceSWSubStatus
- type DeviceStatusConfig
- type DeviceStatusConfigList
- func (m *DeviceStatusConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeviceStatusConfigList) MarshalBinary() ([]byte, error)
- func (m *DeviceStatusConfigList) UnmarshalBinary(b []byte) error
- func (m *DeviceStatusConfigList) Validate(formats strfmt.Registry) error
- type DeviceStatusFilter
- type DeviceStatusListMsg
- type DeviceStatusMsg
- type DeviceStatusSummaryMsg
- func (m *DeviceStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeviceStatusSummaryMsg) MarshalBinary() ([]byte, error)
- func (m *DeviceStatusSummaryMsg) UnmarshalBinary(b []byte) error
- func (m *DeviceStatusSummaryMsg) Validate(formats strfmt.Registry) error
- type DhcpIPRange
- type DhcpServerConfig
- type DiskDescription
- type Drive
- type ECDSA
- type EDConfigItem
- type EIDRegister
- type EdgeviewCfg
- type EdgeviewPolicy
- type EnrollmentDetail
- type EnrollmentMechanism
- type EnrollmentType
- type Enterprise
- type EnterpriseState
- type EnterpriseSummary
- type EnterpriseType
- type Entity
- type EventQueryResponse
- type EventQueryResponseItem
- func (m *EventQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EventQueryResponseItem) MarshalBinary() ([]byte, error)
- func (m *EventQueryResponseItem) UnmarshalBinary(b []byte) error
- func (m *EventQueryResponseItem) Validate(formats strfmt.Registry) error
- type EventSource
- type ExtAccessPolicy
- type ExternalOpaqueBinaryBlob
- func (m *ExternalOpaqueBinaryBlob) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExternalOpaqueBinaryBlob) MarshalBinary() ([]byte, error)
- func (m *ExternalOpaqueBinaryBlob) UnmarshalBinary(b []byte) error
- func (m *ExternalOpaqueBinaryBlob) Validate(formats strfmt.Registry) error
- type FlowlogAction
- type FlowlogCategoryType
- type FlowlogDirection
- type FlowlogMetric
- type GPSLocation
- type GeoLocation
- type GooglerpcStatus
- type GroupCertificateEnrollment
- func (m *GroupCertificateEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupCertificateEnrollment) MarshalBinary() ([]byte, error)
- func (m *GroupCertificateEnrollment) UnmarshalBinary(b []byte) error
- func (m *GroupCertificateEnrollment) Validate(formats strfmt.Registry) error
- type GroupSymmetricKeyEnrollment
- func (m *GroupSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)
- func (m *GroupSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error
- func (m *GroupSymmetricKeyEnrollment) Validate(formats strfmt.Registry) error
- type HvMode
- type IDState
- type IPAssignment
- type IPSpec
- type Image
- type ImageFilter
- type ImageProjectList
- type ImageStatus
- type ImageType
- type ImageVersionFilter
- type Images
- type IndividualCertificateEnrollment
- type IndividualSymmetricKeyEnrollment
- func (m *IndividualSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IndividualSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)
- func (m *IndividualSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error
- func (m *IndividualSymmetricKeyEnrollment) Validate(formats strfmt.Registry) error
- type InlineOpaqueBase64Data
- func (m *InlineOpaqueBase64Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InlineOpaqueBase64Data) MarshalBinary() ([]byte, error)
- func (m *InlineOpaqueBase64Data) UnmarshalBinary(b []byte) error
- func (m *InlineOpaqueBase64Data) Validate(formats strfmt.Registry) error
- type InstanceTransitionAction
- type IntegrationPolicy
- type Interface
- type InterfaceOrdering
- type IoAddresses
- type IoBundleStatus
- type IoMember
- type IoMemberStatus
- type IoType
- type IotHubServiceDetail
- type JWTAuthProfileAlgorithm
- type JWTInfo
- type LTEAdapter
- type LimitParams
- type LispConfig
- type LispServer
- type LocalOperatorConsolePolicy
- func (m *LocalOperatorConsolePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LocalOperatorConsolePolicy) MarshalBinary() ([]byte, error)
- func (m *LocalOperatorConsolePolicy) UnmarshalBinary(b []byte) error
- func (m *LocalOperatorConsolePolicy) Validate(formats strfmt.Registry) error
- type ManifestInfo
- type MapParams
- type Match
- type MemorySummary
- type MetricQueryResponse
- type MetricQueryResponseItem
- func (m *MetricQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MetricQueryResponseItem) MarshalBinary() ([]byte, error)
- func (m *MetricQueryResponseItem) UnmarshalBinary(b []byte) error
- func (m *MetricQueryResponseItem) Validate(formats strfmt.Registry) error
- type MetricThreshold
- type MetricType
- type MetricsDetail
- type ModelArchType
- type ModemDetail
- type ModuleDetail
- type ModulePolicy
- type ModuleSummary
- type ModuleType
- type NetConfigList
- type NetInstConfigStatus
- type NetInstConfigStatusList
- func (m *NetInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetInstConfigStatusList) MarshalBinary() ([]byte, error)
- func (m *NetInstConfigStatusList) UnmarshalBinary(b []byte) error
- func (m *NetInstConfigStatusList) Validate(formats strfmt.Registry) error
- type NetInstFilter
- type NetInstList
- type NetInstOpaqueConfig
- type NetInstShortConfig
- type NetInstStatusFilter
- type NetInstStatusListMsg
- type NetInstStatusMsg
- type NetInstStatusSummaryMsg
- func (m *NetInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetInstStatusSummaryMsg) MarshalBinary() ([]byte, error)
- func (m *NetInstStatusSummaryMsg) UnmarshalBinary(b []byte) error
- func (m *NetInstStatusSummaryMsg) Validate(formats strfmt.Registry) error
- type NetProxyStatus
- type NetWifiConfigNetcryptoblock
- func (m *NetWifiConfigNetcryptoblock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetWifiConfigNetcryptoblock) MarshalBinary() ([]byte, error)
- func (m *NetWifiConfigNetcryptoblock) UnmarshalBinary(b []byte) error
- func (m *NetWifiConfigNetcryptoblock) Validate(formats strfmt.Registry) error
- type NetWifiConfigSecrets
- type Network
- type NetworkCounters
- type NetworkDHCPType
- type NetworkFilter
- type NetworkInstConfig
- type NetworkInstPolicy
- type NetworkInstance
- type NetworkInstanceDhcpType
- type NetworkInstanceFlowLogTransmission
- type NetworkInstanceKind
- type NetworkKind
- type NetworkPolicy
- type NetworkProvider
- type NetworkStatus
- type NetworkWiFiKeyScheme
- type Node
- type OAUTHProfile
- type OAUTHProfileJWTAuthProfile
- func (m *OAUTHProfileJWTAuthProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OAUTHProfileJWTAuthProfile) MarshalBinary() ([]byte, error)
- func (m *OAUTHProfileJWTAuthProfile) UnmarshalBinary(b []byte) error
- func (m *OAUTHProfileJWTAuthProfile) Validate(formats strfmt.Registry) error
- type ObjectDetail
- type ObjectParentDetail
- type ObjectRevision
- type ObjectTag
- type ObjectTagFilter
- type ObjectTagsList
- type ObjectType
- type OpaqueAppInstanceStatus
- func (m *OpaqueAppInstanceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OpaqueAppInstanceStatus) MarshalBinary() ([]byte, error)
- func (m *OpaqueAppInstanceStatus) UnmarshalBinary(b []byte) error
- func (m *OpaqueAppInstanceStatus) Validate(formats strfmt.Registry) error
- type OpaqueConfigType
- type OpaqueObjectCategory
- type OpaqueToken64
- type Origin
- type PCRTemplate
- type PCRType
- type PCRValue
- type Param
- type PasswordProfile
- type PatchEnvelope
- type PatchEnvelopeAction
- type PatchEnvelopeList
- type PatchEnvelopeState
- type PatchEnvelopeStatus
- type PatchEnvelopeUsageInfo
- func (m *PatchEnvelopeUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchEnvelopeUsageInfo) MarshalBinary() ([]byte, error)
- func (m *PatchEnvelopeUsageInfo) UnmarshalBinary(b []byte) error
- func (m *PatchEnvelopeUsageInfo) Validate(formats strfmt.Registry) error
- type PatchReferenceUpdateConfig
- func (m *PatchReferenceUpdateConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchReferenceUpdateConfig) MarshalBinary() ([]byte, error)
- func (m *PatchReferenceUpdateConfig) UnmarshalBinary(b []byte) error
- func (m *PatchReferenceUpdateConfig) Validate(formats strfmt.Registry) error
- type PatchStatusFilter
- type PatchStatusListMsg
- type Permission
- type PhyAdapter
- type PhysicalStorage
- type PhysicalStorageDiskState
- func (m *PhysicalStorageDiskState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PhysicalStorageDiskState) MarshalBinary() ([]byte, error)
- func (m *PhysicalStorageDiskState) UnmarshalBinary(b []byte) error
- func (m *PhysicalStorageDiskState) Validate(formats strfmt.Registry) error
- type PhysicalStorageRaidType
- type PhysicalStorageStatus
- type PhysicalStorageTypeInfo
- type Policy
- type PolicyCommon
- type PolicyStatus
- type PolicyType
- type PolicyVersion
- type PolicyVersionList
- type Proto
- type ProtobufAny
- type ProtobufNullValue
- type Proxy
- type RSA
- type RadioAccessTechnology
- type Realm
- type Resource
- type ResourceGroupDetail
- type Role
- type RoleState
- type RunState
- type SANValues
- type SIMCard
- type SKUDetail
- type SWInfo
- type SWState
- type Scope
- type Server
- type ServicePoint
- type Severity
- type SimcardState
- type SimpleUser
- type SpType
- type StaticDNSList
- type StaticIPRoute
- type StorageDeviceMetrics
- type StorageStatus
- type StorageSummary
- type Subject
- type Summary
- type SymmetricKeyEnrollmentDetail
- func (m *SymmetricKeyEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SymmetricKeyEnrollmentDetail) MarshalBinary() ([]byte, error)
- func (m *SymmetricKeyEnrollmentDetail) UnmarshalBinary(b []byte) error
- func (m *SymmetricKeyEnrollmentDetail) Validate(formats strfmt.Registry) error
- type SysBrand
- type SysBrandFilter
- type SysBrands
- type SysModel
- type SysModelFilter
- type SysModelState
- type SysModels
- type SystemInterface
- type TOTPSettings
- type TPMEnrollmentDetail
- type Tag
- type TagConfigStatus
- type TagFilter
- type TagLevelSettings
- type TagStatus
- type TagStatusFilter
- type TagStatusListMsg
- type TagStatusMsg
- type TagType
- type Tags
- type TagsConfigStatus
- type Token64
- type TopTalkersResponse
- type TopTalkersResponseItem
- func (m *TopTalkersResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TopTalkersResponseItem) MarshalBinary() ([]byte, error)
- func (m *TopTalkersResponseItem) UnmarshalBinary(b []byte) error
- func (m *TopTalkersResponseItem) Validate(formats strfmt.Registry) error
- type TransCause
- type TransDetails
- type TwinDetail
- type Type
- type UserDataTemplate
- type UserRole
- type UserState
- type VCEStatus
- type VCEStatusDetail
- type VM
- type VMManifest
- type VMManifestImage
- type VMManifestSummary
- type VariableFileEncoding
- type VariableGroupCondition
- func (m *VariableGroupCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VariableGroupCondition) MarshalBinary() ([]byte, error)
- func (m *VariableGroupCondition) UnmarshalBinary(b []byte) error
- func (m *VariableGroupCondition) Validate(formats strfmt.Registry) error
- type VariableGroupConditionOperator
- type VariableGroupVariable
- type VariableOptionVal
- type VariableVariableFormat
- type Vfs
- type VifInfo
- type VolInstFilter
- type VolInstList
- type VolInstResource
- type VolInstShortConfig
- type VolInstStatusFilter
- type VolInstStatusListMsg
- type VolInstStatusMsg
- type VolInstStatusSummaryMsg
- func (m *VolInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VolInstStatusSummaryMsg) MarshalBinary() ([]byte, error)
- func (m *VolInstStatusSummaryMsg) UnmarshalBinary(b []byte) error
- func (m *VolInstStatusSummaryMsg) Validate(formats strfmt.Registry) error
- type VolumeInstConfig
- type VolumeInstPolicy
- type VolumeInstance
- type VolumeInstanceAccessMode
- type VolumeInstanceType
- type Wifi
- type Wireless
- type ZCellularControlProtocol
- type ZCellularOperatingState
- type ZManufacturerInfo
- type ZcOpsStatus
- type ZcOpsType
- type ZedCloudOpsCmd
- type ZedcloudCounters
- type ZsrvError
- type ZsrvErrorCode
- type ZsrvResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AAAFrontendLoginResponse ¶ added in v2.3.0
type AAAFrontendLoginResponse struct { // api token APIToken *Token64 `json:"apiToken,omitempty"` // cause Cause *AAAFrontendLoginResponseCause `json:"cause,omitempty"` // detailed user DetailedUser *DetailedUser `json:"detailedUser,omitempty"` // enterprise Enterprise *Enterprise `json:"enterprise,omitempty"` // login token LoginToken *Token64 `json:"loginToken,omitempty"` // no of login attempts left NoOfLoginAttemptsLeft int64 `json:"noOfLoginAttemptsLeft,omitempty"` // password expiry notification period in seconds PasswordExpiryNotificationPeriodInSeconds int64 `json:"passwordExpiryNotificationPeriodInSeconds,omitempty"` // password expiry time // Format: date-time PasswordExpiryTime strfmt.DateTime `json:"passwordExpiryTime,omitempty"` // BEGIN: Only valid when Verbose is requesed Policies []*Policy `json:"policies"` // realm Realm *Realm `json:"realm,omitempty"` // redirect Url RedirectURL string `json:"redirectUrl,omitempty"` // role Role *Role `json:"role,omitempty"` // simple user SimpleUser *SimpleUser `json:"simpleUser,omitempty"` // temp token TempToken *Token64 `json:"tempToken,omitempty"` // token Token *Token64 `json:"token,omitempty"` // BEGIN: Only valid when Cause == OK UserID string `json:"userId,omitempty"` }
AAAFrontendLoginResponse a a a frontend login response
swagger:model AAA_Frontend_LoginResponse
func (*AAAFrontendLoginResponse) ContextValidate ¶ added in v2.3.0
func (m *AAAFrontendLoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a frontend login response based on the context it is used
func (*AAAFrontendLoginResponse) MarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginResponse) UnmarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLoginResponseCause ¶ added in v2.3.0
type AAAFrontendLoginResponseCause string
AAAFrontendLoginResponseCause - EXCEPTION: Some exception has occurred on the server
swagger:model AAA_Frontend_LoginResponseCause
const ( // AAAFrontendLoginResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED" AAAFrontendLoginResponseCauseUNSPECIFIED AAAFrontendLoginResponseCause = "UNSPECIFIED" // AAAFrontendLoginResponseCauseOK captures enum value "OK" AAAFrontendLoginResponseCauseOK AAAFrontendLoginResponseCause = "OK" // AAAFrontendLoginResponseCauseUNKNOWN captures enum value "UNKNOWN" AAAFrontendLoginResponseCauseUNKNOWN AAAFrontendLoginResponseCause = "UNKNOWN" // AAAFrontendLoginResponseCauseCREDENTIALS captures enum value "CREDENTIALS" AAAFrontendLoginResponseCauseCREDENTIALS AAAFrontendLoginResponseCause = "CREDENTIALS" // AAAFrontendLoginResponseCauseSUSPENDED captures enum value "SUSPENDED" AAAFrontendLoginResponseCauseSUSPENDED AAAFrontendLoginResponseCause = "SUSPENDED" // AAAFrontendLoginResponseCauseEXCEPTION captures enum value "EXCEPTION" AAAFrontendLoginResponseCauseEXCEPTION AAAFrontendLoginResponseCause = "EXCEPTION" // AAAFrontendLoginResponseCauseINACTIVE captures enum value "INACTIVE" AAAFrontendLoginResponseCauseINACTIVE AAAFrontendLoginResponseCause = "INACTIVE" // AAAFrontendLoginResponseCauseSIGNEDUPSTATE captures enum value "SIGNEDUPSTATE" AAAFrontendLoginResponseCauseSIGNEDUPSTATE AAAFrontendLoginResponseCause = "SIGNEDUPSTATE" // AAAFrontendLoginResponseCauseUNKNOWNSTATE captures enum value "UNKNOWNSTATE" AAAFrontendLoginResponseCauseUNKNOWNSTATE AAAFrontendLoginResponseCause = "UNKNOWNSTATE" // AAAFrontendLoginResponseCauseCREATEDSTATE captures enum value "CREATEDSTATE" AAAFrontendLoginResponseCauseCREATEDSTATE AAAFrontendLoginResponseCause = "CREATEDSTATE" // AAAFrontendLoginResponseCauseUSERUNKNOWN captures enum value "USER_UNKNOWN" AAAFrontendLoginResponseCauseUSERUNKNOWN AAAFrontendLoginResponseCause = "USER_UNKNOWN" // AAAFrontendLoginResponseCauseENTERPRISEUNKNOWN captures enum value "ENTERPRISE_UNKNOWN" AAAFrontendLoginResponseCauseENTERPRISEUNKNOWN AAAFrontendLoginResponseCause = "ENTERPRISE_UNKNOWN" // AAAFrontendLoginResponseCauseROLEUNKNOWN captures enum value "ROLE_UNKNOWN" AAAFrontendLoginResponseCauseROLEUNKNOWN AAAFrontendLoginResponseCause = "ROLE_UNKNOWN" // AAAFrontendLoginResponseCauseUSERUNKNOWNSTATE captures enum value "USER_UNKNOWNSTATE" AAAFrontendLoginResponseCauseUSERUNKNOWNSTATE AAAFrontendLoginResponseCause = "USER_UNKNOWNSTATE" // AAAFrontendLoginResponseCauseUSERINACTIVE captures enum value "USER_INACTIVE" AAAFrontendLoginResponseCauseUSERINACTIVE AAAFrontendLoginResponseCause = "USER_INACTIVE" // AAAFrontendLoginResponseCauseUSERSIGNEDUPSTATE captures enum value "USER_SIGNEDUPSTATE" AAAFrontendLoginResponseCauseUSERSIGNEDUPSTATE AAAFrontendLoginResponseCause = "USER_SIGNEDUPSTATE" // AAAFrontendLoginResponseCauseUSERCREATEDSTATE captures enum value "USER_CREATEDSTATE" AAAFrontendLoginResponseCauseUSERCREATEDSTATE AAAFrontendLoginResponseCause = "USER_CREATEDSTATE" // AAAFrontendLoginResponseCauseENTERPRISEUNKNOWNSTATE captures enum value "ENTERPRISE_UNKNOWNSTATE" AAAFrontendLoginResponseCauseENTERPRISEUNKNOWNSTATE AAAFrontendLoginResponseCause = "ENTERPRISE_UNKNOWNSTATE" // AAAFrontendLoginResponseCauseENTERPRISEINACTIVE captures enum value "ENTERPRISE_INACTIVE" AAAFrontendLoginResponseCauseENTERPRISEINACTIVE AAAFrontendLoginResponseCause = "ENTERPRISE_INACTIVE" // AAAFrontendLoginResponseCauseENTERPRISESIGNEDUPSTATE captures enum value "ENTERPRISE_SIGNEDUPSTATE" AAAFrontendLoginResponseCauseENTERPRISESIGNEDUPSTATE AAAFrontendLoginResponseCause = "ENTERPRISE_SIGNEDUPSTATE" // AAAFrontendLoginResponseCauseENTERPRISECREATEDSTATE captures enum value "ENTERPRISE_CREATEDSTATE" AAAFrontendLoginResponseCauseENTERPRISECREATEDSTATE AAAFrontendLoginResponseCause = "ENTERPRISE_CREATEDSTATE" // AAAFrontendLoginResponseCauseCREDENTIALNOTFOUND captures enum value "CREDENTIAL_NOTFOUND" AAAFrontendLoginResponseCauseCREDENTIALNOTFOUND AAAFrontendLoginResponseCause = "CREDENTIAL_NOTFOUND" // AAAFrontendLoginResponseCauseCREDENTIALMISMATCH captures enum value "CREDENTIAL_MISMATCH" AAAFrontendLoginResponseCauseCREDENTIALMISMATCH AAAFrontendLoginResponseCause = "CREDENTIAL_MISMATCH" // AAAFrontendLoginResponseCauseSCHEMEUNKNOWN captures enum value "SCHEME_UNKNOWN" AAAFrontendLoginResponseCauseSCHEMEUNKNOWN AAAFrontendLoginResponseCause = "SCHEME_UNKNOWN" // AAAFrontendLoginResponseCauseUPDATELOGINTIMEFAILED captures enum value "UPDATE_LOGINTIME_FAILED" AAAFrontendLoginResponseCauseUPDATELOGINTIMEFAILED AAAFrontendLoginResponseCause = "UPDATE_LOGINTIME_FAILED" // AAAFrontendLoginResponseCauseCREDENTIALMISMATCHMAXFAILEDPWDATTEMPT captures enum value "CREDENTIAL_MISMATCH_MAX_FAILED_PWD_ATTEMPT" AAAFrontendLoginResponseCauseCREDENTIALMISMATCHMAXFAILEDPWDATTEMPT AAAFrontendLoginResponseCause = "CREDENTIAL_MISMATCH_MAX_FAILED_PWD_ATTEMPT" // AAAFrontendLoginResponseCauseREDIRECT captures enum value "REDIRECT" AAAFrontendLoginResponseCauseREDIRECT AAAFrontendLoginResponseCause = "REDIRECT" // AAAFrontendLoginResponseCauseDECRYPTIONFAILED captures enum value "DECRYPTION_FAILED" AAAFrontendLoginResponseCauseDECRYPTIONFAILED AAAFrontendLoginResponseCause = "DECRYPTION_FAILED" // AAAFrontendLoginResponseCausePASSWORDEXPIRED captures enum value "PASSWORD_EXPIRED" AAAFrontendLoginResponseCausePASSWORDEXPIRED AAAFrontendLoginResponseCause = "PASSWORD_EXPIRED" // AAAFrontendLoginResponseCauseTOTPOK captures enum value "TOTP_OK" AAAFrontendLoginResponseCauseTOTPOK AAAFrontendLoginResponseCause = "TOTP_OK" // AAAFrontendLoginResponseCauseTOTPINVALIDCODE captures enum value "TOTP_INVALID_CODE" AAAFrontendLoginResponseCauseTOTPINVALIDCODE AAAFrontendLoginResponseCause = "TOTP_INVALID_CODE" // AAAFrontendLoginResponseCauseTOTPERR captures enum value "TOTP_ERR" AAAFrontendLoginResponseCauseTOTPERR AAAFrontendLoginResponseCause = "TOTP_ERR" )
func NewAAAFrontendLoginResponseCause ¶ added in v2.3.0
func NewAAAFrontendLoginResponseCause(value AAAFrontendLoginResponseCause) *AAAFrontendLoginResponseCause
func (AAAFrontendLoginResponseCause) ContextValidate ¶ added in v2.3.0
func (m AAAFrontendLoginResponseCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend login response cause based on context it is used
func (AAAFrontendLoginResponseCause) Pointer ¶ added in v2.3.0
func (m AAAFrontendLoginResponseCause) Pointer() *AAAFrontendLoginResponseCause
Pointer returns a pointer to a freshly-allocated AAAFrontendLoginResponseCause.
type AAAFrontendLoginWithOauthRequest ¶ added in v2.3.0
type AAAFrontendLoginWithOauthRequest struct { // enterprise name EnterpriseName string `json:"enterpriseName,omitempty"` // username at realm UsernameAtRealm string `json:"usernameAtRealm,omitempty"` }
AAAFrontendLoginWithOauthRequest a a a frontend login with oauth request
swagger:model AAA_Frontend_LoginWithOauthRequest
func (*AAAFrontendLoginWithOauthRequest) ContextValidate ¶ added in v2.3.0
func (m *AAAFrontendLoginWithOauthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend login with oauth request based on context it is used
func (*AAAFrontendLoginWithOauthRequest) MarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLoginWithOauthRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginWithOauthRequest) UnmarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLoginWithOauthRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLoginWithPasswordRequest ¶ added in v2.3.0
type AAAFrontendLoginWithPasswordRequest struct { // enterprise name EnterpriseName string `json:"enterpriseName,omitempty"` // password Password string `json:"password,omitempty"` // realm Realm string `json:"realm,omitempty"` // username Username string `json:"username,omitempty"` // username at realm UsernameAtRealm string `json:"usernameAtRealm,omitempty"` // verbose detailed user VerboseDetailedUser bool `json:"verboseDetailedUser,omitempty"` // verbose enterprise VerboseEnterprise bool `json:"verboseEnterprise,omitempty"` // How verbal should the response be VerbosePolicy bool `json:"verbosePolicy,omitempty"` // verbose realm VerboseRealm bool `json:"verboseRealm,omitempty"` // verbose simple user VerboseSimpleUser bool `json:"verboseSimpleUser,omitempty"` }
AAAFrontendLoginWithPasswordRequest Login request
User either a combination of (username, realm) or (usernameAtRealm) to specify login details ¶
swagger:model AAA_Frontend_LoginWithPasswordRequest
func (*AAAFrontendLoginWithPasswordRequest) ContextValidate ¶ added in v2.3.0
func (m *AAAFrontendLoginWithPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend login with password request based on context it is used
func (*AAAFrontendLoginWithPasswordRequest) MarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLoginWithPasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginWithPasswordRequest) UnmarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLoginWithPasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLogoutRequest ¶ added in v2.3.0
type AAAFrontendLogoutRequest interface{}
AAAFrontendLogoutRequest a a a frontend logout request
swagger:model AAA_Frontend_LogoutRequest
type AAAFrontendLogoutResponse ¶ added in v2.3.0
type AAAFrontendLogoutResponse struct { // cause Cause *AAAFrontendLogoutResponseCause `json:"cause,omitempty"` // token Token *Token64 `json:"token,omitempty"` }
AAAFrontendLogoutResponse a a a frontend logout response
swagger:model AAA_Frontend_LogoutResponse
func (*AAAFrontendLogoutResponse) ContextValidate ¶ added in v2.3.0
func (m *AAAFrontendLogoutResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a frontend logout response based on the context it is used
func (*AAAFrontendLogoutResponse) MarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLogoutResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLogoutResponse) UnmarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendLogoutResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLogoutResponseCause ¶ added in v2.3.0
type AAAFrontendLogoutResponseCause string
AAAFrontendLogoutResponseCause a a a frontend logout response cause
swagger:model AAA_Frontend_LogoutResponseCause
const ( // AAAFrontendLogoutResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED" AAAFrontendLogoutResponseCauseUNSPECIFIED AAAFrontendLogoutResponseCause = "UNSPECIFIED" // AAAFrontendLogoutResponseCauseOK captures enum value "OK" AAAFrontendLogoutResponseCauseOK AAAFrontendLogoutResponseCause = "OK" // AAAFrontendLogoutResponseCauseFAILED captures enum value "FAILED" AAAFrontendLogoutResponseCauseFAILED AAAFrontendLogoutResponseCause = "FAILED" )
func NewAAAFrontendLogoutResponseCause ¶ added in v2.3.0
func NewAAAFrontendLogoutResponseCause(value AAAFrontendLogoutResponseCause) *AAAFrontendLogoutResponseCause
func (AAAFrontendLogoutResponseCause) ContextValidate ¶ added in v2.3.0
func (m AAAFrontendLogoutResponseCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend logout response cause based on context it is used
func (AAAFrontendLogoutResponseCause) Pointer ¶ added in v2.3.0
func (m AAAFrontendLogoutResponseCause) Pointer() *AAAFrontendLogoutResponseCause
Pointer returns a pointer to a freshly-allocated AAAFrontendLogoutResponseCause.
type AAAFrontendOAUTHCallbackRequest ¶ added in v2.3.0
type AAAFrontendOAUTHCallbackRequest struct { // code Code string `json:"code,omitempty"` // state State string `json:"state,omitempty"` }
AAAFrontendOAUTHCallbackRequest a a a frontend o a u t h callback request
swagger:model AAA_Frontend_OAUTHCallbackRequest
func (*AAAFrontendOAUTHCallbackRequest) ContextValidate ¶ added in v2.3.0
func (m *AAAFrontendOAUTHCallbackRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend o a u t h callback request based on context it is used
func (*AAAFrontendOAUTHCallbackRequest) MarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendOAUTHCallbackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendOAUTHCallbackRequest) UnmarshalBinary ¶ added in v2.3.0
func (m *AAAFrontendOAUTHCallbackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ACL ¶
type ACL struct { // Chain of actions to be taken on matching network traffic Actions []*ACLAction `json:"actions"` // Network traffic matching criteria consistngs of one or more of source IP address, destination IP address, protocol, source port and destination port Matches []*Match `json:"matches"` // Name of the Access Control List Name string `json:"name,omitempty"` }
ACL Acl
swagger:model Acl
func (*ACL) ContextValidate ¶
ContextValidate validate this Acl based on the context it is used
func (*ACL) MarshalBinary ¶
MarshalBinary interface implementation
func (*ACL) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ACLAction ¶
type ACLAction struct { // Not used by ZedUI // // Drop the packet Drop bool `json:"drop,omitempty"` // Limit action on ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limit bool `json:"limit,omitempty"` // only valid if limit flag is set, see below. // Not used by ZedUI // // Value to be used for limit action (Required if limit is true) LimitValue *LimitParams `json:"limitValue,omitempty"` // Rate limit burst in ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limitburst int64 `json:"limitburst,omitempty"` // Rate limit in ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limitrate int64 `json:"limitrate,omitempty"` // Rate limit unit in ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limitunit string `json:"limitunit,omitempty"` // Enable device to app port mapping for incoming ACL rule, implicitly added by ZedUI code // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Portmap bool `json:"portmap,omitempty"` // Device to app port mapping for incoming ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Portmapto *MapParams `json:"portmapto,omitempty"` }
ACLAction Acl action
swagger:model AclAction
func (*ACLAction) ContextValidate ¶
ContextValidate validate this Acl action based on the context it is used
func (*ACLAction) MarshalBinary ¶
MarshalBinary interface implementation
func (*ACLAction) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ActionScope ¶
type ActionScope struct { // Unique id of the type (e.g. projectId in case of project type) ID string `json:"id,omitempty"` // Scope of the action (e.g. project in case certificate expired at project level) Type *ObjectType `json:"type,omitempty"` }
ActionScope action scope
swagger:model ActionScope
func (*ActionScope) ContextValidate ¶
ContextValidate validate this action scope based on the context it is used
func (*ActionScope) MarshalBinary ¶
func (m *ActionScope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActionScope) UnmarshalBinary ¶
func (m *ActionScope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdapterUsage ¶
type AdapterUsage string
AdapterUsage Adapter Usage
- ADAPTER_USAGE_UNSPECIFIED: Adapter unspecified
- ADAPTER_USAGE_MANAGEMENT: Adapter can be used by EVE as well as other Edge applications
- ADAPTER_USAGE_APP_DIRECT: Adapter is directly used by one edge application
- ADAPTER_USAGE_APP_SHARED: Adapter can be shared by different network instances
- ADAPTER_USAGE_DISABLED: Adapter disabled, for future use
swagger:model AdapterUsage
const ( // AdapterUsageADAPTERUSAGEUNSPECIFIED captures enum value "ADAPTER_USAGE_UNSPECIFIED" AdapterUsageADAPTERUSAGEUNSPECIFIED AdapterUsage = "ADAPTER_USAGE_UNSPECIFIED" // AdapterUsageADAPTERUSAGEMANAGEMENT captures enum value "ADAPTER_USAGE_MANAGEMENT" AdapterUsageADAPTERUSAGEMANAGEMENT AdapterUsage = "ADAPTER_USAGE_MANAGEMENT" // AdapterUsageADAPTERUSAGEAPPDIRECT captures enum value "ADAPTER_USAGE_APP_DIRECT" AdapterUsageADAPTERUSAGEAPPDIRECT AdapterUsage = "ADAPTER_USAGE_APP_DIRECT" // AdapterUsageADAPTERUSAGEAPPSHARED captures enum value "ADAPTER_USAGE_APP_SHARED" AdapterUsageADAPTERUSAGEAPPSHARED AdapterUsage = "ADAPTER_USAGE_APP_SHARED" // AdapterUsageADAPTERUSAGEDISABLED captures enum value "ADAPTER_USAGE_DISABLED" AdapterUsageADAPTERUSAGEDISABLED AdapterUsage = "ADAPTER_USAGE_DISABLED" )
func NewAdapterUsage ¶
func NewAdapterUsage(value AdapterUsage) *AdapterUsage
func (AdapterUsage) ContextValidate ¶
ContextValidate validates this adapter usage based on context it is used
func (AdapterUsage) Pointer ¶
func (m AdapterUsage) Pointer() *AdapterUsage
Pointer returns a pointer to a freshly-allocated AdapterUsage.
type AdminState ¶
type AdminState string
AdminState Configured state of an object
- ADMIN_STATE_CREATED: Entity Created in the controller
- ADMIN_STATE_DELETED: Entity Deleted in the controller
- ADMIN_STATE_ACTIVE: Entity Activated in the controller
- ADMIN_STATE_INACTIVE: Entity Deactivated in the controller
- ADMIN_STATE_REGISTERED: Specific to Edge-node - Edge-node Registered with the controller
- ADMIN_STATE_ARCHIVED: Entity Archived in the controller
swagger:model AdminState
const ( // AdminStateADMINSTATEUNSPECIFIED captures enum value "ADMIN_STATE_UNSPECIFIED" AdminStateADMINSTATEUNSPECIFIED AdminState = "ADMIN_STATE_UNSPECIFIED" // ADMINSTATE_CREATED captures enum value "ADMIN_STATE_CREATED" ADMINSTATE_CREATED AdminState = "ADMIN_STATE_CREATED" // AdminStateADMINSTATEDELETED captures enum value "ADMIN_STATE_DELETED" AdminStateADMINSTATEDELETED AdminState = "ADMIN_STATE_DELETED" // ADMINSTATE_ACTIVE captures enum value "ADMIN_STATE_ACTIVE" ADMINSTATE_ACTIVE AdminState = "ADMIN_STATE_ACTIVE" // ADMINSTATE_INACTIVE captures enum value "ADMIN_STATE_INACTIVE" ADMINSTATE_INACTIVE AdminState = "ADMIN_STATE_INACTIVE" // ADMINSTATE_REGISTERED captures enum value "ADMIN_STATE_REGISTERED" ADMINSTATE_REGISTERED AdminState = "ADMIN_STATE_REGISTERED" // AdminStateADMINSTATEARCHIVED captures enum value "ADMIN_STATE_ARCHIVED" AdminStateADMINSTATEARCHIVED AdminState = "ADMIN_STATE_ARCHIVED" )
func NewAdminState ¶
func NewAdminState(value AdminState) *AdminState
func (AdminState) ContextValidate ¶
ContextValidate validates this admin state based on context it is used
func (AdminState) Pointer ¶
func (m AdminState) Pointer() *AdminState
Pointer returns a pointer to a freshly-allocated AdminState.
type AllocationPolicy ¶
type AllocationPolicy string
AllocationPolicy Iot hub allocation policy.
swagger:model AllocationPolicy
const ( // AllocationPolicyALLOCATIONPOLICYUNSPECIFIED captures enum value "ALLOCATION_POLICY_UNSPECIFIED" AllocationPolicyALLOCATIONPOLICYUNSPECIFIED AllocationPolicy = "ALLOCATION_POLICY_UNSPECIFIED" // AllocationPolicyALLOCATIONPOLICYHASHED captures enum value "ALLOCATION_POLICY_HASHED" AllocationPolicyALLOCATIONPOLICYHASHED AllocationPolicy = "ALLOCATION_POLICY_HASHED" // AllocationPolicyALLOCATIONPOLICYGEOLATENCY captures enum value "ALLOCATION_POLICY_GEOLATENCY" AllocationPolicyALLOCATIONPOLICYGEOLATENCY AllocationPolicy = "ALLOCATION_POLICY_GEOLATENCY" // AllocationPolicyALLOCATIONPOLICYSTATIC captures enum value "ALLOCATION_POLICY_STATIC" AllocationPolicyALLOCATIONPOLICYSTATIC AllocationPolicy = "ALLOCATION_POLICY_STATIC" // AllocationPolicyALLOCATIONPOLICYCUSTOM captures enum value "ALLOCATION_POLICY_CUSTOM" AllocationPolicyALLOCATIONPOLICYCUSTOM AllocationPolicy = "ALLOCATION_POLICY_CUSTOM" )
func NewAllocationPolicy ¶
func NewAllocationPolicy(value AllocationPolicy) *AllocationPolicy
func (AllocationPolicy) ContextValidate ¶
ContextValidate validates this allocation policy based on context it is used
func (AllocationPolicy) Pointer ¶
func (m AllocationPolicy) Pointer() *AllocationPolicy
Pointer returns a pointer to a freshly-allocated AllocationPolicy.
type AllowedEnterprise ¶
type AllowedEnterprise struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // role Id RoleID string `json:"roleId,omitempty"` }
AllowedEnterprise allowed enterprise
swagger:model AllowedEnterprise
func (*AllowedEnterprise) ContextValidate ¶
ContextValidate validates this allowed enterprise based on context it is used
func (*AllowedEnterprise) MarshalBinary ¶
func (m *AllowedEnterprise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AllowedEnterprise) UnmarshalBinary ¶
func (m *AllowedEnterprise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppACE ¶
type AppACE struct { // app ACE actions // Required: true Actions []*AppACEAction `json:"actions"` // app ACE id // Required: true ID *int32 `json:"id"` // app ACE match // Required: true Matches []*AppACEMatch `json:"matches"` // User defined name of the app ACE, unique across the enterprise. Once object is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` }
AppACE App ACE detaisn
App ACE Configuration ¶
swagger:model appACE
func (*AppACE) ContextValidate ¶
ContextValidate validate this app a c e based on the context it is used
func (*AppACE) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppACE) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppACEAction ¶
type AppACEAction struct { // ACE drop flag // Required: true Drop *bool `json:"drop"` // ACE limit flag // Required: true Limit *bool `json:"limit"` // ACE limit burst // Required: true Limitburst *int64 `json:"limitburst"` // ACE limit rate // Required: true Limitrate *int64 `json:"limitrate"` // ACE limit unit // Required: true Limitunit *string `json:"limitunit"` // Application map params // Required: true Mapparams *AppMapParams `json:"mapparams"` // application port map flag // Required: true Portmap *bool `json:"portmap"` }
AppACEAction App ACE Action
App ACE actions ¶
swagger:model appACEAction
func (*AppACEAction) ContextValidate ¶
ContextValidate validate this app a c e action based on the context it is used
func (*AppACEAction) MarshalBinary ¶
func (m *AppACEAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppACEAction) UnmarshalBinary ¶
func (m *AppACEAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppACEMatch ¶
type AppACEMatch struct { // Type // Required: true Type *string `json:"type"` // Value // Required: true Value *string `json:"value"` }
AppACEMatch appACEMatch detail
App ACE Match ¶
swagger:model appACEMatch
func (*AppACEMatch) ContextValidate ¶
ContextValidate validates this app a c e match based on context it is used
func (*AppACEMatch) MarshalBinary ¶
func (m *AppACEMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppACEMatch) UnmarshalBinary ¶
func (m *AppACEMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppAccessPolicy ¶
type AppAccessPolicy struct { // app side of edge-view access is allowed or not AllowApp bool `json:"allowApp,omitempty"` }
AppAccessPolicy app access policy
swagger:model AppAccessPolicy
func (*AppAccessPolicy) ContextValidate ¶
ContextValidate validates this app access policy based on context it is used
func (*AppAccessPolicy) MarshalBinary ¶
func (m *AppAccessPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppAccessPolicy) UnmarshalBinary ¶
func (m *AppAccessPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppCategory ¶
type AppCategory string
AppCategory Edge Application Category
- APP_CATEGORY_UNSPECIFIED: Invalid Edge Application Category
- APP_CATEGORY_OPERATING_SYSTEM: Edge operating systems
- APP_CATEGORY_INDUSTRIAL: Connectity solution for industrial protocols
- APP_CATEGORY_EDGE_APPLICATION: Edge application framework featuring composite functions for data ingestion, buffering, analytics and export
- APP_CATEGORY_NETWORKING: Edge networking services (e.g. SD-WAN, NFV)
- APP_CATEGORY_SECURITY: Edge security services (e.g. protocol inspection, firewall)
- APP_CATEGORY_DATA_ANALYTICS: Edge analytics (e.g. AI/ML) and data management (e.g. database, connectors) services
- APP_CATEGORY_CLOUD_APPLICATION: Edge application runtimes, cloud connectivity and general application enablement
- APP_CATEGORY_DEVOPS: Tools for Edge Application CI/CD and performance optimization
- APP_CATEGORY_OTHERS: Miscellaneous functionality
swagger:model AppCategory
const ( // AppCategoryAPPCATEGORYUNSPECIFIED captures enum value "APP_CATEGORY_UNSPECIFIED" AppCategoryAPPCATEGORYUNSPECIFIED AppCategory = "APP_CATEGORY_UNSPECIFIED" // AppCategoryAPPCATEGORYOPERATINGSYSTEM captures enum value "APP_CATEGORY_OPERATING_SYSTEM" AppCategoryAPPCATEGORYOPERATINGSYSTEM AppCategory = "APP_CATEGORY_OPERATING_SYSTEM" // AppCategoryAPPCATEGORYINDUSTRIAL captures enum value "APP_CATEGORY_INDUSTRIAL" AppCategoryAPPCATEGORYINDUSTRIAL AppCategory = "APP_CATEGORY_INDUSTRIAL" // AppCategoryAPPCATEGORYEDGEAPPLICATION captures enum value "APP_CATEGORY_EDGE_APPLICATION" AppCategoryAPPCATEGORYEDGEAPPLICATION AppCategory = "APP_CATEGORY_EDGE_APPLICATION" // AppCategoryAPPCATEGORYNETWORKING captures enum value "APP_CATEGORY_NETWORKING" AppCategoryAPPCATEGORYNETWORKING AppCategory = "APP_CATEGORY_NETWORKING" // AppCategoryAPPCATEGORYSECURITY captures enum value "APP_CATEGORY_SECURITY" AppCategoryAPPCATEGORYSECURITY AppCategory = "APP_CATEGORY_SECURITY" // AppCategoryAPPCATEGORYDATAANALYTICS captures enum value "APP_CATEGORY_DATA_ANALYTICS" AppCategoryAPPCATEGORYDATAANALYTICS AppCategory = "APP_CATEGORY_DATA_ANALYTICS" // AppCategoryAPPCATEGORYCLOUDAPPLICATION captures enum value "APP_CATEGORY_CLOUD_APPLICATION" AppCategoryAPPCATEGORYCLOUDAPPLICATION AppCategory = "APP_CATEGORY_CLOUD_APPLICATION" // AppCategoryAPPCATEGORYDEVOPS captures enum value "APP_CATEGORY_DEVOPS" AppCategoryAPPCATEGORYDEVOPS AppCategory = "APP_CATEGORY_DEVOPS" // AppCategoryAPPCATEGORYOTHERS captures enum value "APP_CATEGORY_OTHERS" AppCategoryAPPCATEGORYOTHERS AppCategory = "APP_CATEGORY_OTHERS" )
func NewAppCategory ¶
func NewAppCategory(value AppCategory) *AppCategory
func (AppCategory) ContextValidate ¶
ContextValidate validates this app category based on context it is used
func (AppCategory) Pointer ¶
func (m AppCategory) Pointer() *AppCategory
Pointer returns a pointer to a freshly-allocated AppCategory.
type AppConfig ¶
type AppConfig struct { // User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppID string `json:"appId,omitempty"` // Current version of the attached bundle AppVersion string `json:"appVersion,omitempty"` // user defined cpus for bundle // Required: true Cpus *int64 `json:"cpus"` // Detailed description of the edge application // Max Length: 256 Description string `json:"description,omitempty"` // user defined drives // Required: true // Read Only: true Drives int64 `json:"drives"` // System defined universally unique Id of the edge application // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // application interfaces Interfaces []*AppInterface `json:"interfaces"` // Manifest data // Required: true ManifestJSON *VMManifest `json:"manifestJSON"` // user defined memory for bundle // Required: true Memory *int64 `json:"memory"` // User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // User provided name part for the auto deployed app NameAppPart string `json:"nameAppPart,omitempty"` // User provided name part for the auto deployed app NameProjectPart string `json:"nameProjectPart,omitempty"` // app naming scheme NamingScheme *AppNamingScheme `json:"namingScheme,omitempty"` // user defined network options // Required: true Networks *int64 `json:"networks"` // origin of object // Required: true OriginType *Origin `json:"originType"` // origin and parent related details ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"` // start delay is the time in seconds EVE should wait after boot before starting the application instance StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"` // user defined storage for bundle Storage int64 `json:"storage,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // User defined title of the edge application. Title can be changed at any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title *string `json:"title"` }
AppConfig Edge application configuration for App policy
Edge application configuration for an App policy defines configuration details of the Edge application to be installed to all Edge node(s) under the App policy.
swagger:model AppConfig
func (*AppConfig) ContextValidate ¶
ContextValidate validate this app config based on the context it is used
func (*AppConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppFilter ¶
type AppFilter struct { // category type of the bundle AppCategory *AppCategory `json:"appCategory,omitempty"` // app type, eg: vm, container, module AppType *AppType `json:"appType,omitempty"` // category types of the bundle Categories []*AppCategory `json:"categories"` // category type of the bundle Category string `json:"category,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // query param : "name-pattern" // // Search * namePattern * in name field to filter records NamePattern string `json:"namePattern,omitempty"` // origin of bundle OriginType *Origin `json:"originType,omitempty"` }
AppFilter app filter
swagger:model AppFilter
func (*AppFilter) ContextValidate ¶
ContextValidate validate this app filter based on the context it is used
func (*AppFilter) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppFilter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppInstConfig ¶
type AppInstConfig struct { // User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ BundleID string `json:"bundleId,omitempty"` // current bundle version BundleVersion int64 `json:"bundleVersion,omitempty"` // user defined cpus for bundle Cpus int64 `json:"cpus,omitempty"` // user defined drives // Read Only: true Drives int64 `json:"drives,omitempty"` // application interfaces Interfaces []*AppInterface `json:"interfaces"` // App Instance logs Logs *AppInstanceLogs `json:"logs,omitempty"` // user defined manifest in JSON format ManifestJSON *VMManifest `json:"manifestJSON,omitempty"` // user defined memory for bundle Memory int64 `json:"memory,omitempty"` // User provided name part for the auto deployed app NameAppPart string `json:"nameAppPart,omitempty"` // User provided name part for the auto deployed app NameProjectPart string `json:"nameProjectPart,omitempty"` // app naming scheme NamingScheme *AppNamingSchemeV2 `json:"namingScheme,omitempty"` // user defined network options Networks int64 `json:"networks,omitempty"` // this flag denotes whether there is latest bundle available in the marketplace or not NewBundleVersionAvailable bool `json:"newBundleVersionAvailable,omitempty"` // origin of object OriginType *Origin `json:"originType,omitempty"` // origin and parent related details ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"` // Remote console flag RemoteConsole bool `json:"remoteConsole,omitempty"` // start delay is the time in seconds EVE should wait after boot before starting the application instance StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"` // user defined storage for bundle Storage int64 `json:"storage,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // virtual machine info Vminfo *VM `json:"vminfo,omitempty"` }
AppInstConfig Edge application detailed configuration
Edge application gets installed/uninstalled to/from edge node(s) and perform specific edge computing tasks. Lifecycle of Edge application (upgrade/restart) on Edge node can be managed and monitored by ZEDEDA Cloud controller through this detailed configuration. Example: {"name":"sample-app","originType":"ORIGIN_LOCAL","title":"Sample Edge Applications"}
swagger:model AppInstConfig
func (*AppInstConfig) ContextValidate ¶
ContextValidate validate this app inst config based on the context it is used
func (*AppInstConfig) MarshalBinary ¶
func (m *AppInstConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstConfig) UnmarshalBinary ¶
func (m *AppInstConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstConfigStatus ¶
type AppInstConfigStatus struct { // storage summary Storage *StorageSummary `json:"Storage,omitempty"` // System generated identifier for the app bundle // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppID string `json:"appId,omitempty"` // User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppName string `json:"appName,omitempty"` // type of app AppType *AppType `json:"appType,omitempty"` // cpu utilization CPUUtilization float64 `json:"cpuUtilization,omitempty"` // System generated identifier for the device // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceID string `json:"deviceId,omitempty"` // User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceName string `json:"deviceName,omitempty"` // System defined universally unique Id of the app instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // app manifest Info ManifestInfo *ManifestInfo `json:"manifestInfo,omitempty"` // memory utilization MemoryUtilization float64 `json:"memoryUtilization,omitempty"` // User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // System generated identifier for the project // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectID string `json:"projectId,omitempty"` // User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectName string `json:"projectName,omitempty"` // operation status RunState *RunState `json:"runState,omitempty"` // storage utilization StorageUtilization float64 `json:"storageUtilization,omitempty"` // Software details SwInfo []*SWInfo `json:"swInfo"` // sotware state SwState *SWState `json:"swState,omitempty"` // Instance version tells which edge app does this instance is running UserDefinedVersion string `json:"userDefinedVersion,omitempty"` }
AppInstConfigStatus App instance config status
appInstConfigStatus stores the summary of the app instance config status
swagger:model appInstConfigStatus
func (*AppInstConfigStatus) ContextValidate ¶
ContextValidate validate this app inst config status based on the context it is used
func (*AppInstConfigStatus) MarshalBinary ¶
func (m *AppInstConfigStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstConfigStatus) UnmarshalBinary ¶
func (m *AppInstConfigStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstConfigStatusList ¶
type AppInstConfigStatusList struct { // app instance status summary List []*AppInstConfigStatus `json:"list"` // cursor next Next *Cursor `json:"next,omitempty"` // app instance summary by application type SummaryByAppType *Summary `json:"summaryByAppType,omitempty"` // app instance status by state SummaryByState *Summary `json:"summaryByState,omitempty"` // total number of records TotalCount int64 `json:"totalCount,omitempty"` }
AppInstConfigStatusList App instance config status list
AppInstConfigStatusList is used for listing the app instance statuses ¶
swagger:model AppInstConfigStatusList
func (*AppInstConfigStatusList) ContextValidate ¶
func (m *AppInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app inst config status list based on the context it is used
func (*AppInstConfigStatusList) MarshalBinary ¶
func (m *AppInstConfigStatusList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstConfigStatusList) UnmarshalBinary ¶
func (m *AppInstConfigStatusList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstFilter ¶
type AppInstFilter struct { // User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppName string `json:"appName,omitempty"` // type of bundle AppType *AppType `json:"appType,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceName string `json:"deviceName,omitempty"` // device name pattern DeviceNamePattern string `json:"deviceNamePattern,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` }
AppInstFilter app inst filter
swagger:model AppInstFilter
func (*AppInstFilter) ContextValidate ¶
ContextValidate validate this app inst filter based on the context it is used
func (*AppInstFilter) MarshalBinary ¶
func (m *AppInstFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstFilter) UnmarshalBinary ¶
func (m *AppInstFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstMemorySummary ¶
type AppInstMemorySummary struct { // AllocatedMB - Total memory allocated to the App Instance. // Normally, AllocatedMB >= UsedMB + AvailableMB // // Total memory allocated for the App instance. AllocatedMB float64 `json:"AllocatedMB,omitempty"` // Available / Free memory in the App AvailableMB float64 `json:"AvailableMB,omitempty"` // Total memory used by the App within allocated memory UsedMB float64 `json:"UsedMB,omitempty"` }
AppInstMemorySummary App Instance Memory Summary
Memory Information for the App Instance.
swagger:model AppInstMemorySummary
func (*AppInstMemorySummary) ContextValidate ¶
ContextValidate validates this app inst memory summary based on context it is used
func (*AppInstMemorySummary) MarshalBinary ¶
func (m *AppInstMemorySummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstMemorySummary) UnmarshalBinary ¶
func (m *AppInstMemorySummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstPolicy ¶
type AppInstPolicy struct { // app instance config for automated deployment AppInstConfig *AppInstConfig `json:"appInstConfig,omitempty"` // all the required metadata for a policy like id, name, different types of tags MetaData *PolicyCommon `json:"metaData,omitempty"` }
AppInstPolicy app inst policy
swagger:model AppInstPolicy
func (*AppInstPolicy) ContextValidate ¶
ContextValidate validate this app inst policy based on the context it is used
func (*AppInstPolicy) MarshalBinary ¶
func (m *AppInstPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstPolicy) UnmarshalBinary ¶
func (m *AppInstPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstStatusFilter ¶
type AppInstStatusFilter struct { // User defined name of the app bundle, unique across the enterprise. Once app bundle is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppName string `json:"appName,omitempty"` // type of app AppType *AppType `json:"appType,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceName string `json:"deviceName,omitempty"` // device name pattern DeviceNamePattern string `json:"deviceNamePattern,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` // aperation status RunState *RunState `json:"runState,omitempty"` // tags Tags map[string]string `json:"tags,omitempty"` }
AppInstStatusFilter app inst status filter
swagger:model AppInstStatusFilter
func (*AppInstStatusFilter) ContextValidate ¶
ContextValidate validate this app inst status filter based on the context it is used
func (*AppInstStatusFilter) MarshalBinary ¶
func (m *AppInstStatusFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstStatusFilter) UnmarshalBinary ¶
func (m *AppInstStatusFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstStatusListMsg ¶
type AppInstStatusListMsg struct { // app instance status summary List []*AppInstStatusSummaryMsg `json:"list"` // cursor next Next *Cursor `json:"next,omitempty"` // app instance summary by application type SummaryByAppType *Summary `json:"summaryByAppType,omitempty"` // app instance status by state SummaryByState *Summary `json:"summaryByState,omitempty"` }
AppInstStatusListMsg App instance status list
AppInstStatusListMsg is used for listing the app instance statuses ¶
swagger:model AppInstStatusListMsg
func (*AppInstStatusListMsg) ContextValidate ¶
ContextValidate validate this app inst status list msg based on the context it is used
func (*AppInstStatusListMsg) MarshalBinary ¶
func (m *AppInstStatusListMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstStatusListMsg) UnmarshalBinary ¶
func (m *AppInstStatusListMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstStatusMsg ¶
type AppInstStatusMsg struct { // SPU details CPU *CPUSummary `json:"Cpu,omitempty"` // Io bundle status list IoStatusList []*IoBundleStatus `json:"IoStatusList"` // memory summary Memory *MemorySummary `json:"Memory,omitempty"` // storage summary Storage *StorageSummary `json:"Storage,omitempty"` // App instance status AdminState *AdminState `json:"adminState,omitempty"` // User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppID string `json:"appId,omitempty"` // app status from third party controller AppStatusFromTPController *AppStatusFromTPController `json:"appStatusFromTPController,omitempty"` // type of app AppType *AppType `json:"appType,omitempty"` // device boot time // Format: date-time BootTime strfmt.DateTime `json:"bootTime,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterId,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceID string `json:"deviceId,omitempty"` // Device error details ErrInfo []*DeviceError `json:"errInfo"` // app instance id ID string `json:"id,omitempty"` // device last update time // Format: date-time LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"` // memory summary MemorySummary *AppInstMemorySummary `json:"memorySummary,omitempty"` // User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // network counter list NetCounterList []*NetworkCounters `json:"netCounterList"` // network status list NetStatusList []*NetworkStatus `json:"netStatusList"` // User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectID string `json:"projectId,omitempty"` // app instance state RunState *RunState `json:"runState,omitempty"` // Software details SwInfo []*SWInfo `json:"swInfo"` // software state SwState *SWState `json:"swState,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // app instance status title Title string `json:"title,omitempty"` // device up time // Format: date-time UpTime strfmt.DateTime `json:"upTime,omitempty"` // list of volume ids attached VolumeRefs []string `json:"volumeRefs"` // Last received counters for zvol metrics ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"` }
AppInstStatusMsg App instance status message
AppInstanceStatusMsg encapsulates the status of an app instance ¶
swagger:model AppInstStatusMsg
func (*AppInstStatusMsg) ContextValidate ¶
ContextValidate validate this app inst status msg based on the context it is used
func (*AppInstStatusMsg) MarshalBinary ¶
func (m *AppInstStatusMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstStatusMsg) UnmarshalBinary ¶
func (m *AppInstStatusMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstStatusSummaryMsg ¶
type AppInstStatusSummaryMsg struct { // cpu summary CPU *CPUSummary `json:"Cpu,omitempty"` // memory summary Memory *MemorySummary `json:"Memory,omitempty"` // storage summary Storage *StorageSummary `json:"Storage,omitempty"` // SPU details AdminState *AdminState `json:"adminState,omitempty"` // User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppID string `json:"appId,omitempty"` // User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppName string `json:"appName,omitempty"` // type of app AppType *AppType `json:"appType,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceID string `json:"deviceId,omitempty"` // User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceName string `json:"deviceName,omitempty"` // System defined universally unique Id of the app instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // memory summary MemorySummary *AppInstMemorySummary `json:"memorySummary,omitempty"` // User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectID string `json:"projectId,omitempty"` // User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ProjectName string `json:"projectName,omitempty"` // operation status RunState *RunState `json:"runState,omitempty"` // Software details SwInfo []*SWInfo `json:"swInfo"` // sotware state SwState *SWState `json:"swState,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // User defined title of the app instance. Title can be changed at any time // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title string `json:"title,omitempty"` }
AppInstStatusSummaryMsg App instance status summary
AppInstStatusSummaryMsg stores the summary of the app instance status ¶
swagger:model AppInstStatusSummaryMsg
func (*AppInstStatusSummaryMsg) ContextValidate ¶
func (m *AppInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app inst status summary msg based on the context it is used
func (*AppInstStatusSummaryMsg) MarshalBinary ¶
func (m *AppInstStatusSummaryMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstStatusSummaryMsg) UnmarshalBinary ¶
func (m *AppInstStatusSummaryMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstance ¶
type AppInstance struct { // app instance activation flag // Required: true Activate *bool `json:"activate"` // User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ AppID *string `json:"appId"` // app policy id AppPolicyID string `json:"appPolicyId,omitempty"` // type of bundle AppType *AppType `json:"appType,omitempty"` // version of bundle app is referring to Bundleversion string `json:"bundleversion,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // holds the static Ip of the app instance CollectStatsIPAddr string `json:"collectStatsIPAddr,omitempty"` // Crypto Key for decrypting user secret information CryptoKey string `json:"cryptoKey,omitempty"` // Application initialization script template in cloud-config format and user specified values CustomConfig *CustomConfig `json:"customConfig,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // Detailed description of the app instance // Max Length: 256 Description string `json:"description,omitempty"` // User defined name of the device name, unique across the enterprise. Once device name is defined, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceID *string `json:"deviceId"` // drive details // Required: true Drives []*Drive `json:"drives"` // user encrypted secrets map EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"` // System defined universally unique Id of the app instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // application interfaces // Required: true Interfaces []*AppInterface `json:"interfaces"` // This field tells whether user secrets has updated or not, especially the cusotom config IsSecretUpdated bool `json:"isSecretUpdated,omitempty"` // App Instance logs Logs *AppInstanceLogs `json:"logs,omitempty"` // app manifest Info ManifestInfo *ManifestInfo `json:"manifestInfo,omitempty"` // User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // project name which the given app instance belong to // Required: true ProjectID *string `json:"projectId"` // Purge counter: ZedCloudOpsCmd Purge *ZedCloudOpsCmd `json:"purge,omitempty"` // Refresh counter: ZedCloudOpsCmd Refresh *ZedCloudOpsCmd `json:"refresh,omitempty"` // Remote console flag RemoteConsole bool `json:"remoteConsole,omitempty"` // Restart counter: ZedCloudOpsCmd Restart *ZedCloudOpsCmd `json:"restart,omitempty"` // app instance object revision details Revision *ObjectRevision `json:"revision,omitempty"` // start delay is the time in seconds EVE should wait after boot before starting the application instance StartDelayInSeconds int32 `json:"startDelayInSeconds,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // User defined title of the app instance. Title can be changed at any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title *string `json:"title"` // Deprecated: Application initiazation script in cloud-config format to be used by cloud-init UserData string `json:"userData,omitempty"` // Instance version tells which edge app does this instance is running UserDefinedVersion string `json:"userDefinedVersion,omitempty"` // virtual machine info Vminfo *VM `json:"vminfo,omitempty"` }
AppInstance App Instance detail
App Instance detail ¶
swagger:model AppInstance
func (*AppInstance) ContextValidate ¶
ContextValidate validate this app instance based on the context it is used
func (*AppInstance) MarshalBinary ¶
func (m *AppInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstance) UnmarshalBinary ¶
func (m *AppInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstanceLogs ¶
type AppInstanceLogs struct { // Flags to enable / disable sending of logs generated by app instance to zedcloud // Required: true Access *bool `json:"access"` }
AppInstanceLogs App Instance Logs configuration
App Instance Logs configuration ¶
swagger:model AppInstanceLogs
func (*AppInstanceLogs) ContextValidate ¶
ContextValidate validates this app instance logs based on context it is used
func (*AppInstanceLogs) MarshalBinary ¶
func (m *AppInstanceLogs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstanceLogs) UnmarshalBinary ¶
func (m *AppInstanceLogs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstanceLogsQueryResponse ¶
type AppInstanceLogsQueryResponse struct { // app instance logs query response List []*AppInstanceLogsQueryResponseItem `json:"list"` // next cursor Next *Cursor `json:"next,omitempty"` // app instance logs query response TotalRecords int64 `json:"totalRecords,omitempty"` }
AppInstanceLogsQueryResponse App instance logs query response
AppInstanceLogsQueryResponse is used as response for querying app instance logs ¶
swagger:model AppInstanceLogsQueryResponse
func (*AppInstanceLogsQueryResponse) ContextValidate ¶
func (m *AppInstanceLogsQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app instance logs query response based on the context it is used
func (*AppInstanceLogsQueryResponse) MarshalBinary ¶
func (m *AppInstanceLogsQueryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstanceLogsQueryResponse) UnmarshalBinary ¶
func (m *AppInstanceLogsQueryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstanceLogsQueryResponseItem ¶
type AppInstanceLogsQueryResponseItem struct { // app instance logs Content string `json:"content,omitempty"` // message Id Msgid string `json:"msgid,omitempty"` // timestamp of query time // Format: date-time Timestamp strfmt.DateTime `json:"timestamp,omitempty"` }
AppInstanceLogsQueryResponseItem App instance query log response
AppInstanceLogsQueryResponseItem is used as the response for querying the logs of app instance ¶
swagger:model AppInstanceLogsQueryResponseItem
func (*AppInstanceLogsQueryResponseItem) ContextValidate ¶
func (m *AppInstanceLogsQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this app instance logs query response item based on context it is used
func (*AppInstanceLogsQueryResponseItem) MarshalBinary ¶
func (m *AppInstanceLogsQueryResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstanceLogsQueryResponseItem) UnmarshalBinary ¶
func (m *AppInstanceLogsQueryResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstanceLogsResponse ¶
type AppInstanceLogsResponse struct { // content Content *AppInstanceLogsQueryResponse `json:"content,omitempty"` // result Result *ZsrvResponse `json:"result,omitempty"` }
AppInstanceLogsResponse app instance logs response
swagger:model AppInstanceLogsResponse
func (*AppInstanceLogsResponse) ContextValidate ¶
func (m *AppInstanceLogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app instance logs response based on the context it is used
func (*AppInstanceLogsResponse) MarshalBinary ¶
func (m *AppInstanceLogsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstanceLogsResponse) UnmarshalBinary ¶
func (m *AppInstanceLogsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstances ¶
type AppInstances struct { // app insatance list response List []*AppInstance `json:"list"` // cursor next Next *Cursor `json:"next,omitempty"` // app instance by summary SummaryByState *Summary `json:"summaryByState,omitempty"` }
AppInstances app instances
swagger:model AppInstances
func (*AppInstances) ContextValidate ¶
ContextValidate validate this app instances based on the context it is used
func (*AppInstances) MarshalBinary ¶
func (m *AppInstances) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstances) UnmarshalBinary ¶
func (m *AppInstances) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInterface ¶
type AppInterface struct { // access port VLAN ID, vlan id of zero will be treated as trunk port and vlan id 1 is implicitly used by linux bridges // Maximum: 4093 // Minimum: 2 AccessVlanID int64 `json:"accessVlanId,omitempty"` // app Acls // Required: true Acls []*AppACE `json:"acls"` // default instance flag DefaultNetInstance bool `json:"defaultNetInstance,omitempty"` // comes from manifest during app create // // direct attach flag // Required: true Directattach *bool `json:"directattach"` // FIXME: Check why is this required // // EID register details // Required: true Eidregister *EIDRegister `json:"eidregister"` // intf Name // Required: true Intfname *string `json:"intfname"` // intforder // Required: true Intforder *int64 `json:"intforder"` // Physical Adapter to be matched for interface assignment. Applicable only when "direct attach" flag is true // Required: true Io *PhyAdapter `json:"io"` // if netname points static DHCP then we need to take // static /32 address here // // IP address // Required: true Ipaddr *string `json:"ipaddr"` // in case of p2v we might want to provide a mac-address. // applicable only in case of DHCP=passthrough // // MAC address // Required: true Macaddr *string `json:"macaddr"` // Network Instance id to be matched for interface assignment. Netinstid string `json:"netinstid,omitempty"` // Network Instance name to be matched for interface assignment. Applicable only when "direct attach" flag is false // Required: true Netinstname *string `json:"netinstname"` // Network Instance tag to be matched for interface assignment. Applicable only when "direct attach" flag is false Netinsttag map[string]string `json:"netinsttag,omitempty"` // network name: will be deprecated in future, use netinstname Netname string `json:"netname,omitempty"` // Private IP flag // Required: true Privateip *bool `json:"privateip"` }
AppInterface App Interface detail
App Interface detail ¶
swagger:model appInterface
func (*AppInterface) ContextValidate ¶
ContextValidate validate this app interface based on the context it is used
func (*AppInterface) MarshalBinary ¶
func (m *AppInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInterface) UnmarshalBinary ¶
func (m *AppInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppMapParams ¶
type AppMapParams struct { // Application port // Required: true Port *int64 `json:"port"` }
AppMapParams App map Params detail
Application map parameters ¶
swagger:model appMapParams
func (*AppMapParams) ContextValidate ¶
ContextValidate validates this app map params based on context it is used
func (*AppMapParams) MarshalBinary ¶
func (m *AppMapParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppMapParams) UnmarshalBinary ¶
func (m *AppMapParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppNamingScheme ¶
type AppNamingScheme string
AppNamingScheme type of name aliasing.
swagger:model AppNamingScheme
const ( // AppNamingSchemeAPPNAMINGSCHEMEUNSPECIFIED captures enum value "APP_NAMING_SCHEME_UNSPECIFIED" AppNamingSchemeAPPNAMINGSCHEMEUNSPECIFIED AppNamingScheme = "APP_NAMING_SCHEME_UNSPECIFIED" // AppNamingSchemeAPPNAMINGSCHEMEDEVICE captures enum value "APP_NAMING_SCHEME_DEVICE" AppNamingSchemeAPPNAMINGSCHEMEDEVICE AppNamingScheme = "APP_NAMING_SCHEME_DEVICE" // AppNamingSchemeAPPNAMINGSCHEMEAPPDEVICE captures enum value "APP_NAMING_SCHEME_APP_DEVICE" AppNamingSchemeAPPNAMINGSCHEMEAPPDEVICE AppNamingScheme = "APP_NAMING_SCHEME_APP_DEVICE" // AppNamingSchemeAPPNAMINGSCHEMEPROJECTDEVICE captures enum value "APP_NAMING_SCHEME_PROJECT_DEVICE" AppNamingSchemeAPPNAMINGSCHEMEPROJECTDEVICE AppNamingScheme = "APP_NAMING_SCHEME_PROJECT_DEVICE" // AppNamingSchemeAPPNAMINGSCHEMEPROJECTAPPDEVICE captures enum value "APP_NAMING_SCHEME_PROJECT_APP_DEVICE" AppNamingSchemeAPPNAMINGSCHEMEPROJECTAPPDEVICE AppNamingScheme = "APP_NAMING_SCHEME_PROJECT_APP_DEVICE" )
func NewAppNamingScheme ¶
func NewAppNamingScheme(value AppNamingScheme) *AppNamingScheme
func (AppNamingScheme) ContextValidate ¶
ContextValidate validates this app naming scheme based on context it is used
func (AppNamingScheme) Pointer ¶
func (m AppNamingScheme) Pointer() *AppNamingScheme
Pointer returns a pointer to a freshly-allocated AppNamingScheme.
type AppNamingSchemeV2 ¶
type AppNamingSchemeV2 string
AppNamingSchemeV2 type of name aliasing.
swagger:model AppNamingSchemeV2
const ( // AppNamingSchemeV2APPNAMINGSCHEMEV2UNSPECIFIED captures enum value "APP_NAMING_SCHEMEV2_UNSPECIFIED" AppNamingSchemeV2APPNAMINGSCHEMEV2UNSPECIFIED AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_UNSPECIFIED" // AppNamingSchemeV2APPNAMINGSCHEMEV2DEVICE captures enum value "APP_NAMING_SCHEMEV2_DEVICE" AppNamingSchemeV2APPNAMINGSCHEMEV2DEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_DEVICE" // AppNamingSchemeV2APPNAMINGSCHEMEV2APPDEVICE captures enum value "APP_NAMING_SCHEMEV2_APP_DEVICE" AppNamingSchemeV2APPNAMINGSCHEMEV2APPDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_APP_DEVICE" // AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTDEVICE captures enum value "APP_NAMING_SCHEMEV2_PROJECT_DEVICE" AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_PROJECT_DEVICE" // AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTAPPDEVICE captures enum value "APP_NAMING_SCHEMEV2_PROJECT_APP_DEVICE" AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTAPPDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_PROJECT_APP_DEVICE" )
func NewAppNamingSchemeV2 ¶
func NewAppNamingSchemeV2(value AppNamingSchemeV2) *AppNamingSchemeV2
func (AppNamingSchemeV2) ContextValidate ¶
ContextValidate validates this app naming scheme v2 based on context it is used
func (AppNamingSchemeV2) Pointer ¶
func (m AppNamingSchemeV2) Pointer() *AppNamingSchemeV2
Pointer returns a pointer to a freshly-allocated AppNamingSchemeV2.
type AppPolicy ¶
type AppPolicy struct { // list of app details that will be provisioned on all the devices of the project to which this policy is attached // Required: true Apps []*AppConfig `json:"apps"` }
AppPolicy App policy body detail
list of apps that will be provisioned on all the devices of the project to which this policy is attached
swagger:model AppPolicy
func (*AppPolicy) ContextValidate ¶
ContextValidate validate this app policy based on the context it is used
func (*AppPolicy) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppPolicy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppProjectList ¶
type AppProjectList struct { // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // List of projects which are associated with the given app ProjectDetails []*ObjectDetail `json:"projectDetails"` // total number of records TotalCount int64 `json:"totalCount,omitempty"` }
AppProjectList app project list
swagger:model AppProjectList
func (*AppProjectList) ContextValidate ¶
ContextValidate validate this app project list based on the context it is used
func (*AppProjectList) MarshalBinary ¶
func (m *AppProjectList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppProjectList) UnmarshalBinary ¶
func (m *AppProjectList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppStatusFromTPController ¶
type AppStatusFromTPController struct { // app Id AppID string `json:"appId,omitempty"` // app name AppName string `json:"appName,omitempty"` // azure status AzureStatus *AzureStatus `json:"azureStatus,omitempty"` // enterprise Id EnterpriseID string `json:"enterpriseId,omitempty"` // eve device Id EveDeviceID string `json:"eveDeviceId,omitempty"` // type Type *ControllerType `json:"type,omitempty"` // vce status VceStatus *VCEStatus `json:"vceStatus,omitempty"` }
AppStatusFromTPController app status from t p controller
swagger:model AppStatusFromTPController
func (*AppStatusFromTPController) ContextValidate ¶
func (m *AppStatusFromTPController) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app status from t p controller based on the context it is used
func (*AppStatusFromTPController) MarshalBinary ¶
func (m *AppStatusFromTPController) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppStatusFromTPController) UnmarshalBinary ¶
func (m *AppStatusFromTPController) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppSummary ¶
type AppSummary struct { // App instance count AppInstCount int32 `json:"appInstCount,omitempty"` // user defined cpus for bundle Cpus int64 `json:"cpus,omitempty"` // Detailed description of the edge application // Max Length: 256 Description string `json:"description,omitempty"` // user defined drives // Read Only: true Drives int64 `json:"drives,omitempty"` // System defined universally unique Id of the edge application // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // Flag to represent where app bundle is already imported IsImported bool `json:"isImported,omitempty"` // manifest JSON ManifestJSON *VMManifestSummary `json:"manifestJSON,omitempty"` // user defined memory for bundle Memory int64 `json:"memory,omitempty"` // User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // user defined network options Networks int64 `json:"networks,omitempty"` // origin of object // Required: true OriginType *Origin `json:"originType"` // origin and parent related details ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"` // user defined storage for bundle Storage int64 `json:"storage,omitempty"` // User defined title of the edge application. Title can be changed at any time // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title string `json:"title,omitempty"` // User defined version for the given edge-app UserDefinedVersion string `json:"userDefinedVersion,omitempty"` }
AppSummary Bundle summary
Edge application summary Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}
swagger:model AppSummary
func (*AppSummary) ContextValidate ¶
ContextValidate validate this app summary based on the context it is used
func (*AppSummary) MarshalBinary ¶
func (m *AppSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppSummary) UnmarshalBinary ¶
func (m *AppSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppType ¶
type AppType string
AppType type of app bundle.
swagger:model AppType
const ( // AppTypeAPPTYPEUNSPECIFIED captures enum value "APP_TYPE_UNSPECIFIED" AppTypeAPPTYPEUNSPECIFIED AppType = "APP_TYPE_UNSPECIFIED" // AppTypeAPPTYPEVM captures enum value "APP_TYPE_VM" AppTypeAPPTYPEVM AppType = "APP_TYPE_VM" // AppTypeAPPTYPEVMRUNTIME captures enum value "APP_TYPE_VM_RUNTIME" AppTypeAPPTYPEVMRUNTIME AppType = "APP_TYPE_VM_RUNTIME" // AppTypeAPPTYPECONTAINER captures enum value "APP_TYPE_CONTAINER" AppTypeAPPTYPECONTAINER AppType = "APP_TYPE_CONTAINER" // AppTypeAPPTYPEMODULE captures enum value "APP_TYPE_MODULE" AppTypeAPPTYPEMODULE AppType = "APP_TYPE_MODULE" )
func NewAppType ¶
func (AppType) ContextValidate ¶
ContextValidate validates this app type based on context it is used
type Application ¶
type Application struct { // user defined cpus for bundle Cpus int64 `json:"cpus,omitempty"` // Detailed description of the edge application // Max Length: 256 Description string `json:"description,omitempty"` // user defined drives // Read Only: true Drives int64 `json:"drives,omitempty"` // System defined universally unique Id of the edge application // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // Flag to represent where app bundle is already imported IsImported bool `json:"isImported,omitempty"` // user defined manifest in JSON format Manifest *VMManifest `json:"manifestJSON,omitempty"` // user defined memory for bundle Memory int64 `json:"memory,omitempty"` // User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // user defined network options Networks int64 `json:"networks,omitempty"` // origin of object // Required: true OriginType *Origin `json:"originType"` // origin and parent related details ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"` // project access list of the app bundle ProjectAccessList []string `json:"projectAccessList"` // system defined info Revision *ObjectRevision `json:"revision,omitempty"` // user defined storage for bundle Storage int64 `json:"storage,omitempty"` // User defined title of the edge application. Title can be changed at any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title *string `json:"title"` // User defined version for the given edge-app UserDefinedVersion string `json:"userDefinedVersion,omitempty"` }
Application Edge application detailed configuration
Edge application gets installed/uninstalled to/from edge node(s) and perform specific edge computing tasks. Lifecycle of Edge application (upgrade/restart) on Edge node can be managed and monitored by ZEDEDA Cloud controller through this detailed configuration. Example: {"name":"sample-app","originType":"ORIGIN_LOCAL","title":"Sample Edge Applications"}
swagger:model Application
func (*Application) ContextValidate ¶
ContextValidate validate this app based on the context it is used
func (*Application) MarshalBinary ¶
func (m *Application) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Application) UnmarshalBinary ¶
func (m *Application) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Apps ¶
type Apps struct { // edge application summary list List []*AppSummary `json:"list"` // cursor next Next *Cursor `json:"next,omitempty"` // app distribution summary SummaryByAppInstanceDistribution *Summary `json:"summaryByAppInstanceDistribution,omitempty"` // edge applications by appType SummaryByAppType *Summary `json:"summaryByAppType,omitempty"` // edge applications by category SummaryByCategory *Summary `json:"summaryByCategory,omitempty"` // edge applications by origin SummaryByOrigin *Summary `json:"summaryByOrigin,omitempty"` }
Apps apps
swagger:model Apps
func (*Apps) ContextValidate ¶
ContextValidate validate this apps based on the context it is used
func (*Apps) MarshalBinary ¶
MarshalBinary interface implementation
func (*Apps) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AttestPolicyType ¶
type AttestPolicyType string
AttestPolicyType - ATTEST_POLICY_TYPE_ACCEPT: Do not enforce attestation. All devices are marked as successfully attested.
- ATTEST_POLICY_TYPE_ENFORCE: Enforce attestation. Devices failing attestation are marked accordingly.
swagger:model AttestPolicyType
const ( // AttestPolicyTypeATTESTPOLICYTYPEUNSPECIFIED captures enum value "ATTEST_POLICY_TYPE_UNSPECIFIED" AttestPolicyTypeATTESTPOLICYTYPEUNSPECIFIED AttestPolicyType = "ATTEST_POLICY_TYPE_UNSPECIFIED" // AttestPolicyTypeATTESTPOLICYTYPEACCEPT captures enum value "ATTEST_POLICY_TYPE_ACCEPT" AttestPolicyTypeATTESTPOLICYTYPEACCEPT AttestPolicyType = "ATTEST_POLICY_TYPE_ACCEPT" // AttestPolicyTypeATTESTPOLICYTYPEENFORCE captures enum value "ATTEST_POLICY_TYPE_ENFORCE" AttestPolicyTypeATTESTPOLICYTYPEENFORCE AttestPolicyType = "ATTEST_POLICY_TYPE_ENFORCE" )
func NewAttestPolicyType ¶
func NewAttestPolicyType(value AttestPolicyType) *AttestPolicyType
func (AttestPolicyType) ContextValidate ¶
ContextValidate validates this attest policy type based on context it is used
func (AttestPolicyType) Pointer ¶
func (m AttestPolicyType) Pointer() *AttestPolicyType
Pointer returns a pointer to a freshly-allocated AttestPolicyType.
type AttestState ¶
type AttestState string
AttestState attest state
swagger:model AttestState
const ( // AttestStateATTESTSTATEUNSPECIFIED captures enum value "ATTEST_STATE_UNSPECIFIED" AttestStateATTESTSTATEUNSPECIFIED AttestState = "ATTEST_STATE_UNSPECIFIED" // AttestStateATTESTSTATENONE captures enum value "ATTEST_STATE_NONE" AttestStateATTESTSTATENONE AttestState = "ATTEST_STATE_NONE" // AttestStateATTESTSTATEFAIL captures enum value "ATTEST_STATE_FAIL" AttestStateATTESTSTATEFAIL AttestState = "ATTEST_STATE_FAIL" // AttestStateATTESTSTATEPASS captures enum value "ATTEST_STATE_PASS" AttestStateATTESTSTATEPASS AttestState = "ATTEST_STATE_PASS" // AttestStateATTESTSTATEPASSNOPCR captures enum value "ATTEST_STATE_PASS_NO_PCR" AttestStateATTESTSTATEPASSNOPCR AttestState = "ATTEST_STATE_PASS_NO_PCR" // AttestStateATTESTSTATEFAILNOPCR captures enum value "ATTEST_STATE_FAIL_NO_PCR" AttestStateATTESTSTATEFAILNOPCR AttestState = "ATTEST_STATE_FAIL_NO_PCR" )
func NewAttestState ¶
func NewAttestState(value AttestState) *AttestState
func (AttestState) ContextValidate ¶
ContextValidate validates this attest state based on context it is used
func (AttestState) Pointer ¶
func (m AttestState) Pointer() *AttestState
Pointer returns a pointer to a freshly-allocated AttestState.
type AttestationPolicy ¶
type AttestationPolicy struct { // unique policy id // Read Only: true // Pattern: [0-9-a-z-]+ ID string `json:"id,omitempty"` // Attestation policy type // Required: true Type *AttestPolicyType `json:"type"` }
AttestationPolicy Attestation policy body detail
Attestation policy to enforce on all devices of the project ¶
swagger:model AttestationPolicy
func (*AttestationPolicy) ContextValidate ¶
ContextValidate validate this attestation policy based on the context it is used
func (*AttestationPolicy) MarshalBinary ¶
func (m *AttestationPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AttestationPolicy) UnmarshalBinary ¶
func (m *AttestationPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthProfileType ¶ added in v2.3.0
type AuthProfileType string
AuthProfileType auth profile type
swagger:model AuthProfileType
const ( // AuthProfileTypeAUTHPROFILETYPEUNSPECIFIED captures enum value "AUTH_PROFILE_TYPE_UNSPECIFIED" AuthProfileTypeAUTHPROFILETYPEUNSPECIFIED AuthProfileType = "AUTH_PROFILE_TYPE_UNSPECIFIED" // AuthProfileTypeAUTHPROFILETYPEOAUTHAZUREAD captures enum value "AUTH_PROFILE_TYPE_OAUTH_AZURE_AD" AuthProfileTypeAUTHPROFILETYPEOAUTHAZUREAD AuthProfileType = "AUTH_PROFILE_TYPE_OAUTH_AZURE_AD" // AuthProfileTypeAUTHPROFILETYPEOAUTHGOOGLE captures enum value "AUTH_PROFILE_TYPE_OAUTH_GOOGLE" AuthProfileTypeAUTHPROFILETYPEOAUTHGOOGLE AuthProfileType = "AUTH_PROFILE_TYPE_OAUTH_GOOGLE" // AuthProfileTypeAUTHPROFILETYPEOAUTHCUSTOM captures enum value "AUTH_PROFILE_TYPE_OAUTH_CUSTOM" AuthProfileTypeAUTHPROFILETYPEOAUTHCUSTOM AuthProfileType = "AUTH_PROFILE_TYPE_OAUTH_CUSTOM" // AuthProfileTypeAUTHPROFILETYPELOCAL captures enum value "AUTH_PROFILE_TYPE_LOCAL" AuthProfileTypeAUTHPROFILETYPELOCAL AuthProfileType = "AUTH_PROFILE_TYPE_LOCAL" )
func NewAuthProfileType ¶ added in v2.3.0
func NewAuthProfileType(value AuthProfileType) *AuthProfileType
func (AuthProfileType) ContextValidate ¶ added in v2.3.0
ContextValidate validates this auth profile type based on context it is used
func (AuthProfileType) Pointer ¶ added in v2.3.0
func (m AuthProfileType) Pointer() *AuthProfileType
Pointer returns a pointer to a freshly-allocated AuthProfileType.
type AuthType ¶
type AuthType string
AuthType auth type
swagger:model AuthType
const ( // AuthTypeAUTHTYPEUNSPECIFIED captures enum value "AUTH_TYPE_UNSPECIFIED" AuthTypeAUTHTYPEUNSPECIFIED AuthType = "AUTH_TYPE_UNSPECIFIED" // AuthTypeAUTHTYPELOCAL captures enum value "AUTH_TYPE_LOCAL" AuthTypeAUTHTYPELOCAL AuthType = "AUTH_TYPE_LOCAL" // AuthTypeAUTHTYPEOAUTH captures enum value "AUTH_TYPE_OAUTH" AuthTypeAUTHTYPEOAUTH AuthType = "AUTH_TYPE_OAUTH" // AuthTypeAUTHTYPESAML captures enum value "AUTH_TYPE_SAML" AuthTypeAUTHTYPESAML AuthType = "AUTH_TYPE_SAML" )
func NewAuthType ¶
func (AuthType) ContextValidate ¶
ContextValidate validates this auth type based on context it is used
type Author ¶
type Author struct { // Company of the developer // // UI map: AppEditPage:IdentityPane:Category_Field, AppDetailsPage:IdentityPane:Category_Field Company string `json:"company,omitempty"` // Contact email of the developer company // // UI map: AppEditPage:DeveloperPane:Email_Field, AppDetailsPage:DeveloperPane:Email_Field Email string `json:"email,omitempty"` // Not used by ZedUI Group string `json:"group,omitempty"` // Name of the developer // // UI map: AppEditPage:DeveloperPane:Name_Field, AppDetailsPage:DeveloperPane:Name_Field User string `json:"user,omitempty"` // Website of the developer company // // UI map: AppEditPage:DeveloperPane:Website_Field, AppDetailsPage:DeveloperPane:Website_Field Website string `json:"website,omitempty"` }
Author author
swagger:model Author
func (*Author) ContextValidate ¶
ContextValidate validates this author based on context it is used
func (*Author) MarshalBinary ¶
MarshalBinary interface implementation
func (*Author) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuthorizationProfile ¶ added in v2.3.0
type AuthorizationProfile struct { // Mark this profile as active. Only one profile can be active in a given enterprise Active bool `json:"active,omitempty"` // Default Role ID to associate with the profile // Required: true // Pattern: [0-9A-Za-z_=-]{28} DefaultRoleID *string `json:"defaultRoleId"` // Detailed description of the profile // Max Length: 256 Description string `json:"description,omitempty"` // Do not automatically create new users if this is set DisableAutoUserCreate bool `json:"disableAutoUserCreate,omitempty"` // Parent enterprise ID of the authorization profile // Pattern: [0-9A-Za-z_=-]{28} EnterpriseID string `json:"enterpriseId,omitempty"` // Unique system defined profile ID // Read Only: true // Pattern: [0-9A-Za-z_=-]{28} ID string `json:"id,omitempty"` // User defined name of the profile. Profile name is unique within an enterprise. Name can't be changed once created // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // Oauth profile configuration details OauthProfile *OAUTHProfile `json:"oauthProfile,omitempty"` // password profile PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"` // Authorization profile type ProfileType *AuthProfileType `json:"profileType,omitempty"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // test only TestOnly bool `json:"testOnly,omitempty"` // User defined title for the profile. Title can be changed anytime // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Type of the profile Type *AuthType `json:"type,omitempty"` }
AuthorizationProfile Authorization profile detail
Authorization profile meta data ¶
swagger:model AuthorizationProfile
func (*AuthorizationProfile) ContextValidate ¶ added in v2.3.0
ContextValidate validate this authorization profile based on the context it is used
func (*AuthorizationProfile) MarshalBinary ¶ added in v2.3.0
func (m *AuthorizationProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthorizationProfile) UnmarshalBinary ¶ added in v2.3.0
func (m *AuthorizationProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureDevStatusDetail ¶
type AzureDevStatusDetail struct { // a state AState string `json:"aState,omitempty"` // connection state updated time ConnectionStateUpdatedTime string `json:"connectionStateUpdatedTime,omitempty"` // last activity time LastActivityTime string `json:"lastActivityTime,omitempty"` // o state OState string `json:"oState,omitempty"` // status update time StatusUpdateTime string `json:"statusUpdateTime,omitempty"` // twin Twin *TwinDetail `json:"twin,omitempty"` }
AzureDevStatusDetail azure dev status detail
swagger:model AzureDevStatusDetail
func (*AzureDevStatusDetail) ContextValidate ¶
ContextValidate validate this azure dev status detail based on the context it is used
func (*AzureDevStatusDetail) MarshalBinary ¶
func (m *AzureDevStatusDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureDevStatusDetail) UnmarshalBinary ¶
func (m *AzureDevStatusDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzurePolicy ¶
type AzurePolicy struct { // app id for rbac // Required: true AppID *string `json:"appId"` // app password for rbac // Required: true AppPassword *string `json:"appPassword"` // azure resource and service the policy will be interested in AzureResourceAndServices *AzureResourceAndServices `json:"azureResourceAndServices,omitempty"` // Certificate object holds the details of certificate like encryption type, validity, subject etc Certificate *Certificate `json:"certificate,omitempty"` // key to decrypt AppPassword CryptoKey string `json:"cryptoKey,omitempty"` // custom deployment managed CustomDeploymentManaged bool `json:"customDeploymentManaged,omitempty"` // encrypted AppPassword EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"` // tenant id for rbac // Required: true TenantID *string `json:"tenantId"` }
AzurePolicy Azure policy body detail
All azure policy related details that are required to provision an iot edge device and deploy a module on that.
swagger:model AzurePolicy
func (*AzurePolicy) ContextValidate ¶
ContextValidate validate this azure policy based on the context it is used
func (*AzurePolicy) MarshalBinary ¶
func (m *AzurePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzurePolicy) UnmarshalBinary ¶
func (m *AzurePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureResourceAndServiceDetail ¶
type AzureResourceAndServiceDetail struct { // s k u SKU *SKUDetail `json:"SKU,omitempty"` // create by default CreateByDefault bool `json:"createByDefault,omitempty"` // name Name string `json:"name,omitempty"` // region Region string `json:"region,omitempty"` // resource group name ResourceGroupName string `json:"resourceGroupName,omitempty"` // subscription Id SubscriptionID string `json:"subscriptionId,omitempty"` }
AzureResourceAndServiceDetail azure resource and service detail
swagger:model AzureResourceAndServiceDetail
func (*AzureResourceAndServiceDetail) ContextValidate ¶
func (m *AzureResourceAndServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this azure resource and service detail based on the context it is used
func (*AzureResourceAndServiceDetail) MarshalBinary ¶
func (m *AzureResourceAndServiceDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureResourceAndServiceDetail) UnmarshalBinary ¶
func (m *AzureResourceAndServiceDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureResourceAndServices ¶
type AzureResourceAndServices struct { // dps service attached to cloud policy // Required: true DpsService *DPSServiceDetail `json:"dpsService"` // list of iothubs attached to cloud policy // Required: true IotHubService []*IotHubServiceDetail `json:"iotHubService"` // list of resource groups attached to cloud policy // Required: true ResourceGroup []*ResourceGroupDetail `json:"resourceGroup"` }
AzureResourceAndServices Azure resource payload detail for cloud policy
Azure resource request paylod for cloud policy ¶
swagger:model AzureResourceAndServices
func (*AzureResourceAndServices) ContextValidate ¶
func (m *AzureResourceAndServices) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this azure resource and services based on the context it is used
func (*AzureResourceAndServices) MarshalBinary ¶
func (m *AzureResourceAndServices) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureResourceAndServices) UnmarshalBinary ¶
func (m *AzureResourceAndServices) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureStatus ¶
type AzureStatus struct { // azure dev status AzureDevStatus *AzureDevStatusDetail `json:"azureDevStatus,omitempty"` }
AzureStatus status of device from azure.
swagger:model AzureStatus
func (*AzureStatus) ContextValidate ¶
ContextValidate validate this azure status based on the context it is used
func (*AzureStatus) MarshalBinary ¶
func (m *AzureStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureStatus) UnmarshalBinary ¶
func (m *AzureStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BaseOSImage ¶
type BaseOSImage struct { // activation flag // Required: true Activate *bool `json:"activate"` // image name // Required: true ImageName *string `json:"imageName"` // immutable Volume for this base image ImvolID string `json:"imvolId,omitempty"` // system generated unique id for an image // Required: true UUID *string `json:"uuid"` // image version // Required: true Version *string `json:"version"` }
BaseOSImage Base OS image payload detail
Base OS image request details ¶
swagger:model BaseOSImage
func (*BaseOSImage) ContextValidate ¶
ContextValidate validates this base o s image based on context it is used
func (*BaseOSImage) MarshalBinary ¶
func (m *BaseOSImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BaseOSImage) UnmarshalBinary ¶
func (m *BaseOSImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BinaryArtifact ¶
type BinaryArtifact struct { // optional - any arbitrary metadata about/for artifact encoded to base64 string ArtifactMetaData string `json:"artifactMetaData,omitempty"` // base64 artifact Base64Artifact *InlineOpaqueBase64Data `json:"base64Artifact,omitempty"` // binary artifact BinaryArtifact *ExternalOpaqueBinaryBlob `json:"binaryArtifact,omitempty"` // base64 or binary blob only - secret type is invalid Format *OpaqueObjectCategory `json:"format,omitempty"` // artifact id // // System defined universally unique Id of the artifact. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` }
BinaryArtifact binary artifact
swagger:model BinaryArtifact
func (*BinaryArtifact) ContextValidate ¶
ContextValidate validate this binary artifact based on the context it is used
func (*BinaryArtifact) MarshalBinary ¶
func (m *BinaryArtifact) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BinaryArtifact) UnmarshalBinary ¶
func (m *BinaryArtifact) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlobInfo ¶
type BlobInfo struct { // state State *SWState `json:"State,omitempty"` // err info ErrInfo *DeviceError `json:"errInfo,omitempty"` // progress percentage ProgressPercentage int64 `json:"progressPercentage,omitempty"` // resource Resource *VolInstResource `json:"resource,omitempty"` // sha256 Sha256 string `json:"sha256,omitempty"` // usage Usage *DeviceObjectUsageInfo `json:"usage,omitempty"` }
BlobInfo blob info
swagger:model BlobInfo
func (*BlobInfo) ContextValidate ¶
ContextValidate validate this blob info based on the context it is used
func (*BlobInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*BlobInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BlobStatus ¶
type BlobStatus struct { // hash Hash string `json:"hash,omitempty"` // ref count RefCount string `json:"refCount,omitempty"` // size m b SizeMB string `json:"sizeMB,omitempty"` // sw state SwState *SWState `json:"swState,omitempty"` }
BlobStatus blob status
swagger:model BlobStatus
func (*BlobStatus) ContextValidate ¶
ContextValidate validate this blob status based on the context it is used
func (*BlobStatus) MarshalBinary ¶
func (m *BlobStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlobStatus) UnmarshalBinary ¶
func (m *BlobStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CPUSummary ¶
type CPUSummary struct { // CPU Utilization Utilization float64 `json:"Utilization,omitempty"` }
CPUSummary CPU Summary
CPU Summary ¶
swagger:model CpuSummary
func (*CPUSummary) ContextValidate ¶
ContextValidate validates this Cpu summary based on context it is used
func (*CPUSummary) MarshalBinary ¶
func (m *CPUSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CPUSummary) UnmarshalBinary ¶
func (m *CPUSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Capabilities ¶
type Capabilities struct { // VMX/SVM for amd64 or Arm virtualization extensions for arm64 HWAssistedVirtualization bool `json:"HWAssistedVirtualization,omitempty"` // I/O Virtualization support IOVirtualization bool `json:"IOVirtualization,omitempty"` }
Capabilities capabilities
swagger:model Capabilities
func (*Capabilities) ContextValidate ¶
ContextValidate validates this capabilities based on context it is used
func (*Capabilities) MarshalBinary ¶
func (m *Capabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Capabilities) UnmarshalBinary ¶
func (m *Capabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cellular ¶
type Cellular struct { // a p n APN string `json:"APN,omitempty"` // location tracking LocationTracking bool `json:"locationTracking,omitempty"` }
Cellular net cellular config
swagger:model Cellular
func (*Cellular) ContextValidate ¶
ContextValidate validates this net cellular config based on context it is used
func (*Cellular) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cellular) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CellularStatus ¶ added in v2.3.0
type CellularStatus struct { // Modem detail Modem *ModemDetail `json:"modem,omitempty"` // List of network providers Providers []*NetworkProvider `json:"providers"` // List of SIM Cards SimCards []*SIMCard `json:"simCards"` }
CellularStatus CellularStatus contains status information for a single cellular network
CellularStatus contains status information for a single cellular network ¶
swagger:model CellularStatus
func (*CellularStatus) ContextValidate ¶ added in v2.3.0
ContextValidate validate this cellular status based on the context it is used
func (*CellularStatus) MarshalBinary ¶ added in v2.3.0
func (m *CellularStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CellularStatus) UnmarshalBinary ¶ added in v2.3.0
func (m *CellularStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Certificate ¶
type Certificate struct { // This fields tells the basic constraints like isCA are correct. BasicContraintsValid bool `json:"basicContraintsValid,omitempty"` // certificate details // // base64 string of the parent certificate Cert string `json:"cert,omitempty"` // Crypto Key for decrypting user secret information CryptoKey string `json:"cryptoKey,omitempty"` // ECDSA encryption algorithm of the certificate EcdsaEncryption *ECDSA `json:"ecdsaEncryption,omitempty"` // secrets encryption // // user encrypted secrets map EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"` // Indicates if the private key can be exported. Exportable bool `json:"exportable,omitempty"` // Sequence of extended key usages. ExtendedKeyUsage []string `json:"extendedKeyUsage"` // Parameters for the issuer of the X509 component of a certificate. Issuer *Subject `json:"issuer,omitempty"` // Key usage extensions define the purpose of the public key contained in a certificate. KeyUsage int32 `json:"keyUsage,omitempty"` // pass phase for the pvt key, this has to be filled if pvt key is encrypted with a pass phrase PassPhrase string `json:"passPhrase,omitempty"` // base63 string of the public key PublicKey string `json:"publicKey,omitempty"` // encryption algorithm // // Public key algorithm. PublicKeyAlgorithm string `json:"publicKeyAlgorithm,omitempty"` // base64 string of the parent pvt key PvtKey string `json:"pvtKey,omitempty"` // Indicates if the same key pair will be used on certificate renewal. ReuseKey bool `json:"reuseKey,omitempty"` // RSA encryption algorithm of the certificate RsaEcryption *RSA `json:"rsaEcryption,omitempty"` // Subject alternative name values // // This holds the alternative name values like URIs, domain names IPs etc. SanValues *SANValues `json:"sanValues,omitempty"` // Unique identifier for each Certificate generated by an Certificate Issuer. SerialNumber string `json:"serialNumber,omitempty"` // signature algorithm SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"` // Parameters for the subject of the X509 component of a certificate. Subject *Subject `json:"subject,omitempty"` // certificate validity // // Certificate validatity start time // Format: date-time ValidFrom strfmt.DateTime `json:"validFrom,omitempty"` // Certificate validatity start time // Format: date-time ValidTill strfmt.DateTime `json:"validTill,omitempty"` }
Certificate certificate
swagger:model Certificate
func (*Certificate) ContextValidate ¶
ContextValidate validate this certificate based on the context it is used
func (*Certificate) MarshalBinary ¶
func (m *Certificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Certificate) UnmarshalBinary ¶
func (m *Certificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CertificateChain ¶
type CertificateChain struct { // List of Certificate object holds the details of certificate like cert block, encryption type, validity, subject etc Certificates []*Certificate `json:"certificates"` }
CertificateChain certificate chain
swagger:model CertificateChain
func (*CertificateChain) ContextValidate ¶
ContextValidate validate this certificate chain based on the context it is used
func (*CertificateChain) MarshalBinary ¶
func (m *CertificateChain) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CertificateChain) UnmarshalBinary ¶
func (m *CertificateChain) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CertificateEnrollmentDetail ¶
type CertificateEnrollmentDetail struct { // group certificate enrollment GroupCertificateEnrollment *GroupCertificateEnrollment `json:"groupCertificateEnrollment,omitempty"` // individual certificate enrollment IndividualCertificateEnrollment IndividualCertificateEnrollment `json:"individualCertificateEnrollment,omitempty"` // type Type *EnrollmentType `json:"type,omitempty"` }
CertificateEnrollmentDetail certificate enrollment detail
swagger:model CertificateEnrollmentDetail
func (*CertificateEnrollmentDetail) ContextValidate ¶
func (m *CertificateEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this certificate enrollment detail based on the context it is used
func (*CertificateEnrollmentDetail) MarshalBinary ¶
func (m *CertificateEnrollmentDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CertificateEnrollmentDetail) UnmarshalBinary ¶
func (m *CertificateEnrollmentDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClassificationItem ¶
type ClassificationItem struct { // dest node DestNode string `json:"destNode,omitempty"` // level Level int64 `json:"level,omitempty"` // metric value MetricValue string `json:"metricValue,omitempty"` // source node SourceNode string `json:"sourceNode,omitempty"` }
ClassificationItem classification item
swagger:model ClassificationItem
func (*ClassificationItem) ContextValidate ¶
ContextValidate validates this classification item based on context it is used
func (*ClassificationItem) MarshalBinary ¶
func (m *ClassificationItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClassificationItem) UnmarshalBinary ¶
func (m *ClassificationItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClassificationResponse ¶
type ClassificationResponse struct { // list List []*ClassificationItem `json:"list"` }
ClassificationResponse classification response
swagger:model ClassificationResponse
func (*ClassificationResponse) ContextValidate ¶
func (m *ClassificationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this classification response based on the context it is used
func (*ClassificationResponse) MarshalBinary ¶
func (m *ClassificationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClassificationResponse) UnmarshalBinary ¶
func (m *ClassificationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterConfig ¶
type ClusterConfig struct { // min nodes required MinNodesRequired int64 `json:"minNodesRequired,omitempty"` }
ClusterConfig cluster config
swagger:model ClusterConfig
func (*ClusterConfig) ContextValidate ¶
ContextValidate validates this cluster config based on context it is used
func (*ClusterConfig) MarshalBinary ¶
func (m *ClusterConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterConfig) UnmarshalBinary ¶
func (m *ClusterConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterInstPolicy ¶
type ClusterInstPolicy struct { // Id ID string `json:"Id,omitempty"` // name Name string `json:"Name,omitempty"` // revision Revision *ObjectRevision `json:"revision,omitempty"` // title Title string `json:"title,omitempty"` }
ClusterInstPolicy cluster inst policy
swagger:model ClusterInstPolicy
func (*ClusterInstPolicy) ContextValidate ¶
ContextValidate validate this cluster inst policy based on the context it is used
func (*ClusterInstPolicy) MarshalBinary ¶
func (m *ClusterInstPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterInstPolicy) UnmarshalBinary ¶
func (m *ClusterInstPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterPolicy ¶
type ClusterPolicy struct { // UUID of the app policy linked to this cluster policy // Required: true // Pattern: [0-9-a-z-]+ AppPolicyID *string `json:"appPolicyID"` // Cluster Policy Parameters ClusterConfig *ClusterConfig `json:"clusterConfig,omitempty"` // UUID of the network policy linked to this cluster policy // Required: true // Pattern: [0-9-a-z-]+ NetworkPolicyID *string `json:"networkPolicyID"` // Type of cluster // Required: true Type *ClusterType `json:"type"` }
ClusterPolicy Cluster policy body detail
cluster policy to bring up cluster on devices in this project
swagger:model ClusterPolicy
func (*ClusterPolicy) ContextValidate ¶
ContextValidate validate this cluster policy based on the context it is used
func (*ClusterPolicy) MarshalBinary ¶
func (m *ClusterPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterPolicy) UnmarshalBinary ¶
func (m *ClusterPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterType ¶
type ClusterType string
ClusterType - CLUSTER_TYPE_K3S: cluster type is k3s
swagger:model ClusterType
const ( // ClusterTypeCLUSTERTYPEUNSPECIFIED captures enum value "CLUSTER_TYPE_UNSPECIFIED" ClusterTypeCLUSTERTYPEUNSPECIFIED ClusterType = "CLUSTER_TYPE_UNSPECIFIED" // ClusterTypeCLUSTERTYPEK3S captures enum value "CLUSTER_TYPE_K3S" ClusterTypeCLUSTERTYPEK3S ClusterType = "CLUSTER_TYPE_K3S" )
func NewClusterType ¶
func NewClusterType(value ClusterType) *ClusterType
func (ClusterType) ContextValidate ¶
ContextValidate validates this cluster type based on context it is used
func (ClusterType) Pointer ¶
func (m ClusterType) Pointer() *ClusterType
Pointer returns a pointer to a freshly-allocated ClusterType.
type CmdArg ¶
type CmdArg struct { // Command line argument: key Key string `json:"key,omitempty"` // Command line argument: value Value string `json:"value,omitempty"` }
CmdArg CmdArg is used to store the command line arguments
CmdArg store the passed command line key and values ¶
swagger:model CmdArg
func (*CmdArg) ContextValidate ¶
ContextValidate validates this cmd arg based on context it is used
func (*CmdArg) MarshalBinary ¶
MarshalBinary interface implementation
func (*CmdArg) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ConfigFormat ¶
type ConfigFormat string
ConfigFormat config format
swagger:model configFormat
const ( // ConfigFormatFmtUnknown captures enum value "FmtUnknown" ConfigFormatFmtUnknown ConfigFormat = "FmtUnknown" // ConfigFormatRAW captures enum value "RAW" ConfigFormatRAW ConfigFormat = "RAW" // ConfigFormatQCOW captures enum value "QCOW" ConfigFormatQCOW ConfigFormat = "QCOW" // ConfigFormatQCOW2 captures enum value "QCOW2" ConfigFormatQCOW2 ConfigFormat = "QCOW2" // ConfigFormatVHD captures enum value "VHD" ConfigFormatVHD ConfigFormat = "VHD" // ConfigFormatVMDK captures enum value "VMDK" ConfigFormatVMDK ConfigFormat = "VMDK" // ConfigFormatOVA captures enum value "OVA" ConfigFormatOVA ConfigFormat = "OVA" // ConfigFormatVHDX captures enum value "VHDX" ConfigFormatVHDX ConfigFormat = "VHDX" // ConfigFormatCONTAINER captures enum value "CONTAINER" ConfigFormatCONTAINER ConfigFormat = "CONTAINER" // ConfigFormatISO captures enum value "ISO" ConfigFormatISO ConfigFormat = "ISO" )
func NewConfigFormat ¶
func NewConfigFormat(value ConfigFormat) *ConfigFormat
func (ConfigFormat) ContextValidate ¶
ContextValidate validates this config format based on context it is used
func (ConfigFormat) Pointer ¶
func (m ConfigFormat) Pointer() *ConfigFormat
Pointer returns a pointer to a freshly-allocated ConfigFormat.
type ConfigurationLock ¶ added in v2.3.0
type ConfigurationLock string
ConfigurationLock configuration lock
swagger:model ConfigurationLock
const ( // ConfigurationLockCONFIGURATIONLOCKUNSPECIFIED captures enum value "CONFIGURATION_LOCK_UNSPECIFIED" ConfigurationLockCONFIGURATIONLOCKUNSPECIFIED ConfigurationLock = "CONFIGURATION_LOCK_UNSPECIFIED" // ConfigurationLockCONFIGURATIONLOCKENABLED captures enum value "CONFIGURATION_LOCK_ENABLED" ConfigurationLockCONFIGURATIONLOCKENABLED ConfigurationLock = "CONFIGURATION_LOCK_ENABLED" // ConfigurationLockCONFIGURATIONLOCKDISABLED captures enum value "CONFIGURATION_LOCK_DISABLED" ConfigurationLockCONFIGURATIONLOCKDISABLED ConfigurationLock = "CONFIGURATION_LOCK_DISABLED" )
func NewConfigurationLock ¶ added in v2.3.0
func NewConfigurationLock(value ConfigurationLock) *ConfigurationLock
func (ConfigurationLock) ContextValidate ¶ added in v2.3.0
ContextValidate validates this configuration lock based on context it is used
func (ConfigurationLock) Pointer ¶ added in v2.3.0
func (m ConfigurationLock) Pointer() *ConfigurationLock
Pointer returns a pointer to a freshly-allocated ConfigurationLock.
type ConfigurationLockPolicy ¶ added in v2.3.0
type ConfigurationLockPolicy struct { // configuration lock setting // Required: true ConfigLock *ConfigurationLock `json:"configLock"` // unique policy id // Read Only: true // Pattern: [0-9-a-z-]+ ID string `json:"id,omitempty"` }
ConfigurationLockPolicy configuration lock policy body detail
Configuration lock policy to enforce on all devices of the project ¶
swagger:model ConfigurationLockPolicy
func (*ConfigurationLockPolicy) ContextValidate ¶ added in v2.3.0
func (m *ConfigurationLockPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this configuration lock policy based on the context it is used
func (*ConfigurationLockPolicy) MarshalBinary ¶ added in v2.3.0
func (m *ConfigurationLockPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigurationLockPolicy) UnmarshalBinary ¶ added in v2.3.0
func (m *ConfigurationLockPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerDetail ¶
type ContainerDetail struct { // Base64 encoded container specific details // // Create options direct the creation of the Docker container ContainerCreateOption string `json:"containerCreateOption,omitempty"` }
ContainerDetail common container detail.
swagger:model ContainerDetail
func (*ContainerDetail) ContextValidate ¶
ContextValidate validates this container detail based on context it is used
func (*ContainerDetail) MarshalBinary ¶
func (m *ContainerDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerDetail) UnmarshalBinary ¶
func (m *ContainerDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ControllerType ¶
type ControllerType string
ControllerType third party controller types.
swagger:model ControllerType
const ( // ControllerTypeCONTROLLERTYPEUNSPECIFIED captures enum value "CONTROLLER_TYPE_UNSPECIFIED" ControllerTypeCONTROLLERTYPEUNSPECIFIED ControllerType = "CONTROLLER_TYPE_UNSPECIFIED" // ControllerTypeCONTROLLERTYPEAZURE captures enum value "CONTROLLER_TYPE_AZURE" ControllerTypeCONTROLLERTYPEAZURE ControllerType = "CONTROLLER_TYPE_AZURE" // ControllerTypeCONTROLLERTYPEAWS captures enum value "CONTROLLER_TYPE_AWS" ControllerTypeCONTROLLERTYPEAWS ControllerType = "CONTROLLER_TYPE_AWS" // ControllerTypeCONTROLLERTYPEGCP captures enum value "CONTROLLER_TYPE_GCP" ControllerTypeCONTROLLERTYPEGCP ControllerType = "CONTROLLER_TYPE_GCP" // ControllerTypeCONTROLLERTYPEVCO captures enum value "CONTROLLER_TYPE_VCO" ControllerTypeCONTROLLERTYPEVCO ControllerType = "CONTROLLER_TYPE_VCO" )
func NewControllerType ¶
func NewControllerType(value ControllerType) *ControllerType
func (ControllerType) ContextValidate ¶
ContextValidate validates this controller type based on context it is used
func (ControllerType) Pointer ¶
func (m ControllerType) Pointer() *ControllerType
Pointer returns a pointer to a freshly-allocated ControllerType.
type Credential ¶
type Credential struct { // current cred CurrentCred string `json:"currentCred,omitempty"` // forgot Forgot bool `json:"forgot,omitempty"` // id ID string `json:"id,omitempty"` // new cred NewCred string `json:"newCred,omitempty"` // owner Owner string `json:"owner,omitempty"` // salt Salt int64 `json:"salt,omitempty"` // type Type *CredentialType `json:"type,omitempty"` }
Credential credential
swagger:model Credential
func (*Credential) ContextValidate ¶
ContextValidate validate this credential based on the context it is used
func (*Credential) MarshalBinary ¶
func (m *Credential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Credential) UnmarshalBinary ¶
func (m *Credential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialType ¶
type CredentialType string
CredentialType credential type
swagger:model CredentialType
const ( // CredentialTypeCREDENTIALTYPEUNSPECIFIED captures enum value "CREDENTIAL_TYPE_UNSPECIFIED" CredentialTypeCREDENTIALTYPEUNSPECIFIED CredentialType = "CREDENTIAL_TYPE_UNSPECIFIED" // CredentialTypeCREDENTIALTYPEPASSWORD captures enum value "CREDENTIAL_TYPE_PASSWORD" CredentialTypeCREDENTIALTYPEPASSWORD CredentialType = "CREDENTIAL_TYPE_PASSWORD" // CredentialTypeCREDENTIALTYPECHAP captures enum value "CREDENTIAL_TYPE_CHAP" CredentialTypeCREDENTIALTYPECHAP CredentialType = "CREDENTIAL_TYPE_CHAP" // CredentialTypeCREDENTIALTYPEPUBLICKEY captures enum value "CREDENTIAL_TYPE_PUBLIC_KEY" CredentialTypeCREDENTIALTYPEPUBLICKEY CredentialType = "CREDENTIAL_TYPE_PUBLIC_KEY" // CredentialTypeCREDENTIALTYPENONE captures enum value "CREDENTIAL_TYPE_NONE" CredentialTypeCREDENTIALTYPENONE CredentialType = "CREDENTIAL_TYPE_NONE" )
func NewCredentialType ¶
func NewCredentialType(value CredentialType) *CredentialType
func (CredentialType) ContextValidate ¶
ContextValidate validates this credential type based on context it is used
func (CredentialType) Pointer ¶
func (m CredentialType) Pointer() *CredentialType
Pointer returns a pointer to a freshly-allocated CredentialType.
type Credentials ¶
type Credentials struct { // list List []*Credential `json:"list"` // next Next *Cursor `json:"next,omitempty"` // summary by state SummaryByState *Summary `json:"summaryByState,omitempty"` }
Credentials credentials
swagger:model Credentials
func (*Credentials) ContextValidate ¶
ContextValidate validate this credentials based on the context it is used
func (*Credentials) MarshalBinary ¶
func (m *Credentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Credentials) UnmarshalBinary ¶
func (m *Credentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cursor ¶
type Cursor struct { // OrderBy helps in sorting the list response OrderBy []string `json:"orderBy"` // Page Number PageNum int64 `json:"pageNum,omitempty"` // Defines the page size PageSize int64 `json:"pageSize,omitempty"` // Page Token PageToken string `json:"pageToken,omitempty"` // Total number of pages to be fetched. TotalPages int64 `json:"totalPages,omitempty"` }
Cursor Cursor is used as filter in list operation.
Cursor helps in filtering the various list response like edge-app bundle list, model list, bundle list etc.
swagger:model Cursor
func (*Cursor) ContextValidate ¶
ContextValidate validates this cursor based on context it is used
func (*Cursor) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cursor) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CustomConfig ¶
type CustomConfig struct { // Add the Custom Config to App Instance (Optional. Default: False) Add bool `json:"add,omitempty"` // Allow Appinstance storage to be resized after app instance is created. (Optional. Default: False) AllowStorageResize bool `json:"allowStorageResize,omitempty"` // Field delimiter used in specifying variables in template. (Required) FieldDelimiter string `json:"fieldDelimiter,omitempty"` // Name of CustomConfig (Required) Name string `json:"name,omitempty"` // Override existing custom config from App Bundle Manifest (Optional. Default: False) Override bool `json:"override,omitempty"` // base64 encrypted template string. (Optional) Template string `json:"template,omitempty"` // List of Variable groups. (Required) VariableGroups []*CustomConfigVariableGroup `json:"variableGroups"` }
CustomConfig custom config
swagger:model CustomConfig
func (*CustomConfig) ContextValidate ¶
ContextValidate validate this custom config based on the context it is used
func (*CustomConfig) MarshalBinary ¶
func (m *CustomConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomConfig) UnmarshalBinary ¶
func (m *CustomConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomConfigVariableGroup ¶
type CustomConfigVariableGroup struct { // Condition to apply the variable group. (Optional. Default: None) Condition *VariableGroupCondition `json:"condition,omitempty"` // Name of the Variable Group(Required) Name string `json:"name,omitempty"` // Indicates if the variable group is required to be specified for the App Instance. (Optional. Default:False) Required bool `json:"required,omitempty"` // List of variables(Required) Variables []*VariableGroupVariable `json:"variables"` }
CustomConfigVariableGroup custom config variable group
swagger:model CustomConfigVariableGroup
func (*CustomConfigVariableGroup) ContextValidate ¶
func (m *CustomConfigVariableGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom config variable group based on the context it is used
func (*CustomConfigVariableGroup) MarshalBinary ¶
func (m *CustomConfigVariableGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomConfigVariableGroup) UnmarshalBinary ¶
func (m *CustomConfigVariableGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DNSInfo ¶
type DNSInfo struct { // domain name // Required: true Domain *string `json:"domain"` // Array of search strings // Required: true Search []string `json:"search"` // Array of dns server // Required: true Servers []string `json:"servers"` }
DNSInfo DNSInfo consists of DNS Configurations.
DNSInfo is used to store Domain Name Server configuration.
swagger:model DNSInfo
func (*DNSInfo) ContextValidate ¶
ContextValidate validates this DNS info based on context it is used
func (*DNSInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*DNSInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DPSServiceDetail ¶
type DPSServiceDetail struct { // enrollment Enrollment *EnrollmentDetail `json:"enrollment,omitempty"` // service detail ServiceDetail *AzureResourceAndServiceDetail `json:"serviceDetail,omitempty"` }
DPSServiceDetail d p s service detail
swagger:model DPSServiceDetail
func (*DPSServiceDetail) ContextValidate ¶
ContextValidate validate this d p s service detail based on the context it is used
func (*DPSServiceDetail) MarshalBinary ¶
func (m *DPSServiceDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DPSServiceDetail) UnmarshalBinary ¶
func (m *DPSServiceDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataStream ¶ added in v2.3.0
type DataStream struct { // enabled Enabled bool `json:"enabled,omitempty"` // plugin Id PluginID string `json:"pluginId,omitempty"` }
DataStream data stream
swagger:model DataStream
func (*DataStream) ContextValidate ¶ added in v2.3.0
ContextValidate validates this data stream based on context it is used
func (*DataStream) MarshalBinary ¶ added in v2.3.0
func (m *DataStream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataStream) UnmarshalBinary ¶ added in v2.3.0
func (m *DataStream) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Datastore ¶
type Datastore struct { // api key APIKey string `json:"apiKey,omitempty"` // Certificate chain of the certificate CertificateChain *CertificateChain `json:"certificateChain,omitempty"` // Internal - Encryption Key context // Read Only: true CryptoKey string `json:"cryptoKey,omitempty"` // Detailed description of the datastore. // Max Length: 256 Description string `json:"description,omitempty"` // Datastore validation detailed error/status message // Read Only: true DsErr string `json:"dsErr,omitempty"` // Datastore Fully Qualified Domain Name // Required: true DsFQDN *string `json:"dsFQDN"` // Datastore relative path w.r.t. Datastore root // Required: true DsPath *string `json:"dsPath"` // Datastore status DsStatus *DatastoreStatus `json:"dsStatus,omitempty"` // Datastore type // Required: true DsType *DatastoreType `json:"dsType"` // Internal - Encrypted sensitive data // Read Only: true EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"` // enterprise Id EnterpriseID string `json:"enterpriseId,omitempty"` // System defined universally unique Id of the datastore. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // User defined name of the datastore, unique across the enterprise. Once datastore is created, name can’t be changed. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // knob for sending creds in clear text NeedClearText bool `json:"needClearText,omitempty"` // Origin type of datastore. // Read Only: true OriginType *Origin `json:"originType,omitempty"` // project access list of the datastore ProjectAccessList []string `json:"projectAccessList"` // Datastore region - valid for AWS S3 and Azure BlobStorage Region string `json:"region,omitempty"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // Plain-text sensitive data Secret *DatastoreInfoSecrets `json:"secret,omitempty"` // User defined title of the datastore. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` }
Datastore Datastore
Datastore idetail Example: {"description":"My test datastore hosted on HTTP server for Edge computing images.","dsError":"Datastore validated successfully...","dsFQDN":"http://my-datastore.my-company.com","dsPath":"download/AMD64","dsStatus":"DATASTORE_STATUS_ACTIVE","dsType":"DATASTORE_TYPE_HTTP","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-datastore","originType":"ORIGIN_LOCAL","revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"secret":{"apiKey":"my-datastore-api-key","apiPasswd":"my-datastore-api-password"},"title":"My test datatsore for Edge computing images"}
swagger:model Datastore
func (*Datastore) ContextValidate ¶
ContextValidate validate this datastore info based on the context it is used
func (*Datastore) MarshalBinary ¶
MarshalBinary interface implementation
func (*Datastore) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DatastoreInfoSecrets ¶
type DatastoreInfoSecrets struct { // Datastore access API key in plain-text APIKey string `json:"apiKey,omitempty"` // Datastore access API password in plain-text APIPasswd string `json:"apiPasswd,omitempty"` }
DatastoreInfoSecrets datastore info secrets
swagger:model DatastoreInfoSecrets
func (*DatastoreInfoSecrets) ContextValidate ¶
ContextValidate validates this datastore info secrets based on context it is used
func (*DatastoreInfoSecrets) MarshalBinary ¶
func (m *DatastoreInfoSecrets) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreInfoSecrets) UnmarshalBinary ¶
func (m *DatastoreInfoSecrets) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreProjectList ¶
type DatastoreProjectList struct { // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // List of projects which are associated with the given datastore ProjectDetails []*ObjectDetail `json:"projectDetails"` // total number of records TotalCount int64 `json:"totalCount,omitempty"` }
DatastoreProjectList datastore project list
swagger:model DatastoreProjectList
func (*DatastoreProjectList) ContextValidate ¶
ContextValidate validate this datastore project list based on the context it is used
func (*DatastoreProjectList) MarshalBinary ¶
func (m *DatastoreProjectList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreProjectList) UnmarshalBinary ¶
func (m *DatastoreProjectList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreStatus ¶
type DatastoreStatus string
DatastoreStatus Datastore status
swagger:model DatastoreStatus
const ( // DatastoreStatusDATASTORESTATUSUNSPECIFIED captures enum value "DATASTORE_STATUS_UNSPECIFIED" DatastoreStatusDATASTORESTATUSUNSPECIFIED DatastoreStatus = "DATASTORE_STATUS_UNSPECIFIED" // DatastoreStatusDATASTORESTATUSCREATED captures enum value "DATASTORE_STATUS_CREATED" DatastoreStatusDATASTORESTATUSCREATED DatastoreStatus = "DATASTORE_STATUS_CREATED" // DatastoreStatusDATASTORESTATUSVERIFYING captures enum value "DATASTORE_STATUS_VERIFYING" DatastoreStatusDATASTORESTATUSVERIFYING DatastoreStatus = "DATASTORE_STATUS_VERIFYING" // DatastoreStatusDATASTORESTATUSACTIVE captures enum value "DATASTORE_STATUS_ACTIVE" DatastoreStatusDATASTORESTATUSACTIVE DatastoreStatus = "DATASTORE_STATUS_ACTIVE" // DatastoreStatusDATASTORESTATUSINACTIVE captures enum value "DATASTORE_STATUS_INACTIVE" DatastoreStatusDATASTORESTATUSINACTIVE DatastoreStatus = "DATASTORE_STATUS_INACTIVE" // DatastoreStatusDATASTORESTATUSFAILED captures enum value "DATASTORE_STATUS_FAILED" DatastoreStatusDATASTORESTATUSFAILED DatastoreStatus = "DATASTORE_STATUS_FAILED" )
func NewDatastoreStatus ¶
func NewDatastoreStatus(value DatastoreStatus) *DatastoreStatus
func (DatastoreStatus) ContextValidate ¶
ContextValidate validates this datastore status based on context it is used
func (DatastoreStatus) Pointer ¶
func (m DatastoreStatus) Pointer() *DatastoreStatus
Pointer returns a pointer to a freshly-allocated DatastoreStatus.
type DatastoreType ¶
type DatastoreType string
DatastoreType Datastore type
- DATASTORE_TYPE_HTTP: Datastore hosted on HTTP server
- DATASTORE_TYPE_HTTPS: Datastore hosted on HTTPS server
- DATASTORE_TYPE_AWSS3: Datastore hosted on AWS S3
- DATASTORE_TYPE_SFTP: Datastore hosted on SFTP server
- DATASTORE_TYPE_CONTAINERREGISTRY: Datastore hosted on Container Registry (e.g. Dockerhub, Azure Container Registry etc.)
- DATASTORE_TYPE_AZUREBLOB: Datastore hosted on Azure BlobStorage
- DATASTORE_TYPE_ZEDEDAS3: ZEDEDA Owned and Operated datastore hosted on AWS S3
- DATASTORE_TYPE_ZEDEDABLOB: ZEDEDA Owned and Operated datastore hosted on Azure BlobStorage
- DATASTORE_TYPE_FILE_STORAGE: Datastore hosted on File Storage (e.g. HTTP, HTTPS, AWS S3, SFTP, Azure Blob, etc.)
swagger:model DatastoreType
const ( // DatastoreTypeDATASTORETYPEUNSPECIFIED captures enum value "DATASTORE_TYPE_UNSPECIFIED" DatastoreTypeDATASTORETYPEUNSPECIFIED DatastoreType = "DATASTORE_TYPE_UNSPECIFIED" // DatastoreTypeDATASTORETYPEHTTP captures enum value "DATASTORE_TYPE_HTTP" DatastoreTypeDATASTORETYPEHTTP DatastoreType = "DATASTORE_TYPE_HTTP" // DatastoreTypeDATASTORETYPEHTTPS captures enum value "DATASTORE_TYPE_HTTPS" DatastoreTypeDATASTORETYPEHTTPS DatastoreType = "DATASTORE_TYPE_HTTPS" // DatastoreTypeDATASTORETYPEAWSS3 captures enum value "DATASTORE_TYPE_AWSS3" DatastoreTypeDATASTORETYPEAWSS3 DatastoreType = "DATASTORE_TYPE_AWSS3" // DatastoreTypeDATASTORETYPESFTP captures enum value "DATASTORE_TYPE_SFTP" DatastoreTypeDATASTORETYPESFTP DatastoreType = "DATASTORE_TYPE_SFTP" // DatastoreTypeDATASTORETYPECONTAINERREGISTRY captures enum value "DATASTORE_TYPE_CONTAINERREGISTRY" DatastoreTypeDATASTORETYPECONTAINERREGISTRY DatastoreType = "DATASTORE_TYPE_CONTAINERREGISTRY" // DatastoreTypeDATASTORETYPEAZUREBLOB captures enum value "DATASTORE_TYPE_AZUREBLOB" DatastoreTypeDATASTORETYPEAZUREBLOB DatastoreType = "DATASTORE_TYPE_AZUREBLOB" // DatastoreTypeDATASTORETYPEZEDEDAS3 captures enum value "DATASTORE_TYPE_ZEDEDAS3" DatastoreTypeDATASTORETYPEZEDEDAS3 DatastoreType = "DATASTORE_TYPE_ZEDEDAS3" // DatastoreTypeDATASTORETYPEZEDEDABLOB captures enum value "DATASTORE_TYPE_ZEDEDABLOB" DatastoreTypeDATASTORETYPEZEDEDABLOB DatastoreType = "DATASTORE_TYPE_ZEDEDABLOB" // DatastoreTypeDATASTORETYPEFILESTORAGE captures enum value "DATASTORE_TYPE_FILE_STORAGE" DatastoreTypeDATASTORETYPEFILESTORAGE DatastoreType = "DATASTORE_TYPE_FILE_STORAGE" )
func NewDatastoreType ¶
func NewDatastoreType(value DatastoreType) *DatastoreType
func (DatastoreType) ContextValidate ¶
ContextValidate validates this datastore type based on context it is used
func (DatastoreType) Pointer ¶
func (m DatastoreType) Pointer() *DatastoreType
Pointer returns a pointer to a freshly-allocated DatastoreType.
type Datastores ¶
type Datastores struct { // List of filtered Datastore records List []*Datastore `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Category distribution summary of filtered Datastore records SummaryByCategory *Summary `json:"summaryByCategory,omitempty"` // Type distribution summary of filtered Datastore records SummaryByType *Summary `json:"summaryByType,omitempty"` }
Datastores datastores
swagger:model Datastores
func (*Datastores) ContextValidate ¶
ContextValidate validate this datastores based on the context it is used
func (*Datastores) MarshalBinary ¶
func (m *Datastores) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Datastores) UnmarshalBinary ¶
func (m *Datastores) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DebugKnobDetail ¶
type DebugKnobDetail struct { // debug knob flag DebugKnob bool `json:"debugKnob,omitempty"` // debug knob expiry status flag Expired bool `json:"expired,omitempty"` // debug expiry time in minutes Expiry string `json:"expiry,omitempty"` // system generated unique id for a device // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` }
DebugKnobDetail Device debug knob configuration
Device debug knob configuration request payload holds the device debug mode properties ¶
swagger:model DebugKnobDetail
func (*DebugKnobDetail) ContextValidate ¶
ContextValidate validate this debug knob detail based on the context it is used
func (*DebugKnobDetail) MarshalBinary ¶
func (m *DebugKnobDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DebugKnobDetail) UnmarshalBinary ¶
func (m *DebugKnobDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Deployment ¶
type Deployment struct { // list of app instance policies AppInstPolicies []*AppInstPolicy `json:"appInstPolicies"` // cluster policy details ClusterPolicy *ClusterInstPolicy `json:"clusterPolicy,omitempty"` // user defined tag for the deployment, which is used while targeting set of devices DeploymentTag string `json:"deploymentTag,omitempty"` // list of device policies DevicePolicies []*DevicePolicy `json:"devicePolicies"` // system generated unique id for an deployment ID string `json:"id,omitempty"` // integration policy details IntegrationPolicy *IntegrationPolicy `json:"integrationPolicy,omitempty"` // user defined name for the deployment Name string `json:"name,omitempty"` // list of network instance policies NetworkInstPolicies []*NetworkInstPolicy `json:"networkInstPolicies"` // object revision Revision *ObjectRevision `json:"revision,omitempty"` // user defined title for the deployment Title string `json:"title,omitempty"` // list of volume instamce policies VolumeInstPolicies []*VolumeInstPolicy `json:"volumeInstPolicies"` }
Deployment deployment
swagger:model Deployment
func (*Deployment) ContextValidate ¶
ContextValidate validate this deployment based on the context it is used
func (*Deployment) MarshalBinary ¶
func (m *Deployment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Deployment) UnmarshalBinary ¶
func (m *Deployment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeploymentType ¶
type DeploymentType string
DeploymentType deployment type
swagger:model DeploymentType
const ( // DeploymentTypeDEPLOYMENTTYPEUNSPECIFIED captures enum value "DEPLOYMENT_TYPE_UNSPECIFIED" DeploymentTypeDEPLOYMENTTYPEUNSPECIFIED DeploymentType = "DEPLOYMENT_TYPE_UNSPECIFIED" // DeploymentTypeDEPLOYMENTTYPESTANDALONE captures enum value "DEPLOYMENT_TYPE_STAND_ALONE" DeploymentTypeDEPLOYMENTTYPESTANDALONE DeploymentType = "DEPLOYMENT_TYPE_STAND_ALONE" // DeploymentTypeDEPLOYMENTTYPEAZURE captures enum value "DEPLOYMENT_TYPE_AZURE" DeploymentTypeDEPLOYMENTTYPEAZURE DeploymentType = "DEPLOYMENT_TYPE_AZURE" // DeploymentTypeDEPLOYMENTTYPEK3S captures enum value "DEPLOYMENT_TYPE_K3S" DeploymentTypeDEPLOYMENTTYPEK3S DeploymentType = "DEPLOYMENT_TYPE_K3S" // DeploymentTypeDEPLOYMENTTYPEAWS captures enum value "DEPLOYMENT_TYPE_AWS" DeploymentTypeDEPLOYMENTTYPEAWS DeploymentType = "DEPLOYMENT_TYPE_AWS" // DeploymentTypeDEPLOYMENTTYPEK3SAZURE captures enum value "DEPLOYMENT_TYPE_K3S_AZURE" DeploymentTypeDEPLOYMENTTYPEK3SAZURE DeploymentType = "DEPLOYMENT_TYPE_K3S_AZURE" // DeploymentTypeDEPLOYMENTTYPEK3SAWS captures enum value "DEPLOYMENT_TYPE_K3S_AWS" DeploymentTypeDEPLOYMENTTYPEK3SAWS DeploymentType = "DEPLOYMENT_TYPE_K3S_AWS" // DeploymentTypeDEPLOYMENTTYPEVMWAREVCE captures enum value "DEPLOYMENT_TYPE_VMWARE_VCE" DeploymentTypeDEPLOYMENTTYPEVMWAREVCE DeploymentType = "DEPLOYMENT_TYPE_VMWARE_VCE" )
func NewDeploymentType ¶
func NewDeploymentType(value DeploymentType) *DeploymentType
func (DeploymentType) ContextValidate ¶
ContextValidate validates this deployment type based on context it is used
func (DeploymentType) Pointer ¶
func (m DeploymentType) Pointer() *DeploymentType
Pointer returns a pointer to a freshly-allocated DeploymentType.
type DetailedUser ¶
type DetailedUser struct { // hubspot Id HubspotID string `json:"HubspotId,omitempty"` // Operational Status to be returned to CLI/UI // // Last login time of the user // Format: date-time LastLoginTime strfmt.DateTime `json:"LastLoginTime,omitempty"` // Last logout time of the user // Format: date-time LastLogoutTime strfmt.DateTime `json:"LastLogoutTime,omitempty"` // sfdc Id SfdcID string `json:"SfdcId,omitempty"` // Permitted list of enterprises with their associated roles AllowedEnterprises []*AllowedEnterprise `json:"allowedEnterprises"` // Custom user parameters CustomUserInput map[string]string `json:"customUserInput,omitempty"` // Email of the user // Required: true Email *string `json:"email"` // Email state // Read Only: true EmailState *IDState `json:"emailState,omitempty"` // Origin enterprise of the user // Read Only: true EnterpriseID string `json:"enterpriseId,omitempty"` // First name of the user FirstName string `json:"firstName,omitempty"` // Full name of the user FullName string `json:"fullName,omitempty"` // Unique system defined user ID // Read Only: true // Pattern: [0-9A-Za-z_=-]{28} ID string `json:"id,omitempty"` // Locale of the user Locale string `json:"locale,omitempty"` // Notification preference of the user NotifyPref string `json:"notifyPref,omitempty"` // Phone number of the user Phone string `json:"phone,omitempty"` // Phone state // Read Only: true PhoneState *IDState `json:"phoneState,omitempty"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // Role associated with the user // Required: true // Pattern: [0-9A-Za-z_=-]{28} RoleID *string `json:"roleId"` // User state // Read Only: true State *UserState `json:"state,omitempty"` // Preferred time zone of the user TimeZone string `json:"timeZone,omitempty"` // Is TOTP enrolment enabled // Read Only: true TotpEnabled *bool `json:"totpEnabled,omitempty"` // Type of the user Type *AuthType `json:"type,omitempty"` // User defined name // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Username *string `json:"username"` }
DetailedUser User detail
User meta data ¶
swagger:model DetailedUser
func (*DetailedUser) ContextValidate ¶
ContextValidate validate this detailed user based on the context it is used
func (*DetailedUser) MarshalBinary ¶
func (m *DetailedUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailedUser) UnmarshalBinary ¶
func (m *DetailedUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Details ¶
type Details struct { // Developer Agreements // // UI map: AppEditPage:DeveloperPane:Developer_Agreement_Field, AppDetailsPage:DeveloperPane:Developer_Agreement_Field AgreementList map[string]string `json:"agreementList,omitempty"` // Edge application category // Required: true AppCategory *AppCategory `json:"appCategory"` // Type of the Edge application // // UI map: AppMarketplacePage:AppCard:DescriptionField, AppEditPage:IdentityPane:CategoryField, AppDetailsPage:IdentityPane:CategoryField Category *string `json:"category,omitempty"` // App Licenses // // UI map: AppMarketplacePage:AppCard:License, AppEditPage:IdentityPane:License, AppDetailsPage:IdentityPane:License LicenseList map[string]string `json:"licenseList,omitempty"` // App Logo // // UI map: AppEditPage:IdentityPane:Logo, AppDetailsPage:IdentityPane:Logo Logo map[string]string `json:"logo,omitempty"` // Edge application's Operating System Os string `json:"os,omitempty"` // App Screenshots // // UI map: AppEditPage:IdentityPane:Screenshot_Fields, AppDetailsPage:IdentityPane:Screenshot_Fields ScreenshotList map[string]string `json:"screenshotList,omitempty"` // Support Description // // UI map: AppEditPage:DeveloperPane:Support_Description_Field, AppDetailsPage:DeveloperPane:Support_Description_Field Support string `json:"support,omitempty"` }
Details Edge Application detail
Edge Application Artifact Details Example: {"appCategory":"APP_CATEGORY_CLOUD_APPLICATION","os":"Linux"}
swagger:model Details
func (*Details) ContextValidate ¶
ContextValidate validate this details based on the context it is used
func (*Details) MarshalBinary ¶
MarshalBinary interface implementation
func (*Details) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DevAccessPolicy ¶
type DevAccessPolicy struct { // device side of edge-view access is allowed or not AllowDev bool `json:"allowDev,omitempty"` }
DevAccessPolicy dev access policy
swagger:model DevAccessPolicy
func (*DevAccessPolicy) ContextValidate ¶
ContextValidate validates this dev access policy based on context it is used
func (*DevAccessPolicy) MarshalBinary ¶
func (m *DevAccessPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevAccessPolicy) UnmarshalBinary ¶
func (m *DevAccessPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevDataSecAtRest ¶
type DevDataSecAtRest struct { // err info ErrInfo *DeviceError `json:"errInfo,omitempty"` // name Name string `json:"name,omitempty"` // status Status *DeviceDataSecurityAtRestStatus `json:"status,omitempty"` }
DevDataSecAtRest dev data sec at rest
swagger:model DevDataSecAtRest
func (*DevDataSecAtRest) ContextValidate ¶
ContextValidate validate this dev data sec at rest based on the context it is used
func (*DevDataSecAtRest) MarshalBinary ¶
func (m *DevDataSecAtRest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevDataSecAtRest) UnmarshalBinary ¶
func (m *DevDataSecAtRest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevZedServer ¶
type DevZedServer struct { // EID // Required: true EID []string `json:"EID"` // Hostname for dev zed server // Required: true HostName *string `json:"hostName"` }
DevZedServer DevZedServer payload detail
DevZedServer request paylod ¶
swagger:model DevZedServer
func (*DevZedServer) ContextValidate ¶
ContextValidate validates this dev zed server based on context it is used
func (*DevZedServer) MarshalBinary ¶
func (m *DevZedServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevZedServer) UnmarshalBinary ¶
func (m *DevZedServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceAttestPolicyType ¶
type DeviceAttestPolicyType string
DeviceAttestPolicyType - DEVICE_ATTEST_POLICY_TYPE_ACCEPT: Do not enforce attestation. All devices are marked as successfully attested.
- DEVICE_ATTEST_POLICY_TYPE_ENFORCE: Enforce attestation. Devices failing attestation are marked accordingly.
swagger:model DeviceAttestPolicyType
const ( // DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEUNSPECIFIED captures enum value "DEVICE_ATTEST_POLICY_TYPE_UNSPECIFIED" DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEUNSPECIFIED DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_UNSPECIFIED" // DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEACCEPT captures enum value "DEVICE_ATTEST_POLICY_TYPE_ACCEPT" DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEACCEPT DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_ACCEPT" // DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEENFORCE captures enum value "DEVICE_ATTEST_POLICY_TYPE_ENFORCE" DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEENFORCE DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_ENFORCE" )
func NewDeviceAttestPolicyType ¶
func NewDeviceAttestPolicyType(value DeviceAttestPolicyType) *DeviceAttestPolicyType
func (DeviceAttestPolicyType) ContextValidate ¶
ContextValidate validates this device attest policy type based on context it is used
func (DeviceAttestPolicyType) Pointer ¶
func (m DeviceAttestPolicyType) Pointer() *DeviceAttestPolicyType
Pointer returns a pointer to a freshly-allocated DeviceAttestPolicyType.
type DeviceAttestationPolicy ¶
type DeviceAttestationPolicy struct { // Attestation policy type // Required: true Type *DeviceAttestPolicyType `json:"type"` }
DeviceAttestationPolicy Attestation policy body detail
Attestation policy to enforce on devices of a project ¶
swagger:model DeviceAttestationPolicy
func (*DeviceAttestationPolicy) ContextValidate ¶
func (m *DeviceAttestationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this device attestation policy based on the context it is used
func (*DeviceAttestationPolicy) MarshalBinary ¶
func (m *DeviceAttestationPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceAttestationPolicy) UnmarshalBinary ¶
func (m *DeviceAttestationPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceBootReason ¶
type DeviceBootReason string
DeviceBootReason device boot reason
swagger:model DeviceBootReason
const ( // DeviceBootReasonDEVICEBOOTREASONUNSPECIFIED captures enum value "DEVICE_BOOT_REASON_UNSPECIFIED" DeviceBootReasonDEVICEBOOTREASONUNSPECIFIED DeviceBootReason = "DEVICE_BOOT_REASON_UNSPECIFIED" // DeviceBootReasonDEVICEBOOTREASONFIRST captures enum value "DEVICE_BOOT_REASON_FIRST" DeviceBootReasonDEVICEBOOTREASONFIRST DeviceBootReason = "DEVICE_BOOT_REASON_FIRST" // DeviceBootReasonDEVICEBOOTREASONREBOOTCMD captures enum value "DEVICE_BOOT_REASON_REBOOT_CMD" DeviceBootReasonDEVICEBOOTREASONREBOOTCMD DeviceBootReason = "DEVICE_BOOT_REASON_REBOOT_CMD" // DeviceBootReasonDEVICEBOOTREASONUPDATE captures enum value "DEVICE_BOOT_REASON_UPDATE" DeviceBootReasonDEVICEBOOTREASONUPDATE DeviceBootReason = "DEVICE_BOOT_REASON_UPDATE" // DeviceBootReasonDEVICEBOOTREASONFALLBACK captures enum value "DEVICE_BOOT_REASON_FALLBACK" DeviceBootReasonDEVICEBOOTREASONFALLBACK DeviceBootReason = "DEVICE_BOOT_REASON_FALLBACK" // DeviceBootReasonDEVICEBOOTREASONDISCONNECT captures enum value "DEVICE_BOOT_REASON_DISCONNECT" DeviceBootReasonDEVICEBOOTREASONDISCONNECT DeviceBootReason = "DEVICE_BOOT_REASON_DISCONNECT" // DeviceBootReasonDEVICEBOOTREASONFATAL captures enum value "DEVICE_BOOT_REASON_FATAL" DeviceBootReasonDEVICEBOOTREASONFATAL DeviceBootReason = "DEVICE_BOOT_REASON_FATAL" // DeviceBootReasonDEVICEBOOTREASONOOM captures enum value "DEVICE_BOOT_REASON_OOM" DeviceBootReasonDEVICEBOOTREASONOOM DeviceBootReason = "DEVICE_BOOT_REASON_OOM" // DeviceBootReasonDEVICEBOOTREASONWATCHDOGHUNG captures enum value "DEVICE_BOOT_REASON_WATCHDOG_HUNG" DeviceBootReasonDEVICEBOOTREASONWATCHDOGHUNG DeviceBootReason = "DEVICE_BOOT_REASON_WATCHDOG_HUNG" // DeviceBootReasonDEVICEBOOTREASONWATCHDOGPID captures enum value "DEVICE_BOOT_REASON_WATCHDOG_PID" DeviceBootReasonDEVICEBOOTREASONWATCHDOGPID DeviceBootReason = "DEVICE_BOOT_REASON_WATCHDOG_PID" // DeviceBootReasonDEVICEBOOTREASONKERNEL captures enum value "DEVICE_BOOT_REASON_KERNEL" DeviceBootReasonDEVICEBOOTREASONKERNEL DeviceBootReason = "DEVICE_BOOT_REASON_KERNEL" // DeviceBootReasonDEVICEBOOTREASONPOWERFAIL captures enum value "DEVICE_BOOT_REASON_POWER_FAIL" DeviceBootReasonDEVICEBOOTREASONPOWERFAIL DeviceBootReason = "DEVICE_BOOT_REASON_POWER_FAIL" // DeviceBootReasonDEVICEBOOTREASONUNKNOWN captures enum value "DEVICE_BOOT_REASON_UNKNOWN" DeviceBootReasonDEVICEBOOTREASONUNKNOWN DeviceBootReason = "DEVICE_BOOT_REASON_UNKNOWN" // DeviceBootReasonDEVICEBOOTREASONPARSEFAIL captures enum value "DEVICE_BOOT_REASON_PARSE_FAIL" DeviceBootReasonDEVICEBOOTREASONPARSEFAIL DeviceBootReason = "DEVICE_BOOT_REASON_PARSE_FAIL" )
func NewDeviceBootReason ¶
func NewDeviceBootReason(value DeviceBootReason) *DeviceBootReason
func (DeviceBootReason) ContextValidate ¶
ContextValidate validates this device boot reason based on context it is used
func (DeviceBootReason) Pointer ¶
func (m DeviceBootReason) Pointer() *DeviceBootReason
Pointer returns a pointer to a freshly-allocated DeviceBootReason.
type DeviceCerts ¶
type DeviceCerts struct { // pem certificate // Format: byte PemCert strfmt.Base64 `json:"pemCert,omitempty"` // pem key // Format: byte PemKey strfmt.Base64 `json:"pemKey,omitempty"` }
DeviceCerts DeviceCerts payload detail
Device certificates payload ¶
swagger:model DeviceCerts
func (*DeviceCerts) ContextValidate ¶
ContextValidate validates this device certs based on context it is used
func (*DeviceCerts) MarshalBinary ¶
func (m *DeviceCerts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceCerts) UnmarshalBinary ¶
func (m *DeviceCerts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceCmdsSubType ¶
type DeviceCmdsSubType string
DeviceCmdsSubType - DeviceNoOp: Device Operation: No Operation
- DeviceStart: Device Operation: Start
- DeviceStop: Device Operation: Stop
- DeviceReboot: Device Operation: Reboot: Power cycle the device
- DeviceShutdown: Device Operation: Shutdown- Power off the device
- DeviceUpdateOS: Device Operation: Update OS- deprecated
- DeviceApplyOS: Device Operation: Apply OS- Change Boot order of installed images
- DeviceReset: Device Operation: Reset- Config reset to factory default
- DeviceAddOS: Device Operation: Add OS- Install new image but don't change boot order
- DeviceDropOS: Device Operation: Drop OS- Remove uninstalled image but don't change boot order
- DeviceOffboard: Device Operation Type: offboard the device
- DeviceActivate: Device Activate
- DeviceDeActivate: Device Deactivate
- DeviceBaseosRetry: Device Operation: Retry OS
- DeviceStartDebugMode: Device Operation: Run device in debug mode.
- DeviceStopDebugMode: Device Operation: Stop device in debug mode.
- PreparePowerOff: Device Operation: Gracefully shutdown all apps and prepare for power down.
- DeviceStartEdgeviewMode: Device Operation: Run device in edgeview mode.
- DeviceStopEdgeviewMode: Device Operation: Stop device in edgeview mode.
- DeviceEdgeviewClientScript: Device Operation: get Edgeview client script if activated.
swagger:model DeviceCmdsSubType
const ( // DeviceCmdsSubTypeDeviceNoOp captures enum value "DeviceNoOp" DeviceCmdsSubTypeDeviceNoOp DeviceCmdsSubType = "DeviceNoOp" // DeviceCmdsSubTypeDeviceStart captures enum value "DeviceStart" DeviceCmdsSubTypeDeviceStart DeviceCmdsSubType = "DeviceStart" // DeviceCmdsSubTypeDeviceStop captures enum value "DeviceStop" DeviceCmdsSubTypeDeviceStop DeviceCmdsSubType = "DeviceStop" // DeviceCmdsSubTypeDeviceReboot captures enum value "DeviceReboot" DeviceCmdsSubTypeDeviceReboot DeviceCmdsSubType = "DeviceReboot" // DeviceCmdsSubTypeDeviceShutdown captures enum value "DeviceShutdown" DeviceCmdsSubTypeDeviceShutdown DeviceCmdsSubType = "DeviceShutdown" // DeviceCmdsSubTypeDeviceUpdateOS captures enum value "DeviceUpdateOS" DeviceCmdsSubTypeDeviceUpdateOS DeviceCmdsSubType = "DeviceUpdateOS" // DeviceCmdsSubTypeDeviceApplyOS captures enum value "DeviceApplyOS" DeviceCmdsSubTypeDeviceApplyOS DeviceCmdsSubType = "DeviceApplyOS" // DeviceCmdsSubTypeDeviceReset captures enum value "DeviceReset" DeviceCmdsSubTypeDeviceReset DeviceCmdsSubType = "DeviceReset" // DeviceCmdsSubTypeDeviceAddOS captures enum value "DeviceAddOS" DeviceCmdsSubTypeDeviceAddOS DeviceCmdsSubType = "DeviceAddOS" // DeviceCmdsSubTypeDeviceDropOS captures enum value "DeviceDropOS" DeviceCmdsSubTypeDeviceDropOS DeviceCmdsSubType = "DeviceDropOS" // DeviceCmdsSubTypeDeviceOffboard captures enum value "DeviceOffboard" DeviceCmdsSubTypeDeviceOffboard DeviceCmdsSubType = "DeviceOffboard" // DeviceCmdsSubTypeDeviceActivate captures enum value "DeviceActivate" DeviceCmdsSubTypeDeviceActivate DeviceCmdsSubType = "DeviceActivate" // DeviceCmdsSubTypeDeviceDeActivate captures enum value "DeviceDeActivate" DeviceCmdsSubTypeDeviceDeActivate DeviceCmdsSubType = "DeviceDeActivate" // DeviceCmdsSubTypeDeviceBaseosRetry captures enum value "DeviceBaseosRetry" DeviceCmdsSubTypeDeviceBaseosRetry DeviceCmdsSubType = "DeviceBaseosRetry" // DeviceCmdsSubTypeDeviceStartDebugMode captures enum value "DeviceStartDebugMode" DeviceCmdsSubTypeDeviceStartDebugMode DeviceCmdsSubType = "DeviceStartDebugMode" // DeviceCmdsSubTypeDeviceStopDebugMode captures enum value "DeviceStopDebugMode" DeviceCmdsSubTypeDeviceStopDebugMode DeviceCmdsSubType = "DeviceStopDebugMode" // DeviceCmdsSubTypePreparePowerOff captures enum value "PreparePowerOff" DeviceCmdsSubTypePreparePowerOff DeviceCmdsSubType = "PreparePowerOff" // DeviceCmdsSubTypeDeviceStartEdgeviewMode captures enum value "DeviceStartEdgeviewMode" DeviceCmdsSubTypeDeviceStartEdgeviewMode DeviceCmdsSubType = "DeviceStartEdgeviewMode" // DeviceCmdsSubTypeDeviceStopEdgeviewMode captures enum value "DeviceStopEdgeviewMode" DeviceCmdsSubTypeDeviceStopEdgeviewMode DeviceCmdsSubType = "DeviceStopEdgeviewMode" // DeviceCmdsSubTypeDeviceEdgeviewClientScript captures enum value "DeviceEdgeviewClientScript" DeviceCmdsSubTypeDeviceEdgeviewClientScript DeviceCmdsSubType = "DeviceEdgeviewClientScript" )
func NewDeviceCmdsSubType ¶
func NewDeviceCmdsSubType(value DeviceCmdsSubType) *DeviceCmdsSubType
func (DeviceCmdsSubType) ContextValidate ¶
ContextValidate validates this device cmds sub type based on context it is used
func (DeviceCmdsSubType) Pointer ¶
func (m DeviceCmdsSubType) Pointer() *DeviceCmdsSubType
Pointer returns a pointer to a freshly-allocated DeviceCmdsSubType.
type DeviceConfigList ¶
type DeviceConfigList struct { // device config list // Required: true List []*DeviceConfigSummary `json:"list"` // filter next // Required: true Next *Cursor `json:"next"` // Summary by state // Required: true SummaryByState *Summary `json:"summaryByState"` // Summary by project distribution SummaryByTagDistribution *Summary `json:"summaryByTagDistribution,omitempty"` }
DeviceConfigList Device configuration payload detail
Device configuration request paylod ¶
swagger:model DeviceConfigList
func (*DeviceConfigList) ContextValidate ¶
ContextValidate validate this device config list based on the context it is used
func (*DeviceConfigList) MarshalBinary ¶
func (m *DeviceConfigList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceConfigList) UnmarshalBinary ¶
func (m *DeviceConfigList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceConfigSummary ¶
type DeviceConfigSummary struct { // administrative state of device AdminState *AdminState `json:"adminState,omitempty"` // base images BaseImage []*BaseOSImage `json:"baseImage"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // debug knob details for the device DebugKnob *DebugKnobDetail `json:"debugKnob,omitempty"` // user defined tag for the device, which is used while deploying policies. DeploymentTag string `json:"deploymentTag,omitempty"` // user specified description Description string `json:"description,omitempty"` // system generated unique id for a device // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // System Interface list Interfaces []*SystemInterface `json:"interfaces"` // device model // Required: true ModelID *string `json:"modelId"` // user specified device name // Required: true Name *string `json:"name"` // project name // Required: true ProjectID *string `json:"projectId"` // Device serial number Serialno string `json:"serialno,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // user specified title // Required: true Title *string `json:"title"` // device model arch type Utype *ModelArchType `json:"utype,omitempty"` }
DeviceConfigSummary Device Configuration payload summary
Device Configuration request paylod holds the device properties ¶
swagger:model DeviceConfigSummary
func (*DeviceConfigSummary) ContextValidate ¶
ContextValidate validate this device config summary based on the context it is used
func (*DeviceConfigSummary) MarshalBinary ¶
func (m *DeviceConfigSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceConfigSummary) UnmarshalBinary ¶
func (m *DeviceConfigSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceDataSecurityAtRestStatus ¶
type DeviceDataSecurityAtRestStatus string
DeviceDataSecurityAtRestStatus device data security at rest status
swagger:model DeviceDataSecurityAtRestStatus
const ( // DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTUNKNOWN captures enum value "DEVICE_DATA_SECURITY_AT_REST_UNKNOWN" DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTUNKNOWN DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_UNKNOWN" // DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTDISABLED captures enum value "DEVICE_DATA_SECURITY_AT_REST_DISABLED" DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTDISABLED DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_DISABLED" // DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTENABLED captures enum value "DEVICE_DATA_SECURITY_AT_REST_ENABLED" DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTENABLED DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_ENABLED" // DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTERROR captures enum value "DEVICE_DATA_SECURITY_AT_REST_ERROR" DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTERROR DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_ERROR" )
func NewDeviceDataSecurityAtRestStatus ¶
func NewDeviceDataSecurityAtRestStatus(value DeviceDataSecurityAtRestStatus) *DeviceDataSecurityAtRestStatus
func (DeviceDataSecurityAtRestStatus) ContextValidate ¶
func (m DeviceDataSecurityAtRestStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this device data security at rest status based on context it is used
func (DeviceDataSecurityAtRestStatus) Pointer ¶
func (m DeviceDataSecurityAtRestStatus) Pointer() *DeviceDataSecurityAtRestStatus
Pointer returns a pointer to a freshly-allocated DeviceDataSecurityAtRestStatus.
type DeviceEntity ¶
type DeviceEntity struct { // entity Entity *Entity `json:"entity,omitempty"` // entity Id EntityID string `json:"entityId,omitempty"` // entity name EntityName string `json:"entityName,omitempty"` }
DeviceEntity device entity
swagger:model DeviceEntity
func (*DeviceEntity) ContextValidate ¶
ContextValidate validate this device entity based on the context it is used
func (*DeviceEntity) MarshalBinary ¶
func (m *DeviceEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceEntity) UnmarshalBinary ¶
func (m *DeviceEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceError ¶
type DeviceError struct { // Description of the error // Required: true Description *string `json:"description"` // objects referenced by the description or retry_condition // Required: true Entities []*DeviceEntity `json:"entities"` // condition for retry RetryCondition string `json:"retryCondition,omitempty"` // Severity of the error // Required: true Severity *Severity `json:"severity"` // Timestamp at which error had occurred // Required: true Timestamp interface{} `json:"timestamp"` }
DeviceError DeviceError is used to store the error details of the hardware.
DeviceError store the error occurred at the device side ¶
swagger:model DeviceError
func (*DeviceError) ContextValidate ¶
ContextValidate validate this device error based on the context it is used
func (*DeviceError) MarshalBinary ¶
func (m *DeviceError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceError) UnmarshalBinary ¶
func (m *DeviceError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceFilter ¶
type DeviceFilter struct { // admin state of the device AdminState *AdminState `json:"adminState,omitempty"` // name pattern // Required: true NamePattern *string `json:"namePattern"` // project // Required: true Project *string `json:"project"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` }
DeviceFilter DeviceFilter payload detail
DeviceFilter request paylod ¶
swagger:model DeviceFilter
func (*DeviceFilter) ContextValidate ¶
ContextValidate validate this device filter based on the context it is used
func (*DeviceFilter) MarshalBinary ¶
func (m *DeviceFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceFilter) UnmarshalBinary ¶
func (m *DeviceFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceHWSecurityModuleStatus ¶
type DeviceHWSecurityModuleStatus string
DeviceHWSecurityModuleStatus device h w security module status
swagger:model DeviceHWSecurityModuleStatus
const ( // DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSUNSPECIFIED captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_UNSPECIFIED" DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSUNSPECIFIED DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_UNSPECIFIED" // DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSNOTFOUND captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_NOT_FOUND" DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSNOTFOUND DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_NOT_FOUND" // DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSDISABLED captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_DISABLED" DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSDISABLED DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_DISABLED" // DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSENABLED captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_ENABLED" DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSENABLED DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_ENABLED" )
func NewDeviceHWSecurityModuleStatus ¶
func NewDeviceHWSecurityModuleStatus(value DeviceHWSecurityModuleStatus) *DeviceHWSecurityModuleStatus
func (DeviceHWSecurityModuleStatus) ContextValidate ¶
func (m DeviceHWSecurityModuleStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this device h w security module status based on context it is used
func (DeviceHWSecurityModuleStatus) Pointer ¶
func (m DeviceHWSecurityModuleStatus) Pointer() *DeviceHWSecurityModuleStatus
Pointer returns a pointer to a freshly-allocated DeviceHWSecurityModuleStatus.
type DeviceInfo ¶
type DeviceInfo struct { // cpu arch CPUArch string `json:"cpuArch,omitempty"` // machine arch MachineArch string `json:"machineArch,omitempty"` // mem m b MemMB string `json:"memMB,omitempty"` // n Cpu NCPU int64 `json:"nCpu,omitempty"` // platform Platform string `json:"platform,omitempty"` // storage m b StorageMB string `json:"storageMB,omitempty"` }
DeviceInfo device info
swagger:model DeviceInfo
func (*DeviceInfo) ContextValidate ¶
ContextValidate validates this device info based on context it is used
func (*DeviceInfo) MarshalBinary ¶
func (m *DeviceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceInfo) UnmarshalBinary ¶
func (m *DeviceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceInfoMsg ¶
type DeviceInfoMsg struct { // Cpu CPU *CPUSummary `json:"Cpu,omitempty"` // memory - OBSOLETE. Use memorySummary instead. Memory *MemorySummary `json:"Memory,omitempty"` // storage Storage *StorageSummary `json:"Storage,omitempty"` // admin state AdminState *AdminState `json:"adminState,omitempty"` // attest state AttestState *AttestState `json:"attestState,omitempty"` // blob list BlobList []*BlobStatus `json:"blobList"` // boot time // Format: date-time BootTime strfmt.DateTime `json:"bootTime,omitempty"` // Information about hardware capabilities // // Edge node virtualization capabilities. Capabilities *Capabilities `json:"capabilities,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // data sec info DataSecInfo []*DevDataSecAtRest `json:"dataSecInfo"` // debug knob expiry time DebugKnob bool `json:"debugKnob,omitempty"` // debug knob expiry time // Format: date-time DebugKnobExpiryTime strfmt.DateTime `json:"debugKnobExpiryTime,omitempty"` // dev error DevError []*DeviceError `json:"devError"` // device reboot reason DeviceRebootReason *DeviceBootReason `json:"deviceRebootReason,omitempty"` // dinfo Dinfo *DeviceInfo `json:"dinfo,omitempty"` // dns DNS *DNSInfo `json:"dns,omitempty"` // host name HostName string `json:"hostName,omitempty"` // id ID string `json:"id,omitempty"` // io status list IoStatusList []*IoBundleStatus `json:"ioStatusList"` // last reboot reason LastRebootReason string `json:"lastRebootReason,omitempty"` // last reboot time // Format: date-time LastRebootTime strfmt.DateTime `json:"lastRebootTime,omitempty"` // last update // Format: date-time LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"` // Device memory Info MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"` // minfo Minfo *ZManufacturerInfo `json:"minfo,omitempty"` // name Name string `json:"name,omitempty"` // net counter list NetCounterList []*NetworkCounters `json:"netCounterList"` // net status list NetStatusList []*NetworkStatus `json:"netStatusList"` // physical storage PhysicalStorage []*PhysicalStorage `json:"physicalStorage"` // project Id ProjectID string `json:"projectId,omitempty"` // raw status RawStatus string `json:"rawStatus,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // storage list StorageList []*StorageStatus `json:"storageList"` // sw info SwInfo []*DeviceSWInfo `json:"swInfo"` // deprecated = 6; // // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // title Title string `json:"title,omitempty"` // up time // Format: date-time UpTime strfmt.DateTime `json:"upTime,omitempty"` // zc counters ZcCounters []*ZedcloudCounters `json:"zcCounters"` // Last received counters for zpool metrics. ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"` }
DeviceInfoMsg device info msg
swagger:model DeviceInfoMsg
func (*DeviceInfoMsg) ContextValidate ¶
ContextValidate validate this device info msg based on the context it is used
func (*DeviceInfoMsg) MarshalBinary ¶
func (m *DeviceInfoMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceInfoMsg) UnmarshalBinary ¶
func (m *DeviceInfoMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceLisp ¶
type DeviceLisp struct { // EID // Required: true EID *string `json:"EID"` // EID hash length // Required: true EIDHashLen *int64 `json:"EIDHashLen"` // Client Address // Required: true ClientAddr *string `json:"clientAddr"` // EID allocation prefix // Required: true // Format: byte EidAllocationPrefix *string `json:"eidAllocationPrefix"` // EID allocation prefix length // Required: true EidAllocationPrefixLen *int64 `json:"eidAllocationPrefixLen"` // LISP instance // Required: true LispInstance *int64 `json:"lispInstance"` // List of Lisp servers // Required: true LispMapServers []*LispServer `json:"lispMapServers"` // TEMP : flag to indicate which version of LISP data plane should be running on the device // Required: true Mode *string `json:"mode"` // Zed development servers // Required: true ZedServers []*DevZedServer `json:"zedServers"` }
DeviceLisp DeviceLisp payload detail
DeviceLisp request paylod ¶
swagger:model DeviceLisp
func (*DeviceLisp) ContextValidate ¶
ContextValidate validate this device lisp based on the context it is used
func (*DeviceLisp) MarshalBinary ¶
func (m *DeviceLisp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceLisp) UnmarshalBinary ¶
func (m *DeviceLisp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceLoad ¶
type DeviceLoad string
DeviceLoad device load
swagger:model DeviceLoad
const ( // DeviceLoadDEVICELOADUNSPECIFIED captures enum value "DEVICE_LOAD_UNSPECIFIED" DeviceLoadDEVICELOADUNSPECIFIED DeviceLoad = "DEVICE_LOAD_UNSPECIFIED" // DeviceLoadDEVICELOADFREE captures enum value "DEVICE_LOAD_FREE" DeviceLoadDEVICELOADFREE DeviceLoad = "DEVICE_LOAD_FREE" // DeviceLoadDEVICELOADMODERATE captures enum value "DEVICE_LOAD_MODERATE" DeviceLoadDEVICELOADMODERATE DeviceLoad = "DEVICE_LOAD_MODERATE" // DeviceLoadDEVICELOADHEAVY captures enum value "DEVICE_LOAD_HEAVY" DeviceLoadDEVICELOADHEAVY DeviceLoad = "DEVICE_LOAD_HEAVY" )
func NewDeviceLoad ¶
func NewDeviceLoad(value DeviceLoad) *DeviceLoad
func (DeviceLoad) ContextValidate ¶
ContextValidate validates this device load based on context it is used
func (DeviceLoad) Pointer ¶
func (m DeviceLoad) Pointer() *DeviceLoad
Pointer returns a pointer to a freshly-allocated DeviceLoad.
type DeviceLocation ¶
type DeviceLocation struct { // count Count int64 `json:"count,omitempty"` // location Location string `json:"location,omitempty"` }
DeviceLocation device location
swagger:model DeviceLocation
func (*DeviceLocation) ContextValidate ¶
ContextValidate validates this device location based on context it is used
func (*DeviceLocation) MarshalBinary ¶
func (m *DeviceLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceLocation) UnmarshalBinary ¶
func (m *DeviceLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceLocations ¶
type DeviceLocations struct { // device locations DeviceLocations []*DeviceLocation `json:"deviceLocations"` // next Next *Cursor `json:"next,omitempty"` }
DeviceLocations device locations
swagger:model DeviceLocations
func (*DeviceLocations) ContextValidate ¶
ContextValidate validate this device locations based on the context it is used
func (*DeviceLocations) MarshalBinary ¶
func (m *DeviceLocations) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceLocations) UnmarshalBinary ¶
func (m *DeviceLocations) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceMemorySummary ¶
type DeviceMemorySummary struct { // Total memory allocated to app instances. AllocatedAppsMB float64 `json:"allocatedAppsMB,omitempty"` // Total memory allocated to EVE on the device. AllocatedEveMB float64 `json:"allocatedEveMB,omitempty"` // availableForNewApps = deviceMemoryMB - ( allocatedForAppsMB + allocatedForEveMB ) // // Memory Available for new app-instances on the device. AvailableForNewApps float64 `json:"availableForNewApps,omitempty"` // deviceMemoryMB >= allocatedForAppsMB + allocatedForEveMB // // Total memory on the device. DeviceMemoryMB float64 `json:"deviceMemoryMB,omitempty"` // usedByEveMB <= allocatedForEveMB // // Memory currently used by EVE on the device. UsedEveMB float64 `json:"usedEveMB,omitempty"` }
DeviceMemorySummary Device Memory Information message
DeviceMemorySummary encapsulates the memory status of the device.
swagger:model DeviceMemorySummary
func (*DeviceMemorySummary) ContextValidate ¶
ContextValidate validates this device memory summary based on context it is used
func (*DeviceMemorySummary) MarshalBinary ¶
func (m *DeviceMemorySummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceMemorySummary) UnmarshalBinary ¶
func (m *DeviceMemorySummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceObjectUsageInfo ¶
type DeviceObjectUsageInfo struct { // Timestamp at which object was created // Required: true CreateTime interface{} `json:"createTime"` // Timestamp at which object refcount was last changed // Required: true LastRefCountChangeTime interface{} `json:"lastRefCountChangeTime"` // Object refcount // Required: true RefCount *int64 `json:"refCount"` }
DeviceObjectUsageInfo DeviceObjectUsageInfo carries metadata of object usage on the device.
DeviceObjectUsageInfo provides the metadata of object usage on the device ¶
swagger:model DeviceObjectUsageInfo
func (*DeviceObjectUsageInfo) ContextValidate ¶
ContextValidate validates this device object usage info based on context it is used
func (*DeviceObjectUsageInfo) MarshalBinary ¶
func (m *DeviceObjectUsageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceObjectUsageInfo) UnmarshalBinary ¶
func (m *DeviceObjectUsageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevicePolicy ¶
type DevicePolicy struct { // device attestation policy AttestationPolicy *DeviceAttestationPolicy `json:"attestationPolicy,omitempty"` // all the required metadata for a policy like id, name, different types of tags MetaData *PolicyCommon `json:"metaData,omitempty"` // device policy type PolicySubType *DevicePolicyType `json:"policySubType,omitempty"` }
DevicePolicy device policy
swagger:model DevicePolicy
func (*DevicePolicy) ContextValidate ¶
ContextValidate validate this device policy based on the context it is used
func (*DevicePolicy) MarshalBinary ¶
func (m *DevicePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevicePolicy) UnmarshalBinary ¶
func (m *DevicePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevicePolicyType ¶
type DevicePolicyType string
DevicePolicyType device policy type
swagger:model DevicePolicyType
const ( // DevicePolicyTypeDEVICEPOLICYTYPEUNSPECIFIED captures enum value "DEVICE_POLICY_TYPE_UNSPECIFIED" DevicePolicyTypeDEVICEPOLICYTYPEUNSPECIFIED DevicePolicyType = "DEVICE_POLICY_TYPE_UNSPECIFIED" // DevicePolicyTypeDEVICEPOLICYTYPEATTESTATION captures enum value "DEVICE_POLICY_TYPE_ATTESTATION" DevicePolicyTypeDEVICEPOLICYTYPEATTESTATION DevicePolicyType = "DEVICE_POLICY_TYPE_ATTESTATION" )
func NewDevicePolicyType ¶
func NewDevicePolicyType(value DevicePolicyType) *DevicePolicyType
func (DevicePolicyType) ContextValidate ¶
ContextValidate validates this device policy type based on context it is used
func (DevicePolicyType) Pointer ¶
func (m DevicePolicyType) Pointer() *DevicePolicyType
Pointer returns a pointer to a freshly-allocated DevicePolicyType.
type DeviceRawMetrics ¶
type DeviceRawMetrics struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // raw metrics RawMetrics string `json:"rawMetrics,omitempty"` }
DeviceRawMetrics device raw metrics
swagger:model DeviceRawMetrics
func (*DeviceRawMetrics) ContextValidate ¶
ContextValidate validates this device raw metrics based on context it is used
func (*DeviceRawMetrics) MarshalBinary ¶
func (m *DeviceRawMetrics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceRawMetrics) UnmarshalBinary ¶
func (m *DeviceRawMetrics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceSWInfo ¶
type DeviceSWInfo struct { // activated Activated bool `json:"activated,omitempty"` // download progress DownloadProgress int64 `json:"downloadProgress,omitempty"` // long version LongVersion string `json:"longVersion,omitempty"` // partition device PartitionDevice string `json:"partitionDevice,omitempty"` // partition label PartitionLabel string `json:"partitionLabel,omitempty"` // partition state PartitionState string `json:"partitionState,omitempty"` // short version ShortVersion string `json:"shortVersion,omitempty"` // status Status *SWState `json:"status,omitempty"` // sub status progress SubStatusProgress int64 `json:"subStatusProgress,omitempty"` // sw error SwError *DeviceError `json:"swError,omitempty"` // sw status SwStatus *DeviceSWStatus `json:"swStatus,omitempty"` // sw sub status SwSubStatus *DeviceSWSubStatus `json:"swSubStatus,omitempty"` // sw sub status str SwSubStatusStr string `json:"swSubStatusStr,omitempty"` }
DeviceSWInfo device s w info
swagger:model DeviceSWInfo
func (*DeviceSWInfo) ContextValidate ¶
ContextValidate validate this device s w info based on the context it is used
func (*DeviceSWInfo) MarshalBinary ¶
func (m *DeviceSWInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceSWInfo) UnmarshalBinary ¶
func (m *DeviceSWInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceSWStatus ¶
type DeviceSWStatus string
DeviceSWStatus device s w status
swagger:model DeviceSWStatus
const ( // DeviceSWStatusDEVICESWSTATUSUNSPECIFIED captures enum value "DEVICE_SW_STATUS_UNSPECIFIED" DeviceSWStatusDEVICESWSTATUSUNSPECIFIED DeviceSWStatus = "DEVICE_SW_STATUS_UNSPECIFIED" // DeviceSWStatusDEVICESWSTATUSDOWNLOADING captures enum value "DEVICE_SW_STATUS_DOWNLOADING" DeviceSWStatusDEVICESWSTATUSDOWNLOADING DeviceSWStatus = "DEVICE_SW_STATUS_DOWNLOADING" // DeviceSWStatusDEVICESWSTATUSDOWNLOADDONE captures enum value "DEVICE_SW_STATUS_DOWNLOADDONE" DeviceSWStatusDEVICESWSTATUSDOWNLOADDONE DeviceSWStatus = "DEVICE_SW_STATUS_DOWNLOADDONE" // DeviceSWStatusDEVICESWSTATUSUPDATING captures enum value "DEVICE_SW_STATUS_UPDATING" DeviceSWStatusDEVICESWSTATUSUPDATING DeviceSWStatus = "DEVICE_SW_STATUS_UPDATING" // DeviceSWStatusDEVICESWSTATUSUPDATED captures enum value "DEVICE_SW_STATUS_UPDATED" DeviceSWStatusDEVICESWSTATUSUPDATED DeviceSWStatus = "DEVICE_SW_STATUS_UPDATED" // DeviceSWStatusDEVICESWSTATUSFALLBACK captures enum value "DEVICE_SW_STATUS_FALLBACK" DeviceSWStatusDEVICESWSTATUSFALLBACK DeviceSWStatus = "DEVICE_SW_STATUS_FALLBACK" // DeviceSWStatusDEVICESWSTATUSFAILED captures enum value "DEVICE_SW_STATUS_FAILED" DeviceSWStatusDEVICESWSTATUSFAILED DeviceSWStatus = "DEVICE_SW_STATUS_FAILED" )
func NewDeviceSWStatus ¶
func NewDeviceSWStatus(value DeviceSWStatus) *DeviceSWStatus
func (DeviceSWStatus) ContextValidate ¶
ContextValidate validates this device s w status based on context it is used
func (DeviceSWStatus) Pointer ¶
func (m DeviceSWStatus) Pointer() *DeviceSWStatus
Pointer returns a pointer to a freshly-allocated DeviceSWStatus.
type DeviceSWSubStatus ¶
type DeviceSWSubStatus string
DeviceSWSubStatus device s w sub status
swagger:model DeviceSWSubStatus
const ( // DeviceSWSubStatusDEVICESWSUBSTATUSUNSPECIFIED captures enum value "DEVICE_SW_SUB_STATUS_UNSPECIFIED" DeviceSWSubStatusDEVICESWSUBSTATUSUNSPECIFIED DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UNSPECIFIED" // DeviceSWSubStatusDEVICESWSUBSTATUSDOWNLOADINPROGRESS captures enum value "DEVICE_SW_SUB_STATUS_DOWNLOAD_IN_PROGRESS" DeviceSWSubStatusDEVICESWSUBSTATUSDOWNLOADINPROGRESS DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_DOWNLOAD_IN_PROGRESS" // DeviceSWSubStatusDEVICESWSUBSTATUSVERIFYINPROGRESS captures enum value "DEVICE_SW_SUB_STATUS_VERIFY_IN_PROGRESS" DeviceSWSubStatusDEVICESWSUBSTATUSVERIFYINPROGRESS DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_VERIFY_IN_PROGRESS" // DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEINITIALIZING captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_INITIALIZING" DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEINITIALIZING DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_INITIALIZING" // DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEREBOOTING captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_REBOOTING" DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEREBOOTING DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_REBOOTING" // DeviceSWSubStatusDEVICESWSUBSTATUSUPDATETESTING captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_TESTING" DeviceSWSubStatusDEVICESWSUBSTATUSUPDATETESTING DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_TESTING" // DeviceSWSubStatusDEVICESWSUBSTATUSUPDATENEEDTESTCONFIRM captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_NEED_TEST_CONFIRM" DeviceSWSubStatusDEVICESWSUBSTATUSUPDATENEEDTESTCONFIRM DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_NEED_TEST_CONFIRM" // DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEDEFERRED captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_DEFERRED" DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEDEFERRED DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_DEFERRED" )
func NewDeviceSWSubStatus ¶
func NewDeviceSWSubStatus(value DeviceSWSubStatus) *DeviceSWSubStatus
func (DeviceSWSubStatus) ContextValidate ¶
ContextValidate validates this device s w sub status based on context it is used
func (DeviceSWSubStatus) Pointer ¶
func (m DeviceSWSubStatus) Pointer() *DeviceSWSubStatus
Pointer returns a pointer to a freshly-allocated DeviceSWSubStatus.
type DeviceStatusConfig ¶
type DeviceStatusConfig struct { // Admin state of the device AdminState *AdminState `json:"adminState,omitempty"` // Number of app instance that is running on the device AppInstCount string `json:"appInstCount,omitempty"` // Device info like storage, arch, memory etc Dinfo *DeviceInfo `json:"dinfo,omitempty"` // Eve image name that was running on the device EveImageName string `json:"eveImageName,omitempty"` // system generated unique id for a device // Required: true // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id"` // Boolean that tells whether the active eve image is latest or not IsEveLatest string `json:"isEveLatest,omitempty"` // Device location Location string `json:"location,omitempty"` // user specified device name // Required: true Name *string `json:"name"` // project Id of the device ProjectID string `json:"projectId,omitempty"` // project name of the device ProjectName string `json:"projectName,omitempty"` // Run state of the device RunState *RunState `json:"runState,omitempty"` // Device serial number // Required: true SerialNo *string `json:"serialNo"` // software info reported by the device SwInfo []*DeviceSWInfo `json:"swInfo"` // user specified title Title string `json:"title,omitempty"` }
DeviceStatusConfig Device status config response detail
Device status and config response details ¶
swagger:model deviceStatusConfig
func (*DeviceStatusConfig) ContextValidate ¶
ContextValidate validate this device status config based on the context it is used
func (*DeviceStatusConfig) MarshalBinary ¶
func (m *DeviceStatusConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceStatusConfig) UnmarshalBinary ¶
func (m *DeviceStatusConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceStatusConfigList ¶
type DeviceStatusConfigList struct { // List of device status config // Required: true List []*DeviceStatusConfig `json:"list"` // Page details of the filtered records Next *Cursor `json:"next,omitempty"` // Device status config summary by app instance count // Required: true SummaryByAppInstanceCount *Summary `json:"summaryByAppInstanceCount"` // Device status config summary by eve distribution // Required: true SummaryByEVEDistribution *Summary `json:"summaryByEVEDistribution"` // Device status config summary by state // Required: true SummaryByState *Summary `json:"summaryByState"` // total count of devices // Required: true TotalCount *int64 `json:"totalCount"` // total count of edgeview active of devices TotalEvActiveCount int64 `json:"totalEvActiveCount,omitempty"` }
DeviceStatusConfigList Device status config composite api response detail
Device statu sna config composite api response details ¶
swagger:model DeviceStatusConfigList
func (*DeviceStatusConfigList) ContextValidate ¶
func (m *DeviceStatusConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this device status config list based on the context it is used
func (*DeviceStatusConfigList) MarshalBinary ¶
func (m *DeviceStatusConfigList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceStatusConfigList) UnmarshalBinary ¶
func (m *DeviceStatusConfigList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceStatusFilter ¶
type DeviceStatusFilter struct { // device name DeviceName string `json:"deviceName,omitempty"` // load Load *DeviceLoad `json:"load,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // tags Tags map[string]string `json:"tags,omitempty"` }
DeviceStatusFilter device status filter
swagger:model DeviceStatusFilter
func (*DeviceStatusFilter) ContextValidate ¶
ContextValidate validate this device status filter based on the context it is used
func (*DeviceStatusFilter) MarshalBinary ¶
func (m *DeviceStatusFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceStatusFilter) UnmarshalBinary ¶
func (m *DeviceStatusFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceStatusListMsg ¶
type DeviceStatusListMsg struct { // list List []*DeviceStatusSummaryMsg `json:"list"` // next Next *Cursor `json:"next,omitempty"` // summary by app instance count SummaryByAppInstanceCount *Summary `json:"summaryByAppInstanceCount,omitempty"` // summary by e v e distribution SummaryByEVEDistribution *Summary `json:"summaryByEVEDistribution,omitempty"` // summary by state SummaryByState *Summary `json:"summaryByState,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` // total edgeview active TotalEdgeviewActive int64 `json:"totalEdgeviewActive,omitempty"` }
DeviceStatusListMsg device status list msg
swagger:model DeviceStatusListMsg
func (*DeviceStatusListMsg) ContextValidate ¶
ContextValidate validate this device status list msg based on the context it is used
func (*DeviceStatusListMsg) MarshalBinary ¶
func (m *DeviceStatusListMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceStatusListMsg) UnmarshalBinary ¶
func (m *DeviceStatusListMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceStatusMsg ¶
type DeviceStatusMsg struct { // Cpu CPU *CPUSummary `json:"Cpu,omitempty"` // memory - OBSOLETE. Use memorySummary instead. Memory *MemorySummary `json:"Memory,omitempty"` // storage Storage *StorageSummary `json:"Storage,omitempty"` // admin state AdminState *AdminState `json:"adminState,omitempty"` // attest state AttestState *AttestState `json:"attestState,omitempty"` // blob list BlobList []*BlobStatus `json:"blobList"` // boot time // Format: date-time BootTime strfmt.DateTime `json:"bootTime,omitempty"` // Information about hardware capabilities // // Edge node virtualization capabilities. Capabilities *Capabilities `json:"capabilities,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // data sec info DataSecInfo []*DevDataSecAtRest `json:"dataSecInfo"` // dev error DevError []*DeviceError `json:"devError"` // device reboot reason DeviceRebootReason *DeviceBootReason `json:"deviceRebootReason,omitempty"` // dinfo Dinfo *DeviceInfo `json:"dinfo,omitempty"` // dns DNS *DNSInfo `json:"dns,omitempty"` // host name HostName string `json:"hostName,omitempty"` // id ID string `json:"id,omitempty"` // io status list IoStatusList []*IoBundleStatus `json:"ioStatusList"` // last reboot reason LastRebootReason string `json:"lastRebootReason,omitempty"` // last reboot time // Format: date-time LastRebootTime strfmt.DateTime `json:"lastRebootTime,omitempty"` // last update // Format: date-time LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"` // Device memory Info MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"` // minfo Minfo *ZManufacturerInfo `json:"minfo,omitempty"` // name Name string `json:"name,omitempty"` // net counter list NetCounterList []*NetworkCounters `json:"netCounterList"` // net status list NetStatusList []*NetworkStatus `json:"netStatusList"` // project Id ProjectID string `json:"projectId,omitempty"` // raw metrics RawMetrics string `json:"rawMetrics,omitempty"` // raw status RawStatus string `json:"rawStatus,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // storage list StorageList []*StorageStatus `json:"storageList"` // sw info SwInfo []*DeviceSWInfo `json:"swInfo"` // deprecated = 6; // // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // title Title string `json:"title,omitempty"` // up time // Format: date-time UpTime strfmt.DateTime `json:"upTime,omitempty"` // zc counters ZcCounters []*ZedcloudCounters `json:"zcCounters"` // Last received counters for zpool metrics. ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"` }
DeviceStatusMsg to be deprecated
swagger:model DeviceStatusMsg
func (*DeviceStatusMsg) ContextValidate ¶
ContextValidate validate this device status msg based on the context it is used
func (*DeviceStatusMsg) MarshalBinary ¶
func (m *DeviceStatusMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceStatusMsg) UnmarshalBinary ¶
func (m *DeviceStatusMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceStatusSummaryMsg ¶
type DeviceStatusSummaryMsg struct { // Cpu CPU *CPUSummary `json:"Cpu,omitempty"` // Memory - OBSOLETE. Use memorySummary instead. Memory *MemorySummary `json:"Memory,omitempty"` // storage Storage *StorageSummary `json:"Storage,omitempty"` // admin state AdminState *AdminState `json:"adminState,omitempty"` // App instance count that is actively running on the device AppInstCount int64 `json:"appInstCount,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // debug knob expiry time DebugKnob bool `json:"debugKnob,omitempty"` // debug knob expiry time // Format: date-time DebugKnobExpiryTime strfmt.DateTime `json:"debugKnobExpiryTime,omitempty"` // dev error DevError []*DeviceError `json:"devError"` // dinfo Dinfo *DeviceInfo `json:"dinfo,omitempty"` // Device edgeview session active EdgeviewActive bool `json:"edgeviewActive,omitempty"` // id ID string `json:"id,omitempty"` // Device location Location string `json:"location,omitempty"` // Device memory Info MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"` // minfo Minfo *ZManufacturerInfo `json:"minfo,omitempty"` // name Name string `json:"name,omitempty"` // net status list NetStatusList []*NetworkStatus `json:"netStatusList"` // project Id ProjectID string `json:"projectId,omitempty"` // Project name to which device is associated with ProjectName string `json:"projectName,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // sw info SwInfo []*DeviceSWInfo `json:"swInfo"` // deprecated = 5; // // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // title Title string `json:"title,omitempty"` }
DeviceStatusSummaryMsg device status summary msg
swagger:model DeviceStatusSummaryMsg
func (*DeviceStatusSummaryMsg) ContextValidate ¶
func (m *DeviceStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this device status summary msg based on the context it is used
func (*DeviceStatusSummaryMsg) MarshalBinary ¶
func (m *DeviceStatusSummaryMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceStatusSummaryMsg) UnmarshalBinary ¶
func (m *DeviceStatusSummaryMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DhcpIPRange ¶
type DhcpIPRange struct { // ending IP End string `json:"end,omitempty"` // starting IP Start string `json:"start,omitempty"` }
DhcpIPRange DHCP IP range
DHCP IP range ¶
swagger:model dhcpIpRange
func (*DhcpIPRange) ContextValidate ¶
ContextValidate validates this dhcp Ip range based on context it is used
func (*DhcpIPRange) MarshalBinary ¶
func (m *DhcpIPRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DhcpIPRange) UnmarshalBinary ¶
func (m *DhcpIPRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DhcpServerConfig ¶
type DhcpServerConfig struct { // Range of IP addresses to be used for DHCP DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"` // possible DNS ip address // // IP Addresses of DNS servers DNS []string `json:"dns"` // Network domain Domain string `json:"domain,omitempty"` // IP Address of Network Gateway Gateway string `json:"gateway,omitempty"` // Subnet Mask Mask string `json:"mask,omitempty"` // IP Address of NTP Server Ntp string `json:"ntp,omitempty"` // Subnet address Subnet string `json:"subnet,omitempty"` }
DhcpServerConfig dhcp server config
swagger:model DhcpServerConfig
func (*DhcpServerConfig) ContextValidate ¶
ContextValidate validate this dhcp server config based on the context it is used
func (*DhcpServerConfig) MarshalBinary ¶
func (m *DhcpServerConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DhcpServerConfig) UnmarshalBinary ¶
func (m *DhcpServerConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiskDescription ¶
type DiskDescription struct { // logical name LogicalName string `json:"logicalName,omitempty"` // name Name string `json:"name,omitempty"` // serial Serial string `json:"serial,omitempty"` }
DiskDescription disk description
swagger:model DiskDescription
func (*DiskDescription) ContextValidate ¶
ContextValidate validates this disk description based on context it is used
func (*DiskDescription) MarshalBinary ¶
func (m *DiskDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiskDescription) UnmarshalBinary ¶
func (m *DiskDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Drive ¶
type Drive struct { // If set, don't encrypt the drive. Store in cleartext Cleartext bool `json:"cleartext,omitempty"` // Type of Drive. Valid Values: UNSPECIFIED, CDROM, HDD, NET, HDD_EMPTY. HDD_EMPTY - is to allocate the empty disk of maxsizebytes specified // Required: true Drvtype *string `json:"drvtype"` // don't purge this drive as part of purge command for mutable volumes Ignorepurge bool `json:"ignorepurge,omitempty"` // Name of Image Object used for the drive. // Required: true Imagename *string `json:"imagename"` // immutable Volume for this drive. Only one of imvolname and mvolname must be specified. Imvolname string `json:"imvolname,omitempty"` // Drive maximum size // Required: true Maxsize *string `json:"maxsize"` // Mount Path for the drive in the App Instance Mountpath string `json:"mountpath,omitempty"` // mutable Volume for this drive. Only one of imvolname and mvolname must be specified. Mvolname string `json:"mvolname,omitempty"` // Preserve the drive even when all app instances using it are deleted // Required: true Preserve *bool `json:"preserve"` // Read only flag. If set, drive is mounted as readonly by app instance. // Required: true Readonly *bool `json:"readonly"` // type of target. Valid values: Disk, Kernel, Initrd, RamDisk // Required: true Target *string `json:"target"` // User defined volume to use for this drive Volumelabel string `json:"volumelabel,omitempty"` }
Drive Drive details
Drive configuration ¶
swagger:model drive
func (*Drive) ContextValidate ¶
ContextValidate validates this drive based on context it is used
func (*Drive) MarshalBinary ¶
MarshalBinary interface implementation
func (*Drive) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ECDSA ¶
type ECDSA struct { // ECDSA curve to be used while signing the certificate. Curve string `json:"curve,omitempty"` }
ECDSA e c d s a
swagger:model ECDSA
func (*ECDSA) ContextValidate ¶
ContextValidate validates this e c d s a based on context it is used
func (*ECDSA) MarshalBinary ¶
MarshalBinary interface implementation
func (*ECDSA) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EDConfigItem ¶
type EDConfigItem struct { // boolean value BoolValue bool `json:"boolValue,omitempty"` // float value FloatValue float32 `json:"floatValue,omitempty"` // key Key string `json:"key,omitempty"` // string value StringValue string `json:"stringValue,omitempty"` // uint32 value Uint32Value uint32 `json:"uint32Value,omitempty"` // uint64 value in string format Uint64Value string `json:"uint64Value,omitempty"` // value type ValueType string `json:"valueType,omitempty"` }
EDConfigItem EDConfigItem payload detail
ED Configuration Item request paylod ¶
swagger:model EDConfigItem
func (*EDConfigItem) ContextValidate ¶
ContextValidate validates this e d config item based on context it is used
func (*EDConfigItem) MarshalBinary ¶
func (m *EDConfigItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EDConfigItem) UnmarshalBinary ¶
func (m *EDConfigItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EIDRegister ¶
type EIDRegister struct { // app certificate // Required: true // Format: byte AppCert *string `json:"AppCert"` // App private key // Required: true // Format: byte AppPrivateKey *string `json:"AppPrivateKey"` // App public key // Required: true // Format: byte AppPublicKey *string `json:"AppPublicKey"` // Display name // Required: true DisplayName *string `json:"DisplayName"` // EID // Required: true EID *string `json:"EID"` // EID hash length // Required: true EIDHashLen *int64 `json:"EIDHashLen"` // Lisp Instance // Required: true LispInstance *int64 `json:"LispInstance"` // time CreateTime time.Time // // Lisp Map Server // Required: true LispMapServers []*LispServer `json:"LispMapServers"` // Lisp Signature // Required: true LispSignature *string `json:"LispSignature"` // UUID // Required: true UUID *string `json:"UUID"` }
EIDRegister EID Register detail
EID Register ¶
swagger:model EIDRegister
func (*EIDRegister) ContextValidate ¶
ContextValidate validate this e ID register based on the context it is used
func (*EIDRegister) MarshalBinary ¶
func (m *EIDRegister) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EIDRegister) UnmarshalBinary ¶
func (m *EIDRegister) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EdgeviewCfg ¶
type EdgeviewCfg struct { // app policy AppPolicy *AppAccessPolicy `json:"appPolicy,omitempty"` // dev policy DevPolicy *DevAccessPolicy `json:"devPolicy,omitempty"` // ext policy ExtPolicy *ExtAccessPolicy `json:"extPolicy,omitempty"` // generation Id GenerationID int64 `json:"generationId,omitempty"` // jwt info JwtInfo *JWTInfo `json:"jwtInfo,omitempty"` // token Token string `json:"token,omitempty"` }
EdgeviewCfg edgeview cfg
swagger:model EdgeviewCfg
func (*EdgeviewCfg) ContextValidate ¶
ContextValidate validate this edgeview cfg based on the context it is used
func (*EdgeviewCfg) MarshalBinary ¶
func (m *EdgeviewCfg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EdgeviewCfg) UnmarshalBinary ¶
func (m *EdgeviewCfg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EdgeviewPolicy ¶
type EdgeviewPolicy struct { // Allow inherit instance to change access policy AccessAllowChange bool `json:"accessAllowChange,omitempty"` // Allow device to enable Edgeview in this project // Required: true EdgeviewAllow *bool `json:"edgeviewAllow"` // Edgeview configuration and policies Edgeviewcfg *EdgeviewCfg `json:"edgeviewcfg,omitempty"` // Maximum seconds allowed for Edgeview session MaxExpireSec int64 `json:"maxExpireSec,omitempty"` // Maximum instances allowed for Edgeview MaxInst int64 `json:"maxInst,omitempty"` }
EdgeviewPolicy Edgeview policy body detail
Policy for device edgeview operation ¶
swagger:model EdgeviewPolicy
func (*EdgeviewPolicy) ContextValidate ¶
ContextValidate validate this edgeview policy based on the context it is used
func (*EdgeviewPolicy) MarshalBinary ¶
func (m *EdgeviewPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EdgeviewPolicy) UnmarshalBinary ¶
func (m *EdgeviewPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnrollmentDetail ¶
type EnrollmentDetail struct { // allocation policy AllocationPolicy *AllocationPolicy `json:"allocationPolicy,omitempty"` // attached iot hubs name AttachedIotHubsName []string `json:"attachedIotHubsName"` // certificate enrollment CertificateEnrollment CertificateEnrollmentDetail `json:"certificateEnrollment,omitempty"` // enable iot edge device EnableIotEdgeDevice bool `json:"enableIotEdgeDevice,omitempty"` // mechanism Mechanism *EnrollmentMechanism `json:"mechanism,omitempty"` // symmetric key enrollment SymmetricKeyEnrollment *SymmetricKeyEnrollmentDetail `json:"symmetricKeyEnrollment,omitempty"` // tags Tags map[string]string `json:"tags,omitempty"` // tpm enrollment TpmEnrollment *TPMEnrollmentDetail `json:"tpmEnrollment,omitempty"` }
EnrollmentDetail enrollment detail
swagger:model EnrollmentDetail
func (*EnrollmentDetail) ContextValidate ¶
ContextValidate validate this enrollment detail based on the context it is used
func (*EnrollmentDetail) MarshalBinary ¶
func (m *EnrollmentDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnrollmentDetail) UnmarshalBinary ¶
func (m *EnrollmentDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnrollmentMechanism ¶
type EnrollmentMechanism string
EnrollmentMechanism attestation/mechanism supported by azure.
swagger:model EnrollmentMechanism
const ( // EnrollmentMechanismENROLLMENTMECHANISMUNSPECIFIED captures enum value "ENROLLMENT_MECHANISM_UNSPECIFIED" EnrollmentMechanismENROLLMENTMECHANISMUNSPECIFIED EnrollmentMechanism = "ENROLLMENT_MECHANISM_UNSPECIFIED" // EnrollmentMechanismENROLLMENTMECHANISMSYMMETRICKEY captures enum value "ENROLLMENT_MECHANISM_SYMMETRICKEY" EnrollmentMechanismENROLLMENTMECHANISMSYMMETRICKEY EnrollmentMechanism = "ENROLLMENT_MECHANISM_SYMMETRICKEY" // EnrollmentMechanismENROLLMENTMECHANISMCERTIFICATE captures enum value "ENROLLMENT_MECHANISM_CERTIFICATE" EnrollmentMechanismENROLLMENTMECHANISMCERTIFICATE EnrollmentMechanism = "ENROLLMENT_MECHANISM_CERTIFICATE" // EnrollmentMechanismENROLLMENTMECHANISMTPM captures enum value "ENROLLMENT_MECHANISM_TPM" EnrollmentMechanismENROLLMENTMECHANISMTPM EnrollmentMechanism = "ENROLLMENT_MECHANISM_TPM" )
func NewEnrollmentMechanism ¶
func NewEnrollmentMechanism(value EnrollmentMechanism) *EnrollmentMechanism
func (EnrollmentMechanism) ContextValidate ¶
ContextValidate validates this enrollment mechanism based on context it is used
func (EnrollmentMechanism) Pointer ¶
func (m EnrollmentMechanism) Pointer() *EnrollmentMechanism
Pointer returns a pointer to a freshly-allocated EnrollmentMechanism.
type EnrollmentType ¶
type EnrollmentType string
EnrollmentType enrollment types.
swagger:model EnrollmentType
const ( // EnrollmentTypeENROLLMENTTYPEUNSPECIFIED captures enum value "ENROLLMENT_TYPE_UNSPECIFIED" EnrollmentTypeENROLLMENTTYPEUNSPECIFIED EnrollmentType = "ENROLLMENT_TYPE_UNSPECIFIED" // EnrollmentTypeENROLLMENTTYPEINDIVIDUAL captures enum value "ENROLLMENT_TYPE_INDIVIDUAL" EnrollmentTypeENROLLMENTTYPEINDIVIDUAL EnrollmentType = "ENROLLMENT_TYPE_INDIVIDUAL" // EnrollmentTypeENROLLMENTTYPEGROUP captures enum value "ENROLLMENT_TYPE_GROUP" EnrollmentTypeENROLLMENTTYPEGROUP EnrollmentType = "ENROLLMENT_TYPE_GROUP" )
func NewEnrollmentType ¶
func NewEnrollmentType(value EnrollmentType) *EnrollmentType
func (EnrollmentType) ContextValidate ¶
ContextValidate validates this enrollment type based on context it is used
func (EnrollmentType) Pointer ¶
func (m EnrollmentType) Pointer() *EnrollmentType
Pointer returns a pointer to a freshly-allocated EnrollmentType.
type Enterprise ¶ added in v2.3.0
type Enterprise struct { // hubspot Id HubspotID string `json:"HubspotId,omitempty"` // sfdc Id SfdcID string `json:"SfdcId,omitempty"` // Enterprise settings for API Token expiry to be set in seconds APITokenExpiryInSeconds int64 `json:"apiTokenExpiryInSeconds,omitempty"` // enterprise level key-value pairs Attributes map[string]string `json:"attributes,omitempty"` // Azure subscription ID tied to this enterprise AzureSubID string `json:"azureSubId,omitempty"` // List of all child enterprises ChildEnterprises []*EnterpriseSummary `json:"childEnterprises"` // zedcontrol host ControllerHostURL string `json:"controllerHostURL,omitempty"` // Detailed description of the enterprise // Max Length: 256 Description string `json:"description,omitempty"` // Unique system defined enterprise ID // Read Only: true // Pattern: [0-9A-Za-z_=-]{28} ID string `json:"id,omitempty"` // Perform authorization using parent enterprise InheritAuthFromParent bool `json:"inheritAuthFromParent,omitempty"` // User defined name of the enterprise. Once enterprise is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // string id = 100; // string name = 101; // // Parent enterprise ID // Pattern: [0-9A-Za-z_=-]{28} ParentEntpID string `json:"parentEntpId,omitempty"` // Policy version list PolicyList *PolicyVersionList `json:"policyList,omitempty"` // List of realms associated with the enterprise Realms []string `json:"realms"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // Enterprise state State *EnterpriseState `json:"state,omitempty"` // Enable / Disable streaming of events to 3rd party end point StreamEvents *DataStream `json:"streamEvents,omitempty"` // User defined title for the enterprise. Title can be changed any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Enterprise settings to enforce TOTP TotpSettings *TOTPSettings `json:"totpSettings,omitempty"` // Enterprise type Type *EnterpriseType `json:"type,omitempty"` }
Enterprise Enterprise detail
Enterprise meta data ¶
swagger:model Enterprise
func (*Enterprise) ContextValidate ¶ added in v2.3.0
ContextValidate validate this enterprise based on the context it is used
func (*Enterprise) MarshalBinary ¶ added in v2.3.0
func (m *Enterprise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Enterprise) UnmarshalBinary ¶ added in v2.3.0
func (m *Enterprise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnterpriseState ¶ added in v2.3.0
type EnterpriseState string
EnterpriseState enterprise state
swagger:model EnterpriseState
const ( // EnterpriseStateENTERPRISESTATEUNSPECIFIED captures enum value "ENTERPRISE_STATE_UNSPECIFIED" EnterpriseStateENTERPRISESTATEUNSPECIFIED EnterpriseState = "ENTERPRISE_STATE_UNSPECIFIED" // EnterpriseStateENTERPRISESTATECREATED captures enum value "ENTERPRISE_STATE_CREATED" EnterpriseStateENTERPRISESTATECREATED EnterpriseState = "ENTERPRISE_STATE_CREATED" // EnterpriseStateENTERPRISESTATEDELETED captures enum value "ENTERPRISE_STATE_DELETED" EnterpriseStateENTERPRISESTATEDELETED EnterpriseState = "ENTERPRISE_STATE_DELETED" // EnterpriseStateENTERPRISESTATEACTIVE captures enum value "ENTERPRISE_STATE_ACTIVE" EnterpriseStateENTERPRISESTATEACTIVE EnterpriseState = "ENTERPRISE_STATE_ACTIVE" // EnterpriseStateENTERPRISESTATEINACTIVE captures enum value "ENTERPRISE_STATE_INACTIVE" EnterpriseStateENTERPRISESTATEINACTIVE EnterpriseState = "ENTERPRISE_STATE_INACTIVE" // EnterpriseStateENTERPRISESTATESIGNEDUP captures enum value "ENTERPRISE_STATE_SIGNEDUP" EnterpriseStateENTERPRISESTATESIGNEDUP EnterpriseState = "ENTERPRISE_STATE_SIGNEDUP" )
func NewEnterpriseState ¶ added in v2.3.0
func NewEnterpriseState(value EnterpriseState) *EnterpriseState
func (EnterpriseState) ContextValidate ¶ added in v2.3.0
ContextValidate validates this enterprise state based on context it is used
func (EnterpriseState) Pointer ¶ added in v2.3.0
func (m EnterpriseState) Pointer() *EnterpriseState
Pointer returns a pointer to a freshly-allocated EnterpriseState.
type EnterpriseSummary ¶ added in v2.3.0
type EnterpriseSummary struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
EnterpriseSummary enterprise summary
swagger:model EnterpriseSummary
func (*EnterpriseSummary) ContextValidate ¶ added in v2.3.0
ContextValidate validates this enterprise summary based on context it is used
func (*EnterpriseSummary) MarshalBinary ¶ added in v2.3.0
func (m *EnterpriseSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnterpriseSummary) UnmarshalBinary ¶ added in v2.3.0
func (m *EnterpriseSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnterpriseType ¶ added in v2.3.0
type EnterpriseType string
EnterpriseType enterprise type
swagger:model EnterpriseType
const ( // EnterpriseTypeENTERPRISETYPEUNSPECIFIED captures enum value "ENTERPRISE_TYPE_UNSPECIFIED" EnterpriseTypeENTERPRISETYPEUNSPECIFIED EnterpriseType = "ENTERPRISE_TYPE_UNSPECIFIED" // EnterpriseTypeENTERPRISETYPESELFSIGNUP captures enum value "ENTERPRISE_TYPE_SELFSIGNUP" EnterpriseTypeENTERPRISETYPESELFSIGNUP EnterpriseType = "ENTERPRISE_TYPE_SELFSIGNUP" )
func NewEnterpriseType ¶ added in v2.3.0
func NewEnterpriseType(value EnterpriseType) *EnterpriseType
func (EnterpriseType) ContextValidate ¶ added in v2.3.0
ContextValidate validates this enterprise type based on context it is used
func (EnterpriseType) Pointer ¶ added in v2.3.0
func (m EnterpriseType) Pointer() *EnterpriseType
Pointer returns a pointer to a freshly-allocated EnterpriseType.
type Entity ¶
type Entity string
Entity Edge node components
- ENTITY_UNSPECIFIED: Invalid Device Entity
- ENTITY_BASE_OS: Base OS entity
- ENTITY_SYSTEM_ADAPTER: System Adapter Entity
- ENTITY_VAULT: Vault Entity
- ENTITY_ATTESTATION: Attestation Entity
- ENTITY_APP_INSTANCE: App Instance Entity
- ENTITY_PORT: Port Entity
- ENTITY_NETWORK: Network Entity
- ENTITY_NETWORK_INSTANCE: Network Instance Entity
- ENTITY_CONTENT_TREE: ContentTree Entity
- ENTITY_CONTENT_BLOB: Blob Entity
- ENTITY_VOLUME: VOLUME Entity
swagger:model Entity
const ( // EntityENTITYUNSPECIFIED captures enum value "ENTITY_UNSPECIFIED" EntityENTITYUNSPECIFIED Entity = "ENTITY_UNSPECIFIED" // EntityENTITYBASEOS captures enum value "ENTITY_BASE_OS" EntityENTITYBASEOS Entity = "ENTITY_BASE_OS" // EntityENTITYSYSTEMADAPTER captures enum value "ENTITY_SYSTEM_ADAPTER" EntityENTITYSYSTEMADAPTER Entity = "ENTITY_SYSTEM_ADAPTER" // EntityENTITYVAULT captures enum value "ENTITY_VAULT" EntityENTITYVAULT Entity = "ENTITY_VAULT" // EntityENTITYATTESTATION captures enum value "ENTITY_ATTESTATION" EntityENTITYATTESTATION Entity = "ENTITY_ATTESTATION" // EntityENTITYAPPINSTANCE captures enum value "ENTITY_APP_INSTANCE" EntityENTITYAPPINSTANCE Entity = "ENTITY_APP_INSTANCE" // EntityENTITYPORT captures enum value "ENTITY_PORT" EntityENTITYPORT Entity = "ENTITY_PORT" // EntityENTITYNETWORK captures enum value "ENTITY_NETWORK" EntityENTITYNETWORK Entity = "ENTITY_NETWORK" // EntityENTITYNETWORKINSTANCE captures enum value "ENTITY_NETWORK_INSTANCE" EntityENTITYNETWORKINSTANCE Entity = "ENTITY_NETWORK_INSTANCE" // EntityENTITYCONTENTTREE captures enum value "ENTITY_CONTENT_TREE" EntityENTITYCONTENTTREE Entity = "ENTITY_CONTENT_TREE" // EntityENTITYCONTENTBLOB captures enum value "ENTITY_CONTENT_BLOB" EntityENTITYCONTENTBLOB Entity = "ENTITY_CONTENT_BLOB" // EntityENTITYVOLUME captures enum value "ENTITY_VOLUME" EntityENTITYVOLUME Entity = "ENTITY_VOLUME" )
func (Entity) ContextValidate ¶
ContextValidate validates this entity based on context it is used
type EventQueryResponse ¶
type EventQueryResponse struct { // Event Query response list // Required: true List []*EventQueryResponseItem `json:"list"` // Cursor filter // Required: true Next *Cursor `json:"next"` // Summary of filtered events. Summary *Summary `json:"summary,omitempty"` }
EventQueryResponse Event query Response payload detail
Event query response request payload ¶
swagger:model EventQueryResponse
func (*EventQueryResponse) ContextValidate ¶
ContextValidate validate this event query response based on the context it is used
func (*EventQueryResponse) MarshalBinary ¶
func (m *EventQueryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventQueryResponse) UnmarshalBinary ¶
func (m *EventQueryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventQueryResponseItem ¶
type EventQueryResponseItem struct { // clusterInstance name ClusterInstance string `json:"clusterInstance,omitempty"` // Event description Description string `json:"description,omitempty"` // device name Device string `json:"device,omitempty"` // Event type EventType string `json:"eventType,omitempty"` // instance name Instance string `json:"instance,omitempty"` // Event resources JSONData interface{} `json:"jsonData,omitempty"` // project name Project string `json:"project,omitempty"` // Event resources Resource string `json:"resource,omitempty"` // Event resources ResourceName string `json:"resourceName,omitempty"` // severity: FIXME: should be ENUM Severity string `json:"severity,omitempty"` // source Source *EventSource `json:"source,omitempty"` // Event tags Tags []string `json:"tags"` // event timestamp Timestamp interface{} `json:"timestamp,omitempty"` // User name User string `json:"user,omitempty"` }
EventQueryResponseItem Event query response item payload detail
Event query response item payload ¶
swagger:model EventQueryResponseItem
func (*EventQueryResponseItem) ContextValidate ¶
func (m *EventQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this event query response item based on the context it is used
func (*EventQueryResponseItem) MarshalBinary ¶
func (m *EventQueryResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventQueryResponseItem) UnmarshalBinary ¶
func (m *EventQueryResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventSource ¶
type EventSource string
EventSource Source of events
- EVENT_SOURCE_UNSPECIFIED: Default
- EVENT_SOURCE_SYSTEM: Event is generated as a result of status change reported by edge node / application
- EVENT_SOURCE_USER: Event is generated as a result of an user's configuration action
swagger:model EventSource
const ( // EventSourceEVENTSOURCEUNSPECIFIED captures enum value "EVENT_SOURCE_UNSPECIFIED" EventSourceEVENTSOURCEUNSPECIFIED EventSource = "EVENT_SOURCE_UNSPECIFIED" // EventSourceEVENTSOURCESYSTEM captures enum value "EVENT_SOURCE_SYSTEM" EventSourceEVENTSOURCESYSTEM EventSource = "EVENT_SOURCE_SYSTEM" // EventSourceEVENTSOURCEUSER captures enum value "EVENT_SOURCE_USER" EventSourceEVENTSOURCEUSER EventSource = "EVENT_SOURCE_USER" )
func NewEventSource ¶
func NewEventSource(value EventSource) *EventSource
func (EventSource) ContextValidate ¶
ContextValidate validates this event source based on context it is used
func (EventSource) Pointer ¶
func (m EventSource) Pointer() *EventSource
Pointer returns a pointer to a freshly-allocated EventSource.
type ExtAccessPolicy ¶
type ExtAccessPolicy struct { // external of device edge-view access is allowed or not AllowExt bool `json:"allowExt,omitempty"` }
ExtAccessPolicy ext access policy
swagger:model ExtAccessPolicy
func (*ExtAccessPolicy) ContextValidate ¶
ContextValidate validates this ext access policy based on context it is used
func (*ExtAccessPolicy) MarshalBinary ¶
func (m *ExtAccessPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtAccessPolicy) UnmarshalBinary ¶
func (m *ExtAccessPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExternalOpaqueBinaryBlob ¶
type ExternalOpaqueBinaryBlob struct { // Eve shall use the image name when fileNameToUse is empty // optional - this can be image type or size etc encoded into a single string. // only the application instance agents will interpret this. BlobMetaData string `json:"blobMetaData,omitempty"` // optional - file name to be used for storing this data in EVE. // the same file name shall be advertised to application agent FileNameToUse string `json:"fileNameToUse,omitempty"` // image Id ImageID string `json:"imageId,omitempty"` // Name of the image uploaded into data store ImageName string `json:"imageName,omitempty"` }
ExternalOpaqueBinaryBlob external opaque binary blob
swagger:model ExternalOpaqueBinaryBlob
func (*ExternalOpaqueBinaryBlob) ContextValidate ¶
func (m *ExternalOpaqueBinaryBlob) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this external opaque binary blob based on context it is used
func (*ExternalOpaqueBinaryBlob) MarshalBinary ¶
func (m *ExternalOpaqueBinaryBlob) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExternalOpaqueBinaryBlob) UnmarshalBinary ¶
func (m *ExternalOpaqueBinaryBlob) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlowlogAction ¶
type FlowlogAction string
FlowlogAction flowlog action
swagger:model FlowlogAction
const ( // FlowlogActionFLOWLOGACTIONUNSPECIFIED captures enum value "FLOW_LOG_ACTION_UNSPECIFIED" FlowlogActionFLOWLOGACTIONUNSPECIFIED FlowlogAction = "FLOW_LOG_ACTION_UNSPECIFIED" // FlowlogActionFLOWLOGACTIONDROP captures enum value "FLOW_LOG_ACTION_DROP" FlowlogActionFLOWLOGACTIONDROP FlowlogAction = "FLOW_LOG_ACTION_DROP" // FlowlogActionFLOWLOGACTIONACCEPT captures enum value "FLOW_LOG_ACTION_ACCEPT" FlowlogActionFLOWLOGACTIONACCEPT FlowlogAction = "FLOW_LOG_ACTION_ACCEPT" )
func NewFlowlogAction ¶
func NewFlowlogAction(value FlowlogAction) *FlowlogAction
func (FlowlogAction) ContextValidate ¶
ContextValidate validates this flowlog action based on context it is used
func (FlowlogAction) Pointer ¶
func (m FlowlogAction) Pointer() *FlowlogAction
Pointer returns a pointer to a freshly-allocated FlowlogAction.
type FlowlogCategoryType ¶
type FlowlogCategoryType string
FlowlogCategoryType flowlog category type
swagger:model FlowlogCategoryType
const ( // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEUNSPECIFIED captures enum value "FLOW_LOG_CATEGORY_TYPE_UNSPECIFIED" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEUNSPECIFIED FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_UNSPECIFIED" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEDIRECTION captures enum value "FLOW_LOG_CATEGORY_TYPE_DIRECTION" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEDIRECTION FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_DIRECTION" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACLID captures enum value "FLOW_LOG_CATEGORY_TYPE_ACL_ID" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACLID FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_ACL_ID" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACTION captures enum value "FLOW_LOG_CATEGORY_TYPE_ACTION" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACTION FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_ACTION" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEPROTO captures enum value "FLOW_LOG_CATEGORY_TYPE_PROTO" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEPROTO FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_PROTO" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEIP captures enum value "FLOW_LOG_CATEGORY_TYPE_REMOTE_IP" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEIP FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_REMOTE_IP" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEPORT captures enum value "FLOW_LOG_CATEGORY_TYPE_REMOTE_PORT" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEPORT FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_REMOTE_PORT" // FlowlogCategoryTypeFLOWLOGCATEGORYTYPEFQDN captures enum value "FLOW_LOG_CATEGORY_TYPE_FQDN" FlowlogCategoryTypeFLOWLOGCATEGORYTYPEFQDN FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_FQDN" )
func NewFlowlogCategoryType ¶
func NewFlowlogCategoryType(value FlowlogCategoryType) *FlowlogCategoryType
func (FlowlogCategoryType) ContextValidate ¶
ContextValidate validates this flowlog category type based on context it is used
func (FlowlogCategoryType) Pointer ¶
func (m FlowlogCategoryType) Pointer() *FlowlogCategoryType
Pointer returns a pointer to a freshly-allocated FlowlogCategoryType.
type FlowlogDirection ¶
type FlowlogDirection string
FlowlogDirection flowlog direction
swagger:model FlowlogDirection
const ( // FlowlogDirectionFLOWLOGDIRECTIONUNSPECIFIED captures enum value "FLOW_LOG_DIRECTION_UNSPECIFIED" FlowlogDirectionFLOWLOGDIRECTIONUNSPECIFIED FlowlogDirection = "FLOW_LOG_DIRECTION_UNSPECIFIED" // FlowlogDirectionFLOWLOGDIRECTIONEGRESS captures enum value "FLOW_LOG_DIRECTION_EGRESS" FlowlogDirectionFLOWLOGDIRECTIONEGRESS FlowlogDirection = "FLOW_LOG_DIRECTION_EGRESS" // FlowlogDirectionFLOWLOGDIRECTIONINGRESS captures enum value "FLOW_LOG_DIRECTION_INGRESS" FlowlogDirectionFLOWLOGDIRECTIONINGRESS FlowlogDirection = "FLOW_LOG_DIRECTION_INGRESS" )
func NewFlowlogDirection ¶
func NewFlowlogDirection(value FlowlogDirection) *FlowlogDirection
func (FlowlogDirection) ContextValidate ¶
ContextValidate validates this flowlog direction based on context it is used
func (FlowlogDirection) Pointer ¶
func (m FlowlogDirection) Pointer() *FlowlogDirection
Pointer returns a pointer to a freshly-allocated FlowlogDirection.
type FlowlogMetric ¶
type FlowlogMetric string
FlowlogMetric flowlog metric
swagger:model FlowlogMetric
const ( // FlowlogMetricFLOWLOGMETRICUNSPECIFIED captures enum value "FLOW_LOG_METRIC_UNSPECIFIED" FlowlogMetricFLOWLOGMETRICUNSPECIFIED FlowlogMetric = "FLOW_LOG_METRIC_UNSPECIFIED" // FlowlogMetricFLOWLOGMETRICBYTES captures enum value "FLOW_LOG_METRIC_BYTES" FlowlogMetricFLOWLOGMETRICBYTES FlowlogMetric = "FLOW_LOG_METRIC_BYTES" // FlowlogMetricFLOWLOGMETRICPACKETS captures enum value "FLOW_LOG_METRIC_PACKETS" FlowlogMetricFLOWLOGMETRICPACKETS FlowlogMetric = "FLOW_LOG_METRIC_PACKETS" )
func NewFlowlogMetric ¶
func NewFlowlogMetric(value FlowlogMetric) *FlowlogMetric
func (FlowlogMetric) ContextValidate ¶
ContextValidate validates this flowlog metric based on context it is used
func (FlowlogMetric) Pointer ¶
func (m FlowlogMetric) Pointer() *FlowlogMetric
Pointer returns a pointer to a freshly-allocated FlowlogMetric.
type GPSLocation ¶
type GPSLocation struct { // Altitude from mean sea level Altitude float64 `json:"altitude,omitempty"` // Horizontal reliability HorizontalReliability int64 `json:"horizontalReliability,omitempty"` // Horizontal uncertainty HorizontalUncertainty float64 `json:"horizontalUncertainty,omitempty"` // Latitude Latitude float64 `json:"latitude,omitempty"` // Logical label of the adapter used to get GPS coordinates LogicalLabel string `json:"logicalLabel,omitempty"` // Longitude Longitude float64 `json:"longitude,omitempty"` // UTC timestamp Timestamp interface{} `json:"timestamp,omitempty"` // Vertical reliability VerticalReliability int64 `json:"verticalReliability,omitempty"` // Vertical uncertainty VerticalUncertainty float64 `json:"verticalUncertainty,omitempty"` }
GPSLocation g p s location
swagger:model GPSLocation
func (*GPSLocation) ContextValidate ¶
ContextValidate validates this g p s location based on context it is used
func (*GPSLocation) MarshalBinary ¶
func (m *GPSLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GPSLocation) UnmarshalBinary ¶
func (m *GPSLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeoLocation ¶
type GeoLocation struct { // City City string `json:"city,omitempty"` // Country code consisting of 2 capital letters as per ISO 3166-1 alpha2 standard Country string `json:"country,omitempty"` // Free formatted location string Freeloc string `json:"freeloc,omitempty"` // Host name Hostname string `json:"hostname,omitempty"` // Deprecated field: comma, separated lat, long Latlong string `json:"latlong,omitempty"` // Ordered pair of (latitude, longitude) separated by comma (,). Latitude is the horizontal component used for geographic positioning; it is the angle between 0° (the equator) and ±90° (north or south) at the poles measured in decimal degrees. It is the first value in an ordered pair. A negative number denotes a location south of the equator; a positive number is north. Longitude is the vertical component used for geographic positioning; it is the angle between 0° (the Prime Meridian) and ±180° (westward or eastward) measured in decimal degrees. It is the second number in an ordered pair. A negative number indicates a location west of Greenwich, England; a positive number east. Loc string `json:"loc,omitempty"` // The name of the recipient, firm, or company at this geographical location. Org string `json:"org,omitempty"` // Postal code (ZIP code for USA) of the geographical location Postal string `json:"postal,omitempty"` // Region Region string `json:"region,omitempty"` // Single IP address, either in IPv4 or in IPv6 format UnderlayIP string `json:"underlayIP,omitempty"` }
GeoLocation Geographic location of an edge node
Geographic location of an edge node determined by a variety of data collection mechanisms (e.g. network routing addresses or internal GPS devices).
swagger:model GeoLocation
func (*GeoLocation) ContextValidate ¶
ContextValidate validates this geo location based on context it is used
func (*GeoLocation) MarshalBinary ¶
func (m *GeoLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeoLocation) UnmarshalBinary ¶
func (m *GeoLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GooglerpcStatus ¶
type GooglerpcStatus struct { // code Code int32 `json:"code,omitempty"` // details Details []*ProtobufAny `json:"details"` // message Message string `json:"message,omitempty"` }
GooglerpcStatus googlerpc status
swagger:model googlerpcStatus
func (*GooglerpcStatus) ContextValidate ¶
ContextValidate validate this googlerpc status based on the context it is used
func (*GooglerpcStatus) MarshalBinary ¶
func (m *GooglerpcStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GooglerpcStatus) UnmarshalBinary ¶
func (m *GooglerpcStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupCertificateEnrollment ¶
type GroupCertificateEnrollment struct { // group name GroupName string `json:"groupName,omitempty"` }
GroupCertificateEnrollment group certificate enrollment
swagger:model GroupCertificateEnrollment
func (*GroupCertificateEnrollment) ContextValidate ¶
func (m *GroupCertificateEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this group certificate enrollment based on context it is used
func (*GroupCertificateEnrollment) MarshalBinary ¶
func (m *GroupCertificateEnrollment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupCertificateEnrollment) UnmarshalBinary ¶
func (m *GroupCertificateEnrollment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupSymmetricKeyEnrollment ¶
type GroupSymmetricKeyEnrollment struct { // group name GroupName string `json:"groupName,omitempty"` }
GroupSymmetricKeyEnrollment group symmetric key enrollment
swagger:model GroupSymmetricKeyEnrollment
func (*GroupSymmetricKeyEnrollment) ContextValidate ¶
func (m *GroupSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this group symmetric key enrollment based on context it is used
func (*GroupSymmetricKeyEnrollment) MarshalBinary ¶
func (m *GroupSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupSymmetricKeyEnrollment) UnmarshalBinary ¶
func (m *GroupSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HvMode ¶
type HvMode string
HvMode 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.
swagger:model hvMode
const ( // HvModeHVPV captures enum value "HV_PV" HvModeHVPV HvMode = "HV_PV" // HvModeHVHVM captures enum value "HV_HVM" HvModeHVHVM HvMode = "HV_HVM" // HvModeHVFML captures enum value "HV_FML" HvModeHVFML HvMode = "HV_FML" // HvModeHVNOHYPER captures enum value "HV_NOHYPER" HvModeHVNOHYPER HvMode = "HV_NOHYPER" // HvModeHVLEGACY captures enum value "HV_LEGACY" HvModeHVLEGACY HvMode = "HV_LEGACY" )
func (HvMode) ContextValidate ¶
ContextValidate validates this hv mode based on context it is used
type IDState ¶
type IDState string
IDState Id state
swagger:model IdState
const ( // IDStateIDSTATEUNSPECIFIED captures enum value "ID_STATE_UNSPECIFIED" IDStateIDSTATEUNSPECIFIED IDState = "ID_STATE_UNSPECIFIED" // IDStateIDSTATENOTVERIFIED captures enum value "ID_STATE_NOT_VERIFIED" IDStateIDSTATENOTVERIFIED IDState = "ID_STATE_NOT_VERIFIED" // IDStateIDSTATEVERIFIED captures enum value "ID_STATE_VERIFIED" IDStateIDSTATEVERIFIED IDState = "ID_STATE_VERIFIED" )
func NewIDState ¶
func (IDState) ContextValidate ¶
ContextValidate validates this Id state based on context it is used
type IPAssignment ¶
type IPAssignment struct { // ip address IPAddress []string `json:"ipAddress"` // mac address MacAddress string `json:"macAddress,omitempty"` }
IPAssignment IP assignment
swagger:model IPAssignment
func (*IPAssignment) ContextValidate ¶
ContextValidate validates this IP assignment based on context it is used
func (*IPAssignment) MarshalBinary ¶
func (m *IPAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAssignment) UnmarshalBinary ¶
func (m *IPAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSpec ¶
type IPSpec struct { // deprecated DeprecatedDhcp bool `json:"deprecatedDhcp,omitempty"` // dhcp Dhcp *NetworkDHCPType `json:"dhcp,omitempty"` // for IPAM management when dhcp is turned on. // If none provided, system will default pool. DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"` // dns DNS []string `json:"dns"` // domain Domain string `json:"domain,omitempty"` // gateway Gateway string `json:"gateway,omitempty"` // mask Mask string `json:"mask,omitempty"` // ntp Ntp string `json:"ntp,omitempty"` // subnet Subnet string `json:"subnet,omitempty"` }
IPSpec Ip spec
swagger:model IpSpec
func (*IPSpec) ContextValidate ¶
ContextValidate validate this Ip spec based on the context it is used
func (*IPSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*IPSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Image ¶
type Image struct { // Datastore Id where image binary is located. // Required: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} DatastoreID *string `json:"datastoreId"` // Detailed description of the image. // Max Length: 256 Description string `json:"description,omitempty"` // System defined universally unique Id of the image. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // Image Architecture. // Required: true ImageArch *ModelArchType `json:"imageArch"` // Image upload/uplink detailed error/status message // Read Only: true ImageError string `json:"imageError,omitempty"` // Image binary format. // Required: true ImageFormat *ConfigFormat `json:"imageFormat"` // Internal image location. // Read Only: true ImageLocal string `json:"imageLocal,omitempty"` // Image relative path w.r.t. Datastore ImageRelURL string `json:"imageRelUrl,omitempty"` // Image checksum in SHA256 format ImageSha256 string `json:"imageSha256,omitempty"` // Image size in KBytes. ImageSizeBytes string `json:"imageSizeBytes,omitempty"` // Image status // Read Only: true ImageStatus *ImageStatus `json:"imageStatus,omitempty"` // Image type // Required: true ImageType *ImageType `json:"imageType"` // system defined info ImageVersion string `json:"imageVersion,omitempty"` // User defined name of the image, unique across the enterprise. Once image is created, name can’t be changed. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // Origin type of image. // Read Only: true OriginType *Origin `json:"originType,omitempty"` // project access list of the image ProjectAccessList []string `json:"projectAccessList"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // User defined title of the image. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` }
Image Image metadata detail
Image metadata for edge gateway Base OS or for eedge applications. Example: {"description":"My test image in QCOW2 format for Edge computing","dsId":"7927f6e3-484d-4105-a98e-868b21c1cb61","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","imageArch":"AMD64","imageError":"Image uplinked successfully...","imageFormat":3,"imageLocal":"","imageRelUrl":"edge/computing/AMD64","imageSha256":"ADC5BB9DD39F83DD74C276B0BA119FB27925A5CDEA343FE1F2C8433F28AB345B","imageSizeBytes":142016512,"imageStatus":4,"imageType":2,"imageVersion":"","name":"my-test-image","originType":2,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test Image for Edge Computing"}
swagger:model Image
func (*Image) ContextValidate ¶
ContextValidate validate this image config based on the context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImageFilter ¶
type ImageFilter struct { // Datastore id to be matched. // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} DatastoreID string `json:"datastoreId,omitempty"` // Image architecture to be matched. ImageArch *ModelArchType `json:"imageArch,omitempty"` // Image status to be matched. ImageStatus *ImageStatus `json:"imageStatus,omitempty"` // Image type to ne matched. ImageType *ImageType `json:"imageType,omitempty"` // Image name pattern to be matched. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9_.-]{3,256} NamePattern string `json:"namePattern,omitempty"` }
ImageFilter image filter
swagger:model ImageFilter
func (*ImageFilter) ContextValidate ¶
ContextValidate validate this image filter based on the context it is used
func (*ImageFilter) MarshalBinary ¶
func (m *ImageFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageFilter) UnmarshalBinary ¶
func (m *ImageFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageProjectList ¶
type ImageProjectList struct { // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // List of projects which are are common among given list of images ProjectDetails []*ObjectDetail `json:"projectDetails"` // total number of records TotalCount int64 `json:"totalCount,omitempty"` }
ImageProjectList image project list
swagger:model ImageProjectList
func (*ImageProjectList) ContextValidate ¶
ContextValidate validate this image project list based on the context it is used
func (*ImageProjectList) MarshalBinary ¶
func (m *ImageProjectList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageProjectList) UnmarshalBinary ¶
func (m *ImageProjectList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageStatus ¶
type ImageStatus string
ImageStatus Image status
- IMAGE_STATUS_CREATED: Image metadata is created
- IMAGE_STATUS_UPLOADING: Image binary is being uploaded to Datstore
- IMAGE_STATUS_READY: Image is ready for download
- IMAGE_STATUS_INUSE: Image is being used by edge applications
- IMAGE_STATUS_FAILED: Image binary upload has failed
- IMAGE_STATUS_UPLINKING: Image metadata is being uplinked with Datstore binary
swagger:model ImageStatus
const ( // ImageStatusIMAGESTATUSUNSPECIFIED captures enum value "IMAGE_STATUS_UNSPECIFIED" ImageStatusIMAGESTATUSUNSPECIFIED ImageStatus = "IMAGE_STATUS_UNSPECIFIED" // ImageStatusIMAGESTATUSCREATED captures enum value "IMAGE_STATUS_CREATED" ImageStatusIMAGESTATUSCREATED ImageStatus = "IMAGE_STATUS_CREATED" // ImageStatusIMAGESTATUSPENDING captures enum value "IMAGE_STATUS_PENDING" ImageStatusIMAGESTATUSPENDING ImageStatus = "IMAGE_STATUS_PENDING" // ImageStatusIMAGESTATUSUPLOADING captures enum value "IMAGE_STATUS_UPLOADING" ImageStatusIMAGESTATUSUPLOADING ImageStatus = "IMAGE_STATUS_UPLOADING" // ImageStatusIMAGESTATUSREADY captures enum value "IMAGE_STATUS_READY" ImageStatusIMAGESTATUSREADY ImageStatus = "IMAGE_STATUS_READY" // ImageStatusIMAGESTATUSINUSE captures enum value "IMAGE_STATUS_INUSE" ImageStatusIMAGESTATUSINUSE ImageStatus = "IMAGE_STATUS_INUSE" // ImageStatusIMAGESTATUSARCHIVED captures enum value "IMAGE_STATUS_ARCHIVED" ImageStatusIMAGESTATUSARCHIVED ImageStatus = "IMAGE_STATUS_ARCHIVED" // ImageStatusIMAGESTATUSMAX captures enum value "IMAGE_STATUS_MAX" ImageStatusIMAGESTATUSMAX ImageStatus = "IMAGE_STATUS_MAX" // ImageStatusIMAGESTATUSFAILED captures enum value "IMAGE_STATUS_FAILED" ImageStatusIMAGESTATUSFAILED ImageStatus = "IMAGE_STATUS_FAILED" // ImageStatusIMAGESTATUSUPLINKING captures enum value "IMAGE_STATUS_UPLINKING" ImageStatusIMAGESTATUSUPLINKING ImageStatus = "IMAGE_STATUS_UPLINKING" )
func NewImageStatus ¶
func NewImageStatus(value ImageStatus) *ImageStatus
func (ImageStatus) ContextValidate ¶
ContextValidate validates this image status based on context it is used
func (ImageStatus) Pointer ¶
func (m ImageStatus) Pointer() *ImageStatus
Pointer returns a pointer to a freshly-allocated ImageStatus.
type ImageType ¶
type ImageType string
ImageType Image types
- IMAGE_TYPE_EVE: Base OS images for edge gateway
- IMAGE_TYPE_APPLICATION: Edge application images
- IMAGE_TYPE_EVEPRIVATE: Private Base OS images for edge gateway
swagger:model ImageType
const ( // ImageTypeIMAGETYPEUNSPECIFIED captures enum value "IMAGE_TYPE_UNSPECIFIED" ImageTypeIMAGETYPEUNSPECIFIED ImageType = "IMAGE_TYPE_UNSPECIFIED" // ImageTypeIMAGETYPEEVE captures enum value "IMAGE_TYPE_EVE" ImageTypeIMAGETYPEEVE ImageType = "IMAGE_TYPE_EVE" // ImageTypeIMAGETYPEAPPLICATION captures enum value "IMAGE_TYPE_APPLICATION" ImageTypeIMAGETYPEAPPLICATION ImageType = "IMAGE_TYPE_APPLICATION" // ImageTypeIMAGETYPEEVEPRIVATE captures enum value "IMAGE_TYPE_EVEPRIVATE" ImageTypeIMAGETYPEEVEPRIVATE ImageType = "IMAGE_TYPE_EVEPRIVATE" )
func NewImageType ¶
func (ImageType) ContextValidate ¶
ContextValidate validates this image type based on context it is used
type ImageVersionFilter ¶
type ImageVersionFilter struct { // Image Architecture pattern to be matched. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9_.-]{3,256} NamePattern string `json:"namePattern,omitempty"` }
ImageVersionFilter image version filter
swagger:model ImageVersionFilter
func (*ImageVersionFilter) ContextValidate ¶
ContextValidate validates this image version filter based on context it is used
func (*ImageVersionFilter) MarshalBinary ¶
func (m *ImageVersionFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageVersionFilter) UnmarshalBinary ¶
func (m *ImageVersionFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Images ¶
type Images struct { // List of filtered Image records List []*Image `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Image architecture distribution summary SummaryByImageArch *Summary `json:"summaryByImageArch,omitempty"` // Image format distribution summary SummaryByImageFormat *Summary `json:"summaryByImageFormat,omitempty"` // Imagestatus distribution summary SummaryByImageStatus *Summary `json:"summaryByImageStatus,omitempty"` // Image type distribution summary SummaryByImageType *Summary `json:"summaryByImageType,omitempty"` // Summary of filtered Image records Terse *Summary `json:"terse,omitempty"` }
Images images
swagger:model Images
func (*Images) ContextValidate ¶
ContextValidate validate this images based on the context it is used
func (*Images) MarshalBinary ¶
MarshalBinary interface implementation
func (*Images) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IndividualCertificateEnrollment ¶
type IndividualCertificateEnrollment interface{}
IndividualCertificateEnrollment XXX TODO
swagger:model IndividualCertificateEnrollment
type IndividualSymmetricKeyEnrollment ¶
type IndividualSymmetricKeyEnrollment struct { // registration Id RegistrationID string `json:"registrationId,omitempty"` }
IndividualSymmetricKeyEnrollment individual symmetric key enrollment
swagger:model IndividualSymmetricKeyEnrollment
func (*IndividualSymmetricKeyEnrollment) ContextValidate ¶
func (m *IndividualSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this individual symmetric key enrollment based on context it is used
func (*IndividualSymmetricKeyEnrollment) MarshalBinary ¶
func (m *IndividualSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IndividualSymmetricKeyEnrollment) UnmarshalBinary ¶
func (m *IndividualSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InlineOpaqueBase64Data ¶
type InlineOpaqueBase64Data struct { // base64 encoded Base64Data string `json:"base64Data,omitempty"` // optional - any arbitrary metadata encoded to base64 string Base64MetaData string `json:"base64MetaData,omitempty"` // file name to be used for storing this data in EVE. // the same file name shall be advertised to application agent FileNameToUse string `json:"fileNameToUse,omitempty"` }
InlineOpaqueBase64Data inline opaque base64 data
swagger:model InlineOpaqueBase64Data
func (*InlineOpaqueBase64Data) ContextValidate ¶
func (m *InlineOpaqueBase64Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this inline opaque base64 data based on context it is used
func (*InlineOpaqueBase64Data) MarshalBinary ¶
func (m *InlineOpaqueBase64Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InlineOpaqueBase64Data) UnmarshalBinary ¶
func (m *InlineOpaqueBase64Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceTransitionAction ¶
type InstanceTransitionAction string
InstanceTransitionAction Instance Transition action
- INSTANCE_TA_UNSPECIFIED: Default. Invalid option
- INSTANCE_TA_NONE: Either Edge app bundle has not changed or Edge app bundle has
changed but the changes do not impact Edge app instances
- INSTANCE_TA_UPDATEREQUIRED: Edge app bundle has changed. Changes impact Edge app Instances
Edge App instances need to be restarted with temporary loss of access
- INSTANCE_TA_UPDATEWITHRESTART: Transition Action: Update with Restart
- INSTANCE_TA_UPDATEWITHPURGE: Edge app bundle has changed. Changes impact Edge app Instances
Edge App instances need to be deleted and created again with temporary loss of access and permanent loss of data
swagger:model InstanceTransitionAction
const ( // InstanceTransitionActionINSTANCETAUNSPECIFIED captures enum value "INSTANCE_TA_UNSPECIFIED" InstanceTransitionActionINSTANCETAUNSPECIFIED InstanceTransitionAction = "INSTANCE_TA_UNSPECIFIED" // InstanceTransitionActionINSTANCETANONE captures enum value "INSTANCE_TA_NONE" InstanceTransitionActionINSTANCETANONE InstanceTransitionAction = "INSTANCE_TA_NONE" // InstanceTransitionActionINSTANCETAUPDATEREQUIRED captures enum value "INSTANCE_TA_UPDATEREQUIRED" InstanceTransitionActionINSTANCETAUPDATEREQUIRED InstanceTransitionAction = "INSTANCE_TA_UPDATEREQUIRED" // InstanceTransitionActionINSTANCETAUPDATEWITHRESTART captures enum value "INSTANCE_TA_UPDATEWITHRESTART" InstanceTransitionActionINSTANCETAUPDATEWITHRESTART InstanceTransitionAction = "INSTANCE_TA_UPDATEWITHRESTART" // InstanceTransitionActionINSTANCETAUPDATEWITHPURGE captures enum value "INSTANCE_TA_UPDATEWITHPURGE" InstanceTransitionActionINSTANCETAUPDATEWITHPURGE InstanceTransitionAction = "INSTANCE_TA_UPDATEWITHPURGE" )
func NewInstanceTransitionAction ¶
func NewInstanceTransitionAction(value InstanceTransitionAction) *InstanceTransitionAction
func (InstanceTransitionAction) ContextValidate ¶
func (m InstanceTransitionAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this instance transition action based on context it is used
func (InstanceTransitionAction) Pointer ¶
func (m InstanceTransitionAction) Pointer() *InstanceTransitionAction
Pointer returns a pointer to a freshly-allocated InstanceTransitionAction.
type IntegrationPolicy ¶
type IntegrationPolicy struct { // Id ID string `json:"Id,omitempty"` // name Name string `json:"Name,omitempty"` // revision Revision *ObjectRevision `json:"revision,omitempty"` // title Title string `json:"title,omitempty"` }
IntegrationPolicy integration policy
swagger:model IntegrationPolicy
func (*IntegrationPolicy) ContextValidate ¶
ContextValidate validate this integration policy based on the context it is used
func (*IntegrationPolicy) MarshalBinary ¶
func (m *IntegrationPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntegrationPolicy) UnmarshalBinary ¶
func (m *IntegrationPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Interface ¶
type Interface struct { // Traffic access control rules for this interface. Applicable only when "direct attach" flag is false. Acls []*ACL `json:"acls"` // If true, a physical adapter is assigned to the edge application directly. If false, a network instance is assigned to the edge application. Directattach bool `json:"directattach,omitempty"` // Interface name used by the edge application Name string `json:"name,omitempty"` // Indicates if the interface is optional for edge application. Optional bool `json:"optional,omitempty"` // If true, DHCP network can't be assigned and user needs to provide a static IP address. Privateip bool `json:"privateip,omitempty"` // Physical Adapter type for this interface. Applicable only when "direct attach" flag is true. Type string `json:"type,omitempty"` }
Interface interface
swagger:model Interface
func (*Interface) ContextValidate ¶
ContextValidate validate this interface based on the context it is used
func (*Interface) MarshalBinary ¶
MarshalBinary interface implementation
func (*Interface) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type InterfaceOrdering ¶ added in v2.3.0
type InterfaceOrdering string
InterfaceOrdering this enum is used for enable and disable the interface ordering for app instances if the value of it set to INTERFACE_ORDERING_ENABLED then the interface ordering is sent to eve and therfaces will be mapped in same order during the deployment of app instances
- INTERFACE_ORDERING_UNSPECIFIED: Default value. This value is not specified and should not be used.
- INTERFACE_ORDERING_ENABLED: interface ordering is enabled. interface order will be sent to eve according to app template
- INTERFACE_ORDERING_DISABLED: interface ordering is disabled. interface order will not be sent to eve
swagger:model InterfaceOrdering
const ( // InterfaceOrderingINTERFACEORDERINGUNSPECIFIED captures enum value "INTERFACE_ORDERING_UNSPECIFIED" InterfaceOrderingINTERFACEORDERINGUNSPECIFIED InterfaceOrdering = "INTERFACE_ORDERING_UNSPECIFIED" // InterfaceOrderingINTERFACEORDERINGENABLED captures enum value "INTERFACE_ORDERING_ENABLED" InterfaceOrderingINTERFACEORDERINGENABLED InterfaceOrdering = "INTERFACE_ORDERING_ENABLED" // InterfaceOrderingINTERFACEORDERINGDISABLED captures enum value "INTERFACE_ORDERING_DISABLED" InterfaceOrderingINTERFACEORDERINGDISABLED InterfaceOrdering = "INTERFACE_ORDERING_DISABLED" )
func NewInterfaceOrdering ¶ added in v2.3.0
func NewInterfaceOrdering(value InterfaceOrdering) *InterfaceOrdering
func (InterfaceOrdering) ContextValidate ¶ added in v2.3.0
ContextValidate validates this interface ordering based on context it is used
func (InterfaceOrdering) Pointer ¶ added in v2.3.0
func (m InterfaceOrdering) Pointer() *InterfaceOrdering
Pointer returns a pointer to a freshly-allocated InterfaceOrdering.
type IoAddresses ¶
type IoAddresses struct { // mac address MacAddress string `json:"macAddress,omitempty"` }
IoAddresses io addresses
swagger:model IoAddresses
func (*IoAddresses) ContextValidate ¶
ContextValidate validates this io addresses based on context it is used
func (*IoAddresses) MarshalBinary ¶
func (m *IoAddresses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IoAddresses) UnmarshalBinary ¶
func (m *IoAddresses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IoBundleStatus ¶
type IoBundleStatus struct { // Application name // Required: true AppName *string `json:"appName"` // 6 - DEPRECATED // // Device error details Err *DeviceError `json:"err,omitempty"` // LTE information LteInfo *LTEAdapter `json:"lteInfo,omitempty"` // List of IO members MemberList []*IoMemberStatus `json:"memberList"` // members - Deprecated by memberList // // Member Array // Required: true Members []string `json:"members"` // Io Bundle status name // Required: true Name *string `json:"name"` // IoType specifies the type of the Input output of the device // Required: true Type *IoType `json:"type"` }
IoBundleStatus IoBundleStatus is used to store the status of the Input Output bundle
IoBundleStatus is used to store the status of the Input Output bundle ¶
swagger:model IoBundleStatus
func (*IoBundleStatus) ContextValidate ¶
ContextValidate validate this io bundle status based on the context it is used
func (*IoBundleStatus) MarshalBinary ¶
func (m *IoBundleStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IoBundleStatus) UnmarshalBinary ¶
func (m *IoBundleStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IoMember ¶
type IoMember struct { // Assign Group // Required: true Assigngrp *string `json:"assigngrp"` // physical and logical attributes // // attributes Cbattr map[string]string `json:"cbattr,omitempty"` // cost of using this ioMember. Default is 0. // Required: true // Maximum: 255 Cost *int64 `json:"cost"` // Logical Label // Required: true Logicallabel *string `json:"logicallabel"` // Parent group for a IoMember. Can be empty if there is no parent group. Parentassigngrp string `json:"parentassigngrp,omitempty"` // Map of Physical Addresses // Required: true Phyaddrs map[string]string `json:"phyaddrs"` // Physical Label // Required: true Phylabel *string `json:"phylabel"` // Adopter Usage Usage *AdapterUsage `json:"usage,omitempty"` // usagePolicy UsagePolicy map[string]bool `json:"usagePolicy,omitempty"` // Single Root Input Output Virtualization (SR-IOV) support in device configuration Vfs *Vfs `json:"vfs,omitempty"` // Z Type // Required: true Ztype *IoType `json:"ztype"` }
IoMember ioMember payload details
ioMember consists of list of various networking attributes like physical label, physical address etc associated with SysModel
Example: {"logicallabel":"eth0","phylabel":"eth0","ztype":1}
swagger:model ioMember
func (*IoMember) ContextValidate ¶
ContextValidate validate this io member based on the context it is used
func (*IoMember) MarshalBinary ¶
MarshalBinary interface implementation
func (*IoMember) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IoMemberStatus ¶
type IoMemberStatus struct { // IO addresses of the member. Each address corresponds to the member in the members array IoAddress *IoAddresses `json:"ioAddress,omitempty"` // IoBundle Member name Name string `json:"name,omitempty"` }
IoMemberStatus io member status
swagger:model IoMemberStatus
func (*IoMemberStatus) ContextValidate ¶
ContextValidate validate this io member status based on the context it is used
func (*IoMemberStatus) MarshalBinary ¶
func (m *IoMemberStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IoMemberStatus) UnmarshalBinary ¶
func (m *IoMemberStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IoType ¶
type IoType string
IoType Input/Output Type
- IO_TYPE_UNSPECIFIED: No operation/ Invalid peration
- IO_TYPE_ETH: Ethernet
- IO_TYPE_USB: USB Type
- IO_TYPE_COM: Communication Port
- IO_TYPE_AUDIO: Audio Port
- IO_TYPE_WLAN: wireless LAN
- IO_TYPE_WWAN: Wireless wide area network
- IO_TYPE_HDMI: High-Definition Multimedia Interface
- IO_TYPE_LTE: LTE Interfaces
- IO_TYPE_STORAGE_NVME_DEVICE: Storage NVME device
- IO_TYPE_STORAGE_SATA_DEVICE: Storage SATA device
- IO_TYPE_OTHER: Other Io Types
swagger:model IoType
const ( // IoTypeIOTYPEUNSPECIFIED captures enum value "IO_TYPE_UNSPECIFIED" IoTypeIOTYPEUNSPECIFIED IoType = "IO_TYPE_UNSPECIFIED" // IoTypeIOTYPEETH captures enum value "IO_TYPE_ETH" IoTypeIOTYPEETH IoType = "IO_TYPE_ETH" // IoTypeIOTYPEUSB captures enum value "IO_TYPE_USB" IoTypeIOTYPEUSB IoType = "IO_TYPE_USB" // IoTypeIOTYPECOM captures enum value "IO_TYPE_COM" IoTypeIOTYPECOM IoType = "IO_TYPE_COM" // IoTypeIOTYPEAUDIO captures enum value "IO_TYPE_AUDIO" IoTypeIOTYPEAUDIO IoType = "IO_TYPE_AUDIO" // IoTypeIOTYPEWLAN captures enum value "IO_TYPE_WLAN" IoTypeIOTYPEWLAN IoType = "IO_TYPE_WLAN" // IoTypeIOTYPEWWAN captures enum value "IO_TYPE_WWAN" IoTypeIOTYPEWWAN IoType = "IO_TYPE_WWAN" // IoTypeIOTYPEHDMI captures enum value "IO_TYPE_HDMI" IoTypeIOTYPEHDMI IoType = "IO_TYPE_HDMI" // IoTypeIOTYPELTE captures enum value "IO_TYPE_LTE" IoTypeIOTYPELTE IoType = "IO_TYPE_LTE" // IoTypeIOTYPESTORAGENVMEDEVICE captures enum value "IO_TYPE_STORAGE_NVME_DEVICE" IoTypeIOTYPESTORAGENVMEDEVICE IoType = "IO_TYPE_STORAGE_NVME_DEVICE" // IoTypeIOTYPESTORAGESATADEVICE captures enum value "IO_TYPE_STORAGE_SATA_DEVICE" IoTypeIOTYPESTORAGESATADEVICE IoType = "IO_TYPE_STORAGE_SATA_DEVICE" // IoTypeIOTYPEOTHER captures enum value "IO_TYPE_OTHER" IoTypeIOTYPEOTHER IoType = "IO_TYPE_OTHER" )
func (IoType) ContextValidate ¶
ContextValidate validates this io type based on context it is used
type IotHubServiceDetail ¶
type IotHubServiceDetail struct { // service detail ServiceDetail *AzureResourceAndServiceDetail `json:"serviceDetail,omitempty"` }
IotHubServiceDetail iot hub service detail
swagger:model IotHubServiceDetail
func (*IotHubServiceDetail) ContextValidate ¶
ContextValidate validate this iot hub service detail based on the context it is used
func (*IotHubServiceDetail) MarshalBinary ¶
func (m *IotHubServiceDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IotHubServiceDetail) UnmarshalBinary ¶
func (m *IotHubServiceDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JWTAuthProfileAlgorithm ¶ added in v2.3.0
type JWTAuthProfileAlgorithm string
JWTAuthProfileAlgorithm j w t auth profile algorithm
swagger:model JWTAuthProfileAlgorithm
const ( // JWTAuthProfileAlgorithmNone captures enum value "None" JWTAuthProfileAlgorithmNone JWTAuthProfileAlgorithm = "None" // JWTAuthProfileAlgorithmRS256 captures enum value "RS256" JWTAuthProfileAlgorithmRS256 JWTAuthProfileAlgorithm = "RS256" // JWTAuthProfileAlgorithmRS384 captures enum value "RS384" JWTAuthProfileAlgorithmRS384 JWTAuthProfileAlgorithm = "RS384" // JWTAuthProfileAlgorithmRS512 captures enum value "RS512" JWTAuthProfileAlgorithmRS512 JWTAuthProfileAlgorithm = "RS512" )
func NewJWTAuthProfileAlgorithm ¶ added in v2.3.0
func NewJWTAuthProfileAlgorithm(value JWTAuthProfileAlgorithm) *JWTAuthProfileAlgorithm
func (JWTAuthProfileAlgorithm) ContextValidate ¶ added in v2.3.0
func (m JWTAuthProfileAlgorithm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this j w t auth profile algorithm based on context it is used
func (JWTAuthProfileAlgorithm) Pointer ¶ added in v2.3.0
func (m JWTAuthProfileAlgorithm) Pointer() *JWTAuthProfileAlgorithm
Pointer returns a pointer to a freshly-allocated JWTAuthProfileAlgorithm.
type JWTInfo ¶
type JWTInfo struct { // allow sec AllowSec int64 `json:"allowSec,omitempty"` // disp Url DispURL string `json:"dispUrl,omitempty"` // encrypt Encrypt bool `json:"encrypt,omitempty"` // expire sec ExpireSec string `json:"expireSec,omitempty"` // num inst NumInst int64 `json:"numInst,omitempty"` }
JWTInfo j w t info
swagger:model JWTInfo
func (*JWTInfo) ContextValidate ¶
ContextValidate validates this j w t info based on context it is used
func (*JWTInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*JWTInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LTEAdapter ¶
type LTEAdapter struct { // Name of Cell Module CellModuleName string `json:"cellModuleName,omitempty"` // Firmware Version of Cell Radio. FirmwareVersion string `json:"firmwareVersion,omitempty"` // iccid of the SIM Iccid string `json:"iccid,omitempty"` // IMEI of Cell Radio. Imei string `json:"imei,omitempty"` // imsi of the SIM Imsi string `json:"imsi,omitempty"` // Name of SIM card. SimName string `json:"simName,omitempty"` // State of SimCard SimcardState *SimcardState `json:"simcardState,omitempty"` }
LTEAdapter LTE Adapter
Details of LTE Adapter ¶
swagger:model LTEAdapter
func (*LTEAdapter) ContextValidate ¶
ContextValidate validate this l t e adapter based on the context it is used
func (*LTEAdapter) MarshalBinary ¶
func (m *LTEAdapter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LTEAdapter) UnmarshalBinary ¶
func (m *LTEAdapter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LimitParams ¶
type LimitParams struct { // Rate limit burst in ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limitburst int64 `json:"limitburst,omitempty"` // Rate limit in ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limitrate int64 `json:"limitrate,omitempty"` // Rate limit unit in ACL rule // // UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Limitunit string `json:"limitunit,omitempty"` }
LimitParams limit params
swagger:model LimitParams
func (*LimitParams) ContextValidate ¶
ContextValidate validates this limit params based on context it is used
func (*LimitParams) MarshalBinary ¶
func (m *LimitParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LimitParams) UnmarshalBinary ¶
func (m *LimitParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LispConfig ¶
type LispConfig struct { // Allocate flag Allocate bool `json:"allocate,omitempty"` // Allocation Prefix Allocationprefix string `json:"allocationprefix,omitempty"` // Allocation Prefix Length Allocationprefixlen int64 `json:"allocationprefixlen,omitempty"` // Export Private flag Exportprivate bool `json:"exportprivate,omitempty"` // lisp id Lispiid int64 `json:"lispiid,omitempty"` // Service Point List Sp []*ServicePoint `json:"sp"` }
LispConfig Lisp Configurations
List Configurations.
swagger:model LispConfig
func (*LispConfig) ContextValidate ¶
ContextValidate validate this lisp config based on the context it is used
func (*LispConfig) MarshalBinary ¶
func (m *LispConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LispConfig) UnmarshalBinary ¶
func (m *LispConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LispServer ¶
type LispServer struct { // lisp credential // Required: true Credential *string `json:"credential"` // name/IP // Required: true NameOrIP *string `json:"nameOrIp"` }
LispServer LispServer payload detail
LispServer request paylod ¶
swagger:model LispServer
func (*LispServer) ContextValidate ¶
ContextValidate validates this lisp server based on context it is used
func (*LispServer) MarshalBinary ¶
func (m *LispServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LispServer) UnmarshalBinary ¶
func (m *LispServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LocalOperatorConsolePolicy ¶
type LocalOperatorConsolePolicy struct { // unique policy id // Read Only: true // Pattern: [0-9-a-z-]+ ID string `json:"id,omitempty"` // Local operator console URL // Required: true LocURL *string `json:"locURL"` }
LocalOperatorConsolePolicy Local operator console policy body detail
Local operator console policy to enforce on all devices of the project ¶
swagger:model LocalOperatorConsolePolicy
func (*LocalOperatorConsolePolicy) ContextValidate ¶
func (m *LocalOperatorConsolePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this local operator console policy based on the context it is used
func (*LocalOperatorConsolePolicy) MarshalBinary ¶
func (m *LocalOperatorConsolePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LocalOperatorConsolePolicy) UnmarshalBinary ¶
func (m *LocalOperatorConsolePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ManifestInfo ¶
type ManifestInfo struct { // Current version of edge application being used BundleVersion string `json:"bundleVersion,omitempty"` // Details for recommended transition action Details *TransDetails `json:"details,omitempty"` // Next version of edge application available NextBundleVersion string `json:"nextBundleVersion,omitempty"` // Common and Custom parameters for deciding on transition actions Params map[string]string `json:"params,omitempty"` // Recommended transition action TransitionAction *InstanceTransitionAction `json:"transitionAction,omitempty"` }
ManifestInfo Transition action information
Details about transition parameters and indication for cause of the transition and recommendation for the transition action ¶
swagger:model ManifestInfo
func (*ManifestInfo) ContextValidate ¶
ContextValidate validate this manifest info based on the context it is used
func (*ManifestInfo) MarshalBinary ¶
func (m *ManifestInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManifestInfo) UnmarshalBinary ¶
func (m *ManifestInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MapParams ¶
type MapParams struct { // Application Port value AppPort int64 `json:"appPort,omitempty"` }
MapParams map params
swagger:model MapParams
func (*MapParams) ContextValidate ¶
ContextValidate validates this map params based on context it is used
func (*MapParams) MarshalBinary ¶
MarshalBinary interface implementation
func (*MapParams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Match ¶
type Match struct { // enum: host, protocol, fport // At the device level it will pick right interface to apply this match // // Type of Match (Required) Type string `json:"type,omitempty"` // Value of match (Required) Value string `json:"value,omitempty"` }
Match match
swagger:model Match
func (*Match) ContextValidate ¶
ContextValidate validates this match based on context it is used
func (*Match) MarshalBinary ¶
MarshalBinary interface implementation
func (*Match) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MemorySummary ¶
type MemorySummary struct { // Total allocated memory in MBs AllocatedMB float64 `json:"AllocatedMB,omitempty"` // Total memory for the device in MBs TotalMB float64 `json:"TotalMB,omitempty"` // Total memory used by the device in MBs within allocated memory UsedMB float64 `json:"UsedMB,omitempty"` }
MemorySummary Memory Summary
Memory Summary ¶
swagger:model MemorySummary
func (*MemorySummary) ContextValidate ¶
ContextValidate validates this memory summary based on context it is used
func (*MemorySummary) MarshalBinary ¶
func (m *MemorySummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemorySummary) UnmarshalBinary ¶
func (m *MemorySummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetricQueryResponse ¶
type MetricQueryResponse struct { // list List []*MetricQueryResponseItem `json:"list"` // metric type MetricType string `json:"metricType,omitempty"` // threshold Threshold *MetricThreshold `json:"threshold,omitempty"` // x label XLabel string `json:"xLabel,omitempty"` // y labels YLabels []string `json:"yLabels"` }
MetricQueryResponse metric query response
swagger:model MetricQueryResponse
func (*MetricQueryResponse) ContextValidate ¶
ContextValidate validate this metric query response based on the context it is used
func (*MetricQueryResponse) MarshalBinary ¶
func (m *MetricQueryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricQueryResponse) UnmarshalBinary ¶
func (m *MetricQueryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetricQueryResponseItem ¶
type MetricQueryResponseItem struct { // timestamp // Format: date-time Timestamp strfmt.DateTime `json:"timestamp,omitempty"` // values Values []float64 `json:"values"` }
MetricQueryResponseItem metric query response item
swagger:model MetricQueryResponseItem
func (*MetricQueryResponseItem) ContextValidate ¶
func (m *MetricQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this metric query response item based on context it is used
func (*MetricQueryResponseItem) MarshalBinary ¶
func (m *MetricQueryResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricQueryResponseItem) UnmarshalBinary ¶
func (m *MetricQueryResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetricThreshold ¶
type MetricThreshold struct { // red Red float64 `json:"red,omitempty"` // yellow Yellow float64 `json:"yellow,omitempty"` }
MetricThreshold metric threshold
swagger:model MetricThreshold
func (*MetricThreshold) ContextValidate ¶
ContextValidate validates this metric threshold based on context it is used
func (*MetricThreshold) MarshalBinary ¶
func (m *MetricThreshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricThreshold) UnmarshalBinary ¶
func (m *MetricThreshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetricType ¶
type MetricType string
MetricType metric type
swagger:model MetricType
const ( // MetricTypeMETRICTYPEUNSPECIFIED captures enum value "METRIC_TYPE_UNSPECIFIED" MetricTypeMETRICTYPEUNSPECIFIED MetricType = "METRIC_TYPE_UNSPECIFIED" // MetricTypeMETRICTYPECPUTOTAL captures enum value "METRIC_TYPE_CPU_TOTAL" MetricTypeMETRICTYPECPUTOTAL MetricType = "METRIC_TYPE_CPU_TOTAL" // MetricTypeMETRICTYPECPUUSAGE captures enum value "METRIC_TYPE_CPU_USAGE" MetricTypeMETRICTYPECPUUSAGE MetricType = "METRIC_TYPE_CPU_USAGE" // MetricTypeMETRICTYPEMEMORYTOTAL captures enum value "METRIC_TYPE_MEMORY_TOTAL" MetricTypeMETRICTYPEMEMORYTOTAL MetricType = "METRIC_TYPE_MEMORY_TOTAL" // MetricTypeMETRICTYPEMEMORYUTILIZATION captures enum value "METRIC_TYPE_MEMORY_UTILIZATION" MetricTypeMETRICTYPEMEMORYUTILIZATION MetricType = "METRIC_TYPE_MEMORY_UTILIZATION" // MetricTypeMETRICTYPENETWORKTOTAL captures enum value "METRIC_TYPE_NETWORK_TOTAL" MetricTypeMETRICTYPENETWORKTOTAL MetricType = "METRIC_TYPE_NETWORK_TOTAL" // MetricTypeMETRICTYPENETWORKRATES captures enum value "METRIC_TYPE_NETWORK_RATES" MetricTypeMETRICTYPENETWORKRATES MetricType = "METRIC_TYPE_NETWORK_RATES" // MetricTypeMETRICTYPEEVENTSCOUNT captures enum value "METRIC_TYPE_EVENTS_COUNT" MetricTypeMETRICTYPEEVENTSCOUNT MetricType = "METRIC_TYPE_EVENTS_COUNT" // MetricTypeMETRICTYPESTORAGEUTILIZATION captures enum value "METRIC_TYPE_STORAGE_UTILIZATION" MetricTypeMETRICTYPESTORAGEUTILIZATION MetricType = "METRIC_TYPE_STORAGE_UTILIZATION" // MetricTypeMETRICTYPESTORAGEIOZPOOL captures enum value "METRIC_TYPE_STORAGE_IO_ZPOOL" MetricTypeMETRICTYPESTORAGEIOZPOOL MetricType = "METRIC_TYPE_STORAGE_IO_ZPOOL" // MetricTypeMETRICTYPESTORAGEIOZVOL captures enum value "METRIC_TYPE_STORAGE_IO_ZVOL" MetricTypeMETRICTYPESTORAGEIOZVOL MetricType = "METRIC_TYPE_STORAGE_IO_ZVOL" )
func NewMetricType ¶
func NewMetricType(value MetricType) *MetricType
func (MetricType) ContextValidate ¶
ContextValidate validates this metric type based on context it is used
func (MetricType) Pointer ¶
func (m MetricType) Pointer() *MetricType
Pointer returns a pointer to a freshly-allocated MetricType.
type MetricsDetail ¶
type MetricsDetail struct { // Mapping of queries variable keys and value Queries map[string]string `json:"queries,omitempty"` // Mapping of results variable keys and value Results map[string]string `json:"results,omitempty"` }
MetricsDetail metrics detail
swagger:model MetricsDetail
func (*MetricsDetail) ContextValidate ¶
ContextValidate validates this metrics detail based on context it is used
func (*MetricsDetail) MarshalBinary ¶
func (m *MetricsDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricsDetail) UnmarshalBinary ¶
func (m *MetricsDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelArchType ¶
type ModelArchType string
ModelArchType model arch type
swagger:model ModelArchType
const ( // ModelArchTypeUNSPECIFIED captures enum value "UNSPECIFIED" ModelArchTypeUNSPECIFIED ModelArchType = "UNSPECIFIED" // ModelArchTypeUNDEFINED captures enum value "UNDEFINED" ModelArchTypeUNDEFINED ModelArchType = "UNDEFINED" // ModelArchTypeAMD64 captures enum value "AMD64" ModelArchTypeAMD64 ModelArchType = "AMD64" // ModelArchTypeARM64 captures enum value "ARM64" ModelArchTypeARM64 ModelArchType = "ARM64" )
func NewModelArchType ¶
func NewModelArchType(value ModelArchType) *ModelArchType
func (ModelArchType) ContextValidate ¶
ContextValidate validates this model arch type based on context it is used
func (ModelArchType) Pointer ¶
func (m ModelArchType) Pointer() *ModelArchType
Pointer returns a pointer to a freshly-allocated ModelArchType.
type ModemDetail ¶ added in v2.3.0
type ModemDetail struct { // Modem control protocol ControlProtocol *ZCellularControlProtocol `json:"controlProtocol,omitempty"` // Modem firmware version FirmwareVersion string `json:"firmwareVersion,omitempty"` // Modem IMEI Imei string `json:"imei,omitempty"` // Modem manufacturer Manufacturer string `json:"manufacturer,omitempty"` // Modem model Model string `json:"model,omitempty"` // Modem operating state OperatingState *ZCellularOperatingState `json:"operatingState,omitempty"` }
ModemDetail ModemDetail describes a cellular Modem
ModemDetail describes a cellular Modem ¶
swagger:model ModemDetail
func (*ModemDetail) ContextValidate ¶ added in v2.3.0
ContextValidate validate this modem detail based on the context it is used
func (*ModemDetail) MarshalBinary ¶ added in v2.3.0
func (m *ModemDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModemDetail) UnmarshalBinary ¶ added in v2.3.0
func (m *ModemDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModuleDetail ¶
type ModuleDetail struct { // Extra information to module to make configuration easier Environment map[string]string `json:"environment,omitempty"` // Type of modules ModuleType *ModuleType `json:"moduleType,omitempty"` // Send messages between modules or send messages from modules to iot hub Routes map[string]string `json:"routes,omitempty"` // Base64 encoded module twin details, desired properties of the module will be updated to reflect these values TwinDetail string `json:"twinDetail,omitempty"` }
ModuleDetail Module detail
Azure module specific details Example: {"twinDetail":"IHsKICAgICAgIm5hbWUiOiAiU2VuZEludGVydmFsIiwKICAgICAgInZhbHVlIjogIjUiCiAgICB9"}
swagger:model ModuleDetail
func (*ModuleDetail) ContextValidate ¶
ContextValidate validate this module detail based on the context it is used
func (*ModuleDetail) MarshalBinary ¶
func (m *ModuleDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModuleDetail) UnmarshalBinary ¶
func (m *ModuleDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModulePolicy ¶
type ModulePolicy struct { // etag for deployment Etag string `json:"Etag,omitempty"` // list of app details that will be provisioned on all the devices of the project to which this policy is attached // Required: true Apps []*AppConfig `json:"apps"` // app that describes the azure edge agent to be deployed on the Azure runtime AzureEdgeAgent *AppConfig `json:"azureEdgeAgent,omitempty"` // app that describes the azure edge hub to be deployed on the Azure runtime AzureEdgeHub *AppConfig `json:"azureEdgeHub,omitempty"` // unique id for deployment // Read Only: true // Pattern: [0-9-a-z-]+ ID string `json:"id,omitempty"` // Mapping of label variable keys and value Labels map[string]string `json:"labels,omitempty"` // custom metrics for deployment Metrics *MetricsDetail `json:"metrics,omitempty"` // deployment priority of module manifest // Required: true Priority *int64 `json:"priority"` // Mapping of routes variable keys and value Routes map[string]string `json:"routes,omitempty"` // target condition for deployment that matches single device or group of devices TargetCondition string `json:"targetCondition,omitempty"` // target condition for deployment that matches single device or group of devices TargetConditionNew map[string]string `json:"targetConditionNew,omitempty"` }
ModulePolicy Module policy body detail
list of modules that will be provisioned on all the devices of the project to which this policy is attached
swagger:model ModulePolicy
func (*ModulePolicy) ContextValidate ¶
ContextValidate validate this module policy based on the context it is used
func (*ModulePolicy) MarshalBinary ¶
func (m *ModulePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModulePolicy) UnmarshalBinary ¶
func (m *ModulePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModuleSummary ¶
type ModuleSummary struct { // Type of modules ModuleType *ModuleType `json:"moduleType,omitempty"` }
ModuleSummary Module detail
Azure module specific details ¶
swagger:model ModuleSummary
func (*ModuleSummary) ContextValidate ¶
ContextValidate validate this module summary based on the context it is used
func (*ModuleSummary) MarshalBinary ¶
func (m *ModuleSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModuleSummary) UnmarshalBinary ¶
func (m *ModuleSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModuleType ¶
type ModuleType string
ModuleType module type.
swagger:model ModuleType
const ( // ModuleTypeMODULETYPEUNSPECIFIED captures enum value "MODULE_TYPE_UNSPECIFIED" ModuleTypeMODULETYPEUNSPECIFIED ModuleType = "MODULE_TYPE_UNSPECIFIED" // ModuleTypeMODULETYPESYSTEMDEFINED captures enum value "MODULE_TYPE_SYSTEM_DEFINED" ModuleTypeMODULETYPESYSTEMDEFINED ModuleType = "MODULE_TYPE_SYSTEM_DEFINED" // ModuleTypeMODULETYPECUSTOM captures enum value "MODULE_TYPE_CUSTOM" ModuleTypeMODULETYPECUSTOM ModuleType = "MODULE_TYPE_CUSTOM" )
func NewModuleType ¶
func NewModuleType(value ModuleType) *ModuleType
func (ModuleType) ContextValidate ¶
ContextValidate validates this module type based on context it is used
func (ModuleType) Pointer ¶
func (m ModuleType) Pointer() *ModuleType
Pointer returns a pointer to a freshly-allocated ModuleType.
type NetConfigList ¶
type NetConfigList struct { // list List []*Network `json:"list"` // next Next *Cursor `json:"next,omitempty"` // Summary has been deprecated Summary *Summary `json:"summary,omitempty"` // summary by dist SummaryByDist *Summary `json:"summaryByDist,omitempty"` // summary by kind SummaryByKind *Summary `json:"summaryByKind,omitempty"` // summary by proxy SummaryByProxy *Summary `json:"summaryByProxy,omitempty"` }
NetConfigList net config list
swagger:model NetConfigList
func (*NetConfigList) ContextValidate ¶
ContextValidate validate this net config list based on the context it is used
func (*NetConfigList) MarshalBinary ¶
func (m *NetConfigList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetConfigList) UnmarshalBinary ¶
func (m *NetConfigList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstConfigStatus ¶
type NetInstConfigStatus struct { // User defined name of the clusterInstance, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // device default DeviceDefault bool `json:"deviceDefault,omitempty"` // device Id DeviceID string `json:"deviceId,omitempty"` // device name DeviceName string `json:"deviceName,omitempty"` // System defined universally unique Id of the network instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // kind Kind *NetworkInstanceKind `json:"kind,omitempty"` // User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // network policy Id NetworkPolicyID string `json:"networkPolicyId,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // type Type *NetworkInstanceDhcpType `json:"type,omitempty"` // up time stamp // Format: date-time UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"` // uplink intf UplinkIntf string `json:"uplinkIntf,omitempty"` }
NetInstConfigStatus Network instance config status
NetInstConfigStatus stores the summary of the network instance config status.
swagger:model NetInstConfigStatus
func (*NetInstConfigStatus) ContextValidate ¶
ContextValidate validate this net inst config status based on the context it is used
func (*NetInstConfigStatus) MarshalBinary ¶
func (m *NetInstConfigStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstConfigStatus) UnmarshalBinary ¶
func (m *NetInstConfigStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstConfigStatusList ¶
type NetInstConfigStatusList struct { // list List []*NetInstConfigStatus `json:"list"` // next Next *Cursor `json:"next,omitempty"` // Summary information about netinstance config status list records by addressing type. SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"` // Summary information about netinstance config status list records by network instance kind. SummaryByKind *Summary `json:"summaryByKind,omitempty"` }
NetInstConfigStatusList net inst config status list
swagger:model NetInstConfigStatusList
func (*NetInstConfigStatusList) ContextValidate ¶
func (m *NetInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this net inst config status list based on the context it is used
func (*NetInstConfigStatusList) MarshalBinary ¶
func (m *NetInstConfigStatusList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstConfigStatusList) UnmarshalBinary ¶
func (m *NetInstConfigStatusList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstFilter ¶
type NetInstFilter struct { // device name DeviceName string `json:"deviceName,omitempty"` // device name pattern DeviceNamePattern string `json:"deviceNamePattern,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` // tags Tags map[string]string `json:"tags,omitempty"` }
NetInstFilter net inst filter
swagger:model NetInstFilter
func (*NetInstFilter) ContextValidate ¶
ContextValidate validates this net inst filter based on context it is used
func (*NetInstFilter) MarshalBinary ¶
func (m *NetInstFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstFilter) UnmarshalBinary ¶
func (m *NetInstFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstList ¶
type NetInstList struct { // cfg list CfgList []*NetworkInstance `json:"cfgList"` // list List []*NetInstShortConfig `json:"list"` // next Next *Cursor `json:"next,omitempty"` // Summary information about netinstance list records by addressing type. SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"` // Summary information about netinstance list records by network instance kind. SummaryByKind *Summary `json:"summaryByKind,omitempty"` }
NetInstList net inst list
swagger:model NetInstList
func (*NetInstList) ContextValidate ¶
ContextValidate validate this net inst list based on the context it is used
func (*NetInstList) MarshalBinary ¶
func (m *NetInstList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstList) UnmarshalBinary ¶
func (m *NetInstList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstOpaqueConfig ¶
type NetInstOpaqueConfig struct { // lisp - Deprecated // // Deprecated - Lisp config Lisp *LispConfig `json:"lisp,omitempty"` // base64 encoded string of opaque config Oconfig string `json:"oconfig,omitempty"` // type of Opaque config Type *OpaqueConfigType `json:"type,omitempty"` }
NetInstOpaqueConfig Network Instance Opaque config. This is service specific configuration.
swagger:model NetInstOpaqueConfig
func (*NetInstOpaqueConfig) ContextValidate ¶
ContextValidate validate this net inst opaque config based on the context it is used
func (*NetInstOpaqueConfig) MarshalBinary ¶
func (m *NetInstOpaqueConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstOpaqueConfig) UnmarshalBinary ¶
func (m *NetInstOpaqueConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstShortConfig ¶
type NetInstShortConfig struct { // device default DeviceDefault bool `json:"deviceDefault,omitempty"` // device Id DeviceID string `json:"deviceId,omitempty"` // System defined universally unique Id of the network instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // kind Kind *NetworkInstanceKind `json:"kind,omitempty"` // User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // network policy id NetworkPolicyID string `json:"networkPolicyId,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // type Type *NetworkInstanceDhcpType `json:"type,omitempty"` }
NetInstShortConfig Network instance summary configuration
Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides summary configuration of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}
swagger:model NetInstShortConfig
func (*NetInstShortConfig) ContextValidate ¶
ContextValidate validate this net inst short config based on the context it is used
func (*NetInstShortConfig) MarshalBinary ¶
func (m *NetInstShortConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstShortConfig) UnmarshalBinary ¶
func (m *NetInstShortConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstStatusFilter ¶
type NetInstStatusFilter struct { // device name DeviceName string `json:"deviceName,omitempty"` // device name pattern DeviceNamePattern string `json:"deviceNamePattern,omitempty"` // kind Kind *NetworkInstanceKind `json:"kind,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // tags Tags map[string]string `json:"tags,omitempty"` // type Type *NetworkInstanceDhcpType `json:"type,omitempty"` }
NetInstStatusFilter net inst status filter
swagger:model NetInstStatusFilter
func (*NetInstStatusFilter) ContextValidate ¶
ContextValidate validate this net inst status filter based on the context it is used
func (*NetInstStatusFilter) MarshalBinary ¶
func (m *NetInstStatusFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstStatusFilter) UnmarshalBinary ¶
func (m *NetInstStatusFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstStatusListMsg ¶
type NetInstStatusListMsg struct { // list List []*NetInstStatusSummaryMsg `json:"list"` // next Next *Cursor `json:"next,omitempty"` // Summary information about netinstance status list records by addressing type. SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"` // Summary information about netinstance status list records by network instance kind. SummaryByKind *Summary `json:"summaryByKind,omitempty"` }
NetInstStatusListMsg net inst status list msg
swagger:model NetInstStatusListMsg
func (*NetInstStatusListMsg) ContextValidate ¶
ContextValidate validate this net inst status list msg based on the context it is used
func (*NetInstStatusListMsg) MarshalBinary ¶
func (m *NetInstStatusListMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstStatusListMsg) UnmarshalBinary ¶
func (m *NetInstStatusListMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstStatusMsg ¶
type NetInstStatusMsg struct { // assigned adapters AssignedAdapters []*IoBundleStatus `json:"assignedAdapters"` // bridge IP addr BridgeIPAddr string `json:"bridgeIPAddr,omitempty"` // bridge name BridgeName string `json:"bridgeName,omitempty"` // bridge num BridgeNum int64 `json:"bridgeNum,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // device on which this network is running DeviceID string `json:"deviceId,omitempty"` // err info ErrInfo []*DeviceError `json:"errInfo"` // System defined universally unique Id of the network instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // ip mappings IPMappings []*IPAssignment `json:"ipMappings"` // ipv4 eid IPV4Eid bool `json:"ipv4Eid,omitempty"` // kind Kind *NetworkInstanceKind `json:"kind,omitempty"` // User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // raw status RawStatus string `json:"rawStatus,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // up time stamp // Format: date-time UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"` // uplink intf UplinkIntf string `json:"uplinkIntf,omitempty"` // vifs Vifs []*VifInfo `json:"vifs"` }
NetInstStatusMsg Network instance detailed status
Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides detailed status of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}
swagger:model NetInstStatusMsg
func (*NetInstStatusMsg) ContextValidate ¶
ContextValidate validate this net inst status msg based on the context it is used
func (*NetInstStatusMsg) MarshalBinary ¶
func (m *NetInstStatusMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstStatusMsg) UnmarshalBinary ¶
func (m *NetInstStatusMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstStatusSummaryMsg ¶
type NetInstStatusSummaryMsg struct { // User defined name of the clusterInstance, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // device Id DeviceID string `json:"deviceId,omitempty"` // device name DeviceName string `json:"deviceName,omitempty"` // System defined universally unique Id of the network instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // kind Kind *NetworkInstanceKind `json:"kind,omitempty"` // User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // type Type *NetworkInstanceDhcpType `json:"type,omitempty"` // up time stamp // Format: date-time UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"` // uplink intf UplinkIntf string `json:"uplinkIntf,omitempty"` }
NetInstStatusSummaryMsg Network instance summary status
Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides summary status of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}
swagger:model NetInstStatusSummaryMsg
func (*NetInstStatusSummaryMsg) ContextValidate ¶
func (m *NetInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this net inst status summary msg based on the context it is used
func (*NetInstStatusSummaryMsg) MarshalBinary ¶
func (m *NetInstStatusSummaryMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstStatusSummaryMsg) UnmarshalBinary ¶
func (m *NetInstStatusSummaryMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetProxyStatus ¶
type NetProxyStatus struct { // exceptions Exceptions string `json:"exceptions,omitempty"` // Enable, the proxy configuration coming from network // // Use pacfile (Auto discover or manual upload) NetworkProxy bool `json:"networkProxy,omitempty"` // Direct URL for wpad.dat download // // Network Proxy URL NetworkProxyURL string `json:"networkProxyURL,omitempty"` // proxy configuration in a pacfile // // proxy configuration in a pacfile Pacfile string `json:"pacfile,omitempty"` // protocol level proxies // // protocol level proxies Proxies []*Server `json:"proxies"` // WPAD Proxy URL WpadProxyURL string `json:"wpadProxyURL,omitempty"` }
NetProxyStatus NetProxyStatus is used to store the proxy configurations
NetProxyStatus is used to store the proxy configurations ¶
swagger:model NetProxyStatus
func (*NetProxyStatus) ContextValidate ¶
ContextValidate validate this net proxy status based on the context it is used
func (*NetProxyStatus) MarshalBinary ¶
func (m *NetProxyStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetProxyStatus) UnmarshalBinary ¶
func (m *NetProxyStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetWifiConfigNetcryptoblock ¶
type NetWifiConfigNetcryptoblock struct { // identity Identity string `json:"identity,omitempty"` // password Password string `json:"password,omitempty"` }
NetWifiConfigNetcryptoblock net wifi config netcryptoblock
swagger:model NetWifiConfigNetcryptoblock
func (*NetWifiConfigNetcryptoblock) ContextValidate ¶
func (m *NetWifiConfigNetcryptoblock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this net wifi config netcryptoblock based on context it is used
func (*NetWifiConfigNetcryptoblock) MarshalBinary ¶
func (m *NetWifiConfigNetcryptoblock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetWifiConfigNetcryptoblock) UnmarshalBinary ¶
func (m *NetWifiConfigNetcryptoblock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetWifiConfigSecrets ¶
type NetWifiConfigSecrets struct { // Wifi Password WiFiPasswd string `json:"WiFiPasswd,omitempty"` }
NetWifiConfigSecrets net wifi config secrets
swagger:model NetWifiConfigSecrets
func (*NetWifiConfigSecrets) ContextValidate ¶
ContextValidate validates this net wifi config secrets based on context it is used
func (*NetWifiConfigSecrets) MarshalBinary ¶
func (m *NetWifiConfigSecrets) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetWifiConfigSecrets) UnmarshalBinary ¶
func (m *NetWifiConfigSecrets) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Network ¶
type Network struct { // Detailed description of the network // Max Length: 256 Description string `json:"description,omitempty"` // dns list DNSList []*StaticDNSList `json:"dnsList"` // make this network default for device EnterpriseDefault bool `json:"enterpriseDefault,omitempty"` // System defined universally unique Id of the network // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // ip // Required: true IP *IPSpec `json:"ip"` // kind // Required: true Kind *NetworkKind `json:"kind"` // Maximum transmission unit (MTU) to set on the associated network adapter(s) Mtu int64 `json:"mtu,omitempty"` // User defined name of the network, unique across the enterprise. Once object is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // project Id // Required: true ProjectID *string `json:"projectId"` // enterprise proxy Proxy *Proxy `json:"proxy,omitempty"` // system defined info Revision *ObjectRevision `json:"revision,omitempty"` // User defined title of the network. Title can be changed at any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title *string `json:"title"` // Wifi configuration Wireless *Wireless `json:"wireless,omitempty"` }
Network Network detailed configuration
Network provides Edge nodes a variety of connectivity choices for all types of networks. This enables physical connectivity with Ethernet, WiFi, LTE to communicate with ZEDEDA Cloud controller and Data Centres. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}
swagger:model Network
func (*Network) ContextValidate ¶
ContextValidate validate this net config based on the context it is used
func (*Network) MarshalBinary ¶
MarshalBinary interface implementation
func (*Network) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NetworkCounters ¶
type NetworkCounters struct { // ifName IfName string `json:"ifName,omitempty"` // Rx ACL Rate Drops RxACLDrops uint64 `json:"rxAclDrops,omitempty"` // Rx ACL Rate Limit Drops RxACLRateLimitDrops uint64 `json:"rxAclRateLimitDrops,omitempty"` // Rx Bytes RxBytes uint64 `json:"rxBytes,omitempty"` // Rx Drops RxDrops uint64 `json:"rxDrops,omitempty"` // Rx Errors RxErrors uint64 `json:"rxErrors,omitempty"` // Rx packets RxPkts uint64 `json:"rxPkts,omitempty"` // Tx ACL Rate Drops TxACLDrops uint64 `json:"txAclDrops,omitempty"` // Tx ACL Rate Limit Drops TxACLRateLimitDrops uint64 `json:"txAclRateLimitDrops,omitempty"` // Tx Bytes TxBytes uint64 `json:"txBytes,omitempty"` // Tx Drops TxDrops uint64 `json:"txDrops,omitempty"` // Tx Errors TxErrors uint64 `json:"txErrors,omitempty"` // Tx Packets TxPkts uint64 `json:"txPkts,omitempty"` }
NetworkCounters NetworkCounter is used to store the Network Stats and Counters
NetworkCounter is used to store the Network Stats and Counters ¶
swagger:model NetworkCounters
func (*NetworkCounters) ContextValidate ¶
ContextValidate validates this network counters based on context it is used
func (*NetworkCounters) MarshalBinary ¶
func (m *NetworkCounters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCounters) UnmarshalBinary ¶
func (m *NetworkCounters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkDHCPType ¶
type NetworkDHCPType string
NetworkDHCPType - NETWORK_DHCP_TYPE_STATIC: used for adapter configured DHCP static
- NETWORK_DHCP_TYPE_PASSTHROUGH: used for adapter configured DHCP none, application will do DHCP
- NETWORK_DHCP_TYPE_DEPRECATED: used for application simulation
- NETWORK_DHCP_TYPE_CLIENT: used for adapter configured DHCP client
swagger:model NetworkDHCPType
const ( // NetworkDHCPTypeNETWORKDHCPTYPEUNSPECIFIED captures enum value "NETWORK_DHCP_TYPE_UNSPECIFIED" NetworkDHCPTypeNETWORKDHCPTYPEUNSPECIFIED NetworkDHCPType = "NETWORK_DHCP_TYPE_UNSPECIFIED" // NetworkDHCPTypeNETWORKDHCPTYPESTATIC captures enum value "NETWORK_DHCP_TYPE_STATIC" NetworkDHCPTypeNETWORKDHCPTYPESTATIC NetworkDHCPType = "NETWORK_DHCP_TYPE_STATIC" // NetworkDHCPTypeNETWORKDHCPTYPEPASSTHROUGH captures enum value "NETWORK_DHCP_TYPE_PASSTHROUGH" NetworkDHCPTypeNETWORKDHCPTYPEPASSTHROUGH NetworkDHCPType = "NETWORK_DHCP_TYPE_PASSTHROUGH" // NetworkDHCPTypeNETWORKDHCPTYPEDEPRECATED captures enum value "NETWORK_DHCP_TYPE_DEPRECATED" NetworkDHCPTypeNETWORKDHCPTYPEDEPRECATED NetworkDHCPType = "NETWORK_DHCP_TYPE_DEPRECATED" // NetworkDHCPTypeNETWORKDHCPTYPECLIENT captures enum value "NETWORK_DHCP_TYPE_CLIENT" NetworkDHCPTypeNETWORKDHCPTYPECLIENT NetworkDHCPType = "NETWORK_DHCP_TYPE_CLIENT" )
func NewNetworkDHCPType ¶
func NewNetworkDHCPType(value NetworkDHCPType) *NetworkDHCPType
func (NetworkDHCPType) ContextValidate ¶
ContextValidate validates this network d h c p type based on context it is used
func (NetworkDHCPType) Pointer ¶
func (m NetworkDHCPType) Pointer() *NetworkDHCPType
Pointer returns a pointer to a freshly-allocated NetworkDHCPType.
type NetworkFilter ¶
type NetworkFilter struct { // dist Dist *Type `json:"dist,omitempty"` // kind Kind *NetworkKind `json:"kind,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` }
NetworkFilter network filter
swagger:model NetworkFilter
func (*NetworkFilter) ContextValidate ¶
ContextValidate validate this network filter based on the context it is used
func (*NetworkFilter) MarshalBinary ¶
func (m *NetworkFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkFilter) UnmarshalBinary ¶
func (m *NetworkFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkInstConfig ¶
type NetworkInstConfig struct { // flag to indicate if this is default network // // flag to indicate if this is the default network instance for the device DeviceDefault string `json:"deviceDefault,omitempty"` // List of Static DNS entries DNSList []*StaticDNSList `json:"dnsList"` // Dhcp Server Configuration IP *DhcpServerConfig `json:"ip,omitempty"` // Kind of Network Instance ( Local, Switch etc ) Kind *NetworkInstanceKind `json:"kind,omitempty"` // Service specific Config Opaque *NetInstOpaqueConfig `json:"opaque,omitempty"` // name of port mapping in the model // // name of port mapping in the model Port string `json:"port,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. PortTags map[string]string `json:"portTags,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // Type of DHCP for this Network Instance Type *NetworkInstanceDhcpType `json:"type,omitempty"` }
NetworkInstConfig network inst config
swagger:model NetworkInstConfig
func (*NetworkInstConfig) ContextValidate ¶
ContextValidate validate this network inst config based on the context it is used
func (*NetworkInstConfig) MarshalBinary ¶
func (m *NetworkInstConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkInstConfig) UnmarshalBinary ¶
func (m *NetworkInstConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkInstPolicy ¶
type NetworkInstPolicy struct { // all the required metadata for a policy like id, name, different types of tags MetaData *PolicyCommon `json:"metaData,omitempty"` // network instance config details NetInstConfig *NetworkInstance `json:"netInstConfig,omitempty"` }
NetworkInstPolicy network inst policy
swagger:model NetworkInstPolicy
func (*NetworkInstPolicy) ContextValidate ¶
ContextValidate validate this network inst policy based on the context it is used
func (*NetworkInstPolicy) MarshalBinary ¶
func (m *NetworkInstPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkInstPolicy) UnmarshalBinary ¶
func (m *NetworkInstPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkInstance ¶
type NetworkInstance struct { // id of the Cluster in which the network instance is configured // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // Detailed description of the network instance // Max Length: 256 Description string `json:"description,omitempty"` // flag to indicate if this is default network // // flag to indicate if this is the default network instance for the device DeviceDefault bool `json:"deviceDefault,omitempty"` // device on which this network is running // // id of the device on which network instance is created // Required: true DeviceID *string `json:"deviceId"` // dhcp - DEPRECATED // // Deprecated Dhcp bool `json:"dhcp,omitempty"` // List of Static DNS entries DNSList []*StaticDNSList `json:"dnsList"` // System defined universally unique Id of the network instance // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // Dhcp Server Configuration IP *DhcpServerConfig `json:"ip,omitempty"` // Kind of Network Instance ( Local, Switch etc ) // Required: true Kind *NetworkInstanceKind `json:"kind"` // Lisp Config : read only for now. Deprecated. Lisp *LispConfig `json:"lisp,omitempty"` // Maximum transmission unit (MTU) to set for the network instance and all application interfaces connected to it Mtu int64 `json:"mtu,omitempty"` // User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // id of the network policy to be attached to this network instance NetworkPolicyID string `json:"networkPolicyId,omitempty"` // Deprecated Oconfig string `json:"oconfig,omitempty"` // Service specific Config Opaque *NetInstOpaqueConfig `json:"opaque,omitempty"` // name of port mapping in the model // // name of port mapping in the model // Required: true Port *string `json:"port"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. PortTags map[string]string `json:"portTags,omitempty"` // id of the project in which network instance is created ProjectID string `json:"projectId,omitempty"` // Automatically propagate connected routes PropagateConnectedRoutes bool `json:"propagateConnectedRoutes,omitempty"` // system defined info for the object Revision *ObjectRevision `json:"revision,omitempty"` // List of Static IP routes StaticRoutes []*StaticIPRoute `json:"staticRoutes"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // User defined title of the network instance. Title can be changed at any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title *string `json:"title"` // Type of DHCP for this Network Instance Type *NetworkInstanceDhcpType `json:"type,omitempty"` }
NetworkInstance Network instance detailed configuration
Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides detailed configuration of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}
swagger:model NetworkInstance
func (*NetworkInstance) ContextValidate ¶
ContextValidate validate this net inst config based on the context it is used
func (*NetworkInstance) MarshalBinary ¶
func (m *NetworkInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkInstance) UnmarshalBinary ¶
func (m *NetworkInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkInstanceDhcpType ¶
type NetworkInstanceDhcpType string
NetworkInstanceDhcpType NetworkInstanceDhcpType: Used in the network instance provide
dhcp server configuration
swagger:model NetworkInstanceDhcpType
const ( // NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEUNSPECIFIED captures enum value "NETWORK_INSTANCE_DHCP_TYPE_UNSPECIFIED" NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEUNSPECIFIED NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_UNSPECIFIED" // NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV4 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_V4" NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV4 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_V4" // NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV6 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_V6" NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV6 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_V6" // NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOEID captures enum value "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOEID" NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOEID NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOEID" // NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV4 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV4" NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV4 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV4" // NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV6 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV6" NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV6 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV6" )
func NewNetworkInstanceDhcpType ¶
func NewNetworkInstanceDhcpType(value NetworkInstanceDhcpType) *NetworkInstanceDhcpType
func (NetworkInstanceDhcpType) ContextValidate ¶
func (m NetworkInstanceDhcpType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network instance dhcp type based on context it is used
func (NetworkInstanceDhcpType) Pointer ¶
func (m NetworkInstanceDhcpType) Pointer() *NetworkInstanceDhcpType
Pointer returns a pointer to a freshly-allocated NetworkInstanceDhcpType.
type NetworkInstanceFlowLogTransmission ¶ added in v2.3.0
type NetworkInstanceFlowLogTransmission string
NetworkInstanceFlowLogTransmission NetworkInstanceFlowLogTransmission represents the status of flow log transmission within a network instance. This enum is used to enable or disable the transmission of flow logs for monitoring and troubleshooting purposes.
- NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_UNSPECIFIED: Default value. This value is not specified and should not be used.
- NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_ENABLED: Flow log transmission is enabled. Logs will be sent to the designated
logging service for the network instance.
- NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_DISABLED: Flow log transmission is disabled. No logs will be sent from the
network instance.
swagger:model NetworkInstanceFlowLogTransmission
const ( // NetworkInstanceFlowLogTransmissionNETWORKINSTANCEFLOWLOGTRANSMISSIONUNSPECIFIED captures enum value "NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_UNSPECIFIED" NetworkInstanceFlowLogTransmissionNETWORKINSTANCEFLOWLOGTRANSMISSIONUNSPECIFIED NetworkInstanceFlowLogTransmission = "NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_UNSPECIFIED" // NetworkInstanceFlowLogTransmissionNETWORKINSTANCEFLOWLOGTRANSMISSIONENABLED captures enum value "NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_ENABLED" NetworkInstanceFlowLogTransmissionNETWORKINSTANCEFLOWLOGTRANSMISSIONENABLED NetworkInstanceFlowLogTransmission = "NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_ENABLED" // NetworkInstanceFlowLogTransmissionNETWORKINSTANCEFLOWLOGTRANSMISSIONDISABLED captures enum value "NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_DISABLED" NetworkInstanceFlowLogTransmissionNETWORKINSTANCEFLOWLOGTRANSMISSIONDISABLED NetworkInstanceFlowLogTransmission = "NETWORK_INSTANCE_FLOW_LOG_TRANSMISSION_DISABLED" )
func NewNetworkInstanceFlowLogTransmission ¶ added in v2.3.0
func NewNetworkInstanceFlowLogTransmission(value NetworkInstanceFlowLogTransmission) *NetworkInstanceFlowLogTransmission
func (NetworkInstanceFlowLogTransmission) ContextValidate ¶ added in v2.3.0
func (m NetworkInstanceFlowLogTransmission) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network instance flow log transmission based on context it is used
func (NetworkInstanceFlowLogTransmission) Pointer ¶ added in v2.3.0
func (m NetworkInstanceFlowLogTransmission) Pointer() *NetworkInstanceFlowLogTransmission
Pointer returns a pointer to a freshly-allocated NetworkInstanceFlowLogTransmission.
type NetworkInstanceKind ¶
type NetworkInstanceKind string
NetworkInstanceKind network instance kind
swagger:model NetworkInstanceKind
const ( // NetworkInstanceKindNETWORKINSTANCEKINDUNSPECIFIED captures enum value "NETWORK_INSTANCE_KIND_UNSPECIFIED" NetworkInstanceKindNETWORKINSTANCEKINDUNSPECIFIED NetworkInstanceKind = "NETWORK_INSTANCE_KIND_UNSPECIFIED" // NetworkInstanceKindNETWORKINSTANCEKINDTRANSPARENT captures enum value "NETWORK_INSTANCE_KIND_TRANSPARENT" NetworkInstanceKindNETWORKINSTANCEKINDTRANSPARENT NetworkInstanceKind = "NETWORK_INSTANCE_KIND_TRANSPARENT" // NetworkInstanceKindNETWORKINSTANCEKINDSWITCH captures enum value "NETWORK_INSTANCE_KIND_SWITCH" NetworkInstanceKindNETWORKINSTANCEKINDSWITCH NetworkInstanceKind = "NETWORK_INSTANCE_KIND_SWITCH" // NetworkInstanceKindNETWORKINSTANCEKINDLOCAL captures enum value "NETWORK_INSTANCE_KIND_LOCAL" NetworkInstanceKindNETWORKINSTANCEKINDLOCAL NetworkInstanceKind = "NETWORK_INSTANCE_KIND_LOCAL" // NetworkInstanceKindNETWORKINSTANCEKINDCLOUD captures enum value "NETWORK_INSTANCE_KIND_CLOUD" NetworkInstanceKindNETWORKINSTANCEKINDCLOUD NetworkInstanceKind = "NETWORK_INSTANCE_KIND_CLOUD" // NetworkInstanceKindNETWORKINSTANCEKINDMESH captures enum value "NETWORK_INSTANCE_KIND_MESH" NetworkInstanceKindNETWORKINSTANCEKINDMESH NetworkInstanceKind = "NETWORK_INSTANCE_KIND_MESH" // NetworkInstanceKindNETWORKINSTANCEKINDHONEYPOT captures enum value "NETWORK_INSTANCE_KIND_HONEYPOT" NetworkInstanceKindNETWORKINSTANCEKINDHONEYPOT NetworkInstanceKind = "NETWORK_INSTANCE_KIND_HONEYPOT" )
func NewNetworkInstanceKind ¶
func NewNetworkInstanceKind(value NetworkInstanceKind) *NetworkInstanceKind
func (NetworkInstanceKind) ContextValidate ¶
ContextValidate validates this network instance kind based on context it is used
func (NetworkInstanceKind) Pointer ¶
func (m NetworkInstanceKind) Pointer() *NetworkInstanceKind
Pointer returns a pointer to a freshly-allocated NetworkInstanceKind.
type NetworkKind ¶
type NetworkKind string
NetworkKind NetworkKind: Used for the network configuration, this is
only client mode
swagger:model NetworkKind
const ( // NetworkKindNETWORKKINDUNSPECIFIED captures enum value "NETWORK_KIND_UNSPECIFIED" NetworkKindNETWORKKINDUNSPECIFIED NetworkKind = "NETWORK_KIND_UNSPECIFIED" // NetworkKindNETWORKKINDV4 captures enum value "NETWORK_KIND_V4" NetworkKindNETWORKKINDV4 NetworkKind = "NETWORK_KIND_V4" // NetworkKindNETWORKKINDV6 captures enum value "NETWORK_KIND_V6" NetworkKindNETWORKKINDV6 NetworkKind = "NETWORK_KIND_V6" // NetworkKindNETWORKKINDV4ONLY captures enum value "NETWORK_KIND_V4_ONLY" NetworkKindNETWORKKINDV4ONLY NetworkKind = "NETWORK_KIND_V4_ONLY" // NetworkKindNETWORKKINDV6ONLY captures enum value "NETWORK_KIND_V6_ONLY" NetworkKindNETWORKKINDV6ONLY NetworkKind = "NETWORK_KIND_V6_ONLY" // NetworkKindNETWORKKINDDUALV4V6 captures enum value "NETWORK_KIND_DUAL_V4_V6" NetworkKindNETWORKKINDDUALV4V6 NetworkKind = "NETWORK_KIND_DUAL_V4_V6" )
func NewNetworkKind ¶
func NewNetworkKind(value NetworkKind) *NetworkKind
func (NetworkKind) ContextValidate ¶
ContextValidate validates this network kind based on context it is used
func (NetworkKind) Pointer ¶
func (m NetworkKind) Pointer() *NetworkKind
Pointer returns a pointer to a freshly-allocated NetworkKind.
type NetworkPolicy ¶
type NetworkPolicy struct { // list of network details that will be created on all the devices of the project to which this policy is attached // Required: true NetInstanceConfig []*NetworkInstance `json:"netInstanceConfig"` }
NetworkPolicy Network policy body detail
list of networks that will be created on all the devices of the project to which this policy is attached
swagger:model NetworkPolicy
func (*NetworkPolicy) ContextValidate ¶
ContextValidate validate this network policy based on the context it is used
func (*NetworkPolicy) MarshalBinary ¶
func (m *NetworkPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkPolicy) UnmarshalBinary ¶
func (m *NetworkPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkProvider ¶ added in v2.3.0
type NetworkProvider struct { // Time when was the connection established // Format: date-time ConnectedAt strfmt.DateTime `json:"connectedAt,omitempty"` // Human-friendly name Name string `json:"name,omitempty"` // PLMN code Plmn string `json:"plmn,omitempty"` // Radio Access Technology Rat *RadioAccessTechnology `json:"rat,omitempty"` // Is Roaming ON Roaming bool `json:"roaming,omitempty"` }
NetworkProvider NetworkProvider describes a cellular Network Provider
NetworkProvider describes a cellular Network Provider ¶
swagger:model NetworkProvider
func (*NetworkProvider) ContextValidate ¶ added in v2.3.0
ContextValidate validate this network provider based on the context it is used
func (*NetworkProvider) MarshalBinary ¶ added in v2.3.0
func (m *NetworkProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkProvider) UnmarshalBinary ¶ added in v2.3.0
func (m *NetworkProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkStatus ¶
type NetworkStatus struct { // Cellular network status Cellular *CellularStatus `json:"cellular,omitempty"` // Default Routers DefaultRouters []string `json:"defaultRouters"` // DNS Configuration DNS *DNSInfo `json:"dns,omitempty"` // Network error details ErrInfo *DeviceError `json:"errInfo,omitempty"` // Location from GNSS receivers on WWAN type adapters GpsLocation *GPSLocation `json:"gpsLocation,omitempty"` // ifName IfName string `json:"ifName,omitempty"` // Array of IP addresses IPAddrs []string `json:"ipAddrs"` // Geo Location Details Location *GeoLocation `json:"location,omitempty"` // mac Address MacAddr string `json:"macAddr,omitempty"` // Network MTU Mtu int64 `json:"mtu,omitempty"` // Network Proxy status Proxy *NetProxyStatus `json:"proxy,omitempty"` // Network Status flag Up bool `json:"up,omitempty"` // Uplink flag Uplink bool `json:"uplink,omitempty"` }
NetworkStatus NetworkStatus is used to store the Network Status
NetworkStatus is used to store the Network status ¶
swagger:model NetworkStatus
func (*NetworkStatus) ContextValidate ¶
ContextValidate validate this network status based on the context it is used
func (*NetworkStatus) MarshalBinary ¶
func (m *NetworkStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkStatus) UnmarshalBinary ¶
func (m *NetworkStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkWiFiKeyScheme ¶
type NetworkWiFiKeyScheme string
NetworkWiFiKeyScheme network wi fi key scheme
swagger:model NetworkWiFiKeyScheme
const ( // NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEUNSPECIFIED captures enum value "NETWORK_WIFIKEY_SCHEME_UNSPECIFIED" NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEUNSPECIFIED NetworkWiFiKeyScheme = "NETWORK_WIFIKEY_SCHEME_UNSPECIFIED" // NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAPSK captures enum value "NETWORK_WIFIKEY_SCHEME_WPAPSK" NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAPSK NetworkWiFiKeyScheme = "NETWORK_WIFIKEY_SCHEME_WPAPSK" // NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAEAP captures enum value "NETWORK_WIFIKEY_SCHEME_WPAEAP" NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAEAP NetworkWiFiKeyScheme = "NETWORK_WIFIKEY_SCHEME_WPAEAP" )
func NewNetworkWiFiKeyScheme ¶
func NewNetworkWiFiKeyScheme(value NetworkWiFiKeyScheme) *NetworkWiFiKeyScheme
func (NetworkWiFiKeyScheme) ContextValidate ¶
ContextValidate validates this network wi fi key scheme based on context it is used
func (NetworkWiFiKeyScheme) Pointer ¶
func (m NetworkWiFiKeyScheme) Pointer() *NetworkWiFiKeyScheme
Pointer returns a pointer to a freshly-allocated NetworkWiFiKeyScheme.
type Node ¶
type Node struct { // administrative state of device AdminState *AdminState `json:"adminState,omitempty"` // Device asset ID AssetID string `json:"assetId,omitempty"` // base images BaseImage []*BaseOSImage `json:"baseImage"` // device baseos retry counter BaseOsRetryCounter int64 `json:"baseOsRetryCounter,omitempty"` // device baseos retry time BaseOsRetryTime string `json:"baseOsRetryTime,omitempty"` // Client IP ClientIP string `json:"clientIp,omitempty"` // System defined universally unique clusterInstance ID, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ ClusterID string `json:"clusterID,omitempty"` // ED configurations ConfigItem []*EDConfigItem `json:"configItem"` // CPU (configured values) CPU int64 `json:"cpu,omitempty"` // debug knob details for the device DebugKnob *DebugKnobDetail `json:"debugKnob,omitempty"` // default network instance details DefaultNetInst *NetworkInstance `json:"defaultNetInst,omitempty"` // user defined tag for the device, which is used while deploying policies. DeploymentTag string `json:"deploymentTag,omitempty"` // deprecated field Deprecated string `json:"deprecated,omitempty"` // user specified description Description string `json:"description,omitempty"` // User specified geo location DevLocation *GeoLocation `json:"devLocation,omitempty"` // device Lisp Dlisp *DeviceLisp `json:"dlisp,omitempty"` // edgeview configuration for device Edgeviewconfig *EdgeviewCfg `json:"edgeviewconfig,omitempty"` // indicates whether a soft serial should be generated; it will work ONLY when device is created GenerateSoftSerial bool `json:"generateSoftSerial,omitempty"` // system generated unique id for a device // Read Only: true // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // Device identity // Format: byte Identity strfmt.Base64 `json:"identity,omitempty"` // System Interface list Interfaces []*SystemInterface `json:"interfaces"` // Device location: deprecated Location string `json:"location,omitempty"` // Device memory in MBs Memory int64 `json:"memory,omitempty"` // device model // Required: true ModelID *string `json:"modelId"` // user specified device name // Required: true Name *string `json:"name"` // Object key Obkey string `json:"obkey,omitempty"` // Device level certificates used while onboarding Onboarding *DeviceCerts `json:"onboarding,omitempty"` // prepare poweroff counter PreparePowerOffCounter int64 `json:"preparePowerOffCounter,omitempty"` // prepare poweroff time PreparePowerOffTime string `json:"preparePowerOffTime,omitempty"` // project name // Required: true ProjectID *string `json:"projectId"` // devicereset counter ResetCounter int64 `json:"resetCounter,omitempty"` // device reset time ResetTime string `json:"resetTime,omitempty"` // Object revision details Revision *ObjectRevision `json:"revision,omitempty"` // Device serial number Serialno string `json:"serialno,omitempty"` // Site captured pictures SitePictures []string `json:"sitePictures"` // Device storage in GBs Storage int64 `json:"storage,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // Threads Thread int64 `json:"thread,omitempty"` // user specified title // Required: true Title *string `json:"title"` // Single use token Token string `json:"token,omitempty"` // device model arch type Utype *ModelArchType `json:"utype,omitempty"` }
Node Device Configuration payload detail
Device Configuration request paylod holds the device properties ¶
swagger:model Node
func (*Node) ContextValidate ¶
ContextValidate validate this device config based on the context it is used
func (*Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OAUTHProfile ¶ added in v2.3.0
type OAUTHProfile struct { // OIDC endpoint for oauth validation OIDCEndPoint string `json:"OIDCEndPoint,omitempty"` // pass additional url parameters during the exchange and authorization process AdditionalParameters string `json:"additionalParameters,omitempty"` // OAUTH client ID ClientID string `json:"clientID,omitempty"` // OAUTH client secret ClientSecret string `json:"clientSecret,omitempty"` // crypto key CryptoKey string `json:"cryptoKey,omitempty"` // encrypted secrets EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"` // id for Vmware IDP IdpID string `json:"idpId,omitempty"` // Config for JWT based authentication, jwks_uri is derived from OIDC Well Known Endpoints JwtAuthProfile *OAUTHProfileJWTAuthProfile `json:"jwtAuthProfile,omitempty"` // OIDC scope to fetch application role RoleScope string `json:"roleScope,omitempty"` }
OAUTHProfile o a u t h profile
swagger:model OAUTHProfile
func (*OAUTHProfile) ContextValidate ¶ added in v2.3.0
ContextValidate validate this o a u t h profile based on the context it is used
func (*OAUTHProfile) MarshalBinary ¶ added in v2.3.0
func (m *OAUTHProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OAUTHProfile) UnmarshalBinary ¶ added in v2.3.0
func (m *OAUTHProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OAUTHProfileJWTAuthProfile ¶ added in v2.3.0
type OAUTHProfileJWTAuthProfile struct { // Algorithm for JWT signature verification Alg *JWTAuthProfileAlgorithm `json:"alg,omitempty"` }
OAUTHProfileJWTAuthProfile JWT Authentication profile detail
Config for JWT based authentication, jwks_uri is derived from OIDC Well Known Endpoints
swagger:model OAUTHProfileJWTAuthProfile
func (*OAUTHProfileJWTAuthProfile) ContextValidate ¶ added in v2.3.0
func (m *OAUTHProfileJWTAuthProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this o a u t h profile j w t auth profile based on the context it is used
func (*OAUTHProfileJWTAuthProfile) MarshalBinary ¶ added in v2.3.0
func (m *OAUTHProfileJWTAuthProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OAUTHProfileJWTAuthProfile) UnmarshalBinary ¶ added in v2.3.0
func (m *OAUTHProfileJWTAuthProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectDetail ¶
type ObjectDetail struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
ObjectDetail object detail
swagger:model ObjectDetail
func (*ObjectDetail) ContextValidate ¶
ContextValidate validates this object detail based on context it is used
func (*ObjectDetail) MarshalBinary ¶
func (m *ObjectDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectDetail) UnmarshalBinary ¶
func (m *ObjectDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectParentDetail ¶
type ObjectParentDetail struct { // system defined unique id of parent object // Required: true // Read Only: true // Pattern: [0-9A-Za-z-]+ IDOfParentObject string `json:"idOfParentObject"` // Relation with child and parent object exists or not ReferenceExists bool `json:"referenceExists,omitempty"` // Update required flag UpdateAvailable bool `json:"updateAvailable,omitempty"` // version of object present in parent // Read Only: true VersionOfParentObject int64 `json:"versionOfParentObject,omitempty"` }
ObjectParentDetail Object Import Detail
ObjectImportDetail consists of various object attributes like idOfParentObject, versionOfParentObject, updateAvailable, referenceExists ¶
swagger:model ObjectParentDetail
func (*ObjectParentDetail) ContextValidate ¶
ContextValidate validate this object parent detail based on the context it is used
func (*ObjectParentDetail) MarshalBinary ¶
func (m *ObjectParentDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectParentDetail) UnmarshalBinary ¶
func (m *ObjectParentDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectRevision ¶
type ObjectRevision struct { // The time, in milliseconds since the epoch, when the record was created. // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // User data: Created By // Required: true CreatedBy *string `json:"createdBy"` // Current Database version of the record // Required: true Curr *string `json:"curr"` // Previous Prev string `json:"prev,omitempty"` // The time, in milliseconds since the epoch, when the record was last updated. // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // User data: Updated By // Required: true UpdatedBy *string `json:"updatedBy"` }
ObjectRevision ObjectRevision is used to store the user information.
ObjectRevision store the user details, who has doent the necessary operation like Create Operation or update operation ¶
swagger:model ObjectRevision
func (*ObjectRevision) ContextValidate ¶
ContextValidate validates this object revision based on context it is used
func (*ObjectRevision) MarshalBinary ¶
func (m *ObjectRevision) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectRevision) UnmarshalBinary ¶
func (m *ObjectRevision) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectTag ¶
type ObjectTag struct { // Description of the tag key Description string `json:"description,omitempty"` // object tag key identifier. Key string `json:"key,omitempty"` // value associated for the object tag key Value string `json:"value,omitempty"` }
ObjectTag Object Tag details
Object tag deaails.
swagger:model ObjectTag
func (*ObjectTag) ContextValidate ¶
ContextValidate validates this object tag based on context it is used
func (*ObjectTag) MarshalBinary ¶
MarshalBinary interface implementation
func (*ObjectTag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ObjectTagFilter ¶
type ObjectTagFilter struct { // Object Id which tags are associated. ObjID string `json:"objId,omitempty"` // Object name which tags are associated. ObjName string `json:"objName,omitempty"` // Object type ObjType *ObjectType `json:"objType,omitempty"` }
ObjectTagFilter Object tag list filter criteria
Filter criteria for the object tag list.
swagger:model ObjectTagFilter
func (*ObjectTagFilter) ContextValidate ¶
ContextValidate validate this object tag filter based on the context it is used
func (*ObjectTagFilter) MarshalBinary ¶
func (m *ObjectTagFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectTagFilter) UnmarshalBinary ¶
func (m *ObjectTagFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectTagsList ¶
type ObjectTagsList struct { // Returned record page. Next *Cursor `json:"next,omitempty"` // Details of Object tags list records. ObjectTags []*ObjectTag `json:"objectTags"` }
ObjectTagsList Object tag list records
Returned list of Object tags matched by filter criteria ¶
swagger:model ObjectTagsList
func (*ObjectTagsList) ContextValidate ¶
ContextValidate validate this object tags list based on the context it is used
func (*ObjectTagsList) MarshalBinary ¶
func (m *ObjectTagsList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectTagsList) UnmarshalBinary ¶
func (m *ObjectTagsList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectType ¶
type ObjectType string
ObjectType object type
swagger:model ObjectType
const ( // ObjectTypeOBJECTTYPEUNSPECIFIED captures enum value "OBJECT_TYPE_UNSPECIFIED" ObjectTypeOBJECTTYPEUNSPECIFIED ObjectType = "OBJECT_TYPE_UNSPECIFIED" // ObjectTypeOBJECTTYPEUSER captures enum value "OBJECT_TYPE_USER" ObjectTypeOBJECTTYPEUSER ObjectType = "OBJECT_TYPE_USER" // ObjectTypeOBJECTTYPEEDGENODE captures enum value "OBJECT_TYPE_EDGE_NODE" ObjectTypeOBJECTTYPEEDGENODE ObjectType = "OBJECT_TYPE_EDGE_NODE" // ObjectTypeOBJECTTYPEEDGEAPP captures enum value "OBJECT_TYPE_EDGE_APP" ObjectTypeOBJECTTYPEEDGEAPP ObjectType = "OBJECT_TYPE_EDGE_APP" // ObjectTypeOBJECTTYPEIMAGE captures enum value "OBJECT_TYPE_IMAGE" ObjectTypeOBJECTTYPEIMAGE ObjectType = "OBJECT_TYPE_IMAGE" // ObjectTypeOBJECTTYPEEDGEAPPINSTANCE captures enum value "OBJECT_TYPE_EDGE_APP_INSTANCE" ObjectTypeOBJECTTYPEEDGEAPPINSTANCE ObjectType = "OBJECT_TYPE_EDGE_APP_INSTANCE" // ObjectTypeOBJECTTYPEPROJECT captures enum value "OBJECT_TYPE_PROJECT" ObjectTypeOBJECTTYPEPROJECT ObjectType = "OBJECT_TYPE_PROJECT" // ObjectTypeOBJECTTYPENETWORK captures enum value "OBJECT_TYPE_NETWORK" ObjectTypeOBJECTTYPENETWORK ObjectType = "OBJECT_TYPE_NETWORK" // ObjectTypeOBJECTTYPEDATASTORE captures enum value "OBJECT_TYPE_DATASTORE" ObjectTypeOBJECTTYPEDATASTORE ObjectType = "OBJECT_TYPE_DATASTORE" // ObjectTypeOBJECTTYPESERVICE captures enum value "OBJECT_TYPE_SERVICE" ObjectTypeOBJECTTYPESERVICE ObjectType = "OBJECT_TYPE_SERVICE" // ObjectTypeOBJECTTYPESERVICEINSTANCE captures enum value "OBJECT_TYPE_SERVICE_INSTANCE" ObjectTypeOBJECTTYPESERVICEINSTANCE ObjectType = "OBJECT_TYPE_SERVICE_INSTANCE" // ObjectTypeOBJECTTYPEENTERPRISE captures enum value "OBJECT_TYPE_ENTERPRISE" ObjectTypeOBJECTTYPEENTERPRISE ObjectType = "OBJECT_TYPE_ENTERPRISE" // ObjectTypeOBJECTTYPEROLE captures enum value "OBJECT_TYPE_ROLE" ObjectTypeOBJECTTYPEROLE ObjectType = "OBJECT_TYPE_ROLE" // ObjectTypeOBJECTTYPECREDENTIAL captures enum value "OBJECT_TYPE_CREDENTIAL" ObjectTypeOBJECTTYPECREDENTIAL ObjectType = "OBJECT_TYPE_CREDENTIAL" // ObjectTypeOBJECTTYPENETWORKINSTANCE captures enum value "OBJECT_TYPE_NETWORK_INSTANCE" ObjectTypeOBJECTTYPENETWORKINSTANCE ObjectType = "OBJECT_TYPE_NETWORK_INSTANCE" // ObjectTypeOBJECTTYPEVOLUMEINSTANCE captures enum value "OBJECT_TYPE_VOLUME_INSTANCE" ObjectTypeOBJECTTYPEVOLUMEINSTANCE ObjectType = "OBJECT_TYPE_VOLUME_INSTANCE" // ObjectTypeOBJECTTYPEREALM captures enum value "OBJECT_TYPE_REALM" ObjectTypeOBJECTTYPEREALM ObjectType = "OBJECT_TYPE_REALM" // ObjectTypeOBJECTTYPEAUTHPROFILE captures enum value "OBJECT_TYPE_AUTHPROFILE" ObjectTypeOBJECTTYPEAUTHPROFILE ObjectType = "OBJECT_TYPE_AUTHPROFILE" // ObjectTypeOBJECTTYPEPOLICY captures enum value "OBJECT_TYPE_POLICY" ObjectTypeOBJECTTYPEPOLICY ObjectType = "OBJECT_TYPE_POLICY" // ObjectTypeOBJECTTYPEAPPPOLICY captures enum value "OBJECT_TYPE_APP_POLICY" ObjectTypeOBJECTTYPEAPPPOLICY ObjectType = "OBJECT_TYPE_APP_POLICY" // ObjectTypeOBJECTTYPECLUSTERINSTANCE captures enum value "OBJECT_TYPE_CLUSTER_INSTANCE" ObjectTypeOBJECTTYPECLUSTERINSTANCE ObjectType = "OBJECT_TYPE_CLUSTER_INSTANCE" // ObjectTypeOBJECTTYPEPLUGIN captures enum value "OBJECT_TYPE_PLUGIN" ObjectTypeOBJECTTYPEPLUGIN ObjectType = "OBJECT_TYPE_PLUGIN" // ObjectTypeOBJECTTYPEDOCPOLICY captures enum value "OBJECT_TYPE_DOC_POLICY" ObjectTypeOBJECTTYPEDOCPOLICY ObjectType = "OBJECT_TYPE_DOC_POLICY" // ObjectTypeOBJECTTYPEORCHESTRATORCLUSTER captures enum value "OBJECT_TYPE_ORCHESTRATOR_CLUSTER" ObjectTypeOBJECTTYPEORCHESTRATORCLUSTER ObjectType = "OBJECT_TYPE_ORCHESTRATOR_CLUSTER" // ObjectTypeOBJECTTYPETAGS captures enum value "OBJECT_TYPE_TAGS" ObjectTypeOBJECTTYPETAGS ObjectType = "OBJECT_TYPE_TAGS" // ObjectTypeOBJECTTYPEEDGENODEINTERFACE captures enum value "OBJECT_TYPE_EDGE_NODE_INTERFACE" ObjectTypeOBJECTTYPEEDGENODEINTERFACE ObjectType = "OBJECT_TYPE_EDGE_NODE_INTERFACE" // ObjectTypeOBJECTTYPEDEPLOYMENT captures enum value "OBJECT_TYPE_DEPLOYMENT" ObjectTypeOBJECTTYPEDEPLOYMENT ObjectType = "OBJECT_TYPE_DEPLOYMENT" // ObjectTypeOBJECTTYPEENTITLEMENTS captures enum value "OBJECT_TYPE_ENTITLEMENTS" ObjectTypeOBJECTTYPEENTITLEMENTS ObjectType = "OBJECT_TYPE_ENTITLEMENTS" // ObjectTypeOBJECTTYPEDATASTREAM captures enum value "OBJECT_TYPE_DATA_STREAM" ObjectTypeOBJECTTYPEDATASTREAM ObjectType = "OBJECT_TYPE_DATA_STREAM" // ObjectTypeOBJECTTYPEAPIUSAGE captures enum value "OBJECT_TYPE_API_USAGE" ObjectTypeOBJECTTYPEAPIUSAGE ObjectType = "OBJECT_TYPE_API_USAGE" )
func NewObjectType ¶
func NewObjectType(value ObjectType) *ObjectType
func (ObjectType) ContextValidate ¶
ContextValidate validates this object type based on context it is used
func (ObjectType) Pointer ¶
func (m ObjectType) Pointer() *ObjectType
Pointer returns a pointer to a freshly-allocated ObjectType.
type OpaqueAppInstanceStatus ¶
type OpaqueAppInstanceStatus struct { // User defined name of the device, unique across the enterprise. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ DeviceID string `json:"deviceId,omitempty"` // System defined universally unique Id of the app instance // Pattern: [0-9A-Za-z-]+ ID string `json:"id,omitempty"` // last update time // Format: date-time LastUpdateTime strfmt.DateTime `json:"lastUpdateTime,omitempty"` // App instance name. Unique across the application instance Name string `json:"name,omitempty"` // opaque app instance status info // Format: byte OpaqueAppInstanceStatus strfmt.Base64 `json:"opaqueAppInstanceStatus,omitempty"` }
OpaqueAppInstanceStatus Opaque App Instance Status
Opaque Status for the app instance.
swagger:model OpaqueAppInstanceStatus
func (*OpaqueAppInstanceStatus) ContextValidate ¶
func (m *OpaqueAppInstanceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this opaque app instance status based on context it is used
func (*OpaqueAppInstanceStatus) MarshalBinary ¶
func (m *OpaqueAppInstanceStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpaqueAppInstanceStatus) UnmarshalBinary ¶
func (m *OpaqueAppInstanceStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OpaqueConfigType ¶
type OpaqueConfigType string
OpaqueConfigType opaque config type
swagger:model OpaqueConfigType
const ( // OpaqueConfigTypeOPAQUECONFIGTYPEUNSPECIFIED captures enum value "OPAQUE_CONFIG_TYPE_UNSPECIFIED" OpaqueConfigTypeOPAQUECONFIGTYPEUNSPECIFIED OpaqueConfigType = "OPAQUE_CONFIG_TYPE_UNSPECIFIED" // OpaqueConfigTypeOPAQUECONFIGTYPEVPN captures enum value "OPAQUE_CONFIG_TYPE_VPN" OpaqueConfigTypeOPAQUECONFIGTYPEVPN OpaqueConfigType = "OPAQUE_CONFIG_TYPE_VPN" // OpaqueConfigTypeOPAQUECONFIGTYPELISP captures enum value "OPAQUE_CONFIG_TYPE_LISP" OpaqueConfigTypeOPAQUECONFIGTYPELISP OpaqueConfigType = "OPAQUE_CONFIG_TYPE_LISP" )
func NewOpaqueConfigType ¶
func NewOpaqueConfigType(value OpaqueConfigType) *OpaqueConfigType
func (OpaqueConfigType) ContextValidate ¶
ContextValidate validates this opaque config type based on context it is used
func (OpaqueConfigType) Pointer ¶
func (m OpaqueConfigType) Pointer() *OpaqueConfigType
Pointer returns a pointer to a freshly-allocated OpaqueConfigType.
type OpaqueObjectCategory ¶
type OpaqueObjectCategory string
OpaqueObjectCategory opaque object category
swagger:model OpaqueObjectCategory
const ( // OpaqueObjectCategoryOpaqueObjectCategoryUnknown captures enum value "OpaqueObjectCategoryUnknown" OpaqueObjectCategoryOpaqueObjectCategoryUnknown OpaqueObjectCategory = "OpaqueObjectCategoryUnknown" // OpaqueObjectCategoryOpaqueObjectCategoryInline captures enum value "OpaqueObjectCategoryInline" OpaqueObjectCategoryOpaqueObjectCategoryInline OpaqueObjectCategory = "OpaqueObjectCategoryInline" // OpaqueObjectCategoryOpaqueObjectCategoryExternalBinary captures enum value "OpaqueObjectCategoryExternalBinary" OpaqueObjectCategoryOpaqueObjectCategoryExternalBinary OpaqueObjectCategory = "OpaqueObjectCategoryExternalBinary" )
func NewOpaqueObjectCategory ¶
func NewOpaqueObjectCategory(value OpaqueObjectCategory) *OpaqueObjectCategory
func (OpaqueObjectCategory) ContextValidate ¶
ContextValidate validates this opaque object category based on context it is used
func (OpaqueObjectCategory) Pointer ¶
func (m OpaqueObjectCategory) Pointer() *OpaqueObjectCategory
Pointer returns a pointer to a freshly-allocated OpaqueObjectCategory.
type OpaqueToken64 ¶
type OpaqueToken64 struct { // base64 Base64 string `json:"base64,omitempty"` }
OpaqueToken64 Base64 encoded opaque token
swagger:model OpaqueToken64
func (*OpaqueToken64) ContextValidate ¶
ContextValidate validates this opaque token64 based on context it is used
func (*OpaqueToken64) MarshalBinary ¶
func (m *OpaqueToken64) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpaqueToken64) UnmarshalBinary ¶
func (m *OpaqueToken64) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Origin ¶
type Origin string
Origin OriginType : enum specifies the Object orgigin type
- ORIGIN_UNSPECIFIED: default options, which says no Operation/Invalid Operation
- ORIGIN_IMPORTED: Object imported from global enterprise.
- ORIGIN_LOCAL: Objectl created locally.
- ORIGIN_GLOBAL: Object created in global store,
to use this type user should have root previlage.
swagger:model Origin
const ( // OriginORIGINUNSPECIFIED captures enum value "ORIGIN_UNSPECIFIED" OriginORIGINUNSPECIFIED Origin = "ORIGIN_UNSPECIFIED" // OriginORIGINIMPORTED captures enum value "ORIGIN_IMPORTED" OriginORIGINIMPORTED Origin = "ORIGIN_IMPORTED" // OriginORIGINLOCAL captures enum value "ORIGIN_LOCAL" OriginORIGINLOCAL Origin = "ORIGIN_LOCAL" // OriginORIGINGLOBAL captures enum value "ORIGIN_GLOBAL" OriginORIGINGLOBAL Origin = "ORIGIN_GLOBAL" )
func (Origin) ContextValidate ¶
ContextValidate validates this origin based on context it is used
type PCRTemplate ¶
type PCRTemplate struct { // List of PCR values for the PCR template // Required: true PCRValues []*PCRValue `json:"PCRValues"` // EVE version related to the PCR template // Required: true EveVersion *string `json:"eveVersion"` // Firmware version related to the PCR template. If user doesn't set it, it will be set to '*' FirmwareVersion string `json:"firmwareVersion,omitempty"` // System defined universally unique Id of the PCR template. If not set in POST / PUT API calls, this will be treated as a new entry and a unique System Generated ID assigned. // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // Name of the PCR template. The name is Unique among PCR templates for that System Model. If it is not specified, a system-generated name will be assigned. // Max Length: 256 Name string `json:"name,omitempty"` }
PCRTemplate PCR template
PCR template data for the specified eve version and firmware version ¶
swagger:model PCRTemplate
func (*PCRTemplate) ContextValidate ¶
ContextValidate validate this p c r template based on the context it is used
func (*PCRTemplate) MarshalBinary ¶
func (m *PCRTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PCRTemplate) UnmarshalBinary ¶
func (m *PCRTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PCRType ¶
type PCRType string
PCRType - PCR_TYPE_UNSPECIFIED: Unset PCR type
- PCR_TYPE_HASH: PCR value of type HASH
- PCR_TYPE_EVENT_LOG: PCR value of type event log
swagger:model PCRType
const ( // PCRTypePCRTYPEUNSPECIFIED captures enum value "PCR_TYPE_UNSPECIFIED" PCRTypePCRTYPEUNSPECIFIED PCRType = "PCR_TYPE_UNSPECIFIED" // PCRTypePCRTYPEHASH captures enum value "PCR_TYPE_HASH" PCRTypePCRTYPEHASH PCRType = "PCR_TYPE_HASH" // PCRTypePCRTYPEEVENTLOG captures enum value "PCR_TYPE_EVENT_LOG" PCRTypePCRTYPEEVENTLOG PCRType = "PCR_TYPE_EVENT_LOG" )
func NewPCRType ¶
func (PCRType) ContextValidate ¶
ContextValidate validates this p c r type based on context it is used
type PCRValue ¶
type PCRValue struct { // Current index for the PCR item in the list. First element has the index 0 // Required: true Index *int64 `json:"index"` // Type of value for the PCR item. Could be one of the following values: 0 (PCR_TYPE_UNSPECIFIED), 1 (PCR_TYPE_HASH) or 2 (PCR_TYPE_EVENT_LOG) // Required: true Type *PCRType `json:"type"` // Actual value for the PCR item. // Required: true Value *string `json:"value"` }
PCRValue PCR value
PCR value contains the actual value of the specified PCR type ¶
swagger:model PCRValue
func (*PCRValue) ContextValidate ¶
ContextValidate validate this p c r value based on the context it is used
func (*PCRValue) MarshalBinary ¶
MarshalBinary interface implementation
func (*PCRValue) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Param ¶
type Param struct { // Name of the Parameter (Required) Name string `json:"name,omitempty"` // Value of the parameter (Required) Value string `json:"value,omitempty"` }
Param param
swagger:model Param
func (*Param) ContextValidate ¶
ContextValidate validates this param based on context it is used
func (*Param) MarshalBinary ¶
MarshalBinary interface implementation
func (*Param) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PasswordProfile ¶ added in v2.3.0
type PasswordProfile struct { // max length MaxLength int64 `json:"maxLength,omitempty"` // max password age MaxPasswordAge int64 `json:"maxPasswordAge,omitempty"` // min length MinLength int64 `json:"minLength,omitempty"` // min lowercase chars MinLowercaseChars int64 `json:"minLowercaseChars,omitempty"` // min numeric chars MinNumericChars int64 `json:"minNumericChars,omitempty"` // min password age MinPasswordAge int64 `json:"minPasswordAge,omitempty"` // min symbol chars MinSymbolChars int64 `json:"minSymbolChars,omitempty"` // min uppercase chars MinUppercaseChars int64 `json:"minUppercaseChars,omitempty"` // num prev password check NumPrevPasswordCheck int64 `json:"numPrevPasswordCheck,omitempty"` // password expiry notification period in seconds PasswordExpiryNotificationPeriodInSeconds int64 `json:"passwordExpiryNotificationPeriodInSeconds,omitempty"` }
PasswordProfile password profile
swagger:model PasswordProfile
func (*PasswordProfile) ContextValidate ¶ added in v2.3.0
ContextValidate validates this password profile based on context it is used
func (*PasswordProfile) MarshalBinary ¶ added in v2.3.0
func (m *PasswordProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PasswordProfile) UnmarshalBinary ¶ added in v2.3.0
func (m *PasswordProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchEnvelope ¶
type PatchEnvelope struct { // if activate is false, device should only download // images and not present them to app instance // // Flag to represent whether device needs to present it to app instance // Required: true Action *PatchEnvelopeAction `json:"action"` // Patch envelope artifacts // Required: true Artifacts []*BinaryArtifact `json:"artifacts"` // Detailed description of the patch envelope. // Max Length: 256 Description string `json:"description,omitempty"` // number of devices referencing this patch envelope DeviceCount int64 `json:"deviceCount,omitempty"` // System defined universally unique Id of the patch envelope. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // User defined name of the patch envelope, unique across the enterprise. Once patch envelope is created, name can’t be changed. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // project id ProjectID string `json:"projectId,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // User defined title of the patch envelope. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // optional - arbitrary version string if any by user // // User defined version for the given patch envelope UserDefinedVersion string `json:"userDefinedVersion,omitempty"` }
PatchEnvelope Opaque data for application instances
PatchEnvelope is a proto that should be used by user-agents to create/update opaque data for application instances.
swagger:model PatchEnvelope
func (*PatchEnvelope) ContextValidate ¶
ContextValidate validate this patch envelope based on the context it is used
func (*PatchEnvelope) MarshalBinary ¶
func (m *PatchEnvelope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchEnvelope) UnmarshalBinary ¶
func (m *PatchEnvelope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchEnvelopeAction ¶
type PatchEnvelopeAction string
PatchEnvelopeAction patch envelope action
swagger:model PatchEnvelopeAction
const ( // PatchEnvelopeActionPATCHENVELOPEACTIONUNSPECIFIED captures enum value "PATCH_ENVELOPE_ACTION_UNSPECIFIED" PatchEnvelopeActionPATCHENVELOPEACTIONUNSPECIFIED PatchEnvelopeAction = "PATCH_ENVELOPE_ACTION_UNSPECIFIED" // PatchEnvelopeActionPATCHENVELOPEACTIONSTORE captures enum value "PATCH_ENVELOPE_ACTION_STORE" PatchEnvelopeActionPATCHENVELOPEACTIONSTORE PatchEnvelopeAction = "PATCH_ENVELOPE_ACTION_STORE" // PatchEnvelopeActionPATCHENVELOPEACTIONACTIVATE captures enum value "PATCH_ENVELOPE_ACTION_ACTIVATE" PatchEnvelopeActionPATCHENVELOPEACTIONACTIVATE PatchEnvelopeAction = "PATCH_ENVELOPE_ACTION_ACTIVATE" )
func NewPatchEnvelopeAction ¶
func NewPatchEnvelopeAction(value PatchEnvelopeAction) *PatchEnvelopeAction
func (PatchEnvelopeAction) ContextValidate ¶
ContextValidate validates this patch envelope action based on context it is used
func (PatchEnvelopeAction) Pointer ¶
func (m PatchEnvelopeAction) Pointer() *PatchEnvelopeAction
Pointer returns a pointer to a freshly-allocated PatchEnvelopeAction.
type PatchEnvelopeList ¶
type PatchEnvelopeList struct { // patch envelope summary list List []*PatchEnvelope `json:"list"` // cursor next Next *Cursor `json:"next,omitempty"` // patch envelopes summary by action SummaryByAction *Summary `json:"summaryByAction,omitempty"` // patch envelope total count TotalCount int64 `json:"totalCount,omitempty"` }
PatchEnvelopeList patch envelope list
swagger:model PatchEnvelopeList
func (*PatchEnvelopeList) ContextValidate ¶
ContextValidate validate this patch envelope list based on the context it is used
func (*PatchEnvelopeList) MarshalBinary ¶
func (m *PatchEnvelopeList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchEnvelopeList) UnmarshalBinary ¶
func (m *PatchEnvelopeList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchEnvelopeState ¶
type PatchEnvelopeState string
PatchEnvelopeState - PatchEnvelopeStateErrored: there is an error with config or during download or verification failed
- PatchEnvelopeStateReceived: Configuration received but no downloads started
- PatchEnvelopeStateDownloading: Artifact/Volume download started
One or more of the artifacts are being downloaded
- PatchEnvelopeStateDownloaded: all downloads finished, verified and added to content tree
- PatchEnvelopeStateReady: patch envelope ready for application instances
application instances will still not be allowed to fetch the patch envelope contents
- PatchEnvelopeStateActive: application instances are now allowed to fetch contents
swagger:model PatchEnvelopeState
const ( // PatchEnvelopeStatePatchEnvelopeStateUnknown captures enum value "PatchEnvelopeStateUnknown" PatchEnvelopeStatePatchEnvelopeStateUnknown PatchEnvelopeState = "PatchEnvelopeStateUnknown" // PatchEnvelopeStatePatchEnvelopeStateErrored captures enum value "PatchEnvelopeStateErrored" PatchEnvelopeStatePatchEnvelopeStateErrored PatchEnvelopeState = "PatchEnvelopeStateErrored" // PatchEnvelopeStatePatchEnvelopeStateReceived captures enum value "PatchEnvelopeStateReceived" PatchEnvelopeStatePatchEnvelopeStateReceived PatchEnvelopeState = "PatchEnvelopeStateReceived" // PatchEnvelopeStatePatchEnvelopeStateDownloading captures enum value "PatchEnvelopeStateDownloading" PatchEnvelopeStatePatchEnvelopeStateDownloading PatchEnvelopeState = "PatchEnvelopeStateDownloading" // PatchEnvelopeStatePatchEnvelopeStateDownloaded captures enum value "PatchEnvelopeStateDownloaded" PatchEnvelopeStatePatchEnvelopeStateDownloaded PatchEnvelopeState = "PatchEnvelopeStateDownloaded" // PatchEnvelopeStatePatchEnvelopeStateReady captures enum value "PatchEnvelopeStateReady" PatchEnvelopeStatePatchEnvelopeStateReady PatchEnvelopeState = "PatchEnvelopeStateReady" // PatchEnvelopeStatePatchEnvelopeStateActive captures enum value "PatchEnvelopeStateActive" PatchEnvelopeStatePatchEnvelopeStateActive PatchEnvelopeState = "PatchEnvelopeStateActive" )
func NewPatchEnvelopeState ¶
func NewPatchEnvelopeState(value PatchEnvelopeState) *PatchEnvelopeState
func (PatchEnvelopeState) ContextValidate ¶
ContextValidate validates this patch envelope state based on context it is used
func (PatchEnvelopeState) Pointer ¶
func (m PatchEnvelopeState) Pointer() *PatchEnvelopeState
Pointer returns a pointer to a freshly-allocated PatchEnvelopeState.
type PatchEnvelopeStatus ¶
type PatchEnvelopeStatus struct { // device id DeviceID string `json:"deviceId,omitempty"` // device name DeviceName string `json:"deviceName,omitempty"` // Patch envelope error Errors []string `json:"errors"` // patch envelope id ID string `json:"id,omitempty"` // User defined name of the patch envelope, unique across the enterprise. Once patch envelope is created, name can’t be changed // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // project id ProjectID string `json:"projectId,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // Patch envelope state State *PatchEnvelopeState `json:"state,omitempty"` // User defined version for the given patch envelope UserDefinedVersion string `json:"userDefinedVersion,omitempty"` }
PatchEnvelopeStatus Patch Envelope status message
PatchEnvelopeStatus encapsulates the status of an patch envelope ¶
swagger:model PatchEnvelopeStatus
func (*PatchEnvelopeStatus) ContextValidate ¶
ContextValidate validate this patch envelope status based on the context it is used
func (*PatchEnvelopeStatus) MarshalBinary ¶
func (m *PatchEnvelopeStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchEnvelopeStatus) UnmarshalBinary ¶
func (m *PatchEnvelopeStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchEnvelopeUsageInfo ¶
type PatchEnvelopeUsageInfo struct { // count the number of times app instance actually downloaded // whole patch envelope or part of it // // number of times app instance download whole patch envelope or part of it DownloadCount string `json:"downloadCount,omitempty"` // count the number of times app instance called patch APIs // // number of times app instance called patch APIs PatchAPICallCount uint64 `json:"patchApiCallCount,omitempty"` // UUID of PatchEnvelope // // Id of patch envelope UUID string `json:"uuid,omitempty"` // Version of PatchEnvelope // // version of patch envelope Version string `json:"version,omitempty"` }
PatchEnvelopeUsageInfo patch envelope usage info
swagger:model PatchEnvelopeUsageInfo
func (*PatchEnvelopeUsageInfo) ContextValidate ¶
func (m *PatchEnvelopeUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch envelope usage info based on context it is used
func (*PatchEnvelopeUsageInfo) MarshalBinary ¶
func (m *PatchEnvelopeUsageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchEnvelopeUsageInfo) UnmarshalBinary ¶
func (m *PatchEnvelopeUsageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchReferenceUpdateConfig ¶
type PatchReferenceUpdateConfig struct { // app inst ID list AppInstIDList []string `json:"appInstIDList"` // patchenvelope Id PatchenvelopeID string `json:"patchenvelopeId,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` }
PatchReferenceUpdateConfig patch reference update config
swagger:model PatchReferenceUpdateConfig
func (*PatchReferenceUpdateConfig) ContextValidate ¶
func (m *PatchReferenceUpdateConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch reference update config based on context it is used
func (*PatchReferenceUpdateConfig) MarshalBinary ¶
func (m *PatchReferenceUpdateConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchReferenceUpdateConfig) UnmarshalBinary ¶
func (m *PatchReferenceUpdateConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchStatusFilter ¶
type PatchStatusFilter struct { // device name DeviceName string `json:"deviceName,omitempty"` }
PatchStatusFilter patch status filter
swagger:model PatchStatusFilter
func (*PatchStatusFilter) ContextValidate ¶
ContextValidate validates this patch status filter based on context it is used
func (*PatchStatusFilter) MarshalBinary ¶
func (m *PatchStatusFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchStatusFilter) UnmarshalBinary ¶
func (m *PatchStatusFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchStatusListMsg ¶
type PatchStatusListMsg struct { // list List []*PatchEnvelopeStatus `json:"list"` // next Next *Cursor `json:"next,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
PatchStatusListMsg patch status list msg
swagger:model PatchStatusListMsg
func (*PatchStatusListMsg) ContextValidate ¶
ContextValidate validate this patch status list msg based on the context it is used
func (*PatchStatusListMsg) MarshalBinary ¶
func (m *PatchStatusListMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchStatusListMsg) UnmarshalBinary ¶
func (m *PatchStatusListMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PhyAdapter ¶
type PhyAdapter struct { // Physical Adapter name Name string `json:"name,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // IoType specifies the type of the Input output of the device Type *IoType `json:"type,omitempty"` }
PhyAdapter Physical Adapter
Physical Adapter ¶
swagger:model phyAdapter
func (*PhyAdapter) ContextValidate ¶
ContextValidate validate this phy adapter based on the context it is used
func (*PhyAdapter) MarshalBinary ¶
func (m *PhyAdapter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PhyAdapter) UnmarshalBinary ¶
func (m *PhyAdapter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PhysicalStorage ¶
type PhysicalStorage struct { // compression ratio CompressionRatio float64 `json:"compressionRatio,omitempty"` // count zvols CountZvols int64 `json:"countZvols,omitempty"` // current raid CurrentRaid *PhysicalStorageRaidType `json:"currentRaid,omitempty"` // disks Disks []*PhysicalStorageDiskState `json:"disks"` // pool name PoolName string `json:"poolName,omitempty"` // Zpool Status message sent by EVE PoolStatusMsg string `json:"poolStatusMsg,omitempty"` // storage state StorageState *PhysicalStorageStatus `json:"storageState,omitempty"` // storage type StorageType *PhysicalStorageTypeInfo `json:"storageType,omitempty"` // zfs version ZfsVersion string `json:"zfsVersion,omitempty"` // zpool size ZpoolSize string `json:"zpoolSize,omitempty"` }
PhysicalStorage physical storage
swagger:model PhysicalStorage
func (*PhysicalStorage) ContextValidate ¶
ContextValidate validate this physical storage based on the context it is used
func (*PhysicalStorage) MarshalBinary ¶
func (m *PhysicalStorage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PhysicalStorage) UnmarshalBinary ¶
func (m *PhysicalStorage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PhysicalStorageDiskState ¶
type PhysicalStorageDiskState struct { // disk Disk *DiskDescription `json:"disk,omitempty"` // status Status *PhysicalStorageStatus `json:"status,omitempty"` }
PhysicalStorageDiskState physical storage disk state
swagger:model PhysicalStorageDiskState
func (*PhysicalStorageDiskState) ContextValidate ¶
func (m *PhysicalStorageDiskState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this physical storage disk state based on the context it is used
func (*PhysicalStorageDiskState) MarshalBinary ¶
func (m *PhysicalStorageDiskState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PhysicalStorageDiskState) UnmarshalBinary ¶
func (m *PhysicalStorageDiskState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PhysicalStorageRaidType ¶
type PhysicalStorageRaidType string
PhysicalStorageRaidType physical storage raid type
swagger:model PhysicalStorageRaidType
const ( // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPEUNSPECIFIED captures enum value "PHYSICAL_STORAGE_RAID_TYPE_UNSPECIFIED" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPEUNSPECIFIED PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_UNSPECIFIED" // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAID0 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAID0" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAID0 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAID0" // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDMIRROR captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAID_MIRROR" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDMIRROR PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAID_MIRROR" // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ1 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ1" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ1 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ1" // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ2 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ2" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ2 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ2" // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ3 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ3" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ3 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ3" // PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPENORAID captures enum value "PHYSICAL_STORAGE_RAID_TYPE_NORAID" PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPENORAID PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_NORAID" )
func NewPhysicalStorageRaidType ¶
func NewPhysicalStorageRaidType(value PhysicalStorageRaidType) *PhysicalStorageRaidType
func (PhysicalStorageRaidType) ContextValidate ¶
func (m PhysicalStorageRaidType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this physical storage raid type based on context it is used
func (PhysicalStorageRaidType) Pointer ¶
func (m PhysicalStorageRaidType) Pointer() *PhysicalStorageRaidType
Pointer returns a pointer to a freshly-allocated PhysicalStorageRaidType.
type PhysicalStorageStatus ¶
type PhysicalStorageStatus string
PhysicalStorageStatus physical storage status
swagger:model PhysicalStorageStatus
const ( // PhysicalStorageStatusPHYSICALSTORAGESTATUSUNSPECIFIED captures enum value "PHYSICAL_STORAGE_STATUS_UNSPECIFIED" PhysicalStorageStatusPHYSICALSTORAGESTATUSUNSPECIFIED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_UNSPECIFIED" // PhysicalStorageStatusPHYSICALSTORAGESTATUSONLINE captures enum value "PHYSICAL_STORAGE_STATUS_ONLINE" PhysicalStorageStatusPHYSICALSTORAGESTATUSONLINE PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_ONLINE" // PhysicalStorageStatusPHYSICALSTORAGESTATUSDEGRADED captures enum value "PHYSICAL_STORAGE_STATUS_DEGRADED" PhysicalStorageStatusPHYSICALSTORAGESTATUSDEGRADED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_DEGRADED" // PhysicalStorageStatusPHYSICALSTORAGESTATUSFAULTED captures enum value "PHYSICAL_STORAGE_STATUS_FAULTED" PhysicalStorageStatusPHYSICALSTORAGESTATUSFAULTED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_FAULTED" // PhysicalStorageStatusPHYSICALSTORAGESTATUSOFFLINE captures enum value "PHYSICAL_STORAGE_STATUS_OFFLINE" PhysicalStorageStatusPHYSICALSTORAGESTATUSOFFLINE PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_OFFLINE" // PhysicalStorageStatusPHYSICALSTORAGESTATUSUNAVAIL captures enum value "PHYSICAL_STORAGE_STATUS_UNAVAIL" PhysicalStorageStatusPHYSICALSTORAGESTATUSUNAVAIL PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_UNAVAIL" // PhysicalStorageStatusPHYSICALSTORAGESTATUSREMOVED captures enum value "PHYSICAL_STORAGE_STATUS_REMOVED" PhysicalStorageStatusPHYSICALSTORAGESTATUSREMOVED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_REMOVED" // PhysicalStorageStatusPHYSICALSTORAGESTATUSSUSPENDED captures enum value "PHYSICAL_STORAGE_STATUS_SUSPENDED" PhysicalStorageStatusPHYSICALSTORAGESTATUSSUSPENDED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_SUSPENDED" )
func NewPhysicalStorageStatus ¶
func NewPhysicalStorageStatus(value PhysicalStorageStatus) *PhysicalStorageStatus
func (PhysicalStorageStatus) ContextValidate ¶
ContextValidate validates this physical storage status based on context it is used
func (PhysicalStorageStatus) Pointer ¶
func (m PhysicalStorageStatus) Pointer() *PhysicalStorageStatus
Pointer returns a pointer to a freshly-allocated PhysicalStorageStatus.
type PhysicalStorageTypeInfo ¶
type PhysicalStorageTypeInfo string
PhysicalStorageTypeInfo physical storage type info
swagger:model PhysicalStorageTypeInfo
const ( // PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOUNSPECIFIED captures enum value "PHYSICAL_STORAGE_TYPE_INFO_UNSPECIFIED" PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOUNSPECIFIED PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_UNSPECIFIED" // PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOEXT4 captures enum value "PHYSICAL_STORAGE_TYPE_INFO_EXT4" PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOEXT4 PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_EXT4" // PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOZFS captures enum value "PHYSICAL_STORAGE_TYPE_INFO_ZFS" PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOZFS PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_ZFS" )
func NewPhysicalStorageTypeInfo ¶
func NewPhysicalStorageTypeInfo(value PhysicalStorageTypeInfo) *PhysicalStorageTypeInfo
func (PhysicalStorageTypeInfo) ContextValidate ¶
func (m PhysicalStorageTypeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this physical storage type info based on context it is used
func (PhysicalStorageTypeInfo) Pointer ¶
func (m PhysicalStorageTypeInfo) Pointer() *PhysicalStorageTypeInfo
Pointer returns a pointer to a freshly-allocated PhysicalStorageTypeInfo.
type Policy ¶
type Policy struct { // app policy, which is used in auto app instance deployment AppPolicy *AppPolicy `json:"appPolicy,omitempty"` // attestation policy to enforce on all devices in this project AttestationPolicy *AttestationPolicy `json:"attestationPolicy,omitempty"` // Mapping of policy variable keys and policy variable values Attr map[string]string `json:"attr,omitempty"` // azure policy, which is used in configuring azure iot-edge. AzurePolicy *AzurePolicy `json:"azurePolicy,omitempty"` // cluster policy to bring up cluster on devices in this project ClusterPolicy *ClusterPolicy `json:"clusterPolicy,omitempty"` // configuration lock policy to enforce on all devices in this project ConfigurationLockPolicy *ConfigurationLockPolicy `json:"configurationLockPolicy,omitempty"` // Detailed description of the policy // Max Length: 256 Description string `json:"description,omitempty"` // edgeview policy on devices of this project EdgeviewPolicy *EdgeviewPolicy `json:"edgeviewPolicy,omitempty"` // System defined universally unique Id of the policy request // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // local operator console policy to enforce on all devices in this project LocalOperatorConsolePolicy *LocalOperatorConsolePolicy `json:"localOperatorConsolePolicy,omitempty"` // module policy, which is used in auto module deployment ModulePolicy *ModulePolicy `json:"modulePolicy,omitempty"` // User defined name of the policy request, unique across the enterprise. Once object is created, name can’t be changed // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // network policy to enforce on all devices in this project NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // status of the policy // Read Only: true Status *PolicyStatus `json:"status,omitempty"` // Detailed status message of the policy // Max Length: 256 StatusMessage string `json:"statusMessage,omitempty"` // User defined title of the policy. Title can be changed at any time // Required: true // Max Length: 256 // Min Length: 3 // Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$ Title *string `json:"title"` // type of policy // Required: true Type *PolicyType `json:"type"` }
Policy Policy detailed configuration for a resource group (project)
Policy configuration defines set of policies to be applied on a resource grup (project). Policy can be one of the types specified in PolicyType. Multiple policies can be applied to a single resource group (project).
swagger:model Policy
func (*Policy) ContextValidate ¶
ContextValidate validate this policy config based on the context it is used
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyCommon ¶
type PolicyCommon struct { // system generated unique id for an policy ID string `json:"id,omitempty"` // user defined policy name Name string `json:"name,omitempty"` // user defined key-value pairs of a policy that will be used for targeting by devices PolicyTargetCondition map[string]string `json:"policyTargetCondition,omitempty"` // object revision details Revision *ObjectRevision `json:"revision,omitempty"` // user defined key-value pairs of a policy Tags map[string]string `json:"tags,omitempty"` // user defined policy title Title string `json:"title,omitempty"` }
PolicyCommon policy common
swagger:model PolicyCommon
func (*PolicyCommon) ContextValidate ¶
ContextValidate validate this policy common based on the context it is used
func (*PolicyCommon) MarshalBinary ¶
func (m *PolicyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyCommon) UnmarshalBinary ¶
func (m *PolicyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyStatus ¶
type PolicyStatus string
PolicyStatus policy status.
swagger:model PolicyStatus
const ( // PolicyStatusPOLICYSTATUSUNSPECIFIED captures enum value "POLICY_STATUS_UNSPECIFIED" PolicyStatusPOLICYSTATUSUNSPECIFIED PolicyStatus = "POLICY_STATUS_UNSPECIFIED" // PolicyStatusPOLICYSTATUSINITIALIZED captures enum value "POLICY_STATUS_INITIALIZED" PolicyStatusPOLICYSTATUSINITIALIZED PolicyStatus = "POLICY_STATUS_INITIALIZED" // PolicyStatusPOLICYSTATUSINPROGRESS captures enum value "POLICY_STATUS_INPROGRESS" PolicyStatusPOLICYSTATUSINPROGRESS PolicyStatus = "POLICY_STATUS_INPROGRESS" // PolicyStatusPOLICYSTATUSREADY captures enum value "POLICY_STATUS_READY" PolicyStatusPOLICYSTATUSREADY PolicyStatus = "POLICY_STATUS_READY" // PolicyStatusPOLICYSTATUSFAILED captures enum value "POLICY_STATUS_FAILED" PolicyStatusPOLICYSTATUSFAILED PolicyStatus = "POLICY_STATUS_FAILED" )
func NewPolicyStatus ¶
func NewPolicyStatus(value PolicyStatus) *PolicyStatus
func (PolicyStatus) ContextValidate ¶
ContextValidate validates this policy status based on context it is used
func (PolicyStatus) Pointer ¶
func (m PolicyStatus) Pointer() *PolicyStatus
Pointer returns a pointer to a freshly-allocated PolicyStatus.
type PolicyType ¶
type PolicyType string
PolicyType type of policy.
swagger:model PolicyType
const ( // PolicyTypePOLICYTYPEUNSPECIFIED captures enum value "POLICY_TYPE_UNSPECIFIED" PolicyTypePOLICYTYPEUNSPECIFIED PolicyType = "POLICY_TYPE_UNSPECIFIED" // PolicyTypePOLICYTYPEAPP captures enum value "POLICY_TYPE_APP" PolicyTypePOLICYTYPEAPP PolicyType = "POLICY_TYPE_APP" // PolicyTypePOLICYTYPEAZURE captures enum value "POLICY_TYPE_AZURE" PolicyTypePOLICYTYPEAZURE PolicyType = "POLICY_TYPE_AZURE" // PolicyTypePOLICYTYPEAWS captures enum value "POLICY_TYPE_AWS" PolicyTypePOLICYTYPEAWS PolicyType = "POLICY_TYPE_AWS" // PolicyTypePOLICYTYPEGCP captures enum value "POLICY_TYPE_GCP" PolicyTypePOLICYTYPEGCP PolicyType = "POLICY_TYPE_GCP" // PolicyTypePOLICYTYPEMODULE captures enum value "POLICY_TYPE_MODULE" PolicyTypePOLICYTYPEMODULE PolicyType = "POLICY_TYPE_MODULE" // PolicyTypePOLICYTYPEATTESTATION captures enum value "POLICY_TYPE_ATTESTATION" PolicyTypePOLICYTYPEATTESTATION PolicyType = "POLICY_TYPE_ATTESTATION" // PolicyTypePOLICYTYPENETWORK captures enum value "POLICY_TYPE_NETWORK" PolicyTypePOLICYTYPENETWORK PolicyType = "POLICY_TYPE_NETWORK" // PolicyTypePOLICYTYPECLUSTER captures enum value "POLICY_TYPE_CLUSTER" PolicyTypePOLICYTYPECLUSTER PolicyType = "POLICY_TYPE_CLUSTER" // PolicyTypePOLICYTYPEEDGEVIEW captures enum value "POLICY_TYPE_EDGEVIEW" PolicyTypePOLICYTYPEEDGEVIEW PolicyType = "POLICY_TYPE_EDGEVIEW" )
func NewPolicyType ¶
func NewPolicyType(value PolicyType) *PolicyType
func (PolicyType) ContextValidate ¶
ContextValidate validates this policy type based on context it is used
func (PolicyType) Pointer ¶
func (m PolicyType) Pointer() *PolicyType
Pointer returns a pointer to a freshly-allocated PolicyType.
type PolicyVersion ¶ added in v2.3.0
type PolicyVersion struct { // accepted at // Format: date-time AcceptedAt strfmt.DateTime `json:"AcceptedAt,omitempty"` // accepted by AcceptedBy string `json:"AcceptedBy,omitempty"` // effective from // Format: date-time EffectiveFrom strfmt.DateTime `json:"EffectiveFrom,omitempty"` // policy Policy string `json:"Policy,omitempty"` // version Version string `json:"Version,omitempty"` }
PolicyVersion policy version
swagger:model PolicyVersion
func (*PolicyVersion) ContextValidate ¶ added in v2.3.0
ContextValidate validates this policy version based on context it is used
func (*PolicyVersion) MarshalBinary ¶ added in v2.3.0
func (m *PolicyVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyVersion) UnmarshalBinary ¶ added in v2.3.0
func (m *PolicyVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyVersionList ¶ added in v2.3.0
type PolicyVersionList struct { // list List []*PolicyVersion `json:"list"` }
PolicyVersionList policy version list
swagger:model PolicyVersionList
func (*PolicyVersionList) ContextValidate ¶ added in v2.3.0
ContextValidate validate this policy version list based on the context it is used
func (*PolicyVersionList) MarshalBinary ¶ added in v2.3.0
func (m *PolicyVersionList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyVersionList) UnmarshalBinary ¶ added in v2.3.0
func (m *PolicyVersionList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Proto ¶
type Proto string
Proto network proxy proto
swagger:model Proto
const ( // NetworkProxyProtoNETWORKPROXYPROTOHTTP captures enum value "NETWORK_PROXY_PROTO_HTTP" NetworkProxyProtoNETWORKPROXYPROTOHTTP Proto = "NETWORK_PROXY_PROTO_HTTP" // NetworkProxyProtoNETWORKPROXYPROTOHTTPS captures enum value "NETWORK_PROXY_PROTO_HTTPS" NetworkProxyProtoNETWORKPROXYPROTOHTTPS Proto = "NETWORK_PROXY_PROTO_HTTPS" // NetworkProxyProtoNETWORKPROXYPROTOSOCKS captures enum value "NETWORK_PROXY_PROTO_SOCKS" NetworkProxyProtoNETWORKPROXYPROTOSOCKS Proto = "NETWORK_PROXY_PROTO_SOCKS" // NetworkProxyProtoNETWORKPROXYPROTOFTP captures enum value "NETWORK_PROXY_PROTO_FTP" NetworkProxyProtoNETWORKPROXYPROTOFTP Proto = "NETWORK_PROXY_PROTO_FTP" // NetworkProxyProtoNETWORKPROXYPROTOOTHER captures enum value "NETWORK_PROXY_PROTO_OTHER" NetworkProxyProtoNETWORKPROXYPROTOOTHER Proto = "NETWORK_PROXY_PROTO_OTHER" )
func NewNetworkProxyProto ¶
func (Proto) ContextValidate ¶
ContextValidate validates this network proxy proto based on context it is used
type ProtobufAny ¶
type ProtobufAny struct { // type Url TypeURL string `json:"typeUrl,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufNullValue ¶
type ProtobufNullValue string
ProtobufNullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union.
The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value.
swagger:model protobufNullValue
const ( // ProtobufNullValueNULLVALUE captures enum value "NULL_VALUE" ProtobufNullValueNULLVALUE ProtobufNullValue = "NULL_VALUE" )
func NewProtobufNullValue ¶
func NewProtobufNullValue(value ProtobufNullValue) *ProtobufNullValue
func (ProtobufNullValue) ContextValidate ¶
ContextValidate validates this protobuf null value based on context it is used
func (ProtobufNullValue) Pointer ¶
func (m ProtobufNullValue) Pointer() *ProtobufNullValue
Pointer returns a pointer to a freshly-allocated ProtobufNullValue.
type Proxy ¶
type Proxy struct { // Proxy exceptions Exceptions string `json:"exceptions,omitempty"` // Network proxy NetworkProxy bool `json:"networkProxy,omitempty"` // Proxy Certificates // // Network Proxy Certificates NetworkProxyCerts []string `json:"networkProxyCerts"` // Direct URL for wpad.dat download // // Network Proxy URL NetworkProxyURL string `json:"networkProxyURL,omitempty"` // proxy configuration in a pacfile // // proxy configuration in a pacfile Pacfile string `json:"pacfile,omitempty"` // protocol level proxies // // Net Proxy: protocol level proxies Proxies []*Server `json:"proxies"` }
Proxy Configurations
swagger:model Proxy
func (*Proxy) ContextValidate ¶
ContextValidate validate this net proxy config based on the context it is used
func (*Proxy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Proxy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RSA ¶
type RSA struct { // RSA Encryption Key bit size. RsaBits string `json:"rsaBits,omitempty"` }
RSA r s a
swagger:model RSA
func (*RSA) ContextValidate ¶
ContextValidate validates this r s a based on context it is used
func (*RSA) MarshalBinary ¶
MarshalBinary interface implementation
func (*RSA) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RadioAccessTechnology ¶ added in v2.3.0
type RadioAccessTechnology string
RadioAccessTechnology - RADIO_ACCESS_TECHNOLOGY_GSM: Global System for Mobile Communications (2G).
- RADIO_ACCESS_TECHNOLOGY_UMTS: Universal Mobile Telecommunications System (3G).
- RADIO_ACCESS_TECHNOLOGY_LTE: Long Term Evolution (4G).
- RADIO_ACCESS_TECHNOLOGY_5GNR: 5G New Radio.
swagger:model RadioAccessTechnology
const ( // RadioAccessTechnologyRADIOACCESSTECHNOLOGYUNSPECIFIED captures enum value "RADIO_ACCESS_TECHNOLOGY_UNSPECIFIED" RadioAccessTechnologyRADIOACCESSTECHNOLOGYUNSPECIFIED RadioAccessTechnology = "RADIO_ACCESS_TECHNOLOGY_UNSPECIFIED" // RadioAccessTechnologyRADIOACCESSTECHNOLOGYGSM captures enum value "RADIO_ACCESS_TECHNOLOGY_GSM" RadioAccessTechnologyRADIOACCESSTECHNOLOGYGSM RadioAccessTechnology = "RADIO_ACCESS_TECHNOLOGY_GSM" // RadioAccessTechnologyRADIOACCESSTECHNOLOGYUMTS captures enum value "RADIO_ACCESS_TECHNOLOGY_UMTS" RadioAccessTechnologyRADIOACCESSTECHNOLOGYUMTS RadioAccessTechnology = "RADIO_ACCESS_TECHNOLOGY_UMTS" // RadioAccessTechnologyRADIOACCESSTECHNOLOGYLTE captures enum value "RADIO_ACCESS_TECHNOLOGY_LTE" RadioAccessTechnologyRADIOACCESSTECHNOLOGYLTE RadioAccessTechnology = "RADIO_ACCESS_TECHNOLOGY_LTE" // RadioAccessTechnologyRADIOACCESSTECHNOLOGY5GNR captures enum value "RADIO_ACCESS_TECHNOLOGY_5GNR" RadioAccessTechnologyRADIOACCESSTECHNOLOGY5GNR RadioAccessTechnology = "RADIO_ACCESS_TECHNOLOGY_5GNR" )
func NewRadioAccessTechnology ¶ added in v2.3.0
func NewRadioAccessTechnology(value RadioAccessTechnology) *RadioAccessTechnology
func (RadioAccessTechnology) ContextValidate ¶ added in v2.3.0
ContextValidate validates this radio access technology based on context it is used
func (RadioAccessTechnology) Pointer ¶ added in v2.3.0
func (m RadioAccessTechnology) Pointer() *RadioAccessTechnology
Pointer returns a pointer to a freshly-allocated RadioAccessTechnology.
type Realm ¶ added in v2.3.0
type Realm struct { // Detailed description of the realm // Max Length: 256 Description string `json:"description,omitempty"` // Enterprise ID of the enterprise where the realm is to be created // Required: true // Pattern: [0-9A-Za-z_=-]{28} EnterpriseID *string `json:"enterpriseId"` // Unique system defined realm ID // Read Only: true // Pattern: [0-9A-Za-z_=-]{28} ID string `json:"id,omitempty"` // User defined name of the realm. Name cannot be changed once created // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // System defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // User defined title of the realm. Title can be changed anytime // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` }
Realm Realm detail
Realm meta data Example: {"description":"Test realm","enterpriseId":"AAFlABDe6Nm63ixF5LJBbk9Keqp6","id":"EAJ1ABAi-KOom7dJlrBoE8eq1pj9","name":"zededa.com","revision":{"createdAt":"2020-07-17T06:03:14Z","createdBy":"us.root@zededa.com","curr":"1","prev":"","updatedAt":"2020-07-17T06:03:14Z","updatedBy":"us.root@zededa.com"},"title":"zededa"}
swagger:model Realm
func (*Realm) ContextValidate ¶ added in v2.3.0
ContextValidate validate this realm based on the context it is used
func (*Realm) MarshalBinary ¶ added in v2.3.0
MarshalBinary interface implementation
func (*Realm) UnmarshalBinary ¶ added in v2.3.0
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct { // Name of the Resource (Required) Name string `json:"name,omitempty"` // Value of Resource (Required) Value string `json:"value,omitempty"` }
Resource resource
swagger:model Resource
func (*Resource) ContextValidate ¶
ContextValidate validates this resource based on context it is used
func (*Resource) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ResourceGroupDetail ¶
type ResourceGroupDetail struct { // resource group name // Required: true Name *string `json:"name"` // resource group region Region string `json:"region,omitempty"` // azure subscription id to which resource group is attached // Required: true SubscriptionID *string `json:"subscriptionId"` }
ResourceGroupDetail Resource group payload detail for cloud policy
Resource group request paylod for cloud policy ¶
swagger:model ResourceGroupDetail
func (*ResourceGroupDetail) ContextValidate ¶
ContextValidate validates this resource group detail based on context it is used
func (*ResourceGroupDetail) MarshalBinary ¶
func (m *ResourceGroupDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceGroupDetail) UnmarshalBinary ¶
func (m *ResourceGroupDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // Detailed description of the role // Max Length: 256 Description string `json:"description,omitempty"` // Unique system defined role ID // Read Only: true // Pattern: [0-9A-Za-z_=-]{28} ID string `json:"id,omitempty"` // User defined name of the role. Name cannot be changed once created // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // Map of project tags filter ProjectTags map[string]string `json:"projectTags,omitempty"` // System defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // Scopes/Permissions associated with the role // Required: true Scopes []*Scope `json:"scopes"` // State of the role State *RoleState `json:"state,omitempty"` // User defined title of the role. Title can be changed anytime // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Type of the role // Required: true Type *UserRole `json:"type"` }
Role Role detail
Role meta data Example: {"description":"","id":"AAGFABAEqnH4je5PHZTXSmHOs-XC","name":"SysRoot","revision":{"createdAt":"2020-07-16T18:19:56Z","createdBy":"SYSTEM_ROOT","curr":"1","prev":"","updatedAt":"1970-01-01T00:00:01Z","updatedBy":"SYSTEM_ROOT"},"scopes":[{"accessApp":"PermissionAccessCreateReadUpdateDelete","accessDevice":"PermissionAccessCreateReadUpdateDelete","accessEnterprise":"PermissionAccessCreateReadUpdateDelete","accessStorage":"PermissionAccessCreateReadUpdateDelete","accessUser":"PermissionAccessCreateReadUpdateDelete","enterpriseFilter":["srAll"],"projectFilter":["srAll"]}],"state":"ROLE_STATE_ACTIVE","title":"SysRoot","type":"USER_ROLE_CLUSTER"}
swagger:model Role
func (*Role) ContextValidate ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RoleState ¶
type RoleState string
RoleState Values for this needs to match the const defined in libs/database/datamodel.go for backward compatibility.
swagger:model RoleState
const ( // RoleStateROLESTATEUNSPECIFIED captures enum value "ROLE_STATE_UNSPECIFIED" RoleStateROLESTATEUNSPECIFIED RoleState = "ROLE_STATE_UNSPECIFIED" // RoleStateROLESTATECREATED captures enum value "ROLE_STATE_CREATED" RoleStateROLESTATECREATED RoleState = "ROLE_STATE_CREATED" // RoleStateROLESTATEACTIVE captures enum value "ROLE_STATE_ACTIVE" RoleStateROLESTATEACTIVE RoleState = "ROLE_STATE_ACTIVE" // RoleStateROLESTATEINACTIVE captures enum value "ROLE_STATE_INACTIVE" RoleStateROLESTATEINACTIVE RoleState = "ROLE_STATE_INACTIVE" // RoleStateROLESTATEARCHIVED captures enum value "ROLE_STATE_ARCHIVED" RoleStateROLESTATEARCHIVED RoleState = "ROLE_STATE_ARCHIVED" )
func NewRoleState ¶
func (RoleState) ContextValidate ¶
ContextValidate validates this role state based on context it is used
type RunState ¶
type RunState string
RunState Run-time state of an object, reported by EVE
- RUN_STATE_ONLINE: Entity Online
- RUN_STATE_HALTED: Entity Halted
- RUN_STATE_INIT: Entity Initializing
- RUN_STATE_REBOOTING: Entity Rebooting
- RUN_STATE_OFFLINE: Entity Offline
- RUN_STATE_UNKNOWN: Entity state Unknown
- RUN_STATE_UNPROVISIONED: Entity Unprovisioned
- RUN_STATE_PROVISIONED: Entity Provisioned
- RUN_STATE_SUSPECT: Entity Suspect
- RUN_STATE_DOWNLOADING: Edge-node downloading entity artifacts
- RUN_STATE_RESTARTING: Entity Restarting
- RUN_STATE_PURGING: Entity Purging
- RUN_STATE_HALTING: Entity Halting
- RUN_STATE_ERROR: Entity encountered an error
- RUN_STATE_VERIFYING: Verification of downloaded Artifacts in Progress.
- RUN_STATE_LOADING: Loading of Artifacts into local datastore in Progress.
- RUN_STATE_CREATING_VOLUME: Volume creation from artifacts in Progress
- RUN_STATE_BOOTING: Entity booting up
- RUN_STATE_MAINTENANCE_MODE: Entity maintenance mode
- RUN_STATE_START_DELAYED: Application start delayed as per configuration
- RUN_STATE_BASEOS_UPDATING: Device BaseOs Update in Progress
- RUN_STATE_PREPARING_POWEROFF: device preparing power off - shutting down all app instances
- RUN_STATE_POWERING_OFF: device powering off from local profile server
- RUN_STATE_PREPARED_POWEROFF: device prepared power off - all app instances are shut down
swagger:model RunState
const ( // RunStateRUNSTATEUNSPECIFIED captures enum value "RUN_STATE_UNSPECIFIED" RunStateRUNSTATEUNSPECIFIED RunState = "RUN_STATE_UNSPECIFIED" // RunStateRUNSTATEONLINE captures enum value "RUN_STATE_ONLINE" RunStateRUNSTATEONLINE RunState = "RUN_STATE_ONLINE" // RunStateRUNSTATEHALTED captures enum value "RUN_STATE_HALTED" RunStateRUNSTATEHALTED RunState = "RUN_STATE_HALTED" // RunStateRUNSTATEINIT captures enum value "RUN_STATE_INIT" RunStateRUNSTATEINIT RunState = "RUN_STATE_INIT" // RunStateRUNSTATEREBOOTING captures enum value "RUN_STATE_REBOOTING" RunStateRUNSTATEREBOOTING RunState = "RUN_STATE_REBOOTING" // RunStateRUNSTATEOFFLINE captures enum value "RUN_STATE_OFFLINE" RunStateRUNSTATEOFFLINE RunState = "RUN_STATE_OFFLINE" // RunStateRUNSTATEUNKNOWN captures enum value "RUN_STATE_UNKNOWN" RunStateRUNSTATEUNKNOWN RunState = "RUN_STATE_UNKNOWN" // RunStateRUNSTATEUNPROVISIONED captures enum value "RUN_STATE_UNPROVISIONED" RunStateRUNSTATEUNPROVISIONED RunState = "RUN_STATE_UNPROVISIONED" // RunStateRUNSTATEPROVISIONED captures enum value "RUN_STATE_PROVISIONED" RunStateRUNSTATEPROVISIONED RunState = "RUN_STATE_PROVISIONED" // RunStateRUNSTATESUSPECT captures enum value "RUN_STATE_SUSPECT" RunStateRUNSTATESUSPECT RunState = "RUN_STATE_SUSPECT" // RunStateRUNSTATEDOWNLOADING captures enum value "RUN_STATE_DOWNLOADING" RunStateRUNSTATEDOWNLOADING RunState = "RUN_STATE_DOWNLOADING" // RunStateRUNSTATERESTARTING captures enum value "RUN_STATE_RESTARTING" RunStateRUNSTATERESTARTING RunState = "RUN_STATE_RESTARTING" // RunStateRUNSTATEPURGING captures enum value "RUN_STATE_PURGING" RunStateRUNSTATEPURGING RunState = "RUN_STATE_PURGING" // RunStateRUNSTATEHALTING captures enum value "RUN_STATE_HALTING" RunStateRUNSTATEHALTING RunState = "RUN_STATE_HALTING" // RunStateRUNSTATEERROR captures enum value "RUN_STATE_ERROR" RunStateRUNSTATEERROR RunState = "RUN_STATE_ERROR" // RunStateRUNSTATEVERIFYING captures enum value "RUN_STATE_VERIFYING" RunStateRUNSTATEVERIFYING RunState = "RUN_STATE_VERIFYING" // RunStateRUNSTATELOADING captures enum value "RUN_STATE_LOADING" RunStateRUNSTATELOADING RunState = "RUN_STATE_LOADING" // RunStateRUNSTATECREATINGVOLUME captures enum value "RUN_STATE_CREATING_VOLUME" RunStateRUNSTATECREATINGVOLUME RunState = "RUN_STATE_CREATING_VOLUME" // RunStateRUNSTATEBOOTING captures enum value "RUN_STATE_BOOTING" RunStateRUNSTATEBOOTING RunState = "RUN_STATE_BOOTING" // RunStateRUNSTATEMAINTENANCEMODE captures enum value "RUN_STATE_MAINTENANCE_MODE" RunStateRUNSTATEMAINTENANCEMODE RunState = "RUN_STATE_MAINTENANCE_MODE" // RunStateRUNSTATESTARTDELAYED captures enum value "RUN_STATE_START_DELAYED" RunStateRUNSTATESTARTDELAYED RunState = "RUN_STATE_START_DELAYED" // RunStateRUNSTATEBASEOSUPDATING captures enum value "RUN_STATE_BASEOS_UPDATING" RunStateRUNSTATEBASEOSUPDATING RunState = "RUN_STATE_BASEOS_UPDATING" // RunStateRUNSTATEPREPARINGPOWEROFF captures enum value "RUN_STATE_PREPARING_POWEROFF" RunStateRUNSTATEPREPARINGPOWEROFF RunState = "RUN_STATE_PREPARING_POWEROFF" // RunStateRUNSTATEPOWERINGOFF captures enum value "RUN_STATE_POWERING_OFF" RunStateRUNSTATEPOWERINGOFF RunState = "RUN_STATE_POWERING_OFF" // RunStateRUNSTATEPREPAREDPOWEROFF captures enum value "RUN_STATE_PREPARED_POWEROFF" RunStateRUNSTATEPREPAREDPOWEROFF RunState = "RUN_STATE_PREPARED_POWEROFF" )
func NewRunState ¶
func (RunState) ContextValidate ¶
ContextValidate validates this run state based on context it is used
type SANValues ¶
type SANValues struct { // List of permitted DNS names. DNS []string `json:"dns"` // List of permitted email addresses. EmaildIds []string `json:"emaildIds"` // List of permitted hosts. Hosts []string `json:"hosts"` // List of permitted IP addresses. Ips []string `json:"ips"` // List of permitted User principal names. Upns []string `json:"upns"` // List of permitted URIs. Uris []string `json:"uris"` }
SANValues s a n values
swagger:model SANValues
func (*SANValues) ContextValidate ¶
ContextValidate validates this s a n values based on context it is used
func (*SANValues) MarshalBinary ¶
MarshalBinary interface implementation
func (*SANValues) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SIMCard ¶ added in v2.3.0
type SIMCard struct { // Integrated Circuit Card Identifier Iccid string `json:"iccid,omitempty"` // International Mobile Subscriber Identity Imsi string `json:"imsi,omitempty"` // Is Slot activated SlotActivated bool `json:"slotActivated,omitempty"` // Slot number SlotNumber int64 `json:"slotNumber,omitempty"` // Current state of the SIM card State string `json:"state,omitempty"` }
SIMCard SIMCard describes a SIM slot
SIMCard describes a SIM slot ¶
swagger:model SIMCard
func (*SIMCard) ContextValidate ¶ added in v2.3.0
ContextValidate validates this s i m card based on context it is used
func (*SIMCard) MarshalBinary ¶ added in v2.3.0
MarshalBinary interface implementation
func (*SIMCard) UnmarshalBinary ¶ added in v2.3.0
UnmarshalBinary interface implementation
type SKUDetail ¶
type SKUDetail struct { // capacity Capacity string `json:"capacity,omitempty"` // name Name string `json:"name,omitempty"` // tier Tier string `json:"tier,omitempty"` }
SKUDetail s k u detail
swagger:model SKUDetail
func (*SKUDetail) ContextValidate ¶
ContextValidate validates this s k u detail based on context it is used
func (*SKUDetail) MarshalBinary ¶
MarshalBinary interface implementation
func (*SKUDetail) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SWInfo ¶
type SWInfo struct { // software disk Disk string `json:"disk,omitempty"` // download progress DownloadProgress int64 `json:"downloadProgress,omitempty"` // software hash Hash string `json:"hash,omitempty"` // image name ImageName string `json:"imageName,omitempty"` // Software state State *SWState `json:"state,omitempty"` // software version Version string `json:"version,omitempty"` }
SWInfo Software Information
Software Information ¶
swagger:model SWInfo
func (*SWInfo) ContextValidate ¶
ContextValidate validate this s w info based on the context it is used
func (*SWInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*SWInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SWState ¶
type SWState string
SWState State of EVE/Edge Application software
- SW_STATE_RESOLVING_TAG: Prior to DOWNLOAD_STARTED we go through these: Resolving an image tag
- SW_STATE_RESOLVED_TAG: Tag has been resolved/failed
- SW_STATE_CREATING_VOLUME: Prior to INSTALLED we go through these:
Volume create in progress
- SW_STATE_CREATED_VOLUME: Volume create done/failed
- SW_STATE_VERIFYING: Verification in-progress
- SW_STATE_LOADING: Loading blob in CAS
- SW_STATE_LOADED: Loaded blob in CAS
- SW_STATE_AWAITNETWORKINSTANCE: Wait for network instance
swagger:model SWState
const ( // SWStateSWSTATEUNSPECIFIED captures enum value "SW_STATE_UNSPECIFIED" SWStateSWSTATEUNSPECIFIED SWState = "SW_STATE_UNSPECIFIED" // SWStateSWSTATEINITIAL captures enum value "SW_STATE_INITIAL" SWStateSWSTATEINITIAL SWState = "SW_STATE_INITIAL" // SWStateSWSTATEDOWNLOADINPROGRESS captures enum value "SW_STATE_DOWNLOAD_IN_PROGRESS" SWStateSWSTATEDOWNLOADINPROGRESS SWState = "SW_STATE_DOWNLOAD_IN_PROGRESS" // SWStateSWSTATEDOWNLOADED captures enum value "SW_STATE_DOWNLOADED" SWStateSWSTATEDOWNLOADED SWState = "SW_STATE_DOWNLOADED" // SWStateSWSTATEVERIFIED captures enum value "SW_STATE_VERIFIED" SWStateSWSTATEVERIFIED SWState = "SW_STATE_VERIFIED" // SWStateSWSTATEINSTALLED captures enum value "SW_STATE_INSTALLED" SWStateSWSTATEINSTALLED SWState = "SW_STATE_INSTALLED" // SWStateSWSTATEBOOTING captures enum value "SW_STATE_BOOTING" SWStateSWSTATEBOOTING SWState = "SW_STATE_BOOTING" // SWStateSWSTATERUNNING captures enum value "SW_STATE_RUNNING" SWStateSWSTATERUNNING SWState = "SW_STATE_RUNNING" // SWStateSWSTATEHALTING captures enum value "SW_STATE_HALTING" SWStateSWSTATEHALTING SWState = "SW_STATE_HALTING" // SWStateSWSTATEHALTED captures enum value "SW_STATE_HALTED" SWStateSWSTATEHALTED SWState = "SW_STATE_HALTED" // SWStateSWSTATEREFRESHING captures enum value "SW_STATE_REFRESHING" SWStateSWSTATEREFRESHING SWState = "SW_STATE_REFRESHING" // SWStateSWSTATEPURGING captures enum value "SW_STATE_PURGING" SWStateSWSTATEPURGING SWState = "SW_STATE_PURGING" // SWStateSWSTATERESOLVINGTAG captures enum value "SW_STATE_RESOLVING_TAG" SWStateSWSTATERESOLVINGTAG SWState = "SW_STATE_RESOLVING_TAG" // SWStateSWSTATERESOLVEDTAG captures enum value "SW_STATE_RESOLVED_TAG" SWStateSWSTATERESOLVEDTAG SWState = "SW_STATE_RESOLVED_TAG" // SWStateSWSTATECREATINGVOLUME captures enum value "SW_STATE_CREATING_VOLUME" SWStateSWSTATECREATINGVOLUME SWState = "SW_STATE_CREATING_VOLUME" // SWStateSWSTATECREATEDVOLUME captures enum value "SW_STATE_CREATED_VOLUME" SWStateSWSTATECREATEDVOLUME SWState = "SW_STATE_CREATED_VOLUME" // SWStateSWSTATEVERIFYING captures enum value "SW_STATE_VERIFYING" SWStateSWSTATEVERIFYING SWState = "SW_STATE_VERIFYING" // SWStateSWSTATELOADING captures enum value "SW_STATE_LOADING" SWStateSWSTATELOADING SWState = "SW_STATE_LOADING" // SWStateSWSTATELOADED captures enum value "SW_STATE_LOADED" SWStateSWSTATELOADED SWState = "SW_STATE_LOADED" // SWStateSWSTATEAWAITNETWORKINSTANCE captures enum value "SW_STATE_AWAITNETWORKINSTANCE" SWStateSWSTATEAWAITNETWORKINSTANCE SWState = "SW_STATE_AWAITNETWORKINSTANCE" )
func NewSWState ¶
func (SWState) ContextValidate ¶
ContextValidate validates this s w state based on context it is used
type Scope ¶
type Scope struct { // Application access permission, this will be deprecated in further release - please use accessEdgeApp and accessAppInstance for granular permission access scope. AccessApp string `json:"accessApp,omitempty"` // Application Instance access permission AccessAppInstance string `json:"accessAppInstance,omitempty"` // Device access permission AccessDevice string `json:"accessDevice,omitempty"` // Edge app access permission AccessEdgeApp string `json:"accessEdgeApp,omitempty"` // Enterprise access permission AccessEnterprise string `json:"accessEnterprise,omitempty"` // Storage access permission AccessStorage string `json:"accessStorage,omitempty"` // User access permission AccessUser string `json:"accessUser,omitempty"` // List of enterprise filters EnterpriseFilter []string `json:"enterpriseFilter"` // List of project filters ProjectFilter []string `json:"projectFilter"` // Unique system defined scope ID // Read Only: true // Pattern: [0-9A-Za-z_=-]{28} UUID string `json:"uuid,omitempty"` }
Scope scope
swagger:model Scope
func (*Scope) ContextValidate ¶
ContextValidate validate this scope based on the context it is used
func (*Scope) MarshalBinary ¶
MarshalBinary interface implementation
func (*Scope) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Server ¶
type Server struct { // Net Proxy Port Port int64 `json:"port,omitempty"` // Net Proxy proto Proto *Proto `json:"proto,omitempty"` // Net Proxy Server Server string `json:"server,omitempty"` }
Server Net Proxy Server
Net Proxy Server ¶
swagger:model Server
func (*Server) ContextValidate ¶
ContextValidate validate this net proxy server based on the context it is used
func (*Server) MarshalBinary ¶
MarshalBinary interface implementation
func (*Server) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServicePoint ¶
type ServicePoint struct { // Service credentials Credential string `json:"Credential,omitempty"` // Service name/ service name NameOrIP string `json:"NameOrIp,omitempty"` // Service Point Type Type *SpType `json:"type,omitempty"` }
ServicePoint Service Point
Service Point ¶
swagger:model ServicePoint
func (*ServicePoint) ContextValidate ¶
ContextValidate validate this service point based on the context it is used
func (*ServicePoint) MarshalBinary ¶
func (m *ServicePoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicePoint) UnmarshalBinary ¶
func (m *ServicePoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Severity ¶
type Severity string
Severity Severity tells the severity type
swagger:model Severity
const ( // SeveritySEVERITYUNSPECIFIED captures enum value "SEVERITY_UNSPECIFIED" SeveritySEVERITYUNSPECIFIED Severity = "SEVERITY_UNSPECIFIED" // SeveritySEVERITYNOTICE captures enum value "SEVERITY_NOTICE" SeveritySEVERITYNOTICE Severity = "SEVERITY_NOTICE" // SeveritySEVERITYWARNING captures enum value "SEVERITY_WARNING" SeveritySEVERITYWARNING Severity = "SEVERITY_WARNING" // SeveritySEVERITYERROR captures enum value "SEVERITY_ERROR" SeveritySEVERITYERROR Severity = "SEVERITY_ERROR" )
func NewSeverity ¶
func (Severity) ContextValidate ¶
ContextValidate validates this severity based on context it is used
type SimcardState ¶
type SimcardState string
SimcardState simcard state
swagger:model SimcardState
const ( // SimcardStateSIMCARDSTATEINVALID captures enum value "SIMCARD_STATE_INVALID" SimcardStateSIMCARDSTATEINVALID SimcardState = "SIMCARD_STATE_INVALID" // SimcardStateSIMCARDSTATEASSIGNED captures enum value "SIMCARD_STATE_ASSIGNED" SimcardStateSIMCARDSTATEASSIGNED SimcardState = "SIMCARD_STATE_ASSIGNED" // SimcardStateSIMCARDSTATEPROVISIONED captures enum value "SIMCARD_STATE_PROVISIONED" SimcardStateSIMCARDSTATEPROVISIONED SimcardState = "SIMCARD_STATE_PROVISIONED" // SimcardStateSIMCARDSTATEACTIVE captures enum value "SIMCARD_STATE_ACTIVE" SimcardStateSIMCARDSTATEACTIVE SimcardState = "SIMCARD_STATE_ACTIVE" // SimcardStateSIMCARDSTATESUSPENDED captures enum value "SIMCARD_STATE_SUSPENDED" SimcardStateSIMCARDSTATESUSPENDED SimcardState = "SIMCARD_STATE_SUSPENDED" // SimcardStateSIMCARDSTATECANCELLED captures enum value "SIMCARD_STATE_CANCELLED" SimcardStateSIMCARDSTATECANCELLED SimcardState = "SIMCARD_STATE_CANCELLED" )
func NewSimcardState ¶
func NewSimcardState(value SimcardState) *SimcardState
func (SimcardState) ContextValidate ¶
ContextValidate validates this simcard state based on context it is used
func (SimcardState) Pointer ¶
func (m SimcardState) Pointer() *SimcardState
Pointer returns a pointer to a freshly-allocated SimcardState.
type SimpleUser ¶ added in v2.3.0
type SimpleUser struct { // first name FirstName string `json:"firstName,omitempty"` // BEGIN-SYNC(SimpleUser) ID string `json:"id,omitempty"` // realm Id RealmID string `json:"realmId,omitempty"` // state State *UserState `json:"state,omitempty"` // username Username string `json:"username,omitempty"` }
SimpleUser simple user
swagger:model SimpleUser
func (*SimpleUser) ContextValidate ¶ added in v2.3.0
ContextValidate validate this simple user based on the context it is used
func (*SimpleUser) MarshalBinary ¶ added in v2.3.0
func (m *SimpleUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SimpleUser) UnmarshalBinary ¶ added in v2.3.0
func (m *SimpleUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SpType ¶
type SpType string
SpType clone of types defined in API repo.
- SPTYPE_MAPSERVER: mapping service for zededa overlay service
- SPTYPE_SUPPORTSERVER: if device has support feature enabled, this ia cloud service
which device can be reached.
swagger:model spType
const ( // SpTypeSPTYPEINVALIDSRV captures enum value "SPTYPE_INVALIDSRV" SpTypeSPTYPEINVALIDSRV SpType = "SPTYPE_INVALIDSRV" // SpTypeSPTYPEMAPSERVER captures enum value "SPTYPE_MAPSERVER" SpTypeSPTYPEMAPSERVER SpType = "SPTYPE_MAPSERVER" // SpTypeSPTYPESUPPORTSERVER captures enum value "SPTYPE_SUPPORTSERVER" SpTypeSPTYPESUPPORTSERVER SpType = "SPTYPE_SUPPORTSERVER" )
func (SpType) ContextValidate ¶
ContextValidate validates this sp type based on context it is used
type StaticDNSList ¶
type StaticDNSList struct { // Addresses Addrs []string `json:"addrs"` // Host name Hostname string `json:"hostname,omitempty"` }
StaticDNSList Static DNS list
Static DNS list ¶
swagger:model StaticDNSList
func (*StaticDNSList) ContextValidate ¶
ContextValidate validates this static DNS list based on context it is used
func (*StaticDNSList) MarshalBinary ¶
func (m *StaticDNSList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StaticDNSList) UnmarshalBinary ¶
func (m *StaticDNSList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StaticIPRoute ¶ added in v2.3.0
type StaticIPRoute struct { // Gateway IP Gateway string `json:"gateway,omitempty"` // IP Prefix Prefix string `json:"prefix,omitempty"` }
StaticIPRoute Static IP Routes
Static IP Routes ¶
swagger:model StaticIPRoute
func (*StaticIPRoute) ContextValidate ¶ added in v2.3.0
ContextValidate validates this static IP route based on context it is used
func (*StaticIPRoute) MarshalBinary ¶ added in v2.3.0
func (m *StaticIPRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StaticIPRoute) UnmarshalBinary ¶ added in v2.3.0
func (m *StaticIPRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageDeviceMetrics ¶
type StorageDeviceMetrics struct { // checksum errors counter ChecksumErrors int64 `json:"checksumErrors,omitempty"` // read errors counter ReadErrors int64 `json:"readErrors,omitempty"` // write errors counter WriteErrors int64 `json:"writeErrors,omitempty"` }
StorageDeviceMetrics storage device metrics
swagger:model StorageDeviceMetrics
func (*StorageDeviceMetrics) ContextValidate ¶
ContextValidate validates this storage device metrics based on context it is used
func (*StorageDeviceMetrics) MarshalBinary ¶
func (m *StorageDeviceMetrics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageDeviceMetrics) UnmarshalBinary ¶
func (m *StorageDeviceMetrics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageStatus ¶
type StorageStatus struct { // mount path MountPath string `json:"mountPath,omitempty"` // name Name string `json:"name,omitempty"` // size m b SizeMB string `json:"sizeMB,omitempty"` }
StorageStatus storage status
swagger:model StorageStatus
func (*StorageStatus) ContextValidate ¶
ContextValidate validates this storage status based on context it is used
func (*StorageStatus) MarshalBinary ¶
func (m *StorageStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageStatus) UnmarshalBinary ¶
func (m *StorageStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageSummary ¶
type StorageSummary struct { // Total reserved for running applications + temp. images etc AllocatedMB float64 `json:"AllocatedMB,omitempty"` // Total Storage for the device in MBs TotalMB float64 `json:"TotalMB,omitempty"` // How much is used within the allocated total storage UsedMB float64 `json:"UsedMB,omitempty"` }
StorageSummary Storage Summary
Storage Summary ¶
swagger:model StorageSummary
func (*StorageSummary) ContextValidate ¶
ContextValidate validates this storage summary based on context it is used
func (*StorageSummary) MarshalBinary ¶
func (m *StorageSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageSummary) UnmarshalBinary ¶
func (m *StorageSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subject ¶
type Subject struct { // Certificate common name. CommonName string `json:"commonName,omitempty"` // List of countries. Country []string `json:"country"` // List of locallity. Locality []string `json:"locality"` // List of organization. Organization []string `json:"organization"` // List of Organizational Unit. OrganizationalUnit []string `json:"organizationalUnit"` // List of Postal codes. PostalCode []string `json:"postalCode"` // List of List of Prvince. Province []string `json:"province"` // Subject cerial number SerialNumber string `json:"serialNumber,omitempty"` }
Subject subject
swagger:model Subject
func (*Subject) ContextValidate ¶
ContextValidate validates this subject based on context it is used
func (*Subject) MarshalBinary ¶
MarshalBinary interface implementation
func (*Subject) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Summary ¶
type Summary struct { // Summary description Description string `json:"description,omitempty"` // Total Total int64 `json:"total,omitempty"` // Values: Map for storing <string, uint32> Values map[string]int64 `json:"values,omitempty"` }
Summary Summary is used to store the Summary details
Summary is used to store the Summary details ¶
swagger:model Summary
func (*Summary) ContextValidate ¶
ContextValidate validates this summary based on context it is used
func (*Summary) MarshalBinary ¶
MarshalBinary interface implementation
func (*Summary) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SymmetricKeyEnrollmentDetail ¶
type SymmetricKeyEnrollmentDetail struct { // group symmetric key enrollment GroupSymmetricKeyEnrollment *GroupSymmetricKeyEnrollment `json:"groupSymmetricKeyEnrollment,omitempty"` // individual symmetric key enrollment IndividualSymmetricKeyEnrollment *IndividualSymmetricKeyEnrollment `json:"individualSymmetricKeyEnrollment,omitempty"` // type Type *EnrollmentType `json:"type,omitempty"` }
SymmetricKeyEnrollmentDetail symmetric key enrollment detail
swagger:model SymmetricKeyEnrollmentDetail
func (*SymmetricKeyEnrollmentDetail) ContextValidate ¶
func (m *SymmetricKeyEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this symmetric key enrollment detail based on the context it is used
func (*SymmetricKeyEnrollmentDetail) MarshalBinary ¶
func (m *SymmetricKeyEnrollmentDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SymmetricKeyEnrollmentDetail) UnmarshalBinary ¶
func (m *SymmetricKeyEnrollmentDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SysBrand ¶
type SysBrand struct { // Map of <string, string> Attr map[string]string `json:"attr,omitempty"` // Detailed description of the image. // Max Length: 256 Description string `json:"description,omitempty"` // System defined universally unique Id of the brand. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // Map of <string, string> which holds the key:url for the logo artifact of the the brand Logo map[string]string `json:"logo,omitempty"` // user defined sys brand name // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // origin of object // Required: true OriginType *Origin `json:"originType"` // Object Revision of the sys brand Revision *ObjectRevision `json:"revision,omitempty"` // Sys Model Status State *SysModelState `json:"state,omitempty"` // Deprecated: base64 encoded string of svg file Svg string `json:"svg,omitempty"` // System Manufacturer name SystemMfgName string `json:"systemMfgName,omitempty"` // user defined title for sys brand // Required: true // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Title *string `json:"title"` }
SysBrand SysBrand payload details
SysModel consists of various brand attributes like id, name, title, svg, state, systemMfgName Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"zed-brand","title":"sample brand"}
swagger:model SysBrand
func (*SysBrand) ContextValidate ¶
ContextValidate validate this sys brand based on the context it is used
func (*SysBrand) MarshalBinary ¶
MarshalBinary interface implementation
func (*SysBrand) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SysBrandFilter ¶
type SysBrandFilter struct { // Brand name pattern to be matched. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9_.-]{3,256} NamePattern string `json:"namePattern,omitempty"` // origin of object // Required: true OriginType *Origin `json:"originType"` }
SysBrandFilter sys brand filter
swagger:model SysBrandFilter
func (*SysBrandFilter) ContextValidate ¶
ContextValidate validate this sys brand filter based on the context it is used
func (*SysBrandFilter) MarshalBinary ¶
func (m *SysBrandFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SysBrandFilter) UnmarshalBinary ¶
func (m *SysBrandFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SysBrands ¶
type SysBrands struct { // List of filtered Sys Models List []*SysBrand `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Summary of filtered model records Terse *Summary `json:"terse,omitempty"` }
SysBrands SysBrands payload details
SysBrands used when listing the available brands, if consists of various brand attributes like terse, model list and next filter.
swagger:model SysBrands
func (*SysBrands) ContextValidate ¶
ContextValidate validate this sys brands based on the context it is used
func (*SysBrands) MarshalBinary ¶
MarshalBinary interface implementation
func (*SysBrands) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SysModel ¶
type SysModel struct { // PCR templates keyed by EVE version PCRTemplates []*PCRTemplate `json:"PCRTemplates"` // Map of <string, string> which defines attr // Required: true Attr map[string]string `json:"attr"` // System defined universally unique Id of the brand. // Required: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12 BrandID *string `json:"brandId"` // Detailed description of the model. // Max Length: 256 Description string `json:"description,omitempty"` // System defined universally unique Id of the model. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // List of IoMembers IoMemberList []*IoMember `json:"ioMemberList"` // Flag to represent whether sysModel is imported IsImported bool `json:"isImported,omitempty"` // Map of <string, string> which holds the key:url for the logo artifact of the model Logo map[string]string `json:"logo,omitempty"` // user defined model name // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // origin of object // Required: true OriginType *Origin `json:"originType"` // origin and parent related details ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"` // Product status ProductStatus string `json:"productStatus,omitempty"` // Product URL ProductURL string `json:"productURL,omitempty"` // Object Revision of the model // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // SysModel State which denotes the status of the model // Required: true State *SysModelState `json:"state"` // User defined title of the model. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Defines the Architecture type of the model // Required: true Type *ModelArchType `json:"type"` }
SysModel SysModel payload details
SysModel consists of various model attributes like id, name, title, brandId etc Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"zed-model","title":"sample model"}
swagger:model SysModel
func (*SysModel) ContextValidate ¶
ContextValidate validate this sys model based on the context it is used
func (*SysModel) MarshalBinary ¶
MarshalBinary interface implementation
func (*SysModel) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SysModelFilter ¶
type SysModelFilter struct { // System defined universally unique Id of the brand. // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12 BrandID string `json:"brandId,omitempty"` // System defined universally unique Ids of the brand. BrandIds []string `json:"brandIds"` // Model name pattern to be matched. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9_.-]{3,256} NamePattern string `json:"namePattern,omitempty"` // origin of object OriginType *Origin `json:"originType,omitempty"` }
SysModelFilter sys model filter
swagger:model SysModelFilter
func (*SysModelFilter) ContextValidate ¶
ContextValidate validate this sys model filter based on the context it is used
func (*SysModelFilter) MarshalBinary ¶
func (m *SysModelFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SysModelFilter) UnmarshalBinary ¶
func (m *SysModelFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SysModelState ¶
type SysModelState string
SysModelState SysModelState : enum specifies the SysModel status
- SYS_MODEL_STATE_UNSPECIFIED: default options, which says no Operation/Invalid Operation
- SYS_MODEL_STATE_ARCHIVE: Archived sysModel State
- SYS_MODEL_STATE_ACTIVE: Active sysModel state
swagger:model SysModelState
const ( // SysModelStateSYSMODELSTATEUNSPECIFIED captures enum value "SYS_MODEL_STATE_UNSPECIFIED" SysModelStateSYSMODELSTATEUNSPECIFIED SysModelState = "SYS_MODEL_STATE_UNSPECIFIED" // SysModelStateSYSMODELSTATEARCHIVE captures enum value "SYS_MODEL_STATE_ARCHIVE" SysModelStateSYSMODELSTATEARCHIVE SysModelState = "SYS_MODEL_STATE_ARCHIVE" // SysModelStateSYSMODELSTATEACTIVE captures enum value "SYS_MODEL_STATE_ACTIVE" SysModelStateSYSMODELSTATEACTIVE SysModelState = "SYS_MODEL_STATE_ACTIVE" )
func NewSysModelState ¶
func NewSysModelState(value SysModelState) *SysModelState
func (SysModelState) ContextValidate ¶
ContextValidate validates this sys model state based on context it is used
func (SysModelState) Pointer ¶
func (m SysModelState) Pointer() *SysModelState
Pointer returns a pointer to a freshly-allocated SysModelState.
type SysModels ¶
type SysModels struct { // List of filtered Sys Models List []*SysModel `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Summary by brand distribution SummaryByBrandDistribution *Summary `json:"summaryByBrandDistribution,omitempty"` // Summary by device distribution SummaryByDeviceDistribution *Summary `json:"summaryByDeviceDistribution,omitempty"` // Summary of filtered model records Terse *Summary `json:"terse,omitempty"` }
SysModels SysModels payload details
SysModels used when listing the available models, if consists of various model attributes like terse, model list and next filter.
swagger:model SysModels
func (*SysModels) ContextValidate ¶
ContextValidate validate this sys models based on the context it is used
func (*SysModels) MarshalBinary ¶
MarshalBinary interface implementation
func (*SysModels) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SystemInterface ¶
type SystemInterface struct { // cost of using this interface. Default is 0. // Maximum: 255 Cost int64 `json:"cost,omitempty"` // Adapter Udage IntfUsage *AdapterUsage `json:"intfUsage,omitempty"` // name of interface in the manifest to which this network or adapter maps to Intfname string `json:"intfname,omitempty"` // IP address: we will be needing this in cae of static network Ipaddr string `json:"ipaddr,omitempty"` // mac address needs to be over-written in some cases Macaddr string `json:"macaddr,omitempty"` // network name: if attaching a network use netname Netname string `json:"netname,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` }
SystemInterface sysInterface payload detail
system interfaces that needs to be used by dom0
swagger:model sysInterface
func (*SystemInterface) ContextValidate ¶
ContextValidate validate this sys interface based on the context it is used
func (*SystemInterface) MarshalBinary ¶
func (m *SystemInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemInterface) UnmarshalBinary ¶
func (m *SystemInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TOTPSettings ¶ added in v2.3.0
type TOTPSettings struct { // enforce Enforce bool `json:"enforce,omitempty"` // enforce in children EnforceInChildren bool `json:"enforceInChildren,omitempty"` // enforced by parent EnforcedByParent bool `json:"enforcedByParent,omitempty"` }
TOTPSettings t o t p settings
swagger:model TOTPSettings
func (*TOTPSettings) ContextValidate ¶ added in v2.3.0
ContextValidate validates this t o t p settings based on context it is used
func (*TOTPSettings) MarshalBinary ¶ added in v2.3.0
func (m *TOTPSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TOTPSettings) UnmarshalBinary ¶ added in v2.3.0
func (m *TOTPSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TPMEnrollmentDetail ¶
type TPMEnrollmentDetail struct { // type Type *EnrollmentType `json:"type,omitempty"` }
TPMEnrollmentDetail t p m enrollment detail
swagger:model TPMEnrollmentDetail
func (*TPMEnrollmentDetail) ContextValidate ¶
ContextValidate validate this t p m enrollment detail based on the context it is used
func (*TPMEnrollmentDetail) MarshalBinary ¶
func (m *TPMEnrollmentDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TPMEnrollmentDetail) UnmarshalBinary ¶
func (m *TPMEnrollmentDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Tag ¶
type Tag struct { // Resource group wide policy for edge applications to be deployed on all edge nodes on this resource group // Read Only: true AppPolicy *Policy `json:"appPolicy,omitempty"` // Attestation policy to enforce on all devices of this project AttestationPolicy *Policy `json:"attestationPolicy,omitempty"` // Resource group wide configuration for edge nodes // Read Only: true Attr map[string]string `json:"attr,omitempty"` // Resource group wide policy for Azure IoTEdge configuration to be applied to all edge applications // Read Only: true CloudPolicy *Policy `json:"cloudPolicy,omitempty"` // Configuration lock prevents users to send unintentional misconfigurations ConfigurationLockPolicy *Policy `json:"configurationLockPolicy,omitempty"` // Deployment template containing different types of policies Deployment *Deployment `json:"deployment,omitempty"` // Detailed description of the resource group. // Max Length: 256 Description string `json:"description,omitempty"` // Edgeview policy on devices of this project EdgeviewPolicy *Policy `json:"edgeviewPolicy,omitempty"` // System defined universally unique Id of the resource group. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // Local operator console policy on devices of this project LocalOperatorConsolePolicy *Policy `json:"localOperatorConsolePolicy,omitempty"` // Resource group wide policy for Azure module configuration to be applied to all edge applications // Read Only: true ModulePolicy []*Policy `json:"modulePolicy"` // User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // Network policy to enforce on all devices of this project NetworkPolicy *Policy `json:"networkPolicy,omitempty"` // Number of edge nodes in this resource group // Read Only: true Numdevices int64 `json:"numdevices,omitempty"` // system defined info // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // tag level setting within a enterprise TagLevelSettings *TagLevelSettings `json:"tagLevelSettings,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // User defined title of the resource group. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Resource group type // Required: true Type *TagType `json:"type"` }
Tag Resource group detail
Resource group for edge gateway Base OS or for eedge applications. Example: {"attr":{},"description":"My test resource group for Edge computing","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","numdevices":208,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test resource group","type":"TAG_TYPE_PROJECT"}
swagger:model Tag
func (*Tag) ContextValidate ¶
ContextValidate validate this tag based on the context it is used
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TagConfigStatus ¶
type TagConfigStatus struct { // app policy Id AppPolicyID string `json:"appPolicyId,omitempty"` // app policy name AppPolicyName string `json:"appPolicyName,omitempty"` // type of attestation policy AttestPolicyType *AttestPolicyType `json:"attestPolicyType,omitempty"` // type of cloud policy CloudPolicyType *PolicyType `json:"cloudPolicyType,omitempty"` // edgeview is allowed or not for devices in project EdgeviewAllow bool `json:"edgeviewAllow,omitempty"` // total count of devices enabled with edgeview session EdgeviewSessionCount int64 `json:"edgeviewSessionCount,omitempty"` // System defined universally unique Id of the resource group. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // flag to indicate if this is the default network instance for the device NetworkDeviceDefault string `json:"networkDeviceDefault,omitempty"` // network policy Id NetworkPolicyID string `json:"networkPolicyId,omitempty"` // Resource group status // Read Only: true Status *TagStatus `json:"status,omitempty"` }
TagConfigStatus tag config status
swagger:model tagConfigStatus
func (*TagConfigStatus) ContextValidate ¶
ContextValidate validate this tag config status based on the context it is used
func (*TagConfigStatus) MarshalBinary ¶
func (m *TagConfigStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagConfigStatus) UnmarshalBinary ¶
func (m *TagConfigStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagFilter ¶
type TagFilter struct { // Resource group name pattern to be matched. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9_.-]+ NamePattern string `json:"namePattern,omitempty"` // Resource group type to ne matched. Type *TagType `json:"type,omitempty"` }
TagFilter tag filter
swagger:model TagFilter
func (*TagFilter) ContextValidate ¶
ContextValidate validate this tag filter based on the context it is used
func (*TagFilter) MarshalBinary ¶
MarshalBinary interface implementation
func (*TagFilter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TagLevelSettings ¶ added in v2.3.0
type TagLevelSettings struct { // Flow log transmission setting for the network instances FlowLogTransmission *NetworkInstanceFlowLogTransmission `json:"flowLogTransmission,omitempty"` // interface ordering for app instances InterfaceOrdering *InterfaceOrdering `json:"interfaceOrdering,omitempty"` }
TagLevelSettings TagLevelSettings defines settings at a specific tag level within a enterprise. It includes configurations that control certain behaviors or features, such as the transmission of flow logs for monitoring and analysis purposes.
swagger:model TagLevelSettings
func (*TagLevelSettings) ContextValidate ¶ added in v2.3.0
ContextValidate validate this tag level settings based on the context it is used
func (*TagLevelSettings) MarshalBinary ¶ added in v2.3.0
func (m *TagLevelSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagLevelSettings) UnmarshalBinary ¶ added in v2.3.0
func (m *TagLevelSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagStatus ¶
type TagStatus string
TagStatus Resource group status
- TAG_STATUS_UNSPECIFIED: Tag Status : UNSPECIFIED
- TAG_STATUS_ARCHIVE: Tag Status : ARCHIVE
- TAG_STATUS_ACTIVE: Tag Status : ACTIVE
- TAG_STATUS_INACTIVE: Tag Status : INACTIVE
swagger:model TagStatus
const ( // TagStatusTAGSTATUSUNSPECIFIED captures enum value "TAG_STATUS_UNSPECIFIED" TagStatusTAGSTATUSUNSPECIFIED TagStatus = "TAG_STATUS_UNSPECIFIED" // TagStatusTAGSTATUSARCHIVE captures enum value "TAG_STATUS_ARCHIVE" TagStatusTAGSTATUSARCHIVE TagStatus = "TAG_STATUS_ARCHIVE" // TagStatusTAGSTATUSACTIVE captures enum value "TAG_STATUS_ACTIVE" TagStatusTAGSTATUSACTIVE TagStatus = "TAG_STATUS_ACTIVE" // TagStatusTAGSTATUSINACTIVE captures enum value "TAG_STATUS_INACTIVE" TagStatusTAGSTATUSINACTIVE TagStatus = "TAG_STATUS_INACTIVE" // TagStatusTAGSTATUSINITIALIZED captures enum value "TAG_STATUS_INITIALIZED" TagStatusTAGSTATUSINITIALIZED TagStatus = "TAG_STATUS_INITIALIZED" // TagStatusTAGSTATUSFAILED captures enum value "TAG_STATUS_FAILED" TagStatusTAGSTATUSFAILED TagStatus = "TAG_STATUS_FAILED" )
func NewTagStatus ¶
func (TagStatus) ContextValidate ¶
ContextValidate validates this tag status based on context it is used
type TagStatusFilter ¶
type TagStatusFilter struct { // Resource group name pattern to be matched. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9_.-]+ NamePattern string `json:"namePattern,omitempty"` // Resource group status to be matched. Status *TagStatus `json:"status,omitempty"` // Resource group type to ne matched. Type *TagType `json:"type,omitempty"` }
TagStatusFilter tag status filter
swagger:model TagStatusFilter
func (*TagStatusFilter) ContextValidate ¶
ContextValidate validate this tag status filter based on the context it is used
func (*TagStatusFilter) MarshalBinary ¶
func (m *TagStatusFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagStatusFilter) UnmarshalBinary ¶
func (m *TagStatusFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagStatusListMsg ¶
type TagStatusListMsg struct { // List of filtered resource group records List []*TagStatusMsg `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Summary of filtered resource group records SummaryByState *Summary `json:"summaryByState,omitempty"` // Summary of filtered resource group records SummaryByType *Summary `json:"summaryByType,omitempty"` }
TagStatusListMsg tag status list msg
swagger:model TagStatusListMsg
func (*TagStatusListMsg) ContextValidate ¶
ContextValidate validate this tag status list msg based on the context it is used
func (*TagStatusListMsg) MarshalBinary ¶
func (m *TagStatusListMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagStatusListMsg) UnmarshalBinary ¶
func (m *TagStatusListMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagStatusMsg ¶
type TagStatusMsg struct { // total count of devices enabled with edgeview session EdgeviewSessionCount int64 `json:"edgeviewSessionCount,omitempty"` // System defined universally unique Id of the resource group. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // Resource group status // Read Only: true Status *TagStatus `json:"status,omitempty"` // Resource group type Type *TagType `json:"type,omitempty"` }
TagStatusMsg Resource group detail
Resource group for edge gateway Base OS or for eedge applications. Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","status":"TAG_STATUS_ACTIVE"}
swagger:model TagStatusMsg
func (*TagStatusMsg) ContextValidate ¶
ContextValidate validate this tag status msg based on the context it is used
func (*TagStatusMsg) MarshalBinary ¶
func (m *TagStatusMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagStatusMsg) UnmarshalBinary ¶
func (m *TagStatusMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagType ¶
type TagType string
TagType Resource group types
- TAG_TYPE_UNSPECIFIED: Unspecified
- TAG_TYPE_GENERIC: Generic resource group
- TAG_TYPE_PROJECT: Project resource group
- TAG_TYPE_AZURE: Project resource group
- TAG_TYPE_DEPLOYMENT: Project with deployment
swagger:model TagType
const ( // TagTypeTAGTYPEUNSPECIFIED captures enum value "TAG_TYPE_UNSPECIFIED" TagTypeTAGTYPEUNSPECIFIED TagType = "TAG_TYPE_UNSPECIFIED" // TagTypeTAGTYPEGENERIC captures enum value "TAG_TYPE_GENERIC" TagTypeTAGTYPEGENERIC TagType = "TAG_TYPE_GENERIC" // TagTypeTAGTYPEPROJECT captures enum value "TAG_TYPE_PROJECT" TagTypeTAGTYPEPROJECT TagType = "TAG_TYPE_PROJECT" // TagTypeTAGTYPEAZURE captures enum value "TAG_TYPE_AZURE" TagTypeTAGTYPEAZURE TagType = "TAG_TYPE_AZURE" // TagTypeTAGTYPEDEPLOYMENT captures enum value "TAG_TYPE_DEPLOYMENT" TagTypeTAGTYPEDEPLOYMENT TagType = "TAG_TYPE_DEPLOYMENT" )
func NewTagType ¶
func (TagType) ContextValidate ¶
ContextValidate validates this tag type based on context it is used
type Tags ¶
type Tags struct { // List of filtered resource group records List []*Tag `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Summary of filtered resource group records SummaryByState *Summary `json:"summaryByState,omitempty"` // Summary of filtered resource group records SummaryByType *Summary `json:"summaryByType,omitempty"` }
Tags tags
swagger:model Tags
func (*Tags) ContextValidate ¶
ContextValidate validate this tags based on the context it is used
func (*Tags) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tags) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TagsConfigStatus ¶
type TagsConfigStatus struct { // List of filtered resource group records List []*TagConfigStatus `json:"list"` // Responded page details of filtered records Next *Cursor `json:"next,omitempty"` // Summary of filtered resource group records SummaryByState *Summary `json:"summaryByState,omitempty"` // Summary of filtered resource group records SummaryByType *Summary `json:"summaryByType,omitempty"` // total count of projects TotalCount int32 `json:"totalCount,omitempty"` }
TagsConfigStatus tags config status
swagger:model TagsConfigStatus
func (*TagsConfigStatus) ContextValidate ¶
ContextValidate validate this tags config status based on the context it is used
func (*TagsConfigStatus) MarshalBinary ¶
func (m *TagsConfigStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagsConfigStatus) UnmarshalBinary ¶
func (m *TagsConfigStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Token64 ¶ added in v2.3.0
type Token64 struct { // base64 Base64 string `json:"base64,omitempty"` // expires Expires string `json:"expires,omitempty"` }
Token64 Base64 encoded token
swagger:model Token64
func (*Token64) ContextValidate ¶ added in v2.3.0
ContextValidate validates this token64 based on context it is used
func (*Token64) MarshalBinary ¶ added in v2.3.0
MarshalBinary interface implementation
func (*Token64) UnmarshalBinary ¶ added in v2.3.0
UnmarshalBinary interface implementation
type TopTalkersResponse ¶
type TopTalkersResponse struct { // list List []*TopTalkersResponseItem `json:"list"` // next Next *Cursor `json:"next,omitempty"` }
TopTalkersResponse top talkers response
swagger:model TopTalkersResponse
func (*TopTalkersResponse) ContextValidate ¶
ContextValidate validate this top talkers response based on the context it is used
func (*TopTalkersResponse) MarshalBinary ¶
func (m *TopTalkersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TopTalkersResponse) UnmarshalBinary ¶
func (m *TopTalkersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TopTalkersResponseItem ¶
type TopTalkersResponseItem struct { // total Total string `json:"Total,omitempty"` // local addr // Min Length: 1 // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} LocalAddr string `json:"localAddr,omitempty"` // local port LocalPort int64 `json:"localPort,omitempty"` // proto Proto int64 `json:"proto,omitempty"` // remote addr RemoteAddr string `json:"remoteAddr,omitempty"` // remote port RemotePort int64 `json:"remotePort,omitempty"` // rx total RxTotal string `json:"rxTotal,omitempty"` // tx total TxTotal string `json:"txTotal,omitempty"` }
TopTalkersResponseItem top talkers response item
swagger:model TopTalkersResponseItem
func (*TopTalkersResponseItem) ContextValidate ¶
func (m *TopTalkersResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this top talkers response item based on context it is used
func (*TopTalkersResponseItem) MarshalBinary ¶
func (m *TopTalkersResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TopTalkersResponseItem) UnmarshalBinary ¶
func (m *TopTalkersResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TransCause ¶
type TransCause string
TransCause trans cause
swagger:model TransCause
const ( // TransCauseTRANSCAUSEUNSPECIFIED captures enum value "TRANS_CAUSE_UNSPECIFIED" TransCauseTRANSCAUSEUNSPECIFIED TransCause = "TRANS_CAUSE_UNSPECIFIED" // TransCauseTRANSCAUSEAPPDRIVECHANGED captures enum value "TRANS_CAUSE_APP_DRIVE_CHANGED" TransCauseTRANSCAUSEAPPDRIVECHANGED TransCause = "TRANS_CAUSE_APP_DRIVE_CHANGED" // TransCauseTRANSCAUSEAPPNETWORKCHANGED captures enum value "TRANS_CAUSE_APP_NETWORK_CHANGED" TransCauseTRANSCAUSEAPPNETWORKCHANGED TransCause = "TRANS_CAUSE_APP_NETWORK_CHANGED" // TransCauseTRANSCAUSEAPPCUSTOMCONFIGCHANGED captures enum value "TRANS_CAUSE_APP_CUSTOM_CONFIG_CHANGED" TransCauseTRANSCAUSEAPPCUSTOMCONFIGCHANGED TransCause = "TRANS_CAUSE_APP_CUSTOM_CONFIG_CHANGED" // TransCauseTRANSCAUSEAPPMODULEBUNDLEUPDATE captures enum value "TRANS_CAUSE_APP_MODULE_BUNDLE_UPDATE" TransCauseTRANSCAUSEAPPMODULEBUNDLEUPDATE TransCause = "TRANS_CAUSE_APP_MODULE_BUNDLE_UPDATE" // TransCauseTRANSCAUSEAPPDESCCHANGED captures enum value "TRANS_CAUSE_APP_DESC_CHANGED" TransCauseTRANSCAUSEAPPDESCCHANGED TransCause = "TRANS_CAUSE_APP_DESC_CHANGED" // TransCauseTRANSCAUSEAPPFIXEDRESOURCESCHANGED captures enum value "TRANS_CAUSE_APP_FIXED_RESOURCES_CHANGED" TransCauseTRANSCAUSEAPPFIXEDRESOURCESCHANGED TransCause = "TRANS_CAUSE_APP_FIXED_RESOURCES_CHANGED" // TransCauseTRANSCAUSEAPPVNCMODECHANGED captures enum value "TRANS_CAUSE_APP_VNC_MODE_CHANGED" TransCauseTRANSCAUSEAPPVNCMODECHANGED TransCause = "TRANS_CAUSE_APP_VNC_MODE_CHANGED" // TransCauseTRANSCAUSEAPPVMMODECHANGED captures enum value "TRANS_CAUSE_APP_VM_MODE_CHANGED" TransCauseTRANSCAUSEAPPVMMODECHANGED TransCause = "TRANS_CAUSE_APP_VM_MODE_CHANGED" // TransCauseTRANSCAUSEINTERCAEXPIRING captures enum value "TRANS_CAUSE_INTER_CA_EXPIRING" TransCauseTRANSCAUSEINTERCAEXPIRING TransCause = "TRANS_CAUSE_INTER_CA_EXPIRING" // TransCauseTRANSCAUSEINTERCAEXPIRED captures enum value "TRANS_CAUSE_INTER_CA_EXPIRED" TransCauseTRANSCAUSEINTERCAEXPIRED TransCause = "TRANS_CAUSE_INTER_CA_EXPIRED" // TransCauseTRANSCAUSEDEVICECAEXPIRING captures enum value "TRANS_CAUSE_DEVICE_CA_EXPIRING" TransCauseTRANSCAUSEDEVICECAEXPIRING TransCause = "TRANS_CAUSE_DEVICE_CA_EXPIRING" // TransCauseTRANSCAUSEDEVICECAEXPIRED captures enum value "TRANS_CAUSE_DEVICE_CA_EXPIRED" TransCauseTRANSCAUSEDEVICECAEXPIRED TransCause = "TRANS_CAUSE_DEVICE_CA_EXPIRED" )
func NewTransCause ¶
func NewTransCause(value TransCause) *TransCause
func (TransCause) ContextValidate ¶
ContextValidate validates this trans cause based on context it is used
func (TransCause) Pointer ¶
func (m TransCause) Pointer() *TransCause
Pointer returns a pointer to a freshly-allocated TransCause.
type TransDetails ¶
type TransDetails struct { // Cause of the transition action Cause *TransCause `json:"cause,omitempty"` // Scope of the action (e.g. project, cluster, instance) Scope *ActionScope `json:"scope,omitempty"` // Urgency of the recommended action (ERROR - must take action immediately, WARN - must take action but not immediately, NOTICE - may take action Severity string `json:"severity,omitempty"` }
TransDetails trans details
swagger:model TransDetails
func (*TransDetails) ContextValidate ¶
ContextValidate validate this trans details based on the context it is used
func (*TransDetails) MarshalBinary ¶
func (m *TransDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TransDetails) UnmarshalBinary ¶
func (m *TransDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TwinDetail ¶
type TwinDetail struct { // authentication type AuthenticationType string `json:"authenticationType,omitempty"` // cloud to device message count CloudToDeviceMessageCount int64 `json:"cloudToDeviceMessageCount,omitempty"` // description Description string `json:"description,omitempty"` // desired // Format: byte Desired strfmt.Base64 `json:"desired,omitempty"` // last desired status // Format: byte LastDesiredStatus strfmt.Base64 `json:"lastDesiredStatus,omitempty"` // module count ModuleCount int64 `json:"moduleCount,omitempty"` // reported // Format: byte Reported strfmt.Base64 `json:"reported,omitempty"` // status code StatusCode int32 `json:"statusCode,omitempty"` // tags // Format: byte Tags strfmt.Base64 `json:"tags,omitempty"` }
TwinDetail twin detail
swagger:model TwinDetail
func (*TwinDetail) ContextValidate ¶
ContextValidate validates this twin detail based on context it is used
func (*TwinDetail) MarshalBinary ¶
func (m *TwinDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TwinDetail) UnmarshalBinary ¶
func (m *TwinDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Type ¶
type Type string
Type network wireless type
swagger:model Type
const ( // NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED captures enum value "NETWORK_WIRELESS_TYPE_UNSPECIFIED" NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED Type = "NETWORK_WIRELESS_TYPE_UNSPECIFIED" // NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI captures enum value "NETWORK_WIRELESS_TYPE_WIFI" NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI Type = "NETWORK_WIRELESS_TYPE_WIFI" // NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR captures enum value "NETWORK_WIRELESS_TYPE_CELLULAR" NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR Type = "NETWORK_WIRELESS_TYPE_CELLULAR" )
func NewNetworkWirelessType ¶
func (Type) ContextValidate ¶
ContextValidate validates this network wireless type based on context it is used
type UserDataTemplate ¶
type UserDataTemplate struct { // custom config CustomConfig *CustomConfig `json:"customConfig,omitempty"` }
UserDataTemplate user data template
swagger:model UserDataTemplate
func (*UserDataTemplate) ContextValidate ¶
ContextValidate validate this user data template based on the context it is used
func (*UserDataTemplate) MarshalBinary ¶
func (m *UserDataTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserDataTemplate) UnmarshalBinary ¶
func (m *UserDataTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserRole ¶
type UserRole string
UserRole user role
swagger:model UserRole
const ( // UserRoleUSERROLEUNSPECIFIED captures enum value "USER_ROLE_UNSPECIFIED" UserRoleUSERROLEUNSPECIFIED UserRole = "USER_ROLE_UNSPECIFIED" // UserRoleUSERROLESYSTEMDEFINED captures enum value "USER_ROLE_SYSTEM_DEFINED" UserRoleUSERROLESYSTEMDEFINED UserRole = "USER_ROLE_SYSTEM_DEFINED" // UserRoleUSERROLEUSERDEFINED captures enum value "USER_ROLE_USER_DEFINED" UserRoleUSERROLEUSERDEFINED UserRole = "USER_ROLE_USER_DEFINED" // UserRoleUSERROLECLUSTER captures enum value "USER_ROLE_CLUSTER" UserRoleUSERROLECLUSTER UserRole = "USER_ROLE_CLUSTER" )
func NewUserRole ¶
func (UserRole) ContextValidate ¶
ContextValidate validates this user role based on context it is used
type UserState ¶
type UserState string
UserState General well being of the user
swagger:model UserState
const ( // UserStateUSERSTATEUNSPECIFIED captures enum value "USER_STATE_UNSPECIFIED" UserStateUSERSTATEUNSPECIFIED UserState = "USER_STATE_UNSPECIFIED" // UserStateUSERSTATECREATED captures enum value "USER_STATE_CREATED" UserStateUSERSTATECREATED UserState = "USER_STATE_CREATED" // UserStateUSERSTATEACTIVE captures enum value "USER_STATE_ACTIVE" UserStateUSERSTATEACTIVE UserState = "USER_STATE_ACTIVE" // UserStateUSERSTATEINACTIVE captures enum value "USER_STATE_INACTIVE" UserStateUSERSTATEINACTIVE UserState = "USER_STATE_INACTIVE" // UserStateUSERSTATESIGNEDUP captures enum value "USER_STATE_SIGNEDUP" UserStateUSERSTATESIGNEDUP UserState = "USER_STATE_SIGNEDUP" // UserStateUSERSTATESUSPENDED captures enum value "USER_STATE_SUSPENDED" UserStateUSERSTATESUSPENDED UserState = "USER_STATE_SUSPENDED" )
func NewUserState ¶
func (UserState) ContextValidate ¶
ContextValidate validates this user state based on context it is used
type VCEStatus ¶
type VCEStatus struct { // vce status detail VceStatusDetail *VCEStatusDetail `json:"vceStatusDetail,omitempty"` }
VCEStatus status of object on velocloud.
swagger:model VCEStatus
func (*VCEStatus) ContextValidate ¶
ContextValidate validate this v c e status based on the context it is used
func (*VCEStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*VCEStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VCEStatusDetail ¶
type VCEStatusDetail struct { // activation key ActivationKey string `json:"activationKey,omitempty"` // activation key expires // Format: date-time ActivationKeyExpires strfmt.DateTime `json:"activationKeyExpires,omitempty"` // activation state ActivationState string `json:"activationState,omitempty"` // activation time // Format: date-time ActivationTime strfmt.DateTime `json:"activationTime,omitempty"` // alerts enabled AlertsEnabled bool `json:"alertsEnabled,omitempty"` // bastion state BastionState string `json:"bastionState,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // edge state EdgeState string `json:"edgeState,omitempty"` // edge state time // Format: date-time EdgeStateTime strfmt.DateTime `json:"edgeStateTime,omitempty"` // ha last contact // Format: date-time HaLastContact strfmt.DateTime `json:"haLastContact,omitempty"` // ha previous state HaPreviousState string `json:"haPreviousState,omitempty"` // ha serial number HaSerialNumber string `json:"haSerialNumber,omitempty"` // ha state HaState string `json:"haState,omitempty"` // is hub IsHub bool `json:"isHub,omitempty"` // is live IsLive bool `json:"isLive,omitempty"` // last contact // Format: date-time LastContact strfmt.DateTime `json:"lastContact,omitempty"` // lte region LteRegion string `json:"lteRegion,omitempty"` // modified // Format: date-time Modified strfmt.DateTime `json:"modified,omitempty"` // operator alerts enabled OperatorAlertsEnabled bool `json:"operatorAlertsEnabled,omitempty"` // serial number SerialNumber string `json:"serialNumber,omitempty"` // service state ServiceState string `json:"serviceState,omitempty"` // service up since // Format: date-time ServiceUpSince strfmt.DateTime `json:"serviceUpSince,omitempty"` // status fetched at // Format: date-time StatusFetchedAt strfmt.DateTime `json:"statusFetchedAt,omitempty"` // system up since // Format: date-time SystemUpSince strfmt.DateTime `json:"systemUpSince,omitempty"` // vce edge Id VceEdgeID int64 `json:"vceEdgeId,omitempty"` // vce URL VceURL string `json:"vceURL,omitempty"` }
VCEStatusDetail v c e status detail
swagger:model VCEStatusDetail
func (*VCEStatusDetail) ContextValidate ¶
ContextValidate validates this v c e status detail based on context it is used
func (*VCEStatusDetail) MarshalBinary ¶
func (m *VCEStatusDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VCEStatusDetail) UnmarshalBinary ¶
func (m *VCEStatusDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VM ¶
type VM struct { // Enable CpuPinning CPUPinningEnabled bool `json:"cpuPinningEnabled,omitempty"` // CPUs // Required: true Cpus *int64 `json:"cpus"` // Memory // Required: true Memory *int64 `json:"memory"` // Hardware Virtualization // Required: true Mode *HvMode `json:"mode"` // VNC // Required: true Vnc *bool `json:"vnc"` // VNC display // Read Only: true VncDisplay int64 `json:"vncDisplay,omitempty"` }
VM vm detail
Virtual machine memory configuration ¶
swagger:model vm
func (*VM) ContextValidate ¶
ContextValidate validate this vm based on the context it is used
func (*VM) MarshalBinary ¶
MarshalBinary interface implementation
func (*VM) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VMManifest ¶
type VMManifest struct { // Edge Application type // // UI map: N/A - not exposed to users AcKind *string `json:"acKind,omitempty"` // Manifest version // // UI map: N/A - not exposed to users AcVersion *string `json:"acVersion,omitempty"` // bundle type, eg: vm, container, module AppType *AppType `json:"appType,omitempty"` // Annotations types.Annotations `json:"Annotations,omitempty"` // Labels types.Labels `json:"Labels,omitempty"` // // Template for Custom Configuration. Used for Cloud-Init Configuration *UserDataTemplate `json:"configuration,omitempty"` // Container specific details // // Create options direct the creation of the Docker container ContainerDetail *ContainerDetail `json:"containerDetail,omitempty"` // Enable CpuPinning CPUPinningEnabled bool `json:"cpuPinningEnabled,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // Description of the application Desc *Details `json:"desc,omitempty"` // Description of the Edge application // // UI map: AppDetailsPage:IdentityPane:DescriptionField, AppMarketplacePage:AppCard:DescriptionField // Pattern: [0-9A-Za-z-]+ Description string `json:"description,omitempty"` // Display name or title of app manifest // // UI map: AppEditPage:IdentityPane:Title_Field, AppDetailsPage:IdentityPane:Title_Field DisplayName string `json:"displayName,omitempty"` // Enable VNC for the app // // UI map: AppEditPage:IdentityPane:VNC_Field, AppDetailsPage:IdentityPane:VNC_Field Enablevnc bool `json:"enablevnc,omitempty"` // Images used by the app // // UI map: AppEditPage:DrivesPane, AppDetailsPage:DrivesPane Images []*VMManifestImage `json:"images"` // I/O adapter settings // // UI map: AppEditPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane Interfaces []*Interface `json:"interfaces"` // Module specific details // // Azure module specific details like module twin, environment variable, routes Module *ModuleDetail `json:"module,omitempty"` // Unique id of app manifest, should match object name // // UI map: AppEditPage:IdentityPane:Name_Field, AppDetailsPage:IdentityPane:Name_Field Name string `json:"name,omitempty"` // Owner of the application Owner *Author `json:"owner,omitempty"` // permissions Permissions []Permission `json:"permissions"` // Hardware resource requirement (CPU, Memory, Storage) for the app // // UI map: AppEditPage:ResourcesPane, AppDetailsPage:ResourcesPane Resources []*Resource `json:"resources"` // VM mode for VM-based app // // UI map: AppEditPage:IdentityPane:VM_Mode_Field, AppDetailsPage:IdentityPane:VM_Mode_Field Vmmode *string `json:"vmmode,omitempty"` }
VMManifest VM manifest
swagger:model VMManifest
func (*VMManifest) ContextValidate ¶
ContextValidate validate this VM manifest based on the context it is used
func (*VMManifest) MarshalBinary ¶
func (m *VMManifest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VMManifest) UnmarshalBinary ¶
func (m *VMManifest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VMManifestImage ¶
type VMManifestImage struct { // UI map: AppEditPage:DrivesPane:Cleartext, AppDetailsPage:DrivesPane:ClearText_Field Cleartext bool `json:"cleartext,omitempty"` // enum: CDROM, HDD, NET // // UI map: AppEditPage:DrivesPane:Drive_Type_Field, AppDetailsPage:DrivesPane:Drive_Type_Field Drvtype string `json:"drvtype,omitempty"` // UI map: AppEditPage:DrivesPane:Ignorepurge, AppDetailsPage:DrivesPane:Ignorepurgee_Field Ignorepurge bool `json:"ignorepurge,omitempty"` // UI map: AppEditPage:DrivesPane:Image_Format_Field, AppDetailsPage:DrivesPane:Image_Format_Field Imageformat *ConfigFormat `json:"imageformat,omitempty"` // UI map: AppEditPage:DrivesPane:Image_ID_Field, AppDetailsPage:DrivesPane:Image_ID_Field Imageid string `json:"imageid,omitempty"` // UI map: AppEditPage:DrivesPane:Image_Name_Field, AppDetailsPage:DrivesPane:Image_Name_Field Imagename string `json:"imagename,omitempty"` // UI map: AppEditPage:DrivesPane:Max_Size_Field, AppDetailsPage:DrivesPane:Max_Size_Field Maxsize string `json:"maxsize,omitempty"` // UI map: AppEditPage:DrivesPane:Mountpath, AppDetailsPage:DrivesPane:Mountpath_Field Mountpath string `json:"mountpath,omitempty"` // Not used by ZedUI Params []*Param `json:"params"` // UI map: AppEditPage:DrivesPane:Preserve_Field, AppDetailsPage:DrivesPane:Preserve_Field Preserve bool `json:"preserve,omitempty"` // Not used by ZedUI Readonly bool `json:"readonly,omitempty"` // enum: Disk, Kernel, Initrd, RamDisk // // UI map: AppEditPage:DrivesPane:Target_Field, AppDetailsPage:DrivesPane:Target_Field Target string `json:"target,omitempty"` // UI map: AppEditPage:DrivesPane:Volume_Label, AppDetailsPage:DrivesPane:Volume_Label Volumelabel string `json:"volumelabel,omitempty"` }
VMManifestImage VM manifest image
swagger:model VMManifestImage
func (*VMManifestImage) ContextValidate ¶
ContextValidate validate this VM manifest image based on the context it is used
func (*VMManifestImage) MarshalBinary ¶
func (m *VMManifestImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VMManifestImage) UnmarshalBinary ¶
func (m *VMManifestImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VMManifestSummary ¶
type VMManifestSummary struct { // Edge Application type // // UI map: N/A - not exposed to users AcKind *string `json:"acKind,omitempty"` // Manifest version // // UI map: N/A - not exposed to users AcVersion *string `json:"acVersion,omitempty"` // bundle type, eg: vm, container, module AppType *AppType `json:"appType,omitempty"` // type of deployment for the app, eg: azure, k3s, standalone DeploymentType *DeploymentType `json:"deploymentType,omitempty"` // Details of the Edge App Desc *Details `json:"desc,omitempty"` // Description of the Edge application // // UI map: AppDetailsPage:IdentityPane:DescriptionField, AppMarketplacePage:AppCard:DescriptionField // Pattern: [0-9A-Za-z-]+ Description string `json:"description,omitempty"` // Display name or title of app manifest // // UI map: AppEditPage:IdentityPane:Title_Field, AppDetailsPage:IdentityPane:Title_Field DisplayName string `json:"displayName,omitempty"` // Module specific details // // Azure module specific details like module twin, environment variable, routes Module *ModuleSummary `json:"module,omitempty"` // Unique id of app manifest, should match object name // // UI map: AppEditPage:IdentityPane:Name_Field, AppDetailsPage:IdentityPane:Name_Field Name string `json:"name,omitempty"` }
VMManifestSummary VMManifestSummary - App summary for list views
swagger:model VMManifestSummary
func (*VMManifestSummary) ContextValidate ¶
ContextValidate validate this VM manifest summary based on the context it is used
func (*VMManifestSummary) MarshalBinary ¶
func (m *VMManifestSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VMManifestSummary) UnmarshalBinary ¶
func (m *VMManifestSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VariableFileEncoding ¶
type VariableFileEncoding string
VariableFileEncoding File content encoding type
- FILE_ENCODING_UNSPECIFIED: File content not encoded
- FILE_ENCODING_BASE64: File content encoded in Base64
swagger:model VariableFileEncoding
const ( // VariableFileEncodingFILEENCODINGUNSPECIFIED captures enum value "FILE_ENCODING_UNSPECIFIED" VariableFileEncodingFILEENCODINGUNSPECIFIED VariableFileEncoding = "FILE_ENCODING_UNSPECIFIED" // VariableFileEncodingFILEENCODINGBASE64 captures enum value "FILE_ENCODING_BASE64" VariableFileEncodingFILEENCODINGBASE64 VariableFileEncoding = "FILE_ENCODING_BASE64" )
func NewVariableFileEncoding ¶
func NewVariableFileEncoding(value VariableFileEncoding) *VariableFileEncoding
func (VariableFileEncoding) ContextValidate ¶
ContextValidate validates this variable file encoding based on context it is used
func (VariableFileEncoding) Pointer ¶
func (m VariableFileEncoding) Pointer() *VariableFileEncoding
Pointer returns a pointer to a freshly-allocated VariableFileEncoding.
type VariableGroupCondition ¶
type VariableGroupCondition struct { // name Name string `json:"name,omitempty"` // operator Operator *VariableGroupConditionOperator `json:"operator,omitempty"` // value Value string `json:"value,omitempty"` }
VariableGroupCondition variable group condition
swagger:model VariableGroupCondition
func (*VariableGroupCondition) ContextValidate ¶
func (m *VariableGroupCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this variable group condition based on the context it is used
func (*VariableGroupCondition) MarshalBinary ¶
func (m *VariableGroupCondition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VariableGroupCondition) UnmarshalBinary ¶
func (m *VariableGroupCondition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VariableGroupConditionOperator ¶
type VariableGroupConditionOperator string
VariableGroupConditionOperator variable group condition operator
swagger:model VariableGroupConditionOperator
const ( // VariableGroupConditionOperatorCONDITIONOPERATORUNSPECIFIED captures enum value "CONDITION_OPERATOR_UNSPECIFIED" VariableGroupConditionOperatorCONDITIONOPERATORUNSPECIFIED VariableGroupConditionOperator = "CONDITION_OPERATOR_UNSPECIFIED" // VariableGroupConditionOperatorCONDITIONOPERATOREQUALTO captures enum value "CONDITION_OPERATOR_EQUALTO" VariableGroupConditionOperatorCONDITIONOPERATOREQUALTO VariableGroupConditionOperator = "CONDITION_OPERATOR_EQUALTO" // VariableGroupConditionOperatorCONDITIONOPERATORNOTEQUALTO captures enum value "CONDITION_OPERATOR_NOTEQUALTO" VariableGroupConditionOperatorCONDITIONOPERATORNOTEQUALTO VariableGroupConditionOperator = "CONDITION_OPERATOR_NOTEQUALTO" )
func NewVariableGroupConditionOperator ¶
func NewVariableGroupConditionOperator(value VariableGroupConditionOperator) *VariableGroupConditionOperator
func (VariableGroupConditionOperator) ContextValidate ¶
func (m VariableGroupConditionOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this variable group condition operator based on context it is used
func (VariableGroupConditionOperator) Pointer ¶
func (m VariableGroupConditionOperator) Pointer() *VariableGroupConditionOperator
Pointer returns a pointer to a freshly-allocated VariableGroupConditionOperator.
type VariableGroupVariable ¶
type VariableGroupVariable struct { // Default value of the variable. (Optional. Default: <Default value based on type>) Default string `json:"default,omitempty"` // Encoding of file content. Applicable if format is VARIABLE_FORMAT_FILE Encode *VariableFileEncoding `json:"encode,omitempty"` // Format of the user variable. (Required) // Required: true Format *VariableVariableFormat `json:"format"` // Label for the variable (Required) // Required: true Label *string `json:"label"` // Max length of the value of the variable(Optional. Default: 1024) MaxLength string `json:"maxLength,omitempty"` // Name of the Variable (Required) // Required: true Name *string `json:"name"` // Key-Value pair of options. Applicable if format is VARIABLE_FORMAT_DROPDOWN Options []*VariableOptionVal `json:"options"` // process input ProcessInput string `json:"processInput,omitempty"` // This variable MUST be specified when creating an App Instance. (Optional. Default: False) // Required: true Required *bool `json:"required"` // type Type string `json:"type,omitempty"` // User-specified value of the variable.(Required if required is true. Optional otherwise) Value string `json:"value,omitempty"` }
VariableGroupVariable Edge Application detail
Edge Application Artifact Details Example: {"format":"VARIABLE_FORMAT_TEXT","label":"Enter User Name","name":"username","required":"True"}
swagger:model VariableGroupVariable
func (*VariableGroupVariable) ContextValidate ¶
ContextValidate validate this variable group variable based on the context it is used
func (*VariableGroupVariable) MarshalBinary ¶
func (m *VariableGroupVariable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VariableGroupVariable) UnmarshalBinary ¶
func (m *VariableGroupVariable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VariableOptionVal ¶
type VariableOptionVal struct { // Display label of the key in User-Agent Label string `json:"label,omitempty"` // Value of the key to be used Value string `json:"value,omitempty"` }
VariableOptionVal variable option val
swagger:model VariableOptionVal
func (*VariableOptionVal) ContextValidate ¶
ContextValidate validates this variable option val based on context it is used
func (*VariableOptionVal) MarshalBinary ¶
func (m *VariableOptionVal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VariableOptionVal) UnmarshalBinary ¶
func (m *VariableOptionVal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VariableVariableFormat ¶
type VariableVariableFormat string
VariableVariableFormat Custom variable format
- VARIABLE_FORMAT_UNSPECIFIED: Invalid format
- VARIABLE_FORMAT_TEXT: Value in string format
- VARIABLE_FORMAT_NUMBER: Value in integer format
- VARIABLE_FORMAT_FILE: Value to be read from a file
- VARIABLE_FORMAT_DROPDOWN: Value to be selected from dropdown of options
- VARIABLE_FORMAT_BOOLEAN: Value in boolean format
- VARIABLE_FORMAT_PASSWORD: Value in string to be masked in User-Agent
swagger:model VariableVariableFormat
const ( // VariableVariableFormatVARIABLEFORMATUNSPECIFIED captures enum value "VARIABLE_FORMAT_UNSPECIFIED" VariableVariableFormatVARIABLEFORMATUNSPECIFIED VariableVariableFormat = "VARIABLE_FORMAT_UNSPECIFIED" // VariableVariableFormatVARIABLEFORMATTEXT captures enum value "VARIABLE_FORMAT_TEXT" VariableVariableFormatVARIABLEFORMATTEXT VariableVariableFormat = "VARIABLE_FORMAT_TEXT" // VariableVariableFormatVARIABLEFORMATNUMBER captures enum value "VARIABLE_FORMAT_NUMBER" VariableVariableFormatVARIABLEFORMATNUMBER VariableVariableFormat = "VARIABLE_FORMAT_NUMBER" // VariableVariableFormatVARIABLEFORMATFILE captures enum value "VARIABLE_FORMAT_FILE" VariableVariableFormatVARIABLEFORMATFILE VariableVariableFormat = "VARIABLE_FORMAT_FILE" // VariableVariableFormatVARIABLEFORMATDROPDOWN captures enum value "VARIABLE_FORMAT_DROPDOWN" VariableVariableFormatVARIABLEFORMATDROPDOWN VariableVariableFormat = "VARIABLE_FORMAT_DROPDOWN" // VariableVariableFormatVARIABLEFORMATBOOLEAN captures enum value "VARIABLE_FORMAT_BOOLEAN" VariableVariableFormatVARIABLEFORMATBOOLEAN VariableVariableFormat = "VARIABLE_FORMAT_BOOLEAN" // VariableVariableFormatVARIABLEFORMATPASSWORD captures enum value "VARIABLE_FORMAT_PASSWORD" VariableVariableFormatVARIABLEFORMATPASSWORD VariableVariableFormat = "VARIABLE_FORMAT_PASSWORD" )
func NewVariableVariableFormat ¶
func NewVariableVariableFormat(value VariableVariableFormat) *VariableVariableFormat
func (VariableVariableFormat) ContextValidate ¶
ContextValidate validates this variable variable format based on context it is used
func (VariableVariableFormat) Pointer ¶
func (m VariableVariableFormat) Pointer() *VariableVariableFormat
Pointer returns a pointer to a freshly-allocated VariableVariableFormat.
type Vfs ¶ added in v2.3.0
type Vfs struct { // The number of Virtual Functions for given Physical Function. Only applies for IO_TYPE_ETH_PF. // Maximum: 255 Count int64 `json:"count,omitempty"` }
Vfs vfs
swagger:model Vfs
func (*Vfs) ContextValidate ¶ added in v2.3.0
ContextValidate validates this vfs based on context it is used
func (*Vfs) MarshalBinary ¶ added in v2.3.0
MarshalBinary interface implementation
func (*Vfs) UnmarshalBinary ¶ added in v2.3.0
UnmarshalBinary interface implementation
type VifInfo ¶
type VifInfo struct { // app name AppName string `json:"appName,omitempty"` // mac address MacAddress string `json:"macAddress,omitempty"` // vif name VifName string `json:"vifName,omitempty"` }
VifInfo vif info
swagger:model VifInfo
func (*VifInfo) ContextValidate ¶
ContextValidate validates this vif info based on context it is used
func (*VifInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*VifInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VolInstFilter ¶
type VolInstFilter struct { // app inst name AppInstName string `json:"appInstName,omitempty"` // device name DeviceName string `json:"deviceName,omitempty"` // device name pattern DeviceNamePattern string `json:"deviceNamePattern,omitempty"` // label name LabelName string `json:"labelName,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` // type Type *VolumeInstanceType `json:"type,omitempty"` }
VolInstFilter vol inst filter
swagger:model VolInstFilter
func (*VolInstFilter) ContextValidate ¶
ContextValidate validate this vol inst filter based on the context it is used
func (*VolInstFilter) MarshalBinary ¶
func (m *VolInstFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstFilter) UnmarshalBinary ¶
func (m *VolInstFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstList ¶
type VolInstList struct { // cfg list CfgList []*VolumeInstance `json:"cfgList"` // list List []*VolInstShortConfig `json:"list"` // next Next *Cursor `json:"next,omitempty"` // summary by type SummaryByType *Summary `json:"summaryByType,omitempty"` }
VolInstList vol inst list
swagger:model VolInstList
func (*VolInstList) ContextValidate ¶
ContextValidate validate this vol inst list based on the context it is used
func (*VolInstList) MarshalBinary ¶
func (m *VolInstList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstList) UnmarshalBinary ¶
func (m *VolInstList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstResource ¶
type VolInstResource struct { // cur size bytes CurSizeBytes string `json:"curSizeBytes,omitempty"` // max size bytes MaxSizeBytes string `json:"maxSizeBytes,omitempty"` }
VolInstResource vol inst resource
swagger:model VolInstResource
func (*VolInstResource) ContextValidate ¶
ContextValidate validates this vol inst resource based on context it is used
func (*VolInstResource) MarshalBinary ¶
func (m *VolInstResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstResource) UnmarshalBinary ¶
func (m *VolInstResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstShortConfig ¶
type VolInstShortConfig struct { // device Id DeviceID string `json:"deviceId,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // type Type *VolumeInstanceType `json:"type,omitempty"` }
VolInstShortConfig vol inst short config
swagger:model VolInstShortConfig
func (*VolInstShortConfig) ContextValidate ¶
ContextValidate validate this vol inst short config based on the context it is used
func (*VolInstShortConfig) MarshalBinary ¶
func (m *VolInstShortConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstShortConfig) UnmarshalBinary ¶
func (m *VolInstShortConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstStatusFilter ¶
type VolInstStatusFilter struct { // app inst name AppInstName string `json:"appInstName,omitempty"` // device name DeviceName string `json:"deviceName,omitempty"` // device name pattern DeviceNamePattern string `json:"deviceNamePattern,omitempty"` // image name ImageName string `json:"imageName,omitempty"` // name pattern NamePattern string `json:"namePattern,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // project name pattern ProjectNamePattern string `json:"projectNamePattern,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // type Type *VolumeInstanceType `json:"type,omitempty"` }
VolInstStatusFilter vol inst status filter
swagger:model VolInstStatusFilter
func (*VolInstStatusFilter) ContextValidate ¶
ContextValidate validate this vol inst status filter based on the context it is used
func (*VolInstStatusFilter) MarshalBinary ¶
func (m *VolInstStatusFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstStatusFilter) UnmarshalBinary ¶
func (m *VolInstStatusFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstStatusListMsg ¶
type VolInstStatusListMsg struct { // list List []*VolInstStatusSummaryMsg `json:"list"` // next Next *Cursor `json:"next,omitempty"` // summary by state SummaryByState *Summary `json:"summaryByState,omitempty"` // summary by type SummaryByType *Summary `json:"summaryByType,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
VolInstStatusListMsg vol inst status list msg
swagger:model VolInstStatusListMsg
func (*VolInstStatusListMsg) ContextValidate ¶
ContextValidate validate this vol inst status list msg based on the context it is used
func (*VolInstStatusListMsg) MarshalBinary ¶
func (m *VolInstStatusListMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstStatusListMsg) UnmarshalBinary ¶
func (m *VolInstStatusListMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstStatusMsg ¶
type VolInstStatusMsg struct { // blobs Blobs []*BlobInfo `json:"blobs"` // device on which this volume is located DeviceID string `json:"deviceId,omitempty"` // device state DeviceState *SWState `json:"deviceState,omitempty"` // err info ErrInfo []*DeviceError `json:"errInfo"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // progress percentage ProgressPercentage int64 `json:"progressPercentage,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // raw status RawStatus string `json:"rawStatus,omitempty"` // resource Resource *VolInstResource `json:"resource,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // sha256 Sha256 string `json:"sha256,omitempty"` // type Type *VolumeInstanceType `json:"type,omitempty"` // usage Usage *DeviceObjectUsageInfo `json:"usage,omitempty"` }
VolInstStatusMsg vol inst status msg
swagger:model VolInstStatusMsg
func (*VolInstStatusMsg) ContextValidate ¶
ContextValidate validate this vol inst status msg based on the context it is used
func (*VolInstStatusMsg) MarshalBinary ¶
func (m *VolInstStatusMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstStatusMsg) UnmarshalBinary ¶
func (m *VolInstStatusMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstStatusSummaryMsg ¶
type VolInstStatusSummaryMsg struct { // create time // Format: date-time CreateTime strfmt.DateTime `json:"createTime,omitempty"` // device Id DeviceID string `json:"deviceId,omitempty"` // device name DeviceName string `json:"deviceName,omitempty"` // device state DeviceState *SWState `json:"deviceState,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // progress percentage ProgressPercentage int64 `json:"progressPercentage,omitempty"` // project Id ProjectID string `json:"projectId,omitempty"` // project name ProjectName string `json:"projectName,omitempty"` // run state RunState *RunState `json:"runState,omitempty"` // type Type *VolumeInstanceType `json:"type,omitempty"` }
VolInstStatusSummaryMsg vol inst status summary msg
swagger:model VolInstStatusSummaryMsg
func (*VolInstStatusSummaryMsg) ContextValidate ¶
func (m *VolInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vol inst status summary msg based on the context it is used
func (*VolInstStatusSummaryMsg) MarshalBinary ¶
func (m *VolInstStatusSummaryMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstStatusSummaryMsg) UnmarshalBinary ¶
func (m *VolInstStatusSummaryMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInstConfig ¶
type VolumeInstConfig struct { // Access mode Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"` // user defined key-value pairs of a block storage, will be used for targeting content tree BlockStorageTags map[string]string `json:"blockStorageTags,omitempty"` // flag to keep the contents of the volume unencrypted (in clear text) Cleartext bool `json:"cleartext,omitempty"` // content tree ID ContentTreeID string `json:"contentTreeId,omitempty"` // user defined key-value pairs of a content tree that will be used for targeting by block storage ContentTreeTargetCondition map[string]string `json:"contentTreeTargetCondition,omitempty"` // name of the image Image string `json:"image,omitempty"` // label Label string `json:"label,omitempty"` // flag to enable the volume to be attached to multiple app instances Multiattach bool `json:"multiattach,omitempty"` // Purge Counter information Purge *ZedCloudOpsCmd `json:"purge,omitempty"` // size of volume SizeBytes uint64 `json:"sizeBytes,omitempty"` // type of Volume Instance Type *VolumeInstanceType `json:"type,omitempty"` }
VolumeInstConfig volume inst config
swagger:model VolumeInstConfig
func (*VolumeInstConfig) ContextValidate ¶
ContextValidate validate this volume inst config based on the context it is used
func (*VolumeInstConfig) MarshalBinary ¶
func (m *VolumeInstConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInstConfig) UnmarshalBinary ¶
func (m *VolumeInstConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInstPolicy ¶
type VolumeInstPolicy struct { // all the required metadata for a policy like id, name, different types of tags MetaData *PolicyCommon `json:"metaData,omitempty"` // volume instance config details VolInstConfig *VolumeInstance `json:"volInstConfig,omitempty"` }
VolumeInstPolicy volume inst policy
swagger:model VolumeInstPolicy
func (*VolumeInstPolicy) ContextValidate ¶
ContextValidate validate this volume inst policy based on the context it is used
func (*VolumeInstPolicy) MarshalBinary ¶
func (m *VolumeInstPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInstPolicy) UnmarshalBinary ¶
func (m *VolumeInstPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInstance ¶
type VolumeInstance struct { // Access mode Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"` // flag to keep the contents of the volume unencrypted (in clear text) Cleartext bool `json:"cleartext,omitempty"` // content tree ID ContentTreeID string `json:"contentTreeId,omitempty"` // Detailed description of the volume instance. // Max Length: 256 Description string `json:"description,omitempty"` // id of the device on which volume instance is created DeviceID string `json:"deviceId,omitempty"` // System defined universally unique Id of the volume instance. // Read Only: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12} ID string `json:"id,omitempty"` // name of the image Image string `json:"image,omitempty"` // flag to create implicit volumes Implicit bool `json:"implicit,omitempty"` // label Label string `json:"label,omitempty"` // flag to enable the volume to be attached to multiple app instances Multiattach bool `json:"multiattach,omitempty"` // User defined name of the volume instance, unique across the enterprise. Once object is created, name can’t be changed. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name string `json:"name,omitempty"` // id of the project in which the volume instance is created ProjectID string `json:"projectId,omitempty"` // Purge Counter information Purge *ZedCloudOpsCmd `json:"purge,omitempty"` // system defined Revision info of the object // Read Only: true Revision *ObjectRevision `json:"revision,omitempty"` // size of volume SizeBytes string `json:"sizeBytes,omitempty"` // Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3. Tags map[string]string `json:"tags,omitempty"` // User defined title of the volume instance. Title can be changed at any time. // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title string `json:"title,omitempty"` // type of Volume Instance Type *VolumeInstanceType `json:"type,omitempty"` }
VolumeInstance vol inst config
swagger:model VolumeInstance
func (*VolumeInstance) ContextValidate ¶
ContextValidate validate this vol inst config based on the context it is used
func (*VolumeInstance) MarshalBinary ¶
func (m *VolumeInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInstance) UnmarshalBinary ¶
func (m *VolumeInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInstanceAccessMode ¶
type VolumeInstanceAccessMode string
VolumeInstanceAccessMode volume instance access mode
swagger:model VolumeInstanceAccessMode
const ( // VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEINVALID captures enum value "VOLUME_INSTANCE_ACCESS_MODE_INVALID" VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEINVALID VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_INVALID" // VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADWRITE captures enum value "VOLUME_INSTANCE_ACCESS_MODE_READWRITE" VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADWRITE VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_READWRITE" // VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADONLY captures enum value "VOLUME_INSTANCE_ACCESS_MODE_READONLY" VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADONLY VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_READONLY" // VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEMULTIREADSINGLEWRITE captures enum value "VOLUME_INSTANCE_ACCESS_MODE_MULTIREAD_SINGLEWRITE" VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEMULTIREADSINGLEWRITE VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_MULTIREAD_SINGLEWRITE" )
func NewVolumeInstanceAccessMode ¶
func NewVolumeInstanceAccessMode(value VolumeInstanceAccessMode) *VolumeInstanceAccessMode
func (VolumeInstanceAccessMode) ContextValidate ¶
func (m VolumeInstanceAccessMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume instance access mode based on context it is used
func (VolumeInstanceAccessMode) Pointer ¶
func (m VolumeInstanceAccessMode) Pointer() *VolumeInstanceAccessMode
Pointer returns a pointer to a freshly-allocated VolumeInstanceAccessMode.
type VolumeInstanceType ¶
type VolumeInstanceType string
VolumeInstanceType volume instance type
swagger:model VolumeInstanceType
const ( // VolumeInstanceTypeVOLUMEINSTANCETYPEUNSPECIFIED captures enum value "VOLUME_INSTANCE_TYPE_UNSPECIFIED" VolumeInstanceTypeVOLUMEINSTANCETYPEUNSPECIFIED VolumeInstanceType = "VOLUME_INSTANCE_TYPE_UNSPECIFIED" // VolumeInstanceTypeVOLUMEINSTANCETYPEEMPTYDIR captures enum value "VOLUME_INSTANCE_TYPE_EMPTYDIR" VolumeInstanceTypeVOLUMEINSTANCETYPEEMPTYDIR VolumeInstanceType = "VOLUME_INSTANCE_TYPE_EMPTYDIR" // VolumeInstanceTypeVOLUMEINSTANCETYPEBLOCKSTORAGE captures enum value "VOLUME_INSTANCE_TYPE_BLOCKSTORAGE" VolumeInstanceTypeVOLUMEINSTANCETYPEBLOCKSTORAGE VolumeInstanceType = "VOLUME_INSTANCE_TYPE_BLOCKSTORAGE" // VolumeInstanceTypeVOLUMEINSTANCETYPEHOSTFS captures enum value "VOLUME_INSTANCE_TYPE_HOSTFS" VolumeInstanceTypeVOLUMEINSTANCETYPEHOSTFS VolumeInstanceType = "VOLUME_INSTANCE_TYPE_HOSTFS" // VolumeInstanceTypeVOLUMEINSTANCETYPETMPFS captures enum value "VOLUME_INSTANCE_TYPE_TMPFS" VolumeInstanceTypeVOLUMEINSTANCETYPETMPFS VolumeInstanceType = "VOLUME_INSTANCE_TYPE_TMPFS" // VolumeInstanceTypeVOLUMEINSTANCETYPESECRET captures enum value "VOLUME_INSTANCE_TYPE_SECRET" VolumeInstanceTypeVOLUMEINSTANCETYPESECRET VolumeInstanceType = "VOLUME_INSTANCE_TYPE_SECRET" // VolumeInstanceTypeVOLUMEINSTANCETYPENFS captures enum value "VOLUME_INSTANCE_TYPE_NFS" VolumeInstanceTypeVOLUMEINSTANCETYPENFS VolumeInstanceType = "VOLUME_INSTANCE_TYPE_NFS" // VolumeInstanceTypeVOLUMEINSTANCETYPEAWSBLOCKSTORAGE captures enum value "VOLUME_INSTANCE_TYPE_AWS_BLOCK_STORAGE" VolumeInstanceTypeVOLUMEINSTANCETYPEAWSBLOCKSTORAGE VolumeInstanceType = "VOLUME_INSTANCE_TYPE_AWS_BLOCK_STORAGE" // VolumeInstanceTypeVOLUMEINSTANCETYPECONTENTTREE captures enum value "VOLUME_INSTANCE_TYPE_CONTENT_TREE" VolumeInstanceTypeVOLUMEINSTANCETYPECONTENTTREE VolumeInstanceType = "VOLUME_INSTANCE_TYPE_CONTENT_TREE" )
func NewVolumeInstanceType ¶
func NewVolumeInstanceType(value VolumeInstanceType) *VolumeInstanceType
func (VolumeInstanceType) ContextValidate ¶
ContextValidate validates this volume instance type based on context it is used
func (VolumeInstanceType) Pointer ¶
func (m VolumeInstanceType) Pointer() *VolumeInstanceType
Pointer returns a pointer to a freshly-allocated VolumeInstanceType.
type Wifi ¶
type Wifi struct { // crypto Crypto *NetWifiConfigNetcryptoblock `json:"crypto,omitempty"` // crypto key CryptoKey string `json:"cryptoKey,omitempty"` // encrypted secrets EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"` // identity Identity string `json:"identity,omitempty"` // key scheme KeyScheme *NetworkWiFiKeyScheme `json:"keyScheme,omitempty"` // priority Priority int32 `json:"priority,omitempty"` // secret Secret *NetWifiConfigSecrets `json:"secret,omitempty"` // wifi s s ID WifiSSID string `json:"wifiSSID,omitempty"` }
Wifi net wifi config
swagger:model Wifi
func (*Wifi) ContextValidate ¶
ContextValidate validate this net wifi config based on the context it is used
func (*Wifi) MarshalBinary ¶
MarshalBinary interface implementation
func (*Wifi) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Wireless ¶
type Wireless struct { // cellular cfg CellularCfg *Cellular `json:"cellularCfg,omitempty"` // type Type *Type `json:"type,omitempty"` // wifi cfg WifiCfg *Wifi `json:"wifiCfg,omitempty"` }
Wireless config
swagger:model Wireless
func (*Wireless) ContextValidate ¶
ContextValidate validate this net wireless config based on the context it is used
func (*Wireless) MarshalBinary ¶
MarshalBinary interface implementation
func (*Wireless) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ZCellularControlProtocol ¶ added in v2.3.0
type ZCellularControlProtocol string
ZCellularControlProtocol z cellular control protocol
swagger:model ZCellularControlProtocol
const ( // ZCellularControlProtocolZCELLULARCONTROLPROTOCOLUNSPECIFIED captures enum value "Z_CELLULAR_CONTROL_PROTOCOL_UNSPECIFIED" ZCellularControlProtocolZCELLULARCONTROLPROTOCOLUNSPECIFIED ZCellularControlProtocol = "Z_CELLULAR_CONTROL_PROTOCOL_UNSPECIFIED" // ZCellularControlProtocolZCELLULARCONTROLPROTOCOLQMI captures enum value "Z_CELLULAR_CONTROL_PROTOCOL_QMI" ZCellularControlProtocolZCELLULARCONTROLPROTOCOLQMI ZCellularControlProtocol = "Z_CELLULAR_CONTROL_PROTOCOL_QMI" // ZCellularControlProtocolZCELLULARCONTROLPROTOCOLMBIM captures enum value "Z_CELLULAR_CONTROL_PROTOCOL_MBIM" ZCellularControlProtocolZCELLULARCONTROLPROTOCOLMBIM ZCellularControlProtocol = "Z_CELLULAR_CONTROL_PROTOCOL_MBIM" )
func NewZCellularControlProtocol ¶ added in v2.3.0
func NewZCellularControlProtocol(value ZCellularControlProtocol) *ZCellularControlProtocol
func (ZCellularControlProtocol) ContextValidate ¶ added in v2.3.0
func (m ZCellularControlProtocol) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this z cellular control protocol based on context it is used
func (ZCellularControlProtocol) Pointer ¶ added in v2.3.0
func (m ZCellularControlProtocol) Pointer() *ZCellularControlProtocol
Pointer returns a pointer to a freshly-allocated ZCellularControlProtocol.
type ZCellularOperatingState ¶ added in v2.3.0
type ZCellularOperatingState string
ZCellularOperatingState z cellular operating state
swagger:model ZCellularOperatingState
const ( // ZCellularOperatingStateZCELLULAROPERATINGSTATEUNSPECIFIED captures enum value "Z_CELLULAR_OPERATING_STATE_UNSPECIFIED" ZCellularOperatingStateZCELLULAROPERATINGSTATEUNSPECIFIED ZCellularOperatingState = "Z_CELLULAR_OPERATING_STATE_UNSPECIFIED" // ZCellularOperatingStateZCELLULAROPERATINGSTATEOFFLINE captures enum value "Z_CELLULAR_OPERATING_STATE_OFFLINE" ZCellularOperatingStateZCELLULAROPERATINGSTATEOFFLINE ZCellularOperatingState = "Z_CELLULAR_OPERATING_STATE_OFFLINE" // ZCellularOperatingStateZCELLULAROPERATINGSTATERADIOOFF captures enum value "Z_CELLULAR_OPERATING_STATE_RADIO_OFF" ZCellularOperatingStateZCELLULAROPERATINGSTATERADIOOFF ZCellularOperatingState = "Z_CELLULAR_OPERATING_STATE_RADIO_OFF" // ZCellularOperatingStateZCELLULAROPERATINGSTATEONLINE captures enum value "Z_CELLULAR_OPERATING_STATE_ONLINE" ZCellularOperatingStateZCELLULAROPERATINGSTATEONLINE ZCellularOperatingState = "Z_CELLULAR_OPERATING_STATE_ONLINE" // ZCellularOperatingStateZCELLULAROPERATINGSTATEONLINEANDCONNECTED captures enum value "Z_CELLULAR_OPERATING_STATE_ONLINE_AND_CONNECTED" ZCellularOperatingStateZCELLULAROPERATINGSTATEONLINEANDCONNECTED ZCellularOperatingState = "Z_CELLULAR_OPERATING_STATE_ONLINE_AND_CONNECTED" // ZCellularOperatingStateZCELLULAROPERATINGSTATEUNRECOGNIZED captures enum value "Z_CELLULAR_OPERATING_STATE_UNRECOGNIZED" ZCellularOperatingStateZCELLULAROPERATINGSTATEUNRECOGNIZED ZCellularOperatingState = "Z_CELLULAR_OPERATING_STATE_UNRECOGNIZED" )
func NewZCellularOperatingState ¶ added in v2.3.0
func NewZCellularOperatingState(value ZCellularOperatingState) *ZCellularOperatingState
func (ZCellularOperatingState) ContextValidate ¶ added in v2.3.0
func (m ZCellularOperatingState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this z cellular operating state based on context it is used
func (ZCellularOperatingState) Pointer ¶ added in v2.3.0
func (m ZCellularOperatingState) Pointer() *ZCellularOperatingState
Pointer returns a pointer to a freshly-allocated ZCellularOperatingState.
type ZManufacturerInfo ¶
type ZManufacturerInfo struct { // bios release date BiosReleaseDate string `json:"biosReleaseDate,omitempty"` // bios vendor BiosVendor string `json:"biosVendor,omitempty"` // bios version BiosVersion string `json:"biosVersion,omitempty"` // compatible Compatible string `json:"compatible,omitempty"` // endorsement key EndorsementKey string `json:"endorsementKey,omitempty"` // h s m info HSMInfo string `json:"hSMInfo,omitempty"` // h s m status HSMStatus *DeviceHWSecurityModuleStatus `json:"hSMStatus,omitempty"` // manufacturer Manufacturer string `json:"manufacturer,omitempty"` // product name ProductName string `json:"productName,omitempty"` // serial number SerialNumber string `json:"serialNumber,omitempty"` // uuid UUID string `json:"uuid,omitempty"` // version Version string `json:"version,omitempty"` }
ZManufacturerInfo z manufacturer info
swagger:model ZManufacturerInfo
func (*ZManufacturerInfo) ContextValidate ¶
ContextValidate validate this z manufacturer info based on the context it is used
func (*ZManufacturerInfo) MarshalBinary ¶
func (m *ZManufacturerInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZManufacturerInfo) UnmarshalBinary ¶
func (m *ZManufacturerInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZcOpsStatus ¶
type ZcOpsStatus string
ZcOpsStatus ZedCloud internal operation status
- OPS_STATUS_PENDING: In rare cases, system may not start operation when it was requested. Client will be notified that operation is PENDING
- OPS_STATUS_ONGOING: system will start the operation, but at the time response was generated, operation is still ONGOING.
- OPS_STATUS_COMPLETE: Even if the result of the operations may result in failure, but the OpsStatus will marked COMPLETE for almost all cases.
swagger:model ZcOpsStatus
const ( // ZcOpsStatusOPSSTATUSUNSPECIFIED captures enum value "OPS_STATUS_UNSPECIFIED" ZcOpsStatusOPSSTATUSUNSPECIFIED ZcOpsStatus = "OPS_STATUS_UNSPECIFIED" // ZcOpsStatusOPSSTATUSPENDING captures enum value "OPS_STATUS_PENDING" ZcOpsStatusOPSSTATUSPENDING ZcOpsStatus = "OPS_STATUS_PENDING" // ZcOpsStatusOPSSTATUSONGOING captures enum value "OPS_STATUS_ONGOING" ZcOpsStatusOPSSTATUSONGOING ZcOpsStatus = "OPS_STATUS_ONGOING" // ZcOpsStatusOPSSTATUSCOMPLETE captures enum value "OPS_STATUS_COMPLETE" ZcOpsStatusOPSSTATUSCOMPLETE ZcOpsStatus = "OPS_STATUS_COMPLETE" )
func NewZcOpsStatus ¶
func NewZcOpsStatus(value ZcOpsStatus) *ZcOpsStatus
func (ZcOpsStatus) ContextValidate ¶
ContextValidate validates this zc ops status based on context it is used
func (ZcOpsStatus) Pointer ¶
func (m ZcOpsStatus) Pointer() *ZcOpsStatus
Pointer returns a pointer to a freshly-allocated ZcOpsStatus.
type ZcOpsType ¶
type ZcOpsType string
ZcOpsType ZedCloud internal operation type
swagger:model ZcOpsType
const ( // ZcOpsTypeOPSTYPEUNSPECIFIED captures enum value "OPS_TYPE_UNSPECIFIED" ZcOpsTypeOPSTYPEUNSPECIFIED ZcOpsType = "OPS_TYPE_UNSPECIFIED" // ZcOpsTypeOPSTYPEREAD captures enum value "OPS_TYPE_READ" ZcOpsTypeOPSTYPEREAD ZcOpsType = "OPS_TYPE_READ" // ZcOpsTypeOPSTYPEDELETE captures enum value "OPS_TYPE_DELETE" ZcOpsTypeOPSTYPEDELETE ZcOpsType = "OPS_TYPE_DELETE" // ZcOpsTypeOPSTYPECREATE captures enum value "OPS_TYPE_CREATE" ZcOpsTypeOPSTYPECREATE ZcOpsType = "OPS_TYPE_CREATE" // ZcOpsTypeOPSTYPEUPDATE captures enum value "OPS_TYPE_UPDATE" ZcOpsTypeOPSTYPEUPDATE ZcOpsType = "OPS_TYPE_UPDATE" // ZcOpsTypeOPSTYPELIST captures enum value "OPS_TYPE_LIST" ZcOpsTypeOPSTYPELIST ZcOpsType = "OPS_TYPE_LIST" )
func NewZcOpsType ¶
func (ZcOpsType) ContextValidate ¶
ContextValidate validates this zc ops type based on context it is used
type ZedCloudOpsCmd ¶
type ZedCloudOpsCmd struct { // counter Counter int64 `json:"counter,omitempty"` // Timestamp: Operational time OpsTime interface{} `json:"opsTime,omitempty"` }
ZedCloudOpsCmd Zed cloud Operation command
Zed cloud Operation command ¶
swagger:model ZedCloudOpsCmd
func (*ZedCloudOpsCmd) ContextValidate ¶
ContextValidate validates this zed cloud ops cmd based on context it is used
func (*ZedCloudOpsCmd) MarshalBinary ¶
func (m *ZedCloudOpsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZedCloudOpsCmd) UnmarshalBinary ¶
func (m *ZedCloudOpsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZedcloudCounters ¶
type ZedcloudCounters struct { // Failures Failures uint64 `json:"failures,omitempty"` // ifName IfName string `json:"ifName,omitempty"` // Timestamp of last failure LastFailure interface{} `json:"lastFailure,omitempty"` // Timestamp of last success LastSuccess interface{} `json:"lastSuccess,omitempty"` // Success Success uint64 `json:"success,omitempty"` }
ZedcloudCounters ZedcloudCounters is used to store the Zedcloud Stats and Counters
ZedcloudCounters is used to store the Zedcloud Stats and Counters ¶
swagger:model ZedcloudCounters
func (*ZedcloudCounters) ContextValidate ¶
ContextValidate validates this zedcloud counters based on context it is used
func (*ZedcloudCounters) MarshalBinary ¶
func (m *ZedcloudCounters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZedcloudCounters) UnmarshalBinary ¶
func (m *ZedcloudCounters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ZsrvError ¶
type ZsrvError struct { // Field captures string description of details Details string `json:"details,omitempty"` // Enumrated error code, describes more granular numerical // value than just httpStatus ErrorCode *ZsrvErrorCode `json:"ec,omitempty"` // Ignore: Internal field only Location string `json:"location,omitempty"` }
ZsrvError zsrv error
swagger:model ZsrvError
func (*ZsrvError) ContextValidate ¶
ContextValidate validate this zsrv error based on the context it is used
func (*ZsrvError) MarshalBinary ¶
MarshalBinary interface implementation
func (*ZsrvError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ZsrvErrorCode ¶
type ZsrvErrorCode string
ZsrvErrorCode ZedCould internal error code
- zMsgErrorNone: common validation errors
- IncompleteData: message had fields that weren't filled in
- InvalidData: message contained the field that wasn't expected
- FunctionUnsupported: this feature unavailable on this version of device
- InvalidFieldFormat: message contained the field that wasn't correctly formatted
- JsonFmtError: Marshal / Unmarshal errors
- DataBaseConnection: generic DB error
swagger:model ZsrvErrorCode
const ( // ZsrvErrorCodeZMsgErrorNone captures enum value "zMsgErrorNone" ZsrvErrorCodeZMsgErrorNone ZsrvErrorCode = "zMsgErrorNone" // ErrorCodeSuccess captures enum value "zMsgSucess" ErrorCodeSuccess ZsrvErrorCode = "zMsgSucess" // ZsrvErrorCodeNotFound captures enum value "NotFound" ZsrvErrorCodeNotFound ZsrvErrorCode = "NotFound" // ZsrvErrorCodeAlreadyExists captures enum value "AlreadyExists" ZsrvErrorCodeAlreadyExists ZsrvErrorCode = "AlreadyExists" // ZsrvErrorCodeVersionMismatch captures enum value "VersionMismatch" ZsrvErrorCodeVersionMismatch ZsrvErrorCode = "VersionMismatch" // ZsrvErrorCodeRangeError captures enum value "RangeError" ZsrvErrorCodeRangeError ZsrvErrorCode = "RangeError" // ZsrvErrorCodeLargeResult captures enum value "LargeResult" ZsrvErrorCodeLargeResult ZsrvErrorCode = "LargeResult" // ZsrvErrorCodeIncompleteData captures enum value "IncompleteData" ZsrvErrorCodeIncompleteData ZsrvErrorCode = "IncompleteData" // ZsrvErrorCodeInvalidData captures enum value "InvalidData" ZsrvErrorCodeInvalidData ZsrvErrorCode = "InvalidData" // ZsrvErrorCodeFunctionUnsupported captures enum value "FunctionUnsupported" ZsrvErrorCodeFunctionUnsupported ZsrvErrorCode = "FunctionUnsupported" // ZsrvErrorCodeNoMemory captures enum value "NoMemory" ZsrvErrorCodeNoMemory ZsrvErrorCode = "NoMemory" // ZsrvErrorCodeSendFailure captures enum value "SendFailure" ZsrvErrorCodeSendFailure ZsrvErrorCode = "SendFailure" // ZsrvErrorCodeTimeout captures enum value "Timeout" ZsrvErrorCodeTimeout ZsrvErrorCode = "Timeout" // ZsrvErrorCodeBadReqBody captures enum value "BadReqBody" ZsrvErrorCodeBadReqBody ZsrvErrorCode = "BadReqBody" // ZsrvErrorCodeBadReqParam captures enum value "BadReqParam" ZsrvErrorCodeBadReqParam ZsrvErrorCode = "BadReqParam" // ZsrvErrorCodeInvalidFieldFormat captures enum value "InvalidFieldFormat" ZsrvErrorCodeInvalidFieldFormat ZsrvErrorCode = "InvalidFieldFormat" // ZsrvErrorCodeURLNotFound captures enum value "UrlNotFound" ZsrvErrorCodeURLNotFound ZsrvErrorCode = "UrlNotFound" // ZsrvErrorCodeAPIVersionNotSupported captures enum value "ApiVersionNotSupported" ZsrvErrorCodeAPIVersionNotSupported ZsrvErrorCode = "ApiVersionNotSupported" ZsrvErrorCodeUnauthorized ZsrvErrorCode = "Unauthorized" // ZsrvErrorCodeForbidden captures enum value "Forbidden" ZsrvErrorCodeForbidden ZsrvErrorCode = "Forbidden" // ZsrvErrorCodeConflict captures enum value "Conflict" ZsrvErrorCodeConflict ZsrvErrorCode = "Conflict" // ZsrvErrorCodeNotModified captures enum value "NotModified" ZsrvErrorCodeNotModified ZsrvErrorCode = "NotModified" // ZsrvErrorCodeDependencyConflict captures enum value "DependencyConflict" ZsrvErrorCodeDependencyConflict ZsrvErrorCode = "DependencyConflict" // ZsrvErrorCodeJSONFmtError captures enum value "JsonFmtError" ZsrvErrorCodeJSONFmtError ZsrvErrorCode = "JsonFmtError" // ZsrvErrorCodeProtoFmtError captures enum value "ProtoFmtError" ZsrvErrorCodeProtoFmtError ZsrvErrorCode = "ProtoFmtError" // ZsrvErrorCodeCertError captures enum value "CertError" ZsrvErrorCodeCertError ZsrvErrorCode = "CertError" // ZsrvErrorCodeDataBaseConnection captures enum value "DataBaseConnection" ZsrvErrorCodeDataBaseConnection ZsrvErrorCode = "DataBaseConnection" // ZsrvErrorCodeDBError captures enum value "DBError" ZsrvErrorCodeDBError ZsrvErrorCode = "DBError" // ErrorCodeAccepted captures enum value "zMsgAccepted" ErrorCodeAccepted ZsrvErrorCode = "zMsgAccepted" // ZsrvErrorCodeZMsgCreated captures enum value "zMsgCreated" ZsrvErrorCodeZMsgCreated ZsrvErrorCode = "zMsgCreated" // ZsrvErrorCodePreConditionFailed captures enum value "PreConditionFailed" ZsrvErrorCodePreConditionFailed ZsrvErrorCode = "PreConditionFailed" )
func NewZsrvErrorCode ¶
func NewZsrvErrorCode(value ZsrvErrorCode) *ZsrvErrorCode
func (ZsrvErrorCode) ContextValidate ¶
ContextValidate validates this zsrv error code based on context it is used
func (ZsrvErrorCode) Pointer ¶
func (m ZsrvErrorCode) Pointer() *ZsrvErrorCode
Pointer returns a pointer to a freshly-allocated ZsrvErrorCode.
type ZsrvResponse ¶
type ZsrvResponse struct { // end time EndTime string `json:"endTime,omitempty"` // one or more errors will be set if the operation failed // i.e. httpStatusCode != 2xx Error []*ZsrvError `json:"error"` // http response HTTPStatusCode int32 `json:"httpStatusCode,omitempty"` // summary of the error in text format HTTPStatusMsg string `json:"httpStatusMsg,omitempty"` // for tracking asynchronous tasks JobID string `json:"jobId,omitempty"` // Unique value identifies the object that was operated on ObjectID string `json:"objectId,omitempty"` // zedcloud object kind on which the operation was performed ObjectKind string `json:"objectKind,omitempty"` // name of the object ObjectName string `json:"objectName,omitempty"` // object revision post the operation, note Read operation // doesn't change the revision ObjectRevision string `json:"objectRevision,omitempty"` // object type ObjectType *ObjectType `json:"objectType,omitempty"` // if this is log running job OperationStatus *ZcOpsStatus `json:"operationStatus,omitempty"` // time of operation OperationTime string `json:"operationTime,omitempty"` // Describes one of the operations type : possible values // Read/Delete/Create/Update/List OperationType *ZcOpsType `json:"operationType,omitempty"` // total time taken by operations StartTime string `json:"startTime,omitempty"` // the operation is performed on behalf of this user User string `json:"user,omitempty"` }
ZsrvResponse zsrv response
swagger:model ZsrvResponse
func (*ZsrvResponse) ContextValidate ¶
ContextValidate validate this zsrv response based on the context it is used
func (*ZsrvResponse) MarshalBinary ¶
func (m *ZsrvResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ZsrvResponse) UnmarshalBinary ¶
func (m *ZsrvResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- a_a_a_frontend_login_response.go
- a_a_a_frontend_login_response_cause.go
- a_a_a_frontend_login_with_oauth_request.go
- a_a_a_frontend_login_with_password_request.go
- a_a_a_frontend_logout_request.go
- a_a_a_frontend_logout_response.go
- a_a_a_frontend_logout_response_cause.go
- a_a_a_frontend_o_a_u_t_h_callback_request.go
- acl.go
- acl_action.go
- action_scope.go
- adapter_usage.go
- admin_state.go
- allocation_policy.go
- allowed_enterprise.go
- app.go
- app_a_c_e.go
- app_a_c_e_action.go
- app_a_c_e_match.go
- app_access_policy.go
- app_category.go
- app_config.go
- app_filter.go
- app_inst_config.go
- app_inst_config_status.go
- app_inst_config_status_list.go
- app_inst_filter.go
- app_inst_memory_summary.go
- app_inst_policy.go
- app_inst_status_filter.go
- app_inst_status_list_msg.go
- app_inst_status_msg.go
- app_inst_status_summary_msg.go
- app_instance.go
- app_instance_logs.go
- app_instance_logs_query_response.go
- app_instance_logs_query_response_item.go
- app_instance_logs_response.go
- app_instances.go
- app_interface.go
- app_map_params.go
- app_naming_scheme.go
- app_naming_scheme_v2.go
- app_policy.go
- app_project_list.go
- app_status_from_t_p_controller.go
- app_summary.go
- app_type.go
- apps.go
- attest_policy_type.go
- attest_state.go
- attestation_policy.go
- auth_profile_type.go
- auth_type.go
- author.go
- authorization_profile.go
- azure_dev_status_detail.go
- azure_policy.go
- azure_resource_and_service_detail.go
- azure_resource_and_services.go
- azure_status.go
- base_o_s_image.go
- binary_artifact.go
- blob_info.go
- blob_status.go
- capabilities.go
- cellular_status.go
- certificate.go
- certificate_chain.go
- certificate_enrollment_detail.go
- classification_item.go
- classification_response.go
- cluster_config.go
- cluster_inst_policy.go
- cluster_policy.go
- cluster_type.go
- cmd_arg.go
- config_format.go
- configuration_lock.go
- configuration_lock_policy.go
- container_detail.go
- controller_type.go
- cpu_summary.go
- credential.go
- credential_type.go
- credentials.go
- cursor.go
- custom_config.go
- custom_config_variable_group.go
- d_p_s_service_detail.go
- data_stream.go
- datastore.go
- datastore_info_secrets.go
- datastore_project_list.go
- datastore_status.go
- datastore_type.go
- datastores.go
- debug_knob_detail.go
- deployment.go
- deployment_type.go
- detailed_user.go
- details.go
- dev_access_policy.go
- dev_data_sec_at_rest.go
- dev_zed_server.go
- device_attest_policy_type.go
- device_attestation_policy.go
- device_boot_reason.go
- device_certs.go
- device_cmds_sub_type.go
- device_config.go
- device_config_list.go
- device_config_summary.go
- device_data_security_at_rest_status.go
- device_entity.go
- device_error.go
- device_filter.go
- device_h_w_security_module_status.go
- device_info.go
- device_info_msg.go
- device_lisp.go
- device_load.go
- device_location.go
- device_locations.go
- device_memory_summary.go
- device_object_usage_info.go
- device_policy.go
- device_policy_type.go
- device_raw_metrics.go
- device_s_w_info.go
- device_s_w_status.go
- device_s_w_sub_status.go
- device_status_config.go
- device_status_config_list.go
- device_status_filter.go
- device_status_list_msg.go
- device_status_msg.go
- device_status_summary_msg.go
- dhcp_ip_range.go
- dhcp_server_config.go
- disk_description.go
- dns_info.go
- drive.go
- e_c_d_s_a.go
- e_d_config_item.go
- e_id_register.go
- edgeview_cfg.go
- edgeview_policy.go
- enrollment_detail.go
- enrollment_mechanism.go
- enrollment_type.go
- enterprise.go
- enterprise_state.go
- enterprise_summary.go
- enterprise_type.go
- entity.go
- event_query_response.go
- event_query_response_item.go
- event_source.go
- ext_access_policy.go
- external_opaque_binary_blob.go
- flowlog_action.go
- flowlog_category_type.go
- flowlog_direction.go
- flowlog_metric.go
- g_p_s_location.go
- geo_location.go
- googlerpc_status.go
- group_certificate_enrollment.go
- group_symmetric_key_enrollment.go
- hv_mode.go
- id_state.go
- image_config.go
- image_filter.go
- image_project_list.go
- image_status.go
- image_type.go
- image_version_filter.go
- images.go
- individual_certificate_enrollment.go
- individual_symmetric_key_enrollment.go
- inline_opaque_base64_data.go
- instance_transition_action.go
- integration_policy.go
- interface.go
- interface_ordering.go
- io_addresses.go
- io_bundle_status.go
- io_member.go
- io_member_status.go
- io_type.go
- iot_hub_service_detail.go
- ip_assignment.go
- ip_spec.go
- j_w_t_auth_profile_algorithm.go
- j_w_t_info.go
- l_t_e_adapter.go
- limit_params.go
- lisp_config.go
- lisp_server.go
- local_operator_console_policy.go
- manifest_info.go
- map_params.go
- match.go
- memory_summary.go
- metric_query_response.go
- metric_query_response_item.go
- metric_threshold.go
- metric_type.go
- metrics_detail.go
- model_arch_type.go
- modem_detail.go
- module_detail.go
- module_policy.go
- module_summary.go
- module_type.go
- net_cellular_config.go
- net_config.go
- net_config_list.go
- net_inst_config.go
- net_inst_config_status.go
- net_inst_config_status_list.go
- net_inst_filter.go
- net_inst_list.go
- net_inst_opaque_config.go
- net_inst_short_config.go
- net_inst_status_filter.go
- net_inst_status_list_msg.go
- net_inst_status_msg.go
- net_inst_status_summary_msg.go
- net_proxy_server.go
- net_proxy_status.go
- net_wifi_config.go
- net_wifi_config_netcryptoblock.go
- net_wifi_config_secrets.go
- network_counters.go
- network_d_h_c_p_type.go
- network_filter.go
- network_inst_config.go
- network_inst_policy.go
- network_instance_dhcp_type.go
- network_instance_flow_log_transmission.go
- network_instance_kind.go
- network_kind.go
- network_policy.go
- network_provider.go
- network_proxy.go
- network_proxy_proto.go
- network_status.go
- network_wi_fi_key_scheme.go
- network_wireless_type.go
- o_a_u_t_h_profile.go
- o_a_u_t_h_profile_j_w_t_auth_profile.go
- object_detail.go
- object_parent_detail.go
- object_revision.go
- object_tag.go
- object_tag_filter.go
- object_tags_list.go
- object_type.go
- opaque_app_instance_status.go
- opaque_config_type.go
- opaque_object_category.go
- opaque_token64.go
- origin.go
- p_c_r_template.go
- p_c_r_type.go
- p_c_r_value.go
- param.go
- password_profile.go
- patch_envelope.go
- patch_envelope_action.go
- patch_envelope_list.go
- patch_envelope_state.go
- patch_envelope_status.go
- patch_envelope_usage_info.go
- patch_reference_update_config.go
- patch_status_filter.go
- patch_status_list_msg.go
- permission.go
- phy_adapter.go
- physical_storage.go
- physical_storage_disk_state.go
- physical_storage_raid_type.go
- physical_storage_status.go
- physical_storage_type_info.go
- policy_common.go
- policy_config.go
- policy_status.go
- policy_type.go
- policy_version.go
- policy_version_list.go
- protobuf_any.go
- protobuf_null_value.go
- r_s_a.go
- radio_access_technology.go
- realm.go
- resource.go
- resource_group_detail.go
- role.go
- role_state.go
- run_state.go
- s_a_n_values.go
- s_i_m_card.go
- s_k_u_detail.go
- s_w_info.go
- s_w_state.go
- scope.go
- service_point.go
- severity.go
- simcard_state.go
- simple_user.go
- sp_type.go
- static_dns_list.go
- static_ip_route.go
- storage_device_metrics.go
- storage_status.go
- storage_summary.go
- subject.go
- summary.go
- symmetric_key_enrollment_detail.go
- sys_brand.go
- sys_brand_filter.go
- sys_brands.go
- sys_interface.go
- sys_model.go
- sys_model_filter.go
- sys_model_state.go
- sys_models.go
- t_o_t_p_settings.go
- t_p_m_enrollment_detail.go
- tag.go
- tag_config_status.go
- tag_filter.go
- tag_level_settings.go
- tag_status.go
- tag_status_filter.go
- tag_status_list_msg.go
- tag_status_msg.go
- tag_type.go
- tags.go
- tags_config_status.go
- token64.go
- top_talkers_response.go
- top_talkers_response_item.go
- trans_cause.go
- trans_details.go
- twin_detail.go
- user_data_template.go
- user_role.go
- user_state.go
- v_c_e_status.go
- v_c_e_status_detail.go
- variable_file_encoding.go
- variable_group_condition.go
- variable_group_condition_operator.go
- variable_group_variable.go
- variable_option_val.go
- variable_variable_format.go
- vfs.go
- vif_info.go
- vm.go
- vm_manifest.go
- vm_manifest_image.go
- vm_manifest_summary.go
- vol_inst_config.go
- vol_inst_filter.go
- vol_inst_list.go
- vol_inst_resource.go
- vol_inst_short_config.go
- vol_inst_status_filter.go
- vol_inst_status_list_msg.go
- vol_inst_status_msg.go
- vol_inst_status_summary_msg.go
- volume_inst_config.go
- volume_inst_policy.go
- volume_instance_access_mode.go
- volume_instance_type.go
- wireless.go
- z_cellular_control_protocol.go
- z_cellular_operating_state.go
- z_manufacturer_info.go
- zc_ops_status.go
- zc_ops_type.go
- zed_cloud_ops_cmd.go
- zedcloud_counters.go
- zsrv_error.go
- zsrv_error_code.go
- zsrv_response.go