v1alpha1

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 12 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 AppsV1alpha1Client

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

AppsV1alpha1Client is used to interact with features provided by the apps.clusternet.io group.

func New

New creates a new AppsV1alpha1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v0.8.0

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

NewForConfigAndClient creates a new AppsV1alpha1Client 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) *AppsV1alpha1Client

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

func (*AppsV1alpha1Client) Bases added in v0.3.0

func (c *AppsV1alpha1Client) Bases(namespace string) BaseInterface

func (*AppsV1alpha1Client) Descriptions

func (c *AppsV1alpha1Client) Descriptions(namespace string) DescriptionInterface

func (*AppsV1alpha1Client) FeedInventories added in v0.9.0

func (c *AppsV1alpha1Client) FeedInventories(namespace string) FeedInventoryInterface

func (*AppsV1alpha1Client) Globalizations added in v0.3.0

func (c *AppsV1alpha1Client) Globalizations() GlobalizationInterface

func (*AppsV1alpha1Client) HelmCharts

func (c *AppsV1alpha1Client) HelmCharts(namespace string) HelmChartInterface

func (*AppsV1alpha1Client) HelmReleases

func (c *AppsV1alpha1Client) HelmReleases(namespace string) HelmReleaseInterface

func (*AppsV1alpha1Client) Localizations added in v0.3.0

func (c *AppsV1alpha1Client) Localizations(namespace string) LocalizationInterface

func (*AppsV1alpha1Client) Manifests added in v0.3.0

func (c *AppsV1alpha1Client) Manifests(namespace string) ManifestInterface

func (*AppsV1alpha1Client) RESTClient

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

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

func (*AppsV1alpha1Client) Subscriptions

func (c *AppsV1alpha1Client) Subscriptions(namespace string) SubscriptionInterface

type BaseExpansion added in v0.3.0

type BaseExpansion interface{}

type BaseInterface added in v0.3.0

type BaseInterface interface {
	Create(ctx context.Context, base *v1alpha1.Base, opts v1.CreateOptions) (*v1alpha1.Base, error)
	Update(ctx context.Context, base *v1alpha1.Base, opts v1.UpdateOptions) (*v1alpha1.Base, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Base, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BaseList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Base, err error)
	Apply(ctx context.Context, base *appsv1alpha1.BaseApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Base, err error)
	BaseExpansion
}

BaseInterface has methods to work with Base resources.

type BasesGetter added in v0.3.0

type BasesGetter interface {
	Bases(namespace string) BaseInterface
}

BasesGetter has a method to return a BaseInterface. A group's client should implement this interface.

type DescriptionExpansion

type DescriptionExpansion interface{}

type DescriptionInterface

type DescriptionInterface interface {
	Create(ctx context.Context, description *v1alpha1.Description, opts v1.CreateOptions) (*v1alpha1.Description, error)
	Update(ctx context.Context, description *v1alpha1.Description, opts v1.UpdateOptions) (*v1alpha1.Description, error)
	UpdateStatus(ctx context.Context, description *v1alpha1.Description, opts v1.UpdateOptions) (*v1alpha1.Description, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Description, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DescriptionList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Description, err error)
	Apply(ctx context.Context, description *appsv1alpha1.DescriptionApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Description, err error)
	ApplyStatus(ctx context.Context, description *appsv1alpha1.DescriptionApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Description, err error)
	DescriptionExpansion
}

DescriptionInterface has methods to work with Description resources.

type DescriptionsGetter

type DescriptionsGetter interface {
	Descriptions(namespace string) DescriptionInterface
}

DescriptionsGetter has a method to return a DescriptionInterface. A group's client should implement this interface.

type FeedInventoriesGetter added in v0.9.0

type FeedInventoriesGetter interface {
	FeedInventories(namespace string) FeedInventoryInterface
}

FeedInventoriesGetter has a method to return a FeedInventoryInterface. A group's client should implement this interface.

type FeedInventoryExpansion added in v0.9.0

type FeedInventoryExpansion interface{}

type FeedInventoryInterface added in v0.9.0

type FeedInventoryInterface interface {
	Create(ctx context.Context, feedInventory *v1alpha1.FeedInventory, opts v1.CreateOptions) (*v1alpha1.FeedInventory, error)
	Update(ctx context.Context, feedInventory *v1alpha1.FeedInventory, opts v1.UpdateOptions) (*v1alpha1.FeedInventory, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.FeedInventory, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.FeedInventoryList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FeedInventory, err error)
	Apply(ctx context.Context, feedInventory *appsv1alpha1.FeedInventoryApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.FeedInventory, err error)
	FeedInventoryExpansion
}

FeedInventoryInterface has methods to work with FeedInventory resources.

type GlobalizationExpansion added in v0.3.0

type GlobalizationExpansion interface{}

type GlobalizationInterface added in v0.3.0

type GlobalizationInterface interface {
	Create(ctx context.Context, globalization *v1alpha1.Globalization, opts v1.CreateOptions) (*v1alpha1.Globalization, error)
	Update(ctx context.Context, globalization *v1alpha1.Globalization, opts v1.UpdateOptions) (*v1alpha1.Globalization, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Globalization, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.GlobalizationList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Globalization, err error)
	Apply(ctx context.Context, globalization *appsv1alpha1.GlobalizationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Globalization, err error)
	GlobalizationExpansion
}

GlobalizationInterface has methods to work with Globalization resources.

type GlobalizationsGetter added in v0.3.0

type GlobalizationsGetter interface {
	Globalizations() GlobalizationInterface
}

GlobalizationsGetter has a method to return a GlobalizationInterface. A group's client should implement this interface.

type HelmChartExpansion

type HelmChartExpansion interface{}

type HelmChartInterface

type HelmChartInterface interface {
	Create(ctx context.Context, helmChart *v1alpha1.HelmChart, opts v1.CreateOptions) (*v1alpha1.HelmChart, error)
	Update(ctx context.Context, helmChart *v1alpha1.HelmChart, opts v1.UpdateOptions) (*v1alpha1.HelmChart, error)
	UpdateStatus(ctx context.Context, helmChart *v1alpha1.HelmChart, opts v1.UpdateOptions) (*v1alpha1.HelmChart, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.HelmChart, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HelmChartList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmChart, err error)
	Apply(ctx context.Context, helmChart *appsv1alpha1.HelmChartApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.HelmChart, err error)
	ApplyStatus(ctx context.Context, helmChart *appsv1alpha1.HelmChartApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.HelmChart, err error)
	HelmChartExpansion
}

HelmChartInterface has methods to work with HelmChart resources.

type HelmChartsGetter

type HelmChartsGetter interface {
	HelmCharts(namespace string) HelmChartInterface
}

HelmChartsGetter has a method to return a HelmChartInterface. A group's client should implement this interface.

type HelmReleaseExpansion

type HelmReleaseExpansion interface{}

type HelmReleaseInterface

type HelmReleaseInterface interface {
	Create(ctx context.Context, helmRelease *v1alpha1.HelmRelease, opts v1.CreateOptions) (*v1alpha1.HelmRelease, error)
	Update(ctx context.Context, helmRelease *v1alpha1.HelmRelease, opts v1.UpdateOptions) (*v1alpha1.HelmRelease, error)
	UpdateStatus(ctx context.Context, helmRelease *v1alpha1.HelmRelease, opts v1.UpdateOptions) (*v1alpha1.HelmRelease, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.HelmRelease, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HelmReleaseList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmRelease, err error)
	Apply(ctx context.Context, helmRelease *appsv1alpha1.HelmReleaseApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.HelmRelease, err error)
	ApplyStatus(ctx context.Context, helmRelease *appsv1alpha1.HelmReleaseApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.HelmRelease, err error)
	HelmReleaseExpansion
}

HelmReleaseInterface has methods to work with HelmRelease resources.

type HelmReleasesGetter

type HelmReleasesGetter interface {
	HelmReleases(namespace string) HelmReleaseInterface
}

HelmReleasesGetter has a method to return a HelmReleaseInterface. A group's client should implement this interface.

type LocalizationExpansion added in v0.3.0

type LocalizationExpansion interface{}

type LocalizationInterface added in v0.3.0

type LocalizationInterface interface {
	Create(ctx context.Context, localization *v1alpha1.Localization, opts v1.CreateOptions) (*v1alpha1.Localization, error)
	Update(ctx context.Context, localization *v1alpha1.Localization, opts v1.UpdateOptions) (*v1alpha1.Localization, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Localization, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LocalizationList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Localization, err error)
	Apply(ctx context.Context, localization *appsv1alpha1.LocalizationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Localization, err error)
	LocalizationExpansion
}

LocalizationInterface has methods to work with Localization resources.

type LocalizationsGetter added in v0.3.0

type LocalizationsGetter interface {
	Localizations(namespace string) LocalizationInterface
}

LocalizationsGetter has a method to return a LocalizationInterface. A group's client should implement this interface.

type ManifestExpansion added in v0.3.0

type ManifestExpansion interface{}

type ManifestInterface added in v0.3.0

type ManifestInterface interface {
	Create(ctx context.Context, manifest *v1alpha1.Manifest, opts v1.CreateOptions) (*v1alpha1.Manifest, error)
	Update(ctx context.Context, manifest *v1alpha1.Manifest, opts v1.UpdateOptions) (*v1alpha1.Manifest, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Manifest, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ManifestList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Manifest, err error)
	Apply(ctx context.Context, manifest *appsv1alpha1.ManifestApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Manifest, err error)
	ManifestExpansion
}

ManifestInterface has methods to work with Manifest resources.

type ManifestsGetter added in v0.3.0

type ManifestsGetter interface {
	Manifests(namespace string) ManifestInterface
}

ManifestsGetter has a method to return a ManifestInterface. A group's client should implement this interface.

type SubscriptionExpansion

type SubscriptionExpansion interface{}

type SubscriptionInterface

type SubscriptionInterface interface {
	Create(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.CreateOptions) (*v1alpha1.Subscription, error)
	Update(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, error)
	UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Subscription, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SubscriptionList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Subscription, err error)
	Apply(ctx context.Context, subscription *appsv1alpha1.SubscriptionApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Subscription, err error)
	ApplyStatus(ctx context.Context, subscription *appsv1alpha1.SubscriptionApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Subscription, err error)
	SubscriptionExpansion
}

SubscriptionInterface has methods to work with Subscription resources.

type SubscriptionsGetter

type SubscriptionsGetter interface {
	Subscriptions(namespace string) SubscriptionInterface
}

SubscriptionsGetter has a method to return a SubscriptionInterface. 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