mirror of https://github.com/helm/helm
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>pull/7062/head
parent
90492c125b
commit
afa83a935a
@ -0,0 +1,12 @@
|
||||
---
|
||||
# Source: issue-7004/templates/configmap.yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: RELEASE-NAME-issue-7004
|
||||
labels:
|
||||
kube-version/compiler: "{{ .Compiler }}"
|
||||
kube-version/platform: "{{ .Platform }}"
|
||||
kube-version/go-version: "{{ .GoVersion }}"
|
||||
data:
|
||||
someKey: dummyValue
|
@ -0,0 +1,23 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
name: issue-7004
|
||||
description: A Helm chart for Kubernetes
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
# to be deployed.
|
||||
#
|
||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
type: application
|
||||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: 0.1.0
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: 1.16.0
|
@ -0,0 +1,45 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "issue-7004.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "issue-7004.fullname" -}}
|
||||
{{- if .Values.fullnameOverride -}}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "issue-7004.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "issue-7004.labels" -}}
|
||||
app.kubernetes.io/name: {{ include "issue-7004.name" . }}
|
||||
helm.sh/chart: {{ include "issue-7004.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end -}}
|
@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ template "issue-7004.fullname" . }}
|
||||
labels:
|
||||
kube-version/compiler: "{{ .Capabilities.KubeVersion.Compiler }}"
|
||||
kube-version/platform: "{{ .Capabilities.KubeVersion.Platform }}"
|
||||
kube-version/go-version: "{{ .Capabilities.KubeVersion.GoVersion }}"
|
||||
data:
|
||||
someKey: {{ .Values.someValue }}
|
@ -0,0 +1 @@
|
||||
someValue: "dummyValue"
|
@ -0,0 +1,99 @@
|
||||
/*
|
||||
Copyright The Helm Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: pkg/action/action.go
|
||||
// Command used to generate: mockgen -package action -source pkg/action/action.go -destination internal/test/action/mock_action.go /action/action.go
|
||||
|
||||
// Package action is a generated GoMock package.
|
||||
package action
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
meta "k8s.io/apimachinery/pkg/api/meta"
|
||||
discovery "k8s.io/client-go/discovery"
|
||||
rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
// MockRESTClientGetter is a mock of RESTClientGetter interface
|
||||
type MockRESTClientGetter struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockRESTClientGetterMockRecorder
|
||||
}
|
||||
|
||||
// MockRESTClientGetterMockRecorder is the mock recorder for MockRESTClientGetter
|
||||
type MockRESTClientGetterMockRecorder struct {
|
||||
mock *MockRESTClientGetter
|
||||
}
|
||||
|
||||
// NewMockRESTClientGetter creates a new mock instance
|
||||
func NewMockRESTClientGetter(ctrl *gomock.Controller) *MockRESTClientGetter {
|
||||
mock := &MockRESTClientGetter{ctrl: ctrl}
|
||||
mock.recorder = &MockRESTClientGetterMockRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
// EXPECT returns an object that allows the caller to indicate expected use
|
||||
func (m *MockRESTClientGetter) EXPECT() *MockRESTClientGetterMockRecorder {
|
||||
return m.recorder
|
||||
}
|
||||
|
||||
// ToRESTConfig mocks base method
|
||||
func (m *MockRESTClientGetter) ToRESTConfig() (*rest.Config, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ToRESTConfig")
|
||||
ret0, _ := ret[0].(*rest.Config)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ToRESTConfig indicates an expected call of ToRESTConfig
|
||||
func (mr *MockRESTClientGetterMockRecorder) ToRESTConfig() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ToRESTConfig", reflect.TypeOf((*MockRESTClientGetter)(nil).ToRESTConfig))
|
||||
}
|
||||
|
||||
// ToDiscoveryClient mocks base method
|
||||
func (m *MockRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ToDiscoveryClient")
|
||||
ret0, _ := ret[0].(discovery.CachedDiscoveryInterface)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ToDiscoveryClient indicates an expected call of ToDiscoveryClient
|
||||
func (mr *MockRESTClientGetterMockRecorder) ToDiscoveryClient() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ToDiscoveryClient", reflect.TypeOf((*MockRESTClientGetter)(nil).ToDiscoveryClient))
|
||||
}
|
||||
|
||||
// ToRESTMapper mocks base method
|
||||
func (m *MockRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ToRESTMapper")
|
||||
ret0, _ := ret[0].(meta.RESTMapper)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ToRESTMapper indicates an expected call of ToRESTMapper
|
||||
func (mr *MockRESTClientGetterMockRecorder) ToRESTMapper() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ToRESTMapper", reflect.TypeOf((*MockRESTClientGetter)(nil).ToRESTMapper))
|
||||
}
|
@ -0,0 +1,216 @@
|
||||
/*
|
||||
Copyright The Helm Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: k8s.io/client-go/discovery (interfaces: CachedDiscoveryInterface)
|
||||
// Command used to generate: mockgen -package discovery -destination internal/test/discovery/mock_discovery.go k8s.io/client-go/discovery CachedDiscoveryInterface
|
||||
|
||||
// Package discovery is a generated GoMock package.
|
||||
package discovery
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
openapi_v2 "github.com/googleapis/gnostic/OpenAPIv2"
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
version "k8s.io/apimachinery/pkg/version"
|
||||
rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
// MockCachedDiscoveryInterface is a mock of CachedDiscoveryInterface interface
|
||||
type MockCachedDiscoveryInterface struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockCachedDiscoveryInterfaceMockRecorder
|
||||
}
|
||||
|
||||
// MockCachedDiscoveryInterfaceMockRecorder is the mock recorder for MockCachedDiscoveryInterface
|
||||
type MockCachedDiscoveryInterfaceMockRecorder struct {
|
||||
mock *MockCachedDiscoveryInterface
|
||||
}
|
||||
|
||||
// NewMockCachedDiscoveryInterface creates a new mock instance
|
||||
func NewMockCachedDiscoveryInterface(ctrl *gomock.Controller) *MockCachedDiscoveryInterface {
|
||||
mock := &MockCachedDiscoveryInterface{ctrl: ctrl}
|
||||
mock.recorder = &MockCachedDiscoveryInterfaceMockRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
// EXPECT returns an object that allows the caller to indicate expected use
|
||||
func (m *MockCachedDiscoveryInterface) EXPECT() *MockCachedDiscoveryInterfaceMockRecorder {
|
||||
return m.recorder
|
||||
}
|
||||
|
||||
// Fresh mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) Fresh() bool {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Fresh")
|
||||
ret0, _ := ret[0].(bool)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// Fresh indicates an expected call of Fresh
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) Fresh() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fresh", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).Fresh))
|
||||
}
|
||||
|
||||
// Invalidate mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) Invalidate() {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "Invalidate")
|
||||
}
|
||||
|
||||
// Invalidate indicates an expected call of Invalidate
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) Invalidate() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Invalidate", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).Invalidate))
|
||||
}
|
||||
|
||||
// OpenAPISchema mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "OpenAPISchema")
|
||||
ret0, _ := ret[0].(*openapi_v2.Document)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// OpenAPISchema indicates an expected call of OpenAPISchema
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) OpenAPISchema() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OpenAPISchema", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).OpenAPISchema))
|
||||
}
|
||||
|
||||
// RESTClient mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) RESTClient() rest.Interface {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "RESTClient")
|
||||
ret0, _ := ret[0].(rest.Interface)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// RESTClient indicates an expected call of RESTClient
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) RESTClient() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RESTClient", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).RESTClient))
|
||||
}
|
||||
|
||||
// ServerGroups mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerGroups")
|
||||
ret0, _ := ret[0].(*v1.APIGroupList)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ServerGroups indicates an expected call of ServerGroups
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerGroups() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerGroups", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerGroups))
|
||||
}
|
||||
|
||||
// ServerGroupsAndResources mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerGroupsAndResources")
|
||||
ret0, _ := ret[0].([]*v1.APIGroup)
|
||||
ret1, _ := ret[1].([]*v1.APIResourceList)
|
||||
ret2, _ := ret[2].(error)
|
||||
return ret0, ret1, ret2
|
||||
}
|
||||
|
||||
// ServerGroupsAndResources indicates an expected call of ServerGroupsAndResources
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerGroupsAndResources", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerGroupsAndResources))
|
||||
}
|
||||
|
||||
// ServerPreferredNamespacedResources mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerPreferredNamespacedResources")
|
||||
ret0, _ := ret[0].([]*v1.APIResourceList)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ServerPreferredNamespacedResources indicates an expected call of ServerPreferredNamespacedResources
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerPreferredNamespacedResources", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerPreferredNamespacedResources))
|
||||
}
|
||||
|
||||
// ServerPreferredResources mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerPreferredResources")
|
||||
ret0, _ := ret[0].([]*v1.APIResourceList)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ServerPreferredResources indicates an expected call of ServerPreferredResources
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerPreferredResources() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerPreferredResources", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerPreferredResources))
|
||||
}
|
||||
|
||||
// ServerResources mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerResources")
|
||||
ret0, _ := ret[0].([]*v1.APIResourceList)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ServerResources indicates an expected call of ServerResources
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerResources() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerResources", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerResources))
|
||||
}
|
||||
|
||||
// ServerResourcesForGroupVersion mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerResourcesForGroupVersion(arg0 string) (*v1.APIResourceList, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerResourcesForGroupVersion", arg0)
|
||||
ret0, _ := ret[0].(*v1.APIResourceList)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ServerResourcesForGroupVersion indicates an expected call of ServerResourcesForGroupVersion
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion(arg0 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerResourcesForGroupVersion", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerResourcesForGroupVersion), arg0)
|
||||
}
|
||||
|
||||
// ServerVersion mocks base method
|
||||
func (m *MockCachedDiscoveryInterface) ServerVersion() (*version.Info, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ServerVersion")
|
||||
ret0, _ := ret[0].(*version.Info)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ServerVersion indicates an expected call of ServerVersion
|
||||
func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerVersion() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerVersion", reflect.TypeOf((*MockCachedDiscoveryInterface)(nil).ServerVersion))
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright The Helm Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
mockgen -package discovery -destination internal/test/discovery/mock_discovery.go k8s.io/client-go/discovery CachedDiscoveryInterface
|
||||
mockgen -package action -source pkg/action/action.go -destination internal/test/action/mock_action.go /action/action.go
|
||||
|
||||
# Add license information at the top of the generated files
|
Loading…
Reference in new issue