artifacts

package
v1.10.7-b1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactRegistry

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

ArtifactRegistry contains a client to talk to an Artifact service and has helper methods

func NewArtifactRegistry

func NewArtifactRegistry(ctx context.Context, connCfg *admin2.Config, _ ...grpc.DialOption) *ArtifactRegistry

NewArtifactRegistry todo: update this to return error, and proper cfg handling. if nil, should either call the default config or return an error

func (*ArtifactRegistry) GetClient

func (*ArtifactRegistry) RegisterArtifactConsumer

func (a *ArtifactRegistry) RegisterArtifactConsumer(ctx context.Context, id *core.Identifier, pm core.ParameterMap)

func (*ArtifactRegistry) RegisterArtifactProducer

func (a *ArtifactRegistry) RegisterArtifactProducer(ctx context.Context, id *core.Identifier, ti core.TypedInterface)

func (*ArtifactRegistry) RegisterTrigger

func (a *ArtifactRegistry) RegisterTrigger(ctx context.Context, plan *admin.LaunchPlan) error

Jump to

Keyboard shortcuts

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