gqlschema

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: 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                ApiService             `json:"service"`
	AuthenticationPolicies []AuthenticationPolicy `json:"authenticationPolicies"`
	CreationTimestamp      time.Time              `json:"creationTimestamp"`
}

type APIInput

type APIInput struct {
	Hostname                   string `json:"hostname"`
	ServiceName                string `json:"serviceName"`
	ServicePort                int    `json:"servicePort"`
	JwksURI                    string `json:"jwksUri"`
	Issuer                     string `json:"issuer"`
	DisableIstioAuthPolicyMTLS *bool  `json:"disableIstioAuthPolicyMTLS"`
	AuthenticationEnabled      *bool  `json:"authenticationEnabled"`
}

func UnmarshalAPIInput

func UnmarshalAPIInput(v interface{}) (APIInput, error)

type APIRule

type APIRule struct {
	Name    string          `json:"name"`
	Service APIRuleService  `json:"service"`
	Gateway string          `json:"gateway"`
	Rules   []Rule          `json:"rules"`
	Status  APIRuleStatuses `json:"status"`
}

type APIRuleConfig

type APIRuleConfig struct {
	Name   string `json:"name"`
	Config JSON   `json:"config"`
}

type APIRuleConfigInput

type APIRuleConfigInput struct {
	Name   string `json:"name"`
	Config JSON   `json:"config"`
}

func UnmarshalAPIRuleConfigInput

func UnmarshalAPIRuleConfigInput(v interface{}) (APIRuleConfigInput, error)

type APIRuleInput

type APIRuleInput struct {
	Host        string      `json:"host"`
	ServiceName string      `json:"serviceName"`
	ServicePort int         `json:"servicePort"`
	Gateway     string      `json:"gateway"`
	Rules       []RuleInput `json:"rules"`
}

func UnmarshalAPIRuleInput

func UnmarshalAPIRuleInput(v interface{}) (APIRuleInput, error)

type APIRuleService

type APIRuleService struct {
	Host string `json:"host"`
	Name string `json:"name"`
	Port int    `json:"port"`
}

type APIRuleStatus

type APIRuleStatus struct {
	Code string  `json:"code"`
	Desc *string `json:"desc"`
}

type APIRuleStatuses

type APIRuleStatuses struct {
	APIRuleStatus        *APIRuleStatus `json:"apiRuleStatus"`
	AccessRuleStatus     *APIRuleStatus `json:"accessRuleStatus"`
	VirtualServiceStatus *APIRuleStatus `json:"virtualServiceStatus"`
}

type AddonsConfiguration

type AddonsConfiguration struct {
	Name         string                          `json:"name"`
	Urls         []string                        `json:"urls"`
	Repositories []AddonsConfigurationRepository `json:"repositories"`
	Labels       Labels                          `json:"labels"`
	Status       AddonsConfigurationStatus       `json:"status"`
}

type AddonsConfigurationEvent

type AddonsConfigurationEvent struct {
	Type                SubscriptionEventType `json:"type"`
	AddonsConfiguration AddonsConfiguration   `json:"addonsConfiguration"`
}

type AddonsConfigurationRepository

type AddonsConfigurationRepository struct {
	URL       string       `json:"url"`
	SecretRef *ResourceRef `json:"secretRef"`
}

type AddonsConfigurationRepositoryInput

type AddonsConfigurationRepositoryInput struct {
	URL       string            `json:"url"`
	SecretRef *ResourceRefInput `json:"secretRef"`
}

func UnmarshalAddonsConfigurationRepositoryInput

func UnmarshalAddonsConfigurationRepositoryInput(v interface{}) (AddonsConfigurationRepositoryInput, error)

type AddonsConfigurationStatus

type AddonsConfigurationStatus struct {
	Phase        string                                `json:"phase"`
	Repositories []AddonsConfigurationStatusRepository `json:"repositories"`
}

type AddonsConfigurationStatusAddons

type AddonsConfigurationStatusAddons struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Status  string `json:"status"`
	Reason  string `json:"reason"`
	Message string `json:"message"`
}

type AddonsConfigurationStatusRepository

type AddonsConfigurationStatusRepository struct {
	URL     string                            `json:"url"`
	Status  string                            `json:"status"`
	Addons  []AddonsConfigurationStatusAddons `json:"addons"`
	Reason  string                            `json:"reason"`
	Message string                            `json:"message"`
}

type ApiEvent

type ApiEvent struct {
	Type SubscriptionEventType `json:"type"`
	API  API                   `json:"api"`
}

type ApiRuleEvent

type ApiRuleEvent struct {
	Type    SubscriptionEventType `json:"type"`
	APIRule APIRule               `json:"apiRule"`
}

type ApiService

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

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"`
	AllServices *bool                        `json:"allServices"`
	Services    []*ApplicationMappingService `json:"services"`
}

type ApplicationMappingService

type ApplicationMappingService struct {
	ID string `json:"id"`
}

func (ApplicationMappingService) MarshalGQL

func (ams ApplicationMappingService) MarshalGQL(w io.Writer)

func (*ApplicationMappingService) UnmarshalGQL

func (ams *ApplicationMappingService) UnmarshalGQL(input interface{}) error

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)
	EnabledMappingServices(ctx context.Context, obj *Application) ([]*EnabledMappingService, 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 Asset

type Asset struct {
	Name       string      `json:"name"`
	Namespace  string      `json:"namespace"`
	Type       string      `json:"type"`
	Status     AssetStatus `json:"status"`
	Parameters JSON        `json:"parameters"`
}

type AssetEvent

type AssetEvent struct {
	Type  SubscriptionEventType `json:"type"`
	Asset Asset                 `json:"asset"`
}

type AssetGroup

type AssetGroup struct {
	Name        string           `json:"name"`
	Namespace   string           `json:"namespace"`
	GroupName   string           `json:"groupName"`
	DisplayName string           `json:"displayName"`
	Description string           `json:"description"`
	Status      AssetGroupStatus `json:"status"`
}

type AssetGroupEvent

type AssetGroupEvent struct {
	Type       SubscriptionEventType `json:"type"`
	AssetGroup AssetGroup            `json:"assetGroup"`
}

type AssetGroupPhaseType

type AssetGroupPhaseType string
const (
	AssetGroupPhaseTypeReady   AssetGroupPhaseType = "READY"
	AssetGroupPhaseTypePending AssetGroupPhaseType = "PENDING"
	AssetGroupPhaseTypeFailed  AssetGroupPhaseType = "FAILED"
)

func (AssetGroupPhaseType) IsValid

func (e AssetGroupPhaseType) IsValid() bool

func (AssetGroupPhaseType) MarshalGQL

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

func (AssetGroupPhaseType) String

func (e AssetGroupPhaseType) String() string

func (*AssetGroupPhaseType) UnmarshalGQL

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

type AssetGroupResolver

type AssetGroupResolver interface {
	Assets(ctx context.Context, obj *AssetGroup, types []string) ([]Asset, error)
}

type AssetGroupStatus

type AssetGroupStatus struct {
	Phase   AssetGroupPhaseType `json:"phase"`
	Reason  string              `json:"reason"`
	Message string              `json:"message"`
}

type AssetPhaseType

type AssetPhaseType string
const (
	AssetPhaseTypeReady   AssetPhaseType = "READY"
	AssetPhaseTypePending AssetPhaseType = "PENDING"
	AssetPhaseTypeFailed  AssetPhaseType = "FAILED"
)

func (AssetPhaseType) IsValid

func (e AssetPhaseType) IsValid() bool

func (AssetPhaseType) MarshalGQL

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

func (AssetPhaseType) String

func (e AssetPhaseType) String() string

func (*AssetPhaseType) UnmarshalGQL

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

type AssetResolver

type AssetResolver interface {
	Files(ctx context.Context, obj *Asset, filterExtensions []string) ([]File, error)
}

type AssetStatus

type AssetStatus struct {
	Phase   AssetPhaseType `json:"phase"`
	Reason  string         `json:"reason"`
	Message string         `json:"message"`
}

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 ClusterAddonsConfigurationEvent

type ClusterAddonsConfigurationEvent struct {
	Type                SubscriptionEventType `json:"type"`
	AddonsConfiguration AddonsConfiguration   `json:"addonsConfiguration"`
}

type ClusterAsset

type ClusterAsset struct {
	Name       string      `json:"name"`
	Type       string      `json:"type"`
	Status     AssetStatus `json:"status"`
	Parameters JSON        `json:"parameters"`
}

type ClusterAssetEvent

type ClusterAssetEvent struct {
	Type         SubscriptionEventType `json:"type"`
	ClusterAsset ClusterAsset          `json:"clusterAsset"`
}

type ClusterAssetGroup

type ClusterAssetGroup struct {
	Name        string           `json:"name"`
	GroupName   string           `json:"groupName"`
	DisplayName string           `json:"displayName"`
	Description string           `json:"description"`
	Status      AssetGroupStatus `json:"status"`
}

type ClusterAssetGroupEvent

type ClusterAssetGroupEvent struct {
	Type              SubscriptionEventType `json:"type"`
	ClusterAssetGroup ClusterAssetGroup     `json:"clusterAssetGroup"`
}

type ClusterAssetGroupResolver

type ClusterAssetGroupResolver interface {
	Assets(ctx context.Context, obj *ClusterAssetGroup, types []string) ([]ClusterAsset, error)
}

type ClusterAssetResolver

type ClusterAssetResolver interface {
	Files(ctx context.Context, obj *ClusterAsset, filterExtensions []string) ([]File, error)
}

type ClusterMicroFrontend

type ClusterMicroFrontend struct {
	Name            string           `json:"name"`
	Version         string           `json:"version"`
	Category        string           `json:"category"`
	ViewBaseURL     string           `json:"viewBaseUrl"`
	Placement       string           `json:"placement"`
	PreloadURL      string           `json:"preloadUrl"`
	NavigationNodes []NavigationNode `json:"navigationNodes"`
}

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)
	ClusterAssetGroup(ctx context.Context, obj *ClusterServiceClass) (*ClusterAssetGroup, 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
		CreationTimestamp      func(childComplexity int) int
	}

	Apirule struct {
		Name    func(childComplexity int) int
		Service func(childComplexity int) int
		Gateway func(childComplexity int) int
		Rules   func(childComplexity int) int
		Status  func(childComplexity int) int
	}

	ApiruleConfig struct {
		Name   func(childComplexity int) int
		Config func(childComplexity int) int
	}

	ApiruleService struct {
		Host func(childComplexity int) int
		Name func(childComplexity int) int
		Port func(childComplexity int) int
	}

	ApiruleStatus struct {
		Code func(childComplexity int) int
		Desc func(childComplexity int) int
	}

	ApiruleStatuses struct {
		ApiRuleStatus        func(childComplexity int) int
		AccessRuleStatus     func(childComplexity int) int
		VirtualServiceStatus func(childComplexity int) int
	}

	AddonsConfiguration struct {
		Name         func(childComplexity int) int
		Urls         func(childComplexity int) int
		Repositories func(childComplexity int) int
		Labels       func(childComplexity int) int
		Status       func(childComplexity int) int
	}

	AddonsConfigurationEvent struct {
		Type                func(childComplexity int) int
		AddonsConfiguration func(childComplexity int) int
	}

	AddonsConfigurationRepository struct {
		Url       func(childComplexity int) int
		SecretRef func(childComplexity int) int
	}

	AddonsConfigurationStatus struct {
		Phase        func(childComplexity int) int
		Repositories func(childComplexity int) int
	}

	AddonsConfigurationStatusAddons struct {
		Name    func(childComplexity int) int
		Version func(childComplexity int) int
		Status  func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	AddonsConfigurationStatusRepository struct {
		Url     func(childComplexity int) int
		Status  func(childComplexity int) int
		Addons  func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	ApiEvent struct {
		Type func(childComplexity int) int
		Api  func(childComplexity int) int
	}

	ApiRuleEvent struct {
		Type    func(childComplexity int) int
		ApiRule func(childComplexity int) int
	}

	ApiService struct {
		Name func(childComplexity int) int
		Port 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
		EnabledMappingServices 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
		AllServices func(childComplexity int) int
		Services    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
	}

	Asset struct {
		Name       func(childComplexity int) int
		Namespace  func(childComplexity int) int
		Parameters func(childComplexity int) int
		Type       func(childComplexity int) int
		Files      func(childComplexity int, filterExtensions []string) int
		Status     func(childComplexity int) int
	}

	AssetEvent struct {
		Type  func(childComplexity int) int
		Asset func(childComplexity int) int
	}

	AssetGroup struct {
		Name        func(childComplexity int) int
		Namespace   func(childComplexity int) int
		GroupName   func(childComplexity int) int
		Assets      func(childComplexity int, types []string) int
		DisplayName func(childComplexity int) int
		Description func(childComplexity int) int
		Status      func(childComplexity int) int
	}

	AssetGroupEvent struct {
		Type       func(childComplexity int) int
		AssetGroup func(childComplexity int) int
	}

	AssetGroupStatus struct {
		Phase   func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message func(childComplexity int) int
	}

	AssetStatus struct {
		Phase   func(childComplexity int) int
		Reason  func(childComplexity int) int
		Message 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
	}

	ClusterAddonsConfigurationEvent struct {
		Type                func(childComplexity int) int
		AddonsConfiguration func(childComplexity int) int
	}

	ClusterAsset struct {
		Name       func(childComplexity int) int
		Parameters func(childComplexity int) int
		Type       func(childComplexity int) int
		Files      func(childComplexity int, filterExtensions []string) int
		Status     func(childComplexity int) int
	}

	ClusterAssetEvent struct {
		Type         func(childComplexity int) int
		ClusterAsset func(childComplexity int) int
	}

	ClusterAssetGroup struct {
		Name        func(childComplexity int) int
		GroupName   func(childComplexity int) int
		Assets      func(childComplexity int, types []string) int
		DisplayName func(childComplexity int) int
		Description func(childComplexity int) int
		Status      func(childComplexity int) int
	}

	ClusterAssetGroupEvent struct {
		Type              func(childComplexity int) int
		ClusterAssetGroup func(childComplexity int) int
	}

	ClusterMicroFrontend struct {
		Name            func(childComplexity int) int
		Version         func(childComplexity int) int
		Category        func(childComplexity int) int
		ViewBaseUrl     func(childComplexity int) int
		Placement       func(childComplexity int) int
		PreloadUrl      func(childComplexity int) int
		NavigationNodes 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
		ClusterAssetGroup   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
	}

	ConfigMap struct {
		Name              func(childComplexity int) int
		Namespace         func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Labels            func(childComplexity int) int
		Json              func(childComplexity int) int
	}

	ConfigMapEvent struct {
		Type      func(childComplexity int) int
		ConfigMap 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
	}

	EnabledApplicationService struct {
		Id          func(childComplexity int) int
		DisplayName func(childComplexity int) int
		Exist       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
		Schema      func(childComplexity int) int
	}

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

	File struct {
		Url      func(childComplexity int) int
		Metadata func(childComplexity int) int
	}

	Function struct {
		Name         func(childComplexity int) int
		Namespace    func(childComplexity int) int
		Labels       func(childComplexity int) int
		Runtime      func(childComplexity int) int
		Size         func(childComplexity int) int
		Status       func(childComplexity int) int
		Content      func(childComplexity int) int
		Dependencies func(childComplexity int) int
	}

	FunctionMutationOutput struct {
		Name      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
	}

	LoadBalancerIngress struct {
		Ip       func(childComplexity int) int
		HostName func(childComplexity int) int
	}

	LoadBalancerStatus struct {
		Ingress func(childComplexity int) int
	}

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

	MicroFrontend struct {
		Name            func(childComplexity int) int
		Version         func(childComplexity int) int
		Category        func(childComplexity int) int
		ViewBaseUrl     func(childComplexity int) int
		NavigationNodes func(childComplexity int) int
	}

	Mutation struct {
		CreateResource                             func(childComplexity int, namespace string, resource JSON) int
		CreateServiceInstance                      func(childComplexity int, namespace string, 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, namespace string, createServiceBindingUsageInput *CreateServiceBindingUsageInput) int
		DeleteServiceBindingUsage                  func(childComplexity int, serviceBindingUsageName string, namespace string) int
		CreateClusterAddonsConfiguration           func(childComplexity int, name string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) int
		UpdateClusterAddonsConfiguration           func(childComplexity int, name string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) int
		DeleteClusterAddonsConfiguration           func(childComplexity int, name string) int
		AddClusterAddonsConfigurationUrls          func(childComplexity int, name string, urls []string) int
		RemoveClusterAddonsConfigurationUrls       func(childComplexity int, name string, urls []string) int
		AddClusterAddonsConfigurationRepository    func(childComplexity int, name string, repositories []AddonsConfigurationRepositoryInput) int
		RemoveClusterAddonsConfigurationRepository func(childComplexity int, name string, urls []string) int
		ResyncClusterAddonsConfiguration           func(childComplexity int, name string) int
		CreateAddonsConfiguration                  func(childComplexity int, name string, namespace string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) int
		UpdateAddonsConfiguration                  func(childComplexity int, name string, namespace string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) int
		DeleteAddonsConfiguration                  func(childComplexity int, name string, namespace string) int
		AddAddonsConfigurationUrls                 func(childComplexity int, name string, namespace string, urls []string) int
		RemoveAddonsConfigurationUrls              func(childComplexity int, name string, namespace string, urls []string) int
		AddAddonsConfigurationRepository           func(childComplexity int, name string, namespace string, repositories []AddonsConfigurationRepositoryInput) int
		RemoveAddonsConfigurationRepository        func(childComplexity int, name string, namespace string, urls []string) int
		ResyncAddonsConfiguration                  func(childComplexity int, name 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, allServices *bool, services []*ApplicationMappingService) int
		OverloadApplication                        func(childComplexity int, application string, namespace string, allServices *bool, services []*ApplicationMappingService) 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
		UpdateSecret                               func(childComplexity int, name string, namespace string, secret JSON) int
		DeleteSecret                               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
		CreateResourceQuota                        func(childComplexity int, namespace string, name string, resourceQuota ResourceQuotaInput) int
		UpdateConfigMap                            func(childComplexity int, name string, namespace string, configMap JSON) int
		DeleteConfigMap                            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
		UpdateService                              func(childComplexity int, name string, namespace string, service JSON) int
		DeleteService                              func(childComplexity int, name string, namespace string) int
		CreateNamespace                            func(childComplexity int, name string, labels *Labels) int
		UpdateNamespace                            func(childComplexity int, name string, labels Labels) int
		DeleteNamespace                            func(childComplexity int, name string) int
		CreateApi                                  func(childComplexity int, name string, namespace string, params APIInput) int
		UpdateApi                                  func(childComplexity int, name string, namespace string, params APIInput) int
		DeleteApi                                  func(childComplexity int, name string, namespace string) int
		CreateApirule                              func(childComplexity int, name string, namespace string, params APIRuleInput) int
		UpdateApirule                              func(childComplexity int, name string, namespace string, params APIRuleInput) int
		DeleteApirule                              func(childComplexity int, name string, namespace string) int
		CreateLimitRange                           func(childComplexity int, namespace string, name string, limitRange LimitRangeInput) int
		DeleteFunction                             func(childComplexity int, name string, namespace string) int
		CreateFunction                             func(childComplexity int, name string, namespace string, labels Labels, size string, runtime string) int
		UpdateFunction                             func(childComplexity int, name string, namespace string, params FunctionUpdateInput) int
	}

	Namespace struct {
		Name              func(childComplexity int) int
		Labels            func(childComplexity int) int
		Status            func(childComplexity int) int
		IsSystemNamespace func(childComplexity int) int
		Pods              func(childComplexity int) int
		Applications      func(childComplexity int) int
	}

	NamespaceEvent struct {
		Type      func(childComplexity int) int
		Namespace func(childComplexity int) int
	}

	NamespaceMutationOutput struct {
		Name   func(childComplexity int) int
		Labels func(childComplexity int) int
	}

	NavigationNode struct {
		Label               func(childComplexity int) int
		NavigationPath      func(childComplexity int) int
		ViewUrl             func(childComplexity int) int
		ShowInNavigation    func(childComplexity int) int
		Order               func(childComplexity int) int
		Settings            func(childComplexity int) int
		ExternalLink        func(childComplexity int) int
		RequiredPermissions 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 {
		ClusterAssetGroups          func(childComplexity int, viewContext *string, groupName *string) int
		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
		ClusterAddonsConfigurations func(childComplexity int, first *int, offset *int) int
		AddonsConfigurations        func(childComplexity int, namespace string, first *int, offset *int) int
		BindableResources           func(childComplexity int, namespace string) int
		Apis                        func(childComplexity int, namespace string, serviceName *string, hostname *string) int
		Api                         func(childComplexity int, name string, namespace string) int
		Apirules                    func(childComplexity int, namespace string, serviceName *string, hostname *string) int
		Apirule                     func(childComplexity int, name string, namespace 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, withSystemNamespaces *bool, withInactiveStatus *bool) int
		Namespace                   func(childComplexity int, name 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
		Service                     func(childComplexity int, name string, namespace string) int
		Services                    func(childComplexity int, namespace string, first *int, offset *int) int
		ConfigMap                   func(childComplexity int, name string, namespace string) int
		ConfigMaps                  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
		EventActivations            func(childComplexity int, namespace string) int
		LimitRanges                 func(childComplexity int, namespace string) int
		BackendModules              func(childComplexity int) int
		Secret                      func(childComplexity int, name string, namespace string) int
		Secrets                     func(childComplexity int, namespace string, first *int, offset *int) int
		Idppreset                   func(childComplexity int, name string) int
		Idppresets                  func(childComplexity int, first *int, offset *int) int
		MicroFrontends              func(childComplexity int, namespace string) int
		ClusterMicroFrontends       func(childComplexity int) int
		SelfSubjectRules            func(childComplexity int, namespace *string) int
		Functions                   func(childComplexity int, namespace string) int
		Function                    func(childComplexity int, name string, namespace string) 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
	}

	RequiredPermission struct {
		Verbs    func(childComplexity int) int
		ApiGroup func(childComplexity int) int
		Resource 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
	}

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

	ResourceRule struct {
		Verbs     func(childComplexity int) int
		ApiGroups func(childComplexity int) int
		Resources 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
	}

	Rule struct {
		Path             func(childComplexity int) int
		Methods          func(childComplexity int) int
		AccessStrategies func(childComplexity int) int
		Mutators         func(childComplexity int) int
	}

	Secret struct {
		Name         func(childComplexity int) int
		Namespace    func(childComplexity int) int
		Data         func(childComplexity int) int
		Type         func(childComplexity int) int
		CreationTime func(childComplexity int) int
		Labels       func(childComplexity int) int
		Annotations  func(childComplexity int) int
		Json         func(childComplexity int) int
	}

	SecretEvent struct {
		Type   func(childComplexity int) int
		Secret func(childComplexity int) int
	}

	Service struct {
		Name              func(childComplexity int) int
		ClusterIp         func(childComplexity int) int
		CreationTimestamp func(childComplexity int) int
		Labels            func(childComplexity int) int
		Ports             func(childComplexity int) int
		Status            func(childComplexity int) int
		Json              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
		ClusterAssetGroup   func(childComplexity int) int
		AssetGroup          func(childComplexity int) int
	}

	ServiceEvent struct {
		Type    func(childComplexity int) int
		Service 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
	}

	ServicePort struct {
		Name            func(childComplexity int) int
		ServiceProtocol func(childComplexity int) int
		Port            func(childComplexity int) int
		NodePort        func(childComplexity int) int
		TargetPort      func(childComplexity int) int
	}

	ServiceStatus struct {
		LoadBalancer func(childComplexity int) int
	}

	Subscription struct {
		ClusterAssetEvent               func(childComplexity int) int
		AssetEvent                      func(childComplexity int, namespace string) int
		ClusterAssetGroupEvent          func(childComplexity int) int
		AssetGroupEvent                 func(childComplexity int, namespace string) int
		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
		ServiceEvent                    func(childComplexity int, namespace string) int
		ConfigMapEvent                  func(childComplexity int, namespace string) int
		ClusterAddonsConfigurationEvent func(childComplexity int) int
		AddonsConfigurationEvent        func(childComplexity int, namespace string) int
		ApiEvent                        func(childComplexity int, namespace string, serviceName *string) int
		ApiRuleEvent                    func(childComplexity int, namespace string, serviceName *string) int
		NamespaceEvent                  func(childComplexity int, withSystemNamespaces *bool) 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
	}

	EnabledMappingService struct {
		Namespace   func(childComplexity int) int
		AllServices func(childComplexity int) int
		Services    func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type ConfigMap

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

type ConfigMapEvent

type ConfigMapEvent struct {
	Type      SubscriptionEventType `json:"type"`
	ConfigMap ConfigMap             `json:"configMap"`
}

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"`
	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 EnabledApplicationService

type EnabledApplicationService struct {
	ID          string `json:"id"`
	DisplayName string `json:"displayName"`
	Exist       bool   `json:"exist"`
}

type EnabledMappingService

type EnabledMappingService struct {
	Namespace   string                       `json:"namespace"`
	AllServices bool                         `json:"allServices"`
	Services    []*EnabledApplicationService `json:"services"`
}

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"`
	Schema      JSON   `json:"schema"`
}

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 File

type File struct {
	URL      string `json:"url"`
	Metadata JSON   `json:"metadata"`
}

type Function

type Function struct {
	Name         string             `json:"name"`
	Namespace    string             `json:"namespace"`
	Labels       Labels             `json:"labels"`
	Runtime      string             `json:"runtime"`
	Size         string             `json:"size"`
	Status       FunctionStatusType `json:"status"`
	Content      string             `json:"content"`
	Dependencies string             `json:"dependencies"`
}

type FunctionMutationOutput

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

type FunctionStatusType

type FunctionStatusType string
const (
	FunctionStatusTypeUnknown   FunctionStatusType = "Unknown"
	FunctionStatusTypeRunning   FunctionStatusType = "Running"
	FunctionStatusTypeBuilding  FunctionStatusType = "Building"
	FunctionStatusTypeError     FunctionStatusType = "Error"
	FunctionStatusTypeDeploying FunctionStatusType = "Deploying"
	FunctionStatusTypeUpdating  FunctionStatusType = "Updating"
)

func (FunctionStatusType) IsValid

func (e FunctionStatusType) IsValid() bool

func (FunctionStatusType) MarshalGQL

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

func (FunctionStatusType) String

func (e FunctionStatusType) String() string

func (*FunctionStatusType) UnmarshalGQL

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

type FunctionUpdateInput

type FunctionUpdateInput struct {
	Labels       Labels `json:"labels"`
	Size         string `json:"size"`
	Runtime      string `json:"runtime"`
	Content      string `json:"content"`
	Dependencies string `json:"dependencies"`
}

func UnmarshalFunctionUpdateInput

func UnmarshalFunctionUpdateInput(v interface{}) (FunctionUpdateInput, error)

type IDPPreset

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

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 LimitRangeInput

type LimitRangeInput struct {
	Default        ResourceValuesInput `json:"default"`
	DefaultRequest ResourceValuesInput `json:"defaultRequest"`
	Max            ResourceValuesInput `json:"max"`
	Type           string              `json:"type"`
}

func UnmarshalLimitRangeInput

func UnmarshalLimitRangeInput(v interface{}) (LimitRangeInput, error)

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 LoadBalancerIngress

type LoadBalancerIngress struct {
	IP       string `json:"ip"`
	HostName string `json:"hostName"`
}

type LoadBalancerStatus

type LoadBalancerStatus struct {
	Ingress []LoadBalancerIngress `json:"ingress"`
}

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 MicroFrontend

type MicroFrontend struct {
	Name            string           `json:"name"`
	Version         string           `json:"version"`
	Category        string           `json:"category"`
	ViewBaseURL     string           `json:"viewBaseUrl"`
	NavigationNodes []NavigationNode `json:"navigationNodes"`
}

type MutationResolver

type MutationResolver interface {
	CreateResource(ctx context.Context, namespace string, resource JSON) (*JSON, error)
	CreateServiceInstance(ctx context.Context, namespace string, 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, namespace string, createServiceBindingUsageInput *CreateServiceBindingUsageInput) (*ServiceBindingUsage, error)
	DeleteServiceBindingUsage(ctx context.Context, serviceBindingUsageName string, namespace string) (*DeleteServiceBindingUsageOutput, error)
	CreateClusterAddonsConfiguration(ctx context.Context, name string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) (*AddonsConfiguration, error)
	UpdateClusterAddonsConfiguration(ctx context.Context, name string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) (*AddonsConfiguration, error)
	DeleteClusterAddonsConfiguration(ctx context.Context, name string) (*AddonsConfiguration, error)
	AddClusterAddonsConfigurationURLs(ctx context.Context, name string, urls []string) (*AddonsConfiguration, error)
	RemoveClusterAddonsConfigurationURLs(ctx context.Context, name string, urls []string) (*AddonsConfiguration, error)
	AddClusterAddonsConfigurationRepository(ctx context.Context, name string, repositories []AddonsConfigurationRepositoryInput) (*AddonsConfiguration, error)
	RemoveClusterAddonsConfigurationRepository(ctx context.Context, name string, urls []string) (*AddonsConfiguration, error)
	ResyncClusterAddonsConfiguration(ctx context.Context, name string) (*AddonsConfiguration, error)
	CreateAddonsConfiguration(ctx context.Context, name string, namespace string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) (*AddonsConfiguration, error)
	UpdateAddonsConfiguration(ctx context.Context, name string, namespace string, repositories []AddonsConfigurationRepositoryInput, urls []string, labels *Labels) (*AddonsConfiguration, error)
	DeleteAddonsConfiguration(ctx context.Context, name string, namespace string) (*AddonsConfiguration, error)
	AddAddonsConfigurationURLs(ctx context.Context, name string, namespace string, urls []string) (*AddonsConfiguration, error)
	RemoveAddonsConfigurationURLs(ctx context.Context, name string, namespace string, urls []string) (*AddonsConfiguration, error)
	AddAddonsConfigurationRepository(ctx context.Context, name string, namespace string, repositories []AddonsConfigurationRepositoryInput) (*AddonsConfiguration, error)
	RemoveAddonsConfigurationRepository(ctx context.Context, name string, namespace string, urls []string) (*AddonsConfiguration, error)
	ResyncAddonsConfiguration(ctx context.Context, name string, namespace string) (*AddonsConfiguration, 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, allServices *bool, services []*ApplicationMappingService) (*ApplicationMapping, error)
	OverloadApplication(ctx context.Context, application string, namespace string, allServices *bool, services []*ApplicationMappingService) (*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)
	UpdateSecret(ctx context.Context, name string, namespace string, secret JSON) (*Secret, error)
	DeleteSecret(ctx context.Context, name string, namespace string) (*Secret, error)
	UpdateReplicaSet(ctx context.Context, name string, namespace string, replicaSet JSON) (*ReplicaSet, error)
	DeleteReplicaSet(ctx context.Context, name string, namespace string) (*ReplicaSet, error)
	CreateResourceQuota(ctx context.Context, namespace string, name string, resourceQuota ResourceQuotaInput) (*ResourceQuota, error)
	UpdateConfigMap(ctx context.Context, name string, namespace string, configMap JSON) (*ConfigMap, error)
	DeleteConfigMap(ctx context.Context, name string, namespace string) (*ConfigMap, error)
	CreateIDPPreset(ctx context.Context, name string, issuer string, jwksUri string) (*IDPPreset, error)
	DeleteIDPPreset(ctx context.Context, name string) (*IDPPreset, error)
	UpdateService(ctx context.Context, name string, namespace string, service JSON) (*Service, error)
	DeleteService(ctx context.Context, name string, namespace string) (*Service, error)
	CreateNamespace(ctx context.Context, name string, labels *Labels) (NamespaceMutationOutput, error)
	UpdateNamespace(ctx context.Context, name string, labels Labels) (NamespaceMutationOutput, error)
	DeleteNamespace(ctx context.Context, name string) (*Namespace, error)
	CreateAPI(ctx context.Context, name string, namespace string, params APIInput) (API, error)
	UpdateAPI(ctx context.Context, name string, namespace string, params APIInput) (API, error)
	DeleteAPI(ctx context.Context, name string, namespace string) (*API, error)
	CreateAPIRule(ctx context.Context, name string, namespace string, params APIRuleInput) (*APIRule, error)
	UpdateAPIRule(ctx context.Context, name string, namespace string, params APIRuleInput) (*APIRule, error)
	DeleteAPIRule(ctx context.Context, name string, namespace string) (*APIRule, error)
	CreateLimitRange(ctx context.Context, namespace string, name string, limitRange LimitRangeInput) (*LimitRange, error)
	DeleteFunction(ctx context.Context, name string, namespace string) (*FunctionMutationOutput, error)
	CreateFunction(ctx context.Context, name string, namespace string, labels Labels, size string, runtime string) (*Function, error)
	UpdateFunction(ctx context.Context, name string, namespace string, params FunctionUpdateInput) (*Function, error)
}

type Namespace

type Namespace struct {
	Name              string   `json:"name"`
	Applications      []string `json:"applications"`
	Labels            Labels   `json:"labels"`
	Status            string   `json:"status"`
	IsSystemNamespace bool     `json:"isSystemNamespace"`
	Pods              []Pod    `json:"pods"`
}

type NamespaceEvent

type NamespaceEvent struct {
	Type      SubscriptionEventType `json:"type"`
	Namespace Namespace             `json:"namespace"`
}

type NamespaceMutationOutput

type NamespaceMutationOutput struct {
	Name   string `json:"name"`
	Labels Labels `json:"labels"`
}

type NamespaceResolver

type NamespaceResolver interface {
	Pods(ctx context.Context, obj *Namespace) ([]Pod, error)
	Applications(ctx context.Context, obj *Namespace) ([]string, error)
}
type NavigationNode struct {
	Label               string               `json:"label"`
	NavigationPath      string               `json:"navigationPath"`
	ViewURL             string               `json:"viewUrl"`
	ShowInNavigation    bool                 `json:"showInNavigation"`
	Order               int                  `json:"order"`
	Settings            Settings             `json:"settings"`
	ExternalLink        *string              `json:"externalLink"`
	RequiredPermissions []RequiredPermission `json:"requiredPermissions"`
}

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 {
	ClusterAssetGroups(ctx context.Context, viewContext *string, groupName *string) ([]ClusterAssetGroup, error)
	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)
	ClusterAddonsConfigurations(ctx context.Context, first *int, offset *int) ([]AddonsConfiguration, error)
	AddonsConfigurations(ctx context.Context, namespace string, first *int, offset *int) ([]AddonsConfiguration, error)
	BindableResources(ctx context.Context, namespace string) ([]BindableResourcesOutputItem, error)
	Apis(ctx context.Context, namespace string, serviceName *string, hostname *string) ([]API, error)
	API(ctx context.Context, name string, namespace string) (*API, error)
	APIRules(ctx context.Context, namespace string, serviceName *string, hostname *string) ([]APIRule, error)
	APIRule(ctx context.Context, name string, namespace string) (*APIRule, 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, withSystemNamespaces *bool, withInactiveStatus *bool) ([]Namespace, error)
	Namespace(ctx context.Context, name 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)
	Service(ctx context.Context, name string, namespace string) (*Service, error)
	Services(ctx context.Context, namespace string, first *int, offset *int) ([]Service, error)
	ConfigMap(ctx context.Context, name string, namespace string) (*ConfigMap, error)
	ConfigMaps(ctx context.Context, namespace string, first *int, offset *int) ([]ConfigMap, 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)
	EventActivations(ctx context.Context, namespace string) ([]EventActivation, error)
	LimitRanges(ctx context.Context, namespace string) ([]LimitRange, error)
	BackendModules(ctx context.Context) ([]BackendModule, error)
	Secret(ctx context.Context, name string, namespace string) (*Secret, error)
	Secrets(ctx context.Context, namespace string, first *int, offset *int) ([]Secret, error)
	IDPPreset(ctx context.Context, name string) (*IDPPreset, error)
	IDPPresets(ctx context.Context, first *int, offset *int) ([]IDPPreset, error)
	MicroFrontends(ctx context.Context, namespace string) ([]MicroFrontend, error)
	ClusterMicroFrontends(ctx context.Context) ([]ClusterMicroFrontend, error)
	SelfSubjectRules(ctx context.Context, namespace *string) ([]ResourceRule, error)
	Functions(ctx context.Context, namespace string) ([]Function, error)
	Function(ctx context.Context, name string, namespace string) (*Function, 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 RequiredPermission

type RequiredPermission struct {
	Verbs    []string `json:"verbs"`
	APIGroup string   `json:"apiGroup"`
	Resource string   `json:"resource"`
}

type ResolverRoot

type ResolverRoot interface {
	Application() ApplicationResolver
	Asset() AssetResolver
	AssetGroup() AssetGroupResolver
	ClusterAsset() ClusterAssetResolver
	ClusterAssetGroup() ClusterAssetGroupResolver
	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"`
	ResourceArg     *string `json:"resourceArg"`
	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 ResourceQuotaInput

type ResourceQuotaInput struct {
	Limits   ResourceValuesInput `json:"limits"`
	Requests ResourceValuesInput `json:"requests"`
}

func UnmarshalResourceQuotaInput

func UnmarshalResourceQuotaInput(v interface{}) (ResourceQuotaInput, error)

type ResourceQuotasStatus

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

type ResourceRef

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

type ResourceRefInput

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

func UnmarshalResourceRefInput

func UnmarshalResourceRefInput(v interface{}) (ResourceRefInput, error)

type ResourceRule

type ResourceRule struct {
	Verbs     []string `json:"verbs"`
	APIGroups []string `json:"apiGroups"`
	Resources []string `json:"resources"`
}

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 ResourceValuesInput

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

func UnmarshalResourceValuesInput

func UnmarshalResourceValuesInput(v interface{}) (ResourceValuesInput, error)

type Rule

type Rule struct {
	Path             string          `json:"path"`
	Methods          []string        `json:"methods"`
	AccessStrategies []APIRuleConfig `json:"accessStrategies"`
	Mutators         []APIRuleConfig `json:"mutators"`
}

type RuleInput

type RuleInput struct {
	Path             string               `json:"path"`
	Methods          []string             `json:"methods"`
	AccessStrategies []APIRuleConfigInput `json:"accessStrategies"`
	Mutators         []APIRuleConfigInput `json:"mutators"`
}

func UnmarshalRuleInput

func UnmarshalRuleInput(v interface{}) (RuleInput, error)

type Secret

type Secret struct {
	Name         string    `json:"name"`
	Namespace    string    `json:"namespace"`
	Data         JSON      `json:"data"`
	Type         string    `json:"type"`
	CreationTime time.Time `json:"creationTime"`
	Labels       JSON      `json:"labels"`
	Annotations  JSON      `json:"annotations"`
	JSON         JSON      `json:"json"`
}

type SecretEvent

type SecretEvent struct {
	Type   SubscriptionEventType `json:"type"`
	Secret Secret                `json:"secret"`
}

type Service

type Service struct {
	Name              string        `json:"name"`
	ClusterIP         string        `json:"clusterIP"`
	CreationTimestamp time.Time     `json:"creationTimestamp"`
	Labels            Labels        `json:"labels"`
	Ports             []ServicePort `json:"ports"`
	Status            ServiceStatus `json:"status"`
	JSON              JSON          `json:"json"`
}

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)
	ClusterAssetGroup(ctx context.Context, obj *ServiceClass) (*ClusterAssetGroup, error)
	AssetGroup(ctx context.Context, obj *ServiceClass) (*AssetGroup, error)
}

type ServiceEvent

type ServiceEvent struct {
	Type    SubscriptionEventType `json:"type"`
	Service Service               `json:"service"`
}

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"`
	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 ServicePort

type ServicePort struct {
	Name            string          `json:"name"`
	ServiceProtocol ServiceProtocol `json:"serviceProtocol"`
	Port            int             `json:"port"`
	NodePort        int             `json:"nodePort"`
	TargetPort      int             `json:"targetPort"`
}

type ServiceProtocol

type ServiceProtocol string
const (
	ServiceProtocolTcp     ServiceProtocol = "TCP"
	ServiceProtocolUdp     ServiceProtocol = "UDP"
	ServiceProtocolUnknown ServiceProtocol = "UNKNOWN"
)

func (ServiceProtocol) IsValid

func (e ServiceProtocol) IsValid() bool

func (ServiceProtocol) MarshalGQL

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

func (ServiceProtocol) String

func (e ServiceProtocol) String() string

func (*ServiceProtocol) UnmarshalGQL

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

type ServiceStatus

type ServiceStatus struct {
	LoadBalancer LoadBalancerStatus `json:"loadBalancer"`
}

type Settings

type Settings map[string]interface{}

func (Settings) MarshalGQL

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

MarshalGQL implements the graphql.Marshaler interface

func (*Settings) UnmarshalGQL

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

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 {
	ClusterAssetEvent(ctx context.Context) (<-chan ClusterAssetEvent, error)
	AssetEvent(ctx context.Context, namespace string) (<-chan AssetEvent, error)
	ClusterAssetGroupEvent(ctx context.Context) (<-chan ClusterAssetGroupEvent, error)
	AssetGroupEvent(ctx context.Context, namespace string) (<-chan AssetGroupEvent, error)
	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)
	ServiceEvent(ctx context.Context, namespace string) (<-chan ServiceEvent, error)
	ConfigMapEvent(ctx context.Context, namespace string) (<-chan ConfigMapEvent, error)
	ClusterAddonsConfigurationEvent(ctx context.Context) (<-chan ClusterAddonsConfigurationEvent, error)
	AddonsConfigurationEvent(ctx context.Context, namespace string) (<-chan AddonsConfigurationEvent, error)
	APIEvent(ctx context.Context, namespace string, serviceName *string) (<-chan ApiEvent, error)
	APIRuleEvent(ctx context.Context, namespace string, serviceName *string) (<-chan ApiRuleEvent, error)
	NamespaceEvent(ctx context.Context, withSystemNamespaces *bool) (<-chan NamespaceEvent, error)
}

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