v1

package
v0.0.0-...-88a9ed4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaResourceDefinitionApplyConfiguration

type GrafanaResourceDefinitionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GrafanaResourceDefinitionSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *GrafanaResourceDefinitionStatusApplyConfiguration `json:"status,omitempty"`
}

GrafanaResourceDefinitionApplyConfiguration represents an declarative configuration of the GrafanaResourceDefinition type for use with apply.

func GrafanaResourceDefinition

func GrafanaResourceDefinition(name string) *GrafanaResourceDefinitionApplyConfiguration

GrafanaResourceDefinition constructs an declarative configuration of the GrafanaResourceDefinition type for use with apply.

func (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) WithDeletionGracePeriodSeconds

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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) 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 (*GrafanaResourceDefinitionApplyConfiguration) WithStatus

WithStatus sets the Status 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 Status field is set to the value of the last call.

func (*GrafanaResourceDefinitionApplyConfiguration) 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 GrafanaResourceDefinitionConditionApplyConfiguration

type GrafanaResourceDefinitionConditionApplyConfiguration struct {
	Type               *v1.GrafanaResourceDefinitionConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus                        `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                               `json:"lastTransitionTime,omitempty"`
	Reason             *string                                    `json:"reason,omitempty"`
	Message            *string                                    `json:"message,omitempty"`
}

GrafanaResourceDefinitionConditionApplyConfiguration represents an declarative configuration of the GrafanaResourceDefinitionCondition type for use with apply.

func GrafanaResourceDefinitionCondition

func GrafanaResourceDefinitionCondition() *GrafanaResourceDefinitionConditionApplyConfiguration

GrafanaResourceDefinitionConditionApplyConfiguration constructs an declarative configuration of the GrafanaResourceDefinitionCondition type for use with apply.

func (*GrafanaResourceDefinitionConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*GrafanaResourceDefinitionConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*GrafanaResourceDefinitionConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*GrafanaResourceDefinitionConditionApplyConfiguration) WithStatus

WithStatus sets the Status 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 Status field is set to the value of the last call.

func (*GrafanaResourceDefinitionConditionApplyConfiguration) 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 GrafanaResourceDefinitionNamesApplyConfiguration

type GrafanaResourceDefinitionNamesApplyConfiguration struct {
	Plural     *string  `json:"plural,omitempty"`
	Singular   *string  `json:"singular,omitempty"`
	ShortNames []string `json:"shortNames,omitempty"`
	Kind       *string  `json:"kind,omitempty"`
	ListKind   *string  `json:"listKind,omitempty"`
	Categories []string `json:"categories,omitempty"`
}

GrafanaResourceDefinitionNamesApplyConfiguration represents an declarative configuration of the GrafanaResourceDefinitionNames type for use with apply.

func GrafanaResourceDefinitionNames

func GrafanaResourceDefinitionNames() *GrafanaResourceDefinitionNamesApplyConfiguration

GrafanaResourceDefinitionNamesApplyConfiguration constructs an declarative configuration of the GrafanaResourceDefinitionNames type for use with apply.

func (*GrafanaResourceDefinitionNamesApplyConfiguration) WithCategories

WithCategories adds the given value to the Categories 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 Categories field.

func (*GrafanaResourceDefinitionNamesApplyConfiguration) 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 (*GrafanaResourceDefinitionNamesApplyConfiguration) WithListKind

WithListKind sets the ListKind 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 ListKind field is set to the value of the last call.

func (*GrafanaResourceDefinitionNamesApplyConfiguration) WithPlural

WithPlural sets the Plural 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 Plural field is set to the value of the last call.

func (*GrafanaResourceDefinitionNamesApplyConfiguration) WithShortNames

WithShortNames adds the given value to the ShortNames 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 ShortNames field.

func (*GrafanaResourceDefinitionNamesApplyConfiguration) WithSingular

WithSingular sets the Singular 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 Singular field is set to the value of the last call.

type GrafanaResourceDefinitionSpecApplyConfiguration

type GrafanaResourceDefinitionSpecApplyConfiguration struct {
	Group                 *string                                              `json:"group,omitempty"`
	Names                 *GrafanaResourceDefinitionNamesApplyConfiguration    `json:"names,omitempty"`
	Scope                 *kindsv1.ResourceScope                               `json:"scope,omitempty"`
	Versions              []GrafanaResourceDefinitionVersionApplyConfiguration `json:"versions,omitempty"`
	PreserveUnknownFields *bool                                                `json:"preserveUnknownFields,omitempty"`
}

GrafanaResourceDefinitionSpecApplyConfiguration represents an declarative configuration of the GrafanaResourceDefinitionSpec type for use with apply.

func GrafanaResourceDefinitionSpec

func GrafanaResourceDefinitionSpec() *GrafanaResourceDefinitionSpecApplyConfiguration

GrafanaResourceDefinitionSpecApplyConfiguration constructs an declarative configuration of the GrafanaResourceDefinitionSpec type for use with apply.

func (*GrafanaResourceDefinitionSpecApplyConfiguration) WithGroup

WithGroup sets the Group 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 Group field is set to the value of the last call.

func (*GrafanaResourceDefinitionSpecApplyConfiguration) WithNames

WithNames sets the Names 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 Names field is set to the value of the last call.

func (*GrafanaResourceDefinitionSpecApplyConfiguration) WithPreserveUnknownFields

WithPreserveUnknownFields sets the PreserveUnknownFields 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 PreserveUnknownFields field is set to the value of the last call.

func (*GrafanaResourceDefinitionSpecApplyConfiguration) WithScope

WithScope sets the Scope 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 Scope field is set to the value of the last call.

func (*GrafanaResourceDefinitionSpecApplyConfiguration) WithVersions

WithVersions adds the given value to the Versions 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 Versions field.

type GrafanaResourceDefinitionStatusApplyConfiguration

type GrafanaResourceDefinitionStatusApplyConfiguration struct {
	Conditions     []GrafanaResourceDefinitionConditionApplyConfiguration `json:"conditions,omitempty"`
	AcceptedNames  *GrafanaResourceDefinitionNamesApplyConfiguration      `json:"acceptedNames,omitempty"`
	StoredVersions []string                                               `json:"storedVersions,omitempty"`
}

GrafanaResourceDefinitionStatusApplyConfiguration represents an declarative configuration of the GrafanaResourceDefinitionStatus type for use with apply.

func GrafanaResourceDefinitionStatus

func GrafanaResourceDefinitionStatus() *GrafanaResourceDefinitionStatusApplyConfiguration

GrafanaResourceDefinitionStatusApplyConfiguration constructs an declarative configuration of the GrafanaResourceDefinitionStatus type for use with apply.

func (*GrafanaResourceDefinitionStatusApplyConfiguration) WithAcceptedNames

WithAcceptedNames sets the AcceptedNames 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 AcceptedNames field is set to the value of the last call.

func (*GrafanaResourceDefinitionStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*GrafanaResourceDefinitionStatusApplyConfiguration) WithStoredVersions

WithStoredVersions adds the given value to the StoredVersions 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 StoredVersions field.

type GrafanaResourceDefinitionVersionApplyConfiguration

type GrafanaResourceDefinitionVersionApplyConfiguration struct {
	Name               *string                                        `json:"name,omitempty"`
	Served             *bool                                          `json:"served,omitempty"`
	Storage            *bool                                          `json:"storage,omitempty"`
	Deprecated         *bool                                          `json:"deprecated,omitempty"`
	DeprecationWarning *string                                        `json:"deprecationWarning,omitempty"`
	Subresources       *GrafanaResourceSubresourcesApplyConfiguration `json:"subresources,omitempty"`
}

GrafanaResourceDefinitionVersionApplyConfiguration represents an declarative configuration of the GrafanaResourceDefinitionVersion type for use with apply.

func GrafanaResourceDefinitionVersion

func GrafanaResourceDefinitionVersion() *GrafanaResourceDefinitionVersionApplyConfiguration

GrafanaResourceDefinitionVersionApplyConfiguration constructs an declarative configuration of the GrafanaResourceDefinitionVersion type for use with apply.

func (*GrafanaResourceDefinitionVersionApplyConfiguration) WithDeprecated

WithDeprecated sets the Deprecated 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 Deprecated field is set to the value of the last call.

func (*GrafanaResourceDefinitionVersionApplyConfiguration) WithDeprecationWarning

WithDeprecationWarning sets the DeprecationWarning 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 DeprecationWarning field is set to the value of the last call.

func (*GrafanaResourceDefinitionVersionApplyConfiguration) 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 (*GrafanaResourceDefinitionVersionApplyConfiguration) WithServed

WithServed sets the Served 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 Served field is set to the value of the last call.

func (*GrafanaResourceDefinitionVersionApplyConfiguration) WithStorage

WithStorage sets the Storage 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 Storage field is set to the value of the last call.

func (*GrafanaResourceDefinitionVersionApplyConfiguration) WithSubresources

WithSubresources sets the Subresources 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 Subresources field is set to the value of the last call.

type GrafanaResourceSubresourceScaleApplyConfiguration

type GrafanaResourceSubresourceScaleApplyConfiguration struct {
	SpecReplicasPath   *string `json:"specReplicasPath,omitempty"`
	StatusReplicasPath *string `json:"statusReplicasPath,omitempty"`
	LabelSelectorPath  *string `json:"labelSelectorPath,omitempty"`
}

GrafanaResourceSubresourceScaleApplyConfiguration represents an declarative configuration of the GrafanaResourceSubresourceScale type for use with apply.

func GrafanaResourceSubresourceScale

func GrafanaResourceSubresourceScale() *GrafanaResourceSubresourceScaleApplyConfiguration

GrafanaResourceSubresourceScaleApplyConfiguration constructs an declarative configuration of the GrafanaResourceSubresourceScale type for use with apply.

func (*GrafanaResourceSubresourceScaleApplyConfiguration) WithLabelSelectorPath

WithLabelSelectorPath sets the LabelSelectorPath 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 LabelSelectorPath field is set to the value of the last call.

func (*GrafanaResourceSubresourceScaleApplyConfiguration) WithSpecReplicasPath

WithSpecReplicasPath sets the SpecReplicasPath 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 SpecReplicasPath field is set to the value of the last call.

func (*GrafanaResourceSubresourceScaleApplyConfiguration) WithStatusReplicasPath

WithStatusReplicasPath sets the StatusReplicasPath 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 StatusReplicasPath field is set to the value of the last call.

type GrafanaResourceSubresourcesApplyConfiguration

type GrafanaResourceSubresourcesApplyConfiguration struct {
	Status  *v1.GrafanaResourceSubresourceStatus               `json:"status,omitempty"`
	Scale   *GrafanaResourceSubresourceScaleApplyConfiguration `json:"scale,omitempty"`
	History *v1.GrafanaResourceSubresourceHistory              `json:"history,omitempty"`
	Ref     *v1.GrafanaResourceSubresourceRef                  `json:"ref,omitempty"`
}

GrafanaResourceSubresourcesApplyConfiguration represents an declarative configuration of the GrafanaResourceSubresources type for use with apply.

func GrafanaResourceSubresources

func GrafanaResourceSubresources() *GrafanaResourceSubresourcesApplyConfiguration

GrafanaResourceSubresourcesApplyConfiguration constructs an declarative configuration of the GrafanaResourceSubresources type for use with apply.

func (*GrafanaResourceSubresourcesApplyConfiguration) WithHistory

WithHistory sets the History 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 History field is set to the value of the last call.

func (*GrafanaResourceSubresourcesApplyConfiguration) WithRef

WithRef sets the Ref 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 Ref field is set to the value of the last call.

func (*GrafanaResourceSubresourcesApplyConfiguration) WithScale

WithScale sets the Scale 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 Scale field is set to the value of the last call.

func (*GrafanaResourceSubresourcesApplyConfiguration) WithStatus

WithStatus sets the Status 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 Status 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