v1beta1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 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 JsPoliciesGetter

type JsPoliciesGetter interface {
	JsPolicies() JsPolicyInterface
}

JsPoliciesGetter has a method to return a JsPolicyInterface. A group's client should implement this interface.

type JsPolicyBundleExpansion

type JsPolicyBundleExpansion interface{}

type JsPolicyBundleInterface

type JsPolicyBundleInterface interface {
	Create(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, opts v1.CreateOptions) (*v1beta1.JsPolicyBundle, error)
	Update(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, opts v1.UpdateOptions) (*v1beta1.JsPolicyBundle, error)
	UpdateStatus(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, opts v1.UpdateOptions) (*v1beta1.JsPolicyBundle, 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) (*v1beta1.JsPolicyBundle, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.JsPolicyBundleList, 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 *v1beta1.JsPolicyBundle, err error)
	JsPolicyBundleExpansion
}

JsPolicyBundleInterface has methods to work with JsPolicyBundle resources.

type JsPolicyBundlesGetter

type JsPolicyBundlesGetter interface {
	JsPolicyBundles() JsPolicyBundleInterface
}

JsPolicyBundlesGetter has a method to return a JsPolicyBundleInterface. A group's client should implement this interface.

type JsPolicyExpansion

type JsPolicyExpansion interface{}

type JsPolicyInterface

type JsPolicyInterface interface {
	Create(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.CreateOptions) (*v1beta1.JsPolicy, error)
	Update(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.UpdateOptions) (*v1beta1.JsPolicy, error)
	UpdateStatus(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.UpdateOptions) (*v1beta1.JsPolicy, 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) (*v1beta1.JsPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.JsPolicyList, 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 *v1beta1.JsPolicy, err error)
	JsPolicyExpansion
}

JsPolicyInterface has methods to work with JsPolicy resources.

type JsPolicyViolationsExpansion

type JsPolicyViolationsExpansion interface{}

type JsPolicyViolationsInterface

type JsPolicyViolationsInterface interface {
	Create(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, opts v1.CreateOptions) (*v1beta1.JsPolicyViolations, error)
	Update(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, opts v1.UpdateOptions) (*v1beta1.JsPolicyViolations, error)
	UpdateStatus(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, opts v1.UpdateOptions) (*v1beta1.JsPolicyViolations, 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) (*v1beta1.JsPolicyViolations, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.JsPolicyViolationsList, 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 *v1beta1.JsPolicyViolations, err error)
	JsPolicyViolationsExpansion
}

JsPolicyViolationsInterface has methods to work with JsPolicyViolations resources.

type JsPolicyViolationsesGetter

type JsPolicyViolationsesGetter interface {
	JsPolicyViolationses() JsPolicyViolationsInterface
}

JsPolicyViolationsesGetter has a method to return a JsPolicyViolationsInterface. A group's client should implement this interface.

type PolicyV1beta1Client

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

PolicyV1beta1Client is used to interact with features provided by the policy.jspolicy.com group.

func New

New creates a new PolicyV1beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new PolicyV1beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *PolicyV1beta1Client

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

func (*PolicyV1beta1Client) JsPolicies

func (c *PolicyV1beta1Client) JsPolicies() JsPolicyInterface

func (*PolicyV1beta1Client) JsPolicyBundles

func (c *PolicyV1beta1Client) JsPolicyBundles() JsPolicyBundleInterface

func (*PolicyV1beta1Client) JsPolicyViolationses

func (c *PolicyV1beta1Client) JsPolicyViolationses() JsPolicyViolationsInterface

func (*PolicyV1beta1Client) RESTClient

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

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

type PolicyV1beta1Interface

type PolicyV1beta1Interface interface {
	RESTClient() rest.Interface
	JsPoliciesGetter
	JsPolicyBundlesGetter
	JsPolicyViolationsesGetter
}

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