Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ArmorProfileExpansion
- type ArmorProfileInterface
- type ArmorProfileModelExpansion
- type ArmorProfileModelInterface
- type ArmorProfileModelsGetter
- type ArmorProfilesGetter
- type CrdV1beta1Client
- func (c *CrdV1beta1Client) ArmorProfileModels(namespace string) ArmorProfileModelInterface
- func (c *CrdV1beta1Client) ArmorProfiles(namespace string) ArmorProfileInterface
- func (c *CrdV1beta1Client) RESTClient() rest.Interface
- func (c *CrdV1beta1Client) VarmorClusterPolicies() VarmorClusterPolicyInterface
- func (c *CrdV1beta1Client) VarmorPolicies(namespace string) VarmorPolicyInterface
- type CrdV1beta1Interface
- type VarmorClusterPoliciesGetter
- type VarmorClusterPolicyExpansion
- type VarmorClusterPolicyInterface
- type VarmorPoliciesGetter
- type VarmorPolicyExpansion
- type VarmorPolicyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArmorProfileExpansion ¶
type ArmorProfileExpansion interface{}
type ArmorProfileInterface ¶
type ArmorProfileInterface interface { Create(ctx context.Context, armorProfile *v1beta1.ArmorProfile, opts v1.CreateOptions) (*v1beta1.ArmorProfile, error) Update(ctx context.Context, armorProfile *v1beta1.ArmorProfile, opts v1.UpdateOptions) (*v1beta1.ArmorProfile, error) UpdateStatus(ctx context.Context, armorProfile *v1beta1.ArmorProfile, opts v1.UpdateOptions) (*v1beta1.ArmorProfile, 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.ArmorProfile, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ArmorProfileList, 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.ArmorProfile, err error) ArmorProfileExpansion }
ArmorProfileInterface has methods to work with ArmorProfile resources.
type ArmorProfileModelExpansion ¶
type ArmorProfileModelExpansion interface{}
type ArmorProfileModelInterface ¶
type ArmorProfileModelInterface interface { Create(ctx context.Context, armorProfileModel *v1beta1.ArmorProfileModel, opts v1.CreateOptions) (*v1beta1.ArmorProfileModel, error) Update(ctx context.Context, armorProfileModel *v1beta1.ArmorProfileModel, opts v1.UpdateOptions) (*v1beta1.ArmorProfileModel, error) UpdateStatus(ctx context.Context, armorProfileModel *v1beta1.ArmorProfileModel, opts v1.UpdateOptions) (*v1beta1.ArmorProfileModel, 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.ArmorProfileModel, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ArmorProfileModelList, 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.ArmorProfileModel, err error) ArmorProfileModelExpansion }
ArmorProfileModelInterface has methods to work with ArmorProfileModel resources.
type ArmorProfileModelsGetter ¶
type ArmorProfileModelsGetter interface {
ArmorProfileModels(namespace string) ArmorProfileModelInterface
}
ArmorProfileModelsGetter has a method to return a ArmorProfileModelInterface. A group's client should implement this interface.
type ArmorProfilesGetter ¶
type ArmorProfilesGetter interface {
ArmorProfiles(namespace string) ArmorProfileInterface
}
ArmorProfilesGetter has a method to return a ArmorProfileInterface. A group's client should implement this interface.
type CrdV1beta1Client ¶
type CrdV1beta1Client struct {
// contains filtered or unexported fields
}
CrdV1beta1Client is used to interact with features provided by the crd.varmor.org group.
func New ¶
func New(c rest.Interface) *CrdV1beta1Client
New creates a new CrdV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CrdV1beta1Client, error)
NewForConfig creates a new CrdV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new CrdV1beta1Client 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) *CrdV1beta1Client
NewForConfigOrDie creates a new CrdV1beta1Client for the given config and panics if there is an error in the config.
func (*CrdV1beta1Client) ArmorProfileModels ¶
func (c *CrdV1beta1Client) ArmorProfileModels(namespace string) ArmorProfileModelInterface
func (*CrdV1beta1Client) ArmorProfiles ¶
func (c *CrdV1beta1Client) ArmorProfiles(namespace string) ArmorProfileInterface
func (*CrdV1beta1Client) RESTClient ¶
func (c *CrdV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CrdV1beta1Client) VarmorClusterPolicies ¶ added in v0.5.4
func (c *CrdV1beta1Client) VarmorClusterPolicies() VarmorClusterPolicyInterface
func (*CrdV1beta1Client) VarmorPolicies ¶
func (c *CrdV1beta1Client) VarmorPolicies(namespace string) VarmorPolicyInterface
type CrdV1beta1Interface ¶
type CrdV1beta1Interface interface { RESTClient() rest.Interface ArmorProfilesGetter ArmorProfileModelsGetter VarmorClusterPoliciesGetter VarmorPoliciesGetter }
type VarmorClusterPoliciesGetter ¶ added in v0.5.4
type VarmorClusterPoliciesGetter interface {
VarmorClusterPolicies() VarmorClusterPolicyInterface
}
VarmorClusterPoliciesGetter has a method to return a VarmorClusterPolicyInterface. A group's client should implement this interface.
type VarmorClusterPolicyExpansion ¶ added in v0.5.4
type VarmorClusterPolicyExpansion interface{}
type VarmorClusterPolicyInterface ¶ added in v0.5.4
type VarmorClusterPolicyInterface interface { Create(ctx context.Context, varmorClusterPolicy *v1beta1.VarmorClusterPolicy, opts v1.CreateOptions) (*v1beta1.VarmorClusterPolicy, error) Update(ctx context.Context, varmorClusterPolicy *v1beta1.VarmorClusterPolicy, opts v1.UpdateOptions) (*v1beta1.VarmorClusterPolicy, error) UpdateStatus(ctx context.Context, varmorClusterPolicy *v1beta1.VarmorClusterPolicy, opts v1.UpdateOptions) (*v1beta1.VarmorClusterPolicy, 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.VarmorClusterPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VarmorClusterPolicyList, 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.VarmorClusterPolicy, err error) VarmorClusterPolicyExpansion }
VarmorClusterPolicyInterface has methods to work with VarmorClusterPolicy resources.
type VarmorPoliciesGetter ¶
type VarmorPoliciesGetter interface {
VarmorPolicies(namespace string) VarmorPolicyInterface
}
VarmorPoliciesGetter has a method to return a VarmorPolicyInterface. A group's client should implement this interface.
type VarmorPolicyExpansion ¶
type VarmorPolicyExpansion interface{}
type VarmorPolicyInterface ¶
type VarmorPolicyInterface interface { Create(ctx context.Context, varmorPolicy *v1beta1.VarmorPolicy, opts v1.CreateOptions) (*v1beta1.VarmorPolicy, error) Update(ctx context.Context, varmorPolicy *v1beta1.VarmorPolicy, opts v1.UpdateOptions) (*v1beta1.VarmorPolicy, error) UpdateStatus(ctx context.Context, varmorPolicy *v1beta1.VarmorPolicy, opts v1.UpdateOptions) (*v1beta1.VarmorPolicy, 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.VarmorPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VarmorPolicyList, 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.VarmorPolicy, err error) VarmorPolicyExpansion }
VarmorPolicyInterface has methods to work with VarmorPolicy resources.