v1

package
Version: v3.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+groupName=webconsole.config.openshift.io Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/api/webconsole/v1/generated.proto

It has these top-level messages:
	CertInfo
	ClusterInfo
	ExtensionsConfiguration
	FeaturesConfiguration
	HTTPServingInfo
	NamedCertificate
	ServingInfo
	WebConsoleConfiguration

Index

Constants

View Source
const (
	GroupName = "webconsole.config.openshift.io"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
	SchemeBuilder      = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme        = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type CertInfo

type CertInfo struct {
	// CertFile is a file containing a PEM-encoded certificate
	CertFile string `json:"certFile" protobuf:"bytes,1,opt,name=certFile"`
	// KeyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile
	KeyFile string `json:"keyFile" protobuf:"bytes,2,opt,name=keyFile"`
}

CertInfo relates a certificate with a private key

func (*CertInfo) DeepCopy

func (in *CertInfo) DeepCopy() *CertInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInfo.

func (*CertInfo) DeepCopyInto

func (in *CertInfo) DeepCopyInto(out *CertInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertInfo) Descriptor

func (*CertInfo) Descriptor() ([]byte, []int)

func (*CertInfo) Marshal

func (m *CertInfo) Marshal() (dAtA []byte, err error)

func (*CertInfo) MarshalTo

func (m *CertInfo) MarshalTo(dAtA []byte) (int, error)

func (*CertInfo) ProtoMessage

func (*CertInfo) ProtoMessage()

func (*CertInfo) Reset

func (m *CertInfo) Reset()

func (*CertInfo) Size

func (m *CertInfo) Size() (n int)

func (*CertInfo) String

func (this *CertInfo) String() string

func (CertInfo) SwaggerDoc

func (CertInfo) SwaggerDoc() map[string]string

func (*CertInfo) Unmarshal

func (m *CertInfo) Unmarshal(dAtA []byte) error

type ClusterInfo

type ClusterInfo struct {
	// ConsolePublicURL is where you can find the web console server (TODO do we really need this?)
	ConsolePublicURL string `json:"consolePublicURL" protobuf:"bytes,1,opt,name=consolePublicURL"`

	// MasterPublicURL is how the web console can access the OpenShift v1 server
	MasterPublicURL string `json:"masterPublicURL" protobuf:"bytes,2,opt,name=masterPublicURL"`

	// LoggingPublicURL is the public endpoint for logging (optional)
	LoggingPublicURL string `json:"loggingPublicURL" protobuf:"bytes,3,opt,name=loggingPublicURL"`

	// MetricsPublicURL is the public endpoint for metrics (optional)
	MetricsPublicURL string `json:"metricsPublicURL" protobuf:"bytes,4,opt,name=metricsPublicURL"`

	// LogoutPublicURL is an optional, absolute URL to redirect web browsers to after logging out of the web
	// console. If not specified, the built-in logout page is shown.
	LogoutPublicURL string `json:"logoutPublicURL" protobuf:"bytes,5,opt,name=logoutPublicURL"`
}

ClusterInfo holds information the web console needs to talk to the cluster such as master public URL and metrics public URL

func (*ClusterInfo) DeepCopy

func (in *ClusterInfo) DeepCopy() *ClusterInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.

func (*ClusterInfo) DeepCopyInto

func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterInfo) Descriptor

func (*ClusterInfo) Descriptor() ([]byte, []int)

func (*ClusterInfo) Marshal

func (m *ClusterInfo) Marshal() (dAtA []byte, err error)

func (*ClusterInfo) MarshalTo

func (m *ClusterInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInfo) ProtoMessage

func (*ClusterInfo) ProtoMessage()

func (*ClusterInfo) Reset

func (m *ClusterInfo) Reset()

func (*ClusterInfo) Size

func (m *ClusterInfo) Size() (n int)

func (*ClusterInfo) String

func (this *ClusterInfo) String() string

func (ClusterInfo) SwaggerDoc

func (ClusterInfo) SwaggerDoc() map[string]string

func (*ClusterInfo) Unmarshal

func (m *ClusterInfo) Unmarshal(dAtA []byte) error

type ExtensionsConfiguration

type ExtensionsConfiguration struct {
	// ScriptURLs are URLs to load as scripts when the Web Console loads. The URLs must be accessible from
	// the browser.
	ScriptURLs []string `json:"scriptURLs" protobuf:"bytes,1,rep,name=scriptURLs"`
	// StylesheetURLs are URLs to load as stylesheets when the Web Console loads. The URLs must be accessible
	// from the browser.
	StylesheetURLs []string `json:"stylesheetURLs" protobuf:"bytes,2,rep,name=stylesheetURLs"`
	// Properties are key(string) and value(string) pairs that will be injected into the console under the
	// global variable OPENSHIFT_EXTENSION_PROPERTIES
	Properties map[string]string `json:"properties" protobuf:"bytes,3,rep,name=properties"`
}

ExtensionsConfiguration holds custom script, stylesheets, and properties used for web console customization

func (*ExtensionsConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionsConfiguration.

func (*ExtensionsConfiguration) DeepCopyInto

func (in *ExtensionsConfiguration) DeepCopyInto(out *ExtensionsConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionsConfiguration) Descriptor

func (*ExtensionsConfiguration) Descriptor() ([]byte, []int)

func (*ExtensionsConfiguration) Marshal

func (m *ExtensionsConfiguration) Marshal() (dAtA []byte, err error)

func (*ExtensionsConfiguration) MarshalTo

func (m *ExtensionsConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*ExtensionsConfiguration) ProtoMessage

func (*ExtensionsConfiguration) ProtoMessage()

func (*ExtensionsConfiguration) Reset

func (m *ExtensionsConfiguration) Reset()

func (*ExtensionsConfiguration) Size

func (m *ExtensionsConfiguration) Size() (n int)

func (*ExtensionsConfiguration) String

func (this *ExtensionsConfiguration) String() string

func (ExtensionsConfiguration) SwaggerDoc

func (ExtensionsConfiguration) SwaggerDoc() map[string]string

func (*ExtensionsConfiguration) Unmarshal

func (m *ExtensionsConfiguration) Unmarshal(dAtA []byte) error

type FeaturesConfiguration

type FeaturesConfiguration struct {
	// InactivityTimeoutMinutes is the number of minutes of inactivity before you are automatically logged out of
	// the web console (optional). If set to 0, inactivity timeout is disabled.
	InactivityTimeoutMinutes int64 `json:"inactivityTimeoutMinutes" protobuf:"varint,1,opt,name=inactivityTimeoutMinutes"`

	// ClusterResourceOverridesEnabled indicates that the cluster is configured for overcommit. When set to
	// true, the web console will hide the CPU request, CPU limit, and memory request fields in its editors
	// and skip validation on those fields. The memory limit field will still be displayed.
	ClusterResourceOverridesEnabled bool `json:"clusterResourceOverridesEnabled" protobuf:"varint,2,opt,name=clusterResourceOverridesEnabled"`
}

FeaturesConfiguration defines various feature gates for the web console

func (*FeaturesConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesConfiguration.

func (*FeaturesConfiguration) DeepCopyInto

func (in *FeaturesConfiguration) DeepCopyInto(out *FeaturesConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeaturesConfiguration) Descriptor

func (*FeaturesConfiguration) Descriptor() ([]byte, []int)

func (*FeaturesConfiguration) Marshal

func (m *FeaturesConfiguration) Marshal() (dAtA []byte, err error)

func (*FeaturesConfiguration) MarshalTo

func (m *FeaturesConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*FeaturesConfiguration) ProtoMessage

func (*FeaturesConfiguration) ProtoMessage()

func (*FeaturesConfiguration) Reset

func (m *FeaturesConfiguration) Reset()

func (*FeaturesConfiguration) Size

func (m *FeaturesConfiguration) Size() (n int)

func (*FeaturesConfiguration) String

func (this *FeaturesConfiguration) String() string

func (FeaturesConfiguration) SwaggerDoc

func (FeaturesConfiguration) SwaggerDoc() map[string]string

func (*FeaturesConfiguration) Unmarshal

func (m *FeaturesConfiguration) Unmarshal(dAtA []byte) error

type HTTPServingInfo

type HTTPServingInfo struct {
	// ServingInfo is the HTTP serving information
	ServingInfo `json:",inline" protobuf:"bytes,1,opt,name=servingInfo"`
	// MaxRequestsInFlight is the number of concurrent requests allowed to the server. If zero, no limit.
	MaxRequestsInFlight int64 `json:"maxRequestsInFlight" protobuf:"varint,2,opt,name=maxRequestsInFlight"`
	// RequestTimeoutSeconds is the number of seconds before requests are timed out. The default is 60 minutes, if
	// -1 there is no limit on requests.
	RequestTimeoutSeconds int64 `json:"requestTimeoutSeconds" protobuf:"varint,3,opt,name=requestTimeoutSeconds"`
}

HTTPServingInfo holds configuration for serving HTTP

func (*HTTPServingInfo) DeepCopy

func (in *HTTPServingInfo) DeepCopy() *HTTPServingInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPServingInfo.

func (*HTTPServingInfo) DeepCopyInto

func (in *HTTPServingInfo) DeepCopyInto(out *HTTPServingInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPServingInfo) Descriptor

func (*HTTPServingInfo) Descriptor() ([]byte, []int)

func (*HTTPServingInfo) Marshal

func (m *HTTPServingInfo) Marshal() (dAtA []byte, err error)

func (*HTTPServingInfo) MarshalTo

func (m *HTTPServingInfo) MarshalTo(dAtA []byte) (int, error)

func (*HTTPServingInfo) ProtoMessage

func (*HTTPServingInfo) ProtoMessage()

func (*HTTPServingInfo) Reset

func (m *HTTPServingInfo) Reset()

func (*HTTPServingInfo) Size

func (m *HTTPServingInfo) Size() (n int)

func (*HTTPServingInfo) String

func (this *HTTPServingInfo) String() string

func (HTTPServingInfo) SwaggerDoc

func (HTTPServingInfo) SwaggerDoc() map[string]string

func (*HTTPServingInfo) Unmarshal

func (m *HTTPServingInfo) Unmarshal(dAtA []byte) error

type NamedCertificate

type NamedCertificate struct {
	// Names is a list of DNS names this certificate should be used to secure
	// A name can be a normal DNS name, or can contain leading wildcard segments.
	Names []string `json:"names" protobuf:"bytes,1,rep,name=names"`
	// CertInfo is the TLS cert info for serving secure traffic
	CertInfo `json:",inline" protobuf:"bytes,2,opt,name=certInfo"`
}

NamedCertificate specifies a certificate/key, and the names it should be served for

func (*NamedCertificate) DeepCopy

func (in *NamedCertificate) DeepCopy() *NamedCertificate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedCertificate.

func (*NamedCertificate) DeepCopyInto

func (in *NamedCertificate) DeepCopyInto(out *NamedCertificate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NamedCertificate) Descriptor

func (*NamedCertificate) Descriptor() ([]byte, []int)

func (*NamedCertificate) Marshal

func (m *NamedCertificate) Marshal() (dAtA []byte, err error)

func (*NamedCertificate) MarshalTo

func (m *NamedCertificate) MarshalTo(dAtA []byte) (int, error)

func (*NamedCertificate) ProtoMessage

func (*NamedCertificate) ProtoMessage()

func (*NamedCertificate) Reset

func (m *NamedCertificate) Reset()

func (*NamedCertificate) Size

func (m *NamedCertificate) Size() (n int)

func (*NamedCertificate) String

func (this *NamedCertificate) String() string

func (NamedCertificate) SwaggerDoc

func (NamedCertificate) SwaggerDoc() map[string]string

func (*NamedCertificate) Unmarshal

func (m *NamedCertificate) Unmarshal(dAtA []byte) error

type ServingInfo

type ServingInfo struct {
	// BindAddress is the ip:port to serve on
	BindAddress string `json:"bindAddress" protobuf:"bytes,1,opt,name=bindAddress"`
	// BindNetwork is the type of network to bind to - defaults to "tcp4", accepts "tcp",
	// "tcp4", and "tcp6"
	BindNetwork string `json:"bindNetwork" protobuf:"bytes,2,opt,name=bindNetwork"`
	// CertInfo is the TLS cert info for serving secure traffic.
	// this is anonymous so that we can inline it for serialization
	CertInfo `json:",inline" protobuf:"bytes,3,opt,name=certInfo"`
	// ClientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificates
	ClientCA string `json:"clientCA" protobuf:"bytes,4,opt,name=clientCA"`
	// NamedCertificates is a list of certificates to use to secure requests to specific hostnames
	NamedCertificates []NamedCertificate `json:"namedCertificates" protobuf:"bytes,5,rep,name=namedCertificates"`
	// MinTLSVersion is the minimum TLS version supported.
	// Values must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
	MinTLSVersion string `json:"minTLSVersion,omitempty" protobuf:"bytes,6,opt,name=minTLSVersion"`
	// CipherSuites contains an overridden list of ciphers for the server to support.
	// Values must match cipher suite IDs from https://golang.org/pkg/crypto/tls/#pkg-constants
	CipherSuites []string `json:"cipherSuites,omitempty" protobuf:"bytes,7,rep,name=cipherSuites"`
}

ServingInfo holds information about serving web pages

func (*ServingInfo) DeepCopy

func (in *ServingInfo) DeepCopy() *ServingInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingInfo.

func (*ServingInfo) DeepCopyInto

func (in *ServingInfo) DeepCopyInto(out *ServingInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServingInfo) Descriptor

func (*ServingInfo) Descriptor() ([]byte, []int)

func (*ServingInfo) Marshal

func (m *ServingInfo) Marshal() (dAtA []byte, err error)

func (*ServingInfo) MarshalTo

func (m *ServingInfo) MarshalTo(dAtA []byte) (int, error)

func (*ServingInfo) ProtoMessage

func (*ServingInfo) ProtoMessage()

func (*ServingInfo) Reset

func (m *ServingInfo) Reset()

func (*ServingInfo) Size

func (m *ServingInfo) Size() (n int)

func (*ServingInfo) String

func (this *ServingInfo) String() string

func (ServingInfo) SwaggerDoc

func (ServingInfo) SwaggerDoc() map[string]string

func (*ServingInfo) Unmarshal

func (m *ServingInfo) Unmarshal(dAtA []byte) error

type WebConsoleConfiguration

type WebConsoleConfiguration struct {
	metav1.TypeMeta `json:",inline"`

	// ServingInfo is the HTTP serving information for these assets
	ServingInfo HTTPServingInfo `json:"servingInfo" protobuf:"bytes,1,opt,name=servingInfo"`

	// ClusterInfo holds information the web console needs to talk to the cluster such as master public URL
	// and metrics public URL
	ClusterInfo ClusterInfo `json:"clusterInfo" protobuf:"bytes,2,rep,name=clusterInfo"`

	// Features define various feature gates for the web console
	Features FeaturesConfiguration `json:"features" protobuf:"bytes,3,opt,name=featureInfo"`

	// Extensions define custom scripts, stylesheets, and properties used for web console customization
	Extensions ExtensionsConfiguration `json:"extensions" protobuf:"bytes,4,rep,name=extensions"`
}

WebConsoleConfiguration holds the necessary configuration options for serving the web console

func (*WebConsoleConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebConsoleConfiguration.

func (*WebConsoleConfiguration) DeepCopyInto

func (in *WebConsoleConfiguration) DeepCopyInto(out *WebConsoleConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebConsoleConfiguration) DeepCopyObject

func (in *WebConsoleConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WebConsoleConfiguration) Descriptor

func (*WebConsoleConfiguration) Descriptor() ([]byte, []int)

func (*WebConsoleConfiguration) Marshal

func (m *WebConsoleConfiguration) Marshal() (dAtA []byte, err error)

func (*WebConsoleConfiguration) MarshalTo

func (m *WebConsoleConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*WebConsoleConfiguration) ProtoMessage

func (*WebConsoleConfiguration) ProtoMessage()

func (*WebConsoleConfiguration) Reset

func (m *WebConsoleConfiguration) Reset()

func (*WebConsoleConfiguration) Size

func (m *WebConsoleConfiguration) Size() (n int)

func (*WebConsoleConfiguration) String

func (this *WebConsoleConfiguration) String() string

func (WebConsoleConfiguration) SwaggerDoc

func (WebConsoleConfiguration) SwaggerDoc() map[string]string

func (*WebConsoleConfiguration) Unmarshal

func (m *WebConsoleConfiguration) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL