v1beta1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 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 InstancetypeV1beta1Client

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

InstancetypeV1beta1Client is used to interact with features provided by the instancetype.kubevirt.io group.

func New

New creates a new InstancetypeV1beta1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*InstancetypeV1beta1Client) RESTClient

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

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

func (*InstancetypeV1beta1Client) VirtualMachineClusterInstancetypes

func (c *InstancetypeV1beta1Client) VirtualMachineClusterInstancetypes() VirtualMachineClusterInstancetypeInterface

func (*InstancetypeV1beta1Client) VirtualMachineClusterPreferences

func (c *InstancetypeV1beta1Client) VirtualMachineClusterPreferences() VirtualMachineClusterPreferenceInterface

func (*InstancetypeV1beta1Client) VirtualMachineInstancetypes

func (c *InstancetypeV1beta1Client) VirtualMachineInstancetypes(namespace string) VirtualMachineInstancetypeInterface

func (*InstancetypeV1beta1Client) VirtualMachinePreferences

func (c *InstancetypeV1beta1Client) VirtualMachinePreferences(namespace string) VirtualMachinePreferenceInterface

type VirtualMachineClusterInstancetypeExpansion

type VirtualMachineClusterInstancetypeExpansion interface{}

type VirtualMachineClusterInstancetypeInterface

VirtualMachineClusterInstancetypeInterface has methods to work with VirtualMachineClusterInstancetype resources.

type VirtualMachineClusterInstancetypesGetter

type VirtualMachineClusterInstancetypesGetter interface {
	VirtualMachineClusterInstancetypes() VirtualMachineClusterInstancetypeInterface
}

VirtualMachineClusterInstancetypesGetter has a method to return a VirtualMachineClusterInstancetypeInterface. A group's client should implement this interface.

type VirtualMachineClusterPreferenceExpansion

type VirtualMachineClusterPreferenceExpansion interface{}

type VirtualMachineClusterPreferenceInterface

type VirtualMachineClusterPreferenceInterface interface {
	Create(ctx context.Context, virtualMachineClusterPreference *v1beta1.VirtualMachineClusterPreference, opts v1.CreateOptions) (*v1beta1.VirtualMachineClusterPreference, error)
	Update(ctx context.Context, virtualMachineClusterPreference *v1beta1.VirtualMachineClusterPreference, opts v1.UpdateOptions) (*v1beta1.VirtualMachineClusterPreference, 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) (*v1beta1.VirtualMachineClusterPreference, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineClusterPreferenceList, 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 *v1beta1.VirtualMachineClusterPreference, err error)
	VirtualMachineClusterPreferenceExpansion
}

VirtualMachineClusterPreferenceInterface has methods to work with VirtualMachineClusterPreference resources.

type VirtualMachineClusterPreferencesGetter

type VirtualMachineClusterPreferencesGetter interface {
	VirtualMachineClusterPreferences() VirtualMachineClusterPreferenceInterface
}

VirtualMachineClusterPreferencesGetter has a method to return a VirtualMachineClusterPreferenceInterface. A group's client should implement this interface.

type VirtualMachineInstancetypeExpansion

type VirtualMachineInstancetypeExpansion interface{}

type VirtualMachineInstancetypeInterface

type VirtualMachineInstancetypeInterface interface {
	Create(ctx context.Context, virtualMachineInstancetype *v1beta1.VirtualMachineInstancetype, opts v1.CreateOptions) (*v1beta1.VirtualMachineInstancetype, error)
	Update(ctx context.Context, virtualMachineInstancetype *v1beta1.VirtualMachineInstancetype, opts v1.UpdateOptions) (*v1beta1.VirtualMachineInstancetype, 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) (*v1beta1.VirtualMachineInstancetype, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineInstancetypeList, 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 *v1beta1.VirtualMachineInstancetype, err error)
	VirtualMachineInstancetypeExpansion
}

VirtualMachineInstancetypeInterface has methods to work with VirtualMachineInstancetype resources.

type VirtualMachineInstancetypesGetter

type VirtualMachineInstancetypesGetter interface {
	VirtualMachineInstancetypes(namespace string) VirtualMachineInstancetypeInterface
}

VirtualMachineInstancetypesGetter has a method to return a VirtualMachineInstancetypeInterface. A group's client should implement this interface.

type VirtualMachinePreferenceExpansion

type VirtualMachinePreferenceExpansion interface{}

type VirtualMachinePreferenceInterface

type VirtualMachinePreferenceInterface interface {
	Create(ctx context.Context, virtualMachinePreference *v1beta1.VirtualMachinePreference, opts v1.CreateOptions) (*v1beta1.VirtualMachinePreference, error)
	Update(ctx context.Context, virtualMachinePreference *v1beta1.VirtualMachinePreference, opts v1.UpdateOptions) (*v1beta1.VirtualMachinePreference, 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) (*v1beta1.VirtualMachinePreference, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachinePreferenceList, 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 *v1beta1.VirtualMachinePreference, err error)
	VirtualMachinePreferenceExpansion
}

VirtualMachinePreferenceInterface has methods to work with VirtualMachinePreference resources.

type VirtualMachinePreferencesGetter

type VirtualMachinePreferencesGetter interface {
	VirtualMachinePreferences(namespace string) VirtualMachinePreferenceInterface
}

VirtualMachinePreferencesGetter has a method to return a VirtualMachinePreferenceInterface. 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