util

package
v0.0.0-...-f69cff6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrPatchBranch

func CreateOrPatchBranch(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(branch *api.Branch) *api.Branch) (*api.Branch, kutil.VerbType, error)

func CreateOrPatchPullRequest

func CreateOrPatchPullRequest(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(pullRequest *api.PullRequest) *api.PullRequest) (*api.PullRequest, kutil.VerbType, error)

func CreateOrPatchRepository

func CreateOrPatchRepository(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(repository *api.Repository) *api.Repository) (*api.Repository, kutil.VerbType, error)

func CreateOrPatchTag

func CreateOrPatchTag(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(tag *api.Tag) *api.Tag) (*api.Tag, kutil.VerbType, error)

func PatchBranch

func PatchBranch(c cs.GitV1alpha1Interface, cur *api.Branch, transform func(*api.Branch) *api.Branch) (*api.Branch, kutil.VerbType, error)

func PatchBranchObject

func PatchBranchObject(c cs.GitV1alpha1Interface, cur, mod *api.Branch) (*api.Branch, kutil.VerbType, error)

func PatchPullRequest

func PatchPullRequest(c cs.GitV1alpha1Interface, cur *api.PullRequest, transform func(*api.PullRequest) *api.PullRequest) (*api.PullRequest, kutil.VerbType, error)

func PatchPullRequestObject

func PatchPullRequestObject(c cs.GitV1alpha1Interface, cur, mod *api.PullRequest) (*api.PullRequest, kutil.VerbType, error)

func PatchRepository

func PatchRepository(c cs.GitV1alpha1Interface, cur *api.Repository, transform func(*api.Repository) *api.Repository) (*api.Repository, kutil.VerbType, error)

func PatchRepositoryObject

func PatchRepositoryObject(c cs.GitV1alpha1Interface, cur, mod *api.Repository) (*api.Repository, kutil.VerbType, error)

func PatchTag

func PatchTag(c cs.GitV1alpha1Interface, cur *api.Tag, transform func(*api.Tag) *api.Tag) (*api.Tag, kutil.VerbType, error)

func PatchTagObject

func PatchTagObject(c cs.GitV1alpha1Interface, cur, mod *api.Tag) (*api.Tag, kutil.VerbType, error)

func PatchWorkflowObject

func PatchWorkflowObject(c cs.GitV1alpha1Interface, cur, mod *api.Repository) (*api.Repository, kutil.VerbType, error)

func TryUpdateBranch

func TryUpdateBranch(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Branch) *api.Branch) (result *api.Branch, err error)

func TryUpdatePullRequest

func TryUpdatePullRequest(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.PullRequest) *api.PullRequest) (result *api.PullRequest, err error)

func TryUpdateRepository

func TryUpdateRepository(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Repository) *api.Repository) (result *api.Repository, err error)

func TryUpdateTag

func TryUpdateTag(c cs.GitV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Tag) *api.Tag) (result *api.Tag, err error)

func UpdateRepositoryStatus

func UpdateRepositoryStatus(
	c cs.GitV1alpha1Interface,
	in *api.Repository,
	transform func(status *api.RepositoryStatus) *api.RepositoryStatus,
	useSubresource ...bool,
) (result *api.Repository, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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