v1alpha1

package
v1.8.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 provides controllers managing v1alpha1 resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForServiceHealthy added in v1.5.0

func WaitForServiceHealthy(ctx context.Context, r controller.Runtime, serviceID string, nextInputs []controller.Input) error

WaitForServiceHealthy waits for a service to be healthy.

It is a helper function for controllers.

Types

type ServiceController

type ServiceController struct {
	V1Alpha1Events runtime.Watcher
}

ServiceController manages v1alpha1.Service based on services subsystem state.

func (*ServiceController) Inputs

func (ctrl *ServiceController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*ServiceController) Name

func (ctrl *ServiceController) Name() string

Name implements controller.Controller interface.

func (*ServiceController) Outputs

func (ctrl *ServiceController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*ServiceController) Run

func (ctrl *ServiceController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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