docker

package
v1.0.0-preview.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext(name string, awsContext *AwsContext) error

func NewContextWithStore

func NewContextWithStore(name string, awsContext *AwsContext, contextDirectory string) (store.Store, error)

func WithAwsContext

func WithAwsContext(dockerCli command.Cli, f ContextFunc) func(cmd *cobra.Command, args []string) error

Types

type AwsContext

type AwsContext struct {
	Profile string
	Cluster string
	Region  string
}

func GetAwsContext

func GetAwsContext(dockerCli command.Cli) (*AwsContext, error)

type ContextFunc

type ContextFunc func(ctx AwsContext, args []string) error

type TypeContext

type TypeContext struct {
	Type string
}

Jump to

Keyboard shortcuts

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