Documentation ¶
Index ¶
- func GitRepoFromCtx(ctx context.Context) *v1alpha1.GitRepo
- func GitRepositoryFromCtx(ctx context.Context) *v1alpha1.GitRepository
- func LocalRepoPathFromCtx(ctx context.Context) *string
- func WithGitRepo(ctx context.Context, gitRepo *v1alpha1.GitRepo) context.Context
- func WithGitRepository(ctx context.Context, gitRepo *v1alpha1.GitRepository) context.Context
- func WithLocalRepoPath(ctx context.Context, localRepoPath *string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitRepoFromCtx ¶
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 ¶
LocalRepoPathFromCtx returns the value of the localRepoPath key on the ctx
func WithGitRepo ¶
WithGitRepo returns a copy of parent in which the gitRepo value is set
func WithGitRepository ¶
WithGitRepository returns a copy of parent in which the gitRepo value is set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.