Documentation
¶
Overview ¶
Package v1beta1 contains the v1beta1 API types for kat configuration.
Index ¶
Constants ¶
View Source
const APIVersion = "kat.jacobcolvin.com/v1beta1"
APIVersion is the current API version for all kat configuration kinds.
Variables ¶
View Source
var ValidAPIVersions = []string{APIVersion}
ValidAPIVersions contains all valid API versions.
Functions ¶
func ExtendSchemaWithEnums ¶
func ExtendSchemaWithEnums(jss *jsonschema.Schema, apiVersions, kinds []string)
ExtendSchemaWithEnums adds apiVersion and kind enum constraints to a JSON schema.
Types ¶
type TypeMeta ¶
type TypeMeta struct {
// APIVersion specifies the API version for this configuration.
APIVersion string `json:"apiVersion" jsonschema:"title=API Version"`
// Kind defines the type of configuration.
Kind string `json:"kind" jsonschema:"title=Kind"`
}
TypeMeta contains the API version and kind metadata common to all config types.
func (TypeMeta) GetAPIVersion ¶
GetAPIVersion returns the API version.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package configs provides the global Config configuration type for kat.
|
Package configs provides the global Config configuration type for kat. |
|
Package policies provides the Policy configuration type for kat.
|
Package policies provides the Policy configuration type for kat. |
|
Package runtimeconfigs provides the RuntimeConfig configuration type for kat.
|
Package runtimeconfigs provides the RuntimeConfig configuration type for kat. |
Click to show internal directories.
Click to hide internal directories.