vmwarevcenterhosts

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package vmwarevcenterhosts contains methods related to VmwareVcenterHosts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareVcenterHostsV1

type VmwareVcenterHostsV1 struct {
	// contains filtered or unexported fields
}

VmwareVcenterHostsV1 represents a custom type struct

func (*VmwareVcenterHostsV1) ListVmwareVcenterHosts

func (v *VmwareVcenterHostsV1) ListVmwareVcenterHosts(
	vcenterId string,
	limit *int64,
	start *string,
	filter *string) (
	*models.ListHostsResponse, *apiutils.APIError)

ListVmwareVcenterHosts Returns a list of hosts in the specified vCenter server.

func (*VmwareVcenterHostsV1) ReadVmwareVcenterHost

func (v *VmwareVcenterHostsV1) ReadVmwareVcenterHost(
	vcenterId string,
	hostId string) (
	*models.ReadHostResponse, *apiutils.APIError)

ReadVmwareVcenterHost Returns a representation of the specified host.

type VmwareVcenterHostsV1Client

type VmwareVcenterHostsV1Client interface {
	// ListVmwareVcenterHosts Returns a list of hosts in the specified vCenter server.
	ListVmwareVcenterHosts(
		vcenterId string,
		limit *int64,
		start *string,
		filter *string) (
		*models.ListHostsResponse, *apiutils.APIError)

	// ReadVmwareVcenterHost Returns a representation of the specified host.
	ReadVmwareVcenterHost(
		vcenterId string,
		hostId string) (
		*models.ReadHostResponse, *apiutils.APIError)
}

VmwareVcenterHostsV1Client represents a custom type interface

func NewVmwareVcenterHostsV1

func NewVmwareVcenterHostsV1(config config.Config) VmwareVcenterHostsV1Client

NewVmwareVcenterHostsV1 returns VmwareVcenterHostsV1Client

Jump to

Keyboard shortcuts

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