No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: v1beta1
- Package version: 1.0.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import harvester "github.com/drewmullen/harvester-go-sdk"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
For using other server than the one defined on index 0 set context value harvester.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), harvester.ContextServerIndex, 1)
Templated server URL is formatted using default variables from configuration or from context value harvester.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), harvester.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using harvester.ContextOperationServerIndices
and harvester.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), harvester.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), harvester.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
BackupsAPI | CreateNamespacedVirtualMachineBackup | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinebackups | Create a Namespaced Virtual Machine Backup |
BackupsAPI | DeleteNamespacedVirtualMachineBackup | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinebackups/{name} | Delete a Namespaced Virtual Machine Backup |
BackupsAPI | ListNamespacedVirtualMachineBackup | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinebackups | List Namespaced Virtual Machine Backups |
BackupsAPI | ListVirtualMachineBackupForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/virtualmachinebackups | List Virtual Machine Backups For All Namespaces |
BackupsAPI | PatchNamespacedVirtualMachineBackup | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinebackups/{name} | Patch a Namespaced Virtual Machine Backup |
BackupsAPI | ReadNamespacedVirtualMachineBackup | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinebackups/{name} | Read a Namespaced Virtual Machine Backup |
BackupsAPI | ReplaceNamespacedVirtualMachineBackup | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinebackups/{name} | Replace a Namespaced Virtual Machine Backup |
ImagesAPI | CreateNamespacedVirtualMachineImage | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachineimages | Create a Namespaced Virtual Machine Image |
ImagesAPI | DeleteNamespacedVirtualMachineImage | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachineimages/{name} | Delete a Namespaced Virtual Machine Image |
ImagesAPI | ListNamespacedVirtualMachineImage | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachineimages | List Namespaced Virtual Machine Images |
ImagesAPI | ListVirtualMachineImageForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/virtualmachineimages | List Virtual Machine Images For All Namespaces |
ImagesAPI | PatchNamespacedVirtualMachineImage | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachineimages/{name} | Patch a Namespaced Virtual Machine Image |
ImagesAPI | ReadNamespacedVirtualMachineImage | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachineimages/{name} | Read a Namespaced Virtual Machine Image |
ImagesAPI | ReplaceNamespacedVirtualMachineImage | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachineimages/{name} | Replace a Namespaced Virtual Machine Image |
MigrationsAPI | CreateNamespacedVirtualMachineInstanceMigration | Post /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations | Create a Namespaced Virtual Machine Instance Migration |
MigrationsAPI | DeleteNamespacedVirtualMachineInstanceMigration | Delete /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name} | Delete a Namespaced Virtual Machine Instance Migration |
MigrationsAPI | ListNamespacedVirtualMachineInstanceMigration | Get /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations | List Namespaced Virtual Machine Instance Migrations |
MigrationsAPI | ListVirtualMachineInstanceMigrationForAllNamespaces | Get /apis/kubevirt.io/v1/virtualmachineinstancemigrations | List Virtual Machine Instance Migrations For All Namespaces |
MigrationsAPI | PatchNamespacedVirtualMachineInstanceMigration | Patch /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name} | Patch a Namespaced Virtual Machine Instance Migration |
MigrationsAPI | ReadNamespacedVirtualMachineInstanceMigration | Get /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name} | Read a Namespaced Virtual Machine Instance Migration |
MigrationsAPI | ReplaceNamespacedVirtualMachineInstanceMigration | Put /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name} | Replace a Namespaced Virtual Machine Instance Migration |
NetworksAPI | CreateNamespacedClusterNetwork | Post /apis/network.harvesterhci.io/v1beta1/clusternetworks | Create a Namespaced Cluster Network |
NetworksAPI | CreateNamespacedNetworkAttachmentDefinition | Post /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions | Create a Namespaced Network Attachment Definition |
NetworksAPI | CreateNamespacedNodeNetwork | Post /apis/network.harvesterhci.io/v1beta1/nodenetworks | Create a Namespaced Node Network |
NetworksAPI | DeleteNamespacedClusterNetwork | Delete /apis/network.harvesterhci.io/v1beta1/clusternetworks/{name} | Delete a Namespaced Cluster Network |
NetworksAPI | DeleteNamespacedNetworkAttachmentDefinition | Delete /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions/{name} | Delete a Namespaced Network Attachment Definition |
NetworksAPI | DeleteNamespacedNodeNetwork | Delete /apis/network.harvesterhci.io/v1beta1/nodenetworks/{name} | Delete a Namespaced Node Network |
NetworksAPI | ListNamespacedClusterNetwork | Get /apis/network.harvesterhci.io/v1beta1/clusternetworks | List Namespaced Cluster Networks |
NetworksAPI | ListNamespacedNetworkAttachmentDefinition | Get /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions | List Namespaced Network Attachment Definitions |
NetworksAPI | ListNamespacedNodeNetwork | Get /apis/network.harvesterhci.io/v1beta1/nodenetworks | List Namespaced Node Networks |
NetworksAPI | ListNetworkAttachmentDefinitionForAllNamespaces | Get /apis/k8s.cni.cncf.io/v1/network-attachment-definitions | List Network Attachment Definitions For All Namespaces |
NetworksAPI | PatchNamespacedClusterNetwork | Patch /apis/network.harvesterhci.io/v1beta1/clusternetworks/{name} | Patch a Namespaced Cluster Network |
NetworksAPI | PatchNamespacedNetworkAttachmentDefinition | Patch /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions/{name} | Patch a Namespaced Network Attachment Definition |
NetworksAPI | PatchNamespacedNodeNetwork | Patch /apis/network.harvesterhci.io/v1beta1/nodenetworks/{name} | Patch a Namespaced Node Network |
NetworksAPI | ReadNamespacedClusterNetwork | Get /apis/network.harvesterhci.io/v1beta1/clusternetworks/{name} | Read a Namespaced Cluster Network |
NetworksAPI | ReadNamespacedNetworkAttachmentDefinition | Get /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions/{name} | Read a Namespaced Network Attachment Definition |
NetworksAPI | ReadNamespacedNodeNetwork | Get /apis/network.harvesterhci.io/v1beta1/nodenetworks/{name} | Read a Namespaced Node Network |
NetworksAPI | ReplaceNamespacedClusterNetwork | Put /apis/network.harvesterhci.io/v1beta1/clusternetworks/{name} | Replace a Namespaced Cluster Network |
NetworksAPI | ReplaceNamespacedNetworkAttachmentDefinition | Put /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions/{name} | Replace a Namespaced Network Attachment Definition |
NetworksAPI | ReplaceNamespacedNodeNetwork | Put /apis/network.harvesterhci.io/v1beta1/nodenetworks/{name} | Replace a Namespaced Node Network |
RestoresAPI | CreateNamespacedVirtualMachineRestore | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinerestores | Create a Namespaced Virtual Machine Restore |
RestoresAPI | DeleteNamespacedVirtualMachineRestore | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name} | Delete a Namespaced Virtual Machine Restore |
RestoresAPI | ListNamespacedVirtualMachineRestore | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinerestores | List Namespaced Virtual Machine Restores |
RestoresAPI | ListVirtualMachineRestoreForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/virtualmachinerestores | List Virtual Machine Restores For All Namespaces |
RestoresAPI | PatchNamespacedVirtualMachineRestore | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name} | Patch a Namespaced Virtual Machine Restore |
RestoresAPI | ReadNamespacedVirtualMachineRestore | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name} | Read a Namespaced Virtual Machine Restore |
RestoresAPI | ReplaceNamespacedVirtualMachineRestore | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name} | Replace a Namespaced Virtual Machine Restore |
SSHKeysAPI | CreateNamespacedKeyPair | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/keypairs | Create a Namespaced Key Pair |
SSHKeysAPI | DeleteNamespacedKeyPair | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/keypairs/{name} | Delete a Namespaced Key Pair |
SSHKeysAPI | ListKeyPairForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/keypairs | List Key Pairs For All Namespaces |
SSHKeysAPI | ListNamespacedKeyPair | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/keypairs | List Namespaced Key Pairs |
SSHKeysAPI | PatchNamespacedKeyPair | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/keypairs/{name} | Patch a Namespaced Key Pair |
SSHKeysAPI | ReadNamespacedKeyPair | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/keypairs/{name} | Read a Namespaced Key Pair |
SSHKeysAPI | ReplaceNamespacedKeyPair | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/keypairs/{name} | Replace a Namespaced Key Pair |
SupportBundlesAPI | CreateNamespacedSupportBundle | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/supportbundles | Create a Namespaced Support Bundle |
SupportBundlesAPI | DeleteNamespacedSupportBundle | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/supportbundles/{name} | Delete a Namespaced Support Bundle |
SupportBundlesAPI | ListNamespacedSupportBundle | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/supportbundles | List Namespaced Support Bundles |
SupportBundlesAPI | ListSupportBundleForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/supportbundles | List Support Bundles For All Namespaces |
SupportBundlesAPI | PatchNamespacedSupportBundle | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/supportbundles/{name} | Patch a Namespaced Support Bundle |
SupportBundlesAPI | ReadNamespacedSupportBundle | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/supportbundles/{name} | Read a Namespaced Support Bundle |
SupportBundlesAPI | ReplaceNamespacedSupportBundle | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/supportbundles/{name} | Replace a Namespaced Support Bundle |
UpgradesAPI | CreateNamespacedUpgrade | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/upgrades | Create a Namespaced Upgrade |
UpgradesAPI | DeleteNamespacedUpgrade | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/upgrades/{name} | Delete a Namespaced Upgrade |
UpgradesAPI | ListNamespacedUpgrade | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/upgrades | List Namespaced Upgrades |
UpgradesAPI | ListUpgradeForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/upgrades | List Upgrades For All Namespaces |
UpgradesAPI | PatchNamespacedUpgrade | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/upgrades/{name} | Patch a Namespaced Upgrade |
UpgradesAPI | ReadNamespacedUpgrade | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/upgrades/{name} | Read a Namespaced Upgrade |
UpgradesAPI | ReplaceNamespacedUpgrade | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/upgrades/{name} | Replace a Namespaced Upgrade |
VirtualMachineTemplatesAPI | CreateNamespacedVirtualMachineTemplate | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplates | Create a Namespaced Virtual Machine Template |
VirtualMachineTemplatesAPI | CreateNamespacedVirtualMachineTemplateVersion | Post /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplateversions | Create a Namespaced Virtual Machine Template Version |
VirtualMachineTemplatesAPI | DeleteNamespacedVirtualMachineTemplate | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplates/{name} | Delete a Namespaced Virtual Machine Template |
VirtualMachineTemplatesAPI | DeleteNamespacedVirtualMachineTemplateVersion | Delete /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplateversions/{name} | Delete a Namespaced Virtual Machine Template Version |
VirtualMachineTemplatesAPI | ListNamespacedVirtualMachineTemplate | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplates | List Namespaced Virtual Machine Templates |
VirtualMachineTemplatesAPI | ListNamespacedVirtualMachineTemplateVersion | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplateversions | List Namespaced Virtual Machine Template Versions |
VirtualMachineTemplatesAPI | ListVirtualMachineTemplateForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/virtualmachinetemplates | List Virtual Machine Templates For All Namespaces |
VirtualMachineTemplatesAPI | ListVirtualMachineTemplateVersionForAllNamespaces | Get /apis/harvesterhci.io/v1beta1/virtualmachinetemplateversions | List Virtual Machine Template Versions For All Namespaces |
VirtualMachineTemplatesAPI | PatchNamespacedVirtualMachineTemplate | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplates/{name} | Patch a Namespaced Virtual Machine Template |
VirtualMachineTemplatesAPI | PatchNamespacedVirtualMachineTemplateVersion | Patch /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplateversions/{name} | Patch a Namespaced Virtual Machine Template Version |
VirtualMachineTemplatesAPI | ReadNamespacedVirtualMachineTemplate | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplates/{name} | Read a Namespaced Virtual Machine Template |
VirtualMachineTemplatesAPI | ReadNamespacedVirtualMachineTemplateVersion | Get /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplateversions/{name} | Read a Namespaced Virtual Machine Template Version |
VirtualMachineTemplatesAPI | ReplaceNamespacedVirtualMachineTemplate | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplates/{name} | Replace a Namespaced Virtual Machine Template |
VirtualMachineTemplatesAPI | ReplaceNamespacedVirtualMachineTemplateVersion | Put /apis/harvesterhci.io/v1beta1/namespaces/{namespace}/virtualmachinetemplateversions/{name} | Replace a Namespaced Virtual Machine Template Version |
VirtualMachinesAPI | CreateNamespacedVirtualMachine | Post /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines | Create a Namespaced Virtual Machine |
VirtualMachinesAPI | DeleteNamespacedVirtualMachine | Delete /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name} | Delete a Namespaced Virtual Machine |
VirtualMachinesAPI | ListNamespacedVirtualMachine | Get /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines | List Namespaced Virtual Machines |
VirtualMachinesAPI | ListNamespacedVirtualMachineInstance | Get /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances | List Namespaced Virtual Machine Instances |
VirtualMachinesAPI | ListVirtualMachineForAllNamespaces | Get /apis/kubevirt.io/v1/virtualmachines | List Virtual Machines For All Namespaces |
VirtualMachinesAPI | ListVirtualMachineInstanceForAllNamespaces | Get /apis/kubevirt.io/v1/virtualmachineinstances | List Virtual Machine Instances For All Namespaces |
VirtualMachinesAPI | PatchNamespacedVirtualMachine | Patch /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name} | Patch a Namespaced Virtual Machine |
VirtualMachinesAPI | ReadNamespacedVirtualMachine | Get /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name} | Read a Namespaced Virtual Machine |
VirtualMachinesAPI | ReadNamespacedVirtualMachineInstance | Get /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name} | Read a Namespaced Virtual Machine Instance |
VirtualMachinesAPI | ReplaceNamespacedVirtualMachine | Put /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name} | Replace a Namespaced Virtual Machine |
VolumesAPI | CreateNamespacedPersistentVolumeClaim | Post /api/v1/namespaces/{namespace}/persistentvolumeclaims | Create a Namespaced Persistent Volume Claim |
VolumesAPI | DeleteNamespacedPersistentVolumeClaim | Delete /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | Delete a Namespaced Persistent Volume Claim |
VolumesAPI | ListNamespacedPersistentVolumeClaim | Get /api/v1/namespaces/{namespace}/persistentvolumeclaims | List Namespaced Persistent Volume Claims |
VolumesAPI | ListPersistentVolumeClaimForAllNamespaces | Get /api/v1/persistentvolumeclaims | List Persistent Volume Claims For All Namespaces |
VolumesAPI | PatchNamespacedPersistentVolumeClaim | Patch /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | Patch a Namespaced Persistent Volume Claim |
VolumesAPI | ReadNamespacedPersistentVolumeClaim | Get /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | Read a Namespaced Persistent Volume Claim |
VolumesAPI | ReplaceNamespacedPersistentVolumeClaim | Put /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | Replace a Namespaced Persistent Volume Claim |
- HarvesterhciIoV1beta1BackupTarget
- HarvesterhciIoV1beta1Condition
- HarvesterhciIoV1beta1Error
- HarvesterhciIoV1beta1KeyPair
- HarvesterhciIoV1beta1KeyPairList
- HarvesterhciIoV1beta1KeyPairSpec
- HarvesterhciIoV1beta1KeyPairStatus
- HarvesterhciIoV1beta1NodeUpgradeStatus
- HarvesterhciIoV1beta1PersistentVolumeClaimSourceSpec
- HarvesterhciIoV1beta1SecretBackup
- HarvesterhciIoV1beta1SupportBundle
- HarvesterhciIoV1beta1SupportBundleList
- HarvesterhciIoV1beta1SupportBundleSpec
- HarvesterhciIoV1beta1SupportBundleStatus
- HarvesterhciIoV1beta1Upgrade
- HarvesterhciIoV1beta1UpgradeList
- HarvesterhciIoV1beta1UpgradeSpec
- HarvesterhciIoV1beta1UpgradeStatus
- HarvesterhciIoV1beta1VirtualMachineBackup
- HarvesterhciIoV1beta1VirtualMachineBackupList
- HarvesterhciIoV1beta1VirtualMachineBackupSpec
- HarvesterhciIoV1beta1VirtualMachineBackupStatus
- HarvesterhciIoV1beta1VirtualMachineImage
- HarvesterhciIoV1beta1VirtualMachineImageList
- HarvesterhciIoV1beta1VirtualMachineImageSpec
- HarvesterhciIoV1beta1VirtualMachineImageStatus
- HarvesterhciIoV1beta1VirtualMachineRestore
- HarvesterhciIoV1beta1VirtualMachineRestoreList
- HarvesterhciIoV1beta1VirtualMachineRestoreSpec
- HarvesterhciIoV1beta1VirtualMachineRestoreStatus
- HarvesterhciIoV1beta1VirtualMachineSourceSpec
- HarvesterhciIoV1beta1VirtualMachineTemplate
- HarvesterhciIoV1beta1VirtualMachineTemplateList
- HarvesterhciIoV1beta1VirtualMachineTemplateSpec
- HarvesterhciIoV1beta1VirtualMachineTemplateStatus
- HarvesterhciIoV1beta1VirtualMachineTemplateVersion
- HarvesterhciIoV1beta1VirtualMachineTemplateVersionList
- HarvesterhciIoV1beta1VirtualMachineTemplateVersionSpec
- HarvesterhciIoV1beta1VirtualMachineTemplateVersionStatus
- HarvesterhciIoV1beta1VolumeBackup
- HarvesterhciIoV1beta1VolumeRestore
- K8sCniCncfIoV1NetworkAttachmentDefinition
- K8sCniCncfIoV1NetworkAttachmentDefinitionList
- K8sCniCncfIoV1NetworkAttachmentDefinitionSpec
- K8sIoV1Affinity
- K8sIoV1DeleteOptions
- K8sIoV1DownwardAPIVolumeFile
- K8sIoV1ExecAction
- K8sIoV1HTTPGetAction
- K8sIoV1HTTPHeader
- K8sIoV1LabelSelector
- K8sIoV1LabelSelectorRequirement
- K8sIoV1ListMeta
- K8sIoV1LocalObjectReference
- K8sIoV1ManagedFieldsEntry
- K8sIoV1NodeAffinity
- K8sIoV1NodeSelector
- K8sIoV1NodeSelectorRequirement
- K8sIoV1NodeSelectorTerm
- K8sIoV1ObjectFieldSelector
- K8sIoV1ObjectMeta
- K8sIoV1OwnerReference
- K8sIoV1PersistentVolumeClaim
- K8sIoV1PersistentVolumeClaimCondition
- K8sIoV1PersistentVolumeClaimList
- K8sIoV1PersistentVolumeClaimSpec
- K8sIoV1PersistentVolumeClaimStatus
- K8sIoV1PersistentVolumeClaimVolumeSource
- K8sIoV1PodAffinity
- K8sIoV1PodAffinityTerm
- K8sIoV1PodAntiAffinity
- K8sIoV1PodDNSConfig
- K8sIoV1PodDNSConfigOption
- K8sIoV1Preconditions
- K8sIoV1PreferredSchedulingTerm
- K8sIoV1ResourceClaim
- K8sIoV1ResourceFieldSelector
- K8sIoV1ResourceRequirements
- K8sIoV1TCPSocketAction
- K8sIoV1Toleration
- K8sIoV1TopologySpreadConstraint
- K8sIoV1TypedLocalObjectReference
- K8sIoV1TypedObjectReference
- K8sIoV1WeightedPodAffinityTerm
- KubevirtIoApiCoreV1AccessCredential
- KubevirtIoApiCoreV1AccessCredentialSecretSource
- KubevirtIoApiCoreV1AddVolumeOptions
- KubevirtIoApiCoreV1BIOS
- KubevirtIoApiCoreV1BlockSize
- KubevirtIoApiCoreV1Bootloader
- KubevirtIoApiCoreV1CDRomTarget
- KubevirtIoApiCoreV1CPU
- KubevirtIoApiCoreV1CPUFeature
- KubevirtIoApiCoreV1CPUTopology
- KubevirtIoApiCoreV1Chassis
- KubevirtIoApiCoreV1Clock
- KubevirtIoApiCoreV1ClockOffsetUTC
- KubevirtIoApiCoreV1CloudInitConfigDriveSource
- KubevirtIoApiCoreV1CloudInitNoCloudSource
- KubevirtIoApiCoreV1ConfigMapVolumeSource
- KubevirtIoApiCoreV1ContainerDiskInfo
- KubevirtIoApiCoreV1ContainerDiskSource
- KubevirtIoApiCoreV1CustomBlockSize
- KubevirtIoApiCoreV1DHCPOptions
- KubevirtIoApiCoreV1DHCPPrivateOptions
- KubevirtIoApiCoreV1DataVolumeSource
- KubevirtIoApiCoreV1DataVolumeTemplateSpec
- KubevirtIoApiCoreV1Devices
- KubevirtIoApiCoreV1Disk
- KubevirtIoApiCoreV1DiskTarget
- KubevirtIoApiCoreV1DomainMemoryDumpInfo
- KubevirtIoApiCoreV1DomainSpec
- KubevirtIoApiCoreV1DownwardAPIVolumeSource
- KubevirtIoApiCoreV1EFI
- KubevirtIoApiCoreV1EmptyDiskSource
- KubevirtIoApiCoreV1EphemeralVolumeSource
- KubevirtIoApiCoreV1FeatureAPIC
- KubevirtIoApiCoreV1FeatureHyperv
- KubevirtIoApiCoreV1FeatureKVM
- KubevirtIoApiCoreV1FeatureSpinlocks
- KubevirtIoApiCoreV1FeatureState
- KubevirtIoApiCoreV1FeatureVendorID
- KubevirtIoApiCoreV1Features
- KubevirtIoApiCoreV1Filesystem
- KubevirtIoApiCoreV1Firmware
- KubevirtIoApiCoreV1GPU
- KubevirtIoApiCoreV1HPETTimer
- KubevirtIoApiCoreV1HostDevice
- KubevirtIoApiCoreV1HostDisk
- KubevirtIoApiCoreV1HotplugVolumeSource
- KubevirtIoApiCoreV1HotplugVolumeStatus
- KubevirtIoApiCoreV1Hugepages
- KubevirtIoApiCoreV1HypervTimer
- KubevirtIoApiCoreV1I6300ESBWatchdog
- KubevirtIoApiCoreV1InitrdInfo
- KubevirtIoApiCoreV1Input
- KubevirtIoApiCoreV1InstancetypeMatcher
- KubevirtIoApiCoreV1Interface
- KubevirtIoApiCoreV1KVMTimer
- KubevirtIoApiCoreV1KernelBoot
- KubevirtIoApiCoreV1KernelBootContainer
- KubevirtIoApiCoreV1KernelBootStatus
- KubevirtIoApiCoreV1KernelInfo
- KubevirtIoApiCoreV1LaunchSecurity
- KubevirtIoApiCoreV1LiveUpdateCPU
- KubevirtIoApiCoreV1LiveUpdateFeatures
- KubevirtIoApiCoreV1LiveUpdateMemory
- KubevirtIoApiCoreV1LunTarget
- KubevirtIoApiCoreV1Machine
- KubevirtIoApiCoreV1Memory
- KubevirtIoApiCoreV1MemoryDumpVolumeSource
- KubevirtIoApiCoreV1MemoryStatus
- KubevirtIoApiCoreV1MigrationConfiguration
- KubevirtIoApiCoreV1MultusNetwork
- KubevirtIoApiCoreV1NUMA
- KubevirtIoApiCoreV1Network
- KubevirtIoApiCoreV1PITTimer
- KubevirtIoApiCoreV1PersistentVolumeClaimInfo
- KubevirtIoApiCoreV1PersistentVolumeClaimVolumeSource
- KubevirtIoApiCoreV1PluginBinding
- KubevirtIoApiCoreV1PodNetwork
- KubevirtIoApiCoreV1Port
- KubevirtIoApiCoreV1PreferenceMatcher
- KubevirtIoApiCoreV1Probe
- KubevirtIoApiCoreV1QemuGuestAgentSSHPublicKeyAccessCredentialPropagation
- KubevirtIoApiCoreV1RTCTimer
- KubevirtIoApiCoreV1Realtime
- KubevirtIoApiCoreV1RemoveVolumeOptions
- KubevirtIoApiCoreV1ResourceRequirements
- KubevirtIoApiCoreV1SEV
- KubevirtIoApiCoreV1SEVPolicy
- KubevirtIoApiCoreV1SSHPublicKeyAccessCredential
- KubevirtIoApiCoreV1SSHPublicKeyAccessCredentialPropagationMethod
- KubevirtIoApiCoreV1SSHPublicKeyAccessCredentialSource
- KubevirtIoApiCoreV1SecretVolumeSource
- KubevirtIoApiCoreV1ServiceAccountVolumeSource
- KubevirtIoApiCoreV1SoundDevice
- KubevirtIoApiCoreV1SyNICTimer
- KubevirtIoApiCoreV1SysprepSource
- KubevirtIoApiCoreV1TPMDevice
- KubevirtIoApiCoreV1Timer
- KubevirtIoApiCoreV1TopologyHints
- KubevirtIoApiCoreV1UserPasswordAccessCredential
- KubevirtIoApiCoreV1UserPasswordAccessCredentialPropagationMethod
- KubevirtIoApiCoreV1UserPasswordAccessCredentialSource
- KubevirtIoApiCoreV1VGPUDisplayOptions
- KubevirtIoApiCoreV1VGPUOptions
- KubevirtIoApiCoreV1VirtualMachine
- KubevirtIoApiCoreV1VirtualMachineCondition
- KubevirtIoApiCoreV1VirtualMachineInstance
- KubevirtIoApiCoreV1VirtualMachineInstanceCondition
- KubevirtIoApiCoreV1VirtualMachineInstanceGuestOSInfo
- KubevirtIoApiCoreV1VirtualMachineInstanceList
- KubevirtIoApiCoreV1VirtualMachineInstanceMigration
- KubevirtIoApiCoreV1VirtualMachineInstanceMigrationCondition
- KubevirtIoApiCoreV1VirtualMachineInstanceMigrationList
- KubevirtIoApiCoreV1VirtualMachineInstanceMigrationPhaseTransitionTimestamp
- KubevirtIoApiCoreV1VirtualMachineInstanceMigrationSpec
- KubevirtIoApiCoreV1VirtualMachineInstanceMigrationState
- KubevirtIoApiCoreV1VirtualMachineInstanceMigrationStatus
- KubevirtIoApiCoreV1VirtualMachineInstanceNetworkInterface
- KubevirtIoApiCoreV1VirtualMachineInstancePhaseTransitionTimestamp
- KubevirtIoApiCoreV1VirtualMachineInstanceSpec
- KubevirtIoApiCoreV1VirtualMachineInstanceStatus
- KubevirtIoApiCoreV1VirtualMachineInstanceTemplateSpec
- KubevirtIoApiCoreV1VirtualMachineList
- KubevirtIoApiCoreV1VirtualMachineMemoryDumpRequest
- KubevirtIoApiCoreV1VirtualMachineSpec
- KubevirtIoApiCoreV1VirtualMachineStartFailure
- KubevirtIoApiCoreV1VirtualMachineStateChangeRequest
- KubevirtIoApiCoreV1VirtualMachineStatus
- KubevirtIoApiCoreV1VirtualMachineVolumeRequest
- KubevirtIoApiCoreV1Volume
- KubevirtIoApiCoreV1VolumeSnapshotStatus
- KubevirtIoApiCoreV1VolumeStatus
- KubevirtIoApiCoreV1Watchdog
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeCheckpoint
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSource
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceGCS
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceHTTP
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceImageIO
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourcePVC
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceRef
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceRegistry
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceS3
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceSnapshot
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSourceVDDK
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1DataVolumeSpec
- KubevirtIoContainerizedDataImporterApiPkgApisCoreV1beta1StorageSpec
- NetworkHarvesterhciIoV1beta1ClusterNetwork
- NetworkHarvesterhciIoV1beta1ClusterNetworkList
- NetworkHarvesterhciIoV1beta1ClusterNetworkStatus
- NetworkHarvesterhciIoV1beta1Condition
- NetworkHarvesterhciIoV1beta1LinkStatus
- NetworkHarvesterhciIoV1beta1NetworkInterface
- NetworkHarvesterhciIoV1beta1NodeNetwork
- NetworkHarvesterhciIoV1beta1NodeNetworkList
- NetworkHarvesterhciIoV1beta1NodeNetworkSpec
- NetworkHarvesterhciIoV1beta1NodeNetworkStatus
Authentication schemes defined for the API:
- Type: HTTP basic authentication
Example
auth := context.WithValue(context.Background(), harvester.ContextBasicAuth, harvester.BasicAuth{
UserName: "username",
Password: "password",
})
r, err := client.Service.Operation(auth, args)
- Type: HTTP Bearer token authentication
Example
auth := context.WithValue(context.Background(), harvester.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime