v1alpha1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-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 CustomizerExpansion

type CustomizerExpansion interface{}

type CustomizerInterface

type CustomizerInterface interface {
	Create(ctx context.Context, customizer *v1alpha1.Customizer, opts v1.CreateOptions) (*v1alpha1.Customizer, error)
	Update(ctx context.Context, customizer *v1alpha1.Customizer, opts v1.UpdateOptions) (*v1alpha1.Customizer, 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.Customizer, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CustomizerList, 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.Customizer, err error)
	CustomizerExpansion
}

CustomizerInterface has methods to work with Customizer resources.

type CustomizersGetter

type CustomizersGetter interface {
	Customizers(namespace string) CustomizerInterface
}

CustomizersGetter has a method to return a CustomizerInterface. A group's client should implement this interface.

type EdgePlacementExpansion

type EdgePlacementExpansion interface{}

type EdgePlacementInterface

type EdgePlacementInterface interface {
	Create(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, opts v1.CreateOptions) (*v1alpha1.EdgePlacement, error)
	Update(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, opts v1.UpdateOptions) (*v1alpha1.EdgePlacement, error)
	UpdateStatus(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, opts v1.UpdateOptions) (*v1alpha1.EdgePlacement, 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.EdgePlacement, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EdgePlacementList, 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.EdgePlacement, err error)
	EdgePlacementExpansion
}

EdgePlacementInterface has methods to work with EdgePlacement resources.

type EdgePlacementsGetter

type EdgePlacementsGetter interface {
	EdgePlacements() EdgePlacementInterface
}

EdgePlacementsGetter has a method to return a EdgePlacementInterface. A group's client should implement this interface.

type EdgeSyncConfigExpansion

type EdgeSyncConfigExpansion interface{}

type EdgeSyncConfigInterface

type EdgeSyncConfigInterface interface {
	Create(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, opts v1.CreateOptions) (*v1alpha1.EdgeSyncConfig, error)
	Update(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, opts v1.UpdateOptions) (*v1alpha1.EdgeSyncConfig, error)
	UpdateStatus(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, opts v1.UpdateOptions) (*v1alpha1.EdgeSyncConfig, 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.EdgeSyncConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EdgeSyncConfigList, 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.EdgeSyncConfig, err error)
	EdgeSyncConfigExpansion
}

EdgeSyncConfigInterface has methods to work with EdgeSyncConfig resources.

type EdgeSyncConfigsGetter

type EdgeSyncConfigsGetter interface {
	EdgeSyncConfigs() EdgeSyncConfigInterface
}

EdgeSyncConfigsGetter has a method to return a EdgeSyncConfigInterface. A group's client should implement this interface.

type EdgeV1alpha1Client

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

EdgeV1alpha1Client is used to interact with features provided by the edge.kcp.io group.

func New

New creates a new EdgeV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new EdgeV1alpha1Client 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) (*EdgeV1alpha1Client, error)

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

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

func (*EdgeV1alpha1Client) Customizers

func (c *EdgeV1alpha1Client) Customizers(namespace string) CustomizerInterface

func (*EdgeV1alpha1Client) EdgePlacements

func (c *EdgeV1alpha1Client) EdgePlacements() EdgePlacementInterface

func (*EdgeV1alpha1Client) EdgeSyncConfigs

func (c *EdgeV1alpha1Client) EdgeSyncConfigs() EdgeSyncConfigInterface

func (*EdgeV1alpha1Client) RESTClient

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

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

func (*EdgeV1alpha1Client) SinglePlacementSlices

func (c *EdgeV1alpha1Client) SinglePlacementSlices() SinglePlacementSliceInterface

func (*EdgeV1alpha1Client) SyncerConfigs

func (c *EdgeV1alpha1Client) SyncerConfigs() SyncerConfigInterface

type SinglePlacementSliceExpansion

type SinglePlacementSliceExpansion interface{}

type SinglePlacementSliceInterface

type SinglePlacementSliceInterface interface {
	Create(ctx context.Context, singlePlacementSlice *v1alpha1.SinglePlacementSlice, opts v1.CreateOptions) (*v1alpha1.SinglePlacementSlice, error)
	Update(ctx context.Context, singlePlacementSlice *v1alpha1.SinglePlacementSlice, opts v1.UpdateOptions) (*v1alpha1.SinglePlacementSlice, 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.SinglePlacementSlice, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SinglePlacementSliceList, 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.SinglePlacementSlice, err error)
	SinglePlacementSliceExpansion
}

SinglePlacementSliceInterface has methods to work with SinglePlacementSlice resources.

type SinglePlacementSlicesGetter

type SinglePlacementSlicesGetter interface {
	SinglePlacementSlices() SinglePlacementSliceInterface
}

SinglePlacementSlicesGetter has a method to return a SinglePlacementSliceInterface. A group's client should implement this interface.

type SyncerConfigExpansion

type SyncerConfigExpansion interface{}

type SyncerConfigInterface

type SyncerConfigInterface interface {
	Create(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, opts v1.CreateOptions) (*v1alpha1.SyncerConfig, error)
	Update(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, opts v1.UpdateOptions) (*v1alpha1.SyncerConfig, error)
	UpdateStatus(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, opts v1.UpdateOptions) (*v1alpha1.SyncerConfig, 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.SyncerConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SyncerConfigList, 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.SyncerConfig, err error)
	SyncerConfigExpansion
}

SyncerConfigInterface has methods to work with SyncerConfig resources.

type SyncerConfigsGetter

type SyncerConfigsGetter interface {
	SyncerConfigs() SyncerConfigInterface
}

SyncerConfigsGetter has a method to return a SyncerConfigInterface. 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