Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAcidV1
- type FakeOperatorConfigurations
- type FakePostgresTeams
- func (c *FakePostgresTeams) Create(ctx context.Context, postgresTeam *acidzalandov1.PostgresTeam, ...) (result *acidzalandov1.PostgresTeam, err error)
- func (c *FakePostgresTeams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePostgresTeams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePostgresTeams) Get(ctx context.Context, name string, options v1.GetOptions) (result *acidzalandov1.PostgresTeam, err error)
- func (c *FakePostgresTeams) List(ctx context.Context, opts v1.ListOptions) (result *acidzalandov1.PostgresTeamList, err error)
- func (c *FakePostgresTeams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *acidzalandov1.PostgresTeam, err error)
- func (c *FakePostgresTeams) Update(ctx context.Context, postgresTeam *acidzalandov1.PostgresTeam, ...) (result *acidzalandov1.PostgresTeam, err error)
- func (c *FakePostgresTeams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePostgresqls
- func (c *FakePostgresqls) Create(ctx context.Context, postgresql *acidzalandov1.Postgresql, ...) (result *acidzalandov1.Postgresql, err error)
- func (c *FakePostgresqls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePostgresqls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePostgresqls) Get(ctx context.Context, name string, options v1.GetOptions) (result *acidzalandov1.Postgresql, err error)
- func (c *FakePostgresqls) List(ctx context.Context, opts v1.ListOptions) (result *acidzalandov1.PostgresqlList, err error)
- func (c *FakePostgresqls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *acidzalandov1.Postgresql, err error)
- func (c *FakePostgresqls) Update(ctx context.Context, postgresql *acidzalandov1.Postgresql, ...) (result *acidzalandov1.Postgresql, err error)
- func (c *FakePostgresqls) UpdateStatus(ctx context.Context, postgresql *acidzalandov1.Postgresql, ...) (*acidzalandov1.Postgresql, error)
- func (c *FakePostgresqls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAcidV1 ¶
func (*FakeAcidV1) OperatorConfigurations ¶
func (c *FakeAcidV1) OperatorConfigurations(namespace string) v1.OperatorConfigurationInterface
func (*FakeAcidV1) PostgresTeams ¶ added in v1.6.0
func (c *FakeAcidV1) PostgresTeams(namespace string) v1.PostgresTeamInterface
func (*FakeAcidV1) Postgresqls ¶
func (c *FakeAcidV1) Postgresqls(namespace string) v1.PostgresqlInterface
func (*FakeAcidV1) RESTClient ¶
func (c *FakeAcidV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeOperatorConfigurations ¶
type FakeOperatorConfigurations struct { Fake *FakeAcidV1 // contains filtered or unexported fields }
FakeOperatorConfigurations implements OperatorConfigurationInterface
func (*FakeOperatorConfigurations) Get ¶
func (c *FakeOperatorConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *acidzalandov1.OperatorConfiguration, err error)
Get takes name of the operatorConfiguration, and returns the corresponding operatorConfiguration object, and an error if there is any.
type FakePostgresTeams ¶ added in v1.6.0
type FakePostgresTeams struct { Fake *FakeAcidV1 // contains filtered or unexported fields }
FakePostgresTeams implements PostgresTeamInterface
func (*FakePostgresTeams) Create ¶ added in v1.6.0
func (c *FakePostgresTeams) Create(ctx context.Context, postgresTeam *acidzalandov1.PostgresTeam, opts v1.CreateOptions) (result *acidzalandov1.PostgresTeam, err error)
Create takes the representation of a postgresTeam and creates it. Returns the server's representation of the postgresTeam, and an error, if there is any.
func (*FakePostgresTeams) Delete ¶ added in v1.6.0
func (c *FakePostgresTeams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the postgresTeam and deletes it. Returns an error if one occurs.
func (*FakePostgresTeams) DeleteCollection ¶ added in v1.6.0
func (c *FakePostgresTeams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePostgresTeams) Get ¶ added in v1.6.0
func (c *FakePostgresTeams) Get(ctx context.Context, name string, options v1.GetOptions) (result *acidzalandov1.PostgresTeam, err error)
Get takes name of the postgresTeam, and returns the corresponding postgresTeam object, and an error if there is any.
func (*FakePostgresTeams) List ¶ added in v1.6.0
func (c *FakePostgresTeams) List(ctx context.Context, opts v1.ListOptions) (result *acidzalandov1.PostgresTeamList, err error)
List takes label and field selectors, and returns the list of PostgresTeams that match those selectors.
func (*FakePostgresTeams) Patch ¶ added in v1.6.0
func (c *FakePostgresTeams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *acidzalandov1.PostgresTeam, err error)
Patch applies the patch and returns the patched postgresTeam.
func (*FakePostgresTeams) Update ¶ added in v1.6.0
func (c *FakePostgresTeams) Update(ctx context.Context, postgresTeam *acidzalandov1.PostgresTeam, opts v1.UpdateOptions) (result *acidzalandov1.PostgresTeam, err error)
Update takes the representation of a postgresTeam and updates it. Returns the server's representation of the postgresTeam, and an error, if there is any.
func (*FakePostgresTeams) Watch ¶ added in v1.6.0
func (c *FakePostgresTeams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested postgresTeams.
type FakePostgresqls ¶
type FakePostgresqls struct { Fake *FakeAcidV1 // contains filtered or unexported fields }
FakePostgresqls implements PostgresqlInterface
func (*FakePostgresqls) Create ¶
func (c *FakePostgresqls) Create(ctx context.Context, postgresql *acidzalandov1.Postgresql, opts v1.CreateOptions) (result *acidzalandov1.Postgresql, err error)
Create takes the representation of a postgresql and creates it. Returns the server's representation of the postgresql, and an error, if there is any.
func (*FakePostgresqls) Delete ¶
func (c *FakePostgresqls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the postgresql and deletes it. Returns an error if one occurs.
func (*FakePostgresqls) DeleteCollection ¶
func (c *FakePostgresqls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePostgresqls) Get ¶
func (c *FakePostgresqls) Get(ctx context.Context, name string, options v1.GetOptions) (result *acidzalandov1.Postgresql, err error)
Get takes name of the postgresql, and returns the corresponding postgresql object, and an error if there is any.
func (*FakePostgresqls) List ¶
func (c *FakePostgresqls) List(ctx context.Context, opts v1.ListOptions) (result *acidzalandov1.PostgresqlList, err error)
List takes label and field selectors, and returns the list of Postgresqls that match those selectors.
func (*FakePostgresqls) Patch ¶
func (c *FakePostgresqls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *acidzalandov1.Postgresql, err error)
Patch applies the patch and returns the patched postgresql.
func (*FakePostgresqls) Update ¶
func (c *FakePostgresqls) Update(ctx context.Context, postgresql *acidzalandov1.Postgresql, opts v1.UpdateOptions) (result *acidzalandov1.Postgresql, err error)
Update takes the representation of a postgresql and updates it. Returns the server's representation of the postgresql, and an error, if there is any.
func (*FakePostgresqls) UpdateStatus ¶
func (c *FakePostgresqls) UpdateStatus(ctx context.Context, postgresql *acidzalandov1.Postgresql, opts v1.UpdateOptions) (*acidzalandov1.Postgresql, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePostgresqls) Watch ¶
func (c *FakePostgresqls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested postgresqls.