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 FetchV2Discovery(ctx context.Context, client testClient) (apidiscoveryv2beta1.APIGroupDiscoveryList, error)
- func FindGroupVersionV1(discovery metav1.APIGroupList, gv metav1.GroupVersion) bool
- func FindGroupVersionV2(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 WaitForV1GroupsWithCondition(ctx context.Context, client testClient, ...) error
- func WaitForV1ResourcesWithCondition(ctx context.Context, client testClient, gv metav1.GroupVersion, ...) 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 FetchV2Discovery ¶
func FetchV2Discovery(ctx context.Context, client testClient) (apidiscoveryv2beta1.APIGroupDiscoveryList, error)
func FindGroupVersionV1 ¶
func FindGroupVersionV1(discovery metav1.APIGroupList, gv metav1.GroupVersion) bool
func FindGroupVersionV2 ¶
func FindGroupVersionV2(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 ...apidiscoveryv2beta1.APIGroupDiscovery) error
func WaitForGroupsAbsent ¶
func WaitForResultWithCondition ¶
func WaitForResultWithCondition(ctx context.Context, client testClient, condition func(result apidiscoveryv2beta1.APIGroupDiscoveryList) bool) error
func WaitForV1ResourcesWithCondition ¶ added in v1.27.0
func WaitForV1ResourcesWithCondition(ctx context.Context, client testClient, gv metav1.GroupVersion, condition func(result metav1.APIResourceList) bool) error
Types ¶
Click to show internal directories.
Click to hide internal directories.