ccmetadata

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AllowedCharsCollectionName = "[A-Za-z0-9_-]+"

Variables

This section is empty.

Functions

func ValidateMetadataFile

func ValidateMetadataFile(filePathName string, fileBytes []byte) error

Types

type InvalidIndexContentError

type InvalidIndexContentError struct {
	// contains filtered or unexported fields
}

func (*InvalidIndexContentError) Error

func (e *InvalidIndexContentError) Error() string

type MetadataProvider

type MetadataProvider interface {
	GetMetadataAsTarEntries() ([]byte, error)
}

type PersistenceMetadataProvider

type PersistenceMetadataProvider struct{}

func (*PersistenceMetadataProvider) GetDBArtifacts

func (t *PersistenceMetadataProvider) GetDBArtifacts(codePackage []byte) ([]byte, error)

type TargzMetadataProvider

type TargzMetadataProvider struct {
	Code []byte
}

func (*TargzMetadataProvider) GetMetadataAsTarEntries

func (tgzProv *TargzMetadataProvider) GetMetadataAsTarEntries() ([]byte, error)

type UnhandledDirectoryError

type UnhandledDirectoryError struct {
	// contains filtered or unexported fields
}

func (*UnhandledDirectoryError) Error

func (e *UnhandledDirectoryError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL