sidecar

package
v1.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 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