Exemple #1
0
func (c *FakeBuildLogs) Get(name string, opt buildapi.BuildLogOptions) *restclient.Request {
	action := ktestclient.GenericActionImpl{}
	action.Verb = "get"
	action.Namespace = c.Namespace
	action.Resource = "builds"
	action.Subresource = "log"
	action.Value = opt

	_, _ = c.Fake.Invokes(action, &buildapi.BuildConfig{})
	return &restclient.Request{}
}
// Get builds and returns a buildLog request
func (c *FakeDeploymentLogs) Get(name string, opt api.DeploymentLogOptions) *restclient.Request {
	action := ktestclient.GenericActionImpl{}
	action.Verb = "get"
	action.Namespace = c.Namespace
	action.Resource = "deploymentconfigs"
	action.Subresource = "log"
	action.Value = opt

	_, _ = c.Fake.Invokes(action, &api.DeploymentConfig{})
	return &restclient.Request{}
}