v2beta1

package
v0.0.0-...-b5015ec Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

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 ConfigExpansion

type ConfigExpansion interface{}

type ConfigInterface

type ConfigInterface interface {
	Create(ctx context.Context, config *v2beta1.Config, opts v1.CreateOptions) (*v2beta1.Config, error)
	Update(ctx context.Context, config *v2beta1.Config, opts v1.UpdateOptions) (*v2beta1.Config, error)
	UpdateStatus(ctx context.Context, config *v2beta1.Config, opts v1.UpdateOptions) (*v2beta1.Config, 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) (*v2beta1.Config, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta1.ConfigList, 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 *v2beta1.Config, err error)
	ConfigExpansion
}

ConfigInterface has methods to work with Config resources.

type ConfigsGetter

type ConfigsGetter interface {
	Configs() ConfigInterface
}

ConfigsGetter has a method to return a ConfigInterface. A group's client should implement this interface.

type NotificationV2beta1Client

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

NotificationV2beta1Client is used to interact with features provided by the notification.kubesphere.io group.

func New

New creates a new NotificationV2beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new NotificationV2beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *NotificationV2beta1Client

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

func (*NotificationV2beta1Client) Configs

func (*NotificationV2beta1Client) RESTClient

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

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

func (*NotificationV2beta1Client) Receivers

type NotificationV2beta1Interface

type NotificationV2beta1Interface interface {
	RESTClient() rest.Interface
	ConfigsGetter
	ReceiversGetter
}

type ReceiverExpansion

type ReceiverExpansion interface{}

type ReceiverInterface

type ReceiverInterface interface {
	Create(ctx context.Context, receiver *v2beta1.Receiver, opts v1.CreateOptions) (*v2beta1.Receiver, error)
	Update(ctx context.Context, receiver *v2beta1.Receiver, opts v1.UpdateOptions) (*v2beta1.Receiver, error)
	UpdateStatus(ctx context.Context, receiver *v2beta1.Receiver, opts v1.UpdateOptions) (*v2beta1.Receiver, 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) (*v2beta1.Receiver, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta1.ReceiverList, 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 *v2beta1.Receiver, err error)
	ReceiverExpansion
}

ReceiverInterface has methods to work with Receiver resources.

type ReceiversGetter

type ReceiversGetter interface {
	Receivers() ReceiverInterface
}

ReceiversGetter has a method to return a ReceiverInterface. 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