Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodPresetExpansion ¶
type PodPresetExpansion interface{}
type PodPresetInterface ¶
type PodPresetInterface interface { Create(*settings.PodPreset) (*settings.PodPreset, error) Update(*settings.PodPreset) (*settings.PodPreset, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*settings.PodPreset, error) List(opts v1.ListOptions) (*settings.PodPresetList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *settings.PodPreset, err error) PodPresetExpansion }
PodPresetInterface has methods to work with PodPreset resources.
type PodPresetsGetter ¶
type PodPresetsGetter interface {
PodPresets(namespace string) PodPresetInterface
}
PodPresetsGetter has a method to return a PodPresetInterface. A group's client should implement this interface.
type SettingsClient ¶
type SettingsClient struct {
// contains filtered or unexported fields
}
SettingsClient is used to interact with features provided by the settings.k8s.io group.
func New ¶
func New(c rest.Interface) *SettingsClient
New creates a new SettingsClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SettingsClient, error)
NewForConfig creates a new SettingsClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *SettingsClient
NewForConfigOrDie creates a new SettingsClient for the given config and panics if there is an error in the config.
func (*SettingsClient) PodPresets ¶
func (c *SettingsClient) PodPresets(namespace string) PodPresetInterface
func (*SettingsClient) RESTClient ¶
func (c *SettingsClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type SettingsInterface ¶
type SettingsInterface interface { RESTClient() rest.Interface PodPresetsGetter }