Documentation
¶
Index ¶
- type GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithAPIVersion(value string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithAnnotations(entries map[string]string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithFinalizers(values ...string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithGenerateName(value string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithGeneration(value int64) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithKind(value string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithLabels(entries map[string]string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithName(value string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithNamespace(value string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithResourceVersion(value string) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithSpec(value *GrafanaResourceDefinitionSpecApplyConfiguration) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithStatus(value *GrafanaResourceDefinitionStatusApplyConfiguration) *GrafanaResourceDefinitionApplyConfiguration
- func (b *GrafanaResourceDefinitionApplyConfiguration) WithUID(value types.UID) *GrafanaResourceDefinitionApplyConfiguration
- type GrafanaResourceDefinitionConditionApplyConfiguration
- func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *GrafanaResourceDefinitionConditionApplyConfiguration
- func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithMessage(value string) *GrafanaResourceDefinitionConditionApplyConfiguration
- func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithReason(value string) *GrafanaResourceDefinitionConditionApplyConfiguration
- func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *GrafanaResourceDefinitionConditionApplyConfiguration
- func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithType(value v1.GrafanaResourceDefinitionConditionType) *GrafanaResourceDefinitionConditionApplyConfiguration
- type GrafanaResourceDefinitionNamesApplyConfiguration
- func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithCategories(values ...string) *GrafanaResourceDefinitionNamesApplyConfiguration
- func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithKind(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
- func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithListKind(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
- func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithPlural(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
- func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithShortNames(values ...string) *GrafanaResourceDefinitionNamesApplyConfiguration
- func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithSingular(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
- type GrafanaResourceDefinitionSpecApplyConfiguration
- func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithGroup(value string) *GrafanaResourceDefinitionSpecApplyConfiguration
- func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithNames(value *GrafanaResourceDefinitionNamesApplyConfiguration) *GrafanaResourceDefinitionSpecApplyConfiguration
- func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithPreserveUnknownFields(value bool) *GrafanaResourceDefinitionSpecApplyConfiguration
- func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithScope(value kindsv1.ResourceScope) *GrafanaResourceDefinitionSpecApplyConfiguration
- func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithVersions(values ...*GrafanaResourceDefinitionVersionApplyConfiguration) *GrafanaResourceDefinitionSpecApplyConfiguration
- type GrafanaResourceDefinitionStatusApplyConfiguration
- func (b *GrafanaResourceDefinitionStatusApplyConfiguration) WithAcceptedNames(value *GrafanaResourceDefinitionNamesApplyConfiguration) *GrafanaResourceDefinitionStatusApplyConfiguration
- func (b *GrafanaResourceDefinitionStatusApplyConfiguration) WithConditions(values ...*GrafanaResourceDefinitionConditionApplyConfiguration) *GrafanaResourceDefinitionStatusApplyConfiguration
- func (b *GrafanaResourceDefinitionStatusApplyConfiguration) WithStoredVersions(values ...string) *GrafanaResourceDefinitionStatusApplyConfiguration
- type GrafanaResourceDefinitionVersionApplyConfiguration
- func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithDeprecated(value bool) *GrafanaResourceDefinitionVersionApplyConfiguration
- func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithDeprecationWarning(value string) *GrafanaResourceDefinitionVersionApplyConfiguration
- func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithName(value string) *GrafanaResourceDefinitionVersionApplyConfiguration
- func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithServed(value bool) *GrafanaResourceDefinitionVersionApplyConfiguration
- func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithStorage(value bool) *GrafanaResourceDefinitionVersionApplyConfiguration
- func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithSubresources(value *GrafanaResourceSubresourcesApplyConfiguration) *GrafanaResourceDefinitionVersionApplyConfiguration
- type GrafanaResourceSubresourceScaleApplyConfiguration
- func (b *GrafanaResourceSubresourceScaleApplyConfiguration) WithLabelSelectorPath(value string) *GrafanaResourceSubresourceScaleApplyConfiguration
- func (b *GrafanaResourceSubresourceScaleApplyConfiguration) WithSpecReplicasPath(value string) *GrafanaResourceSubresourceScaleApplyConfiguration
- func (b *GrafanaResourceSubresourceScaleApplyConfiguration) WithStatusReplicasPath(value string) *GrafanaResourceSubresourceScaleApplyConfiguration
- type GrafanaResourceSubresourcesApplyConfiguration
- func (b *GrafanaResourceSubresourcesApplyConfiguration) WithHistory(value v1.GrafanaResourceSubresourceHistory) *GrafanaResourceSubresourcesApplyConfiguration
- func (b *GrafanaResourceSubresourcesApplyConfiguration) WithRef(value v1.GrafanaResourceSubresourceRef) *GrafanaResourceSubresourcesApplyConfiguration
- func (b *GrafanaResourceSubresourcesApplyConfiguration) WithScale(value *GrafanaResourceSubresourceScaleApplyConfiguration) *GrafanaResourceSubresourcesApplyConfiguration
- func (b *GrafanaResourceSubresourcesApplyConfiguration) WithStatus(value v1.GrafanaResourceSubresourceStatus) *GrafanaResourceSubresourcesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithAPIVersion(value string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithAnnotations(entries map[string]string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithFinalizers(values ...string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithGenerateName(value string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithGeneration(value int64) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithKind(value string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithLabels(entries map[string]string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithName(value string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithNamespace(value string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithResourceVersion(value string) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithSpec(value *GrafanaResourceDefinitionSpecApplyConfiguration) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithStatus(value *GrafanaResourceDefinitionStatusApplyConfiguration) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionApplyConfiguration) WithUID(value types.UID) *GrafanaResourceDefinitionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *GrafanaResourceDefinitionConditionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithMessage(value string) *GrafanaResourceDefinitionConditionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithReason(value string) *GrafanaResourceDefinitionConditionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *GrafanaResourceDefinitionConditionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionConditionApplyConfiguration) WithType(value v1.GrafanaResourceDefinitionConditionType) *GrafanaResourceDefinitionConditionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithCategories(values ...string) *GrafanaResourceDefinitionNamesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithKind(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithListKind(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithPlural(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithShortNames(values ...string) *GrafanaResourceDefinitionNamesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionNamesApplyConfiguration) WithSingular(value string) *GrafanaResourceDefinitionNamesApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithGroup(value string) *GrafanaResourceDefinitionSpecApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithNames(value *GrafanaResourceDefinitionNamesApplyConfiguration) *GrafanaResourceDefinitionSpecApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithPreserveUnknownFields(value bool) *GrafanaResourceDefinitionSpecApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithScope(value kindsv1.ResourceScope) *GrafanaResourceDefinitionSpecApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionSpecApplyConfiguration) WithVersions(values ...*GrafanaResourceDefinitionVersionApplyConfiguration) *GrafanaResourceDefinitionSpecApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionStatusApplyConfiguration) WithAcceptedNames(value *GrafanaResourceDefinitionNamesApplyConfiguration) *GrafanaResourceDefinitionStatusApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionStatusApplyConfiguration) WithConditions(values ...*GrafanaResourceDefinitionConditionApplyConfiguration) *GrafanaResourceDefinitionStatusApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionStatusApplyConfiguration) WithStoredVersions(values ...string) *GrafanaResourceDefinitionStatusApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithDeprecated(value bool) *GrafanaResourceDefinitionVersionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithDeprecationWarning(value string) *GrafanaResourceDefinitionVersionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithName(value string) *GrafanaResourceDefinitionVersionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithServed(value bool) *GrafanaResourceDefinitionVersionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithStorage(value bool) *GrafanaResourceDefinitionVersionApplyConfiguration
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 ¶
func (b *GrafanaResourceDefinitionVersionApplyConfiguration) WithSubresources(value *GrafanaResourceSubresourcesApplyConfiguration) *GrafanaResourceDefinitionVersionApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourceScaleApplyConfiguration) WithLabelSelectorPath(value string) *GrafanaResourceSubresourceScaleApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourceScaleApplyConfiguration) WithSpecReplicasPath(value string) *GrafanaResourceSubresourceScaleApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourceScaleApplyConfiguration) WithStatusReplicasPath(value string) *GrafanaResourceSubresourceScaleApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourcesApplyConfiguration) WithHistory(value v1.GrafanaResourceSubresourceHistory) *GrafanaResourceSubresourcesApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourcesApplyConfiguration) WithRef(value v1.GrafanaResourceSubresourceRef) *GrafanaResourceSubresourcesApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourcesApplyConfiguration) WithScale(value *GrafanaResourceSubresourceScaleApplyConfiguration) *GrafanaResourceSubresourcesApplyConfiguration
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 ¶
func (b *GrafanaResourceSubresourcesApplyConfiguration) WithStatus(value v1.GrafanaResourceSubresourceStatus) *GrafanaResourceSubresourcesApplyConfiguration
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.