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 CloudnativeV1alpha1Client ¶
type CloudnativeV1alpha1Client struct {
// contains filtered or unexported fields
}
CloudnativeV1alpha1Client is used to interact with features provided by the cloudnative.tw group.
func New ¶
func New(c rest.Interface) *CloudnativeV1alpha1Client
New creates a new CloudnativeV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CloudnativeV1alpha1Client, error)
NewForConfig creates a new CloudnativeV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CloudnativeV1alpha1Client
NewForConfigOrDie creates a new CloudnativeV1alpha1Client for the given config and panics if there is an error in the config.
func (*CloudnativeV1alpha1Client) RESTClient ¶
func (c *CloudnativeV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CloudnativeV1alpha1Client) VirtualMachines ¶
func (c *CloudnativeV1alpha1Client) VirtualMachines(namespace string) VirtualMachineInterface
type CloudnativeV1alpha1Interface ¶
type CloudnativeV1alpha1Interface interface { RESTClient() rest.Interface VirtualMachinesGetter }
type VirtualMachineExpansion ¶
type VirtualMachineExpansion interface{}
type VirtualMachineInterface ¶
type VirtualMachineInterface interface { Create(*v1alpha1.VirtualMachine) (*v1alpha1.VirtualMachine, error) Update(*v1alpha1.VirtualMachine) (*v1alpha1.VirtualMachine, error) UpdateStatus(*v1alpha1.VirtualMachine) (*v1alpha1.VirtualMachine, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.VirtualMachine, error) List(opts v1.ListOptions) (*v1alpha1.VirtualMachineList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VirtualMachine, err error) VirtualMachineExpansion }
VirtualMachineInterface has methods to work with VirtualMachine resources.
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.