testconfig

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cfg = ConfigType{
	GitHubOrg: testGitHubOrg,
	Tenant:    testdata.DefaultTenant(),
}
View Source
var (
	TestRunId string
)

Functions

func GetTestRunId added in v0.23.0

func GetTestRunId() string

func NewGitHubClient

func NewGitHubClient() *github.Client

func SetTestRunId added in v0.23.0

func SetTestRunId(id string)

Types

type ConfigType

type ConfigType struct {
	CoreCTLBinary       string
	GitHubToken         string
	GitHubOrg           string
	Tenant              string
	CPlatformRepoFullId git.GithubRepoFullId
	TemplatesRepoFullId git.GithubRepoFullId
}

type CorectlClient

type CorectlClient struct {
	// contains filtered or unexported fields
}

func NewCorectlClient

func NewCorectlClient(homeDir string) *CorectlClient

func (*CorectlClient) Config

func (c *CorectlClient) Config() *config.Config

func (*CorectlClient) ConfigPath

func (c *CorectlClient) ConfigPath() string

func (*CorectlClient) HomeDir

func (c *CorectlClient) HomeDir() string

func (*CorectlClient) Run

func (c *CorectlClient) Run(args ...string) (string, error)

func (*CorectlClient) RunInDir added in v0.23.0

func (c *CorectlClient) RunInDir(dir string, args ...string) (string, error)

Jump to

Keyboard shortcuts

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