Documentation ¶
Index ¶
- func NewRemoteEnvironmentResolver(reSvc reSvc, statusGetter statusGetter) *remoteEnvironmentResolver
- type AsyncApiSpecGetter
- type Config
- type ConnectorSvcCfg
- type Container
- type RemoteEnvironmentLister
- type Resolver
- func (r Resolver) ConnectorServiceQuery(ctx context.Context, remoteEnvironment string) (gqlschema.ConnectorService, error)
- func (r Resolver) DisableRemoteEnvironmentMutation(ctx context.Context, remoteEnvironment string, environment string) (*gqlschema.EnvironmentMapping, error)
- func (r Resolver) EnableRemoteEnvironmentMutation(ctx context.Context, remoteEnvironment string, environment string) (*gqlschema.EnvironmentMapping, error)
- func (r Resolver) EventActivationEventsField(ctx context.Context, eventActivation *gqlschema.EventActivation) ([]gqlschema.EventActivationEvent, error)
- func (r Resolver) EventActivationsQuery(ctx context.Context, environment string) ([]gqlschema.EventActivation, error)
- func (r Resolver) RemoteEnvironmentEnabledInEnvironmentsField(ctx context.Context, obj *gqlschema.RemoteEnvironment) ([]string, error)
- func (r Resolver) RemoteEnvironmentQuery(ctx context.Context, name string) (*gqlschema.RemoteEnvironment, error)
- func (r Resolver) RemoteEnvironmentStatusField(ctx context.Context, re *gqlschema.RemoteEnvironment) (gqlschema.RemoteEnvironmentStatus, error)
- func (r Resolver) RemoteEnvironmentsQuery(ctx context.Context, environment *string, first *int, offset *int) ([]gqlschema.RemoteEnvironment, error)
- func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRemoteEnvironmentResolver ¶
func NewRemoteEnvironmentResolver(reSvc reSvc, statusGetter statusGetter) *remoteEnvironmentResolver
Types ¶
type AsyncApiSpecGetter ¶
type AsyncApiSpecGetter interface {
Find(kind, id string) (*storage.AsyncApiSpec, error)
}
type Config ¶
type Config struct { Gateway gateway.Config Connector ConnectorSvcCfg }
type ConnectorSvcCfg ¶
type Container ¶
type Container struct { Resolver *Resolver RELister RemoteEnvironmentLister }
type RemoteEnvironmentLister ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (Resolver) ConnectorServiceQuery ¶
func (Resolver) DisableRemoteEnvironmentMutation ¶
func (Resolver) EnableRemoteEnvironmentMutation ¶
func (Resolver) EventActivationEventsField ¶
func (r Resolver) EventActivationEventsField(ctx context.Context, eventActivation *gqlschema.EventActivation) ([]gqlschema.EventActivationEvent, error)
func (Resolver) EventActivationsQuery ¶
func (Resolver) RemoteEnvironmentEnabledInEnvironmentsField ¶
func (Resolver) RemoteEnvironmentQuery ¶
func (Resolver) RemoteEnvironmentStatusField ¶
func (r Resolver) RemoteEnvironmentStatusField(ctx context.Context, re *gqlschema.RemoteEnvironment) (gqlschema.RemoteEnvironmentStatus, error)
func (Resolver) RemoteEnvironmentsQuery ¶
func (*Resolver) WaitForCacheSync ¶
func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.