Documentation ¶
Index ¶
- type Resolver
- func (_m *Resolver) CreateServiceBindingUsageMutation(ctx context.Context, input *gqlschema.CreateServiceBindingUsageInput) (*gqlschema.ServiceBindingUsage, error)
- func (_m *Resolver) DeleteServiceBindingUsageMutation(ctx context.Context, serviceBindingUsageName string, namespace string) (*gqlschema.DeleteServiceBindingUsageOutput, error)
- func (_m *Resolver) ListBindableResources(ctx context.Context, namespace string) ([]gqlschema.BindableResourcesOutputItem, error)
- func (_m *Resolver) ListUsageKinds(ctx context.Context, first *int, offset *int) ([]gqlschema.UsageKind, error)
- func (_m *Resolver) ServiceBindingUsageEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceBindingUsageEvent, error)
- func (_m *Resolver) ServiceBindingUsageQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceBindingUsage, error)
- func (_m *Resolver) ServiceBindingUsagesOfInstanceQuery(ctx context.Context, instanceName string, env string) ([]gqlschema.ServiceBindingUsage, error)
- type ServiceBindingUsageLister
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) CreateServiceBindingUsageMutation ¶
func (_m *Resolver) CreateServiceBindingUsageMutation(ctx context.Context, input *gqlschema.CreateServiceBindingUsageInput) (*gqlschema.ServiceBindingUsage, error)
CreateServiceBindingUsageMutation provides a failing mock function with given fields: ctx, input
func (*Resolver) DeleteServiceBindingUsageMutation ¶
func (_m *Resolver) DeleteServiceBindingUsageMutation(ctx context.Context, serviceBindingUsageName string, namespace string) (*gqlschema.DeleteServiceBindingUsageOutput, error)
DeleteServiceBindingUsageMutation provides a failing mock function with given fields: ctx, serviceBindingUsageName, namespace
func (*Resolver) ListBindableResources ¶
func (_m *Resolver) ListBindableResources(ctx context.Context, namespace string) ([]gqlschema.BindableResourcesOutputItem, error)
ListBindableResources provides a failing mock function with given fields: ctx, namespace
func (*Resolver) ListUsageKinds ¶
func (_m *Resolver) ListUsageKinds(ctx context.Context, first *int, offset *int) ([]gqlschema.UsageKind, error)
ListUsageKinds provides a failing mock function with given fields: ctx, first, offset
func (*Resolver) ServiceBindingUsageEventSubscription ¶
func (_m *Resolver) ServiceBindingUsageEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceBindingUsageEvent, error)
ServiceBindingUsageEventSubscription provides a failing mock function with given fields: ctx, namespace
func (*Resolver) ServiceBindingUsageQuery ¶
func (_m *Resolver) ServiceBindingUsageQuery(ctx context.Context, name string, namespace string) (*gqlschema.ServiceBindingUsage, error)
ServiceBindingUsageQuery provides a failing mock function with given fields: ctx, name, namespace
func (*Resolver) ServiceBindingUsagesOfInstanceQuery ¶
func (_m *Resolver) ServiceBindingUsagesOfInstanceQuery(ctx context.Context, instanceName string, env string) ([]gqlschema.ServiceBindingUsage, error)
ServiceBindingUsagesOfInstanceQuery provides a failing mock function with given fields: ctx, instanceName, env
type ServiceBindingUsageLister ¶
type ServiceBindingUsageLister struct {
// contains filtered or unexported fields
}
ServiceBindingUsageLister is an autogenerated failing mock type for the ServiceBindingUsageLister type
func NewServiceBindingUsageLister ¶
func NewServiceBindingUsageLister(err error) *ServiceBindingUsageLister
NewServiceBindingUsageLister creates a new ServiceBindingUsageLister type instance
func (*ServiceBindingUsageLister) ListForDeployment ¶
func (_m *ServiceBindingUsageLister) ListForDeployment(namespace string, kind string, deploymentName string) ([]*v1alpha1.ServiceBindingUsage, error)
ListForDeployment provides a failing mock function with given fields: namespace, kind, deploymentName