Documentation
¶
Index ¶
- func GetTunnel(cfc *controller.CFController, tp UpsertTunnelParams) (*cfapi.TunnelWithToken, error)
- func GetTunnelNameFromIngress(ingress *netv1.Ingress) *string
- func WriteCloudflaredConfig(cfc *controller.CFController, tp UpsertTunnelParams, cts *CFTunnelSecret) error
- type CFTunnelSecret
- func GetTunnelSecret(log *zerolog.Logger, secret *corev1.Secret) (CFTunnelSecret, error)
- func MatchK8SSecret(cfc *controller.CFController, secretClient clientgo_corev1.SecretInterface, ...) (*CFTunnelSecret, error)
- func UpsertTunnel(cfc *controller.CFController, tp UpsertTunnelParams) (*CFTunnelSecret, error)
- type UpsertTunnelParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTunnel ¶
func GetTunnel(cfc *controller.CFController, tp UpsertTunnelParams) (*cfapi.TunnelWithToken, error)
func WriteCloudflaredConfig ¶
func WriteCloudflaredConfig(cfc *controller.CFController, tp UpsertTunnelParams, cts *CFTunnelSecret) error
Types ¶
type CFTunnelSecret ¶
type CFTunnelSecret struct {
AccountTag string `json:"AccountTag"`
TunnelSecret string `json:"TunnelSecret"`
TunnelID uuid.UUID `json:"TunnelID"`
}
func GetTunnelSecret ¶
func MatchK8SSecret ¶
func MatchK8SSecret(cfc *controller.CFController, secretClient clientgo_corev1.SecretInterface, tunnelId string, tp UpsertTunnelParams) (*CFTunnelSecret, error)
func UpsertTunnel ¶
func UpsertTunnel(cfc *controller.CFController, tp UpsertTunnelParams) (*CFTunnelSecret, error)
Click to show internal directories.
Click to hide internal directories.