Documentation ¶
Index ¶
- type ApplicationLister
- type Resolver
- func (r Resolver) ApplicationsField(ctx context.Context, obj *gqlschema.Namespace) ([]string, 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) 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) NamespacesQuery(ctx context.Context, applicationName *string) ([]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) SecretQuery(ctx context.Context, name, ns string) (*gqlschema.Secret, 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) WaitForCacheSync(stopCh <-chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationLister ¶
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) (*Resolver, error)
func (Resolver) ApplicationsField ¶
func (Resolver) DeletePodMutation ¶
func (Resolver) DeleteReplicaSetMutation ¶
func (Resolver) DeploymentBoundServiceInstanceNamesField ¶
func (Resolver) DeploymentsQuery ¶
func (Resolver) LimitRangesQuery ¶
func (Resolver) NamespacesQuery ¶
func (r Resolver) NamespacesQuery(ctx context.Context, applicationName *string) ([]gqlschema.Namespace, error)
TODO: Split this query into two
func (Resolver) PodEventSubscription ¶
func (Resolver) ReplicaSetQuery ¶
func (Resolver) ReplicaSetsQuery ¶
func (Resolver) ResourceQuotasQuery ¶
func (Resolver) ResourceQuotasStatus ¶
func (Resolver) SecretQuery ¶
func (Resolver) UpdatePodMutation ¶
func (Resolver) UpdateReplicaSetMutation ¶
func (*Resolver) WaitForCacheSync ¶
func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})
Source Files ¶
- dep.go
- deployment_converter.go
- deployment_resolver.go
- deployment_service.go
- k8s.go
- limitrange_converter.go
- limitrange_resolver.go
- limitrange_service.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
- resourcequota_converter.go
- resourcequota_resolver.go
- resourcequota_service.go
- resourcequotastatus_converter.go
- resourcequotastatus_resolver.go
- resourcequotastatus_service.go
- secret_converter.go
- secret_resolver.go
Click to show internal directories.
Click to hide internal directories.