Documentation
¶
Index ¶
- type ChatService
- type DeployService
- func (d *DeployService) CreateImagePullSecret(ctx context.Context, ns string, serviceAccount string, pullSecret string) error
- func (d *DeployService) RestartDeploy(ctx context.Context, ns string, name string) (*v1.Deployment, error)
- func (d *DeployService) UpdateDeployImageTag(ctx context.Context, ns string, name string, containerName string, tag string) (*v1.Deployment, error)
- type PodService
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 (*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)
Click to show internal directories.
Click to hide internal directories.