items

package
v1.70.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubItem

type HubItem struct {
	ActivationLink       string   `json:"activationLink"`       // The activation link for a technology
	ArtifactId           string   `json:"artifactId"`           // The unique ID used by the artifacts contained in releases
	AuthorName           string   `json:"authorName"`           // Name of the author of the item
	ClusterCompatible    bool     `json:"clusterCompatible"`    // Checks if the item is compatible with the cluster version
	ComingSoon           bool     `json:"comingSoon"`           // Whether or not the item is planned to be released soon
	Description          string   `json:"description"`          // Description of the item
	DocumentationLink    string   `json:"documentationLink"`    // An absolute link to the documentation page of this item
	HasDescriptionBlocks bool     `json:"hasDescriptionBlocks"` // Whether or not the details call will contain description blocks
	ItemId               string   `json:"itemId"`               // Unique Id of the item
	MarketingLink        string   `json:"marketingLink"`        // An absolute link to the marketing page of this item
	Name                 string   `json:"name"`                 // Name of the item
	NotCompatibleReason  string   `json:"notCompatibleReason"`  // The reason why the item is not compatible with the cluster version
	Tags                 []string `json:"tags"`                 // Grouping of items with keywords
	Type                 string   `json:"type"`                 // Represents the type of item. It can be `TECHNOLOGY`, `EXTENSION1` or `EXTENSION2`
}

func (*HubItem) MarshalHCL

func (me *HubItem) MarshalHCL(properties hcl.Properties) error

func (*HubItem) Schema

func (me *HubItem) Schema() map[string]*schema.Schema

func (*HubItem) UnmarshalHCL

func (me *HubItem) UnmarshalHCL(decoder hcl.Decoder) error

type HubItemList

type HubItemList struct {
	Items       []*HubItem `json:"items"`
	NextPageKey *string    `json:"nextPageKey"`
	PageSize    *int32     `json:"pageSize"`
	TotalCount  *int64     `json:"totalCount"`
}

func (*HubItemList) MarshalHCL

func (me *HubItemList) MarshalHCL(properties hcl.Properties) error

func (*HubItemList) Schema

func (me *HubItemList) Schema() map[string]*schema.Schema

func (*HubItemList) UnmarshalHCL

func (me *HubItemList) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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