v1alpha1

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: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchExpansion

type BranchExpansion interface{}

type BranchInterface

type BranchInterface interface {
	Create(*v1alpha1.Branch) (*v1alpha1.Branch, error)
	Update(*v1alpha1.Branch) (*v1alpha1.Branch, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Branch, error)
	List(opts v1.ListOptions) (*v1alpha1.BranchList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Branch, err error)
	BranchExpansion
}

BranchInterface has methods to work with Branch resources.

type BranchesGetter

type BranchesGetter interface {
	Branches(namespace string) BranchInterface
}

BranchesGetter has a method to return a BranchInterface. A group's client should implement this interface.

type GitV1alpha1Client

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

GitV1alpha1Client is used to interact with features provided by the git.kube.ci group.

func New

New creates a new GitV1alpha1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*GitV1alpha1Client, error)

NewForConfig creates a new GitV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *GitV1alpha1Client

NewForConfigOrDie creates a new GitV1alpha1Client for the given config and panics if there is an error in the config.

func (*GitV1alpha1Client) Branches

func (c *GitV1alpha1Client) Branches(namespace string) BranchInterface

func (*GitV1alpha1Client) PullRequests

func (c *GitV1alpha1Client) PullRequests(namespace string) PullRequestInterface

func (*GitV1alpha1Client) RESTClient

func (c *GitV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*GitV1alpha1Client) Repositories

func (c *GitV1alpha1Client) Repositories(namespace string) RepositoryInterface

func (*GitV1alpha1Client) Tags

func (c *GitV1alpha1Client) Tags(namespace string) TagInterface

type GitV1alpha1Interface

type GitV1alpha1Interface interface {
	RESTClient() rest.Interface
	BranchesGetter
	PullRequestsGetter
	RepositoriesGetter
	TagsGetter
}

type PullRequestExpansion

type PullRequestExpansion interface{}

type PullRequestInterface

type PullRequestInterface interface {
	Create(*v1alpha1.PullRequest) (*v1alpha1.PullRequest, error)
	Update(*v1alpha1.PullRequest) (*v1alpha1.PullRequest, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.PullRequest, error)
	List(opts v1.ListOptions) (*v1alpha1.PullRequestList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PullRequest, err error)
	PullRequestExpansion
}

PullRequestInterface has methods to work with PullRequest resources.

type PullRequestsGetter

type PullRequestsGetter interface {
	PullRequests(namespace string) PullRequestInterface
}

PullRequestsGetter has a method to return a PullRequestInterface. A group's client should implement this interface.

type RepositoriesGetter

type RepositoriesGetter interface {
	Repositories(namespace string) RepositoryInterface
}

RepositoriesGetter has a method to return a RepositoryInterface. A group's client should implement this interface.

type RepositoryExpansion

type RepositoryExpansion interface{}

type RepositoryInterface

type RepositoryInterface interface {
	Create(*v1alpha1.Repository) (*v1alpha1.Repository, error)
	Update(*v1alpha1.Repository) (*v1alpha1.Repository, error)
	UpdateStatus(*v1alpha1.Repository) (*v1alpha1.Repository, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Repository, error)
	List(opts v1.ListOptions) (*v1alpha1.RepositoryList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Repository, err error)
	RepositoryExpansion
}

RepositoryInterface has methods to work with Repository resources.

type TagExpansion

type TagExpansion interface{}

type TagInterface

type TagInterface interface {
	Create(*v1alpha1.Tag) (*v1alpha1.Tag, error)
	Update(*v1alpha1.Tag) (*v1alpha1.Tag, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Tag, error)
	List(opts v1.ListOptions) (*v1alpha1.TagList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Tag, err error)
	TagExpansion
}

TagInterface has methods to work with Tag resources.

type TagsGetter

type TagsGetter interface {
	Tags(namespace string) TagInterface
}

TagsGetter has a method to return a TagInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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