v1alpha2

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 59 Imported by: 0

Documentation

Overview

Package v1alpha2 provides runtime implementation based on os-runtime.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller implements runtime.V1alpha2Controller.

func NewController

func NewController(v1alpha1Runtime runtime.Runtime) (*Controller, error)

NewController creates Controller.

func (*Controller) DependencyGraph

func (ctrl *Controller) DependencyGraph() (*controller.DependencyGraph, error)

DependencyGraph returns controller-resources dependencies.

func (*Controller) Run

func (ctrl *Controller) Run(ctx context.Context, drainer *runtime.Drainer) error

Run the controller runtime.

type State

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

State implements runtime.V1alpha2State interface.

func NewState

func NewState() (*State, error)

NewState creates State.

func (*State) NamespaceRegistry

func (s *State) NamespaceRegistry() *registry.NamespaceRegistry

NamespaceRegistry implements runtime.V1alpha2State interface.

func (*State) ResourceRegistry

func (s *State) ResourceRegistry() *registry.ResourceRegistry

ResourceRegistry implements runtime.V1alpha2State interface.

func (*State) Resources

func (s *State) Resources() state.State

Resources implements runtime.V1alpha2State interface.

func (*State) SetConfig

func (s *State) SetConfig(cfg talosconfig.Provider) error

SetConfig implements runtime.V1alpha2State interface.

Jump to

Keyboard shortcuts

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