1
0
mirror of https://github.com/rancher/types.git synced 2025-07-01 07:51:48 +00:00

generated

This commit is contained in:
gitlawr 2018-09-19 15:41:10 +08:00 committed by Alena Prokharchyk
parent a0165b14ba
commit b2cf716a27
17 changed files with 453 additions and 88 deletions

View File

@ -372,6 +372,175 @@ func (in *BasicAuthList) DeepCopyObject() runtime.Object {
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketCloudApplyInput) DeepCopyInto(out *BitbucketCloudApplyInput) {
*out = *in
out.OauthApplyInput = in.OauthApplyInput
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketCloudApplyInput.
func (in *BitbucketCloudApplyInput) DeepCopy() *BitbucketCloudApplyInput {
if in == nil {
return nil
}
out := new(BitbucketCloudApplyInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketCloudPipelineConfig) DeepCopyInto(out *BitbucketCloudPipelineConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.SourceCodeProviderConfig.DeepCopyInto(&out.SourceCodeProviderConfig)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketCloudPipelineConfig.
func (in *BitbucketCloudPipelineConfig) DeepCopy() *BitbucketCloudPipelineConfig {
if in == nil {
return nil
}
out := new(BitbucketCloudPipelineConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BitbucketCloudPipelineConfig) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketCloudProvider) DeepCopyInto(out *BitbucketCloudProvider) {
*out = *in
in.OauthProvider.DeepCopyInto(&out.OauthProvider)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketCloudProvider.
func (in *BitbucketCloudProvider) DeepCopy() *BitbucketCloudProvider {
if in == nil {
return nil
}
out := new(BitbucketCloudProvider)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BitbucketCloudProvider) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketServerApplyInput) DeepCopyInto(out *BitbucketServerApplyInput) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerApplyInput.
func (in *BitbucketServerApplyInput) DeepCopy() *BitbucketServerApplyInput {
if in == nil {
return nil
}
out := new(BitbucketServerApplyInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketServerPipelineConfig) DeepCopyInto(out *BitbucketServerPipelineConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.SourceCodeProviderConfig.DeepCopyInto(&out.SourceCodeProviderConfig)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerPipelineConfig.
func (in *BitbucketServerPipelineConfig) DeepCopy() *BitbucketServerPipelineConfig {
if in == nil {
return nil
}
out := new(BitbucketServerPipelineConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BitbucketServerPipelineConfig) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketServerProvider) DeepCopyInto(out *BitbucketServerProvider) {
*out = *in
in.OauthProvider.DeepCopyInto(&out.OauthProvider)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerProvider.
func (in *BitbucketServerProvider) DeepCopy() *BitbucketServerProvider {
if in == nil {
return nil
}
out := new(BitbucketServerProvider)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BitbucketServerProvider) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketServerRequestLoginInput) DeepCopyInto(out *BitbucketServerRequestLoginInput) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerRequestLoginInput.
func (in *BitbucketServerRequestLoginInput) DeepCopy() *BitbucketServerRequestLoginInput {
if in == nil {
return nil
}
out := new(BitbucketServerRequestLoginInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketServerRequestLoginOutput) DeepCopyInto(out *BitbucketServerRequestLoginOutput) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerRequestLoginOutput.
func (in *BitbucketServerRequestLoginOutput) DeepCopy() *BitbucketServerRequestLoginOutput {
if in == nil {
return nil
}
out := new(BitbucketServerRequestLoginOutput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Certificate) DeepCopyInto(out *Certificate) {
*out = *in
@ -589,17 +758,18 @@ func (in *EnvFrom) DeepCopy() *EnvFrom {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GithubLoginInput) DeepCopyInto(out *GithubLoginInput) {
func (in *GithubApplyInput) DeepCopyInto(out *GithubApplyInput) {
*out = *in
out.OauthApplyInput = in.OauthApplyInput
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubLoginInput.
func (in *GithubLoginInput) DeepCopy() *GithubLoginInput {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubApplyInput.
func (in *GithubApplyInput) DeepCopy() *GithubApplyInput {
if in == nil {
return nil
}
out := new(GithubLoginInput)
out := new(GithubApplyInput)
in.DeepCopyInto(out)
return out
}
@ -631,23 +801,6 @@ func (in *GithubPipelineConfig) DeepCopyObject() runtime.Object {
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GithubPipelineConfigApplyInput) DeepCopyInto(out *GithubPipelineConfigApplyInput) {
*out = *in
in.GithubConfig.DeepCopyInto(&out.GithubConfig)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubPipelineConfigApplyInput.
func (in *GithubPipelineConfigApplyInput) DeepCopy() *GithubPipelineConfigApplyInput {
if in == nil {
return nil
}
out := new(GithubPipelineConfigApplyInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GithubProvider) DeepCopyInto(out *GithubProvider) {
*out = *in
@ -674,17 +827,18 @@ func (in *GithubProvider) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitlabLoginInput) DeepCopyInto(out *GitlabLoginInput) {
func (in *GitlabApplyInput) DeepCopyInto(out *GitlabApplyInput) {
*out = *in
out.OauthApplyInput = in.OauthApplyInput
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitlabLoginInput.
func (in *GitlabLoginInput) DeepCopy() *GitlabLoginInput {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitlabApplyInput.
func (in *GitlabApplyInput) DeepCopy() *GitlabApplyInput {
if in == nil {
return nil
}
out := new(GitlabLoginInput)
out := new(GitlabApplyInput)
in.DeepCopyInto(out)
return out
}
@ -716,23 +870,6 @@ func (in *GitlabPipelineConfig) DeepCopyObject() runtime.Object {
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitlabPipelineConfigApplyInput) DeepCopyInto(out *GitlabPipelineConfigApplyInput) {
*out = *in
in.GitlabConfig.DeepCopyInto(&out.GitlabConfig)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitlabPipelineConfigApplyInput.
func (in *GitlabPipelineConfigApplyInput) DeepCopy() *GitlabPipelineConfigApplyInput {
if in == nil {
return nil
}
out := new(GitlabPipelineConfigApplyInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitlabProvider) DeepCopyInto(out *GitlabProvider) {
*out = *in
@ -1070,6 +1207,22 @@ func (in *NamespacedServiceAccountTokenList) DeepCopyObject() runtime.Object {
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OauthApplyInput) DeepCopyInto(out *OauthApplyInput) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthApplyInput.
func (in *OauthApplyInput) DeepCopy() *OauthApplyInput {
if in == nil {
return nil
}
out := new(OauthApplyInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OauthProvider) DeepCopyInto(out *OauthProvider) {
*out = *in

View File

@ -0,0 +1,20 @@
package client
const (
BitbucketCloudApplyInputType = "bitbucketCloudApplyInput"
BitbucketCloudApplyInputFieldClientID = "clientId"
BitbucketCloudApplyInputFieldClientSecret = "clientSecret"
BitbucketCloudApplyInputFieldCode = "code"
BitbucketCloudApplyInputFieldHostname = "hostname"
BitbucketCloudApplyInputFieldRedirectURL = "redirectUrl"
BitbucketCloudApplyInputFieldTLS = "tls"
)
type BitbucketCloudApplyInput struct {
ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Code string `json:"code,omitempty" yaml:"code,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
}

View File

@ -0,0 +1,38 @@
package client
const (
BitbucketCloudPipelineConfigType = "bitbucketCloudPipelineConfig"
BitbucketCloudPipelineConfigFieldAnnotations = "annotations"
BitbucketCloudPipelineConfigFieldClientID = "clientId"
BitbucketCloudPipelineConfigFieldClientSecret = "clientSecret"
BitbucketCloudPipelineConfigFieldCreated = "created"
BitbucketCloudPipelineConfigFieldCreatorID = "creatorId"
BitbucketCloudPipelineConfigFieldEnabled = "enabled"
BitbucketCloudPipelineConfigFieldLabels = "labels"
BitbucketCloudPipelineConfigFieldName = "name"
BitbucketCloudPipelineConfigFieldNamespaceId = "namespaceId"
BitbucketCloudPipelineConfigFieldOwnerReferences = "ownerReferences"
BitbucketCloudPipelineConfigFieldProjectID = "projectId"
BitbucketCloudPipelineConfigFieldRedirectURL = "redirectUrl"
BitbucketCloudPipelineConfigFieldRemoved = "removed"
BitbucketCloudPipelineConfigFieldType = "type"
BitbucketCloudPipelineConfigFieldUUID = "uuid"
)
type BitbucketCloudPipelineConfig struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

View File

@ -0,0 +1,30 @@
package client
const (
BitbucketCloudProviderType = "bitbucketCloudProvider"
BitbucketCloudProviderFieldAnnotations = "annotations"
BitbucketCloudProviderFieldCreated = "created"
BitbucketCloudProviderFieldCreatorID = "creatorId"
BitbucketCloudProviderFieldLabels = "labels"
BitbucketCloudProviderFieldName = "name"
BitbucketCloudProviderFieldOwnerReferences = "ownerReferences"
BitbucketCloudProviderFieldProjectID = "projectId"
BitbucketCloudProviderFieldRedirectURL = "redirectUrl"
BitbucketCloudProviderFieldRemoved = "removed"
BitbucketCloudProviderFieldType = "type"
BitbucketCloudProviderFieldUUID = "uuid"
)
type BitbucketCloudProvider struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

View File

@ -0,0 +1,18 @@
package client
const (
BitbucketServerApplyInputType = "bitbucketServerApplyInput"
BitbucketServerApplyInputFieldHostname = "hostname"
BitbucketServerApplyInputFieldOAuthToken = "oauthToken"
BitbucketServerApplyInputFieldOAuthVerifier = "oauthVerifier"
BitbucketServerApplyInputFieldRedirectURL = "redirectUrl"
BitbucketServerApplyInputFieldTLS = "tls"
)
type BitbucketServerApplyInput struct {
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
OAuthToken string `json:"oauthToken,omitempty" yaml:"oauthToken,omitempty"`
OAuthVerifier string `json:"oauthVerifier,omitempty" yaml:"oauthVerifier,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
}

View File

@ -0,0 +1,44 @@
package client
const (
BitbucketServerPipelineConfigType = "bitbucketServerPipelineConfig"
BitbucketServerPipelineConfigFieldAnnotations = "annotations"
BitbucketServerPipelineConfigFieldConsumerKey = "consumerKey"
BitbucketServerPipelineConfigFieldCreated = "created"
BitbucketServerPipelineConfigFieldCreatorID = "creatorId"
BitbucketServerPipelineConfigFieldEnabled = "enabled"
BitbucketServerPipelineConfigFieldHostname = "hostname"
BitbucketServerPipelineConfigFieldLabels = "labels"
BitbucketServerPipelineConfigFieldName = "name"
BitbucketServerPipelineConfigFieldNamespaceId = "namespaceId"
BitbucketServerPipelineConfigFieldOwnerReferences = "ownerReferences"
BitbucketServerPipelineConfigFieldPrivateKey = "privateKey"
BitbucketServerPipelineConfigFieldProjectID = "projectId"
BitbucketServerPipelineConfigFieldPublicKey = "publicKey"
BitbucketServerPipelineConfigFieldRedirectURL = "redirectUrl"
BitbucketServerPipelineConfigFieldRemoved = "removed"
BitbucketServerPipelineConfigFieldTLS = "tls"
BitbucketServerPipelineConfigFieldType = "type"
BitbucketServerPipelineConfigFieldUUID = "uuid"
)
type BitbucketServerPipelineConfig struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
ConsumerKey string `json:"consumerKey,omitempty" yaml:"consumerKey,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
PrivateKey string `json:"privateKey,omitempty" yaml:"privateKey,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
PublicKey string `json:"publicKey,omitempty" yaml:"publicKey,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

View File

@ -0,0 +1,30 @@
package client
const (
BitbucketServerProviderType = "bitbucketServerProvider"
BitbucketServerProviderFieldAnnotations = "annotations"
BitbucketServerProviderFieldCreated = "created"
BitbucketServerProviderFieldCreatorID = "creatorId"
BitbucketServerProviderFieldLabels = "labels"
BitbucketServerProviderFieldName = "name"
BitbucketServerProviderFieldOwnerReferences = "ownerReferences"
BitbucketServerProviderFieldProjectID = "projectId"
BitbucketServerProviderFieldRedirectURL = "redirectUrl"
BitbucketServerProviderFieldRemoved = "removed"
BitbucketServerProviderFieldType = "type"
BitbucketServerProviderFieldUUID = "uuid"
)
type BitbucketServerProvider struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

View File

@ -0,0 +1,14 @@
package client
const (
BitbucketServerRequestLoginInputType = "bitbucketServerRequestLoginInput"
BitbucketServerRequestLoginInputFieldHostname = "hostname"
BitbucketServerRequestLoginInputFieldRedirectURL = "redirectUrl"
BitbucketServerRequestLoginInputFieldTLS = "tls"
)
type BitbucketServerRequestLoginInput struct {
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
}

View File

@ -0,0 +1,10 @@
package client
const (
BitbucketServerRequestLoginOutputType = "bitbucketServerRequestLoginOutput"
BitbucketServerRequestLoginOutputFieldLoginURL = "loginUrl"
)
type BitbucketServerRequestLoginOutput struct {
LoginURL string `json:"loginUrl,omitempty" yaml:"loginUrl,omitempty"`
}

View File

@ -0,0 +1,22 @@
package client
const (
GithubApplyInputType = "githubApplyInput"
GithubApplyInputFieldClientID = "clientId"
GithubApplyInputFieldClientSecret = "clientSecret"
GithubApplyInputFieldCode = "code"
GithubApplyInputFieldHostname = "hostname"
GithubApplyInputFieldInheritAuth = "inheritAuth"
GithubApplyInputFieldRedirectURL = "redirectUrl"
GithubApplyInputFieldTLS = "tls"
)
type GithubApplyInput struct {
ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Code string `json:"code,omitempty" yaml:"code,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
InheritAuth bool `json:"inheritAuth,omitempty" yaml:"inheritAuth,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
}

View File

@ -1,10 +0,0 @@
package client
const (
GithubLoginInputType = "githubLoginInput"
GithubLoginInputFieldCode = "code"
)
type GithubLoginInput struct {
Code string `json:"code,omitempty" yaml:"code,omitempty"`
}

View File

@ -1,14 +0,0 @@
package client
const (
GithubPipelineConfigApplyInputType = "githubPipelineConfigApplyInput"
GithubPipelineConfigApplyInputFieldCode = "code"
GithubPipelineConfigApplyInputFieldGithubConfig = "githubConfig"
GithubPipelineConfigApplyInputFieldInheritAuth = "inheritAuth"
)
type GithubPipelineConfigApplyInput struct {
Code string `json:"code,omitempty" yaml:"code,omitempty"`
GithubConfig *GithubPipelineConfig `json:"githubConfig,omitempty" yaml:"githubConfig,omitempty"`
InheritAuth bool `json:"inheritAuth,omitempty" yaml:"inheritAuth,omitempty"`
}

View File

@ -0,0 +1,20 @@
package client
const (
GitlabApplyInputType = "gitlabApplyInput"
GitlabApplyInputFieldClientID = "clientId"
GitlabApplyInputFieldClientSecret = "clientSecret"
GitlabApplyInputFieldCode = "code"
GitlabApplyInputFieldHostname = "hostname"
GitlabApplyInputFieldRedirectURL = "redirectUrl"
GitlabApplyInputFieldTLS = "tls"
)
type GitlabApplyInput struct {
ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Code string `json:"code,omitempty" yaml:"code,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
}

View File

@ -1,10 +0,0 @@
package client
const (
GitlabLoginInputType = "gitlabLoginInput"
GitlabLoginInputFieldCode = "code"
)
type GitlabLoginInput struct {
Code string `json:"code,omitempty" yaml:"code,omitempty"`
}

View File

@ -1,12 +0,0 @@
package client
const (
GitlabPipelineConfigApplyInputType = "gitlabPipelineConfigApplyInput"
GitlabPipelineConfigApplyInputFieldCode = "code"
GitlabPipelineConfigApplyInputFieldGitlabConfig = "gitlabConfig"
)
type GitlabPipelineConfigApplyInput struct {
Code string `json:"code,omitempty" yaml:"code,omitempty"`
GitlabConfig *GitlabPipelineConfig `json:"gitlabConfig,omitempty" yaml:"gitlabConfig,omitempty"`
}

View File

@ -12,6 +12,8 @@ const (
SourceCodeCredentialFieldCreated = "created"
SourceCodeCredentialFieldCreatorID = "creatorId"
SourceCodeCredentialFieldDisplayName = "displayName"
SourceCodeCredentialFieldExpiry = "expiry"
SourceCodeCredentialFieldGitCloneToken = "gitCloneToken"
SourceCodeCredentialFieldGitLoginName = "gitLoginName"
SourceCodeCredentialFieldHTMLURL = "htmlUrl"
SourceCodeCredentialFieldLabels = "labels"
@ -20,6 +22,7 @@ const (
SourceCodeCredentialFieldName = "name"
SourceCodeCredentialFieldOwnerReferences = "ownerReferences"
SourceCodeCredentialFieldProjectID = "projectId"
SourceCodeCredentialFieldRefreshToken = "refreshToken"
SourceCodeCredentialFieldRemoved = "removed"
SourceCodeCredentialFieldSourceCodeType = "sourceCodeType"
SourceCodeCredentialFieldState = "state"
@ -37,6 +40,8 @@ type SourceCodeCredential struct {
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
Expiry string `json:"expiry,omitempty" yaml:"expiry,omitempty"`
GitCloneToken string `json:"gitCloneToken,omitempty" yaml:"gitCloneToken,omitempty"`
GitLoginName string `json:"gitLoginName,omitempty" yaml:"gitLoginName,omitempty"`
HTMLURL string `json:"htmlUrl,omitempty" yaml:"htmlUrl,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
@ -45,6 +50,7 @@ type SourceCodeCredential struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
RefreshToken string `json:"refreshToken,omitempty" yaml:"refreshToken,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
SourceCodeType string `json:"sourceCodeType,omitempty" yaml:"sourceCodeType,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`

View File

@ -5,10 +5,13 @@ const (
SourceCodeCredentialSpecFieldAccessToken = "accessToken"
SourceCodeCredentialSpecFieldAvatarURL = "avatarUrl"
SourceCodeCredentialSpecFieldDisplayName = "displayName"
SourceCodeCredentialSpecFieldExpiry = "expiry"
SourceCodeCredentialSpecFieldGitCloneToken = "gitCloneToken"
SourceCodeCredentialSpecFieldGitLoginName = "gitLoginName"
SourceCodeCredentialSpecFieldHTMLURL = "htmlUrl"
SourceCodeCredentialSpecFieldLoginName = "loginName"
SourceCodeCredentialSpecFieldProjectID = "projectId"
SourceCodeCredentialSpecFieldRefreshToken = "refreshToken"
SourceCodeCredentialSpecFieldSourceCodeType = "sourceCodeType"
SourceCodeCredentialSpecFieldUserID = "userId"
)
@ -17,10 +20,13 @@ type SourceCodeCredentialSpec struct {
AccessToken string `json:"accessToken,omitempty" yaml:"accessToken,omitempty"`
AvatarURL string `json:"avatarUrl,omitempty" yaml:"avatarUrl,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
Expiry string `json:"expiry,omitempty" yaml:"expiry,omitempty"`
GitCloneToken string `json:"gitCloneToken,omitempty" yaml:"gitCloneToken,omitempty"`
GitLoginName string `json:"gitLoginName,omitempty" yaml:"gitLoginName,omitempty"`
HTMLURL string `json:"htmlUrl,omitempty" yaml:"htmlUrl,omitempty"`
LoginName string `json:"loginName,omitempty" yaml:"loginName,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
RefreshToken string `json:"refreshToken,omitempty" yaml:"refreshToken,omitempty"`
SourceCodeType string `json:"sourceCodeType,omitempty" yaml:"sourceCodeType,omitempty"`
UserID string `json:"userId,omitempty" yaml:"userId,omitempty"`
}