Documentation ¶
Index ¶
- type Namer
- func (n *Namer) BeServiceName(port int64) string
- func (n *Namer) FirewallRuleName() string
- func (n *Namer) HTTPForwardingRuleName() string
- func (n *Namer) HTTPSForwardingRuleName() string
- func (n *Namer) HealthCheckName(port int64) string
- func (n *Namer) SSLCertName() string
- func (n *Namer) TargetHTTPProxyName() string
- func (n *Namer) TargetHTTPSProxyName() string
- func (n *Namer) Truncate(key string) string
- func (n *Namer) URLMapName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namer ¶
type Namer struct {
// contains filtered or unexported fields
}
Namer provides a naming schema for GCP resources
func (*Namer) BeServiceName ¶
BeServiceName returns the name for the backend service on the given port.
func (*Namer) FirewallRuleName ¶
FirewallRuleName returns a name for a firewall.
func (*Namer) HTTPForwardingRuleName ¶
HTTPForwardingRuleName returns the forwarding rule name.
func (*Namer) HTTPSForwardingRuleName ¶
HTTPSForwardingRuleName returns the forwarding rule name.
func (*Namer) HealthCheckName ¶
HealthCheckName returns the name for a health check on the given port.
func (*Namer) SSLCertName ¶
SSLCertName returns a name for SSL certificates.
func (*Namer) TargetHTTPProxyName ¶
TargetHTTPProxyName returns a name for the http proxy.
func (*Namer) TargetHTTPSProxyName ¶
TargetHTTPSProxyName returns a name for the https proxy.
func (*Namer) URLMapName ¶
URLMapName returns the name for a url map.
Click to show internal directories.
Click to hide internal directories.