kubernetes

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagDefaultTrue

type FlagDefaultTrue struct {
	Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
}

func (*FlagDefaultTrue) MarshalHCL

func (me *FlagDefaultTrue) MarshalHCL(properties hcl.Properties) error

func (*FlagDefaultTrue) Schema

func (me *FlagDefaultTrue) Schema() map[string]*schema.Schema

func (*FlagDefaultTrue) UnmarshalHCL

func (me *FlagDefaultTrue) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	ActiveGateGroup             *string `json:"activeGateGroup,omitempty"`             // ActiveGate Group
	AuthToken                   *string `json:"authToken,omitempty"`                   // Create a bearer token for [Kubernetes](https://dt-url.net/og43szq \"Kubernetes\") or [OpenShift](https://dt-url.net/7l43xtp \"OpenShift\").
	CertificateCheckEnabled     *bool   `json:"certificateCheckEnabled,omitempty"`     // Require valid certificates for communication with API server (recommended)
	ClusterID                   *string `json:"clusterId,omitempty"`                   // Unique ID of the cluster, the containerized ActiveGate is deployed to. Defaults to the UUID of the kube-system namespace. The cluster ID of containerized ActiveGates is shown on the Deployment status screen.
	ClusterIdEnabled            bool    `json:"clusterIdEnabled"`                      // For more information on local Kubernetes API monitoring, see the [documentation](https://dt-url.net/6q62uep).
	Enabled                     bool    `json:"enabled"`                               // This setting is enabled (`true`) or disabled (`false`)
	EndpointUrl                 *string `json:"endpointUrl,omitempty"`                 // Get the API URL for [Kubernetes](https://dt-url.net/kz23snj \"Kubernetes\") or [OpenShift](https://dt-url.net/d623xgw \"OpenShift\").
	HostnameVerificationEnabled *bool   `json:"hostnameVerificationEnabled,omitempty"` // Verify hostname in certificate against Kubernetes API URL
	Label                       string  `json:"label"`                                 // Renaming the cluster breaks configurations that are based on its name (e.g., management zones, and alerting).
	Scope                       string  `json:"-" scope:"scope"`                       // The scope of this setting (KUBERNETES_CLUSTER)
}

func (*Settings) FillDemoValues

func (me *Settings) FillDemoValues() []string

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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