Files
kata-containers/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/DeviceNode.md
Fabiano Fidêncio 4c164afbac versions: Update Cloud Hypervisor to 5343e09e7b8db
Let's bump the Cloud Hypervisor version to 5343e09e7b8db, as that brings
a few fixes we're interested in, such as:

* hypervisor, vmm: Handle TDX hypercalls with INVALID_OPERAND
  - https://github.com/cloud-hypervisor/cloud-hypervisor/pull/3723
    - This is needed for the TDX support on the cloud hypervisor driver,
      which is part of this very same series.

* openapi: Update the PciBdf types
  - https://github.com/cloud-hypervisor/cloud-hypervisor/pull/3748
    - This is needed due to a change in a DeviceNode field, which would
      cause a marshalling / demarshalling error when running with a
      version of cloud-hypervisor that includes the TDX fixes mentioned
      above.

* scripts: dev_cli: Don't quote $features_build
* scripts: dev_cli: Add --features option
  - https://github.com/cloud-hypervisor/cloud-hypervisor/pull/3773
    - This is needed due to changes in the scripts used to build Cloud
      Hypervisor, which are used as part of Kata Containers CIs and
      github actions.

      Due to this change, we're also adapting the build scripts as part
      of this very same commit.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2022-02-25 16:49:16 +01:00

3.3 KiB

DeviceNode

Properties

Name Type Description Notes
Id Pointer to string [optional]
Resources Pointer to []map[string]interface{} [optional]
Children Pointer to []string [optional]
PciBdf Pointer to string [optional]

Methods

NewDeviceNode

func NewDeviceNode() *DeviceNode

NewDeviceNode instantiates a new DeviceNode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewDeviceNodeWithDefaults

func NewDeviceNodeWithDefaults() *DeviceNode

NewDeviceNodeWithDefaults instantiates a new DeviceNode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetId

func (o *DeviceNode) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *DeviceNode) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *DeviceNode) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *DeviceNode) HasId() bool

HasId returns a boolean if a field has been set.

GetResources

func (o *DeviceNode) GetResources() []map[string]interface{}

GetResources returns the Resources field if non-nil, zero value otherwise.

GetResourcesOk

func (o *DeviceNode) GetResourcesOk() (*[]map[string]interface{}, bool)

GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetResources

func (o *DeviceNode) SetResources(v []map[string]interface{})

SetResources sets Resources field to given value.

HasResources

func (o *DeviceNode) HasResources() bool

HasResources returns a boolean if a field has been set.

GetChildren

func (o *DeviceNode) GetChildren() []string

GetChildren returns the Children field if non-nil, zero value otherwise.

GetChildrenOk

func (o *DeviceNode) GetChildrenOk() (*[]string, bool)

GetChildrenOk returns a tuple with the Children field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetChildren

func (o *DeviceNode) SetChildren(v []string)

SetChildren sets Children field to given value.

HasChildren

func (o *DeviceNode) HasChildren() bool

HasChildren returns a boolean if a field has been set.

GetPciBdf

func (o *DeviceNode) GetPciBdf() string

GetPciBdf returns the PciBdf field if non-nil, zero value otherwise.

GetPciBdfOk

func (o *DeviceNode) GetPciBdfOk() (*string, bool)

GetPciBdfOk returns a tuple with the PciBdf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPciBdf

func (o *DeviceNode) SetPciBdf(v string)

SetPciBdf sets PciBdf field to given value.

HasPciBdf

func (o *DeviceNode) HasPciBdf() bool

HasPciBdf returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]