NAME

Kubernetes::REST::Events - Compatibility helper for deprecated v0 Events calls

VERSION

version 1.107

SYNOPSIS

# Old way (deprecated):
my $events = $api->Events->ListNamespacedEvent(namespace => 'default');

# New way:
my $events = $api->list('Event', namespace => 'default');

DESCRIPTION

This module keeps the deprecated v0 API usable. Kubernetes::REST 0.01/0.02 (by JLMARTIN) used method names like $api->Events->ListNamespacedEvent(...); calls like that still reach the cluster from here, translated onto the v1 API.

The new v1 API uses simple methods directly on the main Kubernetes::REST object:

$api->list('Event', ...)
$api->create($event)

See "UPGRADING FROM 0.02" in Kubernetes::REST for migration guide.

SEE ALSO

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 <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004