Documentation ¶
Index ¶
- func CreateNewCustomResourceDefinition(crd *apiextensionsv1beta1.CustomResourceDefinition, ...) (*apiextensionsv1beta1.CustomResourceDefinition, error)
- func CreateNewCustomResourceDefinitionWatchUnsafe(crd *apiextensionsv1beta1.CustomResourceDefinition, ...) (*apiextensionsv1beta1.CustomResourceDefinition, error)
- func CreateNewScaleClient(crd *apiextensionsv1beta1.CustomResourceDefinition, config *rest.Config) (scale.ScalesGetter, error)
- func DefaultServerConfig() (*extensionsapiserver.Config, error)
- func DeleteCustomResourceDefinition(crd *apiextensionsv1beta1.CustomResourceDefinition, ...) error
- func NewCurletCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
- func NewCurletInstance(namespace, name string) *unstructured.Unstructured
- func NewMultipleVersionNoxuCRD(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
- func NewNoxu2CustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
- func NewNoxuCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
- func NewNoxuInstance(namespace, name string) *unstructured.Unstructured
- func NewRandomNameCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
- func NewVersionedNoxuInstance(namespace, name, version string) *unstructured.Unstructured
- func StartDefaultServer() (chan struct{}, *rest.Config, error)
- func StartDefaultServerWithClients() (chan struct{}, clientset.Interface, dynamic.Interface, error)
- func StartServer(config *extensionsapiserver.Config) (chan struct{}, *rest.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewCustomResourceDefinition ¶
func CreateNewCustomResourceDefinition(crd *apiextensionsv1beta1.CustomResourceDefinition, apiExtensionsClient clientset.Interface, dynamicClientSet dynamic.Interface) (*apiextensionsv1beta1.CustomResourceDefinition, error)
func CreateNewCustomResourceDefinitionWatchUnsafe ¶ added in v1.9.1
func CreateNewCustomResourceDefinitionWatchUnsafe(crd *apiextensionsv1beta1.CustomResourceDefinition, apiExtensionsClient clientset.Interface) (*apiextensionsv1beta1.CustomResourceDefinition, error)
CreateNewCustomResourceDefinitionWatchUnsafe creates the CRD and makes sure the apiextension apiserver has installed the CRD. But it's not safe to watch the created CR. Please call CreateNewCustomResourceDefinition if you need to watch the CR.
func CreateNewScaleClient ¶ added in v1.10.0
func CreateNewScaleClient(crd *apiextensionsv1beta1.CustomResourceDefinition, config *rest.Config) (scale.ScalesGetter, error)
func DefaultServerConfig ¶
func DefaultServerConfig() (*extensionsapiserver.Config, error)
func DeleteCustomResourceDefinition ¶
func DeleteCustomResourceDefinition(crd *apiextensionsv1beta1.CustomResourceDefinition, apiExtensionsClient clientset.Interface) error
func NewCurletCustomResourceDefinition ¶
func NewCurletCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
func NewCurletInstance ¶
func NewCurletInstance(namespace, name string) *unstructured.Unstructured
func NewMultipleVersionNoxuCRD ¶ added in v1.11.1
func NewMultipleVersionNoxuCRD(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
func NewNoxu2CustomResourceDefinition ¶
func NewNoxu2CustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
func NewNoxuCustomResourceDefinition ¶
func NewNoxuCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
func NewNoxuInstance ¶
func NewNoxuInstance(namespace, name string) *unstructured.Unstructured
func NewRandomNameCustomResourceDefinition ¶
func NewRandomNameCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition
NewRandomNameCustomResourceDefinition generates a CRD with random name to avoid name conflict in e2e tests
func NewVersionedNoxuInstance ¶ added in v1.11.1
func NewVersionedNoxuInstance(namespace, name, version string) *unstructured.Unstructured
func StartDefaultServer ¶
func StartDefaultServerWithClients ¶ added in v1.10.0
func StartServer ¶
func StartServer(config *extensionsapiserver.Config) (chan struct{}, *rest.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.