Documentation ¶
Index ¶
- type RemoteEnvironmentLister
- type Resolver
- func (r Resolver) DeploymentBoundServiceInstanceNamesField(ctx context.Context, deployment *gqlschema.Deployment) ([]string, error)
- func (r Resolver) DeploymentsQuery(ctx context.Context, environment string, excludeFunctions *bool) ([]gqlschema.Deployment, error)
- func (r Resolver) EnvironmentsQuery(ctx context.Context, remoteEnvironment *string) ([]gqlschema.Environment, error)
- func (lr Resolver) LimitRangesQuery(ctx context.Context, env string) ([]gqlschema.LimitRange, error)
- func (r Resolver) ResourceQuotasQuery(ctx context.Context, environment string) ([]gqlschema.ResourceQuota, error)
- func (r Resolver) SecretQuery(ctx context.Context, name, env string) (*gqlschema.Secret, 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 RemoteEnvironmentLister ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func New ¶
func New(restConfig *rest.Config, remoteEnvironmentLister RemoteEnvironmentLister, informerResyncPeriod time.Duration, serviceBindingUsageLister ServiceBindingUsageLister, serviceBindingGetter ServiceBindingGetter) (*Resolver, error)
func (Resolver) DeploymentBoundServiceInstanceNamesField ¶
func (Resolver) DeploymentsQuery ¶
func (Resolver) EnvironmentsQuery ¶
func (Resolver) LimitRangesQuery ¶
func (Resolver) ResourceQuotasQuery ¶
func (Resolver) SecretQuery ¶
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) ([]*usageApi.ServiceBindingUsage, error)
}
Source Files ¶
- deployment_converter.go
- deployment_resolver.go
- deployment_service.go
- environment_resolver.go
- environment_service.go
- interfaces.go
- k8s.go
- limitrange_converter.go
- limitrange_resolver.go
- limitrange_service.go
- resourcequota_converter.go
- resourcequota_resolver.go
- resourcequota_service.go
- secret_converter.go
- secret_resolver.go
Click to show internal directories.
Click to hide internal directories.