model

package
v0.0.0-...-c0b55bb Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactSource

type ArtifactSource struct {
	URI    string     `json:"uri"`
	Expire *time.Time `json:"expire"`
}

type DeploymentNextArtifact

type DeploymentNextArtifact struct {
	Name                  string          `json:"artifact_name"`
	Source                *ArtifactSource `json:"source"`
	DeviceTypesCompatible []string        `json:"device_types_compatible"`
}

type DeploymentNextRequest

type DeploymentNextRequest struct {
	DeviceType          string `json:"device_type"`
	ArtifactName        string `json:"artifact_name"`
	RootfsImageChecksum string `json:"rootfs-image.checksum"`
}

type DeploymentNextResponse

type DeploymentNextResponse struct {
	ID       string                  `json:"id"`
	Artifact *DeploymentNextArtifact `json:"artifact"`
}

type DeploymentStatus

type DeploymentStatus struct {
	Status string `json:"status"`
}

type InventoryAttribute

type InventoryAttribute struct {
	Name        string `json:"name"`
	Value       string `json:"value"`
	Description string `json:"description,omitempty"`
}

type RunConfig

type RunConfig struct {
	Count               int64
	KeyFile             string
	MACAddressPrefix    string
	DeviceType          string
	ArtifactName        string
	RootfsImageChecksum string
	InventoryAttributes []string
	ExtraIdentity       map[string]string
	StartTime           time.Duration
	AuthInterval        time.Duration
	InventoryInterval   time.Duration
	UpdateInterval      time.Duration
	DeploymentTime      time.Duration
	ServerURL           string
	TenantToken         string
	PrivateKey          *rsa.PrivateKey
	PublicKey           []byte
	Websocket           bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL