Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct {
// contains filtered or unexported fields
}
Clientset is a client for the srlinux crds.
func NewForConfig ¶
NewForConfig returns a new Clientset based on c.
func (*Clientset) Srlinux ¶
func (c *Clientset) Srlinux(namespace string) SrlinuxInterface
type Interface ¶
type Interface interface {
Srlinux(namespace string) SrlinuxInterface
}
Interface is the clientset interface for srlinux.
type SrlinuxInterface ¶
type SrlinuxInterface interface {
List(ctx context.Context, opts metav1.ListOptions) (*typesv1alpha1.SrlinuxList, error)
Get(ctx context.Context, name string, options metav1.GetOptions) (*typesv1alpha1.Srlinux, error)
Create(ctx context.Context, srlinux *typesv1alpha1.Srlinux) (*typesv1alpha1.Srlinux, error)
Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Unstructured(ctx context.Context, name string, opts metav1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Update(ctx context.Context, obj *unstructured.Unstructured, opts metav1.UpdateOptions) (*typesv1alpha1.Srlinux, error)
}
SrlinuxInterface provides access to the Srlinux CRD.
Click to show internal directories.
Click to hide internal directories.