k8s

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationLister

type ApplicationLister interface {
	ListInNamespace(namespace string) ([]*v1alpha1.Application, error)
	ListNamespacesFor(reName string) ([]string, error)
}

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 (r Resolver) ApplicationsField(ctx context.Context, obj *gqlschema.Namespace) ([]string, error)

func (Resolver) ConfigMapEventSubscription

func (r Resolver) ConfigMapEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ConfigMapEvent, error)

func (Resolver) ConfigMapQuery

func (r Resolver) ConfigMapQuery(ctx context.Context, name, namespace string) (*gqlschema.ConfigMap, error)

func (Resolver) ConfigMapsQuery

func (r Resolver) ConfigMapsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.ConfigMap, error)

func (Resolver) CreateLimitRange

func (lr Resolver) CreateLimitRange(ctx context.Context, namespace string, name string, limitRange gqlschema.LimitRangeInput) (*gqlschema.LimitRange, error)

func (Resolver) CreateNamespace

func (r Resolver) CreateNamespace(ctx context.Context, name string, labels *gqlschema.Labels) (gqlschema.NamespaceMutationOutput, error)

func (Resolver) CreateResourceMutation

func (r Resolver) CreateResourceMutation(ctx context.Context, namespace string, resource gqlschema.JSON) (*gqlschema.JSON, error)

func (Resolver) CreateResourceQuota

func (r Resolver) CreateResourceQuota(ctx context.Context, namespace string, name string, resourceQuotaInput gqlschema.ResourceQuotaInput) (*gqlschema.ResourceQuota, error)

func (Resolver) DeleteConfigMapMutation

func (r Resolver) DeleteConfigMapMutation(ctx context.Context, name string, namespace string) (*gqlschema.ConfigMap, error)

func (Resolver) DeleteNamespace

func (r Resolver) DeleteNamespace(ctx context.Context, name string) (*gqlschema.Namespace, error)

func (Resolver) DeletePodMutation

func (r Resolver) DeletePodMutation(ctx context.Context, name string, namespace string) (*gqlschema.Pod, error)

func (Resolver) DeleteReplicaSetMutation

func (r Resolver) DeleteReplicaSetMutation(ctx context.Context, name string, namespace string) (*gqlschema.ReplicaSet, error)

func (Resolver) DeleteSecretMutation

func (r Resolver) DeleteSecretMutation(ctx context.Context, name string, namespace string) (*gqlschema.Secret, error)

func (Resolver) DeleteServiceMutation

func (r Resolver) DeleteServiceMutation(context context.Context, name string, namespace string) (*gqlschema.Service, error)

func (Resolver) DeploymentBoundServiceInstanceNamesField

func (r Resolver) DeploymentBoundServiceInstanceNamesField(ctx context.Context, deployment *gqlschema.Deployment) ([]string, error)

func (Resolver) DeploymentsQuery

func (r Resolver) DeploymentsQuery(ctx context.Context, namespace string, excludeFunctions *bool) ([]gqlschema.Deployment, error)

func (Resolver) LimitRangesQuery

func (lr Resolver) LimitRangesQuery(ctx context.Context, namespace string) ([]gqlschema.LimitRange, error)

func (Resolver) NamespaceEventSubscription

func (r Resolver) NamespaceEventSubscription(ctx context.Context, withSystemNamespaces *bool) (<-chan gqlschema.NamespaceEvent, error)

func (Resolver) NamespaceQuery

func (r Resolver) NamespaceQuery(ctx context.Context, name string) (*gqlschema.Namespace, error)

func (Resolver) NamespacesQuery

func (r Resolver) NamespacesQuery(ctx context.Context, withSystemNamespaces *bool, withInactiveStatus *bool) ([]gqlschema.Namespace, error)

func (Resolver) PodEventSubscription

func (r Resolver) PodEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.PodEvent, error)

func (Resolver) PodQuery

func (r Resolver) PodQuery(ctx context.Context, name, namespace string) (*gqlschema.Pod, error)

func (Resolver) PodsQuery

func (r Resolver) PodsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.Pod, error)

func (Resolver) ReplicaSetQuery

func (r Resolver) ReplicaSetQuery(ctx context.Context, name, namespace string) (*gqlschema.ReplicaSet, error)

func (Resolver) ReplicaSetsQuery

func (r Resolver) ReplicaSetsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.ReplicaSet, error)

func (Resolver) ResourceQuotasQuery

func (r Resolver) ResourceQuotasQuery(ctx context.Context, namespace string) ([]gqlschema.ResourceQuota, error)

func (Resolver) ResourceQuotasStatus

func (r Resolver) ResourceQuotasStatus(ctx context.Context, namespace string) (gqlschema.ResourceQuotasStatus, error)

func (Resolver) SecretEventSubscription

func (r Resolver) SecretEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.SecretEvent, error)

func (Resolver) SecretQuery

func (r Resolver) SecretQuery(ctx context.Context, name, ns string) (*gqlschema.Secret, error)

func (Resolver) SecretsQuery

func (r Resolver) SecretsQuery(ctx context.Context, ns string, first *int, offset *int) ([]gqlschema.Secret, error)

func (Resolver) SelfSubjectRulesQuery

func (r Resolver) SelfSubjectRulesQuery(ctx context.Context, namespace *string) ([]gqlschema.ResourceRule, error)

func (Resolver) ServiceEventSubscription

func (r Resolver) ServiceEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.ServiceEvent, error)

func (Resolver) ServiceQuery

func (r Resolver) ServiceQuery(ctx context.Context, name string, namespace string) (*gqlschema.Service, error)

func (Resolver) ServicesQuery

func (r Resolver) ServicesQuery(ctx context.Context, namespace string, first *int, offset *int) ([]gqlschema.Service, error)

func (Resolver) UpdateConfigMapMutation

func (r Resolver) UpdateConfigMapMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.ConfigMap, error)

func (Resolver) UpdateNamespace

func (r Resolver) UpdateNamespace(ctx context.Context, name string, labels gqlschema.Labels) (gqlschema.NamespaceMutationOutput, error)

func (Resolver) UpdatePodMutation

func (r Resolver) UpdatePodMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.Pod, error)

func (Resolver) UpdateReplicaSetMutation

func (r Resolver) UpdateReplicaSetMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.ReplicaSet, error)

func (Resolver) UpdateSecretMutation

func (r Resolver) UpdateSecretMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.Secret, error)

func (Resolver) UpdateServiceMutation

func (r Resolver) UpdateServiceMutation(ctx context.Context, name string, namespace string, update gqlschema.JSON) (*gqlschema.Service, error)

func (*Resolver) WaitForCacheSync

func (r *Resolver) WaitForCacheSync(stopCh <-chan struct{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL