@@ -224,6 +224,11 @@ func (m *MockCNI) CheckNetwork(ctx context.Context, net *cnilibrary.NetworkConfi
224224 return args .Error (0 )
225225}
226226
227+ func (m * MockCNI ) GetNetworkCachedConfig (net * cnilibrary.NetworkConfig , rt * cnilibrary.RuntimeConf ) ([]byte , * cnilibrary.RuntimeConf , error ) {
228+ args := m .Called (net , rt )
229+ return args .Get (0 ).([]byte ), args .Get (1 ).(* cnilibrary.RuntimeConf ), args .Error (1 )
230+ }
231+
227232func (m * MockCNI ) GetNetworkCachedResult (net * cnilibrary.NetworkConfig , rt * cnilibrary.RuntimeConf ) (types.Result , error ) {
228233 args := m .Called (net , rt )
229234 return args .Get (0 ).(types.Result ), args .Error (1 )
@@ -239,8 +244,12 @@ func (m *MockCNI) ValidateNetwork(ctx context.Context, net *cnilibrary.NetworkCo
239244 return args .Get (0 ).([]string ), args .Error (1 )
240245}
241246
247+ func (m * MockCNI ) GetNetworkListCachedConfig (net * cnilibrary.NetworkConfigList , rt * cnilibrary.RuntimeConf ) ([]byte , * cnilibrary.RuntimeConf , error ) {
248+ args := m .Called (net , rt )
249+ return args .Get (0 ).([]byte ), args .Get (1 ).(* cnilibrary.RuntimeConf ), args .Error (1 )
250+ }
251+
242252func (m * MockCNI ) GetNetworkListCachedResult (net * cnilibrary.NetworkConfigList , rt * cnilibrary.RuntimeConf ) (types.Result , error ) {
243253 args := m .Called (net , rt )
244254 return args .Get (0 ).(types.Result ), args .Error (1 )
245-
246255}
0 commit comments