SYMBOL INDEX (1787 symbols across 241 files) FILE: charts/charts/kube-prometheus-stack/hack/sync_grafana_dashboards.py class LiteralStr (line 13) | class LiteralStr(str): function change_style (line 17) | def change_style(style, representer): function init_yaml_styles (line 81) | def init_yaml_styles(): function escape (line 86) | def escape(s): function unescape (line 90) | def unescape(s): function yaml_str_repr (line 94) | def yaml_str_repr(struct, indent=2): function patch_json_for_multicluster_configuration (line 107) | def patch_json_for_multicluster_configuration(content): function write_group_to_file (line 148) | def write_group_to_file(resource_name, content, url, destination, min_ku... function main (line 180) | def main(): FILE: charts/charts/kube-prometheus-stack/hack/sync_prometheus_rules.py class LiteralStr (line 12) | class LiteralStr(str): function change_style (line 16) | def change_style(style, representer): function init_yaml_styles (line 177) | def init_yaml_styles(): function escape (line 182) | def escape(s): function fix_expr (line 186) | def fix_expr(rules): function yaml_str_repr (line 196) | def yaml_str_repr(struct, indent=4): function add_rules_conditions (line 208) | def add_rules_conditions(rules, indent=4): function add_custom_labels (line 242) | def add_custom_labels(rules, indent=4): function write_group_to_file (line 263) | def write_group_to_file(group, url, destination, min_kubernetes, max_kub... function write_rules_names_template (line 307) | def write_rules_names_template(): function main (line 319) | def main(): FILE: cmd/kstone-api/apiserver.go function main (line 31) | func main() { FILE: cmd/kstone-api/app/server.go type APIServerCommand (line 32) | type APIServerCommand struct method Run (line 68) | func (c *APIServerCommand) Run() error { method AddFlags (line 83) | func (c *APIServerCommand) AddFlags(fs *pflag.FlagSet) { function NewAPIServerCommand (line 41) | func NewAPIServerCommand() *cobra.Command { FILE: cmd/kstone-api/config/config.go type Config (line 23) | type Config struct function CreateConfigFromFlags (line 31) | func CreateConfigFromFlags(token, authenticator string, enableProfiling ... FILE: cmd/kstone-controller/etcdcluster-controller/controller.go type EtcdClusterCommand (line 47) | type EtcdClusterCommand struct method Run (line 82) | func (c *EtcdClusterCommand) Run() error { method AddFlags (line 140) | func (c *EtcdClusterCommand) AddFlags(fs *pflag.FlagSet) { method makeLeaderElectionConfig (line 177) | func (c *EtcdClusterCommand) makeLeaderElectionConfig(kubeClient *kube... function NewEtcdClusterControllerCommand (line 58) | func NewEtcdClusterControllerCommand(out io.Writer) *cobra.Command { FILE: cmd/kstone-controller/etcdinspection-controller/controller.go type EtcdInspectionCommand (line 47) | type EtcdInspectionCommand struct method Run (line 82) | func (c *EtcdInspectionCommand) Run() error { method AddFlags (line 139) | func (c *EtcdInspectionCommand) AddFlags(fs *pflag.FlagSet) { method makeLeaderElectionConfig (line 176) | func (c *EtcdInspectionCommand) makeLeaderElectionConfig(kubeClient *k... function NewEtcdInspectionControllerCommand (line 58) | func NewEtcdInspectionControllerCommand(out io.Writer) *cobra.Command { FILE: cmd/kstone-controller/main.go function main (line 35) | func main() { FILE: pkg/apis/kstone/register.go constant GroupName (line 23) | GroupName = "kstone.tkestack.io" FILE: pkg/apis/kstone/v1alpha1/register.go function Kind (line 33) | func Kind(kind string) schema.GroupKind { function Resource (line 38) | func Resource(resource string) schema.GroupResource { function addKnownTypes (line 50) | func addKnownTypes(scheme *runtime.Scheme) error { FILE: pkg/apis/kstone/v1alpha1/types.go type EtcdCluster (line 30) | type EtcdCluster struct type EtcdClusterPhase (line 38) | type EtcdClusterPhase constant EtcdClusterInit (line 41) | EtcdClusterInit EtcdClusterPhase = "Initing" constant EtcdCluterCreating (line 42) | EtcdCluterCreating EtcdClusterPhase = "Creating" constant EtcdClusterRunning (line 43) | EtcdClusterRunning EtcdClusterPhase = "Running" constant EtcdClusterUpdating (line 44) | EtcdClusterUpdating EtcdClusterPhase = "Updating" constant EtcdClusterDeleteing (line 45) | EtcdClusterDeleteing EtcdClusterPhase = "Deleting" constant EtcdClusterDeleted (line 46) | EtcdClusterDeleted EtcdClusterPhase = "Deleted" constant EtcdClusterUnknown (line 47) | EtcdClusterUnknown EtcdClusterPhase = "Unknown" constant EtcdClusterUnhealthy (line 48) | EtcdClusterUnhealthy EtcdClusterPhase = "UnHealthy" type EtcdClusterConditionType (line 51) | type EtcdClusterConditionType constant EtcdClusterConditionCreate (line 54) | EtcdClusterConditionCreate EtcdClusterConditionType = "Create" constant EtcdClusterConditionImport (line 55) | EtcdClusterConditionImport EtcdClusterConditionType = "Import" constant EtcdClusterConditionUpdate (line 56) | EtcdClusterConditionUpdate EtcdClusterConditionType = "Update" constant EtcdClusterConditionDelete (line 57) | EtcdClusterConditionDelete EtcdClusterConditionType = "Delete" type EtcdClusterCondition (line 61) | type EtcdClusterCondition struct type EtcdClusterType (line 80) | type EtcdClusterType constant EtcdClusterKstone (line 83) | EtcdClusterKstone EtcdClusterType = "kstone-etcd-operator" constant EtcdClusterImported (line 84) | EtcdClusterImported EtcdClusterType = "imported" type EtcdClusterSpec (line 88) | type EtcdClusterSpec struct type AuthConfig (line 110) | type AuthConfig struct type KStoneFeature (line 116) | type KStoneFeature constant KStoneFeatureAnno (line 119) | KStoneFeatureAnno = "featureGates" constant KStoneFeatureMonitor (line 120) | KStoneFeatureMonitor KStoneFeature = "monitor" constant KStoneFeatureBackup (line 121) | KStoneFeatureBackup KStoneFeature = "backup" constant KStoneFeatureHealthy (line 122) | KStoneFeatureHealthy KStoneFeature = "healthy" constant KStoneFeatureConsistency (line 123) | KStoneFeatureConsistency KStoneFeature = "consistency" constant KStoneFeatureRequest (line 124) | KStoneFeatureRequest KStoneFeature = "request" constant KStoneFeatureAlarm (line 125) | KStoneFeatureAlarm KStoneFeature = "alarm" constant KStoneFeatureBackupCheck (line 126) | KStoneFeatureBackupCheck KStoneFeature = "backupcheck" type EtcdClusterStatus (line 130) | type EtcdClusterStatus struct type MemberPhase (line 138) | type MemberPhase constant MemberPhaseUnStarted (line 141) | MemberPhaseUnStarted MemberPhase = "UnStarted" constant MemberPhaseUnKnown (line 142) | MemberPhaseUnKnown MemberPhase = "UnKnown" constant MemberPhaseRunning (line 143) | MemberPhaseRunning MemberPhase = "Running" constant MemberPhaseUnHealthy (line 144) | MemberPhaseUnHealthy MemberPhase = "UnHealthy" type EtcdMemberRole (line 147) | type EtcdMemberRole constant EtcdMemberLearner (line 150) | EtcdMemberLearner EtcdMemberRole = "Learner" constant EtcdMemberUnKnown (line 152) | EtcdMemberUnKnown EtcdMemberRole = "UnKnown" constant EtcdMemberFollower (line 153) | EtcdMemberFollower EtcdMemberRole = "Follower" constant EtcdMemberLeader (line 154) | EtcdMemberLeader EtcdMemberRole = "Leader" type MemberStatus (line 157) | type MemberStatus struct type EtcdClusterList (line 173) | type EtcdClusterList struct type EtcdInspection (line 184) | type EtcdInspection struct type EtcdInspectionSpec (line 193) | type EtcdInspectionSpec struct type EtcdInspectionRecord (line 201) | type EtcdInspectionRecord struct type EtcdInspectionStatus (line 217) | type EtcdInspectionStatus struct type EtcdInspectionList (line 227) | type EtcdInspectionList struct FILE: pkg/apis/kstone/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 31) | func (in *AuthConfig) DeepCopyInto(out *AuthConfig) { method DeepCopy (line 42) | func (in *AuthConfig) DeepCopy() *AuthConfig { method DeepCopyInto (line 52) | func (in *EtcdCluster) DeepCopyInto(out *EtcdCluster) { method DeepCopy (line 62) | func (in *EtcdCluster) DeepCopy() *EtcdCluster { method DeepCopyObject (line 72) | func (in *EtcdCluster) DeepCopyObject() runtime.Object { method DeepCopyInto (line 80) | func (in *EtcdClusterCondition) DeepCopyInto(out *EtcdClusterCondition) { method DeepCopy (line 88) | func (in *EtcdClusterCondition) DeepCopy() *EtcdClusterCondition { method DeepCopyInto (line 98) | func (in *EtcdClusterList) DeepCopyInto(out *EtcdClusterList) { method DeepCopy (line 113) | func (in *EtcdClusterList) DeepCopy() *EtcdClusterList { method DeepCopyObject (line 123) | func (in *EtcdClusterList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 131) | func (in *EtcdClusterSpec) DeepCopyInto(out *EtcdClusterSpec) { method DeepCopy (line 151) | func (in *EtcdClusterSpec) DeepCopy() *EtcdClusterSpec { method DeepCopyInto (line 161) | func (in *EtcdClusterStatus) DeepCopyInto(out *EtcdClusterStatus) { method DeepCopy (line 188) | func (in *EtcdClusterStatus) DeepCopy() *EtcdClusterStatus { method DeepCopyInto (line 198) | func (in *EtcdInspection) DeepCopyInto(out *EtcdInspection) { method DeepCopy (line 208) | func (in *EtcdInspection) DeepCopy() *EtcdInspection { method DeepCopyObject (line 218) | func (in *EtcdInspection) DeepCopyObject() runtime.Object { method DeepCopyInto (line 226) | func (in *EtcdInspectionList) DeepCopyInto(out *EtcdInspectionList) { method DeepCopy (line 241) | func (in *EtcdInspectionList) DeepCopy() *EtcdInspectionList { method DeepCopyObject (line 251) | func (in *EtcdInspectionList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 259) | func (in *EtcdInspectionRecord) DeepCopyInto(out *EtcdInspectionRecord) { method DeepCopy (line 267) | func (in *EtcdInspectionRecord) DeepCopy() *EtcdInspectionRecord { method DeepCopyInto (line 277) | func (in *EtcdInspectionSpec) DeepCopyInto(out *EtcdInspectionSpec) { method DeepCopy (line 283) | func (in *EtcdInspectionSpec) DeepCopy() *EtcdInspectionSpec { method DeepCopyInto (line 293) | func (in *EtcdInspectionStatus) DeepCopyInto(out *EtcdInspectionStatus) { method DeepCopy (line 307) | func (in *EtcdInspectionStatus) DeepCopy() *EtcdInspectionStatus { method DeepCopyInto (line 317) | func (in *MemberStatus) DeepCopyInto(out *MemberStatus) { method DeepCopy (line 328) | func (in *MemberStatus) DeepCopy() *MemberStatus { FILE: pkg/apis/kstone/v1alpha1/zz_generated.defaults.go function RegisterDefaults (line 32) | func RegisterDefaults(scheme *runtime.Scheme) error { FILE: pkg/apis/kstone/v1alpha2/register.go function Kind (line 33) | func Kind(kind string) schema.GroupKind { function Resource (line 38) | func Resource(resource string) schema.GroupResource { function addKnownTypes (line 50) | func addKnownTypes(scheme *runtime.Scheme) error { FILE: pkg/apis/kstone/v1alpha2/types.go type EtcdCluster (line 30) | type EtcdCluster struct type EtcdClusterPhase (line 38) | type EtcdClusterPhase constant EtcdClusterInit (line 41) | EtcdClusterInit EtcdClusterPhase = "Initing" constant EtcdCluterCreating (line 42) | EtcdCluterCreating EtcdClusterPhase = "Creating" constant EtcdClusterRunning (line 43) | EtcdClusterRunning EtcdClusterPhase = "Running" constant EtcdClusterUpdating (line 44) | EtcdClusterUpdating EtcdClusterPhase = "Updating" constant EtcdClusterDeleteing (line 45) | EtcdClusterDeleteing EtcdClusterPhase = "Deleting" constant EtcdClusterDeleted (line 46) | EtcdClusterDeleted EtcdClusterPhase = "Deleted" constant EtcdClusterUnknown (line 47) | EtcdClusterUnknown EtcdClusterPhase = "Unknown" constant EtcdClusterUnhealthy (line 48) | EtcdClusterUnhealthy EtcdClusterPhase = "UnHealthy" type EtcdClusterConditionType (line 51) | type EtcdClusterConditionType constant EtcdClusterConditionCreate (line 54) | EtcdClusterConditionCreate EtcdClusterConditionType = "Create" constant EtcdClusterConditionImport (line 55) | EtcdClusterConditionImport EtcdClusterConditionType = "Import" constant EtcdClusterConditionUpdate (line 56) | EtcdClusterConditionUpdate EtcdClusterConditionType = "Update" constant EtcdClusterConditionDelete (line 57) | EtcdClusterConditionDelete EtcdClusterConditionType = "Delete" type EtcdClusterCondition (line 61) | type EtcdClusterCondition struct type EtcdClusterType (line 80) | type EtcdClusterType constant EtcdClusterKstone (line 83) | EtcdClusterKstone EtcdClusterType = "kstone-etcd-operator" constant EtcdClusterImported (line 84) | EtcdClusterImported EtcdClusterType = "imported" type EtcdStorageBackend (line 87) | type EtcdStorageBackend constant EtcdStorageV2 (line 90) | EtcdStorageV2 EtcdStorageBackend = "v2" constant EtcdStorageV3 (line 91) | EtcdStorageV3 EtcdStorageBackend = "v3" type EtcdClusterSpec (line 95) | type EtcdClusterSpec struct type AuthConfig (line 121) | type AuthConfig struct type KStoneFeature (line 127) | type KStoneFeature constant KStoneFeatureAnno (line 130) | KStoneFeatureAnno = "featureGates" constant KStoneFeatureMonitor (line 131) | KStoneFeatureMonitor KStoneFeature = "monitor" constant KStoneFeatureBackup (line 132) | KStoneFeatureBackup KStoneFeature = "backup" constant KStoneFeatureHealthy (line 133) | KStoneFeatureHealthy KStoneFeature = "healthy" constant KStoneFeatureConsistency (line 134) | KStoneFeatureConsistency KStoneFeature = "consistency" constant KStoneFeatureRequest (line 135) | KStoneFeatureRequest KStoneFeature = "request" constant KStoneFeatureAlarm (line 136) | KStoneFeatureAlarm KStoneFeature = "alarm" constant KStoneFeatureBackupCheck (line 137) | KStoneFeatureBackupCheck KStoneFeature = "backupcheck" type EtcdClusterStatus (line 141) | type EtcdClusterStatus struct type MemberPhase (line 149) | type MemberPhase constant MemberPhaseUnStarted (line 152) | MemberPhaseUnStarted MemberPhase = "UnStarted" constant MemberPhaseUnKnown (line 153) | MemberPhaseUnKnown MemberPhase = "UnKnown" constant MemberPhaseRunning (line 154) | MemberPhaseRunning MemberPhase = "Running" constant MemberPhaseUnHealthy (line 155) | MemberPhaseUnHealthy MemberPhase = "UnHealthy" type EtcdMemberRole (line 158) | type EtcdMemberRole constant EtcdMemberLearner (line 161) | EtcdMemberLearner EtcdMemberRole = "Learner" constant EtcdMemberUnKnown (line 163) | EtcdMemberUnKnown EtcdMemberRole = "UnKnown" constant EtcdMemberFollower (line 164) | EtcdMemberFollower EtcdMemberRole = "Follower" constant EtcdMemberLeader (line 165) | EtcdMemberLeader EtcdMemberRole = "Leader" type MemberStatus (line 168) | type MemberStatus struct type EtcdClusterList (line 184) | type EtcdClusterList struct type EtcdInspection (line 195) | type EtcdInspection struct type EtcdInspectionSpec (line 204) | type EtcdInspectionSpec struct type EtcdInspectionRecord (line 212) | type EtcdInspectionRecord struct type EtcdInspectionStatus (line 228) | type EtcdInspectionStatus struct type EtcdInspectionList (line 238) | type EtcdInspectionList struct FILE: pkg/apis/kstone/v1alpha2/zz_generated.deepcopy.go method DeepCopyInto (line 31) | func (in *AuthConfig) DeepCopyInto(out *AuthConfig) { method DeepCopy (line 42) | func (in *AuthConfig) DeepCopy() *AuthConfig { method DeepCopyInto (line 52) | func (in *EtcdCluster) DeepCopyInto(out *EtcdCluster) { method DeepCopy (line 62) | func (in *EtcdCluster) DeepCopy() *EtcdCluster { method DeepCopyObject (line 72) | func (in *EtcdCluster) DeepCopyObject() runtime.Object { method DeepCopyInto (line 80) | func (in *EtcdClusterCondition) DeepCopyInto(out *EtcdClusterCondition) { method DeepCopy (line 88) | func (in *EtcdClusterCondition) DeepCopy() *EtcdClusterCondition { method DeepCopyInto (line 98) | func (in *EtcdClusterList) DeepCopyInto(out *EtcdClusterList) { method DeepCopy (line 113) | func (in *EtcdClusterList) DeepCopy() *EtcdClusterList { method DeepCopyObject (line 123) | func (in *EtcdClusterList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 131) | func (in *EtcdClusterSpec) DeepCopyInto(out *EtcdClusterSpec) { method DeepCopy (line 159) | func (in *EtcdClusterSpec) DeepCopy() *EtcdClusterSpec { method DeepCopyInto (line 169) | func (in *EtcdClusterStatus) DeepCopyInto(out *EtcdClusterStatus) { method DeepCopy (line 196) | func (in *EtcdClusterStatus) DeepCopy() *EtcdClusterStatus { method DeepCopyInto (line 206) | func (in *EtcdInspection) DeepCopyInto(out *EtcdInspection) { method DeepCopy (line 216) | func (in *EtcdInspection) DeepCopy() *EtcdInspection { method DeepCopyObject (line 226) | func (in *EtcdInspection) DeepCopyObject() runtime.Object { method DeepCopyInto (line 234) | func (in *EtcdInspectionList) DeepCopyInto(out *EtcdInspectionList) { method DeepCopy (line 249) | func (in *EtcdInspectionList) DeepCopy() *EtcdInspectionList { method DeepCopyObject (line 259) | func (in *EtcdInspectionList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 267) | func (in *EtcdInspectionRecord) DeepCopyInto(out *EtcdInspectionRecord) { method DeepCopy (line 275) | func (in *EtcdInspectionRecord) DeepCopy() *EtcdInspectionRecord { method DeepCopyInto (line 285) | func (in *EtcdInspectionSpec) DeepCopyInto(out *EtcdInspectionSpec) { method DeepCopy (line 291) | func (in *EtcdInspectionSpec) DeepCopy() *EtcdInspectionSpec { method DeepCopyInto (line 301) | func (in *EtcdInspectionStatus) DeepCopyInto(out *EtcdInspectionStatus) { method DeepCopy (line 315) | func (in *EtcdInspectionStatus) DeepCopy() *EtcdInspectionStatus { method DeepCopyInto (line 325) | func (in *MemberStatus) DeepCopyInto(out *MemberStatus) { method DeepCopy (line 336) | func (in *MemberStatus) DeepCopy() *MemberStatus { FILE: pkg/apis/kstone/v1alpha2/zz_generated.defaults.go function RegisterDefaults (line 32) | func RegisterDefaults(scheme *runtime.Scheme) error { FILE: pkg/authentication/authenticator/authenticator.go constant ProviderName (line 31) | ProviderName = "generic" type Authenticator (line 39) | type Authenticator struct method AuthenticateRequest (line 57) | func (a *Authenticator) AuthenticateRequest(ctx *gin.Context) (*authen... function init (line 41) | func init() { function initAuthenticatorInstance (line 49) | func initAuthenticatorInstance(ctx *authentication.AuthenticatorContext)... FILE: pkg/authentication/authenticator/bearertoken/bearertoken.go constant ProviderName (line 33) | ProviderName = "bearertoken" type Authenticator (line 41) | type Authenticator struct method AuthenticateRequest (line 59) | func (a *Authenticator) AuthenticateRequest(ctx *gin.Context) (*authen... function init (line 43) | func init() { function initAuthenticatorInstance (line 51) | func initAuthenticatorInstance(ctx *authentication.AuthenticatorContext)... FILE: pkg/authentication/helper.go constant JWTTokenKey (line 28) | JWTTokenKey = "kstone-api-jwt" constant SignMethodRS256 (line 30) | SignMethodRS256 = "RS256" constant DataSuccess (line 32) | DataSuccess = "success" constant DataUnauthorized (line 33) | DataUnauthorized = "failed to authenticate user" constant UserUnknown (line 34) | UserUnknown = "unknown" constant DefaultKeyPath (line 36) | DefaultKeyPath = "/app/certs/private.key" constant DefaultKstoneNamespace (line 37) | DefaultKstoneNamespace = "kstone" constant DefaultUsername (line 38) | DefaultUsername = "admin" constant DefaultPassword (line 39) | DefaultPassword = "adm1n@kstone.io" type Response (line 43) | type Response struct function SetAuthConfigMapName (line 52) | func SetAuthConfigMapName(name string) { function SuccessResponse (line 56) | func SuccessResponse(username string, message string) *Response { function SuccessTokenResponse (line 63) | func SuccessTokenResponse(username string, token string) *Response { function SuccessResetPasswordResponse (line 70) | func SuccessResetPasswordResponse(username string, token string) *Respon... function UnauthenticatedResponse (line 78) | func UnauthenticatedResponse() *Response { function InternalServerErrorResponse (line 85) | func InternalServerErrorResponse(username string, message string) *Respo... function GetPrivateKey (line 92) | func GetPrivateKey() (string, error) { function GeneratePasswordHash (line 100) | func GeneratePasswordHash(password string) (string, error) { function IsDefaultUser (line 108) | func IsDefaultUser(username, password string) bool { function CheckPassword (line 112) | func CheckPassword(hashedPassword, password string) error { FILE: pkg/authentication/interfaces.go type Token (line 29) | type Token interface type TokenGenerator (line 34) | type TokenGenerator interface type Request (line 40) | type Request interface type TokenContext (line 44) | type TokenContext struct type AuthenticatorContext (line 50) | type AuthenticatorContext struct FILE: pkg/authentication/plugins.go type TokenFactory (line 34) | type TokenFactory type AuthenticatorFactory (line 35) | type AuthenticatorFactory function RegisterTokenFactory (line 38) | func RegisterTokenFactory(name string, factory TokenFactory) { function RegisterAuthenticatorFactory (line 51) | func RegisterAuthenticatorFactory(name string, factory AuthenticatorFact... function GetTokenProvider (line 64) | func GetTokenProvider(name string, ctx *TokenContext) (Token, error) { function GetAuthenticatorProvider (line 77) | func GetAuthenticatorProvider(name string, ctx *AuthenticatorContext) (R... FILE: pkg/authentication/request/request.go function LoginRequest (line 35) | func LoginRequest(ctx *gin.Context) (*authentication.Response, bool, err... function MiddlewareRequest (line 67) | func MiddlewareRequest(ctx *gin.Context) (*authentication.Response, bool... function UserListRequest (line 76) | func UserListRequest(ctx *gin.Context) (*authentication.Response, error) { function UserUpdateRequest (line 91) | func UserUpdateRequest(ctx *gin.Context) (*authentication.Response, erro... function UserAddRequest (line 109) | func UserAddRequest(ctx *gin.Context) (*authentication.Response, error) { function UserDeleteRequest (line 127) | func UserDeleteRequest(ctx *gin.Context) (*authentication.Response, erro... function getUser (line 140) | func getUser(ctx *gin.Context) (username string, password string, err er... FILE: pkg/authentication/store.go type Store (line 38) | type Store interface type User (line 51) | type User struct type DefaultStore (line 57) | type DefaultStore struct method UserGet (line 70) | func (s *DefaultStore) UserGet(username string) (*User, error) { method UserAdd (line 85) | func (s *DefaultStore) UserAdd(user User) error { method UserDelete (line 101) | func (s *DefaultStore) UserDelete(username string) error { method UserList (line 120) | func (s *DefaultStore) UserList() ([]*User, error) { method UserChangePassword (line 135) | func (s *DefaultStore) UserChangePassword(username, password string) e... function GetDefaultStoreInstance (line 61) | func GetDefaultStoreInstance() *DefaultStore { FILE: pkg/authentication/token/jwt/generator.go type TokenGenerator (line 36) | type TokenGenerator struct method GenerateToken (line 67) | func (t *TokenGenerator) GenerateToken(ctx context.Context, username s... function NewTokenGenerator (line 42) | func NewTokenGenerator(ttl, privateKey, signMethod string) (*TokenGenera... FILE: pkg/authentication/token/jwt/jwt.go constant ProviderName (line 36) | ProviderName = "jwt" type TokenAuthenticator (line 46) | type TokenAuthenticator struct method AuthenticateToken (line 90) | func (a *TokenAuthenticator) AuthenticateToken(ctx context.Context, to... method info (line 109) | func (a *TokenAuthenticator) info(token string) (*authInfo, error) { type authInfo (line 52) | type authInfo struct function init (line 57) | func init() { function initTokenInstance (line 65) | func initTokenInstance(ctx *authentication.TokenContext) (*TokenAuthenti... function GenerateToken (line 138) | func GenerateToken(username, hashedPassword string) (string, error) { FILE: pkg/backup/backup.go type Config (line 47) | type Config struct type Server (line 53) | type Server struct method encodeBackupObj (line 94) | func (bak *Server) encodeBackupObj(obj *unstructured.Unstructured) (*b... method decodeBackupObj (line 107) | func (bak *Server) decodeBackupObj(backup *backupapiv2.EtcdBackup) (*u... method CreateEtcdBackupByYaml (line 125) | func (bak *Server) CreateEtcdBackupByYaml(backup *backupapiv2.EtcdBack... method GetEtcdBackup (line 140) | func (bak *Server) GetEtcdBackup(name, namespace string) (*backupapiv2... method DeleteEtcdBackup (line 149) | func (bak *Server) DeleteEtcdBackup(name, namespace string) error { method UpdateEtcdBackup (line 158) | func (bak *Server) UpdateEtcdBackup(backup *backupapiv2.EtcdBackup) (*... method parseBackupConfig (line 182) | func (bak *Server) parseBackupConfig(cluster *kstonev1alpha2.EtcdClust... method initEtcdBackup (line 227) | func (bak *Server) initEtcdBackup(cluster *kstonev1alpha2.EtcdCluster)... method Equal (line 274) | func (bak *Server) Equal(cluster *kstonev1alpha2.EtcdCluster) bool { method CheckEqualIfDisabled (line 292) | func (bak *Server) CheckEqualIfDisabled(cluster *kstonev1alpha2.EtcdCl... method CheckEqualIfEnabled (line 300) | func (bak *Server) CheckEqualIfEnabled(cluster *kstonev1alpha2.EtcdClu... method CleanBackup (line 317) | func (bak *Server) CleanBackup(cluster *kstonev1alpha2.EtcdCluster) er... method SyncBackup (line 326) | func (bak *Server) SyncBackup(cluster *kstonev1alpha2.EtcdCluster) err... constant AnnoBackupConfig (line 59) | AnnoBackupConfig = "backup" constant BackupGroup (line 60) | BackupGroup = "etcd.database.coreos.com" constant BackupVersion (line 61) | BackupVersion = "v1beta2" constant BackupResource (line 62) | BackupResource = "etcdbackups" constant BackupKind (line 63) | BackupKind = "EtcdBackup" function NewBackupServer (line 80) | func NewBackupServer(clientBuilder util.ClientBuilder) (*Server, error) { FILE: pkg/backup/plugins.go type Factory (line 33) | type Factory function RegisterBackupStorageFactory (line 36) | func RegisterBackupStorageFactory(name string, factory Factory) { function GetBackupStorageProvider (line 49) | func GetBackupStorageProvider(name string, config *StorageConfig) (Stora... FILE: pkg/backup/providers/cos/cos.go constant ProviderName (line 42) | ProviderName = string(v1beta2.BackupStorageTypeCOS) type StorageCOS (line 45) | type StorageCOS struct method List (line 61) | func (c *StorageCOS) List(cluster *v1alpha2.EtcdCluster) (interface{},... method Stat (line 107) | func (c *StorageCOS) Stat(objects interface{}) (int, error) { function init (line 49) | func init() { function NewCOSBackupProvider (line 55) | func NewCOSBackupProvider(config *backup.StorageConfig) backup.Storage { FILE: pkg/backup/providers/s3/clientwrapper.go constant tmpdir (line 17) | tmpdir = "/tmp" type ClientS3Wrapper (line 21) | type ClientS3Wrapper struct method Close (line 51) | func (w *ClientS3Wrapper) Close() { function NewClientFromSecret (line 27) | func NewClientFromSecret(kubecli kubernetes.Interface, namespace, endpoi... function setupAWSConfig (line 56) | func setupAWSConfig(kubecli kubernetes.Interface, ns, secret, endpoint, ... FILE: pkg/backup/providers/s3/s3.go constant ProviderName (line 40) | ProviderName = string(v1beta2.BackupStorageTypeS3) type StorageS3 (line 43) | type StorageS3 struct method List (line 59) | func (c *StorageS3) List(cluster *v1alpha2.EtcdCluster) (interface{}, ... method Stat (line 108) | func (c *StorageS3) Stat(objects interface{}) (int, error) { function init (line 47) | func init() { function NewS3BackupProvider (line 53) | func NewS3BackupProvider(config *backup.StorageConfig) backup.Storage { FILE: pkg/backup/storage.go type Storage (line 10) | type Storage interface type StorageConfig (line 18) | type StorageConfig struct FILE: pkg/backup/util.go function GetBackupConfig (line 11) | func GetBackupConfig(cluster *kstonev1alpha2.EtcdCluster) (*Config, erro... FILE: pkg/clusterprovider/etcdcluster.go type Cluster (line 30) | type Cluster interface type ClusterContext (line 60) | type ClusterContext struct FILE: pkg/clusterprovider/helper.go type EtcdAlarm (line 33) | type EtcdAlarm struct function GetStorageMemberEndpoints (line 39) | func GetStorageMemberEndpoints(cluster *kstonev1alpha2.EtcdCluster) []st... function populateExtensionCientURLMap (line 53) | func populateExtensionCientURLMap(extensionClientURLs string) (map[strin... function GetRuntimeEtcdMembers (line 71) | func GetRuntimeEtcdMembers( function GetEtcdClusterMemberStatus (line 161) | func GetEtcdClusterMemberStatus( function GetEtcdAlarms (line 189) | func GetEtcdAlarms( FILE: pkg/clusterprovider/plugins.go type EtcdFactory (line 30) | type EtcdFactory function RegisterEtcdClusterFactory (line 38) | func RegisterEtcdClusterFactory(name kstonev1alpha2.EtcdClusterType, fac... function GetEtcdClusterProvider (line 51) | func GetEtcdClusterProvider( FILE: pkg/clusterprovider/providers/imported/cluster.go constant AnnoImportedURI (line 31) | AnnoImportedURI = "importedAddr" type EtcdClusterImported (line 40) | type EtcdClusterImported struct method BeforeCreate (line 68) | func (c *EtcdClusterImported) BeforeCreate(cluster *kstonev1alpha2.Etc... method Create (line 72) | func (c *EtcdClusterImported) Create(cluster *kstonev1alpha2.EtcdClust... method AfterCreate (line 76) | func (c *EtcdClusterImported) AfterCreate(cluster *kstonev1alpha2.Etcd... method BeforeUpdate (line 80) | func (c *EtcdClusterImported) BeforeUpdate(cluster *kstonev1alpha2.Etc... method Update (line 84) | func (c *EtcdClusterImported) Update(cluster *kstonev1alpha2.EtcdClust... method AfterUpdate (line 88) | func (c *EtcdClusterImported) AfterUpdate(cluster *kstonev1alpha2.Etcd... method BeforeDelete (line 92) | func (c *EtcdClusterImported) BeforeDelete(cluster *kstonev1alpha2.Etc... method Delete (line 96) | func (c *EtcdClusterImported) Delete(cluster *kstonev1alpha2.EtcdClust... method AfterDelete (line 100) | func (c *EtcdClusterImported) AfterDelete(cluster *kstonev1alpha2.Etcd... method Equal (line 104) | func (c *EtcdClusterImported) Equal(cluster *kstonev1alpha2.EtcdCluste... method Status (line 109) | func (c *EtcdClusterImported) Status(config *etcd.ClientConfig, cluste... function init (line 46) | func init() { function initEtcdClusterImportedInstance (line 55) | func initEtcdClusterImportedInstance(ctx *clusterprovider.ClusterContext... FILE: pkg/clusterprovider/providers/kstone/kstone.go constant providerName (line 46) | providerName = kstonev1alpha2.EtcdClusterKstone constant AnnoImportedURI (line 47) | AnnoImportedURI = "importedAddr" constant defaultEmptyResourceValue (line 48) | defaultEmptyResourceValue = "0" type EtcdClusterKstone (line 57) | type EtcdClusterKstone struct method BeforeCreate (line 85) | func (c *EtcdClusterKstone) BeforeCreate(cluster *kstonev1alpha2.EtcdC... method Create (line 90) | func (c *EtcdClusterKstone) Create(cluster *kstonev1alpha2.EtcdCluster... method AfterCreate (line 123) | func (c *EtcdClusterKstone) AfterCreate(cluster *kstonev1alpha2.EtcdCl... method BeforeUpdate (line 156) | func (c *EtcdClusterKstone) BeforeUpdate(cluster *kstonev1alpha2.EtcdC... method Update (line 161) | func (c *EtcdClusterKstone) Update(cluster *kstonev1alpha2.EtcdCluster... method Equal (line 187) | func (c *EtcdClusterKstone) Equal(cluster *kstonev1alpha2.EtcdCluster)... method AfterUpdate (line 248) | func (c *EtcdClusterKstone) AfterUpdate(cluster *kstonev1alpha2.EtcdCl... method BeforeDelete (line 253) | func (c *EtcdClusterKstone) BeforeDelete(cluster *kstonev1alpha2.EtcdC... method Delete (line 258) | func (c *EtcdClusterKstone) Delete(cluster *kstonev1alpha2.EtcdCluster... method AfterDelete (line 263) | func (c *EtcdClusterKstone) AfterDelete(cluster *kstonev1alpha2.EtcdCl... method Status (line 268) | func (c *EtcdClusterKstone) Status(config *etcd.ClientConfig, cluster ... method updateEtcdSpec (line 312) | func (c *EtcdClusterKstone) updateEtcdSpec(etcd *unstructured.Unstruct... method generateEtcdSpec (line 329) | func (c *EtcdClusterKstone) generateEtcdSpec(cluster *kstonev1alpha2.E... method resourceEqual (line 448) | func (c *EtcdClusterKstone) resourceEqual(cluster *kstonev1alpha2.Etcd... method getOldResource (line 464) | func (c *EtcdClusterKstone) getOldResource(etcd *unstructured.Unstruct... method getDesiredResource (line 472) | func (c *EtcdClusterKstone) getDesiredResource(cluster *kstonev1alpha2... function init (line 63) | func init() { function initEtcdClusterKstoneInstance (line 72) | func initEtcdClusterKstoneInstance(ctx *clusterprovider.ClusterContext) ... FILE: pkg/controllers/etcdcluster/etcdclusters_controller.go type ClusterController (line 60) | type ClusterController struct method Run (line 142) | func (c *ClusterController) Run(threadiness int, stopCh <-chan struct{... method runWorker (line 171) | func (c *ClusterController) runWorker() { method processNextWorkItem (line 178) | func (c *ClusterController) processNextWorkItem() bool { method syncEtcdCluster (line 198) | func (c *ClusterController) syncEtcdCluster(key string) error { method updateEtcdClusterStatus (line 222) | func (c *ClusterController) updateEtcdClusterStatus(cluster *kstonev1a... method enqueueEtcdcluster (line 245) | func (c *ClusterController) enqueueEtcdcluster(obj interface{}) { method handleClusterManagement (line 255) | func (c *ClusterController) handleClusterManagement(cluster *kstonev1a... method enabledFeatureGate (line 294) | func (c *ClusterController) enabledFeatureGate(annotations map[string]... method handleClusterLabels (line 299) | func (c *ClusterController) handleClusterLabels( method handleClusterFeature (line 323) | func (c *ClusterController) handleClusterFeature(cluster *kstonev1alph... method reconcileEtcdCluster (line 366) | func (c *ClusterController) reconcileEtcdCluster(cluster *kstonev1alph... method GetFeatureProvider (line 397) | func (c *ClusterController) GetFeatureProvider(name string) (featurepr... method GetEtcdClusterProvider (line 409) | func (c *ClusterController) GetEtcdClusterProvider(name kstonev1alpha2... method getDesiredAction (line 420) | func (c *ClusterController) getDesiredAction( method generateConditions (line 455) | func (c *ClusterController) generateConditions( method handleClusterCreate (line 481) | func (c *ClusterController) handleClusterCreate( method handleClusterUpdate (line 521) | func (c *ClusterController) handleClusterUpdate( method handleClusterStatus (line 562) | func (c *ClusterController) handleClusterStatus( function NewEtcdclusterController (line 91) | func NewEtcdclusterController( FILE: pkg/controllers/etcdinspection/etcdinspection_controller.go type InspectionController (line 57) | type InspectionController struct method Run (line 152) | func (c *InspectionController) Run(threadiness int, stopCh <-chan stru... method runWorker (line 188) | func (c *InspectionController) runWorker() { method processNextWorkItem (line 195) | func (c *InspectionController) processNextWorkItem() bool { method doClusterInspection (line 212) | func (c *InspectionController) doClusterInspection(key string) error { method enqueueEtcdInspection (line 238) | func (c *InspectionController) enqueueEtcdInspection(obj interface{}) { method GetInspectionFeatureProvider (line 248) | func (c *InspectionController) GetInspectionFeatureProvider(name strin... method doInspectionTask (line 260) | func (c *InspectionController) doInspectionTask(etcdinspection *kstone... function NewInspectionControllerMetric (line 86) | func NewInspectionControllerMetric() http.Handler { function NewEtcdInspectionController (line 99) | func NewEtcdInspectionController( FILE: pkg/controllers/util/util.go constant ComponentEtcdClusterController (line 41) | ComponentEtcdClusterController = "etcdcluster-controller" constant ComponentEtcdInspectionController (line 42) | ComponentEtcdInspectionController = "etcdinspection-controller" type EtcdClusterPhase (line 45) | type EtcdClusterPhase constant EtcdClusterCreating (line 48) | EtcdClusterCreating EtcdClusterPhase = "EtcdClusterCreating" constant EtcdClusterUpdating (line 49) | EtcdClusterUpdating EtcdClusterPhase = "EtcdClusterUpdating" constant EtcdClusterUpdateStatus (line 50) | EtcdClusterUpdateStatus EtcdClusterPhase = "EtcdClusterUpdateStatus" constant ClusterTLSSecretName (line 54) | ClusterTLSSecretName = "certName" constant ClusterExtensionClientURL (line 55) | ClusterExtensionClientURL = "extClientURL" type ClientBuilder (line 58) | type ClientBuilder interface function NewSimpleClientBuilder (line 64) | func NewSimpleClientBuilder(kubeconfig string) ClientBuilder { type simpleClientBuilder (line 71) | type simpleClientBuilder struct method ConfigOrDie (line 75) | func (s simpleClientBuilder) ConfigOrDie() *restclient.Config { method ClientOrDie (line 83) | func (s simpleClientBuilder) ClientOrDie() clientset.Interface { method DynamicClientOrDie (line 92) | func (s simpleClientBuilder) DynamicClientOrDie() dynamic.Interface { function NewFakeClientBuilder (line 101) | func NewFakeClientBuilder() ClientBuilder { type fakeClientBuilder (line 108) | type fakeClientBuilder struct method ConfigOrDie (line 112) | func (f fakeClientBuilder) ConfigOrDie() *restclient.Config { method ClientOrDie (line 117) | func (f fakeClientBuilder) ClientOrDie() clientset.Interface { method DynamicClientOrDie (line 121) | func (f fakeClientBuilder) DynamicClientOrDie() dynamic.Interface { function CheckAction (line 128) | func CheckAction(expected, actual core.Action, t *testing.T) { function ProcessWorkQueue (line 175) | func ProcessWorkQueue( function FilterInformerActions (line 200) | func FilterInformerActions(actions []core.Action, resourceName string) [... function CompareActions (line 214) | func CompareActions(t *testing.T, actions []core.Action, filteredActions... FILE: pkg/etcd/client.go type ClientConfigGetter (line 36) | type ClientConfigGetter interface type ClientConfigSecret (line 40) | type ClientConfigSecret struct method New (line 96) | func (t *ClientConfigSecret) New(path string, sc string) (*ClientConfi... type ClientConfig (line 46) | type ClientConfig struct type SecureConfig (line 65) | type SecureConfig struct function NewClientConfigSecretGetter (line 82) | func NewClientConfigSecretGetter(clientBuilder util.ClientBuilder) *Clie... function NewClientConfigSecretCacheGetter (line 89) | func NewClientConfigSecretCacheGetter(secretLister listerscorev1.SecretL... function SecretCache (line 142) | func SecretCache(t *ClientConfigSecret, namespace, secretName string) (*... function Secret (line 146) | func Secret(t *ClientConfigSecret, namespace, secretName string) (*v1.Se... FILE: pkg/etcd/client/cleint.go type Member (line 26) | type Member struct type VersionClient (line 36) | type VersionClient interface type VersionContext (line 42) | type VersionContext struct FILE: pkg/etcd/client/version.go type Factory (line 29) | type Factory function RegisterEtcdClientFactory (line 37) | func RegisterEtcdClientFactory(name kstonev1alpha2.EtcdStorageBackend, f... function GetEtcdClientProvider (line 50) | func GetEtcdClientProvider( FILE: pkg/etcd/client/versions/v2/client.go type V2 (line 36) | type V2 struct method MemberList (line 41) | func (c *V2) MemberList() ([]client.Member, error) { method Status (line 61) | func (c *V2) Status(endpoint string) (*client.Member, error) { method Close (line 94) | func (c *V2) Close() {} function init (line 96) | func init() { function newClientCfg (line 103) | func newClientCfg(ctx *client.VersionContext) (*clientv2.Config, error) { function initClient (line 146) | func initClient(ctx *client.VersionContext) (client.VersionClient, error) { FILE: pkg/etcd/client/versions/v3/client.go type V3 (line 32) | type V3 struct method MemberList (line 37) | func (c *V3) MemberList() ([]client.Member, error) { method Status (line 56) | func (c *V3) Status(endpoint string) (*client.Member, error) { method Close (line 68) | func (c *V3) Close() { function init (line 72) | func init() { function initClient (line 79) | func initClient(ctx *client.VersionContext) (client.VersionClient, error) { FILE: pkg/etcd/encoding.go constant StorageBinaryMediaType (line 31) | StorageBinaryMediaType = "application/vnd.kubernetes.storagebinary" constant ProtobufMediaType (line 32) | ProtobufMediaType = "application/vnd.kubernetes.protobuf" constant YamlMediaType (line 33) | YamlMediaType = "application/yaml" constant JSONMediaType (line 34) | JSONMediaType = "application/json" constant ProtobufShortname (line 36) | ProtobufShortname = "proto" constant YamlShortname (line 37) | YamlShortname = "yaml" constant JSONShortname (line 38) | JSONShortname = "json" function ConvertToData (line 60) | func ConvertToData(inMediaType string, in []byte) (map[string]string, er... function DetectAndExtract (line 110) | func DetectAndExtract(in []byte) (string, []byte, error) { function tryFindProto (line 125) | func tryFindProto(in []byte) ([]byte, bool) { constant jsonStartChars (line 133) | jsonStartChars = "{[" function tryFindJSON (line 136) | func tryFindJSON(in []byte) (*json.RawMessage, bool) { function DecodeRawToString (line 157) | func DecodeRawToString(in []byte) string { function DecodeUnknown (line 167) | func DecodeUnknown(in []byte) (*runtime.Unknown, error) { function newCodec (line 184) | func newCodec(typeMeta *runtime.TypeMeta, mediaType string) (runtime.Cod... function decodeTypeMeta (line 209) | func decodeTypeMeta(inMediaType string, in []byte) (*runtime.TypeMeta, e... function typeMetaFromJSON (line 223) | func typeMetaFromJSON(in []byte) (*runtime.TypeMeta, error) { function typeMetaFromBinaryStorage (line 233) | func typeMetaFromBinaryStorage(in []byte) (*runtime.TypeMeta, error) { function typeMetaFromYaml (line 242) | func typeMetaFromYaml(in []byte) (*runtime.TypeMeta, error) { function ConvertToJSON (line 252) | func ConvertToJSON(kv *mvccpb.KeyValue) string { FILE: pkg/etcd/health.go type Health (line 34) | type Health interface type HealthCheckMethod (line 52) | type HealthCheckMethod constant HealthCheckHTTP (line 55) | HealthCheckHTTP HealthCheckMethod = "http" constant HealthCheckEtcdctl (line 56) | HealthCheckEtcdctl HealthCheckMethod = "etcdctl" type HealthCheckHTTPClient (line 60) | type HealthCheckHTTPClient struct method Init (line 75) | func (c *HealthCheckHTTPClient) Init(ca, cert, key, endpoint string) e... method etcdHealthCheck (line 111) | func (c *HealthCheckHTTPClient) etcdHealthCheck(data []byte) error { method IsHealthy (line 124) | func (c *HealthCheckHTTPClient) IsHealthy() error { method GetByAPI (line 136) | func (c *HealthCheckHTTPClient) GetByAPI(path string) ([]byte, error) { method Version (line 151) | func (c *HealthCheckHTTPClient) Version() (string, error) { method Stats (line 172) | func (c *HealthCheckHTTPClient) Stats() (*Stats, error) { method Close (line 186) | func (c *HealthCheckHTTPClient) Close() error { function NewEtcdHealthCheckBackend (line 67) | func NewEtcdHealthCheckBackend(method HealthCheckMethod) (Health, error) { type etcdHealth (line 105) | type etcdHealth struct type Version (line 147) | type Version struct type Stats (line 164) | type Stats struct FILE: pkg/etcd/helper.go constant DefaultDialTimeout (line 39) | DefaultDialTimeout = 3 * time.Second constant DefaultCommandTimeOut (line 40) | DefaultCommandTimeOut = 10 * time.Second constant DefaultKeepAliveTime (line 41) | DefaultKeepAliveTime = 10 * time.Second constant DefaultKeepAliveTimeOut (line 42) | DefaultKeepAliveTimeOut = 30 * time.Second constant CliCertFile (line 44) | CliCertFile = "client.pem" constant CliKeyFile (line 45) | CliKeyFile = "client-key.pem" constant CliCAFile (line 46) | CliCAFile = "ca.pem" constant CliUsername (line 47) | CliUsername = "username" constant CliPassword (line 48) | CliPassword = "password" function NewClientv3 (line 52) | func NewClientv3(config *ClientConfig) (*clientv3.Client, error) { function setDefaultConfig (line 69) | func setDefaultConfig(config *ClientConfig) { function newClientv3Config (line 82) | func newClientv3Config(config *ClientConfig) (*clientv3.Config, error) { function MemberList (line 123) | func MemberList(cli *clientv3.Client) (*clientv3.MemberListResponse, err... function Status (line 137) | func Status(endpoint string, cli *clientv3.Client) (*clientv3.StatusResp... function writeFile (line 145) | func writeFile(dir, file string, data []byte) (string, error) { function GetTLSConfigPath (line 150) | func GetTLSConfigPath(clusterName string, certData, keyData, caData []by... function AddMemberWithCmd (line 176) | func AddMemberWithCmd(isLearner bool, endpoints, peerURL, ca, cert, key ... function MemberHealthy (line 208) | func MemberHealthy(endpoint string, cli *ClientConfig) (bool, error) { function NewShortConnectionClientv2 (line 228) | func NewShortConnectionClientv2(config *ClientConfig) (*clientv2.Client,... function newClientv2Config (line 246) | func newClientv2Config(config *ClientConfig) (*clientv2.Config, error) { function getTransport (line 261) | func getTransport(dialTimeout, totalTimeout time.Duration, scfg SecureCo... function AlarmList (line 297) | func AlarmList(cli *clientv3.Client) (*clientv3.AlarmResponse, error) { FILE: pkg/etcd/stats.go constant EtcdV2Backend (line 33) | EtcdV2Backend = "v2" constant EtcdV3Backend (line 34) | EtcdV3Backend = "v3" type Stat (line 37) | type Stat interface type StatV3 (line 52) | type StatV3 struct method Init (line 72) | func (c *StatV3) Init(config *ClientConfig) error { method GetTotalKeyNum (line 81) | func (c *StatV3) GetTotalKeyNum(ctx context.Context, keyPrefix string)... method GetIndex (line 92) | func (c *StatV3) GetIndex(ctx context.Context, endpoint string) (map[f... method Close (line 105) | func (c *StatV3) Close() error { type StatV2 (line 57) | type StatV2 struct method Init (line 109) | func (c *StatV2) Init(config *ClientConfig) error { method GetTotalKeyNum (line 118) | func (c *StatV2) GetTotalKeyNum(ctx context.Context, keyPrefix string)... method GetIndex (line 131) | func (c *StatV2) GetIndex(ctx context.Context, endpoint string) (map[f... method Close (line 146) | func (c *StatV2) Close() error { function NewEtcdStatBackend (line 62) | func NewEtcdStatBackend(storageBackend string) (Stat, error) { FILE: pkg/featureprovider/feature.go type Feature (line 28) | type Feature interface type FeatureContext (line 38) | type FeatureContext struct FILE: pkg/featureprovider/plugins.go type FeatureFactory (line 33) | type FeatureFactory function RegisterFeatureFactory (line 36) | func RegisterFeatureFactory(name string, factory FeatureFactory) { function GetFeatureProvider (line 49) | func GetFeatureProvider(name string, ctx *FeatureContext) (Feature, erro... function ListFeatureProvider (line 62) | func ListFeatureProvider() []string { FILE: pkg/featureprovider/providers/alarm/alarm.go constant ProviderName (line 30) | ProviderName = string(kstonev1alpha2.KStoneFeatureAlarm) type FeatureAlarm (line 38) | type FeatureAlarm struct method Equal (line 65) | func (c *FeatureAlarm) Equal(cluster *kstonev1alpha2.EtcdCluster) bool { method Sync (line 69) | func (c *FeatureAlarm) Sync(cluster *kstonev1alpha2.EtcdCluster) error { method Do (line 73) | func (c *FeatureAlarm) Do(inspection *kstonev1alpha2.EtcdInspection) e... function init (line 44) | func init() { function initFeatureAlarmInstance (line 53) | func initFeatureAlarmInstance(ctx *featureprovider.FeatureContext) (feat... FILE: pkg/featureprovider/providers/backup/backup.go constant ProviderName (line 31) | ProviderName = string(kstonev1alpha2.KStoneFeatureBackup) type FeatureBackup (line 39) | type FeatureBackup struct method Equal (line 66) | func (bak *FeatureBackup) Equal(cluster *kstonev1alpha2.EtcdCluster) b... method Sync (line 76) | func (bak *FeatureBackup) Sync(cluster *kstonev1alpha2.EtcdCluster) er... method Do (line 83) | func (bak *FeatureBackup) Do(inspection *kstonev1alpha2.EtcdInspection... function init (line 45) | func init() { function initFeatureBackupInstance (line 54) | func initFeatureBackupInstance(ctx *featureprovider.FeatureContext) (fea... FILE: pkg/featureprovider/providers/backupcheck/backupcheck.go type FeatureBackupCheck (line 34) | type FeatureBackupCheck struct method Equal (line 65) | func (c *FeatureBackupCheck) Equal(cluster *kstonev1alpha2.EtcdCluster... method Sync (line 69) | func (c *FeatureBackupCheck) Sync(cluster *kstonev1alpha2.EtcdCluster)... method Do (line 73) | func (c *FeatureBackupCheck) Do(inspection *kstonev1alpha2.EtcdInspect... constant ProviderName (line 41) | ProviderName = string(kstonev1alpha2.KStoneFeatureBackupCheck) function init (line 44) | func init() { function initFeatureBackupCheckInstance (line 53) | func initFeatureBackupCheckInstance(ctx *featureprovider.FeatureContext)... FILE: pkg/featureprovider/providers/consistency/consistency.go constant ProviderName (line 30) | ProviderName = string(kstonev1alpha2.KStoneFeatureConsistency) type FeatureConsistency (line 38) | type FeatureConsistency struct method Equal (line 65) | func (c *FeatureConsistency) Equal(cluster *kstonev1alpha2.EtcdCluster... method Sync (line 69) | func (c *FeatureConsistency) Sync(cluster *kstonev1alpha2.EtcdCluster)... method Do (line 73) | func (c *FeatureConsistency) Do(inspection *kstonev1alpha2.EtcdInspect... function init (line 44) | func init() { function initFeatureConsistencyInstance (line 53) | func initFeatureConsistencyInstance(ctx *featureprovider.FeatureContext)... FILE: pkg/featureprovider/providers/healthy/healthy.go type FeatureHealthy (line 34) | type FeatureHealthy struct method Equal (line 65) | func (c *FeatureHealthy) Equal(cluster *kstonev1alpha2.EtcdCluster) bo... method Sync (line 69) | func (c *FeatureHealthy) Sync(cluster *kstonev1alpha2.EtcdCluster) err... method Do (line 73) | func (c *FeatureHealthy) Do(inspection *kstonev1alpha2.EtcdInspection)... constant ProviderName (line 41) | ProviderName = string(kstonev1alpha2.KStoneFeatureHealthy) function init (line 44) | func init() { function initFeatureHealthyInstance (line 53) | func initFeatureHealthyInstance(ctx *featureprovider.FeatureContext) (fe... FILE: pkg/featureprovider/providers/monitor/monitor.go type FeaturePrometheus (line 35) | type FeaturePrometheus struct method Equal (line 66) | func (p *FeaturePrometheus) Equal(cluster *kstonev1alpha2.EtcdCluster)... method Sync (line 76) | func (p *FeaturePrometheus) Sync(cluster *kstonev1alpha2.EtcdCluster) ... method Do (line 83) | func (p *FeaturePrometheus) Do(inspection *kstonev1alpha2.EtcdInspecti... constant ProviderName (line 42) | ProviderName = string(kstonev1alpha2.KStoneFeatureMonitor) function init (line 45) | func init() { function initFeaturePrometheusInstance (line 54) | func initFeaturePrometheusInstance(ctx *featureprovider.FeatureContext) ... FILE: pkg/featureprovider/providers/request/request.go constant ProviderName (line 30) | ProviderName = string(kstonev1alpha2.KStoneFeatureRequest) type FeatureRequest (line 38) | type FeatureRequest struct method Equal (line 65) | func (c *FeatureRequest) Equal(cluster *kstonev1alpha2.EtcdCluster) bo... method Sync (line 69) | func (c *FeatureRequest) Sync(cluster *kstonev1alpha2.EtcdCluster) err... method Do (line 73) | func (c *FeatureRequest) Do(inspection *kstonev1alpha2.EtcdInspection)... function init (line 44) | func init() { function initFeatureRequestInstance (line 53) | func initFeatureRequestInstance(ctx *featureprovider.FeatureContext) (fe... FILE: pkg/featureprovider/util/util.go constant FeatureStatusEnabled (line 30) | FeatureStatusEnabled = "enabled" constant FeatureStatusDisabled (line 31) | FeatureStatusDisabled = "disabled" type ConsistencyType (line 34) | type ConsistencyType constant ConsistencyKeyTotal (line 37) | ConsistencyKeyTotal ConsistencyType = "keyTotal" constant ConsistencyRevision (line 38) | ConsistencyRevision ConsistencyType = "revision" constant ConsistencyIndex (line 39) | ConsistencyIndex ConsistencyType = "index" constant ConsistencyRaftRaftAppliedIndex (line 40) | ConsistencyRaftRaftAppliedIndex ConsistencyType = "raftAppliedIndex" constant ConsistencyRaftIndex (line 41) | ConsistencyRaftIndex ConsistencyType = "raftIndex" constant OneDaySeconds (line 45) | OneDaySeconds = 24 * 60 * 60 function IsFeatureGateEnabled (line 48) | func IsFeatureGateEnabled(annotations map[string]string, name kstonev1al... function IncrFailedInspectionCounter (line 66) | func IncrFailedInspectionCounter(clusterName string, featureName kstonev... FILE: pkg/generated/clientset/versioned/clientset.go type Interface (line 33) | type Interface interface type Clientset (line 41) | type Clientset struct method KstoneV1alpha1 (line 48) | func (c *Clientset) KstoneV1alpha1() kstonev1alpha1.KstoneV1alpha1Inte... method KstoneV1alpha2 (line 53) | func (c *Clientset) KstoneV1alpha2() kstonev1alpha2.KstoneV1alpha2Inte... method Discovery (line 58) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { function NewForConfig (line 68) | func NewForConfig(c *rest.Config) (*Clientset, error) { function NewForConfigOrDie (line 96) | func NewForConfigOrDie(c *rest.Config) *Clientset { function New (line 106) | func New(c rest.Interface) *Clientset { FILE: pkg/generated/clientset/versioned/fake/clientset_generated.go function NewSimpleClientset (line 40) | func NewSimpleClientset(objects ...runtime.Object) *Clientset { type Clientset (line 67) | type Clientset struct method Discovery (line 73) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { method Tracker (line 77) | func (c *Clientset) Tracker() testing.ObjectTracker { method KstoneV1alpha1 (line 84) | func (c *Clientset) KstoneV1alpha1() kstonev1alpha1.KstoneV1alpha1Inte... method KstoneV1alpha2 (line 89) | func (c *Clientset) KstoneV1alpha2() kstonev1alpha2.KstoneV1alpha2Inte... FILE: pkg/generated/clientset/versioned/fake/register.go function init (line 57) | func init() { FILE: pkg/generated/clientset/versioned/scheme/register.go function init (line 57) | func init() { FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/etcdcluster.go type EtcdClustersGetter (line 37) | type EtcdClustersGetter interface type EtcdClusterInterface (line 42) | type EtcdClusterInterface interface type etcdClusters (line 56) | type etcdClusters struct method Get (line 70) | func (c *etcdClusters) Get(ctx context.Context, name string, options v... method List (line 83) | func (c *etcdClusters) List(ctx context.Context, opts v1.ListOptions) ... method Watch (line 100) | func (c *etcdClusters) Watch(ctx context.Context, opts v1.ListOptions)... method Create (line 115) | func (c *etcdClusters) Create(ctx context.Context, etcdCluster *v1alph... method Update (line 128) | func (c *etcdClusters) Update(ctx context.Context, etcdCluster *v1alph... method UpdateStatus (line 143) | func (c *etcdClusters) UpdateStatus(ctx context.Context, etcdCluster *... method Delete (line 158) | func (c *etcdClusters) Delete(ctx context.Context, name string, opts v... method DeleteCollection (line 169) | func (c *etcdClusters) DeleteCollection(ctx context.Context, opts v1.D... method Patch (line 185) | func (c *etcdClusters) Patch(ctx context.Context, name string, pt type... function newEtcdClusters (line 62) | func newEtcdClusters(c *KstoneV1alpha1Client, namespace string) *etcdClu... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/etcdinspection.go type EtcdInspectionsGetter (line 37) | type EtcdInspectionsGetter interface type EtcdInspectionInterface (line 42) | type EtcdInspectionInterface interface type etcdInspections (line 56) | type etcdInspections struct method Get (line 70) | func (c *etcdInspections) Get(ctx context.Context, name string, option... method List (line 83) | func (c *etcdInspections) List(ctx context.Context, opts v1.ListOption... method Watch (line 100) | func (c *etcdInspections) Watch(ctx context.Context, opts v1.ListOptio... method Create (line 115) | func (c *etcdInspections) Create(ctx context.Context, etcdInspection *... method Update (line 128) | func (c *etcdInspections) Update(ctx context.Context, etcdInspection *... method UpdateStatus (line 143) | func (c *etcdInspections) UpdateStatus(ctx context.Context, etcdInspec... method Delete (line 158) | func (c *etcdInspections) Delete(ctx context.Context, name string, opt... method DeleteCollection (line 169) | func (c *etcdInspections) DeleteCollection(ctx context.Context, opts v... method Patch (line 185) | func (c *etcdInspections) Patch(ctx context.Context, name string, pt t... function newEtcdInspections (line 62) | func newEtcdInspections(c *KstoneV1alpha1Client, namespace string) *etcd... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/fake/fake_etcdcluster.go type FakeEtcdClusters (line 36) | type FakeEtcdClusters struct method Get (line 46) | func (c *FakeEtcdClusters) Get(ctx context.Context, name string, optio... method List (line 57) | func (c *FakeEtcdClusters) List(ctx context.Context, opts v1.ListOptio... method Watch (line 79) | func (c *FakeEtcdClusters) Watch(ctx context.Context, opts v1.ListOpti... method Create (line 86) | func (c *FakeEtcdClusters) Create(ctx context.Context, etcdCluster *v1... method Update (line 97) | func (c *FakeEtcdClusters) Update(ctx context.Context, etcdCluster *v1... method UpdateStatus (line 109) | func (c *FakeEtcdClusters) UpdateStatus(ctx context.Context, etcdClust... method Delete (line 120) | func (c *FakeEtcdClusters) Delete(ctx context.Context, name string, op... method DeleteCollection (line 128) | func (c *FakeEtcdClusters) DeleteCollection(ctx context.Context, opts ... method Patch (line 136) | func (c *FakeEtcdClusters) Patch(ctx context.Context, name string, pt ... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/fake/fake_etcdinspection.go type FakeEtcdInspections (line 36) | type FakeEtcdInspections struct method Get (line 46) | func (c *FakeEtcdInspections) Get(ctx context.Context, name string, op... method List (line 57) | func (c *FakeEtcdInspections) List(ctx context.Context, opts v1.ListOp... method Watch (line 79) | func (c *FakeEtcdInspections) Watch(ctx context.Context, opts v1.ListO... method Create (line 86) | func (c *FakeEtcdInspections) Create(ctx context.Context, etcdInspecti... method Update (line 97) | func (c *FakeEtcdInspections) Update(ctx context.Context, etcdInspecti... method UpdateStatus (line 109) | func (c *FakeEtcdInspections) UpdateStatus(ctx context.Context, etcdIn... method Delete (line 120) | func (c *FakeEtcdInspections) Delete(ctx context.Context, name string,... method DeleteCollection (line 128) | func (c *FakeEtcdInspections) DeleteCollection(ctx context.Context, op... method Patch (line 136) | func (c *FakeEtcdInspections) Patch(ctx context.Context, name string, ... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/fake/fake_kstone_client.go type FakeKstoneV1alpha1 (line 29) | type FakeKstoneV1alpha1 struct method EtcdClusters (line 33) | func (c *FakeKstoneV1alpha1) EtcdClusters(namespace string) v1alpha1.E... method EtcdInspections (line 37) | func (c *FakeKstoneV1alpha1) EtcdInspections(namespace string) v1alpha... method RESTClient (line 43) | func (c *FakeKstoneV1alpha1) RESTClient() rest.Interface { FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/generated_expansion.go type EtcdClusterExpansion (line 23) | type EtcdClusterExpansion interface type EtcdInspectionExpansion (line 25) | type EtcdInspectionExpansion interface FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha1/kstone_client.go type KstoneV1alpha1Interface (line 29) | type KstoneV1alpha1Interface interface type KstoneV1alpha1Client (line 36) | type KstoneV1alpha1Client struct method EtcdClusters (line 40) | func (c *KstoneV1alpha1Client) EtcdClusters(namespace string) EtcdClus... method EtcdInspections (line 44) | func (c *KstoneV1alpha1Client) EtcdInspections(namespace string) EtcdI... method RESTClient (line 91) | func (c *KstoneV1alpha1Client) RESTClient() rest.Interface { function NewForConfig (line 49) | func NewForConfig(c *rest.Config) (*KstoneV1alpha1Client, error) { function NewForConfigOrDie (line 63) | func NewForConfigOrDie(c *rest.Config) *KstoneV1alpha1Client { function New (line 72) | func New(c rest.Interface) *KstoneV1alpha1Client { function setConfigDefaults (line 76) | func setConfigDefaults(config *rest.Config) error { FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/etcdcluster.go type EtcdClustersGetter (line 37) | type EtcdClustersGetter interface type EtcdClusterInterface (line 42) | type EtcdClusterInterface interface type etcdClusters (line 56) | type etcdClusters struct method Get (line 70) | func (c *etcdClusters) Get(ctx context.Context, name string, options v... method List (line 83) | func (c *etcdClusters) List(ctx context.Context, opts v1.ListOptions) ... method Watch (line 100) | func (c *etcdClusters) Watch(ctx context.Context, opts v1.ListOptions)... method Create (line 115) | func (c *etcdClusters) Create(ctx context.Context, etcdCluster *v1alph... method Update (line 128) | func (c *etcdClusters) Update(ctx context.Context, etcdCluster *v1alph... method UpdateStatus (line 143) | func (c *etcdClusters) UpdateStatus(ctx context.Context, etcdCluster *... method Delete (line 158) | func (c *etcdClusters) Delete(ctx context.Context, name string, opts v... method DeleteCollection (line 169) | func (c *etcdClusters) DeleteCollection(ctx context.Context, opts v1.D... method Patch (line 185) | func (c *etcdClusters) Patch(ctx context.Context, name string, pt type... function newEtcdClusters (line 62) | func newEtcdClusters(c *KstoneV1alpha2Client, namespace string) *etcdClu... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/etcdinspection.go type EtcdInspectionsGetter (line 37) | type EtcdInspectionsGetter interface type EtcdInspectionInterface (line 42) | type EtcdInspectionInterface interface type etcdInspections (line 56) | type etcdInspections struct method Get (line 70) | func (c *etcdInspections) Get(ctx context.Context, name string, option... method List (line 83) | func (c *etcdInspections) List(ctx context.Context, opts v1.ListOption... method Watch (line 100) | func (c *etcdInspections) Watch(ctx context.Context, opts v1.ListOptio... method Create (line 115) | func (c *etcdInspections) Create(ctx context.Context, etcdInspection *... method Update (line 128) | func (c *etcdInspections) Update(ctx context.Context, etcdInspection *... method UpdateStatus (line 143) | func (c *etcdInspections) UpdateStatus(ctx context.Context, etcdInspec... method Delete (line 158) | func (c *etcdInspections) Delete(ctx context.Context, name string, opt... method DeleteCollection (line 169) | func (c *etcdInspections) DeleteCollection(ctx context.Context, opts v... method Patch (line 185) | func (c *etcdInspections) Patch(ctx context.Context, name string, pt t... function newEtcdInspections (line 62) | func newEtcdInspections(c *KstoneV1alpha2Client, namespace string) *etcd... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/fake/fake_etcdcluster.go type FakeEtcdClusters (line 36) | type FakeEtcdClusters struct method Get (line 46) | func (c *FakeEtcdClusters) Get(ctx context.Context, name string, optio... method List (line 57) | func (c *FakeEtcdClusters) List(ctx context.Context, opts v1.ListOptio... method Watch (line 79) | func (c *FakeEtcdClusters) Watch(ctx context.Context, opts v1.ListOpti... method Create (line 86) | func (c *FakeEtcdClusters) Create(ctx context.Context, etcdCluster *v1... method Update (line 97) | func (c *FakeEtcdClusters) Update(ctx context.Context, etcdCluster *v1... method UpdateStatus (line 109) | func (c *FakeEtcdClusters) UpdateStatus(ctx context.Context, etcdClust... method Delete (line 120) | func (c *FakeEtcdClusters) Delete(ctx context.Context, name string, op... method DeleteCollection (line 128) | func (c *FakeEtcdClusters) DeleteCollection(ctx context.Context, opts ... method Patch (line 136) | func (c *FakeEtcdClusters) Patch(ctx context.Context, name string, pt ... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/fake/fake_etcdinspection.go type FakeEtcdInspections (line 36) | type FakeEtcdInspections struct method Get (line 46) | func (c *FakeEtcdInspections) Get(ctx context.Context, name string, op... method List (line 57) | func (c *FakeEtcdInspections) List(ctx context.Context, opts v1.ListOp... method Watch (line 79) | func (c *FakeEtcdInspections) Watch(ctx context.Context, opts v1.ListO... method Create (line 86) | func (c *FakeEtcdInspections) Create(ctx context.Context, etcdInspecti... method Update (line 97) | func (c *FakeEtcdInspections) Update(ctx context.Context, etcdInspecti... method UpdateStatus (line 109) | func (c *FakeEtcdInspections) UpdateStatus(ctx context.Context, etcdIn... method Delete (line 120) | func (c *FakeEtcdInspections) Delete(ctx context.Context, name string,... method DeleteCollection (line 128) | func (c *FakeEtcdInspections) DeleteCollection(ctx context.Context, op... method Patch (line 136) | func (c *FakeEtcdInspections) Patch(ctx context.Context, name string, ... FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/fake/fake_kstone_client.go type FakeKstoneV1alpha2 (line 29) | type FakeKstoneV1alpha2 struct method EtcdClusters (line 33) | func (c *FakeKstoneV1alpha2) EtcdClusters(namespace string) v1alpha2.E... method EtcdInspections (line 37) | func (c *FakeKstoneV1alpha2) EtcdInspections(namespace string) v1alpha... method RESTClient (line 43) | func (c *FakeKstoneV1alpha2) RESTClient() rest.Interface { FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/generated_expansion.go type EtcdClusterExpansion (line 23) | type EtcdClusterExpansion interface type EtcdInspectionExpansion (line 25) | type EtcdInspectionExpansion interface FILE: pkg/generated/clientset/versioned/typed/kstone/v1alpha2/kstone_client.go type KstoneV1alpha2Interface (line 29) | type KstoneV1alpha2Interface interface type KstoneV1alpha2Client (line 36) | type KstoneV1alpha2Client struct method EtcdClusters (line 40) | func (c *KstoneV1alpha2Client) EtcdClusters(namespace string) EtcdClus... method EtcdInspections (line 44) | func (c *KstoneV1alpha2Client) EtcdInspections(namespace string) EtcdI... method RESTClient (line 91) | func (c *KstoneV1alpha2Client) RESTClient() rest.Interface { function NewForConfig (line 49) | func NewForConfig(c *rest.Config) (*KstoneV1alpha2Client, error) { function NewForConfigOrDie (line 63) | func NewForConfigOrDie(c *rest.Config) *KstoneV1alpha2Client { function New (line 72) | func New(c rest.Interface) *KstoneV1alpha2Client { function setConfigDefaults (line 76) | func setConfigDefaults(config *rest.Config) error { FILE: pkg/generated/informers/externalversions/factory.go type SharedInformerOption (line 38) | type SharedInformerOption type sharedInformerFactory (line 40) | type sharedInformerFactory struct method Start (line 113) | func (f *sharedInformerFactory) Start(stopCh <-chan struct{}) { method WaitForCacheSync (line 126) | func (f *sharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{... method InformerFor (line 149) | func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFun... method Kstone (line 180) | func (f *sharedInformerFactory) Kstone() kstone.Interface { function WithCustomResyncConfig (line 55) | func WithCustomResyncConfig(resyncConfig map[v1.Object]time.Duration) Sh... function WithTweakListOptions (line 65) | func WithTweakListOptions(tweakListOptions internalinterfaces.TweakListO... function WithNamespace (line 73) | func WithNamespace(namespace string) SharedInformerOption { function NewSharedInformerFactory (line 81) | func NewSharedInformerFactory(client versioned.Interface, defaultResync ... function NewFilteredSharedInformerFactory (line 89) | func NewFilteredSharedInformerFactory(client versioned.Interface, defaul... function NewSharedInformerFactoryWithOptions (line 94) | func NewSharedInformerFactoryWithOptions(client versioned.Interface, def... type SharedInformerFactory (line 172) | type SharedInformerFactory interface FILE: pkg/generated/informers/externalversions/generic.go type GenericInformer (line 34) | type GenericInformer interface type genericInformer (line 39) | type genericInformer struct method Informer (line 45) | func (f *genericInformer) Informer() cache.SharedIndexInformer { method Lister (line 50) | func (f *genericInformer) Lister() cache.GenericLister { method ForResource (line 56) | func (f *sharedInformerFactory) ForResource(resource schema.GroupVersion... FILE: pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go type NewInformerFunc (line 33) | type NewInformerFunc type SharedInformerFactory (line 36) | type SharedInformerFactory interface type TweakListOptionsFunc (line 42) | type TweakListOptionsFunc FILE: pkg/generated/informers/externalversions/kstone/interface.go type Interface (line 30) | type Interface interface type group (line 37) | type group struct method V1alpha1 (line 49) | func (g *group) V1alpha1() v1alpha1.Interface { method V1alpha2 (line 54) | func (g *group) V1alpha2() v1alpha2.Interface { function New (line 44) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: pkg/generated/informers/externalversions/kstone/v1alpha1/etcdcluster.go type EtcdClusterInformer (line 39) | type EtcdClusterInformer interface type etcdClusterInformer (line 44) | type etcdClusterInformer struct method defaultInformer (line 82) | func (f *etcdClusterInformer) defaultInformer(client versioned.Interfa... method Informer (line 86) | func (f *etcdClusterInformer) Informer() cache.SharedIndexInformer { method Lister (line 90) | func (f *etcdClusterInformer) Lister() v1alpha1.EtcdClusterLister { function NewEtcdClusterInformer (line 53) | func NewEtcdClusterInformer(client versioned.Interface, namespace string... function NewFilteredEtcdClusterInformer (line 60) | func NewFilteredEtcdClusterInformer(client versioned.Interface, namespac... FILE: pkg/generated/informers/externalversions/kstone/v1alpha1/etcdinspection.go type EtcdInspectionInformer (line 39) | type EtcdInspectionInformer interface type etcdInspectionInformer (line 44) | type etcdInspectionInformer struct method defaultInformer (line 82) | func (f *etcdInspectionInformer) defaultInformer(client versioned.Inte... method Informer (line 86) | func (f *etcdInspectionInformer) Informer() cache.SharedIndexInformer { method Lister (line 90) | func (f *etcdInspectionInformer) Lister() v1alpha1.EtcdInspectionLister { function NewEtcdInspectionInformer (line 53) | func NewEtcdInspectionInformer(client versioned.Interface, namespace str... function NewFilteredEtcdInspectionInformer (line 60) | func NewFilteredEtcdInspectionInformer(client versioned.Interface, names... FILE: pkg/generated/informers/externalversions/kstone/v1alpha1/interface.go type Interface (line 28) | type Interface interface type version (line 35) | type version struct method EtcdClusters (line 47) | func (v *version) EtcdClusters() EtcdClusterInformer { method EtcdInspections (line 52) | func (v *version) EtcdInspections() EtcdInspectionInformer { function New (line 42) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: pkg/generated/informers/externalversions/kstone/v1alpha2/etcdcluster.go type EtcdClusterInformer (line 39) | type EtcdClusterInformer interface type etcdClusterInformer (line 44) | type etcdClusterInformer struct method defaultInformer (line 82) | func (f *etcdClusterInformer) defaultInformer(client versioned.Interfa... method Informer (line 86) | func (f *etcdClusterInformer) Informer() cache.SharedIndexInformer { method Lister (line 90) | func (f *etcdClusterInformer) Lister() v1alpha2.EtcdClusterLister { function NewEtcdClusterInformer (line 53) | func NewEtcdClusterInformer(client versioned.Interface, namespace string... function NewFilteredEtcdClusterInformer (line 60) | func NewFilteredEtcdClusterInformer(client versioned.Interface, namespac... FILE: pkg/generated/informers/externalversions/kstone/v1alpha2/etcdinspection.go type EtcdInspectionInformer (line 39) | type EtcdInspectionInformer interface type etcdInspectionInformer (line 44) | type etcdInspectionInformer struct method defaultInformer (line 82) | func (f *etcdInspectionInformer) defaultInformer(client versioned.Inte... method Informer (line 86) | func (f *etcdInspectionInformer) Informer() cache.SharedIndexInformer { method Lister (line 90) | func (f *etcdInspectionInformer) Lister() v1alpha2.EtcdInspectionLister { function NewEtcdInspectionInformer (line 53) | func NewEtcdInspectionInformer(client versioned.Interface, namespace str... function NewFilteredEtcdInspectionInformer (line 60) | func NewFilteredEtcdInspectionInformer(client versioned.Interface, names... FILE: pkg/generated/informers/externalversions/kstone/v1alpha2/interface.go type Interface (line 28) | type Interface interface type version (line 35) | type version struct method EtcdClusters (line 47) | func (v *version) EtcdClusters() EtcdClusterInformer { method EtcdInspections (line 52) | func (v *version) EtcdInspections() EtcdInspectionInformer { function New (line 42) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: pkg/generated/listers/kstone/v1alpha1/etcdcluster.go type EtcdClusterLister (line 32) | type EtcdClusterLister interface type etcdClusterLister (line 42) | type etcdClusterLister struct method List (line 52) | func (s *etcdClusterLister) List(selector labels.Selector) (ret []*v1a... method EtcdClusters (line 60) | func (s *etcdClusterLister) EtcdClusters(namespace string) EtcdCluster... function NewEtcdClusterLister (line 47) | func NewEtcdClusterLister(indexer cache.Indexer) EtcdClusterLister { type EtcdClusterNamespaceLister (line 66) | type EtcdClusterNamespaceLister interface type etcdClusterNamespaceLister (line 78) | type etcdClusterNamespaceLister struct method List (line 84) | func (s etcdClusterNamespaceLister) List(selector labels.Selector) (re... method Get (line 92) | func (s etcdClusterNamespaceLister) Get(name string) (*v1alpha1.EtcdCl... FILE: pkg/generated/listers/kstone/v1alpha1/etcdinspection.go type EtcdInspectionLister (line 32) | type EtcdInspectionLister interface type etcdInspectionLister (line 42) | type etcdInspectionLister struct method List (line 52) | func (s *etcdInspectionLister) List(selector labels.Selector) (ret []*... method EtcdInspections (line 60) | func (s *etcdInspectionLister) EtcdInspections(namespace string) EtcdI... function NewEtcdInspectionLister (line 47) | func NewEtcdInspectionLister(indexer cache.Indexer) EtcdInspectionLister { type EtcdInspectionNamespaceLister (line 66) | type EtcdInspectionNamespaceLister interface type etcdInspectionNamespaceLister (line 78) | type etcdInspectionNamespaceLister struct method List (line 84) | func (s etcdInspectionNamespaceLister) List(selector labels.Selector) ... method Get (line 92) | func (s etcdInspectionNamespaceLister) Get(name string) (*v1alpha1.Etc... FILE: pkg/generated/listers/kstone/v1alpha1/expansion_generated.go type EtcdClusterListerExpansion (line 25) | type EtcdClusterListerExpansion interface type EtcdClusterNamespaceListerExpansion (line 29) | type EtcdClusterNamespaceListerExpansion interface type EtcdInspectionListerExpansion (line 33) | type EtcdInspectionListerExpansion interface type EtcdInspectionNamespaceListerExpansion (line 37) | type EtcdInspectionNamespaceListerExpansion interface FILE: pkg/generated/listers/kstone/v1alpha2/etcdcluster.go type EtcdClusterLister (line 32) | type EtcdClusterLister interface type etcdClusterLister (line 42) | type etcdClusterLister struct method List (line 52) | func (s *etcdClusterLister) List(selector labels.Selector) (ret []*v1a... method EtcdClusters (line 60) | func (s *etcdClusterLister) EtcdClusters(namespace string) EtcdCluster... function NewEtcdClusterLister (line 47) | func NewEtcdClusterLister(indexer cache.Indexer) EtcdClusterLister { type EtcdClusterNamespaceLister (line 66) | type EtcdClusterNamespaceLister interface type etcdClusterNamespaceLister (line 78) | type etcdClusterNamespaceLister struct method List (line 84) | func (s etcdClusterNamespaceLister) List(selector labels.Selector) (re... method Get (line 92) | func (s etcdClusterNamespaceLister) Get(name string) (*v1alpha2.EtcdCl... FILE: pkg/generated/listers/kstone/v1alpha2/etcdinspection.go type EtcdInspectionLister (line 32) | type EtcdInspectionLister interface type etcdInspectionLister (line 42) | type etcdInspectionLister struct method List (line 52) | func (s *etcdInspectionLister) List(selector labels.Selector) (ret []*... method EtcdInspections (line 60) | func (s *etcdInspectionLister) EtcdInspections(namespace string) EtcdI... function NewEtcdInspectionLister (line 47) | func NewEtcdInspectionLister(indexer cache.Indexer) EtcdInspectionLister { type EtcdInspectionNamespaceLister (line 66) | type EtcdInspectionNamespaceLister interface type etcdInspectionNamespaceLister (line 78) | type etcdInspectionNamespaceLister struct method List (line 84) | func (s etcdInspectionNamespaceLister) List(selector labels.Selector) ... method Get (line 92) | func (s etcdInspectionNamespaceLister) Get(name string) (*v1alpha2.Etc... FILE: pkg/generated/listers/kstone/v1alpha2/expansion_generated.go type EtcdClusterListerExpansion (line 25) | type EtcdClusterListerExpansion interface type EtcdClusterNamespaceListerExpansion (line 29) | type EtcdClusterNamespaceListerExpansion interface type EtcdInspectionListerExpansion (line 33) | type EtcdInspectionListerExpansion interface type EtcdInspectionNamespaceListerExpansion (line 37) | type EtcdInspectionNamespaceListerExpansion interface FILE: pkg/inspection/alarm.go method CollectAlarmList (line 36) | func (c *Server) CollectAlarmList(inspection *kstonev1alpha2.EtcdInspect... function cleanAllAlarmMetrics (line 73) | func cleanAllAlarmMetrics(clusterName, endpoint string) { FILE: pkg/inspection/backupcheck.go method StatBackupFiles (line 38) | func (c *Server) StatBackupFiles(inspection *kstonev1alpha2.EtcdInspecti... FILE: pkg/inspection/consistency.go type ConsistencyInfo (line 36) | type ConsistencyInfo struct method getEtcdConsistentMetadata (line 42) | func (c *Server) getEtcdConsistentMetadata( method CollectClusterConsistentData (line 107) | func (c *Server) CollectClusterConsistentData(inspection *kstonev1alpha2... FILE: pkg/inspection/healthy.go method CollectMemberHealthy (line 32) | func (c *Server) CollectMemberHealthy(inspection *kstonev1alpha2.EtcdIns... FILE: pkg/inspection/inspection.go constant DefaultInspectionInterval (line 44) | DefaultInspectionInterval = 300 * time.Second constant DefaultInspectionPath (line 45) | DefaultInspectionPath = "" type Server (line 48) | type Server struct method GetEtcdCluster (line 78) | func (c *Server) GetEtcdCluster(namespace, name string) (*kstonev1alph... method GetEtcdInspection (line 83) | func (c *Server) GetEtcdInspection(namespace, name string) (*kstonev1a... method DeleteEtcdInspection (line 95) | func (c *Server) DeleteEtcdInspection(namespace, name string) error { method CreateEtcdInspection (line 111) | func (c *Server) CreateEtcdInspection(inspection *kstonev1alpha2.EtcdI... method initInspectionTask (line 126) | func (c *Server) initInspectionTask( method GetEtcdClusterInfo (line 155) | func (c *Server) GetEtcdClusterInfo(namespace, name string) (*kstonev1... method Equal (line 178) | func (c *Server) Equal(cluster *kstonev1alpha2.EtcdCluster, inspection... method Sync (line 188) | func (c *Server) Sync(cluster *kstonev1alpha2.EtcdCluster, inspectionF... method checkEqualIfDisabled (line 196) | func (c *Server) checkEqualIfDisabled(cluster *kstonev1alpha2.EtcdClus... method checkEqualIfEnabled (line 206) | func (c *Server) checkEqualIfEnabled(cluster *kstonev1alpha2.EtcdClust... method cleanInspectionTask (line 215) | func (c *Server) cleanInspectionTask(cluster *kstonev1alpha2.EtcdClust... method syncInspectionTask (line 221) | func (c *Server) syncInspectionTask(cluster *kstonev1alpha2.EtcdCluste... function NewInspectionServer (line 60) | func NewInspectionServer(ctx *featureprovider.FeatureContext) (*Server, ... FILE: pkg/inspection/metrics/metrics.go function init (line 111) | func init() { FILE: pkg/inspection/request.go constant inspectionRequestAnno (line 40) | inspectionRequestAnno = "request" constant eventBuffer (line 41) | eventBuffer = 40960 type RequestInfo (line 44) | type RequestInfo struct method CollectEtcdClusterRequest (line 51) | func (c *Server) CollectEtcdClusterRequest(inspection *kstonev1alpha2.Et... method populateClusterTotalKeyMetrics (line 119) | func (c *Server) populateClusterTotalKeyMetrics(cluster *kstonev1alpha2.... method setEtcdPrefixAndResourceName (line 131) | func (c *Server) setEtcdPrefixAndResourceName(labels map[string]string, ... method setEventCh (line 145) | func (c *Server) setEventCh(ch chan *clientv3.Event, clusterName string) { method getEventCh (line 152) | func (c *Server) getEventCh(clusterName string) chan *clientv3.Event { method Watch (line 163) | func (c *Server) Watch(cluster *kstonev1alpha2.EtcdCluster, client *clie... method watch (line 181) | func (c *Server) watch(cluster *kstonev1alpha2.EtcdCluster, wchan client... method processWatchEvent (line 203) | func (c *Server) processWatchEvent(cluster *kstonev1alpha2.EtcdCluster) { FILE: pkg/k8s/client.go function GetClientConfig (line 36) | func GetClientConfig(kubeconfig string) (*rest.Config, error) { function GenerateInformer (line 54) | func GenerateInformer(config *rest.Config, labelSelector string) ( FILE: pkg/middlewares/auth.go function Auth (line 30) | func Auth() gin.HandlerFunc { FILE: pkg/middlewares/cors.go constant AccessControlExposeHeadersValue (line 28) | AccessControlExposeHeadersValue = "Content-Length, " + function Cors (line 37) | func Cors() gin.HandlerFunc { FILE: pkg/monitor/prometheus.go constant DefaultEtcdV3SecretName (line 48) | DefaultEtcdV3SecretName = "etcd-v3-certs" constant EtcdTLSPrefix (line 49) | EtcdTLSPrefix = "/etc/prometheus/secrets/" constant DefaultEtcdPromNamespace (line 50) | DefaultEtcdPromNamespace = "kstone" type PrometheusMonitor (line 55) | type PrometheusMonitor struct method GetEtcdService (line 75) | func (prom *PrometheusMonitor) GetEtcdService(namespace, name string) ... method CreateEtcdService (line 85) | func (prom *PrometheusMonitor) CreateEtcdService(service *corev1.Servi... method UpdateEtcdService (line 95) | func (prom *PrometheusMonitor) UpdateEtcdService(service *corev1.Servi... method DeleteEtcdService (line 105) | func (prom *PrometheusMonitor) DeleteEtcdService(namespace, name strin... method GetEtcdEndpoint (line 114) | func (prom *PrometheusMonitor) GetEtcdEndpoint(namespace, name string)... method UpdateEtcdEndpoint (line 124) | func (prom *PrometheusMonitor) UpdateEtcdEndpoint(ep *corev1.Endpoints... method CreateEtcdEndpoint (line 134) | func (prom *PrometheusMonitor) CreateEtcdEndpoint(ep *corev1.Endpoints... method GetServiceMonitorTask (line 144) | func (prom *PrometheusMonitor) GetServiceMonitorTask(namespace, name s... method UpdateServiceMonitorSpec (line 154) | func (prom *PrometheusMonitor) UpdateServiceMonitorSpec(task *promapiv... method CreateServiceMonitor (line 167) | func (prom *PrometheusMonitor) CreateServiceMonitor(task *promapiv1.Se... method UpdateServiceMonitor (line 178) | func (prom *PrometheusMonitor) UpdateServiceMonitor(task *promapiv1.Se... method DeleteServiceMonitor (line 189) | func (prom *PrometheusMonitor) DeleteServiceMonitor(namespace, name st... method ServiceMonitorIsEquivalent (line 200) | func (prom *PrometheusMonitor) ServiceMonitorIsEquivalent(old, new *pr... method EndpointIsEquivalent (line 211) | func (prom *PrometheusMonitor) EndpointIsEquivalent(old, new *corev1.E... method ServiceIsEquivalent (line 223) | func (prom *PrometheusMonitor) ServiceIsEquivalent(old, new *corev1.Se... method UnpackEndPointSubsets (line 234) | func (prom *PrometheusMonitor) UnpackEndPointSubsets(endpoint *corev1.... method IsMonitorEnabled (line 248) | func (prom *PrometheusMonitor) IsMonitorEnabled(cluster *kstonev1alpha... method Equal (line 253) | func (prom *PrometheusMonitor) Equal(cluster *kstonev1alpha2.EtcdClust... method initEtcdServiceMonitor (line 286) | func (prom *PrometheusMonitor) initEtcdServiceMonitor(cluster *kstonev... method initEtcdSvc (line 387) | func (prom *PrometheusMonitor) initEtcdSvc(cluster *kstonev1alpha2.Etc... method initEtcdEndpoint (line 442) | func (prom *PrometheusMonitor) initEtcdEndpoint(cluster *kstonev1alpha... method CheckEqualIfDisabled (line 481) | func (prom *PrometheusMonitor) CheckEqualIfDisabled(cluster *kstonev1a... method CheckEqualIfEnabled (line 494) | func (prom *PrometheusMonitor) CheckEqualIfEnabled(cluster *kstonev1al... method CleanPrometheusMonitor (line 523) | func (prom *PrometheusMonitor) CleanPrometheusMonitor(cluster *kstonev... method SyncPrometheusMonitor (line 534) | func (prom *PrometheusMonitor) SyncPrometheusMonitor(cluster *kstonev1... function NewPrometheusMonitor (line 61) | func NewPrometheusMonitor(clientBuilder util.ClientBuilder) (*Prometheus... FILE: pkg/router/router.go constant GroupName (line 62) | GroupName = "kstone.tkestack.io" constant VersionName (line 63) | VersionName = "v1alpha2" constant apiPrefix (line 64) | apiPrefix = "/apis" function SetWorkNamespace (line 68) | func SetWorkNamespace(namespace string) { function NewRouter (line 73) | func NewRouter() *gin.Engine { function ReverseProxy (line 107) | func ReverseProxy() gin.HandlerFunc { function EtcdKeyList (line 166) | func EtcdKeyList(ctx *gin.Context) { function BackupList (line 295) | func BackupList(ctx *gin.Context) { function FeatureList (line 343) | func FeatureList(ctx *gin.Context) { function UserList (line 349) | func UserList(ctx *gin.Context) { function UserUpdate (line 359) | func UserUpdate(ctx *gin.Context) { function UserAdd (line 369) | func UserAdd(ctx *gin.Context) { function UserDelete (line 379) | func UserDelete(ctx *gin.Context) { function Login (line 389) | func Login(ctx *gin.Context) { FILE: pkg/signals/signal.go function SetupSignalHandler (line 31) | func SetupSignalHandler() (stopCh <-chan struct{}) { FILE: test/e2e/e2e_test.go constant TestSuiteSetupTimeOut (line 46) | TestSuiteSetupTimeOut = 300 * time.Second constant TestSuiteTeardownTimeOut (line 48) | TestSuiteTeardownTimeOut = 300 * time.Second constant pollInterval (line 50) | pollInterval = 1 * time.Second constant pollTimeout (line 52) | pollTimeout = 180 * time.Second function TestE2E (line 65) | func TestE2E(t *testing.T) { function CreateTmpTestEtcdCluster (line 125) | func CreateTmpTestEtcdCluster() error { function GetTmpTestEtcdClusterPodIP (line 145) | func GetTmpTestEtcdClusterPodIP() (string, error) { function DeleteTmpTestEtcdCluster (line 163) | func DeleteTmpTestEtcdCluster() error { FILE: test/e2e/etcdcluster_test.go function getGinkgoFunc (line 45) | func getGinkgoFunc(clusterName, podName string) func() { function createEtcdCluster (line 173) | func createEtcdCluster(name string, replicas uint, clusterType kstonev1a... function deleteEtcdCluster (line 179) | func deleteEtcdCluster(name string) error { function cleanAllEtcdCluster (line 184) | func cleanAllEtcdCluster() error { function getEtcdPodIP (line 196) | func getEtcdPodIP() (string, error) { function waitClusterStatusToRunning (line 208) | func waitClusterStatusToRunning(clusterName string) error { function EnsureBackupDisabled (line 224) | func EnsureBackupDisabled(clusterName string) error { function CheckBackupEnabled (line 238) | func CheckBackupEnabled(clusterName string) error { function CheckBackupDisabled (line 251) | func CheckBackupDisabled(clusterName string) error { function EnsureServiceMonitorDisabled (line 264) | func EnsureServiceMonitorDisabled(clusterName string) error { function CheckServiceMonitorEnabled (line 278) | func CheckServiceMonitorEnabled(clusterName string) error { function CheckServiceMonitorDisabled (line 291) | func CheckServiceMonitorDisabled(clusterName string) error { function EnsureInspectionDisabled (line 304) | func EnsureInspectionDisabled(clusterName string, feature kstonev1alpha2... function CheckInspectionEnabled (line 318) | func CheckInspectionEnabled(clusterName string, feature kstonev1alpha2.K... function CheckInspectionDisabled (line 331) | func CheckInspectionDisabled(clusterName string, feature kstonev1alpha2.... function DisableFeature (line 344) | func DisableFeature(clusterName string, feature kstonev1alpha2.KStoneFea... function UpdateAnnotationFeature (line 366) | func UpdateAnnotationFeature(annotations map[string]string, name kstonev... function PrintTraceInfo (line 381) | func PrintTraceInfo(clusterName, podName string) { FILE: test/fixtures/fixtures.go constant DefaultFeatureGate (line 36) | DefaultFeatureGate = "monitor=true,consistency=tr... constant DefaultTestClusterAddr (line 37) | DefaultTestClusterAddr = "etcd-test-headless.default.... constant DefaultTestClusterStatefulsetYaml (line 38) | DefaultTestClusterStatefulsetYaml = "etcd_statefulset.yaml" constant DefaultTestClusterSvcYaml (line 39) | DefaultTestClusterSvcYaml = "etcd_service.yaml" constant DefaultKstoneNamespace (line 40) | DefaultKstoneNamespace = "kstone" constant DefaultImportedClusterName (line 41) | DefaultImportedClusterName = "kstone-test" constant DefaultImportedPodName (line 42) | DefaultImportedPodName = "etcd-test-0" constant DefaultNamespace (line 43) | DefaultNamespace = "default" constant DefaultHTTPKstoneEtcdOperatorClusterName (line 44) | DefaultHTTPKstoneEtcdOperatorClusterName = "kstone-etcd-operator-http-t... constant DefaultHTTPKstoneEtcdOperatorPodName (line 45) | DefaultHTTPKstoneEtcdOperatorPodName = "kstone-etcd-operator-http-t... constant DefaultHTTPSKstoneEtcdOperatorClusterName (line 46) | DefaultHTTPSKstoneEtcdOperatorClusterName = "kstone-etcd-operator-https-... constant DefaultHTTPSKstoneEtcdOperatorPodName (line 47) | DefaultHTTPSKstoneEtcdOperatorPodName = "kstone-etcd-operator-https-... function NewEtcdCluster (line 50) | func NewEtcdCluster( function NewEtcdInspection (line 100) | func NewEtcdInspection(name string, inspectionType kstonev1alpha2.KStone... function SvcFromManifest (line 115) | func SvcFromManifest(fileName string) (*v1.Service, error) { function StatefulSetFromManifest (line 133) | func StatefulSetFromManifest(fileName, ns string) (*appsv1.StatefulSet, ... FILE: test/testfiles/testfiles.go function AddFileSource (line 43) | func AddFileSource(filesource FileSource) { type FileSource (line 50) | type FileSource interface function ReadOrDie (line 71) | func ReadOrDie(filePath string) []byte { function Read (line 81) | func Read(filePath string) ([]byte, error) { function Exists (line 107) | func Exists(filePath string) bool { type RootFileSource (line 121) | type RootFileSource struct method ReadTestFile (line 129) | func (r RootFileSource) ReadTestFile(filePath string) ([]byte, error) { method DescribeFiles (line 146) | func (r RootFileSource) DescribeFiles() string { type BindataFileSource (line 163) | type BindataFileSource struct method ReadTestFile (line 169) | func (b BindataFileSource) ReadTestFile(filePath string) ([]byte, erro... method DescribeFiles (line 182) | func (b BindataFileSource) DescribeFiles() string { FILE: third_party/etcd-operator/cmd/backup-operator/main.go function init (line 54) | func init() { function main (line 59) | func main() { function createRecorder (line 121) | func createRecorder(kubecli kubernetes.Interface, name, namespace string... function run (line 128) | func run(ctx context.Context) { FILE: third_party/etcd-operator/cmd/operator/main.go function init (line 64) | func init() { function main (line 75) | func main() { function run (line 140) | func run(ctx context.Context) { function newControllerConfig (line 152) | func newControllerConfig() controller.Config { function getMyPodServiceAccount (line 173) | func getMyPodServiceAccount(kubecli kubernetes.Interface) (string, error) { function startChaos (line 187) | func startChaos(ctx context.Context, kubecli kubernetes.Interface, ns st... function createRecorder (line 224) | func createRecorder(kubecli kubernetes.Interface, name, namespace string... FILE: third_party/etcd-operator/cmd/restore-operator/main.go constant serviceNameForMyself (line 46) | serviceNameForMyself = "etcd-restore-operator" constant servicePortForMyself (line 47) | servicePortForMyself = 19999 function init (line 50) | func init() { function main (line 55) | func main() { function createRecorder (line 112) | func createRecorder(kubecli kubernetes.Interface, name, namespace string... function run (line 119) | func run(ctx context.Context) { FILE: third_party/etcd-operator/cmd/restore-operator/service.go function createServiceForMyself (line 29) | func createServiceForMyself(kubecli kubernetes.Interface, name, namespac... FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/backup_types.go constant BackupStorageTypeS3 (line 23) | BackupStorageTypeS3 BackupStorageType = "S3" constant AWSSecretCredentialsFileName (line 24) | AWSSecretCredentialsFileName = "credentials" constant AWSSecretConfigFileName (line 25) | AWSSecretConfigFileName = "config" constant BackupStorageTypeABS (line 28) | BackupStorageTypeABS BackupStorageType = "ABS" constant AzureSecretStorageAccount (line 29) | AzureSecretStorageAccount = "storage-account" constant AzureSecretStorageKey (line 30) | AzureSecretStorageKey = "storage-key" constant AzureCloudKey (line 31) | AzureCloudKey = "cloud" constant BackupStorageTypeGCS (line 34) | BackupStorageTypeGCS BackupStorageType = "GCS" constant GCPAccessToken (line 35) | GCPAccessToken = "access-token" constant GCPCredentialsJson (line 36) | GCPCredentialsJson = "credentials.json" constant BackupStorageTypeCOS (line 39) | BackupStorageTypeCOS BackupStorageType = "COS" constant COSSecretKey (line 40) | COSSecretKey = "secret-key" constant COSSecretId (line 41) | COSSecretId = "secret-id" constant BackupStorageTypeOSS (line 44) | BackupStorageTypeOSS BackupStorageType = "OSS" constant AlibabaCloudSecretCredentialsAccessKeyID (line 45) | AlibabaCloudSecretCredentialsAccessKeyID = "access... constant AlibabaCloudSecretCredentialsAccessKeySecret (line 46) | AlibabaCloudSecretCredentialsAccessKeySecret = "access... constant BackupStorageTypeHostPath (line 49) | BackupStorageTypeHostPath BackupStorageType = "HostPath" type BackupStorageType (line 52) | type BackupStorageType type EtcdBackupList (line 57) | type EtcdBackupList struct type EtcdBackup (line 67) | type EtcdBackup struct type BackupSpec (line 75) | type BackupSpec struct type BackupSource (line 106) | type BackupSource struct type BackupPolicy (line 122) | type BackupPolicy struct type BackupStatus (line 134) | type BackupStatus struct type S3BackupSource (line 148) | type S3BackupSource struct type ABSBackupSource (line 173) | type ABSBackupSource struct type GCSBackupSource (line 184) | type GCSBackupSource struct type COSBackupSource (line 200) | type COSBackupSource struct type OSSBackupSource (line 211) | type OSSBackupSource struct type HostPathBackupSource (line 246) | type HostPathBackupSource struct FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/cluster.go constant defaultRepository (line 26) | defaultRepository = "quay.io/coreos/etcd" constant DefaultEtcdVersion (line 27) | DefaultEtcdVersion = "3.2.13" type EtcdClusterList (line 38) | type EtcdClusterList struct type EtcdCluster (line 49) | type EtcdCluster struct method AsOwner (line 56) | func (c *EtcdCluster) AsOwner() metav1.OwnerReference { method SetDefaults (line 187) | func (e *EtcdCluster) SetDefaults() { type ClusterSpec (line 67) | type ClusterSpec struct method Validate (line 168) | func (c *ClusterSpec) Validate() error { type PodPolicy (line 105) | type PodPolicy struct FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/cluster_tls.go type TLSPolicy (line 20) | type TLSPolicy struct method Validate (line 43) | func (tp *TLSPolicy) Validate() error { method IsSecureClient (line 59) | func (tp *TLSPolicy) IsSecureClient() bool { method IsSecurePeer (line 66) | func (tp *TLSPolicy) IsSecurePeer() bool { type StaticTLS (line 26) | type StaticTLS struct type MemberSecret (line 34) | type MemberSecret struct FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/register.go constant EtcdClusterResourceKind (line 24) | EtcdClusterResourceKind = "EtcdCluster" constant EtcdClusterResourcePlural (line 25) | EtcdClusterResourcePlural = "etcdclusters" constant groupName (line 26) | groupName = "etcd.database.coreos.com" constant EtcdBackupResourceKind (line 28) | EtcdBackupResourceKind = "EtcdBackup" constant EtcdBackupResourcePlural (line 29) | EtcdBackupResourcePlural = "etcdbackups" constant EtcdRestoreResourceKind (line 31) | EtcdRestoreResourceKind = "EtcdRestore" constant EtcdRestoreResourcePlural (line 32) | EtcdRestoreResourcePlural = "etcdrestores" function Resource (line 46) | func Resource(resource string) schema.GroupResource { function addKnownTypes (line 51) | func addKnownTypes(s *runtime.Scheme) error { FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/restore_types.go type EtcdRestoreList (line 22) | type EtcdRestoreList struct type EtcdRestore (line 33) | type EtcdRestore struct type RestoreSpec (line 41) | type RestoreSpec struct type EtcdClusterRef (line 57) | type EtcdClusterRef struct type RestoreSource (line 63) | type RestoreSource struct type S3RestoreSource (line 83) | type S3RestoreSource struct type ABSRestoreSource (line 107) | type ABSRestoreSource struct type GCSRestoreSource (line 117) | type GCSRestoreSource struct type COSRestoreSource (line 132) | type COSRestoreSource struct type OSSRestoreSource (line 141) | type OSSRestoreSource struct type HostPathRestoreSource (line 175) | type HostPathRestoreSource struct type RestoreStatus (line 183) | type RestoreStatus struct FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/status.go type ClusterPhase (line 24) | type ClusterPhase type ClusterConditionType (line 25) | type ClusterConditionType constant ClusterPhaseNone (line 28) | ClusterPhaseNone ClusterPhase = "" constant ClusterPhaseCreating (line 29) | ClusterPhaseCreating = "Creating" constant ClusterPhaseRunning (line 30) | ClusterPhaseRunning = "Running" constant ClusterPhaseFailed (line 31) | ClusterPhaseFailed = "Failed" constant ClusterConditionAvailable (line 34) | ClusterConditionAvailable ClusterConditionType = "Available" constant ClusterConditionRecovering (line 35) | ClusterConditionRecovering = "Recovering" constant ClusterConditionScaling (line 36) | ClusterConditionScaling = "Scaling" constant ClusterConditionUpgrading (line 37) | ClusterConditionUpgrading = "Upgrading" type ClusterStatus (line 40) | type ClusterStatus struct method IsFailed (line 98) | func (cs *ClusterStatus) IsFailed() bool { method SetPhase (line 105) | func (cs *ClusterStatus) SetPhase(p ClusterPhase) { method PauseControl (line 109) | func (cs *ClusterStatus) PauseControl() { method Control (line 113) | func (cs *ClusterStatus) Control() { method UpgradeVersionTo (line 117) | func (cs *ClusterStatus) UpgradeVersionTo(v string) { method SetVersion (line 121) | func (cs *ClusterStatus) SetVersion(v string) { method SetReason (line 126) | func (cs *ClusterStatus) SetReason(r string) { method SetScalingUpCondition (line 130) | func (cs *ClusterStatus) SetScalingUpCondition(from, to int) { method SetScalingDownCondition (line 135) | func (cs *ClusterStatus) SetScalingDownCondition(from, to int) { method SetRecoveringCondition (line 140) | func (cs *ClusterStatus) SetRecoveringCondition() { method SetUpgradingCondition (line 148) | func (cs *ClusterStatus) SetUpgradingCondition(to string) { method SetReadyCondition (line 155) | func (cs *ClusterStatus) SetReadyCondition() { method ClearCondition (line 160) | func (cs *ClusterStatus) ClearCondition(t ClusterConditionType) { method setClusterCondition (line 168) | func (cs *ClusterStatus) setClusterCondition(c ClusterCondition) { type ClusterCondition (line 75) | type ClusterCondition struct type MembersStatus (line 90) | type MembersStatus struct function getClusterCondition (line 182) | func getClusterCondition(status *ClusterStatus, t ClusterConditionType) ... function newClusterCondition (line 191) | func newClusterCondition(condType ClusterConditionType, status v1.Condit... function scalingMsg (line 203) | func scalingMsg(from, to int) string { FILE: third_party/etcd-operator/pkg/apis/etcd/v1beta2/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *ABSBackupSource) DeepCopyInto(out *ABSBackupSource) { method DeepCopy (line 35) | func (in *ABSBackupSource) DeepCopy() *ABSBackupSource { method DeepCopyInto (line 45) | func (in *ABSRestoreSource) DeepCopyInto(out *ABSRestoreSource) { method DeepCopy (line 51) | func (in *ABSRestoreSource) DeepCopy() *ABSRestoreSource { method DeepCopyInto (line 61) | func (in *BackupPolicy) DeepCopyInto(out *BackupPolicy) { method DeepCopy (line 67) | func (in *BackupPolicy) DeepCopy() *BackupPolicy { method DeepCopyInto (line 77) | func (in *BackupSource) DeepCopyInto(out *BackupSource) { method DeepCopy (line 108) | func (in *BackupSource) DeepCopy() *BackupSource { method DeepCopyInto (line 118) | func (in *BackupSpec) DeepCopyInto(out *BackupSpec) { method DeepCopy (line 135) | func (in *BackupSpec) DeepCopy() *BackupSpec { method DeepCopyInto (line 145) | func (in *BackupStatus) DeepCopyInto(out *BackupStatus) { method DeepCopy (line 152) | func (in *BackupStatus) DeepCopy() *BackupStatus { method DeepCopyInto (line 162) | func (in *COSBackupSource) DeepCopyInto(out *COSBackupSource) { method DeepCopy (line 168) | func (in *COSBackupSource) DeepCopy() *COSBackupSource { method DeepCopyInto (line 178) | func (in *COSRestoreSource) DeepCopyInto(out *COSRestoreSource) { method DeepCopy (line 184) | func (in *COSRestoreSource) DeepCopy() *COSRestoreSource { method DeepCopyInto (line 194) | func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) { method DeepCopy (line 200) | func (in *ClusterCondition) DeepCopy() *ClusterCondition { method DeepCopyInto (line 210) | func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { method DeepCopy (line 226) | func (in *ClusterSpec) DeepCopy() *ClusterSpec { method DeepCopyInto (line 236) | func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { method DeepCopy (line 248) | func (in *ClusterStatus) DeepCopy() *ClusterStatus { method DeepCopyInto (line 258) | func (in *EtcdBackup) DeepCopyInto(out *EtcdBackup) { method DeepCopy (line 268) | func (in *EtcdBackup) DeepCopy() *EtcdBackup { method DeepCopyObject (line 278) | func (in *EtcdBackup) DeepCopyObject() runtime.Object { method DeepCopyInto (line 286) | func (in *EtcdBackupList) DeepCopyInto(out *EtcdBackupList) { method DeepCopy (line 301) | func (in *EtcdBackupList) DeepCopy() *EtcdBackupList { method DeepCopyObject (line 311) | func (in *EtcdBackupList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 319) | func (in *EtcdCluster) DeepCopyInto(out *EtcdCluster) { method DeepCopy (line 329) | func (in *EtcdCluster) DeepCopy() *EtcdCluster { method DeepCopyObject (line 339) | func (in *EtcdCluster) DeepCopyObject() runtime.Object { method DeepCopyInto (line 347) | func (in *EtcdClusterList) DeepCopyInto(out *EtcdClusterList) { method DeepCopy (line 362) | func (in *EtcdClusterList) DeepCopy() *EtcdClusterList { method DeepCopyObject (line 372) | func (in *EtcdClusterList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 380) | func (in *EtcdClusterRef) DeepCopyInto(out *EtcdClusterRef) { method DeepCopy (line 386) | func (in *EtcdClusterRef) DeepCopy() *EtcdClusterRef { method DeepCopyInto (line 396) | func (in *EtcdRestore) DeepCopyInto(out *EtcdRestore) { method DeepCopy (line 406) | func (in *EtcdRestore) DeepCopy() *EtcdRestore { method DeepCopyObject (line 416) | func (in *EtcdRestore) DeepCopyObject() runtime.Object { method DeepCopyInto (line 424) | func (in *EtcdRestoreList) DeepCopyInto(out *EtcdRestoreList) { method DeepCopy (line 439) | func (in *EtcdRestoreList) DeepCopy() *EtcdRestoreList { method DeepCopyObject (line 449) | func (in *EtcdRestoreList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 457) | func (in *GCSBackupSource) DeepCopyInto(out *GCSBackupSource) { method DeepCopy (line 463) | func (in *GCSBackupSource) DeepCopy() *GCSBackupSource { method DeepCopyInto (line 473) | func (in *GCSRestoreSource) DeepCopyInto(out *GCSRestoreSource) { method DeepCopy (line 479) | func (in *GCSRestoreSource) DeepCopy() *GCSRestoreSource { method DeepCopyInto (line 489) | func (in *MemberSecret) DeepCopyInto(out *MemberSecret) { method DeepCopy (line 495) | func (in *MemberSecret) DeepCopy() *MemberSecret { method DeepCopyInto (line 505) | func (in *MembersStatus) DeepCopyInto(out *MembersStatus) { method DeepCopy (line 521) | func (in *MembersStatus) DeepCopy() *MembersStatus { method DeepCopyInto (line 531) | func (in *OSSBackupSource) DeepCopyInto(out *OSSBackupSource) { method DeepCopy (line 537) | func (in *OSSBackupSource) DeepCopy() *OSSBackupSource { method DeepCopyInto (line 547) | func (in *OSSRestoreSource) DeepCopyInto(out *OSSRestoreSource) { method DeepCopy (line 553) | func (in *OSSRestoreSource) DeepCopy() *OSSRestoreSource { method DeepCopyInto (line 563) | func (in *PodPolicy) DeepCopyInto(out *PodPolicy) { method DeepCopy (line 620) | func (in *PodPolicy) DeepCopy() *PodPolicy { method DeepCopyInto (line 630) | func (in *RestoreSource) DeepCopyInto(out *RestoreSource) { method DeepCopy (line 661) | func (in *RestoreSource) DeepCopy() *RestoreSource { method DeepCopyInto (line 671) | func (in *RestoreSpec) DeepCopyInto(out *RestoreSpec) { method DeepCopy (line 679) | func (in *RestoreSpec) DeepCopy() *RestoreSpec { method DeepCopyInto (line 689) | func (in *RestoreStatus) DeepCopyInto(out *RestoreStatus) { method DeepCopy (line 695) | func (in *RestoreStatus) DeepCopy() *RestoreStatus { method DeepCopyInto (line 705) | func (in *S3BackupSource) DeepCopyInto(out *S3BackupSource) { method DeepCopy (line 711) | func (in *S3BackupSource) DeepCopy() *S3BackupSource { method DeepCopyInto (line 721) | func (in *S3RestoreSource) DeepCopyInto(out *S3RestoreSource) { method DeepCopy (line 727) | func (in *S3RestoreSource) DeepCopy() *S3RestoreSource { method DeepCopyInto (line 737) | func (in *StaticTLS) DeepCopyInto(out *StaticTLS) { method DeepCopy (line 748) | func (in *StaticTLS) DeepCopy() *StaticTLS { method DeepCopyInto (line 758) | func (in *TLSPolicy) DeepCopyInto(out *TLSPolicy) { method DeepCopy (line 769) | func (in *TLSPolicy) DeepCopy() *TLSPolicy { FILE: third_party/etcd-operator/pkg/backup/backup_manager.go type BackupManager (line 34) | type BackupManager struct method SaveSnap (line 61) | func (bm *BackupManager) SaveSnap(ctx context.Context, s3Path string, ... method EnsureMaxBackup (line 91) | func (bm *BackupManager) EnsureMaxBackup(ctx context.Context, basePath... method etcdClientWithMaxRevision (line 111) | func (bm *BackupManager) etcdClientWithMaxRevision(ctx context.Context... function NewBackupManagerFromWriter (line 47) | func NewBackupManagerFromWriter(kubecli kubernetes.Interface, bw writer.... function getClientWithMaxRev (line 119) | func getClientWithMaxRev(ctx context.Context, endpoints []string, tc *tl... FILE: third_party/etcd-operator/pkg/backup/backupapi/http.go constant APIV1 (line 23) | APIV1 = "/v1" function BackupURLForRestore (line 27) | func BackupURLForRestore(scheme, host, restoreName string) *url.URL { FILE: third_party/etcd-operator/pkg/backup/reader/abs_reader.go type absReader (line 30) | type absReader struct method Open (line 40) | func (absr *absReader) Open(path string) (io.ReadCloser, error) { function NewABSReader (line 35) | func NewABSReader(abs *storage.BlobStorageClient) Reader { FILE: third_party/etcd-operator/pkg/backup/reader/cos_reader.go type cosReader (line 29) | type cosReader struct method Open (line 39) | func (cosr *cosReader) Open(path string) (io.ReadCloser, error) { function NewCOSReader (line 34) | func NewCOSReader(cos *cos.Client) Reader { FILE: third_party/etcd-operator/pkg/backup/reader/gcs_reader.go type gcsReader (line 31) | type gcsReader struct method Open (line 42) | func (gcsr *gcsReader) Open(path string) (io.ReadCloser, error) { function NewGCSReader (line 37) | func NewGCSReader(ctx context.Context, gcs *storage.Client) Reader { FILE: third_party/etcd-operator/pkg/backup/reader/hostPath_reader.go type hostPathReader (line 28) | type hostPathReader struct method Open (line 38) | func (hostPathr *hostPathReader) Open(path string) (io.ReadCloser, err... function NewHostPathReader (line 33) | func NewHostPathReader(path string) Reader { FILE: third_party/etcd-operator/pkg/backup/reader/oss_reader.go type ossReader (line 30) | type ossReader struct method Open (line 40) | func (ossr *ossReader) Open(path string) (io.ReadCloser, error) { function NewOSSReader (line 35) | func NewOSSReader(client *oss.Client) Reader { FILE: third_party/etcd-operator/pkg/backup/reader/reader.go type Reader (line 20) | type Reader interface FILE: third_party/etcd-operator/pkg/backup/reader/s3_reader.go type s3Reader (line 31) | type s3Reader struct method Open (line 40) | func (s3r *s3Reader) Open(path string) (io.ReadCloser, error) { function NewS3Reader (line 35) | func NewS3Reader(s3 *s3.S3) Reader { FILE: third_party/etcd-operator/pkg/backup/util/constants.go constant BackupFilenameSuffix (line 18) | BackupFilenameSuffix = "etcd.backup" FILE: third_party/etcd-operator/pkg/backup/util/util.go function MakeBackupName (line 22) | func MakeBackupName(ver string, rev int64) string { function ParseBucketAndKey (line 28) | func ParseBucketAndKey(path string) (string, string, error) { FILE: third_party/etcd-operator/pkg/backup/writer/abs_writer.go type absWriter (line 32) | type absWriter struct method Write (line 47) | func (absw *absWriter) Write(ctx context.Context, path string, r io.Re... method List (line 104) | func (absw *absWriter) List(ctx context.Context, basePath string) ([]s... method Delete (line 132) | func (absw *absWriter) Delete(ctx context.Context, path string) error { function NewABSWriter (line 37) | func NewABSWriter(abs *storage.BlobStorageClient) Writer { constant AzureBlobBlockChunkLimitInBytes (line 43) | AzureBlobBlockChunkLimitInBytes = 100 * 1024 * 1024 FILE: third_party/etcd-operator/pkg/backup/writer/cos_writer.go type cosWriter (line 31) | type cosWriter struct method Write (line 41) | func (cosw *cosWriter) Write(ctx context.Context, path string, r io.Re... method Delete (line 124) | func (cosw *cosWriter) Delete(ctx context.Context, path string) error { method List (line 142) | func (cosw *cosWriter) List(ctx context.Context, basePath string) ([]s... function NewCOSWriter (line 36) | func NewCOSWriter(cos *cos.Client) Writer { FILE: third_party/etcd-operator/pkg/backup/writer/gcs_writer.go type gcsWriter (line 31) | type gcsWriter struct method Write (line 41) | func (gcsw *gcsWriter) Write(ctx context.Context, path string, r io.Re... method List (line 63) | func (gcsw *gcsWriter) List(ctx context.Context, basePath string) ([]s... method Delete (line 88) | func (gcsw *gcsWriter) Delete(ctx context.Context, path string) error { function NewGCSWriter (line 36) | func NewGCSWriter(gcs *storage.Client) Writer { FILE: third_party/etcd-operator/pkg/backup/writer/hostPath_writer.go type hostPathWriter (line 27) | type hostPathWriter struct method Write (line 37) | func (hostPathw *hostPathWriter) Write(ctx context.Context, path strin... method Delete (line 52) | func (hostPathw *hostPathWriter) Delete(ctx context.Context, path stri... method List (line 62) | func (hostPathw *hostPathWriter) List(ctx context.Context, basePath st... function NewHostPathWriter (line 32) | func NewHostPathWriter(path string) Writer { FILE: third_party/etcd-operator/pkg/backup/writer/oss_writer.go type ossWriter (line 29) | type ossWriter struct method Write (line 39) | func (ossw *ossWriter) Write(ctx context.Context, path string, r io.Re... method List (line 92) | func (ossw *ossWriter) List(ctx context.Context, basePath string) ([]s... method Delete (line 129) | func (ossw *ossWriter) Delete(ctx context.Context, path string) error { function NewOSSWriter (line 34) | func NewOSSWriter(oss *oss.Client) Writer { FILE: third_party/etcd-operator/pkg/backup/writer/s3_writer.go type s3Writer (line 29) | type s3Writer struct method Write (line 39) | func (s3w *s3Writer) Write(ctx context.Context, path string, r io.Read... method List (line 72) | func (s3w *s3Writer) List(ctx context.Context, basePath string) ([]str... method Delete (line 93) | func (s3w *s3Writer) Delete(ctx context.Context, path string) error { function NewS3Writer (line 34) | func NewS3Writer(s3 *s3.S3) Writer { FILE: third_party/etcd-operator/pkg/backup/writer/writer.go type Writer (line 23) | type Writer interface FILE: third_party/etcd-operator/pkg/chaos/chaos.go type Monkeys (line 30) | type Monkeys struct method CrushPods (line 48) | func (m *Monkeys) CrushPods(ctx context.Context, c *CrashConfig) { function NewMonkeys (line 34) | func NewMonkeys(kubecli kubernetes.Interface) *Monkeys { type CrashConfig (line 38) | type CrashConfig struct FILE: third_party/etcd-operator/pkg/client/client.go function MustNewInCluster (line 24) | func MustNewInCluster() versioned.Interface { function MustNew (line 32) | func MustNew(cfg *rest.Config) versioned.Interface { FILE: third_party/etcd-operator/pkg/cluster/cluster.go type clusterEventType (line 46) | type clusterEventType constant eventModifyCluster (line 49) | eventModifyCluster clusterEventType = "Modify" type clusterEvent (line 52) | type clusterEvent struct type Config (line 57) | type Config struct type Cluster (line 64) | type Cluster struct method setup (line 122) | func (c *Cluster) setup() error { method create (line 153) | func (c *Cluster) create() error { method prepareSeedMember (line 164) | func (c *Cluster) prepareSeedMember() error { method Delete (line 176) | func (c *Cluster) Delete() { method send (line 181) | func (c *Cluster) send(ev *clusterEvent) { method run (line 192) | func (c *Cluster) run() { method handleUpdateEvent (line 288) | func (c *Cluster) handleUpdateEvent(event *clusterEvent) error { method startSeedMember (line 312) | func (c *Cluster) startSeedMember() error { method isSecurePeer (line 336) | func (c *Cluster) isSecurePeer() bool { method isSecureClient (line 340) | func (c *Cluster) isSecureClient() bool { method bootstrap (line 345) | func (c *Cluster) bootstrap() error { method Update (line 349) | func (c *Cluster) Update(cl *api.EtcdCluster) { method setupServices (line 356) | func (c *Cluster) setupServices() error { method isPodPVEnabled (line 365) | func (c *Cluster) isPodPVEnabled() bool { method createPod (line 372) | func (c *Cluster) createPod(members etcdutil.MemberSet, m *etcdutil.Me... method removePod (line 388) | func (c *Cluster) removePod(name string) error { method pollPods (line 400) | func (c *Cluster) pollPods() (running, pending []*v1.Pod, err error) { method updateMemberStatus (line 433) | func (c *Cluster) updateMemberStatus(running []*v1.Pod) { method updateCRStatus (line 448) | func (c *Cluster) updateCRStatus() error { method reportFailedStatus (line 465) | func (c *Cluster) reportFailedStatus() { method name (line 500) | func (c *Cluster) name() string { method logClusterCreation (line 504) | func (c *Cluster) logClusterCreation() { method logSpecUpdate (line 516) | func (c *Cluster) logSpecUpdate(oldSpec, newSpec api.ClusterSpec) { function New (line 88) | func New(config Config, cl *api.EtcdCluster) *Cluster { function isSpecEqual (line 305) | func isSpecEqual(s1, s2 api.ClusterSpec) bool { FILE: third_party/etcd-operator/pkg/cluster/cluster_test.go function TestUpdateEventUpdateLocalClusterObj (line 26) | func TestUpdateEventUpdateLocalClusterObj(t *testing.T) { function TestNewLongClusterName (line 60) | func TestNewLongClusterName(t *testing.T) { FILE: third_party/etcd-operator/pkg/cluster/error.go type fatalError (line 25) | type fatalError struct method Error (line 29) | func (fe *fatalError) Error() string { function newFatalError (line 33) | func newFatalError(reason string) *fatalError { function isFatalError (line 37) | func isFatalError(err error) bool { FILE: third_party/etcd-operator/pkg/cluster/error_test.go function TestWrapFatalError (line 23) | func TestWrapFatalError(t *testing.T) { FILE: third_party/etcd-operator/pkg/cluster/member.go method updateMembers (line 28) | func (c *Cluster) updateMembers(known etcdutil.MemberSet) error { method newMember (line 52) | func (c *Cluster) newMember() *etcdutil.Member { function podsToMemberSet (line 67) | func podsToMemberSet(pods []*v1.Pod, sc bool) etcdutil.MemberSet { function getMemberName (line 76) | func getMemberName(m *etcdserverpb.Member, clusterName string) (string, ... FILE: third_party/etcd-operator/pkg/cluster/metrics.go function init (line 40) | func init() { FILE: third_party/etcd-operator/pkg/cluster/reconcile.go method reconcile (line 38) | func (c *Cluster) reconcile(pods []*v1.Pod) error { method reconcileMembers (line 76) | func (c *Cluster) reconcileMembers(running etcdutil.MemberSet) error { method resize (line 104) | func (c *Cluster) resize() error { method addOneMember (line 116) | func (c *Cluster) addOneMember() error { method removeOneMember (line 151) | func (c *Cluster) removeOneMember() error { method removeDeadMember (line 157) | func (c *Cluster) removeDeadMember(toRemove *etcdutil.Member) error { method removeMember (line 167) | func (c *Cluster) removeMember(toRemove *etcdutil.Member) (err error) { method removePVC (line 201) | func (c *Cluster) removePVC(pvcName string) error { function needUpgrade (line 209) | func needUpgrade(pods []*v1.Pod, cs api.ClusterSpec) bool { function pickOneOldMember (line 213) | func pickOneOldMember(pods []*v1.Pod, newVersion string) *etcdutil.Member { FILE: third_party/etcd-operator/pkg/cluster/upgrade.go method upgradeOneMember (line 27) | func (c *Cluster) upgradeOneMember(memberName string) error { FILE: third_party/etcd-operator/pkg/controller/backup-operator/abs_backup.go function handleABS (line 31) | func handleABS(ctx context.Context, kubecli kubernetes.Interface, s *api... FILE: third_party/etcd-operator/pkg/controller/backup-operator/controller.go method run (line 29) | func (b *Backup) run(ctx context.Context) { method onAdd (line 62) | func (b *Backup) onAdd(obj interface{}) { method onUpdate (line 70) | func (b *Backup) onUpdate(oldObj, newObj interface{}) { method onDelete (line 78) | func (b *Backup) onDelete(obj interface{}) { FILE: third_party/etcd-operator/pkg/controller/backup-operator/cos_backup.go function handleCOS (line 32) | func handleCOS(ctx context.Context, kubecli kubernetes.Interface, s *api... FILE: third_party/etcd-operator/pkg/controller/backup-operator/gcs_backup.go function handleGCS (line 31) | func handleGCS(ctx context.Context, kubecli kubernetes.Interface, s *api... FILE: third_party/etcd-operator/pkg/controller/backup-operator/hostPath_backup.go constant etcdBackFilePrefix (line 29) | etcdBackFilePrefix = "etcdbackup" function handleHostPath (line 31) | func handleHostPath(ctx context.Context, kubecli kubernetes.Interface, s... FILE: third_party/etcd-operator/pkg/controller/backup-operator/operator.go type Backup (line 36) | type Backup struct method Start (line 74) | func (b *Backup) Start(ctx context.Context) error { method initCRD (line 86) | func (b *Backup) initCRD() error { type BackupRunner (line 55) | type BackupRunner struct function New (line 61) | func New(createCRD bool) *Backup { FILE: third_party/etcd-operator/pkg/controller/backup-operator/oss_backup.go function handleOSS (line 30) | func handleOSS(ctx context.Context, kubecli kubernetes.Interface, s *api... FILE: third_party/etcd-operator/pkg/controller/backup-operator/s3_backup.go function handleS3 (line 32) | func handleS3(ctx context.Context, kubecli kubernetes.Interface, s *api.... FILE: third_party/etcd-operator/pkg/controller/backup-operator/sync.go constant maxRetries (line 40) | maxRetries = 15 method runWorker (line 43) | func (b *Backup) runWorker() { method processNextItem (line 48) | func (b *Backup) processNextItem() bool { method processItem (line 64) | func (b *Backup) processItem(key string) error { method isChanged (line 118) | func (b *Backup) isChanged(eb *api.EtcdBackup) bool { method deletePeriodicBackupRunner (line 126) | func (b *Backup) deletePeriodicBackupRunner(uid types.UID) bool { method addFinalizerOfPeriodicBackupIfNeed (line 136) | func (b *Backup) addFinalizerOfPeriodicBackupIfNeed(eb *api.EtcdBackup) ... method removeFinalizerOfPeriodicBackup (line 153) | func (b *Backup) removeFinalizerOfPeriodicBackup(eb *api.EtcdBackup) err... method periodicRunnerFunc (line 171) | func (b *Backup) periodicRunnerFunc(ctx context.Context, t *time.Ticker,... method reportBackupStatus (line 209) | func (b *Backup) reportBackupStatus(bs *api.BackupStatus, berr error, eb... method handleErr (line 226) | func (b *Backup) handleErr(err error, key interface{}) { method handleBackup (line 250) | func (b *Backup) handleBackup(parentContext *context.Context, eb *api.Et... function validate (line 323) | func validate(spec *api.BackupSpec) error { FILE: third_party/etcd-operator/pkg/controller/backup-operator/sync_test.go function TestValidate (line 23) | func TestValidate(t *testing.T) { FILE: third_party/etcd-operator/pkg/controller/backup-operator/util.go function generateTLSConfig (line 29) | func generateTLSConfig(kubecli kubernetes.Interface, clientTLSSecret, na... function generateTLSConfigWithVerify (line 45) | func generateTLSConfigWithVerify(kubecli kubernetes.Interface, clientTLS... function generateUsernamePassword (line 57) | func generateUsernamePassword(kubecli kubernetes.Interface, basicAuthSec... function isPeriodicBackup (line 68) | func isPeriodicBackup(ebSpec *api.BackupSpec) bool { function containsString (line 75) | func containsString(slice []string, s string) bool { FILE: third_party/etcd-operator/pkg/controller/controller.go type Event (line 34) | type Event struct type Controller (line 39) | type Controller struct method handleClusterEvent (line 66) | func (c *Controller) handleClusterEvent(event *Event) (bool, error) { method makeClusterConfig (line 122) | func (c *Controller) makeClusterConfig() cluster.Config { method initCRD (line 130) | func (c *Controller) initCRD() error { type Config (line 46) | type Config struct function New (line 56) | func New(cfg Config) *Controller { function getNamespacedName (line 138) | func getNamespacedName(c *api.EtcdCluster) string { FILE: third_party/etcd-operator/pkg/controller/controller_test.go function TestHandleClusterEventUpdateFailedCluster (line 27) | func TestHandleClusterEventUpdateFailedCluster(t *testing.T) { function TestHandleClusterEventDeleteFailedCluster (line 49) | func TestHandleClusterEventDeleteFailedCluster(t *testing.T) { function TestHandleClusterEventClusterwide (line 76) | func TestHandleClusterEventClusterwide(t *testing.T) { function TestHandleClusterEventClusterwideIgnored (line 97) | func TestHandleClusterEventClusterwideIgnored(t *testing.T) { function TestHandleClusterEventClusterwideAddTwoCR (line 114) | func TestHandleClusterEventClusterwideAddTwoCR(t *testing.T) { function TestHandleClusterEventNamespacedIgnored (line 143) | func TestHandleClusterEventNamespacedIgnored(t *testing.T) { function TestHandleClusterEventWithLongClusterName (line 163) | func TestHandleClusterEventWithLongClusterName(t *testing.T) { FILE: third_party/etcd-operator/pkg/controller/informer.go function init (line 35) | func init() { method Start (line 39) | func (c *Controller) Start() error { method run (line 56) | func (c *Controller) run() { method initResource (line 81) | func (c *Controller) initResource() error { method onAddEtcdClus (line 91) | func (c *Controller) onAddEtcdClus(obj interface{}) { method onUpdateEtcdClus (line 95) | func (c *Controller) onUpdateEtcdClus(oldObj, newObj interface{}) { method onDeleteEtcdClus (line 99) | func (c *Controller) onDeleteEtcdClus(obj interface{}) { method syncEtcdClus (line 124) | func (c *Controller) syncEtcdClus(clus *api.EtcdCluster) { method managed (line 144) | func (c *Controller) managed(clus *api.EtcdCluster) bool { FILE: third_party/etcd-operator/pkg/controller/metrics.go function init (line 56) | func init() { FILE: third_party/etcd-operator/pkg/controller/restore-operator/controller.go method run (line 29) | func (r *Restore) run(ctx context.Context) { method onAdd (line 62) | func (r *Restore) onAdd(obj interface{}) { method onUpdate (line 70) | func (r *Restore) onUpdate(oldObj, newObj interface{}) { method onDelete (line 78) | func (r *Restore) onDelete(obj interface{}) { FILE: third_party/etcd-operator/pkg/controller/restore-operator/http.go constant backupHTTPPath (line 38) | backupHTTPPath = backupapi.APIV1 + "/backup/" constant listenAddr (line 39) | listenAddr = "0.0.0.0:19999" method startHTTP (line 42) | func (r *Restore) startHTTP() { method handleServeBackup (line 48) | func (r *Restore) handleServeBackup(w http.ResponseWriter, req *http.Req... method serveBackup (line 59) | func (r *Restore) serveBackup(w http.ResponseWriter, req *http.Request) ... FILE: third_party/etcd-operator/pkg/controller/restore-operator/operator.go type Restore (line 33) | type Restore struct method Start (line 64) | func (r *Restore) Start(ctx context.Context) error { method initCRD (line 77) | func (r *Restore) initCRD() error { function New (line 51) | func New(createCRD bool, namespace, mySvcAddr string) *Restore { FILE: third_party/etcd-operator/pkg/controller/restore-operator/sync.go constant maxRetries (line 37) | maxRetries = 15 method runWorker (line 40) | func (r *Restore) runWorker() { method processNextItem (line 45) | func (r *Restore) processNextItem() bool { method processItem (line 61) | func (r *Restore) processItem(key string) error { method handleCR (line 73) | func (r *Restore) handleCR(er *api.EtcdRestore, key string) (err error) { method reportStatus (line 93) | func (r *Restore) reportStatus(rerr error, er *api.EtcdRestore) { method handleErr (line 106) | func (r *Restore) handleErr(err error, key interface{}) { method prepareSeed (line 142) | func (r *Restore) prepareSeed(er *api.EtcdRestore) (err error) { method createSeedMember (line 213) | func (r *Restore) createSeedMember(ec *api.EtcdCluster, svcAddr, cluster... method deleteClusterResourcesCompletely (line 231) | func (r *Restore) deleteClusterResourcesCompletely(clusterName string) e... FILE: third_party/etcd-operator/pkg/controller/util.go type panicTimer (line 22) | type panicTimer struct method start (line 35) | func (pt *panicTimer) start() { method stop (line 42) | func (pt *panicTimer) stop() { function newPanicTimer (line 28) | func newPanicTimer(d time.Duration, msg string) *panicTimer { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/clientset.go type Interface (line 28) | type Interface interface type Clientset (line 37) | type Clientset struct method EtcdV1beta2 (line 43) | func (c *Clientset) EtcdV1beta2() etcdv1beta2.EtcdV1beta2Interface { method Etcd (line 49) | func (c *Clientset) Etcd() etcdv1beta2.EtcdV1beta2Interface { method Discovery (line 54) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { function NewForConfig (line 62) | func NewForConfig(c *rest.Config) (*Clientset, error) { function NewForConfigOrDie (line 83) | func NewForConfigOrDie(c *rest.Config) *Clientset { function New (line 92) | func New(c rest.Interface) *Clientset { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/fake/clientset_generated.go function NewSimpleClientset (line 36) | func NewSimpleClientset(objects ...runtime.Object) *Clientset { type Clientset (line 63) | type Clientset struct method Discovery (line 68) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { method EtcdV1beta2 (line 75) | func (c *Clientset) EtcdV1beta2() etcdv1beta2.EtcdV1beta2Interface { method Etcd (line 80) | func (c *Clientset) Etcd() etcdv1beta2.EtcdV1beta2Interface { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/fake/register.go function init (line 53) | func init() { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/scheme/register.go function init (line 53) | func init() { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/etcd_client.go type EtcdV1beta2Interface (line 28) | type EtcdV1beta2Interface interface type EtcdV1beta2Client (line 36) | type EtcdV1beta2Client struct method EtcdBackups (line 40) | func (c *EtcdV1beta2Client) EtcdBackups(namespace string) EtcdBackupIn... method EtcdClusters (line 44) | func (c *EtcdV1beta2Client) EtcdClusters(namespace string) EtcdCluster... method EtcdRestores (line 48) | func (c *EtcdV1beta2Client) EtcdRestores(namespace string) EtcdRestore... method RESTClient (line 95) | func (c *EtcdV1beta2Client) RESTClient() rest.Interface { function NewForConfig (line 53) | func NewForConfig(c *rest.Config) (*EtcdV1beta2Client, error) { function NewForConfigOrDie (line 67) | func NewForConfigOrDie(c *rest.Config) *EtcdV1beta2Client { function New (line 76) | func New(c rest.Interface) *EtcdV1beta2Client { function setConfigDefaults (line 80) | func setConfigDefaults(config *rest.Config) error { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/etcdbackup.go type EtcdBackupsGetter (line 32) | type EtcdBackupsGetter interface type EtcdBackupInterface (line 37) | type EtcdBackupInterface interface type etcdBackups (line 51) | type etcdBackups struct method Get (line 65) | func (c *etcdBackups) Get(name string, options v1.GetOptions) (result ... method List (line 78) | func (c *etcdBackups) List(opts v1.ListOptions) (result *v1beta2.EtcdB... method Watch (line 90) | func (c *etcdBackups) Watch(opts v1.ListOptions) (watch.Interface, err... method Create (line 100) | func (c *etcdBackups) Create(etcdBackup *v1beta2.EtcdBackup) (result *... method Update (line 112) | func (c *etcdBackups) Update(etcdBackup *v1beta2.EtcdBackup) (result *... method UpdateStatus (line 127) | func (c *etcdBackups) UpdateStatus(etcdBackup *v1beta2.EtcdBackup) (re... method Delete (line 141) | func (c *etcdBackups) Delete(name string, options *v1.DeleteOptions) e... method DeleteCollection (line 152) | func (c *etcdBackups) DeleteCollection(options *v1.DeleteOptions, list... method Patch (line 163) | func (c *etcdBackups) Patch(name string, pt types.PatchType, data []by... function newEtcdBackups (line 57) | func newEtcdBackups(c *EtcdV1beta2Client, namespace string) *etcdBackups { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/etcdcluster.go type EtcdClustersGetter (line 32) | type EtcdClustersGetter interface type EtcdClusterInterface (line 37) | type EtcdClusterInterface interface type etcdClusters (line 51) | type etcdClusters struct method Get (line 65) | func (c *etcdClusters) Get(name string, options v1.GetOptions) (result... method List (line 78) | func (c *etcdClusters) List(opts v1.ListOptions) (result *v1beta2.Etcd... method Watch (line 90) | func (c *etcdClusters) Watch(opts v1.ListOptions) (watch.Interface, er... method Create (line 100) | func (c *etcdClusters) Create(etcdCluster *v1beta2.EtcdCluster) (resul... method Update (line 112) | func (c *etcdClusters) Update(etcdCluster *v1beta2.EtcdCluster) (resul... method UpdateStatus (line 127) | func (c *etcdClusters) UpdateStatus(etcdCluster *v1beta2.EtcdCluster) ... method Delete (line 141) | func (c *etcdClusters) Delete(name string, options *v1.DeleteOptions) ... method DeleteCollection (line 152) | func (c *etcdClusters) DeleteCollection(options *v1.DeleteOptions, lis... method Patch (line 163) | func (c *etcdClusters) Patch(name string, pt types.PatchType, data []b... function newEtcdClusters (line 57) | func newEtcdClusters(c *EtcdV1beta2Client, namespace string) *etcdCluste... FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/etcdrestore.go type EtcdRestoresGetter (line 32) | type EtcdRestoresGetter interface type EtcdRestoreInterface (line 37) | type EtcdRestoreInterface interface type etcdRestores (line 51) | type etcdRestores struct method Get (line 65) | func (c *etcdRestores) Get(name string, options v1.GetOptions) (result... method List (line 78) | func (c *etcdRestores) List(opts v1.ListOptions) (result *v1beta2.Etcd... method Watch (line 90) | func (c *etcdRestores) Watch(opts v1.ListOptions) (watch.Interface, er... method Create (line 100) | func (c *etcdRestores) Create(etcdRestore *v1beta2.EtcdRestore) (resul... method Update (line 112) | func (c *etcdRestores) Update(etcdRestore *v1beta2.EtcdRestore) (resul... method UpdateStatus (line 127) | func (c *etcdRestores) UpdateStatus(etcdRestore *v1beta2.EtcdRestore) ... method Delete (line 141) | func (c *etcdRestores) Delete(name string, options *v1.DeleteOptions) ... method DeleteCollection (line 152) | func (c *etcdRestores) DeleteCollection(options *v1.DeleteOptions, lis... method Patch (line 163) | func (c *etcdRestores) Patch(name string, pt types.PatchType, data []b... function newEtcdRestores (line 57) | func newEtcdRestores(c *EtcdV1beta2Client, namespace string) *etcdRestor... FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/fake/fake_etcd_client.go type FakeEtcdV1beta2 (line 27) | type FakeEtcdV1beta2 struct method EtcdBackups (line 31) | func (c *FakeEtcdV1beta2) EtcdBackups(namespace string) v1beta2.EtcdBa... method EtcdClusters (line 35) | func (c *FakeEtcdV1beta2) EtcdClusters(namespace string) v1beta2.EtcdC... method EtcdRestores (line 39) | func (c *FakeEtcdV1beta2) EtcdRestores(namespace string) v1beta2.EtcdR... method RESTClient (line 45) | func (c *FakeEtcdV1beta2) RESTClient() rest.Interface { FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/fake/fake_etcdbackup.go type FakeEtcdBackups (line 32) | type FakeEtcdBackups struct method Get (line 42) | func (c *FakeEtcdBackups) Get(name string, options v1.GetOptions) (res... method List (line 53) | func (c *FakeEtcdBackups) List(opts v1.ListOptions) (result *v1beta2.E... method Watch (line 75) | func (c *FakeEtcdBackups) Watch(opts v1.ListOptions) (watch.Interface,... method Create (line 82) | func (c *FakeEtcdBackups) Create(etcdBackup *v1beta2.EtcdBackup) (resu... method Update (line 93) | func (c *FakeEtcdBackups) Update(etcdBackup *v1beta2.EtcdBackup) (resu... method UpdateStatus (line 105) | func (c *FakeEtcdBackups) UpdateStatus(etcdBackup *v1beta2.EtcdBackup)... method Delete (line 116) | func (c *FakeEtcdBackups) Delete(name string, options *v1.DeleteOption... method DeleteCollection (line 124) | func (c *FakeEtcdBackups) DeleteCollection(options *v1.DeleteOptions, ... method Patch (line 132) | func (c *FakeEtcdBackups) Patch(name string, pt types.PatchType, data ... FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/fake/fake_etcdcluster.go type FakeEtcdClusters (line 32) | type FakeEtcdClusters struct method Get (line 42) | func (c *FakeEtcdClusters) Get(name string, options v1.GetOptions) (re... method List (line 53) | func (c *FakeEtcdClusters) List(opts v1.ListOptions) (result *v1beta2.... method Watch (line 75) | func (c *FakeEtcdClusters) Watch(opts v1.ListOptions) (watch.Interface... method Create (line 82) | func (c *FakeEtcdClusters) Create(etcdCluster *v1beta2.EtcdCluster) (r... method Update (line 93) | func (c *FakeEtcdClusters) Update(etcdCluster *v1beta2.EtcdCluster) (r... method UpdateStatus (line 105) | func (c *FakeEtcdClusters) UpdateStatus(etcdCluster *v1beta2.EtcdClust... method Delete (line 116) | func (c *FakeEtcdClusters) Delete(name string, options *v1.DeleteOptio... method DeleteCollection (line 124) | func (c *FakeEtcdClusters) DeleteCollection(options *v1.DeleteOptions,... method Patch (line 132) | func (c *FakeEtcdClusters) Patch(name string, pt types.PatchType, data... FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/fake/fake_etcdrestore.go type FakeEtcdRestores (line 32) | type FakeEtcdRestores struct method Get (line 42) | func (c *FakeEtcdRestores) Get(name string, options v1.GetOptions) (re... method List (line 53) | func (c *FakeEtcdRestores) List(opts v1.ListOptions) (result *v1beta2.... method Watch (line 75) | func (c *FakeEtcdRestores) Watch(opts v1.ListOptions) (watch.Interface... method Create (line 82) | func (c *FakeEtcdRestores) Create(etcdRestore *v1beta2.EtcdRestore) (r... method Update (line 93) | func (c *FakeEtcdRestores) Update(etcdRestore *v1beta2.EtcdRestore) (r... method UpdateStatus (line 105) | func (c *FakeEtcdRestores) UpdateStatus(etcdRestore *v1beta2.EtcdResto... method Delete (line 116) | func (c *FakeEtcdRestores) Delete(name string, options *v1.DeleteOptio... method DeleteCollection (line 124) | func (c *FakeEtcdRestores) DeleteCollection(options *v1.DeleteOptions,... method Patch (line 132) | func (c *FakeEtcdRestores) Patch(name string, pt types.PatchType, data... FILE: third_party/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2/generated_expansion.go type EtcdBackupExpansion (line 21) | type EtcdBackupExpansion interface type EtcdClusterExpansion (line 23) | type EtcdClusterExpansion interface type EtcdRestoreExpansion (line 25) | type EtcdRestoreExpansion interface FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/etcd/interface.go type Interface (line 27) | type Interface interface type group (line 32) | type group struct method V1beta2 (line 44) | func (g *group) V1beta2() v1beta2.Interface { function New (line 39) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/etcd/v1beta2/etcdbackup.go type EtcdBackupInformer (line 36) | type EtcdBackupInformer interface type etcdBackupInformer (line 41) | type etcdBackupInformer struct method defaultInformer (line 79) | func (f *etcdBackupInformer) defaultInformer(client versioned.Interfac... method Informer (line 83) | func (f *etcdBackupInformer) Informer() cache.SharedIndexInformer { method Lister (line 87) | func (f *etcdBackupInformer) Lister() v1beta2.EtcdBackupLister { function NewEtcdBackupInformer (line 50) | func NewEtcdBackupInformer(client versioned.Interface, namespace string,... function NewFilteredEtcdBackupInformer (line 57) | func NewFilteredEtcdBackupInformer(client versioned.Interface, namespace... FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/etcd/v1beta2/etcdcluster.go type EtcdClusterInformer (line 36) | type EtcdClusterInformer interface type etcdClusterInformer (line 41) | type etcdClusterInformer struct method defaultInformer (line 79) | func (f *etcdClusterInformer) defaultInformer(client versioned.Interfa... method Informer (line 83) | func (f *etcdClusterInformer) Informer() cache.SharedIndexInformer { method Lister (line 87) | func (f *etcdClusterInformer) Lister() v1beta2.EtcdClusterLister { function NewEtcdClusterInformer (line 50) | func NewEtcdClusterInformer(client versioned.Interface, namespace string... function NewFilteredEtcdClusterInformer (line 57) | func NewFilteredEtcdClusterInformer(client versioned.Interface, namespac... FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/etcd/v1beta2/etcdrestore.go type EtcdRestoreInformer (line 36) | type EtcdRestoreInformer interface type etcdRestoreInformer (line 41) | type etcdRestoreInformer struct method defaultInformer (line 79) | func (f *etcdRestoreInformer) defaultInformer(client versioned.Interfa... method Informer (line 83) | func (f *etcdRestoreInformer) Informer() cache.SharedIndexInformer { method Lister (line 87) | func (f *etcdRestoreInformer) Lister() v1beta2.EtcdRestoreLister { function NewEtcdRestoreInformer (line 50) | func NewEtcdRestoreInformer(client versioned.Interface, namespace string... function NewFilteredEtcdRestoreInformer (line 57) | func NewFilteredEtcdRestoreInformer(client versioned.Interface, namespac... FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/etcd/v1beta2/interface.go type Interface (line 26) | type Interface interface type version (line 35) | type version struct method EtcdBackups (line 47) | func (v *version) EtcdBackups() EtcdBackupInformer { method EtcdClusters (line 52) | func (v *version) EtcdClusters() EtcdClusterInformer { method EtcdRestores (line 57) | func (v *version) EtcdRestores() EtcdRestoreInformer { function New (line 42) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/factory.go type SharedInformerOption (line 36) | type SharedInformerOption type sharedInformerFactory (line 38) | type sharedInformerFactory struct method Start (line 111) | func (f *sharedInformerFactory) Start(stopCh <-chan struct{}) { method WaitForCacheSync (line 124) | func (f *sharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{... method InformerFor (line 147) | func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFun... method Etcd (line 178) | func (f *sharedInformerFactory) Etcd() etcd.Interface { function WithCustomResyncConfig (line 53) | func WithCustomResyncConfig(resyncConfig map[v1.Object]time.Duration) Sh... function WithTweakListOptions (line 63) | func WithTweakListOptions(tweakListOptions internalinterfaces.TweakListO... function WithNamespace (line 71) | func WithNamespace(namespace string) SharedInformerOption { function NewSharedInformerFactory (line 79) | func NewSharedInformerFactory(client versioned.Interface, defaultResync ... function NewFilteredSharedInformerFactory (line 87) | func NewFilteredSharedInformerFactory(client versioned.Interface, defaul... function NewSharedInformerFactoryWithOptions (line 92) | func NewSharedInformerFactoryWithOptions(client versioned.Interface, def... type SharedInformerFactory (line 170) | type SharedInformerFactory interface FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/generic.go type GenericInformer (line 31) | type GenericInformer interface type genericInformer (line 36) | type genericInformer struct method Informer (line 42) | func (f *genericInformer) Informer() cache.SharedIndexInformer { method Lister (line 47) | func (f *genericInformer) Lister() cache.GenericLister { method ForResource (line 53) | func (f *sharedInformerFactory) ForResource(resource schema.GroupVersion... FILE: third_party/etcd-operator/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go type NewInformerFunc (line 30) | type NewInformerFunc type SharedInformerFactory (line 33) | type SharedInformerFactory interface type TweakListOptionsFunc (line 38) | type TweakListOptionsFunc FILE: third_party/etcd-operator/pkg/generated/listers/etcd/v1beta2/etcdbackup.go type EtcdBackupLister (line 29) | type EtcdBackupLister interface type etcdBackupLister (line 38) | type etcdBackupLister struct method List (line 48) | func (s *etcdBackupLister) List(selector labels.Selector) (ret []*v1be... method EtcdBackups (line 56) | func (s *etcdBackupLister) EtcdBackups(namespace string) EtcdBackupNam... function NewEtcdBackupLister (line 43) | func NewEtcdBackupLister(indexer cache.Indexer) EtcdBackupLister { type EtcdBackupNamespaceLister (line 61) | type EtcdBackupNamespaceLister interface type etcdBackupNamespaceLister (line 71) | type etcdBackupNamespaceLister struct method List (line 77) | func (s etcdBackupNamespaceLister) List(selector labels.Selector) (ret... method Get (line 85) | func (s etcdBackupNamespaceLister) Get(name string) (*v1beta2.EtcdBack... FILE: third_party/etcd-operator/pkg/generated/listers/etcd/v1beta2/etcdcluster.go type EtcdClusterLister (line 29) | type EtcdClusterLister interface type etcdClusterLister (line 38) | type etcdClusterLister struct method List (line 48) | func (s *etcdClusterLister) List(selector labels.Selector) (ret []*v1b... method EtcdClusters (line 56) | func (s *etcdClusterLister) EtcdClusters(namespace string) EtcdCluster... function NewEtcdClusterLister (line 43) | func NewEtcdClusterLister(indexer cache.Indexer) EtcdClusterLister { type EtcdClusterNamespaceLister (line 61) | type EtcdClusterNamespaceLister interface type etcdClusterNamespaceLister (line 71) | type etcdClusterNamespaceLister struct method List (line 77) | func (s etcdClusterNamespaceLister) List(selector labels.Selector) (re... method Get (line 85) | func (s etcdClusterNamespaceLister) Get(name string) (*v1beta2.EtcdClu... FILE: third_party/etcd-operator/pkg/generated/listers/etcd/v1beta2/etcdrestore.go type EtcdRestoreLister (line 29) | type EtcdRestoreLister interface type etcdRestoreLister (line 38) | type etcdRestoreLister struct method List (line 48) | func (s *etcdRestoreLister) List(selector labels.Selector) (ret []*v1b... method EtcdRestores (line 56) | func (s *etcdRestoreLister) EtcdRestores(namespace string) EtcdRestore... function NewEtcdRestoreLister (line 43) | func NewEtcdRestoreLister(indexer cache.Indexer) EtcdRestoreLister { type EtcdRestoreNamespaceLister (line 61) | type EtcdRestoreNamespaceLister interface type etcdRestoreNamespaceLister (line 71) | type etcdRestoreNamespaceLister struct method List (line 77) | func (s etcdRestoreNamespaceLister) List(selector labels.Selector) (re... method Get (line 85) | func (s etcdRestoreNamespaceLister) Get(name string) (*v1beta2.EtcdRes... FILE: third_party/etcd-operator/pkg/generated/listers/etcd/v1beta2/expansion_generated.go type EtcdBackupListerExpansion (line 23) | type EtcdBackupListerExpansion interface type EtcdBackupNamespaceListerExpansion (line 27) | type EtcdBackupNamespaceListerExpansion interface type EtcdClusterListerExpansion (line 31) | type EtcdClusterListerExpansion interface type EtcdClusterNamespaceListerExpansion (line 35) | type EtcdClusterNamespaceListerExpansion interface type EtcdRestoreListerExpansion (line 39) | type EtcdRestoreListerExpansion interface type EtcdRestoreNamespaceListerExpansion (line 43) | type EtcdRestoreNamespaceListerExpansion interface FILE: third_party/etcd-operator/pkg/util/alibabacloudutil/ossfactory/client.go type OSSClient (line 28) | type OSSClient struct function NewClientFromSecret (line 33) | func NewClientFromSecret(kubecli kubernetes.Interface, namespace, endpoi... FILE: third_party/etcd-operator/pkg/util/awsutil/s3factory/client.go constant tmpdir (line 32) | tmpdir = "/tmp" type S3Client (line 36) | type S3Client struct method Close (line 66) | func (w *S3Client) Close() { function NewClientFromSecret (line 42) | func NewClientFromSecret(kubecli kubernetes.Interface, namespace, endpoi... function setupAWSConfig (line 71) | func setupAWSConfig(kubecli kubernetes.Interface, ns, secret, endpoint, ... FILE: third_party/etcd-operator/pkg/util/awsutil/s3factory/client_test.go function TestSetupAWSConfig (line 24) | func TestSetupAWSConfig(t *testing.T) { FILE: third_party/etcd-operator/pkg/util/azureutil/absfactory/client.go type ABSClient (line 29) | type ABSClient struct function parseAzureEnvironment (line 34) | func parseAzureEnvironment(cloudName string) (azure.Environment, error) { function NewClientFromSecret (line 43) | func NewClientFromSecret(kubecli kubernetes.Interface, namespace, absSec... FILE: third_party/etcd-operator/pkg/util/constants/constants.go constant DefaultDialTimeout (line 20) | DefaultDialTimeout = 5 * time.Second constant DefaultRequestTimeout (line 21) | DefaultRequestTimeout = 5 * time.Second constant DefaultBackupTimeout (line 23) | DefaultBackupTimeout = 1 * time.Minute constant DefaultSnapshotInterval (line 24) | DefaultSnapshotInterval = 1800 * time.Second constant DefaultBackupPodHTTPPort (line 26) | DefaultBackupPodHTTPPort = 19999 constant OperatorRoot (line 28) | OperatorRoot = "/var/tmp/etcd-operator" constant BackupMountDir (line 29) | BackupMountDir = "/var/etcd-backup" constant EnvOperatorPodName (line 31) | EnvOperatorPodName = "MY_POD_NAME" constant EnvOperatorPodNamespace (line 32) | EnvOperatorPodNamespace = "MY_POD_NAMESPACE" constant EnvOperatorWatchNamespace (line 33) | EnvOperatorWatchNamespace = "WATCH_NAMESPACE" FILE: third_party/etcd-operator/pkg/util/etcdutil/etcdutil.go function ListMembers (line 26) | func ListMembers(clientURLs []string, tc *tls.Config) (*clientv3.MemberL... function RemoveMember (line 44) | func RemoveMember(clientURLs []string, tc *tls.Config, id uint64) error { FILE: third_party/etcd-operator/pkg/util/etcdutil/etcdutil_test.go function TestMemberNameFromPeerURL (line 19) | func TestMemberNameFromPeerURL(t *testing.T) { FILE: third_party/etcd-operator/pkg/util/etcdutil/member.go type Member (line 25) | type Member struct method Addr (line 41) | func (m *Member) Addr() string { method ClientURL (line 46) | func (m *Member) ClientURL() string { method clientScheme (line 50) | func (m *Member) clientScheme() string { method peerScheme (line 57) | func (m *Member) peerScheme() string { method ListenClientURL (line 64) | func (m *Member) ListenClientURL() string { method ListenPeerURL (line 67) | func (m *Member) ListenPeerURL() string { method PeerURL (line 71) | func (m *Member) PeerURL() string { type MemberSet (line 75) | type MemberSet method Diff (line 86) | func (ms MemberSet) Diff(other MemberSet) MemberSet { method IsEqual (line 98) | func (ms MemberSet) IsEqual(other MemberSet) bool { method Size (line 110) | func (ms MemberSet) Size() int { method String (line 114) | func (ms MemberSet) String() string { method PickOne (line 123) | func (ms MemberSet) PickOne() *Member { method PeerURLPairs (line 130) | func (ms MemberSet) PeerURLPairs() []string { method Add (line 138) | func (ms MemberSet) Add(m *Member) { method Remove (line 142) | func (ms MemberSet) Remove(name string) { method ClientURLs (line 146) | func (ms MemberSet) ClientURLs() []string { function NewMemberSet (line 77) | func NewMemberSet(ms ...*Member) MemberSet { function MemberNameFromPeerURL (line 156) | func MemberNameFromPeerURL(pu string) (string, error) { function clusterNameFromMemberName (line 170) | func clusterNameFromMemberName(mn string) string { FILE: third_party/etcd-operator/pkg/util/etcdutil/member_test.go function TestMemberSetIsEqual (line 19) | func TestMemberSetIsEqual(t *testing.T) { FILE: third_party/etcd-operator/pkg/util/etcdutil/tls.go constant DefaultCliCertFile (line 27) | DefaultCliCertFile = "client.crt" constant DefaultCliKeyFile (line 28) | DefaultCliKeyFile = "client.key" constant DefaultCliCAFile (line 29) | DefaultCliCAFile = "client-ca.crt" function InitEtcdTLSConfig (line 38) | func InitEtcdTLSConfig(cert,key,ca string) { function NewTLSConfig (line 44) | func NewTLSConfig(certData, keyData, caData []byte) (*tls.Config, error) { function writeFile (line 76) | func writeFile(dir, file string, data []byte) (string, error) { FILE: third_party/etcd-operator/pkg/util/gcputil/gcsfactory/client.go type GCSClient (line 31) | type GCSClient struct function NewClientFromSecret (line 36) | func NewClientFromSecret(ctx context.Context, kubecli kubernetes.Interfa... FILE: third_party/etcd-operator/pkg/util/k8sutil/crd.go type EtcdClusterCRUpdateFunc (line 35) | type EtcdClusterCRUpdateFunc function GetClusterList (line 37) | func GetClusterList(restcli rest.Interface, ns string) (*api.EtcdCluster... function listClustersURI (line 50) | func listClustersURI(ns string) string { function CreateCRD (line 54) | func CreateCRD(clientset apiextensionsclient.Interface, crdName, rkind, ... function WaitCRDReady (line 79) | func WaitCRDReady(clientset apiextensionsclient.Interface, crdName strin... function MustNewKubeExtClient (line 105) | func MustNewKubeExtClient() apiextensionsclient.Interface { FILE: third_party/etcd-operator/pkg/util/k8sutil/events_util.go function NewMemberAddEvent (line 29) | func NewMemberAddEvent(memberName string, cl *api.EtcdCluster) *v1.Event { function MemberRemoveEvent (line 37) | func MemberRemoveEvent(memberName string, cl *api.EtcdCluster) *v1.Event { function ReplacingDeadMemberEvent (line 45) | func ReplacingDeadMemberEvent(memberName string, cl *api.EtcdCluster) *v... function MemberUpgradedEvent (line 53) | func MemberUpgradedEvent(memberName, oldVersion, newVersion string, cl *... function newClusterEvent (line 61) | func newClusterEvent(cl *api.EtcdCluster) *v1.Event { FILE: third_party/etcd-operator/pkg/util/k8sutil/k8sutil.go constant EtcdClientPort (line 49) | EtcdClientPort = 2379 constant etcdVolumeMountDir (line 51) | etcdVolumeMountDir = "/var/etcd" constant dataDir (line 52) | dataDir = etcdVolumeMountDir + "/data" constant backupFile (line 53) | backupFile = "/var/etcd/latest.backup" constant etcdVersionAnnotationKey (line 54) | etcdVersionAnnotationKey = "etcd.version" constant peerTLSDir (line 55) | peerTLSDir = "/etc/etcdtls/member/peer-tls" constant peerTLSVolume (line 56) | peerTLSVolume = "member-peer-tls" constant serverTLSDir (line 57) | serverTLSDir = "/etc/etcdtls/member/server-tls" constant serverTLSVolume (line 58) | serverTLSVolume = "member-server-tls" constant operatorEtcdTLSDir (line 59) | operatorEtcdTLSDir = "/etc/etcdtls/operator/etcd-tls" constant operatorEtcdTLSVolume (line 60) | operatorEtcdTLSVolume = "etcd-client-tls" constant randomSuffixLength (line 62) | randomSuffixLength = 10 constant MaxNameLength (line 64) | MaxNameLength = 63 - randomSuffixLength - 1 constant defaultBusyboxImage (line 66) | defaultBusyboxImage = "busybox:1.28.0-glibc" constant AnnotationScope (line 69) | AnnotationScope = "etcd.database.coreos.com/scope" constant AnnotationClusterWide (line 71) | AnnotationClusterWide = "clusterwide" constant defaultDNSTimeout (line 75) | defaultDNSTimeout = int64(0) constant TolerateUnreadyEndpointsAnnotation (line 78) | TolerateUnreadyEndpointsAnnotation = "service.alpha.kubernetes.io/tolera... function GetEtcdVersion (line 80) | func GetEtcdVersion(pod *v1.Pod) string { function SetEtcdVersion (line 84) | func SetEtcdVersion(pod *v1.Pod, version string) { function GetPodNames (line 88) | func GetPodNames(pods []*v1.Pod) []string { function PVCNameFromMember (line 100) | func PVCNameFromMember(memberName string) string { function makeRestoreInitContainers (line 104) | func makeRestoreInitContainers(backupURL *url.URL, token, repo, version ... function ImageName (line 139) | func ImageName(repo, version string) string { function imageNameBusybox (line 144) | func imageNameBusybox(policy *api.PodPolicy) string { function PodWithNodeSelector (line 151) | func PodWithNodeSelector(p *v1.Pod, ns map[string]string) *v1.Pod { function CreateClientService (line 156) | func CreateClientService(kubecli kubernetes.Interface, clusterName, ns s... function ClientServiceName (line 166) | func ClientServiceName(clusterName string) string { function CreatePeerService (line 170) | func CreatePeerService(kubecli kubernetes.Interface, clusterName, ns str... function createService (line 186) | func createService(kubecli kubernetes.Interface, svcName, clusterName, n... function CreateAndWaitPod (line 197) | func CreateAndWaitPod(kubecli kubernetes.Interface, ns string, pod *v1.P... function newEtcdServiceManifest (line 230) | func newEtcdServiceManifest(svcName, clusterName, clusterIP string, port... function AddEtcdVolumeToPod (line 251) | func AddEtcdVolumeToPod(pod *v1.Pod, pvc *v1.PersistentVolumeClaim) { function addRecoveryToPod (line 263) | func addRecoveryToPod(pod *v1.Pod, token string, m *etcdutil.Member, cs ... function addOwnerRefToObject (line 268) | func addOwnerRefToObject(o metav1.Object, r metav1.OwnerReference) { function NewSeedMemberPod (line 274) | func NewSeedMemberPod(clusterName string, ms etcdutil.MemberSet, m *etcd... function NewEtcdPodPVC (line 288) | func NewEtcdPodPVC(m *etcdutil.Member, pvcSpec v1.PersistentVolumeClaimS... function newEtcdPod (line 301) | func newEtcdPod(m *etcdutil.Member, initialCluster []string, clusterName... function podSecurityContext (line 410) | func podSecurityContext(podPolicy *api.PodPolicy) *v1.PodSecurityContext { function NewEtcdPod (line 417) | func NewEtcdPod(m *etcdutil.Member, initialCluster []string, clusterName... function MustNewKubeClient (line 424) | func MustNewKubeClient() kubernetes.Interface { function InClusterConfig (line 432) | func InClusterConfig() (*rest.Config, error) { function IsKubernetesResourceAlreadyExistError (line 452) | func IsKubernetesResourceAlreadyExistError(err error) bool { function IsKubernetesResourceNotFoundError (line 456) | func IsKubernetesResourceNotFoundError(err error) bool { function ClusterListOpt (line 461) | func ClusterListOpt(clusterName string) metav1.ListOptions { function LabelsForCluster (line 467) | func LabelsForCluster(clusterName string) map[string]string { function CreatePatch (line 474) | func CreatePatch(o, n, datastruct interface{}) ([]byte, error) { function PatchDeployment (line 486) | func PatchDeployment(kubecli kubernetes.Interface, namespace, name strin... function CascadeDeleteOptions (line 501) | func CascadeDeleteOptions(gracePeriodSeconds int64) *metav1.DeleteOptions { function mergeLabels (line 512) | func mergeLabels(l1, l2 map[string]string) { function UniqueMemberName (line 521) | func UniqueMemberName(clusterName string) string { FILE: third_party/etcd-operator/pkg/util/k8sutil/k8sutils_test.go function TestDefaultBusyboxImageName (line 23) | func TestDefaultBusyboxImageName(t *testing.T) { function TestDefaultNilBusyboxImageName (line 32) | func TestDefaultNilBusyboxImageName(t *testing.T) { function TestSetBusyboxImageName (line 40) | func TestSetBusyboxImageName(t *testing.T) { FILE: third_party/etcd-operator/pkg/util/k8sutil/node_util.go function IsNodeReady (line 22) | func IsNodeReady(n v1.Node) bool { FILE: third_party/etcd-operator/pkg/util/k8sutil/pod_util.go constant etcdVolumeName (line 28) | etcdVolumeName = "etcd-data" function etcdVolumeMounts (line 31) | func etcdVolumeMounts() []v1.VolumeMount { function etcdContainer (line 37) | func etcdContainer(cmd []string, repo, version string) v1.Container { function containerWithProbes (line 60) | func containerWithProbes(c v1.Container, lp *v1.Probe, rp *v1.Probe) v1.... function containerWithRequirements (line 66) | func containerWithRequirements(c v1.Container, r v1.ResourceRequirements... function newEtcdProbe (line 71) | func newEtcdProbe(isSecure bool) *v1.Probe { function applyPodPolicy (line 91) | func applyPodPolicy(clusterName string, pod *v1.Pod, policy *api.PodPoli... function IsPodReady (line 126) | func IsPodReady(pod *v1.Pod) bool { function getPodReadyCondition (line 131) | func getPodReadyCondition(status *v1.PodStatus) *v1.PodCondition { function PodSpecToPrettyJSON (line 140) | func PodSpecToPrettyJSON(pod *v1.Pod) (string, error) { FILE: third_party/etcd-operator/pkg/util/k8sutil/tls.go type TLSData (line 24) | type TLSData struct function GetTLSDataFromSecret (line 31) | func GetTLSDataFromSecret(kubecli kubernetes.Interface, ns, se string) (... FILE: third_party/etcd-operator/pkg/util/probe/readyz.go constant HTTPReadyzEndpoint (line 23) | HTTPReadyzEndpoint = "/readyz" function SetReady (line 31) | func SetReady() { function ReadyzHandler (line 38) | func ReadyzHandler(w http.ResponseWriter, r *http.Request) { FILE: third_party/etcd-operator/pkg/util/retryutil/retry_util.go type RetryError (line 22) | type RetryError struct method Error (line 26) | func (e *RetryError) Error() string { function IsRetryFailure (line 30) | func IsRetryFailure(err error) bool { type ConditionFunc (line 35) | type ConditionFunc function Retry (line 41) | func Retry(interval time.Duration, maxRetries int, f ConditionFunc) error { FILE: third_party/etcd-operator/pkg/util/tencentcloudutil/cosfactory/client.go type COSClient (line 30) | type COSClient struct function NewClientFromSecret (line 35) | func NewClientFromSecret(kubecli kubernetes.Interface, namespace, cosSec... function NewClientFromMetadata (line 63) | func NewClientFromMetadata(role string) (w *COSClient, err error) { FILE: third_party/etcd-operator/pkg/util/tencentcloudutil/metadata/credential/secret.go type metadataResponse (line 14) | type metadataResponse struct type Credential (line 22) | type Credential struct method GetSecret (line 37) | func (c *Credential) GetSecret() (string, string, string, error) { method refresh (line 49) | func (c *Credential) refresh() error { function NewCredential (line 31) | func NewCredential(role string) *Credential { FILE: third_party/etcd-operator/pkg/util/util.go function PresentIn (line 18) | func PresentIn(a string, list []string) bool { FILE: third_party/etcd-operator/test/e2e/basic_test.go function TestCreateCluster (line 27) | func TestCreateCluster(t *testing.T) { function TestPauseControl (line 50) | func TestPauseControl(t *testing.T) { function TestEtcdUpgrade (line 104) | func TestEtcdUpgrade(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/cluster_status_test.go function TestReadyMembersStatus (line 29) | func TestReadyMembersStatus(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/e2eslow/backup_restore_test.go function init (line 43) | func init() { function TestBackupAndRestore (line 48) | func TestBackupAndRestore(t *testing.T) { function verifyAWSEnvVars (line 92) | func verifyAWSEnvVars() error { function getEndpoints (line 102) | func getEndpoints(kubeClient kubernetes.Interface, secureClient bool, na... function testEtcdBackupOperatorForS3Backup (line 134) | func testEtcdBackupOperatorForS3Backup(t *testing.T, clusterName, operat... function testEtcdBackupOperatorForPeriodicS3Backup (line 179) | func testEtcdBackupOperatorForPeriodicS3Backup(t *testing.T, clusterName... function testEtcdRestoreOperatorForS3Source (line 269) | func testEtcdRestoreOperatorForS3Source(t *testing.T, clusterName, s3Pat... FILE: third_party/etcd-operator/test/e2e/e2eslow/disruptive_test.go function TestRestartOperator (line 25) | func TestRestartOperator(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/e2eslow/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: third_party/etcd-operator/test/e2e/e2eutil/crd_util.go type StorageCheckerOptions (line 32) | type StorageCheckerOptions struct function CreateCluster (line 38) | func CreateCluster(t *testing.T, crClient versioned.Interface, namespace... function UpdateCluster (line 49) | func UpdateCluster(crClient versioned.Interface, cl *api.EtcdCluster, ma... function AtomicUpdateClusterCR (line 53) | func AtomicUpdateClusterCR(crClient versioned.Interface, name, namespace... function DeleteCluster (line 75) | func DeleteCluster(t *testing.T, crClient versioned.Interface, kubeClien... FILE: third_party/etcd-operator/test/e2e/e2eutil/etcd_util.go constant etcdKeyFoo (line 26) | etcdKeyFoo = "foo" constant etcdValBar (line 27) | etcdValBar = "bar" function PutDataToEtcd (line 30) | func PutDataToEtcd(url string) error { function CheckEtcdData (line 42) | func CheckEtcdData(t *testing.T, url string) { function createEtcdClient (line 64) | func createEtcdClient(addr string) (*clientv3.Client, error) { FILE: third_party/etcd-operator/test/e2e/e2eutil/spec_util.go function NewCluster (line 23) | func NewCluster(genName string, size int) *api.EtcdCluster { function NewS3Backup (line 39) | func NewS3Backup(endpoints []string, clusterName, path, secret, clientTL... function NewS3RestoreSource (line 64) | func NewS3RestoreSource(path, awsSecret string) *api.S3RestoreSource { function NewEtcdRestore (line 72) | func NewEtcdRestore(clusterName string, size int, restoreSource api.Rest... function ClusterCRWithTLS (line 93) | func ClusterCRWithTLS(cl *api.EtcdCluster, memberPeerTLSSecret, memberSe... function ClusterWithVersion (line 105) | func ClusterWithVersion(cl *api.EtcdCluster, version string) *api.EtcdCl... function NameLabelSelector (line 111) | func NameLabelSelector(name string) map[string]string { FILE: third_party/etcd-operator/test/e2e/e2eutil/tls.go function PrepareTLS (line 31) | func PrepareTLS(clusterName, namespace, memberPeerTLSSecret, memberClien... function PreparePeerTLSSecret (line 48) | func PreparePeerTLSSecret(clusterName, ns, secretName string) error { function PrepareClientTLSSecret (line 82) | func PrepareClientTLSSecret(dir, clusterName, ns, mSecret, oSecret strin... function prepareTLSCerts (line 131) | func prepareTLSCerts(certPath, keyPath, caPath string, hosts []string) e... function prepareKeyAndCert (line 147) | func prepareKeyAndCert(certPath, keyPath string, hosts []string) error { function publicKey (line 209) | func publicKey(priv interface{}) interface{} { function pemBlockForKey (line 220) | func pemBlockForKey(priv interface{}) (*pem.Block, error) { FILE: third_party/etcd-operator/test/e2e/e2eutil/util.go function DeleteSecrets (line 32) | func DeleteSecrets(kubecli kubernetes.Interface, namespace string, secre... function KillMembers (line 43) | func KillMembers(kubecli kubernetes.Interface, namespace string, names .... function LogfWithTimestamp (line 53) | func LogfWithTimestamp(t *testing.T, format string, args ...interface{}) { function printContainerStatus (line 57) | func printContainerStatus(buf *bytes.Buffer, ss []v1.ContainerStatus) { function DeleteBackupFiles (line 68) | func DeleteBackupFiles(wr writer.Writer, files []string) error { FILE: third_party/etcd-operator/test/e2e/e2eutil/wait_util.go type acceptFunc (line 40) | type acceptFunc type filterFunc (line 41) | type filterFunc function CalculateRestoreWaitTime (line 43) | func CalculateRestoreWaitTime(needDataClone bool) int { function WaitUntilPodSizeReached (line 52) | func WaitUntilPodSizeReached(t *testing.T, kubeClient kubernetes.Interfa... function WaitUntilSizeReached (line 81) | func WaitUntilSizeReached(t *testing.T, crClient versioned.Interface, si... function WaitSizeAndVersionReached (line 85) | func WaitSizeAndVersionReached(t *testing.T, kubeClient kubernetes.Inter... function getVersionFromImage (line 117) | func getVersionFromImage(image string) string { function waitSizeReachedWithAccept (line 121) | func waitSizeReachedWithAccept(t *testing.T, crClient versioned.Interfac... function WaitUntilMembersWithNamesDeleted (line 148) | func WaitUntilMembersWithNamesDeleted(t *testing.T, crClient versioned.I... function waitResourcesDeleted (line 176) | func waitResourcesDeleted(t *testing.T, kubeClient kubernetes.Interface,... function WaitPodsWithImageDeleted (line 211) | func WaitPodsWithImageDeleted(kubecli kubernetes.Interface, namespace, i... function WaitPodsDeleted (line 222) | func WaitPodsDeleted(kubecli kubernetes.Interface, namespace string, ret... function WaitPodsDeletedCompletely (line 227) | func WaitPodsDeletedCompletely(kubecli kubernetes.Interface, namespace s... function waitPodsDeleted (line 231) | func waitPodsDeleted(kubecli kubernetes.Interface, namespace string, ret... function WaitUntilOperatorReady (line 257) | func WaitUntilOperatorReady(kubecli kubernetes.Interface, namespace, nam... function WaitUntilNoBackupFiles (line 281) | func WaitUntilNoBackupFiles(wr writer.Writer, path string, timeout int) ... FILE: third_party/etcd-operator/test/e2e/framework/framework.go constant etcdBackupOperatorName (line 43) | etcdBackupOperatorName = "etcd-backup-operator" constant etcdRestoreOperatorName (line 44) | etcdRestoreOperatorName = "etcd-restore-operator" constant etcdRestoreOperatorServiceName (line 45) | etcdRestoreOperatorServiceName = "etcd-restore-operator" constant etcdRestoreServicePort (line 46) | etcdRestoreServicePort = 19999 type Framework (line 49) | type Framework struct method setup (line 106) | func (f *Framework) setup() error { method SetupEtcdOperator (line 117) | func (f *Framework) SetupEtcdOperator() error { method DeleteEtcdOperatorCompletely (line 204) | func (f *Framework) DeleteEtcdOperatorCompletely() error { method deleteOperatorCompletely (line 208) | func (f *Framework) deleteOperatorCompletely(name string) error { method SetupEtcdRestoreOperatorService (line 232) | func (f *Framework) SetupEtcdRestoreOperatorService() error { function setup (line 57) | func setup() error { function teardown (line 87) | func teardown() error { function describePod (line 195) | func describePod(ns, name string) { FILE: third_party/etcd-operator/test/e2e/framework/main_entry.go function MainEntry (line 24) | func MainEntry(m *testing.M) { FILE: third_party/etcd-operator/test/e2e/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: third_party/etcd-operator/test/e2e/pv_test.go function TestCreateClusterWithPV (line 29) | func TestCreateClusterWithPV(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/recovery_test.go function TestOneMemberRecovery (line 25) | func TestOneMemberRecovery(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/resize_test.go function TestResizeCluster3to5 (line 26) | func TestResizeCluster3to5(t *testing.T) { function TestResizeCluster5to3 (line 59) | func TestResizeCluster5to3(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/tls_test.go function init (line 28) | func init() { function TestTLS (line 32) | func TestTLS(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/upgradetest/framework/framework.go type Config (line 36) | type Config struct type Framework (line 44) | type Framework struct method CreateOperator (line 69) | func (f *Framework) CreateOperator(name string) error { method DeleteOperator (line 129) | func (f *Framework) DeleteOperator(name string) error { method UpgradeOperator (line 150) | func (f *Framework) UpgradeOperator(name string) error { function New (line 51) | func New(fc Config) (*Framework, error) { function operatorLabelSelector (line 170) | func operatorLabelSelector(name string) map[string]string { FILE: third_party/etcd-operator/test/e2e/upgradetest/main_test.go function TestMain (line 29) | func TestMain(m *testing.M) { FILE: third_party/etcd-operator/test/e2e/upgradetest/upgrade_test.go function newOperatorName (line 28) | func newOperatorName() string { function TestResize (line 33) | func TestResize(t *testing.T) { function TestHealOneMemberForOldCluster (line 85) | func TestHealOneMemberForOldCluster(t *testing.T) { FILE: third_party/etcd-operator/test/e2e/util.go constant envParallelTest (line 18) | envParallelTest = "PARALLEL_TEST" constant envParallelTestTrue (line 19) | envParallelTestTrue = "true" FILE: third_party/etcd-operator/test/logcollector/main.go function main (line 38) | func main() { function podRunning (line 126) | func podRunning(event watch.Event) (bool, error) {