network

package
v3.7.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const IsolateProjectsNetworkCommandName = "isolate-projects"
View Source
const JoinProjectsNetworkCommandName = "join-projects"
View Source
const MakeGlobalProjectsNetworkCommandName = "make-projects-global"
View Source
const PodNetworkCommandName = "pod-network"

Variables

This section is empty.

Functions

func NewCmdIsolateProjectsNetwork

func NewCmdIsolateProjectsNetwork(commandName, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdJoinProjectsNetwork

func NewCmdJoinProjectsNetwork(commandName, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdMakeGlobalProjectsNetwork

func NewCmdMakeGlobalProjectsNetwork(commandName, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdPodNetwork

func NewCmdPodNetwork(name, fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command

Types

type IsolateOptions

type IsolateOptions struct {
	Options *ProjectOptions
}

func (*IsolateOptions) Run

func (i *IsolateOptions) Run() error

type JoinOptions

type JoinOptions struct {
	Options *ProjectOptions
	// contains filtered or unexported fields
}

func (*JoinOptions) Run

func (j *JoinOptions) Run() error

func (*JoinOptions) Validate

func (j *JoinOptions) Validate() error

type MakeGlobalOptions

type MakeGlobalOptions struct {
	Options *ProjectOptions
}

func (*MakeGlobalOptions) Run

func (m *MakeGlobalOptions) Run() error

type ProjectOptions

type ProjectOptions struct {
	DefaultNamespace string
	Oclient          *osclient.Client
	Kclient          kclientset.Interface
	Out              io.Writer

	Mapper            meta.RESTMapper
	Typer             runtime.ObjectTyper
	CategoryExpander  resource.CategoryExpander
	RESTClientFactory func(mapping *meta.RESTMapping) (resource.RESTClient, error)

	ProjectNames []string

	// Common optional params
	Selector      string
	CheckSelector bool
}

func (*ProjectOptions) Complete

func (p *ProjectOptions) Complete(f *clientcmd.Factory, c *cobra.Command, args []string, out io.Writer) error

func (*ProjectOptions) GetProjects

func (p *ProjectOptions) GetProjects() ([]*projectapi.Project, error)

func (*ProjectOptions) UpdatePodNetwork

func (p *ProjectOptions) UpdatePodNetwork(nsName string, action sdnapi.PodNetworkAction, args string) error

func (*ProjectOptions) Validate

func (p *ProjectOptions) Validate() error

Common validations

Jump to

Keyboard shortcuts

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