Documentation ¶
Index ¶
- type InfraService
- func (s *InfraService) ConfirmInfraRegistration(request model.InfraIdentity, r store.StateData) (*model.ConfirmInfraRegistrationResponse, error)
- func (s *InfraService) DeleteInfra(ctx context.Context, projectID string, infraId string, r store.StateData) (string, error)
- func (s *InfraService) GetDBInfra(infraID string) (dbChaosInfra.ChaosInfra, error)
- func (s *InfraService) GetInfra(ctx context.Context, projectID string, infraID string) (*model.Infra, error)
- func (s *InfraService) GetInfraDetails(ctx context.Context, infraID string, projectID string) (*model.Infra, error)
- func (s *InfraService) GetInfraStats(ctx context.Context, projectID string) (*model.GetInfraStatsResponse, error)
- func (s *InfraService) GetManifest(token string) ([]byte, int, error)
- func (s *InfraService) GetManifestWithInfraID(infraID string, accessKey string) ([]byte, error)
- func (s *InfraService) GetVersionDetails() (*model.InfraVersionDetails, error)
- func (s *InfraService) KubeObj(request model.KubeObjectData, r store.StateData) (string, error)
- func (s *InfraService) ListInfras(projectID string, request *model.ListInfraRequest) (*model.ListInfraResponse, error)
- func (s *InfraService) PodLog(request model.PodLog, r store.StateData) (string, error)
- func (s *InfraService) QueryServerVersion(ctx context.Context) (*model.ServerVersionResponse, error)
- func (s *InfraService) RegisterInfra(c context.Context, projectID string, input model.RegisterInfraRequest) (*model.RegisterInfraResponse, error)
- func (s *InfraService) SendInfraEvent(eventType, eventName, description string, infra model.Infra, r store.StateData)
- func (s *InfraService) UpdateInfra(query bson.D, update bson.D) error
- func (s *InfraService) VerifyInfra(identity model.InfraIdentity) (*dbChaosInfra.ChaosInfra, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraService ¶
func (*InfraService) ConfirmInfraRegistration ¶
func (s *InfraService) ConfirmInfraRegistration(request model.InfraIdentity, r store.StateData) (*model.ConfirmInfraRegistrationResponse, error)
func (*InfraService) DeleteInfra ¶
func (*InfraService) GetDBInfra ¶
func (s *InfraService) GetDBInfra(infraID string) (dbChaosInfra.ChaosInfra, error)
func (*InfraService) GetInfraDetails ¶
func (*InfraService) GetInfraStats ¶
func (s *InfraService) GetInfraStats(ctx context.Context, projectID string) (*model.GetInfraStatsResponse, error)
func (*InfraService) GetManifest ¶
func (s *InfraService) GetManifest(token string) ([]byte, int, error)
func (*InfraService) GetManifestWithInfraID ¶
func (s *InfraService) GetManifestWithInfraID(infraID string, accessKey string) ([]byte, error)
func (*InfraService) GetVersionDetails ¶
func (s *InfraService) GetVersionDetails() (*model.InfraVersionDetails, error)
func (*InfraService) KubeObj ¶
func (s *InfraService) KubeObj(request model.KubeObjectData, r store.StateData) (string, error)
func (*InfraService) ListInfras ¶
func (s *InfraService) ListInfras(projectID string, request *model.ListInfraRequest) (*model.ListInfraResponse, error)
func (*InfraService) QueryServerVersion ¶
func (s *InfraService) QueryServerVersion(ctx context.Context) (*model.ServerVersionResponse, error)
func (*InfraService) RegisterInfra ¶
func (s *InfraService) RegisterInfra(c context.Context, projectID string, input model.RegisterInfraRequest) (*model.RegisterInfraResponse, error)
func (*InfraService) SendInfraEvent ¶
func (*InfraService) UpdateInfra ¶
func (*InfraService) VerifyInfra ¶
func (s *InfraService) VerifyInfra(identity model.InfraIdentity) (*dbChaosInfra.ChaosInfra, error)
Click to show internal directories.
Click to hide internal directories.