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 PortExpansion ¶ added in v0.4.0
type PortExpansion interface{}
type PortInterface ¶ added in v0.4.0
type PortInterface interface { Create(ctx context.Context, port *v1alpha1.Port, opts v1.CreateOptions) (*v1alpha1.Port, error) Update(ctx context.Context, port *v1alpha1.Port, opts v1.UpdateOptions) (*v1alpha1.Port, error) UpdateStatus(ctx context.Context, port *v1alpha1.Port, opts v1.UpdateOptions) (*v1alpha1.Port, 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) (*v1alpha1.Port, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PortList, 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 *v1alpha1.Port, err error) PortExpansion }
PortInterface has methods to work with Port resources.
type PortV1alpha1Client ¶
type PortV1alpha1Client struct {
// contains filtered or unexported fields
}
PortV1alpha1Client is used to interact with features provided by the port.equinixmetal.kubeform.com group.
func New ¶
func New(c rest.Interface) *PortV1alpha1Client
New creates a new PortV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*PortV1alpha1Client, error)
NewForConfig creates a new PortV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *PortV1alpha1Client
NewForConfigOrDie creates a new PortV1alpha1Client for the given config and panics if there is an error in the config.
func (*PortV1alpha1Client) Ports ¶ added in v0.4.0
func (c *PortV1alpha1Client) Ports(namespace string) PortInterface
func (*PortV1alpha1Client) RESTClient ¶
func (c *PortV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*PortV1alpha1Client) VlanAttachments ¶
func (c *PortV1alpha1Client) VlanAttachments(namespace string) VlanAttachmentInterface
type PortV1alpha1Interface ¶
type PortV1alpha1Interface interface { RESTClient() rest.Interface PortsGetter VlanAttachmentsGetter }
type PortsGetter ¶ added in v0.4.0
type PortsGetter interface {
Ports(namespace string) PortInterface
}
PortsGetter has a method to return a PortInterface. A group's client should implement this interface.
type VlanAttachmentExpansion ¶
type VlanAttachmentExpansion interface{}
type VlanAttachmentInterface ¶
type VlanAttachmentInterface interface { Create(ctx context.Context, vlanAttachment *v1alpha1.VlanAttachment, opts v1.CreateOptions) (*v1alpha1.VlanAttachment, error) Update(ctx context.Context, vlanAttachment *v1alpha1.VlanAttachment, opts v1.UpdateOptions) (*v1alpha1.VlanAttachment, error) UpdateStatus(ctx context.Context, vlanAttachment *v1alpha1.VlanAttachment, opts v1.UpdateOptions) (*v1alpha1.VlanAttachment, 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) (*v1alpha1.VlanAttachment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VlanAttachmentList, 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 *v1alpha1.VlanAttachment, err error) VlanAttachmentExpansion }
VlanAttachmentInterface has methods to work with VlanAttachment resources.
type VlanAttachmentsGetter ¶
type VlanAttachmentsGetter interface {
VlanAttachments(namespace string) VlanAttachmentInterface
}
VlanAttachmentsGetter has a method to return a VlanAttachmentInterface. A group's client should implement this interface.