scalesetvms

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScaleSetVMScope

type ScaleSetVMScope interface {
	azure.ClusterDescriber
	azure.AsyncStatusUpdater
	InstanceID() string
	ScaleSetName() string
	SetVMSSVM(vmssvm *azure.VMSSVM)
}

ScaleSetVMScope defines the scope interface for a scale sets service.

type Service

type Service struct {
	Client client
	Scope  ScaleSetVMScope
}

Service provides operations on Azure resources.

func NewService

func NewService(scope ScaleSetVMScope) *Service

NewService creates a new service.

func (*Service) Delete

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

Delete deletes a scaleset instance asynchronously returning a future which encapsulates the long-running operation.

func (*Service) Reconcile

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

Reconcile idempotently gets, creates, and updates a scale set.

Directories

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

Jump to

Keyboard shortcuts

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