gatewayclass

package
v1.18.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Admitted

func Admitted(ctx context.Context, cli client.Client, name string) (bool, error)

Admitted return true if the GatewayClass specified by name is admitted.

func EnsureFinalizer

func EnsureFinalizer(ctx context.Context, cli client.Client, gc *gatewayv1alpha1.GatewayClass) error

EnsureFinalizer ensures the finalizer is added to the given gc.

func EnsureFinalizerRemoved

func EnsureFinalizerRemoved(ctx context.Context, cli client.Client, gc *gatewayv1alpha1.GatewayClass) error

EnsureFinalizerRemoved ensures the finalizer is removed for the given gc.

func Get

Get returns a GatewayClass named name, if it exists.

func IsController

func IsController(gc *gatewayv1alpha1.GatewayClass) bool

IsController returns true if the operator is the controller for gc.

func IsFinalized

func IsFinalized(gc *gatewayv1alpha1.GatewayClass) bool

IsFinalized returns true if gc is finalized.

func OtherGatewayClassesRefContour

func OtherGatewayClassesRefContour(ctx context.Context, cli client.Client, gc *gatewayv1alpha1.GatewayClass, contour *operatorv1alpha1.Contour) (bool, error)

OtherGatewayClassesRefContour returns true if GatewayClasses other than gc reference contour.

func ParameterRefExists

func ParameterRefExists(ctx context.Context, cli client.Client, name, ns string) (*gatewayv1alpha1.GatewayClass, bool, error)

ParameterRefExists returns true if a GatewayClass exists with a parametersRef ns/name that matches the provided ns/name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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