util

package
v0.33.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient(githubToken, gitlabToken, bitbucketToken, githubURL, gitlabURL, bitbucketURL string, skipVerify bool) *scm.Client

CreateClient helper function creates a scm client

func CreateImporter

func CreateImporter(harnessAccount, harnessOrg, harnessToken, githubToken, gitlabToken, bitbucketToken, harnessAddress string) *migrate.Importer

CreateImporter helper function creates an importer

func CreateLogger

func CreateLogger(debug bool) *slog.Logger

CreateLogger helper function creates a logger

func CreateTracerWithLevelAndType added in v0.24.0

func CreateTracerWithLevelAndType(debug bool, noProgress bool) tracer.Tracer

Types

This section is empty.

Jump to

Keyboard shortcuts

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