Documentation ¶
Index ¶
- type ConfigurationInKubernetes
- func (o *ConfigurationInKubernetes) GetHealth() error
- func (o *ConfigurationInKubernetes) GetSingleDocument(kind string, id string) (string, error)
- func (o *ConfigurationInKubernetes) GetSingleDocumentAnyType(kind string, id string, apiGroup string, apiVersion string) (string, error)
- func (o *ConfigurationInKubernetes) StoreDocument(kind string, document interface{}) error
- type ConfigurationInLocalFilesystem
- func (fs *ConfigurationInLocalFilesystem) GetHealth() error
- func (fs *ConfigurationInLocalFilesystem) GetSingleDocument(kind string, id string) (string, error)
- func (fs *ConfigurationInLocalFilesystem) GetSingleDocumentAnyType(kind string, id string, apiGroup string, apiVersion string) (string, error)
- func (fs *ConfigurationInLocalFilesystem) StoreDocument(kind string, document interface{}) error
- type ConfigurationProvider
- type ObjectMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationInKubernetes ¶
type ConfigurationInKubernetes struct {
// contains filtered or unexported fields
}
func CreateKubernetesConfigurationProvider ¶
func CreateKubernetesConfigurationProvider(namespace string) *ConfigurationInKubernetes
func (*ConfigurationInKubernetes) GetHealth ¶
func (o *ConfigurationInKubernetes) GetHealth() error
func (*ConfigurationInKubernetes) GetSingleDocument ¶
func (o *ConfigurationInKubernetes) GetSingleDocument(kind string, id string) (string, error)
func (*ConfigurationInKubernetes) GetSingleDocumentAnyType ¶
func (*ConfigurationInKubernetes) StoreDocument ¶
func (o *ConfigurationInKubernetes) StoreDocument(kind string, document interface{}) error
type ConfigurationInLocalFilesystem ¶
type ConfigurationInLocalFilesystem struct {
// contains filtered or unexported fields
}
func NewConfigurationInLocalFilesystemProvider ¶
func NewConfigurationInLocalFilesystemProvider(path string, namespace string) *ConfigurationInLocalFilesystem
func (*ConfigurationInLocalFilesystem) GetHealth ¶
func (fs *ConfigurationInLocalFilesystem) GetHealth() error
func (*ConfigurationInLocalFilesystem) GetSingleDocument ¶
func (fs *ConfigurationInLocalFilesystem) GetSingleDocument(kind string, id string) (string, error)
func (*ConfigurationInLocalFilesystem) GetSingleDocumentAnyType ¶
func (*ConfigurationInLocalFilesystem) StoreDocument ¶
func (fs *ConfigurationInLocalFilesystem) StoreDocument(kind string, document interface{}) error
type ConfigurationProvider ¶
type ConfigurationProvider interface { GetSingleDocument(kind string, id string) (string, error) GetSingleDocumentAnyType(kind string, id string, apiGroup string, apiVersion string) (string, error) StoreDocument(kind string, document interface{}) error GetHealth() error }
func CreateConfigurationProvider ¶
func CreateConfigurationProvider(providerName string, namespace string, localPath string) (ConfigurationProvider, error)
CreateConfigurationProvider is a configuration factory
type ObjectMetadata ¶
type ObjectMetadata struct {
Name string `json:"name" structs:"name"`
}
Click to show internal directories.
Click to hide internal directories.