v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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 DdoscooV1alpha1Client

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

DdoscooV1alpha1Client is used to interact with features provided by the ddoscoo.alicloud.kubeform.com group.

func New

New creates a new DdoscooV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new DdoscooV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *DdoscooV1alpha1Client

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

func (*DdoscooV1alpha1Client) DomainResources

func (c *DdoscooV1alpha1Client) DomainResources(namespace string) DomainResourceInterface

func (*DdoscooV1alpha1Client) Instances

func (c *DdoscooV1alpha1Client) Instances(namespace string) InstanceInterface

func (*DdoscooV1alpha1Client) Ports

func (c *DdoscooV1alpha1Client) Ports(namespace string) PortInterface

func (*DdoscooV1alpha1Client) RESTClient

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

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

func (*DdoscooV1alpha1Client) SchedulerRules

func (c *DdoscooV1alpha1Client) SchedulerRules(namespace string) SchedulerRuleInterface

type DdoscooV1alpha1Interface

type DdoscooV1alpha1Interface interface {
	RESTClient() rest.Interface
	DomainResourcesGetter
	InstancesGetter
	PortsGetter
	SchedulerRulesGetter
}

type DomainResourceExpansion

type DomainResourceExpansion interface{}

type DomainResourceInterface

type DomainResourceInterface interface {
	Create(ctx context.Context, domainResource *v1alpha1.DomainResource, opts v1.CreateOptions) (*v1alpha1.DomainResource, error)
	Update(ctx context.Context, domainResource *v1alpha1.DomainResource, opts v1.UpdateOptions) (*v1alpha1.DomainResource, error)
	UpdateStatus(ctx context.Context, domainResource *v1alpha1.DomainResource, opts v1.UpdateOptions) (*v1alpha1.DomainResource, 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.DomainResource, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DomainResourceList, 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.DomainResource, err error)
	DomainResourceExpansion
}

DomainResourceInterface has methods to work with DomainResource resources.

type DomainResourcesGetter

type DomainResourcesGetter interface {
	DomainResources(namespace string) DomainResourceInterface
}

DomainResourcesGetter has a method to return a DomainResourceInterface. A group's client should implement this interface.

type InstanceExpansion

type InstanceExpansion interface{}

type InstanceInterface

type InstanceInterface interface {
	Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (*v1alpha1.Instance, error)
	Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error)
	UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, 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.Instance, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InstanceList, 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.Instance, err error)
	InstanceExpansion
}

InstanceInterface has methods to work with Instance resources.

type InstancesGetter

type InstancesGetter interface {
	Instances(namespace string) InstanceInterface
}

InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.

type PortExpansion

type PortExpansion interface{}

type PortInterface

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 PortsGetter

type PortsGetter interface {
	Ports(namespace string) PortInterface
}

PortsGetter has a method to return a PortInterface. A group's client should implement this interface.

type SchedulerRuleExpansion

type SchedulerRuleExpansion interface{}

type SchedulerRuleInterface

type SchedulerRuleInterface interface {
	Create(ctx context.Context, schedulerRule *v1alpha1.SchedulerRule, opts v1.CreateOptions) (*v1alpha1.SchedulerRule, error)
	Update(ctx context.Context, schedulerRule *v1alpha1.SchedulerRule, opts v1.UpdateOptions) (*v1alpha1.SchedulerRule, error)
	UpdateStatus(ctx context.Context, schedulerRule *v1alpha1.SchedulerRule, opts v1.UpdateOptions) (*v1alpha1.SchedulerRule, 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.SchedulerRule, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SchedulerRuleList, 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.SchedulerRule, err error)
	SchedulerRuleExpansion
}

SchedulerRuleInterface has methods to work with SchedulerRule resources.

type SchedulerRulesGetter

type SchedulerRulesGetter interface {
	SchedulerRules(namespace string) SchedulerRuleInterface
}

SchedulerRulesGetter has a method to return a SchedulerRuleInterface. 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