Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheAuthConfig ¶
CacheAuthConfig holds the auth config for the cache.
func ReadAuthConfigFromEnvironments ¶
func ReadAuthConfigFromEnvironments(envProvider func(string) string) (CacheAuthConfig, error)
ReadAuthConfigFromEnvironments reads auth information from the environment variables - if BITRISEIO_BITRISE_SERVICES_ACCESS_TOKEN is provided, use that - otherwise, if BITRISE_BUILD_CACHE_AUTH_TOKEN and BITRISE_BUILD_CACHE_WORKSPACE_ID is provided, use that - otherwise return error
func (CacheAuthConfig) TokenInGradleFormat ¶
func (cac CacheAuthConfig) TokenInGradleFormat() string
TokenInGradleFormat returns the auth token in gradle format.
Click to show internal directories.
Click to hide internal directories.