INNER CODE UNIT · Go

templateWithPasswordInput

ovh/utask · api/api_test.go:654

func templateWithPasswordInput() tasktemplate.TaskTemplate {
	return tasktemplate.TaskTemplate{
		Name:        "input-password",
		Description: "input-password",
		TitleFormat: "input-password",
		ResultFormat: map[string]interface{}{
			"revealed": "{{.step.stepOne.output.showSecret}}",
		},
		Inputs: []input.Input{
			{
				Name: "verysecret",
				Type: "password",
			},
		},
		Steps: map[string]*step.Step{
			"stepOne": {
				Action: executor.Executor{
					Type: "echo",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…