ingressclass

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: UPL-1.0 Imports: 29 Imported by: 0

Documentation

Overview

* * * OCI Native Ingress Controller * * * * Copyright (c) 2023 Oracle America, Inc. and its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ *

Index

Constants

View Source
const (
	OnicResource = "oci-native-ingress-controller-resource"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller demonstrates how to implement a controller with client-go.

func NewController

func NewController(
	defaultCompartmentId string,
	defaultSubnetId string,
	controllerClass string,
	informer networkinginformers.IngressClassInformer,
	saInformer coreinformers.ServiceAccountInformer,
	client *client.ClientProvider, ctrcache ctrcache.Cache) *Controller

NewController creates a new Controller.

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

type ObjectMetaForFinalizersPatch

type ObjectMetaForFinalizersPatch struct {
	ResourceVersion string   `json:"resourceVersion"`
	Finalizers      []string `json:"finalizers"`
}

ObjectMetaForFinalizersPatch defines object meta struct for finalizers patch operation.

Jump to

Keyboard shortcuts

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