Help us shape the future of Go! Take the 2026 Go Developer Survey

model

package
v0.88.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseJsonError

func ParseJsonError(b []byte) error

Types

type BindingParams added in v0.87.0

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 added in v0.20.0

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