plugincomponent

package
v0.0.0-...-dcdb2a0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package plugincomponent has helpers to convert or expose component implementations for plugin proto structures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessInfo

type AccessInfo struct {
	Any *opaqueany.Any
}

AccessInfo provides raw access the value returned by AccessInfoFunc as an any, to allow it to be decoded by a target plugin that needs it.

func (*AccessInfo) Proto

func (c *AccessInfo) Proto() proto.Message

func (*AccessInfo) TypedAny

func (c *AccessInfo) TypedAny() *opaqueany.Any

type Artifact

type Artifact struct {
	Any         *opaqueany.Any
	AnyJson     string
	LabelsVal   map[string]string
	TemplateVal map[string]interface{}
}

Artifact implements component.Artifact.

func (*Artifact) Labels

func (c *Artifact) Labels() map[string]string

func (*Artifact) MarshalJSON

func (c *Artifact) MarshalJSON() ([]byte, error)

func (*Artifact) Proto

func (c *Artifact) Proto() proto.Message

func (*Artifact) TemplateData

func (c *Artifact) TemplateData() map[string]interface{}

type Deployment

type Deployment struct {
	Any         *opaqueany.Any
	AnyJson     string
	Deployment  *pb.Deploy
	TemplateVal map[string]interface{}
}

Deployment implements component.Deployment.

func (*Deployment) MarshalJSON

func (c *Deployment) MarshalJSON() ([]byte, error)

func (*Deployment) Proto

func (c *Deployment) Proto() proto.Message

func (*Deployment) String

func (c *Deployment) String() string

func (*Deployment) TemplateData

func (c *Deployment) TemplateData() map[string]interface{}

func (*Deployment) URL

func (c *Deployment) URL() string

type Release

type Release struct {
	Any         *opaqueany.Any
	AnyJson     string
	Release     *pb.Release
	TemplateVal map[string]interface{}
}

Release implements component.Release.

func (*Release) MarshalJSON

func (c *Release) MarshalJSON() ([]byte, error)

func (*Release) Proto

func (c *Release) Proto() proto.Message

func (*Release) TemplateData

func (c *Release) TemplateData() map[string]interface{}

func (*Release) URL

func (c *Release) URL() string

type RunningTask

type RunningTask struct {
	Any *opaqueany.Any
}

func (*RunningTask) Proto

func (c *RunningTask) Proto() proto.Message

Jump to

Keyboard shortcuts

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