Documentation ¶
Index ¶
- type ConsolePluginApplyConfiguration
- func ConsolePlugin(name string) *ConsolePluginApplyConfiguration
- func ExtractConsolePlugin(consolePlugin *consolev1alpha1.ConsolePlugin, fieldManager string) (*ConsolePluginApplyConfiguration, error)
- func ExtractConsolePluginStatus(consolePlugin *consolev1alpha1.ConsolePlugin, fieldManager string) (*ConsolePluginApplyConfiguration, error)
- func (b *ConsolePluginApplyConfiguration) WithAPIVersion(value string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithAnnotations(entries map[string]string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithFinalizers(values ...string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithGenerateName(value string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithGeneration(value int64) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithKind(value string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithLabels(entries map[string]string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithName(value string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithNamespace(value string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithResourceVersion(value string) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithSpec(value *ConsolePluginSpecApplyConfiguration) *ConsolePluginApplyConfiguration
- func (b *ConsolePluginApplyConfiguration) WithUID(value types.UID) *ConsolePluginApplyConfiguration
- type ConsolePluginProxyApplyConfiguration
- func (b *ConsolePluginProxyApplyConfiguration) WithAlias(value string) *ConsolePluginProxyApplyConfiguration
- func (b *ConsolePluginProxyApplyConfiguration) WithAuthorize(value bool) *ConsolePluginProxyApplyConfiguration
- func (b *ConsolePluginProxyApplyConfiguration) WithCACertificate(value string) *ConsolePluginProxyApplyConfiguration
- func (b *ConsolePluginProxyApplyConfiguration) WithService(value *ConsolePluginProxyServiceConfigApplyConfiguration) *ConsolePluginProxyApplyConfiguration
- func (b *ConsolePluginProxyApplyConfiguration) WithType(value v1alpha1.ConsolePluginProxyType) *ConsolePluginProxyApplyConfiguration
- type ConsolePluginProxyServiceConfigApplyConfiguration
- func (b *ConsolePluginProxyServiceConfigApplyConfiguration) WithName(value string) *ConsolePluginProxyServiceConfigApplyConfiguration
- func (b *ConsolePluginProxyServiceConfigApplyConfiguration) WithNamespace(value string) *ConsolePluginProxyServiceConfigApplyConfiguration
- func (b *ConsolePluginProxyServiceConfigApplyConfiguration) WithPort(value int32) *ConsolePluginProxyServiceConfigApplyConfiguration
- type ConsolePluginServiceApplyConfiguration
- func (b *ConsolePluginServiceApplyConfiguration) WithBasePath(value string) *ConsolePluginServiceApplyConfiguration
- func (b *ConsolePluginServiceApplyConfiguration) WithName(value string) *ConsolePluginServiceApplyConfiguration
- func (b *ConsolePluginServiceApplyConfiguration) WithNamespace(value string) *ConsolePluginServiceApplyConfiguration
- func (b *ConsolePluginServiceApplyConfiguration) WithPort(value int32) *ConsolePluginServiceApplyConfiguration
- type ConsolePluginSpecApplyConfiguration
- func (b *ConsolePluginSpecApplyConfiguration) WithDisplayName(value string) *ConsolePluginSpecApplyConfiguration
- func (b *ConsolePluginSpecApplyConfiguration) WithProxy(values ...*ConsolePluginProxyApplyConfiguration) *ConsolePluginSpecApplyConfiguration
- func (b *ConsolePluginSpecApplyConfiguration) WithService(value *ConsolePluginServiceApplyConfiguration) *ConsolePluginSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsolePluginApplyConfiguration ¶
type ConsolePluginApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ConsolePluginSpecApplyConfiguration `json:"spec,omitempty"` }
ConsolePluginApplyConfiguration represents an declarative configuration of the ConsolePlugin type for use with apply.
func ConsolePlugin ¶
func ConsolePlugin(name string) *ConsolePluginApplyConfiguration
ConsolePlugin constructs an declarative configuration of the ConsolePlugin type for use with apply.
func ExtractConsolePlugin ¶
func ExtractConsolePlugin(consolePlugin *consolev1alpha1.ConsolePlugin, fieldManager string) (*ConsolePluginApplyConfiguration, error)
ExtractConsolePlugin extracts the applied configuration owned by fieldManager from consolePlugin. If no managedFields are found in consolePlugin for fieldManager, a ConsolePluginApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. consolePlugin must be a unmodified ConsolePlugin API object that was retrieved from the Kubernetes API. ExtractConsolePlugin provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractConsolePluginStatus ¶
func ExtractConsolePluginStatus(consolePlugin *consolev1alpha1.ConsolePlugin, fieldManager string) (*ConsolePluginApplyConfiguration, error)
ExtractConsolePluginStatus is the same as ExtractConsolePlugin except that it extracts the status subresource applied configuration. Experimental!
func (*ConsolePluginApplyConfiguration) WithAPIVersion ¶
func (b *ConsolePluginApplyConfiguration) WithAPIVersion(value string) *ConsolePluginApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithAnnotations ¶
func (b *ConsolePluginApplyConfiguration) WithAnnotations(entries map[string]string) *ConsolePluginApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ConsolePluginApplyConfiguration) WithCreationTimestamp ¶
func (b *ConsolePluginApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConsolePluginApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ConsolePluginApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConsolePluginApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithDeletionTimestamp ¶
func (b *ConsolePluginApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConsolePluginApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithFinalizers ¶
func (b *ConsolePluginApplyConfiguration) WithFinalizers(values ...string) *ConsolePluginApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ConsolePluginApplyConfiguration) WithGenerateName ¶
func (b *ConsolePluginApplyConfiguration) WithGenerateName(value string) *ConsolePluginApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithGeneration ¶
func (b *ConsolePluginApplyConfiguration) WithGeneration(value int64) *ConsolePluginApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithKind ¶
func (b *ConsolePluginApplyConfiguration) WithKind(value string) *ConsolePluginApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithLabels ¶
func (b *ConsolePluginApplyConfiguration) WithLabels(entries map[string]string) *ConsolePluginApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ConsolePluginApplyConfiguration) WithName ¶
func (b *ConsolePluginApplyConfiguration) WithName(value string) *ConsolePluginApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithNamespace ¶
func (b *ConsolePluginApplyConfiguration) WithNamespace(value string) *ConsolePluginApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithOwnerReferences ¶
func (b *ConsolePluginApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConsolePluginApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ConsolePluginApplyConfiguration) WithResourceVersion ¶
func (b *ConsolePluginApplyConfiguration) WithResourceVersion(value string) *ConsolePluginApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithSpec ¶
func (b *ConsolePluginApplyConfiguration) WithSpec(value *ConsolePluginSpecApplyConfiguration) *ConsolePluginApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ConsolePluginApplyConfiguration) WithUID ¶
func (b *ConsolePluginApplyConfiguration) WithUID(value types.UID) *ConsolePluginApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ConsolePluginProxyApplyConfiguration ¶
type ConsolePluginProxyApplyConfiguration struct { Type *v1alpha1.ConsolePluginProxyType `json:"type,omitempty"` Alias *string `json:"alias,omitempty"` Service *ConsolePluginProxyServiceConfigApplyConfiguration `json:"service,omitempty"` CACertificate *string `json:"caCertificate,omitempty"` Authorize *bool `json:"authorize,omitempty"` }
ConsolePluginProxyApplyConfiguration represents an declarative configuration of the ConsolePluginProxy type for use with apply.
func ConsolePluginProxy ¶
func ConsolePluginProxy() *ConsolePluginProxyApplyConfiguration
ConsolePluginProxyApplyConfiguration constructs an declarative configuration of the ConsolePluginProxy type for use with apply.
func (*ConsolePluginProxyApplyConfiguration) WithAlias ¶
func (b *ConsolePluginProxyApplyConfiguration) WithAlias(value string) *ConsolePluginProxyApplyConfiguration
WithAlias sets the Alias field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Alias field is set to the value of the last call.
func (*ConsolePluginProxyApplyConfiguration) WithAuthorize ¶
func (b *ConsolePluginProxyApplyConfiguration) WithAuthorize(value bool) *ConsolePluginProxyApplyConfiguration
WithAuthorize sets the Authorize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Authorize field is set to the value of the last call.
func (*ConsolePluginProxyApplyConfiguration) WithCACertificate ¶
func (b *ConsolePluginProxyApplyConfiguration) WithCACertificate(value string) *ConsolePluginProxyApplyConfiguration
WithCACertificate sets the CACertificate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CACertificate field is set to the value of the last call.
func (*ConsolePluginProxyApplyConfiguration) WithService ¶
func (b *ConsolePluginProxyApplyConfiguration) WithService(value *ConsolePluginProxyServiceConfigApplyConfiguration) *ConsolePluginProxyApplyConfiguration
WithService sets the Service field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Service field is set to the value of the last call.
func (*ConsolePluginProxyApplyConfiguration) WithType ¶
func (b *ConsolePluginProxyApplyConfiguration) WithType(value v1alpha1.ConsolePluginProxyType) *ConsolePluginProxyApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type ConsolePluginProxyServiceConfigApplyConfiguration ¶
type ConsolePluginProxyServiceConfigApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` Port *int32 `json:"port,omitempty"` }
ConsolePluginProxyServiceConfigApplyConfiguration represents an declarative configuration of the ConsolePluginProxyServiceConfig type for use with apply.
func ConsolePluginProxyServiceConfig ¶
func ConsolePluginProxyServiceConfig() *ConsolePluginProxyServiceConfigApplyConfiguration
ConsolePluginProxyServiceConfigApplyConfiguration constructs an declarative configuration of the ConsolePluginProxyServiceConfig type for use with apply.
func (*ConsolePluginProxyServiceConfigApplyConfiguration) WithName ¶
func (b *ConsolePluginProxyServiceConfigApplyConfiguration) WithName(value string) *ConsolePluginProxyServiceConfigApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ConsolePluginProxyServiceConfigApplyConfiguration) WithNamespace ¶
func (b *ConsolePluginProxyServiceConfigApplyConfiguration) WithNamespace(value string) *ConsolePluginProxyServiceConfigApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ConsolePluginProxyServiceConfigApplyConfiguration) WithPort ¶
func (b *ConsolePluginProxyServiceConfigApplyConfiguration) WithPort(value int32) *ConsolePluginProxyServiceConfigApplyConfiguration
WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.
type ConsolePluginServiceApplyConfiguration ¶
type ConsolePluginServiceApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` Port *int32 `json:"port,omitempty"` BasePath *string `json:"basePath,omitempty"` }
ConsolePluginServiceApplyConfiguration represents an declarative configuration of the ConsolePluginService type for use with apply.
func ConsolePluginService ¶
func ConsolePluginService() *ConsolePluginServiceApplyConfiguration
ConsolePluginServiceApplyConfiguration constructs an declarative configuration of the ConsolePluginService type for use with apply.
func (*ConsolePluginServiceApplyConfiguration) WithBasePath ¶
func (b *ConsolePluginServiceApplyConfiguration) WithBasePath(value string) *ConsolePluginServiceApplyConfiguration
WithBasePath sets the BasePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BasePath field is set to the value of the last call.
func (*ConsolePluginServiceApplyConfiguration) WithName ¶
func (b *ConsolePluginServiceApplyConfiguration) WithName(value string) *ConsolePluginServiceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ConsolePluginServiceApplyConfiguration) WithNamespace ¶
func (b *ConsolePluginServiceApplyConfiguration) WithNamespace(value string) *ConsolePluginServiceApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ConsolePluginServiceApplyConfiguration) WithPort ¶
func (b *ConsolePluginServiceApplyConfiguration) WithPort(value int32) *ConsolePluginServiceApplyConfiguration
WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.
type ConsolePluginSpecApplyConfiguration ¶
type ConsolePluginSpecApplyConfiguration struct { DisplayName *string `json:"displayName,omitempty"` Service *ConsolePluginServiceApplyConfiguration `json:"service,omitempty"` Proxy []ConsolePluginProxyApplyConfiguration `json:"proxy,omitempty"` }
ConsolePluginSpecApplyConfiguration represents an declarative configuration of the ConsolePluginSpec type for use with apply.
func ConsolePluginSpec ¶
func ConsolePluginSpec() *ConsolePluginSpecApplyConfiguration
ConsolePluginSpecApplyConfiguration constructs an declarative configuration of the ConsolePluginSpec type for use with apply.
func (*ConsolePluginSpecApplyConfiguration) WithDisplayName ¶
func (b *ConsolePluginSpecApplyConfiguration) WithDisplayName(value string) *ConsolePluginSpecApplyConfiguration
WithDisplayName sets the DisplayName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisplayName field is set to the value of the last call.
func (*ConsolePluginSpecApplyConfiguration) WithProxy ¶
func (b *ConsolePluginSpecApplyConfiguration) WithProxy(values ...*ConsolePluginProxyApplyConfiguration) *ConsolePluginSpecApplyConfiguration
WithProxy adds the given value to the Proxy field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Proxy field.
func (*ConsolePluginSpecApplyConfiguration) WithService ¶
func (b *ConsolePluginSpecApplyConfiguration) WithService(value *ConsolePluginServiceApplyConfiguration) *ConsolePluginSpecApplyConfiguration
WithService sets the Service field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Service field is set to the value of the last call.