Documentation
¶
Overview ¶
Package openslo defines the OpenSLO specification general definitions. These definitions are shared across all versions of the specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind string
Kind represents all the object kinds defined by OpenSLO specification. Keep in mind not all specification versions support every Kind.
func (*Kind) UnmarshalText ¶
UnmarshalText implements the text encoding.TextUnmarshaler interface.
type Object ¶
type Object interface {
// GetVersion returns the API version of the Object.
GetVersion() Version
// GetKind returns the Kind of the Object.
GetKind() Kind
// GetName returns the name of the Object.
GetName() string
// Validate performs static validation of the Object.
Validate() error
}
Object represents a generic OpenSLO object definition. All OpenSLO objects implement this interface.
type Version ¶
type Version string
Version represents a version of the OpenSLO specification.
func (*Version) UnmarshalText ¶
UnmarshalText implements the text encoding.TextUnmarshaler interface.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1 contains the OpenSLO specification version v1alpha definitions.
|
Package v1 contains the OpenSLO specification version v1alpha definitions. |
|
Package v1alpha defines the OpenSLO specification version v1alpha definitions.
|
Package v1alpha defines the OpenSLO specification version v1alpha definitions. |
|
Package v2alpha contains the OpenSLO specification version v2alpha definitions.
|
Package v2alpha contains the OpenSLO specification version v2alpha definitions. |
Click to show internal directories.
Click to hide internal directories.