Documentation ¶
Index ¶
- Variables
- func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
- type AppInResolver
- type AppResolver
- type ClusterManagedServiceInResolver
- type ClusterManagedServiceResolver
- type ComplexityRoot
- type Config
- type ConfigInResolver
- type ConfigResolver
- type DirectiveRoot
- type EntityRepresentation
- type EntityResolver
- type EntityWithIndex
- type EnvironmentInResolver
- type EnvironmentResolver
- type ExternalAppInResolver
- type ExternalAppResolver
- type Github__com___kloudlite___api___common__CreatedOrUpdatedByResolver
- type Github__com___kloudlite___api___pkg___types__SyncStatusInResolver
- type Github__com___kloudlite___api___pkg___types__SyncStatusResolver
- type Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsInResolver
- type Github__com___kloudlite___operator___pkg___operator__StatusResolver
- type ImagePullSecretInResolver
- type ImagePullSecretResolver
- type ImportedManagedResourceResolver
- type K8s__io___api___core___v1__SecretResolver
- type ManagedResourceInResolver
- type ManagedResourceResolver
- type MetadataInResolver
- type MetadataResolver
- type MutationResolver
- type QueryResolver
- type RegistryImageResolver
- type ResolverRoot
- type RouterInResolver
- type RouterResolver
- type SecretInResolver
- type SecretResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownType = errors.New("unknown type") ErrTypeNotFound = errors.New("type not found") )
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type AppInResolver ¶
type AppResolver ¶
type AppResolver interface { CreationTime(ctx context.Context, obj *entities.App) (string, error) Spec(ctx context.Context, obj *entities.App) (*model.GithubComKloudliteOperatorApisCrdsV1AppSpec, error) UpdateTime(ctx context.Context, obj *entities.App) (string, error) Build(ctx context.Context, obj *entities.App) (*model.Build, error) ServiceHost(ctx context.Context, obj *entities.App) (*string, error) OnlineStatus(ctx context.Context, obj *entities.App) (*model.OnlineStatus, error) }
type ClusterManagedServiceInResolver ¶
type ClusterManagedServiceInResolver interface { Metadata(ctx context.Context, obj *entities.ClusterManagedService, data *v12.ObjectMeta) error Spec(ctx context.Context, obj *entities.ClusterManagedService, data *model.GithubComKloudliteOperatorApisCrdsV1ClusterManagedServiceSpecIn) error }
type ClusterManagedServiceResolver ¶
type ClusterManagedServiceResolver interface { CreationTime(ctx context.Context, obj *entities.ClusterManagedService) (string, error) Spec(ctx context.Context, obj *entities.ClusterManagedService) (*model.GithubComKloudliteOperatorApisCrdsV1ClusterManagedServiceSpec, error) UpdateTime(ctx context.Context, obj *entities.ClusterManagedService) (string, error) }
type ComplexityRoot ¶
type ComplexityRoot struct { App struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int Build func(childComplexity int) int CIBuildId func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int Enabled func(childComplexity int) int EnvironmentName func(childComplexity int) int Id func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int OnlineStatus func(childComplexity int) int RecordVersion func(childComplexity int) int ServiceHost func(childComplexity int) int Spec func(childComplexity int) int Status func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } AppEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } AppPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } Build struct { ID func(childComplexity int) int } ClusterManagedService struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int ClusterName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int Id func(childComplexity int) int IsArchived func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int Spec func(childComplexity int) int Status func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } ClusterManagedServiceEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } ClusterManagedServicePaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } Config struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int BinaryData func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int Data func(childComplexity int) int DisplayName func(childComplexity int) int EnvironmentName func(childComplexity int) int Id func(childComplexity int) int Immutable func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } ConfigEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } ConfigKeyRef struct { ConfigName func(childComplexity int) int Key func(childComplexity int) int } ConfigKeyValueRef struct { ConfigName func(childComplexity int) int Key func(childComplexity int) int Value func(childComplexity int) int } ConfigPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } ConsoleCheckNameAvailabilityOutput struct { Result func(childComplexity int) int SuggestedNames func(childComplexity int) int } CursorPagination struct { After func(childComplexity int) int Before func(childComplexity int) int First func(childComplexity int) int Last func(childComplexity int) int OrderBy func(childComplexity int) int SortDirection func(childComplexity int) int } Entity struct { FindBuildByID func(childComplexity int, id repos.ID) int } Environment struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int ClusterName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int Id func(childComplexity int) int IsArchived func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int OnlineStatus func(childComplexity int) int RecordVersion func(childComplexity int) int Spec func(childComplexity int) int Status func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } EnvironmentEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } EnvironmentPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } ExternalApp struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int EnvironmentName func(childComplexity int) int Id func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int Spec func(childComplexity int) int Status func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } ExternalAppEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } ExternalAppPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } Github__com___kloudlite___api___apps___console___internal___entities__ManagedResourceRef struct { ID func(childComplexity int) int Name func(childComplexity int) int Namespace func(childComplexity int) int } Github__com___kloudlite___api___apps___console___internal___entities__SecretCreatedFor struct { Name func(childComplexity int) int Namespace func(childComplexity int) int RefID func(childComplexity int) int ResourceType func(childComplexity int) int } Github__com___kloudlite___api___common__CreatedOrUpdatedBy struct { UserEmail func(childComplexity int) int UserID func(childComplexity int) int UserName func(childComplexity int) int } Github__com___kloudlite___api___pkg___types__SyncStatus struct { Action func(childComplexity int) int Error func(childComplexity int) int LastSyncedAt func(childComplexity int) int RecordVersion func(childComplexity int) int State func(childComplexity int) int SyncScheduledAt func(childComplexity int) int } Github__com___kloudlite___operator___apis___common____types__MsvcRef struct { APIVersion func(childComplexity int) int Kind func(childComplexity int) int Name func(childComplexity int) int Namespace func(childComplexity int) int } Github__com___kloudlite___operator___apis___common____types__SecretRef struct { Name func(childComplexity int) int Namespace func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__AppContainer struct { Args func(childComplexity int) int Command func(childComplexity int) int Env func(childComplexity int) int EnvFrom func(childComplexity int) int Image func(childComplexity int) int ImagePullPolicy func(childComplexity int) int LivenessProbe func(childComplexity int) int Name func(childComplexity int) int ReadinessProbe func(childComplexity int) int ResourceCPU func(childComplexity int) int ResourceMemory func(childComplexity int) int Volumes func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappings struct { AppPort func(childComplexity int) int DevicePort func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__AppRouter struct { BackendProtocol func(childComplexity int) int BasicAuth func(childComplexity int) int Cors func(childComplexity int) int Domains func(childComplexity int) int HTTPS func(childComplexity int) int IngressClass func(childComplexity int) int MaxBodySizeInMb func(childComplexity int) int RateLimit func(childComplexity int) int Routes func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__AppSpec struct { Containers func(childComplexity int) int DisplayName func(childComplexity int) int Freeze func(childComplexity int) int Hpa func(childComplexity int) int Intercept func(childComplexity int) int NodeSelector func(childComplexity int) int Region func(childComplexity int) int Replicas func(childComplexity int) int Router func(childComplexity int) int ServiceAccount func(childComplexity int) int Services func(childComplexity int) int Tolerations func(childComplexity int) int TopologySpreadConstraints func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__AppSvc struct { Port func(childComplexity int) int Protocol func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__BasicAuth struct { Enabled func(childComplexity int) int SecretName func(childComplexity int) int Username func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ClusterManagedServiceSpec struct { MsvcSpec func(childComplexity int) int TargetNamespace func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ContainerEnv struct { Key func(childComplexity int) int Optional func(childComplexity int) int RefKey func(childComplexity int) int RefName func(childComplexity int) int Type func(childComplexity int) int Value func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ContainerResource struct { Max func(childComplexity int) int Min func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ContainerVolume struct { Items func(childComplexity int) int MountPath func(childComplexity int) int RefName func(childComplexity int) int Type func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ContainerVolumeItem struct { FileName func(childComplexity int) int Key func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__Cors struct { AllowCredentials func(childComplexity int) int Enabled func(childComplexity int) int Origins func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__EnvFrom struct { RefName func(childComplexity int) int Type func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__EnvironmentRouting struct { Mode func(childComplexity int) int PrivateIngressClass func(childComplexity int) int PublicIngressClass func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__EnvironmentSpec struct { Routing func(childComplexity int) int Suspend func(childComplexity int) int TargetNamespace func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ExternalAppSpec struct { Intercept func(childComplexity int) int Record func(childComplexity int) int RecordType func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__HPA struct { Enabled func(childComplexity int) int MaxReplicas func(childComplexity int) int MinReplicas func(childComplexity int) int ThresholdCPU func(childComplexity int) int ThresholdMemory func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__HttpGetProbe struct { HTTPHeaders func(childComplexity int) int Path func(childComplexity int) int Port func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__Https struct { ClusterIssuer func(childComplexity int) int Enabled func(childComplexity int) int ForceRedirect func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__Intercept struct { Enabled func(childComplexity int) int PortMappings func(childComplexity int) int ToDevice func(childComplexity int) int ToIPAddr func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ManagedResourceSpec struct { ResourceNamePrefix func(childComplexity int) int ResourceTemplate func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ManagedServiceSpec struct { NodeSelector func(childComplexity int) int ServiceTemplate func(childComplexity int) int Tolerations func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__MresResourceTemplate struct { APIVersion func(childComplexity int) int Kind func(childComplexity int) int MsvcRef func(childComplexity int) int Spec func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__Probe struct { FailureThreshold func(childComplexity int) int HTTPGet func(childComplexity int) int InitialDelay func(childComplexity int) int Interval func(childComplexity int) int Shell func(childComplexity int) int TCP func(childComplexity int) int Type func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__RateLimit struct { Connections func(childComplexity int) int Enabled func(childComplexity int) int Rpm func(childComplexity int) int Rps func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__Route struct { App func(childComplexity int) int Path func(childComplexity int) int Port func(childComplexity int) int Rewrite func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__RouterSpec struct { BackendProtocol func(childComplexity int) int BasicAuth func(childComplexity int) int Cors func(childComplexity int) int Domains func(childComplexity int) int HTTPS func(childComplexity int) int IngressClass func(childComplexity int) int MaxBodySizeInMb func(childComplexity int) int RateLimit func(childComplexity int) int Routes func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ServiceTemplate struct { APIVersion func(childComplexity int) int Kind func(childComplexity int) int Spec func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__ShellProbe struct { Command func(childComplexity int) int } Github__com___kloudlite___operator___apis___crds___v1__TcpProbe struct { Port func(childComplexity int) int } Github__com___kloudlite___operator___pkg___operator__Check struct { Debug func(childComplexity int) int Error func(childComplexity int) int Generation func(childComplexity int) int Info func(childComplexity int) int Message func(childComplexity int) int StartedAt func(childComplexity int) int State func(childComplexity int) int Status func(childComplexity int) int } Github__com___kloudlite___operator___pkg___operator__CheckMeta struct { Debug func(childComplexity int) int Description func(childComplexity int) int Hide func(childComplexity int) int Name func(childComplexity int) int Title func(childComplexity int) int } Github__com___kloudlite___operator___pkg___operator__ResourceRef struct { APIVersion func(childComplexity int) int Kind func(childComplexity int) int Name func(childComplexity int) int Namespace func(childComplexity int) int } Github__com___kloudlite___operator___pkg___operator__Status struct { CheckList func(childComplexity int) int Checks func(childComplexity int) int IsReady func(childComplexity int) int LastReadyGeneration func(childComplexity int) int LastReconcileTime func(childComplexity int) int Message func(childComplexity int) int Resources func(childComplexity int) int } Github__com___kloudlite___operator___pkg___raw____json__RawJson struct { RawMessage func(childComplexity int) int } ImagePullSecret struct { AccountName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int DockerConfigJson func(childComplexity int) int Environments func(childComplexity int) int Format func(childComplexity int) int Id func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int RegistryPassword func(childComplexity int) int RegistryURL func(childComplexity int) int RegistryUsername func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } ImagePullSecretEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } ImagePullSecretPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } ImportedManagedResource struct { AccountName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int EnvironmentName func(childComplexity int) int ID func(childComplexity int) int LastUpdatedBy func(childComplexity int) int ManagedResource func(childComplexity int) int ManagedResourceRef func(childComplexity int) int MarkedForDeletion func(childComplexity int) int Name func(childComplexity int) int OnlineStatus func(childComplexity int) int RecordVersion func(childComplexity int) int SecretRef func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } ImportedManagedResourceEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } ImportedManagedResourcePaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } K8s__io___api___core___v1__Secret struct { APIVersion func(childComplexity int) int Data func(childComplexity int) int Immutable func(childComplexity int) int Kind func(childComplexity int) int ObjectMeta func(childComplexity int) int StringData func(childComplexity int) int Type func(childComplexity int) int } K8s__io___api___core___v1__Toleration struct { Effect func(childComplexity int) int Key func(childComplexity int) int Operator func(childComplexity int) int TolerationSeconds func(childComplexity int) int Value func(childComplexity int) int } K8s__io___api___core___v1__TopologySpreadConstraint struct { LabelSelector func(childComplexity int) int MatchLabelKeys func(childComplexity int) int MaxSkew func(childComplexity int) int MinDomains func(childComplexity int) int NodeAffinityPolicy func(childComplexity int) int NodeTaintsPolicy func(childComplexity int) int TopologyKey func(childComplexity int) int WhenUnsatisfiable func(childComplexity int) int } K8s__io___apimachinery___pkg___apis___meta___v1__LabelSelector struct { MatchExpressions func(childComplexity int) int MatchLabels func(childComplexity int) int } K8s__io___apimachinery___pkg___apis___meta___v1__LabelSelectorRequirement struct { Key func(childComplexity int) int Operator func(childComplexity int) int Values func(childComplexity int) int } ManagedResource struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int ClusterName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int Enabled func(childComplexity int) int EnvironmentName func(childComplexity int) int Id func(childComplexity int) int IsImported func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int ManagedServiceName func(childComplexity int) int MarkedForDeletion func(childComplexity int) int MresRef func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int Spec func(childComplexity int) int Status func(childComplexity int) int SyncStatus func(childComplexity int) int SyncedOutputSecretRef func(childComplexity int) int UpdateTime func(childComplexity int) int } ManagedResourceEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } ManagedResourceKeyRef struct { Key func(childComplexity int) int MresName func(childComplexity int) int } ManagedResourceKeyValueRef struct { Key func(childComplexity int) int MresName func(childComplexity int) int Value func(childComplexity int) int } ManagedResourcePaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } MatchFilter struct { Array func(childComplexity int) int Exact func(childComplexity int) int MatchType func(childComplexity int) int NotInArray func(childComplexity int) int Regex func(childComplexity int) int } Metadata struct { Annotations func(childComplexity int) int CreationTimestamp func(childComplexity int) int DeletionTimestamp func(childComplexity int) int Generation func(childComplexity int) int Labels func(childComplexity int) int Name func(childComplexity int) int Namespace func(childComplexity int) int } Mutation struct { CoreCloneEnvironment func(childComplexity int, clusterName string, sourceEnvName string, destinationEnvName string, displayName string, environmentRoutingMode v1.EnvironmentRoutingMode) int CoreCreateApp func(childComplexity int, envName string, app entities.App) int CoreCreateConfig func(childComplexity int, envName string, config entities.Config) int CoreCreateEnvironment func(childComplexity int, env entities.Environment) int CoreCreateExternalApp func(childComplexity int, envName string, externalApp entities.ExternalApp) int CoreCreateImagePullSecret func(childComplexity int, pullSecret entities.ImagePullSecret) int CoreCreateManagedResource func(childComplexity int, msvcName string, mres entities.ManagedResource) int CoreCreateRouter func(childComplexity int, envName string, router entities.Router) int CoreCreateSecret func(childComplexity int, envName string, secret entities.Secret) int CoreDeleteApp func(childComplexity int, envName string, appName string) int CoreDeleteConfig func(childComplexity int, envName string, configName string) int CoreDeleteEnvironment func(childComplexity int, envName string) int CoreDeleteExternalApp func(childComplexity int, envName string, externalAppName string) int CoreDeleteImagePullSecret func(childComplexity int, name string) int CoreDeleteImportedManagedResource func(childComplexity int, envName string, importName string) int CoreDeleteManagedResource func(childComplexity int, msvcName string, mresName string) int CoreDeleteRegistryImage func(childComplexity int, image string) int CoreDeleteRouter func(childComplexity int, envName string, routerName string) int CoreDeleteSecret func(childComplexity int, envName string, secretName string) int CoreImportManagedResource func(childComplexity int, envName string, msvcName string, mresName string, importName string) int CoreInterceptApp func(childComplexity int, envName string, appname string, deviceName string, intercept bool, portMappings []*v1.AppInterceptPortMappings) int CoreInterceptAppOnLocalCluster func(childComplexity int, envName string, appname string, clusterName string, ipAddr string, intercept bool, portMappings []*v1.AppInterceptPortMappings) int CoreInterceptExternalApp func(childComplexity int, envName string, externalAppName string, deviceName string, intercept bool, portMappings []*v1.AppInterceptPortMappings) int CoreRemoveDeviceIntercepts func(childComplexity int, envName string, deviceName string) int CoreSetupDefaultEnvironment func(childComplexity int) int CoreUpdateApp func(childComplexity int, envName string, app entities.App) int CoreUpdateConfig func(childComplexity int, envName string, config entities.Config) int CoreUpdateEnvironment func(childComplexity int, env entities.Environment) int CoreUpdateExternalApp func(childComplexity int, envName string, externalApp entities.ExternalApp) int CoreUpdateImagePullSecret func(childComplexity int, pullSecret entities.ImagePullSecret) int CoreUpdateManagedResource func(childComplexity int, msvcName string, mres entities.ManagedResource) int CoreUpdateRouter func(childComplexity int, envName string, router entities.Router) int CoreUpdateSecret func(childComplexity int, envName string, secret entities.Secret) int InfraCloneClusterManagedService func(childComplexity int, clusterName string, sourceMsvcName string, destinationMsvcName string, displayName string) int InfraCreateClusterManagedService func(childComplexity int, service entities.ClusterManagedService) int InfraDeleteClusterManagedService func(childComplexity int, name string) int InfraUpdateClusterManagedService func(childComplexity int, service entities.ClusterManagedService) int } OnlineStatus struct { LastOnlineAt func(childComplexity int) int WillBeOfflineAt func(childComplexity int) int } PageInfo struct { EndCursor func(childComplexity int) int HasNextPage func(childComplexity int) int HasPrevPage func(childComplexity int) int StartCursor func(childComplexity int) int } Port struct { Port func(childComplexity int) int TargetPort func(childComplexity int) int } Query struct { CoreCheckNameAvailability func(childComplexity int, envName *string, msvcName *string, resType entities.ResourceType, name string) int CoreGetApp func(childComplexity int, envName string, name string) int CoreGetConfig func(childComplexity int, envName string, name string) int CoreGetConfigValues func(childComplexity int, envName string, queries []*domain.ConfigKeyRef) int CoreGetDNSHostSuffix func(childComplexity int) int CoreGetEnvironment func(childComplexity int, name string) int CoreGetExternalApp func(childComplexity int, envName string, name string) int CoreGetImagePullSecret func(childComplexity int, name string) int CoreGetManagedResouceOutputKeyValues func(childComplexity int, msvcName *string, envName *string, keyrefs []*domain.ManagedResourceKeyRef) int CoreGetManagedResouceOutputKeys func(childComplexity int, msvcName *string, envName *string, name string) int CoreGetManagedResource func(childComplexity int, msvcName *string, envName *string, name string) int CoreGetRegistryImage func(childComplexity int, image string) int CoreGetRegistryImageURL func(childComplexity int) int CoreGetRouter func(childComplexity int, envName string, name string) int CoreGetSecret func(childComplexity int, envName string, name string) int CoreGetSecretValues func(childComplexity int, envName string, queries []*domain.SecretKeyRef) int CoreListApps func(childComplexity int, envName string, search *model.SearchApps, pq *repos.CursorPagination) int CoreListConfigs func(childComplexity int, envName string, search *model.SearchConfigs, pq *repos.CursorPagination) int CoreListEnvironments func(childComplexity int, search *model.SearchEnvironments, pq *repos.CursorPagination) int CoreListExternalApps func(childComplexity int, envName string, search *model.SearchExternalApps, pq *repos.CursorPagination) int CoreListImagePullSecrets func(childComplexity int, search *model.SearchImagePullSecrets, pq *repos.CursorPagination) int CoreListImportedManagedResources func(childComplexity int, envName string, search *model.SearchImportedManagedResources, pq *repos.CursorPagination) int CoreListManagedResources func(childComplexity int, search *model.SearchManagedResources, pq *repos.CursorPagination) int CoreListRegistryImages func(childComplexity int, pq *repos.CursorPagination) int CoreListRouters func(childComplexity int, envName string, search *model.SearchRouters, pq *repos.CursorPagination) int CoreListSecrets func(childComplexity int, envName string, search *model.SearchSecrets, pq *repos.CursorPagination) int CoreRestartApp func(childComplexity int, envName string, appName string) int CoreResyncApp func(childComplexity int, envName string, name string) int CoreResyncConfig func(childComplexity int, envName string, name string) int CoreResyncEnvironment func(childComplexity int, name string) int CoreResyncExternalApp func(childComplexity int, envName string, name string) int CoreResyncImagePullSecret func(childComplexity int, name string) int CoreResyncManagedResource func(childComplexity int, msvcName string, name string) int CoreResyncRouter func(childComplexity int, envName string, name string) int CoreResyncSecret func(childComplexity int, envName string, name string) int CoreSearchRegistryImages func(childComplexity int, query string) int InfraGetClusterManagedService func(childComplexity int, name string) int InfraListClusterManagedServices func(childComplexity int, search *model.SearchClusterManagedService, pagination *repos.CursorPagination) int // contains filtered or unexported fields } RegistryImage struct { AccountName func(childComplexity int) int CreationTime func(childComplexity int) int Id func(childComplexity int) int ImageName func(childComplexity int) int ImageTag func(childComplexity int) int MarkedForDeletion func(childComplexity int) int Meta func(childComplexity int) int RecordVersion func(childComplexity int) int UpdateTime func(childComplexity int) int } RegistryImageCredentials struct { AccountName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int ID func(childComplexity int) int MarkedForDeletion func(childComplexity int) int Password func(childComplexity int) int RecordVersion func(childComplexity int) int UpdateTime func(childComplexity int) int } RegistryImageCredentialsEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } RegistryImageCredentialsPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } RegistryImageEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } RegistryImagePaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } RegistryImageURL struct { KlWebhookAuthToken func(childComplexity int) int ScriptURL func(childComplexity int) int ScriptURLExample func(childComplexity int) int URL func(childComplexity int) int URLExample func(childComplexity int) int } Router struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int Enabled func(childComplexity int) int EnvironmentName func(childComplexity int) int Id func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int Spec func(childComplexity int) int Status func(childComplexity int) int SyncStatus func(childComplexity int) int UpdateTime func(childComplexity int) int } RouterEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } RouterPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } Secret struct { APIVersion func(childComplexity int) int AccountName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int Data func(childComplexity int) int DisplayName func(childComplexity int) int EnvironmentName func(childComplexity int) int For func(childComplexity int) int Id func(childComplexity int) int Immutable func(childComplexity int) int IsReadyOnly func(childComplexity int) int Kind func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int ObjectMeta func(childComplexity int) int RecordVersion func(childComplexity int) int StringData func(childComplexity int) int SyncStatus func(childComplexity int) int Type func(childComplexity int) int UpdateTime func(childComplexity int) int } SecretEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } SecretKeyRef struct { Key func(childComplexity int) int SecretName func(childComplexity int) int } SecretKeyValueRef struct { Key func(childComplexity int) int SecretName func(childComplexity int) int Value func(childComplexity int) int } SecretPaginatedRecords struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } // contains filtered or unexported fields }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type ConfigInResolver ¶
type ConfigResolver ¶
type ConfigResolver interface { BinaryData(ctx context.Context, obj *entities.Config) (map[string]interface{}, error) CreationTime(ctx context.Context, obj *entities.Config) (string, error) Data(ctx context.Context, obj *entities.Config) (map[string]interface{}, error) UpdateTime(ctx context.Context, obj *entities.Config) (string, error) }
type DirectiveRoot ¶
type DirectiveRoot struct { HasAccount func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) IsLoggedIn func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) IsLoggedInAndVerified func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) }
type EntityRepresentation ¶
EntityRepresentation is the JSON representation of an entity sent by the Router used as the inputs for us to resolve.
We make it a map because we know the top level JSON is always an object.
type EntityResolver ¶
type EntityWithIndex ¶
type EntityWithIndex struct {
// contains filtered or unexported fields
}
type EnvironmentInResolver ¶
type EnvironmentInResolver interface { Metadata(ctx context.Context, obj *entities.Environment, data *v12.ObjectMeta) error Spec(ctx context.Context, obj *entities.Environment, data *model.GithubComKloudliteOperatorApisCrdsV1EnvironmentSpecIn) error }
type EnvironmentResolver ¶
type EnvironmentResolver interface { CreationTime(ctx context.Context, obj *entities.Environment) (string, error) Spec(ctx context.Context, obj *entities.Environment) (*model.GithubComKloudliteOperatorApisCrdsV1EnvironmentSpec, error) UpdateTime(ctx context.Context, obj *entities.Environment) (string, error) OnlineStatus(ctx context.Context, obj *entities.Environment) (*model.OnlineStatus, error) }
type ExternalAppInResolver ¶
type ExternalAppInResolver interface { Metadata(ctx context.Context, obj *entities.ExternalApp, data *v12.ObjectMeta) error Spec(ctx context.Context, obj *entities.ExternalApp, data *model.GithubComKloudliteOperatorApisCrdsV1ExternalAppSpecIn) error Status(ctx context.Context, obj *entities.ExternalApp, data *model.GithubComKloudliteOperatorPkgOperatorStatusIn) error }
type ExternalAppResolver ¶
type ExternalAppResolver interface { CreationTime(ctx context.Context, obj *entities.ExternalApp) (string, error) Spec(ctx context.Context, obj *entities.ExternalApp) (*model.GithubComKloudliteOperatorApisCrdsV1ExternalAppSpec, error) UpdateTime(ctx context.Context, obj *entities.ExternalApp) (string, error) }
type Github__com___kloudlite___operator___pkg___operator__StatusResolver ¶
type Github__com___kloudlite___operator___pkg___operator__StatusResolver interface { CheckList(ctx context.Context, obj *operator.Status) ([]*model.GithubComKloudliteOperatorPkgOperatorCheckMeta, error) Checks(ctx context.Context, obj *operator.Status) (map[string]interface{}, error) LastReconcileTime(ctx context.Context, obj *operator.Status) (*string, error) Message(ctx context.Context, obj *operator.Status) (*model.GithubComKloudliteOperatorPkgRawJSONRawJSON, error) Resources(ctx context.Context, obj *operator.Status) ([]*model.GithubComKloudliteOperatorPkgOperatorResourceRef, error) }
type ImagePullSecretInResolver ¶
type ImagePullSecretInResolver interface { Format(ctx context.Context, obj *entities.ImagePullSecret, data model.GithubComKloudliteAPIAppsConsoleInternalEntitiesPullSecretFormat) error Metadata(ctx context.Context, obj *entities.ImagePullSecret, data *v12.ObjectMeta) error }
type ImagePullSecretResolver ¶
type ImagePullSecretResolver interface { CreationTime(ctx context.Context, obj *entities.ImagePullSecret) (string, error) Format(ctx context.Context, obj *entities.ImagePullSecret) (model.GithubComKloudliteAPIAppsConsoleInternalEntitiesPullSecretFormat, error) UpdateTime(ctx context.Context, obj *entities.ImagePullSecret) (string, error) }
type ImportedManagedResourceResolver ¶
type ImportedManagedResourceResolver interface { CreationTime(ctx context.Context, obj *entities.ImportedManagedResource) (string, error) ID(ctx context.Context, obj *entities.ImportedManagedResource) (repos.ID, error) ManagedResourceRef(ctx context.Context, obj *entities.ImportedManagedResource) (*model.GithubComKloudliteAPIAppsConsoleInternalEntitiesManagedResourceRef, error) SecretRef(ctx context.Context, obj *entities.ImportedManagedResource) (*model.GithubComKloudliteOperatorApisCommonTypesSecretRef, error) UpdateTime(ctx context.Context, obj *entities.ImportedManagedResource) (string, error) ManagedResource(ctx context.Context, obj *entities.ImportedManagedResource) (*entities.ManagedResource, error) OnlineStatus(ctx context.Context, obj *entities.ImportedManagedResource) (*model.OnlineStatus, error) }
type K8s__io___api___core___v1__SecretResolver ¶
type K8s__io___api___core___v1__SecretResolver interface { Data(ctx context.Context, obj *v11.Secret) (map[string]interface{}, error) StringData(ctx context.Context, obj *v11.Secret) (map[string]interface{}, error) Type(ctx context.Context, obj *v11.Secret) (*model.K8sIoAPICoreV1SecretType, error) }
type ManagedResourceInResolver ¶
type ManagedResourceInResolver interface { Metadata(ctx context.Context, obj *entities.ManagedResource, data *v12.ObjectMeta) error Spec(ctx context.Context, obj *entities.ManagedResource, data *model.GithubComKloudliteOperatorApisCrdsV1ManagedResourceSpecIn) error }
type ManagedResourceResolver ¶
type ManagedResourceResolver interface { CreationTime(ctx context.Context, obj *entities.ManagedResource) (string, error) Spec(ctx context.Context, obj *entities.ManagedResource) (*model.GithubComKloudliteOperatorApisCrdsV1ManagedResourceSpec, error) UpdateTime(ctx context.Context, obj *entities.ManagedResource) (string, error) }
type MetadataInResolver ¶
type MetadataResolver ¶
type MetadataResolver interface { Annotations(ctx context.Context, obj *v12.ObjectMeta) (map[string]interface{}, error) CreationTimestamp(ctx context.Context, obj *v12.ObjectMeta) (string, error) DeletionTimestamp(ctx context.Context, obj *v12.ObjectMeta) (*string, error) Labels(ctx context.Context, obj *v12.ObjectMeta) (map[string]interface{}, error) }
type MutationResolver ¶
type MutationResolver interface { CoreSetupDefaultEnvironment(ctx context.Context) (bool, error) CoreCreateEnvironment(ctx context.Context, env entities.Environment) (*entities.Environment, error) CoreUpdateEnvironment(ctx context.Context, env entities.Environment) (*entities.Environment, error) CoreDeleteEnvironment(ctx context.Context, envName string) (bool, error) CoreCloneEnvironment(ctx context.Context, clusterName string, sourceEnvName string, destinationEnvName string, displayName string, environmentRoutingMode v1.EnvironmentRoutingMode) (*entities.Environment, error) CoreCreateImagePullSecret(ctx context.Context, pullSecret entities.ImagePullSecret) (*entities.ImagePullSecret, error) CoreUpdateImagePullSecret(ctx context.Context, pullSecret entities.ImagePullSecret) (*entities.ImagePullSecret, error) CoreDeleteImagePullSecret(ctx context.Context, name string) (bool, error) CoreDeleteRegistryImage(ctx context.Context, image string) (bool, error) CoreCreateApp(ctx context.Context, envName string, app entities.App) (*entities.App, error) CoreUpdateApp(ctx context.Context, envName string, app entities.App) (*entities.App, error) CoreDeleteApp(ctx context.Context, envName string, appName string) (bool, error) CoreInterceptApp(ctx context.Context, envName string, appname string, deviceName string, intercept bool, portMappings []*v1.AppInterceptPortMappings) (bool, error) CoreInterceptAppOnLocalCluster(ctx context.Context, envName string, appname string, clusterName string, ipAddr string, intercept bool, portMappings []*v1.AppInterceptPortMappings) (bool, error) CoreRemoveDeviceIntercepts(ctx context.Context, envName string, deviceName string) (bool, error) CoreCreateExternalApp(ctx context.Context, envName string, externalApp entities.ExternalApp) (*entities.ExternalApp, error) CoreUpdateExternalApp(ctx context.Context, envName string, externalApp entities.ExternalApp) (*entities.ExternalApp, error) CoreDeleteExternalApp(ctx context.Context, envName string, externalAppName string) (bool, error) CoreInterceptExternalApp(ctx context.Context, envName string, externalAppName string, deviceName string, intercept bool, portMappings []*v1.AppInterceptPortMappings) (bool, error) CoreCreateConfig(ctx context.Context, envName string, config entities.Config) (*entities.Config, error) CoreUpdateConfig(ctx context.Context, envName string, config entities.Config) (*entities.Config, error) CoreDeleteConfig(ctx context.Context, envName string, configName string) (bool, error) CoreCreateSecret(ctx context.Context, envName string, secret entities.Secret) (*entities.Secret, error) CoreUpdateSecret(ctx context.Context, envName string, secret entities.Secret) (*entities.Secret, error) CoreDeleteSecret(ctx context.Context, envName string, secretName string) (bool, error) CoreCreateRouter(ctx context.Context, envName string, router entities.Router) (*entities.Router, error) CoreUpdateRouter(ctx context.Context, envName string, router entities.Router) (*entities.Router, error) CoreDeleteRouter(ctx context.Context, envName string, routerName string) (bool, error) InfraCreateClusterManagedService(ctx context.Context, service entities.ClusterManagedService) (*entities.ClusterManagedService, error) InfraUpdateClusterManagedService(ctx context.Context, service entities.ClusterManagedService) (*entities.ClusterManagedService, error) InfraDeleteClusterManagedService(ctx context.Context, name string) (bool, error) InfraCloneClusterManagedService(ctx context.Context, clusterName string, sourceMsvcName string, destinationMsvcName string, displayName string) (*entities.ClusterManagedService, error) CoreCreateManagedResource(ctx context.Context, msvcName string, mres entities.ManagedResource) (*entities.ManagedResource, error) CoreUpdateManagedResource(ctx context.Context, msvcName string, mres entities.ManagedResource) (*entities.ManagedResource, error) CoreDeleteManagedResource(ctx context.Context, msvcName string, mresName string) (bool, error) CoreImportManagedResource(ctx context.Context, envName string, msvcName string, mresName string, importName string) (*entities.ImportedManagedResource, error) CoreDeleteImportedManagedResource(ctx context.Context, envName string, importName string) (bool, error) }
type QueryResolver ¶
type QueryResolver interface { CoreCheckNameAvailability(ctx context.Context, envName *string, msvcName *string, resType entities.ResourceType, name string) (*domain.CheckNameAvailabilityOutput, error) CoreGetDNSHostSuffix(ctx context.Context) (string, error) CoreListEnvironments(ctx context.Context, search *model.SearchEnvironments, pq *repos.CursorPagination) (*model.EnvironmentPaginatedRecords, error) CoreGetEnvironment(ctx context.Context, name string) (*entities.Environment, error) CoreResyncEnvironment(ctx context.Context, name string) (bool, error) CoreListImagePullSecrets(ctx context.Context, search *model.SearchImagePullSecrets, pq *repos.CursorPagination) (*model.ImagePullSecretPaginatedRecords, error) CoreGetImagePullSecret(ctx context.Context, name string) (*entities.ImagePullSecret, error) CoreResyncImagePullSecret(ctx context.Context, name string) (bool, error) CoreGetRegistryImageURL(ctx context.Context) (*model.RegistryImageURL, error) CoreGetRegistryImage(ctx context.Context, image string) (*entities.RegistryImage, error) CoreListRegistryImages(ctx context.Context, pq *repos.CursorPagination) (*model.RegistryImagePaginatedRecords, error) CoreSearchRegistryImages(ctx context.Context, query string) ([]*entities.RegistryImage, error) CoreListApps(ctx context.Context, envName string, search *model.SearchApps, pq *repos.CursorPagination) (*model.AppPaginatedRecords, error) CoreGetApp(ctx context.Context, envName string, name string) (*entities.App, error) CoreResyncApp(ctx context.Context, envName string, name string) (bool, error) CoreRestartApp(ctx context.Context, envName string, appName string) (bool, error) CoreListExternalApps(ctx context.Context, envName string, search *model.SearchExternalApps, pq *repos.CursorPagination) (*model.ExternalAppPaginatedRecords, error) CoreGetExternalApp(ctx context.Context, envName string, name string) (*entities.ExternalApp, error) CoreResyncExternalApp(ctx context.Context, envName string, name string) (bool, error) CoreGetConfigValues(ctx context.Context, envName string, queries []*domain.ConfigKeyRef) ([]*domain.ConfigKeyValueRef, error) CoreListConfigs(ctx context.Context, envName string, search *model.SearchConfigs, pq *repos.CursorPagination) (*model.ConfigPaginatedRecords, error) CoreGetConfig(ctx context.Context, envName string, name string) (*entities.Config, error) CoreResyncConfig(ctx context.Context, envName string, name string) (bool, error) CoreGetSecretValues(ctx context.Context, envName string, queries []*domain.SecretKeyRef) ([]*domain.SecretKeyValueRef, error) CoreListSecrets(ctx context.Context, envName string, search *model.SearchSecrets, pq *repos.CursorPagination) (*model.SecretPaginatedRecords, error) CoreGetSecret(ctx context.Context, envName string, name string) (*entities.Secret, error) CoreResyncSecret(ctx context.Context, envName string, name string) (bool, error) CoreListRouters(ctx context.Context, envName string, search *model.SearchRouters, pq *repos.CursorPagination) (*model.RouterPaginatedRecords, error) CoreGetRouter(ctx context.Context, envName string, name string) (*entities.Router, error) CoreResyncRouter(ctx context.Context, envName string, name string) (bool, error) CoreGetManagedResouceOutputKeys(ctx context.Context, msvcName *string, envName *string, name string) ([]string, error) CoreGetManagedResouceOutputKeyValues(ctx context.Context, msvcName *string, envName *string, keyrefs []*domain.ManagedResourceKeyRef) ([]*domain.ManagedResourceKeyValueRef, error) InfraListClusterManagedServices(ctx context.Context, search *model.SearchClusterManagedService, pagination *repos.CursorPagination) (*model.ClusterManagedServicePaginatedRecords, error) InfraGetClusterManagedService(ctx context.Context, name string) (*entities.ClusterManagedService, error) CoreListManagedResources(ctx context.Context, search *model.SearchManagedResources, pq *repos.CursorPagination) (*model.ManagedResourcePaginatedRecords, error) CoreGetManagedResource(ctx context.Context, msvcName *string, envName *string, name string) (*entities.ManagedResource, error) CoreResyncManagedResource(ctx context.Context, msvcName string, name string) (bool, error) CoreListImportedManagedResources(ctx context.Context, envName string, search *model.SearchImportedManagedResources, pq *repos.CursorPagination) (*model.ImportedManagedResourcePaginatedRecords, error) }
type RegistryImageResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { App() AppResolver ClusterManagedService() ClusterManagedServiceResolver Config() ConfigResolver Entity() EntityResolver Environment() EnvironmentResolver ExternalApp() ExternalAppResolver Github__com___kloudlite___api___common__CreatedOrUpdatedBy() Github__com___kloudlite___api___common__CreatedOrUpdatedByResolver Github__com___kloudlite___api___pkg___types__SyncStatus() Github__com___kloudlite___api___pkg___types__SyncStatusResolver Github__com___kloudlite___operator___pkg___operator__Status() Github__com___kloudlite___operator___pkg___operator__StatusResolver ImagePullSecret() ImagePullSecretResolver ImportedManagedResource() ImportedManagedResourceResolver K8s__io___api___core___v1__Secret() K8s__io___api___core___v1__SecretResolver ManagedResource() ManagedResourceResolver Metadata() MetadataResolver Mutation() MutationResolver Query() QueryResolver RegistryImage() RegistryImageResolver Router() RouterResolver Secret() SecretResolver AppIn() AppInResolver ClusterManagedServiceIn() ClusterManagedServiceInResolver ConfigIn() ConfigInResolver EnvironmentIn() EnvironmentInResolver ExternalAppIn() ExternalAppInResolver Github__com___kloudlite___api___pkg___types__SyncStatusIn() Github__com___kloudlite___api___pkg___types__SyncStatusInResolver Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn() Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsInResolver ImagePullSecretIn() ImagePullSecretInResolver ManagedResourceIn() ManagedResourceInResolver MetadataIn() MetadataInResolver RouterIn() RouterInResolver SecretIn() SecretInResolver }
type RouterInResolver ¶
type RouterResolver ¶
type SecretInResolver ¶
type SecretInResolver interface { Data(ctx context.Context, obj *entities.Secret, data map[string]interface{}) error Metadata(ctx context.Context, obj *entities.Secret, data *v12.ObjectMeta) error StringData(ctx context.Context, obj *entities.Secret, data map[string]interface{}) error Type(ctx context.Context, obj *entities.Secret, data *model.K8sIoAPICoreV1SecretType) error }
type SecretResolver ¶
type SecretResolver interface { CreationTime(ctx context.Context, obj *entities.Secret) (string, error) Data(ctx context.Context, obj *entities.Secret) (map[string]interface{}, error) For(ctx context.Context, obj *entities.Secret) (*model.GithubComKloudliteAPIAppsConsoleInternalEntitiesSecretCreatedFor, error) IsReadyOnly(ctx context.Context, obj *entities.Secret) (bool, error) StringData(ctx context.Context, obj *entities.Secret) (map[string]interface{}, error) Type(ctx context.Context, obj *entities.Secret) (*model.K8sIoAPICoreV1SecretType, error) UpdateTime(ctx context.Context, obj *entities.Secret) (string, error) }
Click to show internal directories.
Click to hide internal directories.