v1

package
v3.4.8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MPL-2.0 Imports: 9 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 ChartInfoExpansion

type ChartInfoExpansion interface{}

type ChartInfoInterface

type ChartInfoInterface interface {
	Create(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.CreateOptions) (*v1.ChartInfo, error)
	Update(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.UpdateOptions) (*v1.ChartInfo, error)
	UpdateStatus(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.UpdateOptions) (*v1.ChartInfo, 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.ChartInfo, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ChartInfoList, 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.ChartInfo, err error)
	ChartInfoExpansion
}

ChartInfoInterface has methods to work with ChartInfo resources.

type ChartInfosGetter

type ChartInfosGetter interface {
	ChartInfos() ChartInfoInterface
}

ChartInfosGetter has a method to return a ChartInfoInterface. A group's client should implement this interface.

type ClusterQuotaExpansion

type ClusterQuotaExpansion interface{}

type ClusterQuotaInterface

type ClusterQuotaInterface interface {
	Create(ctx context.Context, clusterQuota *v1.ClusterQuota, opts metav1.CreateOptions) (*v1.ClusterQuota, error)
	Update(ctx context.Context, clusterQuota *v1.ClusterQuota, opts metav1.UpdateOptions) (*v1.ClusterQuota, error)
	UpdateStatus(ctx context.Context, clusterQuota *v1.ClusterQuota, opts metav1.UpdateOptions) (*v1.ClusterQuota, 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.ClusterQuota, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterQuotaList, 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.ClusterQuota, err error)
	ClusterQuotaExpansion
}

ClusterQuotaInterface has methods to work with ClusterQuota resources.

type ClusterQuotasGetter

type ClusterQuotasGetter interface {
	ClusterQuotas() ClusterQuotaInterface
}

ClusterQuotasGetter has a method to return a ClusterQuotaInterface. A group's client should implement this interface.

type ClusterV1Client

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

ClusterV1Client is used to interact with features provided by the cluster.loft.sh group.

func New

New creates a new ClusterV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient

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

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

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

func (*ClusterV1Client) ChartInfos

func (c *ClusterV1Client) ChartInfos() ChartInfoInterface

func (*ClusterV1Client) ClusterQuotas

func (c *ClusterV1Client) ClusterQuotas() ClusterQuotaInterface

func (*ClusterV1Client) Features

func (c *ClusterV1Client) Features() FeatureInterface

func (*ClusterV1Client) HelmReleases

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

func (*ClusterV1Client) LocalClusterAccesses

func (c *ClusterV1Client) LocalClusterAccesses() LocalClusterAccessInterface

func (*ClusterV1Client) RESTClient

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

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

func (*ClusterV1Client) SleepModeConfigs

func (c *ClusterV1Client) SleepModeConfigs(namespace string) SleepModeConfigInterface

func (*ClusterV1Client) Spaces

func (c *ClusterV1Client) Spaces() SpaceInterface

func (*ClusterV1Client) VirtualClusters

func (c *ClusterV1Client) VirtualClusters(namespace string) VirtualClusterInterface

type FeatureExpansion

type FeatureExpansion interface{}

type FeatureInterface

type FeatureInterface interface {
	Create(ctx context.Context, feature *v1.Feature, opts metav1.CreateOptions) (*v1.Feature, error)
	Update(ctx context.Context, feature *v1.Feature, opts metav1.UpdateOptions) (*v1.Feature, error)
	UpdateStatus(ctx context.Context, feature *v1.Feature, opts metav1.UpdateOptions) (*v1.Feature, 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.Feature, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.FeatureList, 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.Feature, err error)
	FeatureExpansion
}

FeatureInterface has methods to work with Feature resources.

type FeaturesGetter

type FeaturesGetter interface {
	Features() FeatureInterface
}

FeaturesGetter has a method to return a FeatureInterface. A group's client should implement this interface.

type HelmReleaseExpansion

type HelmReleaseExpansion interface{}

type HelmReleaseInterface

type HelmReleaseInterface interface {
	Create(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.CreateOptions) (*v1.HelmRelease, error)
	Update(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.UpdateOptions) (*v1.HelmRelease, error)
	UpdateStatus(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.UpdateOptions) (*v1.HelmRelease, 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.HelmRelease, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.HelmReleaseList, 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.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 LocalClusterAccessExpansion

type LocalClusterAccessExpansion interface{}

type LocalClusterAccessInterface

type LocalClusterAccessInterface interface {
	Create(ctx context.Context, localClusterAccess *v1.LocalClusterAccess, opts metav1.CreateOptions) (*v1.LocalClusterAccess, error)
	Update(ctx context.Context, localClusterAccess *v1.LocalClusterAccess, opts metav1.UpdateOptions) (*v1.LocalClusterAccess, error)
	UpdateStatus(ctx context.Context, localClusterAccess *v1.LocalClusterAccess, opts metav1.UpdateOptions) (*v1.LocalClusterAccess, 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.LocalClusterAccess, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.LocalClusterAccessList, 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.LocalClusterAccess, err error)
	LocalClusterAccessExpansion
}

LocalClusterAccessInterface has methods to work with LocalClusterAccess resources.

type LocalClusterAccessesGetter

type LocalClusterAccessesGetter interface {
	LocalClusterAccesses() LocalClusterAccessInterface
}

LocalClusterAccessesGetter has a method to return a LocalClusterAccessInterface. A group's client should implement this interface.

type SleepModeConfigExpansion

type SleepModeConfigExpansion interface{}

type SleepModeConfigInterface

type SleepModeConfigInterface interface {
	Create(ctx context.Context, sleepModeConfig *v1.SleepModeConfig, opts metav1.CreateOptions) (*v1.SleepModeConfig, error)
	Update(ctx context.Context, sleepModeConfig *v1.SleepModeConfig, opts metav1.UpdateOptions) (*v1.SleepModeConfig, error)
	UpdateStatus(ctx context.Context, sleepModeConfig *v1.SleepModeConfig, opts metav1.UpdateOptions) (*v1.SleepModeConfig, 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.SleepModeConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SleepModeConfigList, 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.SleepModeConfig, err error)
	SleepModeConfigExpansion
}

SleepModeConfigInterface has methods to work with SleepModeConfig resources.

type SleepModeConfigsGetter

type SleepModeConfigsGetter interface {
	SleepModeConfigs(namespace string) SleepModeConfigInterface
}

SleepModeConfigsGetter has a method to return a SleepModeConfigInterface. A group's client should implement this interface.

type SpaceExpansion

type SpaceExpansion interface{}

type SpaceInterface

type SpaceInterface interface {
	Create(ctx context.Context, space *v1.Space, opts metav1.CreateOptions) (*v1.Space, error)
	Update(ctx context.Context, space *v1.Space, opts metav1.UpdateOptions) (*v1.Space, error)
	UpdateStatus(ctx context.Context, space *v1.Space, opts metav1.UpdateOptions) (*v1.Space, 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.Space, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SpaceList, 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.Space, err error)
	SpaceExpansion
}

SpaceInterface has methods to work with Space resources.

type SpacesGetter

type SpacesGetter interface {
	Spaces() SpaceInterface
}

SpacesGetter has a method to return a SpaceInterface. A group's client should implement this interface.

type VirtualClusterExpansion

type VirtualClusterExpansion interface{}

type VirtualClusterInterface

type VirtualClusterInterface interface {
	Create(ctx context.Context, virtualCluster *v1.VirtualCluster, opts metav1.CreateOptions) (*v1.VirtualCluster, error)
	Update(ctx context.Context, virtualCluster *v1.VirtualCluster, opts metav1.UpdateOptions) (*v1.VirtualCluster, error)
	UpdateStatus(ctx context.Context, virtualCluster *v1.VirtualCluster, opts metav1.UpdateOptions) (*v1.VirtualCluster, 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.VirtualCluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualClusterList, 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.VirtualCluster, err error)
	VirtualClusterExpansion
}

VirtualClusterInterface has methods to work with VirtualCluster resources.

type VirtualClustersGetter

type VirtualClustersGetter interface {
	VirtualClusters(namespace string) VirtualClusterInterface
}

VirtualClustersGetter has a method to return a VirtualClusterInterface. 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