Documentation
¶
Overview ¶
Package delete is a generated GoMock package.
Index ¶
- func DeleteApplicationWithProgress(ctx context.Context, amc clients.ApplicationsManagementClient, ...) (bool, error)
- type Impl
- type Interface
- type MockInterface
- type MockInterfaceDeleteApplicationWithProgressCall
- func (c *MockInterfaceDeleteApplicationWithProgressCall) Do(...) *MockInterfaceDeleteApplicationWithProgressCall
- func (c *MockInterfaceDeleteApplicationWithProgressCall) DoAndReturn(...) *MockInterfaceDeleteApplicationWithProgressCall
- func (c *MockInterfaceDeleteApplicationWithProgressCall) Return(arg0 bool, arg1 error) *MockInterfaceDeleteApplicationWithProgressCall
- type MockInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteApplicationWithProgress ¶
func DeleteApplicationWithProgress(ctx context.Context, amc clients.ApplicationsManagementClient, options clients.DeleteOptions) (bool, error)
DeleteApplicationWithProgress deletes an application with progress updates displayed to the user. This is intended to be used from the CLI and thus logs to the console.
Types ¶
type Impl ¶
type Impl struct {
}
func (*Impl) DeleteApplicationWithProgress ¶
func (i *Impl) DeleteApplicationWithProgress(ctx context.Context, client clients.ApplicationsManagementClient, options clients.DeleteOptions) (bool, error)
type Interface ¶
type Interface interface {
// DeleteApplicationWithProgress deletes an application with progress reporting. This is used to
// provide feedback to the user during the deletion process. It returns a boolean indicating
DeleteApplicationWithProgress(ctx context.Context, client clients.ApplicationsManagementClient, options clients.DeleteOptions) (bool, error)
}
Interface is the interface for executing delete operations in the CLI.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) DeleteApplicationWithProgress ¶
func (m *MockInterface) DeleteApplicationWithProgress(ctx context.Context, client clients.ApplicationsManagementClient, options clients.DeleteOptions) (bool, error)
DeleteApplicationWithProgress mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInterfaceDeleteApplicationWithProgressCall ¶
MockInterfaceDeleteApplicationWithProgressCall wrap *gomock.Call
func (*MockInterfaceDeleteApplicationWithProgressCall) Do ¶
func (c *MockInterfaceDeleteApplicationWithProgressCall) Do(f func(context.Context, clients.ApplicationsManagementClient, clients.DeleteOptions) (bool, error)) *MockInterfaceDeleteApplicationWithProgressCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceDeleteApplicationWithProgressCall) DoAndReturn ¶
func (c *MockInterfaceDeleteApplicationWithProgressCall) DoAndReturn(f func(context.Context, clients.ApplicationsManagementClient, clients.DeleteOptions) (bool, error)) *MockInterfaceDeleteApplicationWithProgressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceDeleteApplicationWithProgressCall) Return ¶
func (c *MockInterfaceDeleteApplicationWithProgressCall) Return(arg0 bool, arg1 error) *MockInterfaceDeleteApplicationWithProgressCall
Return rewrite *gomock.Call.Return
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) DeleteApplicationWithProgress ¶
func (mr *MockInterfaceMockRecorder) DeleteApplicationWithProgress(ctx, client, options any) *MockInterfaceDeleteApplicationWithProgressCall
DeleteApplicationWithProgress indicates an expected call of DeleteApplicationWithProgress.