Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type OptionalFeature ¶
type ReleaseStatus ¶
type ReleaseStatus int32
const ( ReleaseStatusStable ReleaseStatus = iota ReleaseStatusTesting ReleaseStatusUnstable )
func NewReleaseStatus ¶
func NewReleaseStatus(str string) (ReleaseStatus, error)
func (*ReleaseStatus) MarshalJSON ¶
func (r *ReleaseStatus) MarshalJSON() ([]byte, error)
func (*ReleaseStatus) String ¶
func (r *ReleaseStatus) String() string
func (*ReleaseStatus) UnmarshalJSON ¶
func (r *ReleaseStatus) UnmarshalJSON(data []byte) error
type Spec ¶
type Spec struct { Author []string `json:"author"` DynamicConfig bool `json:"dynamic_config"` GeneratedBy string `json:"generated_by"` License []string `json:"license"` MetaSpec APIVersion `json:"meta-spec"` Name string `json:"name"` ReleaseStatus ReleaseStatus `json:"release_status"` Version version.JSON `json:"version"` Description string `json:"description"` Keywords []string `json:"keywords"` NoIndex NoIndex `json:"no_index"` OptionalFeatures Prereqs `json:"optional_features"` Prereqs Prereqs `json:"prereqs"` Provides map[string]File `json:"provides"` Resources Resources `json:"resources"` }
func (*Spec) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.