Documentation ¶
Index ¶
- Variables
- func MarshalInt64(val int64) graphql.Marshaler
- func MarshalMetaV1Time(t metav1.Time) graphql.Marshaler
- func MarshalStringMap(val map[string]string) graphql.Marshaler
- func TimestampPBTimestamp(ts *timestamppb.Timestamp) graphql.Marshaler
- func UnmarshalInt64(v interface{}) (int64, error)
- func UnmarshalMetaV1Time(v interface{}) (metav1.Time, error)
- func UnmarshalStringMap(v interface{}) (map[string]string, error)
- func UnmarshalTimestampPBTimestamp(v interface{}) (*timestamppb.Timestamp, error)
- type HealthCheckResponse
- type HealthCheckStatus
- type List
- type LogRecord
- type Object
- type PageInfo
- type PodLogQueryResponse
- type Query
- type Subscription
Constants ¶
This section is empty.
Variables ¶
View Source
var AllHealthCheckStatus = []HealthCheckStatus{ HealthCheckStatusSuccess, HealthCheckStatusFailure, }
Functions ¶
func MarshalStringMap ¶
StringMap scalar
func TimestampPBTimestamp ¶
func TimestampPBTimestamp(ts *timestamppb.Timestamp) graphql.Marshaler
TimestampPBTimestamp scalar
func UnmarshalInt64 ¶
func UnmarshalMetaV1Time ¶
func UnmarshalStringMap ¶
func UnmarshalTimestampPBTimestamp ¶
func UnmarshalTimestampPBTimestamp(v interface{}) (*timestamppb.Timestamp, error)
Types ¶
type HealthCheckResponse ¶
type HealthCheckResponse struct { Status HealthCheckStatus `json:"status"` Message *string `json:"message,omitempty"` Timestamp time.Time `json:"timestamp"` }
type HealthCheckStatus ¶
type HealthCheckStatus string
const ( HealthCheckStatusSuccess HealthCheckStatus = "SUCCESS" HealthCheckStatusFailure HealthCheckStatus = "FAILURE" )
func (HealthCheckStatus) IsValid ¶
func (e HealthCheckStatus) IsValid() bool
func (HealthCheckStatus) MarshalGQL ¶
func (e HealthCheckStatus) MarshalGQL(w io.Writer)
func (HealthCheckStatus) String ¶
func (e HealthCheckStatus) String() string
func (*HealthCheckStatus) UnmarshalGQL ¶
func (e *HealthCheckStatus) UnmarshalGQL(v interface{}) error
type PageInfo ¶
type PageInfo struct { // When paginating forwards, the cursor to continue. EndCursor *string `json:"endCursor,omitempty"` // When paginating forwards, are there more items? HasNextPage bool `json:"hasNextPage"` // When paginating backwards, are there more items? HasPreviousPage bool `json:"hasPreviousPage"` // When paginating backwards, the cursor to continue. StartCursor *string `json:"startCursor,omitempty"` }
type PodLogQueryResponse ¶
type Subscription ¶
type Subscription struct { }
Click to show internal directories.
Click to hide internal directories.