Documentation ¶
Index ¶
- type App
- type CloudPlatformType
- type Config
- type Session
- func (s *Session) Context() context.Context
- func (sess *Session) DoAwsRequest(req *http.Request) (*http.Response, bool, error)
- func (sess *Session) DoRequest(req *http.Request) (*http.Response, bool, error)
- func (s *Session) Logger() *zap.Logger
- func (s *Session) WithContext(ctx context.Context) *Session
- func (s *Session) WithLogger(logger *zap.Logger) *Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudPlatformType ¶
type CloudPlatformType string
const ( AwsCloudPlatform CloudPlatformType = "AWS" GcpCloudPlatform CloudPlatformType = "GCP" )
func (CloudPlatformType) String ¶ added in v1.1.2
func (c CloudPlatformType) String() string
type Config ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) DoAwsRequest ¶
DoAwsRequest makes a request to AWS Does a request to the source bucket and if it returns 404, tries the crunched bucket Returns the response and a boolean indicating if the response is from the crunched bucket
Click to show internal directories.
Click to hide internal directories.