NAME

Kubernetes::REST::Core - DEPRECATED - v0 API group for Core resources

VERSION

version 1.001

SYNOPSIS

# DEPRECATED API - use the new v1 API instead

# Old way (deprecated):
my $pods = $api->Core->ListNamespacedPod(namespace => 'default');

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

DESCRIPTION

This module is DEPRECATED. It provides backwards compatibility for the v0 API (Kubernetes::REST 0.01/0.02 by JLMARTIN) which used method names like $api->Core->ListNamespacedPod(...).

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

$api->list('Pod', ...)
$api->get('Pod', 'name', ...)
$api->create($pod)
$api->update($pod)
$api->delete($pod)

All calls to this module emit deprecation warnings unless $ENV{HIDE_KUBERNETES_REST_V0_API_WARNING} is set.

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 <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