Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSources ¶
func ParseSources(sourcesFlag string) ([]sync.SourceConfig, error)
ParseSources parse a json formatted SourceConfig array string and performs validations on the content
func ParseSyncProviderURIs ¶
func ParseSyncProviderURIs(uris []string) ([]sync.SourceConfig, error)
ParseSyncProviderURIs uri flag based sync sources to SourceConfig array. Replaces uri prefixes where necessary to derive SourceConfig
Types ¶
type IK8sClientBuilder ¶
type ISyncBuilder ¶
type KubernetesClientBuilder ¶
type KubernetesClientBuilder struct{}
func (KubernetesClientBuilder) GetK8sClient ¶
func (kcb KubernetesClientBuilder) GetK8sClient() (dynamic.Interface, error)
type SyncBuilder ¶
type SyncBuilder struct {
// contains filtered or unexported fields
}
func NewSyncBuilder ¶
func NewSyncBuilder() *SyncBuilder
func (*SyncBuilder) SyncFromURI ¶
func (*SyncBuilder) SyncsFromConfig ¶
func (sb *SyncBuilder) SyncsFromConfig(sourceConfigs []sync.SourceConfig, logger *logger.Logger) ([]sync.ISync, error)
Click to show internal directories.
Click to hide internal directories.