ingress

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: UPL-1.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCaBundle added in v1.1.0

func CreateCaBundle(certificateName string, compartmentId string, certificatesClient *certificate.CertificatesClient,
	certificateContents *string) (*certificatesmanagement.CaBundle, error)

func CreateImportedTypeCertificate added in v1.1.0

func CreateImportedTypeCertificate(caCertificatesChain *string, serverCertificate *string, privateKey *string, certificateName string, compartmentId string,
	certificatesClient *certificate.CertificatesClient) (*certificatesmanagement.Certificate, error)

func CreateOrGetCaBundleForBackendSet added in v1.1.0

func CreateOrGetCaBundleForBackendSet(namespace string, secretName string, compartmentId string, client *client.ClientProvider) (*string, error)

func CreateOrGetCertificateForListener added in v1.1.0

func CreateOrGetCertificateForListener(namespace string, secretName string, compartmentId string, client *client.ClientProvider) (*string, error)

func FindCaBundleWithName added in v1.1.0

func FindCaBundleWithName(certificateName string, compartmentId string,
	certificatesClient *certificate.CertificatesClient) (*string, error)

func FindCertificateWithName added in v1.1.0

func FindCertificateWithName(certificateName string, compartmentId string,
	certificatesClient *certificate.CertificatesClient) (*string, error)

func GetCaBundle added in v1.1.0

func GetCaBundle(caBundleId string, certificatesClient *certificate.CertificatesClient) (*certificatesmanagement.CaBundle, error)

func GetCertificate added in v1.1.0

func GetCertificate(certificateId *string, certificatesClient *certificate.CertificatesClient) (*certificatesmanagement.Certificate, error)

func GetSSLConfigForBackendSet added in v1.1.0

func GetSSLConfigForBackendSet(namespace string, artifactType string, artifact string, lb *ociloadbalancer.LoadBalancer, bsName string, compartmentId string, client *client.ClientProvider) (*ociloadbalancer.SslConfigurationDetails, error)

func GetSSLConfigForListener added in v1.1.0

func GetSSLConfigForListener(namespace string, listener *ociloadbalancer.Listener, artifactType string, artifact string, compartmentId string, client *client.ClientProvider) (*ociloadbalancer.SslConfigurationDetails, error)

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(controllerClass string, defaultCompartmentId string,
	ingressClassInformer networkinginformers.IngressClassInformer, ingressInformer networkinginformers.IngressInformer,
	serviceLister corelisters.ServiceLister,
	client *client.ClientProvider,
	reg *prometheus.Registry) *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.

type TLSSecretData

type TLSSecretData struct {
	// This would hold server certificate and any chain of trust.
	CaCertificateChain *string
	ServerCertificate  *string
	PrivateKey         *string
}

Jump to

Keyboard shortcuts

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