testconfig

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewGitHubClient

func NewGitHubClient() *github.Client

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) error

Jump to

Keyboard shortcuts

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