Documentation
¶
Index ¶
- func CreateResult(ctx context.Context, clients op.TektonResultInterface, ...) error
- func EnsureTektonResultCRNotExists(ctx context.Context, clients op.TektonResultInterface) error
- func EnsureTektonResultExists(ctx context.Context, clients op.TektonResultInterface, ...) (*v1alpha1.TektonResult, error)
- func GetResult(ctx context.Context, clients op.TektonResultInterface, name string) (*v1alpha1.TektonResult, error)
- func GetTektonResultCR(config *v1alpha1.TektonConfig, operatorVersion string) *v1alpha1.TektonResult
- func UpdateResult(ctx context.Context, old *v1alpha1.TektonResult, new *v1alpha1.TektonResult, ...) (*v1alpha1.TektonResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResult ¶
func CreateResult(ctx context.Context, clients op.TektonResultInterface, tr *v1alpha1.TektonResult) error
Create the TektonResult CR
func EnsureTektonResultCRNotExists ¶
func EnsureTektonResultCRNotExists(ctx context.Context, clients op.TektonResultInterface) error
This Ensure TektonResult CR is deleted successfully
func EnsureTektonResultExists ¶
func EnsureTektonResultExists(ctx context.Context, clients op.TektonResultInterface, tr *v1alpha1.TektonResult) (*v1alpha1.TektonResult, error)
This Ensure TektonResult CR is exist or not if it exist then update it otherwise creates a new TektonResult CR
func GetResult ¶
func GetResult(ctx context.Context, clients op.TektonResultInterface, name string) (*v1alpha1.TektonResult, error)
Get the TektonResult CR
func GetTektonResultCR ¶
func GetTektonResultCR(config *v1alpha1.TektonConfig, operatorVersion string) *v1alpha1.TektonResult
GetTektonResultCR create a TektonResult CR
func UpdateResult ¶
func UpdateResult(ctx context.Context, old *v1alpha1.TektonResult, new *v1alpha1.TektonResult, clients op.TektonResultInterface) (*v1alpha1.TektonResult, error)
This update the existing TektonResult CR with updated TektonResult CR
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.