Code refactoring and including conf dir in the CNI Conf file option

Change-Id: I2b35377356f2144fd3889bf5de7ac430a19edf89
Co-authored-by: Doug Smith <dougbtv@users.noreply.github.com>
Co-authored-by: Tomofumi Hayashi <s1061123@users.noreply.github.com>
Co-authored-by: Dan Williams <dcbw@users.noreply.github.com>
This commit is contained in:
kuralamudhan ramakrishnan
2018-05-09 11:47:37 +01:00
committed by Kuralamudhan Ramakrishnan
parent f0794119ba
commit fd79ef6505
3 changed files with 27 additions and 24 deletions

View File

@@ -25,6 +25,7 @@ import (
// NetConf for cni config file written in json
type NetConf struct {
types.NetConf
ConfDir string `json:"confDir"`
CNIDir string `json:"cniDir"`
Delegates []map[string]interface{} `json:"delegates"`
Kubeconfig string `json:"kubeconfig"`