service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatService

type ChatService struct {
}

func (*ChatService) Chat

func (c *ChatService) Chat(chat string) string

func (*ChatService) GetChatStream

func (c *ChatService) GetChatStream(chat string) (*http.Response, error)

type DeployService added in v0.0.2

type DeployService struct {
}

func (*DeployService) CreateImagePullSecret added in v0.0.2

func (d *DeployService) CreateImagePullSecret(ctx context.Context, ns string, serviceAccount string, pullSecret string) error

func (*DeployService) RestartDeploy added in v0.0.2

func (d *DeployService) RestartDeploy(ctx context.Context, ns string, name string) (*v1.Deployment, error)

func (*DeployService) UpdateDeployImageTag added in v0.0.2

func (d *DeployService) UpdateDeployImageTag(ctx context.Context, ns string, name string, containerName string, tag string) (*v1.Deployment, error)

type PodService added in v0.0.2

type PodService struct {
}

func (*PodService) StreamPodLogs added in v0.0.2

func (p *PodService) StreamPodLogs(ctx context.Context, ns, name string, logOptions *v1.PodLogOptions) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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