utils

package
v0.3.23-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JobCompletionTriggerConditionsMappingCodeHuman = map[int]any{
		10: "success",
		20: "error",
		30: "canceled",
	}
)
View Source
var JobCompletionTriggerConditionsMappingHumanCode = lo.Invert(
	JobCompletionTriggerConditionsMappingCodeHuman,
)

Functions

func ExtractJobConditionSet

func ExtractJobConditionSet(
	d *schema.ResourceData,
) (empty bool, jobID, projectID int, statuses []int)

func JobConditionMapToSet

func JobConditionMapToSet(item map[string]any) *schema.Set

Types

This section is empty.

Jump to

Keyboard shortcuts

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