Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPackageContext ¶
Types ¶
type LogDestination ¶
type LogDestination interface { IsNode() IsLogDestination() }
func FromWorkload ¶
func FromWorkload(ctx context.Context, wl workload.Workload) []LogDestination
type LogDestinationLoki ¶
type LogDestinationLoki struct {
// contains filtered or unexported fields
}
func (LogDestinationLoki) GrafanaURL ¶
func (l LogDestinationLoki) GrafanaURL(ctx context.Context) string
func (LogDestinationLoki) ID ¶
func (l LogDestinationLoki) ID() ident.Ident
func (LogDestinationLoki) IsLogDestination ¶
func (LogDestinationLoki) IsLogDestination()
func (LogDestinationLoki) IsNode ¶
func (LogDestinationLoki) IsNode()
type LogDestinationSecureLogs ¶
type LogDestinationSecureLogs struct {
// contains filtered or unexported fields
}
func (LogDestinationSecureLogs) ID ¶
func (l LogDestinationSecureLogs) ID() ident.Ident
func (LogDestinationSecureLogs) IsLogDestination ¶
func (LogDestinationSecureLogs) IsLogDestination()
func (LogDestinationSecureLogs) IsNode ¶
func (LogDestinationSecureLogs) IsNode()
type SupportedLogDestination ¶
type SupportedLogDestination string
const ( Loki SupportedLogDestination = "loki" SecureLogs SupportedLogDestination = "secure_logs" )
func (SupportedLogDestination) String ¶
func (s SupportedLogDestination) String() string
func (SupportedLogDestination) Valid ¶
func (s SupportedLogDestination) Valid() bool
Click to show internal directories.
Click to hide internal directories.