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 DeviceExpansion ¶
type DeviceExpansion interface{}
type DeviceInterface ¶
type DeviceInterface interface { Create(ctx context.Context, device *v1alpha1.Device, opts v1.CreateOptions) (*v1alpha1.Device, error) Update(ctx context.Context, device *v1alpha1.Device, opts v1.UpdateOptions) (*v1alpha1.Device, error) UpdateStatus(ctx context.Context, device *v1alpha1.Device, opts v1.UpdateOptions) (*v1alpha1.Device, 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.Device, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DeviceList, 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.Device, err error) DeviceExpansion }
DeviceInterface has methods to work with Device resources.
type DevicesGetter ¶
type DevicesGetter interface {
Devices() DeviceInterface
}
DevicesGetter has a method to return a DeviceInterface. A group's client should implement this interface.
type PodMigrationJobExpansion ¶ added in v1.0.0
type PodMigrationJobExpansion interface{}
type PodMigrationJobInterface ¶ added in v1.0.0
type PodMigrationJobInterface interface { Create(ctx context.Context, podMigrationJob *v1alpha1.PodMigrationJob, opts v1.CreateOptions) (*v1alpha1.PodMigrationJob, error) Update(ctx context.Context, podMigrationJob *v1alpha1.PodMigrationJob, opts v1.UpdateOptions) (*v1alpha1.PodMigrationJob, error) UpdateStatus(ctx context.Context, podMigrationJob *v1alpha1.PodMigrationJob, opts v1.UpdateOptions) (*v1alpha1.PodMigrationJob, 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.PodMigrationJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PodMigrationJobList, 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.PodMigrationJob, err error) PodMigrationJobExpansion }
PodMigrationJobInterface has methods to work with PodMigrationJob resources.
type PodMigrationJobsGetter ¶ added in v1.0.0
type PodMigrationJobsGetter interface {
PodMigrationJobs() PodMigrationJobInterface
}
PodMigrationJobsGetter has a method to return a PodMigrationJobInterface. A group's client should implement this interface.
type ReservationExpansion ¶ added in v1.0.0
type ReservationExpansion interface{}
type ReservationInterface ¶ added in v1.0.0
type ReservationInterface interface { Create(ctx context.Context, reservation *v1alpha1.Reservation, opts v1.CreateOptions) (*v1alpha1.Reservation, error) Update(ctx context.Context, reservation *v1alpha1.Reservation, opts v1.UpdateOptions) (*v1alpha1.Reservation, error) UpdateStatus(ctx context.Context, reservation *v1alpha1.Reservation, opts v1.UpdateOptions) (*v1alpha1.Reservation, 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.Reservation, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ReservationList, 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.Reservation, err error) ReservationExpansion }
ReservationInterface has methods to work with Reservation resources.
type ReservationsGetter ¶ added in v1.0.0
type ReservationsGetter interface {
Reservations() ReservationInterface
}
ReservationsGetter has a method to return a ReservationInterface. A group's client should implement this interface.
type SchedulingV1alpha1Client ¶
type SchedulingV1alpha1Client struct {
// contains filtered or unexported fields
}
SchedulingV1alpha1Client is used to interact with features provided by the scheduling group.
func New ¶
func New(c rest.Interface) *SchedulingV1alpha1Client
New creates a new SchedulingV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SchedulingV1alpha1Client, error)
NewForConfig creates a new SchedulingV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *SchedulingV1alpha1Client
NewForConfigOrDie creates a new SchedulingV1alpha1Client for the given config and panics if there is an error in the config.
func (*SchedulingV1alpha1Client) Devices ¶
func (c *SchedulingV1alpha1Client) Devices() DeviceInterface
func (*SchedulingV1alpha1Client) PodMigrationJobs ¶ added in v1.0.0
func (c *SchedulingV1alpha1Client) PodMigrationJobs() PodMigrationJobInterface
func (*SchedulingV1alpha1Client) RESTClient ¶
func (c *SchedulingV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*SchedulingV1alpha1Client) Reservations ¶ added in v1.0.0
func (c *SchedulingV1alpha1Client) Reservations() ReservationInterface
type SchedulingV1alpha1Interface ¶
type SchedulingV1alpha1Interface interface { RESTClient() rest.Interface DevicesGetter PodMigrationJobsGetter ReservationsGetter }