Documentation ¶
Index ¶
Constants ¶
View Source
const (
// FakeSSLCertSelfLink is a fake self link for ssl certs.
FakeSSLCertSelfLink = "target/cert/self/link"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
Syncer manages GCP ssl certs for multicluster GCP L7 load balancers.
func (*Syncer) DeleteSSLCert ¶
DeleteSSLCert deletes the ssl certs that EnsureSSLCert would have created. See the interface for more details.
type SyncerInterface ¶
type SyncerInterface interface { // EnsureSSLCert ensures that the required ssl cert exists for the given ingress. // Will only change an existing SSL cert if forceUpdate=True. // Returns the self link for the ensured ssl cert. EnsureSSLCert(lbName string, ing *v1beta1.Ingress, client kubeclient.Interface, forceUpdate bool) (string, error) // DeleteSSLCert deletes the ssl cert that EnsureSSLCert would have created. DeleteSSLCert() error }
SyncerInterface is an interface to manage GCP ssl certs.
func NewFakeSSLCertSyncer ¶
func NewFakeSSLCertSyncer() SyncerInterface
NewFakeSSLCertSyncer returns a new instance of the fake syncer.
func NewSSLCertSyncer ¶
func NewSSLCertSyncer(namer *utilsnamer.Namer, scp ingresslb.LoadBalancers) SyncerInterface
NewSSLCertSyncer returns a new instance of syncer.
Click to show internal directories.
Click to hide internal directories.