sessionfactory

package
v0.0.0-...-f062a39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 New

func New() *SessionFactory

New creates a new instance of the sessionFactory.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL