model

package
v0.0.0-...-bef8c5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MarshalKubeConfigExtensions

func MarshalKubeConfigExtensions(val map[string]runtime.Object) graphql.Marshaler

KubeConfigExtensions scalar

func MarshalMetaV1Time

func MarshalMetaV1Time(t metav1.Time) graphql.Marshaler

MetaV1Time scalar

func MarshalStringMap

func MarshalStringMap(val map[string]string) graphql.Marshaler

StringMap scalar

func UnmarshalKubeConfigExtensions

func UnmarshalKubeConfigExtensions(v interface{}) (map[string]runtime.Object, error)

func UnmarshalMetaV1Time

func UnmarshalMetaV1Time(v interface{}) (metav1.Time, error)

func UnmarshalStringMap

func UnmarshalStringMap(v interface{}) (map[string]string, 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"
	HealthCheckStatusPending  HealthCheckStatus = "PENDING"
	HealthCheckStatusUnknown  HealthCheckStatus = "UNKNOWN"
	HealthCheckStatusNotfound HealthCheckStatus = "NOTFOUND"
)

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 any) error

type KubeConfig

type KubeConfig struct {
	*api.Config
	AuthInfos []*KubeConfigAuthInfo
	Clusters  []*KubeConfigCluster
	Contexts  []*KubeConfigContext
}

Overload k8s.io/client-go/tools/clientcmd/api.Config

type KubeConfigAuthInfo

type KubeConfigAuthInfo struct {
	*api.AuthInfo
	Name string
}

Overload k8s.io/client-go/tools/clientcmd/api.AuthInfo

type KubeConfigCluster

type KubeConfigCluster struct {
	*api.Cluster
	Name string
}

Overload k8s.io/client-go/tools/clientcmd/api.Cluster

type KubeConfigContext

type KubeConfigContext struct {
	*api.Context
	Name string
}

Overload k8s.io/client-go/tools/clientcmd/api.Context

type KubeConfigWatchEvent

type KubeConfigWatchEvent struct {
	Type   watch.EventType `json:"type"`
	Object *KubeConfig     `json:"object,omitempty"`
}

type List

type List interface{}

type LogRecord

type LogRecord struct {
	Timestamp time.Time `json:"timestamp"`
	Message   string    `json:"message"`
}

type Mutation

type Mutation struct {
}

type Object

type Object interface{}

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 PodLogQueryResponse struct {
	Results  []*LogRecord `json:"results"`
	PageInfo *PageInfo    `json:"pageInfo"`
}

type Query

type Query struct {
}

type Subscription

type Subscription struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL