Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateKnitterObj = func(reqBody []byte) (*KnitterObj, error) { knitterObj := new(KnitterObj) var err error knitterObj.CniParam, knitterObj.Args, err = knitterObj.ParamBuilderRole.Transform(reqBody) knitterObj.PodProtectionRole.PodNs = knitterObj.CniParam.PodNs knitterObj.PodProtectionRole.PodName = knitterObj.CniParam.PodName knitterObj.PodProtectionRole.ContainerID = knitterObj.CniParam.ContainerID knitterObj.ReqBody = reqBody return knitterObj, err }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.