Documentation ¶
Index ¶
- type Resolver
- func (_m *Resolver) APIEventSubscription(ctx context.Context, namespace string, serviceName *string) (<-chan gqlschema.ApiEvent, error)
- func (_m *Resolver) APIQuery(ctx context.Context, name string, namespace string) (*gqlschema.API, error)
- func (_m *Resolver) APIsQuery(ctx context.Context, namespace string, serviceName *string, hostname *string) ([]gqlschema.API, error)
- func (_m *Resolver) CreateAPI(ctx context.Context, name string, namespace string, params gqlschema.APIInput) (gqlschema.API, error)
- func (_m *Resolver) DeleteAPI(ctx context.Context, name string, namespace string) (*gqlschema.API, error)
- func (_m *Resolver) UpdateAPI(ctx context.Context, name string, namespace string, params gqlschema.APIInput) (gqlschema.API, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is an autogenerated failing mock type for the Resolver type
func NewResolver ¶
NewResolver creates a new Resolver type instance
func (*Resolver) APIEventSubscription ¶
func (_m *Resolver) APIEventSubscription(ctx context.Context, namespace string, serviceName *string) (<-chan gqlschema.ApiEvent, error)
APIEventSubscription provides a failing mock function with given fields: ctx, namespace, serviceName
func (*Resolver) APIQuery ¶
func (_m *Resolver) APIQuery(ctx context.Context, name string, namespace string) (*gqlschema.API, error)
APIQuery provides a failing mock function with given fields: ctx, name, namespace
func (*Resolver) APIsQuery ¶
func (_m *Resolver) APIsQuery(ctx context.Context, namespace string, serviceName *string, hostname *string) ([]gqlschema.API, error)
APIsQuery provides a failing mock function with given fields: ctx, namespace, serviceName, hostname
func (*Resolver) CreateAPI ¶
func (_m *Resolver) CreateAPI(ctx context.Context, name string, namespace string, params gqlschema.APIInput) (gqlschema.API, error)
CreateAPI provides a failing mock function with given fields: ctx, name, namespace, params
Click to show internal directories.
Click to hide internal directories.