Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Optr is a global chart operator instance Optr = NewOperator() )
Functions ¶
This section is empty.
Types ¶
type DigitalSignature ¶
DigitalSignature used to indicate if the chart has been signed
type Info ¶
type Info struct { Name string `json:"name"` TotalVersions uint32 `json:"total_versions"` LatestVersion string `json:"latest_version"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` Icon string `json:"icon"` Home string `json:"home"` Deprecated bool `json:"deprecated"` }
Info keeps the information of the chart
type Operator ¶
type Operator interface { // GetChartDetails parse the details from the provided content bytes GetDetails(content []byte) (*VersionDetails, error) // FetchLayer the content of layer under the repository GetData(content []byte) (*helm_chart.Chart, error) }
Operator ...
func NewOperator ¶
func NewOperator() Operator
NewOperator returns an instance of the default chart opertaor
type SecurityReport ¶
type SecurityReport struct {
Signature *DigitalSignature `json:"signature"`
}
SecurityReport keeps the info related with security e.g.: digital signature, vulnerability scanning etc.
type VersionDetails ¶
type VersionDetails struct { Dependencies []*helm_chart.Dependency `json:"dependencies"` Values map[string]interface{} `json:"values"` Files map[string]string `json:"files"` Security *SecurityReport `json:"security"` }
VersionDetails keeps the detailed data info of the chart version
Click to show internal directories.
Click to hide internal directories.