Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitLabBuildTriggerFieldGroup ¶
type GitLabBuildTriggerFieldGroup struct { FeatureBuildSupport bool `default:"false" validate:"" json:"FEATURE_BUILD_SUPPORT" yaml:"FEATURE_BUILD_SUPPORT"` FeatureGitlabBuild bool `default:"false" validate:"" json:"FEATURE_GITLAB_BUILD" yaml:"FEATURE_GITLAB_BUILD"` GitlabTriggerConfig *GitlabTriggerConfigStruct `default:"" validate:"" json:"GITLAB_TRIGGER_CONFIG,omitempty" yaml:"GITLAB_TRIGGER_CONFIG,omitempty"` }
GitLabBuildTriggerFieldGroup represents the GitLabBuildTriggerFieldGroup config fields
func NewGitLabBuildTriggerFieldGroup ¶
func NewGitLabBuildTriggerFieldGroup(fullConfig map[string]interface{}) (*GitLabBuildTriggerFieldGroup, error)
NewGitLabBuildTriggerFieldGroup creates a new GitLabBuildTriggerFieldGroup
func (*GitLabBuildTriggerFieldGroup) Fields ¶
func (fg *GitLabBuildTriggerFieldGroup) Fields() []string
Fields returns a list of strings representing the fields in this field group
func (*GitLabBuildTriggerFieldGroup) Validate ¶
func (fg *GitLabBuildTriggerFieldGroup) Validate(opts shared.Options) []shared.ValidationError
Validate checks the configuration settings for this field group
type GitlabTriggerConfigStruct ¶
type GitlabTriggerConfigStruct struct { GitlabEndpoint string `default:"https://gitlab.com/" validate:"" json:"GITLAB_ENDPOINT,omitempty" yaml:"GITLAB_ENDPOINT,omitempty"` ClientId string `default:"" validate:"" json:"CLIENT_ID,omitempty" yaml:"CLIENT_ID,omitempty"` ClientSecret string `default:"" validate:"" json:"CLIENT_SECRET,omitempty" yaml:"CLIENT_SECRET,omitempty"` }
GitlabTriggerConfigStruct represents the GitlabTriggerConfigStruct config fields
func NewGitlabTriggerConfigStruct ¶
func NewGitlabTriggerConfigStruct(fullConfig map[string]interface{}) (*GitlabTriggerConfigStruct, error)
NewGitlabTriggerConfigStruct creates a new GitlabTriggerConfigStruct
Click to show internal directories.
Click to hide internal directories.