v1alpha4

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 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 AggregateExpansion

type AggregateExpansion interface{}

type AggregateInterface

type AggregateInterface interface {
	Create(ctx context.Context, aggregate *v1alpha4.Aggregate, opts v1.CreateOptions) (*v1alpha4.Aggregate, error)
	Update(ctx context.Context, aggregate *v1alpha4.Aggregate, opts v1.UpdateOptions) (*v1alpha4.Aggregate, error)
	UpdateStatus(ctx context.Context, aggregate *v1alpha4.Aggregate, opts v1.UpdateOptions) (*v1alpha4.Aggregate, 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) (*v1alpha4.Aggregate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.AggregateList, 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 *v1alpha4.Aggregate, err error)
	Apply(ctx context.Context, aggregate *metalv1alpha4.AggregateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Aggregate, err error)
	ApplyStatus(ctx context.Context, aggregate *metalv1alpha4.AggregateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Aggregate, err error)
	AggregateExpansion
}

AggregateInterface has methods to work with Aggregate resources.

type AggregatesGetter

type AggregatesGetter interface {
	Aggregates(namespace string) AggregateInterface
}

AggregatesGetter has a method to return a AggregateInterface. A group's client should implement this interface.

type BenchmarkExpansion

type BenchmarkExpansion interface{}

type BenchmarkInterface

type BenchmarkInterface interface {
	Create(ctx context.Context, benchmark *v1alpha4.Benchmark, opts v1.CreateOptions) (*v1alpha4.Benchmark, error)
	Update(ctx context.Context, benchmark *v1alpha4.Benchmark, opts v1.UpdateOptions) (*v1alpha4.Benchmark, error)
	UpdateStatus(ctx context.Context, benchmark *v1alpha4.Benchmark, opts v1.UpdateOptions) (*v1alpha4.Benchmark, 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) (*v1alpha4.Benchmark, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.BenchmarkList, 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 *v1alpha4.Benchmark, err error)
	Apply(ctx context.Context, benchmark *metalv1alpha4.BenchmarkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Benchmark, err error)
	ApplyStatus(ctx context.Context, benchmark *metalv1alpha4.BenchmarkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Benchmark, err error)
	BenchmarkExpansion
}

BenchmarkInterface has methods to work with Benchmark resources.

type BenchmarksGetter

type BenchmarksGetter interface {
	Benchmarks(namespace string) BenchmarkInterface
}

BenchmarksGetter has a method to return a BenchmarkInterface. A group's client should implement this interface.

type InventoriesGetter

type InventoriesGetter interface {
	Inventories(namespace string) InventoryInterface
}

InventoriesGetter has a method to return a InventoryInterface. A group's client should implement this interface.

type InventoryExpansion

type InventoryExpansion interface{}

type InventoryInterface

type InventoryInterface interface {
	Create(ctx context.Context, inventory *v1alpha4.Inventory, opts v1.CreateOptions) (*v1alpha4.Inventory, error)
	Update(ctx context.Context, inventory *v1alpha4.Inventory, opts v1.UpdateOptions) (*v1alpha4.Inventory, error)
	UpdateStatus(ctx context.Context, inventory *v1alpha4.Inventory, opts v1.UpdateOptions) (*v1alpha4.Inventory, 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) (*v1alpha4.Inventory, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.InventoryList, 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 *v1alpha4.Inventory, err error)
	Apply(ctx context.Context, inventory *metalv1alpha4.InventoryApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Inventory, err error)
	ApplyStatus(ctx context.Context, inventory *metalv1alpha4.InventoryApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Inventory, err error)
	InventoryExpansion
}

InventoryInterface has methods to work with Inventory resources.

type MachineExpansion

type MachineExpansion interface{}

type MachineInterface

type MachineInterface interface {
	Create(ctx context.Context, machine *v1alpha4.Machine, opts v1.CreateOptions) (*v1alpha4.Machine, error)
	Update(ctx context.Context, machine *v1alpha4.Machine, opts v1.UpdateOptions) (*v1alpha4.Machine, error)
	UpdateStatus(ctx context.Context, machine *v1alpha4.Machine, opts v1.UpdateOptions) (*v1alpha4.Machine, 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) (*v1alpha4.Machine, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.MachineList, 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 *v1alpha4.Machine, err error)
	Apply(ctx context.Context, machine *metalv1alpha4.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Machine, err error)
	ApplyStatus(ctx context.Context, machine *metalv1alpha4.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Machine, err error)
	MachineExpansion
}

MachineInterface has methods to work with Machine resources.

type MachinesGetter

type MachinesGetter interface {
	Machines(namespace string) MachineInterface
}

MachinesGetter has a method to return a MachineInterface. A group's client should implement this interface.

type MetalV1alpha4Client

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

MetalV1alpha4Client is used to interact with features provided by the metal.ironcore.dev group.

func New

New creates a new MetalV1alpha4Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*MetalV1alpha4Client) Aggregates

func (c *MetalV1alpha4Client) Aggregates(namespace string) AggregateInterface

func (*MetalV1alpha4Client) Benchmarks

func (c *MetalV1alpha4Client) Benchmarks(namespace string) BenchmarkInterface

func (*MetalV1alpha4Client) Inventories

func (c *MetalV1alpha4Client) Inventories(namespace string) InventoryInterface

func (*MetalV1alpha4Client) Machines

func (c *MetalV1alpha4Client) Machines(namespace string) MachineInterface

func (*MetalV1alpha4Client) NetworkSwitches

func (c *MetalV1alpha4Client) NetworkSwitches(namespace string) NetworkSwitchInterface

func (*MetalV1alpha4Client) RESTClient

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

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

func (*MetalV1alpha4Client) Sizes

func (c *MetalV1alpha4Client) Sizes(namespace string) SizeInterface

func (*MetalV1alpha4Client) SwitchConfigs

func (c *MetalV1alpha4Client) SwitchConfigs(namespace string) SwitchConfigInterface

type NetworkSwitchExpansion

type NetworkSwitchExpansion interface{}

type NetworkSwitchInterface

type NetworkSwitchInterface interface {
	Create(ctx context.Context, networkSwitch *v1alpha4.NetworkSwitch, opts v1.CreateOptions) (*v1alpha4.NetworkSwitch, error)
	Update(ctx context.Context, networkSwitch *v1alpha4.NetworkSwitch, opts v1.UpdateOptions) (*v1alpha4.NetworkSwitch, error)
	UpdateStatus(ctx context.Context, networkSwitch *v1alpha4.NetworkSwitch, opts v1.UpdateOptions) (*v1alpha4.NetworkSwitch, 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) (*v1alpha4.NetworkSwitch, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.NetworkSwitchList, 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 *v1alpha4.NetworkSwitch, err error)
	Apply(ctx context.Context, networkSwitch *metalv1alpha4.NetworkSwitchApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.NetworkSwitch, err error)
	ApplyStatus(ctx context.Context, networkSwitch *metalv1alpha4.NetworkSwitchApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.NetworkSwitch, err error)
	NetworkSwitchExpansion
}

NetworkSwitchInterface has methods to work with NetworkSwitch resources.

type NetworkSwitchesGetter

type NetworkSwitchesGetter interface {
	NetworkSwitches(namespace string) NetworkSwitchInterface
}

NetworkSwitchesGetter has a method to return a NetworkSwitchInterface. A group's client should implement this interface.

type SizeExpansion

type SizeExpansion interface{}

type SizeInterface

type SizeInterface interface {
	Create(ctx context.Context, size *v1alpha4.Size, opts v1.CreateOptions) (*v1alpha4.Size, error)
	Update(ctx context.Context, size *v1alpha4.Size, opts v1.UpdateOptions) (*v1alpha4.Size, error)
	UpdateStatus(ctx context.Context, size *v1alpha4.Size, opts v1.UpdateOptions) (*v1alpha4.Size, 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) (*v1alpha4.Size, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.SizeList, 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 *v1alpha4.Size, err error)
	Apply(ctx context.Context, size *metalv1alpha4.SizeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Size, err error)
	ApplyStatus(ctx context.Context, size *metalv1alpha4.SizeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.Size, err error)
	SizeExpansion
}

SizeInterface has methods to work with Size resources.

type SizesGetter

type SizesGetter interface {
	Sizes(namespace string) SizeInterface
}

SizesGetter has a method to return a SizeInterface. A group's client should implement this interface.

type SwitchConfigExpansion

type SwitchConfigExpansion interface{}

type SwitchConfigInterface

type SwitchConfigInterface interface {
	Create(ctx context.Context, switchConfig *v1alpha4.SwitchConfig, opts v1.CreateOptions) (*v1alpha4.SwitchConfig, error)
	Update(ctx context.Context, switchConfig *v1alpha4.SwitchConfig, opts v1.UpdateOptions) (*v1alpha4.SwitchConfig, error)
	UpdateStatus(ctx context.Context, switchConfig *v1alpha4.SwitchConfig, opts v1.UpdateOptions) (*v1alpha4.SwitchConfig, 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) (*v1alpha4.SwitchConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha4.SwitchConfigList, 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 *v1alpha4.SwitchConfig, err error)
	Apply(ctx context.Context, switchConfig *metalv1alpha4.SwitchConfigApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.SwitchConfig, err error)
	ApplyStatus(ctx context.Context, switchConfig *metalv1alpha4.SwitchConfigApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha4.SwitchConfig, err error)
	SwitchConfigExpansion
}

SwitchConfigInterface has methods to work with SwitchConfig resources.

type SwitchConfigsGetter

type SwitchConfigsGetter interface {
	SwitchConfigs(namespace string) SwitchConfigInterface
}

SwitchConfigsGetter has a method to return a SwitchConfigInterface. 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