Documentation
¶
Overview ¶
Package swaggerstore provides a store based on a Kubernetes Swagger API definitions
Index ¶
Constants ¶
View Source
const (
CoreAPI = "CORE"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKinds ¶
type APIKinds map[string]APIVersion
APIKind contains a Kind of API (like "Ingress") and may also be populated with the resource name
type APIVersion ¶
type APIVersion map[string]APIVersionStatus
APIVersion is an APIVersion of a group/kind that will be queried on description and if it is deprecated
type APIVersionStatus ¶
APIVersionStatus represents the status of a group/kind/version
type ManifestsFiles ¶
type SwaggerStore ¶
type SwaggerStore struct {
// contains filtered or unexported fields
}
func NewSwaggerStoreFromBytes ¶
func NewSwaggerStoreFromBytes(data []byte) (*SwaggerStore, error)
NewSwaggerStoreFromReader allows setting a reader as a database. It should contain a valid Kubernetes swagger definition
func NewSwaggerStoreFromFile ¶
func NewSwaggerStoreFromFile(swaggerfile string) (*SwaggerStore, error)
func (*SwaggerStore) GetAPIDefinition ¶
Click to show internal directories.
Click to hide internal directories.