Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupVersion = schema.GroupVersion{Group: api.GroupName, Version: "v1alpha3"}
GroupVersion describes CRD group and its version.
Functions ¶
Types ¶
type GenericArrayResponse ¶
type GenericArrayResponse struct { Status string `json:"status"` Data []string `json:"data"` Message string `json:"message"` }
GenericArrayResponse represents a generic array response
func NewSuccessGenericArrayResponse ¶
func NewSuccessGenericArrayResponse(data []string) *GenericArrayResponse
NewSuccessGenericArrayResponse creates a generic array response
type GenericPayload ¶
type GenericPayload struct {
Data string `json:"data"`
}
GenericPayload represents a generic HTTP request payload data structure
type GenericResponse ¶
type GenericResponse struct {
Result string `json:"result"`
}
GenericResponse represents a generic HTTP response data structure
func NewSuccessResponse ¶
func NewSuccessResponse() *GenericResponse
NewSuccessResponse creates a response for the success case
Click to show internal directories.
Click to hide internal directories.