service

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LBPollTimeout = 30 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	KubeClient kubernetes.Interface
	// contains filtered or unexported fields
}

Service represents a struct that implements business logic

func New

func New(
	kubeClient kubernetes.Interface,
	tlsManager tls.TLSManagerInterface,
	lbManager loadbalancer.LBManagerInterface,
	store store.Storer,
	sync sync.Syncer,
	recorder record.EventRecorder,
	ingressClass string,
	certManagerPrefix string,
	namespace string) *Service

New creates a new Service

func (*Service) SyncToPortal

func (s *Service) SyncToPortal(key string) error

SyncToPortal syncs ingress configuration to portal by creating L7 load balancer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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