_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c7200
// ImageCreate mocks base method
c7201
// ImageHistory mocks base method
c7202
// ImageList mocks base method
c7203
// ImageLoad mocks base method
c7204
// ImageRemove mocks base method
c7205
// ImageSearch mocks base method
c7206
// ImageSearch indicates an expected call of ImageSearch
c7207
// ImageSave indicates an expected call of ImageSave
c7208
// ImagesPrune indicates an expected call of ImagesPrune
c7209
// NewMockNetworkAPIClient creates a new mock instance
c7210
// NetworkConnect indicates an expected call of NetworkConnect
c7211
// NetworkCreate indicates an expected call of NetworkCreate
c7212
// NetworkInspect mocks base method
c7213
// NetworkInspect indicates an expected call of NetworkInspect
c7214
// NetworksPrune indicates an expected call of NetworksPrune
c7215
// NewMockNodeAPIClient creates a new mock instance
c7216
// NodeRemove mocks base method
c7217
// NodeRemove indicates an expected call of NodeRemove
c7218
// NodeUpdate mocks base method
c7219
// NewMockPluginAPIClient creates a new mock instance
c7220
// PluginList indicates an expected call of PluginList
c7221
// PluginRemove mocks base method
c7222
// PluginRemove indicates an expected call of PluginRemove
c7223
// PluginEnable mocks base method
c7224
// PluginDisable mocks base method
c7225
// PluginPush mocks base method
c7226
// PluginSet mocks base method
c7227
// PluginCreate mocks base method
c7228
// PluginCreate indicates an expected call of PluginCreate
c7229
// NewMockServiceAPIClient creates a new mock instance
c7230
// ServiceCreate mocks base method
c7231
// ServiceInspectWithRaw mocks base method
c7232
// ServiceList indicates an expected call of ServiceList
c7233
// ServiceUpdate mocks base method
c7234
// ServiceLogs mocks base method
c7235
// TaskList mocks base method
c7236
// NewMockSwarmAPIClient creates a new mock instance
c7237
// SwarmInit mocks base method
c7238
// SwarmInit indicates an expected call of SwarmInit
c7239
// SwarmLeave mocks base method
c7240
// NewMockSystemAPIClient creates a new mock instance
c7241
// Events indicates an expected call of Events
c7242
// NewMockVolumeAPIClient creates a new mock instance
c7243
// VolumeCreate indicates an expected call of VolumeCreate
c7244
// VolumeInspectWithRaw mocks base method
c7245
// VolumeInspectWithRaw indicates an expected call of VolumeInspectWithRaw
c7246
// VolumeList mocks base method
c7247
// VolumeList indicates an expected call of VolumeList
c7248
// VolumesPrune indicates an expected call of VolumesPrune
c7249
// NewMockSecretAPIClient creates a new mock instance
c7250
// SecretList mocks base method
c7251
// SecretList indicates an expected call of SecretList
c7252
// SecretCreate mocks base method
c7253
// SecretCreate indicates an expected call of SecretCreate
c7254
// SecretRemove indicates an expected call of SecretRemove
c7255
// SecretInspectWithRaw mocks base method
c7256
// SecretInspectWithRaw indicates an expected call of SecretInspectWithRaw
c7257
// SecretUpdate mocks base method
c7258
// New is a method to create a new remote process monitor.
c7259
// KillRemoteEnforcer sends a rpc to the process to exit failing which it will kill the process
c7260
// collectChildExitStatus is an async function which collects status for all launched child processes
c7261
// pollStdOutAndErr polls std out and err
c7262
// getLaunchProcessCmd returns the command used to launch the enforcerd
c7263
// getLaunchProcessEnvVars returns a slice of env variable strings where each string is in the form of key=value
c7264
// contextID2SocketPath returns the socket path to use for a givent context
c7265
// processIOReader will read from a reader and print it on the calling process
c7266
// New provides a new allocator
c7267
// Release releases an item
c7268
// ReleaseInt releases an int.
c7269
// Resync instructs the monitor to do a resync.
c7270
// Count returns the current number of flows.
c7271
// GetAllRecords should return all flow records stashed so far.
c7272
// GetUserRecords retrieves all the user records.
c7273
// FlushUserCache flushes the user cache.
c7274
// GetAllDataPathPacketRecords returns all datapath packet tracing records
c7275
// Add adds a cache to a registry
c7276
// ToString generates information about all caches initialized through this lib
c7277
// NewCacheWithExpiration creates a new data cache
c7278
// NewCacheWithExpirationNotifier creates a new data cache with notifier
c7279
// ToString provides statistics about this cache
c7280
// GetReset changes the value of an entry into the cache and updates the timestamp
c7281
// Update changes the value of an entry into the cache and updates the timestamp
c7282
// AddOrUpdate adds a new value in the cache or updates the existing value // if needed. If an update happens the timestamp is also updated. // Returns true if key was updated.
c7283
// SetTimeOut sets the time out of an entry to a new value
c7284
// Get retrieves the entry from the cache
c7285
// KeyList returns all the keys that are currently stored in the cache.
c7286
// removeNotify removes the entry from the cache and optionally notifies. // returns error if not there
c7287
// Remove removes the entry from the cache and returns error if not there
c7288
// RemoveWithDelay removes the entry from the cache after a certain duration
c7289
// SizeOf returns the number of elements in the cache
c7290
// LockedModify locks the data store
c7291
// NewMockTriremeController creates a new mock instance // nolint
c7292
// UpdateSecrets mocks base method // nolint
c7293
// NewMockDebugInfo creates a new mock instance // nolint
c7294
// EnableDatapathPacketTracing mocks base method // nolint
c7295
// NewVerifierFromFile assumes that the input is provided as file path.
c7296
// NewVerifierFromPEM assumes that the input is a PEM byte array.
c7297
// NewVerifier creates a new verifier from the provided configuration.
c7298
// Validate parses a generic JWT token and flattens the claims in a normalized form. It // assumes that any of the JWT signing certs or public keys will validate the token.
c7299
// Callback is called by an IDP. Not implemented here. No central authorizer for the tokens.