types

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartDetails

type ChartDetails struct {
	PublishedAt time.Time
	Digest      string
}

ChartDetails contains details of a chart

type ClientOpts

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

ClientOpts allows to configure a client

func (*ClientOpts) GetCache

func (o *ClientOpts) GetCache() string

GetCache returns the cache directory

func (*ClientOpts) GetInsecure

func (o *ClientOpts) GetInsecure() bool

GetInsecure returns if insecure connections are allowed

type Option

type Option func(*ClientOpts)

Option is an option value used to create a new syncer instance.

func WithCache

func WithCache(dir string) Option

WithCache configures a cache directory

func WithInsecure

func WithInsecure(enable bool) Option

WithInsecure enables insecure SSL connections

Jump to

Keyboard shortcuts

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