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 ¶
func FlattenSpecForClusterScope ¶
func FlattenSpecForClusterScope(spec *packageclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceTanzupackageMetadataPackageSpec) (data []interface{})
Types ¶
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"` }
Click to show internal directories.
Click to hide internal directories.