Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type EnvironmentExpansion
- type EnvironmentInterface
- type EnvironmentsGetter
- type JenkinsV1Client
- func (c *JenkinsV1Client) Environments(namespace string) EnvironmentInterface
- func (c *JenkinsV1Client) PipelineActivities(namespace string) PipelineActivityInterface
- func (c *JenkinsV1Client) Plugins(namespace string) PluginInterface
- func (c *JenkinsV1Client) RESTClient() rest.Interface
- func (c *JenkinsV1Client) Releases(namespace string) ReleaseInterface
- func (c *JenkinsV1Client) SourceRepositories(namespace string) SourceRepositoryInterface
- type JenkinsV1Interface
- type PipelineActivitiesGetter
- type PipelineActivityExpansion
- type PipelineActivityInterface
- type PluginExpansion
- type PluginInterface
- type PluginsGetter
- type ReleaseExpansion
- type ReleaseInterface
- type ReleasesGetter
- type SourceRepositoriesGetter
- type SourceRepositoryExpansion
- type SourceRepositoryInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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 JenkinsV1Client ¶
type JenkinsV1Client struct {
// contains filtered or unexported fields
}
JenkinsV1Client is used to interact with features provided by the jenkins.io group.
func New ¶
func New(c rest.Interface) *JenkinsV1Client
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) Environments ¶
func (c *JenkinsV1Client) Environments(namespace string) EnvironmentInterface
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
type JenkinsV1Interface ¶
type JenkinsV1Interface interface { RESTClient() rest.Interface EnvironmentsGetter PipelineActivitiesGetter PluginsGetter ReleasesGetter SourceRepositoriesGetter }
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 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.