generated

package
v0.0.0-...-a5db094 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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.

Types

type ComplexityRoot

type ComplexityRoot struct {
	ActionPayload struct {
		ExternalData func(childComplexity int) int
		K8sManifest  func(childComplexity int) int
		Namespace    func(childComplexity int) int
		RequestID    func(childComplexity int) int
		RequestType  func(childComplexity int) int
		Username     func(childComplexity int) int
	}

	Annotation struct {
		Categories       func(childComplexity int) int
		ChartDescription func(childComplexity int) int
		CreatedAt        func(childComplexity int) int
		Repository       func(childComplexity int) int
		Support          func(childComplexity int) int
		Vendor           func(childComplexity int) int
	}

	ChaosExperimentResponse struct {
		CronSyntax            func(childComplexity int) int
		ExperimentDescription func(childComplexity int) int
		ExperimentID          func(childComplexity int) int
		ExperimentName        func(childComplexity int) int
		IsCustomExperiment    func(childComplexity int) int
		ProjectID             func(childComplexity int) int
		Tags                  func(childComplexity int) int
	}

	ChaosHub struct {
		AuthType      func(childComplexity int) int
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		Description   func(childComplexity int) int
		HubType       func(childComplexity int) int
		ID            func(childComplexity int) int
		IsDefault     func(childComplexity int) int
		IsPrivate     func(childComplexity int) int
		IsRemoved     func(childComplexity int) int
		LastSyncedAt  func(childComplexity int) int
		Name          func(childComplexity int) int
		Password      func(childComplexity int) int
		ProjectID     func(childComplexity int) int
		RemoteHub     func(childComplexity int) int
		RepoBranch    func(childComplexity int) int
		RepoURL       func(childComplexity int) int
		SSHPrivateKey func(childComplexity int) int
		Tags          func(childComplexity int) int
		Token         func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
		UserName      func(childComplexity int) int
	}

	ChaosHubStatus struct {
		AuthType         func(childComplexity int) int
		CreatedAt        func(childComplexity int) int
		CreatedBy        func(childComplexity int) int
		Description      func(childComplexity int) int
		HubType          func(childComplexity int) int
		ID               func(childComplexity int) int
		IsAvailable      func(childComplexity int) int
		IsDefault        func(childComplexity int) int
		IsPrivate        func(childComplexity int) int
		IsRemoved        func(childComplexity int) int
		LastSyncedAt     func(childComplexity int) int
		Name             func(childComplexity int) int
		Password         func(childComplexity int) int
		RemoteHub        func(childComplexity int) int
		RepoBranch       func(childComplexity int) int
		RepoURL          func(childComplexity int) int
		SSHPrivateKey    func(childComplexity int) int
		SSHPublicKey     func(childComplexity int) int
		Tags             func(childComplexity int) int
		Token            func(childComplexity int) int
		TotalExperiments func(childComplexity int) int
		TotalFaults      func(childComplexity int) int
		UpdatedAt        func(childComplexity int) int
		UpdatedBy        func(childComplexity int) int
		UserName         func(childComplexity int) int
	}

	Chart struct {
		APIVersion  func(childComplexity int) int
		Kind        func(childComplexity int) int
		Metadata    func(childComplexity int) int
		PackageInfo func(childComplexity int) int
		Spec        func(childComplexity int) int
	}

	Comparator struct {
		Criteria func(childComplexity int) int
		Type     func(childComplexity int) int
		Value    func(childComplexity int) int
	}

	ConfirmInfraRegistrationResponse struct {
		InfraID          func(childComplexity int) int
		IsInfraConfirmed func(childComplexity int) int
		NewAccessKey     func(childComplexity int) int
	}

	Environment struct {
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		Description   func(childComplexity int) int
		EnvironmentID func(childComplexity int) int
		InfraIDs      func(childComplexity int) int
		IsRemoved     func(childComplexity int) int
		Name          func(childComplexity int) int
		ProjectID     func(childComplexity int) int
		Tags          func(childComplexity int) int
		Type          func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
	}

	ExecutedByExperiment struct {
		ExperimentID   func(childComplexity int) int
		ExperimentName func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
	}

	ExecutionHistory struct {
		ExecutedByExperiment func(childComplexity int) int
		FaultName            func(childComplexity int) int
		Mode                 func(childComplexity int) int
		Status               func(childComplexity int) int
	}

	Experiment struct {
		CreatedAt                  func(childComplexity int) int
		CreatedBy                  func(childComplexity int) int
		CronSyntax                 func(childComplexity int) int
		Description                func(childComplexity int) int
		ExperimentID               func(childComplexity int) int
		ExperimentManifest         func(childComplexity int) int
		ExperimentType             func(childComplexity int) int
		Infra                      func(childComplexity int) int
		IsCustomExperiment         func(childComplexity int) int
		IsRemoved                  func(childComplexity int) int
		Name                       func(childComplexity int) int
		ProjectID                  func(childComplexity int) int
		RecentExperimentRunDetails func(childComplexity int) int
		Tags                       func(childComplexity int) int
		UpdatedAt                  func(childComplexity int) int
		UpdatedBy                  func(childComplexity int) int
		Weightages                 func(childComplexity int) int
	}

	ExperimentDetails struct {
		EngineDetails     func(childComplexity int) int
		ExperimentDetails func(childComplexity int) int
	}

	ExperimentRun struct {
		CreatedAt          func(childComplexity int) int
		CreatedBy          func(childComplexity int) int
		ExecutionData      func(childComplexity int) int
		ExperimentID       func(childComplexity int) int
		ExperimentManifest func(childComplexity int) int
		ExperimentName     func(childComplexity int) int
		ExperimentRunID    func(childComplexity int) int
		ExperimentType     func(childComplexity int) int
		FaultsAwaited      func(childComplexity int) int
		FaultsFailed       func(childComplexity int) int
		FaultsNa           func(childComplexity int) int
		FaultsPassed       func(childComplexity int) int
		FaultsStopped      func(childComplexity int) int
		Infra              func(childComplexity int) int
		IsRemoved          func(childComplexity int) int
		NotifyID           func(childComplexity int) int
		Phase              func(childComplexity int) int
		ProjectID          func(childComplexity int) int
		ResiliencyScore    func(childComplexity int) int
		RunSequence        func(childComplexity int) int
		TotalFaults        func(childComplexity int) int
		UpdatedAt          func(childComplexity int) int
		UpdatedBy          func(childComplexity int) int
		Weightages         func(childComplexity int) int
	}

	Experiments struct {
		CSV  func(childComplexity int) int
		Desc func(childComplexity int) int
		Name func(childComplexity int) int
	}

	FaultDetails struct {
		CSV    func(childComplexity int) int
		Engine func(childComplexity int) int
		Fault  func(childComplexity int) int
	}

	FaultList struct {
		Description func(childComplexity int) int
		DisplayName func(childComplexity int) int
		Name        func(childComplexity int) int
		Plan        func(childComplexity int) int
	}

	GET struct {
		Criteria     func(childComplexity int) int
		ResponseCode func(childComplexity int) int
	}

	GetChaosHubStatsResponse struct {
		TotalChaosHubs func(childComplexity int) int
	}

	GetExperimentResponse struct {
		AverageResiliencyScore func(childComplexity int) int
		ExperimentDetails      func(childComplexity int) int
	}

	GetExperimentRunStatsResponse struct {
		TotalCompletedExperimentRuns  func(childComplexity int) int
		TotalErroredExperimentRuns    func(childComplexity int) int
		TotalExperimentRuns           func(childComplexity int) int
		TotalRunningExperimentRuns    func(childComplexity int) int
		TotalStoppedExperimentRuns    func(childComplexity int) int
		TotalTerminatedExperimentRuns func(childComplexity int) int
	}

	GetExperimentStatsResponse struct {
		TotalExpCategorizedByResiliencyScore func(childComplexity int) int
		TotalExperiments                     func(childComplexity int) int
	}

	GetInfraStatsResponse struct {
		TotalActiveInfrastructure        func(childComplexity int) int
		TotalConfirmedInfrastructure     func(childComplexity int) int
		TotalInactiveInfrastructures     func(childComplexity int) int
		TotalInfrastructures             func(childComplexity int) int
		TotalNonConfirmedInfrastructures func(childComplexity int) int
	}

	GetProbeReferenceResponse struct {
		Name             func(childComplexity int) int
		ProjectID        func(childComplexity int) int
		RecentExecutions func(childComplexity int) int
		TotalRuns        func(childComplexity int) int
	}

	GetProbesInExperimentRunResponse struct {
		Mode   func(childComplexity int) int
		Probe  func(childComplexity int) int
		Status func(childComplexity int) int
	}

	GitConfigResponse struct {
		AuthType      func(childComplexity int) int
		Branch        func(childComplexity int) int
		Enabled       func(childComplexity int) int
		Password      func(childComplexity int) int
		ProjectID     func(childComplexity int) int
		RepoURL       func(childComplexity int) int
		SSHPrivateKey func(childComplexity int) int
		Token         func(childComplexity int) int
		UserName      func(childComplexity int) int
	}

	ImageRegistry struct {
		EnableRegistry    func(childComplexity int) int
		ImageRegistryName func(childComplexity int) int
		ImageRegistryType func(childComplexity int) int
		ImageRepoName     func(childComplexity int) int
		IsDefault         func(childComplexity int) int
		SecretName        func(childComplexity int) int
		SecretNamespace   func(childComplexity int) int
	}

	ImageRegistryResponse struct {
		CreatedAt         func(childComplexity int) int
		CreatedBy         func(childComplexity int) int
		ImageRegistryID   func(childComplexity int) int
		ImageRegistryInfo func(childComplexity int) int
		IsDefault         func(childComplexity int) int
		IsRemoved         func(childComplexity int) int
		ProjectID         func(childComplexity int) int
		UpdatedAt         func(childComplexity int) int
		UpdatedBy         func(childComplexity int) int
	}

	Infra struct {
		CreatedAt               func(childComplexity int) int
		CreatedBy               func(childComplexity int) int
		Description             func(childComplexity int) int
		EnvironmentID           func(childComplexity int) int
		InfraID                 func(childComplexity int) int
		InfraNamespace          func(childComplexity int) int
		InfraNsExists           func(childComplexity int) int
		InfraSaExists           func(childComplexity int) int
		InfraScope              func(childComplexity int) int
		InfraType               func(childComplexity int) int
		IsActive                func(childComplexity int) int
		IsInfraConfirmed        func(childComplexity int) int
		IsRemoved               func(childComplexity int) int
		LastExperimentTimestamp func(childComplexity int) int
		Name                    func(childComplexity int) int
		NoOfExperimentRuns      func(childComplexity int) int
		NoOfExperiments         func(childComplexity int) int
		PlatformName            func(childComplexity int) int
		ProjectID               func(childComplexity int) int
		ServiceAccount          func(childComplexity int) int
		StartTime               func(childComplexity int) int
		Tags                    func(childComplexity int) int
		Token                   func(childComplexity int) int
		UpdateStatus            func(childComplexity int) int
		UpdatedAt               func(childComplexity int) int
		UpdatedBy               func(childComplexity int) int
		Version                 func(childComplexity int) int
	}

	InfraActionResponse struct {
		Action    func(childComplexity int) int
		ProjectID func(childComplexity int) int
	}

	InfraEventResponse struct {
		Description func(childComplexity int) int
		EventID     func(childComplexity int) int
		EventName   func(childComplexity int) int
		EventType   func(childComplexity int) int
		Infra       func(childComplexity int) int
	}

	InfraVersionDetails struct {
		CompatibleVersions func(childComplexity int) int
		LatestVersion      func(childComplexity int) int
	}

	K8SProbe struct {
		Attempt              func(childComplexity int) int
		EvaluationTimeout    func(childComplexity int) int
		FieldSelector        func(childComplexity int) int
		Group                func(childComplexity int) int
		InitialDelay         func(childComplexity int) int
		Interval             func(childComplexity int) int
		LabelSelector        func(childComplexity int) int
		Namespace            func(childComplexity int) int
		Operation            func(childComplexity int) int
		ProbePollingInterval func(childComplexity int) int
		ProbeTimeout         func(childComplexity int) int
		Resource             func(childComplexity int) int
		ResourceNames        func(childComplexity int) int
		Retry                func(childComplexity int) int
		StopOnFailure        func(childComplexity int) int
		Version              func(childComplexity int) int
	}

	KubeNamespace struct {
		Name func(childComplexity int) int
	}

	KubeNamespaceResponse struct {
		InfraID       func(childComplexity int) int
		KubeNamespace func(childComplexity int) int
	}

	KubeObject struct {
		Data      func(childComplexity int) int
		Namespace func(childComplexity int) int
	}

	KubeObjectResponse struct {
		InfraID func(childComplexity int) int
		KubeObj func(childComplexity int) int
	}

	KubernetesCMDProbe struct {
		Attempt              func(childComplexity int) int
		Command              func(childComplexity int) int
		Comparator           func(childComplexity int) int
		EvaluationTimeout    func(childComplexity int) int
		InitialDelay         func(childComplexity int) int
		Interval             func(childComplexity int) int
		ProbePollingInterval func(childComplexity int) int
		ProbeTimeout         func(childComplexity int) int
		Retry                func(childComplexity int) int
		Source               func(childComplexity int) int
		StopOnFailure        func(childComplexity int) int
	}

	KubernetesHTTPProbe struct {
		Attempt              func(childComplexity int) int
		EvaluationTimeout    func(childComplexity int) int
		InitialDelay         func(childComplexity int) int
		InsecureSkipVerify   func(childComplexity int) int
		Interval             func(childComplexity int) int
		Method               func(childComplexity int) int
		ProbePollingInterval func(childComplexity int) int
		ProbeTimeout         func(childComplexity int) int
		Retry                func(childComplexity int) int
		StopOnFailure        func(childComplexity int) int
		URL                  func(childComplexity int) int
	}

	Link struct {
		Name func(childComplexity int) int
		URL  func(childComplexity int) int
	}

	ListEnvironmentResponse struct {
		Environments          func(childComplexity int) int
		TotalNoOfEnvironments func(childComplexity int) int
	}

	ListExperimentResponse struct {
		Experiments          func(childComplexity int) int
		TotalNoOfExperiments func(childComplexity int) int
	}

	ListExperimentRunResponse struct {
		ExperimentRuns          func(childComplexity int) int
		TotalNoOfExperimentRuns func(childComplexity int) int
	}

	ListInfraResponse struct {
		Infras          func(childComplexity int) int
		TotalNoOfInfras func(childComplexity int) int
	}

	Maintainer struct {
		Email func(childComplexity int) int
		Name  func(childComplexity int) int
	}

	Metadata struct {
		Annotations func(childComplexity int) int
		Name        func(childComplexity int) int
		Version     func(childComplexity int) int
	}

	Method struct {
		Get  func(childComplexity int) int
		Post func(childComplexity int) int
	}

	Mutation struct {
		AddChaosHub               func(childComplexity int, projectID string, request model.CreateChaosHubRequest) int
		AddProbe                  func(childComplexity int, request model.ProbeRequest, projectID string) int
		AddRemoteChaosHub         func(childComplexity int, projectID string, request model.CreateRemoteChaosHub) int
		ChaosExperimentRun        func(childComplexity int, request model.ExperimentRunRequest) int
		ConfirmInfraRegistration  func(childComplexity int, request model.InfraIdentity) int
		CreateChaosExperiment     func(childComplexity int, request model.ChaosExperimentRequest, projectID string) int
		CreateEnvironment         func(childComplexity int, projectID string, request *model.CreateEnvironmentRequest) int
		CreateImageRegistry       func(childComplexity int, projectID string, imageRegistryInfo model.ImageRegistryInput) int
		DeleteChaosExperiment     func(childComplexity int, experimentID string, experimentRunID *string, projectID string) int
		DeleteChaosHub            func(childComplexity int, projectID string, hubID string) int
		DeleteEnvironment         func(childComplexity int, projectID string, environmentID string) int
		DeleteImageRegistry       func(childComplexity int, imageRegistryID string, projectID string) int
		DeleteInfra               func(childComplexity int, projectID string, infraID string) int
		DeleteProbe               func(childComplexity int, probeName string, projectID string) int
		DisableGitOps             func(childComplexity int, projectID string) int
		EnableGitOps              func(childComplexity int, projectID string, configurations model.GitConfig) int
		GenerateSSHKey            func(childComplexity int) int
		GetManifestWithInfraID    func(childComplexity int, projectID string, infraID string, accessKey string) int
		GitopsNotifier            func(childComplexity int, clusterInfo model.InfraIdentity, experimentID string) int
		KubeNamespace             func(childComplexity int, request model.KubeNamespaceData) int
		KubeObj                   func(childComplexity int, request model.KubeObjectData) int
		PodLog                    func(childComplexity int, request model.PodLog) int
		RegisterInfra             func(childComplexity int, projectID string, request model.RegisterInfraRequest) int
		RunChaosExperiment        func(childComplexity int, experimentID string, projectID string) int
		SaveChaosExperiment       func(childComplexity int, request model.SaveChaosExperimentRequest, projectID string) int
		SaveChaosHub              func(childComplexity int, projectID string, request model.CreateChaosHubRequest) int
		StopExperimentRuns        func(childComplexity int, projectID string, experimentID string, experimentRunID *string, notifyID *string) int
		SyncChaosHub              func(childComplexity int, id string, projectID string) int
		UpdateChaosExperiment     func(childComplexity int, request model.ChaosExperimentRequest, projectID string) int
		UpdateChaosHub            func(childComplexity int, projectID string, request model.UpdateChaosHubRequest) int
		UpdateCronExperimentState func(childComplexity int, experimentID string, disable bool, projectID string) int
		UpdateEnvironment         func(childComplexity int, projectID string, request *model.UpdateEnvironmentRequest) int
		UpdateGitOps              func(childComplexity int, projectID string, configurations model.GitConfig) int
		UpdateImageRegistry       func(childComplexity int, imageRegistryID string, projectID string, imageRegistryInfo model.ImageRegistryInput) int
		UpdateProbe               func(childComplexity int, request model.ProbeRequest, projectID string) int
	}

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

	POST struct {
		Body         func(childComplexity int) int
		BodyPath     func(childComplexity int) int
		ContentType  func(childComplexity int) int
		Criteria     func(childComplexity int) int
		ResponseCode func(childComplexity int) int
	}

	PROMProbe struct {
		Attempt              func(childComplexity int) int
		Comparator           func(childComplexity int) int
		Endpoint             func(childComplexity int) int
		EvaluationTimeout    func(childComplexity int) int
		InitialDelay         func(childComplexity int) int
		Interval             func(childComplexity int) int
		ProbePollingInterval func(childComplexity int) int
		ProbeTimeout         func(childComplexity int) int
		Query                func(childComplexity int) int
		QueryPath            func(childComplexity int) int
		Retry                func(childComplexity int) int
		StopOnFailure        func(childComplexity int) int
	}

	PackageInformation struct {
		Experiments func(childComplexity int) int
		PackageName func(childComplexity int) int
	}

	PodLogResponse struct {
		ExperimentRunID func(childComplexity int) int
		Log             func(childComplexity int) int
		PodName         func(childComplexity int) int
		PodType         func(childComplexity int) int
	}

	PredefinedExperimentList struct {
		ExperimentCSV      func(childComplexity int) int
		ExperimentManifest func(childComplexity int) int
		ExperimentName     func(childComplexity int) int
	}

	Probe struct {
		CreatedAt                func(childComplexity int) int
		CreatedBy                func(childComplexity int) int
		Description              func(childComplexity int) int
		InfrastructureType       func(childComplexity int) int
		K8sProperties            func(childComplexity int) int
		KubernetesCMDProperties  func(childComplexity int) int
		KubernetesHTTPProperties func(childComplexity int) int
		Name                     func(childComplexity int) int
		ProjectID                func(childComplexity int) int
		PromProperties           func(childComplexity int) int
		RecentExecutions         func(childComplexity int) int
		ReferencedBy             func(childComplexity int) int
		Tags                     func(childComplexity int) int
		Type                     func(childComplexity int) int
		UpdatedAt                func(childComplexity int) int
		UpdatedBy                func(childComplexity int) int
	}

	ProbeRecentExecutions struct {
		ExecutedByExperiment func(childComplexity int) int
		FaultName            func(childComplexity int) int
		Status               func(childComplexity int) int
	}

	Provider struct {
		Name func(childComplexity int) int
	}

	Query struct {
		GetChaosFault             func(childComplexity int, projectID string, request model.ExperimentRequest) int
		GetChaosHub               func(childComplexity int, projectID string, chaosHubID string) int
		GetChaosHubStats          func(childComplexity int, projectID string) int
		GetEnvironment            func(childComplexity int, projectID string, environmentID string) int
		GetExperiment             func(childComplexity int, projectID string, experimentID string) int
		GetExperimentRun          func(childComplexity int, projectID string, experimentRunID *string, notifyID *string) int
		GetExperimentRunStats     func(childComplexity int, projectID string) int
		GetExperimentStats        func(childComplexity int, projectID string) int
		GetGitOpsDetails          func(childComplexity int, projectID string) int
		GetImageRegistry          func(childComplexity int, projectID string) int
		GetInfra                  func(childComplexity int, projectID string, infraID string) int
		GetInfraDetails           func(childComplexity int, infraID string, projectID string) int
		GetInfraManifest          func(childComplexity int, infraID string, upgrade bool, projectID string) int
		GetInfraStats             func(childComplexity int, projectID string) int
		GetPredefinedExperiment   func(childComplexity int, hubID string, experimentName []string, projectID string) int
		GetProbe                  func(childComplexity int, projectID string, probeName string) int
		GetProbeReference         func(childComplexity int, projectID string, probeName string) int
		GetProbeYaml              func(childComplexity int, projectID string, request model.GetProbeYAMLRequest) int
		GetProbesInExperimentRun  func(childComplexity int, projectID string, experimentRunID string, faultName string) int
		GetServerVersion          func(childComplexity int) int
		GetVersionDetails         func(childComplexity int, projectID string) int
		ListChaosFaults           func(childComplexity int, hubID string, projectID string) int
		ListChaosHub              func(childComplexity int, projectID string, request *model.ListChaosHubRequest) int
		ListEnvironments          func(childComplexity int, projectID string, request *model.ListEnvironmentRequest) int
		ListExperiment            func(childComplexity int, projectID string, request model.ListExperimentRequest) int
		ListExperimentRun         func(childComplexity int, projectID string, request model.ListExperimentRunRequest) int
		ListImageRegistry         func(childComplexity int, projectID string) int
		ListInfras                func(childComplexity int, projectID string, request *model.ListInfraRequest) int
		ListPredefinedExperiments func(childComplexity int, hubID string, projectID string) int
		ListProbes                func(childComplexity int, projectID string, infrastructureType *model.InfrastructureType, probeNames []string, filter *model.ProbeFilterInput) int
		ValidateUniqueProbe       func(childComplexity int, projectID string, probeName string) int
	}

	RecentExecutions struct {
		ExecutionHistory func(childComplexity int) int
		FaultName        func(childComplexity int) int
		Mode             func(childComplexity int) int
	}

	RecentExperimentRun struct {
		CreatedAt       func(childComplexity int) int
		CreatedBy       func(childComplexity int) int
		ExperimentRunID func(childComplexity int) int
		Phase           func(childComplexity int) int
		ResiliencyScore func(childComplexity int) int
		RunSequence     func(childComplexity int) int
		UpdatedAt       func(childComplexity int) int
		UpdatedBy       func(childComplexity int) int
	}

	RegisterInfraResponse struct {
		InfraID  func(childComplexity int) int
		Manifest func(childComplexity int) int
		Name     func(childComplexity int) int
		Token    func(childComplexity int) int
	}

	ResilienceScoreCategory struct {
		Count func(childComplexity int) int
		ID    func(childComplexity int) int
	}

	RunChaosExperimentResponse struct {
		NotifyID func(childComplexity int) int
	}

	SSHKey struct {
		PrivateKey func(childComplexity int) int
		PublicKey  func(childComplexity int) int
	}

	ServerVersionResponse struct {
		Key   func(childComplexity int) int
		Value func(childComplexity int) int
	}

	Spec struct {
		CategoryDescription func(childComplexity int) int
		ChaosExpCRDLink     func(childComplexity int) int
		ChaosType           func(childComplexity int) int
		DisplayName         func(childComplexity int) int
		Experiments         func(childComplexity int) int
		Faults              func(childComplexity int) int
		Keywords            func(childComplexity int) int
		Links               func(childComplexity int) int
		Maintainers         func(childComplexity int) int
		Maturity            func(childComplexity int) int
		MinKubeVersion      func(childComplexity int) int
		Platforms           func(childComplexity int) int
		Provider            func(childComplexity int) int
	}

	Status struct {
		Description func(childComplexity int) int
		Verdict     func(childComplexity int) int
	}

	StopExperimentRunsRequest struct {
		ExperimentID    func(childComplexity int) int
		ExperimentRunID func(childComplexity int) int
		ProjectID       func(childComplexity int) int
	}

	Subscription struct {
		GetInfraEvents   func(childComplexity int, projectID string) int
		GetKubeNamespace func(childComplexity int, request model.KubeNamespaceRequest) int
		GetKubeObject    func(childComplexity int, request model.KubeObjectRequest) int
		GetPodLog        func(childComplexity int, request model.PodLogRequest) int
		InfraConnect     func(childComplexity int, request model.InfraIdentity) int
	}

	UserDetails struct {
		Email    func(childComplexity int) int
		UserID   func(childComplexity int) int
		Username func(childComplexity int) int
	}

	Weightages struct {
		FaultName func(childComplexity int) int
		Weightage func(childComplexity int) int
	}
}

type Config

type Config struct {
	Schema     *ast.Schema
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

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

type MutationResolver

type MutationResolver interface {
	CreateChaosExperiment(ctx context.Context, request model.ChaosExperimentRequest, projectID string) (*model.ChaosExperimentResponse, error)
	SaveChaosExperiment(ctx context.Context, request model.SaveChaosExperimentRequest, projectID string) (string, error)
	UpdateChaosExperiment(ctx context.Context, request model.ChaosExperimentRequest, projectID string) (*model.ChaosExperimentResponse, error)
	DeleteChaosExperiment(ctx context.Context, experimentID string, experimentRunID *string, projectID string) (bool, error)
	UpdateCronExperimentState(ctx context.Context, experimentID string, disable bool, projectID string) (bool, error)
	ChaosExperimentRun(ctx context.Context, request model.ExperimentRunRequest) (string, error)
	RunChaosExperiment(ctx context.Context, experimentID string, projectID string) (*model.RunChaosExperimentResponse, error)
	StopExperimentRuns(ctx context.Context, projectID string, experimentID string, experimentRunID *string, notifyID *string) (bool, error)
	RegisterInfra(ctx context.Context, projectID string, request model.RegisterInfraRequest) (*model.RegisterInfraResponse, error)
	ConfirmInfraRegistration(ctx context.Context, request model.InfraIdentity) (*model.ConfirmInfraRegistrationResponse, error)
	DeleteInfra(ctx context.Context, projectID string, infraID string) (string, error)
	GetManifestWithInfraID(ctx context.Context, projectID string, infraID string, accessKey string) (string, error)
	PodLog(ctx context.Context, request model.PodLog) (string, error)
	KubeObj(ctx context.Context, request model.KubeObjectData) (string, error)
	KubeNamespace(ctx context.Context, request model.KubeNamespaceData) (string, error)
	AddChaosHub(ctx context.Context, projectID string, request model.CreateChaosHubRequest) (*model.ChaosHub, error)
	AddRemoteChaosHub(ctx context.Context, projectID string, request model.CreateRemoteChaosHub) (*model.ChaosHub, error)
	SaveChaosHub(ctx context.Context, projectID string, request model.CreateChaosHubRequest) (*model.ChaosHub, error)
	SyncChaosHub(ctx context.Context, id string, projectID string) (string, error)
	GenerateSSHKey(ctx context.Context) (*model.SSHKey, error)
	UpdateChaosHub(ctx context.Context, projectID string, request model.UpdateChaosHubRequest) (*model.ChaosHub, error)
	DeleteChaosHub(ctx context.Context, projectID string, hubID string) (bool, error)
	CreateEnvironment(ctx context.Context, projectID string, request *model.CreateEnvironmentRequest) (*model.Environment, error)
	UpdateEnvironment(ctx context.Context, projectID string, request *model.UpdateEnvironmentRequest) (string, error)
	DeleteEnvironment(ctx context.Context, projectID string, environmentID string) (string, error)
	GitopsNotifier(ctx context.Context, clusterInfo model.InfraIdentity, experimentID string) (string, error)
	EnableGitOps(ctx context.Context, projectID string, configurations model.GitConfig) (bool, error)
	DisableGitOps(ctx context.Context, projectID string) (bool, error)
	UpdateGitOps(ctx context.Context, projectID string, configurations model.GitConfig) (bool, error)
	CreateImageRegistry(ctx context.Context, projectID string, imageRegistryInfo model.ImageRegistryInput) (*model.ImageRegistryResponse, error)
	UpdateImageRegistry(ctx context.Context, imageRegistryID string, projectID string, imageRegistryInfo model.ImageRegistryInput) (*model.ImageRegistryResponse, error)
	DeleteImageRegistry(ctx context.Context, imageRegistryID string, projectID string) (string, error)
	AddProbe(ctx context.Context, request model.ProbeRequest, projectID string) (*model.Probe, error)
	UpdateProbe(ctx context.Context, request model.ProbeRequest, projectID string) (string, error)
	DeleteProbe(ctx context.Context, probeName string, projectID string) (bool, error)
}

type QueryResolver

type QueryResolver interface {
	GetExperiment(ctx context.Context, projectID string, experimentID string) (*model.GetExperimentResponse, error)
	ListExperiment(ctx context.Context, projectID string, request model.ListExperimentRequest) (*model.ListExperimentResponse, error)
	GetExperimentStats(ctx context.Context, projectID string) (*model.GetExperimentStatsResponse, error)
	GetExperimentRun(ctx context.Context, projectID string, experimentRunID *string, notifyID *string) (*model.ExperimentRun, error)
	ListExperimentRun(ctx context.Context, projectID string, request model.ListExperimentRunRequest) (*model.ListExperimentRunResponse, error)
	GetExperimentRunStats(ctx context.Context, projectID string) (*model.GetExperimentRunStatsResponse, error)
	GetInfra(ctx context.Context, projectID string, infraID string) (*model.Infra, error)
	ListInfras(ctx context.Context, projectID string, request *model.ListInfraRequest) (*model.ListInfraResponse, error)
	GetInfraDetails(ctx context.Context, infraID string, projectID string) (*model.Infra, error)
	GetInfraManifest(ctx context.Context, infraID string, upgrade bool, projectID string) (string, error)
	GetInfraStats(ctx context.Context, projectID string) (*model.GetInfraStatsResponse, error)
	GetVersionDetails(ctx context.Context, projectID string) (*model.InfraVersionDetails, error)
	GetServerVersion(ctx context.Context) (*model.ServerVersionResponse, error)
	ListChaosFaults(ctx context.Context, hubID string, projectID string) ([]*model.Chart, error)
	GetChaosFault(ctx context.Context, projectID string, request model.ExperimentRequest) (*model.FaultDetails, error)
	ListChaosHub(ctx context.Context, projectID string, request *model.ListChaosHubRequest) ([]*model.ChaosHubStatus, error)
	GetChaosHub(ctx context.Context, projectID string, chaosHubID string) (*model.ChaosHubStatus, error)
	ListPredefinedExperiments(ctx context.Context, hubID string, projectID string) ([]*model.PredefinedExperimentList, error)
	GetPredefinedExperiment(ctx context.Context, hubID string, experimentName []string, projectID string) ([]*model.PredefinedExperimentList, error)
	GetChaosHubStats(ctx context.Context, projectID string) (*model.GetChaosHubStatsResponse, error)
	GetEnvironment(ctx context.Context, projectID string, environmentID string) (*model.Environment, error)
	ListEnvironments(ctx context.Context, projectID string, request *model.ListEnvironmentRequest) (*model.ListEnvironmentResponse, error)
	GetGitOpsDetails(ctx context.Context, projectID string) (*model.GitConfigResponse, error)
	ListImageRegistry(ctx context.Context, projectID string) ([]*model.ImageRegistryResponse, error)
	GetImageRegistry(ctx context.Context, projectID string) (*model.ImageRegistryResponse, error)
	ListProbes(ctx context.Context, projectID string, infrastructureType *model.InfrastructureType, probeNames []string, filter *model.ProbeFilterInput) ([]*model.Probe, error)
	GetProbe(ctx context.Context, projectID string, probeName string) (*model.Probe, error)
	GetProbeYaml(ctx context.Context, projectID string, request model.GetProbeYAMLRequest) (string, error)
	GetProbeReference(ctx context.Context, projectID string, probeName string) (*model.GetProbeReferenceResponse, error)
	GetProbesInExperimentRun(ctx context.Context, projectID string, experimentRunID string, faultName string) ([]*model.GetProbesInExperimentRunResponse, error)
	ValidateUniqueProbe(ctx context.Context, projectID string, probeName string) (bool, error)
}

type ResolverRoot

type ResolverRoot interface {
	Mutation() MutationResolver
	Query() QueryResolver
	Subscription() SubscriptionResolver
}

type SubscriptionResolver

type SubscriptionResolver interface {
	GetInfraEvents(ctx context.Context, projectID string) (<-chan *model.InfraEventResponse, error)
	InfraConnect(ctx context.Context, request model.InfraIdentity) (<-chan *model.InfraActionResponse, error)
	GetPodLog(ctx context.Context, request model.PodLogRequest) (<-chan *model.PodLogResponse, error)
	GetKubeObject(ctx context.Context, request model.KubeObjectRequest) (<-chan *model.KubeObjectResponse, error)
	GetKubeNamespace(ctx context.Context, request model.KubeNamespaceRequest) (<-chan *model.KubeNamespaceResponse, error)
}

Jump to

Keyboard shortcuts

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