session

package
v1.376.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Config *spotinst.Config
}

A Session provides a central location to create service clients.

Sessions are safe to create service clients concurrently, but it is not safe to mutate the Session concurrently.

func New

func New(cfgs ...*spotinst.Config) *Session

New creates a new instance of Session. Once the Session is created it can be mutated to modify the Config. The Session is safe to be read concurrently, but it should not be written to concurrently.

Jump to

Keyboard shortcuts

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