mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 14:12:26 +08:00

Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com> Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
26 lines
1.0 KiB
Go
26 lines
1.0 KiB
Go
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
|
|
|
package v0alpha1
|
|
|
|
// LocalRepositoryConfigApplyConfiguration represents a declarative configuration of the LocalRepositoryConfig type for use
|
|
// with apply.
|
|
type LocalRepositoryConfigApplyConfiguration struct {
|
|
Path *string `json:"path,omitempty"`
|
|
}
|
|
|
|
// LocalRepositoryConfigApplyConfiguration constructs a declarative configuration of the LocalRepositoryConfig type for use with
|
|
// apply.
|
|
func LocalRepositoryConfig() *LocalRepositoryConfigApplyConfiguration {
|
|
return &LocalRepositoryConfigApplyConfiguration{}
|
|
}
|
|
|
|
// WithPath sets the Path 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 Path field is set to the value of the last call.
|
|
func (b *LocalRepositoryConfigApplyConfiguration) WithPath(value string) *LocalRepositoryConfigApplyConfiguration {
|
|
b.Path = &value
|
|
return b
|
|
}
|