Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrganizationRepository ¶
type MockOrganizationRepository struct {
CallCount int
LastCluster *clusterv1.Cluster
OrganizationID string
}
MockOrganizationRepository implements a minimal OrganizationRepository with call tracking. It can be used in tests to avoid complex setup of real organization repositories.
func NewMockOrganizationRepository ¶
func NewMockOrganizationRepository(organizationID string) *MockOrganizationRepository
NewMockOrganizationRepository creates a new mock with a default organization ID.
Click to show internal directories.
Click to hide internal directories.