sslcertificatemanager

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 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 apisv1.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 *apisv1.ManagedCertificate) error
	// Exists returns true if an SslCertificate exists, false if it is deleted.
	// Error is not nil if an error has occurred and in such case
	// a BackendError event is generated.
	Exists(sslCertificateName string, managedCertificate *apisv1.ManagedCertificate) (bool, error)
	// Get fetches an SslCertificate object. On error a BackendError event is generated.
	Get(sslCertificateName string, managedCertificate *apisv1.ManagedCertificate) (*compute.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