package iamtest

import "github.com/AdRoll/goamz/iam/iamtest"

Package iamtest implements a fake IAM provider with the capability of inducing errors on any given operation, and retrospectively determining what operations have been carried out.

Index

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements an IAM simulator for use in tests.

func NewServer

func NewServer() (*Server, error)

func (*Server) Quit

func (srv *Server) Quit() error

Quit closes down the server.

func (*Server) URL

func (srv *Server) URL() string

URL returns a URL for the server.

Source Files

server.go

Version
v0.0.0-20170825154802-2731d20f46f4 (latest)
Published
Aug 25, 2017
Platform
linux/amd64
Imports
8 packages
Last checked
4 days ago

Tools for package owners.