From 9dda684cf282d595c20195cb642e297921b34b02 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Tue, 4 Feb 2020 12:39:29 +0100 Subject: [PATCH] update config --- pkg/config/config.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 68577874d..66dadf2ad 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1,13 +1,21 @@ // Package config should be moved to internal package config -// Config captures ocis-accounts configuration parameters +// Server configures a server. +type Server struct { + Name string + Namespace string + Address string +} + +// Config merges all Account config parameters. type Config struct { MountPath string Manager string + Server Server } -// New returns a new config +// New returns a new config. func New() *Config { return &Config{} }