Documentation ¶
Overview ¶
Package deployment is a generated GoMock package.
Index ¶
- type DeploymentProcessor
- type MockDeploymentProcessor
- func (m *MockDeploymentProcessor) Delete(arg0 context.Context, arg1 resources.ID, arg2 []v10.OutputResource) error
- func (m *MockDeploymentProcessor) Deploy(arg0 context.Context, arg1 resources.ID, arg2 renderers.RendererOutput) (v10.DeploymentOutput, error)
- func (m *MockDeploymentProcessor) EXPECT() *MockDeploymentProcessorMockRecorder
- func (m *MockDeploymentProcessor) FetchSecrets(arg0 context.Context, arg1 ResourceData) (map[string]interface{}, error)
- func (m *MockDeploymentProcessor) Render(arg0 context.Context, arg1 resources.ID, arg2 v1.DataModelInterface) (renderers.RendererOutput, error)
- type MockDeploymentProcessorMockRecorder
- func (mr *MockDeploymentProcessorMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentProcessorMockRecorder) Deploy(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentProcessorMockRecorder) FetchSecrets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeploymentProcessorMockRecorder) Render(arg0, arg1, arg2 interface{}) *gomock.Call
- type ResourceData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentProcessor ¶
type DeploymentProcessor interface { Render(ctx context.Context, id resources.ID, resource v1.DataModelInterface) (renderers.RendererOutput, error) Deploy(ctx context.Context, id resources.ID, rendererOutput renderers.RendererOutput) (rpv1.DeploymentOutput, error) Delete(ctx context.Context, id resources.ID, outputResources []rpv1.OutputResource) error FetchSecrets(ctx context.Context, resourceData ResourceData) (map[string]any, error) }
func NewDeploymentProcessor ¶
func NewDeploymentProcessor(appmodel model.ApplicationModel, sp dataprovider.DataStorageProvider, k8sClient controller_runtime.Client, k8sClientSet kubernetes.Interface) DeploymentProcessor
NewDeploymentProcessor creates a new instance of the DeploymentProcessor struct with the given parameters.
type MockDeploymentProcessor ¶
type MockDeploymentProcessor struct {
// contains filtered or unexported fields
}
MockDeploymentProcessor is a mock of DeploymentProcessor interface.
func NewMockDeploymentProcessor ¶
func NewMockDeploymentProcessor(ctrl *gomock.Controller) *MockDeploymentProcessor
NewMockDeploymentProcessor creates a new mock instance.
func (*MockDeploymentProcessor) Delete ¶
func (m *MockDeploymentProcessor) Delete(arg0 context.Context, arg1 resources.ID, arg2 []v10.OutputResource) error
Delete mocks base method.
func (*MockDeploymentProcessor) Deploy ¶
func (m *MockDeploymentProcessor) Deploy(arg0 context.Context, arg1 resources.ID, arg2 renderers.RendererOutput) (v10.DeploymentOutput, error)
Deploy mocks base method.
func (*MockDeploymentProcessor) EXPECT ¶
func (m *MockDeploymentProcessor) EXPECT() *MockDeploymentProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeploymentProcessor) FetchSecrets ¶
func (m *MockDeploymentProcessor) FetchSecrets(arg0 context.Context, arg1 ResourceData) (map[string]interface{}, error)
FetchSecrets mocks base method.
func (*MockDeploymentProcessor) Render ¶
func (m *MockDeploymentProcessor) Render(arg0 context.Context, arg1 resources.ID, arg2 v1.DataModelInterface) (renderers.RendererOutput, error)
Render mocks base method.
type MockDeploymentProcessorMockRecorder ¶
type MockDeploymentProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockDeploymentProcessorMockRecorder is the mock recorder for MockDeploymentProcessor.
func (*MockDeploymentProcessorMockRecorder) Delete ¶
func (mr *MockDeploymentProcessorMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDeploymentProcessorMockRecorder) Deploy ¶
func (mr *MockDeploymentProcessorMockRecorder) Deploy(arg0, arg1, arg2 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockDeploymentProcessorMockRecorder) FetchSecrets ¶
func (mr *MockDeploymentProcessorMockRecorder) FetchSecrets(arg0, arg1 interface{}) *gomock.Call
FetchSecrets indicates an expected call of FetchSecrets.
func (*MockDeploymentProcessorMockRecorder) Render ¶
func (mr *MockDeploymentProcessorMockRecorder) Render(arg0, arg1, arg2 interface{}) *gomock.Call
Render indicates an expected call of Render.
type ResourceData ¶
type ResourceData struct { ID resources.ID // resource ID Resource v1.DataModelInterface OutputResources []rpv1.OutputResource ComputedValues map[string]any SecretValues map[string]rpv1.SecretValueReference AppID *resources.ID // Application ID for which the resource is created RecipeData portableresources.RecipeData // Relevant only for portable resources created with recipes to find relevant connections created by that recipe }