sslcertificatemanager

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package sslcertificatemanager manipulates SslCertificate resources and communicates GCE API errors with Events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface added in v1.0.0

type Interface interface {
	// Create creates an SslCertificate object. It generates a TooManyCertificates event
	// if SslCertificate quota is exceeded or BackendError event if another
	// generic error occurs. On success it generates a Create event.
	Create(ctx context.Context, sslCertificateName string, managedCertificate v1.ManagedCertificate) error
	// Delete deletes an SslCertificate object, existing or not. If a generic error occurs,
	// it generates a BackendError event. If the SslCertificate object exists
	// and is successfully deleted, a Delete event is generated.
	Delete(ctx context.Context, sslCertificateName string, managedCertificate *v1.ManagedCertificate) error
	// Get fetches an SslCertificate object. On error a BackendError event is generated.
	Get(sslCertificateName string, managedCertificate *v1.ManagedCertificate) (*computev1.SslCertificate, error)
}

Interface provides operations for manipulating SslCertificate resources and communicates GCE API errors with Events.

func New

func New(event event.Interface, metrics metrics.Interface, ssl ssl.Interface, state state.Interface) Interface

Jump to

Keyboard shortcuts

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