Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type ContainerInfo struct { ContainerID string ShortContainerID string SessionName string LastUpdated time.Time Error error RoleArn RoleArn Credentials *RoleCredentials }
func (*ContainerInfo) RequiresRefresh ¶
func (t *ContainerInfo) RequiresRefresh() bool
type ContainerRole ¶
type ContainerRole struct { LastUpdated time.Time Arn RoleArn Credentials *RoleCredentials }
type ContainerService ¶
type ContainerService struct {
// contains filtered or unexported fields
}
func NewContainerService ¶
func NewContainerService(docker *docker.Client, defaultRoleArn RoleArn, auth aws.Auth) *ContainerService
func (*ContainerService) RoleForIP ¶
func (t *ContainerService) RoleForIP(containerIP string) (*ContainerRole, error)
type RoleCredentials ¶
func AssumeRole ¶
func AssumeRole(auth aws.Auth, roleArn, sessionName string) (*RoleCredentials, error)
func (*RoleCredentials) ExpiredNow ¶
func (t *RoleCredentials) ExpiredNow() bool
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/alecthomas/kingpin
Package kingpin provides command line interfaces like this: $ chat usage: chat [<flags>] <command> [<flags>] [<args> ...] Flags: --debug enable debug mode --help Show help.
|
Package kingpin provides command line interfaces like this: $ chat usage: chat [<flags>] <command> [<flags>] [<args> ...] Flags: --debug enable debug mode --help Show help. |
_workspace/src/github.com/alecthomas/kingpin/examples/curl
A curl-like HTTP command-line client.
|
A curl-like HTTP command-line client. |
_workspace/src/github.com/alecthomas/units
Package units provides helpful unit multipliers and functions for Go.
|
Package units provides helpful unit multipliers and functions for Go. |
_workspace/src/github.com/cihub/seelog
Package seelog implements logging functionality with flexible dispatching, filtering, and formatting.
|
Package seelog implements logging functionality with flexible dispatching, filtering, and formatting. |
_workspace/src/github.com/fsouza/go-dockerclient
Package docker provides a client for the Docker remote API.
|
Package docker provides a client for the Docker remote API. |
_workspace/src/github.com/fsouza/go-dockerclient/testing
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
|
Package testing provides a fake implementation of the Docker API, useful for testing purpose. |
_workspace/src/github.com/goamz/goamz/aws
goamz - Go packages to interact with the Amazon Web Services.
|
goamz - Go packages to interact with the Amazon Web Services. |
_workspace/src/github.com/stretchr/testify/assert
A set of comprehensive testing tools for use with the normal Go testing system.
|
A set of comprehensive testing tools for use with the normal Go testing system. |
cmd
|
|
Click to show internal directories.
Click to hide internal directories.