Documentation ¶
Index ¶
- Variables
- type CommitCompareStatus
- func (CommitCompareStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CommitCompareStatus) Enum() *CommitCompareStatus
- func (CommitCompareStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommitCompareStatus) Number() protoreflect.EnumNumber
- func (x CommitCompareStatus) String() string
- func (CommitCompareStatus) Type() protoreflect.EnumType
- type CommitComparison
- func (*CommitComparison) Descriptor() ([]byte, []int)deprecated
- func (x *CommitComparison) GetStatus() CommitCompareStatus
- func (*CommitComparison) ProtoMessage()
- func (x *CommitComparison) ProtoReflect() protoreflect.Message
- func (x *CommitComparison) Reset()
- func (x *CommitComparison) String() string
- func (m *CommitComparison) Validate() error
- func (m *CommitComparison) ValidateAll() error
- type CommitComparisonMultiError
- type CommitComparisonValidationError
- func (e CommitComparisonValidationError) Cause() error
- func (e CommitComparisonValidationError) Error() string
- func (e CommitComparisonValidationError) ErrorName() string
- func (e CommitComparisonValidationError) Field() string
- func (e CommitComparisonValidationError) Key() bool
- func (e CommitComparisonValidationError) Reason() string
- type CreateRepositoryOptions
- func (*CreateRepositoryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryOptions) GetAutoInit() bool
- func (x *CreateRepositoryOptions) GetParameters() *RepositoryParameters
- func (*CreateRepositoryOptions) ProtoMessage()
- func (x *CreateRepositoryOptions) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryOptions) Reset()
- func (x *CreateRepositoryOptions) String() string
- func (m *CreateRepositoryOptions) Validate() error
- func (m *CreateRepositoryOptions) ValidateAll() error
- type CreateRepositoryOptionsMultiError
- type CreateRepositoryOptionsValidationError
- func (e CreateRepositoryOptionsValidationError) Cause() error
- func (e CreateRepositoryOptionsValidationError) Error() string
- func (e CreateRepositoryOptionsValidationError) ErrorName() string
- func (e CreateRepositoryOptionsValidationError) Field() string
- func (e CreateRepositoryOptionsValidationError) Key() bool
- func (e CreateRepositoryOptionsValidationError) Reason() string
- type RepositoryParameters
- func (*RepositoryParameters) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryParameters) GetAllowMergeCommit() *wrapperspb.BoolValue
- func (x *RepositoryParameters) GetAllowRebaseMerge() *wrapperspb.BoolValue
- func (x *RepositoryParameters) GetAllowSquashMerge() *wrapperspb.BoolValue
- func (x *RepositoryParameters) GetVisibility() RepositoryParameters_Visibility
- func (*RepositoryParameters) ProtoMessage()
- func (x *RepositoryParameters) ProtoReflect() protoreflect.Message
- func (x *RepositoryParameters) Reset()
- func (x *RepositoryParameters) String() string
- func (m *RepositoryParameters) Validate() error
- func (m *RepositoryParameters) ValidateAll() error
- type RepositoryParametersMultiError
- type RepositoryParametersValidationError
- func (e RepositoryParametersValidationError) Cause() error
- func (e RepositoryParametersValidationError) Error() string
- func (e RepositoryParametersValidationError) ErrorName() string
- func (e RepositoryParametersValidationError) Field() string
- func (e RepositoryParametersValidationError) Key() bool
- func (e RepositoryParametersValidationError) Reason() string
- type RepositoryParameters_Visibility
- func (RepositoryParameters_Visibility) Descriptor() protoreflect.EnumDescriptor
- func (x RepositoryParameters_Visibility) Enum() *RepositoryParameters_Visibility
- func (RepositoryParameters_Visibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x RepositoryParameters_Visibility) Number() protoreflect.EnumNumber
- func (x RepositoryParameters_Visibility) String() string
- func (RepositoryParameters_Visibility) Type() protoreflect.EnumType
- type UpdateRepositoryOptions
- func (*UpdateRepositoryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryOptions) GetArchived() bool
- func (x *UpdateRepositoryOptions) GetParameters() *RepositoryParameters
- func (*UpdateRepositoryOptions) ProtoMessage()
- func (x *UpdateRepositoryOptions) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryOptions) Reset()
- func (x *UpdateRepositoryOptions) String() string
- func (m *UpdateRepositoryOptions) Validate() error
- func (m *UpdateRepositoryOptions) ValidateAll() error
- type UpdateRepositoryOptionsMultiError
- type UpdateRepositoryOptionsValidationError
- func (e UpdateRepositoryOptionsValidationError) Cause() error
- func (e UpdateRepositoryOptionsValidationError) Error() string
- func (e UpdateRepositoryOptionsValidationError) ErrorName() string
- func (e UpdateRepositoryOptionsValidationError) Field() string
- func (e UpdateRepositoryOptionsValidationError) Key() bool
- func (e UpdateRepositoryOptionsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( CommitCompareStatus_name = map[int32]string{ 0: "UNSPECIFIED", 1: "UNKNOWN", 2: "BEHIND", 3: "AHEAD", 4: "IDENTICAL", } CommitCompareStatus_value = map[string]int32{ "UNSPECIFIED": 0, "UNKNOWN": 1, "BEHIND": 2, "AHEAD": 3, "IDENTICAL": 4, } )
Enum value maps for CommitCompareStatus.
var ( RepositoryParameters_Visibility_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PUBLIC", 2: "PRIVATE", } RepositoryParameters_Visibility_value = map[string]int32{ "UNSPECIFIED": 0, "PUBLIC": 1, "PRIVATE": 2, } )
Enum value maps for RepositoryParameters_Visibility.
var File_sourcecontrol_github_v1_github_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommitCompareStatus ¶
type CommitCompareStatus int32
const ( CommitCompareStatus_UNSPECIFIED CommitCompareStatus = 0 CommitCompareStatus_UNKNOWN CommitCompareStatus = 1 CommitCompareStatus_BEHIND CommitCompareStatus = 2 CommitCompareStatus_AHEAD CommitCompareStatus = 3 CommitCompareStatus_IDENTICAL CommitCompareStatus = 4 )
func (CommitCompareStatus) Descriptor ¶
func (CommitCompareStatus) Descriptor() protoreflect.EnumDescriptor
func (CommitCompareStatus) Enum ¶
func (x CommitCompareStatus) Enum() *CommitCompareStatus
func (CommitCompareStatus) EnumDescriptor
deprecated
func (CommitCompareStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommitCompareStatus.Descriptor instead.
func (CommitCompareStatus) Number ¶
func (x CommitCompareStatus) Number() protoreflect.EnumNumber
func (CommitCompareStatus) String ¶
func (x CommitCompareStatus) String() string
func (CommitCompareStatus) Type ¶
func (CommitCompareStatus) Type() protoreflect.EnumType
type CommitComparison ¶
type CommitComparison struct { Status CommitCompareStatus `protobuf:"varint,1,opt,name=status,proto3,enum=clutch.sourcecontrol.github.v1.CommitCompareStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CommitComparison) Descriptor
deprecated
func (*CommitComparison) Descriptor() ([]byte, []int)
Deprecated: Use CommitComparison.ProtoReflect.Descriptor instead.
func (*CommitComparison) GetStatus ¶
func (x *CommitComparison) GetStatus() CommitCompareStatus
func (*CommitComparison) ProtoMessage ¶
func (*CommitComparison) ProtoMessage()
func (*CommitComparison) ProtoReflect ¶
func (x *CommitComparison) ProtoReflect() protoreflect.Message
func (*CommitComparison) Reset ¶
func (x *CommitComparison) Reset()
func (*CommitComparison) String ¶
func (x *CommitComparison) String() string
func (*CommitComparison) Validate ¶
func (m *CommitComparison) Validate() error
Validate checks the field values on CommitComparison with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitComparison) ValidateAll ¶
func (m *CommitComparison) ValidateAll() error
ValidateAll checks the field values on CommitComparison with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitComparisonMultiError, or nil if none found.
type CommitComparisonMultiError ¶
type CommitComparisonMultiError []error
CommitComparisonMultiError is an error wrapping multiple validation errors returned by CommitComparison.ValidateAll() if the designated constraints aren't met.
func (CommitComparisonMultiError) AllErrors ¶
func (m CommitComparisonMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitComparisonMultiError) Error ¶
func (m CommitComparisonMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitComparisonValidationError ¶
type CommitComparisonValidationError struct {
// contains filtered or unexported fields
}
CommitComparisonValidationError is the validation error returned by CommitComparison.Validate if the designated constraints aren't met.
func (CommitComparisonValidationError) Cause ¶
func (e CommitComparisonValidationError) Cause() error
Cause function returns cause value.
func (CommitComparisonValidationError) Error ¶
func (e CommitComparisonValidationError) Error() string
Error satisfies the builtin error interface
func (CommitComparisonValidationError) ErrorName ¶
func (e CommitComparisonValidationError) ErrorName() string
ErrorName returns error name.
func (CommitComparisonValidationError) Field ¶
func (e CommitComparisonValidationError) Field() string
Field function returns field value.
func (CommitComparisonValidationError) Key ¶
func (e CommitComparisonValidationError) Key() bool
Key function returns key value.
func (CommitComparisonValidationError) Reason ¶
func (e CommitComparisonValidationError) Reason() string
Reason function returns reason value.
type CreateRepositoryOptions ¶
type CreateRepositoryOptions struct { Parameters *RepositoryParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` // Pass true to create an initial commit with empty README. AutoInit bool `protobuf:"varint,2,opt,name=auto_init,json=autoInit,proto3" json:"auto_init,omitempty"` // contains filtered or unexported fields }
Options unique to creating a repository.
func (*CreateRepositoryOptions) Descriptor
deprecated
func (*CreateRepositoryOptions) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryOptions.ProtoReflect.Descriptor instead.
func (*CreateRepositoryOptions) GetAutoInit ¶
func (x *CreateRepositoryOptions) GetAutoInit() bool
func (*CreateRepositoryOptions) GetParameters ¶
func (x *CreateRepositoryOptions) GetParameters() *RepositoryParameters
func (*CreateRepositoryOptions) ProtoMessage ¶
func (*CreateRepositoryOptions) ProtoMessage()
func (*CreateRepositoryOptions) ProtoReflect ¶
func (x *CreateRepositoryOptions) ProtoReflect() protoreflect.Message
func (*CreateRepositoryOptions) Reset ¶
func (x *CreateRepositoryOptions) Reset()
func (*CreateRepositoryOptions) String ¶
func (x *CreateRepositoryOptions) String() string
func (*CreateRepositoryOptions) Validate ¶
func (m *CreateRepositoryOptions) Validate() error
Validate checks the field values on CreateRepositoryOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRepositoryOptions) ValidateAll ¶
func (m *CreateRepositoryOptions) ValidateAll() error
ValidateAll checks the field values on CreateRepositoryOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRepositoryOptionsMultiError, or nil if none found.
type CreateRepositoryOptionsMultiError ¶
type CreateRepositoryOptionsMultiError []error
CreateRepositoryOptionsMultiError is an error wrapping multiple validation errors returned by CreateRepositoryOptions.ValidateAll() if the designated constraints aren't met.
func (CreateRepositoryOptionsMultiError) AllErrors ¶
func (m CreateRepositoryOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRepositoryOptionsMultiError) Error ¶
func (m CreateRepositoryOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRepositoryOptionsValidationError ¶
type CreateRepositoryOptionsValidationError struct {
// contains filtered or unexported fields
}
CreateRepositoryOptionsValidationError is the validation error returned by CreateRepositoryOptions.Validate if the designated constraints aren't met.
func (CreateRepositoryOptionsValidationError) Cause ¶
func (e CreateRepositoryOptionsValidationError) Cause() error
Cause function returns cause value.
func (CreateRepositoryOptionsValidationError) Error ¶
func (e CreateRepositoryOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRepositoryOptionsValidationError) ErrorName ¶
func (e CreateRepositoryOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRepositoryOptionsValidationError) Field ¶
func (e CreateRepositoryOptionsValidationError) Field() string
Field function returns field value.
func (CreateRepositoryOptionsValidationError) Key ¶
func (e CreateRepositoryOptionsValidationError) Key() bool
Key function returns key value.
func (CreateRepositoryOptionsValidationError) Reason ¶
func (e CreateRepositoryOptionsValidationError) Reason() string
Reason function returns reason value.
type RepositoryParameters ¶
type RepositoryParameters struct { Visibility RepositoryParameters_Visibility `` /* 142-byte string literal not displayed */ AllowMergeCommit *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=allow_merge_commit,json=allowMergeCommit,proto3" json:"allow_merge_commit,omitempty"` AllowRebaseMerge *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=allow_rebase_merge,json=allowRebaseMerge,proto3" json:"allow_rebase_merge,omitempty"` AllowSquashMerge *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=allow_squash_merge,json=allowSquashMerge,proto3" json:"allow_squash_merge,omitempty"` // contains filtered or unexported fields }
Common parameters for GitHub repositories.
func (*RepositoryParameters) Descriptor
deprecated
func (*RepositoryParameters) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryParameters.ProtoReflect.Descriptor instead.
func (*RepositoryParameters) GetAllowMergeCommit ¶
func (x *RepositoryParameters) GetAllowMergeCommit() *wrapperspb.BoolValue
func (*RepositoryParameters) GetAllowRebaseMerge ¶
func (x *RepositoryParameters) GetAllowRebaseMerge() *wrapperspb.BoolValue
func (*RepositoryParameters) GetAllowSquashMerge ¶
func (x *RepositoryParameters) GetAllowSquashMerge() *wrapperspb.BoolValue
func (*RepositoryParameters) GetVisibility ¶
func (x *RepositoryParameters) GetVisibility() RepositoryParameters_Visibility
func (*RepositoryParameters) ProtoMessage ¶
func (*RepositoryParameters) ProtoMessage()
func (*RepositoryParameters) ProtoReflect ¶
func (x *RepositoryParameters) ProtoReflect() protoreflect.Message
func (*RepositoryParameters) Reset ¶
func (x *RepositoryParameters) Reset()
func (*RepositoryParameters) String ¶
func (x *RepositoryParameters) String() string
func (*RepositoryParameters) Validate ¶
func (m *RepositoryParameters) Validate() error
Validate checks the field values on RepositoryParameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RepositoryParameters) ValidateAll ¶
func (m *RepositoryParameters) ValidateAll() error
ValidateAll checks the field values on RepositoryParameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RepositoryParametersMultiError, or nil if none found.
type RepositoryParametersMultiError ¶
type RepositoryParametersMultiError []error
RepositoryParametersMultiError is an error wrapping multiple validation errors returned by RepositoryParameters.ValidateAll() if the designated constraints aren't met.
func (RepositoryParametersMultiError) AllErrors ¶
func (m RepositoryParametersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepositoryParametersMultiError) Error ¶
func (m RepositoryParametersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepositoryParametersValidationError ¶
type RepositoryParametersValidationError struct {
// contains filtered or unexported fields
}
RepositoryParametersValidationError is the validation error returned by RepositoryParameters.Validate if the designated constraints aren't met.
func (RepositoryParametersValidationError) Cause ¶
func (e RepositoryParametersValidationError) Cause() error
Cause function returns cause value.
func (RepositoryParametersValidationError) Error ¶
func (e RepositoryParametersValidationError) Error() string
Error satisfies the builtin error interface
func (RepositoryParametersValidationError) ErrorName ¶
func (e RepositoryParametersValidationError) ErrorName() string
ErrorName returns error name.
func (RepositoryParametersValidationError) Field ¶
func (e RepositoryParametersValidationError) Field() string
Field function returns field value.
func (RepositoryParametersValidationError) Key ¶
func (e RepositoryParametersValidationError) Key() bool
Key function returns key value.
func (RepositoryParametersValidationError) Reason ¶
func (e RepositoryParametersValidationError) Reason() string
Reason function returns reason value.
type RepositoryParameters_Visibility ¶
type RepositoryParameters_Visibility int32
const ( RepositoryParameters_UNSPECIFIED RepositoryParameters_Visibility = 0 RepositoryParameters_PUBLIC RepositoryParameters_Visibility = 1 RepositoryParameters_PRIVATE RepositoryParameters_Visibility = 2 )
func (RepositoryParameters_Visibility) Descriptor ¶
func (RepositoryParameters_Visibility) Descriptor() protoreflect.EnumDescriptor
func (RepositoryParameters_Visibility) Enum ¶
func (x RepositoryParameters_Visibility) Enum() *RepositoryParameters_Visibility
func (RepositoryParameters_Visibility) EnumDescriptor
deprecated
func (RepositoryParameters_Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use RepositoryParameters_Visibility.Descriptor instead.
func (RepositoryParameters_Visibility) Number ¶
func (x RepositoryParameters_Visibility) Number() protoreflect.EnumNumber
func (RepositoryParameters_Visibility) String ¶
func (x RepositoryParameters_Visibility) String() string
func (RepositoryParameters_Visibility) Type ¶
func (RepositoryParameters_Visibility) Type() protoreflect.EnumType
type UpdateRepositoryOptions ¶
type UpdateRepositoryOptions struct { Parameters *RepositoryParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` // Pass true to archive this repository. Note: You cannot unarchive repositories through the API. Archived bool `protobuf:"varint,2,opt,name=archived,proto3" json:"archived,omitempty"` // contains filtered or unexported fields }
Options unique to updating a repository.
func (*UpdateRepositoryOptions) Descriptor
deprecated
func (*UpdateRepositoryOptions) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryOptions.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryOptions) GetArchived ¶
func (x *UpdateRepositoryOptions) GetArchived() bool
func (*UpdateRepositoryOptions) GetParameters ¶
func (x *UpdateRepositoryOptions) GetParameters() *RepositoryParameters
func (*UpdateRepositoryOptions) ProtoMessage ¶
func (*UpdateRepositoryOptions) ProtoMessage()
func (*UpdateRepositoryOptions) ProtoReflect ¶
func (x *UpdateRepositoryOptions) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryOptions) Reset ¶
func (x *UpdateRepositoryOptions) Reset()
func (*UpdateRepositoryOptions) String ¶
func (x *UpdateRepositoryOptions) String() string
func (*UpdateRepositoryOptions) Validate ¶
func (m *UpdateRepositoryOptions) Validate() error
Validate checks the field values on UpdateRepositoryOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRepositoryOptions) ValidateAll ¶
func (m *UpdateRepositoryOptions) ValidateAll() error
ValidateAll checks the field values on UpdateRepositoryOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRepositoryOptionsMultiError, or nil if none found.
type UpdateRepositoryOptionsMultiError ¶
type UpdateRepositoryOptionsMultiError []error
UpdateRepositoryOptionsMultiError is an error wrapping multiple validation errors returned by UpdateRepositoryOptions.ValidateAll() if the designated constraints aren't met.
func (UpdateRepositoryOptionsMultiError) AllErrors ¶
func (m UpdateRepositoryOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRepositoryOptionsMultiError) Error ¶
func (m UpdateRepositoryOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRepositoryOptionsValidationError ¶
type UpdateRepositoryOptionsValidationError struct {
// contains filtered or unexported fields
}
UpdateRepositoryOptionsValidationError is the validation error returned by UpdateRepositoryOptions.Validate if the designated constraints aren't met.
func (UpdateRepositoryOptionsValidationError) Cause ¶
func (e UpdateRepositoryOptionsValidationError) Cause() error
Cause function returns cause value.
func (UpdateRepositoryOptionsValidationError) Error ¶
func (e UpdateRepositoryOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRepositoryOptionsValidationError) ErrorName ¶
func (e UpdateRepositoryOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRepositoryOptionsValidationError) Field ¶
func (e UpdateRepositoryOptionsValidationError) Field() string
Field function returns field value.
func (UpdateRepositoryOptionsValidationError) Key ¶
func (e UpdateRepositoryOptionsValidationError) Key() bool
Key function returns key value.
func (UpdateRepositoryOptionsValidationError) Reason ¶
func (e UpdateRepositoryOptionsValidationError) Reason() string
Reason function returns reason value.