Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(ctx context.Context, configMap *logagentv1.ConfigMap, opts v1.CreateOptions) (result *logagentv1.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *logagentv1.ConfigMap, err error)
- func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *logagentv1.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *logagentv1.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(ctx context.Context, configMap *logagentv1.ConfigMap, opts v1.UpdateOptions) (result *logagentv1.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLogAgents
- func (c *FakeLogAgents) Create(ctx context.Context, logAgent *logagentv1.LogAgent, opts v1.CreateOptions) (result *logagentv1.LogAgent, err error)
- func (c *FakeLogAgents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLogAgents) Get(ctx context.Context, name string, options v1.GetOptions) (result *logagentv1.LogAgent, err error)
- func (c *FakeLogAgents) List(ctx context.Context, opts v1.ListOptions) (result *logagentv1.LogAgentList, err error)
- func (c *FakeLogAgents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *logagentv1.LogAgent, err error)
- func (c *FakeLogAgents) Update(ctx context.Context, logAgent *logagentv1.LogAgent, opts v1.UpdateOptions) (result *logagentv1.LogAgent, err error)
- func (c *FakeLogAgents) UpdateStatus(ctx context.Context, logAgent *logagentv1.LogAgent, opts v1.UpdateOptions) (*logagentv1.LogAgent, error)
- func (c *FakeLogAgents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLogagentV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfigMaps ¶
type FakeConfigMaps struct {
Fake *FakeLogagentV1
}
FakeConfigMaps implements ConfigMapInterface
func (*FakeConfigMaps) Create ¶
func (c *FakeConfigMaps) Create(ctx context.Context, configMap *logagentv1.ConfigMap, opts v1.CreateOptions) (result *logagentv1.ConfigMap, err error)
Create takes the representation of a configMap and creates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Delete ¶
func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configMap and deletes it. Returns an error if one occurs.
func (*FakeConfigMaps) Get ¶
func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *logagentv1.ConfigMap, err error)
Get takes name of the configMap, and returns the corresponding configMap object, and an error if there is any.
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *logagentv1.ConfigMapList, err error)
List takes label and field selectors, and returns the list of ConfigMaps that match those selectors.
func (*FakeConfigMaps) Patch ¶
func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *logagentv1.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
func (c *FakeConfigMaps) Update(ctx context.Context, configMap *logagentv1.ConfigMap, opts v1.UpdateOptions) (result *logagentv1.ConfigMap, err error)
Update takes the representation of a configMap and updates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Watch ¶
func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configMaps.
type FakeLogAgents ¶
type FakeLogAgents struct {
Fake *FakeLogagentV1
}
FakeLogAgents implements LogAgentInterface
func (*FakeLogAgents) Create ¶
func (c *FakeLogAgents) Create(ctx context.Context, logAgent *logagentv1.LogAgent, opts v1.CreateOptions) (result *logagentv1.LogAgent, err error)
Create takes the representation of a logAgent and creates it. Returns the server's representation of the logAgent, and an error, if there is any.
func (*FakeLogAgents) Delete ¶
func (c *FakeLogAgents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the logAgent and deletes it. Returns an error if one occurs.
func (*FakeLogAgents) Get ¶
func (c *FakeLogAgents) Get(ctx context.Context, name string, options v1.GetOptions) (result *logagentv1.LogAgent, err error)
Get takes name of the logAgent, and returns the corresponding logAgent object, and an error if there is any.
func (*FakeLogAgents) List ¶
func (c *FakeLogAgents) List(ctx context.Context, opts v1.ListOptions) (result *logagentv1.LogAgentList, err error)
List takes label and field selectors, and returns the list of LogAgents that match those selectors.
func (*FakeLogAgents) Patch ¶
func (c *FakeLogAgents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *logagentv1.LogAgent, err error)
Patch applies the patch and returns the patched logAgent.
func (*FakeLogAgents) Update ¶
func (c *FakeLogAgents) Update(ctx context.Context, logAgent *logagentv1.LogAgent, opts v1.UpdateOptions) (result *logagentv1.LogAgent, err error)
Update takes the representation of a logAgent and updates it. Returns the server's representation of the logAgent, and an error, if there is any.
func (*FakeLogAgents) UpdateStatus ¶
func (c *FakeLogAgents) UpdateStatus(ctx context.Context, logAgent *logagentv1.LogAgent, opts v1.UpdateOptions) (*logagentv1.LogAgent, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLogAgents) Watch ¶
func (c *FakeLogAgents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested logAgents.
type FakeLogagentV1 ¶
func (*FakeLogagentV1) ConfigMaps ¶
func (c *FakeLogagentV1) ConfigMaps() v1.ConfigMapInterface
func (*FakeLogagentV1) LogAgents ¶
func (c *FakeLogagentV1) LogAgents() v1.LogAgentInterface
func (*FakeLogagentV1) RESTClient ¶
func (c *FakeLogagentV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.