Documentation ¶
Index ¶
- func NewErrorClients(err error) (client.Interface, kclientset.Interface)
- func NewFixtureClients(objs ...runtime.Object) (client.Interface, kclientset.Interface)
- func OriginObjects(objs []runtime.Object) []runtime.Object
- func ReadObjectsFromPath(path, namespace string, decoder runtime.Decoder, typer runtime.ObjectTyper) ([]runtime.Object, error)
- func UpstreamObjects(objs []runtime.Object) []runtime.Object
- type Fake
- func (c *Fake) Actions() []clientgotesting.Action
- func (c *Fake) AddReactor(verb, resource string, reaction clientgotesting.ReactionFunc)
- func (c *Fake) AddWatchReactor(resource string, reaction clientgotesting.WatchReactionFunc)
- func (c *Fake) AppliedClusterResourceQuotas(namespace string) client.AppliedClusterResourceQuotaInterface
- func (c *Fake) BuildConfigs(namespace string) client.BuildConfigInterface
- func (c *Fake) BuildLogs(namespace string) client.BuildLogsInterface
- func (c *Fake) Builds(namespace string) client.BuildInterface
- func (c *Fake) ClearActions()
- func (c *Fake) ClusterNetwork() client.ClusterNetworkInterface
- func (c *Fake) ClusterPolicies() client.ClusterPolicyInterface
- func (c *Fake) ClusterPolicyBindings() client.ClusterPolicyBindingInterface
- func (c *Fake) ClusterResourceQuotas() client.ClusterResourceQuotaInterface
- func (c *Fake) ClusterRoleBindings() client.ClusterRoleBindingInterface
- func (c *Fake) ClusterRoles() client.ClusterRoleInterface
- func (c *Fake) DeploymentConfigs(namespace string) client.DeploymentConfigInterface
- func (c *Fake) DeploymentLogs(namespace string) client.DeploymentLogInterface
- func (c *Fake) EgressNetworkPolicies(namespace string) client.EgressNetworkPolicyInterface
- func (c *Fake) Groups() client.GroupInterface
- func (c *Fake) HostSubnets() client.HostSubnetInterface
- func (c *Fake) Identities() client.IdentityInterface
- func (c *Fake) ImageSignatures() client.ImageSignatureInterface
- func (c *Fake) ImageStreamImages(namespace string) client.ImageStreamImageInterface
- func (c *Fake) ImageStreamMappings(namespace string) client.ImageStreamMappingInterface
- func (c *Fake) ImageStreamSecrets(namespace string) client.ImageStreamSecretInterface
- func (c *Fake) ImageStreamTags(namespace string) client.ImageStreamTagInterface
- func (c *Fake) ImageStreams(namespace string) client.ImageStreamInterface
- func (c *Fake) Images() client.ImageInterface
- func (c *Fake) ImpersonateLocalSubjectAccessReviews(namespace, token string) client.LocalSubjectAccessReviewInterface
- func (c *Fake) ImpersonateSubjectAccessReviews(token string) client.SubjectAccessReviewInterface
- func (c *Fake) Invokes(action clientgotesting.Action, defaultReturnObj runtime.Object) (runtime.Object, error)
- func (c *Fake) InvokesWatch(action clientgotesting.Action) (watch.Interface, error)
- func (c *Fake) LocalResourceAccessReviews(namespace string) client.LocalResourceAccessReviewInterface
- func (c *Fake) LocalSubjectAccessReviews(namespace string) client.LocalSubjectAccessReviewInterface
- func (c *Fake) NetNamespaces() client.NetNamespaceInterface
- func (c *Fake) OAuthAccessTokens() client.OAuthAccessTokenInterface
- func (c *Fake) OAuthAuthorizeTokens() client.OAuthAuthorizeTokenInterface
- func (c *Fake) OAuthClientAuthorizations() client.OAuthClientAuthorizationInterface
- func (c *Fake) OAuthClients() client.OAuthClientInterface
- func (c *Fake) Policies(namespace string) client.PolicyInterface
- func (c *Fake) PolicyBindings(namespace string) client.PolicyBindingInterface
- func (c *Fake) PrependReactor(verb, resource string, reaction clientgotesting.ReactionFunc)
- func (c *Fake) PrependWatchReactor(resource string, reaction clientgotesting.WatchReactionFunc)
- func (c *Fake) ProjectRequests() client.ProjectRequestInterface
- func (c *Fake) Projects() client.ProjectInterface
- func (c *Fake) ResourceAccessReviews() client.ResourceAccessReviewInterface
- func (c *Fake) RoleBindingRestrictions(namespace string) client.RoleBindingRestrictionInterface
- func (c *Fake) RoleBindings(namespace string) client.RoleBindingInterface
- func (c *Fake) Roles(namespace string) client.RoleInterface
- func (c *Fake) Routes(namespace string) client.RouteInterface
- func (c *Fake) SelfSubjectRulesReviews(namespace string) client.SelfSubjectRulesReviewInterface
- func (c *Fake) SubjectAccessReviews() client.SubjectAccessReviewInterface
- func (c *Fake) SubjectRulesReviews(namespace string) client.SubjectRulesReviewInterface
- func (c *Fake) TemplateConfigs(namespace string) client.TemplateConfigInterface
- func (c *Fake) Templates(namespace string) client.TemplateInterface
- func (c *Fake) UserIdentityMappings() client.UserIdentityMappingInterface
- func (c *Fake) Users() client.UserInterface
- type FakeAppliedClusterResourceQuotas
- type FakeBuildConfigs
- func (c *FakeBuildConfigs) Create(inObj *buildapi.BuildConfig) (*buildapi.BuildConfig, error)
- func (c *FakeBuildConfigs) Delete(name string) error
- func (c *FakeBuildConfigs) Get(name string, options metav1.GetOptions) (*buildapi.BuildConfig, error)
- func (c *FakeBuildConfigs) Instantiate(request *buildapi.BuildRequest) (result *buildapi.Build, err error)
- func (c *FakeBuildConfigs) InstantiateBinary(request *buildapi.BinaryBuildRequestOptions, r io.Reader) (result *buildapi.Build, err error)
- func (c *FakeBuildConfigs) List(opts metav1.ListOptions) (*buildapi.BuildConfigList, error)
- func (c *FakeBuildConfigs) Update(inObj *buildapi.BuildConfig) (*buildapi.BuildConfig, error)
- func (c *FakeBuildConfigs) Watch(opts metav1.ListOptions) (watch.Interface, error)
- func (c *FakeBuildConfigs) WebHookURL(name string, trigger *buildapi.BuildTriggerPolicy) (*url.URL, error)
- type FakeBuildLogs
- type FakeBuilds
- func (c *FakeBuilds) Clone(request *buildapi.BuildRequest) (result *buildapi.Build, err error)
- func (c *FakeBuilds) Create(inObj *buildapi.Build) (*buildapi.Build, error)
- func (c *FakeBuilds) Delete(name string) error
- func (c *FakeBuilds) Get(name string, options metav1.GetOptions) (*buildapi.Build, error)
- func (c *FakeBuilds) List(opts metav1.ListOptions) (*buildapi.BuildList, error)
- func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*buildapi.Build, error)
- func (c *FakeBuilds) Update(inObj *buildapi.Build) (*buildapi.Build, error)
- func (c *FakeBuilds) UpdateDetails(inObj *buildapi.Build) (*buildapi.Build, error)
- func (c *FakeBuilds) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeClusterNetwork
- func (c *FakeClusterNetwork) Create(inObj *networkapi.ClusterNetwork) (*networkapi.ClusterNetwork, error)
- func (c *FakeClusterNetwork) Get(name string, options metav1.GetOptions) (*networkapi.ClusterNetwork, error)
- func (c *FakeClusterNetwork) Update(inObj *networkapi.ClusterNetwork) (*networkapi.ClusterNetwork, error)
- type FakeClusterPolicies
- func (c *FakeClusterPolicies) Delete(name string) error
- func (c *FakeClusterPolicies) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterPolicy, error)
- func (c *FakeClusterPolicies) List(opts metav1.ListOptions) (*authorizationapi.ClusterPolicyList, error)
- func (c *FakeClusterPolicies) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeClusterPolicyBindings
- func (c *FakeClusterPolicyBindings) Create(inObj *authorizationapi.ClusterPolicyBinding) (*authorizationapi.ClusterPolicyBinding, error)
- func (c *FakeClusterPolicyBindings) Delete(name string) error
- func (c *FakeClusterPolicyBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterPolicyBinding, error)
- func (c *FakeClusterPolicyBindings) List(opts metav1.ListOptions) (*authorizationapi.ClusterPolicyBindingList, error)
- func (c *FakeClusterPolicyBindings) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeClusterResourceAccessReviews
- type FakeClusterResourceQuotas
- func (c *FakeClusterResourceQuotas) Create(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error)
- func (c *FakeClusterResourceQuotas) Delete(name string) error
- func (c *FakeClusterResourceQuotas) Get(name string, options metav1.GetOptions) (*quotaapi.ClusterResourceQuota, error)
- func (c *FakeClusterResourceQuotas) List(opts metav1.ListOptions) (*quotaapi.ClusterResourceQuotaList, error)
- func (c *FakeClusterResourceQuotas) Update(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error)
- func (c *FakeClusterResourceQuotas) UpdateStatus(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error)
- func (c *FakeClusterResourceQuotas) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeClusterRoleBindings
- func (c *FakeClusterRoleBindings) Create(inObj *authorizationapi.ClusterRoleBinding) (*authorizationapi.ClusterRoleBinding, error)
- func (c *FakeClusterRoleBindings) Delete(name string) error
- func (c *FakeClusterRoleBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterRoleBinding, error)
- func (c *FakeClusterRoleBindings) List(opts metav1.ListOptions) (*authorizationapi.ClusterRoleBindingList, error)
- func (c *FakeClusterRoleBindings) Update(inObj *authorizationapi.ClusterRoleBinding) (*authorizationapi.ClusterRoleBinding, error)
- type FakeClusterRoles
- func (c *FakeClusterRoles) Create(inObj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
- func (c *FakeClusterRoles) Delete(name string) error
- func (c *FakeClusterRoles) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterRole, error)
- func (c *FakeClusterRoles) List(opts metav1.ListOptions) (*authorizationapi.ClusterRoleList, error)
- func (c *FakeClusterRoles) Update(inObj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
- type FakeClusterSubjectAccessReviews
- type FakeDeploymentConfigs
- func (c *FakeDeploymentConfigs) Create(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) Delete(name string) error
- func (c *FakeDeploymentConfigs) Get(name string, options metav1.GetOptions) (*deployapi.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) GetScale(name string) (*extensionsv1beta1.Scale, error)
- func (c *FakeDeploymentConfigs) Instantiate(inObj *deployapi.DeploymentRequest) (*deployapi.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) List(opts metav1.ListOptions) (*deployapi.DeploymentConfigList, error)
- func (c *FakeDeploymentConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*deployapi.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) Rollback(inObj *deployapi.DeploymentConfigRollback) (result *deployapi.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) RollbackDeprecated(inObj *deployapi.DeploymentConfigRollback) (result *deployapi.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) Update(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) UpdateScale(inObj *extensionsv1beta1.Scale) (*extensionsv1beta1.Scale, error)
- func (c *FakeDeploymentConfigs) UpdateStatus(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeDeploymentLogs
- type FakeEgressNetworkPolicy
- func (c *FakeEgressNetworkPolicy) Create(inObj *networkapi.EgressNetworkPolicy) (*networkapi.EgressNetworkPolicy, error)
- func (c *FakeEgressNetworkPolicy) Delete(name string) error
- func (c *FakeEgressNetworkPolicy) Get(name string, options metav1.GetOptions) (*networkapi.EgressNetworkPolicy, error)
- func (c *FakeEgressNetworkPolicy) List(opts metav1.ListOptions) (*networkapi.EgressNetworkPolicyList, error)
- func (c *FakeEgressNetworkPolicy) Update(inObj *networkapi.EgressNetworkPolicy) (*networkapi.EgressNetworkPolicy, error)
- func (c *FakeEgressNetworkPolicy) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeGroups
- func (c *FakeGroups) Create(inObj *userapi.Group) (*userapi.Group, error)
- func (c *FakeGroups) Delete(name string) error
- func (c *FakeGroups) Get(name string, options metav1.GetOptions) (*userapi.Group, error)
- func (c *FakeGroups) List(opts metav1.ListOptions) (*userapi.GroupList, error)
- func (c *FakeGroups) Update(inObj *userapi.Group) (*userapi.Group, error)
- func (c *FakeGroups) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeHostSubnet
- func (c *FakeHostSubnet) Create(inObj *networkapi.HostSubnet) (*networkapi.HostSubnet, error)
- func (c *FakeHostSubnet) Delete(name string) error
- func (c *FakeHostSubnet) Get(name string, options metav1.GetOptions) (*networkapi.HostSubnet, error)
- func (c *FakeHostSubnet) List(opts metav1.ListOptions) (*networkapi.HostSubnetList, error)
- func (c *FakeHostSubnet) Update(inObj *networkapi.HostSubnet) (*networkapi.HostSubnet, error)
- func (c *FakeHostSubnet) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeIdentities
- func (c *FakeIdentities) Create(inObj *userapi.Identity) (*userapi.Identity, error)
- func (c *FakeIdentities) Delete(name string) error
- func (c *FakeIdentities) Get(name string, options metav1.GetOptions) (*userapi.Identity, error)
- func (c *FakeIdentities) List(opts metav1.ListOptions) (*userapi.IdentityList, error)
- func (c *FakeIdentities) Update(inObj *userapi.Identity) (*userapi.Identity, error)
- type FakeImageSignatures
- type FakeImageStreamImages
- type FakeImageStreamMappings
- type FakeImageStreamSecrets
- type FakeImageStreamTags
- func (c *FakeImageStreamTags) Create(inObj *imageapi.ImageStreamTag) (*imageapi.ImageStreamTag, error)
- func (c *FakeImageStreamTags) Delete(name, tag string) error
- func (c *FakeImageStreamTags) Get(name, tag string) (*imageapi.ImageStreamTag, error)
- func (c *FakeImageStreamTags) Update(inObj *imageapi.ImageStreamTag) (*imageapi.ImageStreamTag, error)
- type FakeImageStreams
- func (c *FakeImageStreams) Create(inObj *imageapi.ImageStream) (*imageapi.ImageStream, error)
- func (c *FakeImageStreams) Delete(name string) error
- func (c *FakeImageStreams) Get(name string, options metav1.GetOptions) (*imageapi.ImageStream, error)
- func (c *FakeImageStreams) Import(inObj *imageapi.ImageStreamImport) (*imageapi.ImageStreamImport, error)
- func (c *FakeImageStreams) List(opts metav1.ListOptions) (*imageapi.ImageStreamList, error)
- func (c *FakeImageStreams) Update(inObj *imageapi.ImageStream) (*imageapi.ImageStream, error)
- func (c *FakeImageStreams) UpdateStatus(inObj *imageapi.ImageStream) (result *imageapi.ImageStream, err error)
- func (c *FakeImageStreams) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeImages
- func (c *FakeImages) Create(inObj *imageapi.Image) (*imageapi.Image, error)
- func (c *FakeImages) Delete(name string) error
- func (c *FakeImages) Get(name string, options metav1.GetOptions) (*imageapi.Image, error)
- func (c *FakeImages) List(opts metav1.ListOptions) (*imageapi.ImageList, error)
- func (c *FakeImages) Update(inObj *imageapi.Image) (*imageapi.Image, error)
- type FakeLocalResourceAccessReviews
- type FakeLocalSubjectAccessReviews
- type FakeNetNamespace
- func (c *FakeNetNamespace) Create(inObj *networkapi.NetNamespace) (*networkapi.NetNamespace, error)
- func (c *FakeNetNamespace) Delete(name string) error
- func (c *FakeNetNamespace) Get(name string, options metav1.GetOptions) (*networkapi.NetNamespace, error)
- func (c *FakeNetNamespace) List(opts metav1.ListOptions) (*networkapi.NetNamespaceList, error)
- func (c *FakeNetNamespace) Update(inObj *networkapi.NetNamespace) (*networkapi.NetNamespace, error)
- func (c *FakeNetNamespace) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeOAuthAccessTokens
- func (c *FakeOAuthAccessTokens) Create(inObj *oauthapi.OAuthAccessToken) (*oauthapi.OAuthAccessToken, error)
- func (c *FakeOAuthAccessTokens) Delete(name string) error
- func (c *FakeOAuthAccessTokens) Get(name string, options metav1.GetOptions) (*oauthapi.OAuthAccessToken, error)
- func (c *FakeOAuthAccessTokens) List(opts metav1.ListOptions) (*oauthapi.OAuthAccessTokenList, error)
- type FakeOAuthAuthorizeTokens
- type FakeOAuthClient
- func (c *FakeOAuthClient) Create(inObj *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
- func (c *FakeOAuthClient) Delete(name string) error
- func (c *FakeOAuthClient) Get(name string, options metav1.GetOptions) (*oauthapi.OAuthClient, error)
- func (c *FakeOAuthClient) List(opts metav1.ListOptions) (*oauthapi.OAuthClientList, error)
- func (c *FakeOAuthClient) Update(client *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
- func (c *FakeOAuthClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeOAuthClientAuthorization
- func (c *FakeOAuthClientAuthorization) Create(inObj *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
- func (c *FakeOAuthClientAuthorization) Delete(name string) error
- func (c *FakeOAuthClientAuthorization) Get(name string, options metav1.GetOptions) (*oauthapi.OAuthClientAuthorization, error)
- func (c *FakeOAuthClientAuthorization) List(opts metav1.ListOptions) (*oauthapi.OAuthClientAuthorizationList, error)
- func (c *FakeOAuthClientAuthorization) Update(inObj *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
- func (c *FakeOAuthClientAuthorization) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakePodSecurityPolicyReviews
- type FakePodSecurityPolicySelfSubjectReviews
- type FakePodSecurityPolicySubjectReviews
- type FakePolicies
- func (c *FakePolicies) Delete(name string) error
- func (c *FakePolicies) Get(name string, options metav1.GetOptions) (*authorizationapi.Policy, error)
- func (c *FakePolicies) List(opts metav1.ListOptions) (*authorizationapi.PolicyList, error)
- func (c *FakePolicies) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakePolicyBindings
- func (c *FakePolicyBindings) Create(inObj *authorizationapi.PolicyBinding) (*authorizationapi.PolicyBinding, error)
- func (c *FakePolicyBindings) Delete(name string) error
- func (c *FakePolicyBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.PolicyBinding, error)
- func (c *FakePolicyBindings) List(opts metav1.ListOptions) (*authorizationapi.PolicyBindingList, error)
- func (c *FakePolicyBindings) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeProjectRequests
- type FakeProjects
- func (c *FakeProjects) Create(inObj *projectapi.Project) (*projectapi.Project, error)
- func (c *FakeProjects) Delete(name string) error
- func (c *FakeProjects) Get(name string, options metav1.GetOptions) (*projectapi.Project, error)
- func (c *FakeProjects) List(opts metav1.ListOptions) (*projectapi.ProjectList, error)
- func (c *FakeProjects) Update(inObj *projectapi.Project) (*projectapi.Project, error)
- func (c *FakeProjects) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeRoleBindingRestrictions
- func (c *FakeRoleBindingRestrictions) Create(inObj *authorizationapi.RoleBindingRestriction) (*authorizationapi.RoleBindingRestriction, error)
- func (c *FakeRoleBindingRestrictions) Delete(name string) error
- func (c *FakeRoleBindingRestrictions) Get(name string, options metav1.GetOptions) (*authorizationapi.RoleBindingRestriction, error)
- func (c *FakeRoleBindingRestrictions) List(opts metav1.ListOptions) (*authorizationapi.RoleBindingRestrictionList, error)
- func (c *FakeRoleBindingRestrictions) Update(inObj *authorizationapi.RoleBindingRestriction) (*authorizationapi.RoleBindingRestriction, error)
- func (c *FakeRoleBindingRestrictions) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeRoleBindings
- func (c *FakeRoleBindings) Create(inObj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
- func (c *FakeRoleBindings) Delete(name string) error
- func (c *FakeRoleBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.RoleBinding, error)
- func (c *FakeRoleBindings) List(opts metav1.ListOptions) (*authorizationapi.RoleBindingList, error)
- func (c *FakeRoleBindings) Update(inObj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
- type FakeRoles
- func (c *FakeRoles) Create(inObj *authorizationapi.Role) (*authorizationapi.Role, error)
- func (c *FakeRoles) Delete(name string) error
- func (c *FakeRoles) Get(name string, options metav1.GetOptions) (*authorizationapi.Role, error)
- func (c *FakeRoles) List(opts metav1.ListOptions) (*authorizationapi.RoleList, error)
- func (c *FakeRoles) Update(inObj *authorizationapi.Role) (*authorizationapi.Role, error)
- type FakeRoutes
- func (c *FakeRoutes) Create(inObj *routeapi.Route) (*routeapi.Route, error)
- func (c *FakeRoutes) Delete(name string) error
- func (c *FakeRoutes) Get(name string, options metav1.GetOptions) (*routeapi.Route, error)
- func (c *FakeRoutes) List(opts metav1.ListOptions) (*routeapi.RouteList, error)
- func (c *FakeRoutes) Update(inObj *routeapi.Route) (*routeapi.Route, error)
- func (c *FakeRoutes) UpdateStatus(inObj *routeapi.Route) (*routeapi.Route, error)
- func (c *FakeRoutes) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeSelfSubjectRulesReviews
- type FakeSubjectRulesReviews
- type FakeTemplateConfigs
- type FakeTemplates
- func (c *FakeTemplates) Create(inObj *templateapi.Template) (*templateapi.Template, error)
- func (c *FakeTemplates) Delete(name string) error
- func (c *FakeTemplates) Get(name string, options metav1.GetOptions) (*templateapi.Template, error)
- func (c *FakeTemplates) List(opts metav1.ListOptions) (*templateapi.TemplateList, error)
- func (c *FakeTemplates) Update(inObj *templateapi.Template) (*templateapi.Template, error)
- func (c *FakeTemplates) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FakeUserIdentityMappings
- func (c *FakeUserIdentityMappings) Create(inObj *userapi.UserIdentityMapping) (*userapi.UserIdentityMapping, error)
- func (c *FakeUserIdentityMappings) Delete(name string) error
- func (c *FakeUserIdentityMappings) Get(name string, options metav1.GetOptions) (*userapi.UserIdentityMapping, error)
- func (c *FakeUserIdentityMappings) Update(inObj *userapi.UserIdentityMapping) (*userapi.UserIdentityMapping, error)
- type FakeUsers
- func (c *FakeUsers) Create(inObj *userapi.User) (*userapi.User, error)
- func (c *FakeUsers) Delete(name string) error
- func (c *FakeUsers) Get(name string, options metav1.GetOptions) (*userapi.User, error)
- func (c *FakeUsers) List(opts metav1.ListOptions) (*userapi.UserList, error)
- func (c *FakeUsers) Update(inObj *userapi.User) (*userapi.User, error)
- func (c *FakeUsers) Watch(opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorClients ¶ added in v1.5.0
func NewErrorClients(err error) (client.Interface, kclientset.Interface)
func NewFixtureClients ¶
NewFixtureClients returns mocks of the OpenShift and Kubernetes clients with data populated from provided path.
func OriginObjects ¶
OriginObjects returns the origin types.
func ReadObjectsFromPath ¶ added in v1.5.0
func ReadObjectsFromPath(path, namespace string, decoder runtime.Decoder, typer runtime.ObjectTyper) ([]runtime.Object, error)
ReadObjectsFromPath reads objects from the specified file for testing.
Types ¶
type Fake ¶ added in v0.5.3
type Fake struct { sync.RWMutex // ReactionChain is the list of reactors that will be attempted for every request in the order they are tried ReactionChain []clientgotesting.Reactor // WatchReactionChain is the list of watch reactors that will be attempted for every request in the order they are tried WatchReactionChain []clientgotesting.WatchReactor // contains filtered or unexported fields }
Fake implements Interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the method you want to test easier.
func NewSimpleFake ¶ added in v0.5.4
NewSimpleFake returns a client that will respond with the provided objects
func (*Fake) Actions ¶ added in v0.5.3
func (c *Fake) Actions() []clientgotesting.Action
Actions returns a chronologically ordered slice fake actions called on the fake client
func (*Fake) AddReactor ¶ added in v1.0.7
func (c *Fake) AddReactor(verb, resource string, reaction clientgotesting.ReactionFunc)
AddReactor appends a reactor to the end of the chain
func (*Fake) AddWatchReactor ¶ added in v1.0.7
func (c *Fake) AddWatchReactor(resource string, reaction clientgotesting.WatchReactionFunc)
AddWatchReactor appends a reactor to the end of the chain
func (*Fake) AppliedClusterResourceQuotas ¶ added in v1.3.0
func (c *Fake) AppliedClusterResourceQuotas(namespace string) client.AppliedClusterResourceQuotaInterface
func (*Fake) BuildConfigs ¶ added in v0.5.3
func (c *Fake) BuildConfigs(namespace string) client.BuildConfigInterface
BuildConfigs provides a fake REST client for BuildConfigs
func (*Fake) BuildLogs ¶ added in v0.5.3
func (c *Fake) BuildLogs(namespace string) client.BuildLogsInterface
BuildLogs provides a fake REST client for BuildLogs
func (*Fake) Builds ¶ added in v0.5.3
func (c *Fake) Builds(namespace string) client.BuildInterface
Builds provides a fake REST client for Builds
func (*Fake) ClearActions ¶ added in v1.0.5
func (c *Fake) ClearActions()
ClearActions clears the history of actions called on the fake client
func (*Fake) ClusterNetwork ¶ added in v0.5.3
func (c *Fake) ClusterNetwork() client.ClusterNetworkInterface
ClusterNetwork provides a fake REST client for ClusterNetwork
func (*Fake) ClusterPolicies ¶ added in v0.5.3
func (c *Fake) ClusterPolicies() client.ClusterPolicyInterface
ClusterPolicies provides a fake REST client for ClusterPolicies
func (*Fake) ClusterPolicyBindings ¶ added in v0.5.3
func (c *Fake) ClusterPolicyBindings() client.ClusterPolicyBindingInterface
ClusterPolicyBindings provides a fake REST client for ClusterPolicyBindings
func (*Fake) ClusterResourceQuotas ¶ added in v1.3.0
func (c *Fake) ClusterResourceQuotas() client.ClusterResourceQuotaInterface
func (*Fake) ClusterRoleBindings ¶ added in v0.5.3
func (c *Fake) ClusterRoleBindings() client.ClusterRoleBindingInterface
ClusterRoleBindings provides a fake REST client for ClusterRoleBindings
func (*Fake) ClusterRoles ¶ added in v0.5.3
func (c *Fake) ClusterRoles() client.ClusterRoleInterface
ClusterRoles provides a fake REST client for ClusterRoles
func (*Fake) DeploymentConfigs ¶ added in v0.5.3
func (c *Fake) DeploymentConfigs(namespace string) client.DeploymentConfigInterface
DeploymentConfigs provides a fake REST client for DeploymentConfigs
func (*Fake) DeploymentLogs ¶ added in v1.0.7
func (c *Fake) DeploymentLogs(namespace string) client.DeploymentLogInterface
DeploymentLogs provides a fake REST client for DeploymentLogs
func (*Fake) EgressNetworkPolicies ¶ added in v1.3.0
func (c *Fake) EgressNetworkPolicies(namespace string) client.EgressNetworkPolicyInterface
EgressNetworkPolicies provides a fake REST client for EgressNetworkPolicies
func (*Fake) Groups ¶ added in v1.0.4
func (c *Fake) Groups() client.GroupInterface
Groups provides a fake REST client for Groups
func (*Fake) HostSubnets ¶ added in v0.5.3
func (c *Fake) HostSubnets() client.HostSubnetInterface
HostSubnets provides a fake REST client for HostSubnets
func (*Fake) Identities ¶ added in v0.5.3
func (c *Fake) Identities() client.IdentityInterface
Identities provides a fake REST client for Identities
func (*Fake) ImageSignatures ¶ added in v1.3.0
func (c *Fake) ImageSignatures() client.ImageSignatureInterface
ImageSignatures provides a fake REST client for ImageSignatures
func (*Fake) ImageStreamImages ¶ added in v0.5.3
func (c *Fake) ImageStreamImages(namespace string) client.ImageStreamImageInterface
ImageStreamImages provides a fake REST client for ImageStreamImages
func (*Fake) ImageStreamMappings ¶ added in v0.5.3
func (c *Fake) ImageStreamMappings(namespace string) client.ImageStreamMappingInterface
ImageStreamMappings provides a fake REST client for ImageStreamMappings
func (*Fake) ImageStreamSecrets ¶ added in v1.1.2
func (c *Fake) ImageStreamSecrets(namespace string) client.ImageStreamSecretInterface
ImageStreams provides a fake REST client for ImageStreams
func (*Fake) ImageStreamTags ¶ added in v0.5.3
func (c *Fake) ImageStreamTags(namespace string) client.ImageStreamTagInterface
ImageStreamTags provides a fake REST client for ImageStreamTags
func (*Fake) ImageStreams ¶ added in v0.5.3
func (c *Fake) ImageStreams(namespace string) client.ImageStreamInterface
ImageStreams provides a fake REST client for ImageStreams
func (*Fake) Images ¶ added in v0.5.3
func (c *Fake) Images() client.ImageInterface
Images provides a fake REST client for Images
func (*Fake) ImpersonateLocalSubjectAccessReviews ¶ added in v1.0.5
func (c *Fake) ImpersonateLocalSubjectAccessReviews(namespace, token string) client.LocalSubjectAccessReviewInterface
ImpersonateSubjectAccessReviews provides a fake REST client for SubjectAccessReviews
func (*Fake) ImpersonateSubjectAccessReviews ¶ added in v1.0.5
func (c *Fake) ImpersonateSubjectAccessReviews(token string) client.SubjectAccessReviewInterface
ImpersonateSubjectAccessReviews provides a fake REST client for SubjectAccessReviews
func (*Fake) Invokes ¶ added in v0.5.3
func (c *Fake) Invokes(action clientgotesting.Action, defaultReturnObj runtime.Object) (runtime.Object, error)
Invokes records the provided Action and then invokes the ReactFn (if provided). defaultReturnObj is expected to be of the same type a normal call would return.
func (*Fake) InvokesWatch ¶ added in v1.0.7
InvokesWatch records the provided Action and then invokes the ReactFn (if provided).
func (*Fake) LocalResourceAccessReviews ¶ added in v1.0.5
func (c *Fake) LocalResourceAccessReviews(namespace string) client.LocalResourceAccessReviewInterface
LocalResourceAccessReviews provides a fake REST client for ResourceAccessReviews
func (*Fake) LocalSubjectAccessReviews ¶ added in v1.0.5
func (c *Fake) LocalSubjectAccessReviews(namespace string) client.LocalSubjectAccessReviewInterface
LocalSubjectAccessReviews provides a fake REST client for SubjectAccessReviews
func (*Fake) NetNamespaces ¶ added in v1.0.5
func (c *Fake) NetNamespaces() client.NetNamespaceInterface
NetNamespaces provides a fake REST client for NetNamespaces
func (*Fake) OAuthAccessTokens ¶ added in v0.5.3
func (c *Fake) OAuthAccessTokens() client.OAuthAccessTokenInterface
func (*Fake) OAuthAuthorizeTokens ¶ added in v1.3.0
func (c *Fake) OAuthAuthorizeTokens() client.OAuthAuthorizeTokenInterface
func (*Fake) OAuthClientAuthorizations ¶ added in v1.3.0
func (c *Fake) OAuthClientAuthorizations() client.OAuthClientAuthorizationInterface
func (*Fake) OAuthClients ¶ added in v1.3.0
func (c *Fake) OAuthClients() client.OAuthClientInterface
func (*Fake) Policies ¶ added in v0.5.3
func (c *Fake) Policies(namespace string) client.PolicyInterface
Policies provides a fake REST client for Policies
func (*Fake) PolicyBindings ¶ added in v0.5.3
func (c *Fake) PolicyBindings(namespace string) client.PolicyBindingInterface
PolicyBindings provides a fake REST client for PolicyBindings
func (*Fake) PrependReactor ¶ added in v1.0.7
func (c *Fake) PrependReactor(verb, resource string, reaction clientgotesting.ReactionFunc)
PrependReactor adds a reactor to the beginning of the chain
func (*Fake) PrependWatchReactor ¶ added in v1.5.0
func (c *Fake) PrependWatchReactor(resource string, reaction clientgotesting.WatchReactionFunc)
PrependWatchReactor adds a reactor to the beginning of the chain.
func (*Fake) ProjectRequests ¶ added in v0.5.3
func (c *Fake) ProjectRequests() client.ProjectRequestInterface
ProjectRequests provides a fake REST client for ProjectRequests
func (*Fake) Projects ¶ added in v0.5.3
func (c *Fake) Projects() client.ProjectInterface
Projects provides a fake REST client for Projects
func (*Fake) ResourceAccessReviews ¶ added in v0.5.3
func (c *Fake) ResourceAccessReviews() client.ResourceAccessReviewInterface
ResourceAccessReviews provides a fake REST client for ClusterResourceAccessReviews
func (*Fake) RoleBindingRestrictions ¶ added in v1.4.0
func (c *Fake) RoleBindingRestrictions(namespace string) client.RoleBindingRestrictionInterface
func (*Fake) RoleBindings ¶ added in v0.5.3
func (c *Fake) RoleBindings(namespace string) client.RoleBindingInterface
RoleBindings provides a fake REST client for RoleBindings
func (*Fake) Roles ¶ added in v0.5.3
func (c *Fake) Roles(namespace string) client.RoleInterface
Roles provides a fake REST client for Roles
func (*Fake) Routes ¶ added in v0.5.3
func (c *Fake) Routes(namespace string) client.RouteInterface
Routes provides a fake REST client for Routes
func (*Fake) SelfSubjectRulesReviews ¶ added in v1.3.0
func (c *Fake) SelfSubjectRulesReviews(namespace string) client.SelfSubjectRulesReviewInterface
func (*Fake) SubjectAccessReviews ¶ added in v0.5.3
func (c *Fake) SubjectAccessReviews() client.SubjectAccessReviewInterface
SubjectAccessReviews provides a fake REST client for ClusterSubjectAccessReviews
func (*Fake) SubjectRulesReviews ¶ added in v1.4.0
func (c *Fake) SubjectRulesReviews(namespace string) client.SubjectRulesReviewInterface
func (*Fake) TemplateConfigs ¶ added in v0.5.3
func (c *Fake) TemplateConfigs(namespace string) client.TemplateConfigInterface
TemplateConfigs provides a fake REST client for TemplateConfigs
func (*Fake) Templates ¶ added in v0.5.3
func (c *Fake) Templates(namespace string) client.TemplateInterface
Templates provides a fake REST client for Templates
func (*Fake) UserIdentityMappings ¶ added in v0.5.3
func (c *Fake) UserIdentityMappings() client.UserIdentityMappingInterface
UserIdentityMappings provides a fake REST client for UserIdentityMappings
func (*Fake) Users ¶ added in v0.5.3
func (c *Fake) Users() client.UserInterface
Users provides a fake REST client for Users
type FakeAppliedClusterResourceQuotas ¶ added in v1.3.0
func (*FakeAppliedClusterResourceQuotas) Get ¶ added in v1.3.0
func (c *FakeAppliedClusterResourceQuotas) Get(name string, options metav1.GetOptions) (*quotaapi.AppliedClusterResourceQuota, error)
func (*FakeAppliedClusterResourceQuotas) List ¶ added in v1.3.0
func (c *FakeAppliedClusterResourceQuotas) List(opts metav1.ListOptions) (*quotaapi.AppliedClusterResourceQuotaList, error)
type FakeBuildConfigs ¶ added in v0.5.3
FakeBuildConfigs implements BuildConfigInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeBuildConfigs) Create ¶ added in v0.5.3
func (c *FakeBuildConfigs) Create(inObj *buildapi.BuildConfig) (*buildapi.BuildConfig, error)
func (*FakeBuildConfigs) Delete ¶ added in v0.5.3
func (c *FakeBuildConfigs) Delete(name string) error
func (*FakeBuildConfigs) Get ¶ added in v0.5.3
func (c *FakeBuildConfigs) Get(name string, options metav1.GetOptions) (*buildapi.BuildConfig, error)
func (*FakeBuildConfigs) Instantiate ¶ added in v0.5.3
func (c *FakeBuildConfigs) Instantiate(request *buildapi.BuildRequest) (result *buildapi.Build, err error)
func (*FakeBuildConfigs) InstantiateBinary ¶ added in v1.0.7
func (c *FakeBuildConfigs) InstantiateBinary(request *buildapi.BinaryBuildRequestOptions, r io.Reader) (result *buildapi.Build, err error)
func (*FakeBuildConfigs) List ¶ added in v0.5.3
func (c *FakeBuildConfigs) List(opts metav1.ListOptions) (*buildapi.BuildConfigList, error)
func (*FakeBuildConfigs) Update ¶ added in v0.5.3
func (c *FakeBuildConfigs) Update(inObj *buildapi.BuildConfig) (*buildapi.BuildConfig, error)
func (*FakeBuildConfigs) Watch ¶ added in v0.5.3
func (c *FakeBuildConfigs) Watch(opts metav1.ListOptions) (watch.Interface, error)
func (*FakeBuildConfigs) WebHookURL ¶ added in v0.5.3
func (c *FakeBuildConfigs) WebHookURL(name string, trigger *buildapi.BuildTriggerPolicy) (*url.URL, error)
type FakeBuildLogs ¶ added in v0.5.3
FakeBuildLogs implements BuildLogsInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeBuildLogs) Get ¶ added in v0.5.3
func (c *FakeBuildLogs) Get(name string, opt buildapi.BuildLogOptions) *restclient.Request
type FakeBuilds ¶ added in v0.5.3
FakeBuilds implements BuildInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeBuilds) Clone ¶ added in v0.5.3
func (c *FakeBuilds) Clone(request *buildapi.BuildRequest) (result *buildapi.Build, err error)
func (*FakeBuilds) Delete ¶ added in v0.5.3
func (c *FakeBuilds) Delete(name string) error
func (*FakeBuilds) Get ¶ added in v0.5.3
func (c *FakeBuilds) Get(name string, options metav1.GetOptions) (*buildapi.Build, error)
func (*FakeBuilds) List ¶ added in v0.5.3
func (c *FakeBuilds) List(opts metav1.ListOptions) (*buildapi.BuildList, error)
func (*FakeBuilds) UpdateDetails ¶ added in v1.1.1
func (*FakeBuilds) Watch ¶ added in v0.5.3
func (c *FakeBuilds) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeClusterNetwork ¶ added in v0.5.3
type FakeClusterNetwork struct {
Fake *Fake
}
FakeClusterNetwork implements ClusterNetworkInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterNetwork) Create ¶ added in v0.5.3
func (c *FakeClusterNetwork) Create(inObj *networkapi.ClusterNetwork) (*networkapi.ClusterNetwork, error)
func (*FakeClusterNetwork) Get ¶ added in v0.5.3
func (c *FakeClusterNetwork) Get(name string, options metav1.GetOptions) (*networkapi.ClusterNetwork, error)
func (*FakeClusterNetwork) Update ¶ added in v1.0.6
func (c *FakeClusterNetwork) Update(inObj *networkapi.ClusterNetwork) (*networkapi.ClusterNetwork, error)
type FakeClusterPolicies ¶ added in v0.5.3
type FakeClusterPolicies struct {
Fake *Fake
}
FakeClusterPolicies implements ClusterPolicyInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterPolicies) Delete ¶ added in v0.5.3
func (c *FakeClusterPolicies) Delete(name string) error
func (*FakeClusterPolicies) Get ¶ added in v0.5.3
func (c *FakeClusterPolicies) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterPolicy, error)
func (*FakeClusterPolicies) List ¶ added in v0.5.3
func (c *FakeClusterPolicies) List(opts metav1.ListOptions) (*authorizationapi.ClusterPolicyList, error)
func (*FakeClusterPolicies) Watch ¶ added in v0.5.3
func (c *FakeClusterPolicies) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeClusterPolicyBindings ¶ added in v0.5.3
type FakeClusterPolicyBindings struct {
Fake *Fake
}
FakeClusterPolicyBindings implements ClusterPolicyBindingInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterPolicyBindings) Create ¶ added in v0.5.3
func (c *FakeClusterPolicyBindings) Create(inObj *authorizationapi.ClusterPolicyBinding) (*authorizationapi.ClusterPolicyBinding, error)
func (*FakeClusterPolicyBindings) Delete ¶ added in v0.5.3
func (c *FakeClusterPolicyBindings) Delete(name string) error
func (*FakeClusterPolicyBindings) Get ¶ added in v0.5.3
func (c *FakeClusterPolicyBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterPolicyBinding, error)
func (*FakeClusterPolicyBindings) List ¶ added in v0.5.3
func (c *FakeClusterPolicyBindings) List(opts metav1.ListOptions) (*authorizationapi.ClusterPolicyBindingList, error)
func (*FakeClusterPolicyBindings) Watch ¶ added in v0.5.3
func (c *FakeClusterPolicyBindings) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeClusterResourceAccessReviews ¶ added in v0.5.3
type FakeClusterResourceAccessReviews struct {
Fake *Fake
}
func (*FakeClusterResourceAccessReviews) Create ¶ added in v0.5.3
func (c *FakeClusterResourceAccessReviews) Create(inObj *authorizationapi.ResourceAccessReview) (*authorizationapi.ResourceAccessReviewResponse, error)
type FakeClusterResourceQuotas ¶ added in v1.3.0
type FakeClusterResourceQuotas struct {
Fake *Fake
}
FakeClusterResourceQuotas implements ClusterResourceQuotaInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterResourceQuotas) Create ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) Create(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error)
func (*FakeClusterResourceQuotas) Delete ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) Delete(name string) error
func (*FakeClusterResourceQuotas) Get ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) Get(name string, options metav1.GetOptions) (*quotaapi.ClusterResourceQuota, error)
func (*FakeClusterResourceQuotas) List ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) List(opts metav1.ListOptions) (*quotaapi.ClusterResourceQuotaList, error)
func (*FakeClusterResourceQuotas) Update ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) Update(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error)
func (*FakeClusterResourceQuotas) UpdateStatus ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) UpdateStatus(inObj *quotaapi.ClusterResourceQuota) (*quotaapi.ClusterResourceQuota, error)
func (*FakeClusterResourceQuotas) Watch ¶ added in v1.3.0
func (c *FakeClusterResourceQuotas) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeClusterRoleBindings ¶ added in v0.5.3
type FakeClusterRoleBindings struct {
Fake *Fake
}
FakeClusterRoleBindings implements ClusterRoleBindingInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterRoleBindings) Create ¶ added in v0.5.3
func (c *FakeClusterRoleBindings) Create(inObj *authorizationapi.ClusterRoleBinding) (*authorizationapi.ClusterRoleBinding, error)
func (*FakeClusterRoleBindings) Delete ¶ added in v0.5.3
func (c *FakeClusterRoleBindings) Delete(name string) error
func (*FakeClusterRoleBindings) Get ¶ added in v0.5.3
func (c *FakeClusterRoleBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterRoleBinding, error)
func (*FakeClusterRoleBindings) List ¶ added in v0.5.3
func (c *FakeClusterRoleBindings) List(opts metav1.ListOptions) (*authorizationapi.ClusterRoleBindingList, error)
func (*FakeClusterRoleBindings) Update ¶ added in v0.5.3
func (c *FakeClusterRoleBindings) Update(inObj *authorizationapi.ClusterRoleBinding) (*authorizationapi.ClusterRoleBinding, error)
type FakeClusterRoles ¶ added in v0.5.3
type FakeClusterRoles struct {
Fake *Fake
}
FakeClusterRoles implements ClusterRoleInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterRoles) Create ¶ added in v0.5.3
func (c *FakeClusterRoles) Create(inObj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
func (*FakeClusterRoles) Delete ¶ added in v0.5.3
func (c *FakeClusterRoles) Delete(name string) error
func (*FakeClusterRoles) Get ¶ added in v0.5.3
func (c *FakeClusterRoles) Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterRole, error)
func (*FakeClusterRoles) List ¶ added in v0.5.3
func (c *FakeClusterRoles) List(opts metav1.ListOptions) (*authorizationapi.ClusterRoleList, error)
func (*FakeClusterRoles) Update ¶ added in v0.5.3
func (c *FakeClusterRoles) Update(inObj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
type FakeClusterSubjectAccessReviews ¶ added in v0.5.3
type FakeClusterSubjectAccessReviews struct {
Fake *Fake
}
FakeClusterSubjectAccessReviews implements the ClusterSubjectAccessReviews interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeClusterSubjectAccessReviews) Create ¶ added in v0.5.3
func (c *FakeClusterSubjectAccessReviews) Create(inObj *authorizationapi.SubjectAccessReview) (*authorizationapi.SubjectAccessReviewResponse, error)
type FakeDeploymentConfigs ¶ added in v0.5.3
FakeDeploymentConfigs implements DeploymentConfigInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeDeploymentConfigs) Create ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) Create(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error)
func (*FakeDeploymentConfigs) Delete ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) Delete(name string) error
func (*FakeDeploymentConfigs) Get ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) Get(name string, options metav1.GetOptions) (*deployapi.DeploymentConfig, error)
func (*FakeDeploymentConfigs) GetScale ¶ added in v1.0.8
func (c *FakeDeploymentConfigs) GetScale(name string) (*extensionsv1beta1.Scale, error)
func (*FakeDeploymentConfigs) Instantiate ¶ added in v1.4.0
func (c *FakeDeploymentConfigs) Instantiate(inObj *deployapi.DeploymentRequest) (*deployapi.DeploymentConfig, error)
func (*FakeDeploymentConfigs) List ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) List(opts metav1.ListOptions) (*deployapi.DeploymentConfigList, error)
func (*FakeDeploymentConfigs) Patch ¶
func (c *FakeDeploymentConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*deployapi.DeploymentConfig, error)
func (*FakeDeploymentConfigs) Rollback ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) Rollback(inObj *deployapi.DeploymentConfigRollback) (result *deployapi.DeploymentConfig, err error)
func (*FakeDeploymentConfigs) RollbackDeprecated ¶ added in v1.3.0
func (c *FakeDeploymentConfigs) RollbackDeprecated(inObj *deployapi.DeploymentConfigRollback) (result *deployapi.DeploymentConfig, err error)
func (*FakeDeploymentConfigs) Update ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) Update(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error)
func (*FakeDeploymentConfigs) UpdateScale ¶ added in v1.0.8
func (c *FakeDeploymentConfigs) UpdateScale(inObj *extensionsv1beta1.Scale) (*extensionsv1beta1.Scale, error)
func (*FakeDeploymentConfigs) UpdateStatus ¶ added in v1.3.0
func (c *FakeDeploymentConfigs) UpdateStatus(inObj *deployapi.DeploymentConfig) (*deployapi.DeploymentConfig, error)
func (*FakeDeploymentConfigs) Watch ¶ added in v0.5.3
func (c *FakeDeploymentConfigs) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeDeploymentLogs ¶ added in v1.0.7
FakeDeploymentLogs implements DeploymentLogsInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeDeploymentLogs) Get ¶ added in v1.0.7
func (c *FakeDeploymentLogs) Get(name string, opt deployapi.DeploymentLogOptions) *restclient.Request
Get builds and returns a buildLog request
type FakeEgressNetworkPolicy ¶ added in v1.3.0
FakeEgressNetworkPolicy implements EgressNetworkPolicyInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeEgressNetworkPolicy) Create ¶ added in v1.3.0
func (c *FakeEgressNetworkPolicy) Create(inObj *networkapi.EgressNetworkPolicy) (*networkapi.EgressNetworkPolicy, error)
func (*FakeEgressNetworkPolicy) Delete ¶ added in v1.3.0
func (c *FakeEgressNetworkPolicy) Delete(name string) error
func (*FakeEgressNetworkPolicy) Get ¶ added in v1.3.0
func (c *FakeEgressNetworkPolicy) Get(name string, options metav1.GetOptions) (*networkapi.EgressNetworkPolicy, error)
func (*FakeEgressNetworkPolicy) List ¶ added in v1.3.0
func (c *FakeEgressNetworkPolicy) List(opts metav1.ListOptions) (*networkapi.EgressNetworkPolicyList, error)
func (*FakeEgressNetworkPolicy) Update ¶ added in v1.3.0
func (c *FakeEgressNetworkPolicy) Update(inObj *networkapi.EgressNetworkPolicy) (*networkapi.EgressNetworkPolicy, error)
func (*FakeEgressNetworkPolicy) Watch ¶ added in v1.3.0
func (c *FakeEgressNetworkPolicy) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeGroups ¶ added in v1.0.4
type FakeGroups struct {
Fake *Fake
}
FakeGroups implements GroupsInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeGroups) Delete ¶ added in v1.0.4
func (c *FakeGroups) Delete(name string) error
func (*FakeGroups) Get ¶ added in v1.0.4
func (c *FakeGroups) Get(name string, options metav1.GetOptions) (*userapi.Group, error)
func (*FakeGroups) List ¶ added in v1.0.4
func (c *FakeGroups) List(opts metav1.ListOptions) (*userapi.GroupList, error)
func (*FakeGroups) Watch ¶ added in v1.3.0
func (c *FakeGroups) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeHostSubnet ¶ added in v0.5.3
type FakeHostSubnet struct {
Fake *Fake
}
FakeHostSubnet implements HostSubnetInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeHostSubnet) Create ¶ added in v0.5.3
func (c *FakeHostSubnet) Create(inObj *networkapi.HostSubnet) (*networkapi.HostSubnet, error)
func (*FakeHostSubnet) Delete ¶ added in v0.5.3
func (c *FakeHostSubnet) Delete(name string) error
func (*FakeHostSubnet) Get ¶ added in v0.5.3
func (c *FakeHostSubnet) Get(name string, options metav1.GetOptions) (*networkapi.HostSubnet, error)
func (*FakeHostSubnet) List ¶ added in v0.5.3
func (c *FakeHostSubnet) List(opts metav1.ListOptions) (*networkapi.HostSubnetList, error)
func (*FakeHostSubnet) Update ¶ added in v1.3.0
func (c *FakeHostSubnet) Update(inObj *networkapi.HostSubnet) (*networkapi.HostSubnet, error)
func (*FakeHostSubnet) Watch ¶ added in v0.5.3
func (c *FakeHostSubnet) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeIdentities ¶ added in v0.5.3
type FakeIdentities struct {
Fake *Fake
}
FakeIdentities implements IdentitiesInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeIdentities) Delete ¶ added in v1.1.1
func (c *FakeIdentities) Delete(name string) error
func (*FakeIdentities) Get ¶ added in v0.5.3
func (c *FakeIdentities) Get(name string, options metav1.GetOptions) (*userapi.Identity, error)
func (*FakeIdentities) List ¶ added in v0.5.3
func (c *FakeIdentities) List(opts metav1.ListOptions) (*userapi.IdentityList, error)
type FakeImageSignatures ¶ added in v1.3.0
type FakeImageSignatures struct {
Fake *Fake
}
FakeImageSignatures implements ImageSignatureInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImageSignatures) Create ¶ added in v1.3.0
func (c *FakeImageSignatures) Create(inObj *imageapi.ImageSignature) (*imageapi.ImageSignature, error)
func (*FakeImageSignatures) Delete ¶ added in v1.3.0
func (c *FakeImageSignatures) Delete(name string) error
type FakeImageStreamImages ¶ added in v0.5.3
FakeImageStreamImages implements ImageStreamImageInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImageStreamImages) Get ¶ added in v0.5.3
func (c *FakeImageStreamImages) Get(repo, imageID string) (*imageapi.ImageStreamImage, error)
type FakeImageStreamMappings ¶ added in v0.5.3
FakeImageStreamMappings implements ImageStreamMappingInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImageStreamMappings) Create ¶ added in v0.5.3
func (c *FakeImageStreamMappings) Create(inObj *imageapi.ImageStreamMapping) error
type FakeImageStreamSecrets ¶ added in v1.1.2
FakeImageStreamSecrets implements ImageStreamSecretInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImageStreamSecrets) Secrets ¶ added in v1.1.2
func (c *FakeImageStreamSecrets) Secrets(name string, options metav1.ListOptions) (*kapi.SecretList, error)
type FakeImageStreamTags ¶ added in v0.5.3
FakeImageStreamTags implements ImageStreamTagInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImageStreamTags) Create ¶ added in v1.3.0
func (c *FakeImageStreamTags) Create(inObj *imageapi.ImageStreamTag) (*imageapi.ImageStreamTag, error)
func (*FakeImageStreamTags) Delete ¶ added in v0.5.3
func (c *FakeImageStreamTags) Delete(name, tag string) error
func (*FakeImageStreamTags) Get ¶ added in v0.5.3
func (c *FakeImageStreamTags) Get(name, tag string) (*imageapi.ImageStreamTag, error)
func (*FakeImageStreamTags) Update ¶ added in v1.1.3
func (c *FakeImageStreamTags) Update(inObj *imageapi.ImageStreamTag) (*imageapi.ImageStreamTag, error)
type FakeImageStreams ¶ added in v0.5.3
FakeImageStreams implements ImageStreamInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImageStreams) Create ¶ added in v0.5.3
func (c *FakeImageStreams) Create(inObj *imageapi.ImageStream) (*imageapi.ImageStream, error)
func (*FakeImageStreams) Delete ¶ added in v0.5.3
func (c *FakeImageStreams) Delete(name string) error
func (*FakeImageStreams) Get ¶ added in v0.5.3
func (c *FakeImageStreams) Get(name string, options metav1.GetOptions) (*imageapi.ImageStream, error)
func (*FakeImageStreams) Import ¶ added in v1.1.2
func (c *FakeImageStreams) Import(inObj *imageapi.ImageStreamImport) (*imageapi.ImageStreamImport, error)
func (*FakeImageStreams) List ¶ added in v0.5.3
func (c *FakeImageStreams) List(opts metav1.ListOptions) (*imageapi.ImageStreamList, error)
func (*FakeImageStreams) Update ¶ added in v0.5.3
func (c *FakeImageStreams) Update(inObj *imageapi.ImageStream) (*imageapi.ImageStream, error)
func (*FakeImageStreams) UpdateStatus ¶ added in v0.5.3
func (c *FakeImageStreams) UpdateStatus(inObj *imageapi.ImageStream) (result *imageapi.ImageStream, err error)
func (*FakeImageStreams) Watch ¶ added in v0.5.3
func (c *FakeImageStreams) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeImages ¶ added in v0.5.3
type FakeImages struct {
Fake *Fake
}
FakeImages implements ImageInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeImages) Delete ¶ added in v0.5.3
func (c *FakeImages) Delete(name string) error
func (*FakeImages) Get ¶ added in v0.5.3
func (c *FakeImages) Get(name string, options metav1.GetOptions) (*imageapi.Image, error)
func (*FakeImages) List ¶ added in v0.5.3
func (c *FakeImages) List(opts metav1.ListOptions) (*imageapi.ImageList, error)
type FakeLocalResourceAccessReviews ¶ added in v1.0.5
func (*FakeLocalResourceAccessReviews) Create ¶ added in v1.0.5
func (c *FakeLocalResourceAccessReviews) Create(inObj *authorizationapi.LocalResourceAccessReview) (*authorizationapi.ResourceAccessReviewResponse, error)
type FakeLocalSubjectAccessReviews ¶ added in v1.0.5
func (*FakeLocalSubjectAccessReviews) Create ¶ added in v1.0.5
func (c *FakeLocalSubjectAccessReviews) Create(inObj *authorizationapi.LocalSubjectAccessReview) (*authorizationapi.SubjectAccessReviewResponse, error)
type FakeNetNamespace ¶ added in v1.0.5
type FakeNetNamespace struct {
Fake *Fake
}
FakeNetNamespace implements NetNamespaceInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeNetNamespace) Create ¶ added in v1.0.5
func (c *FakeNetNamespace) Create(inObj *networkapi.NetNamespace) (*networkapi.NetNamespace, error)
func (*FakeNetNamespace) Delete ¶ added in v1.0.5
func (c *FakeNetNamespace) Delete(name string) error
func (*FakeNetNamespace) Get ¶ added in v1.0.5
func (c *FakeNetNamespace) Get(name string, options metav1.GetOptions) (*networkapi.NetNamespace, error)
func (*FakeNetNamespace) List ¶ added in v1.0.5
func (c *FakeNetNamespace) List(opts metav1.ListOptions) (*networkapi.NetNamespaceList, error)
func (*FakeNetNamespace) Update ¶ added in v1.0.7
func (c *FakeNetNamespace) Update(inObj *networkapi.NetNamespace) (*networkapi.NetNamespace, error)
func (*FakeNetNamespace) Watch ¶ added in v1.0.5
func (c *FakeNetNamespace) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeOAuthAccessTokens ¶ added in v0.5.3
type FakeOAuthAccessTokens struct {
Fake *Fake
}
FakeOAuthAccessTokens implements OAuthAccessTokenInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeOAuthAccessTokens) Create ¶ added in v1.3.0
func (c *FakeOAuthAccessTokens) Create(inObj *oauthapi.OAuthAccessToken) (*oauthapi.OAuthAccessToken, error)
func (*FakeOAuthAccessTokens) Delete ¶ added in v0.5.3
func (c *FakeOAuthAccessTokens) Delete(name string) error
func (*FakeOAuthAccessTokens) Get ¶ added in v1.3.0
func (c *FakeOAuthAccessTokens) Get(name string, options metav1.GetOptions) (*oauthapi.OAuthAccessToken, error)
Get returns information about a particular image and error if one occurs.
func (*FakeOAuthAccessTokens) List ¶ added in v1.5.0
func (c *FakeOAuthAccessTokens) List(opts metav1.ListOptions) (*oauthapi.OAuthAccessTokenList, error)
type FakeOAuthAuthorizeTokens ¶ added in v1.3.0
type FakeOAuthAuthorizeTokens struct {
Fake *Fake
}
func (*FakeOAuthAuthorizeTokens) Create ¶ added in v1.3.0
func (c *FakeOAuthAuthorizeTokens) Create(inObj *oauthapi.OAuthAuthorizeToken) (*oauthapi.OAuthAuthorizeToken, error)
func (*FakeOAuthAuthorizeTokens) Delete ¶ added in v1.3.0
func (c *FakeOAuthAuthorizeTokens) Delete(name string) error
type FakeOAuthClient ¶ added in v1.3.0
type FakeOAuthClient struct {
Fake *Fake
}
func (*FakeOAuthClient) Create ¶ added in v1.3.0
func (c *FakeOAuthClient) Create(inObj *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
func (*FakeOAuthClient) Delete ¶ added in v1.3.0
func (c *FakeOAuthClient) Delete(name string) error
func (*FakeOAuthClient) Get ¶ added in v1.3.0
func (c *FakeOAuthClient) Get(name string, options metav1.GetOptions) (*oauthapi.OAuthClient, error)
func (*FakeOAuthClient) List ¶ added in v1.3.0
func (c *FakeOAuthClient) List(opts metav1.ListOptions) (*oauthapi.OAuthClientList, error)
func (*FakeOAuthClient) Update ¶ added in v1.4.0
func (c *FakeOAuthClient) Update(client *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
func (*FakeOAuthClient) Watch ¶ added in v1.3.0
func (c *FakeOAuthClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeOAuthClientAuthorization ¶ added in v1.3.0
type FakeOAuthClientAuthorization struct {
Fake *Fake
}
func (*FakeOAuthClientAuthorization) Create ¶ added in v1.3.0
func (c *FakeOAuthClientAuthorization) Create(inObj *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
func (*FakeOAuthClientAuthorization) Delete ¶ added in v1.3.0
func (c *FakeOAuthClientAuthorization) Delete(name string) error
func (*FakeOAuthClientAuthorization) Get ¶ added in v1.3.0
func (c *FakeOAuthClientAuthorization) Get(name string, options metav1.GetOptions) (*oauthapi.OAuthClientAuthorization, error)
func (*FakeOAuthClientAuthorization) List ¶ added in v1.3.0
func (c *FakeOAuthClientAuthorization) List(opts metav1.ListOptions) (*oauthapi.OAuthClientAuthorizationList, error)
func (*FakeOAuthClientAuthorization) Update ¶ added in v1.3.0
func (c *FakeOAuthClientAuthorization) Update(inObj *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
func (*FakeOAuthClientAuthorization) Watch ¶ added in v1.3.0
func (c *FakeOAuthClientAuthorization) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakePodSecurityPolicyReviews ¶ added in v1.5.0
FakePodSecurityPolicyReviews implements the PodSecurityPolicyReviews interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakePodSecurityPolicyReviews) Create ¶ added in v1.5.0
func (c *FakePodSecurityPolicyReviews) Create(inObj *securityapi.PodSecurityPolicyReview) (*securityapi.PodSecurityPolicyReview, error)
type FakePodSecurityPolicySelfSubjectReviews ¶ added in v1.5.0
FakePodSecurityPolicySelfSubjectReviews implements the PodSecurityPolicySelfSubjectReviews interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakePodSecurityPolicySelfSubjectReviews) Create ¶ added in v1.5.0
func (c *FakePodSecurityPolicySelfSubjectReviews) Create(inObj *securityapi.PodSecurityPolicySelfSubjectReview) (*securityapi.PodSecurityPolicySelfSubjectReview, error)
type FakePodSecurityPolicySubjectReviews ¶ added in v1.5.0
FakePodSecurityPolicySubjectReviews implements the PodSecurityPolicySubjectReviews interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakePodSecurityPolicySubjectReviews) Create ¶ added in v1.5.0
func (c *FakePodSecurityPolicySubjectReviews) Create(inObj *securityapi.PodSecurityPolicySubjectReview) (*securityapi.PodSecurityPolicySubjectReview, error)
type FakePolicies ¶ added in v0.5.3
FakePolicies implements PolicyInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakePolicies) Delete ¶ added in v0.5.3
func (c *FakePolicies) Delete(name string) error
func (*FakePolicies) Get ¶ added in v0.5.3
func (c *FakePolicies) Get(name string, options metav1.GetOptions) (*authorizationapi.Policy, error)
func (*FakePolicies) List ¶ added in v0.5.3
func (c *FakePolicies) List(opts metav1.ListOptions) (*authorizationapi.PolicyList, error)
func (*FakePolicies) Watch ¶ added in v0.5.3
func (c *FakePolicies) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakePolicyBindings ¶ added in v0.5.3
FakePolicyBindings implements PolicyBindingInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakePolicyBindings) Create ¶ added in v0.5.3
func (c *FakePolicyBindings) Create(inObj *authorizationapi.PolicyBinding) (*authorizationapi.PolicyBinding, error)
func (*FakePolicyBindings) Delete ¶ added in v0.5.3
func (c *FakePolicyBindings) Delete(name string) error
func (*FakePolicyBindings) Get ¶ added in v0.5.3
func (c *FakePolicyBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.PolicyBinding, error)
func (*FakePolicyBindings) List ¶ added in v0.5.3
func (c *FakePolicyBindings) List(opts metav1.ListOptions) (*authorizationapi.PolicyBindingList, error)
func (*FakePolicyBindings) Watch ¶ added in v0.5.3
func (c *FakePolicyBindings) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeProjectRequests ¶ added in v0.5.3
type FakeProjectRequests struct {
Fake *Fake
}
FakeProjectRequests implements ProjectInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeProjectRequests) Create ¶ added in v0.5.3
func (c *FakeProjectRequests) Create(inObj *projectapi.ProjectRequest) (*projectapi.Project, error)
func (*FakeProjectRequests) List ¶ added in v0.5.3
func (c *FakeProjectRequests) List(opts metav1.ListOptions) (*metav1.Status, error)
type FakeProjects ¶ added in v0.5.3
type FakeProjects struct {
Fake *Fake
}
FakeProjects implements ProjectInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeProjects) Create ¶ added in v0.5.3
func (c *FakeProjects) Create(inObj *projectapi.Project) (*projectapi.Project, error)
func (*FakeProjects) Delete ¶ added in v0.5.3
func (c *FakeProjects) Delete(name string) error
func (*FakeProjects) Get ¶ added in v0.5.3
func (c *FakeProjects) Get(name string, options metav1.GetOptions) (*projectapi.Project, error)
func (*FakeProjects) List ¶ added in v0.5.3
func (c *FakeProjects) List(opts metav1.ListOptions) (*projectapi.ProjectList, error)
func (*FakeProjects) Update ¶ added in v0.5.3
func (c *FakeProjects) Update(inObj *projectapi.Project) (*projectapi.Project, error)
func (*FakeProjects) Watch ¶ added in v1.3.0
func (c *FakeProjects) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeRoleBindingRestrictions ¶ added in v1.4.0
FakeRoleBindingRestrictions implements RoleBindingRestrictionInterface. It is meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeRoleBindingRestrictions) Create ¶ added in v1.4.0
func (c *FakeRoleBindingRestrictions) Create(inObj *authorizationapi.RoleBindingRestriction) (*authorizationapi.RoleBindingRestriction, error)
func (*FakeRoleBindingRestrictions) Delete ¶ added in v1.4.0
func (c *FakeRoleBindingRestrictions) Delete(name string) error
func (*FakeRoleBindingRestrictions) Get ¶ added in v1.4.0
func (c *FakeRoleBindingRestrictions) Get(name string, options metav1.GetOptions) (*authorizationapi.RoleBindingRestriction, error)
func (*FakeRoleBindingRestrictions) List ¶ added in v1.4.0
func (c *FakeRoleBindingRestrictions) List(opts metav1.ListOptions) (*authorizationapi.RoleBindingRestrictionList, error)
func (*FakeRoleBindingRestrictions) Update ¶ added in v1.4.0
func (c *FakeRoleBindingRestrictions) Update(inObj *authorizationapi.RoleBindingRestriction) (*authorizationapi.RoleBindingRestriction, error)
func (*FakeRoleBindingRestrictions) Watch ¶ added in v1.4.0
func (c *FakeRoleBindingRestrictions) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeRoleBindings ¶ added in v0.5.3
FakeRoleBindings implements RoleBindingInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeRoleBindings) Create ¶ added in v0.5.3
func (c *FakeRoleBindings) Create(inObj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
func (*FakeRoleBindings) Delete ¶ added in v0.5.3
func (c *FakeRoleBindings) Delete(name string) error
func (*FakeRoleBindings) Get ¶ added in v0.5.3
func (c *FakeRoleBindings) Get(name string, options metav1.GetOptions) (*authorizationapi.RoleBinding, error)
func (*FakeRoleBindings) List ¶ added in v0.5.3
func (c *FakeRoleBindings) List(opts metav1.ListOptions) (*authorizationapi.RoleBindingList, error)
func (*FakeRoleBindings) Update ¶ added in v0.5.3
func (c *FakeRoleBindings) Update(inObj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
type FakeRoles ¶ added in v0.5.3
FakeRoles implements RoleInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeRoles) Create ¶ added in v0.5.3
func (c *FakeRoles) Create(inObj *authorizationapi.Role) (*authorizationapi.Role, error)
func (*FakeRoles) Get ¶ added in v0.5.3
func (c *FakeRoles) Get(name string, options metav1.GetOptions) (*authorizationapi.Role, error)
func (*FakeRoles) List ¶ added in v0.5.3
func (c *FakeRoles) List(opts metav1.ListOptions) (*authorizationapi.RoleList, error)
func (*FakeRoles) Update ¶ added in v0.5.3
func (c *FakeRoles) Update(inObj *authorizationapi.Role) (*authorizationapi.Role, error)
type FakeRoutes ¶ added in v0.5.3
FakeRoutes implements RouteInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeRoutes) Delete ¶ added in v0.5.3
func (c *FakeRoutes) Delete(name string) error
func (*FakeRoutes) Get ¶ added in v0.5.3
func (c *FakeRoutes) Get(name string, options metav1.GetOptions) (*routeapi.Route, error)
func (*FakeRoutes) List ¶ added in v0.5.3
func (c *FakeRoutes) List(opts metav1.ListOptions) (*routeapi.RouteList, error)
func (*FakeRoutes) UpdateStatus ¶ added in v1.1.3
func (*FakeRoutes) Watch ¶ added in v0.5.3
func (c *FakeRoutes) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeSelfSubjectRulesReviews ¶ added in v1.3.0
func (*FakeSelfSubjectRulesReviews) Create ¶ added in v1.3.0
func (c *FakeSelfSubjectRulesReviews) Create(inObj *authorizationapi.SelfSubjectRulesReview) (*authorizationapi.SelfSubjectRulesReview, error)
type FakeSubjectRulesReviews ¶ added in v1.4.0
func (*FakeSubjectRulesReviews) Create ¶ added in v1.4.0
func (c *FakeSubjectRulesReviews) Create(inObj *authorizationapi.SubjectRulesReview) (*authorizationapi.SubjectRulesReview, error)
type FakeTemplateConfigs ¶ added in v0.5.3
FakeTemplateConfigs implements TemplateConfigsInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeTemplateConfigs) Create ¶ added in v0.5.3
func (c *FakeTemplateConfigs) Create(inObj *templateapi.Template) (*templateapi.Template, error)
type FakeTemplates ¶ added in v0.5.3
FakeTemplates implements TemplateInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeTemplates) Create ¶ added in v0.5.3
func (c *FakeTemplates) Create(inObj *templateapi.Template) (*templateapi.Template, error)
func (*FakeTemplates) Delete ¶ added in v0.5.3
func (c *FakeTemplates) Delete(name string) error
func (*FakeTemplates) Get ¶ added in v0.5.3
func (c *FakeTemplates) Get(name string, options metav1.GetOptions) (*templateapi.Template, error)
func (*FakeTemplates) List ¶ added in v0.5.3
func (c *FakeTemplates) List(opts metav1.ListOptions) (*templateapi.TemplateList, error)
func (*FakeTemplates) Update ¶ added in v0.5.3
func (c *FakeTemplates) Update(inObj *templateapi.Template) (*templateapi.Template, error)
func (*FakeTemplates) Watch ¶ added in v0.5.3
func (c *FakeTemplates) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FakeUserIdentityMappings ¶ added in v0.5.3
type FakeUserIdentityMappings struct {
Fake *Fake
}
FakeUserIdentityMappings implements UserIdentityMappingInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
func (*FakeUserIdentityMappings) Create ¶ added in v0.5.3
func (c *FakeUserIdentityMappings) Create(inObj *userapi.UserIdentityMapping) (*userapi.UserIdentityMapping, error)
func (*FakeUserIdentityMappings) Delete ¶ added in v0.5.3
func (c *FakeUserIdentityMappings) Delete(name string) error
func (*FakeUserIdentityMappings) Get ¶ added in v0.5.3
func (c *FakeUserIdentityMappings) Get(name string, options metav1.GetOptions) (*userapi.UserIdentityMapping, error)
func (*FakeUserIdentityMappings) Update ¶ added in v0.5.3
func (c *FakeUserIdentityMappings) Update(inObj *userapi.UserIdentityMapping) (*userapi.UserIdentityMapping, error)
type FakeUsers ¶ added in v0.5.3
type FakeUsers struct {
Fake *Fake
}
FakeUsers implements UsersInterface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the methods you want to test easier.
Source Files ¶
- fake.go
- fake_appliedclusterresourcequota.go
- fake_buildconfigs.go
- fake_buildlogs.go
- fake_builds.go
- fake_clusternetwork.go
- fake_clusterpolicies.go
- fake_clusterpolicybindings.go
- fake_clusterresourcequota.go
- fake_clusterrolebindings.go
- fake_clusterroles.go
- fake_deploymentconfigs.go
- fake_deploymentlogs.go
- fake_egressnetworkpolicy.go
- fake_groups.go
- fake_hostsubnets.go
- fake_identities.go
- fake_images.go
- fake_imagesignatures.go
- fake_imagestreamimages.go
- fake_imagestreammappings.go
- fake_imagestreams.go
- fake_imagestreamsecrets.go
- fake_imagestreamtags.go
- fake_localresourceaccessreview.go
- fake_localsubjectaccessreview.go
- fake_netnamespaces.go
- fake_oauthaccesstoken.go
- fake_oauthauthorizetoken.go
- fake_oauthclient.go
- fake_oauthclientauthorization.go
- fake_podsecuritypolicyreview.go
- fake_podsecuritypolicysubjectreview.go
- fake_policies.go
- fake_policybindings.go
- fake_projectrequests.go
- fake_projects.go
- fake_resourceaccessreview.go
- fake_rolebindingrestriction.go
- fake_rolebindings.go
- fake_roles.go
- fake_routes.go
- fake_selfsubjectrulesreview.go
- fake_subjectaccessreview.go
- fake_subjectrulesreview.go
- fake_template_configs.go
- fake_templates.go
- fake_useridentitymappings.go
- fake_users.go
- fixture.go
- testclient.go