service

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

Register register the longhorn node CRD controller

Types

type Controller

type Controller struct {
	ServiceCache      ctlcorev1.ServiceCache
	Services          ctlcorev1.ServiceController
	NetworkFSCache    ctlntefsv1.NetworkFilesystemCache
	NetworkFilsystems ctlntefsv1.NetworkFilesystemController
	// contains filtered or unexported fields
}

func (*Controller) OnServicesChange

func (c *Controller) OnServicesChange(_ string, service *corev1.Service) (*corev1.Service, error)

OnServicesChange watch the services CR on change and sync up to networkfilesystem CR

Jump to

Keyboard shortcuts

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