context

package
v0.0.0-...-ff55af6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Name           string
	ClusterOptions *createtypes.ClusterOptions
	Server         *grpc.Server
	Port           string
}

Context is the private shared context underlying pkg/cluster.Context

NOTE: this is the internal one, it should contain reasonably trivial methods that are safe to share between various user facing methods pkg/cluster.Context is a superset of this, packages like create and delete consume this

func NewContext

func NewContext(name string, server *grpc.Server, port string) *Context

NewContext returns a new internal cluster management context if name is "" the default name will be used

Jump to

Keyboard shortcuts

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