...

Package deploy

Overview ▾

Package deploy is a generated GoMock package.

type Client

type Client interface {
    // Deploy resources from a devfile located in path, for the specified appName.
    // The filesystem specified is used to download and store the Dockerfiles needed to build the necessary container images,
    // in case such Dockerfiles are referenced as remote URLs in the Devfile.
    Deploy(ctx context.Context) error
}

type DeployClient

type DeployClient struct {
    // contains filtered or unexported fields
}

func NewDeployClient

func NewDeployClient(kubeClient kclient.ClientInterface, configAutomountClient configAutomount.Client, fs filesystem.Filesystem) *DeployClient

func (*DeployClient) Deploy

func (o *DeployClient) Deploy(ctx context.Context) error

type MockClient

MockClient is a mock of Client interface.

type MockClient struct {
    // contains filtered or unexported fields
}

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Deploy

func (m *MockClient) Deploy(ctx context.Context) error

Deploy mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

type MockClientMockRecorder

MockClientMockRecorder is the mock recorder for MockClient.

type MockClientMockRecorder struct {
    // contains filtered or unexported fields
}

func (*MockClientMockRecorder) Deploy

func (mr *MockClientMockRecorder) Deploy(ctx interface{}) *gomock.Call

Deploy indicates an expected call of Deploy.