Documentation ¶
Index ¶
- type ChartAPIError
- type ChartInfoEntry
- type ChartInfoList
- type ChartMetadata
- type ChartVersion
- func (m *ChartVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ChartVersion) MarshalBinary() ([]byte, error)
- func (m ChartVersion) MarshalJSON() ([]byte, error)
- func (m *ChartVersion) UnmarshalBinary(b []byte) error
- func (m *ChartVersion) UnmarshalJSON(raw []byte) error
- func (m *ChartVersion) Validate(formats strfmt.Registry) error
- type ChartVersionDetails
- type ChartVersions
- type Dependency
- type DigitalSignature
- type ForbiddenChartAPIError
- func (m *ForbiddenChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ForbiddenChartAPIError) MarshalBinary() ([]byte, error)
- func (m ForbiddenChartAPIError) MarshalJSON() ([]byte, error)
- func (m *ForbiddenChartAPIError) UnmarshalBinary(b []byte) error
- func (m *ForbiddenChartAPIError) UnmarshalJSON(raw []byte) error
- func (m *ForbiddenChartAPIError) Validate(formats strfmt.Registry) error
- type InsufficientStorageChartAPIError
- func (m *InsufficientStorageChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InsufficientStorageChartAPIError) MarshalBinary() ([]byte, error)
- func (m InsufficientStorageChartAPIError) MarshalJSON() ([]byte, error)
- func (m *InsufficientStorageChartAPIError) UnmarshalBinary(b []byte) error
- func (m *InsufficientStorageChartAPIError) UnmarshalJSON(raw []byte) error
- func (m *InsufficientStorageChartAPIError) Validate(formats strfmt.Registry) error
- type InternalChartAPIError
- func (m *InternalChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InternalChartAPIError) MarshalBinary() ([]byte, error)
- func (m InternalChartAPIError) MarshalJSON() ([]byte, error)
- func (m *InternalChartAPIError) UnmarshalBinary(b []byte) error
- func (m *InternalChartAPIError) UnmarshalJSON(raw []byte) error
- func (m *InternalChartAPIError) Validate(formats strfmt.Registry) error
- type Label
- type Labels
- type NotFoundChartAPIError
- func (m *NotFoundChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NotFoundChartAPIError) MarshalBinary() ([]byte, error)
- func (m NotFoundChartAPIError) MarshalJSON() ([]byte, error)
- func (m *NotFoundChartAPIError) UnmarshalBinary(b []byte) error
- func (m *NotFoundChartAPIError) UnmarshalJSON(raw []byte) error
- func (m *NotFoundChartAPIError) Validate(formats strfmt.Registry) error
- type SecurityReport
- type UnauthorizedChartAPIError
- func (m *UnauthorizedChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnauthorizedChartAPIError) MarshalBinary() ([]byte, error)
- func (m UnauthorizedChartAPIError) MarshalJSON() ([]byte, error)
- func (m *UnauthorizedChartAPIError) UnmarshalBinary(b []byte) error
- func (m *UnauthorizedChartAPIError) UnmarshalJSON(raw []byte) error
- func (m *UnauthorizedChartAPIError) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartAPIError ¶
type ChartAPIError struct { // The error message returned by the chart API // Required: true Error *string `json:"error"` }
ChartAPIError The error object returned by chart repository API
swagger:model ChartAPIError
func (*ChartAPIError) ContextValidate ¶
ContextValidate validates this chart API error based on context it is used
func (*ChartAPIError) MarshalBinary ¶
func (m *ChartAPIError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChartAPIError) UnmarshalBinary ¶
func (m *ChartAPIError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChartInfoEntry ¶
type ChartInfoEntry struct { // The created time of chart // Required: true Created *string `json:"created"` // Flag to indicate if the chart is deprecated Deprecated bool `json:"deprecated,omitempty"` // The home website of chart Home string `json:"home,omitempty"` // The icon path of chart Icon string `json:"icon,omitempty"` // latest version of chart LatestVersion string `json:"latest_version,omitempty"` // Name of chart // Required: true Name *string `json:"name"` // Total count of chart versions // Required: true TotalVersions *int64 `json:"total_versions"` // The created time of chart Updated string `json:"updated,omitempty"` }
ChartInfoEntry The object contains basic chart information
swagger:model ChartInfoEntry
func (*ChartInfoEntry) ContextValidate ¶
ContextValidate validates this chart info entry based on context it is used
func (*ChartInfoEntry) MarshalBinary ¶
func (m *ChartInfoEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChartInfoEntry) UnmarshalBinary ¶
func (m *ChartInfoEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChartInfoList ¶
type ChartInfoList []*ChartInfoEntry
ChartInfoList The chart list under the project
swagger:model ChartInfoList
func (ChartInfoList) ContextValidate ¶
ContextValidate validate this chart info list based on the context it is used
type ChartMetadata ¶
type ChartMetadata struct { // The API version of this chart // Required: true APIVersion *string `json:"apiVersion"` // The version of the application enclosed in the chart // Required: true AppVersion *string `json:"appVersion"` // Whether or not this chart is deprecated Deprecated bool `json:"deprecated,omitempty"` // A one-sentence description of chart Description string `json:"description,omitempty"` // The name of template engine // Required: true Engine *string `json:"engine"` // The URL to the relevant project page Home string `json:"home,omitempty"` // The URL to an icon file // Required: true Icon *string `json:"icon"` // A list of string keywords Keywords []string `json:"keywords"` // The name of the chart // Required: true Name *string `json:"name"` // The URL to the source code of chart Sources []string `json:"sources"` // A SemVer 2 version of chart // Required: true Version *string `json:"version"` }
ChartMetadata The metadata of chart version
swagger:model ChartMetadata
func (*ChartMetadata) ContextValidate ¶
ContextValidate validates this chart metadata based on context it is used
func (*ChartMetadata) MarshalBinary ¶
func (m *ChartMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChartMetadata) UnmarshalBinary ¶
func (m *ChartMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChartVersion ¶
type ChartVersion struct { ChartMetadata // The created time of the chart entry Created string `json:"created,omitempty"` // The digest value of the chart entry Digest string `json:"digest,omitempty"` // A flag to indicate if the chart entry is removed Removed bool `json:"removed,omitempty"` // The urls of the chart entry Urls []string `json:"urls"` // labels Labels Labels `json:"labels,omitempty"` }
ChartVersion A specified chart entry
swagger:model ChartVersion
func (*ChartVersion) ContextValidate ¶
ContextValidate validate this chart version based on the context it is used
func (*ChartVersion) MarshalBinary ¶
func (m *ChartVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChartVersion) MarshalJSON ¶
func (m ChartVersion) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ChartVersion) UnmarshalBinary ¶
func (m *ChartVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChartVersion) UnmarshalJSON ¶
func (m *ChartVersion) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ChartVersionDetails ¶
type ChartVersionDetails struct { // dependencies Dependencies []*Dependency `json:"dependencies"` // files Files map[string]string `json:"files,omitempty"` // labels Labels Labels `json:"labels,omitempty"` // metadata Metadata *ChartVersion `json:"metadata,omitempty"` // security Security *SecurityReport `json:"security,omitempty"` // values Values map[string]interface{} `json:"values,omitempty"` }
ChartVersionDetails The detailed information of the chart entry
swagger:model ChartVersionDetails
func (*ChartVersionDetails) ContextValidate ¶
ContextValidate validate this chart version details based on the context it is used
func (*ChartVersionDetails) MarshalBinary ¶
func (m *ChartVersionDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChartVersionDetails) UnmarshalBinary ¶
func (m *ChartVersionDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChartVersions ¶
type ChartVersions []*ChartVersion
ChartVersions A list of chart entry
swagger:model ChartVersions
func (ChartVersions) ContextValidate ¶
ContextValidate validate this chart versions based on the context it is used
type Dependency ¶
type Dependency struct { // The name of the chart denpendency // Required: true Name *string `json:"name"` // The URL to the repository Repository string `json:"repository,omitempty"` // The version of the chart dependency // Required: true Version *string `json:"version"` }
Dependency Another chart the chart depends on
swagger:model Dependency
func (*Dependency) ContextValidate ¶
ContextValidate validates this dependency based on context it is used
func (*Dependency) MarshalBinary ¶
func (m *Dependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Dependency) UnmarshalBinary ¶
func (m *Dependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DigitalSignature ¶
type DigitalSignature struct { // The URL of the provance file ProvFile string `json:"prov_file,omitempty"` // A flag to indicate if the chart is signed Signed bool `json:"signed,omitempty"` }
DigitalSignature The signature of the chart
swagger:model DigitalSignature
func (*DigitalSignature) ContextValidate ¶
ContextValidate validates this digital signature based on context it is used
func (*DigitalSignature) MarshalBinary ¶
func (m *DigitalSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DigitalSignature) UnmarshalBinary ¶
func (m *DigitalSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ForbiddenChartAPIError ¶
type ForbiddenChartAPIError struct {
ChartAPIError
}
ForbiddenChartAPIError Operation is forbidden or quota exceeded
swagger:model ForbiddenChartAPIError
func (*ForbiddenChartAPIError) ContextValidate ¶
func (m *ForbiddenChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this forbidden chart API error based on the context it is used
func (*ForbiddenChartAPIError) MarshalBinary ¶
func (m *ForbiddenChartAPIError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ForbiddenChartAPIError) MarshalJSON ¶
func (m ForbiddenChartAPIError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ForbiddenChartAPIError) UnmarshalBinary ¶
func (m *ForbiddenChartAPIError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ForbiddenChartAPIError) UnmarshalJSON ¶
func (m *ForbiddenChartAPIError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type InsufficientStorageChartAPIError ¶
type InsufficientStorageChartAPIError struct {
ChartAPIError
}
InsufficientStorageChartAPIError Insufficient storage
swagger:model InsufficientStorageChartAPIError
func (*InsufficientStorageChartAPIError) ContextValidate ¶
func (m *InsufficientStorageChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this insufficient storage chart API error based on the context it is used
func (*InsufficientStorageChartAPIError) MarshalBinary ¶
func (m *InsufficientStorageChartAPIError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (InsufficientStorageChartAPIError) MarshalJSON ¶
func (m InsufficientStorageChartAPIError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*InsufficientStorageChartAPIError) UnmarshalBinary ¶
func (m *InsufficientStorageChartAPIError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*InsufficientStorageChartAPIError) UnmarshalJSON ¶
func (m *InsufficientStorageChartAPIError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type InternalChartAPIError ¶
type InternalChartAPIError struct {
ChartAPIError
}
InternalChartAPIError Internal server error occurred
swagger:model InternalChartAPIError
func (*InternalChartAPIError) ContextValidate ¶
ContextValidate validate this internal chart API error based on the context it is used
func (*InternalChartAPIError) MarshalBinary ¶
func (m *InternalChartAPIError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (InternalChartAPIError) MarshalJSON ¶
func (m InternalChartAPIError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*InternalChartAPIError) UnmarshalBinary ¶
func (m *InternalChartAPIError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*InternalChartAPIError) UnmarshalJSON ¶
func (m *InternalChartAPIError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type Label ¶
type Label struct { // The color of label. Color string `json:"color,omitempty"` // The creation time of label. CreationTime string `json:"creation_time,omitempty"` // The label is deleted or not. Deleted bool `json:"deleted,omitempty"` // The description of label. Description string `json:"description,omitempty"` // The ID of label. ID int64 `json:"id,omitempty"` // The name of label. Name string `json:"name,omitempty"` // The project ID if the label is a project label. ProjectID int64 `json:"project_id,omitempty"` // The scope of label, g for global labels and p for project labels. Scope string `json:"scope,omitempty"` // The update time of label. UpdateTime string `json:"update_time,omitempty"` }
Label label
swagger:model Label
func (*Label) ContextValidate ¶
ContextValidate validates this label based on context it is used
func (*Label) MarshalBinary ¶
MarshalBinary interface implementation
func (*Label) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Labels ¶
type Labels []*Label
Labels A list of label
swagger:model Labels
func (Labels) ContextValidate ¶
ContextValidate validate this labels based on the context it is used
type NotFoundChartAPIError ¶
type NotFoundChartAPIError struct {
ChartAPIError
}
NotFoundChartAPIError Not found
swagger:model NotFoundChartAPIError
func (*NotFoundChartAPIError) ContextValidate ¶
ContextValidate validate this not found chart API error based on the context it is used
func (*NotFoundChartAPIError) MarshalBinary ¶
func (m *NotFoundChartAPIError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NotFoundChartAPIError) MarshalJSON ¶
func (m NotFoundChartAPIError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*NotFoundChartAPIError) UnmarshalBinary ¶
func (m *NotFoundChartAPIError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NotFoundChartAPIError) UnmarshalJSON ¶
func (m *NotFoundChartAPIError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type SecurityReport ¶
type SecurityReport struct { // signature Signature *DigitalSignature `json:"signature,omitempty"` }
SecurityReport The security information of the chart
swagger:model SecurityReport
func (*SecurityReport) ContextValidate ¶
ContextValidate validate this security report based on the context it is used
func (*SecurityReport) MarshalBinary ¶
func (m *SecurityReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityReport) UnmarshalBinary ¶
func (m *SecurityReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnauthorizedChartAPIError ¶
type UnauthorizedChartAPIError struct {
}UnauthorizedChartAPIError Unauthorized
swagger:model UnauthorizedChartAPIError
func (*UnauthorizedChartAPIError) ContextValidate ¶
func (m *UnauthorizedChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this unauthorized chart API error based on the context it is used
func (*UnauthorizedChartAPIError) MarshalBinary ¶
func (m *UnauthorizedChartAPIError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (UnauthorizedChartAPIError) MarshalJSON ¶
func (m UnauthorizedChartAPIError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*UnauthorizedChartAPIError) UnmarshalBinary ¶
func (m *UnauthorizedChartAPIError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UnauthorizedChartAPIError) UnmarshalJSON ¶
func (m *UnauthorizedChartAPIError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
Source Files ¶
- chart_api_error.go
- chart_info_entry.go
- chart_info_list.go
- chart_metadata.go
- chart_version.go
- chart_version_details.go
- chart_versions.go
- dependency.go
- digital_signature.go
- forbidden_chart_api_error.go
- insufficient_storage_chart_api_error.go
- internal_chart_api_error.go
- label.go
- labels.go
- not_found_chart_api_error.go
- security_report.go
- unauthorized_chart_api_error.go