{"modulePath":"github.com/SovereignCloudStack/cluster-stack-operator","version":"v0.2.0-alpha.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\nPackage github provides utilities for talking to github API.\n\n## Constants\n\n```go\nconst (\n\t// EnvGitProvider is the provider name.\n\tEnvGitProvider = \"GIT_PROVIDER\"\n\n\t// EnvGitOrgName is the git org name.\n\tEnvGitOrgName = \"GIT_ORG_NAME\"\n\n\t// EnvGitRepositoryName is the repository name.\n\tEnvGitRepositoryName = \"GIT_REPOSITORY_NAME\"\n\n\t// EnvGitAccessToken used for accessing private repositories.\n\tEnvGitAccessToken = \"GIT_ACCESS_TOKEN\"\n)\n```\n\n## Functions\n\n```go\nfunc NewFactory() assetsclient.Factory\n```\nNewFactory returns a new factory for Github clients.\n\n## Types\n\n```go\ntype GitConfig struct {\n\tGitProvider    string\n\tGitOrgName     string\n\tGitRepoName    string\n\tGitAccessToken string\n}\n```\nGitConfig contains necessary data to connect to github.\n\n```go\nfunc NewGitConfig() (GitConfig, error)\n```\nNewGitConfig ensures the environment variables required for the operator to run are set. Returns false if any of the required environment variables are not set.\n\n","path":"github.com/SovereignCloudStack/cluster-stack-operator/pkg/assetsclient/github","name":"github","synopsis":"Package github provides utilities for talking to github API.","isRedistributable":true}
