Documentation ¶
Index ¶
Constants ¶
View Source
const TimeFormat = "Mon, 02 Jan 2006 15:04:05 GMT"
Variables ¶
This section is empty.
Functions ¶
func SetFetchConfigFlags ¶
Types ¶
type Fetcher ¶
type Fetcher struct { clusterconfig.ClusterConfig // contains filtered or unexported fields }
Fetcher defines configuration to fetch completion datas
func NewFetcher ¶
func NewFetcher(fetchConfigCli *FetcherCli) *Fetcher
func (*Fetcher) GetResources ¶
func (f *Fetcher) GetResources(ctx context.Context, r resources.ResourceType) (map[string]resources.K8sResource, error)
func (*Fetcher) LoadFetcherState ¶
func (*Fetcher) SaveFetcherState ¶
type FetcherCli ¶
type FetcherCli struct { clusterconfig.ClusterConfigCli HttpEndpoint string FzfNamespace string FetcherCachePath string MinimumCache time.Duration PortForwardLocalPort int }
func GetFetchConfigCli ¶
func GetFetchConfigCli() FetcherCli
type FetcherState ¶
type FetcherState struct { ContextStates map[string]*fetcherContextState // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.