vcenter_client_factory

package
v0.0.0-...-6157915 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCreator

type ClientCreator struct {
}

func (*ClientCreator) NewClient

func (g *ClientCreator) NewClient(ctx context.Context, rt soap.RoundTripper) (*vim25.Client, error)

type FactoryConfig

type FactoryConfig struct {
	VCenterServer  string
	Username       string
	Password       string
	ClientCreator  Vim25ClientCreator
	FinderCreator  FinderCreator
	RootCACertPath string
}

type FinderCreator

type FinderCreator interface {
	NewFinder(client *vim25.Client, all bool) *find.Finder
}

type GovmomiFinderCreator

type GovmomiFinderCreator struct {
}

func (*GovmomiFinderCreator) NewFinder

func (g *GovmomiFinderCreator) NewFinder(client *vim25.Client, all bool) *find.Finder

type ManagerFactory

type ManagerFactory struct {
	Config FactoryConfig
}

func (*ManagerFactory) SetConfig

func (f *ManagerFactory) SetConfig(config FactoryConfig)

func (*ManagerFactory) VCenterManager

type Vim25ClientCreator

type Vim25ClientCreator interface {
	NewClient(ctx context.Context, rt soap.RoundTripper) (*vim25.Client, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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