Documentation ¶
Index ¶
- type ApplicationLister
- type DiscoveryInterface
- type Resolver
- func (r *Resolver) ApplicationsCountField(ctx context.Context, obj *gqlschema.NamespaceListItem) (*int, error)
- func (r Resolver) ApplicationsField(ctx context.Context, obj *gqlschema.Namespace) ([]string, error)
- func (r Resolver) ConfigMapEventSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.ConfigMapEvent, error)
- func (r Resolver) ConfigMapQuery(ctx context.Context, name, namespace string) (*gqlschema.ConfigMap, error)
- func (r Resolver) ConfigMapsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]*gqlschema.ConfigMap, error)
- func (r Resolver) CreateNamespace(ctx context.Context, name string, labels gqlschema.Labels) (*gqlschema.NamespaceMutationOutput, error)
- func (r Resolver) CreateResourceMutation(ctx context.Context, namespace string, resource gqlschema.JSON) (gqlschema.JSON, error)
- func (r Resolver) DeleteConfigMapMutation(ctx context.Context, name string, namespace string) (*gqlschema.ConfigMap, error)
- func (r Resolver) DeleteNamespace(ctx context.Context, name string) (*gqlschema.Namespace, error)
- func (r Resolver) DeletePodMutation(ctx context.Context, name string, namespace string) (*gqlschema.Pod, error)
- func (r Resolver) DeleteReplicaSetMutation(ctx context.Context, name string, namespace string) (*gqlschema.ReplicaSet, error)
- func (r Resolver) DeleteSecretMutation(ctx context.Context, name string, namespace string) (*gqlschema.Secret, error)
- func (r Resolver) DeleteServiceMutation(context context.Context, name string, namespace string) (*gqlschema.Service, error)
- func (r Resolver) DeploymentBoundServiceInstanceNamesField(ctx context.Context, deployment *gqlschema.Deployment) ([]string, error)
- func (r *Resolver) DeploymentEventSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.DeploymentEvent, error)
- func (r Resolver) DeploymentsQuery(ctx context.Context, namespace string, excludeFunctions *bool) ([]*gqlschema.Deployment, error)
- func (r *Resolver) HealthyPodsCountField(ctx context.Context, obj *gqlschema.NamespaceListItem) (int, error)
- func (r Resolver) NamespaceEventSubscription(ctx context.Context, withSystemNamespaces *bool) (<-chan *gqlschema.NamespaceEvent, error)
- func (r Resolver) NamespaceQuery(ctx context.Context, name string) (*gqlschema.Namespace, error)
- func (r Resolver) NamespacesQuery(ctx context.Context, withSystemNamespaces *bool, withInactiveStatus *bool) ([]*gqlschema.NamespaceListItem, error)
- func (r Resolver) PodEventSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.PodEvent, error)
- func (r Resolver) PodQuery(ctx context.Context, name, namespace string) (*gqlschema.Pod, error)
- func (r *Resolver) PodsCountField(ctx context.Context, obj *gqlschema.NamespaceListItem) (int, error)
- func (r Resolver) PodsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]*gqlschema.Pod, error)
- func (r Resolver) ReplicaSetQuery(ctx context.Context, name, namespace string) (*gqlschema.ReplicaSet, error)
- func (r Resolver) ReplicaSetsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]*gqlschema.ReplicaSet, error)
- func (r Resolver) SecretEventSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.SecretEvent, error)
- func (r Resolver) SecretQuery(ctx context.Context, name, ns string) (*gqlschema.Secret, error)
- func (r Resolver) SecretsQuery(ctx context.Context, ns string, first *int, offset *int) ([]*gqlschema.Secret, error)
- func (r Resolver) SelfSubjectRulesQuery(ctx context.Context, namespace *string) ([]*gqlschema.ResourceRule, error)
- func (r Resolver) ServiceEventSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.ServiceEvent, error)
- func (r Resolver) ServiceQuery(ctx context.Context, name string, namespace string) (*gqlschema.Service, error)
- func (r Resolver) ServicesQuery(ctx context.Context, namespace string, excludedLabels []string, first *int, ...) ([]*gqlschema.Service, error)
- func (r Resolver) UpdateConfigMapMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.ConfigMap, error)
- func (r Resolver) UpdateNamespace(ctx context.Context, name string, labels gqlschema.Labels) (*gqlschema.NamespaceMutationOutput, error)
- func (r Resolver) UpdatePodMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.Pod, error)
- func (r Resolver) UpdateReplicaSetMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.ReplicaSet, error)
- func (r Resolver) UpdateSecretMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.Secret, error)
- func (r Resolver) UpdateServiceMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.Service, error)
- func (r Resolver) VersionInfoQuery(ctx context.Context) (*gqlschema.VersionInfo, error)
- func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationLister ¶
type DiscoveryInterface ¶
type DiscoveryInterface interface { discovery.DiscoveryInterface }
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func New ¶
func New(restConfig *rest.Config, informerResyncPeriod time.Duration, applicationRetriever shared.ApplicationRetriever, scRetriever shared.ServiceCatalogRetriever, scaRetriever shared.ServiceCatalogAddonsRetriever, systemNamespaces []string) (*Resolver, error)
func (*Resolver) ApplicationsCountField ¶
func (Resolver) ApplicationsField ¶
func (Resolver) ConfigMapEventSubscription ¶
func (Resolver) ConfigMapQuery ¶
func (Resolver) ConfigMapsQuery ¶
func (Resolver) CreateNamespace ¶
func (Resolver) CreateResourceMutation ¶
func (Resolver) DeleteConfigMapMutation ¶
func (Resolver) DeleteNamespace ¶
func (Resolver) DeletePodMutation ¶
func (Resolver) DeleteReplicaSetMutation ¶
func (Resolver) DeleteSecretMutation ¶
func (Resolver) DeleteServiceMutation ¶
func (Resolver) DeploymentBoundServiceInstanceNamesField ¶
func (*Resolver) DeploymentEventSubscription ¶
func (Resolver) DeploymentsQuery ¶
func (*Resolver) HealthyPodsCountField ¶
func (Resolver) NamespaceEventSubscription ¶
func (Resolver) NamespaceQuery ¶
func (Resolver) NamespacesQuery ¶
func (Resolver) PodEventSubscription ¶
func (*Resolver) PodsCountField ¶
func (Resolver) ReplicaSetQuery ¶
func (Resolver) ReplicaSetsQuery ¶
func (Resolver) SecretEventSubscription ¶
func (Resolver) SecretQuery ¶
func (Resolver) SecretsQuery ¶
func (Resolver) SelfSubjectRulesQuery ¶
func (Resolver) ServiceEventSubscription ¶
func (Resolver) ServiceQuery ¶
func (Resolver) ServicesQuery ¶
func (Resolver) UpdateConfigMapMutation ¶
func (Resolver) UpdateNamespace ¶
func (Resolver) UpdatePodMutation ¶
func (Resolver) UpdateReplicaSetMutation ¶
func (Resolver) UpdateSecretMutation ¶
func (Resolver) UpdateServiceMutation ¶
func (Resolver) VersionInfoQuery ¶
func (r Resolver) VersionInfoQuery(ctx context.Context) (*gqlschema.VersionInfo, error)
func (*Resolver) WaitForCacheSync ¶
func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
Source Files ¶
- configmap_converter.go
- configmap_resolver.go
- configmap_service.go
- dep.go
- deployment_converter.go
- deployment_resolver.go
- deployment_service.go
- k8s.go
- namespace_converter.go
- namespace_resolver.go
- namespace_service.go
- pod_converter.go
- pod_resolver.go
- pod_service.go
- replicaset_converter.go
- replicaset_resolver.go
- replicaset_service.go
- resource_converter.go
- resource_resolver.go
- resource_service.go
- secret_converter.go
- secret_resolver.go
- secret_service.go
- selfsubjectrules_converter.go
- selfsubjectrules_resolver.go
- selfsubjectrules_service.go
- service_converter.go
- service_resolver.go
- service_service.go
- versioninfo_converter.go
- versioninfo_resolver.go
Click to show internal directories.
Click to hide internal directories.