Group
Extension

Matches 2

Kubectl-CLIWrapper ( J/JL/JLMARTIN/Kubectl-CLIWrapper-0.06.tar.gz, JLMARTIN, 2018; MetaCPAN )
Kubectl-CLIWrapper/lib/Kubectl/CLIWrapper.pm ( view source; MetaCPAN )
package Kubectl::CLIWrapper {
  use Moo;
  use IPC::Open3;
  use JSON::MaybeXS;
  use Kubectl::CLIWrapper::Result;
  use Type::Tiny::Union;
  use Types::Standard qw/Str CodeRef Bool/;

  our $VERSION 
undef, @command);
  }

  sub json {
    my ($self, @command) = @_;

    push @command, '-o=json';

    my $result = $self->run(@command);
    my $struct = eval {
      JSON->new->decode($result->outpu
Kubectl::CLIWrapper::Result->new(
      rc => $result->rc,
      output => $result->output,
      json => $struct
    );
  }

  sub input {
    my ($self, $input, @params) = @_;

    my @final_command
Kubectl-CLIWrapper ( J/JL/JLMARTIN/Kubectl-CLIWrapper-0.06.tar.gz, JLMARTIN, 2018; MetaCPAN )
Kubectl-CLIWrapper/lib/Kubectl/CLIWrapper/Result.pm ( view source; MetaCPAN )
as rc => (is => 'ro', isa => Int, required => 1);
  has output => (is => 'ro', isa => Str);
  has json => (is => 'ro', isa => HashRef);

  has success => (is => 'ro', isa => Bool, lazy => 1, default =

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.