configfetchers

package
v0.0.0-...-efdc352 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSConfigFetcher

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

func NewAWSConfigFetcher

func NewAWSConfigFetcher(state *vmmanagers.StateInfo, credentials *Credentials, client Ec2Client) *AWSConfigFetcher

func (*AWSConfigFetcher) FetchConfig

type AzureConfigFetcher

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

func NewAzureConfigFetcher

func NewAzureConfigFetcher(
	state *vmmanagers.StateInfo,
	credentials *Credentials,
	vmClient AzureVMClient,
	networkClient AzureNetworkClient,
	ipClient AzureIPClient,
	imageClient AzureImageClient) *AzureConfigFetcher

func (*AzureConfigFetcher) FetchConfig

type AzureCredentialsWrapper

type AzureCredentialsWrapper struct {
	vmmanagers.AzureCredential
	CloudName string
}

type AzureIPClient

type AzureIPClient interface {
	Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result network.PublicIPAddress, err error)
}

type AzureImageClient

type AzureImageClient interface {
	Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result compute.Image, err error)
}

type AzureNetworkClient

type AzureNetworkClient interface {
	Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (result network.Interface, err error)
}

type AzureVMClient

type AzureVMClient interface {
	Get(ctx context.Context, resourceGroupName string, VMName string, expand compute.InstanceViewTypes) (result compute.VirtualMachine, err error)
}

type Ec2Client

type Ec2Client interface {
	DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
	DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
}

type GCPConfigFetcher

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

func NewGCPConfigFetcher

func NewGCPConfigFetcher(state *vmmanagers.StateInfo, creds *Credentials, service *compute.Service) *GCPConfigFetcher

func (*GCPConfigFetcher) FetchConfig

type OpsmanConfigFetcherService

type OpsmanConfigFetcherService interface {
	FetchConfig() (*vmmanagers.OpsmanConfigFilePayload, error)
}

func NewOpsmanConfigFetcher

func NewOpsmanConfigFetcher(state *vmmanagers.StateInfo, creds *Credentials) (OpsmanConfigFetcherService, error)

type VCenterCredentialsWrapper

type VCenterCredentialsWrapper struct {
	vmmanagers.VcenterCredential
	Insecure bool
}

type VSphereConfigFetcher

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

func NewVSphereConfigFetcher

func NewVSphereConfigFetcher(state *vmmanagers.StateInfo, creds *Credentials, client *govmomi.Client) *VSphereConfigFetcher

func (*VSphereConfigFetcher) FetchConfig

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