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: { Type: schema.TypeString, Computed: true, Description: "Release notes of Package.", }, 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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.