oam

package
v1.9.13 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ProviderName is provider name for install.
	ProviderName = "oam"
)

Variables

This section is empty.

Functions

func Install

Install register handlers to provider discover.

Types

type ComponentApply

type ComponentApply func(ctx context.Context, comp common.ApplicationComponent, patcher *value.Value, clusterName string, overrideNamespace string) (*unstructured.Unstructured, []*unstructured.Unstructured, bool, error)

ComponentApply apply oam component.

type ComponentHealthCheck added in v1.4.0

type ComponentHealthCheck func(ctx context.Context, comp common.ApplicationComponent, patcher *value.Value, clusterName string, overrideNamespace string) (bool, *unstructured.Unstructured, []*unstructured.Unstructured, error)

ComponentHealthCheck health check oam component.

type ComponentRender added in v1.2.0

type ComponentRender func(ctx context.Context, comp common.ApplicationComponent, patcher *value.Value, clusterName string, overrideNamespace string) (*unstructured.Unstructured, []*unstructured.Unstructured, error)

ComponentRender render oam component.

type WorkloadRenderer added in v1.4.0

type WorkloadRenderer func(ctx context.Context, comp common.ApplicationComponent) (*appfile.Component, error)

WorkloadRenderer renderer to render application component into workload

Jump to

Keyboard shortcuts

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