Documentation ¶
Index ¶
- type Resolver
- func (_m *Resolver) ClusterServiceBrokerEventSubscription(ctx context.Context) (<-chan gqlschema.ClusterServiceBrokerEvent, error)
- func (_m *Resolver) ClusterServiceBrokerQuery(ctx context.Context, name string) (*gqlschema.ClusterServiceBroker, error)
- func (_m *Resolver) ClusterServiceBrokersQuery(ctx context.Context, first *int, offset *int) ([]gqlschema.ClusterServiceBroker, error)
- func (_m *Resolver) ClusterServiceClassActivatedField(ctx context.Context, obj *gqlschema.ClusterServiceClass, namespace *string) (bool, error)
- func (_m *Resolver) ClusterServiceClassClusterDocsTopicField(ctx context.Context, obj *gqlschema.ClusterServiceClass) (*gqlschema.ClusterDocsTopic, error)
- func (_m *Resolver) ClusterServiceClassInstancesField(ctx context.Context, obj *gqlschema.ClusterServiceClass, namespace *string) ([]gqlschema.ServiceInstance, error)
- func (_m *Resolver) ClusterServiceClassPlansField(ctx context.Context, obj *gqlschema.ClusterServiceClass) ([]gqlschema.ClusterServicePlan, error)
- func (_m *Resolver) ClusterServiceClassQuery(ctx context.Context, name string) (*gqlschema.ClusterServiceClass, error)
- func (_m *Resolver) ClusterServiceClassesQuery(ctx context.Context, first *int, offset *int) ([]gqlschema.ClusterServiceClass, error)
- func (_m *Resolver) CreateServiceBindingMutation(ctx context.Context, serviceBindingName *string, serviceInstanceName string, ...) (*gqlschema.CreateServiceBindingOutput, error)
- func (_m *Resolver) CreateServiceInstanceMutation(ctx context.Context, namespace string, ...) (*gqlschema.ServiceInstance, error)
- func (_m *Resolver) DeleteServiceBindingMutation(ctx context.Context, serviceBindingName string, env string) (*gqlschema.DeleteServiceBindingOutput, error)
- func (_m *Resolver) DeleteServiceInstanceMutation(ctx context.Context, name string, namespace string) (*gqlschema.ServiceInstance, error)
- func (_m *Resolver) ServiceBindingEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceBindingEvent, error)
- func (_m *Resolver) ServiceBindingQuery(ctx context.Context, name string, env string) (*gqlschema.ServiceBinding, error)
- func (_m *Resolver) ServiceBindingsToInstanceQuery(ctx context.Context, instanceName string, namespace string) (*gqlschema.ServiceBindings, error)
- func (_m *Resolver) ServiceBrokerEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceBrokerEvent, error)
- func (_m *Resolver) ServiceBrokerQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceBroker, error)
- func (_m *Resolver) ServiceBrokersQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.ServiceBroker, error)
- func (_m *Resolver) ServiceClassActivatedField(ctx context.Context, obj *gqlschema.ServiceClass) (bool, error)
- func (_m *Resolver) ServiceClassClusterDocsTopicField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.ClusterDocsTopic, error)
- func (_m *Resolver) ServiceClassDocsTopicField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.DocsTopic, error)
- func (_m *Resolver) ServiceClassInstancesField(ctx context.Context, obj *gqlschema.ServiceClass) ([]gqlschema.ServiceInstance, error)
- func (_m *Resolver) ServiceClassPlansField(ctx context.Context, obj *gqlschema.ServiceClass) ([]gqlschema.ServicePlan, error)
- func (_m *Resolver) ServiceClassQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceClass, error)
- func (_m *Resolver) ServiceClassesQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.ServiceClass, error)
- func (_m *Resolver) ServiceInstanceBindableField(ctx context.Context, obj *gqlschema.ServiceInstance) (bool, error)
- func (_m *Resolver) ServiceInstanceClusterServiceClassField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ClusterServiceClass, error)
- func (_m *Resolver) ServiceInstanceClusterServicePlanField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ClusterServicePlan, error)
- func (_m *Resolver) ServiceInstanceEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceInstanceEvent, error)
- func (_m *Resolver) ServiceInstanceQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceInstance, error)
- func (_m *Resolver) ServiceInstanceServiceClassField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServiceClass, error)
- func (_m *Resolver) ServiceInstanceServicePlanField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServicePlan, error)
- func (_m *Resolver) ServiceInstancesQuery(ctx context.Context, namespace string, first *int, offset *int, ...) ([]gqlschema.ServiceInstance, error)
- type ServiceBindingFinderLister
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) ClusterServiceBrokerEventSubscription ¶
func (_m *Resolver) ClusterServiceBrokerEventSubscription(ctx context.Context) (<-chan gqlschema.ClusterServiceBrokerEvent, error)
ClusterServiceBrokerEventSubscription provides a failing mock function with given fields: ctx
func (*Resolver) ClusterServiceBrokerQuery ¶
func (_m *Resolver) ClusterServiceBrokerQuery(ctx context.Context, name string) (*gqlschema.ClusterServiceBroker, error)
ClusterServiceBrokerQuery provides a failing mock function with given fields: ctx, name
func (*Resolver) ClusterServiceBrokersQuery ¶
func (_m *Resolver) ClusterServiceBrokersQuery(ctx context.Context, first *int, offset *int) ([]gqlschema.ClusterServiceBroker, error)
ClusterServiceBrokersQuery provides a failing mock function with given fields: ctx, first, offset
func (*Resolver) ClusterServiceClassActivatedField ¶
func (_m *Resolver) ClusterServiceClassActivatedField(ctx context.Context, obj *gqlschema.ClusterServiceClass, namespace *string) (bool, error)
ClusterServiceClassActivatedField provides a failing mock function with given fields: ctx, obj, namespace
func (*Resolver) ClusterServiceClassClusterDocsTopicField ¶
func (_m *Resolver) ClusterServiceClassClusterDocsTopicField(ctx context.Context, obj *gqlschema.ClusterServiceClass) (*gqlschema.ClusterDocsTopic, error)
ClusterServiceClassClusterDocsTopicField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ClusterServiceClassInstancesField ¶
func (_m *Resolver) ClusterServiceClassInstancesField(ctx context.Context, obj *gqlschema.ClusterServiceClass, namespace *string) ([]gqlschema.ServiceInstance, error)
ClusterServiceClassInstancesField provides a failing mock function with given fields: ctx, obj, namespace
func (*Resolver) ClusterServiceClassPlansField ¶
func (_m *Resolver) ClusterServiceClassPlansField(ctx context.Context, obj *gqlschema.ClusterServiceClass) ([]gqlschema.ClusterServicePlan, error)
ClusterServiceClassPlansField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ClusterServiceClassQuery ¶
func (_m *Resolver) ClusterServiceClassQuery(ctx context.Context, name string) (*gqlschema.ClusterServiceClass, error)
ClusterServiceClassQuery provides a failing mock function with given fields: ctx, name
func (*Resolver) ClusterServiceClassesQuery ¶
func (_m *Resolver) ClusterServiceClassesQuery(ctx context.Context, first *int, offset *int) ([]gqlschema.ClusterServiceClass, error)
ClusterServiceClassesQuery provides a failing mock function with given fields: ctx, first, offset
func (*Resolver) CreateServiceBindingMutation ¶
func (_m *Resolver) CreateServiceBindingMutation(ctx context.Context, serviceBindingName *string, serviceInstanceName string, env string, parameters *gqlschema.JSON) (*gqlschema.CreateServiceBindingOutput, error)
CreateServiceBindingMutation provides a failing mock function with given fields: ctx, serviceBindingName, serviceInstanceName, env, parameters
func (*Resolver) CreateServiceInstanceMutation ¶
func (_m *Resolver) CreateServiceInstanceMutation(ctx context.Context, namespace string, params gqlschema.ServiceInstanceCreateInput) (*gqlschema.ServiceInstance, error)
CreateServiceInstanceMutation provides a failing mock function with given fields: ctx, namespace, params
func (*Resolver) DeleteServiceBindingMutation ¶
func (_m *Resolver) DeleteServiceBindingMutation(ctx context.Context, serviceBindingName string, env string) (*gqlschema.DeleteServiceBindingOutput, error)
DeleteServiceBindingMutation provides a failing mock function with given fields: ctx, serviceBindingName, env
func (*Resolver) DeleteServiceInstanceMutation ¶
func (_m *Resolver) DeleteServiceInstanceMutation(ctx context.Context, name string, namespace string) (*gqlschema.ServiceInstance, error)
DeleteServiceInstanceMutation provides a failing mock function with given fields: ctx, name, namespace
func (*Resolver) ServiceBindingEventSubscription ¶
func (_m *Resolver) ServiceBindingEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceBindingEvent, error)
ServiceBindingEventSubscription provides a failing mock function with given fields: ctx, namespace
func (*Resolver) ServiceBindingQuery ¶
func (_m *Resolver) ServiceBindingQuery(ctx context.Context, name string, env string) (*gqlschema.ServiceBinding, error)
ServiceBindingQuery provides a failing mock function with given fields: ctx, name, env
func (*Resolver) ServiceBindingsToInstanceQuery ¶
func (_m *Resolver) ServiceBindingsToInstanceQuery(ctx context.Context, instanceName string, namespace string) (*gqlschema.ServiceBindings, error)
ServiceBindingsToInstanceQuery provides a failing mock function with given fields: ctx, instanceName, namespace
func (*Resolver) ServiceBrokerEventSubscription ¶
func (_m *Resolver) ServiceBrokerEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceBrokerEvent, error)
ServiceBrokerEventSubscription provides a failing mock function with given fields: ctx, namespace
func (*Resolver) ServiceBrokerQuery ¶
func (_m *Resolver) ServiceBrokerQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceBroker, error)
ServiceBrokerQuery provides a failing mock function with given fields: ctx, name, namespace
func (*Resolver) ServiceBrokersQuery ¶
func (_m *Resolver) ServiceBrokersQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.ServiceBroker, error)
ServiceBrokersQuery provides a failing mock function with given fields: ctx, namespace, first, offset
func (*Resolver) ServiceClassActivatedField ¶
func (_m *Resolver) ServiceClassActivatedField(ctx context.Context, obj *gqlschema.ServiceClass) (bool, error)
ServiceClassActivatedField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceClassClusterDocsTopicField ¶
func (_m *Resolver) ServiceClassClusterDocsTopicField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.ClusterDocsTopic, error)
ServiceClassClusterDocsTopicField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceClassDocsTopicField ¶
func (_m *Resolver) ServiceClassDocsTopicField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.DocsTopic, error)
ServiceClassDocsTopicField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceClassInstancesField ¶
func (_m *Resolver) ServiceClassInstancesField(ctx context.Context, obj *gqlschema.ServiceClass) ([]gqlschema.ServiceInstance, error)
ServiceClassInstancesField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceClassPlansField ¶
func (_m *Resolver) ServiceClassPlansField(ctx context.Context, obj *gqlschema.ServiceClass) ([]gqlschema.ServicePlan, error)
ServiceClassPlansField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceClassQuery ¶
func (_m *Resolver) ServiceClassQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceClass, error)
ServiceClassQuery provides a failing mock function with given fields: ctx, name, namespace
func (*Resolver) ServiceClassesQuery ¶
func (_m *Resolver) ServiceClassesQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.ServiceClass, error)
ServiceClassesQuery provides a failing mock function with given fields: ctx, namespace, first, offset
func (*Resolver) ServiceInstanceBindableField ¶
func (_m *Resolver) ServiceInstanceBindableField(ctx context.Context, obj *gqlschema.ServiceInstance) (bool, error)
ServiceInstanceBindableField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceInstanceClusterServiceClassField ¶
func (_m *Resolver) ServiceInstanceClusterServiceClassField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ClusterServiceClass, error)
ServiceInstanceClusterServiceClassField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceInstanceClusterServicePlanField ¶
func (_m *Resolver) ServiceInstanceClusterServicePlanField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ClusterServicePlan, error)
ServiceInstanceClusterServicePlanField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceInstanceEventSubscription ¶
func (_m *Resolver) ServiceInstanceEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceInstanceEvent, error)
ServiceInstanceEventSubscription provides a failing mock function with given fields: ctx, namespace
func (*Resolver) ServiceInstanceQuery ¶
func (_m *Resolver) ServiceInstanceQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceInstance, error)
ServiceInstanceQuery provides a failing mock function with given fields: ctx, name, namespace
func (*Resolver) ServiceInstanceServiceClassField ¶
func (_m *Resolver) ServiceInstanceServiceClassField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServiceClass, error)
ServiceInstanceServiceClassField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceInstanceServicePlanField ¶
func (_m *Resolver) ServiceInstanceServicePlanField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServicePlan, error)
ServiceInstanceServicePlanField provides a failing mock function with given fields: ctx, obj
func (*Resolver) ServiceInstancesQuery ¶
func (_m *Resolver) ServiceInstancesQuery(ctx context.Context, namespace string, first *int, offset *int, status *gqlschema.InstanceStatusType) ([]gqlschema.ServiceInstance, error)
ServiceInstancesQuery provides a failing mock function with given fields: ctx, namespace, first, offset, status
type ServiceBindingFinderLister ¶
type ServiceBindingFinderLister struct {
// contains filtered or unexported fields
}
ServiceBindingFinderLister is an autogenerated failing mock type for the ServiceBindingFinderLister type
func NewServiceBindingFinderLister ¶
func NewServiceBindingFinderLister(err error) *ServiceBindingFinderLister
NewServiceBindingFinderLister creates a new ServiceBindingFinderLister type instance
func (*ServiceBindingFinderLister) Find ¶
func (_m *ServiceBindingFinderLister) Find(namespace string, name string) (*v1beta1.ServiceBinding, error)
Find provides a failing mock function with given fields: namespace, name
func (*ServiceBindingFinderLister) ListForServiceInstance ¶
func (_m *ServiceBindingFinderLister) ListForServiceInstance(namespace string, instanceName string) ([]*v1beta1.ServiceBinding, error)
ListForServiceInstance provides a failing mock function with given fields: namespace, instanceName