Documentation ¶
Index ¶
- type FakeSecurityContextContstraint
- func (c *FakeSecurityContextContstraint) Create(inObj *securityapi.SecurityContextConstraints) (*securityapi.SecurityContextConstraints, error)
- func (c *FakeSecurityContextContstraint) Delete(name string) error
- func (c *FakeSecurityContextContstraint) Get(name string, options metav1.GetOptions) (*securityapi.SecurityContextConstraints, error)
- func (c *FakeSecurityContextContstraint) List(opts metav1.ListOptions) (*securityapi.SecurityContextConstraintsList, error)
- func (c *FakeSecurityContextContstraint) Update(inObj *securityapi.SecurityContextConstraints) (*securityapi.SecurityContextConstraints, error)
- func (c *FakeSecurityContextContstraint) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type SecurityContextConstraintInterface
- type SecurityContextConstraintV1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSecurityContextContstraint ¶
type FakeSecurityContextContstraint struct {
Fake *otestclient.Fake
}
func NewSimpleFake ¶
func NewSimpleFake(objects ...runtime.Object) *FakeSecurityContextContstraint
NewSimpleFake returns a client that will respond with the provided objects
func (*FakeSecurityContextContstraint) Create ¶
func (c *FakeSecurityContextContstraint) Create(inObj *securityapi.SecurityContextConstraints) (*securityapi.SecurityContextConstraints, error)
func (*FakeSecurityContextContstraint) Delete ¶
func (c *FakeSecurityContextContstraint) Delete(name string) error
func (*FakeSecurityContextContstraint) Get ¶
func (c *FakeSecurityContextContstraint) Get(name string, options metav1.GetOptions) (*securityapi.SecurityContextConstraints, error)
func (*FakeSecurityContextContstraint) List ¶
func (c *FakeSecurityContextContstraint) List(opts metav1.ListOptions) (*securityapi.SecurityContextConstraintsList, error)
func (*FakeSecurityContextContstraint) Update ¶
func (c *FakeSecurityContextContstraint) Update(inObj *securityapi.SecurityContextConstraints) (*securityapi.SecurityContextConstraints, error)
func (*FakeSecurityContextContstraint) Watch ¶
func (c *FakeSecurityContextContstraint) Watch(opts metav1.ListOptions) (watch.Interface, error)
type SecurityContextConstraintInterface ¶
type SecurityContextConstraintInterface interface { List(opts metav1.ListOptions) (*securityapi.SecurityContextConstraintsList, error) Get(name string, options metav1.GetOptions) (*securityapi.SecurityContextConstraints, error) Create(*securityapi.SecurityContextConstraints) (*securityapi.SecurityContextConstraints, error) Update(*securityapi.SecurityContextConstraints) (*securityapi.SecurityContextConstraints, error) Delete(name string) error Watch(opts metav1.ListOptions) (watch.Interface, error) }
SecurityContextConstraintInterface exposes methods on SecurityContextConstraints resources
func New ¶
func New(c *rest.Config) (SecurityContextConstraintInterface, error)
New creates a legacy client for SCC access. This only exists for `oc` compatibility with old servers
func NewFromClient ¶
func NewFromClient(client rest.Interface) SecurityContextConstraintInterface
New creates a legacy client for SCC access. This only exists for `oc` compatibility with old servers
type SecurityContextConstraintV1Interface ¶
type SecurityContextConstraintV1Interface interface { List(opts metav1.ListOptions) (*securityapiv1.SecurityContextConstraintsList, error) Get(name string, options metav1.GetOptions) (*securityapiv1.SecurityContextConstraints, error) Create(*securityapiv1.SecurityContextConstraints) (*securityapiv1.SecurityContextConstraints, error) Update(*securityapiv1.SecurityContextConstraints) (*securityapiv1.SecurityContextConstraints, error) Delete(name string) error Watch(opts metav1.ListOptions) (watch.Interface, error) }
SecurityContextConstraintV1Interface exposes methods on SecurityContextConstraintV1s resources
func NewVersionedFromClient ¶
func NewVersionedFromClient(client rest.Interface) SecurityContextConstraintV1Interface
NewVersionedFromClient creates a legacy client for SCC access. This only exists for `oc` compatibility with old servers
Click to show internal directories.
Click to hide internal directories.