logproxy

package
v0.0.0-...-8909857 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPattern = "/logs/{namespace}/{pod}/{container}"

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	service Service,
) http.HandlerFunc

Types

type BucketNotExistError

type BucketNotExistError struct {
	Err error
}

func (*BucketNotExistError) Error

func (e *BucketNotExistError) Error() string

type ObjectNotExistError

type ObjectNotExistError struct {
	Err error
}

func (*ObjectNotExistError) Error

func (e *ObjectNotExistError) Error() string

type Service

type Service interface {
	Fetch(ctx context.Context, namespace, pod, container string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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