controllers

package
v0.0.0-...-5335fa6 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildControllers

func BuildControllers(mgr ctrl.Manager) error

Types

type Connector

type Connector interface {
	Read(ctx context.Context, name types.NamespacedName) (*unstructured.Unstructured, error)
	Write(ctx context.Context, cr *unstructured.Unstructured) error
	WriteStatus(ctx context.Context, cr *unstructured.Unstructured) error
	Cleanup(ctx context.Context, cr *unstructured.Unstructured) error
}

func NewGenericConnector

func NewGenericConnector(gvk schema.GroupVersionKind, client client.Client) Connector

func NewSecretConnector

func NewSecretConnector(client client.Client) Connector

type Interest

type Interest struct {
	Org      string `json:"org"`
	Gvc      string `json:"gvc"`
	Workload string `json:"workload"`
}

type RegisterInterestRequest

type RegisterInterestRequest struct {
	Token     string     `json:"token"`
	Interests []Interest `json:"interests"`
}

Jump to

Keyboard shortcuts

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