controller

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

README

This directory contains code for the registry controller command. This is currently in experimental stage.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateManifest added in v0.4.5

func ValidateManifest(parent string, manifest *rpc.Manifest) []error

Types

type Action added in v0.3.1

type Action struct {
	Command           string
	GeneratedResource string
	RequiresReceipt   bool
}

func ProcessManifest

func ProcessManifest(
	ctx context.Context,
	client listingClient,
	projectID string,
	manifest *rpc.Manifest) []*Action

type ExecCommandTask

type ExecCommandTask struct {
	Action *Action
	TaskID string
}

func (*ExecCommandTask) Run

func (task *ExecCommandTask) Run(ctx context.Context) error

func (*ExecCommandTask) String

func (task *ExecCommandTask) String() string

type RegistryLister added in v0.5.5

type RegistryLister struct {
	RegistryClient connection.RegistryClient
}

func (*RegistryLister) ListAPIs added in v0.5.5

func (r *RegistryLister) ListAPIs(ctx context.Context, api names.Api, filter string, handler core.ApiHandler) error

func (*RegistryLister) ListArtifacts added in v0.5.5

func (r *RegistryLister) ListArtifacts(ctx context.Context, artifact names.Artifact, filter string, contents bool, handler core.ArtifactHandler) error

func (*RegistryLister) ListSpecs added in v0.5.5

func (r *RegistryLister) ListSpecs(ctx context.Context, spec names.Spec, filter string, handler core.SpecHandler) error

func (*RegistryLister) ListVersions added in v0.5.5

func (r *RegistryLister) ListVersions(ctx context.Context, version names.Version, filter string, handler core.VersionHandler) error

Jump to

Keyboard shortcuts

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