bitbucketbuildtrigger

package
v0.1.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitbucketBuildTriggerFieldGroup

type BitbucketBuildTriggerFieldGroup struct {
	BitbucketTriggerConfig *BitbucketTriggerConfigStruct `default:"" validate:"" json:"BITBUCKET_TRIGGER_CONFIG,omitempty" yaml:"BITBUCKET_TRIGGER_CONFIG,omitempty"`
	FeatureBitbucketBuild  bool                          `default:"false" validate:"" json:"FEATURE_BITBUCKET_BUILD" yaml:"FEATURE_BITBUCKET_BUILD"`
	FeatureBuildSupport    bool                          `default:"" validate:"" json:"FEATURE_BUILD_SUPPORT" yaml:"FEATURE_BUILD_SUPPORT"`
}

BitbucketBuildTriggerFieldGroup represents the BitbucketBuildTriggerFieldGroup config fields

func NewBitbucketBuildTriggerFieldGroup

func NewBitbucketBuildTriggerFieldGroup(fullConfig map[string]interface{}) (*BitbucketBuildTriggerFieldGroup, error)

NewBitbucketBuildTriggerFieldGroup creates a new BitbucketBuildTriggerFieldGroup

func (*BitbucketBuildTriggerFieldGroup) Fields

func (fg *BitbucketBuildTriggerFieldGroup) Fields() []string

Fields returns a list of strings representing the fields in this field group

func (*BitbucketBuildTriggerFieldGroup) Validate

Validate checks the configuration settings for this field group

type BitbucketTriggerConfigStruct

type BitbucketTriggerConfigStruct struct {
	ConsumerKey    string `default:"" validate:"" json:"CONSUMER_KEY,omitempty" yaml:"CONSUMER_KEY,omitempty"`
	ConsumerSecret string `default:"" validate:"" json:"CONSUMER_SECRET,omitempty" yaml:"CONSUMER_SECRET,omitempty"`
}

BitbucketTriggerConfigStruct represents the BitbucketTriggerConfigStruct config fields

func NewBitbucketTriggerConfigStruct

func NewBitbucketTriggerConfigStruct(fullConfig map[string]interface{}) (*BitbucketTriggerConfigStruct, error)

NewBitbucketTriggerConfigStruct creates a new BitbucketTriggerConfigStruct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL