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 CertificateExpansion added in v0.4.0

type CertificateExpansion interface{}

type CertificateInterface added in v0.4.0

type CertificateInterface interface {
	Create(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.CreateOptions) (*v1alpha1.Certificate, error)
	Update(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (*v1alpha1.Certificate, error)
	UpdateStatus(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (*v1alpha1.Certificate, 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.Certificate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CertificateList, 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.Certificate, err error)
	CertificateExpansion
}

CertificateInterface has methods to work with Certificate resources.

type CertificatesGetter added in v0.4.0

type CertificatesGetter interface {
	Certificates(namespace string) CertificateInterface
}

CertificatesGetter has a method to return a CertificateInterface. A group's client should implement this interface.

type DomainExpansion

type DomainExpansion interface{}

type DomainInterface

type DomainInterface interface {
	Create(ctx context.Context, domain *v1alpha1.Domain, opts v1.CreateOptions) (*v1alpha1.Domain, error)
	Update(ctx context.Context, domain *v1alpha1.Domain, opts v1.UpdateOptions) (*v1alpha1.Domain, error)
	UpdateStatus(ctx context.Context, domain *v1alpha1.Domain, opts v1.UpdateOptions) (*v1alpha1.Domain, 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.Domain, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DomainList, 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.Domain, err error)
	DomainExpansion
}

DomainInterface has methods to work with Domain resources.

type DomainsGetter

type DomainsGetter interface {
	Domains(namespace string) DomainInterface
}

DomainsGetter has a method to return a DomainInterface. 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 ProtectionModuleExpansion added in v0.5.0

type ProtectionModuleExpansion interface{}

type ProtectionModuleInterface added in v0.5.0

type ProtectionModuleInterface interface {
	Create(ctx context.Context, protectionModule *v1alpha1.ProtectionModule, opts v1.CreateOptions) (*v1alpha1.ProtectionModule, error)
	Update(ctx context.Context, protectionModule *v1alpha1.ProtectionModule, opts v1.UpdateOptions) (*v1alpha1.ProtectionModule, error)
	UpdateStatus(ctx context.Context, protectionModule *v1alpha1.ProtectionModule, opts v1.UpdateOptions) (*v1alpha1.ProtectionModule, 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.ProtectionModule, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ProtectionModuleList, 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.ProtectionModule, err error)
	ProtectionModuleExpansion
}

ProtectionModuleInterface has methods to work with ProtectionModule resources.

type ProtectionModulesGetter added in v0.5.0

type ProtectionModulesGetter interface {
	ProtectionModules(namespace string) ProtectionModuleInterface
}

ProtectionModulesGetter has a method to return a ProtectionModuleInterface. A group's client should implement this interface.

type WafV1alpha1Client

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

WafV1alpha1Client is used to interact with features provided by the waf.alicloud.kubeform.com group.

func New

New creates a new WafV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new WafV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *WafV1alpha1Client

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

func (*WafV1alpha1Client) Certificates added in v0.4.0

func (c *WafV1alpha1Client) Certificates(namespace string) CertificateInterface

func (*WafV1alpha1Client) Domains

func (c *WafV1alpha1Client) Domains(namespace string) DomainInterface

func (*WafV1alpha1Client) Instances

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

func (*WafV1alpha1Client) ProtectionModules added in v0.5.0

func (c *WafV1alpha1Client) ProtectionModules(namespace string) ProtectionModuleInterface

func (*WafV1alpha1Client) RESTClient

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

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

type WafV1alpha1Interface

type WafV1alpha1Interface interface {
	RESTClient() rest.Interface
	CertificatesGetter
	DomainsGetter
	InstancesGetter
	ProtectionModulesGetter
}

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