v1alpha1

package
v1.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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 CoreV1alpha1Client

type CoreV1alpha1Client struct {
	// contains filtered or unexported fields
}

CoreV1alpha1Client is used to interact with features provided by the core.edgenet.io group.

func New

New creates a new CoreV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CoreV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CoreV1alpha1Client

NewForConfigOrDie creates a new CoreV1alpha1Client for the given config and panics if there is an error in the config.

func (*CoreV1alpha1Client) NodeContributions

func (c *CoreV1alpha1Client) NodeContributions() NodeContributionInterface

func (*CoreV1alpha1Client) RESTClient

func (c *CoreV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*CoreV1alpha1Client) SliceClaims

func (c *CoreV1alpha1Client) SliceClaims(namespace string) SliceClaimInterface

func (*CoreV1alpha1Client) Slices

func (c *CoreV1alpha1Client) Slices() SliceInterface

func (*CoreV1alpha1Client) SubNamespaces

func (c *CoreV1alpha1Client) SubNamespaces(namespace string) SubNamespaceInterface

func (*CoreV1alpha1Client) TenantResourceQuotas

func (c *CoreV1alpha1Client) TenantResourceQuotas() TenantResourceQuotaInterface

func (*CoreV1alpha1Client) Tenants

func (c *CoreV1alpha1Client) Tenants() TenantInterface

type NodeContributionExpansion

type NodeContributionExpansion interface{}

type NodeContributionInterface

type NodeContributionInterface interface {
	Create(ctx context.Context, nodeContribution *v1alpha1.NodeContribution, opts v1.CreateOptions) (*v1alpha1.NodeContribution, error)
	Update(ctx context.Context, nodeContribution *v1alpha1.NodeContribution, opts v1.UpdateOptions) (*v1alpha1.NodeContribution, error)
	UpdateStatus(ctx context.Context, nodeContribution *v1alpha1.NodeContribution, opts v1.UpdateOptions) (*v1alpha1.NodeContribution, 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.NodeContribution, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NodeContributionList, 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.NodeContribution, err error)
	NodeContributionExpansion
}

NodeContributionInterface has methods to work with NodeContribution resources.

type NodeContributionsGetter

type NodeContributionsGetter interface {
	NodeContributions() NodeContributionInterface
}

NodeContributionsGetter has a method to return a NodeContributionInterface. A group's client should implement this interface.

type SliceClaimExpansion

type SliceClaimExpansion interface{}

type SliceClaimInterface

type SliceClaimInterface interface {
	Create(ctx context.Context, sliceClaim *v1alpha1.SliceClaim, opts v1.CreateOptions) (*v1alpha1.SliceClaim, error)
	Update(ctx context.Context, sliceClaim *v1alpha1.SliceClaim, opts v1.UpdateOptions) (*v1alpha1.SliceClaim, error)
	UpdateStatus(ctx context.Context, sliceClaim *v1alpha1.SliceClaim, opts v1.UpdateOptions) (*v1alpha1.SliceClaim, 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.SliceClaim, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SliceClaimList, 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.SliceClaim, err error)
	SliceClaimExpansion
}

SliceClaimInterface has methods to work with SliceClaim resources.

type SliceClaimsGetter

type SliceClaimsGetter interface {
	SliceClaims(namespace string) SliceClaimInterface
}

SliceClaimsGetter has a method to return a SliceClaimInterface. A group's client should implement this interface.

type SliceExpansion

type SliceExpansion interface{}

type SliceInterface

type SliceInterface interface {
	Create(ctx context.Context, slice *v1alpha1.Slice, opts v1.CreateOptions) (*v1alpha1.Slice, error)
	Update(ctx context.Context, slice *v1alpha1.Slice, opts v1.UpdateOptions) (*v1alpha1.Slice, error)
	UpdateStatus(ctx context.Context, slice *v1alpha1.Slice, opts v1.UpdateOptions) (*v1alpha1.Slice, 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.Slice, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SliceList, 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.Slice, err error)
	SliceExpansion
}

SliceInterface has methods to work with Slice resources.

type SlicesGetter

type SlicesGetter interface {
	Slices() SliceInterface
}

SlicesGetter has a method to return a SliceInterface. A group's client should implement this interface.

type SubNamespaceExpansion

type SubNamespaceExpansion interface{}

type SubNamespaceInterface

type SubNamespaceInterface interface {
	Create(ctx context.Context, subNamespace *v1alpha1.SubNamespace, opts v1.CreateOptions) (*v1alpha1.SubNamespace, error)
	Update(ctx context.Context, subNamespace *v1alpha1.SubNamespace, opts v1.UpdateOptions) (*v1alpha1.SubNamespace, error)
	UpdateStatus(ctx context.Context, subNamespace *v1alpha1.SubNamespace, opts v1.UpdateOptions) (*v1alpha1.SubNamespace, 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.SubNamespace, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SubNamespaceList, 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.SubNamespace, err error)
	SubNamespaceExpansion
}

SubNamespaceInterface has methods to work with SubNamespace resources.

type SubNamespacesGetter

type SubNamespacesGetter interface {
	SubNamespaces(namespace string) SubNamespaceInterface
}

SubNamespacesGetter has a method to return a SubNamespaceInterface. A group's client should implement this interface.

type TenantExpansion

type TenantExpansion interface{}

type TenantInterface

type TenantInterface interface {
	Create(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.CreateOptions) (*v1alpha1.Tenant, error)
	Update(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.UpdateOptions) (*v1alpha1.Tenant, error)
	UpdateStatus(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.UpdateOptions) (*v1alpha1.Tenant, 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.Tenant, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TenantList, 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.Tenant, err error)
	TenantExpansion
}

TenantInterface has methods to work with Tenant resources.

type TenantResourceQuotaExpansion

type TenantResourceQuotaExpansion interface{}

type TenantResourceQuotaInterface

type TenantResourceQuotaInterface interface {
	Create(ctx context.Context, tenantResourceQuota *v1alpha1.TenantResourceQuota, opts v1.CreateOptions) (*v1alpha1.TenantResourceQuota, error)
	Update(ctx context.Context, tenantResourceQuota *v1alpha1.TenantResourceQuota, opts v1.UpdateOptions) (*v1alpha1.TenantResourceQuota, error)
	UpdateStatus(ctx context.Context, tenantResourceQuota *v1alpha1.TenantResourceQuota, opts v1.UpdateOptions) (*v1alpha1.TenantResourceQuota, 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.TenantResourceQuota, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TenantResourceQuotaList, 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.TenantResourceQuota, err error)
	TenantResourceQuotaExpansion
}

TenantResourceQuotaInterface has methods to work with TenantResourceQuota resources.

type TenantResourceQuotasGetter

type TenantResourceQuotasGetter interface {
	TenantResourceQuotas() TenantResourceQuotaInterface
}

TenantResourceQuotasGetter has a method to return a TenantResourceQuotaInterface. A group's client should implement this interface.

type TenantsGetter

type TenantsGetter interface {
	Tenants() TenantInterface
}

TenantsGetter has a method to return a TenantInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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