Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
Index ¶
- type ApiSpecGetter
- type AsyncApiSpecGetter
- type Container
- type ContentGetter
- type Resolver
- func (r Resolver) CreateServiceBindingMutation(ctx context.Context, serviceBindingName, serviceInstanceName, env string) (*gqlschema.CreateServiceBindingOutput, error)
- func (r Resolver) CreateServiceBindingUsageMutation(ctx context.Context, input *gqlschema.CreateServiceBindingUsageInput) (*gqlschema.ServiceBindingUsage, error)
- func (r Resolver) CreateServiceInstanceMutation(ctx context.Context, params gqlschema.ServiceInstanceCreateInput) (*gqlschema.ServiceInstance, error)
- func (r Resolver) DeleteServiceBindingMutation(ctx context.Context, serviceBindingName, env string) (*gqlschema.DeleteServiceBindingOutput, error)
- func (r Resolver) DeleteServiceBindingUsageMutation(ctx context.Context, serviceBindingUsageName, namespace string) (*gqlschema.DeleteServiceBindingUsageOutput, error)
- func (r Resolver) DeleteServiceInstanceMutation(ctx context.Context, name, environment string) (*gqlschema.ServiceInstance, error)
- func (rsv Resolver) ListServiceUsageKindResources(ctx context.Context, usageKind string, environment string) ([]gqlschema.UsageKindResource, error)
- func (rsv Resolver) ListUsageKinds(ctx context.Context, first *int, offset *int) ([]gqlschema.UsageKind, error)
- func (r Resolver) ServiceBindingQuery(ctx context.Context, name, env string) (*gqlschema.ServiceBinding, error)
- func (r Resolver) ServiceBindingUsageQuery(ctx context.Context, name, environment string) (*gqlschema.ServiceBindingUsage, error)
- func (r Resolver) ServiceBindingUsagesOfInstanceQuery(ctx context.Context, instanceName, env string) ([]gqlschema.ServiceBindingUsage, error)
- func (r Resolver) ServiceBindingsToInstanceQuery(ctx context.Context, instanceName, environment string) ([]gqlschema.ServiceBinding, error)
- func (r Resolver) ServiceBrokerQuery(ctx context.Context, name string) (*gqlschema.ServiceBroker, error)
- func (r Resolver) ServiceBrokersQuery(ctx context.Context, first *int, offset *int) ([]gqlschema.ServiceBroker, error)
- func (r Resolver) ServiceClassActivatedField(ctx context.Context, obj *gqlschema.ServiceClass) (bool, error)
- func (r Resolver) ServiceClassApiSpecField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.JSON, error)
- func (r Resolver) ServiceClassAsyncApiSpecField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.JSON, error)
- func (r Resolver) ServiceClassContentField(ctx context.Context, obj *gqlschema.ServiceClass) (*gqlschema.JSON, error)
- func (r Resolver) ServiceClassPlansField(ctx context.Context, obj *gqlschema.ServiceClass) ([]gqlschema.ServicePlan, error)
- func (r Resolver) ServiceClassQuery(ctx context.Context, name string) (*gqlschema.ServiceClass, error)
- func (r Resolver) ServiceClassesQuery(ctx context.Context, first *int, offset *int) ([]gqlschema.ServiceClass, error)
- func (r Resolver) ServiceInstanceBindableField(ctx context.Context, obj *gqlschema.ServiceInstance) (bool, error)
- func (r Resolver) ServiceInstanceEventSubscription(ctx context.Context, environment string) (<-chan gqlschema.ServiceInstanceEvent, error)
- func (r Resolver) ServiceInstanceQuery(ctx context.Context, name string, environment string) (*gqlschema.ServiceInstance, error)
- func (r Resolver) ServiceInstanceServiceClassField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServiceClass, error)
- func (r Resolver) ServiceInstanceServicePlanField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServicePlan, error)
- func (r Resolver) ServiceInstancesQuery(ctx context.Context, environment string, first *int, offset *int, ...) ([]gqlschema.ServiceInstance, error)
- func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
- type ServiceBindingGetter
- type ServiceBindingUsageLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiSpecGetter ¶
type AsyncApiSpecGetter ¶
type AsyncApiSpecGetter interface {
Find(kind, id string) (*storage.AsyncApiSpec, error)
}
type Container ¶
type Container struct { Resolver *Resolver ServiceBindingUsageLister ServiceBindingUsageLister ServiceBindingGetter ServiceBindingGetter }
func New ¶
func New(restConfig *rest.Config, informerResyncPeriod time.Duration, asyncApiSpecGetter AsyncApiSpecGetter, apiSpecGetter ApiSpecGetter, contentGetter ContentGetter) (*Container, error)
type ContentGetter ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (Resolver) CreateServiceBindingMutation ¶
func (Resolver) CreateServiceBindingUsageMutation ¶
func (r Resolver) CreateServiceBindingUsageMutation(ctx context.Context, input *gqlschema.CreateServiceBindingUsageInput) (*gqlschema.ServiceBindingUsage, error)
func (Resolver) CreateServiceInstanceMutation ¶
func (r Resolver) CreateServiceInstanceMutation(ctx context.Context, params gqlschema.ServiceInstanceCreateInput) (*gqlschema.ServiceInstance, error)
func (Resolver) DeleteServiceBindingMutation ¶
func (Resolver) DeleteServiceBindingUsageMutation ¶
func (Resolver) DeleteServiceInstanceMutation ¶
func (Resolver) ListServiceUsageKindResources ¶
func (Resolver) ListUsageKinds ¶
func (Resolver) ServiceBindingQuery ¶
func (Resolver) ServiceBindingUsageQuery ¶
func (Resolver) ServiceBindingUsagesOfInstanceQuery ¶
func (Resolver) ServiceBindingsToInstanceQuery ¶
func (Resolver) ServiceBrokerQuery ¶
func (Resolver) ServiceBrokersQuery ¶
func (Resolver) ServiceClassActivatedField ¶
func (Resolver) ServiceClassApiSpecField ¶
func (Resolver) ServiceClassAsyncApiSpecField ¶
func (Resolver) ServiceClassContentField ¶
func (Resolver) ServiceClassPlansField ¶
func (r Resolver) ServiceClassPlansField(ctx context.Context, obj *gqlschema.ServiceClass) ([]gqlschema.ServicePlan, error)
func (Resolver) ServiceClassQuery ¶
func (Resolver) ServiceClassesQuery ¶
func (Resolver) ServiceInstanceBindableField ¶
func (Resolver) ServiceInstanceEventSubscription ¶
func (Resolver) ServiceInstanceQuery ¶
func (Resolver) ServiceInstanceServiceClassField ¶
func (r Resolver) ServiceInstanceServiceClassField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServiceClass, error)
func (Resolver) ServiceInstanceServicePlanField ¶
func (r Resolver) ServiceInstanceServicePlanField(ctx context.Context, obj *gqlschema.ServiceInstance) (*gqlschema.ServicePlan, error)
func (Resolver) ServiceInstancesQuery ¶
func (r Resolver) ServiceInstancesQuery(ctx context.Context, environment string, first *int, offset *int, status *gqlschema.InstanceStatusType) ([]gqlschema.ServiceInstance, error)
func (*Resolver) WaitForCacheSync ¶
func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
type ServiceBindingGetter ¶
type ServiceBindingGetter interface {
Find(env string, name string) (*bindingApi.ServiceBinding, error)
}
type ServiceBindingUsageLister ¶
type ServiceBindingUsageLister interface {
ListForDeployment(environment, kind, deploymentName string) ([]*bindingUsageApi.ServiceBindingUsage, error)
}
Source Files ¶
- binding_converter.go
- binding_resolver.go
- binding_service.go
- binding_usage_converter.go
- binding_usage_resolver.go
- binding_usage_service.go
- broker_converter.go
- broker_resolver.go
- broker_service.go
- class_converter.go
- class_resolver.go
- class_service.go
- instance_converter.go
- instance_listener.go
- instance_resolver.go
- instance_service.go
- interfaces.go
- mock_gql_instance_converter.go
- mock_instance_svc.go
- plan_converter.go
- plan_service.go
- servicecatalog.go
- usage_kind_converter.go
- usage_kind_resolver.go
- usage_kind_service.go
Directories ¶
Path | Synopsis |
---|---|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 |
Click to show internal directories.
Click to hide internal directories.