Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(config ClientConfig) (*Client, error)
func (Client) CallWebhook ¶
func (c Client) CallWebhook(ctxt context.Context, summary PipelineRunResult) error
func (*Client) ShouldNotify ¶
type ClientConfig ¶
type Config ¶
type Config struct { Enabled bool URL string Method string ContentType string NotifyOnStatus []string Template *template.Template }
func ReadConfigFromConfigMap ¶
func ReadConfigFromConfigMap(ctxt context.Context, kubernetesClient kubernetes.ClientInterface) (*Config, error)
type PipelineRunResult ¶
type PipelineRunResult struct { PipelineRunName string PipelineRunURL string OverallStatus string ODSContext *pipelinectxt.ODSContext }
Click to show internal directories.
Click to hide internal directories.