fake

package
v0.0.1-alpha4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCloudFormationTemplates

type FakeCloudFormationTemplates struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeCloudFormationTemplates implements CloudFormationTemplateInterface

func (*FakeCloudFormationTemplates) Create

func (c *FakeCloudFormationTemplates) Create(cloudFormationTemplate *v1alpha1.CloudFormationTemplate) (result *v1alpha1.CloudFormationTemplate, err error)

Create takes the representation of a cloudFormationTemplate and creates it. Returns the server's representation of the cloudFormationTemplate, and an error, if there is any.

func (*FakeCloudFormationTemplates) Delete

func (c *FakeCloudFormationTemplates) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the cloudFormationTemplate and deletes it. Returns an error if one occurs.

func (*FakeCloudFormationTemplates) DeleteCollection

func (c *FakeCloudFormationTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCloudFormationTemplates) Get

Get takes name of the cloudFormationTemplate, and returns the corresponding cloudFormationTemplate object, and an error if there is any.

func (*FakeCloudFormationTemplates) List

List takes label and field selectors, and returns the list of CloudFormationTemplates that match those selectors.

func (*FakeCloudFormationTemplates) Patch

func (c *FakeCloudFormationTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudFormationTemplate, err error)

Patch applies the patch and returns the patched cloudFormationTemplate.

func (*FakeCloudFormationTemplates) Update

func (c *FakeCloudFormationTemplates) Update(cloudFormationTemplate *v1alpha1.CloudFormationTemplate) (result *v1alpha1.CloudFormationTemplate, err error)

Update takes the representation of a cloudFormationTemplate and updates it. Returns the server's representation of the cloudFormationTemplate, and an error, if there is any.

func (*FakeCloudFormationTemplates) Watch

Watch returns a watch.Interface that watches the requested cloudFormationTemplates.

type FakeDynamoDBs

type FakeDynamoDBs struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeDynamoDBs implements DynamoDBInterface

func (*FakeDynamoDBs) Create

func (c *FakeDynamoDBs) Create(dynamoDB *v1alpha1.DynamoDB) (result *v1alpha1.DynamoDB, err error)

Create takes the representation of a dynamoDB and creates it. Returns the server's representation of the dynamoDB, and an error, if there is any.

func (*FakeDynamoDBs) Delete

func (c *FakeDynamoDBs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the dynamoDB and deletes it. Returns an error if one occurs.

func (*FakeDynamoDBs) DeleteCollection

func (c *FakeDynamoDBs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDynamoDBs) Get

func (c *FakeDynamoDBs) Get(name string, options v1.GetOptions) (result *v1alpha1.DynamoDB, err error)

Get takes name of the dynamoDB, and returns the corresponding dynamoDB object, and an error if there is any.

func (*FakeDynamoDBs) List

func (c *FakeDynamoDBs) List(opts v1.ListOptions) (result *v1alpha1.DynamoDBList, err error)

List takes label and field selectors, and returns the list of DynamoDBs that match those selectors.

func (*FakeDynamoDBs) Patch

func (c *FakeDynamoDBs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DynamoDB, err error)

Patch applies the patch and returns the patched dynamoDB.

func (*FakeDynamoDBs) Update

func (c *FakeDynamoDBs) Update(dynamoDB *v1alpha1.DynamoDB) (result *v1alpha1.DynamoDB, err error)

Update takes the representation of a dynamoDB and updates it. Returns the server's representation of the dynamoDB, and an error, if there is any.

func (*FakeDynamoDBs) Watch

func (c *FakeDynamoDBs) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested dynamoDBs.

type FakeECRRepositories

type FakeECRRepositories struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeECRRepositories implements ECRRepositoryInterface

func (*FakeECRRepositories) Create

func (c *FakeECRRepositories) Create(eCRRepository *v1alpha1.ECRRepository) (result *v1alpha1.ECRRepository, err error)

Create takes the representation of a eCRRepository and creates it. Returns the server's representation of the eCRRepository, and an error, if there is any.

func (*FakeECRRepositories) Delete

func (c *FakeECRRepositories) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the eCRRepository and deletes it. Returns an error if one occurs.

func (*FakeECRRepositories) DeleteCollection

func (c *FakeECRRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeECRRepositories) Get

func (c *FakeECRRepositories) Get(name string, options v1.GetOptions) (result *v1alpha1.ECRRepository, err error)

Get takes name of the eCRRepository, and returns the corresponding eCRRepository object, and an error if there is any.

func (*FakeECRRepositories) List

func (c *FakeECRRepositories) List(opts v1.ListOptions) (result *v1alpha1.ECRRepositoryList, err error)

List takes label and field selectors, and returns the list of ECRRepositories that match those selectors.

func (*FakeECRRepositories) Patch

func (c *FakeECRRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ECRRepository, err error)

Patch applies the patch and returns the patched eCRRepository.

func (*FakeECRRepositories) Update

func (c *FakeECRRepositories) Update(eCRRepository *v1alpha1.ECRRepository) (result *v1alpha1.ECRRepository, err error)

Update takes the representation of a eCRRepository and updates it. Returns the server's representation of the eCRRepository, and an error, if there is any.

func (*FakeECRRepositories) Watch

Watch returns a watch.Interface that watches the requested eCRRepositories.

type FakeElastiCaches

type FakeElastiCaches struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeElastiCaches implements ElastiCacheInterface

func (*FakeElastiCaches) Create

func (c *FakeElastiCaches) Create(elastiCache *v1alpha1.ElastiCache) (result *v1alpha1.ElastiCache, err error)

Create takes the representation of a elastiCache and creates it. Returns the server's representation of the elastiCache, and an error, if there is any.

func (*FakeElastiCaches) Delete

func (c *FakeElastiCaches) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the elastiCache and deletes it. Returns an error if one occurs.

func (*FakeElastiCaches) DeleteCollection

func (c *FakeElastiCaches) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeElastiCaches) Get

func (c *FakeElastiCaches) Get(name string, options v1.GetOptions) (result *v1alpha1.ElastiCache, err error)

Get takes name of the elastiCache, and returns the corresponding elastiCache object, and an error if there is any.

func (*FakeElastiCaches) List

func (c *FakeElastiCaches) List(opts v1.ListOptions) (result *v1alpha1.ElastiCacheList, err error)

List takes label and field selectors, and returns the list of ElastiCaches that match those selectors.

func (*FakeElastiCaches) Patch

func (c *FakeElastiCaches) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ElastiCache, err error)

Patch applies the patch and returns the patched elastiCache.

func (*FakeElastiCaches) Update

func (c *FakeElastiCaches) Update(elastiCache *v1alpha1.ElastiCache) (result *v1alpha1.ElastiCache, err error)

Update takes the representation of a elastiCache and updates it. Returns the server's representation of the elastiCache, and an error, if there is any.

func (*FakeElastiCaches) Watch

func (c *FakeElastiCaches) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested elastiCaches.

type FakeS3Buckets

type FakeS3Buckets struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeS3Buckets implements S3BucketInterface

func (*FakeS3Buckets) Create

func (c *FakeS3Buckets) Create(s3Bucket *v1alpha1.S3Bucket) (result *v1alpha1.S3Bucket, err error)

Create takes the representation of a s3Bucket and creates it. Returns the server's representation of the s3Bucket, and an error, if there is any.

func (*FakeS3Buckets) Delete

func (c *FakeS3Buckets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the s3Bucket and deletes it. Returns an error if one occurs.

func (*FakeS3Buckets) DeleteCollection

func (c *FakeS3Buckets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeS3Buckets) Get

func (c *FakeS3Buckets) Get(name string, options v1.GetOptions) (result *v1alpha1.S3Bucket, err error)

Get takes name of the s3Bucket, and returns the corresponding s3Bucket object, and an error if there is any.

func (*FakeS3Buckets) List

func (c *FakeS3Buckets) List(opts v1.ListOptions) (result *v1alpha1.S3BucketList, err error)

List takes label and field selectors, and returns the list of S3Buckets that match those selectors.

func (*FakeS3Buckets) Patch

func (c *FakeS3Buckets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.S3Bucket, err error)

Patch applies the patch and returns the patched s3Bucket.

func (*FakeS3Buckets) Update

func (c *FakeS3Buckets) Update(s3Bucket *v1alpha1.S3Bucket) (result *v1alpha1.S3Bucket, err error)

Update takes the representation of a s3Bucket and updates it. Returns the server's representation of the s3Bucket, and an error, if there is any.

func (*FakeS3Buckets) Watch

func (c *FakeS3Buckets) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested s3Buckets.

type FakeSNSSubscriptions

type FakeSNSSubscriptions struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeSNSSubscriptions implements SNSSubscriptionInterface

func (*FakeSNSSubscriptions) Create

func (c *FakeSNSSubscriptions) Create(sNSSubscription *v1alpha1.SNSSubscription) (result *v1alpha1.SNSSubscription, err error)

Create takes the representation of a sNSSubscription and creates it. Returns the server's representation of the sNSSubscription, and an error, if there is any.

func (*FakeSNSSubscriptions) Delete

func (c *FakeSNSSubscriptions) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sNSSubscription and deletes it. Returns an error if one occurs.

func (*FakeSNSSubscriptions) DeleteCollection

func (c *FakeSNSSubscriptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSNSSubscriptions) Get

func (c *FakeSNSSubscriptions) Get(name string, options v1.GetOptions) (result *v1alpha1.SNSSubscription, err error)

Get takes name of the sNSSubscription, and returns the corresponding sNSSubscription object, and an error if there is any.

func (*FakeSNSSubscriptions) List

List takes label and field selectors, and returns the list of SNSSubscriptions that match those selectors.

func (*FakeSNSSubscriptions) Patch

func (c *FakeSNSSubscriptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SNSSubscription, err error)

Patch applies the patch and returns the patched sNSSubscription.

func (*FakeSNSSubscriptions) Update

func (c *FakeSNSSubscriptions) Update(sNSSubscription *v1alpha1.SNSSubscription) (result *v1alpha1.SNSSubscription, err error)

Update takes the representation of a sNSSubscription and updates it. Returns the server's representation of the sNSSubscription, and an error, if there is any.

func (*FakeSNSSubscriptions) Watch

Watch returns a watch.Interface that watches the requested sNSSubscriptions.

type FakeSNSTopics

type FakeSNSTopics struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeSNSTopics implements SNSTopicInterface

func (*FakeSNSTopics) Create

func (c *FakeSNSTopics) Create(sNSTopic *v1alpha1.SNSTopic) (result *v1alpha1.SNSTopic, err error)

Create takes the representation of a sNSTopic and creates it. Returns the server's representation of the sNSTopic, and an error, if there is any.

func (*FakeSNSTopics) Delete

func (c *FakeSNSTopics) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sNSTopic and deletes it. Returns an error if one occurs.

func (*FakeSNSTopics) DeleteCollection

func (c *FakeSNSTopics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSNSTopics) Get

func (c *FakeSNSTopics) Get(name string, options v1.GetOptions) (result *v1alpha1.SNSTopic, err error)

Get takes name of the sNSTopic, and returns the corresponding sNSTopic object, and an error if there is any.

func (*FakeSNSTopics) List

func (c *FakeSNSTopics) List(opts v1.ListOptions) (result *v1alpha1.SNSTopicList, err error)

List takes label and field selectors, and returns the list of SNSTopics that match those selectors.

func (*FakeSNSTopics) Patch

func (c *FakeSNSTopics) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SNSTopic, err error)

Patch applies the patch and returns the patched sNSTopic.

func (*FakeSNSTopics) Update

func (c *FakeSNSTopics) Update(sNSTopic *v1alpha1.SNSTopic) (result *v1alpha1.SNSTopic, err error)

Update takes the representation of a sNSTopic and updates it. Returns the server's representation of the sNSTopic, and an error, if there is any.

func (*FakeSNSTopics) Watch

func (c *FakeSNSTopics) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested sNSTopics.

type FakeSQSQueues

type FakeSQSQueues struct {
	Fake *FakeServiceoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeSQSQueues implements SQSQueueInterface

func (*FakeSQSQueues) Create

func (c *FakeSQSQueues) Create(sQSQueue *v1alpha1.SQSQueue) (result *v1alpha1.SQSQueue, err error)

Create takes the representation of a sQSQueue and creates it. Returns the server's representation of the sQSQueue, and an error, if there is any.

func (*FakeSQSQueues) Delete

func (c *FakeSQSQueues) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sQSQueue and deletes it. Returns an error if one occurs.

func (*FakeSQSQueues) DeleteCollection

func (c *FakeSQSQueues) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSQSQueues) Get

func (c *FakeSQSQueues) Get(name string, options v1.GetOptions) (result *v1alpha1.SQSQueue, err error)

Get takes name of the sQSQueue, and returns the corresponding sQSQueue object, and an error if there is any.

func (*FakeSQSQueues) List

func (c *FakeSQSQueues) List(opts v1.ListOptions) (result *v1alpha1.SQSQueueList, err error)

List takes label and field selectors, and returns the list of SQSQueues that match those selectors.

func (*FakeSQSQueues) Patch

func (c *FakeSQSQueues) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SQSQueue, err error)

Patch applies the patch and returns the patched sQSQueue.

func (*FakeSQSQueues) Update

func (c *FakeSQSQueues) Update(sQSQueue *v1alpha1.SQSQueue) (result *v1alpha1.SQSQueue, err error)

Update takes the representation of a sQSQueue and updates it. Returns the server's representation of the sQSQueue, and an error, if there is any.

func (*FakeSQSQueues) Watch

func (c *FakeSQSQueues) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested sQSQueues.

type FakeServiceoperatorV1alpha1

type FakeServiceoperatorV1alpha1 struct {
	*testing.Fake
}

func (*FakeServiceoperatorV1alpha1) CloudFormationTemplates

func (c *FakeServiceoperatorV1alpha1) CloudFormationTemplates(namespace string) v1alpha1.CloudFormationTemplateInterface

func (*FakeServiceoperatorV1alpha1) DynamoDBs

func (*FakeServiceoperatorV1alpha1) ECRRepositories

func (c *FakeServiceoperatorV1alpha1) ECRRepositories(namespace string) v1alpha1.ECRRepositoryInterface

func (*FakeServiceoperatorV1alpha1) ElastiCaches

func (*FakeServiceoperatorV1alpha1) RESTClient

func (c *FakeServiceoperatorV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeServiceoperatorV1alpha1) S3Buckets

func (*FakeServiceoperatorV1alpha1) SNSSubscriptions

func (*FakeServiceoperatorV1alpha1) SNSTopics

func (*FakeServiceoperatorV1alpha1) SQSQueues

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL