Documentation ¶
Index ¶
- type ActivateParserExtensionRequest
- type ActivateParserRequest
- func NewActivateParserExtensionRequest(project, location, instance, logtype, extension string) *ActivateParserRequest
- func NewActivateParserRequest(project, location, instance, logtype, parser string) *ActivateParserRequest
- func NewDeactivateParserRequest(project, location, instance, logtype, parser string) *ActivateParserRequest
- type Client
- type CreateParserExtensionRequest
- type CreateParserRequest
- type DeactivateParserRequest
- type DeleteParserExtensionRequest
- type DeleteParserRequest
- type GetParserRequest
- type Instance
- type ListLogTypesRequest
- type ListLogTypesResult
- type ListParsersRequest
- type ListParsersResult
- type LogType
- type ParsedEvent
- type ParsedEvents
- type Parser
- type ParserExtension
- type ParserLogResult
- type RunParserRequest
- type RunParserResult
- type StatedumpResult
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateParserExtensionRequest ¶
type ActivateParserExtensionRequest struct {
Path string
}
type ActivateParserRequest ¶
type ActivateParserRequest struct {
Path string
}
func NewActivateParserExtensionRequest ¶
func NewActivateParserExtensionRequest(project, location, instance, logtype, extension string) *ActivateParserRequest
func NewActivateParserRequest ¶
func NewActivateParserRequest(project, location, instance, logtype, parser string) *ActivateParserRequest
func NewDeactivateParserRequest ¶
func NewDeactivateParserRequest(project, location, instance, logtype, parser string) *ActivateParserRequest
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListLogTypes ¶
func (c *Client) ListLogTypes(req ListLogTypesRequest) (*ListLogTypesResult, error)
type CreateParserExtensionRequest ¶
func NewCreateParserExtensionRequest ¶
func NewCreateParserExtensionRequest(project, location, instance, logtype, cbnsnippet string) *CreateParserExtensionRequest
type CreateParserRequest ¶
func NewCreateParserRequest ¶
func NewCreateParserRequest(project, location, instance, logtype string, cbn []byte, validatedonemptylogs bool) *CreateParserRequest
type DeactivateParserRequest ¶
type DeactivateParserRequest struct {
Path string
}
type DeleteParserExtensionRequest ¶
type DeleteParserExtensionRequest struct {
Path string
}
func NewDeleteParserExtensionRequest ¶
func NewDeleteParserExtensionRequest(project, location, instance, logtype, parser string, force bool) *DeleteParserExtensionRequest
type DeleteParserRequest ¶
func NewDeleteParserRequest ¶
func NewDeleteParserRequest(project, location, instance, logtype, parser string, force bool) *DeleteParserRequest
type GetParserRequest ¶
type GetParserRequest struct {
Path string
}
func NewGetParserRequest ¶
func NewGetParserRequest(project, location, instance, logtype, parser string) *GetParserRequest
type ListLogTypesRequest ¶
func NewListLogTypesRequest ¶
func NewListLogTypesRequest(project, location, instance string) *ListLogTypesRequest
type ListLogTypesResult ¶
type ListLogTypesResult struct {
LogTypes []LogType `json:"logTypes"`
}
type ListParsersRequest ¶
func NewListParsersRequest ¶
func NewListParsersRequest(project, location, instance, logtype string) *ListParsersRequest
type ListParsersResult ¶
type ListParsersResult struct {
Parsers []Parser `json:"parsers"`
}
type ParsedEvent ¶
type ParsedEvents ¶
type ParsedEvents struct {
Events []ParsedEvent `json:"events,omitempty"`
}
type Parser ¶
type Parser struct { Name string `json:"name,omitempty"` Creator map[string]string `json:"creator,omitempty"` CreateTime string `json:"createTime,omitempty"` Changelogs map[string]any `json:"changelogs,omitempty"` ParserExtension string `json:"parserExtension,omitempty"` Type string `json:"type,omitempty"` State string `json:"state,omitempty"` ValidationReport string `json:"validationReport,omitempty"` ValidatedOnEmptyLogs bool `json:"validatedOnEmptyLogs,omitempty"` Cbn string `json:"cbn,omitempty"` LowCode map[string]any `json:"lowCode,omitempty"` ReleaseStage string `json:"releaseStage,omitempty"` ValidationStage string `json:"validationStage,omitempty"` }
type ParserExtension ¶
type ParserExtension struct {
CbnSnippet string `json:"cbnSnippet,omitempty"`
}
type ParserLogResult ¶
type ParserLogResult struct { Log string `json:"log,omitempty"` StatedumpResults []StatedumpResult `json:"statedumpResults,omitempty"` ParsedEvents ParsedEvents `json:"parsedEvents,omitempty"` Error Status `json:",omitempty"` }
type RunParserRequest ¶
type RunParserRequest struct { Path string Cbn string CbnSnippet string Log []string StatedumpAllowed bool }
func NewRunParserRequest ¶
func NewRunParserRequest(project, location, instance, logtype string, cbn, cbnsnippet []byte, logs []string, statedumpallowed bool) *RunParserRequest
type RunParserResult ¶
type RunParserResult struct {
RunParserResults []ParserLogResult `json:"runParserResults"`
}
type StatedumpResult ¶
Click to show internal directories.
Click to hide internal directories.