vmssextensions

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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 VMSSExtensionScope
	// contains filtered or unexported fields
}

Service provides operations on Azure resources.

func New

func New(scope VMSSExtensionScope) *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 VMSS deletion.

func (*Service) Reconcile

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

Reconcile creates or updates the VMSS extension.

type VMSSExtensionScope

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

VMSSExtensionScope defines the scope interface for a vmss extension service.

Directories

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

Jump to

Keyboard shortcuts

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