Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConsumeRequest ¶
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 GetTFProvider ¶ added in v0.3.0
GetTFProvider For hln down
func NewRootCmd ¶
NewRootCmd creates and returns the root command of hln
Types ¶
type Credential ¶ added in v0.3.6
Credential for login
type LogsOptions ¶
type LogsOptions struct { Choice int // PodLogOptions Follow bool Kubecli *kubernetes.Clientset genericclioptions.IOStreams }
LogsOptions controls the behavior of logs command.
type Metrics ¶
type Metrics struct { AppName string CredentialRef Credential DashboardRefs []*MonitorDashboard }
Metrics to print
type MonitorDashboard ¶ added in v0.3.2
MonitorDashboard of apps
Click to show internal directories.
Click to hide internal directories.