gateway

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldManager = "isto-cert-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayController

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

func NewGatewayController

func NewGatewayController(istioClient istioversionedclient.Interface, certClient certmanagerclient.Interface, opts ...OptionsFunc) *GatewayController

func (*GatewayController) CreateCertificate

func (c *GatewayController) CreateCertificate(ctx context.Context, gateway *networkingv1beta1.Gateway, server *v1beta1.Server) error

func (*GatewayController) Reconcile

func (c *GatewayController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*GatewayController) SetupWithManager

func (c *GatewayController) SetupWithManager(ctx context.Context, mgr manager.Manager) error

func (*GatewayController) UpdateCertificate

func (c *GatewayController) UpdateCertificate(ctx context.Context, cert *v1certmanager.Certificate, gateway *networkingv1beta1.Gateway, server *v1beta1.Server) error

type OptionsFunc

type OptionsFunc func(*GatewayController)

func WithCertificateNamespace

func WithCertificateNamespace(namespace string) OptionsFunc

func WithDefaultClusterIssuer

func WithDefaultClusterIssuer(issuer string) OptionsFunc

func WithDryRun

func WithDryRun(dryrun bool) OptionsFunc

func WithGatewayLookupCache added in v0.3.0

func WithGatewayLookupCache(glc *cache.GatewayLookupCache) OptionsFunc

func WithHTTPSolverLabel added in v0.3.1

func WithHTTPSolverLabel(l string) OptionsFunc

Jump to

Keyboard shortcuts

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