NAME

IO::K8s::Types - Type::Tiny type library for Kubernetes resources

VERSION

version 1.001

SYNOPSIS

use IO::K8s::Types qw( :core :batch );

has pod => (
    is => 'ro',
    isa => Pod,
);

has jobs => (
    is => 'ro',
    isa => ArrayRef[Job],
);

DESCRIPTION

This module provides Type::Tiny type constraints for all major Kubernetes resource types. Types can be imported individually or by category using export tags.

NAME

IO::K8s::Types - Type::Tiny type library for Kubernetes resources

EXPORT TAGS

:core

Pod, PodSpec, Container, Service, ConfigMap, Secret, Namespace, Node, etc.

:apps

Deployment, ReplicaSet, StatefulSet, DaemonSet

:batch

Job, JobSpec, CronJob

:networking

Ingress, NetworkPolicy

:rbac

Role, RoleBinding, ClusterRole, ClusterRoleBinding

:meta

ObjectMeta, LabelSelector, Status

:all

All types

SEE ALSO

IO::K8s, Type::Tiny

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/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 <jlmartin@cpan.org> (original author, inactive)

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Jose Luis Martinez.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004