Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type IPPoolExpansion
- type IPPoolInterface
- type IPPoolsGetter
- type NeonvmV1Client
- func (c *NeonvmV1Client) IPPools(namespace string) IPPoolInterface
- func (c *NeonvmV1Client) RESTClient() rest.Interface
- func (c *NeonvmV1Client) VirtualMachineMigrations(namespace string) VirtualMachineMigrationInterface
- func (c *NeonvmV1Client) VirtualMachines(namespace string) VirtualMachineInterface
- type NeonvmV1Interface
- type VirtualMachineExpansion
- type VirtualMachineInterface
- type VirtualMachineMigrationExpansion
- type VirtualMachineMigrationInterface
- type VirtualMachineMigrationsGetter
- type VirtualMachinesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPPoolExpansion ¶ added in v0.11.0
type IPPoolExpansion interface{}
type IPPoolInterface ¶ added in v0.11.0
type IPPoolInterface interface { Create(ctx context.Context, iPPool *v1.IPPool, opts metav1.CreateOptions) (*v1.IPPool, error) Update(ctx context.Context, iPPool *v1.IPPool, opts metav1.UpdateOptions) (*v1.IPPool, 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.IPPool, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.IPPoolList, 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.IPPool, err error) IPPoolExpansion }
IPPoolInterface has methods to work with IPPool resources.
type IPPoolsGetter ¶ added in v0.11.0
type IPPoolsGetter interface {
IPPools(namespace string) IPPoolInterface
}
IPPoolsGetter has a method to return a IPPoolInterface. A group's client should implement this interface.
type NeonvmV1Client ¶
type NeonvmV1Client struct {
// contains filtered or unexported fields
}
NeonvmV1Client is used to interact with features provided by the neonvm group.
func New ¶
func New(c rest.Interface) *NeonvmV1Client
New creates a new NeonvmV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*NeonvmV1Client, error)
NewForConfig creates a new NeonvmV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new NeonvmV1Client 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) *NeonvmV1Client
NewForConfigOrDie creates a new NeonvmV1Client for the given config and panics if there is an error in the config.
func (*NeonvmV1Client) IPPools ¶ added in v0.11.0
func (c *NeonvmV1Client) IPPools(namespace string) IPPoolInterface
func (*NeonvmV1Client) RESTClient ¶
func (c *NeonvmV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*NeonvmV1Client) VirtualMachineMigrations ¶
func (c *NeonvmV1Client) VirtualMachineMigrations(namespace string) VirtualMachineMigrationInterface
func (*NeonvmV1Client) VirtualMachines ¶
func (c *NeonvmV1Client) VirtualMachines(namespace string) VirtualMachineInterface
type NeonvmV1Interface ¶
type NeonvmV1Interface interface { RESTClient() rest.Interface IPPoolsGetter VirtualMachinesGetter VirtualMachineMigrationsGetter }
type VirtualMachineExpansion ¶
type VirtualMachineExpansion interface{}
type VirtualMachineInterface ¶
type VirtualMachineInterface interface { Create(ctx context.Context, virtualMachine *v1.VirtualMachine, opts metav1.CreateOptions) (*v1.VirtualMachine, error) Update(ctx context.Context, virtualMachine *v1.VirtualMachine, opts metav1.UpdateOptions) (*v1.VirtualMachine, error) UpdateStatus(ctx context.Context, virtualMachine *v1.VirtualMachine, opts metav1.UpdateOptions) (*v1.VirtualMachine, 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.VirtualMachine, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualMachineList, 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.VirtualMachine, err error) VirtualMachineExpansion }
VirtualMachineInterface has methods to work with VirtualMachine resources.
type VirtualMachineMigrationExpansion ¶
type VirtualMachineMigrationExpansion interface{}
type VirtualMachineMigrationInterface ¶
type VirtualMachineMigrationInterface interface { Create(ctx context.Context, virtualMachineMigration *v1.VirtualMachineMigration, opts metav1.CreateOptions) (*v1.VirtualMachineMigration, error) Update(ctx context.Context, virtualMachineMigration *v1.VirtualMachineMigration, opts metav1.UpdateOptions) (*v1.VirtualMachineMigration, error) UpdateStatus(ctx context.Context, virtualMachineMigration *v1.VirtualMachineMigration, opts metav1.UpdateOptions) (*v1.VirtualMachineMigration, 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.VirtualMachineMigration, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualMachineMigrationList, 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.VirtualMachineMigration, err error) VirtualMachineMigrationExpansion }
VirtualMachineMigrationInterface has methods to work with VirtualMachineMigration resources.
type VirtualMachineMigrationsGetter ¶
type VirtualMachineMigrationsGetter interface {
VirtualMachineMigrations(namespace string) VirtualMachineMigrationInterface
}
VirtualMachineMigrationsGetter has a method to return a VirtualMachineMigrationInterface. A group's client should implement this interface.
type VirtualMachinesGetter ¶
type VirtualMachinesGetter interface {
VirtualMachines(namespace string) VirtualMachineInterface
}
VirtualMachinesGetter has a method to return a VirtualMachineInterface. A group's client should implement this interface.