network

package
v0.0.0-...-e779149 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 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,omitempty"`
	NSNPOptions         NSNPOptions `json:"nsnpOptions,omitempty" yaml:"nsnpOptions,omitempty"`
	WeaveScopeHost      string      `json:"weaveScopeHost,omitempty" yaml:"weaveScopeHost,omitempty"`
	IPPoolType          string      `json:"ippoolType,omitempty" yaml:"ippoolType,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) IsEmpty

func (s *Options) IsEmpty() bool

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