fake

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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 FakeDhcpOptionsAssociations

type FakeDhcpOptionsAssociations struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeDhcpOptionsAssociations implements DhcpOptionsAssociationInterface

func (*FakeDhcpOptionsAssociations) Create

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

func (*FakeDhcpOptionsAssociations) Delete

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

func (*FakeDhcpOptionsAssociations) DeleteCollection

func (c *FakeDhcpOptionsAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDhcpOptionsAssociations) Get

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

func (*FakeDhcpOptionsAssociations) List

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

func (*FakeDhcpOptionsAssociations) Patch

func (c *FakeDhcpOptionsAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DhcpOptionsAssociation, err error)

Patch applies the patch and returns the patched dhcpOptionsAssociation.

func (*FakeDhcpOptionsAssociations) Update

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

func (*FakeDhcpOptionsAssociations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDhcpOptionsAssociations) Watch

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

type FakeDhcpOptionses

type FakeDhcpOptionses struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeDhcpOptionses implements DhcpOptionsInterface

func (*FakeDhcpOptionses) Create

func (c *FakeDhcpOptionses) Create(ctx context.Context, dhcpOptions *v1alpha1.DhcpOptions, opts v1.CreateOptions) (result *v1alpha1.DhcpOptions, err error)

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

func (*FakeDhcpOptionses) Delete

func (c *FakeDhcpOptionses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeDhcpOptionses) DeleteCollection

func (c *FakeDhcpOptionses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDhcpOptionses) Get

func (c *FakeDhcpOptionses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DhcpOptions, err error)

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

func (*FakeDhcpOptionses) List

func (c *FakeDhcpOptionses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DhcpOptionsList, err error)

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

func (*FakeDhcpOptionses) Patch

func (c *FakeDhcpOptionses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DhcpOptions, err error)

Patch applies the patch and returns the patched dhcpOptions.

func (*FakeDhcpOptionses) Update

func (c *FakeDhcpOptionses) Update(ctx context.Context, dhcpOptions *v1alpha1.DhcpOptions, opts v1.UpdateOptions) (result *v1alpha1.DhcpOptions, err error)

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

func (*FakeDhcpOptionses) UpdateStatus

func (c *FakeDhcpOptionses) UpdateStatus(ctx context.Context, dhcpOptions *v1alpha1.DhcpOptions, opts v1.UpdateOptions) (*v1alpha1.DhcpOptions, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDhcpOptionses) Watch

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

type FakeEndpointConnectionNotifications

type FakeEndpointConnectionNotifications struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointConnectionNotifications implements EndpointConnectionNotificationInterface

func (*FakeEndpointConnectionNotifications) Create

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

func (*FakeEndpointConnectionNotifications) Delete

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

func (*FakeEndpointConnectionNotifications) DeleteCollection

func (c *FakeEndpointConnectionNotifications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpointConnectionNotifications) Get

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

func (*FakeEndpointConnectionNotifications) List

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

func (*FakeEndpointConnectionNotifications) Patch

func (c *FakeEndpointConnectionNotifications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EndpointConnectionNotification, err error)

Patch applies the patch and returns the patched endpointConnectionNotification.

func (*FakeEndpointConnectionNotifications) Update

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

func (*FakeEndpointConnectionNotifications) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpointConnectionNotifications) Watch

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

type FakeEndpointRouteTableAssociations

type FakeEndpointRouteTableAssociations struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointRouteTableAssociations implements EndpointRouteTableAssociationInterface

func (*FakeEndpointRouteTableAssociations) Create

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

func (*FakeEndpointRouteTableAssociations) Delete

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

func (*FakeEndpointRouteTableAssociations) DeleteCollection

func (c *FakeEndpointRouteTableAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpointRouteTableAssociations) Get

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

func (*FakeEndpointRouteTableAssociations) List

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

func (*FakeEndpointRouteTableAssociations) Patch

func (c *FakeEndpointRouteTableAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EndpointRouteTableAssociation, err error)

Patch applies the patch and returns the patched endpointRouteTableAssociation.

func (*FakeEndpointRouteTableAssociations) Update

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

func (*FakeEndpointRouteTableAssociations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpointRouteTableAssociations) Watch

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

type FakeEndpointServiceAllowedPrincipals

type FakeEndpointServiceAllowedPrincipals struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointServiceAllowedPrincipals implements EndpointServiceAllowedPrincipalInterface

func (*FakeEndpointServiceAllowedPrincipals) Create

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

func (*FakeEndpointServiceAllowedPrincipals) Delete

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

func (*FakeEndpointServiceAllowedPrincipals) DeleteCollection

func (c *FakeEndpointServiceAllowedPrincipals) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpointServiceAllowedPrincipals) Get

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

func (*FakeEndpointServiceAllowedPrincipals) List

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

func (*FakeEndpointServiceAllowedPrincipals) Patch

Patch applies the patch and returns the patched endpointServiceAllowedPrincipal.

func (*FakeEndpointServiceAllowedPrincipals) Update

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

func (*FakeEndpointServiceAllowedPrincipals) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpointServiceAllowedPrincipals) Watch

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

type FakeEndpointServices

type FakeEndpointServices struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointServices implements EndpointServiceInterface

func (*FakeEndpointServices) Create

func (c *FakeEndpointServices) Create(ctx context.Context, endpointService *v1alpha1.EndpointService, opts v1.CreateOptions) (result *v1alpha1.EndpointService, err error)

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

func (*FakeEndpointServices) Delete

func (c *FakeEndpointServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeEndpointServices) DeleteCollection

func (c *FakeEndpointServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpointServices) Get

func (c *FakeEndpointServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EndpointService, err error)

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

func (*FakeEndpointServices) List

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

func (*FakeEndpointServices) Patch

func (c *FakeEndpointServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EndpointService, err error)

Patch applies the patch and returns the patched endpointService.

func (*FakeEndpointServices) Update

func (c *FakeEndpointServices) Update(ctx context.Context, endpointService *v1alpha1.EndpointService, opts v1.UpdateOptions) (result *v1alpha1.EndpointService, err error)

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

func (*FakeEndpointServices) UpdateStatus

func (c *FakeEndpointServices) UpdateStatus(ctx context.Context, endpointService *v1alpha1.EndpointService, opts v1.UpdateOptions) (*v1alpha1.EndpointService, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpointServices) Watch

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

type FakeEndpointSubnetAssociations

type FakeEndpointSubnetAssociations struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointSubnetAssociations implements EndpointSubnetAssociationInterface

func (*FakeEndpointSubnetAssociations) Create

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

func (*FakeEndpointSubnetAssociations) Delete

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

func (*FakeEndpointSubnetAssociations) DeleteCollection

func (c *FakeEndpointSubnetAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpointSubnetAssociations) Get

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

func (*FakeEndpointSubnetAssociations) List

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

func (*FakeEndpointSubnetAssociations) Patch

func (c *FakeEndpointSubnetAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EndpointSubnetAssociation, err error)

Patch applies the patch and returns the patched endpointSubnetAssociation.

func (*FakeEndpointSubnetAssociations) Update

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

func (*FakeEndpointSubnetAssociations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpointSubnetAssociations) Watch

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

type FakeEndpoints

type FakeEndpoints struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeEndpoints implements EndpointInterface

func (*FakeEndpoints) Create

func (c *FakeEndpoints) Create(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.CreateOptions) (result *v1alpha1.Endpoint, err error)

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

func (*FakeEndpoints) Delete

func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeEndpoints) DeleteCollection

func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEndpoints) Get

func (c *FakeEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Endpoint, err error)

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

func (*FakeEndpoints) List

func (c *FakeEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EndpointList, err error)

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

func (*FakeEndpoints) Patch

func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Endpoint, err error)

Patch applies the patch and returns the patched endpoint.

func (*FakeEndpoints) Update

func (c *FakeEndpoints) Update(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (result *v1alpha1.Endpoint, err error)

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

func (*FakeEndpoints) UpdateStatus

func (c *FakeEndpoints) UpdateStatus(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (*v1alpha1.Endpoint, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEndpoints) Watch

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

type FakeIpv4CIDRBlockAssociations

type FakeIpv4CIDRBlockAssociations struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeIpv4CIDRBlockAssociations implements Ipv4CIDRBlockAssociationInterface

func (*FakeIpv4CIDRBlockAssociations) Create

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

func (*FakeIpv4CIDRBlockAssociations) Delete

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

func (*FakeIpv4CIDRBlockAssociations) DeleteCollection

func (c *FakeIpv4CIDRBlockAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIpv4CIDRBlockAssociations) Get

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

func (*FakeIpv4CIDRBlockAssociations) List

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

func (*FakeIpv4CIDRBlockAssociations) Patch

func (c *FakeIpv4CIDRBlockAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Ipv4CIDRBlockAssociation, err error)

Patch applies the patch and returns the patched ipv4CIDRBlockAssociation.

func (*FakeIpv4CIDRBlockAssociations) Update

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

func (*FakeIpv4CIDRBlockAssociations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeIpv4CIDRBlockAssociations) Watch

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

type FakePeeringConnectionAccepters

type FakePeeringConnectionAccepters struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakePeeringConnectionAccepters implements PeeringConnectionAccepterInterface

func (*FakePeeringConnectionAccepters) Create

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

func (*FakePeeringConnectionAccepters) Delete

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

func (*FakePeeringConnectionAccepters) DeleteCollection

func (c *FakePeeringConnectionAccepters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePeeringConnectionAccepters) Get

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

func (*FakePeeringConnectionAccepters) List

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

func (*FakePeeringConnectionAccepters) Patch

func (c *FakePeeringConnectionAccepters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PeeringConnectionAccepter, err error)

Patch applies the patch and returns the patched peeringConnectionAccepter.

func (*FakePeeringConnectionAccepters) Update

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

func (*FakePeeringConnectionAccepters) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePeeringConnectionAccepters) Watch

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

type FakePeeringConnectionOptionses

type FakePeeringConnectionOptionses struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakePeeringConnectionOptionses implements PeeringConnectionOptionsInterface

func (*FakePeeringConnectionOptionses) Create

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

func (*FakePeeringConnectionOptionses) Delete

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

func (*FakePeeringConnectionOptionses) DeleteCollection

func (c *FakePeeringConnectionOptionses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePeeringConnectionOptionses) Get

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

func (*FakePeeringConnectionOptionses) List

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

func (*FakePeeringConnectionOptionses) Patch

func (c *FakePeeringConnectionOptionses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PeeringConnectionOptions, err error)

Patch applies the patch and returns the patched peeringConnectionOptions.

func (*FakePeeringConnectionOptionses) Update

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

func (*FakePeeringConnectionOptionses) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePeeringConnectionOptionses) Watch

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

type FakePeeringConnections

type FakePeeringConnections struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakePeeringConnections implements PeeringConnectionInterface

func (*FakePeeringConnections) Create

func (c *FakePeeringConnections) Create(ctx context.Context, peeringConnection *v1alpha1.PeeringConnection, opts v1.CreateOptions) (result *v1alpha1.PeeringConnection, err error)

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

func (*FakePeeringConnections) Delete

func (c *FakePeeringConnections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakePeeringConnections) DeleteCollection

func (c *FakePeeringConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePeeringConnections) Get

func (c *FakePeeringConnections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PeeringConnection, err error)

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

func (*FakePeeringConnections) List

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

func (*FakePeeringConnections) Patch

func (c *FakePeeringConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PeeringConnection, err error)

Patch applies the patch and returns the patched peeringConnection.

func (*FakePeeringConnections) Update

func (c *FakePeeringConnections) Update(ctx context.Context, peeringConnection *v1alpha1.PeeringConnection, opts v1.UpdateOptions) (result *v1alpha1.PeeringConnection, err error)

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

func (*FakePeeringConnections) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePeeringConnections) Watch

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

type FakeVpcV1alpha1

type FakeVpcV1alpha1 struct {
	*testing.Fake
}

func (*FakeVpcV1alpha1) DhcpOptionsAssociations

func (c *FakeVpcV1alpha1) DhcpOptionsAssociations(namespace string) v1alpha1.DhcpOptionsAssociationInterface

func (*FakeVpcV1alpha1) DhcpOptionses

func (c *FakeVpcV1alpha1) DhcpOptionses(namespace string) v1alpha1.DhcpOptionsInterface

func (*FakeVpcV1alpha1) EndpointConnectionNotifications

func (c *FakeVpcV1alpha1) EndpointConnectionNotifications(namespace string) v1alpha1.EndpointConnectionNotificationInterface

func (*FakeVpcV1alpha1) EndpointRouteTableAssociations

func (c *FakeVpcV1alpha1) EndpointRouteTableAssociations(namespace string) v1alpha1.EndpointRouteTableAssociationInterface

func (*FakeVpcV1alpha1) EndpointServiceAllowedPrincipals

func (c *FakeVpcV1alpha1) EndpointServiceAllowedPrincipals(namespace string) v1alpha1.EndpointServiceAllowedPrincipalInterface

func (*FakeVpcV1alpha1) EndpointServices

func (c *FakeVpcV1alpha1) EndpointServices(namespace string) v1alpha1.EndpointServiceInterface

func (*FakeVpcV1alpha1) EndpointSubnetAssociations

func (c *FakeVpcV1alpha1) EndpointSubnetAssociations(namespace string) v1alpha1.EndpointSubnetAssociationInterface

func (*FakeVpcV1alpha1) Endpoints

func (c *FakeVpcV1alpha1) Endpoints(namespace string) v1alpha1.EndpointInterface

func (*FakeVpcV1alpha1) Ipv4CIDRBlockAssociations

func (c *FakeVpcV1alpha1) Ipv4CIDRBlockAssociations(namespace string) v1alpha1.Ipv4CIDRBlockAssociationInterface

func (*FakeVpcV1alpha1) PeeringConnectionAccepters

func (c *FakeVpcV1alpha1) PeeringConnectionAccepters(namespace string) v1alpha1.PeeringConnectionAccepterInterface

func (*FakeVpcV1alpha1) PeeringConnectionOptionses

func (c *FakeVpcV1alpha1) PeeringConnectionOptionses(namespace string) v1alpha1.PeeringConnectionOptionsInterface

func (*FakeVpcV1alpha1) PeeringConnections

func (c *FakeVpcV1alpha1) PeeringConnections(namespace string) v1alpha1.PeeringConnectionInterface

func (*FakeVpcV1alpha1) RESTClient

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

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

func (*FakeVpcV1alpha1) Vpcs

func (c *FakeVpcV1alpha1) Vpcs(namespace string) v1alpha1.VpcInterface

type FakeVpcs

type FakeVpcs struct {
	Fake *FakeVpcV1alpha1
	// contains filtered or unexported fields
}

FakeVpcs implements VpcInterface

func (*FakeVpcs) Create

func (c *FakeVpcs) Create(ctx context.Context, vpc *v1alpha1.Vpc, opts v1.CreateOptions) (result *v1alpha1.Vpc, err error)

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

func (*FakeVpcs) Delete

func (c *FakeVpcs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeVpcs) DeleteCollection

func (c *FakeVpcs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVpcs) Get

func (c *FakeVpcs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Vpc, err error)

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

func (*FakeVpcs) List

func (c *FakeVpcs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VpcList, err error)

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

func (*FakeVpcs) Patch

func (c *FakeVpcs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Vpc, err error)

Patch applies the patch and returns the patched vpc.

func (*FakeVpcs) Update

func (c *FakeVpcs) Update(ctx context.Context, vpc *v1alpha1.Vpc, opts v1.UpdateOptions) (result *v1alpha1.Vpc, err error)

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

func (*FakeVpcs) UpdateStatus

func (c *FakeVpcs) UpdateStatus(ctx context.Context, vpc *v1alpha1.Vpc, opts v1.UpdateOptions) (*v1alpha1.Vpc, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeVpcs) Watch

func (c *FakeVpcs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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