substrate

package
v0.0.0-...-597cd30 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	sync.RWMutex
	Resources []Resource
}

func NewController

func NewController(ctx context.Context) *Controller

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, substrate *v1alpha1.Substrate) error

type Resource

type Resource interface {
	Create(context.Context, *v1alpha1.Substrate) (reconcile.Result, error)
	Delete(context.Context, *v1alpha1.Substrate) (reconcile.Result, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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