Documentation ¶
Index ¶
- type MockImageStreamTag
- func (mock *MockImageStreamTag) Create(tag *imagev1.ImageStreamTag) (*imagev1.ImageStreamTag, error)
- func (mock *MockImageStreamTag) Delete(name string, options *meta_v1.DeleteOptions) error
- func (mock *MockImageStreamTag) Get(name string, options meta_v1.GetOptions) (*imagev1.ImageStreamTag, error)
- func (mock *MockImageStreamTag) List(opts meta_v1.ListOptions) (*imagev1.ImageStreamTagList, error)
- func (mock *MockImageStreamTag) Update(tag *imagev1.ImageStreamTag) (*imagev1.ImageStreamTag, error)
- type MockPlatformService
- func (service *MockPlatformService) Create(ctx context.Context, obj runtime.Object, opts ...clientv1.CreateOption) error
- func (service *MockPlatformService) Delete(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteOption) error
- func (service *MockPlatformService) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteAllOfOption) error
- func (service *MockPlatformService) Get(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) error
- func (service *MockPlatformService) GetCached(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) error
- func (service *MockPlatformService) GetScheme() *runtime.Scheme
- func (service *MockPlatformService) ImageStreamTags(namespace string) imagev1.ImageStreamTagInterface
- func (service *MockPlatformService) IsMockService() bool
- func (service *MockPlatformService) List(ctx context.Context, list runtime.Object, opts ...clientv1.ListOption) error
- func (service *MockPlatformService) Patch(ctx context.Context, obj runtime.Object, patch clientv1.Patch, ...) error
- func (service *MockPlatformService) Update(ctx context.Context, obj runtime.Object, opts ...clientv1.UpdateOption) error
- func (service *MockPlatformService) UpdateStatus(ctx context.Context, obj runtime.Object) error
- type MockPlatformServiceBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImageStreamTag ¶
type MockImageStreamTag struct {
Tags map[string]*imagev1.ImageStreamTag
}
func (*MockImageStreamTag) Create ¶
func (mock *MockImageStreamTag) Create(tag *imagev1.ImageStreamTag) (*imagev1.ImageStreamTag, error)
func (*MockImageStreamTag) Delete ¶
func (mock *MockImageStreamTag) Delete(name string, options *meta_v1.DeleteOptions) error
func (*MockImageStreamTag) Get ¶
func (mock *MockImageStreamTag) Get(name string, options meta_v1.GetOptions) (*imagev1.ImageStreamTag, error)
func (*MockImageStreamTag) List ¶
func (mock *MockImageStreamTag) List(opts meta_v1.ListOptions) (*imagev1.ImageStreamTagList, error)
func (*MockImageStreamTag) Update ¶
func (mock *MockImageStreamTag) Update(tag *imagev1.ImageStreamTag) (*imagev1.ImageStreamTag, error)
type MockPlatformService ¶
type MockPlatformService struct { Client clientv1.Client CreateFunc func(ctx context.Context, obj runtime.Object, opts ...clientv1.CreateOption) error DeleteFunc func(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteOption) error GetFunc func(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) error ListFunc func(ctx context.Context, list runtime.Object, opts ...clientv1.ListOption) error UpdateFunc func(ctx context.Context, obj runtime.Object, opts ...clientv1.UpdateOption) error UpdateStatusFunc func(ctx context.Context, obj runtime.Object) error PatchFunc func(ctx context.Context, obj runtime.Object, patch clientv1.Patch, opts ...clientv1.PatchOption) error DeleteAllOfFunc func(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteAllOfOption) error GetCachedFunc func(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) error ImageStreamTagsFunc func(namespace string) imagev1.ImageStreamTagInterface GetSchemeFunc func() *runtime.Scheme // contains filtered or unexported fields }
func (*MockPlatformService) Create ¶
func (service *MockPlatformService) Create(ctx context.Context, obj runtime.Object, opts ...clientv1.CreateOption) error
func (*MockPlatformService) Delete ¶
func (service *MockPlatformService) Delete(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteOption) error
func (*MockPlatformService) DeleteAllOf ¶
func (service *MockPlatformService) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteAllOfOption) error
func (*MockPlatformService) GetScheme ¶
func (service *MockPlatformService) GetScheme() *runtime.Scheme
func (*MockPlatformService) ImageStreamTags ¶
func (service *MockPlatformService) ImageStreamTags(namespace string) imagev1.ImageStreamTagInterface
func (*MockPlatformService) IsMockService ¶
func (service *MockPlatformService) IsMockService() bool
func (*MockPlatformService) List ¶
func (service *MockPlatformService) List(ctx context.Context, list runtime.Object, opts ...clientv1.ListOption) error
func (*MockPlatformService) Patch ¶
func (service *MockPlatformService) Patch(ctx context.Context, obj runtime.Object, patch clientv1.Patch, opts ...clientv1.PatchOption) error
func (*MockPlatformService) Update ¶
func (service *MockPlatformService) Update(ctx context.Context, obj runtime.Object, opts ...clientv1.UpdateOption) error
func (*MockPlatformService) UpdateStatus ¶
type MockPlatformServiceBuilder ¶
type MockPlatformServiceBuilder struct {
// contains filtered or unexported fields
}
func NewMockPlatformServiceBuilder ¶
func NewMockPlatformServiceBuilder(schemeBuilder runtime.SchemeBuilder) *MockPlatformServiceBuilder
func (*MockPlatformServiceBuilder) Build ¶
func (builder *MockPlatformServiceBuilder) Build() *MockPlatformService
func (*MockPlatformServiceBuilder) WithExtraScheme ¶
func (builder *MockPlatformServiceBuilder) WithExtraScheme(objs ...runtime.Object)
func (*MockPlatformServiceBuilder) WithScheme ¶
func (builder *MockPlatformServiceBuilder) WithScheme(objs ...runtime.Object)
Click to show internal directories.
Click to hide internal directories.