SYMBOL INDEX (803 symbols across 74 files) FILE: build/spec.go function main (line 33) | func main() { function getModels (line 46) | func getModels() *spec.Models { FILE: channel/client.go type Client (line 37) | type Client struct method Exec (line 82) | func (c *Client) Exec(options *ExecOptions) interface{} { function NewClientFunc (line 44) | func NewClientFunc() client.NewClientFunc { type IOStreams (line 58) | type IOStreams struct type StreamOptions (line 64) | type StreamOptions struct type ExecOptions (line 72) | type ExecOptions struct function execute (line 138) | func execute(method string, url *url.URL, config *rest.Config, options *... FILE: channel/client_test.go function TestClient_Exec (line 23) | func TestClient_Exec(t *testing.T) { FILE: cmd/hookfs/main.go function main (line 43) | func main() { function startFuseServer (line 67) | func startFuseServer(stop context.Context) error { FILE: cmd/manager/main.go function printVersion (line 60) | func printVersion() { function main (line 73) | func main() { function addComponentsToManager (line 112) | func addComponentsToManager(mgr manager.Manager) { function initLogger (line 132) | func initLogger() { function addWebhook (line 141) | func addWebhook(m manager.Manager) error { function createManager (line 154) | func createManager(cfg *rest.Config) (manager.Manager, error) { FILE: exec/container/application.go function getJvmModels (line 34) | func getJvmModels() []spec.ExpModelCommandSpec { FILE: exec/container/container.go type ResourceModelSpec (line 38) | type ResourceModelSpec struct function NewResourceModelSpec (line 43) | func NewResourceModelSpec(client *channel.Client) model.ResourceExpModel... function addActionExamples (line 69) | func addActionExamples(modelSpec *ResourceModelSpec) { function getResourceFlags (line 305) | func getResourceFlags() []spec.ExpFlagSpec { FILE: exec/container/controller.go type ExpController (line 37) | type ExpController struct method Name (line 50) | func (*ExpController) Name() string { method Create (line 55) | func (e *ExpController) Create(ctx context.Context, expSpec v1alpha1.E... method Destroy (line 103) | func (e *ExpController) Destroy(ctx context.Context, expSpec v1alpha1.... function NewExpController (line 41) | func NewExpController(client *channel.Client) model.ExperimentController { function getMatchedContainerMetaList (line 128) | func getMatchedContainerMetaList(pods []v1.Pod, containerIdsValue, conta... FILE: exec/controller.go type ResourceDispatchedController (line 36) | type ResourceDispatchedController struct method Name (line 61) | func (e *ResourceDispatchedController) Name() string { method Create (line 65) | func (e *ResourceDispatchedController) Create(bladeName string, expSpe... method Destroy (line 84) | func (e *ResourceDispatchedController) Destroy(bladeName string, expSp... method register (line 145) | func (e *ResourceDispatchedController) register(cs ...model.Experiment... function NewDispatcherExecutor (line 46) | func NewDispatcherExecutor(client *channel.Client) *ResourceDispatchedCo... function validateAndSetNecessaryFields (line 107) | func validateAndSetNecessaryFields(status v1alpha1.ExperimentStatus, old... function createExperimentStatusByResponse (line 131) | func createExperimentStatusByResponse(response *spec.Response) v1alpha1.... FILE: exec/model/category.go constant CategorySystemContainer (line 19) | CategorySystemContainer = "system_container" FILE: exec/model/context.go constant ContainerObjectMetaListKey (line 28) | ContainerObjectMetaListKey = "ContainerObjectMetaListKey" constant ExperimentIdKey (line 29) | ExperimentIdKey = "ExperimentIdKey" type ContainerObjectMeta (line 32) | type ContainerObjectMeta struct method GetIdentifier (line 75) | func (c *ContainerObjectMeta) GetIdentifier() string { type ContainerMatchedList (line 43) | type ContainerMatchedList function GetExperimentIdFromContext (line 46) | func GetExperimentIdFromContext(ctx context.Context) string { function SetExperimentIdToContext (line 55) | func SetExperimentIdToContext(ctx context.Context, experimentId string) ... function GetContainerObjectMetaListFromContext (line 60) | func GetContainerObjectMetaListFromContext(ctx context.Context) (Contain... function SetContainerObjectMetaListToContext (line 70) | func SetContainerObjectMetaListToContext(ctx context.Context, containerM... function ParseIdentifier (line 90) | func ParseIdentifier(identifier string) ContainerObjectMeta { FILE: exec/model/controller.go type ExpController (line 34) | type ExpController interface type ExperimentController (line 43) | type ExperimentController interface type BaseExperimentController (line 52) | type BaseExperimentController struct method Destroy (line 57) | func (b *BaseExperimentController) Destroy(ctx context.Context, expSpe... method Exec (line 63) | func (b *BaseExperimentController) Exec(ctx context.Context, expModel ... function ExtractExpModelFromExperimentSpec (line 87) | func ExtractExpModelFromExperimentSpec(experimentSpec v1alpha1.Experimen... function GetResourceCount (line 102) | func GetResourceCount(resourceCount int, flags map[string]string) (int, ... function CreateDestroyedStatus (line 142) | func CreateDestroyedStatus(oldExpStatus v1alpha1.ExperimentStatus) v1alp... FILE: exec/model/controller_test.go function TestGetResourceCount (line 23) | func TestGetResourceCount(t *testing.T) { FILE: exec/model/copy.go type CopyOptions (line 36) | type CopyOptions struct method execute (line 126) | func (o *CopyOptions) execute(options *channel.ExecOptions) error { method DeployToPod (line 141) | func (o *CopyOptions) DeployToPod(experimentId, src, dest string) error { function makeTar (line 40) | func makeTar(srcPath, destPath string, writer io.Writer) error { function recursiveTar (line 50) | func recursiveTar(srcBase, srcFile, destBase, destFile string, tw *tar.W... FILE: exec/model/deploy.go type DeployMode (line 25) | type DeployMode interface type DeployOptions (line 29) | type DeployOptions struct method CheckFileExists (line 37) | func (o *DeployOptions) CheckFileExists(dest string) error { method CreateDir (line 59) | func (o *DeployOptions) CreateDir(dir string) error { FILE: exec/model/download.go constant bin (line 41) | bin = "bin" constant blade (line 42) | blade = "blade" constant lib (line 43) | lib = "lib.tar.gz" constant yaml (line 44) | yaml = "yaml.tar.gz" type DownloadOptions (line 47) | type DownloadOptions struct method DeployToPod (line 52) | func (d *DownloadOptions) DeployToPod(experimentId, src, dest string) ... method uncompress (line 102) | func (d *DownloadOptions) uncompress(experimentId, file string) error { method getUrl (line 136) | func (d *DownloadOptions) getUrl(srcFile string) string { FILE: exec/model/executor.go function checkExperimentStatus (line 45) | func checkExperimentStatus(ctx context.Context, expModel *spec.ExpModel,... function execCommands (line 154) | func execCommands(isDestroy bool, rsStatus v1alpha1.ResourceStatus, function generateDestroyCommands (line 203) | func generateDestroyCommands(experimentId string, expModel *spec.ExpModel, function generateCreateCommands (line 227) | func generateCreateCommands(experimentId string, expModel *spec.ExpModel... function GetChaosBladeDaemonsetPodName (line 249) | func GetChaosBladeDaemonsetPodName(nodeName string, client *channel.Clie... function refreshChaosBladeDaemonsetPodNames (line 273) | func refreshChaosBladeDaemonsetPodNames(client *channel.Client) error { function getNodeExperimentIdentifiers (line 290) | func getNodeExperimentIdentifiers(experimentId string, expModel *spec.Ex... function generateDestroyNodeCommands (line 297) | func generateDestroyNodeCommands(experimentId string, expModel *spec.Exp... function generateCreateNodeCommands (line 323) | func generateCreateNodeCommands(experimentId string, expModel *spec.ExpM... function getTargetChaosBladePath (line 346) | func getTargetChaosBladePath(expModel *spec.ExpModel) string { function getTargetChaosBladeBin (line 355) | func getTargetChaosBladeBin(expModel *spec.ExpModel) string { function ExcludeKeyFunc (line 359) | func ExcludeKeyFunc() func() map[string]spec.Empty { function TruncateContainerObjectMetaUid (line 363) | func TruncateContainerObjectMetaUid(uid string) (containerRuntime, conta... function getDeployMode (line 371) | func getDeployMode(options DeployOptions, expModel *spec.ExpModel) (Depl... FILE: exec/model/executor_copy.go type ExperimentIdentifierInPod (line 39) | type ExperimentIdentifierInPod struct type ExecCommandInPodExecutor (line 50) | type ExecCommandInPodExecutor struct method Name (line 54) | func (e *ExecCommandInPodExecutor) Name() string { method SetChannel (line 58) | func (e *ExecCommandInPodExecutor) SetChannel(channel spec.Channel) { method Exec (line 62) | func (e *ExecCommandInPodExecutor) Exec(uid string, ctx context.Contex... function getExperimentIdentifiers (line 150) | func getExperimentIdentifiers(ctx context.Context, expModel *spec.ExpMod... function getDockerExperimentIdentifiers (line 181) | func getDockerExperimentIdentifiers(experimentId string, expModel *spec.... function getCriExperimentIdentifiers (line 194) | func getCriExperimentIdentifiers(experimentId string, expModel *spec.Exp... function generateDestroyDockerCommands (line 207) | func generateDestroyDockerCommands(experimentId string, expModel *spec.E... function generateCreateDockerCommands (line 245) | func generateCreateDockerCommands(experimentId string, expModel *spec.Ex... function generateDestroyCriCommands (line 271) | func generateDestroyCriCommands( function generateCreateCriCommands (line 304) | func generateCreateCriCommands(experimentId string, expModel *spec.ExpMo... function deployChaosBlade (line 331) | func deployChaosBlade(experimentId string, expModel *spec.ExpModel, function getNewContainerIdByPod (line 407) | func getNewContainerIdByPod(podName, podNamespace, containerName, experi... FILE: exec/model/executor_nsexec.go type CommonExecutor (line 37) | type CommonExecutor struct method Name (line 41) | func (e *CommonExecutor) Name() string { method SetChannel (line 45) | func (e *CommonExecutor) SetChannel(channel spec.Channel) { method Exec (line 48) | func (e *CommonExecutor) Exec(uid string, ctx context.Context, expMode... function getExperimentIdentifiersWithNsexec (line 136) | func getExperimentIdentifiersWithNsexec(ctx context.Context, expModel *s... FILE: exec/model/filter.go function GetOneAvailableContainerIdFromPod (line 30) | func GetOneAvailableContainerIdFromPod(pod v1.Pod) (containerId, contain... function ParseLabels (line 45) | func ParseLabels(labels string) []pkglabels.Requirement { function MapContains (line 79) | func MapContains(bigMap map[string]string, requirements []pkglabels.Requ... function CheckFlags (line 92) | func CheckFlags(flags map[string]string) *spec.Response { FILE: exec/model/filter_pod.go constant DefaultNamespace (line 35) | DefaultNamespace = "default" function CheckPodFlags (line 37) | func CheckPodFlags(flags map[string]string) *spec.Response { method GetMatchedPodResources (line 50) | func (b *BaseExperimentController) GetMatchedPodResources(ctx context.Co... method filterByOtherFlags (line 65) | func (b *BaseExperimentController) filterByOtherFlags(pods []v1.Pod, fla... function randomPodSelected (line 170) | func randomPodSelected(pods []v1.Pod, count int) []v1.Pod { FILE: exec/model/filter_pod_test.go function Test_randomSelected (line 27) | func Test_randomSelected(t *testing.T) { FILE: exec/model/model.go type ActionPreProcessor (line 32) | type ActionPreProcessor interface type ResourceExpModelSpec (line 46) | type ResourceExpModelSpec interface function NewBaseResourceExpModelSpec (line 53) | func NewBaseResourceExpModelSpec(scopeName string, client *channel.Clien... type BaseResourceExpModelSpec (line 61) | type BaseResourceExpModelSpec struct method Scope (line 67) | func (b *BaseResourceExpModelSpec) Scope() string { method ExpModels (line 71) | func (b *BaseResourceExpModelSpec) ExpModels() map[string]spec.ExpMode... method GetExpActionModelSpec (line 75) | func (b *BaseResourceExpModelSpec) GetExpActionModelSpec(target, actio... method RegisterExpModels (line 97) | func (b *BaseResourceExpModelSpec) RegisterExpModels(expModel ...spec.... type SubResourceExpModelSpec (line 104) | type SubResourceExpModelSpec interface type BaseSubResourceExpModelSpec (line 110) | type BaseSubResourceExpModelSpec struct method ExpModels (line 115) | func (b *BaseSubResourceExpModelSpec) ExpModels() []spec.ExpModelComma... method Executor (line 119) | func (b *BaseSubResourceExpModelSpec) Executor() spec.Executor { function GetResourceCoverageFlags (line 137) | func GetResourceCoverageFlags() []spec.ExpFlagSpec { function GetNetworkFlags (line 225) | func GetNetworkFlags() []spec.ExpFlagSpec { function GetContainerFlags (line 232) | func GetContainerFlags() []spec.ExpFlagSpec { function GetResourceCommonFlags (line 240) | func GetResourceCommonFlags() []spec.ExpFlagSpec { function GetChaosBladeFlags (line 249) | func GetChaosBladeFlags() []spec.ExpFlagSpec { function GetResourceFlagNames (line 258) | func GetResourceFlagNames() map[string]spec.Empty { FILE: exec/model/osexp.go type OSSubResourceModelSpec (line 30) | type OSSubResourceModelSpec struct function NewOSSubResourceModelSpec (line 34) | func NewOSSubResourceModelSpec() SubResourceExpModelSpec { FILE: exec/model/parallelizer.go constant maxWorkers (line 22) | maxWorkers = 64 type DoWorkFunc (line 25) | type DoWorkFunc function ParallelizeExec (line 27) | func ParallelizeExec(workCount int, doWork DoWorkFunc) { FILE: exec/node/cniexp.go constant CniBinPathFlag (line 36) | CniBinPathFlag = "cni-bin-path" constant CniErrorMsgFlag (line 37) | CniErrorMsgFlag = "error-msg" function NewCniExpModelCommandSpec (line 40) | func NewCniExpModelCommandSpec(client *channel.Client) spec.ExpModelComm... type CniExpModelCommandSpec (line 52) | type CniExpModelCommandSpec struct method Name (line 56) | func (*CniExpModelCommandSpec) Name() string { method ShortDesc (line 60) | func (*CniExpModelCommandSpec) ShortDesc() string { method LongDesc (line 64) | func (*CniExpModelCommandSpec) LongDesc() string { method Example (line 68) | func (*CniExpModelCommandSpec) Example() string { function NewCniAddFaultActionSpec (line 77) | func NewCniAddFaultActionSpec(client *channel.Client) spec.ExpActionComm... type CniAddFaultActionSpec (line 104) | type CniAddFaultActionSpec struct method Name (line 108) | func (*CniAddFaultActionSpec) Name() string { method Aliases (line 112) | func (*CniAddFaultActionSpec) Aliases() []string { method ShortDesc (line 116) | func (*CniAddFaultActionSpec) ShortDesc() string { method LongDesc (line 120) | func (*CniAddFaultActionSpec) LongDesc() string { function NewCniDelFaultActionSpec (line 126) | func NewCniDelFaultActionSpec(client *channel.Client) spec.ExpActionComm... type CniDelFaultActionSpec (line 151) | type CniDelFaultActionSpec struct method Name (line 155) | func (*CniDelFaultActionSpec) Name() string { method Aliases (line 159) | func (*CniDelFaultActionSpec) Aliases() []string { method ShortDesc (line 163) | func (*CniDelFaultActionSpec) ShortDesc() string { method LongDesc (line 167) | func (*CniDelFaultActionSpec) LongDesc() string { type CniFaultExecutor (line 173) | type CniFaultExecutor struct method Name (line 178) | func (e *CniFaultExecutor) Name() string { method SetChannel (line 182) | func (e *CniFaultExecutor) SetChannel(channel spec.Channel) { method Exec (line 185) | func (e *CniFaultExecutor) Exec(uid string, ctx context.Context, expMo... method create (line 192) | func (e *CniFaultExecutor) create(uid string, ctx context.Context, exp... method destroy (line 282) | func (e *CniFaultExecutor) destroy(uid string, ctx context.Context, ex... function generateCniCreateScript (line 368) | func generateCniCreateScript(cniBinPath string, cniCommand string, error... function generateCniDiscoverScript (line 429) | func generateCniDiscoverScript() string { function discoverCniBinPath (line 494) | func discoverCniBinPath(client *channel.Client, daemonsetPodName string)... function generateCniDestroyScript (line 507) | func generateCniDestroyScript(cniBinPath string) string { FILE: exec/node/controller.go type ExpController (line 31) | type ExpController struct method Name (line 44) | func (*ExpController) Name() string { method Create (line 48) | func (e *ExpController) Create(ctx context.Context, expSpec v1alpha1.E... method Destroy (line 65) | func (e *ExpController) Destroy(ctx context.Context, expSpec v1alpha1.... function NewExpController (line 35) | func NewExpController(client *channel.Client) model.ExperimentController { function getContainerMatchedList (line 86) | func getContainerMatchedList(nodes []v1.Node) model.ContainerMatchedList { FILE: exec/node/exec_helper.go function execScriptInDaemonsetPod (line 31) | func execScriptInDaemonsetPod(client *channel.Client, podName string, sc... FILE: exec/node/filter.go method getMatchedNodeResources (line 34) | func (e *ExpController) getMatchedNodeResources(ctx context.Context, exp... method filterByOtherFlags (line 46) | func (e *ExpController) filterByOtherFlags(nodes []v1.Node, flags map[st... FILE: exec/node/node.go type ResourceModelSpec (line 38) | type ResourceModelSpec struct function NewResourceModelSpec (line 42) | func NewResourceModelSpec(client *channel.Client) model.ResourceExpModel... function addActionExamples (line 63) | func addActionExamples(modelSpec *ResourceModelSpec) { function getResourceFlags (line 437) | func getResourceFlags() []spec.ExpFlagSpec { function NewSelfExpModelCommandSpec (line 442) | func NewSelfExpModelCommandSpec() spec.ExpModelCommandSpec { type SelfExpModelCommandSpec (line 454) | type SelfExpModelCommandSpec struct method Name (line 458) | func (*SelfExpModelCommandSpec) Name() string { method ShortDesc (line 462) | func (*SelfExpModelCommandSpec) ShortDesc() string { method LongDesc (line 466) | func (*SelfExpModelCommandSpec) LongDesc() string { method Example (line 470) | func (*SelfExpModelCommandSpec) Example() string { FILE: exec/pod/badresourcesize.go constant BadResourceSizeCPUFlag (line 41) | BadResourceSizeCPUFlag = "cpu" constant BadResourceSizeMemFlag (line 42) | BadResourceSizeMemFlag = "mem" constant ChaosBladeOriginalResourcesAnnotation (line 44) | ChaosBladeOriginalResourcesAnnotation = "chaosblade.io/original-resources" constant ChaosBladeBadResourceSizeAction (line 45) | ChaosBladeBadResourceSizeAction = "badresourcesize" type BadResourceSizeActionSpec (line 48) | type BadResourceSizeActionSpec struct method Name (line 102) | func (*BadResourceSizeActionSpec) Name() string { method Aliases (line 106) | func (*BadResourceSizeActionSpec) Aliases() []string { method ShortDesc (line 110) | func (*BadResourceSizeActionSpec) ShortDesc() string { method LongDesc (line 114) | func (*BadResourceSizeActionSpec) LongDesc() string { method PreCreate (line 123) | func (a *BadResourceSizeActionSpec) PreCreate(ctx context.Context, exp... method PreDestroy (line 159) | func (a *BadResourceSizeActionSpec) PreDestroy(ctx context.Context, ex... function NewBadResourceSizeActionSpec (line 53) | func NewBadResourceSizeActionSpec(client *channel.Client) spec.ExpAction... type BadResourceSizeActionExecutor (line 188) | type BadResourceSizeActionExecutor struct method Name (line 192) | func (*BadResourceSizeActionExecutor) Name() string { method SetChannel (line 196) | func (*BadResourceSizeActionExecutor) SetChannel(channel spec.Channel) {} method Exec (line 198) | func (d *BadResourceSizeActionExecutor) Exec(uid string, ctx context.C... method create (line 205) | func (d *BadResourceSizeActionExecutor) create(uid string, ctx context... method destroy (line 315) | func (d *BadResourceSizeActionExecutor) destroy(uid string, ctx contex... method injectDeploymentBadResourceSize (line 532) | func (d *BadResourceSizeActionExecutor) injectDeploymentBadResourceSiz... method injectDaemonSetBadResourceSize (line 552) | func (d *BadResourceSizeActionExecutor) injectDaemonSetBadResourceSize... method injectStatefulSetBadResourceSize (line 572) | func (d *BadResourceSizeActionExecutor) injectStatefulSetBadResourceSi... method restoreDeploymentResources (line 592) | func (d *BadResourceSizeActionExecutor) restoreDeploymentResources(ctx... method restoreDaemonSetResources (line 608) | func (d *BadResourceSizeActionExecutor) restoreDaemonSetResources(ctx ... method restoreStatefulSetResources (line 624) | func (d *BadResourceSizeActionExecutor) restoreStatefulSetResources(ct... type containerResourcesBackup (line 383) | type containerResourcesBackup struct function buildResourceLimits (line 391) | func buildResourceLimits(cpuVal, memVal string) (v1.ResourceList, error) { function normalizeMemoryValue (line 414) | func normalizeMemoryValue(val string) string { function backupAndInjectResources (line 442) | func backupAndInjectResources(podSpec *v1.PodSpec, annotations map[strin... function restoreResources (line 480) | func restoreResources(podSpec *v1.PodSpec, annotations map[string]string... FILE: exec/pod/configmapdeleteexp.go constant ConfigMapNameFlag (line 41) | ConfigMapNameFlag = "configmap-name" constant ChaosBladeExperimentLabel (line 43) | ChaosBladeExperimentLabel = "chaosblade.io/experiment-id" constant ChaosBladeBackupLabel (line 44) | ChaosBladeBackupLabel = "chaosblade.io/backup" constant ChaosBladeOriginalNameAnn (line 45) | ChaosBladeOriginalNameAnn = "chaosblade.io/original-name" constant ChaosBladeOriginalNamespaceAnn (line 46) | ChaosBladeOriginalNamespaceAnn = "chaosblade.io/original-namespace" constant ChaosBladeOriginalLabelsAnn (line 47) | ChaosBladeOriginalLabelsAnn = "chaosblade.io/original-labels" constant ChaosBladeOriginalAnnsAnn (line 48) | ChaosBladeOriginalAnnsAnn = "chaosblade.io/original-annotations" type ConfigMapDeleteActionSpec (line 51) | type ConfigMapDeleteActionSpec struct method Name (line 77) | func (*ConfigMapDeleteActionSpec) Name() string { method Aliases (line 81) | func (*ConfigMapDeleteActionSpec) Aliases() []string { method ShortDesc (line 85) | func (*ConfigMapDeleteActionSpec) ShortDesc() string { method LongDesc (line 89) | func (*ConfigMapDeleteActionSpec) LongDesc() string { function NewConfigMapDeleteActionSpec (line 55) | func NewConfigMapDeleteActionSpec(client *channel.Client) spec.ExpAction... type ConfigMapDeleteActionExecutor (line 94) | type ConfigMapDeleteActionExecutor struct method Name (line 98) | func (*ConfigMapDeleteActionExecutor) Name() string { method SetChannel (line 102) | func (*ConfigMapDeleteActionExecutor) SetChannel(channel spec.Channel) {} method Exec (line 104) | func (d *ConfigMapDeleteActionExecutor) Exec(uid string, ctx context.C... method create (line 112) | func (d *ConfigMapDeleteActionExecutor) create(ctx context.Context, ex... method destroy (line 247) | func (d *ConfigMapDeleteActionExecutor) destroy(ctx context.Context, e... method createBackupConfigMap (line 352) | func (d *ConfigMapDeleteActionExecutor) createBackupConfigMap(ctx cont... method restoreConfigMapFromBackup (line 404) | func (d *ConfigMapDeleteActionExecutor) restoreConfigMapFromBackup(ctx... method deleteBackupConfigMap (line 447) | func (d *ConfigMapDeleteActionExecutor) deleteBackupConfigMap(ctx cont... method restoreAndCleanupBackup (line 456) | func (d *ConfigMapDeleteActionExecutor) restoreAndCleanupBackup(ctx co... type ConfigMapRef (line 469) | type ConfigMapRef struct function collectConfigMapReferences (line 478) | func collectConfigMapReferences(pod *v1.Pod) []ConfigMapRef { function resolveTargetConfigMap (line 524) | func resolveTargetConfigMap(pod *v1.Pod, userSpecifiedName string) (stri... function isOptional (line 553) | func isOptional(opt *bool) bool { function getBackupConfigMapName (line 559) | func getBackupConfigMapName(experimentId, namespace, cmName string) stri... function copyStringMap (line 571) | func copyStringMap(src map[string]string) map[string]string { function copyByteMap (line 582) | func copyByteMap(src map[string][]byte) map[string][]byte { FILE: exec/pod/configmapdeleteexp_test.go function boolPtr (line 28) | func boolPtr(b bool) *bool { function TestCollectConfigMapReferences (line 32) | func TestCollectConfigMapReferences(t *testing.T) { function TestResolveTargetConfigMap (line 272) | func TestResolveTargetConfigMap(t *testing.T) { function TestGetBackupConfigMapName (line 463) | func TestGetBackupConfigMapName(t *testing.T) { function TestIsOptional (line 548) | func TestIsOptional(t *testing.T) { function TestCopyStringMap (line 569) | func TestCopyStringMap(t *testing.T) { function TestCopyByteMap (line 606) | func TestCopyByteMap(t *testing.T) { FILE: exec/pod/containercreating.go constant ChaosBladePVAnnotation (line 42) | ChaosBladePVAnnotation = "chaosblade.io/pv" constant ChaosBladePVCAnnotation (line 44) | ChaosBladePVCAnnotation = "chaosblade.io/pvc" constant ChaosBladePodAnnotation (line 46) | ChaosBladePodAnnotation = "chaosblade.io/pod" constant ChaosBladeExperimentAnnotation (line 48) | ChaosBladeExperimentAnnotation = "chaosblade.io/experiment" constant ChaosBladeActionCreate (line 50) | ChaosBladeActionCreate = "create" type PodContainerCreatingActionSpec (line 53) | type PodContainerCreatingActionSpec struct method Name (line 81) | func (*PodContainerCreatingActionSpec) Name() string { method Aliases (line 85) | func (*PodContainerCreatingActionSpec) Aliases() []string { method ShortDesc (line 89) | func (*PodContainerCreatingActionSpec) ShortDesc() string { method LongDesc (line 93) | func (*PodContainerCreatingActionSpec) LongDesc() string { method PreCreate (line 508) | func (a *PodContainerCreatingActionSpec) PreCreate(ctx context.Context... method PreDestroy (line 533) | func (a *PodContainerCreatingActionSpec) PreDestroy(ctx context.Contex... function NewPodContainerCreatingActionSpec (line 58) | func NewPodContainerCreatingActionSpec(client *channel.Client) spec.ExpA... type PodContainerCreatingActionExecutor (line 101) | type PodContainerCreatingActionExecutor struct method Name (line 105) | func (*PodContainerCreatingActionExecutor) Name() string { method SetChannel (line 109) | func (*PodContainerCreatingActionExecutor) SetChannel(channel spec.Cha... method Exec (line 111) | func (d *PodContainerCreatingActionExecutor) Exec(uid string, ctx cont... method create (line 118) | func (d *PodContainerCreatingActionExecutor) create(uid string, ctx co... method destroy (line 257) | func (d *PodContainerCreatingActionExecutor) destroy(uid string, ctx c... method createPV (line 347) | func (d *PodContainerCreatingActionExecutor) createPV(ctx context.Cont... method createPVC (line 380) | func (d *PodContainerCreatingActionExecutor) createPVC(ctx context.Con... method createPod (line 409) | func (d *PodContainerCreatingActionExecutor) createPod(ctx context.Con... method deletePod (line 458) | func (d *PodContainerCreatingActionExecutor) deletePod(ctx context.Con... method deletePVC (line 469) | func (d *PodContainerCreatingActionExecutor) deletePVC(ctx context.Con... method waitForPVCBound (line 480) | func (d *PodContainerCreatingActionExecutor) waitForPVCBound(ctx conte... method deletePV (line 497) | func (d *PodContainerCreatingActionExecutor) deletePV(ctx context.Cont... FILE: exec/pod/containercreatingdisk.go type PodContainerCreatingDiskActionSpec (line 43) | type PodContainerCreatingDiskActionSpec struct method Name (line 82) | func (*PodContainerCreatingDiskActionSpec) Name() string { method Aliases (line 86) | func (*PodContainerCreatingDiskActionSpec) Aliases() []string { method ShortDesc (line 90) | func (*PodContainerCreatingDiskActionSpec) ShortDesc() string { method LongDesc (line 94) | func (*PodContainerCreatingDiskActionSpec) LongDesc() string { method PreCreate (line 394) | func (a *PodContainerCreatingDiskActionSpec) PreCreate(ctx context.Con... method PreDestroy (line 433) | func (a *PodContainerCreatingDiskActionSpec) PreDestroy(ctx context.Co... function NewPodContainerCreatingDiskActionSpec (line 48) | func NewPodContainerCreatingDiskActionSpec(client *channel.Client) spec.... type PodContainerCreatingDiskActionExecutor (line 104) | type PodContainerCreatingDiskActionExecutor struct method Name (line 108) | func (*PodContainerCreatingDiskActionExecutor) Name() string { method SetChannel (line 112) | func (*PodContainerCreatingDiskActionExecutor) SetChannel(channel spec... method Exec (line 114) | func (d *PodContainerCreatingDiskActionExecutor) Exec(uid string, ctx ... method create (line 121) | func (d *PodContainerCreatingDiskActionExecutor) create(uid string, ct... method destroy (line 223) | func (d *PodContainerCreatingDiskActionExecutor) destroy(uid string, c... method createPVC (line 297) | func (d *PodContainerCreatingDiskActionExecutor) createPVC(ctx context... method createPod (line 325) | func (d *PodContainerCreatingDiskActionExecutor) createPod(ctx context... method deletePod (line 370) | func (d *PodContainerCreatingDiskActionExecutor) deletePod(ctx context... method deletePVC (line 381) | func (d *PodContainerCreatingDiskActionExecutor) deletePVC(ctx context... FILE: exec/pod/containercreatingdisk_test.go function TestPodContainerCreatingDiskActionSpec_Name (line 29) | func TestPodContainerCreatingDiskActionSpec_Name(t *testing.T) { function TestPodContainerCreatingDiskActionSpec_ShortDesc (line 36) | func TestPodContainerCreatingDiskActionSpec_ShortDesc(t *testing.T) { function TestPodContainerCreatingDiskActionSpec_LongDesc (line 43) | func TestPodContainerCreatingDiskActionSpec_LongDesc(t *testing.T) { function TestPodContainerCreatingDiskActionSpec_Aliases (line 50) | func TestPodContainerCreatingDiskActionSpec_Aliases(t *testing.T) { function TestPodContainerCreatingDiskActionSpec_ActionFlags (line 57) | func TestPodContainerCreatingDiskActionSpec_ActionFlags(t *testing.T) { function TestPodContainerCreatingDiskActionSpec_ActionCategories (line 79) | func TestPodContainerCreatingDiskActionSpec_ActionCategories(t *testing.... function TestPodContainerCreatingDiskActionSpec_ActionExample (line 94) | func TestPodContainerCreatingDiskActionSpec_ActionExample(t *testing.T) { function TestPodContainerCreatingDiskActionExecutor_Name (line 102) | func TestPodContainerCreatingDiskActionExecutor_Name(t *testing.T) { function TestPreCreate_NamespaceEmpty (line 109) | func TestPreCreate_NamespaceEmpty(t *testing.T) { function TestPreCreate_NamespaceWithComma (line 131) | func TestPreCreate_NamespaceWithComma(t *testing.T) { function TestPreCreate_StorageClassEmpty (line 153) | func TestPreCreate_StorageClassEmpty(t *testing.T) { function TestPreCreate_Success (line 175) | func TestPreCreate_Success(t *testing.T) { function TestPreDestroy_Success (line 205) | func TestPreDestroy_Success(t *testing.T) { function TestPreDestroy_NamespaceEmpty (line 235) | func TestPreDestroy_NamespaceEmpty(t *testing.T) { function TestPreCreate_PVCapacityInvalid (line 257) | func TestPreCreate_PVCapacityInvalid(t *testing.T) { function TestPreCreate_PVCapacityValid (line 280) | func TestPreCreate_PVCapacityValid(t *testing.T) { FILE: exec/pod/controller.go type ExpController (line 32) | type ExpController struct method Name (line 45) | func (*ExpController) Name() string { method Create (line 50) | func (e *ExpController) Create(ctx context.Context, expSpec v1alpha1.E... method Destroy (line 86) | func (e *ExpController) Destroy(ctx context.Context, expSpec v1alpha1.... function NewExpController (line 36) | func NewExpController(client *channel.Client) model.ExperimentController { function getContainerMatchedList (line 126) | func getContainerMatchedList(experimentId string, pods []v1.Pod) model.C... FILE: exec/pod/delete.go type DeletePodActionSpec (line 34) | type DeletePodActionSpec struct method Name (line 57) | func (*DeletePodActionSpec) Name() string { method Aliases (line 61) | func (*DeletePodActionSpec) Aliases() []string { method ShortDesc (line 65) | func (*DeletePodActionSpec) ShortDesc() string { method LongDesc (line 69) | func (*DeletePodActionSpec) LongDesc() string { function NewDeletePodActionSpec (line 38) | func NewDeletePodActionSpec(client *channel.Client) spec.ExpActionComman... type DeletePodActionExecutor (line 73) | type DeletePodActionExecutor struct method Name (line 77) | func (*DeletePodActionExecutor) Name() string { method SetChannel (line 81) | func (*DeletePodActionExecutor) SetChannel(channel spec.Channel) { method Exec (line 84) | func (d *DeletePodActionExecutor) Exec(uid string, ctx context.Context... method create (line 92) | func (d *DeletePodActionExecutor) create(uid string, ctx context.Conte... method destroy (line 127) | func (d *DeletePodActionExecutor) destroy(uid string, ctx context.Cont... FILE: exec/pod/failedmount.go constant ChaosBladeFailedMountAction (line 42) | ChaosBladeFailedMountAction = "failedmount" constant ChaosBladeOriginalVolumesAnnotation (line 43) | ChaosBladeOriginalVolumesAnnotation = "chaosblade.io/original-volumes" constant ChaosBladeFailedMountVolumeNamePrefix (line 44) | ChaosBladeFailedMountVolumeNamePrefix = "chaosblade-fm-" constant ChaosBladeFailedMountVolumeMountPath (line 45) | ChaosBladeFailedMountVolumeMountPath = "/chaosblade-fm-nonexistent" constant FailedMountVolumeTypeConfigMap (line 47) | FailedMountVolumeTypeConfigMap = "configmap" constant FailedMountVolumeTypeSecret (line 48) | FailedMountVolumeTypeSecret = "secret" constant FailedMountVolumeTypePVC (line 49) | FailedMountVolumeTypePVC = "pvc" type FailedMountActionSpec (line 52) | type FailedMountActionSpec struct method Name (line 101) | func (*FailedMountActionSpec) Name() string { method Aliases (line 105) | func (*FailedMountActionSpec) Aliases() []string { method ShortDesc (line 109) | func (*FailedMountActionSpec) ShortDesc() string { method LongDesc (line 113) | func (*FailedMountActionSpec) LongDesc() string { method PreCreate (line 121) | func (a *FailedMountActionSpec) PreCreate(ctx context.Context, expMode... method PreDestroy (line 160) | func (a *FailedMountActionSpec) PreDestroy(ctx context.Context, expMod... function NewFailedMountActionSpec (line 57) | func NewFailedMountActionSpec(client *channel.Client) spec.ExpActionComm... type FailedMountActionExecutor (line 189) | type FailedMountActionExecutor struct method Name (line 193) | func (*FailedMountActionExecutor) Name() string { method SetChannel (line 197) | func (*FailedMountActionExecutor) SetChannel(channel spec.Channel) {} method Exec (line 199) | func (d *FailedMountActionExecutor) Exec(uid string, ctx context.Conte... method create (line 206) | func (d *FailedMountActionExecutor) create(uid string, ctx context.Con... method destroy (line 315) | func (d *FailedMountActionExecutor) destroy(uid string, ctx context.Co... method injectDeploymentFailedMount (line 552) | func (d *FailedMountActionExecutor) injectDeploymentFailedMount(ctx co... method restoreDeploymentVolumes (line 572) | func (d *FailedMountActionExecutor) restoreDeploymentVolumes(ctx conte... method injectDaemonSetFailedMount (line 590) | func (d *FailedMountActionExecutor) injectDaemonSetFailedMount(ctx con... method restoreDaemonSetVolumes (line 610) | func (d *FailedMountActionExecutor) restoreDaemonSetVolumes(ctx contex... method injectStatefulSetFailedMount (line 628) | func (d *FailedMountActionExecutor) injectStatefulSetFailedMount(ctx c... method restoreStatefulSetVolumes (line 648) | func (d *FailedMountActionExecutor) restoreStatefulSetVolumes(ctx cont... type volumeBackup (line 382) | type volumeBackup struct function generateRandomHash (line 389) | func generateRandomHash() string { function buildFailedMountVolume (line 398) | func buildFailedMountVolume(volumeName, volumeType string) v1.Volume { function injectFailedMountVolume (line 427) | func injectFailedMountVolume(podSpec *v1.PodSpec, annotations map[string... function removeInjectedVolume (line 472) | func removeInjectedVolume(podSpec *v1.PodSpec, backup *volumeBackup) err... function validateVolumeType (line 515) | func validateVolumeType(vol *v1.Volume, expectedType string) error { function restoreVolumeFromAnnotation (line 536) | func restoreVolumeFromAnnotation(podSpec *v1.PodSpec, annotations map[st... FILE: exec/pod/failexp.go type FailPodActionSpec (line 34) | type FailPodActionSpec struct method Name (line 54) | func (*FailPodActionSpec) Name() string { method Aliases (line 58) | func (*FailPodActionSpec) Aliases() []string { method ShortDesc (line 62) | func (*FailPodActionSpec) ShortDesc() string { method LongDesc (line 66) | func (*FailPodActionSpec) LongDesc() string { function NewFailPodActionSpec (line 38) | func NewFailPodActionSpec(client *channel.Client) spec.ExpActionCommandS... type FailPodActionExecutor (line 70) | type FailPodActionExecutor struct method Name (line 74) | func (*FailPodActionExecutor) Name() string { method SetChannel (line 78) | func (*FailPodActionExecutor) SetChannel(channel spec.Channel) { method Exec (line 81) | func (d *FailPodActionExecutor) Exec(uid string, ctx context.Context, ... method create (line 89) | func (d *FailPodActionExecutor) create(ctx context.Context, expModel *... method destroy (line 138) | func (d *FailPodActionExecutor) destroy(ctx context.Context, expModel ... method failPod (line 175) | func (d *FailPodActionExecutor) failPod(ctx context.Context, pod *v1.P... function isAnnotationExist (line 194) | func isAnnotationExist(annotation map[string]string, key string) bool { FILE: exec/pod/fsexp.go type PodIOActionSpec (line 38) | type PodIOActionSpec struct method Name (line 82) | func (*PodIOActionSpec) Name() string { method Aliases (line 86) | func (*PodIOActionSpec) Aliases() []string { method ShortDesc (line 90) | func (*PodIOActionSpec) ShortDesc() string { method LongDesc (line 94) | func (*PodIOActionSpec) LongDesc() string { function NewPodIOActionSpec (line 42) | func NewPodIOActionSpec(client *channel.Client) spec.ExpActionCommandSpec { type PodIOActionExecutor (line 98) | type PodIOActionExecutor struct method Name (line 102) | func (*PodIOActionExecutor) Name() string { method SetChannel (line 106) | func (*PodIOActionExecutor) SetChannel(channel spec.Channel) { method Exec (line 109) | func (d *PodIOActionExecutor) Exec(uid string, ctx context.Context, mo... method create (line 117) | func (d *PodIOActionExecutor) create(ctx context.Context, expModel *sp... method destroy (line 234) | func (d *PodIOActionExecutor) destroy(ctx context.Context, expModel *s... function isPodReady (line 282) | func isPodReady(pod *v1.Pod) bool { function getChaosfsClient (line 295) | func getChaosfsClient(pod *v1.Pod) (*chaosfs.ChaosBladeHookClient, error) { function getContainerPort (line 304) | func getContainerPort(portName string, pod *v1.Pod) (int32, error) { FILE: exec/pod/imageconfigexp.go type ImageConfigActionSpec (line 35) | type ImageConfigActionSpec struct method Name (line 76) | func (*ImageConfigActionSpec) Name() string { method Aliases (line 80) | func (*ImageConfigActionSpec) Aliases() []string { method ShortDesc (line 84) | func (*ImageConfigActionSpec) ShortDesc() string { method LongDesc (line 88) | func (*ImageConfigActionSpec) LongDesc() string { constant ImageNameFlag (line 40) | ImageNameFlag = "image-name" constant ImageTagFlag (line 41) | ImageTagFlag = "image-tag" function NewImageConfigActionSpec (line 44) | func NewImageConfigActionSpec(client *channel.Client) spec.ExpActionComm... type ImageConfigActionExecutor (line 92) | type ImageConfigActionExecutor struct method Name (line 96) | func (*ImageConfigActionExecutor) Name() string { method SetChannel (line 100) | func (*ImageConfigActionExecutor) SetChannel(channel spec.Channel) {} method Exec (line 102) | func (d *ImageConfigActionExecutor) Exec(uid string, ctx context.Conte... method create (line 109) | func (d *ImageConfigActionExecutor) create(ctx context.Context, expMod... method destroy (line 162) | func (d *ImageConfigActionExecutor) destroy(ctx context.Context, expMo... method modifyPodImage (line 206) | func (d *ImageConfigActionExecutor) modifyPodImage(ctx context.Context... function buildNewImage (line 229) | func buildNewImage(originalImage, imageName, imageTag string) string { function parseImage (line 252) | func parseImage(image string) (name, tag string) { function isImageConfigAnnotationExist (line 265) | func isImageConfigAnnotationExist(annotation map[string]string, key stri... function isImageConfigPodReady (line 274) | func isImageConfigPodReady(pod *v1.Pod) bool { FILE: exec/pod/imageconfigexp_test.go function TestParseImage (line 23) | func TestParseImage(t *testing.T) { function TestBuildNewImage (line 53) | func TestBuildNewImage(t *testing.T) { function TestIsImageConfigAnnotationExist (line 174) | func TestIsImageConfigAnnotationExist(t *testing.T) { FILE: exec/pod/imagepullsecretserror.go constant ChaosBladeIPSBackupAnnotation (line 44) | ChaosBladeIPSBackupAnnotation = "chaosblade.io/ips-backup" constant ChaosBladeIPSOriginalNameAnnotation (line 46) | ChaosBladeIPSOriginalNameAnnotation = "chaosblade.io/ips-original-name" constant ChaosBladeIPSOriginalNamespaceAnnotation (line 48) | ChaosBladeIPSOriginalNamespaceAnnotation = "chaosblade.io/ips-original-n... constant ChaosBladeIPSExperimentLabel (line 50) | ChaosBladeIPSExperimentLabel = "chaosblade.io/experiment" type ImagePullSecretsErrorActionSpec (line 53) | type ImagePullSecretsErrorActionSpec struct method Name (line 82) | func (*ImagePullSecretsErrorActionSpec) Name() string { method Aliases (line 86) | func (*ImagePullSecretsErrorActionSpec) Aliases() []string { method ShortDesc (line 90) | func (*ImagePullSecretsErrorActionSpec) ShortDesc() string { method LongDesc (line 94) | func (*ImagePullSecretsErrorActionSpec) LongDesc() string { function NewImagePullSecretsErrorActionSpec (line 57) | func NewImagePullSecretsErrorActionSpec(client *channel.Client) spec.Exp... type ImagePullSecretsErrorActionExecutor (line 104) | type ImagePullSecretsErrorActionExecutor struct method Name (line 108) | func (*ImagePullSecretsErrorActionExecutor) Name() string { method SetChannel (line 112) | func (*ImagePullSecretsErrorActionExecutor) SetChannel(channel spec.Ch... method Exec (line 114) | func (d *ImagePullSecretsErrorActionExecutor) Exec(uid string, ctx con... method create (line 121) | func (d *ImagePullSecretsErrorActionExecutor) create(uid string, ctx c... method destroy (line 250) | func (d *ImagePullSecretsErrorActionExecutor) destroy(uid string, ctx ... method corruptSecret (line 314) | func (d *ImagePullSecretsErrorActionExecutor) corruptSecret(ctx contex... method rollbackSecret (line 420) | func (d *ImagePullSecretsErrorActionExecutor) rollbackSecret(ctx conte... method restoreSecretsInNamespace (line 463) | func (d *ImagePullSecretsErrorActionExecutor) restoreSecretsInNamespac... function generateBackupSecretName (line 534) | func generateBackupSecretName(experimentId, namespace, secretName string... function corruptDockerConfigJSON (line 548) | func corruptDockerConfigJSON(data []byte) ([]byte, error) { function corruptDockerCfg (line 583) | func corruptDockerCfg(data []byte) ([]byte, error) { function corruptRegistryCredentials (line 606) | func corruptRegistryCredentials(registries map[string]interface{}) int { function filterSecretRefs (line 626) | func filterSecretRefs(refs []v1.LocalObjectReference, name string) []v1.... function copySecretData (line 637) | func copySecretData(data map[string][]byte) map[string][]byte { FILE: exec/pod/imagepullsecretserror_test.go function TestCorruptDockerConfigJSON (line 27) | func TestCorruptDockerConfigJSON(t *testing.T) { function TestCorruptDockerConfigJSON_EmptyAuths (line 92) | func TestCorruptDockerConfigJSON_EmptyAuths(t *testing.T) { function TestCorruptDockerConfigJSON_NoAuthsKey (line 107) | func TestCorruptDockerConfigJSON_NoAuthsKey(t *testing.T) { function TestCorruptDockerConfigJSON_InvalidJSON (line 122) | func TestCorruptDockerConfigJSON_InvalidJSON(t *testing.T) { function TestCorruptDockerCfg (line 129) | func TestCorruptDockerCfg(t *testing.T) { function TestCorruptDockerCfg_Empty (line 176) | func TestCorruptDockerCfg_Empty(t *testing.T) { function TestGenerateBackupSecretName (line 189) | func TestGenerateBackupSecretName(t *testing.T) { function TestGenerateBackupSecretName_Deterministic (line 245) | func TestGenerateBackupSecretName_Deterministic(t *testing.T) { function TestImagePullSecretsErrorActionSpec_Name (line 254) | func TestImagePullSecretsErrorActionSpec_Name(t *testing.T) { function TestImagePullSecretsErrorActionSpec_Aliases (line 261) | func TestImagePullSecretsErrorActionSpec_Aliases(t *testing.T) { function TestImagePullSecretsErrorActionExecutor_Name (line 269) | func TestImagePullSecretsErrorActionExecutor_Name(t *testing.T) { function TestFilterSecretRefs (line 276) | func TestFilterSecretRefs(t *testing.T) { function TestFilterSecretRefs_EmptyInput (line 318) | func TestFilterSecretRefs_EmptyInput(t *testing.T) { function TestFilterSecretRefs_DuplicateNames (line 330) | func TestFilterSecretRefs_DuplicateNames(t *testing.T) { function TestCopySecretData (line 342) | func TestCopySecretData(t *testing.T) { function TestCopySecretData_Nil (line 361) | func TestCopySecretData_Nil(t *testing.T) { FILE: exec/pod/pod.go type ResourceModelSpec (line 36) | type ResourceModelSpec struct function NewResourceModelSpec (line 40) | func NewResourceModelSpec(client *channel.Client) model.ResourceExpModel... function addActionExamples (line 56) | func addActionExamples(modelSpec *ResourceModelSpec) { function getResourceFlags (line 333) | func getResourceFlags() []spec.ExpFlagSpec { type SelfExpModelCommandSpec (line 340) | type SelfExpModelCommandSpec struct method Name (line 367) | func (*SelfExpModelCommandSpec) Name() string { method ShortDesc (line 371) | func (*SelfExpModelCommandSpec) ShortDesc() string { method LongDesc (line 375) | func (*SelfExpModelCommandSpec) LongDesc() string { method Example (line 379) | func (*SelfExpModelCommandSpec) Example() string { function NewSelfExpModelCommandSpec (line 344) | func NewSelfExpModelCommandSpec(client *channel.Client) spec.ExpModelCom... FILE: exec/pod/schedulingfailure.go constant ChaosBladeDeploymentAnnotation (line 42) | ChaosBladeDeploymentAnnotation = "chaosblade.io/deployment" constant ChaosBladeDaemonSetAnnotation (line 44) | ChaosBladeDaemonSetAnnotation = "chaosblade.io/daemonset" constant ChaosBladeStatefulSetAnnotation (line 46) | ChaosBladeStatefulSetAnnotation = "chaosblade.io/statefulset" constant ChaosBladeModifyAction (line 48) | ChaosBladeModifyAction = "modify" constant ChaosBladeOriginalNodeAffinityAnnotation (line 50) | ChaosBladeOriginalNodeAffinityAnnotation = "chaosblade.io/original-node-... constant ChaosBladeOriginalPodAffinityAnnotation (line 52) | ChaosBladeOriginalPodAffinityAnnotation = "chaosblade.io/original-pod-af... constant ChaosBladeOriginalPodAntiAffinityAnnotation (line 54) | ChaosBladeOriginalPodAntiAffinityAnnotation = "chaosblade.io/original-po... constant ChaosBladeOriginalNodeSelectorAnnotation (line 56) | ChaosBladeOriginalNodeSelectorAnnotation = "chaosblade.io/original-nodes... constant ChaosBladeAffinityTypeAnnotation (line 58) | ChaosBladeAffinityTypeAnnotation = "chaosblade.io/affinity-type" constant ChaosBladeSchedulingFailureAction (line 60) | ChaosBladeSchedulingFailureAction = "schedulingfailure" constant UnreachableNodeLabelKey (line 62) | UnreachableNodeLabelKey = "chaosblade.io/unreachable" constant UnreachableNodeLabelValue (line 63) | UnreachableNodeLabelValue = "true" type PodSchedulingFailureActionSpec (line 66) | type PodSchedulingFailureActionSpec struct method Name (line 107) | func (*PodSchedulingFailureActionSpec) Name() string { method Aliases (line 111) | func (*PodSchedulingFailureActionSpec) Aliases() []string { method ShortDesc (line 115) | func (*PodSchedulingFailureActionSpec) ShortDesc() string { method LongDesc (line 119) | func (*PodSchedulingFailureActionSpec) LongDesc() string { method PreCreate (line 552) | func (a *PodSchedulingFailureActionSpec) PreCreate(ctx context.Context... method PreDestroy (line 586) | func (a *PodSchedulingFailureActionSpec) PreDestroy(ctx context.Contex... function NewPodSchedulingFailureActionSpec (line 71) | func NewPodSchedulingFailureActionSpec(client *channel.Client) spec.ExpA... type PodSchedulingFailureActionExecutor (line 127) | type PodSchedulingFailureActionExecutor struct method Name (line 131) | func (*PodSchedulingFailureActionExecutor) Name() string { method SetChannel (line 135) | func (*PodSchedulingFailureActionExecutor) SetChannel(channel spec.Cha... method Exec (line 137) | func (d *PodSchedulingFailureActionExecutor) Exec(uid string, ctx cont... method create (line 144) | func (d *PodSchedulingFailureActionExecutor) create(uid string, ctx co... method destroy (line 268) | func (d *PodSchedulingFailureActionExecutor) destroy(uid string, ctx c... method injectDeploymentSchedulingFailure (line 350) | func (d *PodSchedulingFailureActionExecutor) injectDeploymentSchedulin... method injectDaemonSetSchedulingFailure (line 374) | func (d *PodSchedulingFailureActionExecutor) injectDaemonSetScheduling... method injectStatefulSetSchedulingFailure (line 395) | func (d *PodSchedulingFailureActionExecutor) injectStatefulSetScheduli... method backupAndInjectAffinity (line 417) | func (d *PodSchedulingFailureActionExecutor) backupAndInjectAffinity(p... method restoreDeployment (line 616) | func (d *PodSchedulingFailureActionExecutor) restoreDeployment(ctx con... method restoreDaemonSet (line 639) | func (d *PodSchedulingFailureActionExecutor) restoreDaemonSet(ctx cont... method restoreStatefulSet (line 660) | func (d *PodSchedulingFailureActionExecutor) restoreStatefulSet(ctx co... method restoreAffinity (line 683) | func (d *PodSchedulingFailureActionExecutor) restoreAffinity(podSpec *... function handleGetError (line 253) | func handleGetError(err error, namespace, workloadType, workloadName str... function ensureNoConflictingExperiment (line 342) | func ensureNoConflictingExperiment(annotations map[string]string, experi... FILE: exec/pod/taintnode.go constant ChaosBladeTaintAnnotation (line 40) | ChaosBladeTaintAnnotation = "chaosblade.io/taint" constant ChaosBladeOriginalTaintsAnnotation (line 42) | ChaosBladeOriginalTaintsAnnotation = "chaosblade.io/original-taints" constant ChaosBladeInjectedTaintAnnotation (line 44) | ChaosBladeInjectedTaintAnnotation = "chaosblade.io/injected-taint" constant DefaultTaintKey (line 46) | DefaultTaintKey = "chaosblade.io/unreachable" constant DefaultTaintValue (line 48) | DefaultTaintValue = "true" constant DefaultTaintEffect (line 50) | DefaultTaintEffect = "NoSchedule" function chaosBladeTaintAnnotations (line 54) | func chaosBladeTaintAnnotations() []string { type PodTaintNodeActionSpec (line 62) | type PodTaintNodeActionSpec struct method Name (line 112) | func (*PodTaintNodeActionSpec) Name() string { method Aliases (line 116) | func (*PodTaintNodeActionSpec) Aliases() []string { method ShortDesc (line 120) | func (*PodTaintNodeActionSpec) ShortDesc() string { method LongDesc (line 124) | func (*PodTaintNodeActionSpec) LongDesc() string { method PreCreate (line 415) | func (a *PodTaintNodeActionSpec) PreCreate(ctx context.Context, expMod... method PreDestroy (line 450) | func (a *PodTaintNodeActionSpec) PreDestroy(ctx context.Context, expMo... function NewPodTaintNodeActionSpec (line 67) | func NewPodTaintNodeActionSpec(client *channel.Client) spec.ExpActionCom... type PodTaintNodeActionExecutor (line 132) | type PodTaintNodeActionExecutor struct method Name (line 136) | func (*PodTaintNodeActionExecutor) Name() string { method SetChannel (line 140) | func (*PodTaintNodeActionExecutor) SetChannel(channel spec.Channel) {} method Exec (line 142) | func (d *PodTaintNodeActionExecutor) Exec(uid string, ctx context.Cont... method create (line 182) | func (d *PodTaintNodeActionExecutor) create(uid string, ctx context.Co... method destroy (line 232) | func (d *PodTaintNodeActionExecutor) destroy(uid string, ctx context.C... method injectTaintToNode (line 284) | func (d *PodTaintNodeActionExecutor) injectTaintToNode(ctx context.Con... method restoreNodeTaints (line 333) | func (d *PodTaintNodeActionExecutor) restoreNodeTaints(ctx context.Con... function parseTaintNodeFlags (line 150) | func parseTaintNodeFlags(expModel *spec.ExpModel) (nodeNames []string, t... function findTaintIndex (line 373) | func findTaintIndex(taints []v1.Taint, key string, effect v1.TaintEffect... function removeTaintByKeyEffect (line 384) | func removeTaintByKeyEffect(taints []v1.Taint, key string, effect v1.Tai... function parseNodeNames (line 394) | func parseNodeNames(nodesFlag string) ([]string, error) { function validateTaintNodeFlags (line 407) | func validateTaintNodeFlags(nodes string) *spec.Response { FILE: exec/pod/taintnode_test.go function TestParseTaintNodeFlags (line 29) | func TestParseTaintNodeFlags(t *testing.T) { function TestValidateTaintNodeFlags (line 153) | func TestValidateTaintNodeFlags(t *testing.T) { function TestInjectTaintToNode_ConflictDetection (line 176) | func TestInjectTaintToNode_ConflictDetection(t *testing.T) { function TestInjectTaintToNode_Idempotent (line 197) | func TestInjectTaintToNode_Idempotent(t *testing.T) { function TestInjectTaintToNode_BackupAndInject (line 215) | func TestInjectTaintToNode_BackupAndInject(t *testing.T) { function TestInjectTaintToNode_DuplicateKeyEffect (line 277) | func TestInjectTaintToNode_DuplicateKeyEffect(t *testing.T) { function TestRestoreNodeTaints_NotModifiedByExperiment (line 309) | func TestRestoreNodeTaints_NotModifiedByExperiment(t *testing.T) { function TestRestoreNodeTaints_SuccessfulRestore (line 356) | func TestRestoreNodeTaints_SuccessfulRestore(t *testing.T) { function TestRestoreNodeTaints_PreservesNewTaints (line 414) | func TestRestoreNodeTaints_PreservesNewTaints(t *testing.T) { function TestRestoreNodeTaints_NoBackup (line 470) | func TestRestoreNodeTaints_NoBackup(t *testing.T) { function containsString (line 510) | func containsString(s, substr string) bool { FILE: exec/pod/terminating.go constant PodTerminatingFinalizer (line 38) | PodTerminatingFinalizer = "chaosblade.io/pod-terminating" type PodTerminatingActionSpec (line 41) | type PodTerminatingActionSpec struct method Name (line 62) | func (*PodTerminatingActionSpec) Name() string { method Aliases (line 66) | func (*PodTerminatingActionSpec) Aliases() []string { method ShortDesc (line 70) | func (*PodTerminatingActionSpec) ShortDesc() string { method LongDesc (line 74) | func (*PodTerminatingActionSpec) LongDesc() string { function NewPodTerminatingActionSpec (line 45) | func NewPodTerminatingActionSpec(client *channel.Client) spec.ExpActionC... type PodTerminatingActionExecutor (line 81) | type PodTerminatingActionExecutor struct method Name (line 85) | func (*PodTerminatingActionExecutor) Name() string { method SetChannel (line 89) | func (*PodTerminatingActionExecutor) SetChannel(channel spec.Channel) {} method Exec (line 91) | func (d *PodTerminatingActionExecutor) Exec(uid string, ctx context.Co... method create (line 98) | func (d *PodTerminatingActionExecutor) create(uid string, ctx context.... method destroy (line 172) | func (d *PodTerminatingActionExecutor) destroy(uid string, ctx context... method addFinalizer (line 235) | func (d *PodTerminatingActionExecutor) addFinalizer(ctx context.Contex... method removeFinalizer (line 248) | func (d *PodTerminatingActionExecutor) removeFinalizer(ctx context.Con... FILE: exec/service/controller.go constant ServiceMetaListKey (line 32) | ServiceMetaListKey = "ServiceMetaListKey" type ServiceMeta (line 34) | type ServiceMeta struct type ServiceMetaList (line 40) | type ServiceMetaList function GetServiceMetaListFromContext (line 42) | func GetServiceMetaListFromContext(ctx context.Context) (ServiceMetaList... function SetServiceMetaListToContext (line 50) | func SetServiceMetaListToContext(ctx context.Context, list ServiceMetaLi... type ExpController (line 54) | type ExpController struct method Name (line 67) | func (*ExpController) Name() string { method Create (line 71) | func (e *ExpController) Create(ctx context.Context, expSpec v1alpha1.E... method Destroy (line 78) | func (e *ExpController) Destroy(ctx context.Context, expSpec v1alpha1.... function NewExpController (line 58) | func NewExpController(client *channel.Client) model.ExperimentController { function parseServiceIdentifier (line 100) | func parseServiceIdentifier(identifier string) ServiceMeta { FILE: exec/service/create.go constant NamePrefixFlag (line 38) | NamePrefixFlag = "name-prefix" constant ServiceCountFlag (line 39) | ServiceCountFlag = "service-count" constant PortsPerServiceFlag (line 40) | PortsPerServiceFlag = "ports-per-service" type CreateServiceActionSpec (line 43) | type CreateServiceActionSpec struct method Name (line 78) | func (*CreateServiceActionSpec) Name() string { method Aliases (line 82) | func (*CreateServiceActionSpec) Aliases() []string { method ShortDesc (line 86) | func (*CreateServiceActionSpec) ShortDesc() string { method LongDesc (line 90) | func (*CreateServiceActionSpec) LongDesc() string { function NewCreateServiceActionSpec (line 47) | func NewCreateServiceActionSpec(client *channel.Client) spec.ExpActionCo... type CreateServiceActionExecutor (line 94) | type CreateServiceActionExecutor struct method Name (line 98) | func (*CreateServiceActionExecutor) Name() string { method SetChannel (line 102) | func (*CreateServiceActionExecutor) SetChannel(channel spec.Channel) { method Exec (line 105) | func (d *CreateServiceActionExecutor) Exec(uid string, ctx context.Con... method create (line 112) | func (d *CreateServiceActionExecutor) create(uid string, ctx context.C... method destroy (line 193) | func (d *CreateServiceActionExecutor) destroy(uid string, ctx context.... function buildService (line 251) | func buildService(name, namespace string, portsPerService int, uid strin... FILE: exec/service/modify.go constant ServiceNameFlag (line 36) | ServiceNameFlag = "name" constant ExternalTrafficPolicyFlag (line 37) | ExternalTrafficPolicyFlag = "externalTrafficPolicy" constant InternalTrafficPolicyFlag (line 38) | InternalTrafficPolicyFlag = "internalTrafficPolicy" constant ServiceAnnotation (line 39) | ServiceAnnotation = "chaosblade.io/service" constant ServiceModifyHistoryAnnotation (line 40) | ServiceModifyHistoryAnnotation = "chaosblade.io/service-modify-history" type ModifyServiceActionSpec (line 43) | type ModifyServiceActionSpec struct method Name (line 83) | func (*ModifyServiceActionSpec) Name() string { method Aliases (line 87) | func (*ModifyServiceActionSpec) Aliases() []string { method ShortDesc (line 91) | func (*ModifyServiceActionSpec) ShortDesc() string { method LongDesc (line 95) | func (*ModifyServiceActionSpec) LongDesc() string { function NewModifyServiceActionSpec (line 47) | func NewModifyServiceActionSpec(client *channel.Client) spec.ExpActionCo... type ModifyServiceActionExecutor (line 99) | type ModifyServiceActionExecutor struct method Name (line 103) | func (*ModifyServiceActionExecutor) Name() string { method SetChannel (line 107) | func (*ModifyServiceActionExecutor) SetChannel(channel spec.Channel) { method Exec (line 110) | func (d *ModifyServiceActionExecutor) Exec(uid string, ctx context.Con... method create (line 117) | func (d *ModifyServiceActionExecutor) create(uid string, ctx context.C... method destroy (line 240) | func (d *ModifyServiceActionExecutor) destroy(uid string, ctx context.... function isValidPolicy (line 306) | func isValidPolicy(policy string) bool { FILE: exec/service/service.go type ResourceModelSpec (line 26) | type ResourceModelSpec struct function NewResourceModelSpec (line 30) | func NewResourceModelSpec(client *channel.Client) model.ResourceExpModel... function getResourceFlags (line 42) | func getResourceFlags() []spec.ExpFlagSpec { type SelfExpModelCommandSpec (line 53) | type SelfExpModelCommandSpec struct method Name (line 69) | func (*SelfExpModelCommandSpec) Name() string { method ShortDesc (line 73) | func (*SelfExpModelCommandSpec) ShortDesc() string { method LongDesc (line 77) | func (*SelfExpModelCommandSpec) LongDesc() string { method Example (line 81) | func (*SelfExpModelCommandSpec) Example() string { function NewSelfExpModelCommandSpec (line 57) | func NewSelfExpModelCommandSpec(client *channel.Client) spec.ExpModelCom... FILE: pkg/apis/addtoscheme_chaosblade_v1alpha1.go function init (line 23) | func init() { FILE: pkg/apis/apis.go function AddToScheme (line 27) | func AddToScheme(s *runtime.Scheme) error { FILE: pkg/apis/chaosblade/v1alpha1/types.go type ClusterPhase (line 26) | type ClusterPhase constant ClusterPhaseInitial (line 29) | ClusterPhaseInitial ClusterPhase = "" constant ClusterPhaseInitialized (line 30) | ClusterPhaseInitialized ClusterPhase = "Initialized" constant ClusterPhaseRunning (line 31) | ClusterPhaseRunning ClusterPhase = "Running" constant ClusterPhaseUpdating (line 32) | ClusterPhaseUpdating ClusterPhase = "Updating" constant ClusterPhaseDestroying (line 33) | ClusterPhaseDestroying ClusterPhase = "Destroying" constant ClusterPhaseDestroyed (line 34) | ClusterPhaseDestroyed ClusterPhase = "Destroyed" constant ClusterPhaseError (line 35) | ClusterPhaseError ClusterPhase = "Error" type ChaosBladeSpec (line 40) | type ChaosBladeSpec struct type ExperimentSpec (line 47) | type ExperimentSpec struct type FlagSpec (line 60) | type FlagSpec struct type ChaosBladeStatus (line 70) | type ChaosBladeStatus struct constant PodKind (line 95) | PodKind = "pod" constant ContainerKind (line 96) | ContainerKind = "container" constant NodeKind (line 97) | NodeKind = "node" constant ServiceKind (line 98) | ServiceKind = "service" type ResourceStatus (line 101) | type ResourceStatus struct method CreateFailResourceStatus (line 80) | func (in *ResourceStatus) CreateFailResourceStatus(err string, code in... method CreateSuccessResourceStatus (line 88) | func (in *ResourceStatus) CreateSuccessResourceStatus() ResourceStatus { constant SuccessState (line 122) | SuccessState = "Success" constant ErrorState (line 123) | ErrorState = "Error" constant DestroyedState (line 124) | DestroyedState = "Destroyed" function CreateFailExperimentStatus (line 127) | func CreateFailExperimentStatus(err string, ResStatuses []ResourceStatus... function CreateSuccessExperimentStatus (line 131) | func CreateSuccessExperimentStatus(ResStatuses []ResourceStatus) Experim... function CreateDestroyedExperimentStatus (line 135) | func CreateDestroyedExperimentStatus(ResStatuses []ResourceStatus) Exper... function CreateFailResStatuses (line 139) | func CreateFailResStatuses(code int32, err, uid string) []ResourceStatus { type ExperimentStatus (line 150) | type ExperimentStatus struct type ChaosBlade (line 169) | type ChaosBlade struct type ChaosBladeList (line 180) | type ChaosBladeList struct function init (line 186) | func init() { FILE: pkg/apis/chaosblade/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *ChaosBlade) DeepCopyInto(out *ChaosBlade) { method DeepCopy (line 39) | func (in *ChaosBlade) DeepCopy() *ChaosBlade { method DeepCopyObject (line 49) | func (in *ChaosBlade) DeepCopyObject() runtime.Object { method DeepCopyInto (line 57) | func (in *ChaosBladeList) DeepCopyInto(out *ChaosBladeList) { method DeepCopy (line 72) | func (in *ChaosBladeList) DeepCopy() *ChaosBladeList { method DeepCopyObject (line 82) | func (in *ChaosBladeList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 90) | func (in *ChaosBladeSpec) DeepCopyInto(out *ChaosBladeSpec) { method DeepCopy (line 103) | func (in *ChaosBladeSpec) DeepCopy() *ChaosBladeSpec { method DeepCopyInto (line 113) | func (in *ChaosBladeStatus) DeepCopyInto(out *ChaosBladeStatus) { method DeepCopy (line 126) | func (in *ChaosBladeStatus) DeepCopy() *ChaosBladeStatus { method DeepCopyInto (line 136) | func (in *ExperimentSpec) DeepCopyInto(out *ExperimentSpec) { method DeepCopy (line 149) | func (in *ExperimentSpec) DeepCopy() *ExperimentSpec { method DeepCopyInto (line 159) | func (in *ExperimentStatus) DeepCopyInto(out *ExperimentStatus) { method DeepCopy (line 170) | func (in *ExperimentStatus) DeepCopy() *ExperimentStatus { method DeepCopyInto (line 180) | func (in *FlagSpec) DeepCopyInto(out *FlagSpec) { method DeepCopy (line 191) | func (in *FlagSpec) DeepCopy() *FlagSpec { method DeepCopyInto (line 201) | func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus) { method DeepCopy (line 207) | func (in *ResourceStatus) DeepCopy() *ResourceStatus { FILE: pkg/controller/add_chaosblade.go function init (line 23) | func init() { FILE: pkg/controller/chaosblade/controller.go constant chaosbladeFinalizer (line 46) | chaosbladeFinalizer = "finalizer.chaosblade.io" function Add (line 55) | func Add(mgr manager.Manager) error { function newReconciler (line 67) | func newReconciler(mgr manager.Manager) *ReconcileChaosBlade { function add (line 77) | func add(mgr manager.Manager, rcb *ReconcileChaosBlade) error { function startPeriodicallyCleanUpBlade (line 116) | func startPeriodicallyCleanUpBlade(ctx context.Context, mgr manager.Mana... function periodicallyCleanUpBlade (line 140) | func periodicallyCleanUpBlade(ctx context.Context, cli client.Client, in... type ReconcileChaosBlade (line 175) | type ReconcileChaosBlade struct method Reconcile (line 188) | func (r *ReconcileChaosBlade) Reconcile(ctx context.Context, request r... method finalizeChaosBlade (line 327) | func (r *ReconcileChaosBlade) finalizeChaosBlade(ctx context.Context, ... function contains (line 360) | func contains(list []string, s string) bool { function remove (line 369) | func remove(list []string, s string) []string { FILE: pkg/controller/chaosblade/daemonset.go function deployChaosBladeTool (line 37) | func deployChaosBladeTool(rcb *ReconcileChaosBlade) error { function createOwnerReferences (line 62) | func createOwnerReferences(rcb *ReconcileChaosBlade) ([]metav1.OwnerRefe... function createDaemonsetSpec (line 96) | func createDaemonsetSpec() appsv1.DaemonSetSpec { function createPodTemplateSpec (line 106) | func createPodTemplateSpec() corev1.PodTemplateSpec { function createPodSpec (line 116) | func createPodSpec() corev1.PodSpec { function createAffinity (line 149) | func createAffinity() *corev1.Affinity { function createContainer (line 167) | func createContainer() corev1.Container { FILE: pkg/controller/chaosblade/predicate.go type SpecUpdatedPredicateForRunningPhase (line 29) | type SpecUpdatedPredicateForRunningPhase struct method Create (line 31) | func (sup *SpecUpdatedPredicateForRunningPhase) Create(e event.TypedCr... method Delete (line 49) | func (*SpecUpdatedPredicateForRunningPhase) Delete(e event.TypedDelete... method Update (line 59) | func (*SpecUpdatedPredicateForRunningPhase) Update(e event.TypedUpdate... method Generic (line 111) | func (*SpecUpdatedPredicateForRunningPhase) Generic(e event.TypedGener... FILE: pkg/controller/controller.go function AddToManager (line 27) | func AddToManager(m manager.Manager) error { FILE: pkg/hookfs/client.go type ChaosBladeHookClient (line 32) | type ChaosBladeHookClient struct method InjectFault (line 52) | func (c *ChaosBladeHookClient) InjectFault(ctx context.Context, inject... method Revoke (line 70) | func (c *ChaosBladeHookClient) Revoke(ctx context.Context) error { function NewChabladeHookClient (line 37) | func NewChabladeHookClient(addr string) *ChaosBladeHookClient { FILE: pkg/hookfs/hook.go type ChaosbladeHookContext (line 31) | type ChaosbladeHookContext struct type ChaosbladeHook (line 33) | type ChaosbladeHook struct method PreOpen (line 37) | func (h *ChaosbladeHook) PreOpen(path string, flags uint32) (bool, hoo... method PostOpen (line 46) | func (h *ChaosbladeHook) PostOpen(int32, hookfs.HookContext) (bool, er... method PreRead (line 50) | func (h *ChaosbladeHook) PreRead(path string, length int64, offset int... method PostRead (line 59) | func (h *ChaosbladeHook) PostRead(realRetCode int32, realBuf []byte, p... method PreWrite (line 63) | func (h *ChaosbladeHook) PreWrite(path string, buf []byte, offset int6... method PostWrite (line 72) | func (h *ChaosbladeHook) PostWrite(realRetCode int32, prehookCtx hookf... method PreMkdir (line 76) | func (h *ChaosbladeHook) PreMkdir(path string, mode uint32) (bool, hoo... method PostMkdir (line 85) | func (h *ChaosbladeHook) PostMkdir(realRetCode int32, prehookCtx hookf... method PreRmdir (line 89) | func (h *ChaosbladeHook) PreRmdir(path string) (bool, hookfs.HookConte... method PostRmdir (line 98) | func (h *ChaosbladeHook) PostRmdir(realRetCode int32, prehookCtx hookf... method PreOpenDir (line 102) | func (h *ChaosbladeHook) PreOpenDir(path string) (bool, hookfs.HookCon... method PostOpenDir (line 111) | func (h *ChaosbladeHook) PostOpenDir(realRetCode int32, prehookCtx hoo... method PreFsync (line 115) | func (h *ChaosbladeHook) PreFsync(path string, flags uint32) (bool, ho... method PostFsync (line 124) | func (h *ChaosbladeHook) PostFsync(realRetCode int32, prehookCtx hookf... method PreFlush (line 128) | func (h *ChaosbladeHook) PreFlush(path string) (bool, hookfs.HookConte... method PostFlush (line 137) | func (h *ChaosbladeHook) PostFlush(realRetCode int32, prehookCtx hookf... method PreRelease (line 141) | func (h *ChaosbladeHook) PreRelease(path string) (bool, hookfs.HookCon... method PostRelease (line 147) | func (h *ChaosbladeHook) PostRelease(prehookCtx hookfs.HookContext) (h... method PreTruncate (line 151) | func (h *ChaosbladeHook) PreTruncate(path string, size uint64) (bool, ... method PostTruncate (line 160) | func (h *ChaosbladeHook) PostTruncate(realRetCode int32, prehookCtx ho... method PreGetAttr (line 164) | func (h *ChaosbladeHook) PreGetAttr(path string) (bool, hookfs.HookCon... method PostGetAttr (line 173) | func (h *ChaosbladeHook) PostGetAttr(realRetCode int32, prehookCtx hoo... method PreChown (line 177) | func (h *ChaosbladeHook) PreChown(path string, uid uint32, gid uint32)... method PostChown (line 186) | func (h *ChaosbladeHook) PostChown(realRetCode int32, prehookCtx hookf... method PreChmod (line 190) | func (h *ChaosbladeHook) PreChmod(path string, perms uint32) (bool, ho... method PostChmod (line 199) | func (h *ChaosbladeHook) PostChmod(realRetCode int32, prehookCtx hookf... method PreUtimens (line 203) | func (h *ChaosbladeHook) PreUtimens(path string, atime *time.Time, mti... method PostUtimens (line 212) | func (h *ChaosbladeHook) PostUtimens(realRetCode int32, prehookCtx hoo... method PreAllocate (line 216) | func (h *ChaosbladeHook) PreAllocate(path string, off uint64, size uin... method PostAllocate (line 225) | func (h *ChaosbladeHook) PostAllocate(realRetCode int32, prehookCtx ho... method PreGetLk (line 229) | func (h *ChaosbladeHook) PreGetLk(path string, owner uint64, lk *fuse.... method PostGetLk (line 238) | func (h *ChaosbladeHook) PostGetLk(realRetCode int32, prehookCtx hookf... method PreSetLk (line 242) | func (h *ChaosbladeHook) PreSetLk(path string, owner uint64, lk *fuse.... method PostSetLk (line 251) | func (h *ChaosbladeHook) PostSetLk(realRetCode int32, prehookCtx hookf... method PreSetLkw (line 255) | func (h *ChaosbladeHook) PreSetLkw(path string, owner uint64, lk *fuse... method PostSetLkw (line 264) | func (h *ChaosbladeHook) PostSetLkw(realRetCode int32, prehookCtx hook... method PreStatFs (line 268) | func (h *ChaosbladeHook) PreStatFs(path string) (bool, hookfs.HookCont... method PostStatFs (line 277) | func (h *ChaosbladeHook) PostStatFs(prehookCtx hookfs.HookContext) (bo... method PreReadlink (line 281) | func (h *ChaosbladeHook) PreReadlink(name string) (bool, hookfs.HookCo... method PostReadlink (line 290) | func (h *ChaosbladeHook) PostReadlink(realRetCode int32, prehookCtx ho... method PreSymlink (line 294) | func (h *ChaosbladeHook) PreSymlink(value string, linkName string) (bo... method PostSymlink (line 307) | func (h *ChaosbladeHook) PostSymlink(realRetCode int32, prehookCtx hoo... method PreCreate (line 311) | func (h *ChaosbladeHook) PreCreate(name string, flags uint32, mode uin... method PostCreate (line 320) | func (h *ChaosbladeHook) PostCreate(realRetCode int32, prehookCtx hook... method PreAccess (line 324) | func (h *ChaosbladeHook) PreAccess(name string, mode uint32) (bool, ho... method PostAccess (line 333) | func (h *ChaosbladeHook) PostAccess(realRetCode int32, prehookCtx hook... method PreLink (line 337) | func (h *ChaosbladeHook) PreLink(oldName string, newName string) (bool... method PostLink (line 350) | func (h *ChaosbladeHook) PostLink(realRetCode int32, prehookCtx hookfs... method PreMknod (line 354) | func (h *ChaosbladeHook) PreMknod(name string, mode uint32, dev uint32... method PostMknod (line 363) | func (h *ChaosbladeHook) PostMknod(realRetCode int32, prehookCtx hookf... method PreRename (line 367) | func (h *ChaosbladeHook) PreRename(oldName string, newName string) (bo... method PostRename (line 380) | func (h *ChaosbladeHook) PostRename(realRetCode int32, prehookCtx hook... method PreUnlink (line 384) | func (h *ChaosbladeHook) PreUnlink(name string) (bool, hookfs.HookCont... method PostUnlink (line 393) | func (h *ChaosbladeHook) PostUnlink(realRetCode int32, prehookCtx hook... method PreGetXAttr (line 397) | func (h *ChaosbladeHook) PreGetXAttr(name string, attribute string) (b... method PostGetXAttr (line 406) | func (h *ChaosbladeHook) PostGetXAttr(realRetCode int32, prehookCtx ho... method PreListXAttr (line 410) | func (h *ChaosbladeHook) PreListXAttr(name string) (bool, hookfs.HookC... method PostListXAttr (line 419) | func (h *ChaosbladeHook) PostListXAttr(realRetCode int32, prehookCtx h... method PreRemoveXAttr (line 423) | func (h *ChaosbladeHook) PreRemoveXAttr(name string, attr string) (boo... method PostRemoveXAttr (line 432) | func (h *ChaosbladeHook) PostRemoveXAttr(realRetCode int32, prehookCtx... method PreSetXAttr (line 436) | func (h *ChaosbladeHook) PreSetXAttr(name string, attr string, data []... method PostSetXAttr (line 445) | func (h *ChaosbladeHook) PostSetXAttr(realRetCode int32, prehookCtx ho... method doInjectFault (line 449) | func (h *ChaosbladeHook) doInjectFault(relativePath, method string) er... function randomErrno (line 489) | func randomErrno() error { function probab (line 494) | func probab(percentage uint32) bool { FILE: pkg/hookfs/server.go function init (line 31) | func init() { type InjectMessage (line 35) | type InjectMessage struct type ChaosbladeHookServer (line 44) | type ChaosbladeHookServer struct method Start (line 54) | func (s *ChaosbladeHookServer) Start(stop context.Context) error { method InjectHandler (line 78) | func (s *ChaosbladeHookServer) InjectHandler(w http.ResponseWriter, r ... method RecoverHandler (line 92) | func (s *ChaosbladeHookServer) RecoverHandler(w http.ResponseWriter, r... function NewChaosbladeHookServer (line 48) | func NewChaosbladeHookServer(addr string) *ChaosbladeHookServer { FILE: pkg/runtime/chaosblade/chaosblade.go constant OperatorChaosBladePath (line 35) | OperatorChaosBladePath = "/opt/chaosblade" constant OperatorChaosBladeBin (line 36) | OperatorChaosBladeBin = "/opt/chaosblade/bin" constant OperatorChaosBladeLib (line 37) | OperatorChaosBladeLib = "/opt/chaosblade/lib" constant OperatorChaosBladeYaml (line 38) | OperatorChaosBladeYaml = "/opt/chaosblade/yaml" constant OperatorChaosBladeBlade (line 39) | OperatorChaosBladeBlade = "/opt/chaosblade/blade" constant DaemonsetPodName (line 43) | DaemonsetPodName = "chaosblade-tool" constant DefaultRemoveBladeInterval (line 44) | DefaultRemoveBladeInterval = "72h" type ProductConstant (line 61) | type ProductConstant struct function init (line 67) | func init() { function FlagSet (line 79) | func FlagSet() *pflag.FlagSet { FILE: pkg/runtime/product/aliyun/aliyun.go constant AHAS (line 34) | AHAS = "ahas" constant prodEnv (line 35) | prodEnv = "prod" constant publicRegion (line 36) | publicRegion = "cn-public" function init (line 41) | func init() { function FlagSet (line 64) | func FlagSet() *pflag.FlagSet { FILE: pkg/runtime/product/community/community.go constant Community (line 23) | Community = "community" function init (line 25) | func init() { FILE: pkg/runtime/runtime.go function init (line 35) | func init() { function initRuntimeData (line 47) | func initRuntimeData() { function FlagSet (line 51) | func FlagSet() *pflag.FlagSet { FILE: pkg/webhook/pod/mutator.go constant SidecarName (line 42) | SidecarName = "chaosblade-fuse" constant FuseServerPortName (line 43) | FuseServerPortName = "fuse-port" type Mutator (line 47) | type Mutator struct method Handle (line 52) | func (v *Mutator) Handle(ctx context.Context, req admission.Request) a... method mutatePodsFn (line 77) | func (v *Mutator) mutatePodsFn(pod *corev1.Pod) error { method InjectClient (line 177) | func (v *Mutator) InjectClient(c client.Client) error { method InjectDecoder (line 183) | func (v *Mutator) InjectDecoder(d admission.Decoder) error { function GetSidecarImage (line 188) | func GetSidecarImage() string { FILE: pkg/webhook/pod/mutator_test.go function Test_mutatePodsFn (line 27) | func Test_mutatePodsFn(t *testing.T) { FILE: pkg/webhook/webhook.go function init (line 32) | func init() { function FlagSet (line 41) | func FlagSet() *pflag.FlagSet { FILE: version/version.go constant criVersion (line 25) | criVersion = "1.5.0" function init (line 42) | func init() { function GetVersionInfo (line 55) | func GetVersionInfo() map[string]string { function GetVersionString (line 68) | func GetVersionString() string { function GetShortVersion (line 74) | func GetShortVersion() string { function CheckVerisonHaveCriCommand (line 78) | func CheckVerisonHaveCriCommand() bool {