vmext

package
v0.0.0-...-72b2b2c Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureVirtualMachineExtensionClient

type AzureVirtualMachineExtensionClient struct {
	Creds        config.Credentials
	SecretClient secrets.SecretClient
	Scheme       *runtime.Scheme
}

func NewAzureVirtualMachineExtensionClient

func NewAzureVirtualMachineExtensionClient(creds config.Credentials, secretclient secrets.SecretClient, scheme *runtime.Scheme) *AzureVirtualMachineExtensionClient

func (*AzureVirtualMachineExtensionClient) AddVirtualMachineExtensionCredsToSecrets

func (p *AzureVirtualMachineExtensionClient) AddVirtualMachineExtensionCredsToSecrets(ctx context.Context, secretName string, data map[string][]byte, instance *azurev1alpha1.AzureVirtualMachineExtension) error

func (*AzureVirtualMachineExtensionClient) CreateVirtualMachineExtension

func (c *AzureVirtualMachineExtensionClient) CreateVirtualMachineExtension(ctx context.Context, location string, resourceGroupName string, vmName string, extName string, autoUpgradeMinorVersion bool, forceUpdateTag string, publisher string, typeName string, typeHandlerVersion string, settings string, protectedSettings string) (future compute.VirtualMachineExtensionsCreateOrUpdateFuture, err error)

func (*AzureVirtualMachineExtensionClient) Delete

func (*AzureVirtualMachineExtensionClient) DeleteVirtualMachineExtension

func (c *AzureVirtualMachineExtensionClient) DeleteVirtualMachineExtension(ctx context.Context, extName string, vmName string, resourcegroup string) (status string, err error)

func (*AzureVirtualMachineExtensionClient) Ensure

func (*AzureVirtualMachineExtensionClient) GetOrPrepareSecret

func (*AzureVirtualMachineExtensionClient) GetParents

func (*AzureVirtualMachineExtensionClient) GetStatus

func (*AzureVirtualMachineExtensionClient) GetVirtualMachineExtension

func (c *AzureVirtualMachineExtensionClient) GetVirtualMachineExtension(ctx context.Context, resourcegroup string, vmName string, extName string) (vm compute.VirtualMachineExtension, err error)

type VirtualMachineExtensionManager

type VirtualMachineExtensionManager interface {
	CreateVirtualMachineExtension(ctx context.Context,
		location string,
		resourceGroupName string,
		vmName string,
		extName string,
		autoUpgradeMinorVersion bool,
		forceUpdateTag string,
		publisher string,
		typeName string,
		typeHandlerVersion string,
		settings string,
		protectedSettings string) (compute.VirtualMachineExtension, error)

	DeleteVirtualMachineExtension(ctx context.Context,
		extName string,
		vmName string,
		resourceGroupName string) (string, error)

	GetVirtualMachineExtension(ctx context.Context,
		resourceGroupName string,
		vmName string,
		extName string) (compute.VirtualMachineExtension, error)

	// also embed async client methods
	resourcemanager.ARMClient
}

Jump to

Keyboard shortcuts

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