Documentation ¶
Index ¶
Constants ¶
View Source
const ( CSwitchesResourceType = "switches" CStatusSubresource = "status" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwitchInterface ¶
type SwitchInterface interface { Get(context.Context, string, metav1.GetOptions) (*metalv1alpha4.NetworkSwitch, error) List(context.Context, metav1.ListOptions) (*metalv1alpha4.NetworkSwitchList, error) Watch(context.Context, metav1.ListOptions) (watch.Interface, error) Create(context.Context, *metalv1alpha4.NetworkSwitch, metav1.CreateOptions) (*metalv1alpha4.NetworkSwitch, error) Update(context.Context, *metalv1alpha4.NetworkSwitch, metav1.UpdateOptions) (*metalv1alpha4.NetworkSwitch, error) UpdateStatus(context.Context, *metalv1alpha4.NetworkSwitch, metav1.UpdateOptions) (*metalv1alpha4.NetworkSwitch, error) Delete(context.Context, string, metav1.DeleteOptions) error DeleteCollection(context.Context, metav1.DeleteOptions, metav1.ListOptions) error Patch(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*metalv1alpha4.NetworkSwitch, error) }
type SwitchV1Alpha1Client ¶
type SwitchV1Alpha1Client struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SwitchV1Alpha1Client, error)
func (*SwitchV1Alpha1Client) Switches ¶
func (c *SwitchV1Alpha1Client) Switches(namespace string) SwitchInterface
type SwitchV1Alpha1Interface ¶
type SwitchV1Alpha1Interface interface {
Projects(namespace string) SwitchInterface
}
Click to show internal directories.
Click to hide internal directories.