app

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shiba

type Shiba struct {
	// contains filtered or unexported fields
}

Shiba is the main app.

func NewShiba

func NewShiba(client kubernetes.Interface, nodeName, cniConfigPath string, options ShibaOptions) (*Shiba, error)

NewShiba returns a new instance of Shiba.

func (*Shiba) Run

func (shiba *Shiba) Run(stopCh <-chan struct{}) error

Run starts the main routine until stopCh is closed.

type ShibaOptions

type ShibaOptions struct {
	APITimeout      time.Duration
	ClusterPodCIDRs []*net.IPNet
}

ShibaOptions specifies the non-essential options for Shiba.

Jump to

Keyboard shortcuts

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