agent

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	NodePortServicePublishingStrategy     = "NodePort"
	LoadBalancerServicePublishingStrategy = "LoadBalancer"
)

Variables

This section is empty.

Functions

func BindOptions added in v0.1.38

func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)

func DestroyCluster

func DestroyCluster(ctx context.Context, o *core.DestroyOptions, client crclient.Client) error

func NewCreateCommand

func NewCreateCommand(opts *core.RawCreateOptions, clientProviders ...*core.ClientProvider) *cobra.Command

func NewDestroyCommand

func NewDestroyCommand(opts *core.DestroyOptions, clientProviders ...*core.ClientProvider) *cobra.Command

Types

type CreateOptions added in v0.1.38

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

func (*CreateOptions) ApplyPlatformSpecifics added in v0.1.38

func (o *CreateOptions) ApplyPlatformSpecifics(cluster *hyperv1.HostedCluster) error

func (*CreateOptions) GenerateNodePools added in v0.1.38

func (o *CreateOptions) GenerateNodePools(defaultNodePool core.DefaultNodePoolConstructor) []*hyperv1.NodePool

func (*CreateOptions) GenerateResources added in v0.1.38

func (o *CreateOptions) GenerateResources() ([]crclient.Object, error)

type DestroyOptions

type DestroyOptions struct {
	Namespace          string
	Name               string
	ClusterGracePeriod time.Duration
}

type RawCreateOptions added in v0.1.38

type RawCreateOptions struct {
	ServicePublishingStrategy string
	APIServerAddress          string
	AgentNamespace            string
	AgentLabelSelector        string
}

func DefaultOptions added in v0.1.38

func DefaultOptions() *RawCreateOptions

func (*RawCreateOptions) Validate added in v0.1.38

type ValidatedCreateOptions added in v0.1.38

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

func (*ValidatedCreateOptions) Complete added in v0.1.38

Jump to

Keyboard shortcuts

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