Documentation ¶
Index ¶
- func CreateNewCustomResourceDefinition(customResourceDefinition *apiextensionsv1alpha1.CustomResourceDefinition, ...) (*dynamic.Client, error)
- func DefaultServerConfig() (*extensionsapiserver.Config, error)
- func DeleteCustomResourceDefinition(customResource *apiextensionsv1alpha1.CustomResourceDefinition, ...) error
- func FindFreeLocalPort() (int, error)
- func GetCustomResourceDefinition(customResource *apiextensionsv1alpha1.CustomResourceDefinition, ...) (*apiextensionsv1alpha1.CustomResourceDefinition, error)
- func NewCurletCustomResourceDefinition() *apiextensionsv1alpha1.CustomResourceDefinition
- func NewCurletInstance(namespace, name string) *unstructured.Unstructured
- func NewNoxuCustomResourceDefinition(scope apiextensionsv1alpha1.ResourceScope) *apiextensionsv1alpha1.CustomResourceDefinition
- func NewNoxuInstance(namespace, name string) *unstructured.Unstructured
- func StartDefaultServer() (chan struct{}, clientset.Interface, dynamic.ClientPool, error)
- func StartServer(config *extensionsapiserver.Config) (chan struct{}, clientset.Interface, dynamic.ClientPool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewCustomResourceDefinition ¶
func CreateNewCustomResourceDefinition(customResourceDefinition *apiextensionsv1alpha1.CustomResourceDefinition, apiExtensionsClient clientset.Interface, clientPool dynamic.ClientPool) (*dynamic.Client, error)
func DefaultServerConfig ¶
func DefaultServerConfig() (*extensionsapiserver.Config, error)
func DeleteCustomResourceDefinition ¶
func DeleteCustomResourceDefinition(customResource *apiextensionsv1alpha1.CustomResourceDefinition, apiExtensionsClient clientset.Interface) error
func FindFreeLocalPort ¶
FindFreeLocalPort returns the number of an available port number on the loopback interface. Useful for determining the port to launch a server on. Error handling required - there is a non-zero chance that the returned port number will be bound by another process after this function returns.
func GetCustomResourceDefinition ¶
func GetCustomResourceDefinition(customResource *apiextensionsv1alpha1.CustomResourceDefinition, apiExtensionsClient clientset.Interface) (*apiextensionsv1alpha1.CustomResourceDefinition, error)
func NewCurletCustomResourceDefinition ¶
func NewCurletCustomResourceDefinition() *apiextensionsv1alpha1.CustomResourceDefinition
func NewCurletInstance ¶
func NewCurletInstance(namespace, name string) *unstructured.Unstructured
func NewNoxuCustomResourceDefinition ¶
func NewNoxuCustomResourceDefinition(scope apiextensionsv1alpha1.ResourceScope) *apiextensionsv1alpha1.CustomResourceDefinition
func NewNoxuInstance ¶
func NewNoxuInstance(namespace, name string) *unstructured.Unstructured
func StartDefaultServer ¶
func StartDefaultServer() (chan struct{}, clientset.Interface, dynamic.ClientPool, error)
func StartServer ¶
func StartServer(config *extensionsapiserver.Config) (chan struct{}, clientset.Interface, dynamic.ClientPool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.