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 EGPUExpansion ¶
type EGPUExpansion interface{}
type EGPUInterface ¶
type EGPUInterface interface { Create(ctx context.Context, eGPU *v1alpha1.EGPU, opts v1.CreateOptions) (*v1alpha1.EGPU, error) Update(ctx context.Context, eGPU *v1alpha1.EGPU, opts v1.UpdateOptions) (*v1alpha1.EGPU, error) UpdateStatus(ctx context.Context, eGPU *v1alpha1.EGPU, opts v1.UpdateOptions) (*v1alpha1.EGPU, 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.EGPU, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EGPUList, 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.EGPU, err error) EGPUExpansion }
EGPUInterface has methods to work with EGPU resources.
type EGPUsGetter ¶
type EGPUsGetter interface {
EGPUs(namespace string) EGPUInterface
}
EGPUsGetter has a method to return a EGPUInterface. A group's client should implement this interface.
type EgpucontrollerV1alpha1Client ¶
type EgpucontrollerV1alpha1Client struct {
// contains filtered or unexported fields
}
EgpucontrollerV1alpha1Client is used to interact with features provided by the egpucontroller.tencent.com group.
func New ¶
func New(c rest.Interface) *EgpucontrollerV1alpha1Client
New creates a new EgpucontrollerV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*EgpucontrollerV1alpha1Client, error)
NewForConfig creates a new EgpucontrollerV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *EgpucontrollerV1alpha1Client
NewForConfigOrDie creates a new EgpucontrollerV1alpha1Client for the given config and panics if there is an error in the config.
func (*EgpucontrollerV1alpha1Client) EGPUs ¶
func (c *EgpucontrollerV1alpha1Client) EGPUs(namespace string) EGPUInterface
func (*EgpucontrollerV1alpha1Client) RESTClient ¶
func (c *EgpucontrollerV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type EgpucontrollerV1alpha1Interface ¶
type EgpucontrollerV1alpha1Interface interface { RESTClient() rest.Interface EGPUsGetter }