Documentation ¶
Index ¶
- func FetchV1DiscoveryGroups(ctx context.Context, client testClient) (metav1.APIGroupList, error)
- func FetchV1DiscoveryGroupsAtPath(ctx context.Context, client testClient, path string) (metav1.APIGroupList, error)
- func FetchV1DiscoveryLegacyGroups(ctx context.Context, client testClient) (metav1.APIGroupList, error)
- func FetchV1DiscoveryResource(ctx context.Context, client testClient, gv metav1.GroupVersion) (metav1.APIResourceList, error)
- func FetchV2Beta1Discovery(ctx context.Context, client testClient) (apidiscoveryv2beta1.APIGroupDiscoveryList, error)
- func FetchV2Discovery(ctx context.Context, client testClient) (apidiscoveryv2.APIGroupDiscoveryList, error)
- func FindGroupVersionV1(discovery metav1.APIGroupList, gv metav1.GroupVersion) bool
- func FindGroupVersionV2(discovery apidiscoveryv2.APIGroupDiscoveryList, gv metav1.GroupVersion) *apidiscoveryv2.APIVersionDiscovery
- func FindGroupVersionV2Beta1(discovery apidiscoveryv2beta1.APIGroupDiscoveryList, gv metav1.GroupVersion) *apidiscoveryv2beta1.APIVersionDiscovery
- func NewFakeService(name string, client kubernetes.Interface, handler http.Handler) *fakeService
- func WaitForGroups(ctx context.Context, client testClient, ...) error
- func WaitForGroupsAbsent(ctx context.Context, client testClient, groups ...string) error
- func WaitForResultWithCondition(ctx context.Context, client testClient, ...) error
- func WaitForRootPaths(t *testing.T, ctx context.Context, client testClient, ...) error
- func WaitForV1GroupsWithCondition(ctx context.Context, client testClient, ...) error
- func WaitForV1ResourcesWithCondition(ctx context.Context, client testClient, gv metav1.GroupVersion, ...) error
- func WaitForV2Beta1ResultWithCondition(ctx context.Context, client testClient, ...) error
- type FakeService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchV1DiscoveryGroups ¶
func FetchV1DiscoveryGroups(ctx context.Context, client testClient) (metav1.APIGroupList, error)
func FetchV1DiscoveryLegacyGroups ¶
func FetchV1DiscoveryLegacyGroups(ctx context.Context, client testClient) (metav1.APIGroupList, error)
func FetchV1DiscoveryResource ¶
func FetchV1DiscoveryResource(ctx context.Context, client testClient, gv metav1.GroupVersion) (metav1.APIResourceList, error)
func FetchV2Beta1Discovery ¶ added in v1.30.0
func FetchV2Beta1Discovery(ctx context.Context, client testClient) (apidiscoveryv2beta1.APIGroupDiscoveryList, error)
func FetchV2Discovery ¶
func FetchV2Discovery(ctx context.Context, client testClient) (apidiscoveryv2.APIGroupDiscoveryList, error)
func FindGroupVersionV1 ¶
func FindGroupVersionV1(discovery metav1.APIGroupList, gv metav1.GroupVersion) bool
func FindGroupVersionV2 ¶
func FindGroupVersionV2(discovery apidiscoveryv2.APIGroupDiscoveryList, gv metav1.GroupVersion) *apidiscoveryv2.APIVersionDiscovery
func FindGroupVersionV2Beta1 ¶ added in v1.30.0
func FindGroupVersionV2Beta1(discovery apidiscoveryv2beta1.APIGroupDiscoveryList, gv metav1.GroupVersion) *apidiscoveryv2beta1.APIVersionDiscovery
func NewFakeService ¶
func NewFakeService(name string, client kubernetes.Interface, handler http.Handler) *fakeService
func WaitForGroups ¶
func WaitForGroups(ctx context.Context, client testClient, groups ...apidiscoveryv2.APIGroupDiscovery) error
func WaitForGroupsAbsent ¶
func WaitForResultWithCondition ¶
func WaitForResultWithCondition(ctx context.Context, client testClient, condition func(result apidiscoveryv2.APIGroupDiscoveryList) bool) error
func WaitForRootPaths ¶ added in v1.29.0
func WaitForV1ResourcesWithCondition ¶ added in v1.27.0
func WaitForV1ResourcesWithCondition(ctx context.Context, client testClient, gv metav1.GroupVersion, condition func(result metav1.APIResourceList) bool) error
func WaitForV2Beta1ResultWithCondition ¶ added in v1.30.0
func WaitForV2Beta1ResultWithCondition(ctx context.Context, client testClient, condition func(result apidiscoveryv2beta1.APIGroupDiscoveryList) bool) error
Types ¶
Click to show internal directories.
Click to hide internal directories.