Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConsumeRequest ¶ added in v0.2.1
func DefaultConsumeRequest(request rest.ResponseWrapper, out io.Writer) error
DefaultConsumeRequest reads the data from request and writes into the out writer. It buffers data from requests until the newline or io.EOF occurs in the data, so it doesn't interleave logs sub-line when running concurrently.
func NewRootCmd ¶ added in v0.2.0
NewRootCmd creates and returns the root command of hln
Types ¶
type Infra ¶ added in v0.2.1
type Infra struct {
Type string `yaml:"type"`
URL string `yaml:"url"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
Infra represents a component of the infrastructure.
type LogsOptions ¶ added in v0.2.1
type LogsOptions struct {
Namespace string
Pod string
// PodLogOptions
Follow bool
Container string
Kubecli *kubernetes.Clientset
}
LogsOptions controls the behavior of logs command.
Click to show internal directories.
Click to hide internal directories.