Documentation ¶
Index ¶
- func GetResourceClient(config *rest.Config, group string, version string) (*rest.RESTClient, error)
- func GetSecretValue(clientset *kubernetes.Clientset, name, namespace, stype, field string) ([]byte, error)
- func GetVolumeRBDKey(clientset *kubernetes.Clientset, namespace string, ...) ([]byte, error)
- func GetVolumeSpec(clientset *kubernetes.Clientset, name, namespace string) (string, *kubeapiv1.PersistentVolumeSpec, error)
- func RegisterResourceExtension(clientset *kubernetes.Clientset, uri string, group string, name string, ...) error
- func RegisterResourceScheme(group string, version string, obj, objlist runtime.Object)
- func RegisterVirtimagefile(clientset *kubernetes.Clientset) error
- func RegisterVirtimagerepo(clientset *kubernetes.Clientset) error
- func RegisterVirtmachine(clientset *kubernetes.Clientset) error
- func RegisterVirtnodeinfo(clientset *kubernetes.Clientset) error
- type TPRClient
- type TPRObject
- type TPRObjectList
- type VirtimagefileClient
- func (c *VirtimagefileClient) Create(obj *apiv1.Virtimagefile) (*apiv1.Virtimagefile, error)
- func (c *VirtimagefileClient) Delete(obj *apiv1.Virtimagefile) error
- func (c *VirtimagefileClient) Get(name string) (*apiv1.Virtimagefile, error)
- func (c *VirtimagefileClient) List() (*apiv1.VirtimagefileList, error)
- func (c *VirtimagefileClient) Update(obj *apiv1.Virtimagefile) (*apiv1.Virtimagefile, error)
- func (c *VirtimagefileClient) Watch() (watch.Interface, error)
- type VirtimagerepoClient
- func (c *VirtimagerepoClient) Create(obj *apiv1.Virtimagerepo) (*apiv1.Virtimagerepo, error)
- func (c *VirtimagerepoClient) Delete(obj *apiv1.Virtimagerepo) error
- func (c *VirtimagerepoClient) Get(name string) (*apiv1.Virtimagerepo, error)
- func (c *VirtimagerepoClient) List() (*apiv1.VirtimagerepoList, error)
- func (c *VirtimagerepoClient) Update(obj *apiv1.Virtimagerepo) (*apiv1.Virtimagerepo, error)
- func (c *VirtimagerepoClient) Watch() (watch.Interface, error)
- type VirtmachineClient
- func (c *VirtmachineClient) Create(obj *apiv1.Virtmachine) (*apiv1.Virtmachine, error)
- func (c *VirtmachineClient) Delete(obj *apiv1.Virtmachine) error
- func (c *VirtmachineClient) Get(name string) (*apiv1.Virtmachine, error)
- func (c *VirtmachineClient) List() (*apiv1.VirtmachineList, error)
- func (c *VirtmachineClient) Update(obj *apiv1.Virtmachine) (*apiv1.Virtmachine, error)
- func (c *VirtmachineClient) Watch() (watch.Interface, error)
- type VirtnodeinfoClient
- func (c *VirtnodeinfoClient) Create(obj *apiv1.Virtnode) (*apiv1.Virtnode, error)
- func (c *VirtnodeinfoClient) Delete(obj *apiv1.Virtnode) error
- func (c *VirtnodeinfoClient) Get(name string) (*apiv1.Virtnode, error)
- func (c *VirtnodeinfoClient) List() (*apiv1.VirtnodeList, error)
- func (c *VirtnodeinfoClient) Update(obj *apiv1.Virtnode) (*apiv1.Virtnode, error)
- func (c *VirtnodeinfoClient) Watch() (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceClient ¶
func GetSecretValue ¶
func GetSecretValue(clientset *kubernetes.Clientset, name, namespace, stype, field string) ([]byte, error)
func GetVolumeRBDKey ¶
func GetVolumeRBDKey(clientset *kubernetes.Clientset, namespace string, src *kubeapiv1.RBDVolumeSource) ([]byte, error)
func GetVolumeSpec ¶
func GetVolumeSpec(clientset *kubernetes.Clientset, name, namespace string) (string, *kubeapiv1.PersistentVolumeSpec, error)
func RegisterResourceScheme ¶
func RegisterVirtimagefile ¶
func RegisterVirtimagefile(clientset *kubernetes.Clientset) error
func RegisterVirtimagerepo ¶
func RegisterVirtimagerepo(clientset *kubernetes.Clientset) error
func RegisterVirtmachine ¶
func RegisterVirtmachine(clientset *kubernetes.Clientset) error
func RegisterVirtnodeinfo ¶
func RegisterVirtnodeinfo(clientset *kubernetes.Clientset) error
Types ¶
type TPRClient ¶
type TPRClient struct { ResourceName string Namespace string Rest *rest.RESTClient }
func (*TPRClient) List ¶
func (c *TPRClient) List(obj TPRObjectList) error
type TPRObjectList ¶
type TPRObjectList interface { runtime.Object v1.ListMetaAccessor }
type VirtimagefileClient ¶
type VirtimagefileClient struct {
// contains filtered or unexported fields
}
func NewVirtimagefileClient ¶
func NewVirtimagefileClient(namespace string, kubeconfig *rest.Config) (*VirtimagefileClient, error)
func (*VirtimagefileClient) Create ¶
func (c *VirtimagefileClient) Create(obj *apiv1.Virtimagefile) (*apiv1.Virtimagefile, error)
func (*VirtimagefileClient) Delete ¶
func (c *VirtimagefileClient) Delete(obj *apiv1.Virtimagefile) error
func (*VirtimagefileClient) Get ¶
func (c *VirtimagefileClient) Get(name string) (*apiv1.Virtimagefile, error)
func (*VirtimagefileClient) List ¶
func (c *VirtimagefileClient) List() (*apiv1.VirtimagefileList, error)
func (*VirtimagefileClient) Update ¶
func (c *VirtimagefileClient) Update(obj *apiv1.Virtimagefile) (*apiv1.Virtimagefile, error)
type VirtimagerepoClient ¶
type VirtimagerepoClient struct {
// contains filtered or unexported fields
}
func NewVirtimagerepoClient ¶
func NewVirtimagerepoClient(namespace string, kubeconfig *rest.Config) (*VirtimagerepoClient, error)
func (*VirtimagerepoClient) Create ¶
func (c *VirtimagerepoClient) Create(obj *apiv1.Virtimagerepo) (*apiv1.Virtimagerepo, error)
func (*VirtimagerepoClient) Delete ¶
func (c *VirtimagerepoClient) Delete(obj *apiv1.Virtimagerepo) error
func (*VirtimagerepoClient) Get ¶
func (c *VirtimagerepoClient) Get(name string) (*apiv1.Virtimagerepo, error)
func (*VirtimagerepoClient) List ¶
func (c *VirtimagerepoClient) List() (*apiv1.VirtimagerepoList, error)
func (*VirtimagerepoClient) Update ¶
func (c *VirtimagerepoClient) Update(obj *apiv1.Virtimagerepo) (*apiv1.Virtimagerepo, error)
type VirtmachineClient ¶
type VirtmachineClient struct {
// contains filtered or unexported fields
}
func NewVirtmachineClient ¶
func NewVirtmachineClient(namespace string, kubeconfig *rest.Config) (*VirtmachineClient, error)
func (*VirtmachineClient) Create ¶
func (c *VirtmachineClient) Create(obj *apiv1.Virtmachine) (*apiv1.Virtmachine, error)
func (*VirtmachineClient) Delete ¶
func (c *VirtmachineClient) Delete(obj *apiv1.Virtmachine) error
func (*VirtmachineClient) Get ¶
func (c *VirtmachineClient) Get(name string) (*apiv1.Virtmachine, error)
func (*VirtmachineClient) List ¶
func (c *VirtmachineClient) List() (*apiv1.VirtmachineList, error)
func (*VirtmachineClient) Update ¶
func (c *VirtmachineClient) Update(obj *apiv1.Virtmachine) (*apiv1.Virtmachine, error)
type VirtnodeinfoClient ¶
type VirtnodeinfoClient struct {
// contains filtered or unexported fields
}
func NewVirtnodeinfoClient ¶
func NewVirtnodeinfoClient(namespace string, kubeconfig *rest.Config) (*VirtnodeinfoClient, error)
func (*VirtnodeinfoClient) Get ¶
func (c *VirtnodeinfoClient) Get(name string) (*apiv1.Virtnode, error)
func (*VirtnodeinfoClient) List ¶
func (c *VirtnodeinfoClient) List() (*apiv1.VirtnodeList, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.