Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BinaryAuthorizationAttestorExpansion
- type BinaryAuthorizationAttestorInterface
- type BinaryAuthorizationAttestorsGetter
- type BinaryAuthorizationPoliciesGetter
- type BinaryAuthorizationPolicyExpansion
- type BinaryAuthorizationPolicyInterface
- type BinaryauthorizationV1beta1Client
- func New(c rest.Interface) *BinaryauthorizationV1beta1Client
- func NewForConfig(c *rest.Config) (*BinaryauthorizationV1beta1Client, error)
- func NewForConfigAndClient(c *rest.Config, h *http.Client) (*BinaryauthorizationV1beta1Client, error)
- func NewForConfigOrDie(c *rest.Config) *BinaryauthorizationV1beta1Client
- func (c *BinaryauthorizationV1beta1Client) BinaryAuthorizationAttestors(namespace string) BinaryAuthorizationAttestorInterface
- func (c *BinaryauthorizationV1beta1Client) BinaryAuthorizationPolicies(namespace string) BinaryAuthorizationPolicyInterface
- func (c *BinaryauthorizationV1beta1Client) RESTClient() rest.Interface
- type BinaryauthorizationV1beta1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryAuthorizationAttestorExpansion ¶
type BinaryAuthorizationAttestorExpansion interface{}
type BinaryAuthorizationAttestorInterface ¶
type BinaryAuthorizationAttestorInterface interface { Create(ctx context.Context, binaryAuthorizationAttestor *v1beta1.BinaryAuthorizationAttestor, opts v1.CreateOptions) (*v1beta1.BinaryAuthorizationAttestor, error) Update(ctx context.Context, binaryAuthorizationAttestor *v1beta1.BinaryAuthorizationAttestor, opts v1.UpdateOptions) (*v1beta1.BinaryAuthorizationAttestor, error) UpdateStatus(ctx context.Context, binaryAuthorizationAttestor *v1beta1.BinaryAuthorizationAttestor, opts v1.UpdateOptions) (*v1beta1.BinaryAuthorizationAttestor, 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.BinaryAuthorizationAttestor, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.BinaryAuthorizationAttestorList, 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.BinaryAuthorizationAttestor, err error) BinaryAuthorizationAttestorExpansion }
BinaryAuthorizationAttestorInterface has methods to work with BinaryAuthorizationAttestor resources.
type BinaryAuthorizationAttestorsGetter ¶
type BinaryAuthorizationAttestorsGetter interface {
BinaryAuthorizationAttestors(namespace string) BinaryAuthorizationAttestorInterface
}
BinaryAuthorizationAttestorsGetter has a method to return a BinaryAuthorizationAttestorInterface. A group's client should implement this interface.
type BinaryAuthorizationPoliciesGetter ¶
type BinaryAuthorizationPoliciesGetter interface {
BinaryAuthorizationPolicies(namespace string) BinaryAuthorizationPolicyInterface
}
BinaryAuthorizationPoliciesGetter has a method to return a BinaryAuthorizationPolicyInterface. A group's client should implement this interface.
type BinaryAuthorizationPolicyExpansion ¶
type BinaryAuthorizationPolicyExpansion interface{}
type BinaryAuthorizationPolicyInterface ¶
type BinaryAuthorizationPolicyInterface interface { Create(ctx context.Context, binaryAuthorizationPolicy *v1beta1.BinaryAuthorizationPolicy, opts v1.CreateOptions) (*v1beta1.BinaryAuthorizationPolicy, error) Update(ctx context.Context, binaryAuthorizationPolicy *v1beta1.BinaryAuthorizationPolicy, opts v1.UpdateOptions) (*v1beta1.BinaryAuthorizationPolicy, error) UpdateStatus(ctx context.Context, binaryAuthorizationPolicy *v1beta1.BinaryAuthorizationPolicy, opts v1.UpdateOptions) (*v1beta1.BinaryAuthorizationPolicy, 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.BinaryAuthorizationPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.BinaryAuthorizationPolicyList, 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.BinaryAuthorizationPolicy, err error) BinaryAuthorizationPolicyExpansion }
BinaryAuthorizationPolicyInterface has methods to work with BinaryAuthorizationPolicy resources.
type BinaryauthorizationV1beta1Client ¶
type BinaryauthorizationV1beta1Client struct {
// contains filtered or unexported fields
}
BinaryauthorizationV1beta1Client is used to interact with features provided by the binaryauthorization.cnrm.cloud.google.com group.
func New ¶
func New(c rest.Interface) *BinaryauthorizationV1beta1Client
New creates a new BinaryauthorizationV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*BinaryauthorizationV1beta1Client, error)
NewForConfig creates a new BinaryauthorizationV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v1.75.0
func NewForConfigAndClient(c *rest.Config, h *http.Client) (*BinaryauthorizationV1beta1Client, error)
NewForConfigAndClient creates a new BinaryauthorizationV1beta1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *BinaryauthorizationV1beta1Client
NewForConfigOrDie creates a new BinaryauthorizationV1beta1Client for the given config and panics if there is an error in the config.
func (*BinaryauthorizationV1beta1Client) BinaryAuthorizationAttestors ¶
func (c *BinaryauthorizationV1beta1Client) BinaryAuthorizationAttestors(namespace string) BinaryAuthorizationAttestorInterface
func (*BinaryauthorizationV1beta1Client) BinaryAuthorizationPolicies ¶
func (c *BinaryauthorizationV1beta1Client) BinaryAuthorizationPolicies(namespace string) BinaryAuthorizationPolicyInterface
func (*BinaryauthorizationV1beta1Client) RESTClient ¶
func (c *BinaryauthorizationV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type BinaryauthorizationV1beta1Interface ¶
type BinaryauthorizationV1beta1Interface interface { BinaryAuthorizationAttestorsGetter BinaryAuthorizationPoliciesGetter }