Documentation
¶
Index ¶
- Constants
- type Factory
- func (f *Factory) DynamicClient(cluster *kops.Cluster) (dynamic.Interface, error)
- func (f *Factory) HTTPClient(cluster *kops.Cluster) (*http.Client, error)
- func (f *Factory) KopsClient() (simple.Clientset, error)
- func (f *Factory) KopsStateStore() string
- func (f *Factory) RESTConfig(cluster *kops.Cluster) (*rest.Config, error)
- func (f *Factory) VFSContext() *vfs.VFSContext
- type FactoryOptions
Constants ¶
View Source
const ( STATE_ERROR = `` /* 185-byte string literal not displayed */ INVALID_STATE_ERROR = `` /* 201-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(options *FactoryOptions) *Factory
func (*Factory) DynamicClient ¶ added in v1.25.0
DynamicClient returns a dynamic client
func (*Factory) HTTPClient ¶ added in v1.31.0
func (*Factory) KopsClient ¶ added in v1.25.0
func (*Factory) KopsStateStore ¶ added in v1.19.0
KopsStateStore returns the configured KOPS_STATE_STORE in use
func (*Factory) RESTConfig ¶ added in v1.31.0
func (*Factory) VFSContext ¶ added in v1.28.0
func (f *Factory) VFSContext() *vfs.VFSContext
type FactoryOptions ¶
type FactoryOptions struct {
RegistryPath string
}
Click to show internal directories.
Click to hide internal directories.