compute

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package compute has all services and interface to work with the YandexCloud compute API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service implements instances reconciler.

func New

func New(scp *scope.MachineScope) *Service

New returns a new service given the YandexCloud api client.

func (*Service) Delete

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

Delete deletes a compute instance.

func (*Service) Reconcile

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

Reconcile reconciles compute instance.

Jump to

Keyboard shortcuts

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