Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalCachedFactory ¶
func NewLocalCachedFactory(s storage.StorageApi) *localCachedFactory
Types ¶
type FactoryApi ¶
type FactoryApi interface { GetForInstance(instance *types.Instance) (*kubernetes.Clientset, error) GetKubeletForInstance(instance *types.Instance) (*KubeletClient, error) }
type FactoryMock ¶
func (*FactoryMock) GetForInstance ¶
func (m *FactoryMock) GetForInstance(instance *types.Instance) (*kubernetes.Clientset, error)
func (*FactoryMock) GetKubeletForInstance ¶
func (m *FactoryMock) GetKubeletForInstance(i *types.Instance) (*KubeletClient, error)
type KubeletClient ¶
type KubeletClient struct {
// contains filtered or unexported fields
}
func NewKubeletClient ¶
func NewKubeletClient(instance *types.Instance, proxyHost string) (*KubeletClient, error)
func (*KubeletClient) IsManager ¶
func (c *KubeletClient) IsManager() (bool, error)
Click to show internal directories.
Click to hide internal directories.