utils

package
v0.0.0-...-ceb3457 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientGo

type ClientGo struct {
	ClientSet       *kubernetes.Clientset
	DynamicClient   dynamic.Interface
	DiscoveryClient discovery.DiscoveryInterface
}

func NewClientGo

func NewClientGo(kubeconfig string) (*ClientGo, error)

type OpenAI

type OpenAI struct {
	Client *openai.Client
	// contains filtered or unexported fields
}

func NewOpenAI

func NewOpenAI() (*OpenAI, error)

func (*OpenAI) SendMessage

func (o *OpenAI) SendMessage(prompt, input string) (string, error)

Jump to

Keyboard shortcuts

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