Documentation
¶
Index ¶
- Constants
- type ContextEnvVarInfo
- type ContextEnvVarPayload
- type ContextEnvVarsInfo
- type ContextInfo
- type ContextPayload
- type ContextPayloadOwner
- type ContextsInfo
- type DayOfAMonth
- type DayOfAWeek
- type Deleted
- type Errored
- type HourOfADay
- type Month
- type OrgLevelClaimsInfo
- type OrgLevelClaimsPayload
- type ProjectCheckoutKeyInfo
- func (m *ProjectCheckoutKeyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectCheckoutKeyInfo) MarshalBinary() ([]byte, error)
- func (m *ProjectCheckoutKeyInfo) UnmarshalBinary(b []byte) error
- func (m *ProjectCheckoutKeyInfo) Validate(formats strfmt.Registry) error
- type ProjectCheckoutKeyPayload
- func (m *ProjectCheckoutKeyPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectCheckoutKeyPayload) MarshalBinary() ([]byte, error)
- func (m *ProjectCheckoutKeyPayload) UnmarshalBinary(b []byte) error
- func (m *ProjectCheckoutKeyPayload) Validate(formats strfmt.Registry) error
- type ProjectCheckoutKeysInfo
- func (m *ProjectCheckoutKeysInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectCheckoutKeysInfo) MarshalBinary() ([]byte, error)
- func (m *ProjectCheckoutKeysInfo) UnmarshalBinary(b []byte) error
- func (m *ProjectCheckoutKeysInfo) Validate(formats strfmt.Registry) error
- type ProjectEnvVarInfo
- func (m *ProjectEnvVarInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectEnvVarInfo) MarshalBinary() ([]byte, error)
- func (m ProjectEnvVarInfo) MarshalJSON() ([]byte, error)
- func (m *ProjectEnvVarInfo) UnmarshalBinary(b []byte) error
- func (m *ProjectEnvVarInfo) UnmarshalJSON(raw []byte) error
- func (m *ProjectEnvVarInfo) Validate(formats strfmt.Registry) error
- type ProjectEnvVarPayload
- type ProjectEnvVarsInfo
- type ProjectInfo
- type ProjectInfoVcsInfo
- type ProjectLevelClaimsInfo
- func (m *ProjectLevelClaimsInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectLevelClaimsInfo) MarshalBinary() ([]byte, error)
- func (m ProjectLevelClaimsInfo) MarshalJSON() ([]byte, error)
- func (m *ProjectLevelClaimsInfo) UnmarshalBinary(b []byte) error
- func (m *ProjectLevelClaimsInfo) UnmarshalJSON(raw []byte) error
- func (m *ProjectLevelClaimsInfo) Validate(formats strfmt.Registry) error
- type ProjectLevelClaimsPayload
- func (m *ProjectLevelClaimsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectLevelClaimsPayload) MarshalBinary() ([]byte, error)
- func (m ProjectLevelClaimsPayload) MarshalJSON() ([]byte, error)
- func (m *ProjectLevelClaimsPayload) UnmarshalBinary(b []byte) error
- func (m *ProjectLevelClaimsPayload) UnmarshalJSON(raw []byte) error
- func (m *ProjectLevelClaimsPayload) Validate(formats strfmt.Registry) error
- type ScheduleBaseData
- type ScheduleBaseDataParameters
- func (m *ScheduleBaseDataParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ScheduleBaseDataParameters) MarshalBinary() ([]byte, error)
- func (m ScheduleBaseDataParameters) MarshalJSON() ([]byte, error)
- func (m *ScheduleBaseDataParameters) UnmarshalBinary(b []byte) error
- func (m *ScheduleBaseDataParameters) UnmarshalJSON(data []byte) error
- func (m *ScheduleBaseDataParameters) Validate(formats strfmt.Registry) error
- type ScheduleBaseDataTimetable
- func (m *ScheduleBaseDataTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ScheduleBaseDataTimetable) MarshalBinary() ([]byte, error)
- func (m *ScheduleBaseDataTimetable) UnmarshalBinary(b []byte) error
- func (m *ScheduleBaseDataTimetable) Validate(formats strfmt.Registry) error
- type ScheduleInfo
- func (m *ScheduleInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ScheduleInfo) MarshalBinary() ([]byte, error)
- func (m ScheduleInfo) MarshalJSON() ([]byte, error)
- func (m *ScheduleInfo) UnmarshalBinary(b []byte) error
- func (m *ScheduleInfo) UnmarshalJSON(raw []byte) error
- func (m *ScheduleInfo) Validate(formats strfmt.Registry) error
- type SchedulePayload
- func (m *SchedulePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SchedulePayload) MarshalBinary() ([]byte, error)
- func (m SchedulePayload) MarshalJSON() ([]byte, error)
- func (m *SchedulePayload) UnmarshalBinary(b []byte) error
- func (m *SchedulePayload) UnmarshalJSON(raw []byte) error
- func (m *SchedulePayload) Validate(formats strfmt.Registry) error
- type SchedulesInfo
- type User
- type WebhookBasePayload
- type WebhookBasePayloadScope
- func (m *WebhookBasePayloadScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WebhookBasePayloadScope) MarshalBinary() ([]byte, error)
- func (m *WebhookBasePayloadScope) UnmarshalBinary(b []byte) error
- func (m *WebhookBasePayloadScope) Validate(formats strfmt.Registry) error
- type WebhookInfo
- func (m *WebhookInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WebhookInfo) MarshalBinary() ([]byte, error)
- func (m WebhookInfo) MarshalJSON() ([]byte, error)
- func (m *WebhookInfo) UnmarshalBinary(b []byte) error
- func (m *WebhookInfo) UnmarshalJSON(raw []byte) error
- func (m *WebhookInfo) Validate(formats strfmt.Registry) error
- type WebhookPayloadForRequest
- func (m *WebhookPayloadForRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WebhookPayloadForRequest) MarshalBinary() ([]byte, error)
- func (m WebhookPayloadForRequest) MarshalJSON() ([]byte, error)
- func (m *WebhookPayloadForRequest) UnmarshalBinary(b []byte) error
- func (m *WebhookPayloadForRequest) UnmarshalJSON(raw []byte) error
- func (m *WebhookPayloadForRequest) Validate(formats strfmt.Registry) error
- type WebhookPayloadForResponse
- func (m *WebhookPayloadForResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WebhookPayloadForResponse) MarshalBinary() ([]byte, error)
- func (m WebhookPayloadForResponse) MarshalJSON() ([]byte, error)
- func (m *WebhookPayloadForResponse) UnmarshalBinary(b []byte) error
- func (m *WebhookPayloadForResponse) UnmarshalJSON(raw []byte) error
- func (m *WebhookPayloadForResponse) Validate(formats strfmt.Registry) error
- type WebhooksInfo
Constants ¶
const ( // ContextPayloadOwnerTypeAccount captures enum value "account" ContextPayloadOwnerTypeAccount string = "account" // ContextPayloadOwnerTypeOrganization captures enum value "organization" ContextPayloadOwnerTypeOrganization string = "organization" )
const ( // ProjectCheckoutKeyInfoTypeGithubDashUserDashKey captures enum value "github-user-key" ProjectCheckoutKeyInfoTypeGithubDashUserDashKey string = "github-user-key" // ProjectCheckoutKeyInfoTypeDeployDashKey captures enum value "deploy-key" ProjectCheckoutKeyInfoTypeDeployDashKey string = "deploy-key" )
const ( // ProjectCheckoutKeyPayloadTypeUserDashKey captures enum value "user-key" ProjectCheckoutKeyPayloadTypeUserDashKey string = "user-key" // ProjectCheckoutKeyPayloadTypeDeployDashKey captures enum value "deploy-key" ProjectCheckoutKeyPayloadTypeDeployDashKey string = "deploy-key" )
const ( // ProjectInfoVcsInfoProviderBitbucket captures enum value "Bitbucket" ProjectInfoVcsInfoProviderBitbucket string = "Bitbucket" // ProjectInfoVcsInfoProviderGitHub captures enum value "GitHub" ProjectInfoVcsInfoProviderGitHub string = "GitHub" // ProjectInfoVcsInfoProviderCircleCI captures enum value "CircleCI" ProjectInfoVcsInfoProviderCircleCI string = "CircleCI" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextEnvVarInfo ¶ added in v0.2.4
type ContextEnvVarInfo struct { // ID of the context // Format: uuid ContextID strfmt.UUID `json:"context_id,omitempty"` // The date and time the environment variable was created // Example: 2023-02-10T04:49:36.117Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // The date and time the environment variable was last updated // Example: 2023-02-10T04:49:36.117Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // The name of the environment variable Variable string `json:"variable,omitempty"` }
ContextEnvVarInfo context env var info
swagger:model ContextEnvVarInfo
func (*ContextEnvVarInfo) ContextValidate ¶ added in v0.2.4
ContextValidate validates this context env var info based on context it is used
func (*ContextEnvVarInfo) MarshalBinary ¶ added in v0.2.4
func (m *ContextEnvVarInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextEnvVarInfo) UnmarshalBinary ¶ added in v0.2.4
func (m *ContextEnvVarInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContextEnvVarPayload ¶ added in v0.2.4
type ContextEnvVarPayload struct { // The value of the environment variable. // Required: true Value *string `json:"value"` }
ContextEnvVarPayload context env var payload
swagger:model ContextEnvVarPayload
func (*ContextEnvVarPayload) ContextValidate ¶ added in v0.2.4
ContextValidate validates this context env var payload based on context it is used
func (*ContextEnvVarPayload) MarshalBinary ¶ added in v0.2.4
func (m *ContextEnvVarPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextEnvVarPayload) UnmarshalBinary ¶ added in v0.2.4
func (m *ContextEnvVarPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContextEnvVarsInfo ¶ added in v0.2.4
type ContextEnvVarsInfo struct { // items Items []*ContextEnvVarInfo `json:"items"` // next page token NextPageToken string `json:"next_page_token,omitempty"` }
ContextEnvVarsInfo context env vars info
swagger:model ContextEnvVarsInfo
func (*ContextEnvVarsInfo) ContextValidate ¶ added in v0.2.4
ContextValidate validate this context env vars info based on the context it is used
func (*ContextEnvVarsInfo) MarshalBinary ¶ added in v0.2.4
func (m *ContextEnvVarsInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextEnvVarsInfo) UnmarshalBinary ¶ added in v0.2.4
func (m *ContextEnvVarsInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContextInfo ¶ added in v0.2.3
type ContextInfo struct { // The date and time the context was created // Example: 2023-02-10T04:49:36.117Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // The unique ID of the context. // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // The user-defined name of the context Name string `json:"name,omitempty"` }
ContextInfo context info
swagger:model ContextInfo
func (*ContextInfo) ContextValidate ¶ added in v0.2.3
ContextValidate validates this context info based on context it is used
func (*ContextInfo) MarshalBinary ¶ added in v0.2.3
func (m *ContextInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextInfo) UnmarshalBinary ¶ added in v0.2.3
func (m *ContextInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContextPayload ¶ added in v0.2.3
type ContextPayload struct { // The user-defined name of the context. // Required: true Name *string `json:"name"` // owner // Required: true Owner *ContextPayloadOwner `json:"owner"` }
ContextPayload context payload
swagger:model ContextPayload
func (*ContextPayload) ContextValidate ¶ added in v0.2.3
ContextValidate validate this context payload based on the context it is used
func (*ContextPayload) MarshalBinary ¶ added in v0.2.3
func (m *ContextPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextPayload) UnmarshalBinary ¶ added in v0.2.3
func (m *ContextPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContextPayloadOwner ¶ added in v0.2.3
type ContextPayloadOwner struct { // The unique identifier name of the owner of the context. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // The type of the owner. Defaults to `organization`. Accounts are only used as context owners in server. // Required: true // Enum: [account organization] Type *string `json:"type"` }
ContextPayloadOwner context payload owner
swagger:model ContextPayloadOwner
func (*ContextPayloadOwner) ContextValidate ¶ added in v0.2.3
ContextValidate validates this context payload owner based on context it is used
func (*ContextPayloadOwner) MarshalBinary ¶ added in v0.2.3
func (m *ContextPayloadOwner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextPayloadOwner) UnmarshalBinary ¶ added in v0.2.3
func (m *ContextPayloadOwner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContextsInfo ¶ added in v0.2.3
type ContextsInfo struct { // items Items []*ContextInfo `json:"items"` // next page token NextPageToken string `json:"next_page_token,omitempty"` }
ContextsInfo contexts info
swagger:model ContextsInfo
func (*ContextsInfo) ContextValidate ¶ added in v0.2.3
ContextValidate validate this contexts info based on the context it is used
func (*ContextsInfo) MarshalBinary ¶ added in v0.2.3
func (m *ContextsInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContextsInfo) UnmarshalBinary ¶ added in v0.2.3
func (m *ContextsInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DayOfAMonth ¶
type DayOfAMonth int64
DayOfAMonth day of a month
swagger:model DayOfAMonth
func (DayOfAMonth) ContextValidate ¶
ContextValidate validates this day of a month based on context it is used
type DayOfAWeek ¶
type DayOfAWeek string
DayOfAWeek day of a week
swagger:model DayOfAWeek
const ( // DayOfAWeekMON captures enum value "MON" DayOfAWeekMON DayOfAWeek = "MON" // DayOfAWeekTUE captures enum value "TUE" DayOfAWeekTUE DayOfAWeek = "TUE" // DayOfAWeekWED captures enum value "WED" DayOfAWeekWED DayOfAWeek = "WED" // DayOfAWeekTHU captures enum value "THU" DayOfAWeekTHU DayOfAWeek = "THU" // DayOfAWeekFRI captures enum value "FRI" DayOfAWeekFRI DayOfAWeek = "FRI" // DayOfAWeekSAT captures enum value "SAT" DayOfAWeekSAT DayOfAWeek = "SAT" // DayOfAWeekSUN captures enum value "SUN" DayOfAWeekSUN DayOfAWeek = "SUN" )
func NewDayOfAWeek ¶
func NewDayOfAWeek(value DayOfAWeek) *DayOfAWeek
func (DayOfAWeek) ContextValidate ¶
ContextValidate validates this day of a week based on context it is used
func (DayOfAWeek) Pointer ¶
func (m DayOfAWeek) Pointer() *DayOfAWeek
Pointer returns a pointer to a freshly-allocated DayOfAWeek.
type Deleted ¶
type Deleted struct { // A human-readable message Message string `json:"message,omitempty"` }
Deleted deleted
swagger:model Deleted
func (*Deleted) ContextValidate ¶
ContextValidate validates this deleted based on context it is used
func (*Deleted) MarshalBinary ¶
MarshalBinary interface implementation
func (*Deleted) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Errored ¶
type Errored struct { // Error message Message string `json:"message,omitempty"` }
Errored errored
swagger:model Errored
func (*Errored) ContextValidate ¶
ContextValidate validates this errored based on context it is used
func (*Errored) MarshalBinary ¶
MarshalBinary interface implementation
func (*Errored) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HourOfADay ¶
type HourOfADay int64
HourOfADay hour of a day
swagger:model HourOfADay
func (HourOfADay) ContextValidate ¶
ContextValidate validates this hour of a day based on context it is used
type Month ¶
type Month string
Month month
swagger:model Month
const ( // MonthJAN captures enum value "JAN" MonthJAN Month = "JAN" // MonthFEB captures enum value "FEB" MonthFEB Month = "FEB" // MonthMAR captures enum value "MAR" MonthMAR Month = "MAR" // MonthAPR captures enum value "APR" MonthAPR Month = "APR" // MonthMAY captures enum value "MAY" MonthMAY Month = "MAY" // MonthJUN captures enum value "JUN" MonthJUN Month = "JUN" // MonthJUL captures enum value "JUL" MonthJUL Month = "JUL" // MonthAUG captures enum value "AUG" MonthAUG Month = "AUG" // MonthSEP captures enum value "SEP" MonthSEP Month = "SEP" // MonthOCT captures enum value "OCT" MonthOCT Month = "OCT" // MonthNOV captures enum value "NOV" MonthNOV Month = "NOV" // MonthDEC captures enum value "DEC" MonthDEC Month = "DEC" )
func (Month) ContextValidate ¶
ContextValidate validates this month based on context it is used
type OrgLevelClaimsInfo ¶ added in v0.2.6
type OrgLevelClaimsInfo struct { // List of audience. Audience []string `json:"audience"` // The date and time the audience list was updated. // Format: date-time AudienceUpdatedAt strfmt.DateTime `json:"audience_updated_at,omitempty"` // The unique ID of the organization. // Format: uuid OrgID strfmt.UUID `json:"org_id,omitempty"` // Time to live (JSON duration). // Example: 20d TTL string `json:"ttl,omitempty"` // The date and time the TTL was updated. // Format: date-time TTLUpdatedAt strfmt.DateTime `json:"ttl_updated_at,omitempty"` }
OrgLevelClaimsInfo org level claims info
swagger:model OrgLevelClaimsInfo
func (*OrgLevelClaimsInfo) ContextValidate ¶ added in v0.2.6
ContextValidate validates this org level claims info based on context it is used
func (*OrgLevelClaimsInfo) MarshalBinary ¶ added in v0.2.6
func (m *OrgLevelClaimsInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgLevelClaimsInfo) UnmarshalBinary ¶ added in v0.2.6
func (m *OrgLevelClaimsInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgLevelClaimsPayload ¶ added in v0.2.6
type OrgLevelClaimsPayload struct { // List of audience. // Required: true Audience []string `json:"audience"` // Time to live (JSON duration). // Example: 20d // Required: true TTL *string `json:"ttl"` }
OrgLevelClaimsPayload org level claims payload
swagger:model OrgLevelClaimsPayload
func (*OrgLevelClaimsPayload) ContextValidate ¶ added in v0.2.6
ContextValidate validates this org level claims payload based on context it is used
func (*OrgLevelClaimsPayload) MarshalBinary ¶ added in v0.2.6
func (m *OrgLevelClaimsPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgLevelClaimsPayload) UnmarshalBinary ¶ added in v0.2.6
func (m *OrgLevelClaimsPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectCheckoutKeyInfo ¶ added in v0.2.0
type ProjectCheckoutKeyInfo struct { // The date and time the webhook was created // Example: 2023-02-10T04:49:36.117Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // An SSH key fingerprint Fingerprint string `json:"fingerprint,omitempty"` // A boolean value that indicates if this key is preferred. // Example: true Preferred *bool `json:"preferred,omitempty"` // A public SSH key PublicKey string `json:"public_key,omitempty"` // type // Example: deploy-key // Enum: [github-user-key deploy-key] Type string `json:"type,omitempty"` }
ProjectCheckoutKeyInfo project checkout key info
swagger:model ProjectCheckoutKeyInfo
func (*ProjectCheckoutKeyInfo) ContextValidate ¶ added in v0.2.0
func (m *ProjectCheckoutKeyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project checkout key info based on context it is used
func (*ProjectCheckoutKeyInfo) MarshalBinary ¶ added in v0.2.0
func (m *ProjectCheckoutKeyInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectCheckoutKeyInfo) UnmarshalBinary ¶ added in v0.2.0
func (m *ProjectCheckoutKeyInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectCheckoutKeyPayload ¶ added in v0.2.0
type ProjectCheckoutKeyPayload struct { // type // Example: deploy-key // Enum: [user-key deploy-key] Type string `json:"type,omitempty"` }
ProjectCheckoutKeyPayload project checkout key payload
swagger:model ProjectCheckoutKeyPayload
func (*ProjectCheckoutKeyPayload) ContextValidate ¶ added in v0.2.0
func (m *ProjectCheckoutKeyPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project checkout key payload based on context it is used
func (*ProjectCheckoutKeyPayload) MarshalBinary ¶ added in v0.2.0
func (m *ProjectCheckoutKeyPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectCheckoutKeyPayload) UnmarshalBinary ¶ added in v0.2.0
func (m *ProjectCheckoutKeyPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectCheckoutKeysInfo ¶ added in v0.2.0
type ProjectCheckoutKeysInfo struct { // items Items []*ProjectCheckoutKeyInfo `json:"items"` // next page token NextPageToken string `json:"next_page_token,omitempty"` }
ProjectCheckoutKeysInfo project checkout keys info
swagger:model ProjectCheckoutKeysInfo
func (*ProjectCheckoutKeysInfo) ContextValidate ¶ added in v0.2.0
func (m *ProjectCheckoutKeysInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project checkout keys info based on the context it is used
func (*ProjectCheckoutKeysInfo) MarshalBinary ¶ added in v0.2.0
func (m *ProjectCheckoutKeysInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectCheckoutKeysInfo) UnmarshalBinary ¶ added in v0.2.0
func (m *ProjectCheckoutKeysInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectEnvVarInfo ¶ added in v0.1.2
type ProjectEnvVarInfo struct {
ProjectEnvVarPayload
}
ProjectEnvVarInfo project env var info
swagger:model ProjectEnvVarInfo
func (*ProjectEnvVarInfo) ContextValidate ¶ added in v0.1.2
ContextValidate validate this project env var info based on the context it is used
func (*ProjectEnvVarInfo) MarshalBinary ¶ added in v0.1.2
func (m *ProjectEnvVarInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProjectEnvVarInfo) MarshalJSON ¶ added in v0.1.2
func (m ProjectEnvVarInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ProjectEnvVarInfo) UnmarshalBinary ¶ added in v0.1.2
func (m *ProjectEnvVarInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProjectEnvVarInfo) UnmarshalJSON ¶ added in v0.1.2
func (m *ProjectEnvVarInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ProjectEnvVarPayload ¶ added in v0.1.2
type ProjectEnvVarPayload struct { // The name of the environment variable. // Required: true Name *string `json:"name"` // The value of the environment variable. // Required: true Value *string `json:"value"` }
ProjectEnvVarPayload project env var payload
swagger:model ProjectEnvVarPayload
func (*ProjectEnvVarPayload) ContextValidate ¶ added in v0.1.2
ContextValidate validates this project env var payload based on context it is used
func (*ProjectEnvVarPayload) MarshalBinary ¶ added in v0.1.2
func (m *ProjectEnvVarPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectEnvVarPayload) UnmarshalBinary ¶ added in v0.1.2
func (m *ProjectEnvVarPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectEnvVarsInfo ¶ added in v0.1.2
type ProjectEnvVarsInfo struct { // items Items []*ProjectEnvVarInfo `json:"items"` // next page token NextPageToken string `json:"next_page_token,omitempty"` }
ProjectEnvVarsInfo project env vars info
swagger:model ProjectEnvVarsInfo
func (*ProjectEnvVarsInfo) ContextValidate ¶ added in v0.1.2
ContextValidate validate this project env vars info based on the context it is used
func (*ProjectEnvVarsInfo) MarshalBinary ¶ added in v0.1.2
func (m *ProjectEnvVarsInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectEnvVarsInfo) UnmarshalBinary ¶ added in v0.1.2
func (m *ProjectEnvVarsInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectInfo ¶ added in v0.2.0
type ProjectInfo struct { // The unique identifer for the project // Example: c124cca6-d03e-4733-b84d-32b02347b78c // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // The name of the project // Example: Foobar Name string `json:"name,omitempty"` // The identifier of the organization the project belongs to // Format: uuid OrganizationID strfmt.UUID `json:"organization_id,omitempty"` // The name of the organization the project belongs to OrganizationName string `json:"organization_name,omitempty"` // The slug of the organization the project belongs to OrganizationSlug string `json:"organization_slug,omitempty"` // Project slug in the form vcs-slug/org-name/repo-name. The / characters may be URL-escaped. // Example: github/acme/foobar Slug string `json:"slug,omitempty"` // vcs info VcsInfo *ProjectInfoVcsInfo `json:"vcs_info,omitempty"` }
ProjectInfo project info
swagger:model ProjectInfo
func (*ProjectInfo) ContextValidate ¶ added in v0.2.0
ContextValidate validate this project info based on the context it is used
func (*ProjectInfo) MarshalBinary ¶ added in v0.2.0
func (m *ProjectInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectInfo) UnmarshalBinary ¶ added in v0.2.0
func (m *ProjectInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectInfoVcsInfo ¶ added in v0.2.0
type ProjectInfoVcsInfo struct { // Name of the default branch for the project // Example: main DefaultBranch string `json:"default_branch,omitempty"` // The VCS provider // Enum: [Bitbucket GitHub CircleCI] Provider string `json:"provider,omitempty"` // URL to the repository hosting the project's code // Example: https://github.com/acmeorg/foobar VcsURL string `json:"vcs_url,omitempty"` }
ProjectInfoVcsInfo Information about the VCS that hosts the project source code
swagger:model ProjectInfoVcsInfo
func (*ProjectInfoVcsInfo) ContextValidate ¶ added in v0.2.0
ContextValidate validates this project info vcs info based on context it is used
func (*ProjectInfoVcsInfo) MarshalBinary ¶ added in v0.2.0
func (m *ProjectInfoVcsInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectInfoVcsInfo) UnmarshalBinary ¶ added in v0.2.0
func (m *ProjectInfoVcsInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectLevelClaimsInfo ¶ added in v0.2.7
type ProjectLevelClaimsInfo struct { OrgLevelClaimsInfo // The unique ID of the project. // Format: uuid ProjectID strfmt.UUID `json:"project_id,omitempty"` }
ProjectLevelClaimsInfo project level claims info
swagger:model ProjectLevelClaimsInfo
func (*ProjectLevelClaimsInfo) ContextValidate ¶ added in v0.2.7
func (m *ProjectLevelClaimsInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project level claims info based on the context it is used
func (*ProjectLevelClaimsInfo) MarshalBinary ¶ added in v0.2.7
func (m *ProjectLevelClaimsInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProjectLevelClaimsInfo) MarshalJSON ¶ added in v0.2.7
func (m ProjectLevelClaimsInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ProjectLevelClaimsInfo) UnmarshalBinary ¶ added in v0.2.7
func (m *ProjectLevelClaimsInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProjectLevelClaimsInfo) UnmarshalJSON ¶ added in v0.2.7
func (m *ProjectLevelClaimsInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ProjectLevelClaimsPayload ¶ added in v0.2.7
type ProjectLevelClaimsPayload struct {
OrgLevelClaimsPayload
}
ProjectLevelClaimsPayload project level claims payload
swagger:model ProjectLevelClaimsPayload
func (*ProjectLevelClaimsPayload) ContextValidate ¶ added in v0.2.7
func (m *ProjectLevelClaimsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project level claims payload based on the context it is used
func (*ProjectLevelClaimsPayload) MarshalBinary ¶ added in v0.2.7
func (m *ProjectLevelClaimsPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProjectLevelClaimsPayload) MarshalJSON ¶ added in v0.2.7
func (m ProjectLevelClaimsPayload) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ProjectLevelClaimsPayload) UnmarshalBinary ¶ added in v0.2.7
func (m *ProjectLevelClaimsPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProjectLevelClaimsPayload) UnmarshalJSON ¶ added in v0.2.7
func (m *ProjectLevelClaimsPayload) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ScheduleBaseData ¶
type ScheduleBaseData struct { // Description of the schedule. Description string `json:"description,omitempty"` // Name of the schedule. Name string `json:"name,omitempty"` // parameters Parameters *ScheduleBaseDataParameters `json:"parameters,omitempty"` // timetable Timetable *ScheduleBaseDataTimetable `json:"timetable,omitempty"` }
ScheduleBaseData schedule base data
swagger:model ScheduleBaseData
func (*ScheduleBaseData) ContextValidate ¶
ContextValidate validate this schedule base data based on the context it is used
func (*ScheduleBaseData) MarshalBinary ¶
func (m *ScheduleBaseData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduleBaseData) UnmarshalBinary ¶
func (m *ScheduleBaseData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScheduleBaseDataParameters ¶
type ScheduleBaseDataParameters struct { // branch Branch string `json:"branch,omitempty"` // tag Tag string `json:"tag,omitempty"` // schedule base data parameters ScheduleBaseDataParameters map[string]interface{} `json:"-"` }
ScheduleBaseDataParameters Pipeline parameters represented as key-value pairs. Must contain branch or tag.
swagger:model ScheduleBaseDataParameters
func (*ScheduleBaseDataParameters) ContextValidate ¶
func (m *ScheduleBaseDataParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this schedule base data parameters based on context it is used
func (*ScheduleBaseDataParameters) MarshalBinary ¶
func (m *ScheduleBaseDataParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ScheduleBaseDataParameters) MarshalJSON ¶
func (m ScheduleBaseDataParameters) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*ScheduleBaseDataParameters) UnmarshalBinary ¶
func (m *ScheduleBaseDataParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ScheduleBaseDataParameters) UnmarshalJSON ¶
func (m *ScheduleBaseDataParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type ScheduleBaseDataTimetable ¶
type ScheduleBaseDataTimetable struct { // Days in a month in which the schedule triggers. This is mutually exclusive with days in a week. DaysOfMonth []DayOfAMonth `json:"days-of-month"` // Days in a week in which the schedule triggers. DaysOfWeek []DayOfAWeek `json:"days-of-week"` // Hours in a day in which the schedule triggers. // Required: true HoursOfDay []*HourOfADay `json:"hours-of-day"` // Months in which the schedule triggers. Months []Month `json:"months"` // Number of times a schedule triggers per hour, value must be between 1 and 60. // Required: true // Maximum: 60 // Minimum: 1 PerHour *int64 `json:"per-hour"` }
ScheduleBaseDataTimetable Timetable that specifies when a schedule triggers.
swagger:model ScheduleBaseDataTimetable
func (*ScheduleBaseDataTimetable) ContextValidate ¶
func (m *ScheduleBaseDataTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this schedule base data timetable based on the context it is used
func (*ScheduleBaseDataTimetable) MarshalBinary ¶
func (m *ScheduleBaseDataTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduleBaseDataTimetable) UnmarshalBinary ¶
func (m *ScheduleBaseDataTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScheduleInfo ¶
type ScheduleInfo struct { ScheduleBaseData // actor // Required: true Actor *User `json:"actor"` // The date and time the schedule was created. // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"created-at"` // The unique ID of the schedule. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // The project-slug for the schedule. // Required: true ProjectSlug *string `json:"project-slug"` // The date and time the schedule was last updated. // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updated-at"` }
ScheduleInfo schedule info
swagger:model ScheduleInfo
func (*ScheduleInfo) ContextValidate ¶
ContextValidate validate this schedule info based on the context it is used
func (*ScheduleInfo) MarshalBinary ¶
func (m *ScheduleInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ScheduleInfo) MarshalJSON ¶
func (m ScheduleInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ScheduleInfo) UnmarshalBinary ¶
func (m *ScheduleInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ScheduleInfo) UnmarshalJSON ¶
func (m *ScheduleInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type SchedulePayload ¶
type SchedulePayload struct { ScheduleBaseData // The attribution-actor of the scheduled pipeline. // Enum: [current system] AttributionActor string `json:"attribution-actor,omitempty"` }
SchedulePayload schedule payload
swagger:model SchedulePayload
func (*SchedulePayload) ContextValidate ¶
ContextValidate validate this schedule payload based on the context it is used
func (*SchedulePayload) MarshalBinary ¶
func (m *SchedulePayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SchedulePayload) MarshalJSON ¶
func (m SchedulePayload) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*SchedulePayload) UnmarshalBinary ¶
func (m *SchedulePayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SchedulePayload) UnmarshalJSON ¶
func (m *SchedulePayload) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type SchedulesInfo ¶
type SchedulesInfo struct { // items Items []*ScheduleInfo `json:"items"` // next page token NextPageToken string `json:"next_page_token,omitempty"` }
SchedulesInfo schedules info
swagger:model SchedulesInfo
func (*SchedulesInfo) ContextValidate ¶
ContextValidate validate this schedules info based on the context it is used
func (*SchedulesInfo) MarshalBinary ¶
func (m *SchedulesInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SchedulesInfo) UnmarshalBinary ¶
func (m *SchedulesInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // The unique ID of the user. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // The login information for the user. // Required: true Login *string `json:"login"` // The name of the user. // Required: true Name *string `json:"name"` }
User user
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WebhookBasePayload ¶
type WebhookBasePayload struct { // Events that will trigger the webhook // Example: ["workflow-completed"] Events []string `json:"events"` // Name of the webhook // Example: test1 Name string `json:"name,omitempty"` // scope Scope *WebhookBasePayloadScope `json:"scope,omitempty"` // URL to deliver the webhook to. Note: protocol must be included as well (only https is supported) // Example: https://example.com/hook URL string `json:"url,omitempty"` }
WebhookBasePayload webhook base payload
swagger:model WebhookBasePayload
func (*WebhookBasePayload) ContextValidate ¶
ContextValidate validate this webhook base payload based on the context it is used
func (*WebhookBasePayload) MarshalBinary ¶
func (m *WebhookBasePayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookBasePayload) UnmarshalBinary ¶
func (m *WebhookBasePayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookBasePayloadScope ¶
type WebhookBasePayloadScope struct { // ID of the scope being used (at the moment, only project ID is supported) // Example: c124cca6-d03e-4733-b84d-32b02347b78c // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Type of the scope being used // Example: project Type *string `json:"type,omitempty"` }
WebhookBasePayloadScope The scope in which the relevant events that will trigger webhooks
swagger:model WebhookBasePayloadScope
func (*WebhookBasePayloadScope) ContextValidate ¶
func (m *WebhookBasePayloadScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this webhook base payload scope based on context it is used
func (*WebhookBasePayloadScope) MarshalBinary ¶
func (m *WebhookBasePayloadScope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookBasePayloadScope) UnmarshalBinary ¶
func (m *WebhookBasePayloadScope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookInfo ¶
type WebhookInfo struct { WebhookPayloadForResponse // The date and time the webhook was created // Example: 2023-02-10T04:49:36.117Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // The unique ID of the webhook // Example: d57ecc67-7a3b-4fd9-a1b4-442d4703bb8d // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // The date and time the webhook was last updated // Example: 2023-02-10T04:49:36.117Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
WebhookInfo webhook info
swagger:model WebhookInfo
func (*WebhookInfo) ContextValidate ¶
ContextValidate validate this webhook info based on the context it is used
func (*WebhookInfo) MarshalBinary ¶
func (m *WebhookInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (WebhookInfo) MarshalJSON ¶
func (m WebhookInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*WebhookInfo) UnmarshalBinary ¶
func (m *WebhookInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*WebhookInfo) UnmarshalJSON ¶
func (m *WebhookInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type WebhookPayloadForRequest ¶
type WebhookPayloadForRequest struct { WebhookBasePayload // Secret used to build an HMAC hash of the payload and passed as a header in the webhook request // Example: **** SigningSecret string `json:"signing-secret,omitempty"` // Whether to enforce TLS certificate verification when delivering the webhook // Example: true VerifyTLS *bool `json:"verify-tls,omitempty"` }
WebhookPayloadForRequest webhook payload for request
swagger:model WebhookPayloadForRequest
func (*WebhookPayloadForRequest) ContextValidate ¶
func (m *WebhookPayloadForRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this webhook payload for request based on the context it is used
func (*WebhookPayloadForRequest) MarshalBinary ¶
func (m *WebhookPayloadForRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (WebhookPayloadForRequest) MarshalJSON ¶
func (m WebhookPayloadForRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*WebhookPayloadForRequest) UnmarshalBinary ¶
func (m *WebhookPayloadForRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*WebhookPayloadForRequest) UnmarshalJSON ¶
func (m *WebhookPayloadForRequest) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type WebhookPayloadForResponse ¶
type WebhookPayloadForResponse struct { WebhookBasePayload // Secret used to build an HMAC hash of the payload and passed as a header in the webhook request // Example: **** SigningSecret string `json:"signing_secret,omitempty"` // Whether to enforce TLS certificate verification when delivering the webhook // Example: true VerifyTLS *bool `json:"verify_tls,omitempty"` }
WebhookPayloadForResponse webhook payload for response
swagger:model WebhookPayloadForResponse
func (*WebhookPayloadForResponse) ContextValidate ¶
func (m *WebhookPayloadForResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this webhook payload for response based on the context it is used
func (*WebhookPayloadForResponse) MarshalBinary ¶
func (m *WebhookPayloadForResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (WebhookPayloadForResponse) MarshalJSON ¶
func (m WebhookPayloadForResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*WebhookPayloadForResponse) UnmarshalBinary ¶
func (m *WebhookPayloadForResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*WebhookPayloadForResponse) UnmarshalJSON ¶
func (m *WebhookPayloadForResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type WebhooksInfo ¶
type WebhooksInfo struct { // items Items []*WebhookInfo `json:"items"` // next page token NextPageToken string `json:"next_page_token,omitempty"` }
WebhooksInfo webhooks info
swagger:model WebhooksInfo
func (*WebhooksInfo) ContextValidate ¶
ContextValidate validate this webhooks info based on the context it is used
func (*WebhooksInfo) MarshalBinary ¶
func (m *WebhooksInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhooksInfo) UnmarshalBinary ¶
func (m *WebhooksInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- context_env_var_info.go
- context_env_var_payload.go
- context_env_vars_info.go
- context_info.go
- context_payload.go
- contexts_info.go
- day_of_a_month.go
- day_of_a_week.go
- deleted.go
- errored.go
- hour_of_a_day.go
- month.go
- org_level_claims_info.go
- org_level_claims_payload.go
- project_checkout_key_info.go
- project_checkout_key_payload.go
- project_checkout_keys_info.go
- project_env_var_info.go
- project_env_var_payload.go
- project_env_vars_info.go
- project_info.go
- project_level_claims_info.go
- project_level_claims_payload.go
- schedule_base_data.go
- schedule_info.go
- schedule_payload.go
- schedules_info.go
- user.go
- webhook_base_payload.go
- webhook_info.go
- webhook_payload_for_request.go
- webhook_payload_for_response.go
- webhooks_info.go