utils

package
v0.0.0-...-e5579aa Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RETRY_NUM = 10
)

Variables

View Source
var (
	Log           = logr.WithName("test")
	Client        *binding.Client
	RichClient    *binding.RichClient
	Application   binding.Application
	Tracker       binding.Tracker
	Identity      binding.Identity
	MigrationWave binding.MigrationWave
	Ticket        binding.Ticket
)

Functions

func CreateMultipleApplications

func CreateMultipleApplications(numberOfApplications int) []api.Application

func DeleteApplicationsBySlice

func DeleteApplicationsBySlice(apps []api.Application)

func LastString

func LastString(str []string) string

LastString returns the last element of the given slice of strings.

func WaitForReference

func WaitForReference(ticket *api.Ticket) string

Types

type Jira

type Jira api.Tracker

func CreateJiraInstance

func CreateJiraInstance(data jira.JiraInstanceTC) (api.Identity, Jira)

func (*Jira) CheckConnection

func (r *Jira) CheckConnection()

func (*Jira) DeleteJiraIssues

func (r *Jira) DeleteJiraIssues(issues []string)

Jump to

Keyboard shortcuts

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