Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigTemplateKey = "template-content"
View Source
const ConfigTemplatePathKey = "template-path"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTemplate ¶
type ConfigTemplate struct { Path string Key string Priority int64 // contains filtered or unexported fields }
func FromConfigStore ¶
func FromConfigStore(store *configstore.Store, defaultFileName string) (*ConfigTemplate, error)
func New ¶
func New(path string) *ConfigTemplate
func (*ConfigTemplate) HealthzCheck ¶
func (t *ConfigTemplate) HealthzCheck(req *http.Request) error
func (*ConfigTemplate) ReadyzCheck ¶
func (t *ConfigTemplate) ReadyzCheck(req *http.Request) error
func (*ConfigTemplate) Register ¶
func (t *ConfigTemplate) Register(store *configstore.Store)
type ErrNotValidFile ¶
type ErrNotValidFile struct {
Path string
}
func (*ErrNotValidFile) Error ¶
func (err *ErrNotValidFile) Error() string
type ErrNotYetRefreshed ¶
type ErrNotYetRefreshed struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.