network

package
v3.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NSNPOptions

type NSNPOptions struct {
	AllowedIngressNamespaces []string `json:"allowedIngressNamespaces,omitempty" yaml:"allowedIngressNamespaces,omitempty"`
}

type Options

type Options struct {
	EnableNetworkPolicy bool           `json:"enableNetworkPolicy,omitempty" yaml:"enableNetworkPolicy"`
	NSNPOptions         NSNPOptions    `json:"nsnpOptions,omitempty" yaml:"nsnpOptions,omitempty"`
	EnableIPPool        bool           `json:"enableIPPool,omitempty" yaml:"enableIPPool"`
	IPPoolOptions       ippool.Options `json:"ippoolOptions,omitempty" yaml:"ippoolOptions,omitempty"`
	WeaveScopeHost      string         `json:"weaveScopeHost,omitempty" yaml:"weaveScopeHost,omitempty"`
}

func NewNetworkOptions

func NewNetworkOptions() *Options

NewNetworkOptions returns a `zero` instance

func (*Options) AddFlags

func (s *Options) AddFlags(fs *pflag.FlagSet, c *Options)

func (*Options) ApplyTo

func (s *Options) ApplyTo(options *Options)

func (*Options) Validate

func (s *Options) Validate() []error

Directories

Path Synopsis
calico/client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
calico/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
calico/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
calico/client/clientset/versioned/typed/network/calicov3
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
calico/client/clientset/versioned/typed/network/calicov3/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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