Documentation ¶
Index ¶
- func New(name, kind, broker, version string, crd crd.CRD, params interface{}) triggermesh.Component
- type Target
- func (t *Target) AsDigitalOceanObject(additionalEnvs map[string]string) (interface{}, error)
- func (t *Target) AsDockerComposeObject(additionalEnvs map[string]string) (interface{}, error)
- func (t *Target) AsK8sObject() (kubernetes.Object, error)
- func (t *Target) AsKubernetesDeployment(additionalEnvs map[string]string) (interface{}, error)
- func (t *Target) ConsumedEventTypes() ([]string, error)
- func (t *Target) GetAPIVersion() string
- func (t *Target) GetChildren() ([]triggermesh.Component, error)
- func (t *Target) GetKind() string
- func (t *Target) GetName() string
- func (t *Target) GetPort(ctx context.Context) (string, error)
- func (t *Target) GetSpec() map[string]interface{}
- func (t *Target) Info(ctx context.Context) (*docker.Container, error)
- func (t *Target) Logs(ctx context.Context, since time.Time, follow bool) (io.ReadCloser, error)
- func (t *Target) SetSpec(spec map[string]interface{})
- func (t *Target) Start(ctx context.Context, additionalEnvs map[string]string, restart bool) (*docker.Container, error)
- func (t *Target) Stop(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Target ¶
type Target struct { Name string CRD crd.CRD Broker string Version string Kind string // contains filtered or unexported fields }
func (*Target) AsDigitalOceanObject ¶ added in v1.2.0
func (*Target) AsDockerComposeObject ¶ added in v1.2.0
func (*Target) AsK8sObject ¶
func (t *Target) AsK8sObject() (kubernetes.Object, error)
func (*Target) AsKubernetesDeployment ¶ added in v1.4.0
func (*Target) ConsumedEventTypes ¶
func (*Target) GetAPIVersion ¶
func (*Target) GetChildren ¶
func (t *Target) GetChildren() ([]triggermesh.Component, error)
Click to show internal directories.
Click to hide internal directories.