OpenSearch
view release on metacpan or search on metacpan
lib/OpenSearch/Parameters/Cluster/Health.pm view on Meta::CPAN
has 'wait_for_nodes' => (
is => 'rw',
isa => Str,
);
has 'wait_for_events' => (
is => 'rw',
isa => Enum[qw(immediate urgent high normal low languid)],
);
has 'wait_for_no_relocating_shards' => (
is => 'rw',
isa => Bool,
);
has 'wait_for_no_initializing_shards' => (
is => 'rw',
isa => Bool,
);
has 'wait_for_status' => (
lib/OpenSearch/Parameters/Cluster/Health.pm view on Meta::CPAN
isa => Enum[qw(green yellow red)],
);
has 'weights' => (
is => 'rw',
isa => HashRef,
);
around [
qw/index expand_wildcards level awareness_attributes local cluster_manager_timeout
timeout wait_for_active_shards wait_for_nodes wait_for_events wait_for_no_relocating_shards
wait_for_no_initializing_shards wait_for_status weights/
] => sub {
my $orig = shift;
my $self = shift;
if (@_) {
$self->$orig(@_);
return ($self);
}
return ( $self->$orig );
lib/OpenSearch/Parameters/Cluster/Health.pm view on Meta::CPAN
type => 'url',
},
wait_for_nodes => {
encode_func => 'as_is',
type => 'url',
},
wait_for_events => {
encode_func => 'as_is',
type => 'url',
},
wait_for_no_relocating_shards => {
encode_func => 'encode_bool',
type => 'url',
},
wait_for_no_initializing_shards => {
encode_func => 'encode_bool',
type => 'url',
},
wait_for_status => {
encode_func => 'as_is',
type => 'url',
( run in 0.526 second using v1.01-cache-2.11-cpan-71847e10f99 )