Documentation ¶
Index ¶
- type EvictionExpansion
- type EvictionInterface
- type EvictionsGetter
- type PodDisruptionBudgetExpansion
- type PodDisruptionBudgetInterface
- func (_m *PodDisruptionBudgetInterface) Create(ctx context.Context, podDisruptionBudget *v1beta1.PodDisruptionBudget, ...) (*v1beta1.PodDisruptionBudget, error)
- func (_m *PodDisruptionBudgetInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (_m *PodDisruptionBudgetInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (_m *PodDisruptionBudgetInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.PodDisruptionBudget, error)
- func (_m *PodDisruptionBudgetInterface) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PodDisruptionBudgetList, error)
- func (_m *PodDisruptionBudgetInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1beta1.PodDisruptionBudget, error)
- func (_m *PodDisruptionBudgetInterface) Update(ctx context.Context, podDisruptionBudget *v1beta1.PodDisruptionBudget, ...) (*v1beta1.PodDisruptionBudget, error)
- func (_m *PodDisruptionBudgetInterface) UpdateStatus(ctx context.Context, podDisruptionBudget *v1beta1.PodDisruptionBudget, ...) (*v1beta1.PodDisruptionBudget, error)
- func (_m *PodDisruptionBudgetInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type PodDisruptionBudgetsGetter
- type PodSecurityPoliciesGetter
- type PodSecurityPolicyExpansion
- type PodSecurityPolicyInterface
- func (_m *PodSecurityPolicyInterface) Create(ctx context.Context, podSecurityPolicy *v1beta1.PodSecurityPolicy, ...) (*v1beta1.PodSecurityPolicy, error)
- func (_m *PodSecurityPolicyInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (_m *PodSecurityPolicyInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (_m *PodSecurityPolicyInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.PodSecurityPolicy, error)
- func (_m *PodSecurityPolicyInterface) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PodSecurityPolicyList, error)
- func (_m *PodSecurityPolicyInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1beta1.PodSecurityPolicy, error)
- func (_m *PodSecurityPolicyInterface) Update(ctx context.Context, podSecurityPolicy *v1beta1.PodSecurityPolicy, ...) (*v1beta1.PodSecurityPolicy, error)
- func (_m *PodSecurityPolicyInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type PolicyV1beta1Interface
- func (_m *PolicyV1beta1Interface) Evictions(namespace string) v1beta1.EvictionInterface
- func (_m *PolicyV1beta1Interface) PodDisruptionBudgets(namespace string) v1beta1.PodDisruptionBudgetInterface
- func (_m *PolicyV1beta1Interface) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface
- func (_m *PolicyV1beta1Interface) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvictionExpansion ¶
EvictionExpansion is an autogenerated mock type for the EvictionExpansion type
type EvictionInterface ¶
EvictionInterface is an autogenerated mock type for the EvictionInterface type
type EvictionsGetter ¶
EvictionsGetter is an autogenerated mock type for the EvictionsGetter type
func (*EvictionsGetter) Evictions ¶
func (_m *EvictionsGetter) Evictions(namespace string) v1beta1.EvictionInterface
Evictions provides a mock function with given fields: namespace
type PodDisruptionBudgetExpansion ¶
PodDisruptionBudgetExpansion is an autogenerated mock type for the PodDisruptionBudgetExpansion type
type PodDisruptionBudgetInterface ¶
PodDisruptionBudgetInterface is an autogenerated mock type for the PodDisruptionBudgetInterface type
func (*PodDisruptionBudgetInterface) Create ¶
func (_m *PodDisruptionBudgetInterface) Create(ctx context.Context, podDisruptionBudget *v1beta1.PodDisruptionBudget, opts v1.CreateOptions) (*v1beta1.PodDisruptionBudget, error)
Create provides a mock function with given fields: ctx, podDisruptionBudget, opts
func (*PodDisruptionBudgetInterface) Delete ¶
func (_m *PodDisruptionBudgetInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*PodDisruptionBudgetInterface) DeleteCollection ¶
func (_m *PodDisruptionBudgetInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*PodDisruptionBudgetInterface) Get ¶
func (_m *PodDisruptionBudgetInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.PodDisruptionBudget, error)
Get provides a mock function with given fields: ctx, name, opts
func (*PodDisruptionBudgetInterface) List ¶
func (_m *PodDisruptionBudgetInterface) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PodDisruptionBudgetList, error)
List provides a mock function with given fields: ctx, opts
func (*PodDisruptionBudgetInterface) Patch ¶
func (_m *PodDisruptionBudgetInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1beta1.PodDisruptionBudget, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*PodDisruptionBudgetInterface) Update ¶
func (_m *PodDisruptionBudgetInterface) Update(ctx context.Context, podDisruptionBudget *v1beta1.PodDisruptionBudget, opts v1.UpdateOptions) (*v1beta1.PodDisruptionBudget, error)
Update provides a mock function with given fields: ctx, podDisruptionBudget, opts
func (*PodDisruptionBudgetInterface) UpdateStatus ¶
func (_m *PodDisruptionBudgetInterface) UpdateStatus(ctx context.Context, podDisruptionBudget *v1beta1.PodDisruptionBudget, opts v1.UpdateOptions) (*v1beta1.PodDisruptionBudget, error)
UpdateStatus provides a mock function with given fields: ctx, podDisruptionBudget, opts
func (*PodDisruptionBudgetInterface) Watch ¶
func (_m *PodDisruptionBudgetInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type PodDisruptionBudgetsGetter ¶
PodDisruptionBudgetsGetter is an autogenerated mock type for the PodDisruptionBudgetsGetter type
func (*PodDisruptionBudgetsGetter) PodDisruptionBudgets ¶
func (_m *PodDisruptionBudgetsGetter) PodDisruptionBudgets(namespace string) v1beta1.PodDisruptionBudgetInterface
PodDisruptionBudgets provides a mock function with given fields: namespace
type PodSecurityPoliciesGetter ¶
PodSecurityPoliciesGetter is an autogenerated mock type for the PodSecurityPoliciesGetter type
func (*PodSecurityPoliciesGetter) PodSecurityPolicies ¶
func (_m *PodSecurityPoliciesGetter) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface
PodSecurityPolicies provides a mock function with given fields:
type PodSecurityPolicyExpansion ¶
PodSecurityPolicyExpansion is an autogenerated mock type for the PodSecurityPolicyExpansion type
type PodSecurityPolicyInterface ¶
PodSecurityPolicyInterface is an autogenerated mock type for the PodSecurityPolicyInterface type
func (*PodSecurityPolicyInterface) Create ¶
func (_m *PodSecurityPolicyInterface) Create(ctx context.Context, podSecurityPolicy *v1beta1.PodSecurityPolicy, opts v1.CreateOptions) (*v1beta1.PodSecurityPolicy, error)
Create provides a mock function with given fields: ctx, podSecurityPolicy, opts
func (*PodSecurityPolicyInterface) Delete ¶
func (_m *PodSecurityPolicyInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*PodSecurityPolicyInterface) DeleteCollection ¶
func (_m *PodSecurityPolicyInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*PodSecurityPolicyInterface) Get ¶
func (_m *PodSecurityPolicyInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.PodSecurityPolicy, error)
Get provides a mock function with given fields: ctx, name, opts
func (*PodSecurityPolicyInterface) List ¶
func (_m *PodSecurityPolicyInterface) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PodSecurityPolicyList, error)
List provides a mock function with given fields: ctx, opts
func (*PodSecurityPolicyInterface) Patch ¶
func (_m *PodSecurityPolicyInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1beta1.PodSecurityPolicy, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*PodSecurityPolicyInterface) Update ¶
func (_m *PodSecurityPolicyInterface) Update(ctx context.Context, podSecurityPolicy *v1beta1.PodSecurityPolicy, opts v1.UpdateOptions) (*v1beta1.PodSecurityPolicy, error)
Update provides a mock function with given fields: ctx, podSecurityPolicy, opts
func (*PodSecurityPolicyInterface) Watch ¶
func (_m *PodSecurityPolicyInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type PolicyV1beta1Interface ¶
PolicyV1beta1Interface is an autogenerated mock type for the PolicyV1beta1Interface type
func (*PolicyV1beta1Interface) Evictions ¶
func (_m *PolicyV1beta1Interface) Evictions(namespace string) v1beta1.EvictionInterface
Evictions provides a mock function with given fields: namespace
func (*PolicyV1beta1Interface) PodDisruptionBudgets ¶
func (_m *PolicyV1beta1Interface) PodDisruptionBudgets(namespace string) v1beta1.PodDisruptionBudgetInterface
PodDisruptionBudgets provides a mock function with given fields: namespace
func (*PolicyV1beta1Interface) PodSecurityPolicies ¶
func (_m *PolicyV1beta1Interface) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface
PodSecurityPolicies provides a mock function with given fields:
func (*PolicyV1beta1Interface) RESTClient ¶
func (_m *PolicyV1beta1Interface) RESTClient() rest.Interface
RESTClient provides a mock function with given fields: