spec

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpecKey                            = "spec"
	LicensesKey                        = "licenses"
	ReleasedAtKey                      = "released_at"
	CapacityRequirementsDescriptionKey = "capacity_requirements_description"
	ReleaseNotesKey                    = "release_notes"
	ValuesSchemaKey                    = "values_schema"
	TemplateKey                        = "template"
	RepositoryNameKey                  = "repository_name"
	RawKey                             = "raw"
)

Variables

View Source
var (
	SpecSchema = &schema.Schema{
		Type:        schema.TypeList,
		Description: "Spec for the Repository.",
		Computed:    true,
		Elem: &schema.Resource{
			Schema: map[string]*schema.Schema{
				LicensesKey: {
					Type:        schema.TypeSet,
					Computed:    true,
					Description: "Licenses under which Package is released.",
					Elem: &schema.Schema{
						Type: schema.TypeString,
					},
				},
				ReleasedAtKey: {
					Type:        schema.TypeString,
					Computed:    true,
					Description: "Date on which Package is released.",
				},
				CapacityRequirementsDescriptionKey: {
					Type:        schema.TypeString,
					Computed:    true,
					Description: "Minimum capacity requirements to install Package on a cluster.",
				},
				ReleaseNotesKey: releaseNotesSchema,
				RepositoryNameKey: {
					Type:        schema.TypeString,
					Computed:    true,
					Description: "Name of package repository to which this package belongs.",
				},
				ValuesSchemaKey: valueSchema,
			},
		},
	}
)

Functions

Types

type Data added in v1.3.0

type Data struct {
	Default     string `json:"default"`
	Description string `json:"description"`
	Type        string `json:"type"`
}

type ExampleData added in v1.3.0

type ExampleData struct {
	Namespace string `json:"namespace"`
}

type NamespaceData added in v1.3.0

type NamespaceData struct {
	Namespace Data `json:"namespace"`
}

type RawData added in v1.3.0

type RawData struct {
	Examples   []ExampleData `json:"examples"`
	Properties NamespaceData `json:"properties"`
	Title      string        `json:"title"`
}

Jump to

Keyboard shortcuts

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