MCPcopy Create free account
hub / github.com/MacroPower/kat / EventOpenResource

Struct EventOpenResource

pkg/command/command.go:139–142  ·  view source on GitHub ↗

EventOpenResource indicates that a specific resource was opened.

Source from the content-addressed store, hash-verified

137
138// EventOpenResource indicates that a specific resource was opened.
139type EventOpenResource struct {
140 context context.Context
141 Resource kube.Resource
142}
143
144// NewEventOpenResource creates a new EventOpenResource with the given context and resource.
145func NewEventOpenResource(ctx context.Context, resource kube.Resource) EventOpenResource {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected