v1

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 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 AppExpansion

type AppExpansion interface{}

type AppInterface

type AppInterface interface {
	Create(ctx context.Context, app *v1.App, opts metav1.CreateOptions) (*v1.App, error)
	Update(ctx context.Context, app *v1.App, opts metav1.UpdateOptions) (*v1.App, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.App, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.AppList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.App, err error)
	AppExpansion
}

AppInterface has methods to work with App resources.

type AppsGetter

type AppsGetter interface {
	Apps(namespace string) AppInterface
}

AppsGetter has a method to return a AppInterface. A group's client should implement this interface.

type BuildPackExpansion

type BuildPackExpansion interface{}

type BuildPackInterface

type BuildPackInterface interface {
	Create(ctx context.Context, buildPack *v1.BuildPack, opts metav1.CreateOptions) (*v1.BuildPack, error)
	Update(ctx context.Context, buildPack *v1.BuildPack, opts metav1.UpdateOptions) (*v1.BuildPack, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.BuildPack, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BuildPackList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.BuildPack, err error)
	BuildPackExpansion
}

BuildPackInterface has methods to work with BuildPack resources.

type BuildPacksGetter

type BuildPacksGetter interface {
	BuildPacks(namespace string) BuildPackInterface
}

BuildPacksGetter has a method to return a BuildPackInterface. A group's client should implement this interface.

type CommitStatusExpansion

type CommitStatusExpansion interface{}

type CommitStatusInterface

type CommitStatusInterface interface {
	Create(ctx context.Context, commitStatus *v1.CommitStatus, opts metav1.CreateOptions) (*v1.CommitStatus, error)
	Update(ctx context.Context, commitStatus *v1.CommitStatus, opts metav1.UpdateOptions) (*v1.CommitStatus, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CommitStatus, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CommitStatusList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CommitStatus, err error)
	CommitStatusExpansion
}

CommitStatusInterface has methods to work with CommitStatus resources.

type CommitStatusesGetter

type CommitStatusesGetter interface {
	CommitStatuses(namespace string) CommitStatusInterface
}

CommitStatusesGetter has a method to return a CommitStatusInterface. A group's client should implement this interface.

type EnvironmentExpansion

type EnvironmentExpansion interface{}

type EnvironmentInterface

type EnvironmentInterface interface {
	Create(ctx context.Context, environment *v1.Environment, opts metav1.CreateOptions) (*v1.Environment, error)
	Update(ctx context.Context, environment *v1.Environment, opts metav1.UpdateOptions) (*v1.Environment, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Environment, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.EnvironmentList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Environment, err error)
	EnvironmentExpansion
}

EnvironmentInterface has methods to work with Environment resources.

type EnvironmentRoleBindingExpansion

type EnvironmentRoleBindingExpansion interface{}

type EnvironmentRoleBindingInterface

type EnvironmentRoleBindingInterface interface {
	Create(ctx context.Context, environmentRoleBinding *v1.EnvironmentRoleBinding, opts metav1.CreateOptions) (*v1.EnvironmentRoleBinding, error)
	Update(ctx context.Context, environmentRoleBinding *v1.EnvironmentRoleBinding, opts metav1.UpdateOptions) (*v1.EnvironmentRoleBinding, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.EnvironmentRoleBinding, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.EnvironmentRoleBindingList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.EnvironmentRoleBinding, err error)
	EnvironmentRoleBindingExpansion
}

EnvironmentRoleBindingInterface has methods to work with EnvironmentRoleBinding resources.

type EnvironmentRoleBindingsGetter

type EnvironmentRoleBindingsGetter interface {
	EnvironmentRoleBindings(namespace string) EnvironmentRoleBindingInterface
}

EnvironmentRoleBindingsGetter has a method to return a EnvironmentRoleBindingInterface. A group's client should implement this interface.

type EnvironmentsGetter

type EnvironmentsGetter interface {
	Environments(namespace string) EnvironmentInterface
}

EnvironmentsGetter has a method to return a EnvironmentInterface. A group's client should implement this interface.

type ExtensionExpansion

type ExtensionExpansion interface{}

type ExtensionInterface

type ExtensionInterface interface {
	Create(ctx context.Context, extension *v1.Extension, opts metav1.CreateOptions) (*v1.Extension, error)
	Update(ctx context.Context, extension *v1.Extension, opts metav1.UpdateOptions) (*v1.Extension, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Extension, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ExtensionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Extension, err error)
	ExtensionExpansion
}

ExtensionInterface has methods to work with Extension resources.

type ExtensionsGetter

type ExtensionsGetter interface {
	Extensions(namespace string) ExtensionInterface
}

ExtensionsGetter has a method to return a ExtensionInterface. A group's client should implement this interface.

type GitServiceExpansion

type GitServiceExpansion interface{}

type GitServiceInterface

type GitServiceInterface interface {
	Create(ctx context.Context, gitService *v1.GitService, opts metav1.CreateOptions) (*v1.GitService, error)
	Update(ctx context.Context, gitService *v1.GitService, opts metav1.UpdateOptions) (*v1.GitService, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.GitService, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.GitServiceList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GitService, err error)
	GitServiceExpansion
}

GitServiceInterface has methods to work with GitService resources.

type GitServicesGetter

type GitServicesGetter interface {
	GitServices(namespace string) GitServiceInterface
}

GitServicesGetter has a method to return a GitServiceInterface. A group's client should implement this interface.

type JenkinsV1Client

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

JenkinsV1Client is used to interact with features provided by the jenkins.io group.

func New

New creates a new JenkinsV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new JenkinsV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *JenkinsV1Client

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

func (*JenkinsV1Client) Apps

func (c *JenkinsV1Client) Apps(namespace string) AppInterface

func (*JenkinsV1Client) BuildPacks

func (c *JenkinsV1Client) BuildPacks(namespace string) BuildPackInterface

func (*JenkinsV1Client) CommitStatuses

func (c *JenkinsV1Client) CommitStatuses(namespace string) CommitStatusInterface

func (*JenkinsV1Client) EnvironmentRoleBindings

func (c *JenkinsV1Client) EnvironmentRoleBindings(namespace string) EnvironmentRoleBindingInterface

func (*JenkinsV1Client) Environments

func (c *JenkinsV1Client) Environments(namespace string) EnvironmentInterface

func (*JenkinsV1Client) Extensions

func (c *JenkinsV1Client) Extensions(namespace string) ExtensionInterface

func (*JenkinsV1Client) GitServices

func (c *JenkinsV1Client) GitServices(namespace string) GitServiceInterface

func (*JenkinsV1Client) PipelineActivities

func (c *JenkinsV1Client) PipelineActivities(namespace string) PipelineActivityInterface

func (*JenkinsV1Client) Plugins

func (c *JenkinsV1Client) Plugins(namespace string) PluginInterface

func (*JenkinsV1Client) RESTClient

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

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

func (*JenkinsV1Client) Releases

func (c *JenkinsV1Client) Releases(namespace string) ReleaseInterface

func (*JenkinsV1Client) SourceRepositories

func (c *JenkinsV1Client) SourceRepositories(namespace string) SourceRepositoryInterface

func (*JenkinsV1Client) SourceRepositoryGroups

func (c *JenkinsV1Client) SourceRepositoryGroups(namespace string) SourceRepositoryGroupInterface

func (*JenkinsV1Client) Teams

func (c *JenkinsV1Client) Teams(namespace string) TeamInterface

func (*JenkinsV1Client) Users

func (c *JenkinsV1Client) Users(namespace string) UserInterface

type PipelineActivitiesGetter

type PipelineActivitiesGetter interface {
	PipelineActivities(namespace string) PipelineActivityInterface
}

PipelineActivitiesGetter has a method to return a PipelineActivityInterface. A group's client should implement this interface.

type PipelineActivityExpansion

type PipelineActivityExpansion interface{}

type PipelineActivityInterface

type PipelineActivityInterface interface {
	Create(ctx context.Context, pipelineActivity *v1.PipelineActivity, opts metav1.CreateOptions) (*v1.PipelineActivity, error)
	Update(ctx context.Context, pipelineActivity *v1.PipelineActivity, opts metav1.UpdateOptions) (*v1.PipelineActivity, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PipelineActivity, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PipelineActivityList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PipelineActivity, err error)
	PipelineActivityExpansion
}

PipelineActivityInterface has methods to work with PipelineActivity resources.

type PluginExpansion

type PluginExpansion interface{}

type PluginInterface

type PluginInterface interface {
	Create(ctx context.Context, plugin *v1.Plugin, opts metav1.CreateOptions) (*v1.Plugin, error)
	Update(ctx context.Context, plugin *v1.Plugin, opts metav1.UpdateOptions) (*v1.Plugin, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Plugin, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PluginList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Plugin, err error)
	PluginExpansion
}

PluginInterface has methods to work with Plugin resources.

type PluginsGetter

type PluginsGetter interface {
	Plugins(namespace string) PluginInterface
}

PluginsGetter has a method to return a PluginInterface. A group's client should implement this interface.

type ReleaseExpansion

type ReleaseExpansion interface{}

type ReleaseInterface

type ReleaseInterface interface {
	Create(ctx context.Context, release *v1.Release, opts metav1.CreateOptions) (*v1.Release, error)
	Update(ctx context.Context, release *v1.Release, opts metav1.UpdateOptions) (*v1.Release, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Release, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ReleaseList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Release, err error)
	ReleaseExpansion
}

ReleaseInterface has methods to work with Release resources.

type ReleasesGetter

type ReleasesGetter interface {
	Releases(namespace string) ReleaseInterface
}

ReleasesGetter has a method to return a ReleaseInterface. A group's client should implement this interface.

type SourceRepositoriesGetter

type SourceRepositoriesGetter interface {
	SourceRepositories(namespace string) SourceRepositoryInterface
}

SourceRepositoriesGetter has a method to return a SourceRepositoryInterface. A group's client should implement this interface.

type SourceRepositoryExpansion

type SourceRepositoryExpansion interface{}

type SourceRepositoryGroupExpansion

type SourceRepositoryGroupExpansion interface{}

type SourceRepositoryGroupInterface

type SourceRepositoryGroupInterface interface {
	Create(ctx context.Context, sourceRepositoryGroup *v1.SourceRepositoryGroup, opts metav1.CreateOptions) (*v1.SourceRepositoryGroup, error)
	Update(ctx context.Context, sourceRepositoryGroup *v1.SourceRepositoryGroup, opts metav1.UpdateOptions) (*v1.SourceRepositoryGroup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.SourceRepositoryGroup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SourceRepositoryGroupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SourceRepositoryGroup, err error)
	SourceRepositoryGroupExpansion
}

SourceRepositoryGroupInterface has methods to work with SourceRepositoryGroup resources.

type SourceRepositoryGroupsGetter

type SourceRepositoryGroupsGetter interface {
	SourceRepositoryGroups(namespace string) SourceRepositoryGroupInterface
}

SourceRepositoryGroupsGetter has a method to return a SourceRepositoryGroupInterface. A group's client should implement this interface.

type SourceRepositoryInterface

type SourceRepositoryInterface interface {
	Create(ctx context.Context, sourceRepository *v1.SourceRepository, opts metav1.CreateOptions) (*v1.SourceRepository, error)
	Update(ctx context.Context, sourceRepository *v1.SourceRepository, opts metav1.UpdateOptions) (*v1.SourceRepository, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.SourceRepository, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SourceRepositoryList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SourceRepository, err error)
	SourceRepositoryExpansion
}

SourceRepositoryInterface has methods to work with SourceRepository resources.

type TeamExpansion

type TeamExpansion interface{}

type TeamInterface

type TeamInterface interface {
	Create(ctx context.Context, team *v1.Team, opts metav1.CreateOptions) (*v1.Team, error)
	Update(ctx context.Context, team *v1.Team, opts metav1.UpdateOptions) (*v1.Team, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Team, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.TeamList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Team, err error)
	TeamExpansion
}

TeamInterface has methods to work with Team resources.

type TeamsGetter

type TeamsGetter interface {
	Teams(namespace string) TeamInterface
}

TeamsGetter has a method to return a TeamInterface. A group's client should implement this interface.

type UserExpansion

type UserExpansion interface{}

type UserInterface

type UserInterface interface {
	Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (*v1.User, error)
	Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (*v1.User, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.User, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.UserList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.User, err error)
	UserExpansion
}

UserInterface has methods to work with User resources.

type UsersGetter

type UsersGetter interface {
	Users(namespace string) UserInterface
}

UsersGetter has a method to return a UserInterface. 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