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