Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVICE_NOT_FOUND_ERROR = "not found" SECRET_NOT_FOUND = "No secret exists" CLOUD_PROVIDER_NOT_FOUND = "does not exist" SSO_PROVIDER_NOT_FOUND = "Provider does not exist" USER_GROUP_NOT_FOUND = "No User Group exists" USER_NOT_FOUND = "User does not exist" )
Variables ¶
View Source
var EnvVars = struct { AccountId EnvVar ApiKey EnvVar BearerToken EnvVar DelegateSecret EnvVar Endpoint EnvVar PlatformApiKey EnvVar TfLog EnvVar }{ AccountId: "HARNESS_ACCOUNT_ID", ApiKey: "HARNESS_API_KEY", BearerToken: "HARNESS_BEARER_TOKEN", DelegateSecret: "HARNESS_DELEGATE_SECRET", Endpoint: "HARNESS_ENDPOINT", PlatformApiKey: "HARNESS_PLATFORM_API_KEY", TfLog: "TF_LOG", }
View Source
var HTTPHeaders = struct { Accept HTTPHeader ApplicationJson HTTPHeader ContentType HTTPHeader UserAgent HTTPHeader ApiKey HTTPHeader Authorization HTTPHeader }{ Accept: "Accept", ApplicationJson: "application/json; charset=utf-8", ContentType: "Content-Type", UserAgent: "User-Agent", ApiKey: "X-Api-Key", Authorization: "Authorization", }
View Source
var QueryParameters = struct { AccountId QueryParameter ApplicationId QueryParameter FilePaths QueryParameter Limit QueryParameter Offset QueryParameter Type QueryParameter YamlFilePath QueryParameter }{ AccountId: "accountId", ApplicationId: "appId", FilePaths: "filePaths", Limit: "limit", Offset: "offset", Type: "type", YamlFilePath: "yamlFilePath", }
View Source
var QueryParametersExecutions = struct { ApplicationId QueryParameter RoutingId QueryParameter }{ ApplicationId: "appId", RoutingId: "routingId", }
View Source
var TestEnvVars = struct { AwsAccessKeyId EnvVar AwsSecretAccessKey EnvVar AzureClientId EnvVar AzureClientSecret EnvVar AzureTenantId EnvVar DelegateSecret EnvVar DelegateProfileId EnvVar DelegateWaitTimeout EnvVar SpotInstAccountId EnvVar SpotInstToken EnvVar VaultRootToken EnvVar }{ AwsAccessKeyId: "HARNESS_TEST_AWS_ACCESS_KEY_ID", AwsSecretAccessKey: "HARNESS_TEST_AWS_SECRET_ACCESS_KEY", AzureClientId: "HARNESS_TEST_AZURE_CLIENT_ID", AzureClientSecret: "HARNESS_TEST_AZURE_CLIENT_SECRET", AzureTenantId: "HARNESS_TEST_AZURE_TENANT_ID", DelegateSecret: "HARNESS_TEST_DELEGATE_SECRET", DelegateProfileId: "HARNESS_TEST_DELEGATE_PROFILE_ID", DelegateWaitTimeout: "HARNESS_TEST_DELEGATE_WAIT_TIMEOUT", SpotInstAccountId: "HARNESS_TEST_SPOT_ACCT_ID", SpotInstToken: "HARNESS_TEST_SPOT_TOKEN", VaultRootToken: "HARNESS_TEST_VAULT_ROOT_TOKEN", }
Functions ¶
This section is empty.
Types ¶
type HTTPHeader ¶
type HTTPHeader string
func (HTTPHeader) String ¶
func (h HTTPHeader) String() string
type QueryParameter ¶
type QueryParameter string
func (QueryParameter) String ¶
func (q QueryParameter) String() string
Click to show internal directories.
Click to hide internal directories.