models

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (m *ChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChartAPIError) Validate

func (m *ChartAPIError) Validate(formats strfmt.Registry) error

Validate validates this chart API error

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

func (m *ChartInfoEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChartInfoEntry) Validate

func (m *ChartInfoEntry) Validate(formats strfmt.Registry) error

Validate validates this chart info entry

type ChartInfoList

type ChartInfoList []*ChartInfoEntry

ChartInfoList The chart list under the project

swagger:model ChartInfoList

func (ChartInfoList) ContextValidate

func (m ChartInfoList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this chart info list based on the context it is used

func (ChartInfoList) Validate

func (m ChartInfoList) Validate(formats strfmt.Registry) error

Validate validates this chart info list

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

func (m *ChartMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChartMetadata) Validate

func (m *ChartMetadata) Validate(formats strfmt.Registry) error

Validate validates this chart metadata

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

func (m *ChartVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChartVersion) Validate

func (m *ChartVersion) Validate(formats strfmt.Registry) error

Validate validates this chart version

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

func (m *ChartVersionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChartVersionDetails) Validate

func (m *ChartVersionDetails) Validate(formats strfmt.Registry) error

Validate validates this chart version details

type ChartVersions

type ChartVersions []*ChartVersion

ChartVersions A list of chart entry

swagger:model ChartVersions

func (ChartVersions) ContextValidate

func (m ChartVersions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this chart versions based on the context it is used

func (ChartVersions) Validate

func (m ChartVersions) Validate(formats strfmt.Registry) error

Validate validates this chart versions

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

func (m *Dependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Dependency) Validate

func (m *Dependency) Validate(formats strfmt.Registry) error

Validate validates this dependency

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

func (m *DigitalSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DigitalSignature) Validate

func (m *DigitalSignature) Validate(formats strfmt.Registry) error

Validate validates this digital signature

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

func (*ForbiddenChartAPIError) Validate

func (m *ForbiddenChartAPIError) Validate(formats strfmt.Registry) error

Validate validates this forbidden chart API error

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

func (*InsufficientStorageChartAPIError) Validate

Validate validates this insufficient storage chart API error

type InternalChartAPIError

type InternalChartAPIError struct {
	ChartAPIError
}

InternalChartAPIError Internal server error occurred

swagger:model InternalChartAPIError

func (*InternalChartAPIError) ContextValidate

func (m *InternalChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*InternalChartAPIError) Validate

func (m *InternalChartAPIError) Validate(formats strfmt.Registry) error

Validate validates this internal chart API error

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

func (m *Label) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this label based on context it is used

func (*Label) MarshalBinary

func (m *Label) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Label) UnmarshalBinary

func (m *Label) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Label) Validate

func (m *Label) Validate(formats strfmt.Registry) error

Validate validates this label

type Labels

type Labels []*Label

Labels A list of label

swagger:model Labels

func (Labels) ContextValidate

func (m Labels) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this labels based on the context it is used

func (Labels) Validate

func (m Labels) Validate(formats strfmt.Registry) error

Validate validates this labels

type NotFoundChartAPIError

type NotFoundChartAPIError struct {
	ChartAPIError
}

NotFoundChartAPIError Not found

swagger:model NotFoundChartAPIError

func (*NotFoundChartAPIError) ContextValidate

func (m *NotFoundChartAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NotFoundChartAPIError) Validate

func (m *NotFoundChartAPIError) Validate(formats strfmt.Registry) error

Validate validates this not found chart API error

type SecurityReport

type SecurityReport struct {

	// signature
	Signature *DigitalSignature `json:"signature,omitempty"`
}

SecurityReport The security information of the chart

swagger:model SecurityReport

func (*SecurityReport) ContextValidate

func (m *SecurityReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SecurityReport) Validate

func (m *SecurityReport) Validate(formats strfmt.Registry) error

Validate validates this security report

type UnauthorizedChartAPIError

type UnauthorizedChartAPIError struct {
	ChartAPIError
}

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

func (*UnauthorizedChartAPIError) Validate

func (m *UnauthorizedChartAPIError) Validate(formats strfmt.Registry) error

Validate validates this unauthorized chart API error

Jump to

Keyboard shortcuts

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