Versions in this module Expand all Collapse all v1 v1.1.2 Aug 6, 2019 v1.1.1 Jul 10, 2019 Changes in this version + const DefaultRefreshInterval + const DefaultSecretFile + const EnvKubernetesServiceHost + const EnvKubernetesServicePort + const ExpectedArrLength + const HeaderAuthorization + const ServiceAccountPath + const ServiceStageMountPath + var CCEEnvIdentifications = []string + var ErrAuthConfNotExist = errors.New("auth config is not exist") + type CCERetriever struct + Client *http.Client + EnvIdentifiers []string + ServiceAccountPath string + func NewCCERetriever() *CCERetriever + func (q *CCERetriever) API4ImagePullSecret(namespace string) string + func (q *CCERetriever) GetAuthInfo() (string, string, string, error) + func (q *CCERetriever) Name() string + type Data struct + Auth string + type DockerConfig struct + Auths map[string]Data + type HeaderGenerator struct + RefreshInterval time.Duration + Retriever Retriever + func GetAuthHeaderGenerator(qs ...Retriever) (*HeaderGenerator, error) + func (h *HeaderGenerator) GenAuthHeaders() http.Header + type KubeSecrets struct + Data KubeSecretsData + type KubeSecretsData struct + DockerConfigJSON string + type Retriever interface + GetAuthInfo func() (project string, ak string, shaAKSK string, err error) + Name func() string + type ServiceStageRetriever struct + File string + MountPath string + func NewServiceStageRetriever() *ServiceStageRetriever + func (q *ServiceStageRetriever) GetAuthInfo() (string, string, string, error) + func (q *ServiceStageRetriever) Name() string v1.1.0 Feb 15, 2019 Changes in this version + const HeaderServiceAk + const HeaderServiceProject + const HeaderServiceShaAKSK + type SignRequest func(*http.Request) error + func GetShaAKSKSignFunc(ak, sk, project string) (SignRequest, error) + func GetSignFunc(ak, sk, project string) (SignRequest, error)