pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 18 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional erda.common.OpenAPIOption openapi = 7325727;
	E_Openapi = &file_openapi_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional erda.common.OpenAPIOption openapi_service = 7494728;
	E_OpenapiService = &file_openapi_proto_extTypes[1]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_commit_proto protoreflect.FileDescriptor
View Source
var File_identity_proto protoreflect.FileDescriptor
View Source
var File_metadata_proto protoreflect.FileDescriptor
View Source
var File_openapi_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIAuth added in v1.3.0

type APIAuth struct {
	NoCheck        bool `protobuf:"varint,1,opt,name=no_check,json=noCheck,proto3" json:"no_check,omitempty"`
	CheckLogin     bool `protobuf:"varint,2,opt,name=check_login,json=checkLogin,proto3" json:"check_login,omitempty"`
	TryCheckLogin  bool `protobuf:"varint,3,opt,name=try_check_login,json=tryCheckLogin,proto3" json:"try_check_login,omitempty"`
	CheckToken     bool `protobuf:"varint,4,opt,name=check_token,json=checkToken,proto3" json:"check_token,omitempty"`
	CheckBasicAuth bool `protobuf:"varint,5,opt,name=check_basic_auth,json=checkBasicAuth,proto3" json:"check_basic_auth,omitempty"`
	// contains filtered or unexported fields
}

func (*APIAuth) Descriptor deprecated added in v1.3.0

func (*APIAuth) Descriptor() ([]byte, []int)

Deprecated: Use APIAuth.ProtoReflect.Descriptor instead.

func (*APIAuth) GetCheckBasicAuth added in v1.3.0

func (x *APIAuth) GetCheckBasicAuth() bool

func (*APIAuth) GetCheckLogin added in v1.3.0

func (x *APIAuth) GetCheckLogin() bool

func (*APIAuth) GetCheckToken added in v1.3.0

func (x *APIAuth) GetCheckToken() bool

func (*APIAuth) GetNoCheck added in v1.3.0

func (x *APIAuth) GetNoCheck() bool

func (*APIAuth) GetTryCheckLogin added in v1.3.0

func (x *APIAuth) GetTryCheckLogin() bool

func (*APIAuth) MarshalJSON added in v1.3.0

func (m *APIAuth) MarshalJSON() ([]byte, error)

APIAuth implement json.Marshaler.

func (*APIAuth) ProtoMessage added in v1.3.0

func (*APIAuth) ProtoMessage()

func (*APIAuth) ProtoReflect added in v1.3.0

func (x *APIAuth) ProtoReflect() protoreflect.Message

func (*APIAuth) Reset added in v1.3.0

func (x *APIAuth) Reset()

func (*APIAuth) String added in v1.3.0

func (x *APIAuth) String() string

func (*APIAuth) UnmarshalJSON added in v1.3.0

func (m *APIAuth) UnmarshalJSON(b []byte) error

APIAuth implement json.Marshaler.

func (*APIAuth) UnmarshalURLValues added in v1.3.0

func (m *APIAuth) UnmarshalURLValues(prefix string, values url.Values) error

APIAuth implement urlenc.URLValuesUnmarshaler.

func (*APIAuth) Validate added in v1.3.0

func (this *APIAuth) Validate() error

type CommitDetail

type CommitDetail struct {
	CommitID string                 `protobuf:"bytes,1,opt,name=commitID,proto3" json:"commitID,omitempty"`
	Repo     string                 `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	RepoAbbr string                 `protobuf:"bytes,3,opt,name=repoAbbr,proto3" json:"repoAbbr,omitempty"`
	Author   string                 `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
	Email    string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Time     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`
	Comment  string                 `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitDetail) Descriptor deprecated

func (*CommitDetail) Descriptor() ([]byte, []int)

Deprecated: Use CommitDetail.ProtoReflect.Descriptor instead.

func (*CommitDetail) GetAuthor

func (x *CommitDetail) GetAuthor() string

func (*CommitDetail) GetComment

func (x *CommitDetail) GetComment() string

func (*CommitDetail) GetCommitID

func (x *CommitDetail) GetCommitID() string

func (*CommitDetail) GetEmail

func (x *CommitDetail) GetEmail() string

func (*CommitDetail) GetRepo

func (x *CommitDetail) GetRepo() string

func (*CommitDetail) GetRepoAbbr added in v1.3.0

func (x *CommitDetail) GetRepoAbbr() string

func (*CommitDetail) GetTime

func (x *CommitDetail) GetTime() *timestamppb.Timestamp

func (*CommitDetail) MarshalJSON

func (m *CommitDetail) MarshalJSON() ([]byte, error)

CommitDetail implement json.Marshaler.

func (*CommitDetail) ProtoMessage

func (*CommitDetail) ProtoMessage()

func (*CommitDetail) ProtoReflect

func (x *CommitDetail) ProtoReflect() protoreflect.Message

func (*CommitDetail) Reset

func (x *CommitDetail) Reset()

func (*CommitDetail) String

func (x *CommitDetail) String() string

func (*CommitDetail) UnmarshalJSON

func (m *CommitDetail) UnmarshalJSON(b []byte) error

CommitDetail implement json.Marshaler.

func (*CommitDetail) UnmarshalURLValues

func (m *CommitDetail) UnmarshalURLValues(prefix string, values url.Values) error

CommitDetail implement urlenc.URLValuesUnmarshaler.

func (*CommitDetail) Validate

func (this *CommitDetail) Validate() error

type IdentityInfo

type IdentityInfo struct {

	// UserID is user id. It must be provided in some cases.
	// Cannot be null if InternalClient is null.
	// +optional
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// InternalClient records the internal client, such as: bundle.
	// Cannot be null if UserID is null.
	// +optional
	InternalClient string `protobuf:"bytes,2,opt,name=internalClient,proto3" json:"internalClient,omitempty"`
	// OrgID is org id. It must be provided in some cases.
	// +optional
	OrgID string `protobuf:"bytes,3,opt,name=orgID,proto3" json:"orgID,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityInfo) Descriptor deprecated

func (*IdentityInfo) Descriptor() ([]byte, []int)

Deprecated: Use IdentityInfo.ProtoReflect.Descriptor instead.

func (*IdentityInfo) GetInternalClient

func (x *IdentityInfo) GetInternalClient() string

func (*IdentityInfo) GetOrgID

func (x *IdentityInfo) GetOrgID() string

func (*IdentityInfo) GetUserID

func (x *IdentityInfo) GetUserID() string

func (*IdentityInfo) MarshalJSON

func (m *IdentityInfo) MarshalJSON() ([]byte, error)

IdentityInfo implement json.Marshaler.

func (*IdentityInfo) ProtoMessage

func (*IdentityInfo) ProtoMessage()

func (*IdentityInfo) ProtoReflect

func (x *IdentityInfo) ProtoReflect() protoreflect.Message

func (*IdentityInfo) Reset

func (x *IdentityInfo) Reset()

func (*IdentityInfo) String

func (x *IdentityInfo) String() string

func (*IdentityInfo) UnmarshalJSON

func (m *IdentityInfo) UnmarshalJSON(b []byte) error

IdentityInfo implement json.Marshaler.

func (*IdentityInfo) UnmarshalURLValues

func (m *IdentityInfo) UnmarshalURLValues(prefix string, values url.Values) error

IdentityInfo implement urlenc.URLValuesUnmarshaler.

func (*IdentityInfo) Validate

func (this *IdentityInfo) Validate() error

type MetadataField added in v1.3.0

type MetadataField struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value    string            `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Type     string            `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Optional bool              `protobuf:"varint,4,opt,name=optional,proto3" json:"optional,omitempty"`
	Labels   map[string]string `` /* 153-byte string literal not displayed */
	Level    string            `protobuf:"bytes,6,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataField) Descriptor deprecated added in v1.3.0

func (*MetadataField) Descriptor() ([]byte, []int)

Deprecated: Use MetadataField.ProtoReflect.Descriptor instead.

func (*MetadataField) GetLabels added in v1.3.0

func (x *MetadataField) GetLabels() map[string]string

func (*MetadataField) GetLevel added in v1.3.0

func (x *MetadataField) GetLevel() string

func (*MetadataField) GetName added in v1.3.0

func (x *MetadataField) GetName() string

func (*MetadataField) GetOptional added in v1.3.0

func (x *MetadataField) GetOptional() bool

func (*MetadataField) GetType added in v1.3.0

func (x *MetadataField) GetType() string

func (*MetadataField) GetValue added in v1.3.0

func (x *MetadataField) GetValue() string

func (*MetadataField) MarshalJSON added in v1.3.0

func (m *MetadataField) MarshalJSON() ([]byte, error)

MetadataField implement json.Marshaler.

func (*MetadataField) ProtoMessage added in v1.3.0

func (*MetadataField) ProtoMessage()

func (*MetadataField) ProtoReflect added in v1.3.0

func (x *MetadataField) ProtoReflect() protoreflect.Message

func (*MetadataField) Reset added in v1.3.0

func (x *MetadataField) Reset()

func (*MetadataField) String added in v1.3.0

func (x *MetadataField) String() string

func (*MetadataField) UnmarshalJSON added in v1.3.0

func (m *MetadataField) UnmarshalJSON(b []byte) error

MetadataField implement json.Marshaler.

func (*MetadataField) UnmarshalURLValues added in v1.3.0

func (m *MetadataField) UnmarshalURLValues(prefix string, values url.Values) error

MetadataField implement urlenc.URLValuesUnmarshaler.

func (*MetadataField) Validate added in v1.3.0

func (this *MetadataField) Validate() error

type OpenAPIOption added in v1.3.0

type OpenAPIOption struct {
	Path          string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Prefix        string   `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	BackendPrefix string   `protobuf:"bytes,3,opt,name=backend_prefix,json=backendPrefix,proto3" json:"backend_prefix,omitempty"`
	Service       string   `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
	Private       bool     `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"`
	Auth          *APIAuth `protobuf:"bytes,6,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenAPIOption) Descriptor deprecated added in v1.3.0

func (*OpenAPIOption) Descriptor() ([]byte, []int)

Deprecated: Use OpenAPIOption.ProtoReflect.Descriptor instead.

func (*OpenAPIOption) GetAuth added in v1.3.0

func (x *OpenAPIOption) GetAuth() *APIAuth

func (*OpenAPIOption) GetBackendPrefix added in v1.3.0

func (x *OpenAPIOption) GetBackendPrefix() string

func (*OpenAPIOption) GetPath added in v1.3.0

func (x *OpenAPIOption) GetPath() string

func (*OpenAPIOption) GetPrefix added in v1.3.0

func (x *OpenAPIOption) GetPrefix() string

func (*OpenAPIOption) GetPrivate added in v1.3.0

func (x *OpenAPIOption) GetPrivate() bool

func (*OpenAPIOption) GetService added in v1.3.0

func (x *OpenAPIOption) GetService() string

func (*OpenAPIOption) MarshalJSON added in v1.3.0

func (m *OpenAPIOption) MarshalJSON() ([]byte, error)

OpenAPIOption implement json.Marshaler.

func (*OpenAPIOption) ProtoMessage added in v1.3.0

func (*OpenAPIOption) ProtoMessage()

func (*OpenAPIOption) ProtoReflect added in v1.3.0

func (x *OpenAPIOption) ProtoReflect() protoreflect.Message

func (*OpenAPIOption) Reset added in v1.3.0

func (x *OpenAPIOption) Reset()

func (*OpenAPIOption) String added in v1.3.0

func (x *OpenAPIOption) String() string

func (*OpenAPIOption) UnmarshalJSON added in v1.3.0

func (m *OpenAPIOption) UnmarshalJSON(b []byte) error

OpenAPIOption implement json.Marshaler.

func (*OpenAPIOption) UnmarshalURLValues added in v1.3.0

func (m *OpenAPIOption) UnmarshalURLValues(prefix string, values url.Values) error

OpenAPIOption implement urlenc.URLValuesUnmarshaler.

func (*OpenAPIOption) Validate added in v1.3.0

func (this *OpenAPIOption) Validate() error

type VoidRequest added in v1.3.0

type VoidRequest struct {
	// contains filtered or unexported fields
}

func (*VoidRequest) Descriptor deprecated added in v1.3.0

func (*VoidRequest) Descriptor() ([]byte, []int)

Deprecated: Use VoidRequest.ProtoReflect.Descriptor instead.

func (*VoidRequest) MarshalJSON added in v1.3.0

func (m *VoidRequest) MarshalJSON() ([]byte, error)

VoidRequest implement json.Marshaler.

func (*VoidRequest) ProtoMessage added in v1.3.0

func (*VoidRequest) ProtoMessage()

func (*VoidRequest) ProtoReflect added in v1.3.0

func (x *VoidRequest) ProtoReflect() protoreflect.Message

func (*VoidRequest) Reset added in v1.3.0

func (x *VoidRequest) Reset()

func (*VoidRequest) String added in v1.3.0

func (x *VoidRequest) String() string

func (*VoidRequest) UnmarshalJSON added in v1.3.0

func (m *VoidRequest) UnmarshalJSON(b []byte) error

VoidRequest implement json.Marshaler.

func (*VoidRequest) UnmarshalURLValues added in v1.3.0

func (m *VoidRequest) UnmarshalURLValues(prefix string, values url.Values) error

VoidRequest implement urlenc.URLValuesUnmarshaler.

func (*VoidRequest) Validate added in v1.3.0

func (this *VoidRequest) Validate() error

type VoidResponse added in v1.3.0

type VoidResponse struct {
	// contains filtered or unexported fields
}

func (*VoidResponse) Descriptor deprecated added in v1.3.0

func (*VoidResponse) Descriptor() ([]byte, []int)

Deprecated: Use VoidResponse.ProtoReflect.Descriptor instead.

func (*VoidResponse) MarshalJSON added in v1.3.0

func (m *VoidResponse) MarshalJSON() ([]byte, error)

VoidResponse implement json.Marshaler.

func (*VoidResponse) ProtoMessage added in v1.3.0

func (*VoidResponse) ProtoMessage()

func (*VoidResponse) ProtoReflect added in v1.3.0

func (x *VoidResponse) ProtoReflect() protoreflect.Message

func (*VoidResponse) Reset added in v1.3.0

func (x *VoidResponse) Reset()

func (*VoidResponse) String added in v1.3.0

func (x *VoidResponse) String() string

func (*VoidResponse) UnmarshalJSON added in v1.3.0

func (m *VoidResponse) UnmarshalJSON(b []byte) error

VoidResponse implement json.Marshaler.

func (*VoidResponse) UnmarshalURLValues added in v1.3.0

func (m *VoidResponse) UnmarshalURLValues(prefix string, values url.Values) error

VoidResponse implement urlenc.URLValuesUnmarshaler.

func (*VoidResponse) Validate added in v1.3.0

func (this *VoidResponse) Validate() error

Jump to

Keyboard shortcuts

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