sidecar

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberController

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

MemberController encapsulates all the tools the sidecar needs to talk to the Kubernetes API

func New

func New(
	name, namespace string,
	kubeClient kubernetes.Interface,
	rookClient rookClientset.Interface,
	serviceInformer coreinformers.ServiceInformer,
) (*MemberController, error)

New return a new MemberController

func (*MemberController) Run

func (m *MemberController) Run(threadiness int, stopCh <-chan struct{}) error

Run starts executing the sync loop for the sidecar

func (*MemberController) Sync

func (m *MemberController) Sync(memberService *v1.Service) error

Jump to

Keyboard shortcuts

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