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

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

AlertingV2beta1Client is used to interact with features provided by the alerting.kubesphere.io group.

func New

New creates a new AlertingV2beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AlertingV2beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AlertingV2beta1Client

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

func (*AlertingV2beta1Client) ClusterRuleGroups

func (c *AlertingV2beta1Client) ClusterRuleGroups() ClusterRuleGroupInterface

func (*AlertingV2beta1Client) GlobalRuleGroups

func (c *AlertingV2beta1Client) GlobalRuleGroups() GlobalRuleGroupInterface

func (*AlertingV2beta1Client) RESTClient

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

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

func (*AlertingV2beta1Client) RuleGroups

func (c *AlertingV2beta1Client) RuleGroups(namespace string) RuleGroupInterface

type AlertingV2beta1Interface

type AlertingV2beta1Interface interface {
	RESTClient() rest.Interface
	ClusterRuleGroupsGetter
	GlobalRuleGroupsGetter
	RuleGroupsGetter
}

type ClusterRuleGroupExpansion

type ClusterRuleGroupExpansion interface{}

type ClusterRuleGroupInterface

type ClusterRuleGroupInterface interface {
	Create(ctx context.Context, clusterRuleGroup *v2beta1.ClusterRuleGroup, opts v1.CreateOptions) (*v2beta1.ClusterRuleGroup, error)
	Update(ctx context.Context, clusterRuleGroup *v2beta1.ClusterRuleGroup, opts v1.UpdateOptions) (*v2beta1.ClusterRuleGroup, error)
	UpdateStatus(ctx context.Context, clusterRuleGroup *v2beta1.ClusterRuleGroup, opts v1.UpdateOptions) (*v2beta1.ClusterRuleGroup, 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.ClusterRuleGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta1.ClusterRuleGroupList, 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.ClusterRuleGroup, err error)
	ClusterRuleGroupExpansion
}

ClusterRuleGroupInterface has methods to work with ClusterRuleGroup resources.

type ClusterRuleGroupsGetter

type ClusterRuleGroupsGetter interface {
	ClusterRuleGroups() ClusterRuleGroupInterface
}

ClusterRuleGroupsGetter has a method to return a ClusterRuleGroupInterface. A group's client should implement this interface.

type GlobalRuleGroupExpansion

type GlobalRuleGroupExpansion interface{}

type GlobalRuleGroupInterface

type GlobalRuleGroupInterface interface {
	Create(ctx context.Context, globalRuleGroup *v2beta1.GlobalRuleGroup, opts v1.CreateOptions) (*v2beta1.GlobalRuleGroup, error)
	Update(ctx context.Context, globalRuleGroup *v2beta1.GlobalRuleGroup, opts v1.UpdateOptions) (*v2beta1.GlobalRuleGroup, error)
	UpdateStatus(ctx context.Context, globalRuleGroup *v2beta1.GlobalRuleGroup, opts v1.UpdateOptions) (*v2beta1.GlobalRuleGroup, 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.GlobalRuleGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta1.GlobalRuleGroupList, 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.GlobalRuleGroup, err error)
	GlobalRuleGroupExpansion
}

GlobalRuleGroupInterface has methods to work with GlobalRuleGroup resources.

type GlobalRuleGroupsGetter

type GlobalRuleGroupsGetter interface {
	GlobalRuleGroups() GlobalRuleGroupInterface
}

GlobalRuleGroupsGetter has a method to return a GlobalRuleGroupInterface. A group's client should implement this interface.

type RuleGroupExpansion

type RuleGroupExpansion interface{}

type RuleGroupInterface

type RuleGroupInterface interface {
	Create(ctx context.Context, ruleGroup *v2beta1.RuleGroup, opts v1.CreateOptions) (*v2beta1.RuleGroup, error)
	Update(ctx context.Context, ruleGroup *v2beta1.RuleGroup, opts v1.UpdateOptions) (*v2beta1.RuleGroup, error)
	UpdateStatus(ctx context.Context, ruleGroup *v2beta1.RuleGroup, opts v1.UpdateOptions) (*v2beta1.RuleGroup, 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.RuleGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2beta1.RuleGroupList, 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.RuleGroup, err error)
	RuleGroupExpansion
}

RuleGroupInterface has methods to work with RuleGroup resources.

type RuleGroupsGetter

type RuleGroupsGetter interface {
	RuleGroups(namespace string) RuleGroupInterface
}

RuleGroupsGetter has a method to return a RuleGroupInterface. 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