Documentation ¶
Index ¶
- type SessionFactory
- func (factory *SessionFactory) GetSession(config csasession.SessionConfig) (*session.Session, error)
- func (factory *SessionFactory) NewSession(config csasession.SessionConfig) (*session.Session, error)
- func (factory *SessionFactory) ReinitialiseSession(config csasession.SessionConfig) (err error)
- func (factory *SessionFactory) SetNormalizeBucketLocation(config csasession.SessionConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionFactory ¶
type SessionFactory struct {
// contains filtered or unexported fields
}
sessionFactory provides methods for creation and management of service clients and sessions.
func (*SessionFactory) GetSession ¶
func (factory *SessionFactory) GetSession(config csasession.SessionConfig) (*session.Session, error)
GetSession returns cached AWS session.
func (*SessionFactory) NewSession ¶
func (factory *SessionFactory) NewSession(config csasession.SessionConfig) (*session.Session, error)
NewSession creates a new session and caches it.
func (*SessionFactory) ReinitialiseSession ¶
func (factory *SessionFactory) ReinitialiseSession(config csasession.SessionConfig) (err error)
func (*SessionFactory) SetNormalizeBucketLocation ¶
func (factory *SessionFactory) SetNormalizeBucketLocation(config csasession.SessionConfig) error
Click to show internal directories.
Click to hide internal directories.