# Functions
Validates the given serviceNameTemplate A template should only contain {namespace}, {name}, {port} or {hash} separated by hyphens.
NewBackendController takes the project name and an initialized *compute.Service.
ReconcileStatus takes the actual and intended AutonegStatus and returns sets of backends to remove, and to upsert.
This function is mostly copied from: https://github.com/kubernetes/ingress-gce/blob/4cb04408a6266b5ea00d9567c6165b9235392972/pkg/utils/namer/utils.go#L27..L62 TrimFieldsEvenly trims the fields evenly and keeps the total length <= max.
# Structs
AutonegConfig specifies the intended configuration of autoneg stored in the controller.autoneg.dev/neg annotation.
No description provided by the author
AutonegConfig specifies the intended configuration of autoneg stored in the controller.autoneg.dev/neg annotation.
AutonegStatus specifies the reconciled status of autoneg stored in the controller.autoneg.dev/neg annotation.
Specifies additional configuration which to sync.
Backends specifies a name and list of compute.Backends.
NEGConfig specifies the configuration stored in in the cloud.google.com/neg annotation.
NEGStatus specifies the output of the GKE NEG controller stored in the cloud.google.com/neg-status annotation.
AutonegConfig specifies the intended configuration of autoneg stored in the anthos.cft.dev/autoneg annotation.
AutonegStatus specifies the reconciled status of autoneg stored in the anthos.cft.dev/autoneg-status annotation.
BackendController manages operations on a GCLB backend service.
ServiceReconciler reconciles a Service object.
Statuses represents the autoneg-relevant structs fetched from annotations.
# Interfaces
No description provided by the author