awscache

package
v0.1.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package awscache implements a cache for various types of AWS credentials.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(namespace string, name string, properties map[string]string, obj interface{}) bool

Load attempts to fetch the given object from the cache. The given name and properties are used as a lookup key into the cache and must match what was provided to the preceding Store call.

func LoadAssumeRoleWithSAMLOutput

func LoadAssumeRoleWithSAMLOutput(namespace string, name string, properties map[string]string) *sts.AssumeRoleWithSAMLOutput

LoadAssumeRoleWithSAMLOutput loads a sts.AssumeRoleWithSAMLOutput from the cache.

func Store

func Store(namespace string, name string, properties map[string]string, obj interface{})

Store attempts to insert the given object into the cache. The given name and properties are used as a lookup key into the cache and must match what will be provided to the following Load call.

func StoreAssumeRoleWithSAMLOutput

func StoreAssumeRoleWithSAMLOutput(namespace string, name string, properties map[string]string, obj *sts.AssumeRoleWithSAMLOutput)

StoreAssumeRoleWithSAMLOutput stores a sts.AssumeRoleWithSAMLOutput into the cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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