Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluralizeResourceType ¶ added in v0.1.46
PluralizeResourceType converts singular resource types to plural
Types ¶
type BuildLogWatcher ¶
type BuildLogWatcher struct {
// contains filtered or unexported fields
}
BuildLogWatcher watches build logs for a resource
func NewBuildLogWatcher ¶
func NewBuildLogWatcher(client *blaxel.Client, workspace, resourceType, resourceName string, onLog func(string)) *BuildLogWatcher
NewBuildLogWatcher creates a new build log watcher
type LogFetcher ¶ added in v0.1.46
type LogFetcher struct {
// contains filtered or unexported fields
}
LogFetcher fetches logs for a resource with custom time ranges
func NewLogFetcher ¶ added in v0.1.46
func NewLogFetcher(client *blaxel.Client, workspace, resourceType, resourceName string, startTime, endTime time.Time, severity, search, taskID, executionID string) *LogFetcher
NewLogFetcher creates a new log fetcher
func (*LogFetcher) FetchLogs ¶ added in v0.1.46
func (lf *LogFetcher) FetchLogs() ([]LogEntry, error)
FetchLogs fetches logs for the configured time range
type LogFollower ¶ added in v0.1.46
type LogFollower struct {
// contains filtered or unexported fields
}
LogFollower follows logs in real-time
func NewLogFollower ¶ added in v0.1.46
func NewLogFollower(client *blaxel.Client, workspace, resourceType, resourceName string, startTime time.Time, severity, search, taskID, executionID string, onLog func(LogEntry), onError func(error), onInfo func(string)) *LogFollower
NewLogFollower creates a new log follower
func (*LogFollower) Start ¶ added in v0.1.46
func (lf *LogFollower) Start()
Start begins following logs
Click to show internal directories.
Click to hide internal directories.