repo

package
v0.0.0-...-0e15285 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRequest

type AddRequest struct {
	// contains filtered or unexported fields
}

AddRequest is a Helm chart repository add request

func (*AddRequest) CaFile

func (r *AddRequest) CaFile(caFile string) *AddRequest

func (*AddRequest) CertFile

func (r *AddRequest) CertFile(certFile string) *AddRequest

func (*AddRequest) Do

func (r *AddRequest) Do() (*Repository, error)

func (*AddRequest) KeyFile

func (r *AddRequest) KeyFile(keyFile string) *AddRequest

func (*AddRequest) Password

func (r *AddRequest) Password(password string) *AddRequest

func (*AddRequest) URL

func (r *AddRequest) URL(url string) *AddRequest

func (*AddRequest) Username

func (r *AddRequest) Username(username string) *AddRequest

type Client

type Client interface {
	// Add adds a repository
	Add(name string) *AddRequest
	// Remove removes a repository
	Remove(name string) *RemoveRequest
}

Client is a Helm repository client

func NewClient

func NewClient(config *config.Config) Client

NewClient creates a new Helm repository client

type RemoveRequest

type RemoveRequest struct {
	// contains filtered or unexported fields
}

RemoveRequest is a Helm chart repository remove request

func (*RemoveRequest) Do

func (r *RemoveRequest) Do() error

type Repository

type Repository struct {
	Name string
	// contains filtered or unexported fields
}

Repository is a Helm chart repository

Jump to

Keyboard shortcuts

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