NAME

Types::GitLab - Type::Tiny types for GitLab stuff.

SYNOPSIS

package Foo;

use Types::GitLab -types;

use Moo;
use strictures 1;
use namespace::clean;

has token => (
  is  => 'ro',
  isa => GitLabToken,
);

DESCRIPTION

GitLab is an open source git server.

This module provides several Type::Tiny types for several of GitLab's data types.

TYPES

GitLabUsername

Username can contain only letters, digits, '_', '-' and '.'. It must start with letter, digit or '_', optionally preceeded by '.'. It must not end in '.git'.

GitLabToken

The API token for a user.

GitLabAPIURI

The value must be an URI object. A coercion is available to convert a Str.

GitLabProjectID

This type requires that the value by a positive integer.

SEE ALSO

AUTHOR

Aran Clary Deltac <bluefeet@gmail.com>

ACKNOWLEDGEMENTS

Thanks to ZipRecruiter for encouraging their employees to contribute back to the open source ecosystem. Without their dedication to quality software development this distribution would not exist.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.