chore: add descriptions to roles
This commit is contained in:
parent
5134d1c89f
commit
80cfd36fdf
5 changed files with 12 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
||||||
|
# Customer portal Clan-service
|
||||||
|
|
@ -16,6 +16,8 @@ in
|
||||||
# Server configuration
|
# Server configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.server = {
|
roles.server = {
|
||||||
|
description = "A server hosts the portal";
|
||||||
|
|
||||||
interface = { lib, ... }:
|
interface = { lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption types toString;
|
inherit (lib) mkOption types toString;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# K3s Clan-service
|
||||||
|
|
@ -16,6 +16,8 @@ in
|
||||||
# Server configuration
|
# Server configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.server = {
|
roles.server = {
|
||||||
|
description = "A server manages the cluster";
|
||||||
|
|
||||||
interface = { lib, ... }:
|
interface = { lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption mkEnableOption mkIf types toString;
|
inherit (lib) mkOption mkEnableOption mkIf types toString;
|
||||||
|
|
@ -184,6 +186,8 @@ in
|
||||||
# Agent configuration
|
# Agent configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.agent = {
|
roles.agent = {
|
||||||
|
description = "An agent connects to the server";
|
||||||
|
|
||||||
interface = { lib, ... }: {
|
interface = { lib, ... }: {
|
||||||
options = {};
|
options = {};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,8 @@ in
|
||||||
# Controller configuration
|
# Controller configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.controller = {
|
roles.controller = {
|
||||||
|
description = "A controller that manages the instance";
|
||||||
|
|
||||||
interface = {
|
interface = {
|
||||||
options = {
|
options = {
|
||||||
hostName = mkOption {
|
hostName = mkOption {
|
||||||
|
|
@ -225,6 +227,8 @@ in
|
||||||
# Peer configuration
|
# Peer configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.peer = {
|
roles.peer = {
|
||||||
|
description = "A peer";
|
||||||
|
|
||||||
interface = {
|
interface = {
|
||||||
options = {};
|
options = {};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue