Documentation ¶
Index ¶
- type MockCloudFrontAPI
- func (c *MockCloudFrontAPI) CreateDistributionWithTags(in *cloudfront.CreateDistributionWithTagsInput) (*cloudfront.CreateDistributionWithTagsOutput, error)
- func (c *MockCloudFrontAPI) CreateOriginAccessControl(in *cloudfront.CreateOriginAccessControlInput) (*cloudfront.CreateOriginAccessControlOutput, error)
- func (c *MockCloudFrontAPI) DeleteDistribution(in *cloudfront.DeleteDistributionInput) (*cloudfront.DeleteDistributionOutput, error)
- func (c *MockCloudFrontAPI) DeleteOriginAccessControl(in *cloudfront.DeleteOriginAccessControlInput) (*cloudfront.DeleteOriginAccessControlOutput, error)
- func (c *MockCloudFrontAPI) GetDistribution(in *cloudfront.GetDistributionInput) (*cloudfront.GetDistributionOutput, error)
- func (c *MockCloudFrontAPI) GetDistributionConfig(in *cloudfront.GetDistributionConfigInput) (*cloudfront.GetDistributionConfigOutput, error)
- func (c *MockCloudFrontAPI) GetOriginAccessControl(in *cloudfront.GetOriginAccessControlInput) (*cloudfront.GetOriginAccessControlOutput, error)
- func (c *MockCloudFrontAPI) TagResource(in *cloudfront.TagResourceInput) (*cloudfront.TagResourceOutput, error)
- func (c *MockCloudFrontAPI) UpdateDistribution(in *cloudfront.UpdateDistributionInput) (*cloudfront.UpdateDistributionOutput, error)
- func (c *MockCloudFrontAPI) UpdateOriginAccessControl(in *cloudfront.UpdateOriginAccessControlInput) (*cloudfront.UpdateOriginAccessControlOutput, error)
- type MockK8sClient
- func (m *MockK8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (m *MockK8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (m *MockK8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (m *MockK8sClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (m *MockK8sClient) GroupVersionKindFor(_ runtime.Object) (schema.GroupVersionKind, error)
- func (m *MockK8sClient) IsObjectNamespaced(_ runtime.Object) (bool, error)
- func (m *MockK8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (m *MockK8sClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (m *MockK8sClient) RESTMapper() meta.RESTMapper
- func (m *MockK8sClient) Scheme() *runtime.Scheme
- func (m *MockK8sClient) Status() client.StatusWriter
- func (m *MockK8sClient) SubResource(_ string) client.SubResourceClient
- func (m *MockK8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type MockResourceTaggingAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloudFrontAPI ¶
type MockCloudFrontAPI struct { mock.Mock cloudfrontiface.CloudFrontAPI ExpectedGetDistributionConfigOutput *cloudfront.GetDistributionConfigOutput ExpectedUpdateDistributionOutput *cloudfront.UpdateDistributionOutput ExpectedCreateDistributionWithTagsOutput *cloudfront.CreateDistributionWithTagsOutput ExpectedTagResourceOutput *cloudfront.TagResourceOutput ExpectedGetDistributionOutput *cloudfront.GetDistributionOutput ExpectedCreateOriginAccessControlOutput *cloudfront.CreateOriginAccessControlOutput ExpectedUpdateOriginAccessControlOutput *cloudfront.UpdateOriginAccessControlOutput ExpectedDeleteOriginAccessControlOutput *cloudfront.DeleteOriginAccessControlOutput ExpectedGetOriginAccessControlOutput *cloudfront.GetOriginAccessControlOutput }
MockCloudFrontAPI is a mocked cloudfrontiface.CloudFrontAPI to be used during testing
func (*MockCloudFrontAPI) CreateDistributionWithTags ¶
func (c *MockCloudFrontAPI) CreateDistributionWithTags(in *cloudfront.CreateDistributionWithTagsInput) (*cloudfront.CreateDistributionWithTagsOutput, error)
func (*MockCloudFrontAPI) CreateOriginAccessControl ¶ added in v0.1.1
func (c *MockCloudFrontAPI) CreateOriginAccessControl(in *cloudfront.CreateOriginAccessControlInput) (*cloudfront.CreateOriginAccessControlOutput, error)
func (*MockCloudFrontAPI) DeleteDistribution ¶
func (c *MockCloudFrontAPI) DeleteDistribution(in *cloudfront.DeleteDistributionInput) (*cloudfront.DeleteDistributionOutput, error)
func (*MockCloudFrontAPI) DeleteOriginAccessControl ¶ added in v0.1.1
func (c *MockCloudFrontAPI) DeleteOriginAccessControl(in *cloudfront.DeleteOriginAccessControlInput) (*cloudfront.DeleteOriginAccessControlOutput, error)
func (*MockCloudFrontAPI) GetDistribution ¶
func (c *MockCloudFrontAPI) GetDistribution(in *cloudfront.GetDistributionInput) (*cloudfront.GetDistributionOutput, error)
func (*MockCloudFrontAPI) GetDistributionConfig ¶
func (c *MockCloudFrontAPI) GetDistributionConfig(in *cloudfront.GetDistributionConfigInput) (*cloudfront.GetDistributionConfigOutput, error)
func (*MockCloudFrontAPI) GetOriginAccessControl ¶ added in v0.1.1
func (c *MockCloudFrontAPI) GetOriginAccessControl(in *cloudfront.GetOriginAccessControlInput) (*cloudfront.GetOriginAccessControlOutput, error)
func (*MockCloudFrontAPI) TagResource ¶
func (c *MockCloudFrontAPI) TagResource(in *cloudfront.TagResourceInput) (*cloudfront.TagResourceOutput, error)
func (*MockCloudFrontAPI) UpdateDistribution ¶
func (c *MockCloudFrontAPI) UpdateDistribution(in *cloudfront.UpdateDistributionInput) (*cloudfront.UpdateDistributionOutput, error)
func (*MockCloudFrontAPI) UpdateOriginAccessControl ¶ added in v0.1.1
func (c *MockCloudFrontAPI) UpdateOriginAccessControl(in *cloudfront.UpdateOriginAccessControlInput) (*cloudfront.UpdateOriginAccessControlOutput, error)
type MockK8sClient ¶
type MockK8sClient struct { mock.Mock ExpectedStatusWriter client.StatusWriter ExpectedScheme *runtime.Scheme ExpectedRESTMapper meta.RESTMapper ExpectedSubResourceClient client.SubResourceClient }
MockK8sClient is a mocked client.Client to be used during testing
func (*MockK8sClient) Create ¶
func (m *MockK8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
func (*MockK8sClient) Delete ¶
func (m *MockK8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
func (*MockK8sClient) DeleteAllOf ¶
func (m *MockK8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
func (*MockK8sClient) GroupVersionKindFor ¶ added in v0.1.1
func (m *MockK8sClient) GroupVersionKindFor(_ runtime.Object) (schema.GroupVersionKind, error)
func (*MockK8sClient) IsObjectNamespaced ¶ added in v0.1.1
func (m *MockK8sClient) IsObjectNamespaced(_ runtime.Object) (bool, error)
func (*MockK8sClient) List ¶
func (m *MockK8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
func (*MockK8sClient) Patch ¶
func (m *MockK8sClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
func (*MockK8sClient) RESTMapper ¶
func (m *MockK8sClient) RESTMapper() meta.RESTMapper
func (*MockK8sClient) Scheme ¶
func (m *MockK8sClient) Scheme() *runtime.Scheme
func (*MockK8sClient) Status ¶
func (m *MockK8sClient) Status() client.StatusWriter
func (*MockK8sClient) SubResource ¶ added in v0.1.1
func (m *MockK8sClient) SubResource(_ string) client.SubResourceClient
func (*MockK8sClient) Update ¶
func (m *MockK8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
type MockResourceTaggingAPI ¶
type MockResourceTaggingAPI struct { mock.Mock resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI ExpectedGetResourcesOutput *resourcegroupstaggingapi.GetResourcesOutput }
MockResourceTaggingAPI is a mocked resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI to be used during testing
func (*MockResourceTaggingAPI) GetResources ¶
func (m *MockResourceTaggingAPI) GetResources(in *resourcegroupstaggingapi.GetResourcesInput) (*resourcegroupstaggingapi.GetResourcesOutput, error)
Click to show internal directories.
Click to hide internal directories.