vmextensions

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Scope VMExtensionScope
	// contains filtered or unexported fields
}

Service provides operations on Azure resources.

func New

func New(scope VMExtensionScope) *Service

New creates a new vm extension service.

func (*Service) Delete

func (s *Service) Delete(_ context.Context) error

Delete is a no-op. Extensions will be deleted as part of VM deletion.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile creates or updates the VM extension.

type VMExtensionScope

type VMExtensionScope interface {
	azure.ClusterDescriber
	VMExtensionSpecs() []azure.ExtensionSpec
	SetBootstrapConditions(context.Context, string, string) error
}

VMExtensionScope defines the scope interface for a vm extension service.

Directories

Path Synopsis
Package mock_vmextensions is a generated GoMock package.
Package mock_vmextensions is a generated GoMock package.

Jump to

Keyboard shortcuts

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