Documentation
¶
Overview ¶
Package ssl provides operations for manipulating SslCertificate GCE resources.
Index ¶
- func NewFakeSslCertificate(name, status string, domainToStatus map[string]string) *compute.SslCertificate
- type Builder
- type Error
- type Fake
- func (f *Fake) Create(ctx context.Context, name string, domains []string) error
- func (f *Fake) Delete(ctx context.Context, name string) error
- func (f *Fake) Exists(name string) (bool, error)
- func (f *Fake) Get(name string) (*compute.SslCertificate, error)
- func (f *Fake) List() ([]*compute.SslCertificate, error)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeSslCertificate ¶ added in v1.0.0
func NewFakeSslCertificate(name, status string, domainToStatus map[string]string) *compute.SslCertificate
Types ¶
type Builder ¶ added in v1.0.0
type Builder struct {
// contains filtered or unexported fields
}
Builder
func (*Builder) AddEntryWithStatus ¶ added in v1.0.0
type Error ¶ added in v1.0.0
type Error struct {
// contains filtered or unexported fields
}
func NewFakeQuotaExceededError ¶ added in v1.0.0
func NewFakeQuotaExceededError() *Error
func (*Error) IsQuotaExceeded ¶ added in v1.0.0
type Fake ¶ added in v1.0.0
type Fake struct {
// contains filtered or unexported fields
}
Fake
type Interface ¶ added in v1.0.0
type Interface interface { // Create creates a new SslCertificate resource. Create(ctx context.Context, name string, domains []string) error // Delete deletes an SslCertificate resource. Delete(ctx context.Context, name string) error // Exists returns true if an SslCertificate exists, false if it is deleted. // Error is not nil if an error has occurred. Exists(name string) (bool, error) // Get fetches an SslCertificate resource. Get(name string) (*compute.SslCertificate, error) // List fetches all SslCertificate resources. List() ([]*compute.SslCertificate, error) }
Interface exposes operations for manipulating SslCertificate resources.
Click to show internal directories.
Click to hide internal directories.