Versions in this module Expand all Collapse all v0 v0.2.0 Jul 13, 2022 Changes in this version + type CRRepository struct + func NewEdgeWorkloadRepository(client client.Client) *CRRepository + func (r *CRRepository) ListByLabel(ctx context.Context, labelName, labelValue string, namespace string) ([]v1alpha1.EdgeWorkload, error) + func (r *CRRepository) Patch(ctx context.Context, old, new *v1alpha1.EdgeWorkload) error + func (r *CRRepository) Read(ctx context.Context, name string, namespace string) (*v1alpha1.EdgeWorkload, error) + func (r *CRRepository) RemoveFinalizer(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, finalizer string) error + type MockRepository struct + func NewMockRepository(ctrl *gomock.Controller) *MockRepository + func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder + func (m *MockRepository) ListByLabel(arg0 context.Context, arg1, arg2, arg3 string) ([]v1alpha1.EdgeWorkload, error) + func (m *MockRepository) Patch(arg0 context.Context, arg1, arg2 *v1alpha1.EdgeWorkload) error + func (m *MockRepository) Read(arg0 context.Context, arg1, arg2 string) (*v1alpha1.EdgeWorkload, error) + func (m *MockRepository) RemoveFinalizer(arg0 context.Context, arg1 *v1alpha1.EdgeWorkload, arg2 string) error + type MockRepositoryMockRecorder struct + func (mr *MockRepositoryMockRecorder) ListByLabel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockRepositoryMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRepositoryMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRepositoryMockRecorder) RemoveFinalizer(arg0, arg1, arg2 interface{}) *gomock.Call + type Repository interface + ListByLabel func(ctx context.Context, labelName, labelValue string, namespace string) ([]v1alpha1.EdgeWorkload, error) + Patch func(ctx context.Context, old, new *v1alpha1.EdgeWorkload) error + Read func(ctx context.Context, name string, namespace string) (*v1alpha1.EdgeWorkload, error) + RemoveFinalizer func(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, finalizer string) error