Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplicationConfigurations
- func (c *FakeApplicationConfigurations) Create(applicationConfiguration *v1alpha1.ApplicationConfiguration) (result *v1alpha1.ApplicationConfiguration, err error)
- func (c *FakeApplicationConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApplicationConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApplicationConfigurations) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationConfiguration, err error)
- func (c *FakeApplicationConfigurations) List(opts v1.ListOptions) (result *v1alpha1.ApplicationConfigurationList, err error)
- func (c *FakeApplicationConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationConfiguration, err error)
- func (c *FakeApplicationConfigurations) Update(applicationConfiguration *v1alpha1.ApplicationConfiguration) (result *v1alpha1.ApplicationConfiguration, err error)
- func (c *FakeApplicationConfigurations) UpdateStatus(applicationConfiguration *v1alpha1.ApplicationConfiguration) (*v1alpha1.ApplicationConfiguration, error)
- func (c *FakeApplicationConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApplicationScopes
- func (c *FakeApplicationScopes) Create(applicationScope *v1alpha1.ApplicationScope) (result *v1alpha1.ApplicationScope, err error)
- func (c *FakeApplicationScopes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApplicationScopes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApplicationScopes) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationScope, err error)
- func (c *FakeApplicationScopes) List(opts v1.ListOptions) (result *v1alpha1.ApplicationScopeList, err error)
- func (c *FakeApplicationScopes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationScope, err error)
- func (c *FakeApplicationScopes) Update(applicationScope *v1alpha1.ApplicationScope) (result *v1alpha1.ApplicationScope, err error)
- func (c *FakeApplicationScopes) UpdateStatus(applicationScope *v1alpha1.ApplicationScope) (*v1alpha1.ApplicationScope, error)
- func (c *FakeApplicationScopes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeComponentSchematics
- func (c *FakeComponentSchematics) Create(componentSchematic *v1alpha1.ComponentSchematic) (result *v1alpha1.ComponentSchematic, err error)
- func (c *FakeComponentSchematics) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeComponentSchematics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeComponentSchematics) Get(name string, options v1.GetOptions) (result *v1alpha1.ComponentSchematic, err error)
- func (c *FakeComponentSchematics) List(opts v1.ListOptions) (result *v1alpha1.ComponentSchematicList, err error)
- func (c *FakeComponentSchematics) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ComponentSchematic, err error)
- func (c *FakeComponentSchematics) Update(componentSchematic *v1alpha1.ComponentSchematic) (result *v1alpha1.ComponentSchematic, err error)
- func (c *FakeComponentSchematics) UpdateStatus(componentSchematic *v1alpha1.ComponentSchematic) (*v1alpha1.ComponentSchematic, error)
- func (c *FakeComponentSchematics) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCoreV1alpha1
- func (c *FakeCoreV1alpha1) ApplicationConfigurations(namespace string) v1alpha1.ApplicationConfigurationInterface
- func (c *FakeCoreV1alpha1) ApplicationScopes(namespace string) v1alpha1.ApplicationScopeInterface
- func (c *FakeCoreV1alpha1) ComponentSchematics(namespace string) v1alpha1.ComponentSchematicInterface
- func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
- func (c *FakeCoreV1alpha1) Traits(namespace string) v1alpha1.TraitInterface
- type FakeTraits
- func (c *FakeTraits) Create(trait *v1alpha1.Trait) (result *v1alpha1.Trait, err error)
- func (c *FakeTraits) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTraits) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTraits) Get(name string, options v1.GetOptions) (result *v1alpha1.Trait, err error)
- func (c *FakeTraits) List(opts v1.ListOptions) (result *v1alpha1.TraitList, err error)
- func (c *FakeTraits) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Trait, err error)
- func (c *FakeTraits) Update(trait *v1alpha1.Trait) (result *v1alpha1.Trait, err error)
- func (c *FakeTraits) UpdateStatus(trait *v1alpha1.Trait) (*v1alpha1.Trait, error)
- func (c *FakeTraits) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplicationConfigurations ¶
type FakeApplicationConfigurations struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeApplicationConfigurations implements ApplicationConfigurationInterface
func (*FakeApplicationConfigurations) Create ¶
func (c *FakeApplicationConfigurations) Create(applicationConfiguration *v1alpha1.ApplicationConfiguration) (result *v1alpha1.ApplicationConfiguration, err error)
Create takes the representation of a applicationConfiguration and creates it. Returns the server's representation of the applicationConfiguration, and an error, if there is any.
func (*FakeApplicationConfigurations) Delete ¶
func (c *FakeApplicationConfigurations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the applicationConfiguration and deletes it. Returns an error if one occurs.
func (*FakeApplicationConfigurations) DeleteCollection ¶
func (c *FakeApplicationConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationConfigurations) Get ¶
func (c *FakeApplicationConfigurations) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationConfiguration, err error)
Get takes name of the applicationConfiguration, and returns the corresponding applicationConfiguration object, and an error if there is any.
func (*FakeApplicationConfigurations) List ¶
func (c *FakeApplicationConfigurations) List(opts v1.ListOptions) (result *v1alpha1.ApplicationConfigurationList, err error)
List takes label and field selectors, and returns the list of ApplicationConfigurations that match those selectors.
func (*FakeApplicationConfigurations) Patch ¶
func (c *FakeApplicationConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationConfiguration, err error)
Patch applies the patch and returns the patched applicationConfiguration.
func (*FakeApplicationConfigurations) Update ¶
func (c *FakeApplicationConfigurations) Update(applicationConfiguration *v1alpha1.ApplicationConfiguration) (result *v1alpha1.ApplicationConfiguration, err error)
Update takes the representation of a applicationConfiguration and updates it. Returns the server's representation of the applicationConfiguration, and an error, if there is any.
func (*FakeApplicationConfigurations) UpdateStatus ¶
func (c *FakeApplicationConfigurations) UpdateStatus(applicationConfiguration *v1alpha1.ApplicationConfiguration) (*v1alpha1.ApplicationConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplicationConfigurations) Watch ¶
func (c *FakeApplicationConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationConfigurations.
type FakeApplicationScopes ¶
type FakeApplicationScopes struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeApplicationScopes implements ApplicationScopeInterface
func (*FakeApplicationScopes) Create ¶
func (c *FakeApplicationScopes) Create(applicationScope *v1alpha1.ApplicationScope) (result *v1alpha1.ApplicationScope, err error)
Create takes the representation of a applicationScope and creates it. Returns the server's representation of the applicationScope, and an error, if there is any.
func (*FakeApplicationScopes) Delete ¶
func (c *FakeApplicationScopes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the applicationScope and deletes it. Returns an error if one occurs.
func (*FakeApplicationScopes) DeleteCollection ¶
func (c *FakeApplicationScopes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationScopes) Get ¶
func (c *FakeApplicationScopes) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationScope, err error)
Get takes name of the applicationScope, and returns the corresponding applicationScope object, and an error if there is any.
func (*FakeApplicationScopes) List ¶
func (c *FakeApplicationScopes) List(opts v1.ListOptions) (result *v1alpha1.ApplicationScopeList, err error)
List takes label and field selectors, and returns the list of ApplicationScopes that match those selectors.
func (*FakeApplicationScopes) Patch ¶
func (c *FakeApplicationScopes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationScope, err error)
Patch applies the patch and returns the patched applicationScope.
func (*FakeApplicationScopes) Update ¶
func (c *FakeApplicationScopes) Update(applicationScope *v1alpha1.ApplicationScope) (result *v1alpha1.ApplicationScope, err error)
Update takes the representation of a applicationScope and updates it. Returns the server's representation of the applicationScope, and an error, if there is any.
func (*FakeApplicationScopes) UpdateStatus ¶
func (c *FakeApplicationScopes) UpdateStatus(applicationScope *v1alpha1.ApplicationScope) (*v1alpha1.ApplicationScope, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplicationScopes) Watch ¶
func (c *FakeApplicationScopes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationScopes.
type FakeComponentSchematics ¶
type FakeComponentSchematics struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeComponentSchematics implements ComponentSchematicInterface
func (*FakeComponentSchematics) Create ¶
func (c *FakeComponentSchematics) Create(componentSchematic *v1alpha1.ComponentSchematic) (result *v1alpha1.ComponentSchematic, err error)
Create takes the representation of a componentSchematic and creates it. Returns the server's representation of the componentSchematic, and an error, if there is any.
func (*FakeComponentSchematics) Delete ¶
func (c *FakeComponentSchematics) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the componentSchematic and deletes it. Returns an error if one occurs.
func (*FakeComponentSchematics) DeleteCollection ¶
func (c *FakeComponentSchematics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponentSchematics) Get ¶
func (c *FakeComponentSchematics) Get(name string, options v1.GetOptions) (result *v1alpha1.ComponentSchematic, err error)
Get takes name of the componentSchematic, and returns the corresponding componentSchematic object, and an error if there is any.
func (*FakeComponentSchematics) List ¶
func (c *FakeComponentSchematics) List(opts v1.ListOptions) (result *v1alpha1.ComponentSchematicList, err error)
List takes label and field selectors, and returns the list of ComponentSchematics that match those selectors.
func (*FakeComponentSchematics) Patch ¶
func (c *FakeComponentSchematics) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ComponentSchematic, err error)
Patch applies the patch and returns the patched componentSchematic.
func (*FakeComponentSchematics) Update ¶
func (c *FakeComponentSchematics) Update(componentSchematic *v1alpha1.ComponentSchematic) (result *v1alpha1.ComponentSchematic, err error)
Update takes the representation of a componentSchematic and updates it. Returns the server's representation of the componentSchematic, and an error, if there is any.
func (*FakeComponentSchematics) UpdateStatus ¶
func (c *FakeComponentSchematics) UpdateStatus(componentSchematic *v1alpha1.ComponentSchematic) (*v1alpha1.ComponentSchematic, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComponentSchematics) Watch ¶
func (c *FakeComponentSchematics) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested componentSchematics.
type FakeCoreV1alpha1 ¶
func (*FakeCoreV1alpha1) ApplicationConfigurations ¶
func (c *FakeCoreV1alpha1) ApplicationConfigurations(namespace string) v1alpha1.ApplicationConfigurationInterface
func (*FakeCoreV1alpha1) ApplicationScopes ¶
func (c *FakeCoreV1alpha1) ApplicationScopes(namespace string) v1alpha1.ApplicationScopeInterface
func (*FakeCoreV1alpha1) ComponentSchematics ¶
func (c *FakeCoreV1alpha1) ComponentSchematics(namespace string) v1alpha1.ComponentSchematicInterface
func (*FakeCoreV1alpha1) RESTClient ¶
func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCoreV1alpha1) Traits ¶
func (c *FakeCoreV1alpha1) Traits(namespace string) v1alpha1.TraitInterface
type FakeTraits ¶
type FakeTraits struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeTraits implements TraitInterface
func (*FakeTraits) Create ¶
Create takes the representation of a trait and creates it. Returns the server's representation of the trait, and an error, if there is any.
func (*FakeTraits) Delete ¶
func (c *FakeTraits) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the trait and deletes it. Returns an error if one occurs.
func (*FakeTraits) DeleteCollection ¶
func (c *FakeTraits) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTraits) Get ¶
func (c *FakeTraits) Get(name string, options v1.GetOptions) (result *v1alpha1.Trait, err error)
Get takes name of the trait, and returns the corresponding trait object, and an error if there is any.
func (*FakeTraits) List ¶
func (c *FakeTraits) List(opts v1.ListOptions) (result *v1alpha1.TraitList, err error)
List takes label and field selectors, and returns the list of Traits that match those selectors.
func (*FakeTraits) Patch ¶
func (c *FakeTraits) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Trait, err error)
Patch applies the patch and returns the patched trait.
func (*FakeTraits) Update ¶
Update takes the representation of a trait and updates it. Returns the server's representation of the trait, and an error, if there is any.
func (*FakeTraits) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTraits) Watch ¶
func (c *FakeTraits) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested traits.