ingress

package
v0.0.0-...-a1c3796 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, ctx *shared.SharedContext) error

func NewAlbConfigReconciler

func NewAlbConfigReconciler(mgr manager.Manager, ctx *shared.SharedContext) (*albconfigReconciler, error)

func NewDefaultStackMarshaller

func NewDefaultStackMarshaller() *defaultStackMarshaller

func NewEnqueueRequestsForAlbconfigEvent

func NewEnqueueRequestsForAlbconfigEvent(k8sClient client.Client, eventRecorder record.EventRecorder, logger logr.Logger) *enqueueRequestsForAlbconfigEvent

func RegisterCRD

func RegisterCRD(cfg *rest.Config) error

func RegisterFromInClusterCfg

func RegisterFromInClusterCfg() error

RegisterFromInClusterCfg register crds from in cluster config file

func RegisterFromKubeconfig

func RegisterFromKubeconfig(name string) error

RegisterFromKubeconfig register crds from kubeconfig file

Types

type AlbConfigCRD

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

AlbConfigCRD is the cluster crd .

func NewAlbConfigCRD

func NewAlbConfigCRD(

	crdClient crd.Interface,
) *AlbConfigCRD

func (*AlbConfigCRD) GetListerWatcher

func (p *AlbConfigCRD) GetListerWatcher() cache.ListerWatcher

GetListerWatcher satisfies resource.crd interface (and retrieve.Retriever).

func (*AlbConfigCRD) GetObject

func (p *AlbConfigCRD) GetObject() runtime.Object

GetObject satisfies resource.crd interface (and retrieve.Retriever).

func (*AlbConfigCRD) Initialize

func (p *AlbConfigCRD) Initialize() error

podTerminatorCRD satisfies resource.crd interface.

type CRD

type CRD interface {
	Initialize() error
	GetObject() runtime.Object
	GetListerWatcher() cache.ListerWatcher
}

type Configuration

type Configuration struct {
	Client          clientset.Interface
	ResyncPeriod    time.Duration
	ConfigMapName   string
	DefaultService  string
	Namespace       string
	DisableCatchAll bool
}

Configuration contains all the settings required by an Ingress controller

type StackMarshaller

type StackMarshaller interface {
	Marshal(stack core.Manager) (string, error)
}

Directories

Path Synopsis
reconcile

Jump to

Keyboard shortcuts

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