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 DeviceV1alpha1Client ¶
type DeviceV1alpha1Client struct {
// contains filtered or unexported fields
}
DeviceV1alpha1Client is used to interact with features provided by the device.equinixmetal.kubeform.com group.
func New ¶
func New(c rest.Interface) *DeviceV1alpha1Client
New creates a new DeviceV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DeviceV1alpha1Client, error)
NewForConfig creates a new DeviceV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DeviceV1alpha1Client
NewForConfigOrDie creates a new DeviceV1alpha1Client for the given config and panics if there is an error in the config.
func (*DeviceV1alpha1Client) Devices ¶
func (c *DeviceV1alpha1Client) Devices(namespace string) DeviceInterface
func (*DeviceV1alpha1Client) NetworkTypes ¶
func (c *DeviceV1alpha1Client) NetworkTypes(namespace string) NetworkTypeInterface
func (*DeviceV1alpha1Client) RESTClient ¶
func (c *DeviceV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type DeviceV1alpha1Interface ¶
type DeviceV1alpha1Interface interface { RESTClient() rest.Interface DevicesGetter NetworkTypesGetter }
type DevicesGetter ¶
type DevicesGetter interface {
Devices(namespace string) DeviceInterface
}
DevicesGetter has a method to return a DeviceInterface. A group's client should implement this interface.
type NetworkTypeExpansion ¶
type NetworkTypeExpansion interface{}
type NetworkTypeInterface ¶
type NetworkTypeInterface interface { Create(ctx context.Context, networkType *v1alpha1.NetworkType, opts v1.CreateOptions) (*v1alpha1.NetworkType, error) Update(ctx context.Context, networkType *v1alpha1.NetworkType, opts v1.UpdateOptions) (*v1alpha1.NetworkType, error) UpdateStatus(ctx context.Context, networkType *v1alpha1.NetworkType, opts v1.UpdateOptions) (*v1alpha1.NetworkType, 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.NetworkType, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkTypeList, 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.NetworkType, err error) NetworkTypeExpansion }
NetworkTypeInterface has methods to work with NetworkType resources.
type NetworkTypesGetter ¶
type NetworkTypesGetter interface {
NetworkTypes(namespace string) NetworkTypeInterface
}
NetworkTypesGetter has a method to return a NetworkTypeInterface. A group's client should implement this interface.