api

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package api provides APIs to index charts

Index

Constants

This section is empty.

Variables

View Source
var File_index_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChartMetadata

type ChartMetadata struct {
	Version    string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	AppVersion string   `protobuf:"bytes,2,opt,name=appVersion,proto3" json:"appVersion,omitempty"`
	Name       string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Urls       []string `protobuf:"bytes,4,rep,name=urls,proto3" json:"urls,omitempty"`
	Digest     string   `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

ChartMetadata contains relevant information about the released chart

func (*ChartMetadata) Descriptor deprecated

func (*ChartMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ChartMetadata.ProtoReflect.Descriptor instead.

func (*ChartMetadata) GetAppVersion

func (x *ChartMetadata) GetAppVersion() string

func (*ChartMetadata) GetDigest

func (x *ChartMetadata) GetDigest() string

func (*ChartMetadata) GetName

func (x *ChartMetadata) GetName() string

func (*ChartMetadata) GetUrls

func (x *ChartMetadata) GetUrls() []string

func (*ChartMetadata) GetVersion

func (x *ChartMetadata) GetVersion() string

func (*ChartMetadata) ProtoMessage

func (*ChartMetadata) ProtoMessage()

func (*ChartMetadata) ProtoReflect

func (x *ChartMetadata) ProtoReflect() protoreflect.Message

func (*ChartMetadata) Reset

func (x *ChartMetadata) Reset()

func (*ChartMetadata) String

func (x *ChartMetadata) String() string

type Index

type Index struct {
	Entries    map[string]*Index_ChartEntries `` /* 155-byte string literal not displayed */
	ApiVersion string                         `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Index describes a chart releases index

func (*Index) Descriptor deprecated

func (*Index) Descriptor() ([]byte, []int)

Deprecated: Use Index.ProtoReflect.Descriptor instead.

func (*Index) GetApiVersion

func (x *Index) GetApiVersion() string

func (*Index) GetEntries

func (x *Index) GetEntries() map[string]*Index_ChartEntries

func (*Index) Has

func (x *Index) Has(name, version string) bool

Has returns whether the index has the requested chart name and version

func (*Index) ProtoMessage

func (*Index) ProtoMessage()

func (*Index) ProtoReflect

func (x *Index) ProtoReflect() protoreflect.Message

func (*Index) Reset

func (x *Index) Reset()

func (*Index) String

func (x *Index) String() string

type Index_ChartEntries

type Index_ChartEntries struct {
	Versions []*ChartMetadata `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*Index_ChartEntries) Descriptor deprecated

func (*Index_ChartEntries) Descriptor() ([]byte, []int)

Deprecated: Use Index_ChartEntries.ProtoReflect.Descriptor instead.

func (*Index_ChartEntries) GetVersions

func (x *Index_ChartEntries) GetVersions() []*ChartMetadata

func (*Index_ChartEntries) ProtoMessage

func (*Index_ChartEntries) ProtoMessage()

func (*Index_ChartEntries) ProtoReflect

func (x *Index_ChartEntries) ProtoReflect() protoreflect.Message

func (*Index_ChartEntries) Reset

func (x *Index_ChartEntries) Reset()

func (*Index_ChartEntries) String

func (x *Index_ChartEntries) String() string

Jump to

Keyboard shortcuts

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