Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AlertV1alpha1Client
- func (c *AlertV1alpha1Client) Channels(namespace string) ChannelInterface
- func (c *AlertV1alpha1Client) Conditions(namespace string) ConditionInterface
- func (c *AlertV1alpha1Client) MutingRules(namespace string) MutingRuleInterface
- func (c *AlertV1alpha1Client) Policies(namespace string) PolicyInterface
- func (c *AlertV1alpha1Client) PolicyChannels(namespace string) PolicyChannelInterface
- func (c *AlertV1alpha1Client) RESTClient() rest.Interface
- type AlertV1alpha1Interface
- type ChannelExpansion
- type ChannelInterface
- type ChannelsGetter
- type ConditionExpansion
- type ConditionInterface
- type ConditionsGetter
- type MutingRuleExpansion
- type MutingRuleInterface
- type MutingRulesGetter
- type PoliciesGetter
- type PolicyChannelExpansion
- type PolicyChannelInterface
- type PolicyChannelsGetter
- type PolicyExpansion
- type PolicyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertV1alpha1Client ¶
type AlertV1alpha1Client struct {
// contains filtered or unexported fields
}
AlertV1alpha1Client is used to interact with features provided by the alert.newrelic.kubeform.com group.
func New ¶
func New(c rest.Interface) *AlertV1alpha1Client
New creates a new AlertV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AlertV1alpha1Client, error)
NewForConfig creates a new AlertV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AlertV1alpha1Client
NewForConfigOrDie creates a new AlertV1alpha1Client for the given config and panics if there is an error in the config.
func (*AlertV1alpha1Client) Channels ¶
func (c *AlertV1alpha1Client) Channels(namespace string) ChannelInterface
func (*AlertV1alpha1Client) Conditions ¶
func (c *AlertV1alpha1Client) Conditions(namespace string) ConditionInterface
func (*AlertV1alpha1Client) MutingRules ¶
func (c *AlertV1alpha1Client) MutingRules(namespace string) MutingRuleInterface
func (*AlertV1alpha1Client) Policies ¶
func (c *AlertV1alpha1Client) Policies(namespace string) PolicyInterface
func (*AlertV1alpha1Client) PolicyChannels ¶
func (c *AlertV1alpha1Client) PolicyChannels(namespace string) PolicyChannelInterface
func (*AlertV1alpha1Client) RESTClient ¶
func (c *AlertV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type AlertV1alpha1Interface ¶
type AlertV1alpha1Interface interface { RESTClient() rest.Interface ChannelsGetter ConditionsGetter MutingRulesGetter PoliciesGetter PolicyChannelsGetter }
type ChannelExpansion ¶
type ChannelExpansion interface{}
type ChannelInterface ¶
type ChannelInterface interface { Create(ctx context.Context, channel *v1alpha1.Channel, opts v1.CreateOptions) (*v1alpha1.Channel, error) Update(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (*v1alpha1.Channel, error) UpdateStatus(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (*v1alpha1.Channel, 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.Channel, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ChannelList, 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.Channel, err error) ChannelExpansion }
ChannelInterface has methods to work with Channel resources.
type ChannelsGetter ¶
type ChannelsGetter interface {
Channels(namespace string) ChannelInterface
}
ChannelsGetter has a method to return a ChannelInterface. A group's client should implement this interface.
type ConditionExpansion ¶
type ConditionExpansion interface{}
type ConditionInterface ¶
type ConditionInterface interface { Create(ctx context.Context, condition *v1alpha1.Condition, opts v1.CreateOptions) (*v1alpha1.Condition, error) Update(ctx context.Context, condition *v1alpha1.Condition, opts v1.UpdateOptions) (*v1alpha1.Condition, error) UpdateStatus(ctx context.Context, condition *v1alpha1.Condition, opts v1.UpdateOptions) (*v1alpha1.Condition, 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.Condition, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConditionList, 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.Condition, err error) ConditionExpansion }
ConditionInterface has methods to work with Condition resources.
type ConditionsGetter ¶
type ConditionsGetter interface {
Conditions(namespace string) ConditionInterface
}
ConditionsGetter has a method to return a ConditionInterface. A group's client should implement this interface.
type MutingRuleExpansion ¶
type MutingRuleExpansion interface{}
type MutingRuleInterface ¶
type MutingRuleInterface interface { Create(ctx context.Context, mutingRule *v1alpha1.MutingRule, opts v1.CreateOptions) (*v1alpha1.MutingRule, error) Update(ctx context.Context, mutingRule *v1alpha1.MutingRule, opts v1.UpdateOptions) (*v1alpha1.MutingRule, error) UpdateStatus(ctx context.Context, mutingRule *v1alpha1.MutingRule, opts v1.UpdateOptions) (*v1alpha1.MutingRule, 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.MutingRule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MutingRuleList, 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.MutingRule, err error) MutingRuleExpansion }
MutingRuleInterface has methods to work with MutingRule resources.
type MutingRulesGetter ¶
type MutingRulesGetter interface {
MutingRules(namespace string) MutingRuleInterface
}
MutingRulesGetter has a method to return a MutingRuleInterface. A group's client should implement this interface.
type PoliciesGetter ¶
type PoliciesGetter interface {
Policies(namespace string) PolicyInterface
}
PoliciesGetter has a method to return a PolicyInterface. A group's client should implement this interface.
type PolicyChannelExpansion ¶
type PolicyChannelExpansion interface{}
type PolicyChannelInterface ¶
type PolicyChannelInterface interface { Create(ctx context.Context, policyChannel *v1alpha1.PolicyChannel, opts v1.CreateOptions) (*v1alpha1.PolicyChannel, error) Update(ctx context.Context, policyChannel *v1alpha1.PolicyChannel, opts v1.UpdateOptions) (*v1alpha1.PolicyChannel, error) UpdateStatus(ctx context.Context, policyChannel *v1alpha1.PolicyChannel, opts v1.UpdateOptions) (*v1alpha1.PolicyChannel, 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.PolicyChannel, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PolicyChannelList, 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.PolicyChannel, err error) PolicyChannelExpansion }
PolicyChannelInterface has methods to work with PolicyChannel resources.
type PolicyChannelsGetter ¶
type PolicyChannelsGetter interface {
PolicyChannels(namespace string) PolicyChannelInterface
}
PolicyChannelsGetter has a method to return a PolicyChannelInterface. A group's client should implement this interface.
type PolicyExpansion ¶
type PolicyExpansion interface{}
type PolicyInterface ¶
type PolicyInterface interface { Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (*v1alpha1.Policy, error) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, 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.Policy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PolicyList, 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.Policy, err error) PolicyExpansion }
PolicyInterface has methods to work with Policy resources.