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: 38 Imported by: 1

Documentation

Index

Constants

View Source
const ENVGardenNamespace = "GARDENER_NAMESPACE"

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(sdk common.SdkOperations) handler.Handler

Types

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 Handler

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

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
}

type RemoteCluster

type RemoteCluster struct {
	Name       string
	Status     string
	Endpoint   string
	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)

Directories

Path Synopsis
common/testUtils
Package testUtils is a generated GoMock package.
Package testUtils is a generated GoMock package.
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