mock

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Namespace string
	Objects   []*awsv1beta1.CloudFront
}

Client for mocking CloudFront client.

func (*Client) Create

func (c *Client) Create(cloudFront *awsv1beta1.CloudFront) (*awsv1beta1.CloudFront, error)

Create a CloudFront.

func (*Client) Delete

func (c *Client) Delete(name string, options *metav1.DeleteOptions) error

Delete a CloudFront.

func (*Client) Exists

func (c *Client) Exists(name string, opts metav1.GetOptions) (bool, error)

Exists checks if a CloudFront is present.

func (*Client) Get

func (c *Client) Get(name string, opts metav1.GetOptions) (*awsv1beta1.CloudFront, error)

Get a CloudFront.

func (*Client) List

List a CloudFront.

func (*Client) Update

func (c *Client) Update(cloudFront *awsv1beta1.CloudFront) (*awsv1beta1.CloudFront, error)

Update a CloudFront.

func (*Client) Watch

func (c *Client) Watch(opts metav1.ListOptions) (watch.Interface, error)

Watch for CloudFront object changes.

Jump to

Keyboard shortcuts

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