package
0.0.82
Repository: https://github.com/mindersec/minder.git
Documentation: pkg.go.dev

# Packages

Package features provides the features checks for the projects.

# Functions

NewProjectCreator creates a new instance of the project creator.
NewProjectDeleter creates a new instance of the project deleter.
NewSelfEnrolledMetadata returns a new Metadata object with the SelfEnrolled field set to true.
ParseMetadata parses the given JSON data into a Metadata object.
SerializeMetadata serializes the given Metadata object into JSON.
ValidateName validates the given project name.

# Constants

MinderMetadataVersion is the version of the metadata format.

# Variables

ErrProjectAlreadyExists is returned when a project with the same name already exists.
ErrValidationFailed is returned when a project fails validation.

# Structs

Metadata contains metadata relevant for a project.
PublicMetadataV1 contains public metadata relevant for a project.

# Interfaces

ProjectCreator encapsulates operations for managing projects TODO: There are several follow-ups needed here: 1.
ProjectDeleter encapsulates operations for deleting projects This is a separate interface/struct to ProjectCreator to avoid a circular dependency issue.