5ecfc79e14
* Provisioning: Add Connection resource * adding some more integration tests * updating openapi snapshot, linting * generating FE code, fixing issue in unit tests * addressing comments * addressing comments * adding more integration tests * fixing rebase issues * removing linting exception * addressing comments: improving validation and tests * adding Connection URL at mutation time, updating tests accordingly * linting
35 lines
1.5 KiB
Go
35 lines
1.5 KiB
Go
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
|
|
|
package v0alpha1
|
|
|
|
// GitHubConnectionConfigApplyConfiguration represents a declarative configuration of the GitHubConnectionConfig type for use
|
|
// with apply.
|
|
type GitHubConnectionConfigApplyConfiguration struct {
|
|
AppID *string `json:"appID,omitempty"`
|
|
InstallationID *string `json:"installationID,omitempty"`
|
|
}
|
|
|
|
// GitHubConnectionConfigApplyConfiguration constructs a declarative configuration of the GitHubConnectionConfig type for use with
|
|
// apply.
|
|
func GitHubConnectionConfig() *GitHubConnectionConfigApplyConfiguration {
|
|
return &GitHubConnectionConfigApplyConfiguration{}
|
|
}
|
|
|
|
// WithAppID sets the AppID 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 AppID field is set to the value of the last call.
|
|
func (b *GitHubConnectionConfigApplyConfiguration) WithAppID(value string) *GitHubConnectionConfigApplyConfiguration {
|
|
b.AppID = &value
|
|
return b
|
|
}
|
|
|
|
// WithInstallationID sets the InstallationID 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 InstallationID field is set to the value of the last call.
|
|
func (b *GitHubConnectionConfigApplyConfiguration) WithInstallationID(value string) *GitHubConnectionConfigApplyConfiguration {
|
|
b.InstallationID = &value
|
|
return b
|
|
}
|