Categorygithub.com/adevinta/vulcan-types
modulepackage
1.2.21
Repository: https://github.com/adevinta/vulcan-types.git
Documentation: pkg.go.dev

# README

Vulcan Types

A package that helps guessing the type of an asset

# Functions

DetectAssetTypes detects the asset types from an identifier.
IsAWSAccount returns true if the target is an AWS account.
IsAWSARN returns true if the target is an AWS ARN.
IsCIDR returns true if the target is a CIDR.
IsDockerImage returns true if the target is a Docker image.
IsDomainName returns true if a query to a domain server returns a SOA record for the target.
IsGCPProjectID returns true if the target is a GCP Project.
IsGitRepository returns true if the target has the format of a Git repository.
IsHost returns true if the target is a CIDR with mask '/32'.
IsHostname returns true if the target is not an IP but can be resolved to an IP.
IsHostnameNoDNSResolution returns true if the target is not an IP.
IsIP returns true if the target is an IP address.
IsURL returns true if the target is an absolute URL (it has a non-empty scheme).
IsWebAddress returns true if the target is an absolute URL.
Parse parses a string representing an asset type into an [AssetType].

# Constants

Asset types for vulcan assets.
Asset types for vulcan assets.
Asset types for vulcan assets.
Asset types for vulcan assets.
Asset types for vulcan assets.
Asset types for vulcan assets.
Asset types for vulcan assets.
Asset types for vulcan assets.

# Type aliases

No description provided by the author