Documentation
¶
Index ¶
- func CreateFilesystemLayouts(t *testing.T, repo *repository.Store, ...)
- func CreateIPs(t *testing.T, repo *repository.Store, ips []*apiv2.IPServiceCreateRequest)
- func CreateImages(t *testing.T, repo *repository.Store, ...)
- func CreateMachines(t *testing.T, testStore *testStore, machines []*metal.Machine)
- func CreateMachinesWithAllocation(t *testing.T, repo *repository.Store, ...)
- func CreatePartitions(t *testing.T, repo *repository.Store, ...)
- func CreateProjectInvites(t *testing.T, testStore *testStore, invites []*apiv2.ProjectInvite)
- func CreateProjectMemberships(t *testing.T, testStore *testStore, project string, ...)
- func CreateProjects(t *testing.T, repo *repository.Store, ...)
- func CreateSizes(t *testing.T, repo *repository.Store, ...)
- func CreateTenantInvites(t *testing.T, testStore *testStore, invites []*apiv2.TenantInvite)
- func CreateTenantMemberships(t *testing.T, testStore *testStore, tenant string, ...)
- func CreateTenants(t *testing.T, testStore *testStore, ...)
- func DeleteIPs(t *testing.T, testStore *testStore)
- func DeleteMachines(t *testing.T, testStore *testStore)
- func DeleteNetworks(t *testing.T, testStore *testStore)
- func StartAsynqServer(t *testing.T, log *slog.Logger, repository *repository.Store, ...) func()
- func StartIpam(t *testing.T) (ipamv1connect.IpamServiceClient, func())
- func StartMasterdataInMemory(t *testing.T, log *slog.Logger) (mdc.Client, *grpc.ClientConn, func())
- func StartMasterdataWithCockroach(t *testing.T, log *slog.Logger) (mdc.Client, *grpc.ClientConn, func())
- func StartRepositoryWithCleanup(t *testing.T, log *slog.Logger, testOpts ...testOpt) (*testStore, func())
- func StartRethink(t testing.TB, log *slog.Logger) (generic.Datastore, r.ConnectOpts, func())
- func StartValkey(t *testing.T) (*redis.Client, func())
- func WithCockroach(with bool) *testOptCoackroach
- func WithValkey(with bool) *testOptValkey
- type NetworkMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFilesystemLayouts ¶ added in v0.0.6
func CreateFilesystemLayouts(t *testing.T, repo *repository.Store, fsls []*adminv2.FilesystemServiceCreateRequest)
func CreateIPs ¶
func CreateIPs(t *testing.T, repo *repository.Store, ips []*apiv2.IPServiceCreateRequest)
func CreateImages ¶
func CreateImages(t *testing.T, repo *repository.Store, images []*adminv2.ImageServiceCreateRequest)
func CreateMachines ¶ added in v0.0.6
func CreateMachinesWithAllocation ¶ added in v0.0.6
func CreateMachinesWithAllocation(t *testing.T, repo *repository.Store, machines []*apiv2.MachineServiceCreateRequest)
func CreatePartitions ¶
func CreatePartitions(t *testing.T, repo *repository.Store, partitions []*adminv2.PartitionServiceCreateRequest)
func CreateProjectInvites ¶ added in v0.0.6
func CreateProjectInvites(t *testing.T, testStore *testStore, invites []*apiv2.ProjectInvite)
func CreateProjectMemberships ¶ added in v0.0.6
func CreateProjectMemberships(t *testing.T, testStore *testStore, project string, memberships []*repository.ProjectMemberCreateRequest)
func CreateProjects ¶
func CreateProjects(t *testing.T, repo *repository.Store, projects []*apiv2.ProjectServiceCreateRequest)
func CreateSizes ¶ added in v0.0.5
func CreateSizes(t *testing.T, repo *repository.Store, sizes []*adminv2.SizeServiceCreateRequest)
func CreateTenantInvites ¶ added in v0.0.6
func CreateTenantInvites(t *testing.T, testStore *testStore, invites []*apiv2.TenantInvite)
func CreateTenantMemberships ¶ added in v0.0.6
func CreateTenantMemberships(t *testing.T, testStore *testStore, tenant string, memberships []*repository.TenantMemberCreateRequest)
func CreateTenants ¶
func CreateTenants(t *testing.T, testStore *testStore, tenants []*apiv2.TenantServiceCreateRequest)
func DeleteMachines ¶ added in v0.0.6
func DeleteNetworks ¶ added in v0.0.3
func StartAsynqServer ¶ added in v0.0.3
func StartIpam ¶
func StartIpam(t *testing.T) (ipamv1connect.IpamServiceClient, func())
func StartMasterdataInMemory ¶
func StartMasterdataWithCockroach ¶ added in v0.0.6
func StartRepositoryWithCleanup ¶ added in v0.0.3
func StartRethink ¶
func WithCockroach ¶ added in v0.0.6
func WithCockroach(with bool) *testOptCoackroach
func WithValkey ¶ added in v0.0.6
func WithValkey(with bool) *testOptValkey
Types ¶
type NetworkMap ¶ added in v0.0.3
NetworkMap maps network.Name to network.Id
func AllocateNetworks ¶ added in v0.0.3
func AllocateNetworks(t *testing.T, repo *repository.Store, nws []*apiv2.NetworkServiceCreateRequest) NetworkMap
func CreateNetworks ¶
func CreateNetworks(t *testing.T, repo *repository.Store, nws []*adminv2.NetworkServiceCreateRequest) NetworkMap
Click to show internal directories.
Click to hide internal directories.