Documentation
¶
Overview ¶
Package generatedstore contains the store that uses the generated json based on Kubernetes APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratedStore ¶
type GeneratedStore struct {
// contains filtered or unexported fields
}
func NewGeneratedStore ¶
func NewGeneratedStore(config StoreConfig) (*GeneratedStore, error)
func NewGeneratedStoreFromBytes ¶
func NewGeneratedStoreFromBytes(data []byte, config StoreConfig) (*GeneratedStore, error)
NewGeneratedStoreFromBytes allows setting a reader as a database. It should contain a valid Kubernetes generated data definition
func (*GeneratedStore) GetAPIDefinition ¶
func (s *GeneratedStore) GetAPIDefinition(_ context.Context, group, version, kind string) (result apis.APIVersionStatus, err error)
type StoreConfig ¶
Click to show internal directories.
Click to hide internal directories.