Documentation
¶
Index ¶
Constants ¶
View Source
const ( MockValidData = `` /* 2114-byte string literal not displayed */ MockInvalidData = `` /* 461-byte string literal not displayed */ MockNoVersions = `` /* 454-byte string literal not displayed */ )
Variables ¶
View Source
var ( DeprecatedMock = []results.ResultItem{ { Group: "something.anything", Version: "v1beta1", Kind: "blah", Replacement: &v1alpha1.GroupVersionKind{ Group: "something.anything", Version: "v1", Kind: "blah", }, K8sVersion: "v1.22", Items: []results.Item{ { Scope: "Object", Namespace: "default", ObjectName: "bloh", }, }, }, } DeletedMock = []results.ResultItem{ { Group: "something.anything", Version: "v1alpha1", Kind: "blah", Replacement: &v1alpha1.GroupVersionKind{ Group: "something.anything", Version: "v1", Kind: "blah", }, K8sVersion: "v1.19", Items: []results.Item{ { Scope: "Object", Namespace: "default", ObjectName: "bloh", }, }, }, } )
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewMockStore ¶
func (*Store) GetDeprecations ¶
func (m *Store) GetDeprecations() (deprecated, deleted []results.ResultItem, err error)
Click to show internal directories.
Click to hide internal directories.