ovirt

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	ApiURL   string
	Username string
	Password string
	CaCert   string
}

Environment holds oVirt environment connection details

func NewFakeOvirtEnvironment

func NewFakeOvirtEnvironment(namespace string, caCert string) *Environment

NewFakeOvirtEnvironment creates new fake oVirt environment

func (*Environment) WithAPIURL

func (b *Environment) WithAPIURL(aPIURL string) *Environment

WithAPIURL sets the ApiURL - builder style

func (*Environment) WithCaCert

func (b *Environment) WithCaCert(caCert string) *Environment

WithCaCert sets the CaCert - builder style

func (*Environment) WithPassword

func (b *Environment) WithPassword(password string) *Environment

WithPassword sets the Password - builder style

func (*Environment) WithUsername

func (b *Environment) WithUsername(username string) *Environment

WithUsername sets the Username - builder style

Jump to

Keyboard shortcuts

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