model

package
v2.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 1 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindingParams

type BindingParams struct {
	SecurityGroupGUID string `json:"security_group_guid"`
	SpaceGUID         string `json:"space_guid"`
}

type CFConfig

type CFConfig struct {
	Endpoint          string `cloud:"endpoint"`
	ClientID          string `cloud:"client_id"`
	ClientSecret      string `cloud:"client_secret"`
	SkipSSLValidation bool   `cloud:"skip_ssl_validation"`
	UAAEndpoint       string `cloud:"uaa_endpoint"`
}

type ConfigServer

type ConfigServer struct {
	LogLevel              string   `cloud:"log_level"`
	LogJSON               *bool    `cloud:"log_json"`
	LogNoColor            bool     `cloud:"log_no_color"`
	FallbackToSqlite      bool     `cloud:"fallback_to_sqlite"`
	SSLCertFile           string   `cloud:"ssl_cert_file" cloud-default:""`
	SSLKeyFile            string   `cloud:"ssl_key_file" cloud-default:""`
	TrustedCaCertificates []string `cloud:"trusted_ca_certificates"`
	CloudFoundry          CFConfig `cloud:"cloud_foundry"`
	AuthKey               string   `cloud:"auth_key"`
	JWT                   JWT      `cloud:"jwt"`
}

type Info

type Info struct {
	Links struct {
		// Self is the link to the Cloudfoundry API.
		Self resources.APILink `json:"self"`

		// AppSSH is the link for application ssh info.
		AppSSH resources.APILink `json:"app_ssh"`

		// CCV3 is the link to the Cloud Controller V3 API.
		CCV3 resources.APILink `json:"cloud_controller_v3"`

		// Logging is the link to the Logging API.
		Logging resources.APILink `json:"logging"`

		// Logging is the link to the Logging API.
		LogCache resources.APILink `json:"log_cache"`

		// NetworkPolicyV1 is the link to the Container to Container Networking
		// API.
		NetworkPolicyV1 resources.APILink `json:"network_policy_v1"`

		// Routing is the link to the routing API
		Routing resources.APILink `json:"routing"`

		// UAA is the link to the UAA API.
		UAA resources.APILink `json:"uaa"`

		// Login is the link to the Login API.
		Login resources.APILink `json:"login"`
	}
}

type JWT

type JWT struct {
	Alg    string `cloud:"alg"`
	Secret string `cloud:"secret"`
}

type JsonError

type JsonError struct {
	ErrMessage string `json:"error"`
}

func (JsonError) Error

func (e JsonError) Error() string

Jump to

Keyboard shortcuts

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