assess

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileInRepoExists added in v0.6.0

func CheckFileInRepoExists(files ...File) features.Func

CheckFileInRepoExists adds a check to verify that file(s) exists in a repository

func CheckIfPullRequestExists

func CheckIfPullRequestExists(repoName string, number int) features.Func

CheckIfPullRequestExists adds a check to verify that a repository exists.

func CheckRepoExists

func CheckRepoExists(repo string) features.Func

CheckRepoExists adds a check to verify that a repository exists.

func CheckRepoFileContent

func CheckRepoFileContent(files ...File) features.Func

CheckRepoFileContent adds a check to verify that content of a pushed file has the expected content.

func ResourceWasCreated

func ResourceWasCreated(objs ...Object) features.Func

ResourceWasCreated is an assess step to check if a given resource was created.

Types

type File

type File struct {
	Repository string
	Path       string
	Content    string
}

File contains details about a file that needs to be checked in a repository.

type Object

type Object struct {
	Name      string
	Namespace string
	Obj       k8s.Object
}

Object contains information about the object to check existence on.

Jump to

Keyboard shortcuts

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