PeanutButter
Loading...
Searching...
No Matches
PeanutButter.TempElasticsearch.TempElasticsearch Class Reference

More...

Inheritance diagram for PeanutButter.TempElasticsearch.TempElasticsearch:
PeanutButter.TempElasticsearch.ITempElasticsearch

Public Member Functions

 TempElasticsearch ()
 TempElasticsearch (int port)
 TempElasticsearch (int port, string user, string password)
 TempElasticsearch (TempElasticSearchOptions options)
 Constructs the temporary Elasticsearch service with the provided options. Will be called from the "simpler" constructors.
void Dispose ()

Properties

long Id = DateTime.Now.Ticks [get]
 Self-assigned Id, used in container name generation.
ReadOnlyTempElasticsearchOptions Options [get]
 Read-only copy of the options this instance was launched with.
Uri Url [get]
 Public url this service should be available at once running.
TimeSpan? BootTime [get]
 Recorded time it took to boot the docker container.
  • does not include the time taken to pull the image

TimeSpan? PullTime [get]
 Recorded time it took to pull the docker image.
string ContainerName [get]
 The name assigned to the docker container.

Detailed Description

Constructor & Destructor Documentation

◆ TempElasticsearch()

PeanutButter.TempElasticsearch.TempElasticsearch.TempElasticsearch ( TempElasticSearchOptions options)

Constructs the temporary Elasticsearch service with the provided options. Will be called from the "simpler" constructors.

Parameters
options

Property Documentation

◆ BootTime

TimeSpan? PeanutButter.TempElasticsearch.TempElasticsearch.BootTime
get

Recorded time it took to boot the docker container.

  • does not include the time taken to pull the image

Implements PeanutButter.TempElasticsearch.ITempElasticsearch.

◆ ContainerName

string PeanutButter.TempElasticsearch.TempElasticsearch.ContainerName
get

The name assigned to the docker container.

Implements PeanutButter.TempElasticsearch.ITempElasticsearch.

◆ Id

long PeanutButter.TempElasticsearch.TempElasticsearch.Id = DateTime.Now.Ticks
get

Self-assigned Id, used in container name generation.

Implements PeanutButter.TempElasticsearch.ITempElasticsearch.

◆ Options

ReadOnlyTempElasticsearchOptions PeanutButter.TempElasticsearch.TempElasticsearch.Options
get

Read-only copy of the options this instance was launched with.

Implements PeanutButter.TempElasticsearch.ITempElasticsearch.

◆ PullTime

TimeSpan? PeanutButter.TempElasticsearch.TempElasticsearch.PullTime
get

Recorded time it took to pull the docker image.

Implements PeanutButter.TempElasticsearch.ITempElasticsearch.

◆ Url

Uri PeanutButter.TempElasticsearch.TempElasticsearch.Url
get

Public url this service should be available at once running.

Implements PeanutButter.TempElasticsearch.ITempElasticsearch.


The documentation for this class was generated from the following file:
  • source/TempDb/PeanutButter.TempElasticsearch/TempElasticsearch.cs