harbor

package
v0.0.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 21 Imported by: 0

README

prepare_dir(database_data_path, uid=PG_UID, gid=PG_GID, mode=0o700)
sudo chown -R 999:999 database

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {
	LMTest              pkg.Test
	Client              http.Client
	HarborAdminUsername string
	HarborAdminPassword string

	RedisContainer        testcontainers.Container
	PostgresContainer     testcontainers.Container
	HarborCoreContainer   testcontainers.Container
	HarborPortalContainer testcontainers.Container
	HarborProxyContainer  testcontainers.Container
	NetworkName           string
	Network               testcontainers.Network
}

Test wraps a pre-configured harbor and LDAP Manager setup

func (*Test) Setup

func (test *Test) Setup(t *testing.T) *Test

Setup runs the setup

func (*Test) Start

func (test *Test) Start(t *testing.T) *Test

Start starts the containers

func (*Test) Teardown

func (test *Test) Teardown()

Teardown stops the container

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL