v2beta2

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: 6

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 *v2beta2.Config, opts v1.CreateOptions) (*v2beta2.Config, error)
	Update(ctx context.Context, config *v2beta2.Config, opts v1.UpdateOptions) (*v2beta2.Config, error)
	UpdateStatus(ctx context.Context, config *v2beta2.Config, opts v1.UpdateOptions) (*v2beta2.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) (*v2beta2.Config, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta2.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 *v2beta2.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 NotificationManagerExpansion

type NotificationManagerExpansion interface{}

type NotificationManagerInterface

type NotificationManagerInterface interface {
	Create(ctx context.Context, notificationManager *v2beta2.NotificationManager, opts v1.CreateOptions) (*v2beta2.NotificationManager, error)
	Update(ctx context.Context, notificationManager *v2beta2.NotificationManager, opts v1.UpdateOptions) (*v2beta2.NotificationManager, error)
	UpdateStatus(ctx context.Context, notificationManager *v2beta2.NotificationManager, opts v1.UpdateOptions) (*v2beta2.NotificationManager, 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) (*v2beta2.NotificationManager, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta2.NotificationManagerList, 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 *v2beta2.NotificationManager, err error)
	NotificationManagerExpansion
}

NotificationManagerInterface has methods to work with NotificationManager resources.

type NotificationManagersGetter

type NotificationManagersGetter interface {
	NotificationManagers() NotificationManagerInterface
}

NotificationManagersGetter has a method to return a NotificationManagerInterface. A group's client should implement this interface.

type NotificationV2beta2Client

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

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

func New

New creates a new NotificationV2beta2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new NotificationV2beta2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *NotificationV2beta2Client

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

func (*NotificationV2beta2Client) Configs

func (*NotificationV2beta2Client) NotificationManagers

func (c *NotificationV2beta2Client) NotificationManagers() NotificationManagerInterface

func (*NotificationV2beta2Client) RESTClient

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

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

func (*NotificationV2beta2Client) Receivers

func (*NotificationV2beta2Client) Routers

func (*NotificationV2beta2Client) Silences

type ReceiverExpansion

type ReceiverExpansion interface{}

type ReceiverInterface

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

type RouterExpansion

type RouterExpansion interface{}

type RouterInterface

type RouterInterface interface {
	Create(ctx context.Context, router *v2beta2.Router, opts v1.CreateOptions) (*v2beta2.Router, error)
	Update(ctx context.Context, router *v2beta2.Router, opts v1.UpdateOptions) (*v2beta2.Router, error)
	UpdateStatus(ctx context.Context, router *v2beta2.Router, opts v1.UpdateOptions) (*v2beta2.Router, 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) (*v2beta2.Router, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta2.RouterList, 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 *v2beta2.Router, err error)
	RouterExpansion
}

RouterInterface has methods to work with Router resources.

type RoutersGetter

type RoutersGetter interface {
	Routers() RouterInterface
}

RoutersGetter has a method to return a RouterInterface. A group's client should implement this interface.

type SilenceExpansion

type SilenceExpansion interface{}

type SilenceInterface

type SilenceInterface interface {
	Create(ctx context.Context, silence *v2beta2.Silence, opts v1.CreateOptions) (*v2beta2.Silence, error)
	Update(ctx context.Context, silence *v2beta2.Silence, opts v1.UpdateOptions) (*v2beta2.Silence, error)
	UpdateStatus(ctx context.Context, silence *v2beta2.Silence, opts v1.UpdateOptions) (*v2beta2.Silence, 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) (*v2beta2.Silence, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta2.SilenceList, 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 *v2beta2.Silence, err error)
	SilenceExpansion
}

SilenceInterface has methods to work with Silence resources.

type SilencesGetter

type SilencesGetter interface {
	Silences() SilenceInterface
}

SilencesGetter has a method to return a SilenceInterface. 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