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.
Click to show internal directories.
Click to hide internal directories.