v1alpha1

package
v0.0.0-...-d24fd3e Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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