package v1alpha3
import "k8s.io/client-go/kubernetes/typed/resource/v1alpha3"
This package has the automatically generated typed clients.
Index ¶
- type DeviceTaintRuleExpansion
- type DeviceTaintRuleInterface
- type DeviceTaintRulesGetter
- type ResourceV1alpha3Client
- func New(c rest.Interface) *ResourceV1alpha3Client
- func NewForConfig(c *rest.Config) (*ResourceV1alpha3Client, error)
- func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ResourceV1alpha3Client, error)
- func NewForConfigOrDie(c *rest.Config) *ResourceV1alpha3Client
- func (c *ResourceV1alpha3Client) DeviceTaintRules() DeviceTaintRuleInterface
- func (c *ResourceV1alpha3Client) RESTClient() rest.Interface
- type ResourceV1alpha3Interface
Types ¶
type DeviceTaintRuleExpansion ¶
type DeviceTaintRuleExpansion interface{}
type DeviceTaintRuleInterface ¶
type DeviceTaintRuleInterface interface { Create(ctx context.Context, deviceTaintRule *resourcev1alpha3.DeviceTaintRule, opts v1.CreateOptions) (*resourcev1alpha3.DeviceTaintRule, error) Update(ctx context.Context, deviceTaintRule *resourcev1alpha3.DeviceTaintRule, opts v1.UpdateOptions) (*resourcev1alpha3.DeviceTaintRule, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*resourcev1alpha3.DeviceTaintRule, error) List(ctx context.Context, opts v1.ListOptions) (*resourcev1alpha3.DeviceTaintRuleList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *resourcev1alpha3.DeviceTaintRule, err error) Apply(ctx context.Context, deviceTaintRule *applyconfigurationsresourcev1alpha3.DeviceTaintRuleApplyConfiguration, opts v1.ApplyOptions) (result *resourcev1alpha3.DeviceTaintRule, err error) DeviceTaintRuleExpansion }
DeviceTaintRuleInterface has methods to work with DeviceTaintRule resources.
type DeviceTaintRulesGetter ¶
type DeviceTaintRulesGetter interface { DeviceTaintRules() DeviceTaintRuleInterface }
DeviceTaintRulesGetter has a method to return a DeviceTaintRuleInterface. A group's client should implement this interface.
type ResourceV1alpha3Client ¶
type ResourceV1alpha3Client struct {
// contains filtered or unexported fields
}
ResourceV1alpha3Client is used to interact with features provided by the resource.k8s.io group.
func New ¶
func New(c rest.Interface) *ResourceV1alpha3Client
New creates a new ResourceV1alpha3Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ResourceV1alpha3Client, error)
NewForConfig creates a new ResourceV1alpha3Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ResourceV1alpha3Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ResourceV1alpha3Client
NewForConfigOrDie creates a new ResourceV1alpha3Client for the given config and panics if there is an error in the config.
func (*ResourceV1alpha3Client) DeviceTaintRules ¶
func (c *ResourceV1alpha3Client) DeviceTaintRules() DeviceTaintRuleInterface
func (*ResourceV1alpha3Client) RESTClient ¶
func (c *ResourceV1alpha3Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ResourceV1alpha3Interface ¶
type ResourceV1alpha3Interface interface { RESTClient() rest.Interface DeviceTaintRulesGetter }
Source Files ¶
devicetaintrule.go doc.go generated_expansion.go resource_client.go
Directories ¶
Path | Synopsis |
---|---|
kubernetes/typed/resource/v1alpha3/fake | Package fake has the automatically generated clients. |
- Version
- v0.34.0-alpha.1
- Published
- Jun 16, 2025
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 4 hours ago –
Tools for package owners.