Documentation ¶
Index ¶
- type ApplicationLister
- type DiscoveryInterface
- type Resolver
- 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 (lr Resolver) CreateLimitRange(ctx context.Context, namespace string, name string, ...) (*gqlschema.LimitRange, 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) CreateResourceQuota(ctx context.Context, namespace string, name string, ...) (*gqlschema.ResourceQuota, 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) DeploymentsQuery(ctx context.Context, namespace string, excludeFunctions *bool) ([]gqlschema.Deployment, error)
- func (lr Resolver) LimitRangesQuery(ctx context.Context, namespace string) ([]gqlschema.LimitRange, 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.Namespace, 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) 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) ResourceQuotasQuery(ctx context.Context, namespace string) ([]gqlschema.ResourceQuota, error)
- func (r Resolver) ResourceQuotasStatus(ctx context.Context, namespace string) (gqlschema.ResourceQuotasStatus, 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, first *int, offset *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) 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) ApplicationsField ¶
func (Resolver) ConfigMapEventSubscription ¶
func (Resolver) ConfigMapQuery ¶
func (Resolver) ConfigMapsQuery ¶
func (Resolver) CreateLimitRange ¶
func (lr Resolver) CreateLimitRange(ctx context.Context, namespace string, name string, limitRange gqlschema.LimitRangeInput) (*gqlschema.LimitRange, error)
func (Resolver) CreateNamespace ¶
func (Resolver) CreateResourceMutation ¶
func (Resolver) CreateResourceQuota ¶
func (r Resolver) CreateResourceQuota(ctx context.Context, namespace string, name string, resourceQuotaInput gqlschema.ResourceQuotaInput) (*gqlschema.ResourceQuota, error)
func (Resolver) DeleteConfigMapMutation ¶
func (Resolver) DeleteNamespace ¶
func (Resolver) DeletePodMutation ¶
func (Resolver) DeleteReplicaSetMutation ¶
func (Resolver) DeleteSecretMutation ¶
func (Resolver) DeleteServiceMutation ¶
func (Resolver) DeploymentBoundServiceInstanceNamesField ¶
func (Resolver) DeploymentsQuery ¶
func (Resolver) LimitRangesQuery ¶
func (Resolver) NamespaceEventSubscription ¶
func (Resolver) NamespaceQuery ¶
func (Resolver) NamespacesQuery ¶
func (Resolver) PodEventSubscription ¶
func (Resolver) ReplicaSetQuery ¶
func (Resolver) ReplicaSetsQuery ¶
func (Resolver) ResourceQuotasQuery ¶
func (Resolver) ResourceQuotasStatus ¶
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) 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
- limitrange_converter.go
- limitrange_resolver.go
- limitrange_service.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
- resourcequota_converter.go
- resourcequota_resolver.go
- resourcequota_service.go
- resourcequotastatus_converter.go
- resourcequotastatus_resolver.go
- resourcequotastatus_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
Click to show internal directories.
Click to hide internal directories.