resourcehealth

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilityStatusFilterer

type AvailabilityStatusFilterer interface {
	AvailabilityStatusFilter(cond *clusterv1.Condition) *clusterv1.Condition
}

AvailabilityStatusFilterer transforms the condition derived from the availability status to allow the condition to be overridden in specific circumstances.

type ResourceHealthScope

type ResourceHealthScope interface {
	azure.Authorizer
	AvailabilityStatusResourceURI() string
	AvailabilityStatusResource() conditions.Setter
}

ResourceHealthScope defines the scope interface for a resourcehealth service.

type Service

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

Service provides operations on Azure resources.

func New

func New(scope ResourceHealthScope) (*Service, error)

New creates a new service.

func (*Service) Delete

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

Delete is a no-op.

func (*Service) IsManaged

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

IsManaged always returns true.

func (*Service) Name

func (s *Service) Name() string

Name returns the service name.

func (*Service) Reconcile

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

Reconcile ensures the resource's availability status is reflected in its own status.

Directories

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

Jump to

Keyboard shortcuts

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