Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the config v1 API group.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.bankdata.dk", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type GitCredential ¶
type GitCredential struct {
User string `json:"user"`
Password string `json:"password"`
RepoPrefix string `json:"repoPrefix"`
}
GitCredential defines the structure of a git credential.
func (*GitCredential) DeepCopy ¶
func (in *GitCredential) DeepCopy() *GitCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCredential.
func (*GitCredential) DeepCopyInto ¶
func (in *GitCredential) DeepCopyInto(out *GitCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectConfig ¶
type ProjectConfig struct {
metav1.TypeMeta `json:",inline"`
cfg.ControllerManagerConfigurationSpec `json:",inline"`
StyraToken string `json:"styraToken"`
StyraAddress string `json:"styraAddress"`
StyraSystemUserRoles []string `json:"styraSystemUserRoles"`
StyraSystemPrefix string `json:"styraSystemPrefix"`
StyraSystemSuffix string `json:"styraSystemSuffix"`
LogLevel int `json:"logLevel"`
SentryDSN string `json:"sentryDSN"`
SentryDebug bool `json:"sentryDebug"`
Environment string `json:"environment"`
SentryHTTPSProxy string `json:"sentryHTTPSProxy"`
ControllerClass string `json:"controllerClass"`
WebhooksDisabled bool `json:"webhooksDisabled"`
DatasourceWebhookAddress string `json:"datasourceWebhookAddress"`
IdentityProvider string `json:"identityProvider"`
JwtGroupClaim string `json:"jwtGroupClaim"`
MigrationEnabled bool `json:"migrationEnabled"`
GitCredentials []*GitCredential `json:"gitCredentials"`
// Only used by the now deprecated StyraSystem controller
GitUser string `json:"gitUser"`
GitPassword string `json:"gitPassword"`
}
ProjectConfig is the Schema for the projectconfigs API
func (*ProjectConfig) DeepCopy ¶
func (in *ProjectConfig) DeepCopy() *ProjectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfig.
func (*ProjectConfig) DeepCopyInto ¶
func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectConfig) DeepCopyObject ¶
func (in *ProjectConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectConfig) ToV2Alpha1 ¶ added in v0.3.0
func (c *ProjectConfig) ToV2Alpha1() *v2alpha1.ProjectConfig
ToV2Alpha1 returns this ProjectConfig converted to a v2alpha1.ProjectConfig