delete

package
v0.60.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package delete is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

type MockInterfaceDeleteApplicationWithProgressCall

type MockInterfaceDeleteApplicationWithProgressCall struct {
	*gomock.Call
}

MockInterfaceDeleteApplicationWithProgressCall wrap *gomock.Call

func (*MockInterfaceDeleteApplicationWithProgressCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteApplicationWithProgressCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteApplicationWithProgressCall) Return

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.

Jump to

Keyboard shortcuts

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