EventOpenResource indicates that a specific resource was opened.
| 137 | |
| 138 | // EventOpenResource indicates that a specific resource was opened. |
| 139 | type EventOpenResource struct { |
| 140 | context context.Context |
| 141 | Resource kube.Resource |
| 142 | } |
| 143 | |
| 144 | // NewEventOpenResource creates a new EventOpenResource with the given context and resource. |
| 145 | func NewEventOpenResource(ctx context.Context, resource kube.Resource) EventOpenResource { |
nothing calls this directly
no outgoing calls
no test coverage detected