Documentation ¶
Index ¶
- func CreateTrigger(ctx context.Context, clients op.TektonTriggerInterface, ...) error
- func EnsureTektonTriggerCRNotExists(ctx context.Context, clients op.TektonTriggerInterface) error
- func EnsureTektonTriggerExists(ctx context.Context, clients op.TektonTriggerInterface, ...) (*v1alpha1.TektonTrigger, error)
- func GetTektonConfig() *v1alpha1.TektonConfig
- func GetTektonTriggerCR(config *v1alpha1.TektonConfig, operatorVersion string) *v1alpha1.TektonTrigger
- func GetTrigger(ctx context.Context, clients op.TektonTriggerInterface, name string) (*v1alpha1.TektonTrigger, error)
- func UpdateTrigger(ctx context.Context, old *v1alpha1.TektonTrigger, new *v1alpha1.TektonTrigger, ...) (*v1alpha1.TektonTrigger, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTrigger ¶ added in v0.55.0
func CreateTrigger(ctx context.Context, clients op.TektonTriggerInterface, tt *v1alpha1.TektonTrigger) error
func EnsureTektonTriggerCRNotExists ¶ added in v0.59.0
func EnsureTektonTriggerCRNotExists(ctx context.Context, clients op.TektonTriggerInterface) error
func EnsureTektonTriggerExists ¶ added in v0.55.0
func EnsureTektonTriggerExists(ctx context.Context, clients op.TektonTriggerInterface, tt *v1alpha1.TektonTrigger) (*v1alpha1.TektonTrigger, error)
func GetTektonConfig ¶ added in v0.55.0
func GetTektonConfig() *v1alpha1.TektonConfig
func GetTektonTriggerCR ¶ added in v0.63.0
func GetTektonTriggerCR(config *v1alpha1.TektonConfig, operatorVersion string) *v1alpha1.TektonTrigger
func GetTrigger ¶
func GetTrigger(ctx context.Context, clients op.TektonTriggerInterface, name string) (*v1alpha1.TektonTrigger, error)
func UpdateTrigger ¶ added in v0.55.0
func UpdateTrigger(ctx context.Context, old *v1alpha1.TektonTrigger, new *v1alpha1.TektonTrigger, clients op.TektonTriggerInterface) (*v1alpha1.TektonTrigger, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.