Documentation ¶
Index ¶
- Variables
- func FindConfig() (string, error)
- func FindSupportConfig() (string, error)
- func LoadObject(document []byte) (meta.Object, error)
- func LoadObjects(documents [][]byte) (meta.ObjectList, error)
- func LoadObjectsFromFile(path string) (meta.ObjectList, error)
- type GatewayConfig
- type Lifecycler
- type Unmarshaler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigNotFound = errors.New("config not found") ErrUnsupportedApiVersion = errors.New("unsupported api version") )
Functions ¶
func FindConfig ¶
func FindSupportConfig ¶ added in v0.11.0
func LoadObjects ¶ added in v0.5.4
func LoadObjects(documents [][]byte) (meta.ObjectList, error)
func LoadObjectsFromFile ¶
func LoadObjectsFromFile(path string) (meta.ObjectList, error)
Types ¶
type GatewayConfig ¶
type GatewayConfig = v1beta1.GatewayConfig
type Lifecycler ¶
type Lifecycler interface { GetObjectList() (meta.ObjectList, error) UpdateObjectList(objects meta.ObjectList) error ReloadC() (chan struct{}, error) }
func NewLifecycler ¶
func NewLifecycler(objects meta.ObjectList) Lifecycler
func NewUnavailableLifecycler ¶
func NewUnavailableLifecycler(objects meta.ObjectList) Lifecycler
type Unmarshaler ¶
type Unmarshaler interface {
Unmarshal(into interface{}) error
}
Click to show internal directories.
Click to hide internal directories.