Documentation
¶
Index ¶
- Variables
- type Peer
- type Wireguard
- func (fact Wireguard) ConfigMap() (*corev1.ConfigMap, error)
- func (fact Wireguard) Deployment(configHash string) (*appsv1.Deployment, error)
- func (fact Wireguard) ExtractEndpoint(svc corev1.Service) (*string, error)
- func (fact Wireguard) Labels() map[string]string
- func (fact Wireguard) Secret(pubKey, privKey string) (*corev1.Secret, error)
- func (fact Wireguard) Service() (*corev1.Service, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPublicIpNotYetSet = fmt.Errorf("public ip not yet set")
)
Functions ¶
This section is empty.
Types ¶
type Wireguard ¶
func (Wireguard) Deployment ¶
func (fact Wireguard) Deployment(configHash string) (*appsv1.Deployment, error)
func (Wireguard) ExtractEndpoint ¶
Returns desired endpoint address for peer
Click to show internal directories.
Click to hide internal directories.