Documentation ¶
Index ¶
- Constants
- type MockRepo
- func (m *MockRepo) DownloadIndex(destPath string) error
- func (m *MockRepo) HasIndex() (bool, error)
- func (m *MockRepo) IsLocked() bool
- func (m *MockRepo) Lock() error
- func (m *MockRepo) RepoURL() string
- func (m *MockRepo) Unlock() error
- func (m *MockRepo) UploadChart(fromPath string) error
- func (m *MockRepo) UploadIndex(fromPath string) error
- type Options
- type Repo
Constants ¶
View Source
const ChartDir = "charts"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
func NewMockRepo ¶
func NewMockRepo() *MockRepo
func (*MockRepo) DownloadIndex ¶
func (*MockRepo) UploadChart ¶
func (*MockRepo) UploadIndex ¶
type Options ¶
type Options struct { LockWaitTimeout time.Duration LockStaleTimeout time.Duration LockPath string ChartCacheControl string IndexCacheControl string }
func DefaultOptions ¶
func DefaultOptions() *Options
type Repo ¶
type Repo interface { // RepoURL() returns the public URL of the repo RepoURL() string // IsLocked returns true if the repo is locked IsLocked() bool // Unlock unlocks the repository Unlock() error // Lock locks the repository Lock() error // UploadChart uploads a chart to the bucket UploadChart(fromPath string) error // UploadIndex uploads an index to the bucket UploadIndex(fromPath string) error // HasIndex returns true if this repo has an index object HasIndex() (bool, error) // DownloadIndex downloads an index file locally DownloadIndex(destPath string) error }
Repo supports interactions with GCS-based Helm repositories
Click to show internal directories.
Click to hide internal directories.