Documentation ¶
Index ¶
- Constants
- type HTTP
- type HTTPOption
- type HTTPRequestOption
- type Loader
- type LocalDirectory
- func (s *LocalDirectory) Delete(_ context.Context, owner client.Object) error
- func (s *LocalDirectory) Load(_ context.Context, owner client.Object) (fs.FS, error)
- func (s *LocalDirectory) ServeHTTP(resp http.ResponseWriter, req *http.Request)
- func (s *LocalDirectory) Store(_ context.Context, owner client.Object, bundle fs.FS) error
- func (s *LocalDirectory) URLFor(_ context.Context, owner client.Object) (string, error)
- type Storage
- type Storer
Constants ¶
View Source
const DefaultBundleCacheDir = "/var/cache/bundles"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶ added in v0.5.0
type HTTP struct {
// contains filtered or unexported fields
}
func NewHTTP ¶ added in v0.5.0
func NewHTTP(opts ...HTTPOption) *HTTP
type HTTPOption ¶ added in v0.5.0
type HTTPOption func(*HTTP)
func WithBearerToken ¶ added in v0.5.0
func WithBearerToken(token string) HTTPOption
func WithInsecureSkipVerify ¶ added in v0.5.0
func WithInsecureSkipVerify(v bool) HTTPOption
func WithRootCAs ¶ added in v0.5.0
func WithRootCAs(rootCAs *x509.CertPool) HTTPOption
type HTTPRequestOption ¶ added in v0.5.0
type LocalDirectory ¶ added in v0.4.0
func (*LocalDirectory) ServeHTTP ¶ added in v0.4.0
func (s *LocalDirectory) ServeHTTP(resp http.ResponseWriter, req *http.Request)
type Storage ¶
func WithFallbackLoader ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.