client

package
v0.0.0-...-5ebd963 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDynamicClient

func NewDynamicClient(config *rest.Config) (dynamic.Interface, error)

NewDynamicClient now accepts a *rest.Config instead of a kubeconfig path string.

func NewEventServiceClient

func NewEventServiceClient() (eventpb.EventServiceClient, error)

NewEventServiceClient creates a new client for the EventService

func SendEvent

func SendEvent(client eventpb.EventServiceClient, eventMessage *eventpb.EventMessage) (*eventpb.EventResponse, error)

SendEvent sends an event to the EventService

Types

This section is empty.

Jump to

Keyboard shortcuts

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