Documentation ¶
Index ¶
- type ApplicationLister
- type Resolver
- func (_m *Resolver) ApplicationEnabledInNamespacesField(ctx context.Context, obj *gqlschema.Application) ([]string, error)
- func (_m *Resolver) ApplicationEnabledMappingServices(ctx context.Context, obj *gqlschema.Application) ([]*gqlschema.EnabledMappingService, error)
- func (_m *Resolver) ApplicationEventSubscription(ctx context.Context) (<-chan *gqlschema.ApplicationEvent, error)
- func (_m *Resolver) ApplicationQuery(ctx context.Context, name string) (*gqlschema.Application, error)
- func (_m *Resolver) ApplicationStatusField(ctx context.Context, app *gqlschema.Application) (gqlschema.ApplicationStatus, error)
- func (_m *Resolver) ApplicationsQuery(ctx context.Context, namespace *string, first *int, offset *int) ([]*gqlschema.Application, error)
- func (_m *Resolver) ConnectorServiceQuery(ctx context.Context, _a1 string) (*gqlschema.ConnectorService, error)
- func (_m *Resolver) CreateApplication(ctx context.Context, name string, description *string, ...) (*gqlschema.ApplicationMutationOutput, error)
- func (_m *Resolver) DeleteApplication(ctx context.Context, name string) (*gqlschema.DeleteApplicationOutput, error)
- func (_m *Resolver) DisableApplicationMutation(ctx context.Context, _a1 string, namespace string) (*gqlschema.ApplicationMapping, error)
- func (_m *Resolver) EnableApplicationMutation(ctx context.Context, _a1 string, namespace string, allServices *bool, ...) (*gqlschema.ApplicationMapping, error)
- func (_m *Resolver) EventActivationEventsField(ctx context.Context, eventActivation *gqlschema.EventActivation) ([]*gqlschema.EventActivationEvent, error)
- func (_m *Resolver) EventActivationsQuery(ctx context.Context, namespace string) ([]*gqlschema.EventActivation, error)
- func (_m *Resolver) OverloadApplicationMutation(ctx context.Context, _a1 string, namespace string, allServices *bool, ...) (*gqlschema.ApplicationMapping, error)
- func (_m *Resolver) UpdateApplication(ctx context.Context, name string, description *string, ...) (*gqlschema.ApplicationMutationOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationLister ¶
type ApplicationLister struct {
// contains filtered or unexported fields
}
ApplicationLister is an autogenerated failing mock type for the ApplicationLister type
func NewApplicationLister ¶
func NewApplicationLister(err error) *ApplicationLister
NewApplicationLister creates a new ApplicationLister type instance
func (*ApplicationLister) ListInNamespace ¶
func (_m *ApplicationLister) ListInNamespace(namespace string) ([]*v1alpha1.Application, error)
ListInNamespace provides a failing mock function with given fields: namespace
func (*ApplicationLister) ListNamespacesFor ¶
func (_m *ApplicationLister) ListNamespacesFor(appName string) ([]string, error)
ListNamespacesFor provides a failing mock function with given fields: appName
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) ApplicationEnabledInNamespacesField ¶
func (_m *Resolver) ApplicationEnabledInNamespacesField(ctx context.Context, obj *gqlschema.Application) ([]string, error)
ApplicationEnabledInNamespacesField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ApplicationEnabledMappingServices ¶
func (_m *Resolver) ApplicationEnabledMappingServices(ctx context.Context, obj *gqlschema.Application) ([]*gqlschema.EnabledMappingService, error)
ApplicationEnabledMappingServices provides a failing mock function with given fields: ctx, obj
func (*Resolver) ApplicationEventSubscription ¶
func (_m *Resolver) ApplicationEventSubscription(ctx context.Context) (<-chan *gqlschema.ApplicationEvent, error)
ApplicationEventSubscription provides a failing mock function with given fields: ctx
func (*Resolver) ApplicationQuery ¶
func (_m *Resolver) ApplicationQuery(ctx context.Context, name string) (*gqlschema.Application, error)
ApplicationQuery provides a failing mock function with given fields: ctx, name
func (*Resolver) ApplicationStatusField ¶
func (_m *Resolver) ApplicationStatusField(ctx context.Context, app *gqlschema.Application) (gqlschema.ApplicationStatus, error)
ApplicationStatusField provides a failing mock function with given fields: ctx, app
func (*Resolver) ApplicationsQuery ¶
func (_m *Resolver) ApplicationsQuery(ctx context.Context, namespace *string, first *int, offset *int) ([]*gqlschema.Application, error)
ApplicationsQuery provides a failing mock function with given fields: ctx, namespace, first, offset
func (*Resolver) ConnectorServiceQuery ¶
func (_m *Resolver) ConnectorServiceQuery(ctx context.Context, _a1 string) (*gqlschema.ConnectorService, error)
ConnectorServiceQuery provides a failing mock function with given fields: ctx, _a1
func (*Resolver) CreateApplication ¶
func (_m *Resolver) CreateApplication(ctx context.Context, name string, description *string, qglLabels gqlschema.Labels) (*gqlschema.ApplicationMutationOutput, error)
CreateApplication provides a failing mock function with given fields: ctx, name, description, qglLabels
func (*Resolver) DeleteApplication ¶
func (_m *Resolver) DeleteApplication(ctx context.Context, name string) (*gqlschema.DeleteApplicationOutput, error)
DeleteApplication provides a failing mock function with given fields: ctx, name
func (*Resolver) DisableApplicationMutation ¶
func (_m *Resolver) DisableApplicationMutation(ctx context.Context, _a1 string, namespace string) (*gqlschema.ApplicationMapping, error)
DisableApplicationMutation provides a failing mock function with given fields: ctx, _a1, namespace
func (*Resolver) EnableApplicationMutation ¶
func (_m *Resolver) EnableApplicationMutation(ctx context.Context, _a1 string, namespace string, allServices *bool, services []*gqlschema.ApplicationMappingService) (*gqlschema.ApplicationMapping, error)
EnableApplicationMutation provides a failing mock function with given fields: ctx, _a1, namespace, allServices, services
func (*Resolver) EventActivationEventsField ¶
func (_m *Resolver) EventActivationEventsField(ctx context.Context, eventActivation *gqlschema.EventActivation) ([]*gqlschema.EventActivationEvent, error)
EventActivationEventsField provides a failing mock function with given fields: ctx, eventActivation
func (*Resolver) EventActivationsQuery ¶
func (_m *Resolver) EventActivationsQuery(ctx context.Context, namespace string) ([]*gqlschema.EventActivation, error)
EventActivationsQuery provides a failing mock function with given fields: ctx, namespace
func (*Resolver) OverloadApplicationMutation ¶
func (_m *Resolver) OverloadApplicationMutation(ctx context.Context, _a1 string, namespace string, allServices *bool, services []*gqlschema.ApplicationMappingService) (*gqlschema.ApplicationMapping, error)
OverloadApplicationMutation provides a failing mock function with given fields: ctx, _a1, namespace, allServices, services
func (*Resolver) UpdateApplication ¶
func (_m *Resolver) UpdateApplication(ctx context.Context, name string, description *string, qglLabels gqlschema.Labels) (*gqlschema.ApplicationMutationOutput, error)
UpdateApplication provides a failing mock function with given fields: ctx, name, description, qglLabels