kubernetes_mocks

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationV1beta1Interface

type AuthorizationV1beta1Interface struct {
	mock.Mock
}

AuthorizationV1beta1Interface is an autogenerated mock type for the AuthorizationV1beta1Interface type

func NewAuthorizationV1beta1Interface added in v0.16.2

func NewAuthorizationV1beta1Interface(t testing.TB) *AuthorizationV1beta1Interface

NewAuthorizationV1beta1Interface creates a new instance of AuthorizationV1beta1Interface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*AuthorizationV1beta1Interface) LocalSubjectAccessReviews

func (_m *AuthorizationV1beta1Interface) LocalSubjectAccessReviews(namespace string) v1beta1.LocalSubjectAccessReviewInterface

LocalSubjectAccessReviews provides a mock function with given fields: namespace

func (*AuthorizationV1beta1Interface) RESTClient

func (_m *AuthorizationV1beta1Interface) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*AuthorizationV1beta1Interface) SelfSubjectAccessReviews

SelfSubjectAccessReviews provides a mock function with given fields:

func (*AuthorizationV1beta1Interface) SelfSubjectRulesReviews

SelfSubjectRulesReviews provides a mock function with given fields:

func (*AuthorizationV1beta1Interface) SubjectAccessReviews

SubjectAccessReviews provides a mock function with given fields:

type LocalSubjectAccessReviewExpansion

type LocalSubjectAccessReviewExpansion struct {
	mock.Mock
}

LocalSubjectAccessReviewExpansion is an autogenerated mock type for the LocalSubjectAccessReviewExpansion type

func NewLocalSubjectAccessReviewExpansion added in v0.16.2

func NewLocalSubjectAccessReviewExpansion(t testing.TB) *LocalSubjectAccessReviewExpansion

NewLocalSubjectAccessReviewExpansion creates a new instance of LocalSubjectAccessReviewExpansion. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

type LocalSubjectAccessReviewInterface

type LocalSubjectAccessReviewInterface struct {
	mock.Mock
}

LocalSubjectAccessReviewInterface is an autogenerated mock type for the LocalSubjectAccessReviewInterface type

func NewLocalSubjectAccessReviewInterface added in v0.16.2

func NewLocalSubjectAccessReviewInterface(t testing.TB) *LocalSubjectAccessReviewInterface

NewLocalSubjectAccessReviewInterface creates a new instance of LocalSubjectAccessReviewInterface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*LocalSubjectAccessReviewInterface) Create

Create provides a mock function with given fields: ctx, localSubjectAccessReview, opts

type LocalSubjectAccessReviewsGetter

type LocalSubjectAccessReviewsGetter struct {
	mock.Mock
}

LocalSubjectAccessReviewsGetter is an autogenerated mock type for the LocalSubjectAccessReviewsGetter type

func NewLocalSubjectAccessReviewsGetter added in v0.16.2

func NewLocalSubjectAccessReviewsGetter(t testing.TB) *LocalSubjectAccessReviewsGetter

NewLocalSubjectAccessReviewsGetter creates a new instance of LocalSubjectAccessReviewsGetter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*LocalSubjectAccessReviewsGetter) LocalSubjectAccessReviews

func (_m *LocalSubjectAccessReviewsGetter) LocalSubjectAccessReviews(namespace string) v1beta1.LocalSubjectAccessReviewInterface

LocalSubjectAccessReviews provides a mock function with given fields: namespace

type SelfSubjectAccessReviewExpansion

type SelfSubjectAccessReviewExpansion struct {
	mock.Mock
}

SelfSubjectAccessReviewExpansion is an autogenerated mock type for the SelfSubjectAccessReviewExpansion type

func NewSelfSubjectAccessReviewExpansion added in v0.16.2

func NewSelfSubjectAccessReviewExpansion(t testing.TB) *SelfSubjectAccessReviewExpansion

NewSelfSubjectAccessReviewExpansion creates a new instance of SelfSubjectAccessReviewExpansion. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

type SelfSubjectAccessReviewInterface

type SelfSubjectAccessReviewInterface struct {
	mock.Mock
}

SelfSubjectAccessReviewInterface is an autogenerated mock type for the SelfSubjectAccessReviewInterface type

func NewSelfSubjectAccessReviewInterface added in v0.16.2

func NewSelfSubjectAccessReviewInterface(t testing.TB) *SelfSubjectAccessReviewInterface

NewSelfSubjectAccessReviewInterface creates a new instance of SelfSubjectAccessReviewInterface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SelfSubjectAccessReviewInterface) Create

Create provides a mock function with given fields: ctx, selfSubjectAccessReview, opts

type SelfSubjectAccessReviewsGetter

type SelfSubjectAccessReviewsGetter struct {
	mock.Mock
}

SelfSubjectAccessReviewsGetter is an autogenerated mock type for the SelfSubjectAccessReviewsGetter type

func NewSelfSubjectAccessReviewsGetter added in v0.16.2

func NewSelfSubjectAccessReviewsGetter(t testing.TB) *SelfSubjectAccessReviewsGetter

NewSelfSubjectAccessReviewsGetter creates a new instance of SelfSubjectAccessReviewsGetter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SelfSubjectAccessReviewsGetter) SelfSubjectAccessReviews

SelfSubjectAccessReviews provides a mock function with given fields:

type SelfSubjectRulesReviewExpansion

type SelfSubjectRulesReviewExpansion struct {
	mock.Mock
}

SelfSubjectRulesReviewExpansion is an autogenerated mock type for the SelfSubjectRulesReviewExpansion type

func NewSelfSubjectRulesReviewExpansion added in v0.16.2

func NewSelfSubjectRulesReviewExpansion(t testing.TB) *SelfSubjectRulesReviewExpansion

NewSelfSubjectRulesReviewExpansion creates a new instance of SelfSubjectRulesReviewExpansion. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

type SelfSubjectRulesReviewInterface

type SelfSubjectRulesReviewInterface struct {
	mock.Mock
}

SelfSubjectRulesReviewInterface is an autogenerated mock type for the SelfSubjectRulesReviewInterface type

func NewSelfSubjectRulesReviewInterface added in v0.16.2

func NewSelfSubjectRulesReviewInterface(t testing.TB) *SelfSubjectRulesReviewInterface

NewSelfSubjectRulesReviewInterface creates a new instance of SelfSubjectRulesReviewInterface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SelfSubjectRulesReviewInterface) Create

Create provides a mock function with given fields: ctx, selfSubjectRulesReview, opts

type SelfSubjectRulesReviewsGetter

type SelfSubjectRulesReviewsGetter struct {
	mock.Mock
}

SelfSubjectRulesReviewsGetter is an autogenerated mock type for the SelfSubjectRulesReviewsGetter type

func NewSelfSubjectRulesReviewsGetter added in v0.16.2

func NewSelfSubjectRulesReviewsGetter(t testing.TB) *SelfSubjectRulesReviewsGetter

NewSelfSubjectRulesReviewsGetter creates a new instance of SelfSubjectRulesReviewsGetter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SelfSubjectRulesReviewsGetter) SelfSubjectRulesReviews

SelfSubjectRulesReviews provides a mock function with given fields:

type SubjectAccessReviewExpansion

type SubjectAccessReviewExpansion struct {
	mock.Mock
}

SubjectAccessReviewExpansion is an autogenerated mock type for the SubjectAccessReviewExpansion type

func NewSubjectAccessReviewExpansion added in v0.16.2

func NewSubjectAccessReviewExpansion(t testing.TB) *SubjectAccessReviewExpansion

NewSubjectAccessReviewExpansion creates a new instance of SubjectAccessReviewExpansion. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

type SubjectAccessReviewInterface

type SubjectAccessReviewInterface struct {
	mock.Mock
}

SubjectAccessReviewInterface is an autogenerated mock type for the SubjectAccessReviewInterface type

func NewSubjectAccessReviewInterface added in v0.16.2

func NewSubjectAccessReviewInterface(t testing.TB) *SubjectAccessReviewInterface

NewSubjectAccessReviewInterface creates a new instance of SubjectAccessReviewInterface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SubjectAccessReviewInterface) Create

Create provides a mock function with given fields: ctx, subjectAccessReview, opts

type SubjectAccessReviewsGetter

type SubjectAccessReviewsGetter struct {
	mock.Mock
}

SubjectAccessReviewsGetter is an autogenerated mock type for the SubjectAccessReviewsGetter type

func NewSubjectAccessReviewsGetter added in v0.16.2

func NewSubjectAccessReviewsGetter(t testing.TB) *SubjectAccessReviewsGetter

NewSubjectAccessReviewsGetter creates a new instance of SubjectAccessReviewsGetter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SubjectAccessReviewsGetter) SubjectAccessReviews

SubjectAccessReviews provides a mock function with given fields:

Jump to

Keyboard shortcuts

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