context

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitRepoFromCtx

func GitRepoFromCtx(ctx context.Context) *v1alpha1.GitRepo

GitRepoFromCtx returns the value of the gitRepo key on the ctx

func GitRepositoryFromCtx

func GitRepositoryFromCtx(ctx context.Context) *v1alpha1.GitRepository

GitRepositoryFromCtx returns the value of the gitRepo key on the ctx

func LocalRepoPathFromCtx

func LocalRepoPathFromCtx(ctx context.Context) *string

LocalRepoPathFromCtx returns the value of the localRepoPath key on the ctx

func WithGitRepo

func WithGitRepo(ctx context.Context, gitRepo *v1alpha1.GitRepo) context.Context

WithGitRepo returns a copy of parent in which the gitRepo value is set

func WithGitRepository

func WithGitRepository(ctx context.Context, gitRepo *v1alpha1.GitRepository) context.Context

WithGitRepository returns a copy of parent in which the gitRepo value is set

func WithLocalRepoPath

func WithLocalRepoPath(ctx context.Context, localRepoPath *string) context.Context

WithLocalRepoPath returns a copy of parent in which the localRepoPath value is set

Types

This section is empty.

Jump to

Keyboard shortcuts

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