Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionService ¶
type FunctionService interface { List(namespace string) ([]*v1alpha1.Function, error) Delete(name string, namespace string) error Find(name string, namespace string) (*v1alpha1.Function, error) Create(name string, namespace string, labels gqlschema.Labels, size string, runtime string) (*v1alpha1.Function, error) Update(name string, namespace string, params gqlschema.FunctionUpdateInput) (*v1alpha1.Function, error) }
type Resolver ¶
type Resolver interface { FunctionsQuery(ctx context.Context, namespace string) ([]gqlschema.Function, error) FunctionQuery(ctx context.Context, name string, namespace string) (*gqlschema.Function, error) DeleteFunction(ctx context.Context, name string, namespace string) (*gqlschema.FunctionMutationOutput, error) CreateFunction(ctx context.Context, name string, namespace string, labels gqlschema.Labels, size string, runtime string) (*gqlschema.Function, error) UpdateFunction(ctx context.Context, name string, namespace string, params gqlschema.FunctionUpdateInput) (*gqlschema.Function, error) }
Click to show internal directories.
Click to hide internal directories.