list

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Program

func Program(slResponseBytes []byte)

Types

type ServiceLog

type ServiceLog struct {
	ClusterId     string    `json:"cluster_id"`
	ClusterUuid   string    `json:"cluster_uuid"`
	CreatedAt     time.Time `json:"created_at"`
	CreatedBy     string    `json:"created_by"`
	Desc          string    `json:"description"`
	EventStreamId string    `json:"event_stream_id"`
	Href          string    `json:"href"`
	Id            string    `json:"id"`
	InternalOnly  bool      `json:"internal_only"`
	Kind          string    `json:"kind"`
	LogType       string    `json:"log_type"`
	ServiceName   string    `json:"service_name"`
	Severity      string    `json:"severity"`
	Summary       string    `json:"summary"`
	Timestamp     time.Time `json:"timestamp"`
	Username      string    `json:"username"`
}

func (*ServiceLog) Description

func (s *ServiceLog) Description() string

func (*ServiceLog) FilterValue

func (s *ServiceLog) FilterValue() string

func (*ServiceLog) Markdown

func (s *ServiceLog) Markdown() string

func (*ServiceLog) Title

func (s *ServiceLog) Title() string

type ServiceLogResponse

type ServiceLogResponse struct {
	Kind        string        `json:"kind"`
	Page        int           `json:"page"`
	Size        int           `json:"size"`
	Total       int           `json:"total"`
	ServiceLogs []*ServiceLog `json:"items"`
}

Jump to

Keyboard shortcuts

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