Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEVICE_KEY_PREFIX = "wg-keys-" DEVICE_CONFIG_PREFIX = "wg-configs-" WG_SERVER_NAME_PREFIX = "wg-server-" DNS_NAME_PREFIX = "wg-dns-" )
View Source
const ( // NSReady string = "namespace-ready" DnsConfigReady string = "dns-config-ready" KeysAndSecretReady string = "keys-and-secret-ready" ServerSvcReady string = "server-svc-ready" ConfigReady string = "config-ready" ServicesSynced string = "services-synced" ServerReady string = "server-ready" DeviceDeleted string = "device-deleted" )
Variables ¶
View Source
var ( DEV_CHECKLIST = []rApi.CheckMeta{ {Name: ServerSvcReady, Title: "Ensuring server service is created"}, {Name: DnsConfigReady, Title: "Ensuring DNS config is ready"}, {Name: KeysAndSecretReady, Title: "Ensuring keys and secret are ready"}, {Name: ConfigReady, Title: "Ensuring device config is ready"}, {Name: ServicesSynced, Title: "Ensuring services are synced"}, {Name: ServerReady, Title: "Ensuring server is ready"}, } DEV_DESTROY_CHECKLIST = []rApi.CheckMeta{ {Name: DeviceDeleted, Title: "Cleaning up device resources"}, } )
Functions ¶
func GenerateWgKeys ¶
func GetRemoteDeviceIp ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.