Documentation ¶
Index ¶
- func MarshalTimestamp(t time.Time) graphql.Marshaler
- func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
- func UnmarshalTimestamp(v interface{}) (time.Time, error)
- type API
- type APIInput
- type AddonsConfiguration
- type AddonsConfigurationEvent
- type ApiEvent
- type ApiService
- type Application
- type ApplicationEntry
- type ApplicationEvent
- type ApplicationMapping
- type ApplicationMappingService
- type ApplicationMutationOutput
- type ApplicationResolver
- type ApplicationService
- type ApplicationStatus
- type Asset
- type AssetEvent
- type AssetPhaseType
- type AssetResolver
- type AssetStatus
- type AuthenticationPolicy
- type AuthenticationPolicyType
- type BackendModule
- type BindableResourcesOutputItem
- type ClusterAsset
- type ClusterAssetEvent
- type ClusterAssetResolver
- type ClusterDocsTopic
- type ClusterDocsTopicEvent
- type ClusterDocsTopicResolver
- type ClusterMicroFrontend
- type ClusterServiceBroker
- type ClusterServiceBrokerEvent
- type ClusterServiceClass
- type ClusterServiceClassResolver
- type ClusterServicePlan
- type ComplexityRoot
- type Config
- type ConfigMap
- type ConfigMapEvent
- type ConnectorService
- type Container
- type ContainerState
- type ContainerStateType
- type CreateServiceBindingOutput
- type CreateServiceBindingUsageInput
- type DeleteApplicationOutput
- type DeleteServiceBindingOutput
- type DeleteServiceBindingUsageOutput
- type Deployment
- type DeploymentCondition
- type DeploymentResolver
- type DeploymentStatus
- type DirectiveRoot
- type DocsTopic
- type DocsTopicEvent
- type DocsTopicPhaseType
- type DocsTopicResolver
- type DocsTopicStatus
- type EnabledApplicationService
- type EnabledMappingService
- type EnvPrefix
- type EnvPrefixInput
- type EventActivation
- type EventActivationEvent
- type EventActivationResolver
- type ExceededQuota
- type File
- type Function
- type IDPPreset
- type InputTopic
- type InstanceStatusType
- type JSON
- type Labels
- type LimitRange
- type LimitRangeInput
- type LimitRangeItem
- type LimitType
- type LoadBalancerIngress
- type LoadBalancerStatus
- type LocalObjectReference
- type LocalObjectReferenceInput
- type MicroFrontend
- type MutationResolver
- type Namespace
- type NamespaceCreationOutput
- type NamespaceResolver
- type NavigationNode
- type Pod
- type PodEvent
- type PodStatusType
- type QueryResolver
- type ReplicaSet
- type RequiredPermission
- type ResolverRoot
- type ResourceAttributes
- type ResourceQuota
- type ResourceQuotaInput
- type ResourceQuotasStatus
- type ResourceRule
- type ResourceType
- type ResourceValues
- type ResourceValuesInput
- type Secret
- type SecretEvent
- type Service
- type ServiceBinding
- type ServiceBindingEvent
- type ServiceBindingRefInput
- type ServiceBindingResolver
- type ServiceBindingStatus
- type ServiceBindingStatusType
- type ServiceBindingUsage
- type ServiceBindingUsageEvent
- type ServiceBindingUsageParameters
- type ServiceBindingUsageParametersInput
- type ServiceBindingUsageResolver
- type ServiceBindingUsageStatus
- type ServiceBindingUsageStatusType
- type ServiceBindings
- type ServiceBindingsStats
- type ServiceBroker
- type ServiceBrokerEvent
- type ServiceBrokerStatus
- type ServiceClass
- type ServiceClassResolver
- type ServiceEvent
- type ServiceInstance
- type ServiceInstanceCreateInput
- type ServiceInstanceCreateInputResourceRef
- type ServiceInstanceEvent
- type ServiceInstanceResolver
- type ServiceInstanceResourceRef
- type ServiceInstanceStatus
- type ServicePlan
- type ServicePort
- type ServiceProtocol
- type ServiceStatus
- type Settings
- type SubscriptionEventType
- type SubscriptionResolver
- type UsageKind
- type UsageKindResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
func UnmarshalTimestamp ¶
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 ¶
type AddonsConfiguration ¶
type AddonsConfigurationEvent ¶
type AddonsConfigurationEvent struct { Type SubscriptionEventType `json:"type"` AddonsConfiguration AddonsConfiguration `json:"addonsConfiguration"` }
type ApiEvent ¶
type ApiEvent struct { Type SubscriptionEventType `json:"type"` API API `json:"api"` }
type ApiService ¶
type Application ¶
type Application struct { Name string Description string Labels Labels Services []ApplicationService // contains filtered or unexported fields }
type ApplicationEntry ¶
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 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 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"` Metadata JSON `json:"metadata"` }
type AssetEvent ¶
type AssetEvent struct { Type SubscriptionEventType `json:"type"` Asset Asset `json:"asset"` }
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 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 ClusterAsset ¶
type ClusterAsset struct { Name string `json:"name"` Type string `json:"type"` Status AssetStatus `json:"status"` Metadata JSON `json:"metadata"` }
type ClusterAssetEvent ¶
type ClusterAssetEvent struct { Type SubscriptionEventType `json:"type"` ClusterAsset ClusterAsset `json:"clusterAsset"` }
type ClusterAssetResolver ¶
type ClusterDocsTopic ¶
type ClusterDocsTopic struct { Name string `json:"name"` GroupName string `json:"groupName"` DisplayName string `json:"displayName"` Description string `json:"description"` Status DocsTopicStatus `json:"status"` }
type ClusterDocsTopicEvent ¶
type ClusterDocsTopicEvent struct { Type SubscriptionEventType `json:"type"` ClusterDocsTopic ClusterDocsTopic `json:"clusterDocsTopic"` }
type ClusterDocsTopicResolver ¶
type ClusterDocsTopicResolver interface {
Assets(ctx context.Context, obj *ClusterDocsTopic, types []string) ([]ClusterAsset, error)
}
type ClusterMicroFrontend ¶
type ClusterServiceBroker ¶
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) ClusterDocsTopic(ctx context.Context, obj *ClusterServiceClass) (*ClusterDocsTopic, 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 } AddonsConfiguration struct { Name func(childComplexity int) int Urls func(childComplexity int) int Labels func(childComplexity int) int } AddonsConfigurationEvent struct { Type func(childComplexity int) int AddonsConfiguration func(childComplexity int) int } ApiEvent struct { Type func(childComplexity int) int Api 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 Metadata 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 } 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 } ClusterAsset struct { Name func(childComplexity int) int Metadata 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 } ClusterDocsTopic 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 } ClusterDocsTopicEvent struct { Type func(childComplexity int) int ClusterDocsTopic 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 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 ClusterDocsTopic 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 } DocsTopic 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 } DocsTopicEvent struct { Type func(childComplexity int) int DocsTopic func(childComplexity int) int } DocsTopicStatus struct { Phase func(childComplexity int) int Reason func(childComplexity int) int Message 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 Trigger func(childComplexity int) int CreationTimestamp func(childComplexity int) int Labels func(childComplexity int) int Namespace func(childComplexity int) int } Idppreset struct { Name func(childComplexity int) int Issuer func(childComplexity int) int JwksUri func(childComplexity int) int } LimitRange struct { Name func(childComplexity int) int Limits func(childComplexity int) int } LimitRangeItem struct { LimitType func(childComplexity int) int Max func(childComplexity int) int Default func(childComplexity int) int DefaultRequest func(childComplexity int) int } 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 CreateAddonsConfiguration func(childComplexity int, name string, urls []string, labels *Labels) int UpdateAddonsConfiguration func(childComplexity int, name string, urls []string, labels *Labels) int DeleteAddonsConfiguration func(childComplexity int, name string) int AddAddonsConfigurationUrls func(childComplexity int, name string, urls []string) int RemoveAddonsConfigurationUrls func(childComplexity int, name string, urls []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 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 CreateLimitRange func(childComplexity int, namespace string, name string, limitRange LimitRangeInput) int } Namespace struct { Name func(childComplexity int) int Labels func(childComplexity int) int Applications func(childComplexity int) int } NamespaceCreationOutput struct { Name func(childComplexity int) int Labels func(childComplexity int) int } 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 { ClusterDocsTopics 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 AddonsConfigurations func(childComplexity int, first *int, offset *int) int BindableResources func(childComplexity int, namespace string) int Apis func(childComplexity int, namespace string, serviceName *string, hostname *string) int Api 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, application *string) 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 Functions func(childComplexity int, namespace string, first *int, offset *int) 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 } 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 } 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 } 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 ClusterDocsTopic func(childComplexity int) int DocsTopic 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 ClusterDocsTopicEvent func(childComplexity int) int DocsTopicEvent 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 AddonsConfigurationEvent func(childComplexity int) int ApiEvent func(childComplexity int, namespace string, serviceName *string) 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 ConfigMapEvent ¶
type ConfigMapEvent struct { Type SubscriptionEventType `json:"type"` ConfigMap ConfigMap `json:"configMap"` }
type ConnectorService ¶
type ConnectorService struct {
URL string `json:"url"`
}
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 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 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 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 DocsTopicEvent ¶
type DocsTopicEvent struct { Type SubscriptionEventType `json:"type"` DocsTopic DocsTopic `json:"docsTopic"` }
type DocsTopicPhaseType ¶
type DocsTopicPhaseType string
const ( DocsTopicPhaseTypeReady DocsTopicPhaseType = "READY" DocsTopicPhaseTypePending DocsTopicPhaseType = "PENDING" DocsTopicPhaseTypeFailed DocsTopicPhaseType = "FAILED" )
func (DocsTopicPhaseType) IsValid ¶
func (e DocsTopicPhaseType) IsValid() bool
func (DocsTopicPhaseType) MarshalGQL ¶
func (e DocsTopicPhaseType) MarshalGQL(w io.Writer)
func (DocsTopicPhaseType) String ¶
func (e DocsTopicPhaseType) String() string
func (*DocsTopicPhaseType) UnmarshalGQL ¶
func (e *DocsTopicPhaseType) UnmarshalGQL(v interface{}) error
type DocsTopicResolver ¶
type DocsTopicStatus ¶
type DocsTopicStatus struct { Phase DocsTopicPhaseType `json:"phase"` Reason string `json:"reason"` Message string `json:"message"` }
type EnabledMappingService ¶
type EnabledMappingService struct { Namespace string `json:"namespace"` AllServices bool `json:"allServices"` Services []*EnabledApplicationService `json:"services"` }
type EnvPrefixInput ¶
type EnvPrefixInput struct {
Name string `json:"name"`
}
func UnmarshalEnvPrefixInput ¶
func UnmarshalEnvPrefixInput(v interface{}) (EnvPrefixInput, error)
type EventActivation ¶
type EventActivationEvent ¶
type EventActivationResolver ¶
type EventActivationResolver interface {
Events(ctx context.Context, obj *EventActivation) ([]EventActivationEvent, error)
}
type ExceededQuota ¶
type InputTopic ¶
func UnmarshalInputTopic ¶
func UnmarshalInputTopic(v interface{}) (InputTopic, error)
type InstanceStatusType ¶
type InstanceStatusType string
const ( InstanceStatusTypeRunning InstanceStatusType = "RUNNING" InstanceStatusTypeProvisioning InstanceStatusType = "PROVISIONING" InstanceStatusTypeDeprovisioning InstanceStatusType = "DEPROVISIONING" InstanceStatusTypePending InstanceStatusType = "PENDING" InstanceStatusTypeFailed InstanceStatusType = "FAILED" )
func (InstanceStatusType) IsValid ¶
func (e InstanceStatusType) IsValid() bool
func (InstanceStatusType) MarshalGQL ¶
func (e InstanceStatusType) MarshalGQL(w io.Writer)
func (InstanceStatusType) String ¶
func (e InstanceStatusType) String() string
func (*InstanceStatusType) UnmarshalGQL ¶
func (e *InstanceStatusType) UnmarshalGQL(v interface{}) error
type JSON ¶
type JSON map[string]interface{}
func (JSON) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface
func (*JSON) UnmarshalGQL ¶
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
func (LimitType) MarshalGQL ¶
func (*LimitType) UnmarshalGQL ¶
type LoadBalancerIngress ¶
type LoadBalancerStatus ¶
type LoadBalancerStatus struct {
Ingress []LoadBalancerIngress `json:"ingress"`
}
type LocalObjectReference ¶
type LocalObjectReferenceInput ¶
func UnmarshalLocalObjectReferenceInput ¶
func UnmarshalLocalObjectReferenceInput(v interface{}) (LocalObjectReferenceInput, error)
type MicroFrontend ¶
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) CreateAddonsConfiguration(ctx context.Context, name string, urls []string, labels *Labels) (*AddonsConfiguration, error) UpdateAddonsConfiguration(ctx context.Context, name string, urls []string, labels *Labels) (*AddonsConfiguration, error) DeleteAddonsConfiguration(ctx context.Context, name string) (*AddonsConfiguration, error) AddAddonsConfigurationURLs(ctx context.Context, name string, urls []string) (*AddonsConfiguration, error) RemoveAddonsConfigurationURLs(ctx context.Context, name string, urls []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) (NamespaceCreationOutput, 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) CreateLimitRange(ctx context.Context, namespace string, name string, limitRange LimitRangeInput) (*LimitRange, error) }
type NamespaceCreationOutput ¶
type NamespaceResolver ¶
type NavigationNode ¶
type NavigationNode struct {}
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 { ClusterDocsTopics(ctx context.Context, viewContext *string, groupName *string) ([]ClusterDocsTopic, 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) AddonsConfigurations(ctx context.Context, 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) Application(ctx context.Context, name string) (*Application, error) Applications(ctx context.Context, namespace *string, first *int, offset *int) ([]Application, error) ConnectorService(ctx context.Context, application string) (ConnectorService, error) Namespaces(ctx context.Context, application *string) ([]Namespace, error) 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) Functions(ctx context.Context, namespace string, first *int, offset *int) ([]Function, 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) }
type ReplicaSet ¶
type RequiredPermission ¶
type ResolverRoot ¶
type ResolverRoot interface { Application() ApplicationResolver Asset() AssetResolver ClusterAsset() ClusterAssetResolver ClusterDocsTopic() ClusterDocsTopicResolver ClusterServiceClass() ClusterServiceClassResolver Deployment() DeploymentResolver DocsTopic() DocsTopicResolver 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 ResourceRule ¶
type ResourceType ¶
type ResourceValues ¶
type ResourceValuesInput ¶
func UnmarshalResourceValuesInput ¶
func UnmarshalResourceValuesInput(v interface{}) (ResourceValuesInput, error)
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 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 (e ServiceBindingUsageStatusType) String() 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 ServiceBroker ¶
type ServiceBrokerEvent ¶
type ServiceBrokerEvent struct { Type SubscriptionEventType `json:"type"` ServiceBroker ServiceBroker `json:"serviceBroker"` }
type ServiceBrokerStatus ¶
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) ClusterDocsTopic(ctx context.Context, obj *ServiceClass) (*ClusterDocsTopic, error) DocsTopic(ctx context.Context, obj *ServiceClass) (*DocsTopic, 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 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 ¶
MarshalGQL implements the graphql.Marshaler interface
func (*Settings) UnmarshalGQL ¶
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) ClusterDocsTopicEvent(ctx context.Context) (<-chan ClusterDocsTopicEvent, error) DocsTopicEvent(ctx context.Context, namespace string) (<-chan DocsTopicEvent, 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) AddonsConfigurationEvent(ctx context.Context) (<-chan AddonsConfigurationEvent, error) APIEvent(ctx context.Context, namespace string, serviceName *string) (<-chan ApiEvent, error) }
type UsageKindResource ¶
Source Files ¶
- application.go
- applicationmappingservice.go
- asset.go
- clusterasset.go
- clusterdocstopic.go
- clusterserviceclass.go
- docstopic.go
- eventactivation.go
- json.go
- labels.go
- models_gen.go
- namespace.go
- schema_gen.go
- servicebinding.go
- servicebindingusage.go
- serviceclass.go
- serviceinstance.go
- settings.go
- timestamp.go
Click to show internal directories.
Click to hide internal directories.