models

package
v2.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

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 ¶

func (m *ACL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Acl based on the context it is used

func (*ACL) MarshalBinary ¶

func (m *ACL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ACL) UnmarshalBinary ¶

func (m *ACL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ACL) Validate ¶

func (m *ACL) Validate(formats strfmt.Registry) error

Validate validates this Acl

type ACLAction ¶

type ACLAction struct {

	// Not used by ZedUI
	//
	// Drop the packet
	Drop bool `json:"drop,omitempty"`

	// Limit action on ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limit bool `json:"limit,omitempty"`

	// only valid if limit flag is set, see below.
	// Not used by ZedUI
	//
	// Value to be used for limit action (Required if limit is true)
	LimitValue *LimitParams `json:"limitValue,omitempty"`

	// Rate limit burst in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitburst int64 `json:"limitburst,omitempty"`

	// Rate limit in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitrate int64 `json:"limitrate,omitempty"`

	// Rate limit unit in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitunit string `json:"limitunit,omitempty"`

	// Enable device to app port mapping for incoming ACL rule, implicitly added by ZedUI code
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Portmap bool `json:"portmap,omitempty"`

	// Device to app port mapping for incoming ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Portmapto *MapParams `json:"portmapto,omitempty"`
}

ACLAction Acl action

swagger:model AclAction

func (*ACLAction) ContextValidate ¶

func (m *ACLAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Acl action based on the context it is used

func (*ACLAction) MarshalBinary ¶

func (m *ACLAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ACLAction) UnmarshalBinary ¶

func (m *ACLAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ACLAction) Validate ¶

func (m *ACLAction) Validate(formats strfmt.Registry) error

Validate validates this Acl action

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 ¶

func (m *ActionScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ActionScope) Validate ¶

func (m *ActionScope) Validate(formats strfmt.Registry) error

Validate validates this action scope

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 ¶

func (m AdapterUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this adapter usage based on context it is used

func (AdapterUsage) Pointer ¶

func (m AdapterUsage) Pointer() *AdapterUsage

Pointer returns a pointer to a freshly-allocated AdapterUsage.

func (AdapterUsage) Validate ¶

func (m AdapterUsage) Validate(formats strfmt.Registry) error

Validate validates this adapter usage

type AdminState ¶

type AdminState string

AdminState Configured state of an object

- ADMIN_STATE_CREATED: Entity Created in the controller

  • ADMIN_STATE_DELETED: Entity Deleted in the controller
  • ADMIN_STATE_ACTIVE: Entity Activated in the controller
  • ADMIN_STATE_INACTIVE: Entity Deactivated in the controller
  • ADMIN_STATE_REGISTERED: Specific to Edge-node - Edge-node Registered with the controller
  • ADMIN_STATE_ARCHIVED: Entity Archived in the controller

swagger:model AdminState

const (

	// AdminStateADMINSTATEUNSPECIFIED captures enum value "ADMIN_STATE_UNSPECIFIED"
	AdminStateADMINSTATEUNSPECIFIED AdminState = "ADMIN_STATE_UNSPECIFIED"

	// ADMINSTATE_CREATED captures enum value "ADMIN_STATE_CREATED"
	ADMINSTATE_CREATED AdminState = "ADMIN_STATE_CREATED"

	// AdminStateADMINSTATEDELETED captures enum value "ADMIN_STATE_DELETED"
	AdminStateADMINSTATEDELETED AdminState = "ADMIN_STATE_DELETED"

	// ADMINSTATE_ACTIVE captures enum value "ADMIN_STATE_ACTIVE"
	ADMINSTATE_ACTIVE AdminState = "ADMIN_STATE_ACTIVE"

	// ADMINSTATE_INACTIVE captures enum value "ADMIN_STATE_INACTIVE"
	ADMINSTATE_INACTIVE AdminState = "ADMIN_STATE_INACTIVE"

	// ADMINSTATE_REGISTERED captures enum value "ADMIN_STATE_REGISTERED"
	ADMINSTATE_REGISTERED AdminState = "ADMIN_STATE_REGISTERED"

	// AdminStateADMINSTATEARCHIVED captures enum value "ADMIN_STATE_ARCHIVED"
	AdminStateADMINSTATEARCHIVED AdminState = "ADMIN_STATE_ARCHIVED"
)

func NewAdminState ¶

func NewAdminState(value AdminState) *AdminState

func (AdminState) ContextValidate ¶

func (m AdminState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this admin state based on context it is used

func (AdminState) Pointer ¶

func (m AdminState) Pointer() *AdminState

Pointer returns a pointer to a freshly-allocated AdminState.

func (AdminState) Validate ¶

func (m AdminState) Validate(formats strfmt.Registry) error

Validate validates this admin state

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 ¶

func (m AllocationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocation policy based on context it is used

func (AllocationPolicy) Pointer ¶

func (m AllocationPolicy) Pointer() *AllocationPolicy

Pointer returns a pointer to a freshly-allocated AllocationPolicy.

func (AllocationPolicy) Validate ¶

func (m AllocationPolicy) Validate(formats strfmt.Registry) error

Validate validates this allocation policy

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 ¶

func (m *AllowedEnterprise) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AllowedEnterprise) Validate ¶

func (m *AllowedEnterprise) Validate(formats strfmt.Registry) error

Validate validates this allowed enterprise

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 ¶

func (m *AppACE) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app a c e based on the context it is used

func (*AppACE) MarshalBinary ¶

func (m *AppACE) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppACE) UnmarshalBinary ¶

func (m *AppACE) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppACE) Validate ¶

func (m *AppACE) Validate(formats strfmt.Registry) error

Validate validates this app a c e

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 ¶

func (m *AppACEAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppACEAction) Validate ¶

func (m *AppACEAction) Validate(formats strfmt.Registry) error

Validate validates this app a c e action

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 ¶

func (m *AppACEMatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppACEMatch) Validate ¶

func (m *AppACEMatch) Validate(formats strfmt.Registry) error

Validate validates this app a c e match

type AppAccessPolicy ¶

type AppAccessPolicy struct {

	// app side of edge-view access is allowed or not
	AllowApp bool `json:"allowApp,omitempty"`
}

AppAccessPolicy app access policy

swagger:model AppAccessPolicy

func (*AppAccessPolicy) ContextValidate ¶

func (m *AppAccessPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app access policy based on context it is used

func (*AppAccessPolicy) MarshalBinary ¶

func (m *AppAccessPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppAccessPolicy) UnmarshalBinary ¶

func (m *AppAccessPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppAccessPolicy) Validate ¶

func (m *AppAccessPolicy) Validate(formats strfmt.Registry) error

Validate validates this app access policy

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 ¶

func (m AppCategory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app category based on context it is used

func (AppCategory) Pointer ¶

func (m AppCategory) Pointer() *AppCategory

Pointer returns a pointer to a freshly-allocated AppCategory.

func (AppCategory) Validate ¶

func (m AppCategory) Validate(formats strfmt.Registry) error

Validate validates this app category

type AppConfig ¶

type AppConfig struct {

	// User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// Current version of the attached bundle
	AppVersion string `json:"appVersion,omitempty"`

	// user defined cpus for bundle
	// Required: true
	Cpus *int64 `json:"cpus"`

	// Detailed description of the edge application
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// user defined drives
	// Required: true
	// Read Only: true
	Drives int64 `json:"drives"`

	// System defined universally unique Id of the edge application
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// application interfaces
	Interfaces []*AppInterface `json:"interfaces"`

	// Manifest data
	// Required: true
	ManifestJSON *VMManifest `json:"manifestJSON"`

	// user defined memory for bundle
	// Required: true
	Memory *int64 `json:"memory"`

	// User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// User provided name part  for the auto deployed app
	NameAppPart string `json:"nameAppPart,omitempty"`

	// User provided name part  for the auto deployed app
	NameProjectPart string `json:"nameProjectPart,omitempty"`

	// app naming scheme
	NamingScheme *AppNamingScheme `json:"namingScheme,omitempty"`

	// user defined network options
	// Required: true
	Networks *int64 `json:"networks"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// start delay is the time in seconds EVE should wait after boot before starting the application instance
	StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the edge application. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`
}

AppConfig Edge application configuration for App policy

Edge application configuration for an App policy defines configuration details of the Edge application to be installed to all Edge node(s) under the App policy.

swagger:model AppConfig

func (*AppConfig) ContextValidate ¶

func (m *AppConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app config based on the context it is used

func (*AppConfig) MarshalBinary ¶

func (m *AppConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppConfig) UnmarshalBinary ¶

func (m *AppConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppConfig) Validate ¶

func (m *AppConfig) Validate(formats strfmt.Registry) error

Validate validates this app config

type AppFilter ¶

type AppFilter struct {

	// category type of the bundle
	AppCategory *AppCategory `json:"appCategory,omitempty"`

	// app type, eg: vm, container, module
	AppType *AppType `json:"appType,omitempty"`

	// category types of the bundle
	Categories []*AppCategory `json:"categories"`

	// category type of the bundle
	Category string `json:"category,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// query param : "name-pattern"
	//
	// Search * namePattern * in name field to filter records
	NamePattern string `json:"namePattern,omitempty"`

	// origin of bundle
	OriginType *Origin `json:"originType,omitempty"`
}

AppFilter app filter

swagger:model AppFilter

func (*AppFilter) ContextValidate ¶

func (m *AppFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app filter based on the context it is used

func (*AppFilter) MarshalBinary ¶

func (m *AppFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppFilter) UnmarshalBinary ¶

func (m *AppFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppFilter) Validate ¶

func (m *AppFilter) Validate(formats strfmt.Registry) error

Validate validates this app filter

type AppInstConfig ¶

type AppInstConfig struct {

	// User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	BundleID string `json:"bundleId,omitempty"`

	// current bundle version
	BundleVersion int64 `json:"bundleVersion,omitempty"`

	// user defined cpus for bundle
	Cpus int64 `json:"cpus,omitempty"`

	// user defined drives
	// Read Only: true
	Drives int64 `json:"drives,omitempty"`

	// application interfaces
	Interfaces []*AppInterface `json:"interfaces"`

	// App Instance logs
	Logs *AppInstanceLogs `json:"logs,omitempty"`

	// user defined manifest in JSON format
	ManifestJSON *VMManifest `json:"manifestJSON,omitempty"`

	// user defined memory for bundle
	Memory int64 `json:"memory,omitempty"`

	// User provided name part  for the auto deployed app
	NameAppPart string `json:"nameAppPart,omitempty"`

	// User provided name part  for the auto deployed app
	NameProjectPart string `json:"nameProjectPart,omitempty"`

	// app naming scheme
	NamingScheme *AppNamingSchemeV2 `json:"namingScheme,omitempty"`

	// user defined network options
	Networks int64 `json:"networks,omitempty"`

	// this flag denotes whether there is latest bundle available in the marketplace or not
	NewBundleVersionAvailable bool `json:"newBundleVersionAvailable,omitempty"`

	// origin of object
	OriginType *Origin `json:"originType,omitempty"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// Remote console flag
	RemoteConsole bool `json:"remoteConsole,omitempty"`

	// start delay is the time in seconds EVE should wait after boot before starting the application instance
	StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// virtual machine info
	Vminfo *VM `json:"vminfo,omitempty"`
}

AppInstConfig Edge application detailed configuration

Edge application gets installed/uninstalled to/from edge node(s) and perform specific edge computing tasks. Lifecycle of Edge application (upgrade/restart) on Edge node can be managed and monitored by ZEDEDA Cloud controller through this detailed configuration. Example: {"name":"sample-app","originType":"ORIGIN_LOCAL","title":"Sample Edge Applications"}

swagger:model AppInstConfig

func (*AppInstConfig) ContextValidate ¶

func (m *AppInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app inst config based on the context it is used

func (*AppInstConfig) MarshalBinary ¶

func (m *AppInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppInstConfig) UnmarshalBinary ¶

func (m *AppInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppInstConfig) Validate ¶

func (m *AppInstConfig) Validate(formats strfmt.Registry) error

Validate validates this app inst config

type AppInstConfigStatus ¶

type AppInstConfigStatus struct {

	// storage summary
	Storage *StorageSummary `json:"Storage,omitempty"`

	// System generated identifier for the app bundle
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// cpu utilization
	CPUUtilization float64 `json:"cpuUtilization,omitempty"`

	// System generated identifier for the device
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the app instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// app manifest Info
	ManifestInfo *ManifestInfo `json:"manifestInfo,omitempty"`

	// memory utilization
	MemoryUtilization float64 `json:"memoryUtilization,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// System generated identifier for the project
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectID string `json:"projectId,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// operation status
	RunState *RunState `json:"runState,omitempty"`

	// storage utilization
	StorageUtilization float64 `json:"storageUtilization,omitempty"`

	// Software details
	SwInfo []*SWInfo `json:"swInfo"`

	// sotware state
	SwState *SWState `json:"swState,omitempty"`

	// Instance version tells which edge app does this instance is running
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

AppInstConfigStatus App instance config status

appInstConfigStatus stores the summary of the app instance config status

swagger:model appInstConfigStatus

func (*AppInstConfigStatus) ContextValidate ¶

func (m *AppInstConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app inst config status based on the context it is used

func (*AppInstConfigStatus) MarshalBinary ¶

func (m *AppInstConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppInstConfigStatus) UnmarshalBinary ¶

func (m *AppInstConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppInstConfigStatus) Validate ¶

func (m *AppInstConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this app inst config status

type AppInstConfigStatusList ¶

type AppInstConfigStatusList struct {

	// app instance status summary
	List []*AppInstConfigStatus `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app instance summary by application type
	SummaryByAppType *Summary `json:"summaryByAppType,omitempty"`

	// app instance status by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

AppInstConfigStatusList App instance config status list

AppInstConfigStatusList is used for listing the app instance statuses ¶

swagger:model AppInstConfigStatusList

func (*AppInstConfigStatusList) ContextValidate ¶

func (m *AppInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app inst config status list based on the context it is used

func (*AppInstConfigStatusList) MarshalBinary ¶

func (m *AppInstConfigStatusList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppInstConfigStatusList) UnmarshalBinary ¶

func (m *AppInstConfigStatusList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppInstConfigStatusList) Validate ¶

func (m *AppInstConfigStatusList) Validate(formats strfmt.Registry) error

Validate validates this app inst config status list

type AppInstFilter ¶

type AppInstFilter struct {

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of bundle
	AppType *AppType `json:"appType,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`
}

AppInstFilter app inst filter

swagger:model AppInstFilter

func (*AppInstFilter) ContextValidate ¶

func (m *AppInstFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstFilter) Validate ¶

func (m *AppInstFilter) Validate(formats strfmt.Registry) error

Validate validates this app inst filter

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 ¶

func (m *AppInstMemorySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstMemorySummary) Validate ¶

func (m *AppInstMemorySummary) Validate(formats strfmt.Registry) error

Validate validates this app inst memory summary

type AppInstPolicy ¶

type AppInstPolicy struct {

	// app instance config for automated deployment
	AppInstConfig *AppInstConfig `json:"appInstConfig,omitempty"`

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`
}

AppInstPolicy app inst policy

swagger:model AppInstPolicy

func (*AppInstPolicy) ContextValidate ¶

func (m *AppInstPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app inst policy based on the context it is used

func (*AppInstPolicy) MarshalBinary ¶

func (m *AppInstPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppInstPolicy) UnmarshalBinary ¶

func (m *AppInstPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppInstPolicy) Validate ¶

func (m *AppInstPolicy) Validate(formats strfmt.Registry) error

Validate validates this app inst policy

type AppInstStatusFilter ¶

type AppInstStatusFilter struct {

	// User defined name of the app bundle, unique across the enterprise. Once app bundle is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// aperation status
	RunState *RunState `json:"runState,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

AppInstStatusFilter app inst status filter

swagger:model AppInstStatusFilter

func (*AppInstStatusFilter) ContextValidate ¶

func (m *AppInstStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstStatusFilter) Validate ¶

func (m *AppInstStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this app inst status filter

type AppInstStatusListMsg ¶

type AppInstStatusListMsg struct {

	// app instance status summary
	List []*AppInstStatusSummaryMsg `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app instance summary by application type
	SummaryByAppType *Summary `json:"summaryByAppType,omitempty"`

	// app instance status by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

AppInstStatusListMsg App instance status list

AppInstStatusListMsg is used for listing the app instance statuses ¶

swagger:model AppInstStatusListMsg

func (*AppInstStatusListMsg) ContextValidate ¶

func (m *AppInstStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstStatusListMsg) Validate ¶

func (m *AppInstStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this app inst status list msg

type AppInstStatusMsg ¶

type AppInstStatusMsg struct {

	// SPU details
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// Io bundle status list
	IoStatusList []*IoBundleStatus `json:"IoStatusList"`

	// memory summary
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage summary
	Storage *StorageSummary `json:"Storage,omitempty"`

	// App instance status
	AdminState *AdminState `json:"adminState,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// app status from third party controller
	AppStatusFromTPController *AppStatusFromTPController `json:"appStatusFromTPController,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// device boot time
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterId,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// Device error details
	ErrInfo []*DeviceError `json:"errInfo"`

	// app instance id
	ID string `json:"id,omitempty"`

	// device last update time
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// memory summary
	MemorySummary *AppInstMemorySummary `json:"memorySummary,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// network counter list
	NetCounterList []*NetworkCounters `json:"netCounterList"`

	// network status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectID string `json:"projectId,omitempty"`

	// app instance state
	RunState *RunState `json:"runState,omitempty"`

	// Software details
	SwInfo []*SWInfo `json:"swInfo"`

	// software state
	SwState *SWState `json:"swState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// app instance status title
	Title string `json:"title,omitempty"`

	// device up time
	// Format: date-time
	UpTime strfmt.DateTime `json:"upTime,omitempty"`

	// list of volume ids attached
	VolumeRefs []string `json:"volumeRefs"`

	// Last received counters for zvol metrics
	ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"`
}

AppInstStatusMsg App instance status message

AppInstanceStatusMsg encapsulates the status of an app instance ¶

swagger:model AppInstStatusMsg

func (*AppInstStatusMsg) ContextValidate ¶

func (m *AppInstStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstStatusMsg) Validate ¶

func (m *AppInstStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this app inst status msg

type AppInstStatusSummaryMsg ¶

type AppInstStatusSummaryMsg struct {

	// cpu summary
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// memory summary
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage summary
	Storage *StorageSummary `json:"Storage,omitempty"`

	// SPU details
	AdminState *AdminState `json:"adminState,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the app instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// memory summary
	MemorySummary *AppInstMemorySummary `json:"memorySummary,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectID string `json:"projectId,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// operation status
	RunState *RunState `json:"runState,omitempty"`

	// Software details
	SwInfo []*SWInfo `json:"swInfo"`

	// sotware state
	SwState *SWState `json:"swState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the app instance. Title can be changed at any time
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title string `json:"title,omitempty"`
}

AppInstStatusSummaryMsg App instance status summary

AppInstStatusSummaryMsg stores the summary of the app instance status ¶

swagger:model AppInstStatusSummaryMsg

func (*AppInstStatusSummaryMsg) ContextValidate ¶

func (m *AppInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app inst status summary msg based on the context it is used

func (*AppInstStatusSummaryMsg) MarshalBinary ¶

func (m *AppInstStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppInstStatusSummaryMsg) UnmarshalBinary ¶

func (m *AppInstStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppInstStatusSummaryMsg) Validate ¶

func (m *AppInstStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this app inst status summary msg

type AppInstance ¶

type AppInstance struct {

	// app instance activation flag
	// Required: true
	Activate *bool `json:"activate"`

	// User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID *string `json:"appId"`

	// app policy id
	AppPolicyID string `json:"appPolicyId,omitempty"`

	// type of bundle
	AppType *AppType `json:"appType,omitempty"`

	// version of bundle app is referring to
	Bundleversion string `json:"bundleversion,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// holds the static Ip of the app instance
	CollectStatsIPAddr string `json:"collectStatsIPAddr,omitempty"`

	// Crypto Key for decrypting user secret information
	CryptoKey string `json:"cryptoKey,omitempty"`

	// Application initialization script template in cloud-config format and user specified values
	CustomConfig *CustomConfig `json:"customConfig,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// Detailed description of the app instance
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// User defined name of the device name, unique across the enterprise. Once device name is defined, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID *string `json:"deviceId"`

	// drive details
	// Required: true
	Drives []*Drive `json:"drives"`

	// user encrypted secrets map
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// System defined universally unique Id of the app instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// application interfaces
	// Required: true
	Interfaces []*AppInterface `json:"interfaces"`

	// This field tells whether user secrets has updated or not, especially the cusotom config
	IsSecretUpdated bool `json:"isSecretUpdated,omitempty"`

	// App Instance logs
	Logs *AppInstanceLogs `json:"logs,omitempty"`

	// app manifest Info
	ManifestInfo *ManifestInfo `json:"manifestInfo,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// project name which the given app instance belong to
	// Required: true
	ProjectID *string `json:"projectId"`

	// Purge counter: ZedCloudOpsCmd
	Purge *ZedCloudOpsCmd `json:"purge,omitempty"`

	// Refresh counter: ZedCloudOpsCmd
	Refresh *ZedCloudOpsCmd `json:"refresh,omitempty"`

	// Remote console flag
	RemoteConsole bool `json:"remoteConsole,omitempty"`

	// Restart counter: ZedCloudOpsCmd
	Restart *ZedCloudOpsCmd `json:"restart,omitempty"`

	// app instance object revision details
	Revision *ObjectRevision `json:"revision,omitempty"`

	// start delay is the time in seconds EVE should wait after boot before starting the application instance
	StartDelayInSeconds int32 `json:"startDelayInSeconds,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the app instance. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// Deprecated: Application initiazation script in cloud-config format to be used by cloud-init
	UserData string `json:"userData,omitempty"`

	// Instance version tells which edge app does this instance is running
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`

	// virtual machine info
	Vminfo *VM `json:"vminfo,omitempty"`
}

AppInstance App Instance detail

App Instance detail ¶

swagger:model AppInstance

func (*AppInstance) ContextValidate ¶

func (m *AppInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstance) Validate ¶

func (m *AppInstance) Validate(formats strfmt.Registry) error

Validate validates this app instance

type AppInstanceLogs ¶

type AppInstanceLogs struct {

	// Flags to enable / disable sending of logs generated by app instance to zedcloud
	// Required: true
	Access *bool `json:"access"`
}

AppInstanceLogs App Instance Logs configuration

App Instance Logs configuration ¶

swagger:model AppInstanceLogs

func (*AppInstanceLogs) ContextValidate ¶

func (m *AppInstanceLogs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstanceLogs) Validate ¶

func (m *AppInstanceLogs) Validate(formats strfmt.Registry) error

Validate validates this app instance logs

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

func (*AppInstanceLogsQueryResponse) Validate ¶

func (m *AppInstanceLogsQueryResponse) Validate(formats strfmt.Registry) error

Validate validates this app instance logs query response

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

func (*AppInstanceLogsQueryResponseItem) Validate ¶

Validate validates this app instance logs query response item

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

func (*AppInstanceLogsResponse) Validate ¶

func (m *AppInstanceLogsResponse) Validate(formats strfmt.Registry) error

Validate validates this app instance logs response

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 ¶

func (m *AppInstances) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInstances) Validate ¶

func (m *AppInstances) Validate(formats strfmt.Registry) error

Validate validates this app instances

type AppInterface ¶

type AppInterface struct {

	// access port VLAN ID, vlan id of zero will be treated as trunk port and vlan id 1 is implicitly used by linux bridges
	// Maximum: 4093
	// Minimum: 2
	AccessVlanID int64 `json:"accessVlanId,omitempty"`

	// app Acls
	// Required: true
	Acls []*AppACE `json:"acls"`

	// default instance flag
	DefaultNetInstance bool `json:"defaultNetInstance,omitempty"`

	// comes from manifest during app create
	//
	// direct attach flag
	// Required: true
	Directattach *bool `json:"directattach"`

	// FIXME: Check why is this required
	//
	// EID register details
	// Required: true
	Eidregister *EIDRegister `json:"eidregister"`

	// intf Name
	// Required: true
	Intfname *string `json:"intfname"`

	// intforder
	// Required: true
	Intforder *int64 `json:"intforder"`

	// Physical Adapter to be matched for interface assignment. Applicable only when "direct attach" flag is true
	// Required: true
	Io *PhyAdapter `json:"io"`

	// if netname points static DHCP then we need to take
	// static /32 address here
	//
	// IP address
	// Required: true
	Ipaddr *string `json:"ipaddr"`

	// in case of p2v we might want to provide a mac-address.
	// applicable only in case of DHCP=passthrough
	//
	// MAC address
	// Required: true
	Macaddr *string `json:"macaddr"`

	// Network Instance id to be matched for interface assignment.
	Netinstid string `json:"netinstid,omitempty"`

	// Network Instance name to be matched for interface assignment. Applicable only when "direct attach" flag is false
	// Required: true
	Netinstname *string `json:"netinstname"`

	// Network Instance tag to be matched for interface assignment. Applicable only when "direct attach" flag is false
	Netinsttag map[string]string `json:"netinsttag,omitempty"`

	// network name: will be deprecated in future, use netinstname
	Netname string `json:"netname,omitempty"`

	// Private IP flag
	// Required: true
	Privateip *bool `json:"privateip"`
}

AppInterface App Interface detail

App Interface detail ¶

swagger:model appInterface

func (*AppInterface) ContextValidate ¶

func (m *AppInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppInterface) Validate ¶

func (m *AppInterface) Validate(formats strfmt.Registry) error

Validate validates this app interface

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 ¶

func (m *AppMapParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppMapParams) Validate ¶

func (m *AppMapParams) Validate(formats strfmt.Registry) error

Validate validates this app map params

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 ¶

func (m AppNamingScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app naming scheme based on context it is used

func (AppNamingScheme) Pointer ¶

func (m AppNamingScheme) Pointer() *AppNamingScheme

Pointer returns a pointer to a freshly-allocated AppNamingScheme.

func (AppNamingScheme) Validate ¶

func (m AppNamingScheme) Validate(formats strfmt.Registry) error

Validate validates this app naming scheme

type AppNamingSchemeV2 ¶

type AppNamingSchemeV2 string

AppNamingSchemeV2 type of name aliasing.

swagger:model AppNamingSchemeV2

const (

	// AppNamingSchemeV2APPNAMINGSCHEMEV2UNSPECIFIED captures enum value "APP_NAMING_SCHEMEV2_UNSPECIFIED"
	AppNamingSchemeV2APPNAMINGSCHEMEV2UNSPECIFIED AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_UNSPECIFIED"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2DEVICE captures enum value "APP_NAMING_SCHEMEV2_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2DEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_DEVICE"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2APPDEVICE captures enum value "APP_NAMING_SCHEMEV2_APP_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2APPDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_APP_DEVICE"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTDEVICE captures enum value "APP_NAMING_SCHEMEV2_PROJECT_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_PROJECT_DEVICE"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTAPPDEVICE captures enum value "APP_NAMING_SCHEMEV2_PROJECT_APP_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTAPPDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_PROJECT_APP_DEVICE"
)

func NewAppNamingSchemeV2 ¶

func NewAppNamingSchemeV2(value AppNamingSchemeV2) *AppNamingSchemeV2

func (AppNamingSchemeV2) ContextValidate ¶

func (m AppNamingSchemeV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app naming scheme v2 based on context it is used

func (AppNamingSchemeV2) Pointer ¶

func (m AppNamingSchemeV2) Pointer() *AppNamingSchemeV2

Pointer returns a pointer to a freshly-allocated AppNamingSchemeV2.

func (AppNamingSchemeV2) Validate ¶

func (m AppNamingSchemeV2) Validate(formats strfmt.Registry) error

Validate validates this app naming scheme v2

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 ¶

func (m *AppPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app policy based on the context it is used

func (*AppPolicy) MarshalBinary ¶

func (m *AppPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppPolicy) UnmarshalBinary ¶

func (m *AppPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppPolicy) Validate ¶

func (m *AppPolicy) Validate(formats strfmt.Registry) error

Validate validates this app policy

type AppProjectList ¶

type AppProjectList struct {

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// List of projects which are associated with the given app
	ProjectDetails []*ObjectDetail `json:"projectDetails"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

AppProjectList app project list

swagger:model AppProjectList

func (*AppProjectList) ContextValidate ¶

func (m *AppProjectList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app project list based on the context it is used

func (*AppProjectList) MarshalBinary ¶

func (m *AppProjectList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppProjectList) UnmarshalBinary ¶

func (m *AppProjectList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppProjectList) Validate ¶

func (m *AppProjectList) Validate(formats strfmt.Registry) error

Validate validates this app project list

type AppStatusFromTPController ¶

type AppStatusFromTPController struct {

	// app Id
	AppID string `json:"appId,omitempty"`

	// app name
	AppName string `json:"appName,omitempty"`

	// azure status
	AzureStatus *AzureStatus `json:"azureStatus,omitempty"`

	// enterprise Id
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// eve device Id
	EveDeviceID string `json:"eveDeviceId,omitempty"`

	// type
	Type *ControllerType `json:"type,omitempty"`

	// vce status
	VceStatus *VCEStatus `json:"vceStatus,omitempty"`
}

AppStatusFromTPController app status from t p controller

swagger:model AppStatusFromTPController

func (*AppStatusFromTPController) ContextValidate ¶

func (m *AppStatusFromTPController) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app status from t p controller based on the context it is used

func (*AppStatusFromTPController) MarshalBinary ¶

func (m *AppStatusFromTPController) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppStatusFromTPController) UnmarshalBinary ¶

func (m *AppStatusFromTPController) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppStatusFromTPController) Validate ¶

func (m *AppStatusFromTPController) Validate(formats strfmt.Registry) error

Validate validates this app status from t p controller

type AppSummary ¶

type AppSummary struct {

	// App instance count
	AppInstCount int32 `json:"appInstCount,omitempty"`

	// user defined cpus for bundle
	Cpus int64 `json:"cpus,omitempty"`

	// Detailed description of the edge application
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// user defined drives
	// Read Only: true
	Drives int64 `json:"drives,omitempty"`

	// System defined universally unique Id of the edge application
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Flag to represent where app bundle is already imported
	IsImported bool `json:"isImported,omitempty"`

	// manifest JSON
	ManifestJSON *VMManifestSummary `json:"manifestJSON,omitempty"`

	// user defined memory for bundle
	Memory int64 `json:"memory,omitempty"`

	// User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// user defined network options
	Networks int64 `json:"networks,omitempty"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// User defined title of the edge application. Title can be changed at any time
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title string `json:"title,omitempty"`

	// User defined version for the given edge-app
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

AppSummary Bundle summary

Edge application summary Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model AppSummary

func (*AppSummary) ContextValidate ¶

func (m *AppSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppSummary) Validate ¶

func (m *AppSummary) Validate(formats strfmt.Registry) error

Validate validates this app summary

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 NewAppType(value AppType) *AppType

func (AppType) ContextValidate ¶

func (m AppType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app type based on context it is used

func (AppType) Pointer ¶

func (m AppType) Pointer() *AppType

Pointer returns a pointer to a freshly-allocated AppType.

func (AppType) Validate ¶

func (m AppType) Validate(formats strfmt.Registry) error

Validate validates this app type

type Application ¶

type Application struct {

	// user defined cpus for bundle
	Cpus int64 `json:"cpus,omitempty"`

	// Detailed description of the edge application
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// user defined drives
	// Read Only: true
	Drives int64 `json:"drives,omitempty"`

	// System defined universally unique Id of the edge application
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Flag to represent where app bundle is already imported
	IsImported bool `json:"isImported,omitempty"`

	// user defined manifest in JSON format
	Manifest *VMManifest `json:"manifestJSON,omitempty"`

	// user defined memory for bundle
	Memory int64 `json:"memory,omitempty"`

	// User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// user defined network options
	Networks int64 `json:"networks,omitempty"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// project access list of the app bundle
	ProjectAccessList []string `json:"projectAccessList"`

	// system defined info
	Revision *ObjectRevision `json:"revision,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// User defined title of the edge application. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// User defined version for the given edge-app
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

Application Edge application detailed configuration

Edge application gets installed/uninstalled to/from edge node(s) and perform specific edge computing tasks. Lifecycle of Edge application (upgrade/restart) on Edge node can be managed and monitored by ZEDEDA Cloud controller through this detailed configuration. Example: {"name":"sample-app","originType":"ORIGIN_LOCAL","title":"Sample Edge Applications"}

swagger:model Application

func (*Application) ContextValidate ¶

func (m *Application) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app based on the context it is used

func (*Application) MarshalBinary ¶

func (m *Application) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Application) UnmarshalBinary ¶

func (m *Application) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Application) Validate ¶

func (m *Application) Validate(formats strfmt.Registry) error

Validate validates this app

type Apps ¶

type Apps struct {

	// edge application summary list
	List []*AppSummary `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app distribution summary
	SummaryByAppInstanceDistribution *Summary `json:"summaryByAppInstanceDistribution,omitempty"`

	// edge applications by appType
	SummaryByAppType *Summary `json:"summaryByAppType,omitempty"`

	// edge applications by category
	SummaryByCategory *Summary `json:"summaryByCategory,omitempty"`

	// edge applications by origin
	SummaryByOrigin *Summary `json:"summaryByOrigin,omitempty"`
}

Apps apps

swagger:model Apps

func (*Apps) ContextValidate ¶

func (m *Apps) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apps based on the context it is used

func (*Apps) MarshalBinary ¶

func (m *Apps) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Apps) UnmarshalBinary ¶

func (m *Apps) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Apps) Validate ¶

func (m *Apps) Validate(formats strfmt.Registry) error

Validate validates this apps

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 ¶

func (m AttestPolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attest policy type based on context it is used

func (AttestPolicyType) Pointer ¶

func (m AttestPolicyType) Pointer() *AttestPolicyType

Pointer returns a pointer to a freshly-allocated AttestPolicyType.

func (AttestPolicyType) Validate ¶

func (m AttestPolicyType) Validate(formats strfmt.Registry) error

Validate validates this attest policy type

type AttestState ¶

type AttestState string

AttestState attest state

swagger:model AttestState

const (

	// AttestStateATTESTSTATEUNSPECIFIED captures enum value "ATTEST_STATE_UNSPECIFIED"
	AttestStateATTESTSTATEUNSPECIFIED AttestState = "ATTEST_STATE_UNSPECIFIED"

	// AttestStateATTESTSTATENONE captures enum value "ATTEST_STATE_NONE"
	AttestStateATTESTSTATENONE AttestState = "ATTEST_STATE_NONE"

	// AttestStateATTESTSTATEFAIL captures enum value "ATTEST_STATE_FAIL"
	AttestStateATTESTSTATEFAIL AttestState = "ATTEST_STATE_FAIL"

	// AttestStateATTESTSTATEPASS captures enum value "ATTEST_STATE_PASS"
	AttestStateATTESTSTATEPASS AttestState = "ATTEST_STATE_PASS"

	// AttestStateATTESTSTATEPASSNOPCR captures enum value "ATTEST_STATE_PASS_NO_PCR"
	AttestStateATTESTSTATEPASSNOPCR AttestState = "ATTEST_STATE_PASS_NO_PCR"

	// AttestStateATTESTSTATEFAILNOPCR captures enum value "ATTEST_STATE_FAIL_NO_PCR"
	AttestStateATTESTSTATEFAILNOPCR AttestState = "ATTEST_STATE_FAIL_NO_PCR"
)

func NewAttestState ¶

func NewAttestState(value AttestState) *AttestState

func (AttestState) ContextValidate ¶

func (m AttestState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attest state based on context it is used

func (AttestState) Pointer ¶

func (m AttestState) Pointer() *AttestState

Pointer returns a pointer to a freshly-allocated AttestState.

func (AttestState) Validate ¶

func (m AttestState) Validate(formats strfmt.Registry) error

Validate validates this attest state

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 ¶

func (m *AttestationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AttestationPolicy) Validate ¶

func (m *AttestationPolicy) Validate(formats strfmt.Registry) error

Validate validates this attestation policy

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 NewAuthType(value AuthType) *AuthType

func (AuthType) ContextValidate ¶

func (m AuthType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth type based on context it is used

func (AuthType) Pointer ¶

func (m AuthType) Pointer() *AuthType

Pointer returns a pointer to a freshly-allocated AuthType.

func (AuthType) Validate ¶

func (m AuthType) Validate(formats strfmt.Registry) error

Validate validates this auth type

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 ¶

func (m *Author) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this author based on context it is used

func (*Author) MarshalBinary ¶

func (m *Author) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Author) UnmarshalBinary ¶

func (m *Author) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Author) Validate ¶

func (m *Author) Validate(formats strfmt.Registry) error

Validate validates this author

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 ¶

func (m *AzureDevStatusDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AzureDevStatusDetail) Validate ¶

func (m *AzureDevStatusDetail) Validate(formats strfmt.Registry) error

Validate validates this azure dev status detail

type AzurePolicy ¶

type AzurePolicy struct {

	// app id for rbac
	// Required: true
	AppID *string `json:"appId"`

	// app password for rbac
	// Required: true
	AppPassword *string `json:"appPassword"`

	// azure resource and service the policy will be interested in
	AzureResourceAndServices *AzureResourceAndServices `json:"azureResourceAndServices,omitempty"`

	// Certificate object holds the details of certificate like encryption type, validity, subject etc
	Certificate *Certificate `json:"certificate,omitempty"`

	// key to decrypt AppPassword
	CryptoKey string `json:"cryptoKey,omitempty"`

	// custom deployment managed
	CustomDeploymentManaged bool `json:"customDeploymentManaged,omitempty"`

	// encrypted AppPassword
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// tenant id for rbac
	// Required: true
	TenantID *string `json:"tenantId"`
}

AzurePolicy Azure policy body detail

All azure policy related details that are required to provision an iot edge device and deploy a module on that.

swagger:model AzurePolicy

func (*AzurePolicy) ContextValidate ¶

func (m *AzurePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AzurePolicy) Validate ¶

func (m *AzurePolicy) Validate(formats strfmt.Registry) error

Validate validates this azure policy

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

func (*AzureResourceAndServiceDetail) Validate ¶

func (m *AzureResourceAndServiceDetail) Validate(formats strfmt.Registry) error

Validate validates this azure resource and service detail

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

func (*AzureResourceAndServices) Validate ¶

func (m *AzureResourceAndServices) Validate(formats strfmt.Registry) error

Validate validates this azure resource and services

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 ¶

func (m *AzureStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AzureStatus) Validate ¶

func (m *AzureStatus) Validate(formats strfmt.Registry) error

Validate validates this azure status

type BaseOSImage ¶

type BaseOSImage struct {

	// activation flag
	// Required: true
	Activate *bool `json:"activate"`

	// image name
	// Required: true
	ImageName *string `json:"imageName"`

	// immutable Volume for this base image
	ImvolID string `json:"imvolId,omitempty"`

	// system generated unique id for an image
	// Required: true
	UUID *string `json:"uuid"`

	// image version
	// Required: true
	Version *string `json:"version"`
}

BaseOSImage Base OS image payload detail

Base OS image request details ¶

swagger:model BaseOSImage

func (*BaseOSImage) ContextValidate ¶

func (m *BaseOSImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*BaseOSImage) Validate ¶

func (m *BaseOSImage) Validate(formats strfmt.Registry) error

Validate validates this base o s image

type BinaryArtifact ¶

type BinaryArtifact struct {

	// optional - any arbitrary metadata about/for artifact encoded to base64 string
	ArtifactMetaData string `json:"artifactMetaData,omitempty"`

	// base64 artifact
	Base64Artifact *InlineOpaqueBase64Data `json:"base64Artifact,omitempty"`

	// binary artifact
	BinaryArtifact *ExternalOpaqueBinaryBlob `json:"binaryArtifact,omitempty"`

	// base64 or binary blob only - secret type is invalid
	Format *OpaqueObjectCategory `json:"format,omitempty"`

	// artifact id
	//
	// System defined universally unique Id of the artifact.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`
}

BinaryArtifact binary artifact

swagger:model BinaryArtifact

func (*BinaryArtifact) ContextValidate ¶

func (m *BinaryArtifact) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this binary artifact based on the context it is used

func (*BinaryArtifact) MarshalBinary ¶

func (m *BinaryArtifact) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BinaryArtifact) UnmarshalBinary ¶

func (m *BinaryArtifact) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BinaryArtifact) Validate ¶

func (m *BinaryArtifact) Validate(formats strfmt.Registry) error

Validate validates this binary artifact

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 ¶

func (m *BlobInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blob info based on the context it is used

func (*BlobInfo) MarshalBinary ¶

func (m *BlobInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlobInfo) UnmarshalBinary ¶

func (m *BlobInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlobInfo) Validate ¶

func (m *BlobInfo) Validate(formats strfmt.Registry) error

Validate validates this blob info

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 ¶

func (m *BlobStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*BlobStatus) Validate ¶

func (m *BlobStatus) Validate(formats strfmt.Registry) error

Validate validates this blob status

type CPUSummary ¶

type CPUSummary struct {

	// CPU Utilization
	Utilization float64 `json:"Utilization,omitempty"`
}

CPUSummary CPU Summary

CPU Summary ¶

swagger:model CpuSummary

func (*CPUSummary) ContextValidate ¶

func (m *CPUSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CPUSummary) Validate ¶

func (m *CPUSummary) Validate(formats strfmt.Registry) error

Validate validates this Cpu summary

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 ¶

func (m *Capabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Capabilities) Validate ¶

func (m *Capabilities) Validate(formats strfmt.Registry) error

Validate validates this capabilities

type Cellular ¶

type Cellular struct {

	// a p n
	APN string `json:"APN,omitempty"`

	// location tracking
	LocationTracking bool `json:"locationTracking,omitempty"`
}

Cellular net cellular config

swagger:model Cellular

func (*Cellular) ContextValidate ¶

func (m *Cellular) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this net cellular config based on context it is used

func (*Cellular) MarshalBinary ¶

func (m *Cellular) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cellular) UnmarshalBinary ¶

func (m *Cellular) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cellular) Validate ¶

func (m *Cellular) Validate(formats strfmt.Registry) error

Validate validates this net cellular config

type Certificate ¶

type Certificate struct {

	// This fields tells the basic constraints like isCA are correct.
	BasicContraintsValid bool `json:"basicContraintsValid,omitempty"`

	// certificate details
	//
	// base64 string of the parent certificate
	Cert string `json:"cert,omitempty"`

	// Crypto Key for decrypting user secret information
	CryptoKey string `json:"cryptoKey,omitempty"`

	// ECDSA encryption algorithm of the certificate
	EcdsaEncryption *ECDSA `json:"ecdsaEncryption,omitempty"`

	// secrets encryption
	//
	// user encrypted secrets map
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// Indicates if the private key can be exported.
	Exportable bool `json:"exportable,omitempty"`

	// Sequence of extended key usages.
	ExtendedKeyUsage []string `json:"extendedKeyUsage"`

	// Parameters for the issuer of the X509 component of a certificate.
	Issuer *Subject `json:"issuer,omitempty"`

	// Key usage extensions define the purpose of the public key contained in a certificate.
	KeyUsage int32 `json:"keyUsage,omitempty"`

	// pass phase for the pvt key, this has to be filled if pvt key is encrypted with a pass phrase
	PassPhrase string `json:"passPhrase,omitempty"`

	// base63 string of the public key
	PublicKey string `json:"publicKey,omitempty"`

	// encryption algorithm
	//
	// Public key algorithm.
	PublicKeyAlgorithm string `json:"publicKeyAlgorithm,omitempty"`

	// base64 string of the parent pvt key
	PvtKey string `json:"pvtKey,omitempty"`

	// Indicates if the same key pair will be used on certificate renewal.
	ReuseKey bool `json:"reuseKey,omitempty"`

	// RSA encryption algorithm of the certificate
	RsaEcryption *RSA `json:"rsaEcryption,omitempty"`

	// Subject alternative name values
	//
	// This holds the alternative name values like URIs, domain names IPs etc.
	SanValues *SANValues `json:"sanValues,omitempty"`

	// Unique identifier for each Certificate generated by an Certificate Issuer.
	SerialNumber string `json:"serialNumber,omitempty"`

	// signature algorithm
	SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"`

	// Parameters for the subject of the X509 component of a certificate.
	Subject *Subject `json:"subject,omitempty"`

	// certificate validity
	//
	// Certificate validatity start time
	// Format: date-time
	ValidFrom strfmt.DateTime `json:"validFrom,omitempty"`

	// Certificate validatity start time
	// Format: date-time
	ValidTill strfmt.DateTime `json:"validTill,omitempty"`
}

Certificate certificate

swagger:model Certificate

func (*Certificate) ContextValidate ¶

func (m *Certificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Certificate) Validate ¶

func (m *Certificate) Validate(formats strfmt.Registry) error

Validate validates this certificate

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 ¶

func (m *CertificateChain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CertificateChain) Validate ¶

func (m *CertificateChain) Validate(formats strfmt.Registry) error

Validate validates this certificate chain

type CertificateEnrollmentDetail ¶

type CertificateEnrollmentDetail struct {

	// group certificate enrollment
	GroupCertificateEnrollment *GroupCertificateEnrollment `json:"groupCertificateEnrollment,omitempty"`

	// individual certificate enrollment
	IndividualCertificateEnrollment IndividualCertificateEnrollment `json:"individualCertificateEnrollment,omitempty"`

	// type
	Type *EnrollmentType `json:"type,omitempty"`
}

CertificateEnrollmentDetail certificate enrollment detail

swagger:model CertificateEnrollmentDetail

func (*CertificateEnrollmentDetail) ContextValidate ¶

func (m *CertificateEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this certificate enrollment detail based on the context it is used

func (*CertificateEnrollmentDetail) MarshalBinary ¶

func (m *CertificateEnrollmentDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificateEnrollmentDetail) UnmarshalBinary ¶

func (m *CertificateEnrollmentDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificateEnrollmentDetail) Validate ¶

func (m *CertificateEnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this certificate enrollment detail

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 ¶

func (m *ClassificationItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ClassificationItem) Validate ¶

func (m *ClassificationItem) Validate(formats strfmt.Registry) error

Validate validates this classification item

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

func (*ClassificationResponse) Validate ¶

func (m *ClassificationResponse) Validate(formats strfmt.Registry) error

Validate validates this classification response

type ClusterConfig ¶

type ClusterConfig struct {

	// min nodes required
	MinNodesRequired int64 `json:"minNodesRequired,omitempty"`
}

ClusterConfig cluster config

swagger:model ClusterConfig

func (*ClusterConfig) ContextValidate ¶

func (m *ClusterConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ClusterConfig) Validate ¶

func (m *ClusterConfig) Validate(formats strfmt.Registry) error

Validate validates this cluster config

type ClusterInstPolicy ¶

type ClusterInstPolicy struct {

	// Id
	ID string `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

ClusterInstPolicy cluster inst policy

swagger:model ClusterInstPolicy

func (*ClusterInstPolicy) ContextValidate ¶

func (m *ClusterInstPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster inst policy based on the context it is used

func (*ClusterInstPolicy) MarshalBinary ¶

func (m *ClusterInstPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterInstPolicy) UnmarshalBinary ¶

func (m *ClusterInstPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterInstPolicy) Validate ¶

func (m *ClusterInstPolicy) Validate(formats strfmt.Registry) error

Validate validates this cluster inst policy

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 ¶

func (m *ClusterPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ClusterPolicy) Validate ¶

func (m *ClusterPolicy) Validate(formats strfmt.Registry) error

Validate validates this cluster policy

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 ¶

func (m ClusterType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster type based on context it is used

func (ClusterType) Pointer ¶

func (m ClusterType) Pointer() *ClusterType

Pointer returns a pointer to a freshly-allocated ClusterType.

func (ClusterType) Validate ¶

func (m ClusterType) Validate(formats strfmt.Registry) error

Validate validates this cluster type

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 ¶

func (m *CmdArg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cmd arg based on context it is used

func (*CmdArg) MarshalBinary ¶

func (m *CmdArg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CmdArg) UnmarshalBinary ¶

func (m *CmdArg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CmdArg) Validate ¶

func (m *CmdArg) Validate(formats strfmt.Registry) error

Validate validates this cmd arg

type ConfigFormat ¶

type ConfigFormat string

ConfigFormat config format

swagger:model configFormat

const (

	// ConfigFormatFmtUnknown captures enum value "FmtUnknown"
	ConfigFormatFmtUnknown ConfigFormat = "FmtUnknown"

	// ConfigFormatRAW captures enum value "RAW"
	ConfigFormatRAW ConfigFormat = "RAW"

	// ConfigFormatQCOW captures enum value "QCOW"
	ConfigFormatQCOW ConfigFormat = "QCOW"

	// ConfigFormatQCOW2 captures enum value "QCOW2"
	ConfigFormatQCOW2 ConfigFormat = "QCOW2"

	// ConfigFormatVHD captures enum value "VHD"
	ConfigFormatVHD ConfigFormat = "VHD"

	// ConfigFormatVMDK captures enum value "VMDK"
	ConfigFormatVMDK ConfigFormat = "VMDK"

	// ConfigFormatOVA captures enum value "OVA"
	ConfigFormatOVA ConfigFormat = "OVA"

	// ConfigFormatVHDX captures enum value "VHDX"
	ConfigFormatVHDX ConfigFormat = "VHDX"

	// ConfigFormatCONTAINER captures enum value "CONTAINER"
	ConfigFormatCONTAINER ConfigFormat = "CONTAINER"

	// ConfigFormatISO captures enum value "ISO"
	ConfigFormatISO ConfigFormat = "ISO"
)

func NewConfigFormat ¶

func NewConfigFormat(value ConfigFormat) *ConfigFormat

func (ConfigFormat) ContextValidate ¶

func (m ConfigFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this config format based on context it is used

func (ConfigFormat) Pointer ¶

func (m ConfigFormat) Pointer() *ConfigFormat

Pointer returns a pointer to a freshly-allocated ConfigFormat.

func (ConfigFormat) Validate ¶

func (m ConfigFormat) Validate(formats strfmt.Registry) error

Validate validates this config format

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 ¶

func (m *ContainerDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ContainerDetail) Validate ¶

func (m *ContainerDetail) Validate(formats strfmt.Registry) error

Validate validates this container detail

type ControllerType ¶

type ControllerType string

ControllerType third party controller types.

swagger:model ControllerType

const (

	// ControllerTypeCONTROLLERTYPEUNSPECIFIED captures enum value "CONTROLLER_TYPE_UNSPECIFIED"
	ControllerTypeCONTROLLERTYPEUNSPECIFIED ControllerType = "CONTROLLER_TYPE_UNSPECIFIED"

	// ControllerTypeCONTROLLERTYPEAZURE captures enum value "CONTROLLER_TYPE_AZURE"
	ControllerTypeCONTROLLERTYPEAZURE ControllerType = "CONTROLLER_TYPE_AZURE"

	// ControllerTypeCONTROLLERTYPEAWS captures enum value "CONTROLLER_TYPE_AWS"
	ControllerTypeCONTROLLERTYPEAWS ControllerType = "CONTROLLER_TYPE_AWS"

	// ControllerTypeCONTROLLERTYPEGCP captures enum value "CONTROLLER_TYPE_GCP"
	ControllerTypeCONTROLLERTYPEGCP ControllerType = "CONTROLLER_TYPE_GCP"

	// ControllerTypeCONTROLLERTYPEVCO captures enum value "CONTROLLER_TYPE_VCO"
	ControllerTypeCONTROLLERTYPEVCO ControllerType = "CONTROLLER_TYPE_VCO"
)

func NewControllerType ¶

func NewControllerType(value ControllerType) *ControllerType

func (ControllerType) ContextValidate ¶

func (m ControllerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this controller type based on context it is used

func (ControllerType) Pointer ¶

func (m ControllerType) Pointer() *ControllerType

Pointer returns a pointer to a freshly-allocated ControllerType.

func (ControllerType) Validate ¶

func (m ControllerType) Validate(formats strfmt.Registry) error

Validate validates this controller type

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 ¶

func (m *Credential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Credential) Validate ¶

func (m *Credential) Validate(formats strfmt.Registry) error

Validate validates this credential

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 ¶

func (m CredentialType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this credential type based on context it is used

func (CredentialType) Pointer ¶

func (m CredentialType) Pointer() *CredentialType

Pointer returns a pointer to a freshly-allocated CredentialType.

func (CredentialType) Validate ¶

func (m CredentialType) Validate(formats strfmt.Registry) error

Validate validates this credential type

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 ¶

func (m *Credentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Credentials) Validate ¶

func (m *Credentials) Validate(formats strfmt.Registry) error

Validate validates this credentials

type Cursor ¶

type Cursor struct {

	// OrderBy helps in sorting the list response
	OrderBy []string `json:"orderBy"`

	// Page Number
	PageNum int64 `json:"pageNum,omitempty"`

	// Defines the page size
	PageSize int64 `json:"pageSize,omitempty"`

	// Page Token
	PageToken string `json:"pageToken,omitempty"`

	// Total number of pages to be fetched.
	TotalPages int64 `json:"totalPages,omitempty"`
}

Cursor Cursor is used as filter in list operation.

Cursor helps in filtering the various list response like edge-app bundle list, model list, bundle list etc.

swagger:model Cursor

func (*Cursor) ContextValidate ¶

func (m *Cursor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cursor based on context it is used

func (*Cursor) MarshalBinary ¶

func (m *Cursor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cursor) UnmarshalBinary ¶

func (m *Cursor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cursor) Validate ¶

func (m *Cursor) Validate(formats strfmt.Registry) error

Validate validates this cursor

type CustomConfig ¶

type CustomConfig struct {

	// Add the Custom Config to App Instance (Optional. Default: False)
	Add bool `json:"add,omitempty"`

	// Allow Appinstance storage to be resized after app instance is created. (Optional. Default: False)
	AllowStorageResize bool `json:"allowStorageResize,omitempty"`

	// Field delimiter used in specifying variables in template. (Required)
	FieldDelimiter string `json:"fieldDelimiter,omitempty"`

	// Name of CustomConfig (Required)
	Name string `json:"name,omitempty"`

	// Override existing custom config from App Bundle Manifest (Optional. Default: False)
	Override bool `json:"override,omitempty"`

	// base64 encrypted template string. (Optional)
	Template string `json:"template,omitempty"`

	// List of Variable groups. (Required)
	VariableGroups []*CustomConfigVariableGroup `json:"variableGroups"`
}

CustomConfig custom config

swagger:model CustomConfig

func (*CustomConfig) ContextValidate ¶

func (m *CustomConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CustomConfig) Validate ¶

func (m *CustomConfig) Validate(formats strfmt.Registry) error

Validate validates this custom config

type CustomConfigVariableGroup ¶

type CustomConfigVariableGroup struct {

	// Condition to apply the variable group. (Optional. Default: None)
	Condition *VariableGroupCondition `json:"condition,omitempty"`

	// Name of the Variable Group(Required)
	Name string `json:"name,omitempty"`

	// Indicates if the variable group is required to be specified for the App Instance. (Optional. Default:False)
	Required bool `json:"required,omitempty"`

	// List of variables(Required)
	Variables []*VariableGroupVariable `json:"variables"`
}

CustomConfigVariableGroup custom config variable group

swagger:model CustomConfigVariableGroup

func (*CustomConfigVariableGroup) ContextValidate ¶

func (m *CustomConfigVariableGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom config variable group based on the context it is used

func (*CustomConfigVariableGroup) MarshalBinary ¶

func (m *CustomConfigVariableGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomConfigVariableGroup) UnmarshalBinary ¶

func (m *CustomConfigVariableGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomConfigVariableGroup) Validate ¶

func (m *CustomConfigVariableGroup) Validate(formats strfmt.Registry) error

Validate validates this custom config variable group

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 ¶

func (m *DNSInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this DNS info based on context it is used

func (*DNSInfo) MarshalBinary ¶

func (m *DNSInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DNSInfo) UnmarshalBinary ¶

func (m *DNSInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DNSInfo) Validate ¶

func (m *DNSInfo) Validate(formats strfmt.Registry) error

Validate validates this DNS info

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 ¶

func (m *DPSServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DPSServiceDetail) Validate ¶

func (m *DPSServiceDetail) Validate(formats strfmt.Registry) error

Validate validates this d p s service detail

type Datastore ¶

type Datastore struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

	// Certificate chain of the certificate
	CertificateChain *CertificateChain `json:"certificateChain,omitempty"`

	// Internal - Encryption Key context
	// Read Only: true
	CryptoKey string `json:"cryptoKey,omitempty"`

	// Detailed description of the datastore.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Datastore validation detailed error/status message
	// Read Only: true
	DsErr string `json:"dsErr,omitempty"`

	// Datastore Fully Qualified Domain Name
	// Required: true
	DsFQDN *string `json:"dsFQDN"`

	// Datastore relative path w.r.t. Datastore root
	// Required: true
	DsPath *string `json:"dsPath"`

	// Datastore status
	DsStatus *DatastoreStatus `json:"dsStatus,omitempty"`

	// Datastore type
	// Required: true
	DsType *DatastoreType `json:"dsType"`

	// Internal - Encrypted sensitive data
	// Read Only: true
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// enterprise Id
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// System defined universally unique Id of the datastore.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the datastore, unique across the enterprise. Once datastore is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// knob for sending creds in clear text
	NeedClearText bool `json:"needClearText,omitempty"`

	// Origin type of datastore.
	// Read Only: true
	OriginType *Origin `json:"originType,omitempty"`

	// project access list of the datastore
	ProjectAccessList []string `json:"projectAccessList"`

	// Datastore region - valid for AWS S3 and Azure BlobStorage
	Region string `json:"region,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Plain-text sensitive data
	Secret *DatastoreInfoSecrets `json:"secret,omitempty"`

	// User defined title of the datastore. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`
}

Datastore Datastore

Datastore idetail Example: {"description":"My test datastore hosted on HTTP server for Edge computing images.","dsError":"Datastore validated successfully...","dsFQDN":"http://my-datastore.my-company.com","dsPath":"download/AMD64","dsStatus":"DATASTORE_STATUS_ACTIVE","dsType":"DATASTORE_TYPE_HTTP","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-datastore","originType":"ORIGIN_LOCAL","revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"secret":{"apiKey":"my-datastore-api-key","apiPasswd":"my-datastore-api-password"},"title":"My test datatsore for Edge computing images"}

swagger:model Datastore

func (*Datastore) ContextValidate ¶

func (m *Datastore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore info based on the context it is used

func (*Datastore) MarshalBinary ¶

func (m *Datastore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Datastore) UnmarshalBinary ¶

func (m *Datastore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Datastore) Validate ¶

func (m *Datastore) Validate(formats strfmt.Registry) error

Validate validates this datastore info

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 ¶

func (m *DatastoreInfoSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DatastoreInfoSecrets) Validate ¶

func (m *DatastoreInfoSecrets) Validate(formats strfmt.Registry) error

Validate validates this datastore info secrets

type DatastoreProjectList ¶

type DatastoreProjectList struct {

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// List of projects which are associated with the given datastore
	ProjectDetails []*ObjectDetail `json:"projectDetails"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

DatastoreProjectList datastore project list

swagger:model DatastoreProjectList

func (*DatastoreProjectList) ContextValidate ¶

func (m *DatastoreProjectList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore project list based on the context it is used

func (*DatastoreProjectList) MarshalBinary ¶

func (m *DatastoreProjectList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DatastoreProjectList) UnmarshalBinary ¶

func (m *DatastoreProjectList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DatastoreProjectList) Validate ¶

func (m *DatastoreProjectList) Validate(formats strfmt.Registry) error

Validate validates this datastore project list

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 ¶

func (m DatastoreStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datastore status based on context it is used

func (DatastoreStatus) Pointer ¶

func (m DatastoreStatus) Pointer() *DatastoreStatus

Pointer returns a pointer to a freshly-allocated DatastoreStatus.

func (DatastoreStatus) Validate ¶

func (m DatastoreStatus) Validate(formats strfmt.Registry) error

Validate validates this datastore status

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 ¶

func (m DatastoreType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datastore type based on context it is used

func (DatastoreType) Pointer ¶

func (m DatastoreType) Pointer() *DatastoreType

Pointer returns a pointer to a freshly-allocated DatastoreType.

func (DatastoreType) Validate ¶

func (m DatastoreType) Validate(formats strfmt.Registry) error

Validate validates this datastore type

type Datastores ¶

type Datastores struct {

	// List of filtered Datastore records
	List []*Datastore `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Category distribution summary of filtered Datastore records
	SummaryByCategory *Summary `json:"summaryByCategory,omitempty"`

	// Type distribution summary of filtered Datastore records
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

Datastores datastores

swagger:model Datastores

func (*Datastores) ContextValidate ¶

func (m *Datastores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Datastores) Validate ¶

func (m *Datastores) Validate(formats strfmt.Registry) error

Validate validates this datastores

type DebugKnobDetail ¶

type DebugKnobDetail struct {

	// debug knob flag
	DebugKnob bool `json:"debugKnob,omitempty"`

	// debug knob expiry status flag
	Expired bool `json:"expired,omitempty"`

	// debug expiry time in minutes
	Expiry string `json:"expiry,omitempty"`

	// system generated unique id for a device
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`
}

DebugKnobDetail Device debug knob configuration

Device debug knob configuration request payload holds the device debug mode properties ¶

swagger:model DebugKnobDetail

func (*DebugKnobDetail) ContextValidate ¶

func (m *DebugKnobDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this debug knob detail based on the context it is used

func (*DebugKnobDetail) MarshalBinary ¶

func (m *DebugKnobDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DebugKnobDetail) UnmarshalBinary ¶

func (m *DebugKnobDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DebugKnobDetail) Validate ¶

func (m *DebugKnobDetail) Validate(formats strfmt.Registry) error

Validate validates this debug knob detail

type Deployment ¶

type Deployment struct {

	// list of app instance policies
	AppInstPolicies []*AppInstPolicy `json:"appInstPolicies"`

	// cluster policy details
	ClusterPolicy *ClusterInstPolicy `json:"clusterPolicy,omitempty"`

	// user defined tag for the deployment, which is used while targeting set of devices
	DeploymentTag string `json:"deploymentTag,omitempty"`

	// list of device policies
	DevicePolicies []*DevicePolicy `json:"devicePolicies"`

	// system generated unique id for an deployment
	ID string `json:"id,omitempty"`

	// integration policy details
	IntegrationPolicy *IntegrationPolicy `json:"integrationPolicy,omitempty"`

	// user defined name for the deployment
	Name string `json:"name,omitempty"`

	// list of network instance policies
	NetworkInstPolicies []*NetworkInstPolicy `json:"networkInstPolicies"`

	// object revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// user defined title for the deployment
	Title string `json:"title,omitempty"`

	// list of volume instamce policies
	VolumeInstPolicies []*VolumeInstPolicy `json:"volumeInstPolicies"`
}

Deployment deployment

swagger:model Deployment

func (*Deployment) ContextValidate ¶

func (m *Deployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment based on the context it is used

func (*Deployment) MarshalBinary ¶

func (m *Deployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Deployment) UnmarshalBinary ¶

func (m *Deployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Deployment) Validate ¶

func (m *Deployment) Validate(formats strfmt.Registry) error

Validate validates this deployment

type DeploymentType ¶

type DeploymentType string

DeploymentType deployment type

swagger:model DeploymentType

const (

	// DeploymentTypeDEPLOYMENTTYPEUNSPECIFIED captures enum value "DEPLOYMENT_TYPE_UNSPECIFIED"
	DeploymentTypeDEPLOYMENTTYPEUNSPECIFIED DeploymentType = "DEPLOYMENT_TYPE_UNSPECIFIED"

	// DeploymentTypeDEPLOYMENTTYPESTANDALONE captures enum value "DEPLOYMENT_TYPE_STAND_ALONE"
	DeploymentTypeDEPLOYMENTTYPESTANDALONE DeploymentType = "DEPLOYMENT_TYPE_STAND_ALONE"

	// DeploymentTypeDEPLOYMENTTYPEAZURE captures enum value "DEPLOYMENT_TYPE_AZURE"
	DeploymentTypeDEPLOYMENTTYPEAZURE DeploymentType = "DEPLOYMENT_TYPE_AZURE"

	// DeploymentTypeDEPLOYMENTTYPEK3S captures enum value "DEPLOYMENT_TYPE_K3S"
	DeploymentTypeDEPLOYMENTTYPEK3S DeploymentType = "DEPLOYMENT_TYPE_K3S"

	// DeploymentTypeDEPLOYMENTTYPEAWS captures enum value "DEPLOYMENT_TYPE_AWS"
	DeploymentTypeDEPLOYMENTTYPEAWS DeploymentType = "DEPLOYMENT_TYPE_AWS"

	// DeploymentTypeDEPLOYMENTTYPEK3SAZURE captures enum value "DEPLOYMENT_TYPE_K3S_AZURE"
	DeploymentTypeDEPLOYMENTTYPEK3SAZURE DeploymentType = "DEPLOYMENT_TYPE_K3S_AZURE"

	// DeploymentTypeDEPLOYMENTTYPEK3SAWS captures enum value "DEPLOYMENT_TYPE_K3S_AWS"
	DeploymentTypeDEPLOYMENTTYPEK3SAWS DeploymentType = "DEPLOYMENT_TYPE_K3S_AWS"

	// DeploymentTypeDEPLOYMENTTYPEVMWAREVCE captures enum value "DEPLOYMENT_TYPE_VMWARE_VCE"
	DeploymentTypeDEPLOYMENTTYPEVMWAREVCE DeploymentType = "DEPLOYMENT_TYPE_VMWARE_VCE"
)

func NewDeploymentType ¶

func NewDeploymentType(value DeploymentType) *DeploymentType

func (DeploymentType) ContextValidate ¶

func (m DeploymentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment type based on context it is used

func (DeploymentType) Pointer ¶

func (m DeploymentType) Pointer() *DeploymentType

Pointer returns a pointer to a freshly-allocated DeploymentType.

func (DeploymentType) Validate ¶

func (m DeploymentType) Validate(formats strfmt.Registry) error

Validate validates this deployment type

type DetailedUser ¶

type DetailedUser struct {

	// hubspot Id
	HubspotID string `json:"HubspotId,omitempty"`

	// Operational Status to be returned to CLI/UI
	//
	// Last login time of the user
	// Format: date-time
	LastLoginTime strfmt.DateTime `json:"LastLoginTime,omitempty"`

	// Last logout time of the user
	// Format: date-time
	LastLogoutTime strfmt.DateTime `json:"LastLogoutTime,omitempty"`

	// sfdc Id
	SfdcID string `json:"SfdcId,omitempty"`

	// Permitted list of enterprises with their associated roles
	AllowedEnterprises []*AllowedEnterprise `json:"allowedEnterprises"`

	// Custom user parameters
	CustomUserInput map[string]string `json:"customUserInput,omitempty"`

	// Email of the user
	// Required: true
	Email *string `json:"email"`

	// Email state
	// Read Only: true
	EmailState *IDState `json:"emailState,omitempty"`

	// Origin enterprise of the user
	// Read Only: true
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// First name of the user
	FirstName string `json:"firstName,omitempty"`

	// Full name of the user
	FullName string `json:"fullName,omitempty"`

	// Unique system defined user ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// Locale of the user
	Locale string `json:"locale,omitempty"`

	// Notification preference of the user
	NotifyPref string `json:"notifyPref,omitempty"`

	// Phone number of the user
	Phone string `json:"phone,omitempty"`

	// Phone state
	// Read Only: true
	PhoneState *IDState `json:"phoneState,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Role associated with the user
	// Required: true
	// Pattern: [0-9A-Za-z_=-]{28}
	RoleID *string `json:"roleId"`

	// User state
	// Read Only: true
	State *UserState `json:"state,omitempty"`

	// Preferred time zone of the user
	TimeZone string `json:"timeZone,omitempty"`

	// Is TOTP enrolment enabled
	// Read Only: true
	TotpEnabled *bool `json:"totpEnabled,omitempty"`

	// Type of the user
	Type *AuthType `json:"type,omitempty"`

	// User defined name
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Username *string `json:"username"`
}

DetailedUser User detail

User meta data ¶

swagger:model DetailedUser

func (*DetailedUser) ContextValidate ¶

func (m *DetailedUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DetailedUser) Validate ¶

func (m *DetailedUser) Validate(formats strfmt.Registry) error

Validate validates this detailed user

type Details ¶

type Details struct {

	// Developer Agreements
	//
	// UI map: AppEditPage:DeveloperPane:Developer_Agreement_Field, AppDetailsPage:DeveloperPane:Developer_Agreement_Field
	AgreementList map[string]string `json:"agreementList,omitempty"`

	// Edge application category
	// Required: true
	AppCategory *AppCategory `json:"appCategory"`

	// Type of the Edge application
	//
	// UI map: AppMarketplacePage:AppCard:DescriptionField, AppEditPage:IdentityPane:CategoryField, AppDetailsPage:IdentityPane:CategoryField
	Category *string `json:"category,omitempty"`

	// App Licenses
	//
	// UI map: AppMarketplacePage:AppCard:License, AppEditPage:IdentityPane:License, AppDetailsPage:IdentityPane:License
	LicenseList map[string]string `json:"licenseList,omitempty"`

	//
	// UI map: AppEditPage:IdentityPane:Logo, AppDetailsPage:IdentityPane:Logo
	Logo map[string]string `json:"logo,omitempty"`

	// Edge application's Operating System
	Os string `json:"os,omitempty"`

	// App Screenshots
	//
	// UI map: AppEditPage:IdentityPane:Screenshot_Fields, AppDetailsPage:IdentityPane:Screenshot_Fields
	ScreenshotList map[string]string `json:"screenshotList,omitempty"`

	// Support Description
	//
	// UI map: AppEditPage:DeveloperPane:Support_Description_Field, AppDetailsPage:DeveloperPane:Support_Description_Field
	Support string `json:"support,omitempty"`
}

Details Edge Application detail

Edge Application Artifact Details Example: {"appCategory":"APP_CATEGORY_CLOUD_APPLICATION","os":"Linux"}

swagger:model Details

func (*Details) ContextValidate ¶

func (m *Details) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this details based on the context it is used

func (*Details) MarshalBinary ¶

func (m *Details) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Details) UnmarshalBinary ¶

func (m *Details) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Details) Validate ¶

func (m *Details) Validate(formats strfmt.Registry) error

Validate validates this details

type DevAccessPolicy ¶

type DevAccessPolicy struct {

	// device side of edge-view access is allowed or not
	AllowDev bool `json:"allowDev,omitempty"`
}

DevAccessPolicy dev access policy

swagger:model DevAccessPolicy

func (*DevAccessPolicy) ContextValidate ¶

func (m *DevAccessPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dev access policy based on context it is used

func (*DevAccessPolicy) MarshalBinary ¶

func (m *DevAccessPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevAccessPolicy) UnmarshalBinary ¶

func (m *DevAccessPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevAccessPolicy) Validate ¶

func (m *DevAccessPolicy) Validate(formats strfmt.Registry) error

Validate validates this dev access policy

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 ¶

func (m *DevDataSecAtRest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DevDataSecAtRest) Validate ¶

func (m *DevDataSecAtRest) Validate(formats strfmt.Registry) error

Validate validates this dev data sec at rest

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 ¶

func (m *DevZedServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DevZedServer) Validate ¶

func (m *DevZedServer) Validate(formats strfmt.Registry) error

Validate validates this dev zed server

type DeviceAttestPolicyType ¶

type DeviceAttestPolicyType string

DeviceAttestPolicyType - DEVICE_ATTEST_POLICY_TYPE_ACCEPT: Do not enforce attestation. All devices are marked as successfully attested.

  • DEVICE_ATTEST_POLICY_TYPE_ENFORCE: Enforce attestation. Devices failing attestation are marked accordingly.

swagger:model DeviceAttestPolicyType

const (

	// DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEUNSPECIFIED captures enum value "DEVICE_ATTEST_POLICY_TYPE_UNSPECIFIED"
	DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEUNSPECIFIED DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_UNSPECIFIED"

	// DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEACCEPT captures enum value "DEVICE_ATTEST_POLICY_TYPE_ACCEPT"
	DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEACCEPT DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_ACCEPT"

	// DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEENFORCE captures enum value "DEVICE_ATTEST_POLICY_TYPE_ENFORCE"
	DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEENFORCE DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_ENFORCE"
)

func NewDeviceAttestPolicyType ¶

func NewDeviceAttestPolicyType(value DeviceAttestPolicyType) *DeviceAttestPolicyType

func (DeviceAttestPolicyType) ContextValidate ¶

func (m DeviceAttestPolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device attest policy type based on context it is used

func (DeviceAttestPolicyType) Pointer ¶

Pointer returns a pointer to a freshly-allocated DeviceAttestPolicyType.

func (DeviceAttestPolicyType) Validate ¶

func (m DeviceAttestPolicyType) Validate(formats strfmt.Registry) error

Validate validates this device attest policy type

type DeviceAttestationPolicy ¶

type DeviceAttestationPolicy struct {

	// Attestation policy type
	// Required: true
	Type *DeviceAttestPolicyType `json:"type"`
}

DeviceAttestationPolicy Attestation policy body detail

Attestation policy to enforce on devices of a project ¶

swagger:model DeviceAttestationPolicy

func (*DeviceAttestationPolicy) ContextValidate ¶

func (m *DeviceAttestationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device attestation policy based on the context it is used

func (*DeviceAttestationPolicy) MarshalBinary ¶

func (m *DeviceAttestationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceAttestationPolicy) UnmarshalBinary ¶

func (m *DeviceAttestationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceAttestationPolicy) Validate ¶

func (m *DeviceAttestationPolicy) Validate(formats strfmt.Registry) error

Validate validates this device attestation policy

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 ¶

func (m DeviceBootReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device boot reason based on context it is used

func (DeviceBootReason) Pointer ¶

func (m DeviceBootReason) Pointer() *DeviceBootReason

Pointer returns a pointer to a freshly-allocated DeviceBootReason.

func (DeviceBootReason) Validate ¶

func (m DeviceBootReason) Validate(formats strfmt.Registry) error

Validate validates this device boot reason

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 ¶

func (m *DeviceCerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceCerts) Validate ¶

func (m *DeviceCerts) Validate(formats strfmt.Registry) error

Validate validates this device certs

type DeviceCmdsSubType ¶

type DeviceCmdsSubType string

DeviceCmdsSubType - DeviceNoOp: Device Operation: No Operation

  • DeviceStart: Device Operation: Start
  • DeviceStop: Device Operation: Stop
  • DeviceReboot: Device Operation: Reboot: Power cycle the device
  • DeviceShutdown: Device Operation: Shutdown- Power off the device
  • DeviceUpdateOS: Device Operation: Update OS- deprecated
  • DeviceApplyOS: Device Operation: Apply OS- Change Boot order of installed images
  • DeviceReset: Device Operation: Reset- Config reset to factory default
  • DeviceAddOS: Device Operation: Add OS- Install new image but don't change boot order
  • DeviceDropOS: Device Operation: Drop OS- Remove uninstalled image but don't change boot order
  • DeviceOffboard: Device Operation Type: offboard the device
  • DeviceActivate: Device Activate
  • DeviceDeActivate: Device Deactivate
  • DeviceBaseosRetry: Device Operation: Retry OS
  • DeviceStartDebugMode: Device Operation: Run device in debug mode.
  • DeviceStopDebugMode: Device Operation: Stop device in debug mode.
  • PreparePowerOff: Device Operation: Gracefully shutdown all apps and prepare for power down.
  • DeviceStartEdgeviewMode: Device Operation: Run device in edgeview mode.
  • DeviceStopEdgeviewMode: Device Operation: Stop device in edgeview mode.
  • DeviceEdgeviewClientScript: Device Operation: get Edgeview client script if activated.

swagger:model DeviceCmdsSubType

const (

	// DeviceCmdsSubTypeDeviceNoOp captures enum value "DeviceNoOp"
	DeviceCmdsSubTypeDeviceNoOp DeviceCmdsSubType = "DeviceNoOp"

	// DeviceCmdsSubTypeDeviceStart captures enum value "DeviceStart"
	DeviceCmdsSubTypeDeviceStart DeviceCmdsSubType = "DeviceStart"

	// DeviceCmdsSubTypeDeviceStop captures enum value "DeviceStop"
	DeviceCmdsSubTypeDeviceStop DeviceCmdsSubType = "DeviceStop"

	// DeviceCmdsSubTypeDeviceReboot captures enum value "DeviceReboot"
	DeviceCmdsSubTypeDeviceReboot DeviceCmdsSubType = "DeviceReboot"

	// DeviceCmdsSubTypeDeviceShutdown captures enum value "DeviceShutdown"
	DeviceCmdsSubTypeDeviceShutdown DeviceCmdsSubType = "DeviceShutdown"

	// DeviceCmdsSubTypeDeviceUpdateOS captures enum value "DeviceUpdateOS"
	DeviceCmdsSubTypeDeviceUpdateOS DeviceCmdsSubType = "DeviceUpdateOS"

	// DeviceCmdsSubTypeDeviceApplyOS captures enum value "DeviceApplyOS"
	DeviceCmdsSubTypeDeviceApplyOS DeviceCmdsSubType = "DeviceApplyOS"

	// DeviceCmdsSubTypeDeviceReset captures enum value "DeviceReset"
	DeviceCmdsSubTypeDeviceReset DeviceCmdsSubType = "DeviceReset"

	// DeviceCmdsSubTypeDeviceAddOS captures enum value "DeviceAddOS"
	DeviceCmdsSubTypeDeviceAddOS DeviceCmdsSubType = "DeviceAddOS"

	// DeviceCmdsSubTypeDeviceDropOS captures enum value "DeviceDropOS"
	DeviceCmdsSubTypeDeviceDropOS DeviceCmdsSubType = "DeviceDropOS"

	// DeviceCmdsSubTypeDeviceOffboard captures enum value "DeviceOffboard"
	DeviceCmdsSubTypeDeviceOffboard DeviceCmdsSubType = "DeviceOffboard"

	// DeviceCmdsSubTypeDeviceActivate captures enum value "DeviceActivate"
	DeviceCmdsSubTypeDeviceActivate DeviceCmdsSubType = "DeviceActivate"

	// DeviceCmdsSubTypeDeviceDeActivate captures enum value "DeviceDeActivate"
	DeviceCmdsSubTypeDeviceDeActivate DeviceCmdsSubType = "DeviceDeActivate"

	// DeviceCmdsSubTypeDeviceBaseosRetry captures enum value "DeviceBaseosRetry"
	DeviceCmdsSubTypeDeviceBaseosRetry DeviceCmdsSubType = "DeviceBaseosRetry"

	// DeviceCmdsSubTypeDeviceStartDebugMode captures enum value "DeviceStartDebugMode"
	DeviceCmdsSubTypeDeviceStartDebugMode DeviceCmdsSubType = "DeviceStartDebugMode"

	// DeviceCmdsSubTypeDeviceStopDebugMode captures enum value "DeviceStopDebugMode"
	DeviceCmdsSubTypeDeviceStopDebugMode DeviceCmdsSubType = "DeviceStopDebugMode"

	// DeviceCmdsSubTypePreparePowerOff captures enum value "PreparePowerOff"
	DeviceCmdsSubTypePreparePowerOff DeviceCmdsSubType = "PreparePowerOff"

	// DeviceCmdsSubTypeDeviceStartEdgeviewMode captures enum value "DeviceStartEdgeviewMode"
	DeviceCmdsSubTypeDeviceStartEdgeviewMode DeviceCmdsSubType = "DeviceStartEdgeviewMode"

	// DeviceCmdsSubTypeDeviceStopEdgeviewMode captures enum value "DeviceStopEdgeviewMode"
	DeviceCmdsSubTypeDeviceStopEdgeviewMode DeviceCmdsSubType = "DeviceStopEdgeviewMode"

	// DeviceCmdsSubTypeDeviceEdgeviewClientScript captures enum value "DeviceEdgeviewClientScript"
	DeviceCmdsSubTypeDeviceEdgeviewClientScript DeviceCmdsSubType = "DeviceEdgeviewClientScript"
)

func NewDeviceCmdsSubType ¶

func NewDeviceCmdsSubType(value DeviceCmdsSubType) *DeviceCmdsSubType

func (DeviceCmdsSubType) ContextValidate ¶

func (m DeviceCmdsSubType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device cmds sub type based on context it is used

func (DeviceCmdsSubType) Pointer ¶

func (m DeviceCmdsSubType) Pointer() *DeviceCmdsSubType

Pointer returns a pointer to a freshly-allocated DeviceCmdsSubType.

func (DeviceCmdsSubType) Validate ¶

func (m DeviceCmdsSubType) Validate(formats strfmt.Registry) error

Validate validates this device cmds sub type

type DeviceConfigList ¶

type DeviceConfigList struct {

	// device config list
	// Required: true
	List []*DeviceConfigSummary `json:"list"`

	// filter next
	// Required: true
	Next *Cursor `json:"next"`

	// Summary by state
	// Required: true
	SummaryByState *Summary `json:"summaryByState"`

	// Summary by project distribution
	SummaryByTagDistribution *Summary `json:"summaryByTagDistribution,omitempty"`
}

DeviceConfigList Device configuration payload detail

Device configuration request paylod ¶

swagger:model DeviceConfigList

func (*DeviceConfigList) ContextValidate ¶

func (m *DeviceConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceConfigList) Validate ¶

func (m *DeviceConfigList) Validate(formats strfmt.Registry) error

Validate validates this device config list

type DeviceConfigSummary ¶

type DeviceConfigSummary struct {

	// administrative state of device
	AdminState *AdminState `json:"adminState,omitempty"`

	// base images
	BaseImage []*BaseOSImage `json:"baseImage"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// debug knob details for the device
	DebugKnob *DebugKnobDetail `json:"debugKnob,omitempty"`

	// user defined tag for the device, which is used while deploying policies.
	DeploymentTag string `json:"deploymentTag,omitempty"`

	// user specified description
	Description string `json:"description,omitempty"`

	// system generated unique id for a device
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// System Interface list
	Interfaces []*SystemInterface `json:"interfaces"`

	// device model
	// Required: true
	ModelID *string `json:"modelId"`

	// user specified device name
	// Required: true
	Name *string `json:"name"`

	// project name
	// Required: true
	ProjectID *string `json:"projectId"`

	// Device serial number
	Serialno string `json:"serialno,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// user specified title
	// Required: true
	Title *string `json:"title"`

	// device model arch type
	Utype *ModelArchType `json:"utype,omitempty"`
}

DeviceConfigSummary Device Configuration payload summary

Device Configuration request paylod holds the device properties ¶

swagger:model DeviceConfigSummary

func (*DeviceConfigSummary) ContextValidate ¶

func (m *DeviceConfigSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceConfigSummary) Validate ¶

func (m *DeviceConfigSummary) Validate(formats strfmt.Registry) error

Validate validates this device config summary

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 (DeviceDataSecurityAtRestStatus) ContextValidate ¶

func (m DeviceDataSecurityAtRestStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device data security at rest status based on context it is used

func (DeviceDataSecurityAtRestStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated DeviceDataSecurityAtRestStatus.

func (DeviceDataSecurityAtRestStatus) Validate ¶

Validate validates this device data security at rest status

type DeviceEntity ¶

type DeviceEntity struct {

	// entity
	Entity *Entity `json:"entity,omitempty"`

	// entity Id
	EntityID string `json:"entityId,omitempty"`

	// entity name
	EntityName string `json:"entityName,omitempty"`
}

DeviceEntity device entity

swagger:model DeviceEntity

func (*DeviceEntity) ContextValidate ¶

func (m *DeviceEntity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceEntity) Validate ¶

func (m *DeviceEntity) Validate(formats strfmt.Registry) error

Validate validates this device entity

type DeviceError ¶

type DeviceError struct {

	// Description of the error
	// Required: true
	Description *string `json:"description"`

	// objects referenced by the description or retry_condition
	// Required: true
	Entities []*DeviceEntity `json:"entities"`

	// condition for retry
	RetryCondition string `json:"retryCondition,omitempty"`

	// Severity of the error
	// Required: true
	Severity *Severity `json:"severity"`

	// Timestamp at which error had occurred
	// Required: true
	Timestamp interface{} `json:"timestamp"`
}

DeviceError DeviceError is used to store the error details of the hardware.

DeviceError store the error occurred at the device side ¶

swagger:model DeviceError

func (*DeviceError) ContextValidate ¶

func (m *DeviceError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceError) Validate ¶

func (m *DeviceError) Validate(formats strfmt.Registry) error

Validate validates this device error

type DeviceFilter ¶

type DeviceFilter struct {

	// admin state of the device
	AdminState *AdminState `json:"adminState,omitempty"`

	// name pattern
	// Required: true
	NamePattern *string `json:"namePattern"`

	// project
	// Required: true
	Project *string `json:"project"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`
}

DeviceFilter DeviceFilter payload detail

DeviceFilter request paylod ¶

swagger:model DeviceFilter

func (*DeviceFilter) ContextValidate ¶

func (m *DeviceFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device filter based on the context it is used

func (*DeviceFilter) MarshalBinary ¶

func (m *DeviceFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceFilter) UnmarshalBinary ¶

func (m *DeviceFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceFilter) Validate ¶

func (m *DeviceFilter) Validate(formats strfmt.Registry) error

Validate validates this device filter

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 (DeviceHWSecurityModuleStatus) ContextValidate ¶

func (m DeviceHWSecurityModuleStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device h w security module status based on context it is used

func (DeviceHWSecurityModuleStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated DeviceHWSecurityModuleStatus.

func (DeviceHWSecurityModuleStatus) Validate ¶

func (m DeviceHWSecurityModuleStatus) Validate(formats strfmt.Registry) error

Validate validates this device h w security module status

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 ¶

func (m *DeviceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceInfo) Validate ¶

func (m *DeviceInfo) Validate(formats strfmt.Registry) error

Validate validates this device info

type DeviceInfoMsg ¶

type DeviceInfoMsg struct {

	// Cpu
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// memory - OBSOLETE. Use memorySummary instead.
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage
	Storage *StorageSummary `json:"Storage,omitempty"`

	// admin state
	AdminState *AdminState `json:"adminState,omitempty"`

	// attest state
	AttestState *AttestState `json:"attestState,omitempty"`

	// blob list
	BlobList []*BlobStatus `json:"blobList"`

	// boot time
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// Information about hardware capabilities
	//
	// Edge node virtualization capabilities.
	Capabilities *Capabilities `json:"capabilities,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// data sec info
	DataSecInfo []*DevDataSecAtRest `json:"dataSecInfo"`

	// debug knob expiry time
	DebugKnob bool `json:"debugKnob,omitempty"`

	// debug knob expiry time
	// Format: date-time
	DebugKnobExpiryTime strfmt.DateTime `json:"debugKnobExpiryTime,omitempty"`

	// dev error
	DevError []*DeviceError `json:"devError"`

	// device reboot reason
	DeviceRebootReason *DeviceBootReason `json:"deviceRebootReason,omitempty"`

	// dinfo
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// dns
	DNS *DNSInfo `json:"dns,omitempty"`

	// host name
	HostName string `json:"hostName,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// io status list
	IoStatusList []*IoBundleStatus `json:"ioStatusList"`

	// last reboot reason
	LastRebootReason string `json:"lastRebootReason,omitempty"`

	// last reboot time
	// Format: date-time
	LastRebootTime strfmt.DateTime `json:"lastRebootTime,omitempty"`

	// last update
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// Device memory Info
	MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"`

	// minfo
	Minfo *ZManufacturerInfo `json:"minfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// net counter list
	NetCounterList []*NetworkCounters `json:"netCounterList"`

	// net status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// physical storage
	PhysicalStorage []*PhysicalStorage `json:"physicalStorage"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// storage list
	StorageList []*StorageStatus `json:"storageList"`

	// sw info
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// deprecated = 6;
	//
	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// up time
	// Format: date-time
	UpTime strfmt.DateTime `json:"upTime,omitempty"`

	// zc counters
	ZcCounters []*ZedcloudCounters `json:"zcCounters"`

	// Last received counters for zpool metrics.
	ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"`
}

DeviceInfoMsg device info msg

swagger:model DeviceInfoMsg

func (*DeviceInfoMsg) ContextValidate ¶

func (m *DeviceInfoMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device info msg based on the context it is used

func (*DeviceInfoMsg) MarshalBinary ¶

func (m *DeviceInfoMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceInfoMsg) UnmarshalBinary ¶

func (m *DeviceInfoMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceInfoMsg) Validate ¶

func (m *DeviceInfoMsg) Validate(formats strfmt.Registry) error

Validate validates this device info msg

type DeviceLisp ¶

type DeviceLisp struct {

	// EID
	// Required: true
	EID *string `json:"EID"`

	// EID hash length
	// Required: true
	EIDHashLen *int64 `json:"EIDHashLen"`

	// Client Address
	// Required: true
	ClientAddr *string `json:"clientAddr"`

	// EID allocation prefix
	// Required: true
	// Format: byte
	EidAllocationPrefix *string `json:"eidAllocationPrefix"`

	// EID allocation prefix length
	// Required: true
	EidAllocationPrefixLen *int64 `json:"eidAllocationPrefixLen"`

	// LISP instance
	// Required: true
	LispInstance *int64 `json:"lispInstance"`

	// List of Lisp servers
	// Required: true
	LispMapServers []*LispServer `json:"lispMapServers"`

	// TEMP : flag to indicate which version of LISP data plane should be running on the device
	// Required: true
	Mode *string `json:"mode"`

	// Zed development servers
	// Required: true
	ZedServers []*DevZedServer `json:"zedServers"`
}

DeviceLisp DeviceLisp payload detail

DeviceLisp request paylod ¶

swagger:model DeviceLisp

func (*DeviceLisp) ContextValidate ¶

func (m *DeviceLisp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceLisp) Validate ¶

func (m *DeviceLisp) Validate(formats strfmt.Registry) error

Validate validates this device lisp

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 ¶

func (m DeviceLoad) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device load based on context it is used

func (DeviceLoad) Pointer ¶

func (m DeviceLoad) Pointer() *DeviceLoad

Pointer returns a pointer to a freshly-allocated DeviceLoad.

func (DeviceLoad) Validate ¶

func (m DeviceLoad) Validate(formats strfmt.Registry) error

Validate validates this device load

type DeviceLocation ¶

type DeviceLocation struct {

	// count
	Count int64 `json:"count,omitempty"`

	// location
	Location string `json:"location,omitempty"`
}

DeviceLocation device location

swagger:model DeviceLocation

func (*DeviceLocation) ContextValidate ¶

func (m *DeviceLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device location based on context it is used

func (*DeviceLocation) MarshalBinary ¶

func (m *DeviceLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceLocation) UnmarshalBinary ¶

func (m *DeviceLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceLocation) Validate ¶

func (m *DeviceLocation) Validate(formats strfmt.Registry) error

Validate validates this device location

type DeviceLocations ¶

type DeviceLocations struct {

	// device locations
	DeviceLocations []*DeviceLocation `json:"deviceLocations"`

	// next
	Next *Cursor `json:"next,omitempty"`
}

DeviceLocations device locations

swagger:model DeviceLocations

func (*DeviceLocations) ContextValidate ¶

func (m *DeviceLocations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device locations based on the context it is used

func (*DeviceLocations) MarshalBinary ¶

func (m *DeviceLocations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceLocations) UnmarshalBinary ¶

func (m *DeviceLocations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceLocations) Validate ¶

func (m *DeviceLocations) Validate(formats strfmt.Registry) error

Validate validates this device locations

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 ¶

func (m *DeviceMemorySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceMemorySummary) Validate ¶

func (m *DeviceMemorySummary) Validate(formats strfmt.Registry) error

Validate validates this device memory summary

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 ¶

func (m *DeviceObjectUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceObjectUsageInfo) Validate ¶

func (m *DeviceObjectUsageInfo) Validate(formats strfmt.Registry) error

Validate validates this device object usage info

type DevicePolicy ¶

type DevicePolicy struct {

	// device attestation policy
	AttestationPolicy *DeviceAttestationPolicy `json:"attestationPolicy,omitempty"`

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`

	// device policy type
	PolicySubType *DevicePolicyType `json:"policySubType,omitempty"`
}

DevicePolicy device policy

swagger:model DevicePolicy

func (*DevicePolicy) ContextValidate ¶

func (m *DevicePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device policy based on the context it is used

func (*DevicePolicy) MarshalBinary ¶

func (m *DevicePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevicePolicy) UnmarshalBinary ¶

func (m *DevicePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevicePolicy) Validate ¶

func (m *DevicePolicy) Validate(formats strfmt.Registry) error

Validate validates this device policy

type DevicePolicyType ¶

type DevicePolicyType string

DevicePolicyType device policy type

swagger:model DevicePolicyType

const (

	// DevicePolicyTypeDEVICEPOLICYTYPEUNSPECIFIED captures enum value "DEVICE_POLICY_TYPE_UNSPECIFIED"
	DevicePolicyTypeDEVICEPOLICYTYPEUNSPECIFIED DevicePolicyType = "DEVICE_POLICY_TYPE_UNSPECIFIED"

	// DevicePolicyTypeDEVICEPOLICYTYPEATTESTATION captures enum value "DEVICE_POLICY_TYPE_ATTESTATION"
	DevicePolicyTypeDEVICEPOLICYTYPEATTESTATION DevicePolicyType = "DEVICE_POLICY_TYPE_ATTESTATION"
)

func NewDevicePolicyType ¶

func NewDevicePolicyType(value DevicePolicyType) *DevicePolicyType

func (DevicePolicyType) ContextValidate ¶

func (m DevicePolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device policy type based on context it is used

func (DevicePolicyType) Pointer ¶

func (m DevicePolicyType) Pointer() *DevicePolicyType

Pointer returns a pointer to a freshly-allocated DevicePolicyType.

func (DevicePolicyType) Validate ¶

func (m DevicePolicyType) Validate(formats strfmt.Registry) error

Validate validates this device policy type

type DeviceRawMetrics ¶

type DeviceRawMetrics struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// raw metrics
	RawMetrics string `json:"rawMetrics,omitempty"`
}

DeviceRawMetrics device raw metrics

swagger:model DeviceRawMetrics

func (*DeviceRawMetrics) ContextValidate ¶

func (m *DeviceRawMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device raw metrics based on context it is used

func (*DeviceRawMetrics) MarshalBinary ¶

func (m *DeviceRawMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceRawMetrics) UnmarshalBinary ¶

func (m *DeviceRawMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceRawMetrics) Validate ¶

func (m *DeviceRawMetrics) Validate(formats strfmt.Registry) error

Validate validates this device raw metrics

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 ¶

func (m *DeviceSWInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceSWInfo) Validate ¶

func (m *DeviceSWInfo) Validate(formats strfmt.Registry) error

Validate validates this device s w info

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 ¶

func (m DeviceSWStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device s w status based on context it is used

func (DeviceSWStatus) Pointer ¶

func (m DeviceSWStatus) Pointer() *DeviceSWStatus

Pointer returns a pointer to a freshly-allocated DeviceSWStatus.

func (DeviceSWStatus) Validate ¶

func (m DeviceSWStatus) Validate(formats strfmt.Registry) error

Validate validates this device s w status

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 ¶

func (m DeviceSWSubStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device s w sub status based on context it is used

func (DeviceSWSubStatus) Pointer ¶

func (m DeviceSWSubStatus) Pointer() *DeviceSWSubStatus

Pointer returns a pointer to a freshly-allocated DeviceSWSubStatus.

func (DeviceSWSubStatus) Validate ¶

func (m DeviceSWSubStatus) Validate(formats strfmt.Registry) error

Validate validates this device s w sub status

type DeviceStatusConfig ¶

type DeviceStatusConfig struct {

	// Admin state of the device
	AdminState *AdminState `json:"adminState,omitempty"`

	// Number of app instance that is running on the device
	AppInstCount string `json:"appInstCount,omitempty"`

	// Device info like storage, arch, memory etc
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// Eve image name that was running on the device
	EveImageName string `json:"eveImageName,omitempty"`

	// system generated unique id for a device
	// Required: true
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id"`

	// Boolean that tells whether the active eve image is latest or not
	IsEveLatest string `json:"isEveLatest,omitempty"`

	// Device location
	Location string `json:"location,omitempty"`

	// user specified device name
	// Required: true
	Name *string `json:"name"`

	// project Id of the device
	ProjectID string `json:"projectId,omitempty"`

	// project name of the device
	ProjectName string `json:"projectName,omitempty"`

	// Run state of the device
	RunState *RunState `json:"runState,omitempty"`

	// Device serial number
	// Required: true
	SerialNo *string `json:"serialNo"`

	// software info reported by the device
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// user specified title
	Title string `json:"title,omitempty"`
}

DeviceStatusConfig Device status config response detail

Device status and config response details ¶

swagger:model deviceStatusConfig

func (*DeviceStatusConfig) ContextValidate ¶

func (m *DeviceStatusConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status config based on the context it is used

func (*DeviceStatusConfig) MarshalBinary ¶

func (m *DeviceStatusConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusConfig) UnmarshalBinary ¶

func (m *DeviceStatusConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusConfig) Validate ¶

func (m *DeviceStatusConfig) Validate(formats strfmt.Registry) error

Validate validates this device status config

type DeviceStatusConfigList ¶

type DeviceStatusConfigList struct {

	// List of device status config
	// Required: true
	List []*DeviceStatusConfig `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Device status config summary by app instance count
	// Required: true
	SummaryByAppInstanceCount *Summary `json:"summaryByAppInstanceCount"`

	// Device status config summary by eve distribution
	// Required: true
	SummaryByEVEDistribution *Summary `json:"summaryByEVEDistribution"`

	// Device status config summary by state
	// Required: true
	SummaryByState *Summary `json:"summaryByState"`

	// total count of devices
	// Required: true
	TotalCount *int64 `json:"totalCount"`

	// total count of edgeview active of devices
	TotalEvActiveCount int64 `json:"totalEvActiveCount,omitempty"`
}

DeviceStatusConfigList Device status config composite api response detail

Device statu sna config composite api response details ¶

swagger:model DeviceStatusConfigList

func (*DeviceStatusConfigList) ContextValidate ¶

func (m *DeviceStatusConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status config list based on the context it is used

func (*DeviceStatusConfigList) MarshalBinary ¶

func (m *DeviceStatusConfigList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusConfigList) UnmarshalBinary ¶

func (m *DeviceStatusConfigList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusConfigList) Validate ¶

func (m *DeviceStatusConfigList) Validate(formats strfmt.Registry) error

Validate validates this device status config list

type DeviceStatusFilter ¶

type DeviceStatusFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// load
	Load *DeviceLoad `json:"load,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

DeviceStatusFilter device status filter

swagger:model DeviceStatusFilter

func (*DeviceStatusFilter) ContextValidate ¶

func (m *DeviceStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceStatusFilter) Validate ¶

func (m *DeviceStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this device status filter

type DeviceStatusListMsg ¶

type DeviceStatusListMsg struct {

	// list
	List []*DeviceStatusSummaryMsg `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by app instance count
	SummaryByAppInstanceCount *Summary `json:"summaryByAppInstanceCount,omitempty"`

	// summary by e v e distribution
	SummaryByEVEDistribution *Summary `json:"summaryByEVEDistribution,omitempty"`

	// summary by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// total count
	TotalCount int64 `json:"totalCount,omitempty"`

	// total edgeview active
	TotalEdgeviewActive int64 `json:"totalEdgeviewActive,omitempty"`
}

DeviceStatusListMsg device status list msg

swagger:model DeviceStatusListMsg

func (*DeviceStatusListMsg) ContextValidate ¶

func (m *DeviceStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceStatusListMsg) Validate ¶

func (m *DeviceStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this device status list msg

type DeviceStatusMsg ¶

type DeviceStatusMsg struct {

	// Cpu
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// memory - OBSOLETE. Use memorySummary instead.
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage
	Storage *StorageSummary `json:"Storage,omitempty"`

	// admin state
	AdminState *AdminState `json:"adminState,omitempty"`

	// attest state
	AttestState *AttestState `json:"attestState,omitempty"`

	// blob list
	BlobList []*BlobStatus `json:"blobList"`

	// boot time
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// Information about hardware capabilities
	//
	// Edge node virtualization capabilities.
	Capabilities *Capabilities `json:"capabilities,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// data sec info
	DataSecInfo []*DevDataSecAtRest `json:"dataSecInfo"`

	// dev error
	DevError []*DeviceError `json:"devError"`

	// device reboot reason
	DeviceRebootReason *DeviceBootReason `json:"deviceRebootReason,omitempty"`

	// dinfo
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// dns
	DNS *DNSInfo `json:"dns,omitempty"`

	// host name
	HostName string `json:"hostName,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// io status list
	IoStatusList []*IoBundleStatus `json:"ioStatusList"`

	// last reboot reason
	LastRebootReason string `json:"lastRebootReason,omitempty"`

	// last reboot time
	// Format: date-time
	LastRebootTime strfmt.DateTime `json:"lastRebootTime,omitempty"`

	// last update
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// Device memory Info
	MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"`

	// minfo
	Minfo *ZManufacturerInfo `json:"minfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// net counter list
	NetCounterList []*NetworkCounters `json:"netCounterList"`

	// net status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw metrics
	RawMetrics string `json:"rawMetrics,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// storage list
	StorageList []*StorageStatus `json:"storageList"`

	// sw info
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// deprecated = 6;
	//
	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// up time
	// Format: date-time
	UpTime strfmt.DateTime `json:"upTime,omitempty"`

	// zc counters
	ZcCounters []*ZedcloudCounters `json:"zcCounters"`

	// Last received counters for zpool metrics.
	ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"`
}

DeviceStatusMsg to be deprecated

swagger:model DeviceStatusMsg

func (*DeviceStatusMsg) ContextValidate ¶

func (m *DeviceStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DeviceStatusMsg) Validate ¶

func (m *DeviceStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this device status msg

type DeviceStatusSummaryMsg ¶

type DeviceStatusSummaryMsg struct {

	// Cpu
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// Memory - OBSOLETE. Use memorySummary instead.
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage
	Storage *StorageSummary `json:"Storage,omitempty"`

	// admin state
	AdminState *AdminState `json:"adminState,omitempty"`

	// App instance count that is actively running on the device
	AppInstCount int64 `json:"appInstCount,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// debug knob expiry time
	DebugKnob bool `json:"debugKnob,omitempty"`

	// debug knob expiry time
	// Format: date-time
	DebugKnobExpiryTime strfmt.DateTime `json:"debugKnobExpiryTime,omitempty"`

	// dev error
	DevError []*DeviceError `json:"devError"`

	// dinfo
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// Device edgeview session active
	EdgeviewActive bool `json:"edgeviewActive,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Device location
	Location string `json:"location,omitempty"`

	// Device memory Info
	MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"`

	// minfo
	Minfo *ZManufacturerInfo `json:"minfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// net status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Project name to which device is associated with
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// sw info
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// deprecated = 5;
	//
	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

DeviceStatusSummaryMsg device status summary msg

swagger:model DeviceStatusSummaryMsg

func (*DeviceStatusSummaryMsg) ContextValidate ¶

func (m *DeviceStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status summary msg based on the context it is used

func (*DeviceStatusSummaryMsg) MarshalBinary ¶

func (m *DeviceStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusSummaryMsg) UnmarshalBinary ¶

func (m *DeviceStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusSummaryMsg) Validate ¶

func (m *DeviceStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this device status summary msg

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 ¶

func (m *DhcpIPRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DhcpIPRange) Validate ¶

func (m *DhcpIPRange) Validate(formats strfmt.Registry) error

Validate validates this dhcp Ip range

type DhcpServerConfig ¶

type DhcpServerConfig struct {

	// Range of IP addresses to be used for DHCP
	DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"`

	// possible DNS ip address
	//
	// IP Addresses of DNS servers
	DNS []string `json:"dns"`

	// Network domain
	Domain string `json:"domain,omitempty"`

	// IP Address of Network Gateway
	Gateway string `json:"gateway,omitempty"`

	// Subnet Mask
	Mask string `json:"mask,omitempty"`

	// IP Address of NTP Server
	Ntp string `json:"ntp,omitempty"`

	// Subnet address
	Subnet string `json:"subnet,omitempty"`
}

DhcpServerConfig dhcp server config

swagger:model DhcpServerConfig

func (*DhcpServerConfig) ContextValidate ¶

func (m *DhcpServerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DhcpServerConfig) Validate ¶

func (m *DhcpServerConfig) Validate(formats strfmt.Registry) error

Validate validates this dhcp server config

type DiskDescription ¶

type DiskDescription struct {

	// logical name
	LogicalName string `json:"logicalName,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`
}

DiskDescription disk description

swagger:model DiskDescription

func (*DiskDescription) ContextValidate ¶

func (m *DiskDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disk description based on context it is used

func (*DiskDescription) MarshalBinary ¶

func (m *DiskDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiskDescription) UnmarshalBinary ¶

func (m *DiskDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiskDescription) Validate ¶

func (m *DiskDescription) Validate(formats strfmt.Registry) error

Validate validates this disk description

type Drive ¶

type Drive struct {

	// If set, don't encrypt the drive. Store in cleartext
	Cleartext bool `json:"cleartext,omitempty"`

	// Type of Drive. Valid Values: UNSPECIFIED, CDROM, HDD, NET, HDD_EMPTY. HDD_EMPTY - is to allocate the empty disk of maxsizebytes specified
	// Required: true
	Drvtype *string `json:"drvtype"`

	// don't purge this drive as part of purge command for mutable volumes
	Ignorepurge bool `json:"ignorepurge,omitempty"`

	// Name of Image Object used for the drive.
	// Required: true
	Imagename *string `json:"imagename"`

	// immutable Volume for this drive. Only one of imvolname and mvolname must be specified.
	Imvolname string `json:"imvolname,omitempty"`

	// Drive maximum size
	// Required: true
	Maxsize *string `json:"maxsize"`

	// Mount Path for the drive in the App Instance
	Mountpath string `json:"mountpath,omitempty"`

	// mutable Volume for this drive. Only one of imvolname and mvolname must be specified.
	Mvolname string `json:"mvolname,omitempty"`

	// Preserve the drive even when all app instances using it are deleted
	// Required: true
	Preserve *bool `json:"preserve"`

	// Read only flag. If set, drive is mounted as readonly by app instance.
	// Required: true
	Readonly *bool `json:"readonly"`

	// type of target. Valid values: Disk, Kernel, Initrd, RamDisk
	// Required: true
	Target *string `json:"target"`

	// User defined volume to use for this drive
	Volumelabel string `json:"volumelabel,omitempty"`
}

Drive Drive details

Drive configuration ¶

swagger:model drive

func (*Drive) ContextValidate ¶

func (m *Drive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this drive based on context it is used

func (*Drive) MarshalBinary ¶

func (m *Drive) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Drive) UnmarshalBinary ¶

func (m *Drive) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Drive) Validate ¶

func (m *Drive) Validate(formats strfmt.Registry) error

Validate validates this drive

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 ¶

func (m *ECDSA) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e c d s a based on context it is used

func (*ECDSA) MarshalBinary ¶

func (m *ECDSA) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ECDSA) UnmarshalBinary ¶

func (m *ECDSA) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ECDSA) Validate ¶

func (m *ECDSA) Validate(formats strfmt.Registry) error

Validate validates this e c d s a

type EDConfigItem ¶

type EDConfigItem struct {

	// boolean value
	BoolValue bool `json:"boolValue,omitempty"`

	// float value
	FloatValue float32 `json:"floatValue,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// string value
	StringValue string `json:"stringValue,omitempty"`

	// uint32 value
	Uint32Value uint32 `json:"uint32Value,omitempty"`

	// uint64 value in string format
	Uint64Value string `json:"uint64Value,omitempty"`

	// value type
	ValueType string `json:"valueType,omitempty"`
}

EDConfigItem EDConfigItem payload detail

ED Configuration Item request paylod ¶

swagger:model EDConfigItem

func (*EDConfigItem) ContextValidate ¶

func (m *EDConfigItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*EDConfigItem) Validate ¶

func (m *EDConfigItem) Validate(formats strfmt.Registry) error

Validate validates this e d config item

type EIDRegister ¶

type EIDRegister struct {

	// app certificate
	// Required: true
	// Format: byte
	AppCert *string `json:"AppCert"`

	// App private key
	// Required: true
	// Format: byte
	AppPrivateKey *string `json:"AppPrivateKey"`

	// App public key
	// Required: true
	// Format: byte
	AppPublicKey *string `json:"AppPublicKey"`

	// Display name
	// Required: true
	DisplayName *string `json:"DisplayName"`

	// EID
	// Required: true
	EID *string `json:"EID"`

	// EID hash length
	// Required: true
	EIDHashLen *int64 `json:"EIDHashLen"`

	// Lisp Instance
	// Required: true
	LispInstance *int64 `json:"LispInstance"`

	// time CreateTime     time.Time
	//
	// Lisp Map Server
	// Required: true
	LispMapServers []*LispServer `json:"LispMapServers"`

	// Lisp Signature
	// Required: true
	LispSignature *string `json:"LispSignature"`

	// UUID
	// Required: true
	UUID *string `json:"UUID"`
}

EIDRegister EID Register detail

EID Register ¶

swagger:model EIDRegister

func (*EIDRegister) ContextValidate ¶

func (m *EIDRegister) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*EIDRegister) Validate ¶

func (m *EIDRegister) Validate(formats strfmt.Registry) error

Validate validates this e ID register

type EdgeviewCfg ¶

type EdgeviewCfg struct {

	// app policy
	AppPolicy *AppAccessPolicy `json:"appPolicy,omitempty"`

	// dev policy
	DevPolicy *DevAccessPolicy `json:"devPolicy,omitempty"`

	// ext policy
	ExtPolicy *ExtAccessPolicy `json:"extPolicy,omitempty"`

	// generation Id
	GenerationID int64 `json:"generationId,omitempty"`

	// jwt info
	JwtInfo *JWTInfo `json:"jwtInfo,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

EdgeviewCfg edgeview cfg

swagger:model EdgeviewCfg

func (*EdgeviewCfg) ContextValidate ¶

func (m *EdgeviewCfg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgeview cfg based on the context it is used

func (*EdgeviewCfg) MarshalBinary ¶

func (m *EdgeviewCfg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeviewCfg) UnmarshalBinary ¶

func (m *EdgeviewCfg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeviewCfg) Validate ¶

func (m *EdgeviewCfg) Validate(formats strfmt.Registry) error

Validate validates this edgeview cfg

type EdgeviewPolicy ¶

type EdgeviewPolicy struct {

	// Allow inherit instance to change access policy
	AccessAllowChange bool `json:"accessAllowChange,omitempty"`

	// Allow device to enable Edgeview in this project
	// Required: true
	EdgeviewAllow *bool `json:"edgeviewAllow"`

	// Edgeview configuration and policies
	Edgeviewcfg *EdgeviewCfg `json:"edgeviewcfg,omitempty"`

	// Maximum seconds allowed for Edgeview session
	MaxExpireSec int64 `json:"maxExpireSec,omitempty"`

	// Maximum instances allowed for Edgeview
	MaxInst int64 `json:"maxInst,omitempty"`
}

EdgeviewPolicy Edgeview policy body detail

Policy for device edgeview operation ¶

swagger:model EdgeviewPolicy

func (*EdgeviewPolicy) ContextValidate ¶

func (m *EdgeviewPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgeview policy based on the context it is used

func (*EdgeviewPolicy) MarshalBinary ¶

func (m *EdgeviewPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeviewPolicy) UnmarshalBinary ¶

func (m *EdgeviewPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeviewPolicy) Validate ¶

func (m *EdgeviewPolicy) Validate(formats strfmt.Registry) error

Validate validates this edgeview policy

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 ¶

func (m *EnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*EnrollmentDetail) Validate ¶

func (m *EnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this enrollment detail

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 ¶

func (m EnrollmentMechanism) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enrollment mechanism based on context it is used

func (EnrollmentMechanism) Pointer ¶

Pointer returns a pointer to a freshly-allocated EnrollmentMechanism.

func (EnrollmentMechanism) Validate ¶

func (m EnrollmentMechanism) Validate(formats strfmt.Registry) error

Validate validates this enrollment mechanism

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 ¶

func (m EnrollmentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enrollment type based on context it is used

func (EnrollmentType) Pointer ¶

func (m EnrollmentType) Pointer() *EnrollmentType

Pointer returns a pointer to a freshly-allocated EnrollmentType.

func (EnrollmentType) Validate ¶

func (m EnrollmentType) Validate(formats strfmt.Registry) error

Validate validates this enrollment type

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 NewEntity ¶

func NewEntity(value Entity) *Entity

func (Entity) ContextValidate ¶

func (m Entity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this entity based on context it is used

func (Entity) Pointer ¶

func (m Entity) Pointer() *Entity

Pointer returns a pointer to a freshly-allocated Entity.

func (Entity) Validate ¶

func (m Entity) Validate(formats strfmt.Registry) error

Validate validates this entity

type EventQueryResponse ¶

type EventQueryResponse struct {

	// Event Query response list
	// Required: true
	List []*EventQueryResponseItem `json:"list"`

	// Cursor filter
	// Required: true
	Next *Cursor `json:"next"`

	// Summary of filtered events.
	Summary *Summary `json:"summary,omitempty"`
}

EventQueryResponse Event query Response payload detail

Event query response request payload ¶

swagger:model EventQueryResponse

func (*EventQueryResponse) ContextValidate ¶

func (m *EventQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*EventQueryResponse) Validate ¶

func (m *EventQueryResponse) Validate(formats strfmt.Registry) error

Validate validates this event query response

type EventQueryResponseItem ¶

type EventQueryResponseItem struct {

	// clusterInstance name
	ClusterInstance string `json:"clusterInstance,omitempty"`

	// Event description
	Description string `json:"description,omitempty"`

	// device name
	Device string `json:"device,omitempty"`

	// Event type
	EventType string `json:"eventType,omitempty"`

	// instance name
	Instance string `json:"instance,omitempty"`

	// Event resources
	JSONData interface{} `json:"jsonData,omitempty"`

	// project name
	Project string `json:"project,omitempty"`

	// Event resources
	Resource string `json:"resource,omitempty"`

	// Event resources
	ResourceName string `json:"resourceName,omitempty"`

	// severity: FIXME: should be ENUM
	Severity string `json:"severity,omitempty"`

	// source
	Source *EventSource `json:"source,omitempty"`

	// Event tags
	Tags []string `json:"tags"`

	// event timestamp
	Timestamp interface{} `json:"timestamp,omitempty"`

	// User name
	User string `json:"user,omitempty"`
}

EventQueryResponseItem Event query response item payload detail

Event query response item payload ¶

swagger:model EventQueryResponseItem

func (*EventQueryResponseItem) ContextValidate ¶

func (m *EventQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event query response item based on the context it is used

func (*EventQueryResponseItem) MarshalBinary ¶

func (m *EventQueryResponseItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventQueryResponseItem) UnmarshalBinary ¶

func (m *EventQueryResponseItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventQueryResponseItem) Validate ¶

func (m *EventQueryResponseItem) Validate(formats strfmt.Registry) error

Validate validates this event query response item

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 ¶

func (m EventSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event source based on context it is used

func (EventSource) Pointer ¶

func (m EventSource) Pointer() *EventSource

Pointer returns a pointer to a freshly-allocated EventSource.

func (EventSource) Validate ¶

func (m EventSource) Validate(formats strfmt.Registry) error

Validate validates this event source

type ExtAccessPolicy ¶

type ExtAccessPolicy struct {

	// external of device edge-view access is allowed or not
	AllowExt bool `json:"allowExt,omitempty"`
}

ExtAccessPolicy ext access policy

swagger:model ExtAccessPolicy

func (*ExtAccessPolicy) ContextValidate ¶

func (m *ExtAccessPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ext access policy based on context it is used

func (*ExtAccessPolicy) MarshalBinary ¶

func (m *ExtAccessPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExtAccessPolicy) UnmarshalBinary ¶

func (m *ExtAccessPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExtAccessPolicy) Validate ¶

func (m *ExtAccessPolicy) Validate(formats strfmt.Registry) error

Validate validates this ext access policy

type ExternalOpaqueBinaryBlob ¶

type ExternalOpaqueBinaryBlob struct {

	// Eve shall use the image name when fileNameToUse is empty
	// optional - this can be image type or size etc encoded into a single string.
	// only the application instance agents will interpret this.
	BlobMetaData string `json:"blobMetaData,omitempty"`

	// optional - file name to be used for storing this data in EVE.
	// the same file name shall be advertised to application agent
	FileNameToUse string `json:"fileNameToUse,omitempty"`

	// image Id
	ImageID string `json:"imageId,omitempty"`

	// Name of the image uploaded into data store
	ImageName string `json:"imageName,omitempty"`
}

ExternalOpaqueBinaryBlob external opaque binary blob

swagger:model ExternalOpaqueBinaryBlob

func (*ExternalOpaqueBinaryBlob) ContextValidate ¶

func (m *ExternalOpaqueBinaryBlob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external opaque binary blob based on context it is used

func (*ExternalOpaqueBinaryBlob) MarshalBinary ¶

func (m *ExternalOpaqueBinaryBlob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalOpaqueBinaryBlob) UnmarshalBinary ¶

func (m *ExternalOpaqueBinaryBlob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalOpaqueBinaryBlob) Validate ¶

func (m *ExternalOpaqueBinaryBlob) Validate(formats strfmt.Registry) error

Validate validates this external opaque binary blob

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 ¶

func (m FlowlogAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog action based on context it is used

func (FlowlogAction) Pointer ¶

func (m FlowlogAction) Pointer() *FlowlogAction

Pointer returns a pointer to a freshly-allocated FlowlogAction.

func (FlowlogAction) Validate ¶

func (m FlowlogAction) Validate(formats strfmt.Registry) error

Validate validates this flowlog action

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 ¶

func (m FlowlogCategoryType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog category type based on context it is used

func (FlowlogCategoryType) Pointer ¶

Pointer returns a pointer to a freshly-allocated FlowlogCategoryType.

func (FlowlogCategoryType) Validate ¶

func (m FlowlogCategoryType) Validate(formats strfmt.Registry) error

Validate validates this flowlog category type

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 ¶

func (m FlowlogDirection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog direction based on context it is used

func (FlowlogDirection) Pointer ¶

func (m FlowlogDirection) Pointer() *FlowlogDirection

Pointer returns a pointer to a freshly-allocated FlowlogDirection.

func (FlowlogDirection) Validate ¶

func (m FlowlogDirection) Validate(formats strfmt.Registry) error

Validate validates this flowlog direction

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 ¶

func (m FlowlogMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog metric based on context it is used

func (FlowlogMetric) Pointer ¶

func (m FlowlogMetric) Pointer() *FlowlogMetric

Pointer returns a pointer to a freshly-allocated FlowlogMetric.

func (FlowlogMetric) Validate ¶

func (m FlowlogMetric) Validate(formats strfmt.Registry) error

Validate validates this flowlog metric

type GPSLocation ¶

type GPSLocation struct {

	// Altitude from mean sea level
	Altitude float64 `json:"altitude,omitempty"`

	// Horizontal reliability
	HorizontalReliability int64 `json:"horizontalReliability,omitempty"`

	// Horizontal uncertainty
	HorizontalUncertainty float64 `json:"horizontalUncertainty,omitempty"`

	// Latitude
	Latitude float64 `json:"latitude,omitempty"`

	// Logical label of the adapter used to get GPS coordinates
	LogicalLabel string `json:"logicalLabel,omitempty"`

	// Longitude
	Longitude float64 `json:"longitude,omitempty"`

	// UTC timestamp
	Timestamp interface{} `json:"timestamp,omitempty"`

	// Vertical reliability
	VerticalReliability int64 `json:"verticalReliability,omitempty"`

	// Vertical uncertainty
	VerticalUncertainty float64 `json:"verticalUncertainty,omitempty"`
}

GPSLocation g p s location

swagger:model GPSLocation

func (*GPSLocation) ContextValidate ¶

func (m *GPSLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g p s location based on context it is used

func (*GPSLocation) MarshalBinary ¶

func (m *GPSLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GPSLocation) UnmarshalBinary ¶

func (m *GPSLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GPSLocation) Validate ¶

func (m *GPSLocation) Validate(formats strfmt.Registry) error

Validate validates this g p s location

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 ¶

func (m *GeoLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GeoLocation) Validate ¶

func (m *GeoLocation) Validate(formats strfmt.Registry) error

Validate validates this geo location

type GooglerpcStatus ¶

type GooglerpcStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

GooglerpcStatus googlerpc status

swagger:model googlerpcStatus

func (*GooglerpcStatus) ContextValidate ¶

func (m *GooglerpcStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this googlerpc status based on the context it is used

func (*GooglerpcStatus) MarshalBinary ¶

func (m *GooglerpcStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GooglerpcStatus) UnmarshalBinary ¶

func (m *GooglerpcStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GooglerpcStatus) Validate ¶

func (m *GooglerpcStatus) Validate(formats strfmt.Registry) error

Validate validates this googlerpc status

type GroupCertificateEnrollment ¶

type GroupCertificateEnrollment struct {

	// group name
	GroupName string `json:"groupName,omitempty"`
}

GroupCertificateEnrollment group certificate enrollment

swagger:model GroupCertificateEnrollment

func (*GroupCertificateEnrollment) ContextValidate ¶

func (m *GroupCertificateEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group certificate enrollment based on context it is used

func (*GroupCertificateEnrollment) MarshalBinary ¶

func (m *GroupCertificateEnrollment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupCertificateEnrollment) UnmarshalBinary ¶

func (m *GroupCertificateEnrollment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupCertificateEnrollment) Validate ¶

func (m *GroupCertificateEnrollment) Validate(formats strfmt.Registry) error

Validate validates this group certificate enrollment

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

func (*GroupSymmetricKeyEnrollment) Validate ¶

func (m *GroupSymmetricKeyEnrollment) Validate(formats strfmt.Registry) error

Validate validates this group symmetric key enrollment

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 NewHvMode ¶

func NewHvMode(value HvMode) *HvMode

func (HvMode) ContextValidate ¶

func (m HvMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hv mode based on context it is used

func (HvMode) Pointer ¶

func (m HvMode) Pointer() *HvMode

Pointer returns a pointer to a freshly-allocated HvMode.

func (HvMode) Validate ¶

func (m HvMode) Validate(formats strfmt.Registry) error

Validate validates this hv mode

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 NewIDState(value IDState) *IDState

func (IDState) ContextValidate ¶

func (m IDState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Id state based on context it is used

func (IDState) Pointer ¶

func (m IDState) Pointer() *IDState

Pointer returns a pointer to a freshly-allocated IDState.

func (IDState) Validate ¶

func (m IDState) Validate(formats strfmt.Registry) error

Validate validates this Id state

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 ¶

func (m *IPAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*IPAssignment) Validate ¶

func (m *IPAssignment) Validate(formats strfmt.Registry) error

Validate validates this IP assignment

type IPSpec ¶

type IPSpec struct {

	// deprecated
	DeprecatedDhcp bool `json:"deprecatedDhcp,omitempty"`

	// dhcp
	Dhcp *NetworkDHCPType `json:"dhcp,omitempty"`

	// for IPAM management when dhcp is turned on.
	// If none provided, system will default pool.
	DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"`

	// dns
	DNS []string `json:"dns"`

	// domain
	Domain string `json:"domain,omitempty"`

	// gateway
	Gateway string `json:"gateway,omitempty"`

	// mask
	Mask string `json:"mask,omitempty"`

	// ntp
	Ntp string `json:"ntp,omitempty"`

	// subnet
	Subnet string `json:"subnet,omitempty"`
}

IPSpec Ip spec

swagger:model IpSpec

func (*IPSpec) ContextValidate ¶

func (m *IPSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Ip spec based on the context it is used

func (*IPSpec) MarshalBinary ¶

func (m *IPSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPSpec) UnmarshalBinary ¶

func (m *IPSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPSpec) Validate ¶

func (m *IPSpec) Validate(formats strfmt.Registry) error

Validate validates this Ip spec

type Image ¶

type Image struct {

	// Datastore Id where image binary is located.
	// Required: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	DatastoreID *string `json:"datastoreId"`

	// Detailed description of the image.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// System defined universally unique Id of the image.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// Image Architecture.
	// Required: true
	ImageArch *ModelArchType `json:"imageArch"`

	// Image upload/uplink detailed error/status message
	// Read Only: true
	ImageError string `json:"imageError,omitempty"`

	// Image binary format.
	// Required: true
	ImageFormat *ConfigFormat `json:"imageFormat"`

	// Internal image location.
	// Read Only: true
	ImageLocal string `json:"imageLocal,omitempty"`

	// Image relative path w.r.t. Datastore
	ImageRelURL string `json:"imageRelUrl,omitempty"`

	// Image checksum in SHA256 format
	ImageSha256 string `json:"imageSha256,omitempty"`

	// Image size in KBytes.
	ImageSizeBytes string `json:"imageSizeBytes,omitempty"`

	// Image status
	// Read Only: true
	ImageStatus *ImageStatus `json:"imageStatus,omitempty"`

	// Image type
	// Required: true
	ImageType *ImageType `json:"imageType"`

	// system defined info
	ImageVersion string `json:"imageVersion,omitempty"`

	// User defined name of the image, unique across the enterprise. Once image is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Origin type of image.
	// Read Only: true
	OriginType *Origin `json:"originType,omitempty"`

	// project access list of the image
	ProjectAccessList []string `json:"projectAccessList"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the image. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`
}

Image Image metadata detail

Image metadata for edge gateway Base OS or for eedge applications. Example: {"description":"My test image in QCOW2 format for Edge computing","dsId":"7927f6e3-484d-4105-a98e-868b21c1cb61","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","imageArch":"AMD64","imageError":"Image uplinked successfully...","imageFormat":3,"imageLocal":"","imageRelUrl":"edge/computing/AMD64","imageSha256":"ADC5BB9DD39F83DD74C276B0BA119FB27925A5CDEA343FE1F2C8433F28AB345B","imageSizeBytes":142016512,"imageStatus":4,"imageType":2,"imageVersion":"","name":"my-test-image","originType":2,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test Image for Edge Computing"}

swagger:model Image

func (*Image) ContextValidate ¶

func (m *Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image config based on the context it is used

func (*Image) MarshalBinary ¶

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Image) UnmarshalBinary ¶

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) Validate ¶

func (m *Image) Validate(formats strfmt.Registry) error

Validate validates this image config

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 ¶

func (m *ImageFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ImageFilter) Validate ¶

func (m *ImageFilter) Validate(formats strfmt.Registry) error

Validate validates this image filter

type ImageProjectList ¶

type ImageProjectList struct {

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// List of projects which are are common among given list of images
	ProjectDetails []*ObjectDetail `json:"projectDetails"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

ImageProjectList image project list

swagger:model ImageProjectList

func (*ImageProjectList) ContextValidate ¶

func (m *ImageProjectList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image project list based on the context it is used

func (*ImageProjectList) MarshalBinary ¶

func (m *ImageProjectList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageProjectList) UnmarshalBinary ¶

func (m *ImageProjectList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageProjectList) Validate ¶

func (m *ImageProjectList) Validate(formats strfmt.Registry) error

Validate validates this image project list

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 ¶

func (m ImageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image status based on context it is used

func (ImageStatus) Pointer ¶

func (m ImageStatus) Pointer() *ImageStatus

Pointer returns a pointer to a freshly-allocated ImageStatus.

func (ImageStatus) Validate ¶

func (m ImageStatus) Validate(formats strfmt.Registry) error

Validate validates this image status

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 NewImageType(value ImageType) *ImageType

func (ImageType) ContextValidate ¶

func (m ImageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image type based on context it is used

func (ImageType) Pointer ¶

func (m ImageType) Pointer() *ImageType

Pointer returns a pointer to a freshly-allocated ImageType.

func (ImageType) Validate ¶

func (m ImageType) Validate(formats strfmt.Registry) error

Validate validates this image type

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 ¶

func (m *ImageVersionFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ImageVersionFilter) Validate ¶

func (m *ImageVersionFilter) Validate(formats strfmt.Registry) error

Validate validates this image version filter

type Images ¶

type Images struct {

	// List of filtered Image records
	List []*Image `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Image architecture distribution summary
	SummaryByImageArch *Summary `json:"summaryByImageArch,omitempty"`

	// Image format distribution summary
	SummaryByImageFormat *Summary `json:"summaryByImageFormat,omitempty"`

	// Imagestatus distribution summary
	SummaryByImageStatus *Summary `json:"summaryByImageStatus,omitempty"`

	// Image type distribution summary
	SummaryByImageType *Summary `json:"summaryByImageType,omitempty"`

	// Summary of filtered Image records
	Terse *Summary `json:"terse,omitempty"`
}

Images images

swagger:model Images

func (*Images) ContextValidate ¶

func (m *Images) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this images based on the context it is used

func (*Images) MarshalBinary ¶

func (m *Images) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Images) UnmarshalBinary ¶

func (m *Images) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Images) Validate ¶

func (m *Images) Validate(formats strfmt.Registry) error

Validate validates this images

type IndividualCertificateEnrollment ¶

type IndividualCertificateEnrollment interface{}

IndividualCertificateEnrollment XXX TODO

swagger:model IndividualCertificateEnrollment

type IndividualSymmetricKeyEnrollment ¶

type IndividualSymmetricKeyEnrollment struct {

	// registration Id
	RegistrationID string `json:"registrationId,omitempty"`
}

IndividualSymmetricKeyEnrollment individual symmetric key enrollment

swagger:model IndividualSymmetricKeyEnrollment

func (*IndividualSymmetricKeyEnrollment) ContextValidate ¶

func (m *IndividualSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this individual symmetric key enrollment based on context it is used

func (*IndividualSymmetricKeyEnrollment) MarshalBinary ¶

func (m *IndividualSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IndividualSymmetricKeyEnrollment) UnmarshalBinary ¶

func (m *IndividualSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IndividualSymmetricKeyEnrollment) Validate ¶

Validate validates this individual symmetric key enrollment

type InlineOpaqueBase64Data ¶

type InlineOpaqueBase64Data struct {

	// base64 encoded
	Base64Data string `json:"base64Data,omitempty"`

	// optional - any arbitrary metadata encoded to base64 string
	Base64MetaData string `json:"base64MetaData,omitempty"`

	// file name to be used for storing this data in EVE.
	// the same file name shall be advertised to application agent
	FileNameToUse string `json:"fileNameToUse,omitempty"`
}

InlineOpaqueBase64Data inline opaque base64 data

swagger:model InlineOpaqueBase64Data

func (*InlineOpaqueBase64Data) ContextValidate ¶

func (m *InlineOpaqueBase64Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this inline opaque base64 data based on context it is used

func (*InlineOpaqueBase64Data) MarshalBinary ¶

func (m *InlineOpaqueBase64Data) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InlineOpaqueBase64Data) UnmarshalBinary ¶

func (m *InlineOpaqueBase64Data) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InlineOpaqueBase64Data) Validate ¶

func (m *InlineOpaqueBase64Data) Validate(formats strfmt.Registry) error

Validate validates this inline opaque base64 data

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 (InstanceTransitionAction) ContextValidate ¶

func (m InstanceTransitionAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this instance transition action based on context it is used

func (InstanceTransitionAction) Pointer ¶

Pointer returns a pointer to a freshly-allocated InstanceTransitionAction.

func (InstanceTransitionAction) Validate ¶

func (m InstanceTransitionAction) Validate(formats strfmt.Registry) error

Validate validates this instance transition action

type IntegrationPolicy ¶

type IntegrationPolicy struct {

	// Id
	ID string `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

IntegrationPolicy integration policy

swagger:model IntegrationPolicy

func (*IntegrationPolicy) ContextValidate ¶

func (m *IntegrationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration policy based on the context it is used

func (*IntegrationPolicy) MarshalBinary ¶

func (m *IntegrationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationPolicy) UnmarshalBinary ¶

func (m *IntegrationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationPolicy) Validate ¶

func (m *IntegrationPolicy) Validate(formats strfmt.Registry) error

Validate validates this integration policy

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 ¶

func (m *Interface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface based on the context it is used

func (*Interface) MarshalBinary ¶

func (m *Interface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Interface) UnmarshalBinary ¶

func (m *Interface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Interface) Validate ¶

func (m *Interface) Validate(formats strfmt.Registry) error

Validate validates this interface

type IoAddresses ¶

type IoAddresses struct {

	// mac address
	MacAddress string `json:"macAddress,omitempty"`
}

IoAddresses io addresses

swagger:model IoAddresses

func (*IoAddresses) ContextValidate ¶

func (m *IoAddresses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this io addresses based on context it is used

func (*IoAddresses) MarshalBinary ¶

func (m *IoAddresses) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoAddresses) UnmarshalBinary ¶

func (m *IoAddresses) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoAddresses) Validate ¶

func (m *IoAddresses) Validate(formats strfmt.Registry) error

Validate validates this io addresses

type IoBundleStatus ¶

type IoBundleStatus struct {

	// Application name
	// Required: true
	AppName *string `json:"appName"`

	// 6 - DEPRECATED
	//
	// Device error details
	Err *DeviceError `json:"err,omitempty"`

	// LTE information
	LteInfo *LTEAdapter `json:"lteInfo,omitempty"`

	// List of IO members
	MemberList []*IoMemberStatus `json:"memberList"`

	// members - Deprecated by memberList
	//
	// Member Array
	// Required: true
	Members []string `json:"members"`

	// Io Bundle status name
	// Required: true
	Name *string `json:"name"`

	// IoType specifies the type of the Input output of the device
	// Required: true
	Type *IoType `json:"type"`
}

IoBundleStatus IoBundleStatus is used to store the status of the Input Output bundle

IoBundleStatus is used to store the status of the Input Output bundle ¶

swagger:model IoBundleStatus

func (*IoBundleStatus) ContextValidate ¶

func (m *IoBundleStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*IoBundleStatus) Validate ¶

func (m *IoBundleStatus) Validate(formats strfmt.Registry) error

Validate validates this io bundle status

type IoMember ¶

type IoMember struct {

	// Assign Group
	// Required: true
	Assigngrp *string `json:"assigngrp"`

	// physical and logical attributes
	//
	// attributes
	Cbattr map[string]string `json:"cbattr,omitempty"`

	// cost of using this ioMember. Default is 0.
	// Required: true
	// Maximum: 255
	Cost *int64 `json:"cost"`

	// Logical Label
	// Required: true
	Logicallabel *string `json:"logicallabel"`

	// Map of Physical Addresses
	// Required: true
	Phyaddrs map[string]string `json:"phyaddrs"`

	// Physical Label
	// Required: true
	Phylabel *string `json:"phylabel"`

	// Adopter Usage
	Usage *AdapterUsage `json:"usage,omitempty"`

	// usagePolicy
	UsagePolicy map[string]bool `json:"usagePolicy,omitempty"`

	// Z Type
	// Required: true
	Ztype *IoType `json:"ztype"`
}

IoMember ioMember payload details

ioMember consists of list of various networking attributes like physical label, physical address etc  associated with SysModel

Example: {"logicallabel":"eth0","phylabel":"eth0","ztype":1}

swagger:model ioMember

func (*IoMember) ContextValidate ¶

func (m *IoMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this io member based on the context it is used

func (*IoMember) MarshalBinary ¶

func (m *IoMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoMember) UnmarshalBinary ¶

func (m *IoMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoMember) Validate ¶

func (m *IoMember) Validate(formats strfmt.Registry) error

Validate validates this io member

type IoMemberStatus ¶

type IoMemberStatus struct {

	// IO addresses of the member. Each address corresponds to the member in the members array
	IoAddress *IoAddresses `json:"ioAddress,omitempty"`

	// IoBundle Member name
	Name string `json:"name,omitempty"`
}

IoMemberStatus io member status

swagger:model IoMemberStatus

func (*IoMemberStatus) ContextValidate ¶

func (m *IoMemberStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this io member status based on the context it is used

func (*IoMemberStatus) MarshalBinary ¶

func (m *IoMemberStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoMemberStatus) UnmarshalBinary ¶

func (m *IoMemberStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoMemberStatus) Validate ¶

func (m *IoMemberStatus) Validate(formats strfmt.Registry) error

Validate validates this io member status

type IoType ¶

type IoType string

IoType Input/Output Type

- IO_TYPE_UNSPECIFIED: No operation/ Invalid peration

  • IO_TYPE_ETH: Ethernet
  • IO_TYPE_USB: USB Type
  • IO_TYPE_COM: Communication Port
  • IO_TYPE_AUDIO: Audio Port
  • IO_TYPE_WLAN: wireless LAN
  • IO_TYPE_WWAN: Wireless wide area network
  • IO_TYPE_HDMI: High-Definition Multimedia Interface
  • IO_TYPE_LTE: LTE Interfaces
  • IO_TYPE_STORAGE_NVME_DEVICE: Storage NVME device
  • IO_TYPE_STORAGE_SATA_DEVICE: Storage SATA device
  • IO_TYPE_OTHER: Other Io Types

swagger:model IoType

const (

	// IoTypeIOTYPEUNSPECIFIED captures enum value "IO_TYPE_UNSPECIFIED"
	IoTypeIOTYPEUNSPECIFIED IoType = "IO_TYPE_UNSPECIFIED"

	// IoTypeIOTYPEETH captures enum value "IO_TYPE_ETH"
	IoTypeIOTYPEETH IoType = "IO_TYPE_ETH"

	// IoTypeIOTYPEUSB captures enum value "IO_TYPE_USB"
	IoTypeIOTYPEUSB IoType = "IO_TYPE_USB"

	// IoTypeIOTYPECOM captures enum value "IO_TYPE_COM"
	IoTypeIOTYPECOM IoType = "IO_TYPE_COM"

	// IoTypeIOTYPEAUDIO captures enum value "IO_TYPE_AUDIO"
	IoTypeIOTYPEAUDIO IoType = "IO_TYPE_AUDIO"

	// IoTypeIOTYPEWLAN captures enum value "IO_TYPE_WLAN"
	IoTypeIOTYPEWLAN IoType = "IO_TYPE_WLAN"

	// IoTypeIOTYPEWWAN captures enum value "IO_TYPE_WWAN"
	IoTypeIOTYPEWWAN IoType = "IO_TYPE_WWAN"

	// IoTypeIOTYPEHDMI captures enum value "IO_TYPE_HDMI"
	IoTypeIOTYPEHDMI IoType = "IO_TYPE_HDMI"

	// IoTypeIOTYPELTE captures enum value "IO_TYPE_LTE"
	IoTypeIOTYPELTE IoType = "IO_TYPE_LTE"

	// IoTypeIOTYPESTORAGENVMEDEVICE captures enum value "IO_TYPE_STORAGE_NVME_DEVICE"
	IoTypeIOTYPESTORAGENVMEDEVICE IoType = "IO_TYPE_STORAGE_NVME_DEVICE"

	// IoTypeIOTYPESTORAGESATADEVICE captures enum value "IO_TYPE_STORAGE_SATA_DEVICE"
	IoTypeIOTYPESTORAGESATADEVICE IoType = "IO_TYPE_STORAGE_SATA_DEVICE"

	// IoTypeIOTYPEOTHER captures enum value "IO_TYPE_OTHER"
	IoTypeIOTYPEOTHER IoType = "IO_TYPE_OTHER"
)

func NewIoType ¶

func NewIoType(value IoType) *IoType

func (IoType) ContextValidate ¶

func (m IoType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this io type based on context it is used

func (IoType) Pointer ¶

func (m IoType) Pointer() *IoType

Pointer returns a pointer to a freshly-allocated IoType.

func (IoType) Validate ¶

func (m IoType) Validate(formats strfmt.Registry) error

Validate validates this io type

type IotHubServiceDetail ¶

type IotHubServiceDetail struct {

	// service detail
	ServiceDetail *AzureResourceAndServiceDetail `json:"serviceDetail,omitempty"`
}

IotHubServiceDetail iot hub service detail

swagger:model IotHubServiceDetail

func (*IotHubServiceDetail) ContextValidate ¶

func (m *IotHubServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*IotHubServiceDetail) Validate ¶

func (m *IotHubServiceDetail) Validate(formats strfmt.Registry) error

Validate validates this iot hub service detail

type JWTInfo ¶

type JWTInfo struct {

	// allow sec
	AllowSec int64 `json:"allowSec,omitempty"`

	// disp Url
	DispURL string `json:"dispUrl,omitempty"`

	// encrypt
	Encrypt bool `json:"encrypt,omitempty"`

	// expire sec
	ExpireSec string `json:"expireSec,omitempty"`

	// num inst
	NumInst int64 `json:"numInst,omitempty"`
}

JWTInfo j w t info

swagger:model JWTInfo

func (*JWTInfo) ContextValidate ¶

func (m *JWTInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this j w t info based on context it is used

func (*JWTInfo) MarshalBinary ¶

func (m *JWTInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JWTInfo) UnmarshalBinary ¶

func (m *JWTInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JWTInfo) Validate ¶

func (m *JWTInfo) Validate(formats strfmt.Registry) error

Validate validates this j w t info

type LTEAdapter ¶

type LTEAdapter struct {

	// Name of Cell Module
	CellModuleName string `json:"cellModuleName,omitempty"`

	// Firmware Version of Cell Radio.
	FirmwareVersion string `json:"firmwareVersion,omitempty"`

	// iccid of the SIM
	Iccid string `json:"iccid,omitempty"`

	// IMEI of Cell Radio.
	Imei string `json:"imei,omitempty"`

	// imsi of the SIM
	Imsi string `json:"imsi,omitempty"`

	// Name of SIM card.
	SimName string `json:"simName,omitempty"`

	// State of SimCard
	SimcardState *SimcardState `json:"simcardState,omitempty"`
}

LTEAdapter LTE Adapter

Details of LTE Adapter ¶

swagger:model LTEAdapter

func (*LTEAdapter) ContextValidate ¶

func (m *LTEAdapter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*LTEAdapter) Validate ¶

func (m *LTEAdapter) Validate(formats strfmt.Registry) error

Validate validates this l t e adapter

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 ¶

func (m *LimitParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*LimitParams) Validate ¶

func (m *LimitParams) Validate(formats strfmt.Registry) error

Validate validates this limit params

type LispConfig ¶

type LispConfig struct {

	// Allocate flag
	Allocate bool `json:"allocate,omitempty"`

	// Allocation Prefix
	Allocationprefix string `json:"allocationprefix,omitempty"`

	// Allocation Prefix Length
	Allocationprefixlen int64 `json:"allocationprefixlen,omitempty"`

	// Export Private flag
	Exportprivate bool `json:"exportprivate,omitempty"`

	// lisp id
	Lispiid int64 `json:"lispiid,omitempty"`

	// Service Point List
	Sp []*ServicePoint `json:"sp"`
}

LispConfig Lisp Configurations

List Configurations.

swagger:model LispConfig

func (*LispConfig) ContextValidate ¶

func (m *LispConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*LispConfig) Validate ¶

func (m *LispConfig) Validate(formats strfmt.Registry) error

Validate validates this lisp config

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 ¶

func (m *LispServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*LispServer) Validate ¶

func (m *LispServer) Validate(formats strfmt.Registry) error

Validate validates this lisp server

type LocalOperatorConsolePolicy ¶

type LocalOperatorConsolePolicy struct {

	// unique policy id
	// Read Only: true
	// Pattern: [0-9-a-z-]+
	ID string `json:"id,omitempty"`

	// Local operator console URL
	// Required: true
	LocURL *string `json:"locURL"`
}

LocalOperatorConsolePolicy Local operator console policy body detail

Local operator console policy to enforce on all devices of the project ¶

swagger:model LocalOperatorConsolePolicy

func (*LocalOperatorConsolePolicy) ContextValidate ¶

func (m *LocalOperatorConsolePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this local operator console policy based on the context it is used

func (*LocalOperatorConsolePolicy) MarshalBinary ¶

func (m *LocalOperatorConsolePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocalOperatorConsolePolicy) UnmarshalBinary ¶

func (m *LocalOperatorConsolePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocalOperatorConsolePolicy) Validate ¶

func (m *LocalOperatorConsolePolicy) Validate(formats strfmt.Registry) error

Validate validates this local operator console policy

type ManifestInfo ¶

type ManifestInfo struct {

	// Current version of edge application being used
	BundleVersion string `json:"bundleVersion,omitempty"`

	// Details for recommended transition action
	Details *TransDetails `json:"details,omitempty"`

	// Next version of edge application available
	NextBundleVersion string `json:"nextBundleVersion,omitempty"`

	// Common and Custom parameters for deciding on transition actions
	Params map[string]string `json:"params,omitempty"`

	// Recommended transition action
	TransitionAction *InstanceTransitionAction `json:"transitionAction,omitempty"`
}

ManifestInfo Transition action information

Details about transition parameters and indication for cause of the transition and recommendation for the transition action ¶

swagger:model ManifestInfo

func (*ManifestInfo) ContextValidate ¶

func (m *ManifestInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ManifestInfo) Validate ¶

func (m *ManifestInfo) Validate(formats strfmt.Registry) error

Validate validates this manifest info

type MapParams ¶

type MapParams struct {

	// Application Port value
	AppPort int64 `json:"appPort,omitempty"`
}

MapParams map params

swagger:model MapParams

func (*MapParams) ContextValidate ¶

func (m *MapParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this map params based on context it is used

func (*MapParams) MarshalBinary ¶

func (m *MapParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MapParams) UnmarshalBinary ¶

func (m *MapParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MapParams) Validate ¶

func (m *MapParams) Validate(formats strfmt.Registry) error

Validate validates this map params

type Match ¶

type Match struct {

	// enum: host, protocol, fport
	// At the device level it will pick right interface to apply this match
	//
	// Type of Match (Required)
	Type string `json:"type,omitempty"`

	// Value of match (Required)
	Value string `json:"value,omitempty"`
}

Match match

swagger:model Match

func (*Match) ContextValidate ¶

func (m *Match) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this match based on context it is used

func (*Match) MarshalBinary ¶

func (m *Match) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Match) UnmarshalBinary ¶

func (m *Match) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Match) Validate ¶

func (m *Match) Validate(formats strfmt.Registry) error

Validate validates this match

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 ¶

func (m *MemorySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MemorySummary) Validate ¶

func (m *MemorySummary) Validate(formats strfmt.Registry) error

Validate validates this memory summary

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 ¶

func (m *MetricQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MetricQueryResponse) Validate ¶

func (m *MetricQueryResponse) Validate(formats strfmt.Registry) error

Validate validates this metric query response

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

func (*MetricQueryResponseItem) Validate ¶

func (m *MetricQueryResponseItem) Validate(formats strfmt.Registry) error

Validate validates this metric query response item

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 ¶

func (m *MetricThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MetricThreshold) Validate ¶

func (m *MetricThreshold) Validate(formats strfmt.Registry) error

Validate validates this metric threshold

type MetricType ¶

type MetricType string

MetricType metric type

swagger:model MetricType

const (

	// MetricTypeMETRICTYPEUNSPECIFIED captures enum value "METRIC_TYPE_UNSPECIFIED"
	MetricTypeMETRICTYPEUNSPECIFIED MetricType = "METRIC_TYPE_UNSPECIFIED"

	// MetricTypeMETRICTYPECPUTOTAL captures enum value "METRIC_TYPE_CPU_TOTAL"
	MetricTypeMETRICTYPECPUTOTAL MetricType = "METRIC_TYPE_CPU_TOTAL"

	// MetricTypeMETRICTYPECPUUSAGE captures enum value "METRIC_TYPE_CPU_USAGE"
	MetricTypeMETRICTYPECPUUSAGE MetricType = "METRIC_TYPE_CPU_USAGE"

	// MetricTypeMETRICTYPEMEMORYTOTAL captures enum value "METRIC_TYPE_MEMORY_TOTAL"
	MetricTypeMETRICTYPEMEMORYTOTAL MetricType = "METRIC_TYPE_MEMORY_TOTAL"

	// MetricTypeMETRICTYPEMEMORYUTILIZATION captures enum value "METRIC_TYPE_MEMORY_UTILIZATION"
	MetricTypeMETRICTYPEMEMORYUTILIZATION MetricType = "METRIC_TYPE_MEMORY_UTILIZATION"

	// MetricTypeMETRICTYPENETWORKTOTAL captures enum value "METRIC_TYPE_NETWORK_TOTAL"
	MetricTypeMETRICTYPENETWORKTOTAL MetricType = "METRIC_TYPE_NETWORK_TOTAL"

	// MetricTypeMETRICTYPENETWORKRATES captures enum value "METRIC_TYPE_NETWORK_RATES"
	MetricTypeMETRICTYPENETWORKRATES MetricType = "METRIC_TYPE_NETWORK_RATES"

	// MetricTypeMETRICTYPEEVENTSCOUNT captures enum value "METRIC_TYPE_EVENTS_COUNT"
	MetricTypeMETRICTYPEEVENTSCOUNT MetricType = "METRIC_TYPE_EVENTS_COUNT"

	// MetricTypeMETRICTYPESTORAGEUTILIZATION captures enum value "METRIC_TYPE_STORAGE_UTILIZATION"
	MetricTypeMETRICTYPESTORAGEUTILIZATION MetricType = "METRIC_TYPE_STORAGE_UTILIZATION"

	// MetricTypeMETRICTYPESTORAGEIOZPOOL captures enum value "METRIC_TYPE_STORAGE_IO_ZPOOL"
	MetricTypeMETRICTYPESTORAGEIOZPOOL MetricType = "METRIC_TYPE_STORAGE_IO_ZPOOL"

	// MetricTypeMETRICTYPESTORAGEIOZVOL captures enum value "METRIC_TYPE_STORAGE_IO_ZVOL"
	MetricTypeMETRICTYPESTORAGEIOZVOL MetricType = "METRIC_TYPE_STORAGE_IO_ZVOL"
)

func NewMetricType ¶

func NewMetricType(value MetricType) *MetricType

func (MetricType) ContextValidate ¶

func (m MetricType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metric type based on context it is used

func (MetricType) Pointer ¶

func (m MetricType) Pointer() *MetricType

Pointer returns a pointer to a freshly-allocated MetricType.

func (MetricType) Validate ¶

func (m MetricType) Validate(formats strfmt.Registry) error

Validate validates this metric type

type MetricsDetail ¶

type MetricsDetail struct {

	// Mapping of queries variable keys and value
	Queries map[string]string `json:"queries,omitempty"`

	// Mapping of results variable keys and value
	Results map[string]string `json:"results,omitempty"`
}

MetricsDetail metrics detail

swagger:model MetricsDetail

func (*MetricsDetail) ContextValidate ¶

func (m *MetricsDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MetricsDetail) Validate ¶

func (m *MetricsDetail) Validate(formats strfmt.Registry) error

Validate validates this metrics detail

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 ¶

func (m ModelArchType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this model arch type based on context it is used

func (ModelArchType) Pointer ¶

func (m ModelArchType) Pointer() *ModelArchType

Pointer returns a pointer to a freshly-allocated ModelArchType.

func (ModelArchType) Validate ¶

func (m ModelArchType) Validate(formats strfmt.Registry) error

Validate validates this model arch type

type ModuleDetail ¶

type ModuleDetail struct {

	// Extra information to module to make configuration easier
	Environment map[string]string `json:"environment,omitempty"`

	// Type of modules
	ModuleType *ModuleType `json:"moduleType,omitempty"`

	// Send messages between modules or send messages from modules to iot hub
	Routes map[string]string `json:"routes,omitempty"`

	// Base64 encoded module twin details, desired properties of the module will be updated to reflect these values
	TwinDetail string `json:"twinDetail,omitempty"`
}

ModuleDetail Module detail

Azure module specific details Example: {"twinDetail":"IHsKICAgICAgIm5hbWUiOiAiU2VuZEludGVydmFsIiwKICAgICAgInZhbHVlIjogIjUiCiAgICB9"}

swagger:model ModuleDetail

func (*ModuleDetail) ContextValidate ¶

func (m *ModuleDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModuleDetail) Validate ¶

func (m *ModuleDetail) Validate(formats strfmt.Registry) error

Validate validates this module detail

type ModulePolicy ¶

type ModulePolicy struct {

	// etag for deployment
	Etag string `json:"Etag,omitempty"`

	// list of app details that will be provisioned on all the devices of the project to which this policy is attached
	// Required: true
	Apps []*AppConfig `json:"apps"`

	// app that describes the azure edge agent to be deployed on the Azure runtime
	AzureEdgeAgent *AppConfig `json:"azureEdgeAgent,omitempty"`

	// app that describes the azure edge hub to be deployed on the Azure runtime
	AzureEdgeHub *AppConfig `json:"azureEdgeHub,omitempty"`

	// unique id for deployment
	// Read Only: true
	// Pattern: [0-9-a-z-]+
	ID string `json:"id,omitempty"`

	// Mapping of label variable keys and value
	Labels map[string]string `json:"labels,omitempty"`

	// custom metrics for deployment
	Metrics *MetricsDetail `json:"metrics,omitempty"`

	// deployment priority of module manifest
	// Required: true
	Priority *int64 `json:"priority"`

	// Mapping of routes variable keys and value
	Routes map[string]string `json:"routes,omitempty"`

	// target condition for deployment that matches single device or group of devices
	TargetCondition string `json:"targetCondition,omitempty"`

	// target condition for deployment that matches single device or group of devices
	TargetConditionNew map[string]string `json:"targetConditionNew,omitempty"`
}

ModulePolicy Module policy body detail

list of modules that will be provisioned on all the devices of the project to which this policy is attached

swagger:model ModulePolicy

func (*ModulePolicy) ContextValidate ¶

func (m *ModulePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModulePolicy) Validate ¶

func (m *ModulePolicy) Validate(formats strfmt.Registry) error

Validate validates this module policy

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 ¶

func (m *ModuleSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModuleSummary) Validate ¶

func (m *ModuleSummary) Validate(formats strfmt.Registry) error

Validate validates this module summary

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 ¶

func (m ModuleType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this module type based on context it is used

func (ModuleType) Pointer ¶

func (m ModuleType) Pointer() *ModuleType

Pointer returns a pointer to a freshly-allocated ModuleType.

func (ModuleType) Validate ¶

func (m ModuleType) Validate(formats strfmt.Registry) error

Validate validates this module type

type NetConfigList ¶

type NetConfigList struct {

	// list
	List []*Network `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary has been deprecated
	Summary *Summary `json:"summary,omitempty"`

	// summary by dist
	SummaryByDist *Summary `json:"summaryByDist,omitempty"`

	// summary by kind
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`

	// summary by proxy
	SummaryByProxy *Summary `json:"summaryByProxy,omitempty"`
}

NetConfigList net config list

swagger:model NetConfigList

func (*NetConfigList) ContextValidate ¶

func (m *NetConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetConfigList) Validate ¶

func (m *NetConfigList) Validate(formats strfmt.Registry) error

Validate validates this net config list

type NetInstConfigStatus ¶

type NetInstConfigStatus struct {

	// User defined name of the clusterInstance, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// device default
	DeviceDefault bool `json:"deviceDefault,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// network policy Id
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`

	// up time stamp
	// Format: date-time
	UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"`

	// uplink intf
	UplinkIntf string `json:"uplinkIntf,omitempty"`
}

NetInstConfigStatus Network instance config status

NetInstConfigStatus stores the summary of the network instance config status.

swagger:model NetInstConfigStatus

func (*NetInstConfigStatus) ContextValidate ¶

func (m *NetInstConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst config status based on the context it is used

func (*NetInstConfigStatus) MarshalBinary ¶

func (m *NetInstConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstConfigStatus) UnmarshalBinary ¶

func (m *NetInstConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstConfigStatus) Validate ¶

func (m *NetInstConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this net inst config status

type NetInstConfigStatusList ¶

type NetInstConfigStatusList struct {

	// list
	List []*NetInstConfigStatus `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary information about netinstance config status list records by addressing type.
	SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"`

	// Summary information about netinstance config status list records by network instance kind.
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`
}

NetInstConfigStatusList net inst config status list

swagger:model NetInstConfigStatusList

func (*NetInstConfigStatusList) ContextValidate ¶

func (m *NetInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst config status list based on the context it is used

func (*NetInstConfigStatusList) MarshalBinary ¶

func (m *NetInstConfigStatusList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstConfigStatusList) UnmarshalBinary ¶

func (m *NetInstConfigStatusList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstConfigStatusList) Validate ¶

func (m *NetInstConfigStatusList) Validate(formats strfmt.Registry) error

Validate validates this net inst config status list

type NetInstFilter ¶

type NetInstFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

NetInstFilter net inst filter

swagger:model NetInstFilter

func (*NetInstFilter) ContextValidate ¶

func (m *NetInstFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstFilter) Validate ¶

func (m *NetInstFilter) Validate(formats strfmt.Registry) error

Validate validates this net inst filter

type NetInstList ¶

type NetInstList struct {

	// cfg list
	CfgList []*NetworkInstance `json:"cfgList"`

	// list
	List []*NetInstShortConfig `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary information about netinstance list records by addressing type.
	SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"`

	// Summary information about netinstance list records by network instance kind.
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`
}

NetInstList net inst list

swagger:model NetInstList

func (*NetInstList) ContextValidate ¶

func (m *NetInstList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstList) Validate ¶

func (m *NetInstList) Validate(formats strfmt.Registry) error

Validate validates this net inst list

type NetInstOpaqueConfig ¶

type NetInstOpaqueConfig struct {

	// lisp - Deprecated
	//
	// Deprecated - Lisp config
	Lisp *LispConfig `json:"lisp,omitempty"`

	// base64 encoded string of opaque config
	Oconfig string `json:"oconfig,omitempty"`

	// type of Opaque config
	Type *OpaqueConfigType `json:"type,omitempty"`
}

NetInstOpaqueConfig Network Instance Opaque config. This is service specific configuration.

swagger:model NetInstOpaqueConfig

func (*NetInstOpaqueConfig) ContextValidate ¶

func (m *NetInstOpaqueConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstOpaqueConfig) Validate ¶

func (m *NetInstOpaqueConfig) Validate(formats strfmt.Registry) error

Validate validates this net inst opaque config

type NetInstShortConfig ¶

type NetInstShortConfig struct {

	// device default
	DeviceDefault bool `json:"deviceDefault,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// network policy id
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetInstShortConfig Network instance summary configuration

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides summary configuration of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstShortConfig

func (*NetInstShortConfig) ContextValidate ¶

func (m *NetInstShortConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstShortConfig) Validate ¶

func (m *NetInstShortConfig) Validate(formats strfmt.Registry) error

Validate validates this net inst short config

type NetInstStatusFilter ¶

type NetInstStatusFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetInstStatusFilter net inst status filter

swagger:model NetInstStatusFilter

func (*NetInstStatusFilter) ContextValidate ¶

func (m *NetInstStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstStatusFilter) Validate ¶

func (m *NetInstStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this net inst status filter

type NetInstStatusListMsg ¶

type NetInstStatusListMsg struct {

	// list
	List []*NetInstStatusSummaryMsg `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary information about netinstance status list records by addressing type.
	SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"`

	// Summary information about netinstance status list records by network instance kind.
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`
}

NetInstStatusListMsg net inst status list msg

swagger:model NetInstStatusListMsg

func (*NetInstStatusListMsg) ContextValidate ¶

func (m *NetInstStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstStatusListMsg) Validate ¶

func (m *NetInstStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this net inst status list msg

type NetInstStatusMsg ¶

type NetInstStatusMsg struct {

	// assigned adapters
	AssignedAdapters []*IoBundleStatus `json:"assignedAdapters"`

	// bridge IP addr
	BridgeIPAddr string `json:"bridgeIPAddr,omitempty"`

	// bridge name
	BridgeName string `json:"bridgeName,omitempty"`

	// bridge num
	BridgeNum int64 `json:"bridgeNum,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// device on which this network is running
	DeviceID string `json:"deviceId,omitempty"`

	// err info
	ErrInfo []*DeviceError `json:"errInfo"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// ip mappings
	IPMappings []*IPAssignment `json:"ipMappings"`

	// ipv4 eid
	IPV4Eid bool `json:"ipv4Eid,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// up time stamp
	// Format: date-time
	UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"`

	// uplink intf
	UplinkIntf string `json:"uplinkIntf,omitempty"`

	// vifs
	Vifs []*VifInfo `json:"vifs"`
}

NetInstStatusMsg Network instance detailed status

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides detailed status of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstStatusMsg

func (*NetInstStatusMsg) ContextValidate ¶

func (m *NetInstStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetInstStatusMsg) Validate ¶

func (m *NetInstStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this net inst status msg

type NetInstStatusSummaryMsg ¶

type NetInstStatusSummaryMsg struct {

	// User defined name of the clusterInstance, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`

	// up time stamp
	// Format: date-time
	UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"`

	// uplink intf
	UplinkIntf string `json:"uplinkIntf,omitempty"`
}

NetInstStatusSummaryMsg Network instance summary status

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides summary status of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstStatusSummaryMsg

func (*NetInstStatusSummaryMsg) ContextValidate ¶

func (m *NetInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst status summary msg based on the context it is used

func (*NetInstStatusSummaryMsg) MarshalBinary ¶

func (m *NetInstStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstStatusSummaryMsg) UnmarshalBinary ¶

func (m *NetInstStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstStatusSummaryMsg) Validate ¶

func (m *NetInstStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this net inst status summary msg

type NetProxyStatus ¶

type NetProxyStatus struct {

	// exceptions
	Exceptions string `json:"exceptions,omitempty"`

	// Enable, the proxy configuration coming from network
	//
	// Use pacfile (Auto discover or manual upload)
	NetworkProxy bool `json:"networkProxy,omitempty"`

	// Direct URL for wpad.dat download
	//
	// Network Proxy URL
	NetworkProxyURL string `json:"networkProxyURL,omitempty"`

	// proxy configuration in a pacfile
	//
	// proxy configuration in a pacfile
	Pacfile string `json:"pacfile,omitempty"`

	// protocol level proxies
	//
	// protocol level proxies
	Proxies []*Server `json:"proxies"`

	// WPAD Proxy URL
	WpadProxyURL string `json:"wpadProxyURL,omitempty"`
}

NetProxyStatus NetProxyStatus is used to store the proxy configurations

NetProxyStatus is used to store the proxy configurations ¶

swagger:model NetProxyStatus

func (*NetProxyStatus) ContextValidate ¶

func (m *NetProxyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetProxyStatus) Validate ¶

func (m *NetProxyStatus) Validate(formats strfmt.Registry) error

Validate validates this net proxy status

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

func (*NetWifiConfigNetcryptoblock) Validate ¶

func (m *NetWifiConfigNetcryptoblock) Validate(formats strfmt.Registry) error

Validate validates this net wifi config netcryptoblock

type NetWifiConfigSecrets ¶

type NetWifiConfigSecrets struct {

	// Wifi Password
	WiFiPasswd string `json:"WiFiPasswd,omitempty"`
}

NetWifiConfigSecrets net wifi config secrets

swagger:model NetWifiConfigSecrets

func (*NetWifiConfigSecrets) ContextValidate ¶

func (m *NetWifiConfigSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetWifiConfigSecrets) Validate ¶

func (m *NetWifiConfigSecrets) Validate(formats strfmt.Registry) error

Validate validates this net wifi config secrets

type Network ¶

type Network struct {

	// Detailed description of the network
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// dns list
	DNSList []*StaticDNSList `json:"dnsList"`

	// make this network default for device
	EnterpriseDefault bool `json:"enterpriseDefault,omitempty"`

	// System defined universally unique Id of the network
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// ip
	// Required: true
	IP *IPSpec `json:"ip"`

	// kind
	// Required: true
	Kind *NetworkKind `json:"kind"`

	// User defined name of the network, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// project Id
	// Required: true
	ProjectID *string `json:"projectId"`

	// enterprise proxy
	Proxy *Proxy `json:"proxy,omitempty"`

	// system defined info
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the network. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// Wifi configuration
	Wireless *Wireless `json:"wireless,omitempty"`
}

Network Network detailed configuration

Network provides Edge nodes a variety of connectivity choices for all types of networks. This enables physical connectivity with Ethernet, WiFi, LTE to communicate with ZEDEDA Cloud controller and Data Centres. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model Network

func (*Network) ContextValidate ¶

func (m *Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net config based on the context it is used

func (*Network) MarshalBinary ¶

func (m *Network) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Network) UnmarshalBinary ¶

func (m *Network) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Network) Validate ¶

func (m *Network) Validate(formats strfmt.Registry) error

Validate validates this net config

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 ¶

func (m *NetworkCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetworkCounters) Validate ¶

func (m *NetworkCounters) Validate(formats strfmt.Registry) error

Validate validates this network counters

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 ¶

func (m NetworkDHCPType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network d h c p type based on context it is used

func (NetworkDHCPType) Pointer ¶

func (m NetworkDHCPType) Pointer() *NetworkDHCPType

Pointer returns a pointer to a freshly-allocated NetworkDHCPType.

func (NetworkDHCPType) Validate ¶

func (m NetworkDHCPType) Validate(formats strfmt.Registry) error

Validate validates this network d h c p type

type NetworkFilter ¶

type NetworkFilter struct {

	// dist
	Dist *Type `json:"dist,omitempty"`

	// kind
	Kind *NetworkKind `json:"kind,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`
}

NetworkFilter network filter

swagger:model NetworkFilter

func (*NetworkFilter) ContextValidate ¶

func (m *NetworkFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network filter based on the context it is used

func (*NetworkFilter) MarshalBinary ¶

func (m *NetworkFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkFilter) UnmarshalBinary ¶

func (m *NetworkFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkFilter) Validate ¶

func (m *NetworkFilter) Validate(formats strfmt.Registry) error

Validate validates this network filter

type NetworkInstConfig ¶

type NetworkInstConfig struct {

	// flag to indicate if this is default network
	//
	// flag to indicate if this is the default network instance for the device
	DeviceDefault string `json:"deviceDefault,omitempty"`

	// List of Static DNS entries
	DNSList []*StaticDNSList `json:"dnsList"`

	// Dhcp Server Configuration
	IP *DhcpServerConfig `json:"ip,omitempty"`

	// Kind of Network Instance ( Local, Switch etc )
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// Service specific Config
	Opaque *NetInstOpaqueConfig `json:"opaque,omitempty"`

	// name of port mapping in the model
	//
	// name of port mapping in the model
	Port string `json:"port,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	PortTags map[string]string `json:"portTags,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// Type of DHCP for this Network Instance
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetworkInstConfig network inst config

swagger:model NetworkInstConfig

func (*NetworkInstConfig) ContextValidate ¶

func (m *NetworkInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network inst config based on the context it is used

func (*NetworkInstConfig) MarshalBinary ¶

func (m *NetworkInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInstConfig) UnmarshalBinary ¶

func (m *NetworkInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInstConfig) Validate ¶

func (m *NetworkInstConfig) Validate(formats strfmt.Registry) error

Validate validates this network inst config

type NetworkInstPolicy ¶

type NetworkInstPolicy struct {

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`

	// network instance config details
	NetInstConfig *NetworkInstance `json:"netInstConfig,omitempty"`
}

NetworkInstPolicy network inst policy

swagger:model NetworkInstPolicy

func (*NetworkInstPolicy) ContextValidate ¶

func (m *NetworkInstPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network inst policy based on the context it is used

func (*NetworkInstPolicy) MarshalBinary ¶

func (m *NetworkInstPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInstPolicy) UnmarshalBinary ¶

func (m *NetworkInstPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInstPolicy) Validate ¶

func (m *NetworkInstPolicy) Validate(formats strfmt.Registry) error

Validate validates this network inst policy

type NetworkInstance ¶

type NetworkInstance struct {

	// id of the Cluster in which the network instance is configured
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// Detailed description of the network instance
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// flag to indicate if this is default network
	//
	// flag to indicate if this is the default network instance for the device
	DeviceDefault bool `json:"deviceDefault,omitempty"`

	// device on which this network is running
	//
	// id of the device on which network instance is created
	// Required: true
	DeviceID *string `json:"deviceId"`

	// dhcp - DEPRECATED
	//
	// Deprecated
	Dhcp bool `json:"dhcp,omitempty"`

	// List of Static DNS entries
	DNSList []*StaticDNSList `json:"dnsList"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Dhcp Server Configuration
	IP *DhcpServerConfig `json:"ip,omitempty"`

	// Kind of Network Instance ( Local, Switch etc )
	// Required: true
	Kind *NetworkInstanceKind `json:"kind"`

	// Lisp Config : read only for now. Deprecated.
	Lisp *LispConfig `json:"lisp,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// id of the network policy to be attached to this network instance
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// Deprecated
	Oconfig string `json:"oconfig,omitempty"`

	// Service specific Config
	Opaque *NetInstOpaqueConfig `json:"opaque,omitempty"`

	// name of port mapping in the model
	//
	// name of port mapping in the model
	// Required: true
	Port *string `json:"port"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	PortTags map[string]string `json:"portTags,omitempty"`

	// id of the project in which network instance is created
	ProjectID string `json:"projectId,omitempty"`

	// system defined info for the object
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the network instance. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// Type of DHCP for this Network Instance
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetworkInstance Network instance detailed configuration

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides detailed configuration of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetworkInstance

func (*NetworkInstance) ContextValidate ¶

func (m *NetworkInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst config based on the context it is used

func (*NetworkInstance) MarshalBinary ¶

func (m *NetworkInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInstance) UnmarshalBinary ¶

func (m *NetworkInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInstance) Validate ¶

func (m *NetworkInstance) Validate(formats strfmt.Registry) error

Validate validates this net inst config

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 (NetworkInstanceDhcpType) ContextValidate ¶

func (m NetworkInstanceDhcpType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network instance dhcp type based on context it is used

func (NetworkInstanceDhcpType) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkInstanceDhcpType.

func (NetworkInstanceDhcpType) Validate ¶

func (m NetworkInstanceDhcpType) Validate(formats strfmt.Registry) error

Validate validates this network instance dhcp type

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 ¶

func (m NetworkInstanceKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network instance kind based on context it is used

func (NetworkInstanceKind) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkInstanceKind.

func (NetworkInstanceKind) Validate ¶

func (m NetworkInstanceKind) Validate(formats strfmt.Registry) error

Validate validates this network instance kind

type NetworkKind ¶

type NetworkKind string

NetworkKind NetworkKind: Used for the network configuration, this is

only client mode

swagger:model NetworkKind

const (

	// NetworkKindNETWORKKINDUNSPECIFIED captures enum value "NETWORK_KIND_UNSPECIFIED"
	NetworkKindNETWORKKINDUNSPECIFIED NetworkKind = "NETWORK_KIND_UNSPECIFIED"

	// NetworkKindNETWORKKINDV4 captures enum value "NETWORK_KIND_V4"
	NetworkKindNETWORKKINDV4 NetworkKind = "NETWORK_KIND_V4"

	// NetworkKindNETWORKKINDV6 captures enum value "NETWORK_KIND_V6"
	NetworkKindNETWORKKINDV6 NetworkKind = "NETWORK_KIND_V6"

	// NetworkKindNETWORKKINDV4ONLY captures enum value "NETWORK_KIND_V4_ONLY"
	NetworkKindNETWORKKINDV4ONLY NetworkKind = "NETWORK_KIND_V4_ONLY"

	// NetworkKindNETWORKKINDV6ONLY captures enum value "NETWORK_KIND_V6_ONLY"
	NetworkKindNETWORKKINDV6ONLY NetworkKind = "NETWORK_KIND_V6_ONLY"

	// NetworkKindNETWORKKINDDUALV4V6 captures enum value "NETWORK_KIND_DUAL_V4_V6"
	NetworkKindNETWORKKINDDUALV4V6 NetworkKind = "NETWORK_KIND_DUAL_V4_V6"
)

func NewNetworkKind ¶

func NewNetworkKind(value NetworkKind) *NetworkKind

func (NetworkKind) ContextValidate ¶

func (m NetworkKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network kind based on context it is used

func (NetworkKind) Pointer ¶

func (m NetworkKind) Pointer() *NetworkKind

Pointer returns a pointer to a freshly-allocated NetworkKind.

func (NetworkKind) Validate ¶

func (m NetworkKind) Validate(formats strfmt.Registry) error

Validate validates this network kind

type NetworkPolicy ¶

type NetworkPolicy struct {

	// list of network details that will be created on all the devices of the project to which this policy is attached
	// Required: true
	NetInstanceConfig []*NetworkInstance `json:"netInstanceConfig"`
}

NetworkPolicy Network policy body detail

list of networks that will be created on all the devices of the project to which this policy is attached

swagger:model NetworkPolicy

func (*NetworkPolicy) ContextValidate ¶

func (m *NetworkPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetworkPolicy) Validate ¶

func (m *NetworkPolicy) Validate(formats strfmt.Registry) error

Validate validates this network policy

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"`

	// Location from GNSS receivers on WWAN type adapters
	GpsLocation *GPSLocation `json:"gpsLocation,omitempty"`

	// ifName
	IfName string `json:"ifName,omitempty"`

	// Array of IP addresses
	IPAddrs []string `json:"ipAddrs"`

	// Geo Location Details
	Location *GeoLocation `json:"location,omitempty"`

	// mac Address
	MacAddr string `json:"macAddr,omitempty"`

	// Network 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 ¶

func (m *NetworkStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NetworkStatus) Validate ¶

func (m *NetworkStatus) Validate(formats strfmt.Registry) error

Validate validates this network status

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 ¶

func (m NetworkWiFiKeyScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network wi fi key scheme based on context it is used

func (NetworkWiFiKeyScheme) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkWiFiKeyScheme.

func (NetworkWiFiKeyScheme) Validate ¶

func (m NetworkWiFiKeyScheme) Validate(formats strfmt.Registry) error

Validate validates this network wi fi key scheme

type Node ¶

type Node struct {

	// administrative state of device
	AdminState *AdminState `json:"adminState,omitempty"`

	// Device asset ID
	AssetID string `json:"assetId,omitempty"`

	// base images
	BaseImage []*BaseOSImage `json:"baseImage"`

	// device baseos retry counter
	BaseOsRetryCounter int64 `json:"baseOsRetryCounter,omitempty"`

	// device baseos retry time
	BaseOsRetryTime string `json:"baseOsRetryTime,omitempty"`

	// Client IP
	ClientIP string `json:"clientIp,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// ED configurations
	ConfigItem []*EDConfigItem `json:"configItem"`

	// CPU (configured values)
	CPU int64 `json:"cpu,omitempty"`

	// debug knob details for the device
	DebugKnob *DebugKnobDetail `json:"debugKnob,omitempty"`

	// default network instance details
	DefaultNetInst *NetworkInstance `json:"defaultNetInst,omitempty"`

	// user defined tag for the device, which is used while deploying policies.
	DeploymentTag string `json:"deploymentTag,omitempty"`

	// deprecated field
	Deprecated string `json:"deprecated,omitempty"`

	// user specified description
	Description string `json:"description,omitempty"`

	// User specified geo location
	DevLocation *GeoLocation `json:"devLocation,omitempty"`

	// device Lisp
	Dlisp *DeviceLisp `json:"dlisp,omitempty"`

	// edgeview configuration for device
	Edgeviewconfig *EdgeviewCfg `json:"edgeviewconfig,omitempty"`

	// indicates whether a soft serial should be generated; it will work ONLY when device is created
	GenerateSoftSerial bool `json:"generateSoftSerial,omitempty"`

	// system generated unique id for a device
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Device identity
	// Format: byte
	Identity strfmt.Base64 `json:"identity,omitempty"`

	// System Interface list
	Interfaces []*SystemInterface `json:"interfaces"`

	// Device location: deprecated
	Location string `json:"location,omitempty"`

	// Device memory in MBs
	Memory int64 `json:"memory,omitempty"`

	// device model
	// Required: true
	ModelID *string `json:"modelId"`

	// user specified device name
	// Required: true
	Name *string `json:"name"`

	// Object key
	Obkey string `json:"obkey,omitempty"`

	// Device level certificates used while onboarding
	Onboarding *DeviceCerts `json:"onboarding,omitempty"`

	// prepare poweroff counter
	PreparePowerOffCounter int64 `json:"preparePowerOffCounter,omitempty"`

	// prepare poweroff time
	PreparePowerOffTime string `json:"preparePowerOffTime,omitempty"`

	// project name
	// Required: true
	ProjectID *string `json:"projectId"`

	// devicereset counter
	ResetCounter int64 `json:"resetCounter,omitempty"`

	// device reset time
	ResetTime string `json:"resetTime,omitempty"`

	// Object revision details
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Device serial number
	Serialno string `json:"serialno,omitempty"`

	// Site captured pictures
	SitePictures []string `json:"sitePictures"`

	// Device storage in GBs
	Storage int64 `json:"storage,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// Threads
	Thread int64 `json:"thread,omitempty"`

	// user specified title
	// Required: true
	Title *string `json:"title"`

	// Single use token
	Token string `json:"token,omitempty"`

	// device model arch type
	Utype *ModelArchType `json:"utype,omitempty"`
}

Node Device Configuration payload detail

Device Configuration request paylod holds the device properties ¶

swagger:model Node

func (*Node) ContextValidate ¶

func (m *Node) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device config based on the context it is used

func (*Node) MarshalBinary ¶

func (m *Node) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Node) UnmarshalBinary ¶

func (m *Node) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Node) Validate ¶

func (m *Node) Validate(formats strfmt.Registry) error

Validate validates this device config

type ObjectDetail ¶

type ObjectDetail struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ObjectDetail object detail

swagger:model ObjectDetail

func (*ObjectDetail) ContextValidate ¶

func (m *ObjectDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object detail based on context it is used

func (*ObjectDetail) MarshalBinary ¶

func (m *ObjectDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectDetail) UnmarshalBinary ¶

func (m *ObjectDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectDetail) Validate ¶

func (m *ObjectDetail) Validate(formats strfmt.Registry) error

Validate validates this object detail

type ObjectParentDetail ¶

type ObjectParentDetail struct {

	// system defined unique id of parent object
	// Required: true
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	IDOfParentObject string `json:"idOfParentObject"`

	// Relation with child and parent object exists or not
	ReferenceExists bool `json:"referenceExists,omitempty"`

	// Update required flag
	UpdateAvailable bool `json:"updateAvailable,omitempty"`

	// version of object present in parent
	// Read Only: true
	VersionOfParentObject int64 `json:"versionOfParentObject,omitempty"`
}

ObjectParentDetail Object Import Detail

ObjectImportDetail consists of various object attributes like idOfParentObject, versionOfParentObject, updateAvailable, referenceExists ¶

swagger:model ObjectParentDetail

func (*ObjectParentDetail) ContextValidate ¶

func (m *ObjectParentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ObjectParentDetail) Validate ¶

func (m *ObjectParentDetail) Validate(formats strfmt.Registry) error

Validate validates this object parent detail

type ObjectRevision ¶

type ObjectRevision struct {

	// The time, in milliseconds since the epoch, when the record was created.
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// User data: Created By
	// Required: true
	CreatedBy *string `json:"createdBy"`

	// Current Database version of the record
	// Required: true
	Curr *string `json:"curr"`

	// Previous
	Prev string `json:"prev,omitempty"`

	// The time, in milliseconds since the epoch, when the record was last updated.
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// User data: Updated By
	// Required: true
	UpdatedBy *string `json:"updatedBy"`
}

ObjectRevision ObjectRevision is used to store the user information.

ObjectRevision store the user details, who has doent the necessary operation like Create Operation or update operation ¶

swagger:model ObjectRevision

func (*ObjectRevision) ContextValidate ¶

func (m *ObjectRevision) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ObjectRevision) Validate ¶

func (m *ObjectRevision) Validate(formats strfmt.Registry) error

Validate validates this object revision

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 ¶

func (m *ObjectTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object tag based on context it is used

func (*ObjectTag) MarshalBinary ¶

func (m *ObjectTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectTag) UnmarshalBinary ¶

func (m *ObjectTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectTag) Validate ¶

func (m *ObjectTag) Validate(formats strfmt.Registry) error

Validate validates this object tag

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 ¶

func (m *ObjectTagFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ObjectTagFilter) Validate ¶

func (m *ObjectTagFilter) Validate(formats strfmt.Registry) error

Validate validates this object tag filter

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 ¶

func (m *ObjectTagsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ObjectTagsList) Validate ¶

func (m *ObjectTagsList) Validate(formats strfmt.Registry) error

Validate validates this object tags list

type ObjectType ¶

type ObjectType string

ObjectType object type

swagger:model ObjectType

const (

	// ObjectTypeOBJECTTYPEUNSPECIFIED captures enum value "OBJECT_TYPE_UNSPECIFIED"
	ObjectTypeOBJECTTYPEUNSPECIFIED ObjectType = "OBJECT_TYPE_UNSPECIFIED"

	// ObjectTypeOBJECTTYPEUSER captures enum value "OBJECT_TYPE_USER"
	ObjectTypeOBJECTTYPEUSER ObjectType = "OBJECT_TYPE_USER"

	// ObjectTypeOBJECTTYPEEDGENODE captures enum value "OBJECT_TYPE_EDGE_NODE"
	ObjectTypeOBJECTTYPEEDGENODE ObjectType = "OBJECT_TYPE_EDGE_NODE"

	// ObjectTypeOBJECTTYPEEDGEAPP captures enum value "OBJECT_TYPE_EDGE_APP"
	ObjectTypeOBJECTTYPEEDGEAPP ObjectType = "OBJECT_TYPE_EDGE_APP"

	// ObjectTypeOBJECTTYPEIMAGE captures enum value "OBJECT_TYPE_IMAGE"
	ObjectTypeOBJECTTYPEIMAGE ObjectType = "OBJECT_TYPE_IMAGE"

	// ObjectTypeOBJECTTYPEEDGEAPPINSTANCE captures enum value "OBJECT_TYPE_EDGE_APP_INSTANCE"
	ObjectTypeOBJECTTYPEEDGEAPPINSTANCE ObjectType = "OBJECT_TYPE_EDGE_APP_INSTANCE"

	// ObjectTypeOBJECTTYPEPROJECT captures enum value "OBJECT_TYPE_PROJECT"
	ObjectTypeOBJECTTYPEPROJECT ObjectType = "OBJECT_TYPE_PROJECT"

	// ObjectTypeOBJECTTYPENETWORK captures enum value "OBJECT_TYPE_NETWORK"
	ObjectTypeOBJECTTYPENETWORK ObjectType = "OBJECT_TYPE_NETWORK"

	// ObjectTypeOBJECTTYPEDATASTORE captures enum value "OBJECT_TYPE_DATASTORE"
	ObjectTypeOBJECTTYPEDATASTORE ObjectType = "OBJECT_TYPE_DATASTORE"

	// ObjectTypeOBJECTTYPESERVICE captures enum value "OBJECT_TYPE_SERVICE"
	ObjectTypeOBJECTTYPESERVICE ObjectType = "OBJECT_TYPE_SERVICE"

	// ObjectTypeOBJECTTYPESERVICEINSTANCE captures enum value "OBJECT_TYPE_SERVICE_INSTANCE"
	ObjectTypeOBJECTTYPESERVICEINSTANCE ObjectType = "OBJECT_TYPE_SERVICE_INSTANCE"

	// ObjectTypeOBJECTTYPEENTERPRISE captures enum value "OBJECT_TYPE_ENTERPRISE"
	ObjectTypeOBJECTTYPEENTERPRISE ObjectType = "OBJECT_TYPE_ENTERPRISE"

	// ObjectTypeOBJECTTYPEROLE captures enum value "OBJECT_TYPE_ROLE"
	ObjectTypeOBJECTTYPEROLE ObjectType = "OBJECT_TYPE_ROLE"

	// ObjectTypeOBJECTTYPECREDENTIAL captures enum value "OBJECT_TYPE_CREDENTIAL"
	ObjectTypeOBJECTTYPECREDENTIAL ObjectType = "OBJECT_TYPE_CREDENTIAL"

	// ObjectTypeOBJECTTYPENETWORKINSTANCE captures enum value "OBJECT_TYPE_NETWORK_INSTANCE"
	ObjectTypeOBJECTTYPENETWORKINSTANCE ObjectType = "OBJECT_TYPE_NETWORK_INSTANCE"

	// ObjectTypeOBJECTTYPEVOLUMEINSTANCE captures enum value "OBJECT_TYPE_VOLUME_INSTANCE"
	ObjectTypeOBJECTTYPEVOLUMEINSTANCE ObjectType = "OBJECT_TYPE_VOLUME_INSTANCE"

	// ObjectTypeOBJECTTYPEREALM captures enum value "OBJECT_TYPE_REALM"
	ObjectTypeOBJECTTYPEREALM ObjectType = "OBJECT_TYPE_REALM"

	// ObjectTypeOBJECTTYPEAUTHPROFILE captures enum value "OBJECT_TYPE_AUTHPROFILE"
	ObjectTypeOBJECTTYPEAUTHPROFILE ObjectType = "OBJECT_TYPE_AUTHPROFILE"

	// ObjectTypeOBJECTTYPEPOLICY captures enum value "OBJECT_TYPE_POLICY"
	ObjectTypeOBJECTTYPEPOLICY ObjectType = "OBJECT_TYPE_POLICY"

	// ObjectTypeOBJECTTYPEAPPPOLICY captures enum value "OBJECT_TYPE_APP_POLICY"
	ObjectTypeOBJECTTYPEAPPPOLICY ObjectType = "OBJECT_TYPE_APP_POLICY"

	// ObjectTypeOBJECTTYPECLUSTERINSTANCE captures enum value "OBJECT_TYPE_CLUSTER_INSTANCE"
	ObjectTypeOBJECTTYPECLUSTERINSTANCE ObjectType = "OBJECT_TYPE_CLUSTER_INSTANCE"

	// ObjectTypeOBJECTTYPEPLUGIN captures enum value "OBJECT_TYPE_PLUGIN"
	ObjectTypeOBJECTTYPEPLUGIN ObjectType = "OBJECT_TYPE_PLUGIN"

	// ObjectTypeOBJECTTYPEDOCPOLICY captures enum value "OBJECT_TYPE_DOC_POLICY"
	ObjectTypeOBJECTTYPEDOCPOLICY ObjectType = "OBJECT_TYPE_DOC_POLICY"

	// ObjectTypeOBJECTTYPEORCHESTRATORCLUSTER captures enum value "OBJECT_TYPE_ORCHESTRATOR_CLUSTER"
	ObjectTypeOBJECTTYPEORCHESTRATORCLUSTER ObjectType = "OBJECT_TYPE_ORCHESTRATOR_CLUSTER"

	// ObjectTypeOBJECTTYPETAGS captures enum value "OBJECT_TYPE_TAGS"
	ObjectTypeOBJECTTYPETAGS ObjectType = "OBJECT_TYPE_TAGS"

	// ObjectTypeOBJECTTYPEEDGENODEINTERFACE captures enum value "OBJECT_TYPE_EDGE_NODE_INTERFACE"
	ObjectTypeOBJECTTYPEEDGENODEINTERFACE ObjectType = "OBJECT_TYPE_EDGE_NODE_INTERFACE"

	// ObjectTypeOBJECTTYPEDEPLOYMENT captures enum value "OBJECT_TYPE_DEPLOYMENT"
	ObjectTypeOBJECTTYPEDEPLOYMENT ObjectType = "OBJECT_TYPE_DEPLOYMENT"

	// ObjectTypeOBJECTTYPEENTITLEMENTS captures enum value "OBJECT_TYPE_ENTITLEMENTS"
	ObjectTypeOBJECTTYPEENTITLEMENTS ObjectType = "OBJECT_TYPE_ENTITLEMENTS"

	// ObjectTypeOBJECTTYPEDATASTREAM captures enum value "OBJECT_TYPE_DATA_STREAM"
	ObjectTypeOBJECTTYPEDATASTREAM ObjectType = "OBJECT_TYPE_DATA_STREAM"

	// ObjectTypeOBJECTTYPEAPIUSAGE captures enum value "OBJECT_TYPE_API_USAGE"
	ObjectTypeOBJECTTYPEAPIUSAGE ObjectType = "OBJECT_TYPE_API_USAGE"
)

func NewObjectType ¶

func NewObjectType(value ObjectType) *ObjectType

func (ObjectType) ContextValidate ¶

func (m ObjectType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object type based on context it is used

func (ObjectType) Pointer ¶

func (m ObjectType) Pointer() *ObjectType

Pointer returns a pointer to a freshly-allocated ObjectType.

func (ObjectType) Validate ¶

func (m ObjectType) Validate(formats strfmt.Registry) error

Validate validates this object type

type OpaqueAppInstanceStatus ¶

type OpaqueAppInstanceStatus struct {

	// User defined name of the device, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// System defined universally unique Id of the app instance
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// last update time
	// Format: date-time
	LastUpdateTime strfmt.DateTime `json:"lastUpdateTime,omitempty"`

	// App instance name. Unique across the application instance
	Name string `json:"name,omitempty"`

	// opaque app instance status info
	// Format: byte
	OpaqueAppInstanceStatus strfmt.Base64 `json:"opaqueAppInstanceStatus,omitempty"`
}

OpaqueAppInstanceStatus Opaque App Instance Status

Opaque Status for the app instance.

swagger:model OpaqueAppInstanceStatus

func (*OpaqueAppInstanceStatus) ContextValidate ¶

func (m *OpaqueAppInstanceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this opaque app instance status based on context it is used

func (*OpaqueAppInstanceStatus) MarshalBinary ¶

func (m *OpaqueAppInstanceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpaqueAppInstanceStatus) UnmarshalBinary ¶

func (m *OpaqueAppInstanceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpaqueAppInstanceStatus) Validate ¶

func (m *OpaqueAppInstanceStatus) Validate(formats strfmt.Registry) error

Validate validates this opaque app instance status

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 ¶

func (m OpaqueConfigType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this opaque config type based on context it is used

func (OpaqueConfigType) Pointer ¶

func (m OpaqueConfigType) Pointer() *OpaqueConfigType

Pointer returns a pointer to a freshly-allocated OpaqueConfigType.

func (OpaqueConfigType) Validate ¶

func (m OpaqueConfigType) Validate(formats strfmt.Registry) error

Validate validates this opaque config type

type OpaqueObjectCategory ¶

type OpaqueObjectCategory string

OpaqueObjectCategory opaque object category

swagger:model OpaqueObjectCategory

const (

	// OpaqueObjectCategoryOpaqueObjectCategoryUnknown captures enum value "OpaqueObjectCategoryUnknown"
	OpaqueObjectCategoryOpaqueObjectCategoryUnknown OpaqueObjectCategory = "OpaqueObjectCategoryUnknown"

	// OpaqueObjectCategoryOpaqueObjectCategoryInline captures enum value "OpaqueObjectCategoryInline"
	OpaqueObjectCategoryOpaqueObjectCategoryInline OpaqueObjectCategory = "OpaqueObjectCategoryInline"

	// OpaqueObjectCategoryOpaqueObjectCategoryExternalBinary captures enum value "OpaqueObjectCategoryExternalBinary"
	OpaqueObjectCategoryOpaqueObjectCategoryExternalBinary OpaqueObjectCategory = "OpaqueObjectCategoryExternalBinary"
)

func NewOpaqueObjectCategory ¶

func NewOpaqueObjectCategory(value OpaqueObjectCategory) *OpaqueObjectCategory

func (OpaqueObjectCategory) ContextValidate ¶

func (m OpaqueObjectCategory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this opaque object category based on context it is used

func (OpaqueObjectCategory) Pointer ¶

Pointer returns a pointer to a freshly-allocated OpaqueObjectCategory.

func (OpaqueObjectCategory) Validate ¶

func (m OpaqueObjectCategory) Validate(formats strfmt.Registry) error

Validate validates this opaque object category

type OpaqueToken64 ¶

type OpaqueToken64 struct {

	// base64
	Base64 string `json:"base64,omitempty"`
}

OpaqueToken64 Base64 encoded opaque token

swagger:model OpaqueToken64

func (*OpaqueToken64) ContextValidate ¶

func (m *OpaqueToken64) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OpaqueToken64) Validate ¶

func (m *OpaqueToken64) Validate(formats strfmt.Registry) error

Validate validates this opaque token64

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 NewOrigin ¶

func NewOrigin(value Origin) *Origin

func (Origin) ContextValidate ¶

func (m Origin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this origin based on context it is used

func (Origin) Pointer ¶

func (m Origin) Pointer() *Origin

Pointer returns a pointer to a freshly-allocated Origin.

func (Origin) Validate ¶

func (m Origin) Validate(formats strfmt.Registry) error

Validate validates this origin

type PCRTemplate ¶

type PCRTemplate struct {

	// List of PCR values for the PCR template
	// Required: true
	PCRValues []*PCRValue `json:"PCRValues"`

	// EVE version related to the PCR template
	// Required: true
	EveVersion *string `json:"eveVersion"`

	// Firmware version related to the PCR template. If user doesn't set it, it will be set to '*'
	FirmwareVersion string `json:"firmwareVersion,omitempty"`

	// System defined universally unique Id of the PCR template. If not set in POST / PUT API calls, this will be treated as a new entry and a unique System Generated ID assigned.
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// Name of the PCR template. The name is Unique among PCR templates for that System Model. If it is not specified, a system-generated name will be assigned.
	// Max Length: 256
	Name string `json:"name,omitempty"`
}

PCRTemplate PCR template

PCR template data for the specified eve version and firmware version ¶

swagger:model PCRTemplate

func (*PCRTemplate) ContextValidate ¶

func (m *PCRTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*PCRTemplate) Validate ¶

func (m *PCRTemplate) Validate(formats strfmt.Registry) error

Validate validates this p c r template

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 NewPCRType(value PCRType) *PCRType

func (PCRType) ContextValidate ¶

func (m PCRType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p c r type based on context it is used

func (PCRType) Pointer ¶

func (m PCRType) Pointer() *PCRType

Pointer returns a pointer to a freshly-allocated PCRType.

func (PCRType) Validate ¶

func (m PCRType) Validate(formats strfmt.Registry) error

Validate validates this p c r type

type PCRValue ¶

type PCRValue struct {

	// Current index for the PCR item in the list. First element has the index 0
	// Required: true
	Index *int64 `json:"index"`

	// Type of value for the PCR item. Could be one of the following values: 0 (PCR_TYPE_UNSPECIFIED), 1 (PCR_TYPE_HASH) or 2 (PCR_TYPE_EVENT_LOG)
	// Required: true
	Type *PCRType `json:"type"`

	// Actual value for the PCR item.
	// Required: true
	Value *string `json:"value"`
}

PCRValue PCR value

PCR value contains the actual value of the specified PCR type ¶

swagger:model PCRValue

func (*PCRValue) ContextValidate ¶

func (m *PCRValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p c r value based on the context it is used

func (*PCRValue) MarshalBinary ¶

func (m *PCRValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PCRValue) UnmarshalBinary ¶

func (m *PCRValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PCRValue) Validate ¶

func (m *PCRValue) Validate(formats strfmt.Registry) error

Validate validates this p c r value

type Param ¶

type Param struct {

	// Name of the Parameter (Required)
	Name string `json:"name,omitempty"`

	// Value of the parameter (Required)
	Value string `json:"value,omitempty"`
}

Param param

swagger:model Param

func (*Param) ContextValidate ¶

func (m *Param) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this param based on context it is used

func (*Param) MarshalBinary ¶

func (m *Param) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Param) UnmarshalBinary ¶

func (m *Param) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Param) Validate ¶

func (m *Param) Validate(formats strfmt.Registry) error

Validate validates this param

type PatchEnvelope ¶

type PatchEnvelope struct {

	// if activate is false, device should only download
	// images and not present them to app instance
	//
	// Flag to represent whether device needs to present it to app instance
	// Required: true
	Action *PatchEnvelopeAction `json:"action"`

	// Patch envelope artifacts
	// Required: true
	Artifacts []*BinaryArtifact `json:"artifacts"`

	// Detailed description of the patch envelope.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// number of devices referencing this patch envelope
	DeviceCount int64 `json:"deviceCount,omitempty"`

	// System defined universally unique Id of the patch envelope.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the patch envelope, unique across the enterprise. Once patch envelope is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// project id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the patch envelope. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// optional - arbitrary version string if any by user
	//
	// User defined version for the given patch envelope
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

PatchEnvelope Opaque data for application instances

PatchEnvelope is a proto that should be used by user-agents to create/update opaque data for application instances.

swagger:model PatchEnvelope

func (*PatchEnvelope) ContextValidate ¶

func (m *PatchEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch envelope based on the context it is used

func (*PatchEnvelope) MarshalBinary ¶

func (m *PatchEnvelope) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchEnvelope) UnmarshalBinary ¶

func (m *PatchEnvelope) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchEnvelope) Validate ¶

func (m *PatchEnvelope) Validate(formats strfmt.Registry) error

Validate validates this patch envelope

type PatchEnvelopeAction ¶

type PatchEnvelopeAction string

PatchEnvelopeAction patch envelope action

swagger:model PatchEnvelopeAction

const (

	// PatchEnvelopeActionPATCHENVELOPEACTIONUNSPECIFIED captures enum value "PATCH_ENVELOPE_ACTION_UNSPECIFIED"
	PatchEnvelopeActionPATCHENVELOPEACTIONUNSPECIFIED PatchEnvelopeAction = "PATCH_ENVELOPE_ACTION_UNSPECIFIED"

	// PatchEnvelopeActionPATCHENVELOPEACTIONSTORE captures enum value "PATCH_ENVELOPE_ACTION_STORE"
	PatchEnvelopeActionPATCHENVELOPEACTIONSTORE PatchEnvelopeAction = "PATCH_ENVELOPE_ACTION_STORE"

	// PatchEnvelopeActionPATCHENVELOPEACTIONACTIVATE captures enum value "PATCH_ENVELOPE_ACTION_ACTIVATE"
	PatchEnvelopeActionPATCHENVELOPEACTIONACTIVATE PatchEnvelopeAction = "PATCH_ENVELOPE_ACTION_ACTIVATE"
)

func NewPatchEnvelopeAction ¶

func NewPatchEnvelopeAction(value PatchEnvelopeAction) *PatchEnvelopeAction

func (PatchEnvelopeAction) ContextValidate ¶

func (m PatchEnvelopeAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch envelope action based on context it is used

func (PatchEnvelopeAction) Pointer ¶

Pointer returns a pointer to a freshly-allocated PatchEnvelopeAction.

func (PatchEnvelopeAction) Validate ¶

func (m PatchEnvelopeAction) Validate(formats strfmt.Registry) error

Validate validates this patch envelope action

type PatchEnvelopeList ¶

type PatchEnvelopeList struct {

	// patch envelope summary list
	List []*PatchEnvelope `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// patch envelopes summary by action
	SummaryByAction *Summary `json:"summaryByAction,omitempty"`

	// patch envelope total count
	TotalCount int64 `json:"totalCount,omitempty"`
}

PatchEnvelopeList patch envelope list

swagger:model PatchEnvelopeList

func (*PatchEnvelopeList) ContextValidate ¶

func (m *PatchEnvelopeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch envelope list based on the context it is used

func (*PatchEnvelopeList) MarshalBinary ¶

func (m *PatchEnvelopeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchEnvelopeList) UnmarshalBinary ¶

func (m *PatchEnvelopeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchEnvelopeList) Validate ¶

func (m *PatchEnvelopeList) Validate(formats strfmt.Registry) error

Validate validates this patch envelope list

type PatchEnvelopeState ¶

type PatchEnvelopeState string

PatchEnvelopeState - PatchEnvelopeStateErrored: there is an error with config or during download or verification failed

  • PatchEnvelopeStateReceived: Configuration received but no downloads started
  • PatchEnvelopeStateDownloading: Artifact/Volume download started

One or more of the artifacts are being downloaded

  • PatchEnvelopeStateDownloaded: all downloads finished, verified and added to content tree
  • PatchEnvelopeStateReady: patch envelope ready for application instances

application instances will still not be allowed to fetch the patch envelope contents

  • PatchEnvelopeStateActive: application instances are now allowed to fetch contents

swagger:model PatchEnvelopeState

const (

	// PatchEnvelopeStatePatchEnvelopeStateUnknown captures enum value "PatchEnvelopeStateUnknown"
	PatchEnvelopeStatePatchEnvelopeStateUnknown PatchEnvelopeState = "PatchEnvelopeStateUnknown"

	// PatchEnvelopeStatePatchEnvelopeStateErrored captures enum value "PatchEnvelopeStateErrored"
	PatchEnvelopeStatePatchEnvelopeStateErrored PatchEnvelopeState = "PatchEnvelopeStateErrored"

	// PatchEnvelopeStatePatchEnvelopeStateReceived captures enum value "PatchEnvelopeStateReceived"
	PatchEnvelopeStatePatchEnvelopeStateReceived PatchEnvelopeState = "PatchEnvelopeStateReceived"

	// PatchEnvelopeStatePatchEnvelopeStateDownloading captures enum value "PatchEnvelopeStateDownloading"
	PatchEnvelopeStatePatchEnvelopeStateDownloading PatchEnvelopeState = "PatchEnvelopeStateDownloading"

	// PatchEnvelopeStatePatchEnvelopeStateDownloaded captures enum value "PatchEnvelopeStateDownloaded"
	PatchEnvelopeStatePatchEnvelopeStateDownloaded PatchEnvelopeState = "PatchEnvelopeStateDownloaded"

	// PatchEnvelopeStatePatchEnvelopeStateReady captures enum value "PatchEnvelopeStateReady"
	PatchEnvelopeStatePatchEnvelopeStateReady PatchEnvelopeState = "PatchEnvelopeStateReady"

	// PatchEnvelopeStatePatchEnvelopeStateActive captures enum value "PatchEnvelopeStateActive"
	PatchEnvelopeStatePatchEnvelopeStateActive PatchEnvelopeState = "PatchEnvelopeStateActive"
)

func NewPatchEnvelopeState ¶

func NewPatchEnvelopeState(value PatchEnvelopeState) *PatchEnvelopeState

func (PatchEnvelopeState) ContextValidate ¶

func (m PatchEnvelopeState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch envelope state based on context it is used

func (PatchEnvelopeState) Pointer ¶

Pointer returns a pointer to a freshly-allocated PatchEnvelopeState.

func (PatchEnvelopeState) Validate ¶

func (m PatchEnvelopeState) Validate(formats strfmt.Registry) error

Validate validates this patch envelope state

type PatchEnvelopeStatus ¶

type PatchEnvelopeStatus struct {

	// device id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// Patch envelope error
	Errors []string `json:"errors"`

	// patch envelope id
	ID string `json:"id,omitempty"`

	// User defined name of the patch envelope, unique across the enterprise. Once patch envelope is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// project id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// Patch envelope state
	State *PatchEnvelopeState `json:"state,omitempty"`

	// User defined version for the given patch envelope
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

PatchEnvelopeStatus Patch Envelope status message

PatchEnvelopeStatus encapsulates the status of an patch envelope ¶

swagger:model PatchEnvelopeStatus

func (*PatchEnvelopeStatus) ContextValidate ¶

func (m *PatchEnvelopeStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch envelope status based on the context it is used

func (*PatchEnvelopeStatus) MarshalBinary ¶

func (m *PatchEnvelopeStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchEnvelopeStatus) UnmarshalBinary ¶

func (m *PatchEnvelopeStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchEnvelopeStatus) Validate ¶

func (m *PatchEnvelopeStatus) Validate(formats strfmt.Registry) error

Validate validates this patch envelope status

type PatchEnvelopeUsageInfo ¶

type PatchEnvelopeUsageInfo struct {

	// count the number of times app instance actually downloaded
	// whole patch envelope or part of it
	//
	//  number of times app instance download whole patch envelope or part of it
	DownloadCount string `json:"downloadCount,omitempty"`

	// count the number of times app instance called patch APIs
	//
	// number of times app instance called patch APIs
	PatchAPICallCount uint64 `json:"patchApiCallCount,omitempty"`

	// UUID of PatchEnvelope
	//
	// Id of patch envelope
	UUID string `json:"uuid,omitempty"`

	// Version of PatchEnvelope
	//
	// version of patch envelope
	Version string `json:"version,omitempty"`
}

PatchEnvelopeUsageInfo patch envelope usage info

swagger:model PatchEnvelopeUsageInfo

func (*PatchEnvelopeUsageInfo) ContextValidate ¶

func (m *PatchEnvelopeUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch envelope usage info based on context it is used

func (*PatchEnvelopeUsageInfo) MarshalBinary ¶

func (m *PatchEnvelopeUsageInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchEnvelopeUsageInfo) UnmarshalBinary ¶

func (m *PatchEnvelopeUsageInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchEnvelopeUsageInfo) Validate ¶

func (m *PatchEnvelopeUsageInfo) Validate(formats strfmt.Registry) error

Validate validates this patch envelope usage info

type PatchReferenceUpdateConfig ¶

type PatchReferenceUpdateConfig struct {

	// app inst ID list
	AppInstIDList []string `json:"appInstIDList"`

	// patchenvelope Id
	PatchenvelopeID string `json:"patchenvelopeId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

PatchReferenceUpdateConfig patch reference update config

swagger:model PatchReferenceUpdateConfig

func (*PatchReferenceUpdateConfig) ContextValidate ¶

func (m *PatchReferenceUpdateConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch reference update config based on context it is used

func (*PatchReferenceUpdateConfig) MarshalBinary ¶

func (m *PatchReferenceUpdateConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchReferenceUpdateConfig) UnmarshalBinary ¶

func (m *PatchReferenceUpdateConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchReferenceUpdateConfig) Validate ¶

func (m *PatchReferenceUpdateConfig) Validate(formats strfmt.Registry) error

Validate validates this patch reference update config

type PatchStatusFilter ¶

type PatchStatusFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`
}

PatchStatusFilter patch status filter

swagger:model PatchStatusFilter

func (*PatchStatusFilter) ContextValidate ¶

func (m *PatchStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch status filter based on context it is used

func (*PatchStatusFilter) MarshalBinary ¶

func (m *PatchStatusFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchStatusFilter) UnmarshalBinary ¶

func (m *PatchStatusFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchStatusFilter) Validate ¶

func (m *PatchStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this patch status filter

type PatchStatusListMsg ¶

type PatchStatusListMsg struct {

	// list
	List []*PatchEnvelopeStatus `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// total count
	TotalCount int64 `json:"totalCount,omitempty"`
}

PatchStatusListMsg patch status list msg

swagger:model PatchStatusListMsg

func (*PatchStatusListMsg) ContextValidate ¶

func (m *PatchStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch status list msg based on the context it is used

func (*PatchStatusListMsg) MarshalBinary ¶

func (m *PatchStatusListMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchStatusListMsg) UnmarshalBinary ¶

func (m *PatchStatusListMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchStatusListMsg) Validate ¶

func (m *PatchStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this patch status list msg

type Permission ¶

type Permission interface{}

Permission permission

swagger:model Permission

type PhyAdapter ¶

type PhyAdapter struct {

	// Physical Adapter name
	Name string `json:"name,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// IoType specifies the type of the Input output of the device
	Type *IoType `json:"type,omitempty"`
}

PhyAdapter Physical Adapter

Physical Adapter ¶

swagger:model phyAdapter

func (*PhyAdapter) ContextValidate ¶

func (m *PhyAdapter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*PhyAdapter) Validate ¶

func (m *PhyAdapter) Validate(formats strfmt.Registry) error

Validate validates this phy adapter

type PhysicalStorage ¶

type PhysicalStorage struct {

	// compression ratio
	CompressionRatio float64 `json:"compressionRatio,omitempty"`

	// count zvols
	CountZvols int64 `json:"countZvols,omitempty"`

	// current raid
	CurrentRaid *PhysicalStorageRaidType `json:"currentRaid,omitempty"`

	// disks
	Disks []*PhysicalStorageDiskState `json:"disks"`

	// pool name
	PoolName string `json:"poolName,omitempty"`

	// Zpool Status message sent by EVE
	PoolStatusMsg string `json:"poolStatusMsg,omitempty"`

	// storage state
	StorageState *PhysicalStorageStatus `json:"storageState,omitempty"`

	// storage type
	StorageType *PhysicalStorageTypeInfo `json:"storageType,omitempty"`

	// zfs version
	ZfsVersion string `json:"zfsVersion,omitempty"`

	// zpool size
	ZpoolSize string `json:"zpoolSize,omitempty"`
}

PhysicalStorage physical storage

swagger:model PhysicalStorage

func (*PhysicalStorage) ContextValidate ¶

func (m *PhysicalStorage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this physical storage based on the context it is used

func (*PhysicalStorage) MarshalBinary ¶

func (m *PhysicalStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PhysicalStorage) UnmarshalBinary ¶

func (m *PhysicalStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PhysicalStorage) Validate ¶

func (m *PhysicalStorage) Validate(formats strfmt.Registry) error

Validate validates this physical storage

type PhysicalStorageDiskState ¶

type PhysicalStorageDiskState struct {

	// disk
	Disk *DiskDescription `json:"disk,omitempty"`

	// status
	Status *PhysicalStorageStatus `json:"status,omitempty"`
}

PhysicalStorageDiskState physical storage disk state

swagger:model PhysicalStorageDiskState

func (*PhysicalStorageDiskState) ContextValidate ¶

func (m *PhysicalStorageDiskState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this physical storage disk state based on the context it is used

func (*PhysicalStorageDiskState) MarshalBinary ¶

func (m *PhysicalStorageDiskState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PhysicalStorageDiskState) UnmarshalBinary ¶

func (m *PhysicalStorageDiskState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PhysicalStorageDiskState) Validate ¶

func (m *PhysicalStorageDiskState) Validate(formats strfmt.Registry) error

Validate validates this physical storage disk state

type PhysicalStorageRaidType ¶

type PhysicalStorageRaidType string

PhysicalStorageRaidType physical storage raid type

swagger:model PhysicalStorageRaidType

const (

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPEUNSPECIFIED captures enum value "PHYSICAL_STORAGE_RAID_TYPE_UNSPECIFIED"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPEUNSPECIFIED PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_UNSPECIFIED"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAID0 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAID0"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAID0 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAID0"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDMIRROR captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAID_MIRROR"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDMIRROR PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAID_MIRROR"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ1 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ1"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ1 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ1"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ2 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ2"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ2 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ2"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ3 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ3"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ3 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ3"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPENORAID captures enum value "PHYSICAL_STORAGE_RAID_TYPE_NORAID"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPENORAID PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_NORAID"
)

func (PhysicalStorageRaidType) ContextValidate ¶

func (m PhysicalStorageRaidType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this physical storage raid type based on context it is used

func (PhysicalStorageRaidType) Pointer ¶

Pointer returns a pointer to a freshly-allocated PhysicalStorageRaidType.

func (PhysicalStorageRaidType) Validate ¶

func (m PhysicalStorageRaidType) Validate(formats strfmt.Registry) error

Validate validates this physical storage raid type

type PhysicalStorageStatus ¶

type PhysicalStorageStatus string

PhysicalStorageStatus physical storage status

swagger:model PhysicalStorageStatus

const (

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSUNSPECIFIED captures enum value "PHYSICAL_STORAGE_STATUS_UNSPECIFIED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSUNSPECIFIED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_UNSPECIFIED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSONLINE captures enum value "PHYSICAL_STORAGE_STATUS_ONLINE"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSONLINE PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_ONLINE"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSDEGRADED captures enum value "PHYSICAL_STORAGE_STATUS_DEGRADED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSDEGRADED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_DEGRADED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSFAULTED captures enum value "PHYSICAL_STORAGE_STATUS_FAULTED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSFAULTED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_FAULTED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSOFFLINE captures enum value "PHYSICAL_STORAGE_STATUS_OFFLINE"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSOFFLINE PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_OFFLINE"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSUNAVAIL captures enum value "PHYSICAL_STORAGE_STATUS_UNAVAIL"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSUNAVAIL PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_UNAVAIL"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSREMOVED captures enum value "PHYSICAL_STORAGE_STATUS_REMOVED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSREMOVED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_REMOVED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSSUSPENDED captures enum value "PHYSICAL_STORAGE_STATUS_SUSPENDED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSSUSPENDED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_SUSPENDED"
)

func NewPhysicalStorageStatus ¶

func NewPhysicalStorageStatus(value PhysicalStorageStatus) *PhysicalStorageStatus

func (PhysicalStorageStatus) ContextValidate ¶

func (m PhysicalStorageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this physical storage status based on context it is used

func (PhysicalStorageStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated PhysicalStorageStatus.

func (PhysicalStorageStatus) Validate ¶

func (m PhysicalStorageStatus) Validate(formats strfmt.Registry) error

Validate validates this physical storage status

type PhysicalStorageTypeInfo ¶

type PhysicalStorageTypeInfo string

PhysicalStorageTypeInfo physical storage type info

swagger:model PhysicalStorageTypeInfo

const (

	// PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOUNSPECIFIED captures enum value "PHYSICAL_STORAGE_TYPE_INFO_UNSPECIFIED"
	PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOUNSPECIFIED PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_UNSPECIFIED"

	// PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOEXT4 captures enum value "PHYSICAL_STORAGE_TYPE_INFO_EXT4"
	PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOEXT4 PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_EXT4"

	// PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOZFS captures enum value "PHYSICAL_STORAGE_TYPE_INFO_ZFS"
	PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOZFS PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_ZFS"
)

func (PhysicalStorageTypeInfo) ContextValidate ¶

func (m PhysicalStorageTypeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this physical storage type info based on context it is used

func (PhysicalStorageTypeInfo) Pointer ¶

Pointer returns a pointer to a freshly-allocated PhysicalStorageTypeInfo.

func (PhysicalStorageTypeInfo) Validate ¶

func (m PhysicalStorageTypeInfo) Validate(formats strfmt.Registry) error

Validate validates this physical storage type info

type Policy ¶

type Policy struct {

	// app policy, which is used in auto app instance deployment
	AppPolicy *AppPolicy `json:"appPolicy,omitempty"`

	// attestation policy to enforce on all devices in this project
	AttestationPolicy *AttestationPolicy `json:"attestationPolicy,omitempty"`

	// Mapping of policy  variable keys and policy variable values
	Attr map[string]string `json:"attr,omitempty"`

	// azure policy, which is used in configuring azure iot-edge.
	AzurePolicy *AzurePolicy `json:"azurePolicy,omitempty"`

	// cluster policy to bring up cluster on devices in this project
	ClusterPolicy *ClusterPolicy `json:"clusterPolicy,omitempty"`

	// Detailed description of the policy
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// edgeview policy on devices of this project
	EdgeviewPolicy *EdgeviewPolicy `json:"edgeviewPolicy,omitempty"`

	// System defined universally unique Id of the policy request
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// local operator console policy to enforce on all devices in this project
	LocalOperatorConsolePolicy *LocalOperatorConsolePolicy `json:"localOperatorConsolePolicy,omitempty"`

	// module policy, which is used in auto module deployment
	ModulePolicy *ModulePolicy `json:"modulePolicy,omitempty"`

	// User defined name of the policy request, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// network policy to enforce on all devices in this project
	NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// status of the policy
	// Read Only: true
	Status *PolicyStatus `json:"status,omitempty"`

	// Detailed status message of the policy
	// Max Length: 256
	StatusMessage string `json:"statusMessage,omitempty"`

	// User defined title of the policy. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// type of policy
	// Required: true
	Type *PolicyType `json:"type"`
}

Policy Policy detailed configuration for a resource group (project)

Policy configuration defines set of policies to be applied on a resource grup (project). Policy can be one of the types specified in PolicyType. Multiple policies can be applied to a single resource group (project).

swagger:model Policy

func (*Policy) ContextValidate ¶

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy config based on the context it is used

func (*Policy) MarshalBinary ¶

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary ¶

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate ¶

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy config

type PolicyCommon ¶

type PolicyCommon struct {

	// system generated unique id for an policy
	ID string `json:"id,omitempty"`

	// user defined policy name
	Name string `json:"name,omitempty"`

	// user defined key-value pairs of a policy that will be used for targeting by devices
	PolicyTargetCondition map[string]string `json:"policyTargetCondition,omitempty"`

	// object revision details
	Revision *ObjectRevision `json:"revision,omitempty"`

	// user defined key-value pairs of a policy
	Tags map[string]string `json:"tags,omitempty"`

	// user defined policy title
	Title string `json:"title,omitempty"`
}

PolicyCommon policy common

swagger:model PolicyCommon

func (*PolicyCommon) ContextValidate ¶

func (m *PolicyCommon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy common based on the context it is used

func (*PolicyCommon) MarshalBinary ¶

func (m *PolicyCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyCommon) UnmarshalBinary ¶

func (m *PolicyCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyCommon) Validate ¶

func (m *PolicyCommon) Validate(formats strfmt.Registry) error

Validate validates this policy common

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 ¶

func (m PolicyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy status based on context it is used

func (PolicyStatus) Pointer ¶

func (m PolicyStatus) Pointer() *PolicyStatus

Pointer returns a pointer to a freshly-allocated PolicyStatus.

func (PolicyStatus) Validate ¶

func (m PolicyStatus) Validate(formats strfmt.Registry) error

Validate validates this policy status

type PolicyType ¶

type PolicyType string

PolicyType type of policy.

swagger:model PolicyType

const (

	// PolicyTypePOLICYTYPEUNSPECIFIED captures enum value "POLICY_TYPE_UNSPECIFIED"
	PolicyTypePOLICYTYPEUNSPECIFIED PolicyType = "POLICY_TYPE_UNSPECIFIED"

	// PolicyTypePOLICYTYPEAPP captures enum value "POLICY_TYPE_APP"
	PolicyTypePOLICYTYPEAPP PolicyType = "POLICY_TYPE_APP"

	// PolicyTypePOLICYTYPEAZURE captures enum value "POLICY_TYPE_AZURE"
	PolicyTypePOLICYTYPEAZURE PolicyType = "POLICY_TYPE_AZURE"

	// PolicyTypePOLICYTYPEAWS captures enum value "POLICY_TYPE_AWS"
	PolicyTypePOLICYTYPEAWS PolicyType = "POLICY_TYPE_AWS"

	// PolicyTypePOLICYTYPEGCP captures enum value "POLICY_TYPE_GCP"
	PolicyTypePOLICYTYPEGCP PolicyType = "POLICY_TYPE_GCP"

	// PolicyTypePOLICYTYPEMODULE captures enum value "POLICY_TYPE_MODULE"
	PolicyTypePOLICYTYPEMODULE PolicyType = "POLICY_TYPE_MODULE"

	// PolicyTypePOLICYTYPEATTESTATION captures enum value "POLICY_TYPE_ATTESTATION"
	PolicyTypePOLICYTYPEATTESTATION PolicyType = "POLICY_TYPE_ATTESTATION"

	// PolicyTypePOLICYTYPENETWORK captures enum value "POLICY_TYPE_NETWORK"
	PolicyTypePOLICYTYPENETWORK PolicyType = "POLICY_TYPE_NETWORK"

	// PolicyTypePOLICYTYPECLUSTER captures enum value "POLICY_TYPE_CLUSTER"
	PolicyTypePOLICYTYPECLUSTER PolicyType = "POLICY_TYPE_CLUSTER"

	// PolicyTypePOLICYTYPEEDGEVIEW captures enum value "POLICY_TYPE_EDGEVIEW"
	PolicyTypePOLICYTYPEEDGEVIEW PolicyType = "POLICY_TYPE_EDGEVIEW"
)

func NewPolicyType ¶

func NewPolicyType(value PolicyType) *PolicyType

func (PolicyType) ContextValidate ¶

func (m PolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy type based on context it is used

func (PolicyType) Pointer ¶

func (m PolicyType) Pointer() *PolicyType

Pointer returns a pointer to a freshly-allocated PolicyType.

func (PolicyType) Validate ¶

func (m PolicyType) Validate(formats strfmt.Registry) error

Validate validates this policy type

type Proto ¶

type Proto string

Proto network proxy proto

swagger:model Proto

const (

	// NetworkProxyProtoNETWORKPROXYPROTOHTTP captures enum value "NETWORK_PROXY_PROTO_HTTP"
	NetworkProxyProtoNETWORKPROXYPROTOHTTP Proto = "NETWORK_PROXY_PROTO_HTTP"

	// NetworkProxyProtoNETWORKPROXYPROTOHTTPS captures enum value "NETWORK_PROXY_PROTO_HTTPS"
	NetworkProxyProtoNETWORKPROXYPROTOHTTPS Proto = "NETWORK_PROXY_PROTO_HTTPS"

	// NetworkProxyProtoNETWORKPROXYPROTOSOCKS captures enum value "NETWORK_PROXY_PROTO_SOCKS"
	NetworkProxyProtoNETWORKPROXYPROTOSOCKS Proto = "NETWORK_PROXY_PROTO_SOCKS"

	// NetworkProxyProtoNETWORKPROXYPROTOFTP captures enum value "NETWORK_PROXY_PROTO_FTP"
	NetworkProxyProtoNETWORKPROXYPROTOFTP Proto = "NETWORK_PROXY_PROTO_FTP"

	// NetworkProxyProtoNETWORKPROXYPROTOOTHER captures enum value "NETWORK_PROXY_PROTO_OTHER"
	NetworkProxyProtoNETWORKPROXYPROTOOTHER Proto = "NETWORK_PROXY_PROTO_OTHER"
)

func NewNetworkProxyProto ¶

func NewNetworkProxyProto(value Proto) *Proto

func (Proto) ContextValidate ¶

func (m Proto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network proxy proto based on context it is used

func (Proto) Pointer ¶

func (m Proto) Pointer() *Proto

Pointer returns a pointer to a freshly-allocated NetworkProxyProto.

func (Proto) Validate ¶

func (m Proto) Validate(formats strfmt.Registry) error

Validate validates this network proxy proto

type ProtobufAny ¶

type ProtobufAny struct {

	// type Url
	TypeURL string `json:"typeUrl,omitempty"`

	// value
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate ¶

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ProtobufAny) Validate ¶

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

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 ¶

func (m ProtobufNullValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf null value based on context it is used

func (ProtobufNullValue) Pointer ¶

func (m ProtobufNullValue) Pointer() *ProtobufNullValue

Pointer returns a pointer to a freshly-allocated ProtobufNullValue.

func (ProtobufNullValue) Validate ¶

func (m ProtobufNullValue) Validate(formats strfmt.Registry) error

Validate validates this protobuf null value

type Proxy ¶

type Proxy struct {

	// Proxy exceptions
	Exceptions string `json:"exceptions,omitempty"`

	// Network proxy
	NetworkProxy bool `json:"networkProxy,omitempty"`

	// Proxy Certificates
	//
	// Network Proxy Certificates
	NetworkProxyCerts []string `json:"networkProxyCerts"`

	// Direct URL for wpad.dat download
	//
	// Network Proxy URL
	NetworkProxyURL string `json:"networkProxyURL,omitempty"`

	// proxy configuration in a pacfile
	//
	// proxy configuration in a pacfile
	Pacfile string `json:"pacfile,omitempty"`

	// protocol level proxies
	//
	// Net Proxy: protocol level proxies
	Proxies []*Server `json:"proxies"`
}

Proxy Configurations

swagger:model Proxy

func (*Proxy) ContextValidate ¶

func (m *Proxy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net proxy config based on the context it is used

func (*Proxy) MarshalBinary ¶

func (m *Proxy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Proxy) UnmarshalBinary ¶

func (m *Proxy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Proxy) Validate ¶

func (m *Proxy) Validate(formats strfmt.Registry) error

Validate validates this net proxy config

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 ¶

func (m *RSA) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this r s a based on context it is used

func (*RSA) MarshalBinary ¶

func (m *RSA) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RSA) UnmarshalBinary ¶

func (m *RSA) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RSA) Validate ¶

func (m *RSA) Validate(formats strfmt.Registry) error

Validate validates this r s a

type Resource ¶

type Resource struct {

	// Name of the Resource (Required)
	Name string `json:"name,omitempty"`

	// Value of Resource (Required)
	Value string `json:"value,omitempty"`
}

Resource resource

swagger:model Resource

func (*Resource) ContextValidate ¶

func (m *Resource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource based on context it is used

func (*Resource) MarshalBinary ¶

func (m *Resource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary ¶

func (m *Resource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resource) Validate ¶

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

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 ¶

func (m *ResourceGroupDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ResourceGroupDetail) Validate ¶

func (m *ResourceGroupDetail) Validate(formats strfmt.Registry) error

Validate validates this resource group detail

type Role ¶

type Role struct {

	// Detailed description of the role
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Unique system defined role ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// User defined name of the role. Name cannot be changed once created
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Map of project tags filter
	ProjectTags map[string]string `json:"projectTags,omitempty"`

	// System defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Scopes/Permissions associated with the role
	// Required: true
	Scopes []*Scope `json:"scopes"`

	// State of the role
	State *RoleState `json:"state,omitempty"`

	// User defined title of the role. Title can be changed anytime
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Type of the role
	// Required: true
	Type *UserRole `json:"type"`
}

Role Role detail

Role meta data Example: {"description":"","id":"AAGFABAEqnH4je5PHZTXSmHOs-XC","name":"SysRoot","revision":{"createdAt":"2020-07-16T18:19:56Z","createdBy":"SYSTEM_ROOT","curr":"1","prev":"","updatedAt":"1970-01-01T00:00:01Z","updatedBy":"SYSTEM_ROOT"},"scopes":[{"accessApp":"PermissionAccessCreateReadUpdateDelete","accessDevice":"PermissionAccessCreateReadUpdateDelete","accessEnterprise":"PermissionAccessCreateReadUpdateDelete","accessStorage":"PermissionAccessCreateReadUpdateDelete","accessUser":"PermissionAccessCreateReadUpdateDelete","enterpriseFilter":["srAll"],"projectFilter":["srAll"]}],"state":"ROLE_STATE_ACTIVE","title":"SysRoot","type":"USER_ROLE_CLUSTER"}

swagger:model Role

func (*Role) ContextValidate ¶

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary ¶

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary ¶

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate ¶

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

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 NewRoleState(value RoleState) *RoleState

func (RoleState) ContextValidate ¶

func (m RoleState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role state based on context it is used

func (RoleState) Pointer ¶

func (m RoleState) Pointer() *RoleState

Pointer returns a pointer to a freshly-allocated RoleState.

func (RoleState) Validate ¶

func (m RoleState) Validate(formats strfmt.Registry) error

Validate validates this role state

type RunState ¶

type RunState string

RunState Run-time state of an object, reported by EVE

- RUN_STATE_ONLINE: Entity Online

  • RUN_STATE_HALTED: Entity Halted
  • RUN_STATE_INIT: Entity Initializing
  • RUN_STATE_REBOOTING: Entity Rebooting
  • RUN_STATE_OFFLINE: Entity Offline
  • RUN_STATE_UNKNOWN: Entity state Unknown
  • RUN_STATE_UNPROVISIONED: Entity Unprovisioned
  • RUN_STATE_PROVISIONED: Entity Provisioned
  • RUN_STATE_SUSPECT: Entity Suspect
  • RUN_STATE_DOWNLOADING: Edge-node downloading entity artifacts
  • RUN_STATE_RESTARTING: Entity Restarting
  • RUN_STATE_PURGING: Entity Purging
  • RUN_STATE_HALTING: Entity Halting
  • RUN_STATE_ERROR: Entity encountered an error
  • RUN_STATE_VERIFYING: Verification of downloaded Artifacts in Progress.
  • RUN_STATE_LOADING: Loading of Artifacts into local datastore in Progress.
  • RUN_STATE_CREATING_VOLUME: Volume creation from artifacts in Progress
  • RUN_STATE_BOOTING: Entity booting up
  • RUN_STATE_MAINTENANCE_MODE: Entity maintenance mode
  • RUN_STATE_START_DELAYED: Application start delayed as per configuration
  • RUN_STATE_BASEOS_UPDATING: Device BaseOs Update in Progress
  • RUN_STATE_PREPARING_POWEROFF: device preparing power off - shutting down all app instances
  • RUN_STATE_POWERING_OFF: device powering off from local profile server
  • RUN_STATE_PREPARED_POWEROFF: device prepared power off - all app instances are shut down

swagger:model RunState

const (

	// RunStateRUNSTATEUNSPECIFIED captures enum value "RUN_STATE_UNSPECIFIED"
	RunStateRUNSTATEUNSPECIFIED RunState = "RUN_STATE_UNSPECIFIED"

	// RunStateRUNSTATEONLINE captures enum value "RUN_STATE_ONLINE"
	RunStateRUNSTATEONLINE RunState = "RUN_STATE_ONLINE"

	// RunStateRUNSTATEHALTED captures enum value "RUN_STATE_HALTED"
	RunStateRUNSTATEHALTED RunState = "RUN_STATE_HALTED"

	// RunStateRUNSTATEINIT captures enum value "RUN_STATE_INIT"
	RunStateRUNSTATEINIT RunState = "RUN_STATE_INIT"

	// RunStateRUNSTATEREBOOTING captures enum value "RUN_STATE_REBOOTING"
	RunStateRUNSTATEREBOOTING RunState = "RUN_STATE_REBOOTING"

	// RunStateRUNSTATEOFFLINE captures enum value "RUN_STATE_OFFLINE"
	RunStateRUNSTATEOFFLINE RunState = "RUN_STATE_OFFLINE"

	// RunStateRUNSTATEUNKNOWN captures enum value "RUN_STATE_UNKNOWN"
	RunStateRUNSTATEUNKNOWN RunState = "RUN_STATE_UNKNOWN"

	// RunStateRUNSTATEUNPROVISIONED captures enum value "RUN_STATE_UNPROVISIONED"
	RunStateRUNSTATEUNPROVISIONED RunState = "RUN_STATE_UNPROVISIONED"

	// RunStateRUNSTATEPROVISIONED captures enum value "RUN_STATE_PROVISIONED"
	RunStateRUNSTATEPROVISIONED RunState = "RUN_STATE_PROVISIONED"

	// RunStateRUNSTATESUSPECT captures enum value "RUN_STATE_SUSPECT"
	RunStateRUNSTATESUSPECT RunState = "RUN_STATE_SUSPECT"

	// RunStateRUNSTATEDOWNLOADING captures enum value "RUN_STATE_DOWNLOADING"
	RunStateRUNSTATEDOWNLOADING RunState = "RUN_STATE_DOWNLOADING"

	// RunStateRUNSTATERESTARTING captures enum value "RUN_STATE_RESTARTING"
	RunStateRUNSTATERESTARTING RunState = "RUN_STATE_RESTARTING"

	// RunStateRUNSTATEPURGING captures enum value "RUN_STATE_PURGING"
	RunStateRUNSTATEPURGING RunState = "RUN_STATE_PURGING"

	// RunStateRUNSTATEHALTING captures enum value "RUN_STATE_HALTING"
	RunStateRUNSTATEHALTING RunState = "RUN_STATE_HALTING"

	// RunStateRUNSTATEERROR captures enum value "RUN_STATE_ERROR"
	RunStateRUNSTATEERROR RunState = "RUN_STATE_ERROR"

	// RunStateRUNSTATEVERIFYING captures enum value "RUN_STATE_VERIFYING"
	RunStateRUNSTATEVERIFYING RunState = "RUN_STATE_VERIFYING"

	// RunStateRUNSTATELOADING captures enum value "RUN_STATE_LOADING"
	RunStateRUNSTATELOADING RunState = "RUN_STATE_LOADING"

	// RunStateRUNSTATECREATINGVOLUME captures enum value "RUN_STATE_CREATING_VOLUME"
	RunStateRUNSTATECREATINGVOLUME RunState = "RUN_STATE_CREATING_VOLUME"

	// RunStateRUNSTATEBOOTING captures enum value "RUN_STATE_BOOTING"
	RunStateRUNSTATEBOOTING RunState = "RUN_STATE_BOOTING"

	// RunStateRUNSTATEMAINTENANCEMODE captures enum value "RUN_STATE_MAINTENANCE_MODE"
	RunStateRUNSTATEMAINTENANCEMODE RunState = "RUN_STATE_MAINTENANCE_MODE"

	// RunStateRUNSTATESTARTDELAYED captures enum value "RUN_STATE_START_DELAYED"
	RunStateRUNSTATESTARTDELAYED RunState = "RUN_STATE_START_DELAYED"

	// RunStateRUNSTATEBASEOSUPDATING captures enum value "RUN_STATE_BASEOS_UPDATING"
	RunStateRUNSTATEBASEOSUPDATING RunState = "RUN_STATE_BASEOS_UPDATING"

	// RunStateRUNSTATEPREPARINGPOWEROFF captures enum value "RUN_STATE_PREPARING_POWEROFF"
	RunStateRUNSTATEPREPARINGPOWEROFF RunState = "RUN_STATE_PREPARING_POWEROFF"

	// RunStateRUNSTATEPOWERINGOFF captures enum value "RUN_STATE_POWERING_OFF"
	RunStateRUNSTATEPOWERINGOFF RunState = "RUN_STATE_POWERING_OFF"

	// RunStateRUNSTATEPREPAREDPOWEROFF captures enum value "RUN_STATE_PREPARED_POWEROFF"
	RunStateRUNSTATEPREPAREDPOWEROFF RunState = "RUN_STATE_PREPARED_POWEROFF"
)

func NewRunState ¶

func NewRunState(value RunState) *RunState

func (RunState) ContextValidate ¶

func (m RunState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this run state based on context it is used

func (RunState) Pointer ¶

func (m RunState) Pointer() *RunState

Pointer returns a pointer to a freshly-allocated RunState.

func (RunState) Validate ¶

func (m RunState) Validate(formats strfmt.Registry) error

Validate validates this run state

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 ¶

func (m *SANValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a n values based on context it is used

func (*SANValues) MarshalBinary ¶

func (m *SANValues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SANValues) UnmarshalBinary ¶

func (m *SANValues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SANValues) Validate ¶

func (m *SANValues) Validate(formats strfmt.Registry) error

Validate validates this s a n values

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 ¶

func (m *SKUDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s k u detail based on context it is used

func (*SKUDetail) MarshalBinary ¶

func (m *SKUDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SKUDetail) UnmarshalBinary ¶

func (m *SKUDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SKUDetail) Validate ¶

func (m *SKUDetail) Validate(formats strfmt.Registry) error

Validate validates this s k u detail

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 ¶

func (m *SWInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s w info based on the context it is used

func (*SWInfo) MarshalBinary ¶

func (m *SWInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SWInfo) UnmarshalBinary ¶

func (m *SWInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SWInfo) Validate ¶

func (m *SWInfo) Validate(formats strfmt.Registry) error

Validate validates this s w info

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 NewSWState(value SWState) *SWState

func (SWState) ContextValidate ¶

func (m SWState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s w state based on context it is used

func (SWState) Pointer ¶

func (m SWState) Pointer() *SWState

Pointer returns a pointer to a freshly-allocated SWState.

func (SWState) Validate ¶

func (m SWState) Validate(formats strfmt.Registry) error

Validate validates this s w state

type Scope ¶

type Scope struct {

	// Application access permission, this will be deprecated in further release - please use accessEdgeApp and accessAppInstance for granular permission access scope.
	AccessApp string `json:"accessApp,omitempty"`

	// Application Instance access permission
	AccessAppInstance string `json:"accessAppInstance,omitempty"`

	// Device access permission
	AccessDevice string `json:"accessDevice,omitempty"`

	// Edge app access permission
	AccessEdgeApp string `json:"accessEdgeApp,omitempty"`

	// Enterprise access permission
	AccessEnterprise string `json:"accessEnterprise,omitempty"`

	// Storage access permission
	AccessStorage string `json:"accessStorage,omitempty"`

	// User access permission
	AccessUser string `json:"accessUser,omitempty"`

	// List of enterprise filters
	EnterpriseFilter []string `json:"enterpriseFilter"`

	// List of project filters
	ProjectFilter []string `json:"projectFilter"`

	// Unique system defined scope ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	UUID string `json:"uuid,omitempty"`
}

Scope scope

swagger:model Scope

func (*Scope) ContextValidate ¶

func (m *Scope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scope based on the context it is used

func (*Scope) MarshalBinary ¶

func (m *Scope) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Scope) UnmarshalBinary ¶

func (m *Scope) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Scope) Validate ¶

func (m *Scope) Validate(formats strfmt.Registry) error

Validate validates this scope

type Server ¶

type Server struct {

	// Net Proxy Port
	Port int64 `json:"port,omitempty"`

	// Net Proxy proto
	Proto *Proto `json:"proto,omitempty"`

	// Net Proxy Server
	Server string `json:"server,omitempty"`
}

Server Net Proxy Server

Net Proxy Server ¶

swagger:model Server

func (*Server) ContextValidate ¶

func (m *Server) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net proxy server based on the context it is used

func (*Server) MarshalBinary ¶

func (m *Server) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Server) UnmarshalBinary ¶

func (m *Server) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Server) Validate ¶

func (m *Server) Validate(formats strfmt.Registry) error

Validate validates this net proxy server

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 ¶

func (m *ServicePoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServicePoint) Validate ¶

func (m *ServicePoint) Validate(formats strfmt.Registry) error

Validate validates this service point

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 NewSeverity(value Severity) *Severity

func (Severity) ContextValidate ¶

func (m Severity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this severity based on context it is used

func (Severity) Pointer ¶

func (m Severity) Pointer() *Severity

Pointer returns a pointer to a freshly-allocated Severity.

func (Severity) Validate ¶

func (m Severity) Validate(formats strfmt.Registry) error

Validate validates this severity

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 ¶

func (m SimcardState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this simcard state based on context it is used

func (SimcardState) Pointer ¶

func (m SimcardState) Pointer() *SimcardState

Pointer returns a pointer to a freshly-allocated SimcardState.

func (SimcardState) Validate ¶

func (m SimcardState) Validate(formats strfmt.Registry) error

Validate validates this simcard state

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 NewSpType ¶

func NewSpType(value SpType) *SpType

func (SpType) ContextValidate ¶

func (m SpType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sp type based on context it is used

func (SpType) Pointer ¶

func (m SpType) Pointer() *SpType

Pointer returns a pointer to a freshly-allocated SpType.

func (SpType) Validate ¶

func (m SpType) Validate(formats strfmt.Registry) error

Validate validates this sp type

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 ¶

func (m *StaticDNSList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*StaticDNSList) Validate ¶

func (m *StaticDNSList) Validate(formats strfmt.Registry) error

Validate validates this static DNS list

type StorageDeviceMetrics ¶

type StorageDeviceMetrics struct {

	// checksum errors counter
	ChecksumErrors int64 `json:"checksumErrors,omitempty"`

	// read errors counter
	ReadErrors int64 `json:"readErrors,omitempty"`

	// write errors counter
	WriteErrors int64 `json:"writeErrors,omitempty"`
}

StorageDeviceMetrics storage device metrics

swagger:model StorageDeviceMetrics

func (*StorageDeviceMetrics) ContextValidate ¶

func (m *StorageDeviceMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage device metrics based on context it is used

func (*StorageDeviceMetrics) MarshalBinary ¶

func (m *StorageDeviceMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageDeviceMetrics) UnmarshalBinary ¶

func (m *StorageDeviceMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageDeviceMetrics) Validate ¶

func (m *StorageDeviceMetrics) Validate(formats strfmt.Registry) error

Validate validates this storage device metrics

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 ¶

func (m *StorageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*StorageStatus) Validate ¶

func (m *StorageStatus) Validate(formats strfmt.Registry) error

Validate validates this storage status

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 ¶

func (m *StorageSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*StorageSummary) Validate ¶

func (m *StorageSummary) Validate(formats strfmt.Registry) error

Validate validates this storage summary

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 ¶

func (m *Subject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this subject based on context it is used

func (*Subject) MarshalBinary ¶

func (m *Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Subject) UnmarshalBinary ¶

func (m *Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Subject) Validate ¶

func (m *Subject) Validate(formats strfmt.Registry) error

Validate validates this subject

type Summary ¶

type Summary struct {

	// Summary description
	Description string `json:"description,omitempty"`

	// Total
	Total int64 `json:"total,omitempty"`

	// Values: Map for storing <string, uint32>
	Values map[string]int64 `json:"values,omitempty"`
}

Summary Summary is used to store the Summary details

Summary is used to store the Summary details ¶

swagger:model Summary

func (*Summary) ContextValidate ¶

func (m *Summary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this summary based on context it is used

func (*Summary) MarshalBinary ¶

func (m *Summary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Summary) UnmarshalBinary ¶

func (m *Summary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Summary) Validate ¶

func (m *Summary) Validate(formats strfmt.Registry) error

Validate validates this summary

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

func (*SymmetricKeyEnrollmentDetail) Validate ¶

func (m *SymmetricKeyEnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this symmetric key enrollment detail

type SysBrand ¶

type SysBrand struct {

	// Map of <string, string>
	Attr map[string]string `json:"attr,omitempty"`

	// Detailed description of the image.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// System defined universally unique Id of the brand.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	Logo map[string]string `json:"logo,omitempty"`

	// user defined sys brand name
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// Object Revision  of the sys brand
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Sys Model Status
	State *SysModelState `json:"state,omitempty"`

	// Deprecated: base64 encoded string of svg file
	Svg string `json:"svg,omitempty"`

	// System Manufacturer name
	SystemMfgName string `json:"systemMfgName,omitempty"`

	// user defined title for sys brand
	// Required: true
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Title *string `json:"title"`
}

SysBrand SysBrand payload details

SysModel consists of various brand attributes like id, name, title, svg, state, systemMfgName Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"zed-brand","title":"sample brand"}

swagger:model SysBrand

func (*SysBrand) ContextValidate ¶

func (m *SysBrand) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys brand based on the context it is used

func (*SysBrand) MarshalBinary ¶

func (m *SysBrand) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysBrand) UnmarshalBinary ¶

func (m *SysBrand) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysBrand) Validate ¶

func (m *SysBrand) Validate(formats strfmt.Registry) error

Validate validates this sys brand

type SysBrandFilter ¶

type SysBrandFilter struct {

	// Brand name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`
}

SysBrandFilter sys brand filter

swagger:model SysBrandFilter

func (*SysBrandFilter) ContextValidate ¶

func (m *SysBrandFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SysBrandFilter) Validate ¶

func (m *SysBrandFilter) Validate(formats strfmt.Registry) error

Validate validates this sys brand filter

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 ¶

func (m *SysBrands) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys brands based on the context it is used

func (*SysBrands) MarshalBinary ¶

func (m *SysBrands) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysBrands) UnmarshalBinary ¶

func (m *SysBrands) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysBrands) Validate ¶

func (m *SysBrands) Validate(formats strfmt.Registry) error

Validate validates this sys brands

type SysModel ¶

type SysModel struct {

	// PCR templates keyed by EVE version
	PCRTemplates []*PCRTemplate `json:"PCRTemplates"`

	// Map of <string, string> which defines attr
	// Required: true
	Attr map[string]string `json:"attr"`

	// System defined universally unique Id of the brand.
	// Required: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12
	BrandID *string `json:"brandId"`

	// Detailed description of the model.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// System defined universally unique Id of the model.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// List of IoMembers
	IoMemberList []*IoMember `json:"ioMemberList"`

	// Flag to represent whether sysModel is imported
	IsImported bool `json:"isImported,omitempty"`

	Logo map[string]string `json:"logo,omitempty"`

	// user defined model name
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// Product status
	ProductStatus string `json:"productStatus,omitempty"`

	// Product URL
	ProductURL string `json:"productURL,omitempty"`

	// Object Revision  of the model
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// SysModel State which denotes the status of the model
	// Required: true
	State *SysModelState `json:"state"`

	// User defined title of the model. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Defines the Architecture type of the model
	// Required: true
	Type *ModelArchType `json:"type"`
}

SysModel SysModel payload details

SysModel consists of various model attributes like id, name, title, brandId etc Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"zed-model","title":"sample model"}

swagger:model SysModel

func (*SysModel) ContextValidate ¶

func (m *SysModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys model based on the context it is used

func (*SysModel) MarshalBinary ¶

func (m *SysModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysModel) UnmarshalBinary ¶

func (m *SysModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysModel) Validate ¶

func (m *SysModel) Validate(formats strfmt.Registry) error

Validate validates this sys model

type SysModelFilter ¶

type SysModelFilter struct {

	// System defined universally unique Id of the brand.
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12
	BrandID string `json:"brandId,omitempty"`

	// System defined universally unique Ids of the brand.
	BrandIds []string `json:"brandIds"`

	// Model name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`

	// origin of object
	OriginType *Origin `json:"originType,omitempty"`
}

SysModelFilter sys model filter

swagger:model SysModelFilter

func (*SysModelFilter) ContextValidate ¶

func (m *SysModelFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SysModelFilter) Validate ¶

func (m *SysModelFilter) Validate(formats strfmt.Registry) error

Validate validates this sys model filter

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 ¶

func (m SysModelState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sys model state based on context it is used

func (SysModelState) Pointer ¶

func (m SysModelState) Pointer() *SysModelState

Pointer returns a pointer to a freshly-allocated SysModelState.

func (SysModelState) Validate ¶

func (m SysModelState) Validate(formats strfmt.Registry) error

Validate validates this sys model state

type SysModels ¶

type SysModels struct {

	// List of filtered Sys Models
	List []*SysModel `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary by brand distribution
	SummaryByBrandDistribution *Summary `json:"summaryByBrandDistribution,omitempty"`

	// Summary by device distribution
	SummaryByDeviceDistribution *Summary `json:"summaryByDeviceDistribution,omitempty"`

	// Summary of filtered model records
	Terse *Summary `json:"terse,omitempty"`
}

SysModels SysModels payload details

SysModels used when listing the available models, if consists of various model attributes like terse, model list and next filter.

swagger:model SysModels

func (*SysModels) ContextValidate ¶

func (m *SysModels) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys models based on the context it is used

func (*SysModels) MarshalBinary ¶

func (m *SysModels) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysModels) UnmarshalBinary ¶

func (m *SysModels) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysModels) Validate ¶

func (m *SysModels) Validate(formats strfmt.Registry) error

Validate validates this sys models

type SystemInterface ¶

type SystemInterface struct {

	// cost of using this interface. Default is 0.
	// Maximum: 255
	Cost int64 `json:"cost,omitempty"`

	// Adapter Udage
	IntfUsage *AdapterUsage `json:"intfUsage,omitempty"`

	// name of interface in the manifest to which this network or adapter maps to
	Intfname string `json:"intfname,omitempty"`

	// IP address: we will be needing this in cae of static network
	Ipaddr string `json:"ipaddr,omitempty"`

	// mac address needs to be over-written in some cases
	Macaddr string `json:"macaddr,omitempty"`

	// network name: if attaching a network use netname
	Netname string `json:"netname,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`
}

SystemInterface sysInterface payload detail

system interfaces that needs to be used by dom0

swagger:model sysInterface

func (*SystemInterface) ContextValidate ¶

func (m *SystemInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys interface based on the context it is used

func (*SystemInterface) MarshalBinary ¶

func (m *SystemInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemInterface) UnmarshalBinary ¶

func (m *SystemInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemInterface) Validate ¶

func (m *SystemInterface) Validate(formats strfmt.Registry) error

Validate validates this sys interface

type TPMEnrollmentDetail ¶

type TPMEnrollmentDetail struct {

	// type
	Type *EnrollmentType `json:"type,omitempty"`
}

TPMEnrollmentDetail t p m enrollment detail

swagger:model TPMEnrollmentDetail

func (*TPMEnrollmentDetail) ContextValidate ¶

func (m *TPMEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TPMEnrollmentDetail) Validate ¶

func (m *TPMEnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this t p m enrollment detail

type Tag ¶

type Tag struct {

	// Resource group wide policy for edge applications to be deployed on all edge nodes on this resource group
	// Read Only: true
	AppPolicy *Policy `json:"appPolicy,omitempty"`

	// Attestation policy to enforce on all devices of this project
	AttestationPolicy *Policy `json:"attestationPolicy,omitempty"`

	// Resource group wide configuration for edge nodes
	// Read Only: true
	Attr map[string]string `json:"attr,omitempty"`

	// Resource group wide policy for Azure IoTEdge configuration to be applied to all edge applications
	// Read Only: true
	CloudPolicy *Policy `json:"cloudPolicy,omitempty"`

	// Deployment template containing different types of policies
	Deployment *Deployment `json:"deployment,omitempty"`

	// Detailed description of the resource group.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Edgeview policy on devices of this project
	EdgeviewPolicy *Policy `json:"edgeviewPolicy,omitempty"`

	// System defined universally unique Id of the resource group.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// Local operator console policy on devices of this project
	LocalOperatorConsolePolicy *Policy `json:"localOperatorConsolePolicy,omitempty"`

	// Resource group wide policy for Azure module configuration to be applied to all edge applications
	// Read Only: true
	ModulePolicy []*Policy `json:"modulePolicy"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Network policy to enforce on all devices of this project
	NetworkPolicy *Policy `json:"networkPolicy,omitempty"`

	// Number of edge nodes in this resource group
	// Read Only: true
	Numdevices int64 `json:"numdevices,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// 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 ¶

func (m *Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based on the context it is used

func (*Tag) MarshalBinary ¶

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary ¶

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate ¶

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

type TagConfigStatus ¶

type TagConfigStatus struct {

	// app policy Id
	AppPolicyID string `json:"appPolicyId,omitempty"`

	// app policy name
	AppPolicyName string `json:"appPolicyName,omitempty"`

	// type of attestation policy
	AttestPolicyType *AttestPolicyType `json:"attestPolicyType,omitempty"`

	// type of cloud policy
	CloudPolicyType *PolicyType `json:"cloudPolicyType,omitempty"`

	// edgeview is allowed or not for devices in project
	EdgeviewAllow bool `json:"edgeviewAllow,omitempty"`

	// total count of devices enabled with edgeview session
	EdgeviewSessionCount int64 `json:"edgeviewSessionCount,omitempty"`

	// System defined universally unique Id of the resource group.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// flag to indicate if this is the default network instance for the device
	NetworkDeviceDefault string `json:"networkDeviceDefault,omitempty"`

	// network policy Id
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// Resource group status
	// Read Only: true
	Status *TagStatus `json:"status,omitempty"`
}

TagConfigStatus tag config status

swagger:model tagConfigStatus

func (*TagConfigStatus) ContextValidate ¶

func (m *TagConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag config status based on the context it is used

func (*TagConfigStatus) MarshalBinary ¶

func (m *TagConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagConfigStatus) UnmarshalBinary ¶

func (m *TagConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagConfigStatus) Validate ¶

func (m *TagConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this tag config status

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 ¶

func (m *TagFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag filter based on the context it is used

func (*TagFilter) MarshalBinary ¶

func (m *TagFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagFilter) UnmarshalBinary ¶

func (m *TagFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagFilter) Validate ¶

func (m *TagFilter) Validate(formats strfmt.Registry) error

Validate validates this tag filter

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 NewTagStatus(value TagStatus) *TagStatus

func (TagStatus) ContextValidate ¶

func (m TagStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag status based on context it is used

func (TagStatus) Pointer ¶

func (m TagStatus) Pointer() *TagStatus

Pointer returns a pointer to a freshly-allocated TagStatus.

func (TagStatus) Validate ¶

func (m TagStatus) Validate(formats strfmt.Registry) error

Validate validates this tag status

type TagStatusFilter ¶

type TagStatusFilter struct {

	// Resource group name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]+
	NamePattern string `json:"namePattern,omitempty"`

	// Resource group status to be matched.
	Status *TagStatus `json:"status,omitempty"`

	// Resource group type to ne matched.
	Type *TagType `json:"type,omitempty"`
}

TagStatusFilter tag status filter

swagger:model TagStatusFilter

func (*TagStatusFilter) ContextValidate ¶

func (m *TagStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TagStatusFilter) Validate ¶

func (m *TagStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this tag status filter

type TagStatusListMsg ¶

type TagStatusListMsg struct {

	// List of filtered resource group records
	List []*TagStatusMsg `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered resource group records
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Summary of filtered resource group records
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

TagStatusListMsg tag status list msg

swagger:model TagStatusListMsg

func (*TagStatusListMsg) ContextValidate ¶

func (m *TagStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TagStatusListMsg) Validate ¶

func (m *TagStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this tag status list msg

type TagStatusMsg ¶

type TagStatusMsg struct {

	// total count of devices enabled with edgeview session
	EdgeviewSessionCount int64 `json:"edgeviewSessionCount,omitempty"`

	// System defined universally unique Id of the resource group.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// Resource group status
	// Read Only: true
	Status *TagStatus `json:"status,omitempty"`

	// Resource group type
	Type *TagType `json:"type,omitempty"`
}

TagStatusMsg Resource group detail

Resource group for edge gateway Base OS or for eedge applications. Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","status":"TAG_STATUS_ACTIVE"}

swagger:model TagStatusMsg

func (*TagStatusMsg) ContextValidate ¶

func (m *TagStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TagStatusMsg) Validate ¶

func (m *TagStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this tag status msg

type TagType ¶

type TagType string

TagType Resource group types

- TAG_TYPE_UNSPECIFIED: Unspecified

  • TAG_TYPE_GENERIC: Generic resource group
  • TAG_TYPE_PROJECT: Project resource group
  • TAG_TYPE_AZURE: Project resource group
  • TAG_TYPE_DEPLOYMENT: Project with deployment

swagger:model TagType

const (

	// TagTypeTAGTYPEUNSPECIFIED captures enum value "TAG_TYPE_UNSPECIFIED"
	TagTypeTAGTYPEUNSPECIFIED TagType = "TAG_TYPE_UNSPECIFIED"

	// TagTypeTAGTYPEGENERIC captures enum value "TAG_TYPE_GENERIC"
	TagTypeTAGTYPEGENERIC TagType = "TAG_TYPE_GENERIC"

	// TagTypeTAGTYPEPROJECT captures enum value "TAG_TYPE_PROJECT"
	TagTypeTAGTYPEPROJECT TagType = "TAG_TYPE_PROJECT"

	// TagTypeTAGTYPEAZURE captures enum value "TAG_TYPE_AZURE"
	TagTypeTAGTYPEAZURE TagType = "TAG_TYPE_AZURE"

	// TagTypeTAGTYPEDEPLOYMENT captures enum value "TAG_TYPE_DEPLOYMENT"
	TagTypeTAGTYPEDEPLOYMENT TagType = "TAG_TYPE_DEPLOYMENT"
)

func NewTagType ¶

func NewTagType(value TagType) *TagType

func (TagType) ContextValidate ¶

func (m TagType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag type based on context it is used

func (TagType) Pointer ¶

func (m TagType) Pointer() *TagType

Pointer returns a pointer to a freshly-allocated TagType.

func (TagType) Validate ¶

func (m TagType) Validate(formats strfmt.Registry) error

Validate validates this tag type

type Tags ¶

type Tags struct {

	// List of filtered resource group records
	List []*Tag `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered resource group records
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Summary of filtered resource group records
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

Tags tags

swagger:model Tags

func (*Tags) ContextValidate ¶

func (m *Tags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tags based on the context it is used

func (*Tags) MarshalBinary ¶

func (m *Tags) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tags) UnmarshalBinary ¶

func (m *Tags) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tags) Validate ¶

func (m *Tags) Validate(formats strfmt.Registry) error

Validate validates this tags

type TagsConfigStatus ¶

type TagsConfigStatus struct {

	// List of filtered resource group records
	List []*TagConfigStatus `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered resource group records
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Summary of filtered resource group records
	SummaryByType *Summary `json:"summaryByType,omitempty"`

	// total count of projects
	TotalCount int32 `json:"totalCount,omitempty"`
}

TagsConfigStatus tags config status

swagger:model TagsConfigStatus

func (*TagsConfigStatus) ContextValidate ¶

func (m *TagsConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tags config status based on the context it is used

func (*TagsConfigStatus) MarshalBinary ¶

func (m *TagsConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagsConfigStatus) UnmarshalBinary ¶

func (m *TagsConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagsConfigStatus) Validate ¶

func (m *TagsConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this tags config status

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 ¶

func (m *TopTalkersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TopTalkersResponse) Validate ¶

func (m *TopTalkersResponse) Validate(formats strfmt.Registry) error

Validate validates this top talkers response

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

func (*TopTalkersResponseItem) Validate ¶

func (m *TopTalkersResponseItem) Validate(formats strfmt.Registry) error

Validate validates this top talkers response item

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 ¶

func (m TransCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trans cause based on context it is used

func (TransCause) Pointer ¶

func (m TransCause) Pointer() *TransCause

Pointer returns a pointer to a freshly-allocated TransCause.

func (TransCause) Validate ¶

func (m TransCause) Validate(formats strfmt.Registry) error

Validate validates this trans cause

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 ¶

func (m *TransDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TransDetails) Validate ¶

func (m *TransDetails) Validate(formats strfmt.Registry) error

Validate validates this trans details

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 ¶

func (m *TwinDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TwinDetail) Validate ¶

func (m *TwinDetail) Validate(formats strfmt.Registry) error

Validate validates this twin detail

type Type ¶

type Type string

Type network wireless type

swagger:model Type

const (

	// NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED captures enum value "NETWORK_WIRELESS_TYPE_UNSPECIFIED"
	NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED Type = "NETWORK_WIRELESS_TYPE_UNSPECIFIED"

	// NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI captures enum value "NETWORK_WIRELESS_TYPE_WIFI"
	NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI Type = "NETWORK_WIRELESS_TYPE_WIFI"

	// NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR captures enum value "NETWORK_WIRELESS_TYPE_CELLULAR"
	NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR Type = "NETWORK_WIRELESS_TYPE_CELLULAR"
)

func NewNetworkWirelessType ¶

func NewNetworkWirelessType(value Type) *Type

func (Type) ContextValidate ¶

func (m Type) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network wireless type based on context it is used

func (Type) Pointer ¶

func (m Type) Pointer() *Type

Pointer returns a pointer to a freshly-allocated NetworkWirelessType.

func (Type) Validate ¶

func (m Type) Validate(formats strfmt.Registry) error

Validate validates this network wireless type

type UserDataTemplate ¶

type UserDataTemplate struct {

	// custom config
	CustomConfig *CustomConfig `json:"customConfig,omitempty"`
}

UserDataTemplate user data template

swagger:model UserDataTemplate

func (*UserDataTemplate) ContextValidate ¶

func (m *UserDataTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*UserDataTemplate) Validate ¶

func (m *UserDataTemplate) Validate(formats strfmt.Registry) error

Validate validates this user data template

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 NewUserRole(value UserRole) *UserRole

func (UserRole) ContextValidate ¶

func (m UserRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user role based on context it is used

func (UserRole) Pointer ¶

func (m UserRole) Pointer() *UserRole

Pointer returns a pointer to a freshly-allocated UserRole.

func (UserRole) Validate ¶

func (m UserRole) Validate(formats strfmt.Registry) error

Validate validates this user role

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 NewUserState(value UserState) *UserState

func (UserState) ContextValidate ¶

func (m UserState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user state based on context it is used

func (UserState) Pointer ¶

func (m UserState) Pointer() *UserState

Pointer returns a pointer to a freshly-allocated UserState.

func (UserState) Validate ¶

func (m UserState) Validate(formats strfmt.Registry) error

Validate validates this user state

type VCEStatus ¶

type VCEStatus struct {

	// vce status detail
	VceStatusDetail *VCEStatusDetail `json:"vceStatusDetail,omitempty"`
}

VCEStatus status of object on velocloud.

swagger:model VCEStatus

func (*VCEStatus) ContextValidate ¶

func (m *VCEStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v c e status based on the context it is used

func (*VCEStatus) MarshalBinary ¶

func (m *VCEStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VCEStatus) UnmarshalBinary ¶

func (m *VCEStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VCEStatus) Validate ¶

func (m *VCEStatus) Validate(formats strfmt.Registry) error

Validate validates this v c e status

type VCEStatusDetail ¶

type VCEStatusDetail struct {

	// activation key
	ActivationKey string `json:"activationKey,omitempty"`

	// activation key expires
	// Format: date-time
	ActivationKeyExpires strfmt.DateTime `json:"activationKeyExpires,omitempty"`

	// activation state
	ActivationState string `json:"activationState,omitempty"`

	// activation time
	// Format: date-time
	ActivationTime strfmt.DateTime `json:"activationTime,omitempty"`

	// alerts enabled
	AlertsEnabled bool `json:"alertsEnabled,omitempty"`

	// bastion state
	BastionState string `json:"bastionState,omitempty"`

	// created
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// edge state
	EdgeState string `json:"edgeState,omitempty"`

	// edge state time
	// Format: date-time
	EdgeStateTime strfmt.DateTime `json:"edgeStateTime,omitempty"`

	// ha last contact
	// Format: date-time
	HaLastContact strfmt.DateTime `json:"haLastContact,omitempty"`

	// ha previous state
	HaPreviousState string `json:"haPreviousState,omitempty"`

	// ha serial number
	HaSerialNumber string `json:"haSerialNumber,omitempty"`

	// ha state
	HaState string `json:"haState,omitempty"`

	// is hub
	IsHub bool `json:"isHub,omitempty"`

	// is live
	IsLive bool `json:"isLive,omitempty"`

	// last contact
	// Format: date-time
	LastContact strfmt.DateTime `json:"lastContact,omitempty"`

	// lte region
	LteRegion string `json:"lteRegion,omitempty"`

	// modified
	// Format: date-time
	Modified strfmt.DateTime `json:"modified,omitempty"`

	// operator alerts enabled
	OperatorAlertsEnabled bool `json:"operatorAlertsEnabled,omitempty"`

	// serial number
	SerialNumber string `json:"serialNumber,omitempty"`

	// service state
	ServiceState string `json:"serviceState,omitempty"`

	// service up since
	// Format: date-time
	ServiceUpSince strfmt.DateTime `json:"serviceUpSince,omitempty"`

	// status fetched at
	// Format: date-time
	StatusFetchedAt strfmt.DateTime `json:"statusFetchedAt,omitempty"`

	// system up since
	// Format: date-time
	SystemUpSince strfmt.DateTime `json:"systemUpSince,omitempty"`

	// vce edge Id
	VceEdgeID int64 `json:"vceEdgeId,omitempty"`

	// vce URL
	VceURL string `json:"vceURL,omitempty"`
}

VCEStatusDetail v c e status detail

swagger:model VCEStatusDetail

func (*VCEStatusDetail) ContextValidate ¶

func (m *VCEStatusDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v c e status detail based on context it is used

func (*VCEStatusDetail) MarshalBinary ¶

func (m *VCEStatusDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VCEStatusDetail) UnmarshalBinary ¶

func (m *VCEStatusDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VCEStatusDetail) Validate ¶

func (m *VCEStatusDetail) Validate(formats strfmt.Registry) error

Validate validates this v c e status detail

type VM ¶

type VM struct {

	// Enable CpuPinning
	CPUPinningEnabled bool `json:"cpuPinningEnabled,omitempty"`

	// CPUs
	// Required: true
	Cpus *int64 `json:"cpus"`

	// Memory
	// Required: true
	Memory *int64 `json:"memory"`

	// Hardware Virtualization
	// Required: true
	Mode *HvMode `json:"mode"`

	// VNC
	// Required: true
	Vnc *bool `json:"vnc"`

	// VNC display
	// Read Only: true
	VncDisplay int64 `json:"vncDisplay,omitempty"`
}

VM vm detail

Virtual machine memory configuration ¶

swagger:model vm

func (*VM) ContextValidate ¶

func (m *VM) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vm based on the context it is used

func (*VM) MarshalBinary ¶

func (m *VM) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VM) UnmarshalBinary ¶

func (m *VM) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VM) Validate ¶

func (m *VM) Validate(formats strfmt.Registry) error

Validate validates this vm

type VMManifest ¶

type VMManifest struct {

	// Edge Application type
	//
	// UI map: N/A - not exposed to users
	AcKind *string `json:"acKind,omitempty"`

	// Manifest version
	//
	// UI map: N/A - not exposed to users
	AcVersion *string `json:"acVersion,omitempty"`

	// bundle type, eg: vm, container, module
	AppType *AppType `json:"appType,omitempty"`

	// Annotations   types.Annotations    `json:"Annotations,omitempty"`
	// Labels        types.Labels         `json:"Labels,omitempty"`
	//
	// Template for Custom Configuration. Used for Cloud-Init
	Configuration *UserDataTemplate `json:"configuration,omitempty"`

	// Container specific details
	//
	// Create options direct the creation of the Docker container
	ContainerDetail *ContainerDetail `json:"containerDetail,omitempty"`

	// Enable CpuPinning
	CPUPinningEnabled bool `json:"cpuPinningEnabled,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// Description of the application
	Desc *Details `json:"desc,omitempty"`

	// Description of the Edge application
	//
	// UI map: AppDetailsPage:IdentityPane:DescriptionField, AppMarketplacePage:AppCard:DescriptionField
	// Pattern: [0-9A-Za-z-]+
	Description string `json:"description,omitempty"`

	// Display name or title of app manifest
	//
	// UI map: AppEditPage:IdentityPane:Title_Field, AppDetailsPage:IdentityPane:Title_Field
	DisplayName string `json:"displayName,omitempty"`

	// Enable VNC for the app
	//
	// UI map: AppEditPage:IdentityPane:VNC_Field, AppDetailsPage:IdentityPane:VNC_Field
	Enablevnc bool `json:"enablevnc,omitempty"`

	// Images used by the app
	//
	// UI map: AppEditPage:DrivesPane, AppDetailsPage:DrivesPane
	Images []*VMManifestImage `json:"images"`

	// I/O adapter settings
	//
	// UI map: AppEditPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Interfaces []*Interface `json:"interfaces"`

	// Module specific details
	//
	// Azure module specific details like module twin, environment variable, routes
	Module *ModuleDetail `json:"module,omitempty"`

	// Unique id of app manifest, should match object name
	//
	// UI map: AppEditPage:IdentityPane:Name_Field, AppDetailsPage:IdentityPane:Name_Field
	Name string `json:"name,omitempty"`

	// Owner of the application
	Owner *Author `json:"owner,omitempty"`

	// permissions
	Permissions []Permission `json:"permissions"`

	// Hardware resource requirement (CPU, Memory, Storage) for the app
	//
	// UI map: AppEditPage:ResourcesPane, AppDetailsPage:ResourcesPane
	Resources []*Resource `json:"resources"`

	// VM mode for VM-based app
	//
	// UI map: AppEditPage:IdentityPane:VM_Mode_Field, AppDetailsPage:IdentityPane:VM_Mode_Field
	Vmmode *string `json:"vmmode,omitempty"`
}

VMManifest VM manifest

swagger:model VMManifest

func (*VMManifest) ContextValidate ¶

func (m *VMManifest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VMManifest) Validate ¶

func (m *VMManifest) Validate(formats strfmt.Registry) error

Validate validates this VM manifest

type VMManifestImage ¶

type VMManifestImage struct {

	// UI map: AppEditPage:DrivesPane:Cleartext, AppDetailsPage:DrivesPane:ClearText_Field
	Cleartext bool `json:"cleartext,omitempty"`

	// enum: CDROM, HDD, NET
	//
	// UI map: AppEditPage:DrivesPane:Drive_Type_Field, AppDetailsPage:DrivesPane:Drive_Type_Field
	Drvtype string `json:"drvtype,omitempty"`

	// UI map: AppEditPage:DrivesPane:Ignorepurge, AppDetailsPage:DrivesPane:Ignorepurgee_Field
	Ignorepurge bool `json:"ignorepurge,omitempty"`

	// UI map: AppEditPage:DrivesPane:Image_Format_Field, AppDetailsPage:DrivesPane:Image_Format_Field
	Imageformat *ConfigFormat `json:"imageformat,omitempty"`

	// UI map: AppEditPage:DrivesPane:Image_ID_Field, AppDetailsPage:DrivesPane:Image_ID_Field
	Imageid string `json:"imageid,omitempty"`

	// UI map: AppEditPage:DrivesPane:Image_Name_Field, AppDetailsPage:DrivesPane:Image_Name_Field
	Imagename string `json:"imagename,omitempty"`

	// UI map: AppEditPage:DrivesPane:Max_Size_Field, AppDetailsPage:DrivesPane:Max_Size_Field
	Maxsize string `json:"maxsize,omitempty"`

	// UI map: AppEditPage:DrivesPane:Mountpath, AppDetailsPage:DrivesPane:Mountpath_Field
	Mountpath string `json:"mountpath,omitempty"`

	// Not used by ZedUI
	Params []*Param `json:"params"`

	// UI map: AppEditPage:DrivesPane:Preserve_Field, AppDetailsPage:DrivesPane:Preserve_Field
	Preserve bool `json:"preserve,omitempty"`

	// Not used by ZedUI
	Readonly bool `json:"readonly,omitempty"`

	// enum: Disk, Kernel, Initrd, RamDisk
	//
	// UI map: AppEditPage:DrivesPane:Target_Field, AppDetailsPage:DrivesPane:Target_Field
	Target string `json:"target,omitempty"`

	// UI map: AppEditPage:DrivesPane:Volume_Label, AppDetailsPage:DrivesPane:Volume_Label
	Volumelabel string `json:"volumelabel,omitempty"`
}

VMManifestImage VM manifest image

swagger:model VMManifestImage

func (*VMManifestImage) ContextValidate ¶

func (m *VMManifestImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VMManifestImage) Validate ¶

func (m *VMManifestImage) Validate(formats strfmt.Registry) error

Validate validates this VM manifest image

type VMManifestSummary ¶

type VMManifestSummary struct {

	// Edge Application type
	//
	// UI map: N/A - not exposed to users
	AcKind *string `json:"acKind,omitempty"`

	// Manifest version
	//
	// UI map: N/A - not exposed to users
	AcVersion *string `json:"acVersion,omitempty"`

	// bundle type, eg: vm, container, module
	AppType *AppType `json:"appType,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// Details of the Edge App
	Desc *Details `json:"desc,omitempty"`

	// Description of the Edge application
	//
	// UI map: AppDetailsPage:IdentityPane:DescriptionField, AppMarketplacePage:AppCard:DescriptionField
	// Pattern: [0-9A-Za-z-]+
	Description string `json:"description,omitempty"`

	// Display name or title of app manifest
	//
	// UI map: AppEditPage:IdentityPane:Title_Field, AppDetailsPage:IdentityPane:Title_Field
	DisplayName string `json:"displayName,omitempty"`

	// Module specific details
	//
	// Azure module specific details like module twin, environment variable, routes
	Module *ModuleSummary `json:"module,omitempty"`

	// Unique id of app manifest, should match object name
	//
	// UI map: AppEditPage:IdentityPane:Name_Field, AppDetailsPage:IdentityPane:Name_Field
	Name string `json:"name,omitempty"`
}

VMManifestSummary VMManifestSummary - App summary for list views

swagger:model VMManifestSummary

func (*VMManifestSummary) ContextValidate ¶

func (m *VMManifestSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VMManifestSummary) Validate ¶

func (m *VMManifestSummary) Validate(formats strfmt.Registry) error

Validate validates this VM manifest summary

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 ¶

func (m VariableFileEncoding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable file encoding based on context it is used

func (VariableFileEncoding) Pointer ¶

Pointer returns a pointer to a freshly-allocated VariableFileEncoding.

func (VariableFileEncoding) Validate ¶

func (m VariableFileEncoding) Validate(formats strfmt.Registry) error

Validate validates this variable file encoding

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

func (*VariableGroupCondition) Validate ¶

func (m *VariableGroupCondition) Validate(formats strfmt.Registry) error

Validate validates this variable group condition

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 (VariableGroupConditionOperator) ContextValidate ¶

func (m VariableGroupConditionOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable group condition operator based on context it is used

func (VariableGroupConditionOperator) Pointer ¶

Pointer returns a pointer to a freshly-allocated VariableGroupConditionOperator.

func (VariableGroupConditionOperator) Validate ¶

Validate validates this variable group condition operator

type VariableGroupVariable ¶

type VariableGroupVariable struct {

	// Default value of the variable. (Optional. Default: <Default value based on type>)
	Default string `json:"default,omitempty"`

	// Encoding of file content. Applicable if format is VARIABLE_FORMAT_FILE
	Encode *VariableFileEncoding `json:"encode,omitempty"`

	// Format of the user variable. (Required)
	// Required: true
	Format *VariableVariableFormat `json:"format"`

	// Label for the variable (Required)
	// Required: true
	Label *string `json:"label"`

	// Max length of the value of the variable(Optional. Default: 1024)
	MaxLength string `json:"maxLength,omitempty"`

	// Name of the Variable (Required)
	// Required: true
	Name *string `json:"name"`

	// Key-Value pair of options. Applicable if format is VARIABLE_FORMAT_DROPDOWN
	Options []*VariableOptionVal `json:"options"`

	// process input
	ProcessInput string `json:"processInput,omitempty"`

	// This variable MUST be specified when creating an App Instance. (Optional. Default: False)
	// Required: true
	Required *bool `json:"required"`

	// type
	Type string `json:"type,omitempty"`

	// User-specified value of the variable.(Required if required is true. Optional otherwise)
	Value string `json:"value,omitempty"`
}

VariableGroupVariable Edge Application detail

Edge Application Artifact Details Example: {"format":"VARIABLE_FORMAT_TEXT","label":"Enter User Name","name":"username","required":"True"}

swagger:model VariableGroupVariable

func (*VariableGroupVariable) ContextValidate ¶

func (m *VariableGroupVariable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VariableGroupVariable) Validate ¶

func (m *VariableGroupVariable) Validate(formats strfmt.Registry) error

Validate validates this variable group variable

type VariableOptionVal ¶

type VariableOptionVal struct {

	// Display label of the key in User-Agent
	Label string `json:"label,omitempty"`

	// Value of the key to be used
	Value string `json:"value,omitempty"`
}

VariableOptionVal variable option val

swagger:model VariableOptionVal

func (*VariableOptionVal) ContextValidate ¶

func (m *VariableOptionVal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VariableOptionVal) Validate ¶

func (m *VariableOptionVal) Validate(formats strfmt.Registry) error

Validate validates this variable option val

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 ¶

func (m VariableVariableFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable variable format based on context it is used

func (VariableVariableFormat) Pointer ¶

Pointer returns a pointer to a freshly-allocated VariableVariableFormat.

func (VariableVariableFormat) Validate ¶

func (m VariableVariableFormat) Validate(formats strfmt.Registry) error

Validate validates this variable variable format

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 ¶

func (m *VifInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vif info based on context it is used

func (*VifInfo) MarshalBinary ¶

func (m *VifInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VifInfo) UnmarshalBinary ¶

func (m *VifInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VifInfo) Validate ¶

func (m *VifInfo) Validate(formats strfmt.Registry) error

Validate validates this vif info

type VolInstFilter ¶

type VolInstFilter struct {

	// app inst name
	AppInstName string `json:"appInstName,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// label name
	LabelName string `json:"labelName,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstFilter vol inst filter

swagger:model VolInstFilter

func (*VolInstFilter) ContextValidate ¶

func (m *VolInstFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstFilter) Validate ¶

func (m *VolInstFilter) Validate(formats strfmt.Registry) error

Validate validates this vol inst filter

type VolInstList ¶

type VolInstList struct {

	// cfg list
	CfgList []*VolumeInstance `json:"cfgList"`

	// list
	List []*VolInstShortConfig `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by type
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

VolInstList vol inst list

swagger:model VolInstList

func (*VolInstList) ContextValidate ¶

func (m *VolInstList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstList) Validate ¶

func (m *VolInstList) Validate(formats strfmt.Registry) error

Validate validates this vol inst list

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 ¶

func (m *VolInstResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstResource) Validate ¶

func (m *VolInstResource) Validate(formats strfmt.Registry) error

Validate validates this vol inst resource

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 ¶

func (m *VolInstShortConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstShortConfig) Validate ¶

func (m *VolInstShortConfig) Validate(formats strfmt.Registry) error

Validate validates this vol inst short config

type VolInstStatusFilter ¶

type VolInstStatusFilter struct {

	// app inst name
	AppInstName string `json:"appInstName,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// image name
	ImageName string `json:"imageName,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstStatusFilter vol inst status filter

swagger:model VolInstStatusFilter

func (*VolInstStatusFilter) ContextValidate ¶

func (m *VolInstStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstStatusFilter) Validate ¶

func (m *VolInstStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this vol inst status filter

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 ¶

func (m *VolInstStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstStatusListMsg) Validate ¶

func (m *VolInstStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this vol inst status list msg

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 ¶

func (m *VolInstStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VolInstStatusMsg) Validate ¶

func (m *VolInstStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this vol inst status msg

type VolInstStatusSummaryMsg ¶

type VolInstStatusSummaryMsg struct {

	// create time
	// Format: date-time
	CreateTime strfmt.DateTime `json:"createTime,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device state
	DeviceState *SWState `json:"deviceState,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// progress percentage
	ProgressPercentage int64 `json:"progressPercentage,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstStatusSummaryMsg vol inst status summary msg

swagger:model VolInstStatusSummaryMsg

func (*VolInstStatusSummaryMsg) ContextValidate ¶

func (m *VolInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst status summary msg based on the context it is used

func (*VolInstStatusSummaryMsg) MarshalBinary ¶

func (m *VolInstStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstStatusSummaryMsg) UnmarshalBinary ¶

func (m *VolInstStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstStatusSummaryMsg) Validate ¶

func (m *VolInstStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this vol inst status summary msg

type VolumeInstConfig ¶

type VolumeInstConfig struct {

	// Access mode
	Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"`

	// user defined key-value pairs of a block storage, will be used for targeting content tree
	BlockStorageTags map[string]string `json:"blockStorageTags,omitempty"`

	// flag to keep the contents of the volume unencrypted (in clear text)
	Cleartext bool `json:"cleartext,omitempty"`

	// content tree ID
	ContentTreeID string `json:"contentTreeId,omitempty"`

	// user defined key-value pairs of a content tree that will be used for targeting by block storage
	ContentTreeTargetCondition map[string]string `json:"contentTreeTargetCondition,omitempty"`

	// name of the image
	Image string `json:"image,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// flag to enable the volume to be attached to multiple app instances
	Multiattach bool `json:"multiattach,omitempty"`

	// Purge Counter information
	Purge *ZedCloudOpsCmd `json:"purge,omitempty"`

	// size of volume
	SizeBytes uint64 `json:"sizeBytes,omitempty"`

	// type of Volume Instance
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolumeInstConfig volume inst config

swagger:model VolumeInstConfig

func (*VolumeInstConfig) ContextValidate ¶

func (m *VolumeInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume inst config based on the context it is used

func (*VolumeInstConfig) MarshalBinary ¶

func (m *VolumeInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeInstConfig) UnmarshalBinary ¶

func (m *VolumeInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeInstConfig) Validate ¶

func (m *VolumeInstConfig) Validate(formats strfmt.Registry) error

Validate validates this volume inst config

type VolumeInstPolicy ¶

type VolumeInstPolicy struct {

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`

	// volume instance config details
	VolInstConfig *VolumeInstance `json:"volInstConfig,omitempty"`
}

VolumeInstPolicy volume inst policy

swagger:model VolumeInstPolicy

func (*VolumeInstPolicy) ContextValidate ¶

func (m *VolumeInstPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume inst policy based on the context it is used

func (*VolumeInstPolicy) MarshalBinary ¶

func (m *VolumeInstPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeInstPolicy) UnmarshalBinary ¶

func (m *VolumeInstPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeInstPolicy) Validate ¶

func (m *VolumeInstPolicy) Validate(formats strfmt.Registry) error

Validate validates this volume inst policy

type VolumeInstance ¶

type VolumeInstance struct {

	// Access mode
	Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"`

	// flag to keep the contents of the volume unencrypted (in clear text)
	Cleartext bool `json:"cleartext,omitempty"`

	// content tree ID
	ContentTreeID string `json:"contentTreeId,omitempty"`

	// Detailed description of the volume instance.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// id of the device on which volume instance is created
	DeviceID string `json:"deviceId,omitempty"`

	// System defined universally unique Id of the volume instance.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// name of the image
	Image string `json:"image,omitempty"`

	// flag to create implicit volumes
	Implicit bool `json:"implicit,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// flag to enable the volume to be attached to multiple app instances
	Multiattach bool `json:"multiattach,omitempty"`

	// User defined name of the volume instance, unique across the enterprise. Once object is created, name can’t be changed.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// id of the project in which the volume instance is created
	ProjectID string `json:"projectId,omitempty"`

	// Purge Counter information
	Purge *ZedCloudOpsCmd `json:"purge,omitempty"`

	// system defined Revision info of the object
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// size of volume
	SizeBytes string `json:"sizeBytes,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the volume instance. Title can be changed at any time.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title string `json:"title,omitempty"`

	// type of Volume Instance
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolumeInstance vol inst config

swagger:model VolumeInstance

func (*VolumeInstance) ContextValidate ¶

func (m *VolumeInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst config based on the context it is used

func (*VolumeInstance) MarshalBinary ¶

func (m *VolumeInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeInstance) UnmarshalBinary ¶

func (m *VolumeInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeInstance) Validate ¶

func (m *VolumeInstance) Validate(formats strfmt.Registry) error

Validate validates this vol inst config

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 (VolumeInstanceAccessMode) ContextValidate ¶

func (m VolumeInstanceAccessMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume instance access mode based on context it is used

func (VolumeInstanceAccessMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated VolumeInstanceAccessMode.

func (VolumeInstanceAccessMode) Validate ¶

func (m VolumeInstanceAccessMode) Validate(formats strfmt.Registry) error

Validate validates this volume instance access mode

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 ¶

func (m VolumeInstanceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume instance type based on context it is used

func (VolumeInstanceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated VolumeInstanceType.

func (VolumeInstanceType) Validate ¶

func (m VolumeInstanceType) Validate(formats strfmt.Registry) error

Validate validates this volume instance type

type Wifi ¶

type Wifi struct {

	// crypto
	Crypto *NetWifiConfigNetcryptoblock `json:"crypto,omitempty"`

	// crypto key
	CryptoKey string `json:"cryptoKey,omitempty"`

	// encrypted secrets
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// identity
	Identity string `json:"identity,omitempty"`

	// key scheme
	KeyScheme *NetworkWiFiKeyScheme `json:"keyScheme,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// secret
	Secret *NetWifiConfigSecrets `json:"secret,omitempty"`

	// wifi s s ID
	WifiSSID string `json:"wifiSSID,omitempty"`
}

Wifi net wifi config

swagger:model Wifi

func (*Wifi) ContextValidate ¶

func (m *Wifi) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net wifi config based on the context it is used

func (*Wifi) MarshalBinary ¶

func (m *Wifi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Wifi) UnmarshalBinary ¶

func (m *Wifi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Wifi) Validate ¶

func (m *Wifi) Validate(formats strfmt.Registry) error

Validate validates this net wifi config

type Wireless ¶

type Wireless struct {

	// cellular cfg
	CellularCfg *Cellular `json:"cellularCfg,omitempty"`

	// type
	Type *Type `json:"type,omitempty"`

	// wifi cfg
	WifiCfg *Wifi `json:"wifiCfg,omitempty"`
}

Wireless config

swagger:model Wireless

func (*Wireless) ContextValidate ¶

func (m *Wireless) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net wireless config based on the context it is used

func (*Wireless) MarshalBinary ¶

func (m *Wireless) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Wireless) UnmarshalBinary ¶

func (m *Wireless) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Wireless) Validate ¶

func (m *Wireless) Validate(formats strfmt.Registry) error

Validate validates this net wireless config

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 ¶

func (m *ZManufacturerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ZManufacturerInfo) Validate ¶

func (m *ZManufacturerInfo) Validate(formats strfmt.Registry) error

Validate validates this z manufacturer info

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 ¶

func (m ZcOpsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zc ops status based on context it is used

func (ZcOpsStatus) Pointer ¶

func (m ZcOpsStatus) Pointer() *ZcOpsStatus

Pointer returns a pointer to a freshly-allocated ZcOpsStatus.

func (ZcOpsStatus) Validate ¶

func (m ZcOpsStatus) Validate(formats strfmt.Registry) error

Validate validates this zc ops status

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 NewZcOpsType(value ZcOpsType) *ZcOpsType

func (ZcOpsType) ContextValidate ¶

func (m ZcOpsType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zc ops type based on context it is used

func (ZcOpsType) Pointer ¶

func (m ZcOpsType) Pointer() *ZcOpsType

Pointer returns a pointer to a freshly-allocated ZcOpsType.

func (ZcOpsType) Validate ¶

func (m ZcOpsType) Validate(formats strfmt.Registry) error

Validate validates this zc ops type

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 ¶

func (m *ZedCloudOpsCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ZedCloudOpsCmd) Validate ¶

func (m *ZedCloudOpsCmd) Validate(formats strfmt.Registry) error

Validate validates this zed cloud ops cmd

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 ¶

func (m *ZedcloudCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ZedcloudCounters) Validate ¶

func (m *ZedcloudCounters) Validate(formats strfmt.Registry) error

Validate validates this zedcloud counters

type ZsrvError ¶

type ZsrvError struct {

	// Field captures string description of details
	Details string `json:"details,omitempty"`

	// Enumrated error code, describes more granular numerical
	// value than just httpStatus
	ErrorCode *ZsrvErrorCode `json:"ec,omitempty"`

	// Ignore: Internal field only
	Location string `json:"location,omitempty"`
}

ZsrvError zsrv error

swagger:model ZsrvError

func (*ZsrvError) ContextValidate ¶

func (m *ZsrvError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zsrv error based on the context it is used

func (*ZsrvError) MarshalBinary ¶

func (m *ZsrvError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZsrvError) UnmarshalBinary ¶

func (m *ZsrvError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZsrvError) Validate ¶

func (m *ZsrvError) Validate(formats strfmt.Registry) error

Validate validates this zsrv error

type ZsrvErrorCode ¶

type ZsrvErrorCode string

ZsrvErrorCode ZedCould internal error code

- zMsgErrorNone: common validation errors

  • IncompleteData: message had fields that weren't filled in
  • InvalidData: message contained the field that wasn't expected
  • FunctionUnsupported: this feature unavailable on this version of device
  • InvalidFieldFormat: message contained the field that wasn't correctly formatted
  • JsonFmtError: Marshal / Unmarshal errors
  • DataBaseConnection: generic DB error

swagger:model ZsrvErrorCode

const (

	// ZsrvErrorCodeZMsgErrorNone captures enum value "zMsgErrorNone"
	ZsrvErrorCodeZMsgErrorNone ZsrvErrorCode = "zMsgErrorNone"

	// ErrorCodeSuccess captures enum value "zMsgSucess"
	ErrorCodeSuccess ZsrvErrorCode = "zMsgSucess"

	// ZsrvErrorCodeNotFound captures enum value "NotFound"
	ZsrvErrorCodeNotFound ZsrvErrorCode = "NotFound"

	// ZsrvErrorCodeAlreadyExists captures enum value "AlreadyExists"
	ZsrvErrorCodeAlreadyExists ZsrvErrorCode = "AlreadyExists"

	// ZsrvErrorCodeVersionMismatch captures enum value "VersionMismatch"
	ZsrvErrorCodeVersionMismatch ZsrvErrorCode = "VersionMismatch"

	// ZsrvErrorCodeRangeError captures enum value "RangeError"
	ZsrvErrorCodeRangeError ZsrvErrorCode = "RangeError"

	// ZsrvErrorCodeLargeResult captures enum value "LargeResult"
	ZsrvErrorCodeLargeResult ZsrvErrorCode = "LargeResult"

	// ZsrvErrorCodeIncompleteData captures enum value "IncompleteData"
	ZsrvErrorCodeIncompleteData ZsrvErrorCode = "IncompleteData"

	// ZsrvErrorCodeInvalidData captures enum value "InvalidData"
	ZsrvErrorCodeInvalidData ZsrvErrorCode = "InvalidData"

	// ZsrvErrorCodeFunctionUnsupported captures enum value "FunctionUnsupported"
	ZsrvErrorCodeFunctionUnsupported ZsrvErrorCode = "FunctionUnsupported"

	// ZsrvErrorCodeNoMemory captures enum value "NoMemory"
	ZsrvErrorCodeNoMemory ZsrvErrorCode = "NoMemory"

	// ZsrvErrorCodeSendFailure captures enum value "SendFailure"
	ZsrvErrorCodeSendFailure ZsrvErrorCode = "SendFailure"

	// ZsrvErrorCodeTimeout captures enum value "Timeout"
	ZsrvErrorCodeTimeout ZsrvErrorCode = "Timeout"

	// ZsrvErrorCodeBadReqBody captures enum value "BadReqBody"
	ZsrvErrorCodeBadReqBody ZsrvErrorCode = "BadReqBody"

	// ZsrvErrorCodeBadReqParam captures enum value "BadReqParam"
	ZsrvErrorCodeBadReqParam ZsrvErrorCode = "BadReqParam"

	// ZsrvErrorCodeInvalidFieldFormat captures enum value "InvalidFieldFormat"
	ZsrvErrorCodeInvalidFieldFormat ZsrvErrorCode = "InvalidFieldFormat"

	// ZsrvErrorCodeURLNotFound captures enum value "UrlNotFound"
	ZsrvErrorCodeURLNotFound ZsrvErrorCode = "UrlNotFound"

	// ZsrvErrorCodeAPIVersionNotSupported captures enum value "ApiVersionNotSupported"
	ZsrvErrorCodeAPIVersionNotSupported ZsrvErrorCode = "ApiVersionNotSupported"

	// ZsrvErrorCodeUnauthorized captures enum value "Unauthorized"
	ZsrvErrorCodeUnauthorized ZsrvErrorCode = "Unauthorized"

	// ZsrvErrorCodeForbidden captures enum value "Forbidden"
	ZsrvErrorCodeForbidden ZsrvErrorCode = "Forbidden"

	// ZsrvErrorCodeConflict captures enum value "Conflict"
	ZsrvErrorCodeConflict ZsrvErrorCode = "Conflict"

	// ZsrvErrorCodeNotModified captures enum value "NotModified"
	ZsrvErrorCodeNotModified ZsrvErrorCode = "NotModified"

	// ZsrvErrorCodeDependencyConflict captures enum value "DependencyConflict"
	ZsrvErrorCodeDependencyConflict ZsrvErrorCode = "DependencyConflict"

	// ZsrvErrorCodeJSONFmtError captures enum value "JsonFmtError"
	ZsrvErrorCodeJSONFmtError ZsrvErrorCode = "JsonFmtError"

	// ZsrvErrorCodeProtoFmtError captures enum value "ProtoFmtError"
	ZsrvErrorCodeProtoFmtError ZsrvErrorCode = "ProtoFmtError"

	// ZsrvErrorCodeCertError captures enum value "CertError"
	ZsrvErrorCodeCertError ZsrvErrorCode = "CertError"

	// ZsrvErrorCodeDataBaseConnection captures enum value "DataBaseConnection"
	ZsrvErrorCodeDataBaseConnection ZsrvErrorCode = "DataBaseConnection"

	// ZsrvErrorCodeDBError captures enum value "DBError"
	ZsrvErrorCodeDBError ZsrvErrorCode = "DBError"

	// ErrorCodeAccepted captures enum value "zMsgAccepted"
	ErrorCodeAccepted ZsrvErrorCode = "zMsgAccepted"

	// ZsrvErrorCodeZMsgCreated captures enum value "zMsgCreated"
	ZsrvErrorCodeZMsgCreated ZsrvErrorCode = "zMsgCreated"

	// ZsrvErrorCodePreConditionFailed captures enum value "PreConditionFailed"
	ZsrvErrorCodePreConditionFailed ZsrvErrorCode = "PreConditionFailed"
)

func NewZsrvErrorCode ¶

func NewZsrvErrorCode(value ZsrvErrorCode) *ZsrvErrorCode

func (ZsrvErrorCode) ContextValidate ¶

func (m ZsrvErrorCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zsrv error code based on context it is used

func (ZsrvErrorCode) Pointer ¶

func (m ZsrvErrorCode) Pointer() *ZsrvErrorCode

Pointer returns a pointer to a freshly-allocated ZsrvErrorCode.

func (ZsrvErrorCode) Validate ¶

func (m ZsrvErrorCode) Validate(formats strfmt.Registry) error

Validate validates this zsrv error code

type ZsrvResponse ¶

type ZsrvResponse struct {

	// end time
	EndTime string `json:"endTime,omitempty"`

	// one or more errors will be set if the operation failed
	// i.e. httpStatusCode != 2xx
	Error []*ZsrvError `json:"error"`

	// http response
	HTTPStatusCode int32 `json:"httpStatusCode,omitempty"`

	// summary of the error in text format
	HTTPStatusMsg string `json:"httpStatusMsg,omitempty"`

	// for tracking asynchronous tasks
	JobID string `json:"jobId,omitempty"`

	// Unique value identifies the object that was operated on
	ObjectID string `json:"objectId,omitempty"`

	// zedcloud object kind on which the operation was performed
	ObjectKind string `json:"objectKind,omitempty"`

	// name of the object
	ObjectName string `json:"objectName,omitempty"`

	// object revision post the operation, note Read operation
	// doesn't change the revision
	ObjectRevision string `json:"objectRevision,omitempty"`

	// object type
	ObjectType *ObjectType `json:"objectType,omitempty"`

	// if this is log running job
	OperationStatus *ZcOpsStatus `json:"operationStatus,omitempty"`

	// time of operation
	OperationTime string `json:"operationTime,omitempty"`

	// Describes one of the operations type : possible values
	//                         Read/Delete/Create/Update/List
	OperationType *ZcOpsType `json:"operationType,omitempty"`

	// total time taken by operations
	StartTime string `json:"startTime,omitempty"`

	// the operation is performed on behalf of this user
	User string `json:"user,omitempty"`
}

ZsrvResponse zsrv response

swagger:model ZsrvResponse

func (*ZsrvResponse) ContextValidate ¶

func (m *ZsrvResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ZsrvResponse) Validate ¶

func (m *ZsrvResponse) Validate(formats strfmt.Registry) error

Validate validates this zsrv response

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL