_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c14500
// SetWindowsIgnoreFlushesDuringBoot sets g.Config.Windows.IgnoreFlushesDuringBoot.
c14501
// AddWindowsLayerFolders adds layer folders into g.Config.Windows.LayerFolders.
c14502
// AddWindowsDevices adds or sets g.Config.Windwos.Devices
c14503
// SetWindowsNetwork sets g.Config.Windows.Network.
c14504
// SetWindowsNetworkAllowUnqualifiedDNSQuery sets g.Config.Windows.Network.AllowUnqualifiedDNSQuery
c14505
// SetWindowsNetworkNamespace sets g.Config.Windows.Network.NetworkNamespace
c14506
// SetWindowsResourcesCPU sets g.Config.Windows.Resources.CPU.
c14507
// SetWindowsResourcesMemoryLimit sets g.Config.Windows.Resources.Memory.Limit.
c14508
// SetWindowsResourcesStorage sets g.Config.Windows.Resources.Storage.
c14509
// SetWindowsServicing sets g.Config.Windows.Servicing.
c14510
// ValidateLinuxResourcesDevices validates linux.resources.devices.
c14511
// IsAncestor returns true when pathB is an strict ancestor of pathA, // and false where the paths are equal or pathB is outside of pathA. // Paths that are not absolute will be made absolute with Abs.
c14512
// ValidateLinuxResourcesNetwork validates linux.resources.network.
c14513
// ValidateLinuxResourcesMemory validates linux.resources.memory.
c14514
// ParseLevel takes a string level and returns the RFC 2119 compliance level constant.
c14515
// String takes a RFC 2119 compliance level constant and returns a string representation.
c14516
// Error returns the error message with specification reference.
c14517
// NewRuntime create a runtime by command and the bundle directory
c14518
// SetConfig creates a 'config.json' by the generator
c14519
// ReadStandardStreams collects content from the stdout and stderr buffers.
c14520
// State a container information
c14521
// Kill a container
c14522
// Delete a container
c14523
// Clean deletes the container. If removeBundle is set, the bundle // directory is removed after the container is deleted successfully or, if // forceRemoveBundle is true, after the deletion attempt regardless of // whether it was successful or not.
c14524
// NewRFCErrorOrPanic creates an rfc2119.Error referencing a spec // violation and panics on failure. This is handy for situations // where you can't be bothered to check NewRFCError for failure.
c14525
// SplitLevel removes RFC 2119 errors with a level less than 'level' // from the source error. If the source error is not a multierror, it // is returned unchanged.
c14526
// ParseSyscallFlag takes a SyscallOpts struct and the seccomp configuration // and sets the new syscall rule accordingly
c14527
// ParseDefaultAction sets the default action of the seccomp configuration // and then removes any rules that were already specified with this action
c14528
// ParseDefaultActionForce simply sets the default action of the seccomp configuration
c14529
// NewValidator creates a Validator
c14530
// NewValidatorFromPath creates a Validator with specified bundle path
c14531
// CheckAll checks all parts of runtime bundle
c14532
// JSONSchemaURL returns the URL for the JSON Schema specifying the // configuration format. It consumes configSchemaTemplate, but we // provide it as a function to isolate consumers from inconsistent // naming as runtime-spec evolves.
c14533
// CheckJSONSchema validates the configuration against the // runtime-spec JSON Schema, using the version of the schema that // matches the configuration's declared version.
c14534
// CheckSemVer checks v.spec.Version
c14535
// CheckHooks check v.spec.Hooks
c14536
// CheckProcess checks v.spec.Process
c14537
// CheckCapabilities checks v.spec.Process.Capabilities
c14538
// CheckRlimits checks v.spec.Process.Rlimits
c14539
// CheckMounts checks v.spec.Mounts
c14540
// CheckPlatform checks v.platform
c14541
// CheckLinuxResources checks v.spec.Linux.Resources
c14542
// CheckAnnotations checks v.spec.Annotations
c14543
// CapValid checks whether a capability is valid
c14544
// CheckMandatoryFields checks mandatory field of container's config file
c14545
// ValidateLinuxResourcesPids validates linux.resources.pids.
c14546
//Clears the current adapter map, used internally for tests
c14547
//This is a proxy to Dataset.Literal. Used internally to ensure the correct method is called on any subclasses and to prevent duplication of code
c14548
//Adds the correct fragment to being an UPDATE statement
c14549
//Adds the correct fragment to being an INSERT statement
c14550
//Adds the correct fragment to being an DELETE statement
c14551
//Generates a TRUNCATE statement
c14552
//Adds the columns list to an insert statement
c14553
//Adds the values clause to an SQL statement
c14554
//Adds the SELECT clause and columns to a sql statement
c14555
//Adds the SELECT DISTINCT clause and columns to a sql statement
c14556
//Adds the FROM clause and tables to an sql statement
c14557
//Adds the generates the SQL for a column list
c14558
//Generates the JOIN clauses for an SQL statement
c14559
//Generates the WHERE clause for an SQL statement
c14560
//Generates the GROUP BY clause for an SQL statement
c14561
//Generates the HAVING clause for an SQL statement
c14562
//Generates the ORDER BY clause for an SQL statement
c14563
//Generates the LIMIT clause for an SQL statement
c14564
//Generates the OFFSET clause for an SQL statement
c14565
//Generates creates the sql for a sub select on a Dataset
c14566
//Generates SQL NULL value
c14567
//Generates SQL for a time.Time value
c14568
//Generates SQL for a Float Value
c14569
//Generates SQL for an int value
c14570
//Generates SQL for a string
c14571
// Generates SQL for a slice of bytes
c14572
//Generates SQL for a ColumnList
c14573
//Generates SQL for an UpdateEpxresion
c14574
//Generates SQL for a CommonTableExpression
c14575
//Generates SQL for a CompoundExpression
c14576
//used internally by database to create a database with a specific adapter
c14577
//Sets the adapter used to serialize values and create the SQL statement
c14578
//Returns true if the dataset has a FROM clause
c14579
//Adds an argument to the builder, used when IsPrepared is false
c14580
//Starts a new Transaction.
c14581
//used internally to create a new Adapter for a dataset
c14582
//Logs a given operation with the specified sql and arguments
c14583
//used internally to create a new query adapter for a Dataset
c14584
//parses the rows gathering and sorting unique columns and values for each record
c14585
//Creates an INSERT statement with the columns and values passed in
c14586
//Creates an insert statement with values coming from another dataset
c14587
//used internally to create an equality BooleanExpression
c14588
//used internally to create an in-equality BooleanExpression
c14589
//used internally to create an gt comparison BooleanExpression
c14590
//used internally to create an gte comparison BooleanExpression
c14591
//used internally to create an lt comparison BooleanExpression
c14592
//used internally to create an lte comparison BooleanExpression
c14593
//used internally to create an IN BooleanExpression
c14594
//used internally to create a NOT IN BooleanExpression
c14595
//used internally to create an IS BooleanExpression
c14596
//used internally to create an IS NOT BooleanExpression
c14597
//used internally to create a LIKE BooleanExpression
c14598
//used internally to create an ILIKE BooleanExpression
c14599
//used internally to create a NOT LIKE BooleanExpression