Documentation ¶
Overview ¶
experimental
Index ¶
- type ClientError
- type Resolver
- func NewHTTPResolver(base *url.URL, client *http.Client) Resolver
- func NewOsFsResolver(basepath string) (Resolver, error)
- func NewS3Resolver(s3API s3iface.S3API, bucket string) Resolver
- func NewS3ResolverWithBaseKey(s3API s3iface.S3API, bucket string, basekey string) Resolver
- func NewSSMResolver(ssmAPI ssmiface.SSMAPI) Resolver
- func NewSSMResolverWithPrefix(ssmAPI ssmiface.SSMAPI, prefix string) Resolver
- type Resolvers
- type ServerError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientError ¶
func (*ClientError) Error ¶
func (e *ClientError) Error() string
type Resolver ¶
type Resolver interface {
Resolve(path string) (io.ReadCloser, error)
}
Resolver abstracts very tin file system
func NewHTTPResolver ¶
NewHTTPFsResolver provides resolver from net/http file system
func NewOsFsResolver ¶
NewOsFsResolver provides resolver from Os file system
func NewS3Resolver ¶
NewS3Resolver provides resolver from s3
func NewS3ResolverWithBaseKey ¶
NewS3ResolverWithBaseKey provides resolver from s3 with basekey
func NewSSMResolver ¶
NewSSMResolver provides resolver from SSM
type Resolvers ¶
type ServerError ¶
func (*ServerError) Error ¶
func (e *ServerError) Error() string
Click to show internal directories.
Click to hide internal directories.