Documentation ¶
Index ¶
- func GenerateAddress(ctx context.Context, cli client.Client, k8sgptConfig *v1alpha1.K8sGPT) (string, error)
- type Client
- func (c *Client) AddConfig(config *v1alpha1.K8sGPT) error
- func (c *Client) AddIntegration(config *v1alpha1.K8sGPT) error
- func (c *Client) Close() error
- func (c *Client) ProcessAnalysis(deployment v1.Deployment, config *v1alpha1.K8sGPT, allowAIRequest bool) (*common.K8sGPTReponse, error)
- func (c *Client) RemoveConfig(config *v1alpha1.K8sGPT) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
This is the client for communicating with the K8sGPT in cluster deployment
func (*Client) AddIntegration ¶ added in v0.0.22
func (*Client) ProcessAnalysis ¶
func (c *Client) ProcessAnalysis(deployment v1.Deployment, config *v1alpha1.K8sGPT, allowAIRequest bool) (*common.K8sGPTReponse, error)
Click to show internal directories.
Click to hide internal directories.