stub

package
v1.2.1-0...-e31c98a Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 42 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GcLoop

func GcLoop(maxAge string, interval int, log *logrus.Entry)

func NewHandler

func NewHandler() handler.Handler

Types

type Channel

type Channel struct {
	Channel        string   `json:"channel"`
	DefaultVersion string   `json:"defaultVersion"`
	ValidVersions  []string `json:"validVersions"`
}

type CollectedPod

type CollectedPod struct {
	NamespaceID string   `json:"namespace_id"`
	PodID       string   `json:"pod_id"`
	Pod         string   `json:"pod_name"`
	Containers  []string `json:"containers"`
	Namespace   string   `json:"namespace_name"`
}

type FirewallRule

type FirewallRule struct {
	Name         string
	SourceRanges []string
}

type Handler

type Handler struct{}

func (*Handler) Handle

func (h *Handler) Handle(ctx types.Context, event types.Event) error

type MasterAuth

type MasterAuth struct {
	ClientCertificate    string
	ClientKey            string
	ClusterCaCertificate string
	Username             string
	Password             string
	Token                string
}

type RemoteCluster

type RemoteCluster struct {
	Name                 string
	Status               string
	Zone                 string
	Endpoint             string
	PrivateClusterConfig map[string]interface{}
	MasterAuth           MasterAuth
}

type RemoteClusterSDK

type RemoteClusterSDK struct {
	// contains filtered or unexported fields
}

func (*RemoteClusterSDK) Create

func (r *RemoteClusterSDK) Create(object types.Object, log *logrus.Entry) (err error)

type ServerConfig

type ServerConfig struct {
	ValidMasterVersions []string  `json:"validMasterVersions"`
	ValidNodeVersions   []string  `json:"validNodeVersions"`
	Channels            []Channel `json:"channels"`
}

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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