Documentation ¶
Index ¶
- Constants
- Variables
- type Key
- type Kind
- type SubKind
- type URI
- type URIType
- func (u *URIType) Authority() string
- func (u *URIType) HTTPKey() string
- func (u *URIType) HeadPath() string
- func (u *URIType) Key() Key
- func (u *URIType) Kind() Kind
- func (u *URIType) MarshalJSON() ([]byte, error)
- func (u *URIType) MetadataPath() string
- func (u *URIType) Name() string
- func (u *URIType) Path() string
- func (u *URIType) String() string
- func (u *URIType) SubKind() SubKind
- func (u *URIType) SubPath() string
- func (u *URIType) SubPathWithKind() string
- func (u *URIType) URL() string
- func (u *URIType) UnmarshalJSON(data []byte) error
Constants ¶
View Source
const ( KubeFoxScheme = "kubefox" PathSeparator = "/" HTTPSeparator = ":" HeadPath = "head" )
Variables ¶
View Source
var (
ErrInvalidURI = errors.New("invalid uri")
)
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind int
func KindFromString ¶
func (*Kind) MarshalJSON ¶
func (*Kind) UnmarshalJSON ¶
type SubKind ¶
type SubKind int
func SubKindFromString ¶
func (*SubKind) MarshalJSON ¶
func (*SubKind) UnmarshalJSON ¶
type URI ¶
type URI interface { Authority() string Kind() Kind Name() string SubKind() SubKind SubPath() string SubPathWithKind() string Path() string HeadPath() string MetadataPath() string Key() Key HTTPKey() string URL() string String() string UnmarshalJSON([]byte) error MarshalJSON() ([]byte, error) }
type URIType ¶
type URIType struct {
// contains filtered or unexported fields
}
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uri
func (*URIType) MarshalJSON ¶
func (*URIType) MetadataPath ¶
func (*URIType) SubPathWithKind ¶
func (*URIType) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.