{"modulePath":"github.com/KusionStack/controller-mesh","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package expectation\n\n## Constants\n\n```go\nconst (\n\tExpectationsTimeout = 3 * time.Minute\n)\n```\n\n## Types\n\n```go\ntype Expectation struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype Expectations struct {\n\tcache.Store\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewExpectations(name string, timeOut time.Duration) *Expectations\n```\n\n```go\nfunc (e *Expectations) DeleteExpectation(key string)\n```\n\n```go\nfunc (e *Expectations) GetExpectation(key string) *Expectation\n```\n\n```go\nfunc (e *Expectations) Record(key string, timestamp int64) error\n```\n\n```go\nfunc (e *Expectations) Satisfied(key string, timestamp int64) bool\n```\n\n```go\nfunc (e *Expectations) SetExpectation(key string, value int64) error\n```\n\n","path":"github.com/KusionStack/controller-mesh/pkg/utils/expectation","name":"expectation","synopsis":"","isRedistributable":true}
