Documentation
¶
Index ¶
- type AAAFailureResponse
- type AAAFailureResponseCredentialChange
- func (m *AAAFailureResponseCredentialChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureResponseCredentialChange) MarshalBinary() ([]byte, error)
- func (m *AAAFailureResponseCredentialChange) UnmarshalBinary(b []byte) error
- func (m *AAAFailureResponseCredentialChange) Validate(formats strfmt.Registry) error
- type AAAFailureResponseCredentialChangeCause
- type AAAFailureResponseGenerateToken
- func (m *AAAFailureResponseGenerateToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureResponseGenerateToken) MarshalBinary() ([]byte, error)
- func (m *AAAFailureResponseGenerateToken) UnmarshalBinary(b []byte) error
- func (m *AAAFailureResponseGenerateToken) Validate(formats strfmt.Registry) error
- type AAAFailureResponseGenerateTokenCause
- type AAAFailureResponseLogin
- func (m *AAAFailureResponseLogin) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureResponseLogin) MarshalBinary() ([]byte, error)
- func (m *AAAFailureResponseLogin) UnmarshalBinary(b []byte) error
- func (m *AAAFailureResponseLogin) Validate(formats strfmt.Registry) error
- type AAAFailureResponseLoginCause
- type AAAFailureResponseLogout
- func (m *AAAFailureResponseLogout) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureResponseLogout) MarshalBinary() ([]byte, error)
- func (m *AAAFailureResponseLogout) UnmarshalBinary(b []byte) error
- func (m *AAAFailureResponseLogout) Validate(formats strfmt.Registry) error
- type AAAFailureResponseLogoutCause
- type AAAFailureResponseQueryAllSessionDetails
- func (m *AAAFailureResponseQueryAllSessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureResponseQueryAllSessionDetails) MarshalBinary() ([]byte, error)
- func (m *AAAFailureResponseQueryAllSessionDetails) UnmarshalBinary(b []byte) error
- func (m *AAAFailureResponseQueryAllSessionDetails) Validate(formats strfmt.Registry) error
- type AAAFailureResponseQueryAllSessionDetailsCause
- type AAAFailureResponseSessionDetails
- func (m *AAAFailureResponseSessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureResponseSessionDetails) MarshalBinary() ([]byte, error)
- func (m *AAAFailureResponseSessionDetails) UnmarshalBinary(b []byte) error
- func (m *AAAFailureResponseSessionDetails) Validate(formats strfmt.Registry) error
- type AAAFailureResponseSessionDetailsCause
- type AAAFailureResponseType
- type AAAFailureTokenRefresh
- func (m *AAAFailureTokenRefresh) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFailureTokenRefresh) MarshalBinary() ([]byte, error)
- func (m *AAAFailureTokenRefresh) UnmarshalBinary(b []byte) error
- func (m *AAAFailureTokenRefresh) Validate(formats strfmt.Registry) error
- type AAAFailureTokenRefreshCause
- type AAAFrontendGenerateTokenResponse
- func (m *AAAFrontendGenerateTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendGenerateTokenResponse) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendGenerateTokenResponse) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendGenerateTokenResponse) Validate(formats strfmt.Registry) error
- type AAAFrontendGenerateTokenResponseCause
- type AAAFrontendLoginModeRequest
- func (m *AAAFrontendLoginModeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendLoginModeRequest) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendLoginModeRequest) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendLoginModeRequest) Validate(formats strfmt.Registry) error
- type AAAFrontendLoginModeResponse
- func (m *AAAFrontendLoginModeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendLoginModeResponse) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendLoginModeResponse) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendLoginModeResponse) Validate(formats strfmt.Registry) error
- type AAAFrontendLoginModeResponseMode
- 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 AAAFrontendRefreshResponse
- func (m *AAAFrontendRefreshResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendRefreshResponse) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendRefreshResponse) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendRefreshResponse) Validate(formats strfmt.Registry) error
- type AAAFrontendRefreshResponseCause
- type AAAFrontendSessionDetailsResponse
- func (m *AAAFrontendSessionDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAAFrontendSessionDetailsResponse) MarshalBinary() ([]byte, error)
- func (m *AAAFrontendSessionDetailsResponse) UnmarshalBinary(b []byte) error
- func (m *AAAFrontendSessionDetailsResponse) Validate(formats strfmt.Registry) error
- type AAAFrontendSessionDetailsResponseCause
- type AAALoginModeResponse
- type AAALoginModeResponseMode
- type AAANotifyResponse
- type AAANotifyResponseType
- type AAARedirectResponse
- type AAARequestAdminUserSignup
- func (m *AAARequestAdminUserSignup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAARequestAdminUserSignup) MarshalBinary() ([]byte, error)
- func (m *AAARequestAdminUserSignup) UnmarshalBinary(b []byte) error
- func (m *AAARequestAdminUserSignup) Validate(formats strfmt.Registry) error
- type AAARequestEnterpriseSignup
- func (m *AAARequestEnterpriseSignup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAARequestEnterpriseSignup) MarshalBinary() ([]byte, error)
- func (m *AAARequestEnterpriseSignup) UnmarshalBinary(b []byte) error
- func (m *AAARequestEnterpriseSignup) Validate(formats strfmt.Registry) error
- type AAARequestLoginForgotPassword
- func (m *AAARequestLoginForgotPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAARequestLoginForgotPassword) MarshalBinary() ([]byte, error)
- func (m *AAARequestLoginForgotPassword) UnmarshalBinary(b []byte) error
- func (m *AAARequestLoginForgotPassword) Validate(formats strfmt.Registry) error
- type AAAResponse
- type AAAResponseType
- type AAASuccessResponse
- type AAASuccessResponseCredentialChange
- func (m *AAASuccessResponseCredentialChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessResponseCredentialChange) MarshalBinary() ([]byte, error)
- func (m *AAASuccessResponseCredentialChange) UnmarshalBinary(b []byte) error
- func (m *AAASuccessResponseCredentialChange) Validate(formats strfmt.Registry) error
- type AAASuccessResponseGenerateToken
- func (m *AAASuccessResponseGenerateToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessResponseGenerateToken) MarshalBinary() ([]byte, error)
- func (m *AAASuccessResponseGenerateToken) UnmarshalBinary(b []byte) error
- func (m *AAASuccessResponseGenerateToken) Validate(formats strfmt.Registry) error
- type AAASuccessResponseLogin
- func (m *AAASuccessResponseLogin) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessResponseLogin) MarshalBinary() ([]byte, error)
- func (m *AAASuccessResponseLogin) UnmarshalBinary(b []byte) error
- func (m *AAASuccessResponseLogin) Validate(formats strfmt.Registry) error
- type AAASuccessResponseLogout
- func (m *AAASuccessResponseLogout) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessResponseLogout) MarshalBinary() ([]byte, error)
- func (m *AAASuccessResponseLogout) UnmarshalBinary(b []byte) error
- func (m *AAASuccessResponseLogout) Validate(formats strfmt.Registry) error
- type AAASuccessResponseQueryAllSessionDetails
- func (m *AAASuccessResponseQueryAllSessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessResponseQueryAllSessionDetails) MarshalBinary() ([]byte, error)
- func (m *AAASuccessResponseQueryAllSessionDetails) UnmarshalBinary(b []byte) error
- func (m *AAASuccessResponseQueryAllSessionDetails) Validate(formats strfmt.Registry) error
- type AAASuccessResponseQueryAllSessionDetailsCause
- type AAASuccessResponseType
- type AAASuccessSessionDetailsResponse
- func (m *AAASuccessSessionDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessSessionDetailsResponse) MarshalBinary() ([]byte, error)
- func (m *AAASuccessSessionDetailsResponse) UnmarshalBinary(b []byte) error
- func (m *AAASuccessSessionDetailsResponse) Validate(formats strfmt.Registry) error
- type AAASuccessTokenRefresh
- func (m *AAASuccessTokenRefresh) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AAASuccessTokenRefresh) MarshalBinary() ([]byte, error)
- func (m *AAASuccessTokenRefresh) UnmarshalBinary(b []byte) error
- func (m *AAASuccessTokenRefresh) Validate(formats strfmt.Registry) error
- type ACL
- type ACLAction
- type ActionScope
- type AdapterUsage
- type AdminState
- type AdminUserSignup
- type AllocationPolicy
- type AllowedEnterprise
- type App
- type AppACE
- type AppACEAction
- type AppACEMatch
- type AppCategory
- type AppConfig
- type AppFilter
- type AppInstFilter
- type AppInstMemorySummary
- 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 AppInstanceDeploy
- 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 AppInstanceRefreshAndPurge
- func (m *AppInstanceRefreshAndPurge) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstanceRefreshAndPurge) MarshalBinary() ([]byte, error)
- func (m *AppInstanceRefreshAndPurge) UnmarshalBinary(b []byte) error
- func (m *AppInstanceRefreshAndPurge) Validate(formats strfmt.Registry) error
- type AppInstances
- type AppInterface
- type AppMapParams
- type AppNamingScheme
- type AppPolicy
- 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 Apps
- type Artifact
- type ArtifactFilter
- type ArtifactList
- type ArtifactStream
- type AttestPolicyType
- type AttestState
- type AttestationPolicy
- type AuthProfileType
- type AuthType
- type Author
- type AuthorizationProfile
- type AuthorizationProfiles
- 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 BaseosUpdate
- type BlobInfo
- type BlobStatus
- type BriefHealth
- type BulkConfig
- type BulkInstanceConfig
- type BulkService
- type BundleDetail
- type BundleImport
- type CPUSummary
- type Capabilities
- type Certificate
- type CertificateChain
- type CertificateEnrollmentDetail
- 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 CloudVersion
- type CloudVersionResp
- type ClusterConfig
- type ClusterPolicy
- type ClusterType
- type CmdArg
- type CommonHashAlgorithm
- type CommonPhyIoMemberUsage
- type CommonPhyIoType
- type ConfigACE
- type ConfigACEAction
- type ConfigACEDirection
- type ConfigACEMatch
- type ConfigAdapter
- type ConfigAddressType
- type ConfigAppInstanceConfig
- func (m *ConfigAppInstanceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigAppInstanceConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigAppInstanceConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigAppInstanceConfig) Validate(formats strfmt.Registry) error
- type ConfigBaseOS
- type ConfigBaseOSConfig
- type ConfigCellularConfig
- type ConfigCipherBlock
- type ConfigCipherContext
- type ConfigConfigItem
- type ConfigContentTree
- type ConfigDHCPType
- type ConfigDatastoreConfig
- type ConfigDeviceOpsCmd
- type ConfigDrive
- type ConfigDriveType
- type ConfigDsType
- type ConfigEdgeDevConfig
- type ConfigEncryptionScheme
- type ConfigFormat
- type ConfigInstanceOpsCmd
- type ConfigKeyExchangeScheme
- type ConfigMetaDataType
- type ConfigNetworkAdapter
- type ConfigNetworkConfig
- type ConfigNetworkInstanceConfig
- func (m *ConfigNetworkInstanceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigNetworkInstanceConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigNetworkInstanceConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigNetworkInstanceConfig) Validate(formats strfmt.Registry) error
- type ConfigNetworkInstanceLispConfig
- func (m *ConfigNetworkInstanceLispConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigNetworkInstanceLispConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigNetworkInstanceLispConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigNetworkInstanceLispConfig) Validate(formats strfmt.Registry) error
- type ConfigNetworkInstanceOpaqueConfig
- func (m *ConfigNetworkInstanceOpaqueConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigNetworkInstanceOpaqueConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigNetworkInstanceOpaqueConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigNetworkInstanceOpaqueConfig) Validate(formats strfmt.Registry) error
- type ConfigNetworkType
- type ConfigPhyIOUsagePolicy
- func (m *ConfigPhyIOUsagePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigPhyIOUsagePolicy) MarshalBinary() ([]byte, error)
- func (m *ConfigPhyIOUsagePolicy) UnmarshalBinary(b []byte) error
- func (m *ConfigPhyIOUsagePolicy) Validate(formats strfmt.Registry) error
- type ConfigPhysicalIO
- type ConfigProxyConfig
- type ConfigProxyServer
- type ConfigServiceResp
- type ConfigSignatureInfo
- type ConfigSystemAdapter
- type ConfigTarget
- type ConfigUUIDandVersion
- type ConfigVMConfig
- type ConfigVMMode
- type ConfigVolume
- type ConfigVolumeAccessProtocols
- type ConfigVolumeContentOrigin
- func (m *ConfigVolumeContentOrigin) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigVolumeContentOrigin) MarshalBinary() ([]byte, error)
- func (m *ConfigVolumeContentOrigin) UnmarshalBinary(b []byte) error
- func (m *ConfigVolumeContentOrigin) Validate(formats strfmt.Registry) error
- type ConfigVolumeContentOriginType
- type ConfigVolumeRef
- type ConfigWiFiKeyScheme
- type ConfigWifiConfig
- type ConfigWirelessConfig
- type ConfigWirelessType
- type ConfigZNetworkInstType
- type ConfigZNetworkOpaqueConfigType
- type ConfigZcServicePoint
- type ConfigZcServiceType
- type ConfigZnetStaticDNSEntry
- func (m *ConfigZnetStaticDNSEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigZnetStaticDNSEntry) MarshalBinary() ([]byte, error)
- func (m *ConfigZnetStaticDNSEntry) UnmarshalBinary(b []byte) error
- func (m *ConfigZnetStaticDNSEntry) Validate(formats strfmt.Registry) error
- type ConfigipRange
- type Configipspec
- type ConfigproxyProto
- type ContainerDetail
- type ControllerType
- type Credential
- type CredentialType
- type Credentials
- type CrudAction
- type CrudContent
- type CrudContentEncoding
- type CrudContentJSON
- type CrudContentProtobuf
- type CrudResponse
- type CrudResponseQuery
- type CrudResponseRead
- type CrudResultCode
- type CrudResultWithContent
- type CrudStatisticsContainer
- func (m *CrudStatisticsContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CrudStatisticsContainer) MarshalBinary() ([]byte, error)
- func (m *CrudStatisticsContainer) UnmarshalBinary(b []byte) error
- func (m *CrudStatisticsContainer) Validate(formats strfmt.Registry) error
- type CrudStatisticsUser
- 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 CustomUpdateModelFields
- func (m *CustomUpdateModelFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomUpdateModelFields) MarshalBinary() ([]byte, error)
- func (m *CustomUpdateModelFields) UnmarshalBinary(b []byte) error
- func (m *CustomUpdateModelFields) Validate(formats strfmt.Registry) error
- type DNSInfo
- type DPSServiceDetail
- type DatastoreFilter
- type DatastoreInfo
- type DatastoreInfoSecrets
- type DatastoreStatus
- type DatastoreType
- type Datastores
- type DecsriptionCode
- type DeploymentType
- type Description
- type DetailedUser
- type DetailedUsers
- type Details
- type DevDataSecAtRest
- type DevZedServer
- type DeviceBootReason
- type DeviceCerts
- type DeviceCmdsSubType
- type DeviceConfig
- type DeviceConfigList
- type DeviceConfigSummary
- type DeviceDataSecurityAtRestStatus
- type DeviceEntity
- type DeviceError
- type DeviceFilter
- type DeviceHWSecurityModuleStatus
- type DeviceInfo
- type DeviceLisp
- type DeviceLoad
- type DeviceMemorySummary
- type DeviceObjectUsageInfo
- type DeviceSWInfo
- type DeviceSWStatus
- type DeviceSWSubStatus
- 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 DocPolicies
- type DocPolicy
- type DocPolicySummary
- type Drive
- type ECDSA
- type EDConfigItem
- type EIDRegister
- type EnrollmentDetail
- type EnrollmentMechanism
- type EnrollmentType
- type Enterprise
- type EnterpriseState
- type EnterpriseSummary
- type EnterpriseType
- type Enterprises
- type Entity
- type EveconfigImage
- 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 FlowlogAction
- type FlowlogCategoryType
- type FlowlogDirection
- type FlowlogMetric
- type GeoLocation
- 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 HealthDesc
- type HealthServiceResp
- type HealthServiceSubType
- type HelloName
- type HelloResp
- type HvMode
- type IAMFilter
- type IDState
- type IPAssignment
- type IPSpec
- type Identifier64
- type ImageConfig
- type ImageFilter
- type ImageStatus
- type ImageType
- type ImageVersionFilter
- type Images
- 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 InstanceTransitionAction
- type Interface
- type IoBundleStatus
- type IoMember
- type IoType
- type IotHubServiceDetail
- type JobConfig
- type JobConfigList
- type JobFilter
- type JobStatus
- type LTEAdapter
- type LastKnownStatus
- type LimitParams
- type LispConfig
- type LispServer
- 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 ModelAttributes
- type ModelClazz
- type ModelImport
- type ModuleDetail
- type ModulePolicy
- type ModuleSummary
- type ModuleType
- type NetCellularConfig
- type NetConfig
- type NetConfigList
- type NetInstConfig
- 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 NetProxyConfig
- type NetProxyServer
- type NetProxyStatus
- type NetWifiConfig
- 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 NetWirelessConfig
- type NetworkConfigOrDefault
- func (m *NetworkConfigOrDefault) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkConfigOrDefault) MarshalBinary() ([]byte, error)
- func (m *NetworkConfigOrDefault) UnmarshalBinary(b []byte) error
- func (m *NetworkConfigOrDefault) Validate(formats strfmt.Registry) error
- type NetworkCounters
- type NetworkDHCPType
- type NetworkFilter
- type NetworkInstanceDhcpType
- type NetworkInstanceKind
- type NetworkKind
- type NetworkPolicy
- type NetworkProxyProto
- type NetworkStatus
- type NetworkWiFiKeyScheme
- type NetworkWirelessType
- type OAUTHProfile
- type ObjectParentDetail
- type ObjectRevision
- type ObjectTag
- type ObjectTagFilter
- type ObjectTagsList
- type ObjectType
- type OpaqueConfigType
- type OpaqueToken64
- type Origin
- type PCRTemplate
- type PCRType
- type PCRValue
- type Param
- type Permission
- type PhyAdapter
- type PingMsgSendResp
- type Policies
- type Policy
- type PolicyAccess
- type PolicyConfig
- type PolicyDocVersion
- type PolicyDocVersionList
- type PolicyDocVersionResp
- type PolicyScope
- type PolicyStatus
- type PolicyType
- type PolicyVersion
- type PolicyVersionList
- type ProtobufAny
- type ProtobufNullValue
- type RSA
- type Realm
- type Realms
- type Resource
- type ResourceGroupDetail
- type Role
- type RoleState
- type Roles
- type RunState
- type RuntimeStreamError
- type SANValues
- type SKUDetail
- type SWInfo
- type SWState
- type Scope
- type SelectionCriteria
- type ServicePoint
- type SessionDetails
- type Severity
- type SimcardState
- type SimpleUser
- type SpType
- type StaticDNSList
- type Status
- type StatusCode
- 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 SysInterface
- type SysModel
- type SysModelDetail
- type SysModelFilter
- type SysModelState
- type SysModels
- type TPMEnrollmentDetail
- type Tag
- type TagFilter
- type TagStatus
- type TagStatusFilter
- type TagStatusListMsg
- type TagStatusMsg
- type TagType
- type Tags
- 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 UserDataTemplate
- type UserRole
- type UserState
- 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 VifInfo
- type VolInstConfig
- 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 VolumeInstanceAccessMode
- type VolumeInstanceType
- type WifiConfigcryptoblock
- 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 AAAFailureResponse ¶
type AAAFailureResponse struct {
// credential
Credential *AAAFailureResponseCredentialChange `json:"credential,omitempty"`
// details
Details *AAAFailureResponseSessionDetails `json:"details,omitempty"`
// generate token
GenerateToken *AAAFailureResponseGenerateToken `json:"generateToken,omitempty"`
// login
Login *AAAFailureResponseLogin `json:"login,omitempty"`
// logout
Logout *AAAFailureResponseLogout `json:"logout,omitempty"`
// query session details
QuerySessionDetails *AAAFailureResponseQueryAllSessionDetails `json:"querySessionDetails,omitempty"`
// refresh
Refresh *AAAFailureTokenRefresh `json:"refresh,omitempty"`
// type
Type *AAAFailureResponseType `json:"type,omitempty"`
}
AAAFailureResponse a a a failure response
swagger:model AAAFailureResponse
func (*AAAFailureResponse) ContextValidate ¶
ContextValidate validate this a a a failure response based on the context it is used
func (*AAAFailureResponse) MarshalBinary ¶
func (m *AAAFailureResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponse) UnmarshalBinary ¶
func (m *AAAFailureResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseCredentialChange ¶
type AAAFailureResponseCredentialChange struct {
// cause
Cause *AAAFailureResponseCredentialChangeCause `json:"cause,omitempty"`
}
AAAFailureResponseCredentialChange a a a failure response credential change
swagger:model AAAFailureResponseCredentialChange
func (*AAAFailureResponseCredentialChange) ContextValidate ¶
func (m *AAAFailureResponseCredentialChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure response credential change based on the context it is used
func (*AAAFailureResponseCredentialChange) MarshalBinary ¶
func (m *AAAFailureResponseCredentialChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponseCredentialChange) UnmarshalBinary ¶
func (m *AAAFailureResponseCredentialChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseCredentialChangeCause ¶
type AAAFailureResponseCredentialChangeCause string
AAAFailureResponseCredentialChangeCause a a a failure response credential change cause
swagger:model AAAFailureResponseCredentialChangeCause
const ( // AAAFailureResponseCredentialChangeCauseINVALID captures enum value "__INVALID__" AAAFailureResponseCredentialChangeCauseINVALID AAAFailureResponseCredentialChangeCause = "__INVALID__" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseUnknown captures enum value "AAAFailureResponseCredentialChangeCauseUnknown" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseUnknown AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseUnknown" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAuthenticationFailure captures enum value "AAAFailureResponseCredentialChangeCauseAuthenticationFailure" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAuthenticationFailure AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseAuthenticationFailure" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePermissionDenied captures enum value "AAAFailureResponseCredentialChangeCausePermissionDenied" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePermissionDenied AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCausePermissionDenied" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseInternalServerError captures enum value "AAAFailureResponseCredentialChangeCauseInternalServerError" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseInternalServerError AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseInternalServerError" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAlreadyExists captures enum value "AAAFailureResponseCredentialChangeCauseAlreadyExists" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAlreadyExists AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseAlreadyExists" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePasswordTooSimple captures enum value "AAAFailureResponseCredentialChangeCausePasswordTooSimple" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePasswordTooSimple AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCausePasswordTooSimple" // AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseNotFound captures enum value "AAAFailureResponseCredentialChangeCauseNotFound" AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseNotFound AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseNotFound" )
func NewAAAFailureResponseCredentialChangeCause ¶
func NewAAAFailureResponseCredentialChangeCause(value AAAFailureResponseCredentialChangeCause) *AAAFailureResponseCredentialChangeCause
func (AAAFailureResponseCredentialChangeCause) ContextValidate ¶
func (m AAAFailureResponseCredentialChangeCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure response credential change cause based on context it is used
type AAAFailureResponseGenerateToken ¶
type AAAFailureResponseGenerateToken struct {
// cause
Cause *AAAFailureResponseGenerateTokenCause `json:"cause,omitempty"`
// error
Error string `json:"error,omitempty"`
}
AAAFailureResponseGenerateToken a a a failure response generate token
swagger:model AAAFailureResponseGenerateToken
func (*AAAFailureResponseGenerateToken) ContextValidate ¶
func (m *AAAFailureResponseGenerateToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure response generate token based on the context it is used
func (*AAAFailureResponseGenerateToken) MarshalBinary ¶
func (m *AAAFailureResponseGenerateToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponseGenerateToken) UnmarshalBinary ¶
func (m *AAAFailureResponseGenerateToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseGenerateTokenCause ¶
type AAAFailureResponseGenerateTokenCause string
AAAFailureResponseGenerateTokenCause a a a failure response generate token cause
swagger:model AAAFailureResponseGenerateTokenCause
const ( // AAAFailureResponseGenerateTokenCauseINVALID captures enum value "__INVALID__" AAAFailureResponseGenerateTokenCauseINVALID AAAFailureResponseGenerateTokenCause = "__INVALID__" // AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseUserUnknown captures enum value "AAAFailureResponseGenerateTokenCauseUserUnknown" AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseUserUnknown AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseUserUnknown" // AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseException captures enum value "AAAFailureResponseGenerateTokenCauseException" AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseException AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseException" // AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseEnterpriseUnknown captures enum value "AAAFailureResponseGenerateTokenCauseEnterpriseUnknown" AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseEnterpriseUnknown AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseEnterpriseUnknown" // AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseForbidden captures enum value "AAAFailureResponseGenerateTokenCauseForbidden" AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseForbidden AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseForbidden" // AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseInternalError captures enum value "AAAFailureResponseGenerateTokenCauseInternalError" AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseInternalError AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseInternalError" )
func NewAAAFailureResponseGenerateTokenCause ¶
func NewAAAFailureResponseGenerateTokenCause(value AAAFailureResponseGenerateTokenCause) *AAAFailureResponseGenerateTokenCause
func (AAAFailureResponseGenerateTokenCause) ContextValidate ¶
func (m AAAFailureResponseGenerateTokenCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure response generate token cause based on context it is used
type AAAFailureResponseLogin ¶
type AAAFailureResponseLogin struct {
// cause
Cause *AAAFailureResponseLoginCause `json:"cause,omitempty"`
// error
Error string `json:"error,omitempty"`
// no of login attempts left
NoOfLoginAttemptsLeft int64 `json:"noOfLoginAttemptsLeft,omitempty"`
}
AAAFailureResponseLogin a a a failure response login
swagger:model AAAFailureResponseLogin
func (*AAAFailureResponseLogin) ContextValidate ¶
func (m *AAAFailureResponseLogin) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure response login based on the context it is used
func (*AAAFailureResponseLogin) MarshalBinary ¶
func (m *AAAFailureResponseLogin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponseLogin) UnmarshalBinary ¶
func (m *AAAFailureResponseLogin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseLoginCause ¶
type AAAFailureResponseLoginCause string
AAAFailureResponseLoginCause Reason why authentication failed, this is more detailed than should be passed on to external clients
swagger:model AAAFailureResponseLoginCause
const ( // AAAFailureResponseLoginCauseINVALID captures enum value "__INVALID__" AAAFailureResponseLoginCauseINVALID AAAFailureResponseLoginCause = "__INVALID__" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseGarbage captures enum value "AAAFailureResponseLoginCauseGarbage" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseGarbage AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseGarbage" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRealmUnknown captures enum value "AAAFailureResponseLoginCauseRealmUnknown" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRealmUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseRealmUnknown" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknown captures enum value "AAAFailureResponseLoginCauseUserUnknown" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserUnknown" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSuspended captures enum value "AAAFailureResponseLoginCauseUserSuspended" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSuspended AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserSuspended" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatch captures enum value "AAAFailureResponseLoginCausePasswordMismatch" AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatch AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordMismatch" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseChallengeMismatch captures enum value "AAAFailureResponseLoginCauseChallengeMismatch" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseChallengeMismatch AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseChallengeMismatch" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseNoSuchCredentials captures enum value "AAAFailureResponseLoginCauseNoSuchCredentials" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseNoSuchCredentials AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseNoSuchCredentials" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseException captures enum value "AAAFailureResponseLoginCauseException" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseException AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseException" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknown captures enum value "AAAFailureResponseLoginCauseEnterpriseUnknown" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseUnknown" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseSchemeUnknown captures enum value "AAAFailureResponseLoginCauseSchemeUnknown" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseSchemeUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseSchemeUnknown" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSignedupState captures enum value "AAAFailureResponseLoginCauseUserSignedupState" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSignedupState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserSignedupState" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRoleUnknown captures enum value "AAAFailureResponseLoginCauseRoleUnknown" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRoleUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseRoleUnknown" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUpdateLastLoginTimeFailed captures enum value "AAAFailureResponseLoginCauseUpdateLastLoginTimeFailed" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUpdateLastLoginTimeFailed AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUpdateLastLoginTimeFailed" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseInactive captures enum value "AAAFailureResponseLoginCauseEnterpriseInactive" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseInactive AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseInactive" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserInactive captures enum value "AAAFailureResponseLoginCauseUserInactive" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserInactive AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserInactive" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseSignedupState captures enum value "AAAFailureResponseLoginCauseEnterpriseSignedupState" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseSignedupState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseSignedupState" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknownState captures enum value "AAAFailureResponseLoginCauseEnterpriseUnknownState" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknownState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseUnknownState" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknownState captures enum value "AAAFailureResponseLoginCauseUserUnknownState" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknownState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserUnknownState" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseCreatedState captures enum value "AAAFailureResponseLoginCauseEnterpriseCreatedState" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseCreatedState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseCreatedState" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserCreatedState captures enum value "AAAFailureResponseLoginCauseUserCreatedState" AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserCreatedState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserCreatedState" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt captures enum value "AAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt" AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt" // AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordDecryptionFailed captures enum value "AAAFailureResponseLoginCausePasswordDecryptionFailed" AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordDecryptionFailed AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordDecryptionFailed" )
func NewAAAFailureResponseLoginCause ¶
func NewAAAFailureResponseLoginCause(value AAAFailureResponseLoginCause) *AAAFailureResponseLoginCause
func (AAAFailureResponseLoginCause) ContextValidate ¶
func (m AAAFailureResponseLoginCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure response login cause based on context it is used
type AAAFailureResponseLogout ¶
type AAAFailureResponseLogout struct {
// cause
Cause *AAAFailureResponseLogoutCause `json:"cause,omitempty"`
// error
Error string `json:"error,omitempty"`
// original
Original *OpaqueToken64 `json:"original,omitempty"`
}
AAAFailureResponseLogout a a a failure response logout
swagger:model AAAFailureResponseLogout
func (*AAAFailureResponseLogout) ContextValidate ¶
func (m *AAAFailureResponseLogout) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure response logout based on the context it is used
func (*AAAFailureResponseLogout) MarshalBinary ¶
func (m *AAAFailureResponseLogout) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponseLogout) UnmarshalBinary ¶
func (m *AAAFailureResponseLogout) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseLogoutCause ¶
type AAAFailureResponseLogoutCause string
AAAFailureResponseLogoutCause a a a failure response logout cause
swagger:model AAAFailureResponseLogoutCause
const ( // AAAFailureResponseLogoutCauseINVALID captures enum value "__INVALID__" AAAFailureResponseLogoutCauseINVALID AAAFailureResponseLogoutCause = "__INVALID__" // AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseUnknown captures enum value "AAAFailureResponseLogoutCauseUnknown" AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseUnknown AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseUnknown" // AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseGarbage captures enum value "AAAFailureResponseLogoutCauseGarbage" AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseGarbage AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseGarbage" // AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseExpired captures enum value "AAAFailureResponseLogoutCauseExpired" AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseExpired AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseExpired" // AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseNoSuchSession captures enum value "AAAFailureResponseLogoutCauseNoSuchSession" AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseNoSuchSession AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseNoSuchSession" )
func NewAAAFailureResponseLogoutCause ¶
func NewAAAFailureResponseLogoutCause(value AAAFailureResponseLogoutCause) *AAAFailureResponseLogoutCause
func (AAAFailureResponseLogoutCause) ContextValidate ¶
func (m AAAFailureResponseLogoutCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure response logout cause based on context it is used
type AAAFailureResponseQueryAllSessionDetails ¶
type AAAFailureResponseQueryAllSessionDetails struct {
// cause
Cause *AAAFailureResponseQueryAllSessionDetailsCause `json:"cause,omitempty"`
// error
Error string `json:"error,omitempty"`
}
AAAFailureResponseQueryAllSessionDetails a a a failure response query all session details
swagger:model AAAFailureResponseQueryAllSessionDetails
func (*AAAFailureResponseQueryAllSessionDetails) ContextValidate ¶
func (m *AAAFailureResponseQueryAllSessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure response query all session details based on the context it is used
func (*AAAFailureResponseQueryAllSessionDetails) MarshalBinary ¶
func (m *AAAFailureResponseQueryAllSessionDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponseQueryAllSessionDetails) UnmarshalBinary ¶
func (m *AAAFailureResponseQueryAllSessionDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseQueryAllSessionDetailsCause ¶
type AAAFailureResponseQueryAllSessionDetailsCause string
AAAFailureResponseQueryAllSessionDetailsCause a a a failure response query all session details cause
swagger:model AAAFailureResponseQueryAllSessionDetailsCause
const ( // AAAFailureResponseQueryAllSessionDetailsCauseINVALID captures enum value "__INVALID__" AAAFailureResponseQueryAllSessionDetailsCauseINVALID AAAFailureResponseQueryAllSessionDetailsCause = "__INVALID__" // AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnknown captures enum value "AAAFailureResponseQueryAllSessionDetailsCauseUnknown" AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnknown AAAFailureResponseQueryAllSessionDetailsCause = "AAAFailureResponseQueryAllSessionDetailsCauseUnknown" AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnauthorizedAccess AAAFailureResponseQueryAllSessionDetailsCause = "AAAFailureResponseQueryAllSessionDetailsCauseUnauthorizedAccess" // AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUserUnknown captures enum value "AAAFailureResponseQueryAllSessionDetailsCauseUserUnknown" AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUserUnknown AAAFailureResponseQueryAllSessionDetailsCause = "AAAFailureResponseQueryAllSessionDetailsCauseUserUnknown" )
func NewAAAFailureResponseQueryAllSessionDetailsCause ¶
func NewAAAFailureResponseQueryAllSessionDetailsCause(value AAAFailureResponseQueryAllSessionDetailsCause) *AAAFailureResponseQueryAllSessionDetailsCause
func (AAAFailureResponseQueryAllSessionDetailsCause) ContextValidate ¶
func (m AAAFailureResponseQueryAllSessionDetailsCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure response query all session details cause based on context it is used
type AAAFailureResponseSessionDetails ¶
type AAAFailureResponseSessionDetails struct {
// cause
Cause *AAAFailureResponseSessionDetailsCause `json:"cause,omitempty"`
// original
Original *OpaqueToken64 `json:"original,omitempty"`
}
AAAFailureResponseSessionDetails a a a failure response session details
swagger:model AAAFailureResponseSessionDetails
func (*AAAFailureResponseSessionDetails) ContextValidate ¶
func (m *AAAFailureResponseSessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure response session details based on the context it is used
func (*AAAFailureResponseSessionDetails) MarshalBinary ¶
func (m *AAAFailureResponseSessionDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureResponseSessionDetails) UnmarshalBinary ¶
func (m *AAAFailureResponseSessionDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureResponseSessionDetailsCause ¶
type AAAFailureResponseSessionDetailsCause string
AAAFailureResponseSessionDetailsCause a a a failure response session details cause
swagger:model AAAFailureResponseSessionDetailsCause
const ( // AAAFailureResponseSessionDetailsCauseINVALID captures enum value "__INVALID__" AAAFailureResponseSessionDetailsCauseINVALID AAAFailureResponseSessionDetailsCause = "__INVALID__" // AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseUnknown captures enum value "AAAFailureResponseSessionDetailsCauseUnknown" AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseUnknown AAAFailureResponseSessionDetailsCause = "AAAFailureResponseSessionDetailsCauseUnknown" // AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseNoSuchSession captures enum value "AAAFailureResponseSessionDetailsCauseNoSuchSession" AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseNoSuchSession AAAFailureResponseSessionDetailsCause = "AAAFailureResponseSessionDetailsCauseNoSuchSession" )
func NewAAAFailureResponseSessionDetailsCause ¶
func NewAAAFailureResponseSessionDetailsCause(value AAAFailureResponseSessionDetailsCause) *AAAFailureResponseSessionDetailsCause
func (AAAFailureResponseSessionDetailsCause) ContextValidate ¶
func (m AAAFailureResponseSessionDetailsCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure response session details cause based on context it is used
type AAAFailureResponseType ¶
type AAAFailureResponseType string
AAAFailureResponseType a a a failure response type
swagger:model AAAFailureResponseType
const ( // AAAFailureResponseTypeINVALID captures enum value "__INVALID__" AAAFailureResponseTypeINVALID AAAFailureResponseType = "__INVALID__" // AAAFailureResponseTypeAAAFailureResponseTypeNone captures enum value "AAAFailureResponseTypeNone" AAAFailureResponseTypeAAAFailureResponseTypeNone AAAFailureResponseType = "AAAFailureResponseTypeNone" // AAAFailureResponseTypeAAAFailureResponseTypeLogin captures enum value "AAAFailureResponseTypeLogin" AAAFailureResponseTypeAAAFailureResponseTypeLogin AAAFailureResponseType = "AAAFailureResponseTypeLogin" // AAAFailureResponseTypeAAAFailureResponseTypeRefresh captures enum value "AAAFailureResponseTypeRefresh" AAAFailureResponseTypeAAAFailureResponseTypeRefresh AAAFailureResponseType = "AAAFailureResponseTypeRefresh" // AAAFailureResponseTypeAAAFailureResponseTypeLogout captures enum value "AAAFailureResponseTypeLogout" AAAFailureResponseTypeAAAFailureResponseTypeLogout AAAFailureResponseType = "AAAFailureResponseTypeLogout" // AAAFailureResponseTypeAAAFailureResponseTypeSessionDetails captures enum value "AAAFailureResponseTypeSessionDetails" AAAFailureResponseTypeAAAFailureResponseTypeSessionDetails AAAFailureResponseType = "AAAFailureResponseTypeSessionDetails" // AAAFailureResponseTypeAAAFailureResponseTypeCredentialChange captures enum value "AAAFailureResponseTypeCredentialChange" AAAFailureResponseTypeAAAFailureResponseTypeCredentialChange AAAFailureResponseType = "AAAFailureResponseTypeCredentialChange" // AAAFailureResponseTypeAAAFailureResponseTypeQueryAllSessionDetails captures enum value "AAAFailureResponseTypeQueryAllSessionDetails" AAAFailureResponseTypeAAAFailureResponseTypeQueryAllSessionDetails AAAFailureResponseType = "AAAFailureResponseTypeQueryAllSessionDetails" // AAAFailureResponseTypeAAAFailureResponseTypeGenerateToken captures enum value "AAAFailureResponseTypeGenerateToken" AAAFailureResponseTypeAAAFailureResponseTypeGenerateToken AAAFailureResponseType = "AAAFailureResponseTypeGenerateToken" )
func NewAAAFailureResponseType ¶
func NewAAAFailureResponseType(value AAAFailureResponseType) *AAAFailureResponseType
func (AAAFailureResponseType) ContextValidate ¶
ContextValidate validates this a a a failure response type based on context it is used
type AAAFailureTokenRefresh ¶
type AAAFailureTokenRefresh struct {
// cause
Cause *AAAFailureTokenRefreshCause `json:"cause,omitempty"`
// error
Error string `json:"error,omitempty"`
// original
Original *OpaqueToken64 `json:"original,omitempty"`
}
AAAFailureTokenRefresh The token did not get refreshed for a specific reason. Supplies original token in the response
swagger:model AAAFailureTokenRefresh
func (*AAAFailureTokenRefresh) ContextValidate ¶
func (m *AAAFailureTokenRefresh) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a failure token refresh based on the context it is used
func (*AAAFailureTokenRefresh) MarshalBinary ¶
func (m *AAAFailureTokenRefresh) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFailureTokenRefresh) UnmarshalBinary ¶
func (m *AAAFailureTokenRefresh) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFailureTokenRefreshCause ¶
type AAAFailureTokenRefreshCause string
AAAFailureTokenRefreshCause Reason why token refresh failed
swagger:model AAAFailureTokenRefreshCause
const ( // AAAFailureTokenRefreshCauseINVALID captures enum value "__INVALID__" AAAFailureTokenRefreshCauseINVALID AAAFailureTokenRefreshCause = "__INVALID__" // AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseExpired captures enum value "AAAFailureTokenRefreshCauseExpired" AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseExpired AAAFailureTokenRefreshCause = "AAAFailureTokenRefreshCauseExpired" // AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseUnknown captures enum value "AAAFailureTokenRefreshCauseUnknown" AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseUnknown AAAFailureTokenRefreshCause = "AAAFailureTokenRefreshCauseUnknown" )
func NewAAAFailureTokenRefreshCause ¶
func NewAAAFailureTokenRefreshCause(value AAAFailureTokenRefreshCause) *AAAFailureTokenRefreshCause
func (AAAFailureTokenRefreshCause) ContextValidate ¶
func (m AAAFailureTokenRefreshCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a failure token refresh cause based on context it is used
type AAAFrontendGenerateTokenResponse ¶
type AAAFrontendGenerateTokenResponse struct {
// cause
Cause *AAAFrontendGenerateTokenResponseCause `json:"cause,omitempty"`
// client Ip
ClientIP string `json:"clientIp,omitempty"`
// error
Error string `json:"error,omitempty"`
// expires at
// Format: date-time
ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`
// token
Token string `json:"token,omitempty"`
// user agent
UserAgent string `json:"userAgent,omitempty"`
// user name
UserName string `json:"userName,omitempty"`
}
AAAFrontendGenerateTokenResponse a a a frontend generate token response
swagger:model AAA_Frontend_GenerateTokenResponse
func (*AAAFrontendGenerateTokenResponse) ContextValidate ¶
func (m *AAAFrontendGenerateTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a frontend generate token response based on the context it is used
func (*AAAFrontendGenerateTokenResponse) MarshalBinary ¶
func (m *AAAFrontendGenerateTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendGenerateTokenResponse) UnmarshalBinary ¶
func (m *AAAFrontendGenerateTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendGenerateTokenResponseCause ¶
type AAAFrontendGenerateTokenResponseCause string
AAAFrontendGenerateTokenResponseCause a a a frontend generate token response cause
swagger:model AAA_Frontend_GenerateTokenResponseCause
const ( // AAAFrontendGenerateTokenResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED" AAAFrontendGenerateTokenResponseCauseUNSPECIFIED AAAFrontendGenerateTokenResponseCause = "UNSPECIFIED" // AAAFrontendGenerateTokenResponseCauseOK captures enum value "OK" AAAFrontendGenerateTokenResponseCauseOK AAAFrontendGenerateTokenResponseCause = "OK" // AAAFrontendGenerateTokenResponseCauseUSERUNKNOWN captures enum value "USER_UNKNOWN" AAAFrontendGenerateTokenResponseCauseUSERUNKNOWN AAAFrontendGenerateTokenResponseCause = "USER_UNKNOWN" // AAAFrontendGenerateTokenResponseCauseEXCEPTION captures enum value "EXCEPTION" AAAFrontendGenerateTokenResponseCauseEXCEPTION AAAFrontendGenerateTokenResponseCause = "EXCEPTION" )
func NewAAAFrontendGenerateTokenResponseCause ¶
func NewAAAFrontendGenerateTokenResponseCause(value AAAFrontendGenerateTokenResponseCause) *AAAFrontendGenerateTokenResponseCause
func (AAAFrontendGenerateTokenResponseCause) ContextValidate ¶
func (m AAAFrontendGenerateTokenResponseCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend generate token response cause based on context it is used
type AAAFrontendLoginModeRequest ¶
type AAAFrontendLoginModeRequest struct {
// username
Username string `json:"username,omitempty"`
}
AAAFrontendLoginModeRequest a a a frontend login mode request
swagger:model AAA_Frontend_LoginModeRequest
func (*AAAFrontendLoginModeRequest) ContextValidate ¶
func (m *AAAFrontendLoginModeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend login mode request based on context it is used
func (*AAAFrontendLoginModeRequest) MarshalBinary ¶
func (m *AAAFrontendLoginModeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginModeRequest) UnmarshalBinary ¶
func (m *AAAFrontendLoginModeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLoginModeResponse ¶
type AAAFrontendLoginModeResponse struct {
// mode
Mode *AAAFrontendLoginModeResponseMode `json:"mode,omitempty"`
// username
Username string `json:"username,omitempty"`
}
AAAFrontendLoginModeResponse a a a frontend login mode response
swagger:model AAA_Frontend_LoginModeResponse
func (*AAAFrontendLoginModeResponse) ContextValidate ¶
func (m *AAAFrontendLoginModeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a frontend login mode response based on the context it is used
func (*AAAFrontendLoginModeResponse) MarshalBinary ¶
func (m *AAAFrontendLoginModeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginModeResponse) UnmarshalBinary ¶
func (m *AAAFrontendLoginModeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLoginModeResponseMode ¶
type AAAFrontendLoginModeResponseMode string
AAAFrontendLoginModeResponseMode a a a frontend login mode response mode
swagger:model AAA_Frontend_LoginModeResponseMode
const ( // AAAFrontendLoginModeResponseModeLOCAL captures enum value "LOCAL" AAAFrontendLoginModeResponseModeLOCAL AAAFrontendLoginModeResponseMode = "LOCAL" // AAAFrontendLoginModeResponseModeEXTERNAL captures enum value "EXTERNAL" AAAFrontendLoginModeResponseModeEXTERNAL AAAFrontendLoginModeResponseMode = "EXTERNAL" )
func NewAAAFrontendLoginModeResponseMode ¶
func NewAAAFrontendLoginModeResponseMode(value AAAFrontendLoginModeResponseMode) *AAAFrontendLoginModeResponseMode
func (AAAFrontendLoginModeResponseMode) ContextValidate ¶
func (m AAAFrontendLoginModeResponseMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend login mode response mode based on context it is used
type AAAFrontendLoginResponse ¶
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"`
// 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"`
// 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 ¶
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 ¶
func (m *AAAFrontendLoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginResponse) UnmarshalBinary ¶
func (m *AAAFrontendLoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLoginResponseCause ¶
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" )
func NewAAAFrontendLoginResponseCause ¶
func NewAAAFrontendLoginResponseCause(value AAAFrontendLoginResponseCause) *AAAFrontendLoginResponseCause
func (AAAFrontendLoginResponseCause) ContextValidate ¶
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
type AAAFrontendLoginWithOauthRequest ¶
type AAAFrontendLoginWithOauthRequest struct {
// 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 ¶
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 ¶
func (m *AAAFrontendLoginWithOauthRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginWithOauthRequest) UnmarshalBinary ¶
func (m *AAAFrontendLoginWithOauthRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLoginWithPasswordRequest ¶
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 ¶
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 ¶
func (m *AAAFrontendLoginWithPasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLoginWithPasswordRequest) UnmarshalBinary ¶
func (m *AAAFrontendLoginWithPasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLogoutRequest ¶
type AAAFrontendLogoutRequest interface{}
AAAFrontendLogoutRequest a a a frontend logout request
swagger:model AAA_Frontend_LogoutRequest
type AAAFrontendLogoutResponse ¶
type AAAFrontendLogoutResponse struct {
// cause
Cause *AAAFrontendLogoutResponseCause `json:"cause,omitempty"`
// token
Token *OpaqueToken64 `json:"token,omitempty"`
}
AAAFrontendLogoutResponse a a a frontend logout response
swagger:model AAA_Frontend_LogoutResponse
func (*AAAFrontendLogoutResponse) ContextValidate ¶
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 ¶
func (m *AAAFrontendLogoutResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendLogoutResponse) UnmarshalBinary ¶
func (m *AAAFrontendLogoutResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendLogoutResponseCause ¶
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 ¶
func NewAAAFrontendLogoutResponseCause(value AAAFrontendLogoutResponseCause) *AAAFrontendLogoutResponseCause
func (AAAFrontendLogoutResponseCause) ContextValidate ¶
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
type AAAFrontendOAUTHCallbackRequest ¶
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 ¶
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 ¶
func (m *AAAFrontendOAUTHCallbackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendOAUTHCallbackRequest) UnmarshalBinary ¶
func (m *AAAFrontendOAUTHCallbackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendRefreshResponse ¶
type AAAFrontendRefreshResponse struct {
// cause
Cause *AAAFrontendRefreshResponseCause `json:"cause,omitempty"`
// token
Token *Token64 `json:"token,omitempty"`
// BEGIN: Only valid when Cause == OK
UserID string `json:"userId,omitempty"`
}
AAAFrontendRefreshResponse a a a frontend refresh response
swagger:model AAA_Frontend_RefreshResponse
func (*AAAFrontendRefreshResponse) ContextValidate ¶
func (m *AAAFrontendRefreshResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a frontend refresh response based on the context it is used
func (*AAAFrontendRefreshResponse) MarshalBinary ¶
func (m *AAAFrontendRefreshResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendRefreshResponse) UnmarshalBinary ¶
func (m *AAAFrontendRefreshResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendRefreshResponseCause ¶
type AAAFrontendRefreshResponseCause string
AAAFrontendRefreshResponseCause a a a frontend refresh response cause
swagger:model AAA_Frontend_RefreshResponseCause
const ( // AAAFrontendRefreshResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED" AAAFrontendRefreshResponseCauseUNSPECIFIED AAAFrontendRefreshResponseCause = "UNSPECIFIED" // AAAFrontendRefreshResponseCauseOK captures enum value "OK" AAAFrontendRefreshResponseCauseOK AAAFrontendRefreshResponseCause = "OK" // AAAFrontendRefreshResponseCauseUNKNOWN captures enum value "UNKNOWN" AAAFrontendRefreshResponseCauseUNKNOWN AAAFrontendRefreshResponseCause = "UNKNOWN" // AAAFrontendRefreshResponseCauseCREDENTIALS captures enum value "CREDENTIALS" AAAFrontendRefreshResponseCauseCREDENTIALS AAAFrontendRefreshResponseCause = "CREDENTIALS" // AAAFrontendRefreshResponseCauseEXPIRED captures enum value "EXPIRED" AAAFrontendRefreshResponseCauseEXPIRED AAAFrontendRefreshResponseCause = "EXPIRED" )
func NewAAAFrontendRefreshResponseCause ¶
func NewAAAFrontendRefreshResponseCause(value AAAFrontendRefreshResponseCause) *AAAFrontendRefreshResponseCause
func (AAAFrontendRefreshResponseCause) ContextValidate ¶
func (m AAAFrontendRefreshResponseCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend refresh response cause based on context it is used
type AAAFrontendSessionDetailsResponse ¶
type AAAFrontendSessionDetailsResponse struct {
// cause
Cause *AAAFrontendSessionDetailsResponseCause `json:"cause,omitempty"`
// policies
Policies []*Policy `json:"policies"`
// user
User *DetailedUser `json:"user,omitempty"`
}
AAAFrontendSessionDetailsResponse a a a frontend session details response
swagger:model AAA_Frontend_SessionDetailsResponse
func (*AAAFrontendSessionDetailsResponse) ContextValidate ¶
func (m *AAAFrontendSessionDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a frontend session details response based on the context it is used
func (*AAAFrontendSessionDetailsResponse) MarshalBinary ¶
func (m *AAAFrontendSessionDetailsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAFrontendSessionDetailsResponse) UnmarshalBinary ¶
func (m *AAAFrontendSessionDetailsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAFrontendSessionDetailsResponseCause ¶
type AAAFrontendSessionDetailsResponseCause string
AAAFrontendSessionDetailsResponseCause a a a frontend session details response cause
swagger:model AAA_Frontend_SessionDetailsResponseCause
const ( // AAAFrontendSessionDetailsResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED" AAAFrontendSessionDetailsResponseCauseUNSPECIFIED AAAFrontendSessionDetailsResponseCause = "UNSPECIFIED" // AAAFrontendSessionDetailsResponseCauseOK captures enum value "OK" AAAFrontendSessionDetailsResponseCauseOK AAAFrontendSessionDetailsResponseCause = "OK" // AAAFrontendSessionDetailsResponseCauseFAILED captures enum value "FAILED" AAAFrontendSessionDetailsResponseCauseFAILED AAAFrontendSessionDetailsResponseCause = "FAILED" )
func NewAAAFrontendSessionDetailsResponseCause ¶
func NewAAAFrontendSessionDetailsResponseCause(value AAAFrontendSessionDetailsResponseCause) *AAAFrontendSessionDetailsResponseCause
func (AAAFrontendSessionDetailsResponseCause) ContextValidate ¶
func (m AAAFrontendSessionDetailsResponseCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a frontend session details response cause based on context it is used
type AAALoginModeResponse ¶
type AAALoginModeResponse struct {
// mode
Mode *AAALoginModeResponseMode `json:"mode,omitempty"`
// username
Username string `json:"username,omitempty"`
}
AAALoginModeResponse a a a login mode response
swagger:model AAALoginModeResponse
func (*AAALoginModeResponse) ContextValidate ¶
ContextValidate validate this a a a login mode response based on the context it is used
func (*AAALoginModeResponse) MarshalBinary ¶
func (m *AAALoginModeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAALoginModeResponse) UnmarshalBinary ¶
func (m *AAALoginModeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAALoginModeResponseMode ¶
type AAALoginModeResponseMode string
AAALoginModeResponseMode a a a login mode response mode
swagger:model AAALoginModeResponseMode
const ( // AAALoginModeResponseModeAAALoginModeLocal captures enum value "AAALoginModeLocal" AAALoginModeResponseModeAAALoginModeLocal AAALoginModeResponseMode = "AAALoginModeLocal" // AAALoginModeResponseModeAAALoginModeExternal captures enum value "AAALoginModeExternal" AAALoginModeResponseModeAAALoginModeExternal AAALoginModeResponseMode = "AAALoginModeExternal" )
func NewAAALoginModeResponseMode ¶
func NewAAALoginModeResponseMode(value AAALoginModeResponseMode) *AAALoginModeResponseMode
func (AAALoginModeResponseMode) ContextValidate ¶
func (m AAALoginModeResponseMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a login mode response mode based on context it is used
type AAANotifyResponse ¶
type AAANotifyResponse struct {
// login
Login *AAASuccessResponseLogin `json:"login,omitempty"`
// logout
Logout *AAASuccessResponseLogout `json:"logout,omitempty"`
// type
Type *AAANotifyResponseType `json:"type,omitempty"`
}
AAANotifyResponse a a a notify response
swagger:model AAANotifyResponse
func (*AAANotifyResponse) ContextValidate ¶
ContextValidate validate this a a a notify response based on the context it is used
func (*AAANotifyResponse) MarshalBinary ¶
func (m *AAANotifyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAANotifyResponse) UnmarshalBinary ¶
func (m *AAANotifyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAANotifyResponseType ¶
type AAANotifyResponseType string
AAANotifyResponseType a a a notify response type
swagger:model AAANotifyResponseType
const ( // AAANotifyResponseTypeINVALID captures enum value "__INVALID__" AAANotifyResponseTypeINVALID AAANotifyResponseType = "__INVALID__" // AAANotifyResponseTypeAAANotifyTypeLogin captures enum value "AAANotifyTypeLogin" AAANotifyResponseTypeAAANotifyTypeLogin AAANotifyResponseType = "AAANotifyTypeLogin" // AAANotifyResponseTypeAAANotifyTypeLogout captures enum value "AAANotifyTypeLogout" AAANotifyResponseTypeAAANotifyTypeLogout AAANotifyResponseType = "AAANotifyTypeLogout" )
func NewAAANotifyResponseType ¶
func NewAAANotifyResponseType(value AAANotifyResponseType) *AAANotifyResponseType
func (AAANotifyResponseType) ContextValidate ¶
ContextValidate validates this a a a notify response type based on context it is used
type AAARedirectResponse ¶
type AAARedirectResponse struct {
// code
Code int64 `json:"code,omitempty"`
// redirect Url
RedirectURL string `json:"redirectUrl,omitempty"`
}
AAARedirectResponse a a a redirect response
swagger:model AAARedirectResponse
func (*AAARedirectResponse) ContextValidate ¶
ContextValidate validates this a a a redirect response based on context it is used
func (*AAARedirectResponse) MarshalBinary ¶
func (m *AAARedirectResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAARedirectResponse) UnmarshalBinary ¶
func (m *AAARedirectResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAARequestAdminUserSignup ¶
type AAARequestAdminUserSignup struct {
// email
Email string `json:"email,omitempty"`
// enterprise name
EnterpriseName string `json:"enterpriseName,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// full name
FullName string `json:"fullName,omitempty"`
// name
Name string `json:"name,omitempty"`
// password
Password string `json:"password,omitempty"`
// type
Type *CredentialType `json:"type,omitempty"`
}
AAARequestAdminUserSignup a a a request admin user signup
swagger:model AAARequestAdminUserSignup
func (*AAARequestAdminUserSignup) ContextValidate ¶
func (m *AAARequestAdminUserSignup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a request admin user signup based on the context it is used
func (*AAARequestAdminUserSignup) MarshalBinary ¶
func (m *AAARequestAdminUserSignup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAARequestAdminUserSignup) UnmarshalBinary ¶
func (m *AAARequestAdminUserSignup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAARequestEnterpriseSignup ¶
type AAARequestEnterpriseSignup struct {
// admin user
AdminUser *AdminUserSignup `json:"adminUser,omitempty"`
// enterprise
Enterprise *Enterprise `json:"enterprise,omitempty"`
// profile type
ProfileType *AuthProfileType `json:"profileType,omitempty"`
// realm list
RealmList []string `json:"realmList"`
// token
Token string `json:"token,omitempty"`
}
AAARequestEnterpriseSignup a a a request enterprise signup
swagger:model AAARequestEnterpriseSignup
func (*AAARequestEnterpriseSignup) ContextValidate ¶
func (m *AAARequestEnterpriseSignup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a request enterprise signup based on the context it is used
func (*AAARequestEnterpriseSignup) MarshalBinary ¶
func (m *AAARequestEnterpriseSignup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAARequestEnterpriseSignup) UnmarshalBinary ¶
func (m *AAARequestEnterpriseSignup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAARequestLoginForgotPassword ¶
type AAARequestLoginForgotPassword struct {
// username
Username string `json:"username,omitempty"`
}
AAARequestLoginForgotPassword a a a request login forgot password
swagger:model AAARequestLoginForgotPassword
func (*AAARequestLoginForgotPassword) ContextValidate ¶
func (m *AAARequestLoginForgotPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a request login forgot password based on context it is used
func (*AAARequestLoginForgotPassword) MarshalBinary ¶
func (m *AAARequestLoginForgotPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAARequestLoginForgotPassword) UnmarshalBinary ¶
func (m *AAARequestLoginForgotPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAResponse ¶
type AAAResponse struct {
// failure
Failure *AAAFailureResponse `json:"failure,omitempty"`
// mode
Mode *AAALoginModeResponse `json:"mode,omitempty"`
// notify
Notify *AAANotifyResponse `json:"notify,omitempty"`
// redirect
Redirect *AAARedirectResponse `json:"redirect,omitempty"`
// result
Result *ZsrvResponse `json:"result,omitempty"`
// success
Success *AAASuccessResponse `json:"success,omitempty"`
// type
Type *AAAResponseType `json:"type,omitempty"`
}
AAAResponse BEGIN: Responses
swagger:model AAAResponse
func (*AAAResponse) ContextValidate ¶
ContextValidate validate this a a a response based on the context it is used
func (*AAAResponse) MarshalBinary ¶
func (m *AAAResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAAResponse) UnmarshalBinary ¶
func (m *AAAResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAAResponseType ¶
type AAAResponseType string
AAAResponseType a a a response type
swagger:model AAAResponseType
const ( // AAAResponseTypeINVALID captures enum value "__INVALID__" AAAResponseTypeINVALID AAAResponseType = "__INVALID__" // AAAResponseTypeAAAResponseTypeSuccess captures enum value "AAAResponseTypeSuccess" AAAResponseTypeAAAResponseTypeSuccess AAAResponseType = "AAAResponseTypeSuccess" // AAAResponseTypeAAAResponseTypeFailure captures enum value "AAAResponseTypeFailure" AAAResponseTypeAAAResponseTypeFailure AAAResponseType = "AAAResponseTypeFailure" // AAAResponseTypeAAAResponseTypeNotify captures enum value "AAAResponseTypeNotify" AAAResponseTypeAAAResponseTypeNotify AAAResponseType = "AAAResponseTypeNotify" // AAAResponseTypeAAAResponseTypeEnterpriseSignup captures enum value "AAAResponseTypeEnterpriseSignup" AAAResponseTypeAAAResponseTypeEnterpriseSignup AAAResponseType = "AAAResponseTypeEnterpriseSignup" // AAAResponseTypeAAAResponseTypeAdminUserSignup captures enum value "AAAResponseTypeAdminUserSignup" AAAResponseTypeAAAResponseTypeAdminUserSignup AAAResponseType = "AAAResponseTypeAdminUserSignup" // AAAResponseTypeAAAResponseTypeRedirect captures enum value "AAAResponseTypeRedirect" AAAResponseTypeAAAResponseTypeRedirect AAAResponseType = "AAAResponseTypeRedirect" // AAAResponseTypeAAAResponseTypeLoginMode captures enum value "AAAResponseTypeLoginMode" AAAResponseTypeAAAResponseTypeLoginMode AAAResponseType = "AAAResponseTypeLoginMode" )
func NewAAAResponseType ¶
func NewAAAResponseType(value AAAResponseType) *AAAResponseType
func (AAAResponseType) ContextValidate ¶
ContextValidate validates this a a a response type based on context it is used
type AAASuccessResponse ¶
type AAASuccessResponse struct {
// credential
Credential *AAASuccessResponseCredentialChange `json:"credential,omitempty"`
// details
Details *AAASuccessSessionDetailsResponse `json:"details,omitempty"`
// generate token
GenerateToken *AAASuccessResponseGenerateToken `json:"generateToken,omitempty"`
// login
Login *AAASuccessResponseLogin `json:"login,omitempty"`
// logout
Logout *AAASuccessResponseLogout `json:"logout,omitempty"`
// query session details
QuerySessionDetails *AAASuccessResponseQueryAllSessionDetails `json:"querySessionDetails,omitempty"`
// refresh
Refresh *AAASuccessTokenRefresh `json:"refresh,omitempty"`
// type
Type *AAASuccessResponseType `json:"type,omitempty"`
}
AAASuccessResponse a a a success response
swagger:model AAASuccessResponse
func (*AAASuccessResponse) ContextValidate ¶
ContextValidate validate this a a a success response based on the context it is used
func (*AAASuccessResponse) MarshalBinary ¶
func (m *AAASuccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessResponse) UnmarshalBinary ¶
func (m *AAASuccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessResponseCredentialChange ¶
type AAASuccessResponseCredentialChange struct {
// credential Id
CredentialID string `json:"credentialId,omitempty"`
}
AAASuccessResponseCredentialChange a a a success response credential change
swagger:model AAASuccessResponseCredentialChange
func (*AAASuccessResponseCredentialChange) ContextValidate ¶
func (m *AAASuccessResponseCredentialChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a success response credential change based on context it is used
func (*AAASuccessResponseCredentialChange) MarshalBinary ¶
func (m *AAASuccessResponseCredentialChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessResponseCredentialChange) UnmarshalBinary ¶
func (m *AAASuccessResponseCredentialChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessResponseGenerateToken ¶
type AAASuccessResponseGenerateToken struct {
// login
Login *AAASuccessResponseLogin `json:"login,omitempty"`
// session details
SessionDetails *SessionDetails `json:"sessionDetails,omitempty"`
}
AAASuccessResponseGenerateToken a a a success response generate token
swagger:model AAASuccessResponseGenerateToken
func (*AAASuccessResponseGenerateToken) ContextValidate ¶
func (m *AAASuccessResponseGenerateToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a success response generate token based on the context it is used
func (*AAASuccessResponseGenerateToken) MarshalBinary ¶
func (m *AAASuccessResponseGenerateToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessResponseGenerateToken) UnmarshalBinary ¶
func (m *AAASuccessResponseGenerateToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessResponseLogin ¶
type AAASuccessResponseLogin struct {
// api token
APIToken *Token64 `json:"apiToken,omitempty"`
// detailed user
DetailedUser *DetailedUser `json:"detailedUser,omitempty"`
// enterprise
Enterprise *Enterprise `json:"enterprise,omitempty"`
// enterprise Id
EnterpriseID *Identifier64 `json:"enterpriseId,omitempty"`
// login token
LoginToken *Token64 `json:"loginToken,omitempty"`
// BEGIN: Only valid when a certain verbosity level is requested
Policies []*Policy `json:"policies"`
// realm
Realm *Realm `json:"realm,omitempty"`
// realm Id
RealmID *Identifier64 `json:"realmId,omitempty"`
// role
Role *Role `json:"role,omitempty"`
// simple user
SimpleUser *SimpleUser `json:"simpleUser,omitempty"`
// token
Token *Token64 `json:"token,omitempty"`
// user Id
UserID *Identifier64 `json:"userId,omitempty"`
}
AAASuccessResponseLogin AAA was successful
swagger:model AAASuccessResponseLogin
func (*AAASuccessResponseLogin) ContextValidate ¶
func (m *AAASuccessResponseLogin) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a success response login based on the context it is used
func (*AAASuccessResponseLogin) MarshalBinary ¶
func (m *AAASuccessResponseLogin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessResponseLogin) UnmarshalBinary ¶
func (m *AAASuccessResponseLogin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessResponseLogout ¶
type AAASuccessResponseLogout struct {
// original
Original *OpaqueToken64 `json:"original,omitempty"`
}
AAASuccessResponseLogout a a a success response logout
swagger:model AAASuccessResponseLogout
func (*AAASuccessResponseLogout) ContextValidate ¶
func (m *AAASuccessResponseLogout) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a success response logout based on the context it is used
func (*AAASuccessResponseLogout) MarshalBinary ¶
func (m *AAASuccessResponseLogout) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessResponseLogout) UnmarshalBinary ¶
func (m *AAASuccessResponseLogout) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessResponseQueryAllSessionDetails ¶
type AAASuccessResponseQueryAllSessionDetails struct {
// cause
Cause *AAASuccessResponseQueryAllSessionDetailsCause `json:"cause,omitempty"`
// session details
SessionDetails []*SessionDetails `json:"sessionDetails"`
}
AAASuccessResponseQueryAllSessionDetails a a a success response query all session details
swagger:model AAASuccessResponseQueryAllSessionDetails
func (*AAASuccessResponseQueryAllSessionDetails) ContextValidate ¶
func (m *AAASuccessResponseQueryAllSessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a success response query all session details based on the context it is used
func (*AAASuccessResponseQueryAllSessionDetails) MarshalBinary ¶
func (m *AAASuccessResponseQueryAllSessionDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessResponseQueryAllSessionDetails) UnmarshalBinary ¶
func (m *AAASuccessResponseQueryAllSessionDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessResponseQueryAllSessionDetailsCause ¶
type AAASuccessResponseQueryAllSessionDetailsCause string
AAASuccessResponseQueryAllSessionDetailsCause a a a success response query all session details cause
swagger:model AAASuccessResponseQueryAllSessionDetailsCause
const ( // AAASuccessResponseQueryAllSessionDetailsCauseINVALID captures enum value "__INVALID__" AAASuccessResponseQueryAllSessionDetailsCauseINVALID AAASuccessResponseQueryAllSessionDetailsCause = "__INVALID__" // AAASuccessResponseQueryAllSessionDetailsCauseOK captures enum value "OK" AAASuccessResponseQueryAllSessionDetailsCauseOK AAASuccessResponseQueryAllSessionDetailsCause = "OK" // AAASuccessResponseQueryAllSessionDetailsCauseFAILED captures enum value "FAILED" AAASuccessResponseQueryAllSessionDetailsCauseFAILED AAASuccessResponseQueryAllSessionDetailsCause = "FAILED" )
func NewAAASuccessResponseQueryAllSessionDetailsCause ¶
func NewAAASuccessResponseQueryAllSessionDetailsCause(value AAASuccessResponseQueryAllSessionDetailsCause) *AAASuccessResponseQueryAllSessionDetailsCause
func (AAASuccessResponseQueryAllSessionDetailsCause) ContextValidate ¶
func (m AAASuccessResponseQueryAllSessionDetailsCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this a a a success response query all session details cause based on context it is used
type AAASuccessResponseType ¶
type AAASuccessResponseType string
AAASuccessResponseType a a a success response type
swagger:model AAASuccessResponseType
const ( // AAASuccessResponseTypeINVALID captures enum value "__INVALID__" AAASuccessResponseTypeINVALID AAASuccessResponseType = "__INVALID__" // AAASuccessResponseTypeAAASuccessResponseTypeLogin captures enum value "AAASuccessResponseTypeLogin" AAASuccessResponseTypeAAASuccessResponseTypeLogin AAASuccessResponseType = "AAASuccessResponseTypeLogin" // AAASuccessResponseTypeAAASuccessResponseTypeRefresh captures enum value "AAASuccessResponseTypeRefresh" AAASuccessResponseTypeAAASuccessResponseTypeRefresh AAASuccessResponseType = "AAASuccessResponseTypeRefresh" // AAASuccessResponseTypeAAASuccessResponseTypePermisson captures enum value "AAASuccessResponseTypePermisson" AAASuccessResponseTypeAAASuccessResponseTypePermisson AAASuccessResponseType = "AAASuccessResponseTypePermisson" // AAASuccessResponseTypeAAASuccessResponseTypeLogout captures enum value "AAASuccessResponseTypeLogout" AAASuccessResponseTypeAAASuccessResponseTypeLogout AAASuccessResponseType = "AAASuccessResponseTypeLogout" // AAASuccessResponseTypeAAASuccessResponseTypeSessionDetails captures enum value "AAASuccessResponseTypeSessionDetails" AAASuccessResponseTypeAAASuccessResponseTypeSessionDetails AAASuccessResponseType = "AAASuccessResponseTypeSessionDetails" // AAASuccessResponseTypeAAASuccessResponseTypeCredentialChange captures enum value "AAASuccessResponseTypeCredentialChange" AAASuccessResponseTypeAAASuccessResponseTypeCredentialChange AAASuccessResponseType = "AAASuccessResponseTypeCredentialChange" // AAASuccessResponseTypeAAASuccessResponseTypeQueryAllSessionDetails captures enum value "AAASuccessResponseTypeQueryAllSessionDetails" AAASuccessResponseTypeAAASuccessResponseTypeQueryAllSessionDetails AAASuccessResponseType = "AAASuccessResponseTypeQueryAllSessionDetails" // AAASuccessResponseTypeAAASuccessResponseTypeGenerateToken captures enum value "AAASuccessResponseTypeGenerateToken" AAASuccessResponseTypeAAASuccessResponseTypeGenerateToken AAASuccessResponseType = "AAASuccessResponseTypeGenerateToken" )
func NewAAASuccessResponseType ¶
func NewAAASuccessResponseType(value AAASuccessResponseType) *AAASuccessResponseType
func (AAASuccessResponseType) ContextValidate ¶
ContextValidate validates this a a a success response type based on context it is used
type AAASuccessSessionDetailsResponse ¶
type AAASuccessSessionDetailsResponse struct {
// original
Original *OpaqueToken64 `json:"original,omitempty"`
// policies
Policies []*Policy `json:"policies"`
// user
User *DetailedUser `json:"user,omitempty"`
}
AAASuccessSessionDetailsResponse a a a success session details response
swagger:model AAASuccessSessionDetailsResponse
func (*AAASuccessSessionDetailsResponse) ContextValidate ¶
func (m *AAASuccessSessionDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a success session details response based on the context it is used
func (*AAASuccessSessionDetailsResponse) MarshalBinary ¶
func (m *AAASuccessSessionDetailsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessSessionDetailsResponse) UnmarshalBinary ¶
func (m *AAASuccessSessionDetailsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AAASuccessTokenRefresh ¶
type AAASuccessTokenRefresh struct {
// token
Token *Token64 `json:"token,omitempty"`
}
AAASuccessTokenRefresh Token64 refresh was successful
swagger:model AAASuccessTokenRefresh
func (*AAASuccessTokenRefresh) ContextValidate ¶
func (m *AAASuccessTokenRefresh) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this a a a success token refresh based on the context it is used
func (*AAASuccessTokenRefresh) MarshalBinary ¶
func (m *AAASuccessTokenRefresh) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AAASuccessTokenRefresh) UnmarshalBinary ¶
func (m *AAASuccessTokenRefresh) 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 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
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
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
swagger:model AdminState
const ( // AdminStateADMINSTATEUNSPECIFIED captures enum value "ADMIN_STATE_UNSPECIFIED" AdminStateADMINSTATEUNSPECIFIED AdminState = "ADMIN_STATE_UNSPECIFIED" // AdminStateADMINSTATECREATED captures enum value "ADMIN_STATE_CREATED" AdminStateADMINSTATECREATED AdminState = "ADMIN_STATE_CREATED" // AdminStateADMINSTATEDELETED captures enum value "ADMIN_STATE_DELETED" AdminStateADMINSTATEDELETED AdminState = "ADMIN_STATE_DELETED" // AdminStateADMINSTATEACTIVE captures enum value "ADMIN_STATE_ACTIVE" AdminStateADMINSTATEACTIVE AdminState = "ADMIN_STATE_ACTIVE" // AdminStateADMINSTATEINACTIVE captures enum value "ADMIN_STATE_INACTIVE" AdminStateADMINSTATEINACTIVE AdminState = "ADMIN_STATE_INACTIVE" // AdminStateADMINSTATEREGISTERED captures enum value "ADMIN_STATE_REGISTERED" AdminStateADMINSTATEREGISTERED AdminState = "ADMIN_STATE_REGISTERED" )
func NewAdminState ¶
func NewAdminState(value AdminState) *AdminState
func (AdminState) ContextValidate ¶
ContextValidate validates this admin state based on context it is used
type AdminUserSignup ¶
type AdminUserSignup struct {
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// full name
FullName string `json:"fullName,omitempty"`
// name
Name string `json:"name,omitempty"`
// password
Password string `json:"password,omitempty"`
// type
Type *CredentialType `json:"type,omitempty"`
}
AdminUserSignup admin user signup
swagger:model AdminUserSignup
func (*AdminUserSignup) ContextValidate ¶
ContextValidate validate this admin user signup based on the context it is used
func (*AdminUserSignup) MarshalBinary ¶
func (m *AdminUserSignup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminUserSignup) UnmarshalBinary ¶
func (m *AdminUserSignup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 App ¶
type App 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"`
// user defined manifest in JSON format
ManifestJSON *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"`
// 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"`
}
App 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 App
func (*App) ContextValidate ¶
ContextValidate validate this app based on the context it is used
func (*App) MarshalBinary ¶
MarshalBinary interface implementation
func (*App) UnmarshalBinary ¶
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 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
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
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: [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
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 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
Networks int64 `json:"networks,omitempty"`
// origin of object
OriginType *Origin `json:"originType,omitempty"`
// origin and parent related details
ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`
// user defined storage for bundle
Storage int64 `json:"storage,omitempty"`
// tags
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 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 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"`
// 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"`
}
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 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"`
// 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"`
// 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 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
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"`
}
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"`
// 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"`
// 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"`
// operation status
RunState *RunState `json:"runState,omitempty"`
// sotware state
SwState *SWState `json:"swState,omitempty"`
// tags
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"`
// encrypted secrets
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"`
// tags
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 AppInstanceDeploy ¶
type AppInstanceDeploy struct {
// XXX for now user will send only one common config. In future with complex
// filtering and payload, user can send instance config per device.
InstanceConfig []*BulkInstanceConfig `json:"instanceConfig"`
}
AppInstanceDeploy app instance deploy
swagger:model AppInstanceDeploy
func (*AppInstanceDeploy) ContextValidate ¶
ContextValidate validate this app instance deploy based on the context it is used
func (*AppInstanceDeploy) MarshalBinary ¶
func (m *AppInstanceDeploy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstanceDeploy) UnmarshalBinary ¶
func (m *AppInstanceDeploy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstanceLogs ¶
type AppInstanceLogs struct {
// Application instance logs flag
// Required: true
Access *bool `json:"access"`
}
AppInstanceLogs App Instance Logs detail
App Instance Logs detail ¶
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 AppInstanceRefreshAndPurge ¶
type AppInstanceRefreshAndPurge struct {
// purge
Purge bool `json:"purge,omitempty"`
}
AppInstanceRefreshAndPurge app instance refresh and purge
swagger:model AppInstanceRefreshAndPurge
func (*AppInstanceRefreshAndPurge) ContextValidate ¶
func (m *AppInstanceRefreshAndPurge) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this app instance refresh and purge based on context it is used
func (*AppInstanceRefreshAndPurge) MarshalBinary ¶
func (m *AppInstanceRefreshAndPurge) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstanceRefreshAndPurge) UnmarshalBinary ¶
func (m *AppInstanceRefreshAndPurge) 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 name to be matched for interface assignment. Applicable only when "direct attach" flag is false
// Required: true
Netinstname *string `json:"netinstname"`
// netinsttag
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
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 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"`
}
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 {
// 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"`
// 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
OriginType *Origin `json:"originType,omitempty"`
// 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 Apps ¶
type Apps struct {
// edge application summary list
List []*AppSummary `json:"list"`
// cursor next
Next *Cursor `json:"next,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 Artifact ¶
type Artifact struct {
// system generated unique id for an artifact
// Read Only: true
// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+a
ID string `json:"id,omitempty"`
// User defined name of the artifact, 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"`
// generated signed url for an artifact
// Read Only: true
SignedURL string `json:"signedUrl,omitempty"`
// describes the status of the operation
// Read Only: true
Status *Status `json:"status,omitempty"`
// TTL for the URL
// Read Only: true
TTL int64 `json:"ttl,omitempty"`
}
Artifact ArtifactKey detail
ArtifactKey idenfies the artifact by artifactId ¶
swagger:model Artifact
func (*Artifact) ContextValidate ¶
ContextValidate validate this artifact based on the context it is used
func (*Artifact) MarshalBinary ¶
MarshalBinary interface implementation
func (*Artifact) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ArtifactFilter ¶
type ArtifactFilter interface{}
ArtifactFilter artifact filter
swagger:model ArtifactFilter
type ArtifactList ¶
type ArtifactList struct {
// Artifact Key list
List []*Artifact `json:"list"`
// next
Next *Cursor `json:"next,omitempty"`
// Summary by state
Summary *Summary `json:"summary,omitempty"`
}
ArtifactList ArtifactKeyListResponse detail
Response returned for List artifact Keys ¶
swagger:model ArtifactList
func (*ArtifactList) ContextValidate ¶
ContextValidate validate this artifact list based on the context it is used
func (*ArtifactList) MarshalBinary ¶
func (m *ArtifactList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArtifactList) UnmarshalBinary ¶
func (m *ArtifactList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ArtifactStream ¶
type ArtifactStream struct {
// artifact chunk data
// Format: byte
Chunk strfmt.Base64 `json:"chunk,omitempty"`
// id
ID string `json:"id,omitempty"`
}
ArtifactStream ArtifactKey detail
ArtifactKey idenfies the artifact by artifactId ¶
swagger:model ArtifactStream
func (*ArtifactStream) ContextValidate ¶
ContextValidate validates this artifact stream based on context it is used
func (*ArtifactStream) MarshalBinary ¶
func (m *ArtifactStream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArtifactStream) UnmarshalBinary ¶
func (m *ArtifactStream) UnmarshalBinary(b []byte) error
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
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" )
func NewAttestState ¶
func NewAttestState(value AttestState) *AttestState
func (AttestState) ContextValidate ¶
ContextValidate validates this attest state based on context it is used
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 ¶
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" )
func NewAuthProfileType ¶
func NewAuthProfileType(value AuthProfileType) *AuthProfileType
func (AuthProfileType) ContextValidate ¶
ContextValidate validates this auth profile type based on context it is used
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 ¶
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"`
// 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"`
// 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 ¶
ContextValidate validate this authorization profile based on the context it is used
func (*AuthorizationProfile) MarshalBinary ¶
func (m *AuthorizationProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthorizationProfile) UnmarshalBinary ¶
func (m *AuthorizationProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthorizationProfiles ¶
type AuthorizationProfiles struct {
// List of profiles
List []*AuthorizationProfile `json:"list"`
// Page details of the filtered records
Next *Cursor `json:"next,omitempty"`
// Summary of filtered profiles
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
AuthorizationProfiles authorization profiles
swagger:model AuthorizationProfiles
func (*AuthorizationProfiles) ContextValidate ¶
ContextValidate validate this authorization profiles based on the context it is used
func (*AuthorizationProfiles) MarshalBinary ¶
func (m *AuthorizationProfiles) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthorizationProfiles) UnmarshalBinary ¶
func (m *AuthorizationProfiles) 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 secrets
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"`
// 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 BaseosUpdate ¶
type BaseosUpdate struct {
// baseimage
Baseimage *BaseOSImage `json:"baseimage,omitempty"`
}
BaseosUpdate baseos update
swagger:model BaseosUpdate
func (*BaseosUpdate) ContextValidate ¶
ContextValidate validate this baseos update based on the context it is used
func (*BaseosUpdate) MarshalBinary ¶
func (m *BaseosUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BaseosUpdate) UnmarshalBinary ¶
func (m *BaseosUpdate) 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 BriefHealth ¶
type BriefHealth struct {
// service health status
ServiceHealthStatus string `json:"serviceHealthStatus,omitempty"`
}
BriefHealth brief health
swagger:model BriefHealth
func (*BriefHealth) ContextValidate ¶
ContextValidate validates this brief health based on context it is used
func (*BriefHealth) MarshalBinary ¶
func (m *BriefHealth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BriefHealth) UnmarshalBinary ¶
func (m *BriefHealth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkConfig ¶
type BulkConfig struct {
// baseos update
BaseosUpdate *BaseosUpdate `json:"baseosUpdate,omitempty"`
// bundle import
BundleImport *BundleImport `json:"bundleImport,omitempty"`
// instance deploy
InstanceDeploy *AppInstanceDeploy `json:"instanceDeploy,omitempty"`
// instance refresh and purge
InstanceRefreshAndPurge *AppInstanceRefreshAndPurge `json:"instanceRefreshAndPurge,omitempty"`
// job Id
JobID string `json:"jobId,omitempty"`
// job name
JobName string `json:"jobName,omitempty"`
// model import
ModelImport *ModelImport `json:"modelImport,omitempty"`
// selection criteria
SelectionCriteria *SelectionCriteria `json:"selectionCriteria,omitempty"`
}
BulkConfig config required for bulk ops.
swagger:model BulkConfig
func (*BulkConfig) ContextValidate ¶
ContextValidate validate this bulk config based on the context it is used
func (*BulkConfig) MarshalBinary ¶
func (m *BulkConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkConfig) UnmarshalBinary ¶
func (m *BulkConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkInstanceConfig ¶
type BulkInstanceConfig struct {
// app instance config
AppInstanceConfig *AppInstance `json:"appInstanceConfig,omitempty"`
// device Id
DeviceID string `json:"deviceId,omitempty"`
// net instance config
NetInstanceConfig []*NetInstConfig `json:"netInstanceConfig"`
// net instance detail
NetInstanceDetail *NetworkConfigOrDefault `json:"netInstanceDetail,omitempty"`
}
BulkInstanceConfig bulk instance config
swagger:model BulkInstanceConfig
func (*BulkInstanceConfig) ContextValidate ¶
ContextValidate validate this bulk instance config based on the context it is used
func (*BulkInstanceConfig) MarshalBinary ¶
func (m *BulkInstanceConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkInstanceConfig) UnmarshalBinary ¶
func (m *BulkInstanceConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkService ¶
type BulkService string
BulkService type of bulk operation
swagger:model BulkService
const ( // BulkServiceBULKSERVICEUNSPECIFIED captures enum value "BULK_SERVICE_UNSPECIFIED" BulkServiceBULKSERVICEUNSPECIFIED BulkService = "BULK_SERVICE_UNSPECIFIED" // BulkServiceBULKSERVICEBASEOSUPDATE captures enum value "BULK_SERVICE_BASEOS_UPDATE" BulkServiceBULKSERVICEBASEOSUPDATE BulkService = "BULK_SERVICE_BASEOS_UPDATE" // BulkServiceBULKSERVICEAPPINSTANCEDEPLOY captures enum value "BULK_SERVICE_APPINSTANCE_DEPLOY" BulkServiceBULKSERVICEAPPINSTANCEDEPLOY BulkService = "BULK_SERVICE_APPINSTANCE_DEPLOY" // BulkServiceBULKSERVICEAPPINSTANCEREFRESH captures enum value "BULK_SERVICE_APPINSTANCE_REFRESH" BulkServiceBULKSERVICEAPPINSTANCEREFRESH BulkService = "BULK_SERVICE_APPINSTANCE_REFRESH" // BulkServiceBULKSERVICEAPPINSTANCEPURGE captures enum value "BULK_SERVICE_APPINSTANCE_PURGE" BulkServiceBULKSERVICEAPPINSTANCEPURGE BulkService = "BULK_SERVICE_APPINSTANCE_PURGE" // BulkServiceBULKSERVICEMODELIMPORT captures enum value "BULK_SERVICE_MODEL_IMPORT" BulkServiceBULKSERVICEMODELIMPORT BulkService = "BULK_SERVICE_MODEL_IMPORT" // BulkServiceBULKSERVICEBUNDLEIMPORT captures enum value "BULK_SERVICE_BUNDLE_IMPORT" BulkServiceBULKSERVICEBUNDLEIMPORT BulkService = "BULK_SERVICE_BUNDLE_IMPORT" // BulkServiceBULKSERVICEAPPINSTANCECERTUPDATE captures enum value "BULK_SERVICE_APPINSTANCE_CERT_UPDATE" BulkServiceBULKSERVICEAPPINSTANCECERTUPDATE BulkService = "BULK_SERVICE_APPINSTANCE_CERT_UPDATE" // BulkServiceBULKSERVICEAPPINSTANCEDELETE captures enum value "BULK_SERVICE_APPINSTANCE_DELETE" BulkServiceBULKSERVICEAPPINSTANCEDELETE BulkService = "BULK_SERVICE_APPINSTANCE_DELETE" )
func NewBulkService ¶
func NewBulkService(value BulkService) *BulkService
func (BulkService) ContextValidate ¶
ContextValidate validates this bulk service based on context it is used
type BundleDetail ¶
type BundleDetail struct {
// name
Name string `json:"name,omitempty"`
// parent bundle Id
ParentBundleID string `json:"parentBundleId,omitempty"`
}
BundleDetail bundle detail
swagger:model BundleDetail
func (*BundleDetail) ContextValidate ¶
ContextValidate validates this bundle detail based on context it is used
func (*BundleDetail) MarshalBinary ¶
func (m *BundleDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BundleDetail) UnmarshalBinary ¶
func (m *BundleDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BundleImport ¶
type BundleImport struct {
// bundle config
BundleConfig []*BundleDetail `json:"bundleConfig"`
}
BundleImport bundle import
swagger:model BundleImport
func (*BundleImport) ContextValidate ¶
ContextValidate validate this bundle import based on the context it is used
func (*BundleImport) MarshalBinary ¶
func (m *BundleImport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BundleImport) UnmarshalBinary ¶
func (m *BundleImport) 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 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
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 interface{}
CertificateEnrollmentDetail XXX TODO
swagger:model CertificateEnrollmentDetail
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 CloudVersion ¶
type CloudVersion struct {
// comp
Comp string `json:"comp,omitempty"`
// ver
Ver string `json:"ver,omitempty"`
}
CloudVersion cloud version
swagger:model CloudVersion
func (*CloudVersion) ContextValidate ¶
ContextValidate validates this cloud version based on context it is used
func (*CloudVersion) MarshalBinary ¶
func (m *CloudVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudVersion) UnmarshalBinary ¶
func (m *CloudVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudVersionResp ¶
type CloudVersionResp struct {
// result
Result *ZsrvResponse `json:"result,omitempty"`
// version
Version *CloudVersion `json:"version,omitempty"`
}
CloudVersionResp cloud version resp
swagger:model CloudVersionResp
func (*CloudVersionResp) ContextValidate ¶
ContextValidate validate this cloud version resp based on the context it is used
func (*CloudVersionResp) MarshalBinary ¶
func (m *CloudVersionResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudVersionResp) UnmarshalBinary ¶
func (m *CloudVersionResp) 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 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
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 CommonHashAlgorithm ¶
type CommonHashAlgorithm string
CommonHashAlgorithm common hash algorithm
swagger:model commonHashAlgorithm
const ( // CommonHashAlgorithmHASHALGORITHMINVALID captures enum value "HASH_ALGORITHM_INVALID" CommonHashAlgorithmHASHALGORITHMINVALID CommonHashAlgorithm = "HASH_ALGORITHM_INVALID" // CommonHashAlgorithmHASHALGORITHMSHA25616BYTES captures enum value "HASH_ALGORITHM_SHA256_16BYTES" CommonHashAlgorithmHASHALGORITHMSHA25616BYTES CommonHashAlgorithm = "HASH_ALGORITHM_SHA256_16BYTES" // CommonHashAlgorithmHASHALGORITHMSHA25632BYTES captures enum value "HASH_ALGORITHM_SHA256_32BYTES" CommonHashAlgorithmHASHALGORITHMSHA25632BYTES CommonHashAlgorithm = "HASH_ALGORITHM_SHA256_32BYTES" )
func NewCommonHashAlgorithm ¶
func NewCommonHashAlgorithm(value CommonHashAlgorithm) *CommonHashAlgorithm
func (CommonHashAlgorithm) ContextValidate ¶
ContextValidate validates this common hash algorithm based on context it is used
type CommonPhyIoMemberUsage ¶
type CommonPhyIoMemberUsage string
CommonPhyIoMemberUsage PhyIoMemberUsage - Indicates how each adaptor must be used by Eve.
- PhyIoUsageMgmtAndApps: Used by both management and apps.
- PhyIoUsageShared: Shared by multiple apps
- PhyIoUsageDedicated: used by only one app
- PhyIoUsageDisabled: Adapter Blocked. Do not use the Adapter.
- PhyIoUsageMgmtOnly: Used for Management traffic only. Cannot be used by Apps.
swagger:model commonPhyIoMemberUsage
const ( // CommonPhyIoMemberUsagePhyIoUsageNone captures enum value "PhyIoUsageNone" CommonPhyIoMemberUsagePhyIoUsageNone CommonPhyIoMemberUsage = "PhyIoUsageNone" // CommonPhyIoMemberUsagePhyIoUsageMgmtAndApps captures enum value "PhyIoUsageMgmtAndApps" CommonPhyIoMemberUsagePhyIoUsageMgmtAndApps CommonPhyIoMemberUsage = "PhyIoUsageMgmtAndApps" CommonPhyIoMemberUsagePhyIoUsageShared CommonPhyIoMemberUsage = "PhyIoUsageShared" // CommonPhyIoMemberUsagePhyIoUsageDedicated captures enum value "PhyIoUsageDedicated" CommonPhyIoMemberUsagePhyIoUsageDedicated CommonPhyIoMemberUsage = "PhyIoUsageDedicated" // CommonPhyIoMemberUsagePhyIoUsageDisabled captures enum value "PhyIoUsageDisabled" CommonPhyIoMemberUsagePhyIoUsageDisabled CommonPhyIoMemberUsage = "PhyIoUsageDisabled" // CommonPhyIoMemberUsagePhyIoUsageMgmtOnly captures enum value "PhyIoUsageMgmtOnly" CommonPhyIoMemberUsagePhyIoUsageMgmtOnly CommonPhyIoMemberUsage = "PhyIoUsageMgmtOnly" )
func NewCommonPhyIoMemberUsage ¶
func NewCommonPhyIoMemberUsage(value CommonPhyIoMemberUsage) *CommonPhyIoMemberUsage
func (CommonPhyIoMemberUsage) ContextValidate ¶
ContextValidate validates this common phy io member usage based on context it is used
type CommonPhyIoType ¶
type CommonPhyIoType string
CommonPhyIoType common phy io type
swagger:model commonPhyIoType
const ( // CommonPhyIoTypePhyIoNoop captures enum value "PhyIoNoop" CommonPhyIoTypePhyIoNoop CommonPhyIoType = "PhyIoNoop" // CommonPhyIoTypePhyIoNetEth captures enum value "PhyIoNetEth" CommonPhyIoTypePhyIoNetEth CommonPhyIoType = "PhyIoNetEth" // CommonPhyIoTypePhyIoUSB captures enum value "PhyIoUSB" CommonPhyIoTypePhyIoUSB CommonPhyIoType = "PhyIoUSB" // CommonPhyIoTypePhyIoCOM captures enum value "PhyIoCOM" CommonPhyIoTypePhyIoCOM CommonPhyIoType = "PhyIoCOM" // CommonPhyIoTypePhyIoAudio captures enum value "PhyIoAudio" CommonPhyIoTypePhyIoAudio CommonPhyIoType = "PhyIoAudio" // CommonPhyIoTypePhyIoNetWLAN captures enum value "PhyIoNetWLAN" CommonPhyIoTypePhyIoNetWLAN CommonPhyIoType = "PhyIoNetWLAN" // CommonPhyIoTypePhyIoNetWWAN captures enum value "PhyIoNetWWAN" CommonPhyIoTypePhyIoNetWWAN CommonPhyIoType = "PhyIoNetWWAN" // CommonPhyIoTypePhyIoHDMI captures enum value "PhyIoHDMI" CommonPhyIoTypePhyIoHDMI CommonPhyIoType = "PhyIoHDMI" // CommonPhyIoTypePhyIoOther captures enum value "PhyIoOther" CommonPhyIoTypePhyIoOther CommonPhyIoType = "PhyIoOther" )
func NewCommonPhyIoType ¶
func NewCommonPhyIoType(value CommonPhyIoType) *CommonPhyIoType
func (CommonPhyIoType) ContextValidate ¶
ContextValidate validates this common phy io type based on context it is used
type ConfigACE ¶
type ConfigACE struct {
// Expect only single action...repeated here is
// for future work.
Actions []*ConfigACEAction `json:"actions"`
// dir
Dir *ConfigACEDirection `json:"dir,omitempty"`
// id
ID int32 `json:"id,omitempty"`
// multiple matches here is for various fields of 6 tuples
// for example
// 1) host=www.example.com & port=http
// 2) ip=8.8.8.8 & port=53 & proto=UDP
Matches []*ConfigACEMatch `json:"matches"`
// name
Name string `json:"name,omitempty"`
}
ConfigACE config a c e
swagger:model configACE
func (*ConfigACE) ContextValidate ¶
ContextValidate validate this config a c e based on the context it is used
func (*ConfigACE) MarshalBinary ¶
MarshalBinary interface implementation
func (*ConfigACE) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ConfigACEAction ¶
type ConfigACEAction struct {
// app port
AppPort int64 `json:"appPort,omitempty"`
// drop
Drop bool `json:"drop,omitempty"`
// limit action, and its associated parameter
Limit bool `json:"limit,omitempty"`
// limitburst
Limitburst int64 `json:"limitburst,omitempty"`
// limitrate
Limitrate int64 `json:"limitrate,omitempty"`
// limitunit
Limitunit string `json:"limitunit,omitempty"`
// port map action, and its associated parameter
Portmap bool `json:"portmap,omitempty"`
}
ConfigACEAction config a c e action
swagger:model configACEAction
func (*ConfigACEAction) ContextValidate ¶
ContextValidate validates this config a c e action based on context it is used
func (*ConfigACEAction) MarshalBinary ¶
func (m *ConfigACEAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigACEAction) UnmarshalBinary ¶
func (m *ConfigACEAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigACEDirection ¶
type ConfigACEDirection string
ConfigACEDirection config a c e direction
swagger:model configACEDirection
const ( // ConfigACEDirectionBOTH captures enum value "BOTH" ConfigACEDirectionBOTH ConfigACEDirection = "BOTH" // ConfigACEDirectionINGRESS captures enum value "INGRESS" ConfigACEDirectionINGRESS ConfigACEDirection = "INGRESS" // ConfigACEDirectionEGRESS captures enum value "EGRESS" ConfigACEDirectionEGRESS ConfigACEDirection = "EGRESS" )
func NewConfigACEDirection ¶
func NewConfigACEDirection(value ConfigACEDirection) *ConfigACEDirection
func (ConfigACEDirection) ContextValidate ¶
ContextValidate validates this config a c e direction based on context it is used
type ConfigACEMatch ¶
type ConfigACEMatch struct {
// FIXME: We should convert this to enum
Type string `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
}
ConfigACEMatch config a c e match
swagger:model configACEMatch
func (*ConfigACEMatch) ContextValidate ¶
ContextValidate validates this config a c e match based on context it is used
func (*ConfigACEMatch) MarshalBinary ¶
func (m *ConfigACEMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigACEMatch) UnmarshalBinary ¶
func (m *ConfigACEMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigAdapter ¶
type ConfigAdapter struct {
// name
Name string `json:"name,omitempty"`
// type
Type *CommonPhyIoType `json:"type,omitempty"`
}
ConfigAdapter Adapter bundles corresponding to a subset of what is in ZioBundle When used by a NetworkInstanceConfig the name is the logicallabel for the network adapter.
swagger:model configAdapter
func (*ConfigAdapter) ContextValidate ¶
ContextValidate validate this config adapter based on the context it is used
func (*ConfigAdapter) MarshalBinary ¶
func (m *ConfigAdapter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigAdapter) UnmarshalBinary ¶
func (m *ConfigAdapter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigAddressType ¶
type ConfigAddressType string
ConfigAddressType config address type
swagger:model configAddressType
const ( // ConfigAddressTypeFirst captures enum value "First" ConfigAddressTypeFirst ConfigAddressType = "First" // ConfigAddressTypeIPV4 captures enum value "IPV4" ConfigAddressTypeIPV4 ConfigAddressType = "IPV4" // ConfigAddressTypeIPV6 captures enum value "IPV6" ConfigAddressTypeIPV6 ConfigAddressType = "IPV6" // ConfigAddressTypeCryptoIPV4 captures enum value "CryptoIPV4" ConfigAddressTypeCryptoIPV4 ConfigAddressType = "CryptoIPV4" // ConfigAddressTypeCryptoIPV6 captures enum value "CryptoIPV6" ConfigAddressTypeCryptoIPV6 ConfigAddressType = "CryptoIPV6" // ConfigAddressTypeLast captures enum value "Last" ConfigAddressTypeLast ConfigAddressType = "Last" )
func NewConfigAddressType ¶
func NewConfigAddressType(value ConfigAddressType) *ConfigAddressType
func (ConfigAddressType) ContextValidate ¶
ContextValidate validates this config address type based on context it is used
type ConfigAppInstanceConfig ¶
type ConfigAppInstanceConfig struct {
// Set activate to start the application instance; clear it to stop it.
Activate bool `json:"activate,omitempty"`
// Physical adapters such as eth1 or USB controllers and GPUs assigned
// to the application instance.
// The Name in Adapter should be set to PhysicalIO.assigngrp
Adapters []*ConfigAdapter `json:"adapters"`
// contains the encrypted userdata
CipherData *ConfigCipherBlock `json:"cipherData,omitempty"`
// The static IP address assigned on the NetworkAdapter which App Container
// stats collection uses. If the 'collectStatsIPAddr' is not empty and valid,
// it enables the container stats collection for this App.
// During App instance creation, after user enables the collection of stats
// from App, cloud needs to make sure at least one 'Local' type of Network-Instance
// is assigned to the App interface, and based on the subnet of the NI, statically
// assign an IP address on the same subnet, e.g. 10.1.0.100
CollectStatsIPAddr string `json:"collectStatsIPAddr,omitempty"`
// displayname
Displayname string `json:"displayname,omitempty"`
// VolumeRefs, if supported by EVE, will supersede drives. Drives still
// exist for backward compatibility.
// Drives will be deprecated in the future.
// The order here is critical because they are presented to the VM or
// container in the order they are listed, e.g., the first VM image
// will be the root disk.
Drives []*ConfigDrive `json:"drives"`
// fixedresources
Fixedresources *ConfigVMConfig `json:"fixedresources,omitempty"`
// NetworkAdapter are virtual adapters assigned to the application
// The order here is critical because they are presented to the VM or
// container in the order they are listed, e.g., the first NetworkAdapter
// will appear in a Linux VM as eth0. Also, the MAC address is determined
// based on the order in the list.
Interfaces []*ConfigNetworkAdapter `json:"interfaces"`
// metadata type to use for app if provided inside userData
MetaDataType *ConfigMetaDataType `json:"metaDataType,omitempty"`
// profile_list is a set of strings which can be used to control which sets
// of applications are run. Combined with the activate flag above.
// If the profile list is empty it means wildcard; application will
// be started independent of the global or local profile specified for the
// device.
ProfileList []string `json:"profile_list"`
// The EVE behavior for a purge command is to restart the application instance
// with the first drive/volumeRef recreated from its origin.
Purge *ConfigInstanceOpsCmd `json:"purge,omitempty"`
// Config flag if the app-instance should be made accessible
// through a remote console session established by the device.
RemoteConsole bool `json:"remoteConsole,omitempty"`
// The device behavior for a restart command (if counter increased)
// is to restart the application instance
// Increasing this multiple times does not imply the application instance
// will restart more than once.
// EVE can assume that the adapters did not change.
Restart *ConfigInstanceOpsCmd `json:"restart,omitempty"`
// App Instance initialization configuration data provided by user
// This will be used as "user-data" in cloud-init
// Empty string will indicate that cloud-init is not required
// It is also used to carry environment variables for containers.
// XXX will be deprecated and replaced by the cipherData below.
UserData string `json:"userData,omitempty"`
// uuidandversion
Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`
// The volumes to be attached to the app-instance.
// The order here is critical because they are presented to the VM or
// container in the order they are listed, e.g., the first VM image
// will be the root disk.
// Note that since the name volumeRef was used before and deprecated
// python protobuf seems to require that we use a different name.
VolumeRefList []*ConfigVolumeRef `json:"volumeRefList"`
}
ConfigAppInstanceConfig The complete configuration for an Application Instance When changing key fields such as the drives/volumeRefs or the number of interfaces, the controller is required to issue a purge command i.e., increase the purge counter. Otherwise there will be an error (The controller can also issue a purge command to re-construct the content of the first drive/volumeRef without any changes.) Some changes such as ACL changes in the interfaces do not require a restart, but all other changes (such as fixedresources and adapters) require a restart command i.e., an increase to the restart counter. The restart counter can also be increased to cause an application instance restart without any other change to the application instance.
swagger:model configAppInstanceConfig
func (*ConfigAppInstanceConfig) ContextValidate ¶
func (m *ConfigAppInstanceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this config app instance config based on the context it is used
func (*ConfigAppInstanceConfig) MarshalBinary ¶
func (m *ConfigAppInstanceConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigAppInstanceConfig) UnmarshalBinary ¶
func (m *ConfigAppInstanceConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigBaseOS ¶
type ConfigBaseOS struct {
// UUID for ContentTree with BaseOS image
ContentTreeUUID string `json:"content_tree_uuid,omitempty"`
// retry_update
// Retry the BaseOs update if the update failed previously.
// 1) If this image is in FAILED state, retry the image update.
// 2) If this image is already active and fully installed (PartitionState = UPDATED),
// Do nothing. Just update the baseos_update_counter in Info message.
// 3) If this image is same as active image, but status is NOT yet UPDATED, or
// if the update to this image is in progress, wait till the update
// concludes (Success / Error+rollback) - then trigger the retry as needed.
RetryUpdate *ConfigDeviceOpsCmd `json:"retry_update,omitempty"`
}
ConfigBaseOS config base o s
swagger:model configBaseOS
func (*ConfigBaseOS) ContextValidate ¶
ContextValidate validate this config base o s based on the context it is used
func (*ConfigBaseOS) MarshalBinary ¶
func (m *ConfigBaseOS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigBaseOS) UnmarshalBinary ¶
func (m *ConfigBaseOS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigBaseOSConfig ¶
type ConfigBaseOSConfig struct {
// activate
Activate bool `json:"activate,omitempty"`
// base o s version
BaseOSVersion string `json:"baseOSVersion,omitempty"`
// volumeID will supersede drives. Drives still
// exist for backward compatibility.
// Drives will be deprecated in the future.
Drives []*ConfigDrive `json:"drives"`
// uuidandversion
Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`
// volume ID
VolumeID string `json:"volumeID,omitempty"`
}
ConfigBaseOSConfig config base o s config
swagger:model configBaseOSConfig
func (*ConfigBaseOSConfig) ContextValidate ¶
ContextValidate validate this config base o s config based on the context it is used
func (*ConfigBaseOSConfig) MarshalBinary ¶
func (m *ConfigBaseOSConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigBaseOSConfig) UnmarshalBinary ¶
func (m *ConfigBaseOSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigCellularConfig ¶
type ConfigCellularConfig struct {
// a p n
APN string `json:"APN,omitempty"`
}
ConfigCellularConfig config cellular config
swagger:model configCellularConfig
func (*ConfigCellularConfig) ContextValidate ¶
ContextValidate validates this config cellular config based on context it is used
func (*ConfigCellularConfig) MarshalBinary ¶
func (m *ConfigCellularConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigCellularConfig) UnmarshalBinary ¶
func (m *ConfigCellularConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigCipherBlock ¶
type ConfigCipherBlock struct {
// cipher context id
CipherContextID string `json:"cipherContextId,omitempty"`
// encrypted sensitive data
// Format: byte
CipherData strfmt.Base64 `json:"cipherData,omitempty"`
// sha256 of the plaintext sensitive data
// Format: byte
ClearTextSha256 strfmt.Base64 `json:"clearTextSha256,omitempty"`
// Initial Value for Symmetric Key derivation
// Format: byte
InitialValue strfmt.Base64 `json:"initialValue,omitempty"`
}
ConfigCipherBlock Encrypted sensitive data information
swagger:model configCipherBlock
func (*ConfigCipherBlock) ContextValidate ¶
ContextValidate validates this config cipher block based on context it is used
func (*ConfigCipherBlock) MarshalBinary ¶
func (m *ConfigCipherBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigCipherBlock) UnmarshalBinary ¶
func (m *ConfigCipherBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigCipherContext ¶
type ConfigCipherContext struct {
// cipher context id, key to this structure
ContextID string `json:"contextId,omitempty"`
// controller certificate hash
// Format: byte
ControllerCertHash strfmt.Base64 `json:"controllerCertHash,omitempty"`
// device public certificate hash
// Format: byte
DeviceCertHash strfmt.Base64 `json:"deviceCertHash,omitempty"`
// for encrypting sensitive data, like AES256 etc.
EncryptionScheme *ConfigEncryptionScheme `json:"encryptionScheme,omitempty"`
// algorithm used to compute hash for certificates
HashScheme *CommonHashAlgorithm `json:"hashScheme,omitempty"`
// for key exchange scheme, like ECDH etc.
KeyExchangeScheme *ConfigKeyExchangeScheme `json:"keyExchangeScheme,omitempty"`
}
ConfigCipherContext Cipher information to decrypt Sensitive Data
swagger:model configCipherContext
func (*ConfigCipherContext) ContextValidate ¶
ContextValidate validate this config cipher context based on the context it is used
func (*ConfigCipherContext) MarshalBinary ¶
func (m *ConfigCipherContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigCipherContext) UnmarshalBinary ¶
func (m *ConfigCipherContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigConfigItem ¶
type ConfigConfigItem struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
ConfigConfigItem Timers and other per-device policy which relates to the interaction with zedcloud. Note that the timers are randomized on the device to avoid synchronization with other devices. Random range is between between .5 and 1.5 of these nominal values. If not set (i.e. zero), it means the default value of 60 seconds.
swagger:model configConfigItem
func (*ConfigConfigItem) ContextValidate ¶
ContextValidate validates this config config item based on context it is used
func (*ConfigConfigItem) MarshalBinary ¶
func (m *ConfigConfigItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigConfigItem) UnmarshalBinary ¶
func (m *ConfigConfigItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigContentTree ¶
type ConfigContentTree struct {
// URL
URL string `json:"URL,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// ds Id
DsID string `json:"dsId,omitempty"`
// For container ContentTree, sha256 might not be available in config.
// If the sha256 is not available then it needs to be resolved corresponding to the tag
// change in generation_count indicates that the resolution of tag is needed
// generation_count needs to be updated when purge is required for an existing
// instance. In case of new instance using the same content tree, EVE will get
// new content tree UUID in the device configuration from the controller.
GenerationCount string `json:"generation_count,omitempty"`
// iformat
Iformat *ConfigFormat `json:"iformat,omitempty"`
// maxSizeBytes used for capping resource consumption in EVE.
// maxSizeBytes indicates the maximum download size of content tree.
MaxSizeBytes string `json:"maxSizeBytes,omitempty"`
// The sha is for the top blob of the ContentTree
Sha256 string `json:"sha256,omitempty"`
// siginfo
Siginfo *ConfigSignatureInfo `json:"siginfo,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
}
ConfigContentTree ContentTree describes the top of some content tree. The controller needs to allocate a uuid for it, and that uuid will be sent by EVE in the ZInfoContentTree message
swagger:model configContentTree
func (*ConfigContentTree) ContextValidate ¶
ContextValidate validate this config content tree based on the context it is used
func (*ConfigContentTree) MarshalBinary ¶
func (m *ConfigContentTree) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigContentTree) UnmarshalBinary ¶
func (m *ConfigContentTree) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDHCPType ¶
type ConfigDHCPType string
ConfigDHCPType - Static: Statically configure the DHCP for port
- DHCPNone: Don't run any DHCP, we are in passthrough mode for app
- Client: Run the DHCP client on this port
swagger:model configDHCPType
const ( // ConfigDHCPTypeDHCPNoop captures enum value "DHCPNoop" ConfigDHCPTypeDHCPNoop ConfigDHCPType = "DHCPNoop" // ConfigDHCPTypeStatic captures enum value "Static" ConfigDHCPTypeStatic ConfigDHCPType = "Static" // ConfigDHCPTypeDHCPNone captures enum value "DHCPNone" ConfigDHCPTypeDHCPNone ConfigDHCPType = "DHCPNone" // ConfigDHCPTypeClient captures enum value "Client" ConfigDHCPTypeClient ConfigDHCPType = "Client" )
func NewConfigDHCPType ¶
func NewConfigDHCPType(value ConfigDHCPType) *ConfigDHCPType
func (ConfigDHCPType) ContextValidate ¶
ContextValidate validates this config d h c p type based on context it is used
type ConfigDatastoreConfig ¶
type ConfigDatastoreConfig struct {
// to be deprecated, use cipherData instead
APIKey string `json:"apiKey,omitempty"`
// contains the encrypted credentials
CipherData *ConfigCipherBlock `json:"cipherData,omitempty"`
// d type
DType *ConfigDsType `json:"dType,omitempty"`
// depending on datastore types, it could be bucket or path
Dpath string `json:"dpath,omitempty"`
// Uploaded datastore certificate or certificate chain
DsCertPEM []strfmt.Base64 `json:"dsCertPEM"`
// fqdn
Fqdn string `json:"fqdn,omitempty"`
// id
ID string `json:"id,omitempty"`
// to be deprecated, use cipherData instead
Password string `json:"password,omitempty"`
// Applies for some datastore types
Region string `json:"region,omitempty"`
}
ConfigDatastoreConfig The DataStoreConfig contains common parameters for a give source of images aka ContentTrees, such as the credentials and server
swagger:model configDatastoreConfig
func (*ConfigDatastoreConfig) ContextValidate ¶
ContextValidate validate this config datastore config based on the context it is used
func (*ConfigDatastoreConfig) MarshalBinary ¶
func (m *ConfigDatastoreConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigDatastoreConfig) UnmarshalBinary ¶
func (m *ConfigDatastoreConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDeviceOpsCmd ¶
type ConfigDeviceOpsCmd struct {
// counter
Counter int64 `json:"counter,omitempty"`
// desired state
DesiredState bool `json:"desiredState,omitempty"`
// FIXME: change to timestamp, once we move to gogo proto
OpsTime string `json:"opsTime,omitempty"`
}
ConfigDeviceOpsCmd Device Operational Commands Semantic For rebooting device, command=Reset, counter = counter+delta, desiredState = on For poweroff device, command=Reset, counter = counter+delta, desiredState = off For backup at midnight, command=Backup, counter = counter+delta, desiredState=n/a, opsTime = mm/dd/yy:hh:ss Current implementation does support only single command outstanding for each type. In future can be extended to have more scheduled events.
swagger:model configDeviceOpsCmd
func (*ConfigDeviceOpsCmd) ContextValidate ¶
ContextValidate validates this config device ops cmd based on context it is used
func (*ConfigDeviceOpsCmd) MarshalBinary ¶
func (m *ConfigDeviceOpsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigDeviceOpsCmd) UnmarshalBinary ¶
func (m *ConfigDeviceOpsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDrive ¶
type ConfigDrive struct {
// drvtype
Drvtype *ConfigDriveType `json:"drvtype,omitempty"`
// image
Image *EveconfigImage `json:"image,omitempty"`
// maxsizebytes indicates the maximum size of the volume.
// Initial image size will be resized to the maxsizebytes
// iff maxsizebytes is greater than the image size.
Maxsizebytes string `json:"maxsizebytes,omitempty"`
// preserve
Preserve bool `json:"preserve,omitempty"`
// readonly
Readonly bool `json:"readonly,omitempty"`
// target
Target *ConfigTarget `json:"target,omitempty"`
}
ConfigDrive XXX the Drive will be deprecated and we will use Volumes instead
swagger:model configDrive
func (*ConfigDrive) ContextValidate ¶
ContextValidate validate this config drive based on the context it is used
func (*ConfigDrive) MarshalBinary ¶
func (m *ConfigDrive) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigDrive) UnmarshalBinary ¶
func (m *ConfigDrive) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDriveType ¶
type ConfigDriveType string
ConfigDriveType XXX the DriveType will be deprecated when we deprecate Drive
- HDD_EMPTY: this type is allocate the empty disk of maxsizebytes specified
swagger:model configDriveType
const ( // ConfigDriveTypeUnclassified captures enum value "Unclassified" ConfigDriveTypeUnclassified ConfigDriveType = "Unclassified" // ConfigDriveTypeCDROM captures enum value "CDROM" ConfigDriveTypeCDROM ConfigDriveType = "CDROM" // ConfigDriveTypeHDD captures enum value "HDD" ConfigDriveTypeHDD ConfigDriveType = "HDD" // ConfigDriveTypeNET captures enum value "NET" ConfigDriveTypeNET ConfigDriveType = "NET" // ConfigDriveTypeHDDEMPTY captures enum value "HDD_EMPTY" ConfigDriveTypeHDDEMPTY ConfigDriveType = "HDD_EMPTY" )
func NewConfigDriveType ¶
func NewConfigDriveType(value ConfigDriveType) *ConfigDriveType
func (ConfigDriveType) ContextValidate ¶
ContextValidate validates this config drive type based on context it is used
type ConfigDsType ¶
type ConfigDsType string
ConfigDsType config ds type
swagger:model configDsType
const ( // ConfigDsTypeDsUnknown captures enum value "DsUnknown" ConfigDsTypeDsUnknown ConfigDsType = "DsUnknown" // ConfigDsTypeDsHTTP captures enum value "DsHttp" ConfigDsTypeDsHTTP ConfigDsType = "DsHttp" // ConfigDsTypeDsHTTPS captures enum value "DsHttps" ConfigDsTypeDsHTTPS ConfigDsType = "DsHttps" // ConfigDsTypeDsS3 captures enum value "DsS3" ConfigDsTypeDsS3 ConfigDsType = "DsS3" // ConfigDsTypeDsSFTP captures enum value "DsSFTP" ConfigDsTypeDsSFTP ConfigDsType = "DsSFTP" // ConfigDsTypeDsContainerRegistry captures enum value "DsContainerRegistry" ConfigDsTypeDsContainerRegistry ConfigDsType = "DsContainerRegistry" // ConfigDsTypeDsAzureBlob captures enum value "DsAzureBlob" ConfigDsTypeDsAzureBlob ConfigDsType = "DsAzureBlob" )
func NewConfigDsType ¶
func NewConfigDsType(value ConfigDsType) *ConfigDsType
func (ConfigDsType) ContextValidate ¶
ContextValidate validates this config ds type based on context it is used
type ConfigEdgeDevConfig ¶
type ConfigEdgeDevConfig struct {
// apps
Apps []*ConfigAppInstanceConfig `json:"apps"`
// backup
Backup *ConfigDeviceOpsCmd `json:"backup,omitempty"`
// OBSOLETE - base. Use baseos instead. Controller should fill this for
// backward compatibility till all the Older Eve images are no longer
// supported.
Base []*ConfigBaseOSConfig `json:"base"`
// Baseos Config Block
Baseos *ConfigBaseOS `json:"baseos,omitempty"`
// controller supplies a list of cipher contexts,
// containing certificate and other details, to be
// used for sensitive data decryption
CipherContexts []*ConfigCipherContext `json:"cipherContexts"`
// config items
ConfigItems []*ConfigConfigItem `json:"configItems"`
// These images aka ContentTrees and Volumes should be created by EVE
// independently of any application usage.
// Application instances will refer to the volumes.
ContentInfo []*ConfigContentTree `json:"contentInfo"`
// controller_epoch indicates current epoch of config
// if we set new epoch, EVE sends all info messages to controller
// it captures when a new controller takes over and needs all the info be resent
ControllerEpoch string `json:"controller_epoch,omitempty"`
// This field is used by the device to detect when it needs to re-download
// the controller certs using the /certs API endpoint.
// The controller just needs to ensure this value changes when it wants the
// device to re-fetch the controller certs, for instance by having it
// be a hash of all of the controller certificates.
ControllercertConfighash string `json:"controllercert_confighash,omitempty"`
// datastores
Datastores []*ConfigDatastoreConfig `json:"datastores"`
// deviceIoList - List of Physical Adapters. Includes both Network
// Adapters and Non-Network Adapters ( USB / Com etc )
DeviceIoList []*ConfigPhysicalIO `json:"deviceIoList"`
// global_profile, if set, controls set of applications which will run.
// The Activate=true app instances which have this profile in their profile_list
// will run. If the global_profile is not set, then the profile_list is not
// used to gate the application instances.
GlobalProfile string `json:"global_profile,omitempty"`
// id
ID *ConfigUUIDandVersion `json:"id,omitempty"`
// local_profile_server, if set, indicates a hostname/IPv4/IPv6 address and
// optional port number at which EVE will request for a local profile.
// If such a local profile is retrieved, it will override the global_profile.
// The syntax follows the usual URL server name syntax thus the following
// are example valid strings:
// [fe80::1]:1234
// 10.1.1.1:1234
// hostname:1234
// [fe80::1]
// 10.1.1.1
// hostname
// If the port number is not specified, it will default to 8888
LocalProfileServer string `json:"local_profile_server,omitempty"`
// deprecated 23;
// If maintence_mode is set the device will operate in a limited mode e.g.,
// not start applications etc as to enable inspection of its state and
// recover from bad state.
MaintenanceMode bool `json:"maintenance_mode,omitempty"`
// Override dmidecode info if set
Manufacturer string `json:"manufacturer,omitempty"`
// network instances
NetworkInstances []*ConfigNetworkInstanceConfig `json:"networkInstances"`
// networks
Networks []*ConfigNetworkConfig `json:"networks"`
// product name
ProductName string `json:"productName,omitempty"`
// Together with a local_profile_server one can specify a
// profile_server_token. EVE must verify that the response from the
// local_profile_server contains this token.
ProfileServerToken string `json:"profile_server_token,omitempty"`
// reboot
Reboot *ConfigDeviceOpsCmd `json:"reboot,omitempty"`
// systemAdapterList - List of DeviceNetworkAdapters. Only Network
// adapters ( Ex: eth0, wlan1 etc ) have a corresponding SystemAdapter.
// non-Network adapters do not have systemadapters.
SystemAdapterList []*ConfigSystemAdapter `json:"systemAdapterList"`
// volumes
Volumes []*ConfigVolume `json:"volumes"`
}
ConfigEdgeDevConfig This is the response to a GET /api/v1/edgeDevice/config The EdgeDevConfig message carries all of the device's configuration from the controller to the device. The device will request these messages either periodically or as a result of some TBD notification. The message is assumed to be protected by a TLS session bound to the device certificate.
swagger:model configEdgeDevConfig
func (*ConfigEdgeDevConfig) ContextValidate ¶
ContextValidate validate this config edge dev config based on the context it is used
func (*ConfigEdgeDevConfig) MarshalBinary ¶
func (m *ConfigEdgeDevConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigEdgeDevConfig) UnmarshalBinary ¶
func (m *ConfigEdgeDevConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigEncryptionScheme ¶
type ConfigEncryptionScheme string
ConfigEncryptionScheme Encryption Scheme for Cipher Payload
swagger:model configEncryptionScheme
const ( // ConfigEncryptionSchemeSANONE captures enum value "SA_NONE" ConfigEncryptionSchemeSANONE ConfigEncryptionScheme = "SA_NONE" // ConfigEncryptionSchemeSAAES256CFB captures enum value "SA_AES_256_CFB" ConfigEncryptionSchemeSAAES256CFB ConfigEncryptionScheme = "SA_AES_256_CFB" )
func NewConfigEncryptionScheme ¶
func NewConfigEncryptionScheme(value ConfigEncryptionScheme) *ConfigEncryptionScheme
func (ConfigEncryptionScheme) ContextValidate ¶
ContextValidate validates this config encryption scheme based on context it is used
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" )
func NewConfigFormat ¶
func NewConfigFormat(value ConfigFormat) *ConfigFormat
func (ConfigFormat) ContextValidate ¶
ContextValidate validates this config format based on context it is used
type ConfigInstanceOpsCmd ¶
type ConfigInstanceOpsCmd struct {
// counter
Counter int64 `json:"counter,omitempty"`
// ops time
OpsTime string `json:"opsTime,omitempty"`
}
ConfigInstanceOpsCmd config instance ops cmd
swagger:model configInstanceOpsCmd
func (*ConfigInstanceOpsCmd) ContextValidate ¶
ContextValidate validates this config instance ops cmd based on context it is used
func (*ConfigInstanceOpsCmd) MarshalBinary ¶
func (m *ConfigInstanceOpsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigInstanceOpsCmd) UnmarshalBinary ¶
func (m *ConfigInstanceOpsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigKeyExchangeScheme ¶
type ConfigKeyExchangeScheme string
ConfigKeyExchangeScheme Security Key Exchange Method
swagger:model configKeyExchangeScheme
const ( // ConfigKeyExchangeSchemeKEANONE captures enum value "KEA_NONE" ConfigKeyExchangeSchemeKEANONE ConfigKeyExchangeScheme = "KEA_NONE" // ConfigKeyExchangeSchemeKEAECDH captures enum value "KEA_ECDH" ConfigKeyExchangeSchemeKEAECDH ConfigKeyExchangeScheme = "KEA_ECDH" )
func NewConfigKeyExchangeScheme ¶
func NewConfigKeyExchangeScheme(value ConfigKeyExchangeScheme) *ConfigKeyExchangeScheme
func (ConfigKeyExchangeScheme) ContextValidate ¶
func (m ConfigKeyExchangeScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config key exchange scheme based on context it is used
type ConfigMetaDataType ¶
type ConfigMetaDataType string
ConfigMetaDataType Type of cloud-init data to provide to application
swagger:model configMetaDataType
const ( // ConfigMetaDataTypeMetaDataDrive captures enum value "MetaDataDrive" ConfigMetaDataTypeMetaDataDrive ConfigMetaDataType = "MetaDataDrive" // ConfigMetaDataTypeMetaDataNone captures enum value "MetaDataNone" ConfigMetaDataTypeMetaDataNone ConfigMetaDataType = "MetaDataNone" // ConfigMetaDataTypeMetaDataOpenStack captures enum value "MetaDataOpenStack" ConfigMetaDataTypeMetaDataOpenStack ConfigMetaDataType = "MetaDataOpenStack" // ConfigMetaDataTypeMetaDataDriveMultipart captures enum value "MetaDataDriveMultipart" ConfigMetaDataTypeMetaDataDriveMultipart ConfigMetaDataType = "MetaDataDriveMultipart" )
func NewConfigMetaDataType ¶
func NewConfigMetaDataType(value ConfigMetaDataType) *ConfigMetaDataType
func (ConfigMetaDataType) ContextValidate ¶
ContextValidate validates this config meta data type based on context it is used
type ConfigNetworkAdapter ¶
type ConfigNetworkAdapter struct {
// access port vlan id
// app interface with access vlan id of zero will be treated as trunk port
// valid vlan id range: 2 - 4093
// vlan id 1 is implicitly used by linux bridges
AccessVlanID int64 `json:"access_vlan_id,omitempty"`
// firewall
Acls []*ConfigACE `json:"acls"`
// addr
Addr string `json:"addr,omitempty"`
// more configuration for getting addr/EID
CryptoEid string `json:"cryptoEid,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// lispsignature
Lispsignature string `json:"lispsignature,omitempty"`
// Used in case of P2V, where we want to specify a macAddress
// to vif, that is simulated towards app
MacAddress string `json:"macAddress,omitempty"`
// name
Name string `json:"name,omitempty"`
// network Id
NetworkID string `json:"networkId,omitempty"`
// pemcert
// Format: byte
Pemcert strfmt.Base64 `json:"pemcert,omitempty"`
// pemprivatekey
// Format: byte
Pemprivatekey strfmt.Base64 `json:"pemprivatekey,omitempty"`
}
ConfigNetworkAdapter config network adapter
swagger:model configNetworkAdapter
func (*ConfigNetworkAdapter) ContextValidate ¶
ContextValidate validate this config network adapter based on the context it is used
func (*ConfigNetworkAdapter) MarshalBinary ¶
func (m *ConfigNetworkAdapter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigNetworkAdapter) UnmarshalBinary ¶
func (m *ConfigNetworkAdapter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigNetworkConfig ¶
type ConfigNetworkConfig struct {
// dns
DNS []*ConfigZnetStaticDNSEntry `json:"dns"`
// enterprise proxy
EntProxy *ConfigProxyConfig `json:"entProxy,omitempty"`
// id
ID string `json:"id,omitempty"`
// network ip specification
IP *Configipspec `json:"ip,omitempty"`
// type
Type *ConfigNetworkType `json:"type,omitempty"`
// wireless specification
Wireless *ConfigWirelessConfig `json:"wireless,omitempty"`
}
ConfigNetworkConfig config network config
swagger:model configNetworkConfig
func (*ConfigNetworkConfig) ContextValidate ¶
ContextValidate validate this config network config based on the context it is used
func (*ConfigNetworkConfig) MarshalBinary ¶
func (m *ConfigNetworkConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigNetworkConfig) UnmarshalBinary ¶
func (m *ConfigNetworkConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigNetworkInstanceConfig ¶
type ConfigNetworkInstanceConfig struct {
// activate
// - True by default. If set to false ( deactivate), the network instance
// configuration is downloaded to the device, but the network instance
// itself is not created on the device.
Activate bool `json:"activate,omitempty"`
// cfg - Used to pass some feature-specific configuration to the
// network instance. For Ex: Lisp, StriongSwan etc
Cfg *ConfigNetworkInstanceOpaqueConfig `json:"cfg,omitempty"`
// displayname
Displayname string `json:"displayname,omitempty"`
// static DNS entry, if we are running DNS/DHCP service
DNS []*ConfigZnetStaticDNSEntry `json:"dns"`
// instType - Type of network instance ( local, bridge etc )
InstType *ConfigZNetworkInstType `json:"instType,omitempty"`
// network ip specification
IP *Configipspec `json:"ip,omitempty"`
// type of ipSpec
IPType *ConfigAddressType `json:"ipType,omitempty"`
// port - Only a single port is supported.
// This is used as the external connection for the network instance.
// This can be a physical (eth0 ) or logical port (vlan 0).
// The port name comes from DeviceConfig ( When it is supported in future).
// If the user needs multiple physical ports, Device config should be
// used to create a label for multiple physical ports.
Port *ConfigAdapter `json:"port,omitempty"`
// uuidandversion
Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`
}
ConfigNetworkInstanceConfig config network instance config
swagger:model configNetworkInstanceConfig
func (*ConfigNetworkInstanceConfig) ContextValidate ¶
func (m *ConfigNetworkInstanceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this config network instance config based on the context it is used
func (*ConfigNetworkInstanceConfig) MarshalBinary ¶
func (m *ConfigNetworkInstanceConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigNetworkInstanceConfig) UnmarshalBinary ¶
func (m *ConfigNetworkInstanceConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigNetworkInstanceLispConfig ¶
type ConfigNetworkInstanceLispConfig struct {
// lisp instance Id
LispInstanceID int64 `json:"LispInstanceId,omitempty"`
// lisp m ss
LispMSs []*ConfigZcServicePoint `json:"LispMSs"`
// allocate
Allocate bool `json:"allocate,omitempty"`
// allocationprefix
// Format: byte
Allocationprefix strfmt.Base64 `json:"allocationprefix,omitempty"`
// allocationprefixlen
Allocationprefixlen int64 `json:"allocationprefixlen,omitempty"`
// various configuration to dataPlane, lispers.net vs Zededa
Experimental bool `json:"experimental,omitempty"`
// exportprivate
Exportprivate bool `json:"exportprivate,omitempty"`
}
ConfigNetworkInstanceLispConfig Lisp NetworkInstance config
swagger:model configNetworkInstanceLispConfig
func (*ConfigNetworkInstanceLispConfig) ContextValidate ¶
func (m *ConfigNetworkInstanceLispConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this config network instance lisp config based on the context it is used
func (*ConfigNetworkInstanceLispConfig) MarshalBinary ¶
func (m *ConfigNetworkInstanceLispConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigNetworkInstanceLispConfig) UnmarshalBinary ¶
func (m *ConfigNetworkInstanceLispConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigNetworkInstanceOpaqueConfig ¶
type ConfigNetworkInstanceOpaqueConfig struct {
// lisp config
LispConfig *ConfigNetworkInstanceLispConfig `json:"lispConfig,omitempty"`
// oconfig
Oconfig string `json:"oconfig,omitempty"`
// type
Type *ConfigZNetworkOpaqueConfigType `json:"type,omitempty"`
}
ConfigNetworkInstanceOpaqueConfig Network Instance Opaque config. In future we might add more fields here but idea is here. This is service specific configuration.
swagger:model configNetworkInstanceOpaqueConfig
func (*ConfigNetworkInstanceOpaqueConfig) ContextValidate ¶
func (m *ConfigNetworkInstanceOpaqueConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this config network instance opaque config based on the context it is used
func (*ConfigNetworkInstanceOpaqueConfig) MarshalBinary ¶
func (m *ConfigNetworkInstanceOpaqueConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigNetworkInstanceOpaqueConfig) UnmarshalBinary ¶
func (m *ConfigNetworkInstanceOpaqueConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigNetworkType ¶
type ConfigNetworkType string
ConfigNetworkType config network type
swagger:model configNetworkType
const ( // ConfigNetworkTypeNETWORKTYPENOOP captures enum value "NETWORKTYPENOOP" ConfigNetworkTypeNETWORKTYPENOOP ConfigNetworkType = "NETWORKTYPENOOP" // ConfigNetworkTypeV4 captures enum value "V4" ConfigNetworkTypeV4 ConfigNetworkType = "V4" // ConfigNetworkTypeV6 captures enum value "V6" ConfigNetworkTypeV6 ConfigNetworkType = "V6" // ConfigNetworkTypeCryptoV4 captures enum value "CryptoV4" ConfigNetworkTypeCryptoV4 ConfigNetworkType = "CryptoV4" // ConfigNetworkTypeCryptoV6 captures enum value "CryptoV6" ConfigNetworkTypeCryptoV6 ConfigNetworkType = "CryptoV6" // ConfigNetworkTypeCryptoEID captures enum value "CryptoEID" ConfigNetworkTypeCryptoEID ConfigNetworkType = "CryptoEID" )
func NewConfigNetworkType ¶
func NewConfigNetworkType(value ConfigNetworkType) *ConfigNetworkType
func (ConfigNetworkType) ContextValidate ¶
ContextValidate validates this config network type based on context it is used
type ConfigPhyIOUsagePolicy ¶
type ConfigPhyIOUsagePolicy struct {
// free uplink
FreeUplink bool `json:"freeUplink,omitempty"`
}
ConfigPhyIOUsagePolicy Given additional details for EVE software to how to treat this interface. Example policies could be limit use of LTE interface or only use Eth1 only if Eth0 is not available etc Note that this is the static information from the model. Current configuration is in systemAdapter
swagger:model configPhyIOUsagePolicy
func (*ConfigPhyIOUsagePolicy) ContextValidate ¶
func (m *ConfigPhyIOUsagePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config phy i o usage policy based on context it is used
func (*ConfigPhyIOUsagePolicy) MarshalBinary ¶
func (m *ConfigPhyIOUsagePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigPhyIOUsagePolicy) UnmarshalBinary ¶
func (m *ConfigPhyIOUsagePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigPhysicalIO ¶
type ConfigPhysicalIO struct {
// assigngrp
// Assignment Group, is unique label that is applied across PhysicalIOs
// EntireGroup can be assigned to application or nothing at all
//
// This is the name used in AppInstanceConfig.adapters to assign an
// adapter to an application.
//
// If assigngrp is not set, the Adapter cannot be assigned to any
// application. One example is, when the adapter is on the same Pci
// bus as another device required by Dom0.
//
// Even if there is only one device on the its PCIBus, the assignGrp Must
// be set.
Assigngrp string `json:"assigngrp,omitempty"`
// physical and logical attributes
// For example in WWAN to which firmware version to load etc
Cbattr map[string]string `json:"cbattr,omitempty"`
// logicallabel - provides the ability to model designer to refer
// the physicalIO port to using more friendly name
// For example Eth0->Mgmt0
// or USBA->ConfigDiskA etc
Logicallabel string `json:"logicallabel,omitempty"`
// The hardware bus address. The key to this map can be of the following
// (case-insensitive) values:
// "pcilong": the address is a PCI id of the form 0000:02:00.0
// "ifname": the address is a string for a network interface like "eth1"
// "serial": the address is a Linux serial port alias such as "/dev/ttyS2"
// "irq": the address is a number such as "5". This can be a comma
// separated list of integers or even a range of integers. Hence using
// a string to address this.
// "ioports": the address is a string such as "2f8-2ff"
// "usbaddr": the address is a USB of the form of "1:2.3"
// If the type is PhyIoNet*, then there needs to be an "ifname" physaddr.
Phyaddrs map[string]string `json:"phyaddrs,omitempty"`
// physical label typically printed on box.
// Example Eth0, Eth1, Wifi0, ComA, ComB
Phylabel string `json:"phylabel,omitempty"`
// ptype
Ptype *CommonPhyIoType `json:"ptype,omitempty"`
// usage - indicates the role of adapter ( mgmt / blocked / app-direct
// etc. )
Usage *CommonPhyIoMemberUsage `json:"usage,omitempty"`
// usagePolicy - Policy Object used to further refine the usage.
// For example, specify if this should be only used as fallback?
// Or used as the primary uplink? Allow App traffic? restrict
// app traffic?? etc..
UsagePolicy *ConfigPhyIOUsagePolicy `json:"usagePolicy,omitempty"`
}
ConfigPhysicalIO PhysicalIO:
Absolute low level description of physical buses and ports that are available on given platform. Collection of these IOs, constitute what we would call as hardware model. Each physical IO is manageable and visible to EVE software, and it can be further configured to either provide IP connectivity or directly be given to workloads
swagger:model configPhysicalIO
func (*ConfigPhysicalIO) ContextValidate ¶
ContextValidate validate this config physical i o based on the context it is used
func (*ConfigPhysicalIO) MarshalBinary ¶
func (m *ConfigPhysicalIO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigPhysicalIO) UnmarshalBinary ¶
func (m *ConfigPhysicalIO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigProxyConfig ¶
type ConfigProxyConfig struct {
// exceptions separated by commas
Exceptions string `json:"exceptions,omitempty"`
// enable network level proxy in the form of WPAD
NetworkProxyEnable bool `json:"networkProxyEnable,omitempty"`
// Direct URL for wpad.dat download
NetworkProxyURL string `json:"networkProxyURL,omitempty"`
// or pacfile can be in place of others
// base64 encoded
Pacfile string `json:"pacfile,omitempty"`
// dedicated per protocol information
Proxies []*ConfigProxyServer `json:"proxies"`
// Uploaded proxy certificate or certificate chain for MITM
// this may be needed either in explicit (has ProxyServer items), automatic
// (networkProxyEnable) or transparent (network layer not aware of proxy)
ProxyCertPEM []strfmt.Base64 `json:"proxyCertPEM"`
}
ConfigProxyConfig config proxy config
swagger:model configProxyConfig
func (*ConfigProxyConfig) ContextValidate ¶
ContextValidate validate this config proxy config based on the context it is used
func (*ConfigProxyConfig) MarshalBinary ¶
func (m *ConfigProxyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigProxyConfig) UnmarshalBinary ¶
func (m *ConfigProxyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigProxyServer ¶
type ConfigProxyServer struct {
// port
Port int64 `json:"port,omitempty"`
// proto
Proto *ConfigproxyProto `json:"proto,omitempty"`
// server
Server string `json:"server,omitempty"`
}
ConfigProxyServer config proxy server
swagger:model configProxyServer
func (*ConfigProxyServer) ContextValidate ¶
ContextValidate validate this config proxy server based on the context it is used
func (*ConfigProxyServer) MarshalBinary ¶
func (m *ConfigProxyServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigProxyServer) UnmarshalBinary ¶
func (m *ConfigProxyServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigServiceResp ¶
type ConfigServiceResp struct {
// config
Config *ConfigEdgeDevConfig `json:"config,omitempty"`
// created at
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// last known status
LastKnownStatus *LastKnownStatus `json:"lastKnownStatus,omitempty"`
// protobuf stringified
Pconfig string `json:"pconfig,omitempty"`
// read at
// Format: date-time
ReadAt strfmt.DateTime `json:"readAt,omitempty"`
// result
Result *ZsrvResponse `json:"result,omitempty"`
// updated at
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}
ConfigServiceResp Edge Device Configuration Response to CLI/UI routed via Kafka
swagger:model ConfigServiceResp
func (*ConfigServiceResp) ContextValidate ¶
ContextValidate validate this config service resp based on the context it is used
func (*ConfigServiceResp) MarshalBinary ¶
func (m *ConfigServiceResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigServiceResp) UnmarshalBinary ¶
func (m *ConfigServiceResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigSignatureInfo ¶
type ConfigSignatureInfo struct {
// intercertsurl
Intercertsurl string `json:"intercertsurl,omitempty"`
// signature
// Format: byte
Signature strfmt.Base64 `json:"signature,omitempty"`
// signercerturl
Signercerturl string `json:"signercerturl,omitempty"`
}
ConfigSignatureInfo XXX this will be deprecated when all deployed instances of EVE no longer expect it. 5.6.X depend on it. 5.7.1 does not.
swagger:model configSignatureInfo
func (*ConfigSignatureInfo) ContextValidate ¶
ContextValidate validates this config signature info based on context it is used
func (*ConfigSignatureInfo) MarshalBinary ¶
func (m *ConfigSignatureInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigSignatureInfo) UnmarshalBinary ¶
func (m *ConfigSignatureInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigSystemAdapter ¶
type ConfigSystemAdapter struct {
// addr - if its static network we need ip address
// If this is specified, networkUUID must also be specified. addr
// is expected to be in sync with the network object (same subnet etc ).
Addr string `json:"addr,omitempty"`
// alias - Device just reflects it back in status / Metrics back to
// cloud.
Alias string `json:"alias,omitempty"`
// cost of using a port for EVE management traffic (which is determined
// from PhysicalIO.usage)
// 0 is the lowest cost (free); 255 the highest.
// Load spreading will apply when multiple adapters have the same cost.
// Higher cost adapters are only tried when none of the lower cost ones work.
Cost int64 `json:"cost,omitempty"`
// deprecated; need level 2 spec. sWAdapterParams allocDetails = 20;
// this is part of the freelink group
// DEPRECATED by cost below
FreeUplink bool `json:"freeUplink,omitempty"`
// lowerLayerName - For example, if lower layer is PhysicalAdapter
// ( physical interface), this should point to PhyLabel of the
// physicalIO.
LowerLayerName string `json:"lowerLayerName,omitempty"`
// name - Name of the Network Interface. This is the Port Name
// used in Info / Metrics / flowlog etc. Name cannot be changed.
// This will be the Network Port name.
Name string `json:"name,omitempty"`
// networkUUID - attach this network config for this adapter
// if not set, depending on Usage of Adapter, would be treated as
// an L2 port
NetworkUUID string `json:"networkUUID,omitempty"`
// uplink - DEPRECATED by PhysicalIO.Usage / PhysicalIO.UsagePolicy
// this is part of the uplink group
// deprecate: have a separate device policy object in the API
Uplink bool `json:"uplink,omitempty"`
}
ConfigSystemAdapter systemAdapters, are the higher l2 concept built on physicalIOs. systemAdapters, gives all the required bits to turn the physical IOs into useful IP endpoints. These endpoints can be further used to connect to controller or can be shared between workload/services running on the node.
swagger:model configSystemAdapter
func (*ConfigSystemAdapter) ContextValidate ¶
ContextValidate validates this config system adapter based on context it is used
func (*ConfigSystemAdapter) MarshalBinary ¶
func (m *ConfigSystemAdapter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigSystemAdapter) UnmarshalBinary ¶
func (m *ConfigSystemAdapter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigTarget ¶
type ConfigTarget string
ConfigTarget config target
swagger:model configTarget
const ( // ConfigTargetTgtUnknown captures enum value "TgtUnknown" ConfigTargetTgtUnknown ConfigTarget = "TgtUnknown" // ConfigTargetDisk captures enum value "Disk" ConfigTargetDisk ConfigTarget = "Disk" // ConfigTargetKernel captures enum value "Kernel" ConfigTargetKernel ConfigTarget = "Kernel" // ConfigTargetInitrd captures enum value "Initrd" ConfigTargetInitrd ConfigTarget = "Initrd" // ConfigTargetRAMDisk captures enum value "RamDisk" ConfigTargetRAMDisk ConfigTarget = "RamDisk" )
func NewConfigTarget ¶
func NewConfigTarget(value ConfigTarget) *ConfigTarget
func (ConfigTarget) ContextValidate ¶
ContextValidate validates this config target based on context it is used
type ConfigUUIDandVersion ¶
type ConfigUUIDandVersion struct {
// uuid
UUID string `json:"uuid,omitempty"`
// version
Version string `json:"version,omitempty"`
}
ConfigUUIDandVersion config u UI dand version
swagger:model configUUIDandVersion
func (*ConfigUUIDandVersion) ContextValidate ¶
ContextValidate validates this config u UI dand version based on context it is used
func (*ConfigUUIDandVersion) MarshalBinary ¶
func (m *ConfigUUIDandVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigUUIDandVersion) UnmarshalBinary ¶
func (m *ConfigUUIDandVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigVMConfig ¶
type ConfigVMConfig struct {
// bootloader
Bootloader string `json:"bootloader,omitempty"`
// cpus
Cpus string `json:"cpus,omitempty"`
// devicetree
Devicetree string `json:"devicetree,omitempty"`
// dtdev
Dtdev []string `json:"dtdev"`
// enable vnc
EnableVnc bool `json:"enableVnc,omitempty"`
// extraargs
Extraargs string `json:"extraargs,omitempty"`
// iomem
Iomem []string `json:"iomem"`
// irqs
Irqs []int64 `json:"irqs"`
// kernel
Kernel string `json:"kernel,omitempty"`
// maxcpus
Maxcpus int64 `json:"maxcpus,omitempty"`
// maxmem
Maxmem int64 `json:"maxmem,omitempty"`
// memory
Memory int64 `json:"memory,omitempty"`
// ramdisk
Ramdisk string `json:"ramdisk,omitempty"`
// rootdev
Rootdev string `json:"rootdev,omitempty"`
// vcpus
Vcpus int64 `json:"vcpus,omitempty"`
// virtualization mode
VirtualizationMode *ConfigVMMode `json:"virtualizationMode,omitempty"`
// vnc display
VncDisplay int64 `json:"vncDisplay,omitempty"`
// vnc passwd
VncPasswd string `json:"vncPasswd,omitempty"`
}
ConfigVMConfig config Vm config
swagger:model configVmConfig
func (*ConfigVMConfig) ContextValidate ¶
ContextValidate validate this config Vm config based on the context it is used
func (*ConfigVMConfig) MarshalBinary ¶
func (m *ConfigVMConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigVMConfig) UnmarshalBinary ¶
func (m *ConfigVMConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigVMMode ¶
type ConfigVMMode string
ConfigVMMode 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 configVmMode
const ( // ConfigVMModePV captures enum value "PV" ConfigVMModePV ConfigVMMode = "PV" // ConfigVMModeHVM captures enum value "HVM" ConfigVMModeHVM ConfigVMMode = "HVM" // ConfigVMModeFiller captures enum value "Filler" ConfigVMModeFiller ConfigVMMode = "Filler" // ConfigVMModeFML captures enum value "FML" ConfigVMModeFML ConfigVMMode = "FML" // ConfigVMModeNOHYPER captures enum value "NOHYPER" ConfigVMModeNOHYPER ConfigVMMode = "NOHYPER" // ConfigVMModeLEGACY captures enum value "LEGACY" ConfigVMModeLEGACY ConfigVMMode = "LEGACY" )
func NewConfigVMMode ¶
func NewConfigVMMode(value ConfigVMMode) *ConfigVMMode
func (ConfigVMMode) ContextValidate ¶
ContextValidate validates this config Vm mode based on context it is used
type ConfigVolume ¶
type ConfigVolume struct {
// clear text
ClearText bool `json:"clear_text,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// change in generationCount indicates that the mutated volume needs to be
// purged and built from scratch. This is a generalization of the purge
// command for an application instance
GenerationCount string `json:"generationCount,omitempty"`
// miscellaneous attributes of the Volume
// maxSizeBytes Used for capping resource consumption in EVE.
// maxSizeBytes indicates the maximum size of the volume.
Maxsizebytes string `json:"maxsizebytes,omitempty"`
// origin of the volume content.
Origin *ConfigVolumeContentOrigin `json:"origin,omitempty"`
// describes all the different ways how this Volume can
// be offered to Tasks
Protocols []*ConfigVolumeAccessProtocols `json:"protocols"`
// readonly
Readonly bool `json:"readonly,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
}
ConfigVolume The Volume describes a storage volume which should exist on the device. This can currently either be blank or created from a ContentTree If maxSizeBytes is zero it means unlimited by the controller. In that case EVE needs to determine how much space it can assign and limit any downloaded ContentTree and the created volume based on that calculated size.
swagger:model configVolume
func (*ConfigVolume) ContextValidate ¶
ContextValidate validate this config volume based on the context it is used
func (*ConfigVolume) MarshalBinary ¶
func (m *ConfigVolume) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigVolume) UnmarshalBinary ¶
func (m *ConfigVolume) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigVolumeAccessProtocols ¶
type ConfigVolumeAccessProtocols string
ConfigVolumeAccessProtocols The protocol that the task will use to access the Volume
swagger:model configVolumeAccessProtocols
const ( // ConfigVolumeAccessProtocolsVAPNONE captures enum value "VAP_NONE" ConfigVolumeAccessProtocolsVAPNONE ConfigVolumeAccessProtocols = "VAP_NONE" // ConfigVolumeAccessProtocolsVAP9P captures enum value "VAP_9P" ConfigVolumeAccessProtocolsVAP9P ConfigVolumeAccessProtocols = "VAP_9P" )
func NewConfigVolumeAccessProtocols ¶
func NewConfigVolumeAccessProtocols(value ConfigVolumeAccessProtocols) *ConfigVolumeAccessProtocols
func (ConfigVolumeAccessProtocols) ContextValidate ¶
func (m ConfigVolumeAccessProtocols) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config volume access protocols based on context it is used
type ConfigVolumeContentOrigin ¶
type ConfigVolumeContentOrigin struct {
// download content tree ID
DownloadContentTreeID string `json:"downloadContentTreeID,omitempty"`
// type
Type *ConfigVolumeContentOriginType `json:"type,omitempty"`
}
ConfigVolumeContentOrigin config volume content origin
swagger:model configVolumeContentOrigin
func (*ConfigVolumeContentOrigin) ContextValidate ¶
func (m *ConfigVolumeContentOrigin) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this config volume content origin based on the context it is used
func (*ConfigVolumeContentOrigin) MarshalBinary ¶
func (m *ConfigVolumeContentOrigin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigVolumeContentOrigin) UnmarshalBinary ¶
func (m *ConfigVolumeContentOrigin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigVolumeContentOriginType ¶
type ConfigVolumeContentOriginType string
ConfigVolumeContentOriginType config volume content origin type
swagger:model configVolumeContentOriginType
const ( // ConfigVolumeContentOriginTypeVCOTUNKNOWN captures enum value "VCOT_UNKNOWN" ConfigVolumeContentOriginTypeVCOTUNKNOWN ConfigVolumeContentOriginType = "VCOT_UNKNOWN" // ConfigVolumeContentOriginTypeVCOTBLANK captures enum value "VCOT_BLANK" ConfigVolumeContentOriginTypeVCOTBLANK ConfigVolumeContentOriginType = "VCOT_BLANK" // ConfigVolumeContentOriginTypeVCOTDOWNLOAD captures enum value "VCOT_DOWNLOAD" ConfigVolumeContentOriginTypeVCOTDOWNLOAD ConfigVolumeContentOriginType = "VCOT_DOWNLOAD" )
func NewConfigVolumeContentOriginType ¶
func NewConfigVolumeContentOriginType(value ConfigVolumeContentOriginType) *ConfigVolumeContentOriginType
func (ConfigVolumeContentOriginType) ContextValidate ¶
func (m ConfigVolumeContentOriginType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config volume content origin type based on context it is used
type ConfigVolumeRef ¶
type ConfigVolumeRef struct {
// generation count
GenerationCount string `json:"generationCount,omitempty"`
// Indicates volume mount point inside container
// if mount_dir is empty then it will be mounted on /mnt
MountDir string `json:"mount_dir,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
}
ConfigVolumeRef Reference to a Volume specified separately in the API If a volume is purged (re-created from scratch) it will either have a new UUID or a new generationCount
swagger:model configVolumeRef
func (*ConfigVolumeRef) ContextValidate ¶
ContextValidate validates this config volume ref based on context it is used
func (*ConfigVolumeRef) MarshalBinary ¶
func (m *ConfigVolumeRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigVolumeRef) UnmarshalBinary ¶
func (m *ConfigVolumeRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigWiFiKeyScheme ¶
type ConfigWiFiKeyScheme string
ConfigWiFiKeyScheme config wi fi key scheme
swagger:model configWiFiKeyScheme
const ( // ConfigWiFiKeySchemeSchemeNOOP captures enum value "SchemeNOOP" ConfigWiFiKeySchemeSchemeNOOP ConfigWiFiKeyScheme = "SchemeNOOP" // ConfigWiFiKeySchemeWPAPSK captures enum value "WPAPSK" ConfigWiFiKeySchemeWPAPSK ConfigWiFiKeyScheme = "WPAPSK" // ConfigWiFiKeySchemeWPAEAP captures enum value "WPAEAP" ConfigWiFiKeySchemeWPAEAP ConfigWiFiKeyScheme = "WPAEAP" )
func NewConfigWiFiKeyScheme ¶
func NewConfigWiFiKeyScheme(value ConfigWiFiKeyScheme) *ConfigWiFiKeyScheme
func (ConfigWiFiKeyScheme) ContextValidate ¶
ContextValidate validates this config wi fi key scheme based on context it is used
type ConfigWifiConfig ¶
type ConfigWifiConfig struct {
// cipher data
CipherData *ConfigCipherBlock `json:"cipherData,omitempty"`
// crypto
Crypto *WifiConfigcryptoblock `json:"crypto,omitempty"`
// to be deprecated, use cipherData instead
Identity string `json:"identity,omitempty"`
// key scheme
KeyScheme *ConfigWiFiKeyScheme `json:"keyScheme,omitempty"`
// to be deprecated, use cipherData instead
Password string `json:"password,omitempty"`
// priority
Priority int32 `json:"priority,omitempty"`
// wifi s s ID
WifiSSID string `json:"wifiSSID,omitempty"`
}
ConfigWifiConfig config wifi config
swagger:model configWifiConfig
func (*ConfigWifiConfig) ContextValidate ¶
ContextValidate validate this config wifi config based on the context it is used
func (*ConfigWifiConfig) MarshalBinary ¶
func (m *ConfigWifiConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigWifiConfig) UnmarshalBinary ¶
func (m *ConfigWifiConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigWirelessConfig ¶
type ConfigWirelessConfig struct {
// cellular cfg
CellularCfg []*ConfigCellularConfig `json:"cellularCfg"`
// type
Type *ConfigWirelessType `json:"type,omitempty"`
// wifi cfg
WifiCfg []*ConfigWifiConfig `json:"wifiCfg"`
}
ConfigWirelessConfig config wireless config
swagger:model configWirelessConfig
func (*ConfigWirelessConfig) ContextValidate ¶
ContextValidate validate this config wireless config based on the context it is used
func (*ConfigWirelessConfig) MarshalBinary ¶
func (m *ConfigWirelessConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigWirelessConfig) UnmarshalBinary ¶
func (m *ConfigWirelessConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigWirelessType ¶
type ConfigWirelessType string
ConfigWirelessType config wireless type
swagger:model configWirelessType
const ( // ConfigWirelessTypeTypeNOOP captures enum value "TypeNOOP" ConfigWirelessTypeTypeNOOP ConfigWirelessType = "TypeNOOP" // ConfigWirelessTypeWiFi captures enum value "WiFi" ConfigWirelessTypeWiFi ConfigWirelessType = "WiFi" // ConfigWirelessTypeCellular captures enum value "Cellular" ConfigWirelessTypeCellular ConfigWirelessType = "Cellular" )
func NewConfigWirelessType ¶
func NewConfigWirelessType(value ConfigWirelessType) *ConfigWirelessType
func (ConfigWirelessType) ContextValidate ¶
ContextValidate validates this config wireless type based on context it is used
type ConfigZNetworkInstType ¶
type ConfigZNetworkInstType string
ConfigZNetworkInstType config z network inst type
swagger:model configZNetworkInstType
const ( // ConfigZNetworkInstTypeZNetInstFirst captures enum value "ZNetInstFirst" ConfigZNetworkInstTypeZNetInstFirst ConfigZNetworkInstType = "ZNetInstFirst" // ConfigZNetworkInstTypeZnetInstSwitch captures enum value "ZnetInstSwitch" ConfigZNetworkInstTypeZnetInstSwitch ConfigZNetworkInstType = "ZnetInstSwitch" // ConfigZNetworkInstTypeZnetInstLocal captures enum value "ZnetInstLocal" ConfigZNetworkInstTypeZnetInstLocal ConfigZNetworkInstType = "ZnetInstLocal" // ConfigZNetworkInstTypeZnetInstCloud captures enum value "ZnetInstCloud" ConfigZNetworkInstTypeZnetInstCloud ConfigZNetworkInstType = "ZnetInstCloud" // ConfigZNetworkInstTypeZnetInstMesh captures enum value "ZnetInstMesh" ConfigZNetworkInstTypeZnetInstMesh ConfigZNetworkInstType = "ZnetInstMesh" // ConfigZNetworkInstTypeZnetInstHoneyPot captures enum value "ZnetInstHoneyPot" ConfigZNetworkInstTypeZnetInstHoneyPot ConfigZNetworkInstType = "ZnetInstHoneyPot" // ConfigZNetworkInstTypeZnetInstTransparent captures enum value "ZnetInstTransparent" ConfigZNetworkInstTypeZnetInstTransparent ConfigZNetworkInstType = "ZnetInstTransparent" // ConfigZNetworkInstTypeZNetInstLast captures enum value "ZNetInstLast" ConfigZNetworkInstTypeZNetInstLast ConfigZNetworkInstType = "ZNetInstLast" )
func NewConfigZNetworkInstType ¶
func NewConfigZNetworkInstType(value ConfigZNetworkInstType) *ConfigZNetworkInstType
func (ConfigZNetworkInstType) ContextValidate ¶
ContextValidate validates this config z network inst type based on context it is used
type ConfigZNetworkOpaqueConfigType ¶
type ConfigZNetworkOpaqueConfigType string
ConfigZNetworkOpaqueConfigType config z network opaque config type
swagger:model configZNetworkOpaqueConfigType
const ( // ConfigZNetworkOpaqueConfigTypeZNetOConfigVPN captures enum value "ZNetOConfigVPN" ConfigZNetworkOpaqueConfigTypeZNetOConfigVPN ConfigZNetworkOpaqueConfigType = "ZNetOConfigVPN" // ConfigZNetworkOpaqueConfigTypeZNetOConfigLisp captures enum value "ZNetOConfigLisp" ConfigZNetworkOpaqueConfigTypeZNetOConfigLisp ConfigZNetworkOpaqueConfigType = "ZNetOConfigLisp" )
func NewConfigZNetworkOpaqueConfigType ¶
func NewConfigZNetworkOpaqueConfigType(value ConfigZNetworkOpaqueConfigType) *ConfigZNetworkOpaqueConfigType
func (ConfigZNetworkOpaqueConfigType) ContextValidate ¶
func (m ConfigZNetworkOpaqueConfigType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config z network opaque config type based on context it is used
type ConfigZcServicePoint ¶
type ConfigZcServicePoint struct {
// credential
Credential string `json:"Credential,omitempty"`
// name or Ip
NameOrIP string `json:"NameOrIp,omitempty"`
// zs type
ZsType *ConfigZcServiceType `json:"zsType,omitempty"`
}
ConfigZcServicePoint This is way to tell the device if there is service in cloud somewhere, what type it is how to access it
swagger:model configZcServicePoint
func (*ConfigZcServicePoint) ContextValidate ¶
ContextValidate validate this config zc service point based on the context it is used
func (*ConfigZcServicePoint) MarshalBinary ¶
func (m *ConfigZcServicePoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigZcServicePoint) UnmarshalBinary ¶
func (m *ConfigZcServicePoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigZcServiceType ¶
type ConfigZcServiceType string
ConfigZcServiceType - mapServer: mapping service for zededa overlay service
- supportServer: if device has support feature enabled, this is cloud service from
device can be reached
swagger:model configZcServiceType
const ( // ConfigZcServiceTypeZcloudInvalidSrv captures enum value "zcloudInvalidSrv" ConfigZcServiceTypeZcloudInvalidSrv ConfigZcServiceType = "zcloudInvalidSrv" // ConfigZcServiceTypeMapServer captures enum value "mapServer" ConfigZcServiceTypeMapServer ConfigZcServiceType = "mapServer" // ConfigZcServiceTypeSupportServer captures enum value "supportServer" ConfigZcServiceTypeSupportServer ConfigZcServiceType = "supportServer" )
func NewConfigZcServiceType ¶
func NewConfigZcServiceType(value ConfigZcServiceType) *ConfigZcServiceType
func (ConfigZcServiceType) ContextValidate ¶
ContextValidate validates this config zc service type based on context it is used
type ConfigZnetStaticDNSEntry ¶
type ConfigZnetStaticDNSEntry struct {
// address
Address []string `json:"Address"`
// host name
HostName string `json:"HostName,omitempty"`
}
ConfigZnetStaticDNSEntry These are list of static mapping that can be added to network
swagger:model configZnetStaticDNSEntry
func (*ConfigZnetStaticDNSEntry) ContextValidate ¶
func (m *ConfigZnetStaticDNSEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config znet static DNS entry based on context it is used
func (*ConfigZnetStaticDNSEntry) MarshalBinary ¶
func (m *ConfigZnetStaticDNSEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigZnetStaticDNSEntry) UnmarshalBinary ¶
func (m *ConfigZnetStaticDNSEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigipRange ¶
type ConfigipRange struct {
// end
End string `json:"end,omitempty"`
// start
Start string `json:"start,omitempty"`
}
ConfigipRange configip range
swagger:model configipRange
func (*ConfigipRange) ContextValidate ¶
ContextValidate validates this configip range based on context it is used
func (*ConfigipRange) MarshalBinary ¶
func (m *ConfigipRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigipRange) UnmarshalBinary ¶
func (m *ConfigipRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configipspec ¶
type Configipspec struct {
// dhcp
Dhcp *ConfigDHCPType `json:"dhcp,omitempty"`
// for IPAM management when dhcp is turned on.
// If none provided, system will default pool.
DhcpRange *ConfigipRange `json:"dhcpRange,omitempty"`
// dns
DNS []string `json:"dns"`
// domain
Domain string `json:"domain,omitempty"`
// gateway
Gateway string `json:"gateway,omitempty"`
// ntp
Ntp string `json:"ntp,omitempty"`
// subnet is CIDR format...x.y.z.l/nn
Subnet string `json:"subnet,omitempty"`
}
Configipspec Common for IPv4 and IPv6
swagger:model configipspec
func (*Configipspec) ContextValidate ¶
ContextValidate validate this configipspec based on the context it is used
func (*Configipspec) MarshalBinary ¶
func (m *Configipspec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configipspec) UnmarshalBinary ¶
func (m *Configipspec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigproxyProto ¶
type ConfigproxyProto string
ConfigproxyProto configproxy proto
swagger:model configproxyProto
const ( // ConfigproxyProtoPROXYHTTP captures enum value "PROXY_HTTP" ConfigproxyProtoPROXYHTTP ConfigproxyProto = "PROXY_HTTP" // ConfigproxyProtoPROXYHTTPS captures enum value "PROXY_HTTPS" ConfigproxyProtoPROXYHTTPS ConfigproxyProto = "PROXY_HTTPS" // ConfigproxyProtoPROXYSOCKS captures enum value "PROXY_SOCKS" ConfigproxyProtoPROXYSOCKS ConfigproxyProto = "PROXY_SOCKS" // ConfigproxyProtoPROXYFTP captures enum value "PROXY_FTP" ConfigproxyProtoPROXYFTP ConfigproxyProto = "PROXY_FTP" // ConfigproxyProtoPROXYOTHER captures enum value "PROXY_OTHER" ConfigproxyProtoPROXYOTHER ConfigproxyProto = "PROXY_OTHER" )
func NewConfigproxyProto ¶
func NewConfigproxyProto(value ConfigproxyProto) *ConfigproxyProto
func (ConfigproxyProto) ContextValidate ¶
ContextValidate validates this configproxy proto based on context it is used
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" )
func NewControllerType ¶
func NewControllerType(value ControllerType) *ControllerType
func (ControllerType) ContextValidate ¶
ContextValidate validates this controller type based on context it is used
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
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 CrudAction ¶
type CrudAction string
CrudAction crud action
swagger:model CrudAction
const ( // CrudActionCrudActionINVALID captures enum value "CrudAction__INVALID__" CrudActionCrudActionINVALID CrudAction = "CrudAction__INVALID__" // CrudActionCrudActionNotApplicable captures enum value "CrudActionNotApplicable" CrudActionCrudActionNotApplicable CrudAction = "CrudActionNotApplicable" // CrudActionCrudActionCreate captures enum value "CrudActionCreate" CrudActionCrudActionCreate CrudAction = "CrudActionCreate" // CrudActionCrudActionRead captures enum value "CrudActionRead" CrudActionCrudActionRead CrudAction = "CrudActionRead" // CrudActionCrudActionUpdate captures enum value "CrudActionUpdate" CrudActionCrudActionUpdate CrudAction = "CrudActionUpdate" // CrudActionCrudActionDelete captures enum value "CrudActionDelete" CrudActionCrudActionDelete CrudAction = "CrudActionDelete" // CrudActionCrudActionQuery captures enum value "CrudActionQuery" CrudActionCrudActionQuery CrudAction = "CrudActionQuery" // CrudActionCrudActionQueryNext captures enum value "CrudActionQueryNext" CrudActionCrudActionQueryNext CrudAction = "CrudActionQueryNext" // CrudActionCrudActionReadSelf captures enum value "CrudActionReadSelf" CrudActionCrudActionReadSelf CrudAction = "CrudActionReadSelf" // CrudActionCrudActionUpdateSelf captures enum value "CrudActionUpdateSelf" CrudActionCrudActionUpdateSelf CrudAction = "CrudActionUpdateSelf" )
func NewCrudAction ¶
func NewCrudAction(value CrudAction) *CrudAction
func (CrudAction) ContextValidate ¶
ContextValidate validates this crud action based on context it is used
type CrudContent ¶
type CrudContent struct {
// clazz
Clazz *ModelClazz `json:"clazz,omitempty"`
// encoding
Encoding *CrudContentEncoding `json:"encoding,omitempty"`
// json
JSON *CrudContentJSON `json:"json,omitempty"`
// oid
Oid *Identifier64 `json:"oid,omitempty"`
// protobuf
Protobuf *CrudContentProtobuf `json:"protobuf,omitempty"`
}
CrudContent Content, with a type encoded either as protobuf or json
swagger:model CrudContent
func (*CrudContent) ContextValidate ¶
ContextValidate validate this crud content based on the context it is used
func (*CrudContent) MarshalBinary ¶
func (m *CrudContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudContent) UnmarshalBinary ¶
func (m *CrudContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudContentEncoding ¶
type CrudContentEncoding string
CrudContentEncoding crud content encoding
swagger:model CrudContentEncoding
const ( // CrudContentEncodingCrudPayloadEncodingINVALID captures enum value "CrudPayloadEncoding__INVALID__" CrudContentEncodingCrudPayloadEncodingINVALID CrudContentEncoding = "CrudPayloadEncoding__INVALID__" // CrudContentEncodingCrudPayloadEncodingProtobuf captures enum value "CrudPayloadEncodingProtobuf" CrudContentEncodingCrudPayloadEncodingProtobuf CrudContentEncoding = "CrudPayloadEncodingProtobuf" // CrudContentEncodingCrudPayloadEncodingJSON captures enum value "CrudPayloadEncodingJSON" CrudContentEncodingCrudPayloadEncodingJSON CrudContentEncoding = "CrudPayloadEncodingJSON" )
func NewCrudContentEncoding ¶
func NewCrudContentEncoding(value CrudContentEncoding) *CrudContentEncoding
func (CrudContentEncoding) ContextValidate ¶
ContextValidate validates this crud content encoding based on context it is used
type CrudContentJSON ¶
type CrudContentJSON struct {
// json
JSON string `json:"json,omitempty"`
}
CrudContentJSON crud content JSON
swagger:model CrudContentJSON
func (*CrudContentJSON) ContextValidate ¶
ContextValidate validates this crud content JSON based on context it is used
func (*CrudContentJSON) MarshalBinary ¶
func (m *CrudContentJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudContentJSON) UnmarshalBinary ¶
func (m *CrudContentJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudContentProtobuf ¶
type CrudContentProtobuf struct {
// credential
Credential *Credential `json:"credential,omitempty"`
// crypto key
CryptoKey string `json:"cryptoKey,omitempty"`
// detailed user
DetailedUser *DetailedUser `json:"detailedUser,omitempty"`
// doc policy
DocPolicy *DocPolicy `json:"docPolicy,omitempty"`
// encrypted secrets
EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`
// enterprise
Enterprise *Enterprise `json:"enterprise,omitempty"`
// policy
Policy *Policy `json:"policy,omitempty"`
// profile
Profile *AuthorizationProfile `json:"profile,omitempty"`
// realm
Realm *Realm `json:"realm,omitempty"`
// role
Role *Role `json:"role,omitempty"`
// simple user
SimpleUser *SimpleUser `json:"simpleUser,omitempty"`
// user
User *DetailedUser `json:"user,omitempty"`
}
CrudContentProtobuf crud content protobuf
swagger:model CrudContentProtobuf
func (*CrudContentProtobuf) ContextValidate ¶
ContextValidate validate this crud content protobuf based on the context it is used
func (*CrudContentProtobuf) MarshalBinary ¶
func (m *CrudContentProtobuf) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudContentProtobuf) UnmarshalBinary ¶
func (m *CrudContentProtobuf) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudResponse ¶
type CrudResponse struct {
// action
Action *CrudAction `json:"action,omitempty"`
// query
Query *CrudResponseQuery `json:"query,omitempty"`
// read
Read *CrudResponseRead `json:"read,omitempty"`
// result
Result *ZsrvResponse `json:"result,omitempty"`
// token
Token *OpaqueToken64 `json:"token,omitempty"`
}
CrudResponse crud response
swagger:model CrudResponse
func (*CrudResponse) ContextValidate ¶
ContextValidate validate this crud response based on the context it is used
func (*CrudResponse) MarshalBinary ¶
func (m *CrudResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudResponse) UnmarshalBinary ¶
func (m *CrudResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudResponseQuery ¶
type CrudResponseQuery struct {
// clazz
Clazz *ModelClazz `json:"clazz,omitempty"`
// Was there anything that matches
Code *CrudResultCode `json:"code,omitempty"`
// credentials
Credentials *Credentials `json:"credentials,omitempty"`
// doc policies
DocPolicies *DocPolicies `json:"docPolicies,omitempty"`
// enterprises
Enterprises *Enterprises `json:"enterprises,omitempty"`
// Global statistics
GlobalStatistics []*CrudStatisticsContainer `json:"globalStatistics"`
// List of the results
List []*CrudResultWithContent `json:"list"`
// policies
Policies *Policies `json:"policies,omitempty"`
// The index of the first result
Position int64 `json:"position,omitempty"`
// profiles
Profiles *AuthorizationProfiles `json:"profiles,omitempty"`
// Global statistics
QueryStatistics []*CrudStatisticsContainer `json:"queryStatistics"`
// The unique id of the query
QueryToken *OpaqueToken64 `json:"queryToken,omitempty"`
// realms
Realms *Realms `json:"realms,omitempty"`
// roles
Roles *Roles `json:"roles,omitempty"`
// The number of results returned, could be less than the requested size
Size int64 `json:"size,omitempty"`
// The total number of result items for this query
Total int64 `json:"total,omitempty"`
// users
Users *DetailedUsers `json:"users,omitempty"`
}
CrudResponseQuery crud response query
swagger:model CrudResponseQuery
func (*CrudResponseQuery) ContextValidate ¶
ContextValidate validate this crud response query based on the context it is used
func (*CrudResponseQuery) MarshalBinary ¶
func (m *CrudResponseQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudResponseQuery) UnmarshalBinary ¶
func (m *CrudResponseQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudResponseRead ¶
type CrudResponseRead struct {
// result
Result *CrudResultWithContent `json:"result,omitempty"`
}
CrudResponseRead crud response read
swagger:model CrudResponseRead
func (*CrudResponseRead) ContextValidate ¶
ContextValidate validate this crud response read based on the context it is used
func (*CrudResponseRead) MarshalBinary ¶
func (m *CrudResponseRead) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudResponseRead) UnmarshalBinary ¶
func (m *CrudResponseRead) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudResultCode ¶
type CrudResultCode string
CrudResultCode Responses to the action requests
swagger:model CrudResultCode
const ( // CrudResultCodeCrudResultCodeINVALID captures enum value "CrudResultCode__INVALID__" CrudResultCodeCrudResultCodeINVALID CrudResultCode = "CrudResultCode__INVALID__" // CrudResultCodeCrudResultCodeSuccess captures enum value "CrudResultCodeSuccess" CrudResultCodeCrudResultCodeSuccess CrudResultCode = "CrudResultCodeSuccess" // CrudResultCodeCrudResultCodeAuthentication captures enum value "CrudResultCodeAuthentication" CrudResultCodeCrudResultCodeAuthentication CrudResultCode = "CrudResultCodeAuthentication" // CrudResultCodeCrudResultCodeAlreadyExists captures enum value "CrudResultCodeAlreadyExists" CrudResultCodeCrudResultCodeAlreadyExists CrudResultCode = "CrudResultCodeAlreadyExists" // CrudResultCodeCrudResultCodeException captures enum value "CrudResultCodeException" CrudResultCodeCrudResultCodeException CrudResultCode = "CrudResultCodeException" // CrudResultCodeCrudResultCodeHasDependencies captures enum value "CrudResultCodeHasDependencies" CrudResultCodeCrudResultCodeHasDependencies CrudResultCode = "CrudResultCodeHasDependencies" // CrudResultCodeCrudResultCodeIllegalArgument captures enum value "CrudResultCodeIllegalArgument" CrudResultCodeCrudResultCodeIllegalArgument CrudResultCode = "CrudResultCodeIllegalArgument" // CrudResultCodeCrudResultCodeIllegalRequest captures enum value "CrudResultCodeIllegalRequest" CrudResultCodeCrudResultCodeIllegalRequest CrudResultCode = "CrudResultCodeIllegalRequest" // CrudResultCodeCrudResultCodeIncomplete captures enum value "CrudResultCodeIncomplete" CrudResultCodeCrudResultCodeIncomplete CrudResultCode = "CrudResultCodeIncomplete" // CrudResultCodeCrudResultCodeInternalError captures enum value "CrudResultCodeInternalError" CrudResultCodeCrudResultCodeInternalError CrudResultCode = "CrudResultCodeInternalError" // CrudResultCodeCrudResultCodeNotFound captures enum value "CrudResultCodeNotFound" CrudResultCodeCrudResultCodeNotFound CrudResultCode = "CrudResultCodeNotFound" // CrudResultCodeCrudResultCodeNotIdentified captures enum value "CrudResultCodeNotIdentified" CrudResultCodeCrudResultCodeNotIdentified CrudResultCode = "CrudResultCodeNotIdentified" // CrudResultCodeCrudResultCodePermissionDenied captures enum value "CrudResultCodePermissionDenied" CrudResultCodeCrudResultCodePermissionDenied CrudResultCode = "CrudResultCodePermissionDenied" // CrudResultCodeCrudResultCodeQueryExpired captures enum value "CrudResultCodeQueryExpired" CrudResultCodeCrudResultCodeQueryExpired CrudResultCode = "CrudResultCodeQueryExpired" // CrudResultCodeCrudResultCodeUnknown captures enum value "CrudResultCodeUnknown" CrudResultCodeCrudResultCodeUnknown CrudResultCode = "CrudResultCodeUnknown" )
func NewCrudResultCode ¶
func NewCrudResultCode(value CrudResultCode) *CrudResultCode
func (CrudResultCode) ContextValidate ¶
ContextValidate validates this crud result code based on context it is used
type CrudResultWithContent ¶
type CrudResultWithContent struct {
// code
Code *CrudResultCode `json:"code,omitempty"`
// content
Content *CrudContent `json:"content,omitempty"`
// identifier
Identifier *Identifier64 `json:"identifier,omitempty"`
}
CrudResultWithContent crud result with content
swagger:model CrudResultWithContent
func (*CrudResultWithContent) ContextValidate ¶
ContextValidate validate this crud result with content based on the context it is used
func (*CrudResultWithContent) MarshalBinary ¶
func (m *CrudResultWithContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudResultWithContent) UnmarshalBinary ¶
func (m *CrudResultWithContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudStatisticsContainer ¶
type CrudStatisticsContainer struct {
// clazz
Clazz *ModelClazz `json:"clazz,omitempty"`
// user
User *CrudStatisticsUser `json:"user,omitempty"`
}
CrudStatisticsContainer Container for per-clazz statistics
swagger:model CrudStatisticsContainer
func (*CrudStatisticsContainer) ContextValidate ¶
func (m *CrudStatisticsContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this crud statistics container based on the context it is used
func (*CrudStatisticsContainer) MarshalBinary ¶
func (m *CrudStatisticsContainer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudStatisticsContainer) UnmarshalBinary ¶
func (m *CrudStatisticsContainer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CrudStatisticsUser ¶
type CrudStatisticsUser struct {
// deleted
Deleted int64 `json:"deleted,omitempty"`
// suspended
Suspended int64 `json:"suspended,omitempty"`
// total
Total int64 `json:"total,omitempty"`
}
CrudStatisticsUser User related statistics
swagger:model CrudStatisticsUser
func (*CrudStatisticsUser) ContextValidate ¶
ContextValidate validates this crud statistics user based on context it is used
func (*CrudStatisticsUser) MarshalBinary ¶
func (m *CrudStatisticsUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CrudStatisticsUser) UnmarshalBinary ¶
func (m *CrudStatisticsUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cursor ¶
type Cursor struct {
// OrderBy helps in sorting the list response
OrderBy string `json:"orderBy,omitempty"`
// 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
Add bool `json:"add,omitempty"`
// allow storage resize
AllowStorageResize bool `json:"allowStorageResize,omitempty"`
// field delimiter
FieldDelimiter string `json:"fieldDelimiter,omitempty"`
// name
Name string `json:"name,omitempty"`
// override
Override bool `json:"override,omitempty"`
// template
Template string `json:"template,omitempty"`
// variable groups
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
Condition *VariableGroupCondition `json:"condition,omitempty"`
// name
Name string `json:"name,omitempty"`
// required
Required bool `json:"required,omitempty"`
// variables
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 CustomUpdateModelFields ¶
type CustomUpdateModelFields struct {
// custom model attributes
CustomModelAttributes *ModelAttributes `json:"customModelAttributes,omitempty"`
}
CustomUpdateModelFields custom update model fields
swagger:model CustomUpdateModelFields
func (*CustomUpdateModelFields) ContextValidate ¶
func (m *CustomUpdateModelFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom update model fields based on the context it is used
func (*CustomUpdateModelFields) MarshalBinary ¶
func (m *CustomUpdateModelFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomUpdateModelFields) UnmarshalBinary ¶
func (m *CustomUpdateModelFields) 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 DatastoreFilter ¶
type DatastoreFilter struct {
// Datastore type to be matched
DsType *DatastoreType `json:"dsType,omitempty"`
// Datastore name pattern to be matched.
// Max Length: 256
// Min Length: 3
// Pattern: [a-zA-Z0-9_.-]{3,256}
NamePattern string `json:"namePattern,omitempty"`
}
DatastoreFilter datastore filter
swagger:model DatastoreFilter
func (*DatastoreFilter) ContextValidate ¶
ContextValidate validate this datastore filter based on the context it is used
func (*DatastoreFilter) MarshalBinary ¶
func (m *DatastoreFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreFilter) UnmarshalBinary ¶
func (m *DatastoreFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreInfo ¶
type DatastoreInfo struct {
// api key
APIKey string `json:"apiKey,omitempty"`
// datastore certificate if applicable
//
// 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"`
// encrypted secrets
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"`
// Origin type of datastore.
// Read Only: true
OriginType *Origin `json:"originType,omitempty"`
// 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"`
}
DatastoreInfo 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 DatastoreInfo
func (*DatastoreInfo) ContextValidate ¶
ContextValidate validate this datastore info based on the context it is used
func (*DatastoreInfo) MarshalBinary ¶
func (m *DatastoreInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreInfo) UnmarshalBinary ¶
func (m *DatastoreInfo) UnmarshalBinary(b []byte) error
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 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
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
type Datastores ¶
type Datastores struct {
// List of filtered Datastore records
List []*DatastoreInfo `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 DecsriptionCode ¶
type DecsriptionCode string
DecsriptionCode description codes for internal use (Gilas and Niles)
swagger:model DecsriptionCode
const ( // DecsriptionCodeDESCRIPTIONCODEUNSPECIFIED captures enum value "DESCRIPTION_CODE_UNSPECIFIED" DecsriptionCodeDESCRIPTIONCODEUNSPECIFIED DecsriptionCode = "DESCRIPTION_CODE_UNSPECIFIED" // DecsriptionCodeDESCRIPTIONCODERECEIVED captures enum value "DESCRIPTION_CODE_RECEIVED" DecsriptionCodeDESCRIPTIONCODERECEIVED DecsriptionCode = "DESCRIPTION_CODE_RECEIVED" // DecsriptionCodeDESCRIPTIONCODEPACKETCORRUPT captures enum value "DESCRIPTION_CODE_PACKET_CORRUPT" DecsriptionCodeDESCRIPTIONCODEPACKETCORRUPT DecsriptionCode = "DESCRIPTION_CODE_PACKET_CORRUPT" // DecsriptionCodeDESCRIPTIONCODEFAILEDTORECEIVE captures enum value "DESCRIPTION_CODE_FAILED_TO_RECEIVE" DecsriptionCodeDESCRIPTIONCODEFAILEDTORECEIVE DecsriptionCode = "DESCRIPTION_CODE_FAILED_TO_RECEIVE" // DecsriptionCodeDESCRIPTIONCODENETWORKERROR captures enum value "DESCRIPTION_CODE_NETWORK_ERROR" DecsriptionCodeDESCRIPTIONCODENETWORKERROR DecsriptionCode = "DESCRIPTION_CODE_NETWORK_ERROR" // DecsriptionCodeDESCRIPTIONCODENOTFOUND captures enum value "DESCRIPTION_CODE_NOT_FOUND" DecsriptionCodeDESCRIPTIONCODENOTFOUND DecsriptionCode = "DESCRIPTION_CODE_NOT_FOUND" // DecsriptionCodeDESCRIPTIONCODENOTSUPPORTED captures enum value "DESCRIPTION_CODE_NOT_SUPPORTED" DecsriptionCodeDESCRIPTIONCODENOTSUPPORTED DecsriptionCode = "DESCRIPTION_CODE_NOT_SUPPORTED" // DecsriptionCodeDESCRIPTIONCODEINTERNALERROR captures enum value "DESCRIPTION_CODE_INTERNAL_ERROR" DecsriptionCodeDESCRIPTIONCODEINTERNALERROR DecsriptionCode = "DESCRIPTION_CODE_INTERNAL_ERROR" // DecsriptionCodeDESCRIPTIONCODENOTSPECIFIED captures enum value "DESCRIPTION_CODE_NOT_SPECIFIED" DecsriptionCodeDESCRIPTIONCODENOTSPECIFIED DecsriptionCode = "DESCRIPTION_CODE_NOT_SPECIFIED" // DecsriptionCodeDESCRIPTIONCODEUPLOADDONE captures enum value "DESCRIPTION_CODE_UPLOAD_DONE" DecsriptionCodeDESCRIPTIONCODEUPLOADDONE DecsriptionCode = "DESCRIPTION_CODE_UPLOAD_DONE" // DecsriptionCodeDESCRIPTIONCODEALREADYEXISTS captures enum value "DESCRIPTION_CODE_ALREADY_EXISTS" DecsriptionCodeDESCRIPTIONCODEALREADYEXISTS DecsriptionCode = "DESCRIPTION_CODE_ALREADY_EXISTS" // DecsriptionCodeDESCRIPTIONCODEINVALIDPARAMS captures enum value "DESCRIPTION_CODE_INVALID_PARAMS" DecsriptionCodeDESCRIPTIONCODEINVALIDPARAMS DecsriptionCode = "DESCRIPTION_CODE_INVALID_PARAMS" )
func NewDecsriptionCode ¶
func NewDecsriptionCode(value DecsriptionCode) *DecsriptionCode
func (DecsriptionCode) ContextValidate ¶
ContextValidate validates this decsription code based on context it is used
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" )
func NewDeploymentType ¶
func NewDeploymentType(value DeploymentType) *DeploymentType
func (DeploymentType) ContextValidate ¶
ContextValidate validates this deployment type based on context it is used
type Description ¶
type Description struct {
// description code for an operation
// Read Only: true
DescCode *DecsriptionCode `json:"descCode,omitempty"`
// description of an operation
// Read Only: true
DescMessage string `json:"descMessage,omitempty"`
}
Description Description encapsulates the top level Description of the operation
Description encapsulates the top level Description of the operation ¶
swagger:model Description
func (*Description) ContextValidate ¶
ContextValidate validate this description based on the context it is used
func (*Description) MarshalBinary ¶
func (m *Description) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Description) UnmarshalBinary ¶
func (m *Description) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 input
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"`
// 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 DetailedUsers ¶
type DetailedUsers struct {
// List of users
List []*DetailedUser `json:"list"`
// Page details of the filtered records
Next *Cursor `json:"next,omitempty"`
// Summary of filtered users
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
DetailedUsers detailed users
swagger:model DetailedUsers
func (*DetailedUsers) ContextValidate ¶
ContextValidate validate this detailed users based on the context it is used
func (*DetailedUsers) MarshalBinary ¶
func (m *DetailedUsers) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailedUsers) UnmarshalBinary ¶
func (m *DetailedUsers) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Details ¶
type Details struct {
// agreement list
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"`
// Schema: {<license_name>:<url>}
LicenseList map[string]string `json:"licenseList,omitempty"`
// logo
Logo map[string]string `json:"logo,omitempty"`
// Edge application's Operating System
Os string `json:"os,omitempty"`
// screenshot list
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 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 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
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
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" )
func NewDeviceCmdsSubType ¶
func NewDeviceCmdsSubType(value DeviceCmdsSubType) *DeviceCmdsSubType
func (DeviceCmdsSubType) ContextValidate ¶
ContextValidate validates this device cmds sub type based on context it is used
type DeviceConfig ¶
type DeviceConfig struct {
// administrative state of device
AdminState *AdminState `json:"adminState,omitempty"`
// Device asset ID
AssetID string `json:"assetId,omitempty"`
// base images
BaseImage []*BaseOSImage `json:"baseImage"`
// 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"`
// 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"`
// 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 []*SysInterface `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"`
// 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
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"`
}
DeviceConfig Device Configuration payload detail
Device Configuration request paylod holds the device properties ¶
swagger:model DeviceConfig
func (*DeviceConfig) ContextValidate ¶
ContextValidate validate this device config based on the context it is used
func (*DeviceConfig) MarshalBinary ¶
func (m *DeviceConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceConfig) UnmarshalBinary ¶
func (m *DeviceConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"`
}
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"`
// 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 []*SysInterface `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
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
type DeviceEntity ¶
type DeviceEntity struct {
// entity
Entity *Entity `json:"entity,omitempty"`
// entity Id
EntityID string `json:"entityId,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:"retry_condition,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 {
// name pattern
// Required: true
NamePattern *string `json:"namePattern"`
// project
// Required: true
Project *string `json:"project"`
}
DeviceFilter DeviceFilter payload detail
DeviceFilter request paylod ¶
swagger:model DeviceFilter
func (*DeviceFilter) ContextValidate ¶
ContextValidate validates this device filter based on 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
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 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 *strfmt.Base64 `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
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 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
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
type DeviceStatusFilter ¶
type DeviceStatusFilter struct {
// load
Load *DeviceLoad `json:"load,omitempty"`
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// project name
ProjectName string `json:"projectName,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"`
}
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 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"`
}
DeviceStatusMsg device status msg
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"`
// 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"`
// dev error
DevError []*DeviceError `json:"devError"`
// dinfo
Dinfo *DeviceInfo `json:"dinfo,omitempty"`
// id
ID string `json:"id,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"`
// run state
RunState *RunState `json:"runState,omitempty"`
// sw info
SwInfo []*DeviceSWInfo `json:"swInfo"`
// deprecated = 5;
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 {
// for IPAM management when dhcp is turned on.
// If none provided, system will default pool.
DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"`
// possible DNS ip address
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"`
}
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 DocPolicies ¶
type DocPolicies struct {
// List of docpolicy
List []*DocPolicySummary `json:"list"`
// Page details of the filtered records
Next *Cursor `json:"next,omitempty"`
// Summary of filtered docpolicy
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
DocPolicies doc policies
swagger:model DocPolicies
func (*DocPolicies) ContextValidate ¶
ContextValidate validate this doc policies based on the context it is used
func (*DocPolicies) MarshalBinary ¶
func (m *DocPolicies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DocPolicies) UnmarshalBinary ¶
func (m *DocPolicies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DocPolicy ¶
type DocPolicy struct {
// Policy doc fileURL
FileURL string `json:"fileURL,omitempty"`
// Unique system defined docpolicy ID
// Read Only: true
// Pattern: [0-9A-Za-z_=-]{28}
ID string `json:"id,omitempty"`
// Mark latest docpolicy check
Latest bool `json:"latest,omitempty"`
// User defined name of the docpolicy. Name cannot be changed once created
// Required: true
// Max Length: 256
// Min Length: 3
// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
PolicyName *string `json:"policyName"`
// System defined info
// Read Only: true
Revision *ObjectRevision `json:"revision,omitempty"`
// Server Host
ServerHost string `json:"serverHost,omitempty"`
// Policy doc version
Version string `json:"version,omitempty"`
}
DocPolicy DocPolicy detail
DocPolicy meta data ¶
swagger:model DocPolicy
func (*DocPolicy) ContextValidate ¶
ContextValidate validate this doc policy based on the context it is used
func (*DocPolicy) MarshalBinary ¶
MarshalBinary interface implementation
func (*DocPolicy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DocPolicySummary ¶
type DocPolicySummary struct {
// Policy doc fileURL
FileURL string `json:"fileURL,omitempty"`
// User defined name of the docpolicy. Name cannot be changed once created
// Max Length: 256
// Min Length: 3
// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
Policy string `json:"policy,omitempty"`
// System defined info
// Read Only: true
Revision *ObjectRevision `json:"revision,omitempty"`
// Policy doc version
Version string `json:"version,omitempty"`
}
DocPolicySummary DocPolicy detail
DocPolicy meta data ¶
swagger:model DocPolicySummary
func (*DocPolicySummary) ContextValidate ¶
ContextValidate validate this doc policy summary based on the context it is used
func (*DocPolicySummary) MarshalBinary ¶
func (m *DocPolicySummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DocPolicySummary) UnmarshalBinary ¶
func (m *DocPolicySummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Drive ¶
type Drive struct {
// don't encrypt, store in cleartext
Cleartext bool `json:"cleartext,omitempty"`
// Drive type
// Required: true
Drvtype *string `json:"drvtype"`
// don't purge this Drive, only applicable to purge command
Ignorepurge bool `json:"ignorepurge,omitempty"`
// Image name
// Required: true
Imagename *string `json:"imagename"`
// immutable Volume for this drive
Imvolname string `json:"imvolname,omitempty"`
// Drive maximum size
// Required: true
Maxsize *uint64 `json:"maxsize"`
// Mount Path
Mountpath string `json:"mountpath,omitempty"`
// mutable Volume for this drive
Mvolname string `json:"mvolname,omitempty"`
// Preserves flag which preserves the volume
// Required: true
Preserve bool `json:"preserve"`
// Read only flag
// Required: true
Readonly bool `json:"readonly"`
// Target drive
// 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 int64 `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 *strfmt.Base64 `json:"AppCert"`
// App private key
// Required: true
// Format: byte
AppPrivateKey *strfmt.Base64 `json:"AppPrivateKey"`
// App public key
// Required: true
// Format: byte
AppPublicKey *strfmt.Base64 `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 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
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
type Enterprise ¶
type Enterprise struct {
// hubspot Id
HubspotID string `json:"HubspotId,omitempty"`
// sfdc Id
SfdcID string `json:"SfdcId,omitempty"`
// attributes
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"`
// 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"`
// 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 type
Type *EnterpriseType `json:"type,omitempty"`
}
Enterprise Enterprise detail
Enterprise meta data ¶
swagger:model Enterprise
func (*Enterprise) ContextValidate ¶
ContextValidate validate this enterprise based on the context it is used
func (*Enterprise) MarshalBinary ¶
func (m *Enterprise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Enterprise) UnmarshalBinary ¶
func (m *Enterprise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnterpriseState ¶
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 ¶
func NewEnterpriseState(value EnterpriseState) *EnterpriseState
func (EnterpriseState) ContextValidate ¶
ContextValidate validates this enterprise state based on context it is used
type EnterpriseSummary ¶
type EnterpriseSummary struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
}
EnterpriseSummary enterprise summary
swagger:model EnterpriseSummary
func (*EnterpriseSummary) ContextValidate ¶
ContextValidate validates this enterprise summary based on context it is used
func (*EnterpriseSummary) MarshalBinary ¶
func (m *EnterpriseSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnterpriseSummary) UnmarshalBinary ¶
func (m *EnterpriseSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnterpriseType ¶
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 ¶
func NewEnterpriseType(value EnterpriseType) *EnterpriseType
func (EnterpriseType) ContextValidate ¶
ContextValidate validates this enterprise type based on context it is used
type Enterprises ¶
type Enterprises struct {
// List of enterprises
List []*Enterprise `json:"list"`
// Page details of the filtered records
Next *Cursor `json:"next,omitempty"`
// Summary of filtered enterprises
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
Enterprises enterprises
swagger:model Enterprises
func (*Enterprises) ContextValidate ¶
ContextValidate validate this enterprises based on the context it is used
func (*Enterprises) MarshalBinary ¶
func (m *Enterprises) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Enterprises) UnmarshalBinary ¶
func (m *Enterprises) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 EveconfigImage ¶
type EveconfigImage struct {
// ds Id
DsID string `json:"dsId,omitempty"`
// iformat
Iformat *ConfigFormat `json:"iformat,omitempty"`
// it could be relative path/name as well; appended to the datastore dpath
Name string `json:"name,omitempty"`
// sha256
Sha256 string `json:"sha256,omitempty"`
// if its signed image
Siginfo *ConfigSignatureInfo `json:"siginfo,omitempty"`
// sizeBytes indicates the maximum download size of an image.
// A value of 0 will indicate the unlimited download.
SizeBytes string `json:"sizeBytes,omitempty"`
// uuidandversion
Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`
}
EveconfigImage XXX the Image will be deprecated and we will use ContentTree instead
swagger:model eveconfigImage
func (*EveconfigImage) ContextValidate ¶
ContextValidate validate this eveconfig image based on the context it is used
func (*EveconfigImage) MarshalBinary ¶
func (m *EveconfigImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EveconfigImage) UnmarshalBinary ¶
func (m *EveconfigImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventQueryResponse ¶
type EventQueryResponse struct {
// Event Query response list
// Required: true
List []*EventQueryResponseItem `json:"list"`
// Cursor filter
// Required: true
Next *Cursor `json:"next"`
}
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:"json_data,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
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
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
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
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
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 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 HealthDesc ¶
type HealthDesc struct {
// brief health
BriefHealth *BriefHealth `json:"briefHealth,omitempty"`
// env name
EnvName string `json:"envName,omitempty"`
// host name
HostName string `json:"hostName,omitempty"`
// service instance
ServiceInstance string `json:"serviceInstance,omitempty"`
// service name
ServiceName string `json:"serviceName,omitempty"`
}
HealthDesc health desc
swagger:model HealthDesc
func (*HealthDesc) ContextValidate ¶
ContextValidate validate this health desc based on the context it is used
func (*HealthDesc) MarshalBinary ¶
func (m *HealthDesc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthDesc) UnmarshalBinary ¶
func (m *HealthDesc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthServiceResp ¶
type HealthServiceResp struct {
// health desc
HealthDesc []*HealthDesc `json:"healthDesc"`
// health service
HealthService *HealthServiceSubType `json:"healthService,omitempty"`
// hresult
Hresult *ZsrvResponse `json:"hresult,omitempty"`
}
HealthServiceResp health service resp
swagger:model HealthServiceResp
func (*HealthServiceResp) ContextValidate ¶
ContextValidate validate this health service resp based on the context it is used
func (*HealthServiceResp) MarshalBinary ¶
func (m *HealthServiceResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthServiceResp) UnmarshalBinary ¶
func (m *HealthServiceResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthServiceSubType ¶
type HealthServiceSubType string
HealthServiceSubType health service sub type
swagger:model HealthServiceSubType
const ( // HealthServiceSubTypePublisher captures enum value "Publisher" HealthServiceSubTypePublisher HealthServiceSubType = "Publisher" // HealthServiceSubTypeSubscriber captures enum value "Subscriber" HealthServiceSubTypeSubscriber HealthServiceSubType = "Subscriber" )
func NewHealthServiceSubType ¶
func NewHealthServiceSubType(value HealthServiceSubType) *HealthServiceSubType
func (HealthServiceSubType) ContextValidate ¶
ContextValidate validates this health service sub type based on context it is used
type HelloName ¶
type HelloName struct {
// crypto key
CryptoKey string `json:"cryptoKey,omitempty"`
// encrypted secrets
EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
}
HelloName hello name
swagger:model HelloName
func (*HelloName) ContextValidate ¶
ContextValidate validates this hello name based on context it is used
func (*HelloName) MarshalBinary ¶
MarshalBinary interface implementation
func (*HelloName) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HelloResp ¶
type HelloResp struct {
// response
Response string `json:"response,omitempty"`
}
HelloResp hello resp
swagger:model HelloResp
func (*HelloResp) ContextValidate ¶
ContextValidate validates this hello resp based on context it is used
func (*HelloResp) MarshalBinary ¶
MarshalBinary interface implementation
func (*HelloResp) UnmarshalBinary ¶
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 IAMFilter ¶
type IAMFilter struct {
// all
All bool `json:"all,omitempty"`
// entpstate
Entpstate string `json:"entpstate,omitempty"`
// hubspotid
Hubspotid string `json:"hubspotid,omitempty"`
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// projectid
Projectid []string `json:"projectid"`
// sfdcid
Sfdcid string `json:"sfdcid,omitempty"`
// userstate
Userstate string `json:"userstate,omitempty"`
}
IAMFilter i a m filter
swagger:model IAMFilter
func (*IAMFilter) ContextValidate ¶
ContextValidate validates this i a m filter based on context it is used
func (*IAMFilter) MarshalBinary ¶
MarshalBinary interface implementation
func (*IAMFilter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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:"deprecated_dhcp,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 Identifier64 ¶
type Identifier64 struct {
// base64
Base64 string `json:"base64,omitempty"`
}
Identifier64 Generic identifier, base64 encoding
swagger:model Identifier64
func (*Identifier64) ContextValidate ¶
ContextValidate validates this identifier64 based on context it is used
func (*Identifier64) MarshalBinary ¶
func (m *Identifier64) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Identifier64) UnmarshalBinary ¶
func (m *Identifier64) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageConfig ¶
type ImageConfig 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"`
// 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"`
}
ImageConfig Image metadata detail
Image metadata for edge gateway Base OS or for eedge applications.
swagger:model ImageConfig
func (*ImageConfig) ContextValidate ¶
ContextValidate validate this image config based on the context it is used
func (*ImageConfig) MarshalBinary ¶
func (m *ImageConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageConfig) UnmarshalBinary ¶
func (m *ImageConfig) UnmarshalBinary(b []byte) error
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 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
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 []*ImageConfig `json:"list"`
// Responded page details of filtered records
Next *Cursor `json:"next,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 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 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
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 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:"lte_info,omitempty"`
// 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
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"`
// phyaddrs
// 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"`
// 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
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 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_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" // 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 JobConfig ¶
type JobConfig struct {
// user or system specified description
Description string `json:"description,omitempty"`
// detailed error with which job/task has failed
// Read Only: true
ErrorDetailOfJob string `json:"errorDetailOfJob,omitempty"`
// finish time of the job
// Read Only: true
// Format: date-time
FinishTime strfmt.DateTime `json:"finishTime,omitempty"`
// System defined universally unique Id of the job 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"`
// individual op status
IndividualOpStatus map[string]string `json:"individualOpStatus,omitempty"`
// User defined name of the job 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"`
// object list
ObjectList []string `json:"objectList"`
// object type for which job has been created
// Required: true
ObjectType *ObjectType `json:"objectType"`
// operation type
OperationType *BulkService `json:"operationType,omitempty"`
// project Id in which job is getting created
ProjectID string `json:"projectId,omitempty"`
// system defined info
// Read Only: true
Revision *ObjectRevision `json:"revision,omitempty"`
// selection criteria for the job
// Read Only: true
SelectionCriteria *SelectionCriteria `json:"selectionCriteria,omitempty"`
// start time of the job
// Read Only: true
// Format: date-time
StartTime strfmt.DateTime `json:"startTime,omitempty"`
// status of the job
// Read Only: true
Status *JobStatus `json:"status,omitempty"`
// user or system specified title
Title string `json:"title,omitempty"`
}
JobConfig config required for job ops
config required for job ops Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-job","objectType":"OBJECT_TYPE_EDGE_NODE"}
swagger:model JobConfig
func (*JobConfig) ContextValidate ¶
ContextValidate validate this job config based on the context it is used
func (*JobConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobConfigList ¶
type JobConfigList struct {
// Summary information about job list records.
JobListSummary *Summary `json:"jobListSummary,omitempty"`
// Details of job list records.
List []*JobConfig `json:"list"`
// Returned record page.
Next *Cursor `json:"next,omitempty"`
}
JobConfigList Job list records
Returned list of jobs matched by filter criteria ¶
swagger:model JobConfigList
func (*JobConfigList) ContextValidate ¶
ContextValidate validate this job config list based on the context it is used
func (*JobConfigList) MarshalBinary ¶
func (m *JobConfigList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobConfigList) UnmarshalBinary ¶
func (m *JobConfigList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobFilter ¶
type JobFilter struct {
// status of the job.
JobStatus *JobStatus `json:"jobStatus,omitempty"`
// name pattern of the job.
// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
NamePattern string `json:"namePattern,omitempty"`
// project name.
ProjectName string `json:"projectName,omitempty"`
}
JobFilter Job list filter criteria
Filter criteria for the job list.
swagger:model JobFilter
func (*JobFilter) ContextValidate ¶
ContextValidate validate this job filter based on the context it is used
func (*JobFilter) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobFilter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobStatus ¶
type JobStatus string
JobStatus job status.
swagger:model JobStatus
const ( // JobStatusJOBSTATUSUNSPECIFIED captures enum value "JOB_STATUS_UNSPECIFIED" JobStatusJOBSTATUSUNSPECIFIED JobStatus = "JOB_STATUS_UNSPECIFIED" // JobStatusJOBSTATUSINITIALIZED captures enum value "JOB_STATUS_INITIALIZED" JobStatusJOBSTATUSINITIALIZED JobStatus = "JOB_STATUS_INITIALIZED" // JobStatusJOBSTATUSREADY captures enum value "JOB_STATUS_READY" JobStatusJOBSTATUSREADY JobStatus = "JOB_STATUS_READY" // JobStatusJOBSTATUSINPROGRESS captures enum value "JOB_STATUS_INPROGRESS" JobStatusJOBSTATUSINPROGRESS JobStatus = "JOB_STATUS_INPROGRESS" // JobStatusJOBSTATUSCOMPLETED captures enum value "JOB_STATUS_COMPLETED" JobStatusJOBSTATUSCOMPLETED JobStatus = "JOB_STATUS_COMPLETED" // JobStatusJOBSTATUSFAILED captures enum value "JOB_STATUS_FAILED" JobStatusJOBSTATUSFAILED JobStatus = "JOB_STATUS_FAILED" // JobStatusJOBSTATUSABORTED captures enum value "JOB_STATUS_ABORTED" JobStatusJOBSTATUSABORTED JobStatus = "JOB_STATUS_ABORTED" )
func NewJobStatus ¶
func (JobStatus) ContextValidate ¶
ContextValidate validates this job status based on context it is used
type LTEAdapter ¶
type LTEAdapter struct {
// Name of Cell Module
CellModuleName string `json:"cell_module_name,omitempty"`
// Firmware Version of Cell Radio.
FirmwareVersion string `json:"firmware_version,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:"sim_name,omitempty"`
// State of SimCard
SimcardState *SimcardState `json:"simcard_state,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 LastKnownStatus ¶
type LastKnownStatus struct {
// last attempt state
LastAttemptState int32 `json:"lastAttemptState,omitempty"`
// last attempted at
// Format: date-time
LastAttemptedAt strfmt.DateTime `json:"lastAttemptedAt,omitempty"`
// last known status line
LastKnownStatusLine string `json:"lastKnownStatusLine,omitempty"`
}
LastKnownStatus last known status
swagger:model LastKnownStatus
func (*LastKnownStatus) ContextValidate ¶
ContextValidate validates this last known status based on context it is used
func (*LastKnownStatus) MarshalBinary ¶
func (m *LastKnownStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LastKnownStatus) UnmarshalBinary ¶
func (m *LastKnownStatus) 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
// Format: byte
Allocationprefix strfmt.Base64 `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 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"`
// params
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 {
// app port
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 string `json:"type,omitempty"`
// value
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" )
func NewMetricType ¶
func NewMetricType(value MetricType) *MetricType
func (MetricType) ContextValidate ¶
ContextValidate validates this metric type based on context it is used
type MetricsDetail ¶
type MetricsDetail struct {
// queries
Queries map[string]string `json:"queries,omitempty"`
// results
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
type ModelAttributes ¶
type ModelAttributes struct {
// cpus
Cpus string `json:"cpus,omitempty"`
// memory
Memory string `json:"memory,omitempty"`
// storage
Storage string `json:"storage,omitempty"`
}
ModelAttributes model attributes
swagger:model ModelAttributes
func (*ModelAttributes) ContextValidate ¶
ContextValidate validates this model attributes based on context it is used
func (*ModelAttributes) MarshalBinary ¶
func (m *ModelAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelAttributes) UnmarshalBinary ¶
func (m *ModelAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelClazz ¶
type ModelClazz string
ModelClazz Global identifier of clazz types
swagger:model ModelClazz
const ( // ModelClazzModelClazzUnspecified captures enum value "ModelClazzUnspecified" ModelClazzModelClazzUnspecified ModelClazz = "ModelClazzUnspecified" // ModelClazzModelClazzDetailedUser captures enum value "ModelClazzDetailedUser" ModelClazzModelClazzDetailedUser ModelClazz = "ModelClazzDetailedUser" // ModelClazzModelClazzSimpleUser captures enum value "ModelClazzSimpleUser" ModelClazzModelClazzSimpleUser ModelClazz = "ModelClazzSimpleUser" // ModelClazzModelClazzEnterprise captures enum value "ModelClazzEnterprise" ModelClazzModelClazzEnterprise ModelClazz = "ModelClazzEnterprise" // ModelClazzModelClazzRealm captures enum value "ModelClazzRealm" ModelClazzModelClazzRealm ModelClazz = "ModelClazzRealm" // ModelClazzModelClazzCredential captures enum value "ModelClazzCredential" ModelClazzModelClazzCredential ModelClazz = "ModelClazzCredential" // ModelClazzModelClazzPolicy captures enum value "ModelClazzPolicy" ModelClazzModelClazzPolicy ModelClazz = "ModelClazzPolicy" // ModelClazzModelClazzRole captures enum value "ModelClazzRole" ModelClazzModelClazzRole ModelClazz = "ModelClazzRole" // ModelClazzModelClazzProfile captures enum value "ModelClazzProfile" ModelClazzModelClazzProfile ModelClazz = "ModelClazzProfile" // ModelClazzModelClazzDocPolicy captures enum value "ModelClazzDocPolicy" ModelClazzModelClazzDocPolicy ModelClazz = "ModelClazzDocPolicy" )
func NewModelClazz ¶
func NewModelClazz(value ModelClazz) *ModelClazz
func (ModelClazz) ContextValidate ¶
ContextValidate validates this model clazz based on context it is used
type ModelImport ¶
type ModelImport struct {
// model config
ModelConfig []*SysModelDetail `json:"modelConfig"`
}
ModelImport model import
swagger:model ModelImport
func (*ModelImport) ContextValidate ¶
ContextValidate validate this model import based on the context it is used
func (*ModelImport) MarshalBinary ¶
func (m *ModelImport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelImport) UnmarshalBinary ¶
func (m *ModelImport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModuleDetail ¶
type ModuleDetail struct {
// environment
Environment map[string]string `json:"environment,omitempty"`
// Type of modules
ModuleType *ModuleType `json:"moduleType,omitempty"`
// routes
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"`
// unique id for deployment
// Read Only: true
// Pattern: [0-9-a-z-]+
ID string `json:"id,omitempty"`
// labels
Labels map[string]string `json:"labels,omitempty"`
// custom metrics for deployment
Metrics *MetricsDetail `json:"metrics,omitempty"`
// deployment priority of module manifest
Priority int64 `json:"priority,omitempty"`
// routes
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 new
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
type NetCellularConfig ¶
type NetCellularConfig struct {
// a p n
APN string `json:"APN,omitempty"`
}
NetCellularConfig net cellular config
swagger:model NetCellularConfig
func (*NetCellularConfig) ContextValidate ¶
ContextValidate validates this net cellular config based on context it is used
func (*NetCellularConfig) MarshalBinary ¶
func (m *NetCellularConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetCellularConfig) UnmarshalBinary ¶
func (m *NetCellularConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetConfig ¶
type NetConfig 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"`
// 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 *NetProxyConfig `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 *NetWirelessConfig `json:"wireless,omitempty"`
}
NetConfig 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.
swagger:model NetConfig
func (*NetConfig) ContextValidate ¶
ContextValidate validate this net config based on the context it is used
func (*NetConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*NetConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NetConfigList ¶
type NetConfigList struct {
// list
List []*NetConfig `json:"list"`
// next
Next *Cursor `json:"next,omitempty"`
// summary
Summary *Summary `json:"summary,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 NetInstConfig ¶
type NetInstConfig struct {
// 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"`
// Detailed description of the network instance
// Max Length: 256
Description string `json:"description,omitempty"`
// flag to indicate if this is default network
DeviceDefault bool `json:"deviceDefault,omitempty"`
// device on which this network is running
// Required: true
DeviceID *string `json:"deviceId"`
// if we do dhcp on this network or not
Dhcp bool `json:"dhcp,omitempty"`
// dns list
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"`
// ip
IP *DhcpServerConfig `json:"ip,omitempty"`
// kind
// Required: true
Kind *NetworkInstanceKind `json:"kind"`
// Lisp Config : read only for now. Deprecated.
Lisp *LispConfig `json:"lisp,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"`
// network policy id
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
// Required: true
Port *string `json:"port"`
// port tags
PortTags map[string]string `json:"portTags,omitempty"`
// project Id
ProjectID string `json:"projectId,omitempty"`
// system defined info
Revision *ObjectRevision `json:"revision,omitempty"`
// tags
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
Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}
NetInstConfig 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.
swagger:model NetInstConfig
func (*NetInstConfig) ContextValidate ¶
ContextValidate validate this net inst config based on the context it is used
func (*NetInstConfig) MarshalBinary ¶
func (m *NetInstConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetInstConfig) UnmarshalBinary ¶
func (m *NetInstConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetInstFilter ¶
type NetInstFilter struct {
// device name
DeviceName string `json:"deviceName,omitempty"`
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// project name
ProjectName string `json:"projectName,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 []*NetInstConfig `json:"cfgList"`
// list
List []*NetInstShortConfig `json:"list"`
// next
Next *Cursor `json:"next,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
Lisp *LispConfig `json:"lisp,omitempty"`
// oconfig
Oconfig string `json:"oconfig,omitempty"`
// type
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
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.
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"`
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// project name
ProjectName string `json:"projectName,omitempty"`
// run state
RunState *RunState `json:"runState,omitempty"`
// tags
Tags map[string]string `json:"tags,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"`
}
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
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.
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"`
// 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"`
// run state
RunState *RunState `json:"runState,omitempty"`
// tags
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"`
}
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.
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 NetProxyConfig ¶
type NetProxyConfig struct {
// Proxy exceptions
Exceptions string `json:"exceptions,omitempty"`
// Network proxy
NetworkProxy bool `json:"networkProxy,omitempty"`
// Proxy Certificates
//
// Network Proxy Certificates
NetworkProxyCerts []strfmt.Base64 `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 []*NetProxyServer `json:"proxies"`
}
NetProxyConfig Net Proxy Configurations
Net Proxy Configurations ¶
swagger:model NetProxyConfig
func (*NetProxyConfig) ContextValidate ¶
ContextValidate validate this net proxy config based on the context it is used
func (*NetProxyConfig) MarshalBinary ¶
func (m *NetProxyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetProxyConfig) UnmarshalBinary ¶
func (m *NetProxyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetProxyServer ¶
type NetProxyServer struct {
// Net Proxy Port
Port int64 `json:"port,omitempty"`
// Net Proxy proto
Proto *NetworkProxyProto `json:"proto,omitempty"`
// Net Proxy Server
Server string `json:"server,omitempty"`
}
NetProxyServer Net Proxy Server
Net Proxy Server ¶
swagger:model NetProxyServer
func (*NetProxyServer) ContextValidate ¶
ContextValidate validate this net proxy server based on the context it is used
func (*NetProxyServer) MarshalBinary ¶
func (m *NetProxyServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetProxyServer) UnmarshalBinary ¶
func (m *NetProxyServer) 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
//
// Network Proxy flag
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 []*NetProxyServer `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 NetWifiConfig ¶
type NetWifiConfig 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"`
}
NetWifiConfig net wifi config
swagger:model NetWifiConfig
func (*NetWifiConfig) ContextValidate ¶
ContextValidate validate this net wifi config based on the context it is used
func (*NetWifiConfig) MarshalBinary ¶
func (m *NetWifiConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetWifiConfig) UnmarshalBinary ¶
func (m *NetWifiConfig) 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 NetWirelessConfig ¶
type NetWirelessConfig struct {
// cellular cfg
CellularCfg *NetCellularConfig `json:"cellularCfg,omitempty"`
// type
Type *NetworkWirelessType `json:"type,omitempty"`
// wifi cfg
WifiCfg *NetWifiConfig `json:"wifiCfg,omitempty"`
}
NetWirelessConfig net wireless config
swagger:model NetWirelessConfig
func (*NetWirelessConfig) ContextValidate ¶
ContextValidate validate this net wireless config based on the context it is used
func (*NetWirelessConfig) MarshalBinary ¶
func (m *NetWirelessConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetWirelessConfig) UnmarshalBinary ¶
func (m *NetWirelessConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkConfigOrDefault ¶
type NetworkConfigOrDefault struct {
// net instance config
NetInstanceConfig *NetInstConfig `json:"netInstanceConfig,omitempty"`
// net instance default
NetInstanceDefault bool `json:"netInstanceDefault,omitempty"`
}
NetworkConfigOrDefault network config or default
swagger:model NetworkConfigOrDefault
func (*NetworkConfigOrDefault) ContextValidate ¶
func (m *NetworkConfigOrDefault) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network config or default based on the context it is used
func (*NetworkConfigOrDefault) MarshalBinary ¶
func (m *NetworkConfigOrDefault) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkConfigOrDefault) UnmarshalBinary ¶
func (m *NetworkConfigOrDefault) UnmarshalBinary(b []byte) error
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
type NetworkFilter ¶
type NetworkFilter struct {
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// project name
ProjectName string `json:"projectName,omitempty"`
}
NetworkFilter network filter
swagger:model NetworkFilter
func (*NetworkFilter) ContextValidate ¶
ContextValidate validates this network filter based on 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 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
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
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" )
func NewNetworkKind ¶
func NewNetworkKind(value NetworkKind) *NetworkKind
func (NetworkKind) ContextValidate ¶
ContextValidate validates this network kind based on context it is used
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 []*NetInstConfig `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 NetworkProxyProto ¶
type NetworkProxyProto string
NetworkProxyProto network proxy proto
swagger:model NetworkProxyProto
const ( // NetworkProxyProtoNETWORKPROXYPROTOHTTP captures enum value "NETWORK_PROXY_PROTO_HTTP" NetworkProxyProtoNETWORKPROXYPROTOHTTP NetworkProxyProto = "NETWORK_PROXY_PROTO_HTTP" // NetworkProxyProtoNETWORKPROXYPROTOHTTPS captures enum value "NETWORK_PROXY_PROTO_HTTPS" NetworkProxyProtoNETWORKPROXYPROTOHTTPS NetworkProxyProto = "NETWORK_PROXY_PROTO_HTTPS" // NetworkProxyProtoNETWORKPROXYPROTOSOCKS captures enum value "NETWORK_PROXY_PROTO_SOCKS" NetworkProxyProtoNETWORKPROXYPROTOSOCKS NetworkProxyProto = "NETWORK_PROXY_PROTO_SOCKS" // NetworkProxyProtoNETWORKPROXYPROTOFTP captures enum value "NETWORK_PROXY_PROTO_FTP" NetworkProxyProtoNETWORKPROXYPROTOFTP NetworkProxyProto = "NETWORK_PROXY_PROTO_FTP" // NetworkProxyProtoNETWORKPROXYPROTOOTHER captures enum value "NETWORK_PROXY_PROTO_OTHER" NetworkProxyProtoNETWORKPROXYPROTOOTHER NetworkProxyProto = "NETWORK_PROXY_PROTO_OTHER" )
func NewNetworkProxyProto ¶
func NewNetworkProxyProto(value NetworkProxyProto) *NetworkProxyProto
func (NetworkProxyProto) ContextValidate ¶
ContextValidate validates this network proxy proto based on context it is used
type NetworkStatus ¶
type NetworkStatus struct {
// Default Routers
DefaultRouters []string `json:"defaultRouters"`
// DNS Configuration
DNS *DNSInfo `json:"dns,omitempty"`
// Network error details
ErrInfo *DeviceError `json:"errInfo,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 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
type NetworkWirelessType ¶
type NetworkWirelessType string
NetworkWirelessType network wireless type
swagger:model NetworkWirelessType
const ( // NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED captures enum value "NETWORK_WIRELESS_TYPE_UNSPECIFIED" NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED NetworkWirelessType = "NETWORK_WIRELESS_TYPE_UNSPECIFIED" // NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI captures enum value "NETWORK_WIRELESS_TYPE_WIFI" NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI NetworkWirelessType = "NETWORK_WIRELESS_TYPE_WIFI" // NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR captures enum value "NETWORK_WIRELESS_TYPE_CELLULAR" NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR NetworkWirelessType = "NETWORK_WIRELESS_TYPE_CELLULAR" )
func NewNetworkWirelessType ¶
func NewNetworkWirelessType(value NetworkWirelessType) *NetworkWirelessType
func (NetworkWirelessType) ContextValidate ¶
ContextValidate validates this network wireless type based on context it is used
type OAUTHProfile ¶
type OAUTHProfile struct {
// OIDC endpoint for oauth validation
OIDCEndPoint string `json:"OIDCEndPoint,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"`
// OIDC scope to fetch application role
RoleScope string `json:"roleScope,omitempty"`
}
OAUTHProfile o a u t h profile
swagger:model OAUTHProfile
func (*OAUTHProfile) ContextValidate ¶
ContextValidate validates this o a u t h profile based on context it is used
func (*OAUTHProfile) MarshalBinary ¶
func (m *OAUTHProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OAUTHProfile) UnmarshalBinary ¶
func (m *OAUTHProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectParentDetail ¶
type ObjectParentDetail struct {
// system defined unique id of parent object
// Read Only: true
// Pattern: [0-9A-Za-z-]+
IDOfParentObject string `json:"idOfParentObject,omitempty"`
// 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
CreatedAt interface{} `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
UpdatedAt interface{} `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" )
func NewObjectType ¶
func NewObjectType(value ObjectType) *ObjectType
func (ObjectType) ContextValidate ¶
ContextValidate validates this object type based on context it is used
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
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 {
// p c r values
PCRValues []*PCRValue `json:"PCRValues"`
// eve version
EveVersion string `json:"eveVersion,omitempty"`
// firmware version
FirmwareVersion string `json:"firmwareVersion,omitempty"`
}
PCRTemplate p c r template
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 {
// index
Index int64 `json:"index,omitempty"`
// type
Type *PCRType `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
}
PCRValue p c r value
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
Name string `json:"name,omitempty"`
// value
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 PhyAdapter ¶
type PhyAdapter struct {
// Physical Adapter name
Name string `json:"name,omitempty"`
// tags
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 PingMsgSendResp ¶
type PingMsgSendResp struct {
// ping Id
PingID string `json:"pingId,omitempty"`
}
PingMsgSendResp ping msg send resp
swagger:model PingMsgSendResp
func (*PingMsgSendResp) ContextValidate ¶
ContextValidate validates this ping msg send resp based on context it is used
func (*PingMsgSendResp) MarshalBinary ¶
func (m *PingMsgSendResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PingMsgSendResp) UnmarshalBinary ¶
func (m *PingMsgSendResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Policies ¶
type Policies struct {
// list
List []*Policy `json:"list"`
// next
Next *Cursor `json:"next,omitempty"`
// summary by state
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
Policies policies
swagger:model Policies
func (*Policies) ContextValidate ¶
ContextValidate validate this policies based on the context it is used
func (*Policies) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policies) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct {
// access
Access *PolicyAccess `json:"access,omitempty"`
// external
External bool `json:"external,omitempty"`
// id
ID string `json:"id,omitempty"`
// owner Id
OwnerID string `json:"ownerId,omitempty"`
// scope
Scope *PolicyScope `json:"scope,omitempty"`
// zone
Zone string `json:"zone,omitempty"`
}
Policy policy
swagger:model Policy
func (*Policy) ContextValidate ¶
ContextValidate validate this policy based on the context it is used
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyAccess ¶
type PolicyAccess string
PolicyAccess policy access
swagger:model PolicyAccess
const ( // PolicyAccessPermissionAccessINVALID captures enum value "PermissionAccess__INVALID__" PolicyAccessPermissionAccessINVALID PolicyAccess = "PermissionAccess__INVALID__" // PolicyAccessPermissionAccessCreate captures enum value "PermissionAccessCreate" PolicyAccessPermissionAccessCreate PolicyAccess = "PermissionAccessCreate" // PolicyAccessPermissionAccessRead captures enum value "PermissionAccessRead" PolicyAccessPermissionAccessRead PolicyAccess = "PermissionAccessRead" // PolicyAccessPermissionAccessCreateRead captures enum value "PermissionAccessCreateRead" PolicyAccessPermissionAccessCreateRead PolicyAccess = "PermissionAccessCreateRead" // PolicyAccessPermissionAccessUpdate captures enum value "PermissionAccessUpdate" PolicyAccessPermissionAccessUpdate PolicyAccess = "PermissionAccessUpdate" // PolicyAccessPermissionAccessCreateUpdate captures enum value "PermissionAccessCreateUpdate" PolicyAccessPermissionAccessCreateUpdate PolicyAccess = "PermissionAccessCreateUpdate" // PolicyAccessPermissionAccessReadUpdate captures enum value "PermissionAccessReadUpdate" PolicyAccessPermissionAccessReadUpdate PolicyAccess = "PermissionAccessReadUpdate" // PolicyAccessPermissionAccessCreateReadUpdate captures enum value "PermissionAccessCreateReadUpdate" PolicyAccessPermissionAccessCreateReadUpdate PolicyAccess = "PermissionAccessCreateReadUpdate" // PolicyAccessPermissionAccessDelete captures enum value "PermissionAccessDelete" PolicyAccessPermissionAccessDelete PolicyAccess = "PermissionAccessDelete" // PolicyAccessPermissionAccessCreateDelete captures enum value "PermissionAccessCreateDelete" PolicyAccessPermissionAccessCreateDelete PolicyAccess = "PermissionAccessCreateDelete" // PolicyAccessPermissionAccessReadDelete captures enum value "PermissionAccessReadDelete" PolicyAccessPermissionAccessReadDelete PolicyAccess = "PermissionAccessReadDelete" // PolicyAccessPermissionAccessCreateReadDelete captures enum value "PermissionAccessCreateReadDelete" PolicyAccessPermissionAccessCreateReadDelete PolicyAccess = "PermissionAccessCreateReadDelete" // PolicyAccessPermissionAccessUpdateDelete captures enum value "PermissionAccessUpdateDelete" PolicyAccessPermissionAccessUpdateDelete PolicyAccess = "PermissionAccessUpdateDelete" // PolicyAccessPermissionAccessCreateUpdateDelete captures enum value "PermissionAccessCreateUpdateDelete" PolicyAccessPermissionAccessCreateUpdateDelete PolicyAccess = "PermissionAccessCreateUpdateDelete" // PolicyAccessPermissionAccessReadUpdateDelete captures enum value "PermissionAccessReadUpdateDelete" PolicyAccessPermissionAccessReadUpdateDelete PolicyAccess = "PermissionAccessReadUpdateDelete" // PolicyAccessPermissionAccessCreateReadUpdateDelete captures enum value "PermissionAccessCreateReadUpdateDelete" PolicyAccessPermissionAccessCreateReadUpdateDelete PolicyAccess = "PermissionAccessCreateReadUpdateDelete" // PolicyAccessPermissionAccessExecute captures enum value "PermissionAccessExecute" PolicyAccessPermissionAccessExecute PolicyAccess = "PermissionAccessExecute" // PolicyAccessPermissionAccessCreateExecute captures enum value "PermissionAccessCreateExecute" PolicyAccessPermissionAccessCreateExecute PolicyAccess = "PermissionAccessCreateExecute" // PolicyAccessPermissionAccessReadExecute captures enum value "PermissionAccessReadExecute" PolicyAccessPermissionAccessReadExecute PolicyAccess = "PermissionAccessReadExecute" // PolicyAccessPermissionAccessCreateReadExecute captures enum value "PermissionAccessCreateReadExecute" PolicyAccessPermissionAccessCreateReadExecute PolicyAccess = "PermissionAccessCreateReadExecute" // PolicyAccessPermissionAccessUpdateExecute captures enum value "PermissionAccessUpdateExecute" PolicyAccessPermissionAccessUpdateExecute PolicyAccess = "PermissionAccessUpdateExecute" // PolicyAccessPermissionAccessCreateUpdateExecute captures enum value "PermissionAccessCreateUpdateExecute" PolicyAccessPermissionAccessCreateUpdateExecute PolicyAccess = "PermissionAccessCreateUpdateExecute" // PolicyAccessPermissionAccessReadUpdateExecute captures enum value "PermissionAccessReadUpdateExecute" PolicyAccessPermissionAccessReadUpdateExecute PolicyAccess = "PermissionAccessReadUpdateExecute" // PolicyAccessPermissionAccessCreateReadUpdateExecute captures enum value "PermissionAccessCreateReadUpdateExecute" PolicyAccessPermissionAccessCreateReadUpdateExecute PolicyAccess = "PermissionAccessCreateReadUpdateExecute" // PolicyAccessPermissionAccessDeleteExecute captures enum value "PermissionAccessDeleteExecute" PolicyAccessPermissionAccessDeleteExecute PolicyAccess = "PermissionAccessDeleteExecute" // PolicyAccessPermissionAccessCreateDeleteExecute captures enum value "PermissionAccessCreateDeleteExecute" PolicyAccessPermissionAccessCreateDeleteExecute PolicyAccess = "PermissionAccessCreateDeleteExecute" // PolicyAccessPermissionAccessReadDeleteExecute captures enum value "PermissionAccessReadDeleteExecute" PolicyAccessPermissionAccessReadDeleteExecute PolicyAccess = "PermissionAccessReadDeleteExecute" // PolicyAccessPermissionAccessCreateReadDeleteExecute captures enum value "PermissionAccessCreateReadDeleteExecute" PolicyAccessPermissionAccessCreateReadDeleteExecute PolicyAccess = "PermissionAccessCreateReadDeleteExecute" // PolicyAccessPermissionAccessUpdateDeleteExecute captures enum value "PermissionAccessUpdateDeleteExecute" PolicyAccessPermissionAccessUpdateDeleteExecute PolicyAccess = "PermissionAccessUpdateDeleteExecute" // PolicyAccessPermissionAccessCreateUpdateDeleteExecute captures enum value "PermissionAccessCreateUpdateDeleteExecute" PolicyAccessPermissionAccessCreateUpdateDeleteExecute PolicyAccess = "PermissionAccessCreateUpdateDeleteExecute" // PolicyAccessPermissionAccessReadUpdateDeleteExecute captures enum value "PermissionAccessReadUpdateDeleteExecute" PolicyAccessPermissionAccessReadUpdateDeleteExecute PolicyAccess = "PermissionAccessReadUpdateDeleteExecute" // PolicyAccessPermissionAccessCreateReadUpdateDeleteExecute captures enum value "PermissionAccessCreateReadUpdateDeleteExecute" PolicyAccessPermissionAccessCreateReadUpdateDeleteExecute PolicyAccess = "PermissionAccessCreateReadUpdateDeleteExecute" // PolicyAccessPermissionAccessQuery captures enum value "PermissionAccessQuery" PolicyAccessPermissionAccessQuery PolicyAccess = "PermissionAccessQuery" // PolicyAccessPermissionAccessCreateQuery captures enum value "PermissionAccessCreateQuery" PolicyAccessPermissionAccessCreateQuery PolicyAccess = "PermissionAccessCreateQuery" // PolicyAccessPermissionAccessReadQuery captures enum value "PermissionAccessReadQuery" PolicyAccessPermissionAccessReadQuery PolicyAccess = "PermissionAccessReadQuery" // PolicyAccessPermissionAccessCreateReadQuery captures enum value "PermissionAccessCreateReadQuery" PolicyAccessPermissionAccessCreateReadQuery PolicyAccess = "PermissionAccessCreateReadQuery" // PolicyAccessPermissionAccessUpdateQuery captures enum value "PermissionAccessUpdateQuery" PolicyAccessPermissionAccessUpdateQuery PolicyAccess = "PermissionAccessUpdateQuery" // PolicyAccessPermissionAccessCreateUpdateQuery captures enum value "PermissionAccessCreateUpdateQuery" PolicyAccessPermissionAccessCreateUpdateQuery PolicyAccess = "PermissionAccessCreateUpdateQuery" // PolicyAccessPermissionAccessReadUpdateQuery captures enum value "PermissionAccessReadUpdateQuery" PolicyAccessPermissionAccessReadUpdateQuery PolicyAccess = "PermissionAccessReadUpdateQuery" // PolicyAccessPermissionAccessCreateReadUpdateQuery captures enum value "PermissionAccessCreateReadUpdateQuery" PolicyAccessPermissionAccessCreateReadUpdateQuery PolicyAccess = "PermissionAccessCreateReadUpdateQuery" // PolicyAccessPermissionAccessDeleteQuery captures enum value "PermissionAccessDeleteQuery" PolicyAccessPermissionAccessDeleteQuery PolicyAccess = "PermissionAccessDeleteQuery" // PolicyAccessPermissionAccessCreateDeleteQuery captures enum value "PermissionAccessCreateDeleteQuery" PolicyAccessPermissionAccessCreateDeleteQuery PolicyAccess = "PermissionAccessCreateDeleteQuery" // PolicyAccessPermissionAccessReadDeleteQuery captures enum value "PermissionAccessReadDeleteQuery" PolicyAccessPermissionAccessReadDeleteQuery PolicyAccess = "PermissionAccessReadDeleteQuery" // PolicyAccessPermissionAccessCreateReadDeleteQuery captures enum value "PermissionAccessCreateReadDeleteQuery" PolicyAccessPermissionAccessCreateReadDeleteQuery PolicyAccess = "PermissionAccessCreateReadDeleteQuery" // PolicyAccessPermissionAccessUpdateDeleteQuery captures enum value "PermissionAccessUpdateDeleteQuery" PolicyAccessPermissionAccessUpdateDeleteQuery PolicyAccess = "PermissionAccessUpdateDeleteQuery" // PolicyAccessPermissionAccessCreateUpdateDeleteQuery captures enum value "PermissionAccessCreateUpdateDeleteQuery" PolicyAccessPermissionAccessCreateUpdateDeleteQuery PolicyAccess = "PermissionAccessCreateUpdateDeleteQuery" // PolicyAccessPermissionAccessReadUpdateDeleteQuery captures enum value "PermissionAccessReadUpdateDeleteQuery" PolicyAccessPermissionAccessReadUpdateDeleteQuery PolicyAccess = "PermissionAccessReadUpdateDeleteQuery" // PolicyAccessPermissionAccessCreateReadUpdateDeleteQuery captures enum value "PermissionAccessCreateReadUpdateDeleteQuery" PolicyAccessPermissionAccessCreateReadUpdateDeleteQuery PolicyAccess = "PermissionAccessCreateReadUpdateDeleteQuery" // PolicyAccessPermissionAccessExecuteQuery captures enum value "PermissionAccessExecuteQuery" PolicyAccessPermissionAccessExecuteQuery PolicyAccess = "PermissionAccessExecuteQuery" // PolicyAccessPermissionAccessCreateExecuteQuery captures enum value "PermissionAccessCreateExecuteQuery" PolicyAccessPermissionAccessCreateExecuteQuery PolicyAccess = "PermissionAccessCreateExecuteQuery" // PolicyAccessPermissionAccessReadExecuteQuery captures enum value "PermissionAccessReadExecuteQuery" PolicyAccessPermissionAccessReadExecuteQuery PolicyAccess = "PermissionAccessReadExecuteQuery" // PolicyAccessPermissionAccessCreateReadExecuteQuery captures enum value "PermissionAccessCreateReadExecuteQuery" PolicyAccessPermissionAccessCreateReadExecuteQuery PolicyAccess = "PermissionAccessCreateReadExecuteQuery" // PolicyAccessPermissionAccessUpdateExecuteQuery captures enum value "PermissionAccessUpdateExecuteQuery" PolicyAccessPermissionAccessUpdateExecuteQuery PolicyAccess = "PermissionAccessUpdateExecuteQuery" // PolicyAccessPermissionAccessCreateUpdateExecuteQuery captures enum value "PermissionAccessCreateUpdateExecuteQuery" PolicyAccessPermissionAccessCreateUpdateExecuteQuery PolicyAccess = "PermissionAccessCreateUpdateExecuteQuery" // PolicyAccessPermissionAccessReadUpdateExecuteQuery captures enum value "PermissionAccessReadUpdateExecuteQuery" PolicyAccessPermissionAccessReadUpdateExecuteQuery PolicyAccess = "PermissionAccessReadUpdateExecuteQuery" // PolicyAccessPermissionAccessCreateReadUpdateExecuteQuery captures enum value "PermissionAccessCreateReadUpdateExecuteQuery" PolicyAccessPermissionAccessCreateReadUpdateExecuteQuery PolicyAccess = "PermissionAccessCreateReadUpdateExecuteQuery" // PolicyAccessPermissionAccessDeleteExecuteQuery captures enum value "PermissionAccessDeleteExecuteQuery" PolicyAccessPermissionAccessDeleteExecuteQuery PolicyAccess = "PermissionAccessDeleteExecuteQuery" // PolicyAccessPermissionAccessCreateDeleteExecuteQuery captures enum value "PermissionAccessCreateDeleteExecuteQuery" PolicyAccessPermissionAccessCreateDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateDeleteExecuteQuery" // PolicyAccessPermissionAccessReadDeleteExecuteQuery captures enum value "PermissionAccessReadDeleteExecuteQuery" PolicyAccessPermissionAccessReadDeleteExecuteQuery PolicyAccess = "PermissionAccessReadDeleteExecuteQuery" // PolicyAccessPermissionAccessCreateReadDeleteExecuteQuery captures enum value "PermissionAccessCreateReadDeleteExecuteQuery" PolicyAccessPermissionAccessCreateReadDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateReadDeleteExecuteQuery" // PolicyAccessPermissionAccessUpdateDeleteExecuteQuery captures enum value "PermissionAccessUpdateDeleteExecuteQuery" PolicyAccessPermissionAccessUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessUpdateDeleteExecuteQuery" // PolicyAccessPermissionAccessCreateUpdateDeleteExecuteQuery captures enum value "PermissionAccessCreateUpdateDeleteExecuteQuery" PolicyAccessPermissionAccessCreateUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateUpdateDeleteExecuteQuery" // PolicyAccessPermissionAccessReadUpdateDeleteExecuteQuery captures enum value "PermissionAccessReadUpdateDeleteExecuteQuery" PolicyAccessPermissionAccessReadUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessReadUpdateDeleteExecuteQuery" // PolicyAccessPermissionAccessCreateReadUpdateDeleteExecuteQuery captures enum value "PermissionAccessCreateReadUpdateDeleteExecuteQuery" PolicyAccessPermissionAccessCreateReadUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateReadUpdateDeleteExecuteQuery" )
func NewPolicyAccess ¶
func NewPolicyAccess(value PolicyAccess) *PolicyAccess
func (PolicyAccess) ContextValidate ¶
ContextValidate validates this policy access based on context it is used
type PolicyConfig ¶
type PolicyConfig 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"`
// attr
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"`
// Detailed description of the policy
// Max Length: 256
Description string `json:"description,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"`
// 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"`
}
PolicyConfig 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 PolicyConfig
func (*PolicyConfig) ContextValidate ¶
ContextValidate validate this policy config based on the context it is used
func (*PolicyConfig) MarshalBinary ¶
func (m *PolicyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyConfig) UnmarshalBinary ¶
func (m *PolicyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyDocVersion ¶
type PolicyDocVersion struct {
// file URL
FileURL string `json:"fileURL,omitempty"`
// policy
Policy string `json:"policy,omitempty"`
// revision
Revision *ObjectRevision `json:"revision,omitempty"`
// version
Version string `json:"version,omitempty"`
}
PolicyDocVersion policy doc version
swagger:model PolicyDocVersion
func (*PolicyDocVersion) ContextValidate ¶
ContextValidate validate this policy doc version based on the context it is used
func (*PolicyDocVersion) MarshalBinary ¶
func (m *PolicyDocVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyDocVersion) UnmarshalBinary ¶
func (m *PolicyDocVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyDocVersionList ¶
type PolicyDocVersionList struct {
// list
List []*PolicyDocVersion `json:"list"`
// next
Next *Cursor `json:"next,omitempty"`
// summary
Summary *Summary `json:"summary,omitempty"`
}
PolicyDocVersionList policy doc version list
swagger:model PolicyDocVersionList
func (*PolicyDocVersionList) ContextValidate ¶
ContextValidate validate this policy doc version list based on the context it is used
func (*PolicyDocVersionList) MarshalBinary ¶
func (m *PolicyDocVersionList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyDocVersionList) UnmarshalBinary ¶
func (m *PolicyDocVersionList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyDocVersionResp ¶
type PolicyDocVersionResp struct {
// pinfo
Pinfo *PolicyDocVersion `json:"pinfo,omitempty"`
// plist
Plist *PolicyDocVersionList `json:"plist,omitempty"`
// result
Result *ZsrvResponse `json:"result,omitempty"`
}
PolicyDocVersionResp policy doc version resp
swagger:model PolicyDocVersionResp
func (*PolicyDocVersionResp) ContextValidate ¶
ContextValidate validate this policy doc version resp based on the context it is used
func (*PolicyDocVersionResp) MarshalBinary ¶
func (m *PolicyDocVersionResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyDocVersionResp) UnmarshalBinary ¶
func (m *PolicyDocVersionResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyScope ¶
type PolicyScope string
PolicyScope Scope of the permission, similar to Unix file system
swagger:model PolicyScope
const ( // PolicyScopePermissionScopeINVALID captures enum value "PermissionScope__INVALID__" PolicyScopePermissionScopeINVALID PolicyScope = "PermissionScope__INVALID__" // PolicyScopePermissionScopeOther captures enum value "PermissionScopeOther" PolicyScopePermissionScopeOther PolicyScope = "PermissionScopeOther" // PolicyScopePermissionScopeGroup captures enum value "PermissionScopeGroup" PolicyScopePermissionScopeGroup PolicyScope = "PermissionScopeGroup" // PolicyScopePermissionScopeOtherGroup captures enum value "PermissionScopeOtherGroup" PolicyScopePermissionScopeOtherGroup PolicyScope = "PermissionScopeOtherGroup" // PolicyScopePermissionScopeOwner captures enum value "PermissionScopeOwner" PolicyScopePermissionScopeOwner PolicyScope = "PermissionScopeOwner" // PolicyScopePermissionScopeOtherOwner captures enum value "PermissionScopeOtherOwner" PolicyScopePermissionScopeOtherOwner PolicyScope = "PermissionScopeOtherOwner" // PolicyScopePermissionScopeGroupOwner captures enum value "PermissionScopeGroupOwner" PolicyScopePermissionScopeGroupOwner PolicyScope = "PermissionScopeGroupOwner" // PolicyScopePermissionScopeOtherGroupOwner captures enum value "PermissionScopeOtherGroupOwner" PolicyScopePermissionScopeOtherGroupOwner PolicyScope = "PermissionScopeOtherGroupOwner" // PolicyScopePermissionScopeEnterprise captures enum value "PermissionScopeEnterprise" PolicyScopePermissionScopeEnterprise PolicyScope = "PermissionScopeEnterprise" // PolicyScopePermissionScopeOtherEnterprise captures enum value "PermissionScopeOtherEnterprise" PolicyScopePermissionScopeOtherEnterprise PolicyScope = "PermissionScopeOtherEnterprise" // PolicyScopePermissionScopeGroupEnterprise captures enum value "PermissionScopeGroupEnterprise" PolicyScopePermissionScopeGroupEnterprise PolicyScope = "PermissionScopeGroupEnterprise" // PolicyScopePermissionScopeOtherGroupEnterprise captures enum value "PermissionScopeOtherGroupEnterprise" PolicyScopePermissionScopeOtherGroupEnterprise PolicyScope = "PermissionScopeOtherGroupEnterprise" // PolicyScopePermissionScopeOwnerEnterprise captures enum value "PermissionScopeOwnerEnterprise" PolicyScopePermissionScopeOwnerEnterprise PolicyScope = "PermissionScopeOwnerEnterprise" // PolicyScopePermissionScopeOtherOwnerEnterprise captures enum value "PermissionScopeOtherOwnerEnterprise" PolicyScopePermissionScopeOtherOwnerEnterprise PolicyScope = "PermissionScopeOtherOwnerEnterprise" // PolicyScopePermissionScopeGroupOwnerEnterprise captures enum value "PermissionScopeGroupOwnerEnterprise" PolicyScopePermissionScopeGroupOwnerEnterprise PolicyScope = "PermissionScopeGroupOwnerEnterprise" // PolicyScopePermissionScopeOtherGroupOwnerEnterprise captures enum value "PermissionScopeOtherGroupOwnerEnterprise" PolicyScopePermissionScopeOtherGroupOwnerEnterprise PolicyScope = "PermissionScopeOtherGroupOwnerEnterprise" )
func NewPolicyScope ¶
func NewPolicyScope(value PolicyScope) *PolicyScope
func (PolicyScope) ContextValidate ¶
ContextValidate validates this policy scope based on context it is used
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
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" )
func NewPolicyType ¶
func NewPolicyType(value PolicyType) *PolicyType
func (PolicyType) ContextValidate ¶
ContextValidate validates this policy type based on context it is used
type PolicyVersion ¶
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 ¶
ContextValidate validates this policy version based on context it is used
func (*PolicyVersion) MarshalBinary ¶
func (m *PolicyVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyVersion) UnmarshalBinary ¶
func (m *PolicyVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyVersionList ¶
type PolicyVersionList struct {
// list
List []*PolicyVersion `json:"list"`
}
PolicyVersionList policy version list
swagger:model PolicyVersionList
func (*PolicyVersionList) ContextValidate ¶
ContextValidate validate this policy version list based on the context it is used
func (*PolicyVersionList) MarshalBinary ¶
func (m *PolicyVersionList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyVersionList) UnmarshalBinary ¶
func (m *PolicyVersionList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct {
// A URL/resource name that uniquely identifies the type of the serialized
// protocol buffer message. This string must contain at least
// one "/" character. The last segment of the URL's path must represent
// the fully qualified name of the type (as in
// `path/google.protobuf.Duration`). The name should be in a canonical form
// (e.g., leading "." is not accepted).
//
// In practice, teams usually precompile into the binary all types that they
// expect it to use in the context of Any. However, for URLs which use the
// scheme `http`, `https`, or no scheme, one can optionally set up a type
// server that maps type URLs to message definitions as follows:
//
// * If no scheme is provided, `https` is assumed.
// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
// value in binary format, or produce an error.
// * Applications are allowed to cache lookup results based on the
// URL, or have them precompiled into a binary to avoid any
// lookup. Therefore, binary compatibility needs to be preserved
// on changes to types. (Use versioned type names to manage
// breaking changes.)
//
// Note: this functionality is not currently available in the official
// protobuf release, and it is not used for type URLs beginning with
// type.googleapis.com.
//
// Schemes other than `http`, `https` (or the empty scheme) might be
// used with implementation specific semantics.
TypeURL string `json:"type_url,omitempty"`
// Must be a valid serialized protocol buffer of the above specified type.
// Format: byte
Value strfmt.Base64 `json:"value,omitempty"`
}
ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
...
}
Example 2: Pack and unpack a message in Java.
Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
any.Unpack(foo)
...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := ptypes.MarshalAny(foo)
...
foo := &pb.Foo{}
if err := ptypes.UnmarshalAny(any, foo); err != nil {
...
}
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:
package google.profile;
message Person {
string first_name = 1;
string last_name = 2;
}
{
"@type": "type.googleapis.com/google.profile.Person",
"firstName": <string>,
"lastName": <string>
}
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):
{
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
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
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 Realm ¶
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 ¶
swagger:model Realm
func (*Realm) ContextValidate ¶
ContextValidate validate this realm based on the context it is used
func (*Realm) MarshalBinary ¶
MarshalBinary interface implementation
func (*Realm) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Realms ¶
type Realms struct {
// List of realms
List []*Realm `json:"list"`
// Page details of the filtered records
Next *Cursor `json:"next,omitempty"`
// Summary of filtered realms
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
Realms realms
swagger:model Realms
func (*Realms) ContextValidate ¶
ContextValidate validate this realms based on the context it is used
func (*Realms) MarshalBinary ¶
MarshalBinary interface implementation
func (*Realms) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct {
// name
Name string `json:"name,omitempty"`
// value
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"`
// 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 ¶
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 Roles ¶
type Roles struct {
// List of roles
List []*Role `json:"list"`
// Page details of the filtered records
Next *Cursor `json:"next,omitempty"`
// Summary of filtered roles
SummaryByState *Summary `json:"summaryByState,omitempty"`
}
Roles roles
swagger:model Roles
func (*Roles) ContextValidate ¶
ContextValidate validate this roles based on the context it is used
func (*Roles) MarshalBinary ¶
MarshalBinary interface implementation
func (*Roles) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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" )
func NewRunState ¶
func (RunState) ContextValidate ¶
ContextValidate validates this run state based on context it is used
type RuntimeStreamError ¶
type RuntimeStreamError struct {
// details
Details []*ProtobufAny `json:"details"`
// grpc code
GrpcCode int32 `json:"grpc_code,omitempty"`
// http code
HTTPCode int32 `json:"http_code,omitempty"`
// http status
HTTPStatus string `json:"http_status,omitempty"`
// message
Message string `json:"message,omitempty"`
}
RuntimeStreamError runtime stream error
swagger:model runtimeStreamError
func (*RuntimeStreamError) ContextValidate ¶
ContextValidate validate this runtime stream error based on the context it is used
func (*RuntimeStreamError) MarshalBinary ¶
func (m *RuntimeStreamError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RuntimeStreamError) UnmarshalBinary ¶
func (m *RuntimeStreamError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 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
AccessApp string `json:"accessApp,omitempty"`
// Device access permission
AccessDevice string `json:"accessDevice,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"`
}
Scope scope
swagger:model Scope
func (*Scope) ContextValidate ¶
ContextValidate validates this scope based on context it is used
func (*Scope) MarshalBinary ¶
MarshalBinary interface implementation
func (*Scope) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SelectionCriteria ¶
type SelectionCriteria struct {
// bundle Id
BundleID string `json:"bundleId,omitempty"`
// device Id list
DeviceIDList []string `json:"deviceIdList"`
// project Id
ProjectID string `json:"projectId,omitempty"`
}
SelectionCriteria selection criteria
swagger:model SelectionCriteria
func (*SelectionCriteria) ContextValidate ¶
ContextValidate validates this selection criteria based on context it is used
func (*SelectionCriteria) MarshalBinary ¶
func (m *SelectionCriteria) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelectionCriteria) UnmarshalBinary ¶
func (m *SelectionCriteria) UnmarshalBinary(b []byte) error
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 SessionDetails ¶
type SessionDetails struct {
// client Ip
ClientIP string `json:"clientIp,omitempty"`
// expires at
// Format: date-time
ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`
// session Id
SessionID string `json:"sessionId,omitempty"`
// user agent
UserAgent string `json:"userAgent,omitempty"`
// user name
UserName string `json:"userName,omitempty"`
}
SessionDetails session details
swagger:model SessionDetails
func (*SessionDetails) ContextValidate ¶
ContextValidate validates this session details based on context it is used
func (*SessionDetails) MarshalBinary ¶
func (m *SessionDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionDetails) UnmarshalBinary ¶
func (m *SessionDetails) 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
type SimpleUser ¶
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 ¶
ContextValidate validate this simple user based on the context it is used
func (*SimpleUser) MarshalBinary ¶
func (m *SimpleUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SimpleUser) UnmarshalBinary ¶
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 Status ¶
type Status struct {
// describes the overall status of the operation
// Read Only: true
Code *StatusCode `json:"code,omitempty"`
// top level description of the operation
// Read Only: true
Description *Description `json:"description,omitempty"`
}
Status Status encapsulates the top level status of the operation
Status encapsulates the top level status of the operation ¶
swagger:model Status
func (*Status) ContextValidate ¶
ContextValidate validate this status based on the context it is used
func (*Status) MarshalBinary ¶
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatusCode ¶
type StatusCode string
StatusCode status codes for internal use (Gilas and Niles)
swagger:model StatusCode
const ( // StatusCodeSTATUSCODEUNSPECIFIED captures enum value "STATUS_CODE_UNSPECIFIED" StatusCodeSTATUSCODEUNSPECIFIED StatusCode = "STATUS_CODE_UNSPECIFIED" // StatusCodeSTATUSCODESUCCESS captures enum value "STATUS_CODE_SUCCESS" StatusCodeSTATUSCODESUCCESS StatusCode = "STATUS_CODE_SUCCESS" // StatusCodeSTATUSCODEFAILURE captures enum value "STATUS_CODE_FAILURE" StatusCodeSTATUSCODEFAILURE StatusCode = "STATUS_CODE_FAILURE" // StatusCodeSTATUSCODEPARTIALSUCCESS captures enum value "STATUS_CODE_PARTIAL_SUCCESS" StatusCodeSTATUSCODEPARTIALSUCCESS StatusCode = "STATUS_CODE_PARTIAL_SUCCESS" )
func NewStatusCode ¶
func NewStatusCode(value StatusCode) *StatusCode
func (StatusCode) ContextValidate ¶
ContextValidate validates this status code based on context it is used
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
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 {
// attr
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"`
// logo
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
OriginType *Origin `json:"originType,omitempty"`
// 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
OriginType *Origin `json:"originType,omitempty"`
}
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 SysInterface ¶
type SysInterface 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
Tags map[string]string `json:"tags,omitempty"`
}
SysInterface sysInterface payload detail
system interfaces that needs to be used by dom0
swagger:model sysInterface
func (*SysInterface) ContextValidate ¶
ContextValidate validate this sys interface based on the context it is used
func (*SysInterface) MarshalBinary ¶
func (m *SysInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SysInterface) UnmarshalBinary ¶
func (m *SysInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SysModel ¶
type SysModel struct {
// PCR templates keyed by EVE version
PCRTemplates []*PCRTemplate `json:"PCRTemplates"`
// 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"`
// logo
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
OriginType *Origin `json:"originType,omitempty"`
// 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 ¶
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 SysModelDetail ¶
type SysModelDetail struct {
// custom model fields
CustomModelFields *CustomUpdateModelFields `json:"customModelFields,omitempty"`
// name
Name string `json:"name,omitempty"`
// parent model Id
ParentModelID string `json:"parentModelId,omitempty"`
}
SysModelDetail sys model detail
swagger:model SysModelDetail
func (*SysModelDetail) ContextValidate ¶
ContextValidate validate this sys model detail based on the context it is used
func (*SysModelDetail) MarshalBinary ¶
func (m *SysModelDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SysModelDetail) UnmarshalBinary ¶
func (m *SysModelDetail) UnmarshalBinary(b []byte) error
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"`
// 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
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 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 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 *PolicyConfig `json:"appPolicy,omitempty"`
// Attestation policy to enforce on all devices of this project
AttestationPolicy *PolicyConfig `json:"attestationPolicy,omitempty"`
// attr
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 *PolicyConfig `json:"cloudPolicy,omitempty"`
// Detailed description of the resource group.
// Max Length: 256
Description string `json:"description,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"`
// Resource group wide policy for Azure module configuration to be applied to all edge applications
// Read Only: true
ModulePolicy []*PolicyConfig `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 *PolicyConfig `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"`
// 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 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 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"`
}
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"`
}
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 {
// 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"`
}
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
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" )
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"`
}
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 Token64 ¶
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 ¶
ContextValidate validates this token64 based on context it is used
func (*Token64) MarshalBinary ¶
MarshalBinary interface implementation
func (*Token64) UnmarshalBinary ¶
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
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 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 VM ¶
type VM struct {
// 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"`
Configuration *UserDataTemplate `json:"configuration,omitempty"`
// Container specific details
//
// Create options direct the creation of the Docker container
ContainerDetail *ContainerDetail `json:"containerDetail,omitempty"`
// type of deployment for the app, eg: azure, k3s, standalone
DeploymentType *DeploymentType `json:"deploymentType,omitempty"`
// desc
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
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_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"`
// desc
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
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
type VariableGroupVariable ¶
type VariableGroupVariable struct {
// default
Default string `json:"default,omitempty"`
// encode
Encode *VariableFileEncoding `json:"encode,omitempty"`
// format
// Required: true
Format *VariableVariableFormat `json:"format"`
// label
// Required: true
Label *string `json:"label"`
// max length
MaxLength string `json:"maxLength,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// options
Options []*VariableOptionVal `json:"options"`
// process input
ProcessInput string `json:"processInput,omitempty"`
// required
// Required: true
Required bool `json:"required"`
// type
Type string `json:"type,omitempty"`
// value
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 {
// label
Label string `json:"label,omitempty"`
// value
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
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 VolInstConfig ¶
type VolInstConfig struct {
// accessmode
Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"`
// cleartext
Cleartext bool `json:"cleartext,omitempty"`
// content tree Id
ContentTreeID string `json:"contentTreeId,omitempty"`
// description
Description string `json:"description,omitempty"`
// device Id
DeviceID string `json:"deviceId,omitempty"`
// id
ID string `json:"id,omitempty"`
// image
Image string `json:"image,omitempty"`
// implicit
Implicit bool `json:"implicit,omitempty"`
// label
Label string `json:"label,omitempty"`
// multiattach
Multiattach bool `json:"multiattach,omitempty"`
// name
Name string `json:"name,omitempty"`
// project Id
ProjectID string `json:"projectId,omitempty"`
// purge
Purge *ZedCloudOpsCmd `json:"purge,omitempty"`
// revision
Revision *ObjectRevision `json:"revision,omitempty"`
// size bytes
SizeBytes string `json:"sizeBytes,omitempty"`
// title
Title string `json:"title,omitempty"`
// type
Type *VolumeInstanceType `json:"type,omitempty"`
}
VolInstConfig vol inst config
swagger:model VolInstConfig
func (*VolInstConfig) ContextValidate ¶
ContextValidate validate this vol inst config based on the context it is used
func (*VolInstConfig) MarshalBinary ¶
func (m *VolInstConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolInstConfig) UnmarshalBinary ¶
func (m *VolInstConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolInstFilter ¶
type VolInstFilter struct {
// device name
DeviceName string `json:"deviceName,omitempty"`
// label name
LabelName string `json:"labelName,omitempty"`
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// project name
ProjectName string `json:"projectName,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 []*VolInstConfig `json:"cfgList"`
// list
List []*VolInstShortConfig `json:"list"`
// next
Next *Cursor `json:"next,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 {
// device name
DeviceName string `json:"deviceName,omitempty"`
// image name
ImageName string `json:"imageName,omitempty"`
// name pattern
NamePattern string `json:"namePattern,omitempty"`
// project name
ProjectName string `json:"projectName,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 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"`
// 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 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
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
type WifiConfigcryptoblock ¶
type WifiConfigcryptoblock struct {
// identity
Identity string `json:"identity,omitempty"`
// password
Password string `json:"password,omitempty"`
}
WifiConfigcryptoblock wifi configcryptoblock
swagger:model WifiConfigcryptoblock
func (*WifiConfigcryptoblock) ContextValidate ¶
ContextValidate validates this wifi configcryptoblock based on context it is used
func (*WifiConfigcryptoblock) MarshalBinary ¶
func (m *WifiConfigcryptoblock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WifiConfigcryptoblock) UnmarshalBinary ¶
func (m *WifiConfigcryptoblock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
Ec *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" // ZsrvErrorCodeZMsgSucess captures enum value "zMsgSucess" ZsrvErrorCodeZMsgSucess 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" // ZsrvErrorCodeZMsgAccepted captures enum value "zMsgAccepted" ZsrvErrorCodeZMsgAccepted 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
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"`
// 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_failure_response.go
- a_a_a_failure_response_credential_change.go
- a_a_a_failure_response_credential_change_cause.go
- a_a_a_failure_response_generate_token.go
- a_a_a_failure_response_generate_token_cause.go
- a_a_a_failure_response_login.go
- a_a_a_failure_response_login_cause.go
- a_a_a_failure_response_logout.go
- a_a_a_failure_response_logout_cause.go
- a_a_a_failure_response_query_all_session_details.go
- a_a_a_failure_response_query_all_session_details_cause.go
- a_a_a_failure_response_session_details.go
- a_a_a_failure_response_session_details_cause.go
- a_a_a_failure_response_type.go
- a_a_a_failure_token_refresh.go
- a_a_a_failure_token_refresh_cause.go
- a_a_a_frontend_generate_token_response.go
- a_a_a_frontend_generate_token_response_cause.go
- a_a_a_frontend_login_mode_request.go
- a_a_a_frontend_login_mode_response.go
- a_a_a_frontend_login_mode_response_mode.go
- 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
- a_a_a_frontend_refresh_response.go
- a_a_a_frontend_refresh_response_cause.go
- a_a_a_frontend_session_details_response.go
- a_a_a_frontend_session_details_response_cause.go
- a_a_a_login_mode_response.go
- a_a_a_login_mode_response_mode.go
- a_a_a_notify_response.go
- a_a_a_notify_response_type.go
- a_a_a_redirect_response.go
- a_a_a_request_admin_user_signup.go
- a_a_a_request_enterprise_signup.go
- a_a_a_request_login_forgot_password.go
- a_a_a_response.go
- a_a_a_response_type.go
- a_a_a_success_response.go
- a_a_a_success_response_credential_change.go
- a_a_a_success_response_generate_token.go
- a_a_a_success_response_login.go
- a_a_a_success_response_logout.go
- a_a_a_success_response_query_all_session_details.go
- a_a_a_success_response_query_all_session_details_cause.go
- a_a_a_success_response_type.go
- a_a_a_success_session_details_response.go
- a_a_a_success_token_refresh.go
- acl.go
- acl_action.go
- action_scope.go
- adapter_usage.go
- admin_state.go
- admin_user_signup.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_category.go
- app_config.go
- app_filter.go
- app_inst_filter.go
- app_inst_memory_summary.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_deploy.go
- app_instance_logs.go
- app_instance_logs_query_response.go
- app_instance_logs_query_response_item.go
- app_instance_logs_response.go
- app_instance_refresh_and_purge.go
- app_instances.go
- app_interface.go
- app_map_params.go
- app_naming_scheme.go
- app_policy.go
- app_status_from_t_p_controller.go
- app_summary.go
- app_type.go
- apps.go
- artifact.go
- artifact_filter.go
- artifact_list.go
- artifact_stream.go
- attest_policy_type.go
- attest_state.go
- attestation_policy.go
- auth_profile_type.go
- auth_type.go
- author.go
- authorization_profile.go
- authorization_profiles.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
- baseos_update.go
- blob_info.go
- blob_status.go
- brief_health.go
- bulk_config.go
- bulk_instance_config.go
- bulk_service.go
- bundle_detail.go
- bundle_import.go
- capabilities.go
- certificate.go
- certificate_chain.go
- certificate_enrollment_detail.go
- classification_item.go
- classification_response.go
- cloud_version.go
- cloud_version_resp.go
- cluster_config.go
- cluster_policy.go
- cluster_type.go
- cmd_arg.go
- common_hash_algorithm.go
- common_phy_io_member_usage.go
- common_phy_io_type.go
- config_a_c_e.go
- config_a_c_e_action.go
- config_a_c_e_direction.go
- config_a_c_e_match.go
- config_adapter.go
- config_address_type.go
- config_app_instance_config.go
- config_base_o_s.go
- config_base_o_s_config.go
- config_cellular_config.go
- config_cipher_block.go
- config_cipher_context.go
- config_config_item.go
- config_content_tree.go
- config_d_h_c_p_type.go
- config_datastore_config.go
- config_device_ops_cmd.go
- config_drive.go
- config_drive_type.go
- config_ds_type.go
- config_edge_dev_config.go
- config_encryption_scheme.go
- config_format.go
- config_instance_ops_cmd.go
- config_key_exchange_scheme.go
- config_meta_data_type.go
- config_network_adapter.go
- config_network_config.go
- config_network_instance_config.go
- config_network_instance_lisp_config.go
- config_network_instance_opaque_config.go
- config_network_type.go
- config_phy_i_o_usage_policy.go
- config_physical_i_o.go
- config_proxy_config.go
- config_proxy_server.go
- config_service_resp.go
- config_signature_info.go
- config_system_adapter.go
- config_target.go
- config_u_ui_dand_version.go
- config_vm_config.go
- config_vm_mode.go
- config_volume.go
- config_volume_access_protocols.go
- config_volume_content_origin.go
- config_volume_content_origin_type.go
- config_volume_ref.go
- config_wi_fi_key_scheme.go
- config_wifi_config.go
- config_wireless_config.go
- config_wireless_type.go
- config_z_network_inst_type.go
- config_z_network_opaque_config_type.go
- config_zc_service_point.go
- config_zc_service_type.go
- config_znet_static_dns_entry.go
- configip_range.go
- configipspec.go
- configproxy_proto.go
- container_detail.go
- controller_type.go
- cpu_summary.go
- credential.go
- credential_type.go
- credentials.go
- crud_action.go
- crud_content.go
- crud_content_encoding.go
- crud_content_json.go
- crud_content_protobuf.go
- crud_response.go
- crud_response_query.go
- crud_response_read.go
- crud_result_code.go
- crud_result_with_content.go
- crud_statistics_container.go
- crud_statistics_user.go
- cursor.go
- custom_config.go
- custom_config_variable_group.go
- custom_update_model_fields.go
- d_p_s_service_detail.go
- datastore_filter.go
- datastore_info.go
- datastore_info_secrets.go
- datastore_status.go
- datastore_type.go
- datastores.go
- decsription_code.go
- deployment_type.go
- description.go
- detailed_user.go
- detailed_users.go
- details.go
- dev_data_sec_at_rest.go
- dev_zed_server.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_lisp.go
- device_load.go
- device_memory_summary.go
- device_object_usage_info.go
- device_s_w_info.go
- device_s_w_status.go
- device_s_w_sub_status.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
- dns_info.go
- doc_policies.go
- doc_policy.go
- doc_policy_summary.go
- drive.go
- e_c_d_s_a.go
- e_d_config_item.go
- e_id_register.go
- enrollment_detail.go
- enrollment_mechanism.go
- enrollment_type.go
- enterprise.go
- enterprise_state.go
- enterprise_summary.go
- enterprise_type.go
- enterprises.go
- entity.go
- eveconfig_image.go
- event_query_response.go
- event_query_response_item.go
- event_source.go
- flowlog_action.go
- flowlog_category_type.go
- flowlog_direction.go
- flowlog_metric.go
- geo_location.go
- group_symmetric_key_enrollment.go
- health_desc.go
- health_service_resp.go
- health_service_sub_type.go
- hello_name.go
- hello_resp.go
- hv_mode.go
- i_a_m_filter.go
- id_state.go
- identifier64.go
- image_config.go
- image_filter.go
- image_status.go
- image_type.go
- image_version_filter.go
- images.go
- individual_symmetric_key_enrollment.go
- instance_transition_action.go
- interface.go
- io_bundle_status.go
- io_member.go
- io_type.go
- iot_hub_service_detail.go
- ip_assignment.go
- ip_spec.go
- job_config.go
- job_config_list.go
- job_filter.go
- job_status.go
- l_t_e_adapter.go
- last_known_status.go
- limit_params.go
- lisp_config.go
- lisp_server.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
- model_attributes.go
- model_clazz.go
- model_import.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_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_config.go
- net_proxy_server.go
- net_proxy_status.go
- net_wifi_config.go
- net_wifi_config_netcryptoblock.go
- net_wifi_config_secrets.go
- net_wireless_config.go
- network_config_or_default.go
- network_counters.go
- network_d_h_c_p_type.go
- network_filter.go
- network_instance_dhcp_type.go
- network_instance_kind.go
- network_kind.go
- network_policy.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
- object_parent_detail.go
- object_revision.go
- object_tag.go
- object_tag_filter.go
- object_tags_list.go
- object_type.go
- opaque_config_type.go
- opaque_token64.go
- origin.go
- p_c_r_template.go
- p_c_r_type.go
- p_c_r_value.go
- param.go
- permission.go
- phy_adapter.go
- ping_msg_send_resp.go
- policies.go
- policy.go
- policy_access.go
- policy_config.go
- policy_doc_version.go
- policy_doc_version_list.go
- policy_doc_version_resp.go
- policy_scope.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
- realm.go
- realms.go
- resource.go
- resource_group_detail.go
- role.go
- role_state.go
- roles.go
- run_state.go
- runtime_stream_error.go
- s_a_n_values.go
- s_k_u_detail.go
- s_w_info.go
- s_w_state.go
- scope.go
- selection_criteria.go
- service_point.go
- session_details.go
- severity.go
- simcard_state.go
- simple_user.go
- sp_type.go
- static_dns_list.go
- status.go
- status_code.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_detail.go
- sys_model_filter.go
- sys_model_state.go
- sys_models.go
- t_p_m_enrollment_detail.go
- tag.go
- tag_filter.go
- tag_status.go
- tag_status_filter.go
- tag_status_list_msg.go
- tag_status_msg.go
- tag_type.go
- tags.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
- 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
- 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_instance_access_mode.go
- volume_instance_type.go
- wifi_configcryptoblock.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