NAME
Kubernetes::REST::LogEvent - A single log line from the Kubernetes Pod Log API
VERSION
version 1.100
SYNOPSIS
$api->log('Pod', 'my-pod',
namespace => 'default',
follow => 1,
on_line => sub {
my ($event) = @_;
say $event->line;
},
);
DESCRIPTION
Represents a single log line from the Kubernetes Pod Log API. Wraps the raw text line in a typed object for consistent event handling, analogous to Kubernetes::REST::WatchEvent for the Watch API.
line
The log line text. Does not include the trailing newline.
SEE ALSO
"log" in Kubernetes::REST - Pod Log API documentation
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#read-log-pod-v1-core - Kubernetes Pod log API reference
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/kubernetes-rest/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Torsten Raudssus <torsten@raudssus.de>
Jose Luis Martinez Torres <jlmartin@cpan.org> (JLMARTIN, original author, inactive)
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019 by Jose Luis Martinez.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004