Documentation ¶
Index ¶
Constants ¶
View Source
const (
CAggregatesResourceType = "aggregates"
)
View Source
const (
CInventoriesResourceType = "inventories"
)
View Source
const (
CSizesResourceType = "sizes"
)
View Source
const (
CStatusSubresource = "status"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateInterface ¶
type AggregateInterface interface { Get(ctx context.Context, name string, opts metav1.GetOptions) (*metalv1alpha4.Aggregate, error) List(ctx context.Context, opts metav1.ListOptions) (*metalv1alpha4.AggregateList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Create(ctx context.Context, aggregate *metalv1alpha4.Aggregate, opts metav1.CreateOptions) (*metalv1alpha4.Aggregate, error) Update(ctx context.Context, aggregate *metalv1alpha4.Aggregate, opts metav1.UpdateOptions) (*metalv1alpha4.Aggregate, error) UpdateStatus(ctx context.Context, aggregate *metalv1alpha4.Aggregate, opts metav1.UpdateOptions) (*metalv1alpha4.Aggregate, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*metalv1alpha4.Aggregate, error) }
type InventoryInterface ¶
type InventoryInterface interface { Get(ctx context.Context, name string, opts metav1.GetOptions) (*metalv1alpha4.Inventory, error) List(ctx context.Context, opts metav1.ListOptions) (*metalv1alpha4.InventoryList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Create(ctx context.Context, inventory *metalv1alpha4.Inventory, opts metav1.CreateOptions) (*metalv1alpha4.Inventory, error) Update(ctx context.Context, inventory *metalv1alpha4.Inventory, opts metav1.UpdateOptions) (*metalv1alpha4.Inventory, error) UpdateStatus(ctx context.Context, inventory *metalv1alpha4.Inventory, opts metav1.UpdateOptions) (*metalv1alpha4.Inventory, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*metalv1alpha4.Inventory, error) }
type SizeInterface ¶
type SizeInterface interface { Get(ctx context.Context, name string, opts metav1.GetOptions) (*metalv1alpha4.Size, error) List(ctx context.Context, opts metav1.ListOptions) (*metalv1alpha4.SizeList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Create(ctx context.Context, size *metalv1alpha4.Size, opts metav1.CreateOptions) (*metalv1alpha4.Size, error) Update(ctx context.Context, size *metalv1alpha4.Size, opts metav1.UpdateOptions) (*metalv1alpha4.Size, error) UpdateStatus(ctx context.Context, size *metalv1alpha4.Size, opts metav1.UpdateOptions) (*metalv1alpha4.Size, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*metalv1alpha4.Size, error) }
type V1Alpha1Interface ¶
type V1Alpha1Interface interface { Sizes(namespace string) SizeInterface Inventories(namespace string) InventoryInterface Aggregates(namespace string) AggregateInterface }
func NewForConfig ¶
func NewForConfig(c *rest.Config) (V1Alpha1Interface, error)
Click to show internal directories.
Click to hide internal directories.