| 1 | package Kubernetes::Comb::CRD::CombUpstreamStatus; | ||
| 2 | # ABSTRACT: Upstream section in the status of a Comb custom resource | ||
| 3 | 27 | our $VERSION = '0.001'; | |
| 4 | |||
| 5 | 27 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | |||
| 8 | 27 | k8s class => Str; | |
| 9 | |||
| 10 | |||
| 11 | 27 | k8s context => Str; | |
| 12 | |||
| 13 | |||
| 14 | 27 | k8s reachable => Bool; | |
| 15 | |||
| 16 | |||
| 17 | 27 | k8s phase => Str; | |
| 18 | |||
| 19 | |||
| 20 | 27 | k8s via => [Str]; | |
| 21 | |||
| 22 | |||
| 23 | 27 | k8s observedAt => Time; | |
| 24 | |||
| 25 | |||
| 26 | 27 | 1; | |
| 27 | |||
| 28 | __END__ | ||
| 29 | |||
| 30 | =pod | ||
| 31 | |||
| 32 | =encoding UTF-8 | ||
| 33 | |||
| 34 | =head1 NAME | ||
| 35 | |||
| 36 | Kubernetes::Comb::CRD::CombUpstreamStatus - Upstream section in the status of a Comb custom resource | ||
| 37 | |||
| 38 | =head1 VERSION | ||
| 39 | |||
| 40 | version 0.001 | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | C<status.upstream> of a L<Kubernetes::Comb::CRD::Comb>, present only while an | ||
| 45 | upstream is active: which upstream, whether it is reachable, its phase and the | ||
| 46 | chain of layers the service is borrowed through. | ||
| 47 | |||
| 48 | =head2 class | ||
| 49 | |||
| 50 | Fully qualified class of the upstream, e.g. | ||
| 51 | C<Kubernetes::Comb::Upstream::K8s>. | ||
| 52 | |||
| 53 | =head2 context | ||
| 54 | |||
| 55 | Kube context the upstream lives in, where that applies. A context name only, | ||
| 56 | never credentials. | ||
| 57 | |||
| 58 | =head2 reachable | ||
| 59 | |||
| 60 | Whether the upstream answered with a usable address. | ||
| 61 | |||
| 62 | =head2 phase | ||
| 63 | |||
| 64 | The phase the upstream reports for itself. | ||
| 65 | |||
| 66 | =head2 via | ||
| 67 | |||
| 68 | ArrayRef of the layers the service is borrowed through, nearest first, e.g. | ||
| 69 | C<[ 'dev', 'prod' ]>. | ||
| 70 | |||
| 71 | =head2 observedAt | ||
| 72 | |||
| 73 | RFC 3339 timestamp of the observation. | ||
| 74 | |||
| 75 | =head1 SEE ALSO | ||
| 76 | |||
| 77 | =over | ||
| 78 | |||
| 79 | =item * L<Kubernetes::Comb::CRD::CombStatus> | ||
| 80 | |||
| 81 | =back | ||
| 82 | |||
| 83 | =head1 SUPPORT | ||
| 84 | |||
| 85 | =head2 Issues | ||
| 86 | |||
| 87 | Please report bugs and feature requests on GitHub at | ||
| 88 | L<https://github.com/Getty/p5-kubernetes-comb/issues>. | ||
| 89 | |||
| 90 | =head2 IRC | ||
| 91 | |||
| 92 | Join C<#kubernetes> on C<irc.perl.org> or message Getty directly. | ||
| 93 | |||
| 94 | =head1 CONTRIBUTING | ||
| 95 | |||
| 96 | Contributions are welcome! Please fork the repository and submit a pull request. | ||
| 97 | |||
| 98 | =head1 AUTHOR | ||
| 99 | |||
| 100 | Torsten Raudssus <getty@cpan.org> | ||
| 101 | |||
| 102 | =head1 COPYRIGHT AND LICENSE | ||
| 103 | |||
| 104 | This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> L<https://raudssus.de/>. | ||
| 105 | |||
| 106 | This is free software; you can redistribute it and/or modify it under | ||
| 107 | the same terms as the Perl 5 programming language system itself. | ||
| 108 | |||
| 109 | =cut | ||