Documentation ¶
Index ¶
- Variables
- func ExpectResolvedContext(ctx context.Context, ref core.ObjectRef, parentNs string) error
- func ExpectResolvedResource(ctx context.Context, ref core.ObjectRef, parentNs string) error
- func ExpectResolvedSecret(ctx context.Context, ref core.ObjectRef, parentNs string) error
- func GetAPIs(ctx context.Context, opts ListOptions) ([]core.ApiDefinitionModel, error)
- func GetClient() *dynamic.DynamicClient
- func ResolveContext(ctx context.Context, ref core.ObjectRef, parentNs string) (*management.Context, error)
- func ResolveResource(ctx context.Context, ref core.ObjectRef, parentNs string) (core.ResourceModel, error)
- func ResolveSecret(ctx context.Context, ref core.ObjectRef, parentNs string) (*coreV1.Secret, error)
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiGVR = schema.GroupVersionResource{ Group: core.CRDGroup, Version: core.CRDVersion, Resource: core.CRDApiDefinitionResource, }
View Source
var ApiV4GVR = schema.GroupVersionResource{ Group: core.CRDGroup, Version: core.CRDVersion, Resource: core.CRDApiV4DefinitionResource, }
View Source
var ManagementContextGVR = schema.GroupVersionResource{ Group: core.CRDGroup, Version: core.CRDVersion, Resource: core.CRDManagementContextResource, }
View Source
var ResourceGVR = schema.GroupVersionResource{ Group: core.CRDGroup, Version: core.CRDVersion, Resource: core.CRDResourceResource, }
View Source
var SecretGVR = schema.GroupVersionResource{
Group: "",
Version: "v1",
Resource: "secrets",
}
Functions ¶
func ExpectResolvedContext ¶
func ExpectResolvedResource ¶
func ExpectResolvedSecret ¶
func GetAPIs ¶
func GetAPIs(ctx context.Context, opts ListOptions) ([]core.ApiDefinitionModel, error)
func GetClient ¶
func GetClient() *dynamic.DynamicClient
func ResolveContext ¶
func ResolveResource ¶
Types ¶
type ListOptions ¶
Click to show internal directories.
Click to hide internal directories.