v1

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 13 Imported by: 6

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 BuildExpansion

type BuildExpansion interface{}

type BuildInterface

type BuildInterface interface {
	Create(ctx context.Context, build *v1.Build, opts metav1.CreateOptions) (*v1.Build, error)
	Update(ctx context.Context, build *v1.Build, opts metav1.UpdateOptions) (*v1.Build, error)
	UpdateStatus(ctx context.Context, build *v1.Build, opts metav1.UpdateOptions) (*v1.Build, 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.Build, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BuildList, 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.Build, err error)
	Apply(ctx context.Context, build *camelv1.BuildApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Build, err error)
	ApplyStatus(ctx context.Context, build *camelv1.BuildApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Build, err error)
	BuildExpansion
}

BuildInterface has methods to work with Build resources.

type BuildsGetter

type BuildsGetter interface {
	Builds(namespace string) BuildInterface
}

BuildsGetter has a method to return a BuildInterface. A group's client should implement this interface.

type CamelCatalogExpansion

type CamelCatalogExpansion interface{}

type CamelCatalogInterface

type CamelCatalogInterface interface {
	Create(ctx context.Context, camelCatalog *v1.CamelCatalog, opts metav1.CreateOptions) (*v1.CamelCatalog, error)
	Update(ctx context.Context, camelCatalog *v1.CamelCatalog, opts metav1.UpdateOptions) (*v1.CamelCatalog, error)
	UpdateStatus(ctx context.Context, camelCatalog *v1.CamelCatalog, opts metav1.UpdateOptions) (*v1.CamelCatalog, 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.CamelCatalog, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CamelCatalogList, 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.CamelCatalog, err error)
	Apply(ctx context.Context, camelCatalog *camelv1.CamelCatalogApplyConfiguration, opts metav1.ApplyOptions) (result *v1.CamelCatalog, err error)
	ApplyStatus(ctx context.Context, camelCatalog *camelv1.CamelCatalogApplyConfiguration, opts metav1.ApplyOptions) (result *v1.CamelCatalog, err error)
	CamelCatalogExpansion
}

CamelCatalogInterface has methods to work with CamelCatalog resources.

type CamelCatalogsGetter

type CamelCatalogsGetter interface {
	CamelCatalogs(namespace string) CamelCatalogInterface
}

CamelCatalogsGetter has a method to return a CamelCatalogInterface. A group's client should implement this interface.

type CamelV1Client

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

CamelV1Client is used to interact with features provided by the camel.apache.org group.

func New

New creates a new CamelV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CamelV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v1.10.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*CamelV1Client, error)

NewForConfigAndClient creates a new CamelV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CamelV1Client

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

func (*CamelV1Client) Builds

func (c *CamelV1Client) Builds(namespace string) BuildInterface

func (*CamelV1Client) CamelCatalogs

func (c *CamelV1Client) CamelCatalogs(namespace string) CamelCatalogInterface

func (*CamelV1Client) IntegrationKits

func (c *CamelV1Client) IntegrationKits(namespace string) IntegrationKitInterface

func (*CamelV1Client) IntegrationPlatforms

func (c *CamelV1Client) IntegrationPlatforms(namespace string) IntegrationPlatformInterface

func (*CamelV1Client) Integrations

func (c *CamelV1Client) Integrations(namespace string) IntegrationInterface

func (*CamelV1Client) RESTClient

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

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

type IntegrationExpansion

type IntegrationExpansion interface{}

type IntegrationInterface

type IntegrationInterface interface {
	Create(ctx context.Context, integration *v1.Integration, opts metav1.CreateOptions) (*v1.Integration, error)
	Update(ctx context.Context, integration *v1.Integration, opts metav1.UpdateOptions) (*v1.Integration, error)
	UpdateStatus(ctx context.Context, integration *v1.Integration, opts metav1.UpdateOptions) (*v1.Integration, 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.Integration, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IntegrationList, 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.Integration, err error)
	Apply(ctx context.Context, integration *camelv1.IntegrationApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Integration, err error)
	ApplyStatus(ctx context.Context, integration *camelv1.IntegrationApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Integration, err error)
	GetScale(ctx context.Context, integrationName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
	UpdateScale(ctx context.Context, integrationName string, scale *autoscalingv1.Scale, opts metav1.UpdateOptions) (*autoscalingv1.Scale, error)

	IntegrationExpansion
}

IntegrationInterface has methods to work with Integration resources.

type IntegrationKitExpansion

type IntegrationKitExpansion interface{}

type IntegrationKitInterface

type IntegrationKitInterface interface {
	Create(ctx context.Context, integrationKit *v1.IntegrationKit, opts metav1.CreateOptions) (*v1.IntegrationKit, error)
	Update(ctx context.Context, integrationKit *v1.IntegrationKit, opts metav1.UpdateOptions) (*v1.IntegrationKit, error)
	UpdateStatus(ctx context.Context, integrationKit *v1.IntegrationKit, opts metav1.UpdateOptions) (*v1.IntegrationKit, 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.IntegrationKit, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IntegrationKitList, 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.IntegrationKit, err error)
	Apply(ctx context.Context, integrationKit *camelv1.IntegrationKitApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IntegrationKit, err error)
	ApplyStatus(ctx context.Context, integrationKit *camelv1.IntegrationKitApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IntegrationKit, err error)
	IntegrationKitExpansion
}

IntegrationKitInterface has methods to work with IntegrationKit resources.

type IntegrationKitsGetter

type IntegrationKitsGetter interface {
	IntegrationKits(namespace string) IntegrationKitInterface
}

IntegrationKitsGetter has a method to return a IntegrationKitInterface. A group's client should implement this interface.

type IntegrationPlatformExpansion

type IntegrationPlatformExpansion interface{}

type IntegrationPlatformInterface

type IntegrationPlatformInterface interface {
	Create(ctx context.Context, integrationPlatform *v1.IntegrationPlatform, opts metav1.CreateOptions) (*v1.IntegrationPlatform, error)
	Update(ctx context.Context, integrationPlatform *v1.IntegrationPlatform, opts metav1.UpdateOptions) (*v1.IntegrationPlatform, error)
	UpdateStatus(ctx context.Context, integrationPlatform *v1.IntegrationPlatform, opts metav1.UpdateOptions) (*v1.IntegrationPlatform, 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.IntegrationPlatform, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IntegrationPlatformList, 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.IntegrationPlatform, err error)
	Apply(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatformApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IntegrationPlatform, err error)
	ApplyStatus(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatformApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IntegrationPlatform, err error)
	IntegrationPlatformExpansion
}

IntegrationPlatformInterface has methods to work with IntegrationPlatform resources.

type IntegrationPlatformsGetter

type IntegrationPlatformsGetter interface {
	IntegrationPlatforms(namespace string) IntegrationPlatformInterface
}

IntegrationPlatformsGetter has a method to return a IntegrationPlatformInterface. A group's client should implement this interface.

type IntegrationsGetter

type IntegrationsGetter interface {
	Integrations(namespace string) IntegrationInterface
}

IntegrationsGetter has a method to return a IntegrationInterface. 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