Documentation
¶
Overview ¶
Package app_spec is generated automatically from the JSON schema to provide a golang implementation of the Abstractions AppSpec specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { // Name corresponds to the JSON schema field "name". Name string `json:"name" yaml:"name" mapstructure:"name"` // Region corresponds to the JSON schema field "region". Region string `json:"region" yaml:"region" mapstructure:"region"` // Services corresponds to the JSON schema field "services". Services []Service `json:"services" yaml:"services" mapstructure:"services"` }
func (*App) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
type OciImage ¶
type OciImage struct { // The digest of the OCI image. Digest *string `json:"digest,omitempty" yaml:"digest,omitempty" mapstructure:"digest,omitempty"` // Name of the OCI Image registry, such as "docker.io" or "quay.io". Registry string `json:"registry" yaml:"registry" mapstructure:"registry"` // Name of the OCI Image repository, such as "ubuntu" or // "nginxinc/nginx-unprivileged". Repository string `json:"repository" yaml:"repository" mapstructure:"repository"` // An OCI Image tag as specified by the OCI Image Spec. Tag *string `json:"tag,omitempty" yaml:"tag,omitempty" mapstructure:"tag,omitempty"` }
func (*OciImage) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
type Service ¶
type Service struct { // Image corresponds to the JSON schema field "image". Image OciImage `json:"image" yaml:"image" mapstructure:"image"` // Name corresponds to the JSON schema field "name". Name string `json:"name" yaml:"name" mapstructure:"name"` }
func (*Service) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.