Documentation ¶
Index ¶
- func CreateTrigger(ctx context.Context, clients op.TektonTriggerInterface, ...) (*v1alpha1.TektonTrigger, error)
- func EnsureTektonTriggerExists(ctx context.Context, clients op.TektonTriggerInterface, ...) (*v1alpha1.TektonTrigger, error)
- func GetTektonConfig() *v1alpha1.TektonConfig
- func GetTrigger(ctx context.Context, clients op.TektonTriggerInterface, name string) (*v1alpha1.TektonTrigger, error)
- func TektonTriggerCRDelete(ctx context.Context, clients op.TektonTriggerInterface, name string) error
- func UpdateTrigger(ctx context.Context, ttCR *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, config *v1alpha1.TektonConfig) (*v1alpha1.TektonTrigger, error)
func EnsureTektonTriggerExists ¶ added in v0.55.0
func EnsureTektonTriggerExists(ctx context.Context, clients op.TektonTriggerInterface, config *v1alpha1.TektonConfig) (*v1alpha1.TektonTrigger, error)
func GetTektonConfig ¶ added in v0.55.0
func GetTektonConfig() *v1alpha1.TektonConfig
func GetTrigger ¶
func GetTrigger(ctx context.Context, clients op.TektonTriggerInterface, name string) (*v1alpha1.TektonTrigger, error)
func TektonTriggerCRDelete ¶
func TektonTriggerCRDelete(ctx context.Context, clients op.TektonTriggerInterface, name string) error
TektonTriggerCRDelete deletes tha TektonTrigger to see if all resources will be deleted
func UpdateTrigger ¶ added in v0.55.0
func UpdateTrigger(ctx context.Context, ttCR *v1alpha1.TektonTrigger, config *v1alpha1.TektonConfig, clients op.TektonTriggerInterface) (*v1alpha1.TektonTrigger, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.