ingress

package
v1.0.5-3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Client      k8sclient.Client
	Scheme      *runtime.Scheme
	IngressFile string
	Suffix      string

	LabelsFunc   func(v1.Object) map[string]string
	OverrideFunc func(v1.Object, *networkingv1.Ingress, resources.Action) error

	Name string
	// contains filtered or unexported fields
}

func (*Manager) BasedOnCR

func (m *Manager) BasedOnCR(instance v1.Object, ingress *networkingv1.Ingress) (*networkingv1.Ingress, error)

func (*Manager) CheckState

func (m *Manager) CheckState(instance v1.Object) error

func (*Manager) Delete

func (m *Manager) Delete(instance v1.Object) error

func (*Manager) Exists

func (m *Manager) Exists(instance v1.Object) bool

func (*Manager) Get

func (m *Manager) Get(instance v1.Object) (client.Object, error)

func (*Manager) GetIngressBasedOnCRFromFile

func (m *Manager) GetIngressBasedOnCRFromFile(instance v1.Object) (*networkingv1.Ingress, error)

func (*Manager) GetName

func (m *Manager) GetName(instance v1.Object) string

func (*Manager) Reconcile

func (m *Manager) Reconcile(instance v1.Object, update bool) error

func (*Manager) RestoreState

func (m *Manager) RestoreState(instance v1.Object) error

func (*Manager) SetCustomName

func (m *Manager) SetCustomName(name string)

func (*Manager) UpdateIngressClassName

func (m *Manager) UpdateIngressClassName(name string, instance v1.Object) error

Jump to

Keyboard shortcuts

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