Documentation ¶
Index ¶
- func CreateEmbedder(ctx context.Context, c client.Client, input generated.CreateEmbedderInput) (*generated.Embedder, error)
- func DeleteEmbedders(ctx context.Context, c client.Client, input *generated.DeleteCommonInput) (*string, error)
- func Embedder2model(ctx context.Context, c client.Client, embedder *v1alpha1.Embedder) (*generated.Embedder, error)
- func ListEmbedders(ctx context.Context, c client.Client, input generated.ListCommonInput, ...) (*generated.PaginatedResult, error)
- func ReadEmbedder(ctx context.Context, c client.Client, name, namespace string) (*generated.Embedder, error)
- func UpdateEmbedder(ctx context.Context, c client.Client, input *generated.UpdateEmbedderInput) (*generated.Embedder, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEmbedder ¶
func DeleteEmbedders ¶
func Embedder2model ¶
func Embedder2model(ctx context.Context, c client.Client, embedder *v1alpha1.Embedder) (*generated.Embedder, error)
Embedder2model convert unstructured `CR Embedder` to graphql model `Embedder`
func ListEmbedders ¶
func ListEmbedders(ctx context.Context, c client.Client, input generated.ListCommonInput, listOpts ...common.ListOptionsFunc) (*generated.PaginatedResult, error)
func ReadEmbedder ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.