v1alpha1

package
v0.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CIPsResourceType = "ips"
)
View Source
const (
	CNetworkCounterCountersResourceType = "networkcounters"
)
View Source
const (
	CNetworksResourceType = "networks"
)
View Source
const (
	CStatusSubresource = "status"
)
View Source
const (
	CSubnetsResourceType = "subnets"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IPInterface

type IPInterface interface {
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.IP, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.IPList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Create(ctx context.Context, ip *v1alpha1.IP, opts metav1.CreateOptions) (*v1alpha1.IP, error)
	Update(ctx context.Context, ip *v1alpha1.IP, opts metav1.UpdateOptions) (*v1alpha1.IP, error)
	UpdateStatus(ctx context.Context, ip *v1alpha1.IP, opts metav1.UpdateOptions) (*v1alpha1.IP, 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) (*v1alpha1.IP, error)
}

type NetworkCounterInterface

type NetworkCounterInterface interface {
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.NetworkCounter, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.NetworkCounterList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Create(ctx context.Context, networkCounter *v1alpha1.NetworkCounter, opts metav1.CreateOptions) (*v1alpha1.NetworkCounter, error)
	Update(ctx context.Context, networkCounter *v1alpha1.NetworkCounter, opts metav1.UpdateOptions) (*v1alpha1.NetworkCounter, error)
	UpdateStatus(ctx context.Context, networkCounter *v1alpha1.NetworkCounter, opts metav1.UpdateOptions) (*v1alpha1.NetworkCounter, 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) (*v1alpha1.NetworkCounter, error)
}

type NetworkInterface

type NetworkInterface interface {
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Network, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.NetworkList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Create(ctx context.Context, network *v1alpha1.Network, opts metav1.CreateOptions) (*v1alpha1.Network, error)
	Update(ctx context.Context, network *v1alpha1.Network, opts metav1.UpdateOptions) (*v1alpha1.Network, error)
	UpdateStatus(ctx context.Context, network *v1alpha1.Network, opts metav1.UpdateOptions) (*v1alpha1.Network, 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) (*v1alpha1.Network, error)
}

type SubnetInterface

type SubnetInterface interface {
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Subnet, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.SubnetList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Create(ctx context.Context, subnet *v1alpha1.Subnet, opts metav1.CreateOptions) (*v1alpha1.Subnet, error)
	Update(ctx context.Context, subnet *v1alpha1.Subnet, opts metav1.UpdateOptions) (*v1alpha1.Subnet, error)
	UpdateStatus(ctx context.Context, subnet *v1alpha1.Subnet, opts metav1.UpdateOptions) (*v1alpha1.Subnet, 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) (*v1alpha1.Subnet, error)
}

type V1Alpha1Interface

type V1Alpha1Interface interface {
	IPs(namespace string) IPInterface
	Networks(namespace string) NetworkInterface
	NetworkCounters(namespace string) NetworkCounterInterface
	Subnets(namespace string) SubnetInterface
}

func NewForConfig

func NewForConfig(c *rest.Config) (V1Alpha1Interface, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL