models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// EventInfoTypeInfo captures enum value "info"
	EventInfoTypeInfo string = "info"

	// EventInfoTypeWarn captures enum value "warn"
	EventInfoTypeWarn string = "warn"
)
View Source
const (

	// HardwareProfileConfigurationScopeFull captures enum value "full"
	HardwareProfileConfigurationScopeFull string = "full"

	// HardwareProfileConfigurationScopeDelta captures enum value "delta"
	HardwareProfileConfigurationScopeDelta string = "delta"
)
View Source
const (

	// HeartbeatStatusUp captures enum value "up"
	HeartbeatStatusUp string = "up"

	// HeartbeatStatusDegraded captures enum value "degraded"
	HeartbeatStatusDegraded string = "degraded"
)
View Source
const (

	// MessageTypeConnectionDashStatus captures enum value "connection-status"
	MessageTypeConnectionDashStatus string = "connection-status"

	// MessageTypeCommand captures enum value "command"
	MessageTypeCommand string = "command"

	// MessageTypeEvent captures enum value "event"
	MessageTypeEvent string = "event"

	// MessageTypeData captures enum value "data"
	MessageTypeData string = "data"
)
View Source
const (

	// UpgradeStatusLastUpgradeStatusSucceeded captures enum value "succeeded"
	UpgradeStatusLastUpgradeStatusSucceeded string = "succeeded"

	// UpgradeStatusLastUpgradeStatusFailed captures enum value "failed"
	UpgradeStatusLastUpgradeStatusFailed string = "failed"
)
View Source
const (

	// WorkloadStatusStatusDeploying captures enum value "deploying"
	WorkloadStatusStatusDeploying string = "deploying"

	// WorkloadStatusStatusRunning captures enum value "running"
	WorkloadStatusStatusRunning string = "running"

	// WorkloadStatusStatusCrashed captures enum value "crashed"
	WorkloadStatusStatusCrashed string = "crashed"

	// WorkloadStatusStatusStopped captures enum value "stopped"
	WorkloadStatusStatusStopped string = "stopped"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Boot

type Boot struct {

	// current boot mode
	CurrentBootMode string `json:"current_boot_mode,omitempty"`

	// pxe interface
	PxeInterface string `json:"pxe_interface,omitempty"`
}

Boot boot

swagger:model boot

func (*Boot) ContextValidate added in v0.2.0

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

ContextValidate validates this boot based on context it is used

func (*Boot) MarshalBinary

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

MarshalBinary interface implementation

func (*Boot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Boot) Validate

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

Validate validates this boot

type CPU

type CPU struct {

	// architecture
	Architecture string `json:"architecture,omitempty"`

	// count
	Count int64 `json:"count,omitempty"`

	// flags
	Flags []string `json:"flags"`

	// frequency
	Frequency float64 `json:"frequency,omitempty"`

	// model name
	ModelName string `json:"model_name,omitempty"`
}

CPU cpu

swagger:model cpu

func (*CPU) ContextValidate added in v0.2.0

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

ContextValidate validates this cpu based on context it is used

func (*CPU) MarshalBinary

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

MarshalBinary interface implementation

func (*CPU) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CPU) Validate

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

Validate validates this cpu

type ComponentMetricsConfiguration added in v0.2.0

type ComponentMetricsConfiguration struct {

	// allow list
	AllowList *MetricsAllowList `json:"allow_list,omitempty"`

	// When true, turns metrics collection off. False by default.
	Disabled bool `json:"disabled,omitempty"`

	// Interval(in seconds) to scrape metrics endpoint.
	Interval int32 `json:"interval,omitempty"`
}

ComponentMetricsConfiguration Device component's metrics gathering configuration. Used by the system (aka node-exporter) and data transfer services.

swagger:model component-metrics-configuration

func (*ComponentMetricsConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validate this component metrics configuration based on the context it is used

func (*ComponentMetricsConfiguration) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*ComponentMetricsConfiguration) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*ComponentMetricsConfiguration) Validate added in v0.2.0

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

Validate validates this component metrics configuration

type ConfigmapList

type ConfigmapList []string

ConfigmapList List of configmaps used by the workload

swagger:model configmap-list

func (ConfigmapList) ContextValidate added in v0.2.0

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

ContextValidate validates this configmap list based on context it is used

func (ConfigmapList) Validate

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

Validate validates this configmap list

type ContainerMetrics

type ContainerMetrics struct {

	// disabled
	Disabled bool `json:"disabled,omitempty"`

	// Path to use when retrieving metrics
	Path string `json:"path,omitempty"`

	// Port to use when retrieve the metrics
	Port int32 `json:"port,omitempty"`
}

ContainerMetrics Metrics container configuration

swagger:model container-metrics

func (*ContainerMetrics) ContextValidate added in v0.2.0

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

ContextValidate validates this container metrics based on context it is used

func (*ContainerMetrics) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerMetrics) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerMetrics) Validate

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

Validate validates this container metrics

type DataConfiguration

type DataConfiguration struct {

	// egress
	Egress []*DataPath `json:"egress"`

	// ingress
	Ingress []*DataPath `json:"ingress"`
}

DataConfiguration Configuration for data transfer

swagger:model data-configuration

func (*DataConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validate this data configuration based on the context it is used

func (*DataConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*DataConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataConfiguration) Validate

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

Validate validates this data configuration

type DataPath

type DataPath struct {

	// Path in the workload container
	Source string `json:"source,omitempty"`

	// Path in the control plane storage
	Target string `json:"target,omitempty"`
}

DataPath Device-to-control plane paths mapping

swagger:model data-path

func (*DataPath) ContextValidate added in v0.2.0

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

ContextValidate validates this data path based on context it is used

func (*DataPath) MarshalBinary

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

MarshalBinary interface implementation

func (*DataPath) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataPath) Validate

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

Validate validates this data path

type DeviceConfiguration

type DeviceConfiguration struct {

	// heartbeat
	Heartbeat *HeartbeatConfiguration `json:"heartbeat,omitempty"`

	// log collection
	LogCollection map[string]LogsCollectionInformation `json:"log-collection,omitempty"`

	// metrics
	Metrics *MetricsConfiguration `json:"metrics,omitempty"`

	// mounts
	Mounts []*Mount `json:"mounts"`

	// os
	Os *OsInformation `json:"os,omitempty"`

	// storage
	Storage *StorageConfiguration `json:"storage,omitempty"`
}

DeviceConfiguration device configuration

swagger:model device-configuration

func (*DeviceConfiguration) ContextValidate added in v0.2.0

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

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

func (*DeviceConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*DeviceConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeviceConfiguration) Validate

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

Validate validates this device configuration

type DeviceConfigurationMessage

type DeviceConfigurationMessage struct {

	// ansible playbook
	AnsiblePlaybook string `json:"ansible_playbook,omitempty"`

	// configuration
	Configuration *DeviceConfiguration `json:"configuration,omitempty"`

	// Device identifier
	DeviceID string `json:"device_id,omitempty"`

	// secrets
	Secrets SecretList `json:"secrets,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// workloads
	Workloads WorkloadList `json:"workloads,omitempty"`

	// Defines the interval in seconds between the attempts to evaluate the workloads status and restart those that failed
	// Minimum: > 0
	WorkloadsMonitoringInterval int64 `json:"workloads_monitoring_interval,omitempty"`
}

DeviceConfigurationMessage device configuration message

swagger:model device-configuration-message

func (*DeviceConfigurationMessage) ContextValidate added in v0.2.0

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

ContextValidate validate this device configuration message based on the context it is used

func (*DeviceConfigurationMessage) MarshalBinary

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

MarshalBinary interface implementation

func (*DeviceConfigurationMessage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeviceConfigurationMessage) Validate

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

Validate validates this device configuration message

type Disk

type Disk struct {

	// bootable
	Bootable bool `json:"bootable,omitempty"`

	// by-id is the World Wide Number of the device which guaranteed to be unique for every storage device
	ByID string `json:"by_id,omitempty"`

	// by-path is the shortest physical path to the device
	ByPath string `json:"by_path,omitempty"`

	// drive type
	DriveType string `json:"drive_type,omitempty"`

	// hctl
	Hctl string `json:"hctl,omitempty"`

	// Determine the disk's unique identifier which is the by-id field if it exists and fallback to the by-path field otherwise
	ID string `json:"id,omitempty"`

	// io perf
	IoPerf *IoPerf `json:"io_perf,omitempty"`

	// Whether the disk appears to be an installation media or not
	IsInstallationMedia bool `json:"is_installation_media,omitempty"`

	// model
	Model string `json:"model,omitempty"`

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

	// path
	Path string `json:"path,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`

	// size bytes
	SizeBytes int64 `json:"size_bytes,omitempty"`

	// smart
	Smart string `json:"smart,omitempty"`

	// vendor
	Vendor string `json:"vendor,omitempty"`

	// wwn
	Wwn string `json:"wwn,omitempty"`
}

Disk disk

swagger:model disk

func (*Disk) ContextValidate added in v0.2.0

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

ContextValidate validate this disk based on the context it is used

func (*Disk) MarshalBinary

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

MarshalBinary interface implementation

func (*Disk) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Disk) Validate

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

Validate validates this disk

type EnrolmentInfo added in v0.1.0

type EnrolmentInfo struct {

	// features
	Features *EnrolmentInfoFeatures `json:"features,omitempty"`

	// target namespace
	TargetNamespace *string `json:"target_namespace,omitempty"`
}

EnrolmentInfo enrolment info

swagger:model enrolment-info

func (*EnrolmentInfo) ContextValidate added in v0.2.0

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

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

func (*EnrolmentInfo) MarshalBinary added in v0.1.0

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

MarshalBinary interface implementation

func (*EnrolmentInfo) UnmarshalBinary added in v0.1.0

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

UnmarshalBinary interface implementation

func (*EnrolmentInfo) Validate added in v0.1.0

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

Validate validates this enrolment info

type EnrolmentInfoFeatures added in v0.1.0

type EnrolmentInfoFeatures struct {

	// hardware
	Hardware *HardwareInfo `json:"hardware,omitempty"`

	// model name
	ModelName string `json:"modelName,omitempty"`
}

EnrolmentInfoFeatures enrolment info features

swagger:model EnrolmentInfoFeatures

func (*EnrolmentInfoFeatures) ContextValidate added in v0.2.0

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

ContextValidate validate this enrolment info features based on the context it is used

func (*EnrolmentInfoFeatures) MarshalBinary added in v0.1.0

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

MarshalBinary interface implementation

func (*EnrolmentInfoFeatures) UnmarshalBinary added in v0.1.0

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

UnmarshalBinary interface implementation

func (*EnrolmentInfoFeatures) Validate added in v0.1.0

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

Validate validates this enrolment info features

type EventInfo

type EventInfo struct {

	// Message describe the event which has occured.
	Message string `json:"message,omitempty"`

	// Reason is single word description of the subject of the event.
	Reason string `json:"reason,omitempty"`

	// Either 'info' or 'warn', which reflect the importance of event.
	// Enum: [info warn]
	Type string `json:"type,omitempty"`
}

EventInfo event info

swagger:model event-info

func (*EventInfo) ContextValidate added in v0.2.0

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

ContextValidate validates this event info based on context it is used

func (*EventInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*EventInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EventInfo) Validate

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

Validate validates this event info

type Gpu

type Gpu struct {

	// Device address (for example "0000:00:02.0")
	Address string `json:"address,omitempty"`

	// ID of the device (for example "3ea0")
	DeviceID string `json:"device_id,omitempty"`

	// Product name of the device (for example "UHD Graphics 620 (Whiskey Lake)")
	Name string `json:"name,omitempty"`

	// The name of the device vendor (for example "Intel Corporation")
	Vendor string `json:"vendor,omitempty"`

	// ID of the vendor (for example "8086")
	VendorID string `json:"vendor_id,omitempty"`
}

Gpu gpu

swagger:model gpu

func (*Gpu) ContextValidate added in v0.2.0

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

ContextValidate validates this gpu based on context it is used

func (*Gpu) MarshalBinary

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

MarshalBinary interface implementation

func (*Gpu) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Gpu) Validate

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

Validate validates this gpu

type HardwareInfo

type HardwareInfo struct {

	// boot
	Boot *Boot `json:"boot,omitempty"`

	// cpu
	CPU *CPU `json:"cpu,omitempty"`

	// disks
	Disks []*Disk `json:"disks"`

	// gpus
	Gpus []*Gpu `json:"gpus"`

	// host devices
	HostDevices []*HostDevice `json:"host_devices"`

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// interfaces
	Interfaces []*Interface `json:"interfaces"`

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

	// mounts
	Mounts []*Mount `json:"mounts"`

	// system vendor
	SystemVendor *SystemVendor `json:"system_vendor,omitempty"`
}

HardwareInfo Hardware information

swagger:model hardware-info

func (*HardwareInfo) ContextValidate added in v0.2.0

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

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

func (*HardwareInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*HardwareInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HardwareInfo) Validate

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

Validate validates this hardware info

type HardwareProfileConfiguration

type HardwareProfileConfiguration struct {

	// include
	Include bool `json:"include,omitempty"`

	// scope
	// Enum: [full delta]
	Scope string `json:"scope,omitempty"`
}

HardwareProfileConfiguration hardware profile configuration

swagger:model hardware-profile-configuration

func (*HardwareProfileConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validates this hardware profile configuration based on context it is used

func (*HardwareProfileConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*HardwareProfileConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HardwareProfileConfiguration) Validate

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

Validate validates this hardware profile configuration

type Heartbeat

type Heartbeat struct {

	// Events produced by device worker.
	Events []*EventInfo `json:"events"`

	// hardware
	Hardware *HardwareInfo `json:"hardware,omitempty"`

	// status
	// Enum: [up degraded]
	Status string `json:"status,omitempty"`

	// upgrade
	Upgrade *UpgradeStatus `json:"upgrade,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// workloads
	Workloads []*WorkloadStatus `json:"workloads"`
}

Heartbeat heartbeat

swagger:model heartbeat

func (*Heartbeat) ContextValidate added in v0.2.0

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

ContextValidate validate this heartbeat based on the context it is used

func (*Heartbeat) MarshalBinary

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

MarshalBinary interface implementation

func (*Heartbeat) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Heartbeat) Validate

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

Validate validates this heartbeat

type HeartbeatConfiguration

type HeartbeatConfiguration struct {

	// hardware profile
	HardwareProfile *HardwareProfileConfiguration `json:"hardware_profile,omitempty"`

	// period seconds
	PeriodSeconds int64 `json:"period_seconds,omitempty"`
}

HeartbeatConfiguration heartbeat configuration

swagger:model heartbeat-configuration

func (*HeartbeatConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validate this heartbeat configuration based on the context it is used

func (*HeartbeatConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*HeartbeatConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HeartbeatConfiguration) Validate

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

Validate validates this heartbeat configuration

type HostDevice added in v0.2.0

type HostDevice struct {

	// Type of the device
	DeviceType string `json:"device_type,omitempty"`

	// Group id
	Gid int64 `json:"gid,omitempty"`

	// Major of the device
	Major int64 `json:"major,omitempty"`

	// Minor of the device
	Minor int64 `json:"minor,omitempty"`

	// Path of the device
	Path string `json:"path,omitempty"`

	// Owner id
	UID int64 `json:"uid,omitempty"`
}

HostDevice host device

swagger:model host_device

func (*HostDevice) ContextValidate added in v0.2.0

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

ContextValidate validates this host device based on context it is used

func (*HostDevice) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*HostDevice) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*HostDevice) Validate added in v0.2.0

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

Validate validates this host device

type ImageRegistries

type ImageRegistries struct {

	// Image registries authfile created by executing `podman login` or `docker login` (i.e. ~/.docker/config.json). https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#log-in-to-docker-hub describes how the file can be created and how it is structured.
	AuthFile string `json:"authFile,omitempty"`
}

ImageRegistries Image registries configuration

swagger:model image-registries

func (*ImageRegistries) ContextValidate added in v0.2.0

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

ContextValidate validates this image registries based on context it is used

func (*ImageRegistries) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageRegistries) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageRegistries) Validate

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

Validate validates this image registries

type Interface

type Interface struct {

	// biosdevname
	Biosdevname string `json:"biosdevname,omitempty"`

	// client id
	ClientID string `json:"client_id,omitempty"`

	// flags
	Flags []string `json:"flags"`

	// has carrier
	HasCarrier bool `json:"has_carrier,omitempty"`

	// ipv4 addresses
	IPV4Addresses []string `json:"ipv4_addresses"`

	// ipv6 addresses
	IPV6Addresses []string `json:"ipv6_addresses"`

	// mac address
	MacAddress string `json:"mac_address,omitempty"`

	// mtu
	Mtu int64 `json:"mtu,omitempty"`

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

	// product
	Product string `json:"product,omitempty"`

	// speed mbps
	SpeedMbps int64 `json:"speed_mbps,omitempty"`

	// vendor
	Vendor string `json:"vendor,omitempty"`
}

Interface interface

swagger:model interface

func (*Interface) ContextValidate added in v0.2.0

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

ContextValidate validates this interface based on 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 IoPerf

type IoPerf struct {

	// 99th percentile of fsync duration in milliseconds
	SyncDuration int64 `json:"sync_duration,omitempty"`
}

IoPerf io perf

swagger:model io_perf

func (*IoPerf) ContextValidate added in v0.2.0

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

ContextValidate validates this io perf based on context it is used

func (*IoPerf) MarshalBinary

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

MarshalBinary interface implementation

func (*IoPerf) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IoPerf) Validate

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

Validate validates this io perf

type LogsCollectionInformation

type LogsCollectionInformation struct {

	// buffer size
	BufferSize int32 `json:"buffer_size,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// syslog config
	SyslogConfig *LogsCollectionInformationSyslogConfig `json:"syslog_config,omitempty"`
}

LogsCollectionInformation Log collection information

swagger:model logs-collection-information

func (*LogsCollectionInformation) ContextValidate added in v0.2.0

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

ContextValidate validate this logs collection information based on the context it is used

func (*LogsCollectionInformation) MarshalBinary

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

MarshalBinary interface implementation

func (*LogsCollectionInformation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogsCollectionInformation) Validate

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

Validate validates this logs collection information

type LogsCollectionInformationSyslogConfig

type LogsCollectionInformationSyslogConfig struct {

	// address
	Address string `json:"address,omitempty"`

	// protocol
	Protocol string `json:"protocol,omitempty"`
}

LogsCollectionInformationSyslogConfig logs collection information syslog config

swagger:model LogsCollectionInformationSyslogConfig

func (*LogsCollectionInformationSyslogConfig) ContextValidate added in v0.2.0

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

ContextValidate validates this logs collection information syslog config based on context it is used

func (*LogsCollectionInformationSyslogConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*LogsCollectionInformationSyslogConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogsCollectionInformationSyslogConfig) Validate

Validate validates this logs collection information syslog config

type Memory

type Memory struct {

	// physical bytes
	PhysicalBytes int64 `json:"physical_bytes,omitempty"`

	// usable bytes
	UsableBytes int64 `json:"usable_bytes,omitempty"`
}

Memory memory

swagger:model memory

func (*Memory) ContextValidate added in v0.2.0

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

ContextValidate validates this memory based on context it is used

func (*Memory) MarshalBinary

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

MarshalBinary interface implementation

func (*Memory) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Memory) Validate

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

Validate validates this memory

type Message

type Message struct {

	// Content
	Content interface{} `json:"content,omitempty"`

	// directive
	Directive string `json:"directive,omitempty"`

	// message id
	MessageID string `json:"message_id,omitempty"`

	// metadata
	Metadata interface{} `json:"metadata,omitempty"`

	// response to
	ResponseTo string `json:"response_to,omitempty"`

	// sent
	// Format: date-time
	Sent strfmt.DateTime `json:"sent,omitempty"`

	// type
	// Enum: [connection-status command event data]
	Type string `json:"type,omitempty"`

	// version
	Version int64 `json:"version,omitempty"`
}

Message message

swagger:model message

func (*Message) ContextValidate added in v0.2.0

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

ContextValidate validates this message based on context it is used

func (*Message) MarshalBinary

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

MarshalBinary interface implementation

func (*Message) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Message) Validate

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

Validate validates this message

type MessageResponse

type MessageResponse struct {

	// Content
	Content interface{} `json:"content,omitempty"`

	// directive
	Directive string `json:"directive,omitempty"`

	// message id
	MessageID string `json:"message_id,omitempty"`
}

MessageResponse message response

swagger:model message-response

func (*MessageResponse) ContextValidate added in v0.2.0

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

ContextValidate validates this message response based on context it is used

func (*MessageResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*MessageResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MessageResponse) Validate

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

Validate validates this message response

type Metrics

type Metrics struct {

	// allow list
	AllowList *MetricsAllowList `json:"allow_list,omitempty"`

	// containers
	Containers map[string]ContainerMetrics `json:"containers,omitempty"`

	// Interval(in seconds) to scrape metrics endpoint.
	Interval int32 `json:"interval,omitempty"`

	// Path to use when retrieving metrics
	Path string `json:"path,omitempty"`

	// port
	Port int32 `json:"port,omitempty"`
}

Metrics Metrics endpoint configuration

swagger:model metrics

func (*Metrics) ContextValidate added in v0.2.0

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

ContextValidate validate this metrics based on the context it is used

func (*Metrics) MarshalBinary

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

MarshalBinary interface implementation

func (*Metrics) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Metrics) Validate

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

Validate validates this metrics

type MetricsAllowList

type MetricsAllowList struct {

	// names
	Names []string `json:"names"`
}

MetricsAllowList Specification of system metrics to be collected

swagger:model metrics-allow-list

func (*MetricsAllowList) ContextValidate added in v0.2.0

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

ContextValidate validates this metrics allow list based on context it is used

func (*MetricsAllowList) MarshalBinary

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

MarshalBinary interface implementation

func (*MetricsAllowList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MetricsAllowList) Validate

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

Validate validates this metrics allow list

type MetricsConfiguration

type MetricsConfiguration struct {

	// data transfer
	DataTransfer *ComponentMetricsConfiguration `json:"data-transfer,omitempty"`

	// receiver
	Receiver *MetricsReceiverConfiguration `json:"receiver,omitempty"`

	// retention
	Retention *MetricsRetention `json:"retention,omitempty"`

	// system
	System *ComponentMetricsConfiguration `json:"system,omitempty"`
}

MetricsConfiguration Defines metrics configuration for the device

swagger:model metrics-configuration

func (*MetricsConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validate this metrics configuration based on the context it is used

func (*MetricsConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*MetricsConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MetricsConfiguration) Validate

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

Validate validates this metrics configuration

type MetricsReceiverConfiguration added in v0.1.0

type MetricsReceiverConfiguration struct {

	// ca cert
	CaCert string `json:"caCert,omitempty"`

	// request num samples
	RequestNumSamples int64 `json:"request_num_samples,omitempty"`

	// timeout seconds
	TimeoutSeconds int64 `json:"timeout_seconds,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

MetricsReceiverConfiguration metrics receiver configuration

swagger:model metrics-receiver-configuration

func (*MetricsReceiverConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validates this metrics receiver configuration based on context it is used

func (*MetricsReceiverConfiguration) MarshalBinary added in v0.1.0

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

MarshalBinary interface implementation

func (*MetricsReceiverConfiguration) UnmarshalBinary added in v0.1.0

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

UnmarshalBinary interface implementation

func (*MetricsReceiverConfiguration) Validate added in v0.1.0

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

Validate validates this metrics receiver configuration

type MetricsRetention

type MetricsRetention struct {

	// Maximum time in hours metrics data files should kept on the device
	MaxHours int32 `json:"max_hours,omitempty"`

	// Maximum size of metrics stored on disk
	MaxMib int32 `json:"max_mib,omitempty"`
}

MetricsRetention Defines metrics data retention limits

swagger:model metrics-retention

func (*MetricsRetention) ContextValidate added in v0.2.0

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

ContextValidate validates this metrics retention based on context it is used

func (*MetricsRetention) MarshalBinary

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

MarshalBinary interface implementation

func (*MetricsRetention) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MetricsRetention) Validate

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

Validate validates this metrics retention

type Mount added in v0.2.0

type Mount struct {

	// path of the device to be mounted
	Device string `json:"device,omitempty"`

	// destination directory
	Directory string `json:"directory,omitempty"`

	// mount options
	Options string `json:"options,omitempty"`

	// type of the mount
	Type string `json:"type,omitempty"`
}

Mount mount

swagger:model mount

func (*Mount) ContextValidate added in v0.2.0

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

ContextValidate validates this mount based on context it is used

func (*Mount) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*Mount) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*Mount) Validate added in v0.2.0

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

Validate validates this mount

type OsInformation

type OsInformation struct {

	// automatically upgrade the OS image
	AutomaticallyUpgrade bool `json:"automatically_upgrade,omitempty"`

	// the last commit ID
	CommitID string `json:"commit_id,omitempty"`

	// the URL of the hosted commits web server
	HostedObjectsURL string `json:"hosted_objects_url,omitempty"`
}

OsInformation OS lifecycle information

swagger:model os-information

func (*OsInformation) ContextValidate added in v0.2.0

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

ContextValidate validates this os information based on context it is used

func (*OsInformation) MarshalBinary

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

MarshalBinary interface implementation

func (*OsInformation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OsInformation) Validate

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

Validate validates this os information

type RegistrationInfo

type RegistrationInfo struct {

	// Certificate Signing Request to be signed by flotta-operator CA
	CertificateRequest string `json:"certificate_request,omitempty"`

	// hardware
	Hardware *HardwareInfo `json:"hardware,omitempty"`
}

RegistrationInfo registration info

swagger:model registration-info

func (*RegistrationInfo) ContextValidate added in v0.2.0

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

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

func (*RegistrationInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*RegistrationInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RegistrationInfo) Validate

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

Validate validates this registration info

type RegistrationResponse

type RegistrationResponse struct {

	// Client certificate to be used in future operations
	Certificate string `json:"certificate,omitempty"`
}

RegistrationResponse registration response

swagger:model registration-response

func (*RegistrationResponse) ContextValidate added in v0.2.0

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

ContextValidate validates this registration response based on context it is used

func (*RegistrationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RegistrationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RegistrationResponse) Validate

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

Validate validates this registration response

type S3StorageConfiguration

type S3StorageConfiguration struct {

	// aws access key id
	AwsAccessKeyID string `json:"aws_access_key_id,omitempty"`

	// aws ca bundle
	AwsCaBundle string `json:"aws_ca_bundle,omitempty"`

	// aws secret access key
	AwsSecretAccessKey string `json:"aws_secret_access_key,omitempty"`

	// bucket host
	BucketHost string `json:"bucket_host,omitempty"`

	// bucket name
	BucketName string `json:"bucket_name,omitempty"`

	// bucket port
	BucketPort int32 `json:"bucket_port,omitempty"`

	// bucket region
	BucketRegion string `json:"bucket_region,omitempty"`
}

S3StorageConfiguration s3 storage configuration

swagger:model s3-storage-configuration

func (*S3StorageConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validates this s3 storage configuration based on context it is used

func (*S3StorageConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*S3StorageConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*S3StorageConfiguration) Validate

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

Validate validates this s3 storage configuration

type Secret

type Secret struct {

	// The secret's data section in JSON format
	Data string `json:"data,omitempty"`

	// Name of the secret
	Name string `json:"name,omitempty"`
}

Secret secret

swagger:model secret

func (*Secret) ContextValidate added in v0.2.0

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

ContextValidate validates this secret based on context it is used

func (*Secret) MarshalBinary

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

MarshalBinary interface implementation

func (*Secret) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Secret) Validate

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

Validate validates this secret

type SecretList

type SecretList []*Secret

SecretList List of secrets used by the workloads

swagger:model secret-list

func (SecretList) ContextValidate added in v0.2.0

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

ContextValidate validate this secret list based on the context it is used

func (SecretList) Validate

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

Validate validates this secret list

type StorageConfiguration

type StorageConfiguration struct {

	// s3
	S3 *S3StorageConfiguration `json:"s3,omitempty"`
}

StorageConfiguration storage configuration

swagger:model storage-configuration

func (*StorageConfiguration) ContextValidate added in v0.2.0

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

ContextValidate validate this storage configuration based on the context it is used

func (*StorageConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageConfiguration) Validate

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

Validate validates this storage configuration

type SystemVendor

type SystemVendor struct {

	// manufacturer
	Manufacturer string `json:"manufacturer,omitempty"`

	// product name
	ProductName string `json:"product_name,omitempty"`

	// serial number
	SerialNumber string `json:"serial_number,omitempty"`

	// Whether the machine appears to be a virtual machine or not
	Virtual bool `json:"virtual,omitempty"`
}

SystemVendor system vendor

swagger:model system_vendor

func (*SystemVendor) ContextValidate added in v0.2.0

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

ContextValidate validates this system vendor based on context it is used

func (*SystemVendor) MarshalBinary

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

MarshalBinary interface implementation

func (*SystemVendor) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SystemVendor) Validate

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

Validate validates this system vendor

type UpgradeStatus

type UpgradeStatus struct {

	// current commit ID
	CurrentCommitID string `json:"current_commit_ID,omitempty"`

	// last upgrade status
	// Enum: [succeeded failed]
	LastUpgradeStatus string `json:"last_upgrade_status,omitempty"`

	// last upgrade time
	LastUpgradeTime string `json:"last_upgrade_time,omitempty"`
}

UpgradeStatus Upgrade status

swagger:model upgrade-status

func (*UpgradeStatus) ContextValidate added in v0.2.0

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

ContextValidate validates this upgrade status based on context it is used

func (*UpgradeStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*UpgradeStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpgradeStatus) Validate

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

Validate validates this upgrade status

type Workload

type Workload struct {

	// Workload Annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// configmaps
	Configmaps ConfigmapList `json:"configmaps,omitempty"`

	// data
	Data *DataConfiguration `json:"data,omitempty"`

	// image registries
	ImageRegistries *ImageRegistries `json:"imageRegistries,omitempty"`

	// Workload labels
	Labels map[string]string `json:"labels,omitempty"`

	// Log collection target for this workload
	LogCollection string `json:"log_collection,omitempty"`

	// metrics
	Metrics *Metrics `json:"metrics,omitempty"`

	// Name of the workload
	Name string `json:"name,omitempty"`

	// Namespace of the workload
	Namespace string `json:"namespace,omitempty"`

	// specification
	Specification string `json:"specification,omitempty"`
}

Workload workload

swagger:model workload

func (*Workload) ContextValidate added in v0.2.0

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

ContextValidate validate this workload based on the context it is used

func (*Workload) MarshalBinary

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

MarshalBinary interface implementation

func (*Workload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Workload) Validate

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

Validate validates this workload

type WorkloadList

type WorkloadList []*Workload

WorkloadList List of workloads deployed to the device

swagger:model workload-list

func (WorkloadList) ContextValidate added in v0.2.0

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

ContextValidate validate this workload list based on the context it is used

func (WorkloadList) Validate

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

Validate validates this workload list

type WorkloadStatus

type WorkloadStatus struct {

	// last data upload
	// Format: date-time
	LastDataUpload strfmt.DateTime `json:"last_data_upload,omitempty"`

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

	// status
	// Enum: [deploying running crashed stopped]
	Status string `json:"status,omitempty"`
}

WorkloadStatus workload status

swagger:model workload-status

func (*WorkloadStatus) ContextValidate added in v0.2.0

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

ContextValidate validates this workload status based on context it is used

func (*WorkloadStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*WorkloadStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WorkloadStatus) Validate

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

Validate validates this workload status

Jump to

Keyboard shortcuts

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