cfeventsender

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	STATUS_SUCCESS = "Success"
	STATUS_FAILED  = "Failed"

	EVENT_AGENT_INSTALL   = "agent.installed"
	EVENT_AGENT_UNINSTALL = "agent.uninstalled"

	EVENT_CONTROLLER_INSTALL   = "controller.installed"
	EVENT_CONTROLLER_UNINSTALL = "controller.uninstalled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CfEventSender

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

func New

func New(eventName string) *CfEventSender

func (*CfEventSender) Fail

func (cfEventSender *CfEventSender) Fail(reason string)

func (*CfEventSender) Success

func (cfEventSender *CfEventSender) Success(reason string)

func (*CfEventSender) WithCustomCodefreshApi

func (cfEventSender *CfEventSender) WithCustomCodefreshApi(cfapi codefresh.CodefreshApi) *CfEventSender

Jump to

Keyboard shortcuts

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