_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c8200
// NetworkGetOper inspects network
c8201
// NetworkUpdate updates network
c8202
// NetworkDelete deletes network
c8203
// NetprofileCreate creates the network rule
c8204
// NetprofileUpdate updates the netprofile
c8205
// NetprofileDelete deletes netprofile
c8206
// PolicyCreate creates policy
c8207
// PolicyGetOper inspects policy
c8208
// PolicyUpdate updates policy
c8209
// PolicyDelete deletes policy
c8210
// RuleUpdate updates the rule within a policy
c8211
// RuleDelete deletes the rule within a policy
c8212
// TenantCreate creates a tenant
c8213
// Get all the networks inside tenant
c8214
// Get all the EPGs inside tenant
c8215
// TenantGetOper inspects tenant
c8216
// TenantUpdate updates a tenant
c8217
// TenantDelete deletes a tenant
c8218
//BgpCreate add bgp neighbor
c8219
//BgpDelete deletes bgp neighbor
c8220
//BgpUpdate updates bgp config
c8221
//BgpGetOper inspects the oper state of bgp object
c8222
//ServiceLBCreate creates service object
c8223
//ServiceLBUpdate updates service object
c8224
//ServiceLBDelete deletes service object
c8225
//ServiceLBGetOper inspects the oper state of service lb object
c8226
// Init initializes the NetPlugin instance via the configuration string passed.
c8227
// Deinit is a destructor for the NetPlugin configuration.
c8228
// DeleteNetwork deletes a network provided by the ID.
c8229
// FetchNetwork retrieves a network's state given an ID.
c8230
// CreateHostAccPort creates a host access port
c8231
// DeleteHostAccPort creates a host access port
c8232
// DeletePeerHost removes a peer host.
c8233
//AddServiceLB adds service
c8234
//DeleteServiceLB deletes service
c8235
// GetEndpointStats returns all endpoint stats
c8236
// InspectState returns current state of the plugin
c8237
// InspectBgp returns current state of the plugin
c8238
// InspectNameserver returns current state of the nameserver
c8239
//GlobalConfigUpdate update global config
c8240
//Reinit reinitialize the network driver
c8241
//DelSvcSpec deletes k8 service spec
c8242
// AddPolicyRule creates a policy rule
c8243
// InitK8SServiceWatch monitor k8s services
c8244
// MarshalBinary renders the current point to a byte slice. // Implements the encoding.BinaryMarshaler Interface.
c8245
// MarshalJSON renders the current Point to valid JSON. // Implements the json.Marshaller Interface.
c8246
// UnmarshalJSON decodes the current Point from a JSON body. // Throws an error if the body of the point cannot be interpreted by the JSON body
c8247
// HandleWithSQL retrieves the SQL configuration specified in config.yml // that resides at the root level of the project. // Returns a pointer to a SQLMapper if successful, or an error // if there is an issue opening a database connection.
c8248
// Geocode returns the first point returned by OpenCage's geocoding service or an error // if one occurs during the geocoding request.
c8249
// Geocode returns the first point returned by MapQuest's geocoding service or an error // if one occurs during the geocoding request.
c8250
// Creates a new SQLConf and returns a pointer to it. // If it encounters an error during parsing the file, // it will return an error instead.
c8251
// Contains returns whether or not the current Polygon contains the passed in Point.
c8252
// New creates a SizedWaitGroup. // The limit parameter is the maximum amount of // goroutines which can be started concurrently.
c8253
// AddWithContext increments the internal WaitGroup counter. // It can be blocking if the limit of spawned goroutines // has been reached. It will stop blocking when Done is // been called, or when the context is canceled. Returns nil on // success or an error if the context is canceled before the lock // is acquired. ...
c8254
// PrettyOptions is like Pretty but with customized options.
c8255
// Ugly removes insignificant space characters from the input json byte slice // and returns the compacted result.
c8256
// writeBlockSkip writes the current block and uses the number of tokens // to determine if the block should be stored on no matches, or // only huffman encoded.
c8257
// Try to find a match starting at index whose length is greater than prevSize. // We only look at chainCount possibilities before giving up. // pos = d.index, prevHead = d.chainHead-d.hashOffset, prevLength=minMatchLength-1, lookahead
c8258
// bulkHash4 will compute hashes using the same // algorithm as hash4
c8259
// matchLen returns the number of matching bytes in a and b // up to length 'max'. Both slices must be at least 'max' // bytes in size.
c8260
// fillWindow will fill the buffer with data for huffman-only compression. // The number of bytes copied is returned.
c8261
// write will add input byte to the stream. // Unless an error occurs all bytes will be consumed.
c8262
// reset the state of the compressor.
c8263
// NewWriterDict is like NewWriter but initializes the new // Writer with a preset dictionary. The returned Writer behaves // as if the dictionary had been written to it without producing // any compressed output. The compressed data written to w // can only be decompressed by a Reader initialized with the // same di...
c8264
// Write writes data to w, which will eventually write the // compressed form of data to its underlying writer.
c8265
// Reset discards the writer's state and makes it equivalent to // the result of NewWriter or NewWriterDict called with dst // and w's level and dictionary.
c8266
// ResetDict discards the writer's state and makes it equivalent to // the result of NewWriter or NewWriterDict called with dst // and w's level, but sets a specific dictionary.
c8267
// noEOF converts io.EOF to io.ErrUnexpectedEOF.
c8268
// NewReader creates a new Reader reading the given reader. // If r does not also implement io.ByteReader, // the decompressor may read more data than necessary from r. // // It is the caller's responsibility to call Close on the Reader when done. // // The Reader.Header fields will be valid in the Reader returned.
c8269
// Reset discards the Reader z's state and makes it equivalent to the // result of its original state from NewReader, but reading from r instead. // This permits reusing a Reader rather than allocating a new one.
c8270
// readHeader reads the GZIP header according to section 2.3.1. // This method does not set z.err.
c8271
// Read implements io.Reader, reading uncompressed bytes from its underlying Reader.
c8272
// addBits16NC will add up to 16 bits. // It will not check if there is space for them, // so the caller must ensure that it has flushed recently.
c8273
// addBits16ZeroNC will add up to 16 bits. // It will not check if there is space for them, // so the caller must ensure that it has flushed recently. // This is fastest if bits can be zero.
c8274
// flush32 will flush out, so there are at least 32 bits available for writing.
c8275
// flushAlign will flush remaining full bytes and align to next byte boundary.
c8276
// reset and continue writing by appending to out.
c8277
// NewWriter returns a new Writer. // Writes to the returned writer are compressed and written to w. // // It is the caller's responsibility to call Close on the WriteCloser when done. // Writes may be buffered and not flushed until Close. // // Callers that wish to set the fields in Writer.Header must do so before // ...
c8278
// NewWriterLevel is like NewWriter but specifies the compression level instead // of assuming DefaultCompression. // // The compression level can be DefaultCompression, NoCompression, or any // integer value between BestSpeed and BestCompression inclusive. The error // returned will be nil if the level is valid.
c8279
// Reset discards the Writer z's state and makes it equivalent to the // result of its original state from NewWriter or NewWriterLevel, but // writing to w instead. This permits reusing a Writer rather than // allocating a new one.
c8280
// writeBytes writes a length-prefixed byte slice to z.w.
c8281
// Write writes a compressed form of p to the underlying io.Writer. The // compressed bytes are not necessarily flushed until the Writer is closed.
c8282
// Flush flushes any pending compressed data to the underlying writer. // // It is useful mainly in compressed network protocols, to ensure that // a remote reader has enough data to reconstruct a packet. Flush does // not return until the data has been written. If the underlying // writer returns an error, Flush retur...
c8283
// reset will reset the block. // Input must be a start of a block and will be at the end of the block when returned.
c8284
// sendEOF will make the decoder send EOF on this frame.
c8285
// Close will release resources. // Closed blockDec cannot be reset.
c8286
// decodeAsync will prepare decoding the block when it receives input. // This will separate output and history.
c8287
// decodeAsync will prepare decoding the block when it receives the history. // If history is provided, it will not fetch it from the channel.
c8288
// init initializes and resets the bit reader.
c8289
// close the bitstream and returns an error if out-of-buffer reads occurred.
c8290
// RegisterDecompressor allows custom decompressors for a specified method ID.
c8291
// RegisterCompressor registers custom compressors for a specified method ID. // The common methods Store and Deflate are built in.
c8292
// init the state of the decoder with input from stream.
c8293
// initialize all 3 decoders from the stream input.
c8294
// nextFast will return new states when there are at least 4 unused bytes left on the stream when done.
c8295
// mergeHistory will merge history.
c8296
// Compress1X will compress the input. // The output can be decoded using Decompress1X. // Supply a Scratch object. The scratch object contains state about re-use, // So when sharing across independent encodes, be sure to set the re-use policy.
c8297
// Compress4X will compress the input. The input is split into 4 independent blocks // and compressed similar to Compress1X. // The output can be decoded using Decompress4X. // Supply a Scratch object. The scratch object contains state about re-use, // So when sharing across independent encodes, be sure to set the re-u...
c8298
// compress4Xp will compress 4 streams using separate goroutines.
c8299
// minTableLog provides the minimum logSize to safely represent a distribution.