Versions in this module Expand all Collapse all v1 v1.3.0 Sep 6, 2018 Changes in this version + func GetEtcdKey(e EtcdMethod, ctx context.Context, key string, opts *client.GetOptions) (*client.Response, error) + type BlobMethod struct + AzureClient storage.Client + BlobClient storage.BlobStorageClient + StorageAccount string + func (b BlobMethod) Get(u *url.URL) (*Response, error) + type EtcdMethod struct + Endpoints []string + KeysAPI client.KeysAPI + Manager *string + func (e EtcdMethod) Get(u *url.URL) (*Response, error) + type FileMethod struct + Path string + Url *url.URL + func (f FileMethod) Get(u *url.URL) (*Response, error) + type GenericMethod struct + func (m GenericMethod) Get(u *url.URL) (*Response, error) + type HttpMethod struct + AuthToken string + AuthType string + AuthUser string + Client *retryablehttp.Client + Host string + Manager *string + Retries string + RetryWaitMax string + RetryWaitMin string + Timeout string + func (h *HttpMethod) MethodRetryPolicy(resp *http.Response, err error) (bool, error) + func (h HttpMethod) Get(u *url.URL) (*Response, error) + type Method interface + Get func(*url.URL) (*Response, error) + func New(manager *string, method string, entry *string) (Method, error) + func NewBlobMethod(manager *string, entry *string) (Method, error) + func NewBlobMethodWithAccount(account string) (Method, error) + func NewEtcdMethod(manager *string, entry *string) (Method, error) + func NewEtcdMethodWithEndpoints(endpoints []string) (Method, error) + func NewFileMethod(manager *string, entry *string) (Method, error) + func NewFileMethodWithUrl(u *url.URL) (Method, error) + func NewGenericMethod(manager *string, entry *string) (Method, error) + func NewHttpMethod(manager *string, entry *string) (Method, error) + func NewS3Method(manager *string, entry *string) (Method, error) + func NewS3MethodWithRegionAndBucket(region string, bucket string) (Method, error) + type Response struct + func (r Response) GetResponseBody() io.ReadCloser + func (r Response) GetResponseStatusCode() int + type S3Method struct + Bucket string + Downloader *s3manager.Downloader + Manager *string + Region string + func (s S3Method) Get(u *url.URL) (*Response, error)