gqlschema

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalTimestamp

func MarshalTimestamp(t time.Time) graphql.Marshaler

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

func UnmarshalTimestamp

func UnmarshalTimestamp(v interface{}) (time.Time, error)

Types

type API

type API struct {
	Name                   string                 `json:"name"`
	Hostname               string                 `json:"hostname"`
	Service                Service                `json:"service"`
	AuthenticationPolicies []AuthenticationPolicy `json:"authenticationPolicies"`
}

type Application

type Application struct {
	Name        string
	Description string
	Labels      Labels
	Services    []ApplicationService
	// contains filtered or unexported fields
}

type ApplicationEntry

type ApplicationEntry struct {
	Type        string  `json:"type"`
	GatewayURL  *string `json:"gatewayUrl"`
	AccessLabel *string `json:"accessLabel"`
}

type ApplicationEvent

type ApplicationEvent struct {
	Type        SubscriptionEventType `json:"type"`
	Application Application           `json:"application"`
}

type ApplicationMapping

type ApplicationMapping struct {
	Namespace   string `json:"namespace"`
	Application string `json:"application"`
}

type ApplicationMutationOutput

type ApplicationMutationOutput struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Labels      Labels `json:"labels"`
}

type ApplicationResolver

type ApplicationResolver interface {
	EnabledInNamespaces(ctx context.Context, obj *Application) ([]string, error)
	Status(ctx context.Context, obj *Application) (ApplicationStatus, error)
}

type ApplicationService

type ApplicationService struct {
	ID                  string             `json:"id"`
	DisplayName         string             `json:"displayName"`
	LongDescription     string             `json:"longDescription"`
	ProviderDisplayName string             `json:"providerDisplayName"`
	Tags                []string           `json:"tags"`
	Entries             []ApplicationEntry `json:"entries"`
}

type ApplicationStatus

type ApplicationStatus string
const (
	ApplicationStatusServing              ApplicationStatus = "SERVING"
	ApplicationStatusNotServing           ApplicationStatus = "NOT_SERVING"
	ApplicationStatusGatewayNotConfigured ApplicationStatus = "GATEWAY_NOT_CONFIGURED"
)

func (ApplicationStatus) IsValid

func (e ApplicationStatus) IsValid() bool

func (ApplicationStatus) MarshalGQL

func (e ApplicationStatus) MarshalGQL(w io.Writer)

func (ApplicationStatus) String

func (e ApplicationStatus) String() string

func (*ApplicationStatus) UnmarshalGQL

func (e *ApplicationStatus) UnmarshalGQL(v interface{}) error

type AuthenticationPolicy

type AuthenticationPolicy struct {
	Type    AuthenticationPolicyType `json:"type"`
	Issuer  string                   `json:"issuer"`
	JwksURI string                   `json:"jwksURI"`
}

type AuthenticationPolicyType

type AuthenticationPolicyType string
const (
	AuthenticationPolicyTypeJwt AuthenticationPolicyType = "JWT"
)

func (AuthenticationPolicyType) IsValid

func (e AuthenticationPolicyType) IsValid() bool

func (AuthenticationPolicyType) MarshalGQL

func (e AuthenticationPolicyType) MarshalGQL(w io.Writer)

func (AuthenticationPolicyType) String

func (e AuthenticationPolicyType) String() string

func (*AuthenticationPolicyType) UnmarshalGQL

func (e *AuthenticationPolicyType) UnmarshalGQL(v interface{}) error

type BackendModule

type BackendModule struct {
	Name string `json:"name"`
}

type BindableResourcesOutputItem

type BindableResourcesOutputItem struct {
	Kind        string              `json:"kind"`
	DisplayName string              `json:"displayName"`
	Resources   []UsageKindResource `json:"resources"`
}

type ClusterServiceBroker

type ClusterServiceBroker struct {
	Name              string              `json:"name"`
	Status            ServiceBrokerStatus `json:"status"`
	CreationTimestamp time.Time           `json:"creationTimestamp"`
	URL               string              `json:"url"`
	Labels            Labels              `json:"labels"`
}

type ClusterServiceBrokerEvent

type ClusterServiceBrokerEvent struct {
	Type                 SubscriptionEventType `json:"type"`
	ClusterServiceBroker ClusterServiceBroker  `json:"clusterServiceBroker"`
}

type ClusterServiceClass

type ClusterServiceClass struct {
	Name                string    `json:"name"`
	ExternalName        string    `json:"externalName"`
	DisplayName         *string   `json:"displayName"`
	CreationTimestamp   time.Time `json:"creationTimestamp"`
	Description         string    `json:"description"`
	LongDescription     *string   `json:"longDescription"`
	ImageURL            *string   `json:"imageUrl"`
	DocumentationURL    *string   `json:"documentationUrl"`
	SupportURL          *string   `json:"supportUrl"`
	ProviderDisplayName *string   `json:"providerDisplayName"`
	Tags                []string  `json:"tags"`
	Labels              Labels    `json:"labels"`
}

type ClusterServiceClassResolver

type ClusterServiceClassResolver interface {
	Plans(ctx context.Context, obj *ClusterServiceClass) ([]ClusterServicePlan, error)
	Activated(ctx context.Context, obj *ClusterServiceClass, namespace *string) (bool, error)
	Instances(ctx context.Context, obj *ClusterServiceClass, namespace *string) ([]ServiceInstance, error)
	APISpec(ctx context.Context, obj *ClusterServiceClass) (*JSON, error)
	AsyncAPISpec(ctx context.Context, obj *ClusterServiceClass) (*JSON, error)
	Content(ctx context.Context, obj *ClusterServiceClass) (*JSON, error)
}

type ClusterServicePlan

type ClusterServicePlan struct {
	Name                           string  `json:"name"`
	DisplayName                    *string `json:"displayName"`
	ExternalName                   string  `json:"externalName"`
	Description                    string  `json:"description"`
	RelatedClusterServiceClassName string  `json:"relatedClusterServiceClassName"`
	InstanceCreateParameterSchema  *JSON   `json:"instanceCreateParameterSchema"`
	BindingCreateParameterSchema   *JSON   `json:"bindingCreateParameterSchema"`
}

type ComplexityRoot

type ComplexityRoot struct {
	Api struct {
		Name                   func(childComplexity int) int
		Hostname               func(childComplexity int) int
		Service                func(childComplexity int) int
		AuthenticationPolicies func(childComplexity int) int
	}

	Application struct {
		Name                func(childComplexity int) int
		Description         func(childComplexity int) int
		Labels              func(childComplexity int) int
		Services            func(childComplexity int) int
		EnabledInNamespaces func(childComplexity int) int
		Status              func(childComplexity int) int
	}

	ApplicationEntry struct {
		Type        func(childComplexity int) int
		GatewayUrl  func(childComplexity int) int
		AccessLabel func(childComplexity int) int
	}

	ApplicationEvent struct {
		Type        func(childComplexity int) int
		Application func(childComplexity int) int
	}

	ApplicationMapping struct {
		Namespace   func(childComplexity int) int
		Application func(childComplexity int) int
	}

	ApplicationMutationOutput struct {
		Name        func(childComplexity int) int
		Description func(childComplexity int) int
		Labels      func(childComplexity int) int
	}

	ApplicationService struct {
		Id                  func(childComplexity int) int
		DisplayName         func(childComplexity int) int
		LongDescription     func(childComplexity int) int
		ProviderDisplayName func(childComplexity int) int
		Tags                func(childComplexity int) int
		Entries             func(childComplexity int) int
	}

	AuthenticationPolicy struct {
		Type    func(childComplexity int) int
		Issuer  func(childComplexity int) int
		JwksUri func(childComplexity int) int
	}

	BackendModule struct {
		Name func(childComplexity int) int
	}

	BindableResourcesOutputItem struct {
		Kind        func(childComplexity int) int
		DisplayName func(childComplexity int) int
		Resources   func(childComplexity int) int
	}

	ClusterServiceBroker struct {
		Name              func(childComplexity int) int
		Status            func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Url               func(childComplexity int) int
		Labels            func(childComplexity int) int
	}

	ClusterServiceBrokerEvent struct {
		Type                 func(childComplexity int) int
		ClusterServiceBroker func(childComplexity int) int
	}

	ClusterServiceClass struct {
		Name                func(childComplexity int) int
		ExternalName        func(childComplexity int) int
		DisplayName         func(childComplexity int) int
		CreationTimestamp   func(childComplexity int) int
		Description         func(childComplexity int) int
		LongDescription     func(childComplexity int) int
		ImageUrl            func(childComplexity int) int
		DocumentationUrl    func(childComplexity int) int
		SupportUrl          func(childComplexity int) int
		ProviderDisplayName func(childComplexity int) int
		Tags                func(childComplexity int) int
		Labels              func(childComplexity int) int
		Plans               func(childComplexity int) int
		Activated           func(childComplexity int, namespace *string) int
		Instances           func(childComplexity int, namespace *string) int
		ApiSpec             func(childComplexity int) int
		AsyncApiSpec        func(childComplexity int) int
		Content             func(childComplexity int) int
	}

	ClusterServicePlan struct {
		Name                           func(childComplexity int) int
		DisplayName                    func(childComplexity int) int
		ExternalName                   func(childComplexity int) int
		Description                    func(childComplexity int) int
		RelatedClusterServiceClassName func(childComplexity int) int
		InstanceCreateParameterSchema  func(childComplexity int) int
		BindingCreateParameterSchema   func(childComplexity int) int
	}

	ConnectorService struct {
		Url func(childComplexity int) int
	}

	Container struct {
		Name  func(childComplexity int) int
		Image func(childComplexity int) int
	}

	ContainerState struct {
		State   func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	CreateServiceBindingOutput struct {
		Name                func(childComplexity int) int
		ServiceInstanceName func(childComplexity int) int
		Namespace           func(childComplexity int) int
	}

	DeleteApplicationOutput struct {
		Name func(childComplexity int) int
	}

	DeleteServiceBindingOutput struct {
		Name      func(childComplexity int) int
		Namespace func(childComplexity int) int
	}

	DeleteServiceBindingUsageOutput struct {
		Name      func(childComplexity int) int
		Namespace func(childComplexity int) int
	}

	Deployment struct {
		Name                      func(childComplexity int) int
		Namespace                 func(childComplexity int) int
		CreationTimestamp         func(childComplexity int) int
		Status                    func(childComplexity int) int
		Labels                    func(childComplexity int) int
		Containers                func(childComplexity int) int
		BoundServiceInstanceNames func(childComplexity int) int
	}

	DeploymentCondition struct {
		Status                  func(childComplexity int) int
		Type                    func(childComplexity int) int
		LastTransitionTimestamp func(childComplexity int) int
		LastUpdateTimestamp     func(childComplexity int) int
		Message                 func(childComplexity int) int
		Reason                  func(childComplexity int) int
	}

	DeploymentStatus struct {
		Replicas          func(childComplexity int) int
		UpdatedReplicas   func(childComplexity int) int
		ReadyReplicas     func(childComplexity int) int
		AvailableReplicas func(childComplexity int) int
		Conditions        func(childComplexity int) int
	}

	EnvPrefix struct {
		Name func(childComplexity int) int
	}

	EventActivation struct {
		Name        func(childComplexity int) int
		DisplayName func(childComplexity int) int
		SourceId    func(childComplexity int) int
		Events      func(childComplexity int) int
	}

	EventActivationEvent struct {
		EventType   func(childComplexity int) int
		Version     func(childComplexity int) int
		Description func(childComplexity int) int
	}

	ExceededQuota struct {
		QuotaName         func(childComplexity int) int
		ResourceName      func(childComplexity int) int
		AffectedResources func(childComplexity int) int
	}

	Function struct {
		Name              func(childComplexity int) int
		Trigger           func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Labels            func(childComplexity int) int
		Namespace         func(childComplexity int) int
	}

	Idppreset struct {
		Name    func(childComplexity int) int
		Issuer  func(childComplexity int) int
		JwksUri func(childComplexity int) int
	}

	LimitRange struct {
		Name   func(childComplexity int) int
		Limits func(childComplexity int) int
	}

	LimitRangeItem struct {
		LimitType      func(childComplexity int) int
		Max            func(childComplexity int) int
		Default        func(childComplexity int) int
		DefaultRequest func(childComplexity int) int
	}

	LocalObjectReference struct {
		Kind func(childComplexity int) int
		Name func(childComplexity int) int
	}

	Mutation struct {
		CreateServiceInstance     func(childComplexity int, params ServiceInstanceCreateInput) int
		DeleteServiceInstance     func(childComplexity int, name string, namespace string) int
		CreateServiceBinding      func(childComplexity int, serviceBindingName *string, serviceInstanceName string, namespace string, parameters *JSON) int
		DeleteServiceBinding      func(childComplexity int, serviceBindingName string, namespace string) int
		CreateServiceBindingUsage func(childComplexity int, createServiceBindingUsageInput *CreateServiceBindingUsageInput) int
		DeleteServiceBindingUsage func(childComplexity int, serviceBindingUsageName string, namespace string) int
		CreateApplication         func(childComplexity int, name string, description *string, labels *Labels) int
		UpdateApplication         func(childComplexity int, name string, description *string, labels *Labels) int
		DeleteApplication         func(childComplexity int, name string) int
		EnableApplication         func(childComplexity int, application string, namespace string) int
		DisableApplication        func(childComplexity int, application string, namespace string) int
		UpdatePod                 func(childComplexity int, name string, namespace string, pod JSON) int
		DeletePod                 func(childComplexity int, name string, namespace string) int
		UpdateReplicaSet          func(childComplexity int, name string, namespace string, replicaSet JSON) int
		DeleteReplicaSet          func(childComplexity int, name string, namespace string) int
		CreateIdppreset           func(childComplexity int, name string, issuer string, jwksUri string) int
		DeleteIdppreset           func(childComplexity int, name string) int
	}

	Namespace struct {
		Name         func(childComplexity int) int
		Applications func(childComplexity int) int
	}

	Pod struct {
		Name              func(childComplexity int) int
		NodeName          func(childComplexity int) int
		Namespace         func(childComplexity int) int
		RestartCount      func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Labels            func(childComplexity int) int
		Status            func(childComplexity int) int
		ContainerStates   func(childComplexity int) int
		Json              func(childComplexity int) int
	}

	PodEvent struct {
		Type func(childComplexity int) int
		Pod  func(childComplexity int) int
	}

	Query struct {
		ServiceInstance       func(childComplexity int, name string, namespace string) int
		ServiceInstances      func(childComplexity int, namespace string, first *int, offset *int, status *InstanceStatusType) int
		ClusterServiceClasses func(childComplexity int, first *int, offset *int) int
		ClusterServiceClass   func(childComplexity int, name string) int
		ServiceClasses        func(childComplexity int, namespace string, first *int, offset *int) int
		ServiceClass          func(childComplexity int, namespace string, name string) int
		ClusterServiceBrokers func(childComplexity int, first *int, offset *int) int
		ClusterServiceBroker  func(childComplexity int, name string) int
		ServiceBrokers        func(childComplexity int, namespace string, first *int, offset *int) int
		ServiceBroker         func(childComplexity int, name string, namespace string) int
		ServiceBindingUsage   func(childComplexity int, name string, namespace string) int
		ServiceBinding        func(childComplexity int, name string, namespace string) int
		UsageKinds            func(childComplexity int, first *int, offset *int) int
		BindableResources     func(childComplexity int, namespace string) int
		Apis                  func(childComplexity int, namespace string, serviceName *string, hostname *string) int
		Application           func(childComplexity int, name string) int
		Applications          func(childComplexity int, namespace *string, first *int, offset *int) int
		ConnectorService      func(childComplexity int, application string) int
		Namespaces            func(childComplexity int, application *string) int
		Deployments           func(childComplexity int, namespace string, excludeFunctions *bool) int
		Pod                   func(childComplexity int, name string, namespace string) int
		Pods                  func(childComplexity int, namespace string, first *int, offset *int) int
		ReplicaSet            func(childComplexity int, name string, namespace string) int
		ReplicaSets           func(childComplexity int, namespace string, first *int, offset *int) int
		ResourceQuotas        func(childComplexity int, namespace string) int
		ResourceQuotasStatus  func(childComplexity int, namespace string) int
		Functions             func(childComplexity int, namespace string, first *int, offset *int) int
		Content               func(childComplexity int, contentType string, id string) int
		Topics                func(childComplexity int, input []InputTopic, internal *bool) int
		EventActivations      func(childComplexity int, namespace string) int
		LimitRanges           func(childComplexity int, namespace string) int
		BackendModules        func(childComplexity int) int
		Idppreset             func(childComplexity int, name string) int
		Idppresets            func(childComplexity int, first *int, offset *int) int
	}

	ReplicaSet struct {
		Name              func(childComplexity int) int
		Pods              func(childComplexity int) int
		Namespace         func(childComplexity int) int
		Images            func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Labels            func(childComplexity int) int
		Json              func(childComplexity int) int
	}

	ResourceQuota struct {
		Name     func(childComplexity int) int
		Pods     func(childComplexity int) int
		Limits   func(childComplexity int) int
		Requests func(childComplexity int) int
	}

	ResourceQuotasStatus struct {
		Exceeded       func(childComplexity int) int
		ExceededQuotas func(childComplexity int) int
	}

	ResourceType struct {
		Memory func(childComplexity int) int
		Cpu    func(childComplexity int) int
	}

	ResourceValues struct {
		Memory func(childComplexity int) int
		Cpu    func(childComplexity int) int
	}

	Secret struct {
		Name      func(childComplexity int) int
		Namespace func(childComplexity int) int
		Data      func(childComplexity int) int
	}

	Section struct {
		Name      func(childComplexity int) int
		Anchor    func(childComplexity int) int
		Titles    func(childComplexity int) int
		TopicType func(childComplexity int) int
	}

	Service struct {
		Name func(childComplexity int) int
		Port func(childComplexity int) int
	}

	ServiceBinding struct {
		Name                func(childComplexity int) int
		ServiceInstanceName func(childComplexity int) int
		Namespace           func(childComplexity int) int
		Secret              func(childComplexity int) int
		Status              func(childComplexity int) int
		Parameters          func(childComplexity int) int
	}

	ServiceBindingEvent struct {
		Type           func(childComplexity int) int
		ServiceBinding func(childComplexity int) int
	}

	ServiceBindingStatus struct {
		Type    func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	ServiceBindingUsage struct {
		Name           func(childComplexity int) int
		Namespace      func(childComplexity int) int
		ServiceBinding func(childComplexity int) int
		UsedBy         func(childComplexity int) int
		Parameters     func(childComplexity int) int
		Status         func(childComplexity int) int
	}

	ServiceBindingUsageEvent struct {
		Type                func(childComplexity int) int
		ServiceBindingUsage func(childComplexity int) int
	}

	ServiceBindingUsageParameters struct {
		EnvPrefix func(childComplexity int) int
	}

	ServiceBindingUsageStatus struct {
		Type    func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	ServiceBindings struct {
		Items func(childComplexity int) int
		Stats func(childComplexity int) int
	}

	ServiceBindingsStats struct {
		Ready   func(childComplexity int) int
		Failed  func(childComplexity int) int
		Pending func(childComplexity int) int
		Unknown func(childComplexity int) int
	}

	ServiceBroker struct {
		Name              func(childComplexity int) int
		Namespace         func(childComplexity int) int
		Status            func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Url               func(childComplexity int) int
		Labels            func(childComplexity int) int
	}

	ServiceBrokerEvent struct {
		Type          func(childComplexity int) int
		ServiceBroker func(childComplexity int) int
	}

	ServiceBrokerStatus struct {
		Ready   func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	ServiceClass struct {
		Name                func(childComplexity int) int
		Namespace           func(childComplexity int) int
		ExternalName        func(childComplexity int) int
		DisplayName         func(childComplexity int) int
		CreationTimestamp   func(childComplexity int) int
		Description         func(childComplexity int) int
		LongDescription     func(childComplexity int) int
		ImageUrl            func(childComplexity int) int
		DocumentationUrl    func(childComplexity int) int
		SupportUrl          func(childComplexity int) int
		ProviderDisplayName func(childComplexity int) int
		Tags                func(childComplexity int) int
		Labels              func(childComplexity int) int
		Plans               func(childComplexity int) int
		Activated           func(childComplexity int) int
		Instances           func(childComplexity int) int
		ApiSpec             func(childComplexity int) int
		AsyncApiSpec        func(childComplexity int) int
		Content             func(childComplexity int) int
	}

	ServiceInstance struct {
		Name                 func(childComplexity int) int
		Namespace            func(childComplexity int) int
		PlanSpec             func(childComplexity int) int
		CreationTimestamp    func(childComplexity int) int
		Labels               func(childComplexity int) int
		Status               func(childComplexity int) int
		ClassReference       func(childComplexity int) int
		PlanReference        func(childComplexity int) int
		ServiceClass         func(childComplexity int) int
		ClusterServiceClass  func(childComplexity int) int
		ServicePlan          func(childComplexity int) int
		ClusterServicePlan   func(childComplexity int) int
		Bindable             func(childComplexity int) int
		ServiceBindings      func(childComplexity int) int
		ServiceBindingUsages func(childComplexity int) int
	}

	ServiceInstanceEvent struct {
		Type            func(childComplexity int) int
		ServiceInstance func(childComplexity int) int
	}

	ServiceInstanceResourceRef struct {
		Name        func(childComplexity int) int
		DisplayName func(childComplexity int) int
		ClusterWide func(childComplexity int) int
	}

	ServiceInstanceStatus struct {
		Type    func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	ServicePlan struct {
		Name                          func(childComplexity int) int
		Namespace                     func(childComplexity int) int
		DisplayName                   func(childComplexity int) int
		ExternalName                  func(childComplexity int) int
		Description                   func(childComplexity int) int
		RelatedServiceClassName       func(childComplexity int) int
		InstanceCreateParameterSchema func(childComplexity int) int
		BindingCreateParameterSchema  func(childComplexity int) int
	}

	Subscription struct {
		ServiceInstanceEvent      func(childComplexity int, namespace string) int
		ServiceBindingEvent       func(childComplexity int, namespace string) int
		ServiceBindingUsageEvent  func(childComplexity int, namespace string) int
		ServiceBrokerEvent        func(childComplexity int, namespace string) int
		ClusterServiceBrokerEvent func(childComplexity int) int
		ApplicationEvent          func(childComplexity int) int
		PodEvent                  func(childComplexity int, namespace string) int
	}

	Title struct {
		Name   func(childComplexity int) int
		Anchor func(childComplexity int) int
		Titles func(childComplexity int) int
	}

	TopicEntry struct {
		ContentType func(childComplexity int) int
		Id          func(childComplexity int) int
		Sections    func(childComplexity int) int
	}

	UsageKind struct {
		Name        func(childComplexity int) int
		Group       func(childComplexity int) int
		Kind        func(childComplexity int) int
		Version     func(childComplexity int) int
		DisplayName func(childComplexity int) int
	}

	UsageKindResource struct {
		Name      func(childComplexity int) int
		Namespace func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type ConnectorService

type ConnectorService struct {
	URL string `json:"url"`
}

type Container

type Container struct {
	Name  string `json:"name"`
	Image string `json:"image"`
}

type ContainerState

type ContainerState struct {
	State   ContainerStateType `json:"state"`
	Reason  string             `json:"reason"`
	Message string             `json:"message"`
}

type ContainerStateType

type ContainerStateType string
const (
	ContainerStateTypeWaiting    ContainerStateType = "WAITING"
	ContainerStateTypeRunning    ContainerStateType = "RUNNING"
	ContainerStateTypeTerminated ContainerStateType = "TERMINATED"
)

func (ContainerStateType) IsValid

func (e ContainerStateType) IsValid() bool

func (ContainerStateType) MarshalGQL

func (e ContainerStateType) MarshalGQL(w io.Writer)

func (ContainerStateType) String

func (e ContainerStateType) String() string

func (*ContainerStateType) UnmarshalGQL

func (e *ContainerStateType) UnmarshalGQL(v interface{}) error

type CreateServiceBindingOutput

type CreateServiceBindingOutput struct {
	Name                string `json:"name"`
	ServiceInstanceName string `json:"serviceInstanceName"`
	Namespace           string `json:"namespace"`
}

type CreateServiceBindingUsageInput

type CreateServiceBindingUsageInput struct {
	Name              *string                             `json:"name"`
	Namespace         string                              `json:"namespace"`
	ServiceBindingRef ServiceBindingRefInput              `json:"serviceBindingRef"`
	UsedBy            LocalObjectReferenceInput           `json:"usedBy"`
	Parameters        *ServiceBindingUsageParametersInput `json:"parameters"`
}

func UnmarshalCreateServiceBindingUsageInput

func UnmarshalCreateServiceBindingUsageInput(v interface{}) (CreateServiceBindingUsageInput, error)

type DeleteApplicationOutput

type DeleteApplicationOutput struct {
	Name string `json:"name"`
}

type DeleteServiceBindingOutput

type DeleteServiceBindingOutput struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

type DeleteServiceBindingUsageOutput

type DeleteServiceBindingUsageOutput struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

type Deployment

type Deployment struct {
	Name                      string           `json:"name"`
	Namespace                 string           `json:"namespace"`
	CreationTimestamp         time.Time        `json:"creationTimestamp"`
	Status                    DeploymentStatus `json:"status"`
	Labels                    Labels           `json:"labels"`
	Containers                []Container      `json:"containers"`
	BoundServiceInstanceNames []string         `json:"boundServiceInstanceNames"`
}

type DeploymentCondition

type DeploymentCondition struct {
	Status                  string    `json:"status"`
	Type                    string    `json:"type"`
	LastTransitionTimestamp time.Time `json:"lastTransitionTimestamp"`
	LastUpdateTimestamp     time.Time `json:"lastUpdateTimestamp"`
	Message                 string    `json:"message"`
	Reason                  string    `json:"reason"`
}

type DeploymentResolver

type DeploymentResolver interface {
	BoundServiceInstanceNames(ctx context.Context, obj *Deployment) ([]string, error)
}

type DeploymentStatus

type DeploymentStatus struct {
	Replicas          int                   `json:"replicas"`
	UpdatedReplicas   int                   `json:"updatedReplicas"`
	ReadyReplicas     int                   `json:"readyReplicas"`
	AvailableReplicas int                   `json:"availableReplicas"`
	Conditions        []DeploymentCondition `json:"conditions"`
}

type DirectiveRoot

type DirectiveRoot struct {
	HasAccess func(ctx context.Context, obj interface{}, next graphql.Resolver, attributes ResourceAttributes) (res interface{}, err error)
}

type EnvPrefix

type EnvPrefix struct {
	Name string `json:"name"`
}

type EnvPrefixInput

type EnvPrefixInput struct {
	Name string `json:"name"`
}

func UnmarshalEnvPrefixInput

func UnmarshalEnvPrefixInput(v interface{}) (EnvPrefixInput, error)

type EventActivation

type EventActivation struct {
	Name        string
	DisplayName string
	SourceID    string
}

type EventActivationEvent

type EventActivationEvent struct {
	EventType   string `json:"eventType"`
	Version     string `json:"version"`
	Description string `json:"description"`
}

type EventActivationResolver

type EventActivationResolver interface {
	Events(ctx context.Context, obj *EventActivation) ([]EventActivationEvent, error)
}

type ExceededQuota

type ExceededQuota struct {
	QuotaName         string   `json:"quotaName"`
	ResourceName      string   `json:"resourceName"`
	AffectedResources []string `json:"affectedResources"`
}

type Function

type Function struct {
	Name              string    `json:"name"`
	Trigger           string    `json:"trigger"`
	CreationTimestamp time.Time `json:"creationTimestamp"`
	Labels            Labels    `json:"labels"`
	Namespace         string    `json:"namespace"`
}

type IDPPreset

type IDPPreset struct {
	Name    string `json:"name"`
	Issuer  string `json:"issuer"`
	JwksURI string `json:"jwksUri"`
}

type InputTopic

type InputTopic struct {
	ID   string `json:"id"`
	Type string `json:"type"`
}

func UnmarshalInputTopic

func UnmarshalInputTopic(v interface{}) (InputTopic, error)

type InstanceStatusType

type InstanceStatusType string
const (
	InstanceStatusTypeRunning        InstanceStatusType = "RUNNING"
	InstanceStatusTypeProvisioning   InstanceStatusType = "PROVISIONING"
	InstanceStatusTypeDeprovisioning InstanceStatusType = "DEPROVISIONING"
	InstanceStatusTypePending        InstanceStatusType = "PENDING"
	InstanceStatusTypeFailed         InstanceStatusType = "FAILED"
)

func (InstanceStatusType) IsValid

func (e InstanceStatusType) IsValid() bool

func (InstanceStatusType) MarshalGQL

func (e InstanceStatusType) MarshalGQL(w io.Writer)

func (InstanceStatusType) String

func (e InstanceStatusType) String() string

func (*InstanceStatusType) UnmarshalGQL

func (e *InstanceStatusType) UnmarshalGQL(v interface{}) error

type JSON

type JSON map[string]interface{}

func (JSON) MarshalGQL

func (y JSON) MarshalGQL(w io.Writer)

MarshalGQL implements the graphql.Marshaler interface

func (*JSON) UnmarshalGQL

func (y *JSON) UnmarshalGQL(v interface{}) error

type Labels

type Labels map[string]string

func (Labels) MarshalGQL

func (y Labels) MarshalGQL(w io.Writer)

func (*Labels) UnmarshalGQL

func (y *Labels) UnmarshalGQL(v interface{}) error

type LimitRange

type LimitRange struct {
	Name   string           `json:"name"`
	Limits []LimitRangeItem `json:"limits"`
}

type LimitRangeItem

type LimitRangeItem struct {
	LimitType      LimitType    `json:"limitType"`
	Max            ResourceType `json:"max"`
	Default        ResourceType `json:"default"`
	DefaultRequest ResourceType `json:"defaultRequest"`
}

type LimitType

type LimitType string
const (
	LimitTypeContainer LimitType = "Container"
	LimitTypePod       LimitType = "Pod"
)

func (LimitType) IsValid

func (e LimitType) IsValid() bool

func (LimitType) MarshalGQL

func (e LimitType) MarshalGQL(w io.Writer)

func (LimitType) String

func (e LimitType) String() string

func (*LimitType) UnmarshalGQL

func (e *LimitType) UnmarshalGQL(v interface{}) error

type LocalObjectReference

type LocalObjectReference struct {
	Kind string `json:"kind"`
	Name string `json:"name"`
}

type LocalObjectReferenceInput

type LocalObjectReferenceInput struct {
	Kind string `json:"kind"`
	Name string `json:"name"`
}

func UnmarshalLocalObjectReferenceInput

func UnmarshalLocalObjectReferenceInput(v interface{}) (LocalObjectReferenceInput, error)

type MutationResolver

type MutationResolver interface {
	CreateServiceInstance(ctx context.Context, params ServiceInstanceCreateInput) (*ServiceInstance, error)
	DeleteServiceInstance(ctx context.Context, name string, namespace string) (*ServiceInstance, error)
	CreateServiceBinding(ctx context.Context, serviceBindingName *string, serviceInstanceName string, namespace string, parameters *JSON) (*CreateServiceBindingOutput, error)
	DeleteServiceBinding(ctx context.Context, serviceBindingName string, namespace string) (*DeleteServiceBindingOutput, error)
	CreateServiceBindingUsage(ctx context.Context, createServiceBindingUsageInput *CreateServiceBindingUsageInput) (*ServiceBindingUsage, error)
	DeleteServiceBindingUsage(ctx context.Context, serviceBindingUsageName string, namespace string) (*DeleteServiceBindingUsageOutput, error)
	CreateApplication(ctx context.Context, name string, description *string, labels *Labels) (ApplicationMutationOutput, error)
	UpdateApplication(ctx context.Context, name string, description *string, labels *Labels) (ApplicationMutationOutput, error)
	DeleteApplication(ctx context.Context, name string) (DeleteApplicationOutput, error)
	EnableApplication(ctx context.Context, application string, namespace string) (*ApplicationMapping, error)
	DisableApplication(ctx context.Context, application string, namespace string) (*ApplicationMapping, error)
	UpdatePod(ctx context.Context, name string, namespace string, pod JSON) (*Pod, error)
	DeletePod(ctx context.Context, name string, namespace string) (*Pod, error)
	UpdateReplicaSet(ctx context.Context, name string, namespace string, replicaSet JSON) (*ReplicaSet, error)
	DeleteReplicaSet(ctx context.Context, name string, namespace string) (*ReplicaSet, error)
	CreateIDPPreset(ctx context.Context, name string, issuer string, jwksUri string) (*IDPPreset, error)
	DeleteIDPPreset(ctx context.Context, name string) (*IDPPreset, error)
}

type Namespace

type Namespace struct {
	Name         string   `json:"name"`
	Applications []string `json:"applications"`
}

type NamespaceResolver

type NamespaceResolver interface {
	Applications(ctx context.Context, obj *Namespace) ([]string, error)
}

type Pod

type Pod struct {
	Name              string           `json:"name"`
	NodeName          string           `json:"nodeName"`
	Namespace         string           `json:"namespace"`
	RestartCount      int              `json:"restartCount"`
	CreationTimestamp time.Time        `json:"creationTimestamp"`
	Labels            Labels           `json:"labels"`
	Status            PodStatusType    `json:"status"`
	ContainerStates   []ContainerState `json:"containerStates"`
	JSON              JSON             `json:"json"`
}

type PodEvent

type PodEvent struct {
	Type SubscriptionEventType `json:"type"`
	Pod  Pod                   `json:"pod"`
}

type PodStatusType

type PodStatusType string
const (
	PodStatusTypePending   PodStatusType = "PENDING"
	PodStatusTypeRunning   PodStatusType = "RUNNING"
	PodStatusTypeSucceeded PodStatusType = "SUCCEEDED"
	PodStatusTypeFailed    PodStatusType = "FAILED"
	PodStatusTypeUnknown   PodStatusType = "UNKNOWN"
)

func (PodStatusType) IsValid

func (e PodStatusType) IsValid() bool

func (PodStatusType) MarshalGQL

func (e PodStatusType) MarshalGQL(w io.Writer)

func (PodStatusType) String

func (e PodStatusType) String() string

func (*PodStatusType) UnmarshalGQL

func (e *PodStatusType) UnmarshalGQL(v interface{}) error

type QueryResolver

type QueryResolver interface {
	ServiceInstance(ctx context.Context, name string, namespace string) (*ServiceInstance, error)
	ServiceInstances(ctx context.Context, namespace string, first *int, offset *int, status *InstanceStatusType) ([]ServiceInstance, error)
	ClusterServiceClasses(ctx context.Context, first *int, offset *int) ([]ClusterServiceClass, error)
	ClusterServiceClass(ctx context.Context, name string) (*ClusterServiceClass, error)
	ServiceClasses(ctx context.Context, namespace string, first *int, offset *int) ([]ServiceClass, error)
	ServiceClass(ctx context.Context, namespace string, name string) (*ServiceClass, error)
	ClusterServiceBrokers(ctx context.Context, first *int, offset *int) ([]ClusterServiceBroker, error)
	ClusterServiceBroker(ctx context.Context, name string) (*ClusterServiceBroker, error)
	ServiceBrokers(ctx context.Context, namespace string, first *int, offset *int) ([]ServiceBroker, error)
	ServiceBroker(ctx context.Context, name string, namespace string) (*ServiceBroker, error)
	ServiceBindingUsage(ctx context.Context, name string, namespace string) (*ServiceBindingUsage, error)
	ServiceBinding(ctx context.Context, name string, namespace string) (*ServiceBinding, error)
	UsageKinds(ctx context.Context, first *int, offset *int) ([]UsageKind, error)
	BindableResources(ctx context.Context, namespace string) ([]BindableResourcesOutputItem, error)
	Apis(ctx context.Context, namespace string, serviceName *string, hostname *string) ([]API, error)
	Application(ctx context.Context, name string) (*Application, error)
	Applications(ctx context.Context, namespace *string, first *int, offset *int) ([]Application, error)
	ConnectorService(ctx context.Context, application string) (ConnectorService, error)
	Namespaces(ctx context.Context, application *string) ([]Namespace, error)
	Deployments(ctx context.Context, namespace string, excludeFunctions *bool) ([]Deployment, error)
	Pod(ctx context.Context, name string, namespace string) (*Pod, error)
	Pods(ctx context.Context, namespace string, first *int, offset *int) ([]Pod, error)
	ReplicaSet(ctx context.Context, name string, namespace string) (*ReplicaSet, error)
	ReplicaSets(ctx context.Context, namespace string, first *int, offset *int) ([]ReplicaSet, error)
	ResourceQuotas(ctx context.Context, namespace string) ([]ResourceQuota, error)
	ResourceQuotasStatus(ctx context.Context, namespace string) (ResourceQuotasStatus, error)
	Functions(ctx context.Context, namespace string, first *int, offset *int) ([]Function, error)
	Content(ctx context.Context, contentType string, id string) (*JSON, error)
	Topics(ctx context.Context, input []InputTopic, internal *bool) ([]TopicEntry, error)
	EventActivations(ctx context.Context, namespace string) ([]EventActivation, error)
	LimitRanges(ctx context.Context, namespace string) ([]LimitRange, error)
	BackendModules(ctx context.Context) ([]BackendModule, error)
	IDPPreset(ctx context.Context, name string) (*IDPPreset, error)
	IDPPresets(ctx context.Context, first *int, offset *int) ([]IDPPreset, error)
}

type ReplicaSet

type ReplicaSet struct {
	Name              string    `json:"name"`
	Pods              string    `json:"pods"`
	Namespace         string    `json:"namespace"`
	Images            []string  `json:"images"`
	CreationTimestamp time.Time `json:"creationTimestamp"`
	Labels            Labels    `json:"labels"`
	JSON              JSON      `json:"json"`
}

type ResolverRoot

type ResolverRoot interface {
	Application() ApplicationResolver
	ClusterServiceClass() ClusterServiceClassResolver
	Deployment() DeploymentResolver
	EventActivation() EventActivationResolver
	Mutation() MutationResolver
	Namespace() NamespaceResolver
	Query() QueryResolver
	ServiceBinding() ServiceBindingResolver
	ServiceBindingUsage() ServiceBindingUsageResolver
	ServiceClass() ServiceClassResolver
	ServiceInstance() ServiceInstanceResolver
	Subscription() SubscriptionResolver
}

type ResourceAttributes

type ResourceAttributes struct {
	Verb            string  `json:"verb"`
	APIGroup        string  `json:"apiGroup"`
	APIVersion      string  `json:"apiVersion"`
	Resource        string  `json:"resource"`
	Subresource     string  `json:"subresource"`
	NameArg         *string `json:"nameArg"`
	NamespaceArg    *string `json:"namespaceArg"`
	IsChildResolver bool    `json:"isChildResolver"`
}

func UnmarshalResourceAttributes

func UnmarshalResourceAttributes(v interface{}) (ResourceAttributes, error)

type ResourceQuota

type ResourceQuota struct {
	Name     string         `json:"name"`
	Pods     *string        `json:"pods"`
	Limits   ResourceValues `json:"limits"`
	Requests ResourceValues `json:"requests"`
}

type ResourceQuotasStatus

type ResourceQuotasStatus struct {
	Exceeded       bool            `json:"exceeded"`
	ExceededQuotas []ExceededQuota `json:"exceededQuotas"`
}

type ResourceType

type ResourceType struct {
	Memory *string `json:"memory"`
	CPU    *string `json:"cpu"`
}

type ResourceValues

type ResourceValues struct {
	Memory *string `json:"memory"`
	CPU    *string `json:"cpu"`
}

type Secret

type Secret struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Data      JSON   `json:"data"`
}

type Section

type Section struct {
	Name      string
	Anchor    string
	TopicType string
	Titles    []Title
}

type Service

type Service struct {
	Name string `json:"name"`
	Port int    `json:"port"`
}

type ServiceBinding

type ServiceBinding struct {
	Name                string
	ServiceInstanceName string
	Namespace           string
	SecretName          string
	Status              ServiceBindingStatus
	Parameters          JSON
}

type ServiceBindingEvent

type ServiceBindingEvent struct {
	Type           SubscriptionEventType `json:"type"`
	ServiceBinding ServiceBinding        `json:"serviceBinding"`
}

type ServiceBindingRefInput

type ServiceBindingRefInput struct {
	Name string `json:"name"`
}

func UnmarshalServiceBindingRefInput

func UnmarshalServiceBindingRefInput(v interface{}) (ServiceBindingRefInput, error)

type ServiceBindingResolver

type ServiceBindingResolver interface {
	Secret(ctx context.Context, obj *ServiceBinding) (*Secret, error)
}

type ServiceBindingStatus

type ServiceBindingStatus struct {
	Type    ServiceBindingStatusType `json:"type"`
	Reason  string                   `json:"reason"`
	Message string                   `json:"message"`
}

type ServiceBindingStatusType

type ServiceBindingStatusType string
const (
	ServiceBindingStatusTypeReady   ServiceBindingStatusType = "READY"
	ServiceBindingStatusTypePending ServiceBindingStatusType = "PENDING"
	ServiceBindingStatusTypeFailed  ServiceBindingStatusType = "FAILED"
	ServiceBindingStatusTypeUnknown ServiceBindingStatusType = "UNKNOWN"
)

func (ServiceBindingStatusType) IsValid

func (e ServiceBindingStatusType) IsValid() bool

func (ServiceBindingStatusType) MarshalGQL

func (e ServiceBindingStatusType) MarshalGQL(w io.Writer)

func (ServiceBindingStatusType) String

func (e ServiceBindingStatusType) String() string

func (*ServiceBindingStatusType) UnmarshalGQL

func (e *ServiceBindingStatusType) UnmarshalGQL(v interface{}) error

type ServiceBindingUsage

type ServiceBindingUsage struct {
	Name               string
	Namespace          string
	ServiceBindingName string
	UsedBy             LocalObjectReference
	Status             ServiceBindingUsageStatus
	Parameters         *ServiceBindingUsageParameters
}

type ServiceBindingUsageEvent

type ServiceBindingUsageEvent struct {
	Type                SubscriptionEventType `json:"type"`
	ServiceBindingUsage ServiceBindingUsage   `json:"serviceBindingUsage"`
}

type ServiceBindingUsageParameters

type ServiceBindingUsageParameters struct {
	EnvPrefix *EnvPrefix `json:"envPrefix"`
}

type ServiceBindingUsageParametersInput

type ServiceBindingUsageParametersInput struct {
	EnvPrefix *EnvPrefixInput `json:"envPrefix"`
}

func UnmarshalServiceBindingUsageParametersInput

func UnmarshalServiceBindingUsageParametersInput(v interface{}) (ServiceBindingUsageParametersInput, error)

type ServiceBindingUsageResolver

type ServiceBindingUsageResolver interface {
	ServiceBinding(ctx context.Context, obj *ServiceBindingUsage) (*ServiceBinding, error)
}

type ServiceBindingUsageStatus

type ServiceBindingUsageStatus struct {
	Type    ServiceBindingUsageStatusType `json:"type"`
	Reason  string                        `json:"reason"`
	Message string                        `json:"message"`
}

type ServiceBindingUsageStatusType

type ServiceBindingUsageStatusType string
const (
	ServiceBindingUsageStatusTypeReady   ServiceBindingUsageStatusType = "READY"
	ServiceBindingUsageStatusTypePending ServiceBindingUsageStatusType = "PENDING"
	ServiceBindingUsageStatusTypeFailed  ServiceBindingUsageStatusType = "FAILED"
	ServiceBindingUsageStatusTypeUnknown ServiceBindingUsageStatusType = "UNKNOWN"
)

func (ServiceBindingUsageStatusType) IsValid

func (e ServiceBindingUsageStatusType) IsValid() bool

func (ServiceBindingUsageStatusType) MarshalGQL

func (e ServiceBindingUsageStatusType) MarshalGQL(w io.Writer)

func (ServiceBindingUsageStatusType) String

func (*ServiceBindingUsageStatusType) UnmarshalGQL

func (e *ServiceBindingUsageStatusType) UnmarshalGQL(v interface{}) error

type ServiceBindings

type ServiceBindings struct {
	Items []ServiceBinding     `json:"items"`
	Stats ServiceBindingsStats `json:"stats"`
}

type ServiceBindingsStats

type ServiceBindingsStats struct {
	Ready   int `json:"ready"`
	Failed  int `json:"failed"`
	Pending int `json:"pending"`
	Unknown int `json:"unknown"`
}

type ServiceBroker

type ServiceBroker struct {
	Name              string              `json:"name"`
	Namespace         string              `json:"namespace"`
	Status            ServiceBrokerStatus `json:"status"`
	CreationTimestamp time.Time           `json:"creationTimestamp"`
	URL               string              `json:"url"`
	Labels            Labels              `json:"labels"`
}

type ServiceBrokerEvent

type ServiceBrokerEvent struct {
	Type          SubscriptionEventType `json:"type"`
	ServiceBroker ServiceBroker         `json:"serviceBroker"`
}

type ServiceBrokerStatus

type ServiceBrokerStatus struct {
	Ready   bool   `json:"ready"`
	Reason  string `json:"reason"`
	Message string `json:"message"`
}

type ServiceClass

type ServiceClass struct {
	Name                string    `json:"name"`
	Namespace           string    `json:"namespace"`
	ExternalName        string    `json:"externalName"`
	DisplayName         *string   `json:"displayName"`
	CreationTimestamp   time.Time `json:"creationTimestamp"`
	Description         string    `json:"description"`
	LongDescription     *string   `json:"longDescription"`
	ImageURL            *string   `json:"imageUrl"`
	DocumentationURL    *string   `json:"documentationUrl"`
	SupportURL          *string   `json:"supportUrl"`
	ProviderDisplayName *string   `json:"providerDisplayName"`
	Tags                []string  `json:"tags"`
	Labels              Labels    `json:"labels"`
}

type ServiceClassResolver

type ServiceClassResolver interface {
	Plans(ctx context.Context, obj *ServiceClass) ([]ServicePlan, error)
	Activated(ctx context.Context, obj *ServiceClass) (bool, error)
	Instances(ctx context.Context, obj *ServiceClass) ([]ServiceInstance, error)
	APISpec(ctx context.Context, obj *ServiceClass) (*JSON, error)
	AsyncAPISpec(ctx context.Context, obj *ServiceClass) (*JSON, error)
	Content(ctx context.Context, obj *ServiceClass) (*JSON, error)
}

type ServiceInstance

type ServiceInstance struct {
	Name              string                      `json:"name"`
	Namespace         string                      `json:"namespace"`
	ClassReference    *ServiceInstanceResourceRef `json:"classReference"`
	PlanReference     *ServiceInstanceResourceRef `json:"planReference"`
	PlanSpec          *JSON                       `json:"planSpec"`
	CreationTimestamp time.Time                   `json:"creationTimestamp"`
	Labels            []string                    `json:"labels"`
	Status            ServiceInstanceStatus       `json:"status"`
}

type ServiceInstanceCreateInput

type ServiceInstanceCreateInput struct {
	Name            string                                `json:"name"`
	Namespace       string                                `json:"namespace"`
	ClassRef        ServiceInstanceCreateInputResourceRef `json:"classRef"`
	PlanRef         ServiceInstanceCreateInputResourceRef `json:"planRef"`
	Labels          []string                              `json:"labels"`
	ParameterSchema *JSON                                 `json:"parameterSchema"`
}

func UnmarshalServiceInstanceCreateInput

func UnmarshalServiceInstanceCreateInput(v interface{}) (ServiceInstanceCreateInput, error)

type ServiceInstanceCreateInputResourceRef

type ServiceInstanceCreateInputResourceRef struct {
	ExternalName string `json:"externalName"`
	ClusterWide  bool   `json:"clusterWide"`
}

func UnmarshalServiceInstanceCreateInputResourceRef

func UnmarshalServiceInstanceCreateInputResourceRef(v interface{}) (ServiceInstanceCreateInputResourceRef, error)

type ServiceInstanceEvent

type ServiceInstanceEvent struct {
	Type            SubscriptionEventType `json:"type"`
	ServiceInstance ServiceInstance       `json:"serviceInstance"`
}

type ServiceInstanceResolver

type ServiceInstanceResolver interface {
	ServiceClass(ctx context.Context, obj *ServiceInstance) (*ServiceClass, error)
	ClusterServiceClass(ctx context.Context, obj *ServiceInstance) (*ClusterServiceClass, error)
	ServicePlan(ctx context.Context, obj *ServiceInstance) (*ServicePlan, error)
	ClusterServicePlan(ctx context.Context, obj *ServiceInstance) (*ClusterServicePlan, error)
	Bindable(ctx context.Context, obj *ServiceInstance) (bool, error)
	ServiceBindings(ctx context.Context, obj *ServiceInstance) (*ServiceBindings, error)
	ServiceBindingUsages(ctx context.Context, obj *ServiceInstance) ([]ServiceBindingUsage, error)
}

type ServiceInstanceResourceRef

type ServiceInstanceResourceRef struct {
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
	ClusterWide bool   `json:"clusterWide"`
}

type ServiceInstanceStatus

type ServiceInstanceStatus struct {
	Type    InstanceStatusType `json:"type"`
	Reason  string             `json:"reason"`
	Message string             `json:"message"`
}

type ServicePlan

type ServicePlan struct {
	Name                          string  `json:"name"`
	Namespace                     string  `json:"namespace"`
	DisplayName                   *string `json:"displayName"`
	ExternalName                  string  `json:"externalName"`
	Description                   string  `json:"description"`
	RelatedServiceClassName       string  `json:"relatedServiceClassName"`
	InstanceCreateParameterSchema *JSON   `json:"instanceCreateParameterSchema"`
	BindingCreateParameterSchema  *JSON   `json:"bindingCreateParameterSchema"`
}

type SubscriptionEventType

type SubscriptionEventType string
const (
	SubscriptionEventTypeAdd    SubscriptionEventType = "ADD"
	SubscriptionEventTypeUpdate SubscriptionEventType = "UPDATE"
	SubscriptionEventTypeDelete SubscriptionEventType = "DELETE"
)

func (SubscriptionEventType) IsValid

func (e SubscriptionEventType) IsValid() bool

func (SubscriptionEventType) MarshalGQL

func (e SubscriptionEventType) MarshalGQL(w io.Writer)

func (SubscriptionEventType) String

func (e SubscriptionEventType) String() string

func (*SubscriptionEventType) UnmarshalGQL

func (e *SubscriptionEventType) UnmarshalGQL(v interface{}) error

type SubscriptionResolver

type SubscriptionResolver interface {
	ServiceInstanceEvent(ctx context.Context, namespace string) (<-chan ServiceInstanceEvent, error)
	ServiceBindingEvent(ctx context.Context, namespace string) (<-chan ServiceBindingEvent, error)
	ServiceBindingUsageEvent(ctx context.Context, namespace string) (<-chan ServiceBindingUsageEvent, error)
	ServiceBrokerEvent(ctx context.Context, namespace string) (<-chan ServiceBrokerEvent, error)
	ClusterServiceBrokerEvent(ctx context.Context) (<-chan ClusterServiceBrokerEvent, error)
	ApplicationEvent(ctx context.Context) (<-chan ApplicationEvent, error)
	PodEvent(ctx context.Context, namespace string) (<-chan PodEvent, error)
}

type Title

type Title struct {
	Name   string
	Anchor string
	Titles []Title
}

type TopicEntry

type TopicEntry struct {
	ContentType string
	ID          string
	Sections    []Section
}

type UsageKind

type UsageKind struct {
	Name        string `json:"name"`
	Group       string `json:"group"`
	Kind        string `json:"kind"`
	Version     string `json:"version"`
	DisplayName string `json:"displayName"`
}

type UsageKindResource

type UsageKindResource struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

Jump to

Keyboard shortcuts

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