Documentation
¶
Overview ¶
Package assistant is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPT3Runner ¶ added in v0.1.4
type GPT3Runner struct {
// contains filtered or unexported fields
}
func (*GPT3Runner) CanRunKubectlCommand ¶ added in v0.1.4
func (a *GPT3Runner) CanRunKubectlCommand() bool
CanRunKubectlCommand checks if the last response had a exec command.
func (*GPT3Runner) GetResponse ¶ added in v0.1.4
func (*GPT3Runner) RunKubectlCommand ¶ added in v0.1.4
func (a *GPT3Runner) RunKubectlCommand() error
RunKubectlCommand will run the exec command from the previous response.
type MockRunner ¶ added in v0.1.4
type MockRunner struct {
// contains filtered or unexported fields
}
MockRunner is a mock of Runner interface.
func NewMockRunner ¶ added in v0.1.4
func NewMockRunner(ctrl *gomock.Controller) *MockRunner
NewMockRunner creates a new mock instance.
func (*MockRunner) CanRunKubectlCommand ¶ added in v0.1.4
func (m *MockRunner) CanRunKubectlCommand() bool
CanRunKubectlCommand mocks base method.
func (*MockRunner) EXPECT ¶ added in v0.1.4
func (m *MockRunner) EXPECT() *MockRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRunner) GetResponse ¶ added in v0.1.4
GetResponse mocks base method.
func (*MockRunner) RunKubectlCommand ¶ added in v0.1.4
func (m *MockRunner) RunKubectlCommand() error
RunKubectlCommand mocks base method.
type MockRunnerMockRecorder ¶ added in v0.1.4
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner.
func (*MockRunnerMockRecorder) CanRunKubectlCommand ¶ added in v0.1.4
func (mr *MockRunnerMockRecorder) CanRunKubectlCommand() *gomock.Call
CanRunKubectlCommand indicates an expected call of CanRunKubectlCommand.
func (*MockRunnerMockRecorder) GetResponse ¶ added in v0.1.4
func (mr *MockRunnerMockRecorder) GetResponse(ctx, prompt interface{}) *gomock.Call
GetResponse indicates an expected call of GetResponse.
func (*MockRunnerMockRecorder) RunKubectlCommand ¶ added in v0.1.4
func (mr *MockRunnerMockRecorder) RunKubectlCommand() *gomock.Call
RunKubectlCommand indicates an expected call of RunKubectlCommand.