schema

package module
v0.0.0-...-b396506 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: Apache-2.0 Imports: 12 Imported by: 1

README

OCI Schemas

This repository is contains validation tools for JSON schemas defined throughout the OCI runtime, image, and distribution specifications.

Documentation

Overview

Package oci provides loaders for validating OCI-defined jsonschemas. For more information, refer to https://github.com/xeipuuv/gojsonschema.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatalogSchema

func CatalogSchema() *gojsonschema.Schema

CatalogSchema provides a gojsonschema.Schema that can be used to validate a catalog of repositories.

func ErrorSchema

func ErrorSchema() *gojsonschema.Schema

ErrorSchema provides a gojsonschema.Schema that can be used to validate an OCI-compliant error response.

func ImageConfigSchema

func ImageConfigSchema() *gojsonschema.Schema

ImageConfigSchema provides a gojsonschema.Schema that can be used to validate an image config.

func ImageIndexSchema

func ImageIndexSchema() *gojsonschema.Schema

ImageIndexSchema provides a gojsonschema.Schema that can be used to validate an image index.

func ImageManifestSchema

func ImageManifestSchema() *gojsonschema.Schema

ImageManifestSchema provides a gojsonschema.Schema that can be used to validate an image manifest.

func TagListSchema

func TagListSchema() *gojsonschema.Schema

TagListSchema provides a gojsonschema.Schema that can be used to validate an tag list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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