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 ¶
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) MarshalJSON ¶
func (*Artifact) TemplateData ¶
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 (*Release) TemplateData ¶
type RunningTask ¶
func (*RunningTask) Proto ¶
func (c *RunningTask) Proto() proto.Message
Click to show internal directories.
Click to hide internal directories.