project

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	// contains filtered or unexported fields
}

func NewProject

func NewProject(cli kubernetes.Interface, projectClient projectclient.Interface, name string) Project

func (Project) Create

func (p Project) Create(ctx context.Context) error

func (Project) Delete

func (p Project) Delete(ctx context.Context) error

func (Project) Verify

func (p Project) Verify(ctx context.Context) error

VerifyProjectIsReady verifies that the project and relevant resources have been created correctly and returns error otherwise

func (Project) VerifyProjectIsDeleted

func (p Project) VerifyProjectIsDeleted(ctx context.Context) error

VerifyProjectIsDeleted verifies that the project does not exist and returns error if a project exists or if it encounters an error other than NotFound

Jump to

Keyboard shortcuts

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