mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
repository.proto and 11 sibling hand-written .proto files referenced generated.proto's application/v1alpha1 types under the pre-fork package path (github.com.argoproj.argo_cd.v3...); protoc silently kept compiling because generated.proto still carried that same stale package too. Point both at the real, mechanically-derived path (github.com.hanzoai.cd.pkg.apis.application.v1alpha1, no v3 segment) and regenerate everything protoc/go-to-protobuf own: generated.proto/pb.go, every pkg/apiclient and reposerver/cmpserver/commitserver *.pb.go, assets/swagger.json, and the CRD manifests. That regeneration surfaced a second, unrelated bug: hack/gen-crd-spec stamped app.kubernetes.io/part-of: cd on the CRDs, but util/settings.isSettingsObject (and the ConfigMap informer built on it) only ever recognizes part-of=hanzocd. The same wrong "cd" value was baked into cmd/cd/commands/admin/settings.go's setSettingsMeta and the shared test/testdata.go fixtures ~30 files import — util/settings' own test suite was panicking on an empty slice because its fixture was invisible to the informer it was supposedly seeding. Fixed the label everywhere it's produced or asserted in the settings path; left the ~90 unrelated part-of:"cd" literals in other packages' local test fixtures alone since they never touch this selector. Also dropped 25 "TODO: Remove deprecated <dead upstream issue link>" comments that duplicated the real explanation already sitting one line away (a proper `Deprecated:` godoc, a cobra Deprecated field, or a nolint:staticcheck marker) — kept the explanation, dropped the link, per the standing rule for these citations. And repointed the two Grafana dashboards' job selector from argocd-server-metrics, a Service the manifests never create, to hanzocd-server-metrics, the one they do.
59999 lines
1.4 MiB
Plaintext
Generated
59999 lines
1.4 MiB
Plaintext
Generated
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: github.com/hanzoai/cd/pkg/apis/application/v1alpha1/generated.proto
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
fmt "fmt"
|
|
|
|
io "io"
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
github_com_hanzoai_cd_gitops_engine_pkg_health "github.com/hanzoai/cd/gitops-engine/pkg/health"
|
|
github_com_hanzoai_cd_gitops_engine_pkg_sync_common "github.com/hanzoai/cd/gitops-engine/pkg/sync/common"
|
|
k8s_io_api_core_v1 "k8s.io/api/core/v1"
|
|
v12 "k8s.io/api/core/v1"
|
|
v11 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
|
|
math "math"
|
|
math_bits "math/bits"
|
|
reflect "reflect"
|
|
strings "strings"
|
|
|
|
intstr "k8s.io/apimachinery/pkg/util/intstr"
|
|
k8s_io_apimachinery_pkg_watch "k8s.io/apimachinery/pkg/watch"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
func (m *AWSAuthConfig) Reset() { *m = AWSAuthConfig{} }
|
|
func (*AWSAuthConfig) ProtoMessage() {}
|
|
func (*AWSAuthConfig) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{0}
|
|
}
|
|
func (m *AWSAuthConfig) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AWSAuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *AWSAuthConfig) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AWSAuthConfig.Merge(m, src)
|
|
}
|
|
func (m *AWSAuthConfig) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AWSAuthConfig) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AWSAuthConfig.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AWSAuthConfig proto.InternalMessageInfo
|
|
|
|
func (m *AppHealthStatus) Reset() { *m = AppHealthStatus{} }
|
|
func (*AppHealthStatus) ProtoMessage() {}
|
|
func (*AppHealthStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{1}
|
|
}
|
|
func (m *AppHealthStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AppHealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *AppHealthStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AppHealthStatus.Merge(m, src)
|
|
}
|
|
func (m *AppHealthStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AppHealthStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AppHealthStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AppHealthStatus proto.InternalMessageInfo
|
|
|
|
func (m *AppProject) Reset() { *m = AppProject{} }
|
|
func (*AppProject) ProtoMessage() {}
|
|
func (*AppProject) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{2}
|
|
}
|
|
func (m *AppProject) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AppProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *AppProject) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AppProject.Merge(m, src)
|
|
}
|
|
func (m *AppProject) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AppProject) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AppProject.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AppProject proto.InternalMessageInfo
|
|
|
|
func (m *AppProjectList) Reset() { *m = AppProjectList{} }
|
|
func (*AppProjectList) ProtoMessage() {}
|
|
func (*AppProjectList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{3}
|
|
}
|
|
func (m *AppProjectList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AppProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *AppProjectList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AppProjectList.Merge(m, src)
|
|
}
|
|
func (m *AppProjectList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AppProjectList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AppProjectList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AppProjectList proto.InternalMessageInfo
|
|
|
|
func (m *AppProjectSpec) Reset() { *m = AppProjectSpec{} }
|
|
func (*AppProjectSpec) ProtoMessage() {}
|
|
func (*AppProjectSpec) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{4}
|
|
}
|
|
func (m *AppProjectSpec) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AppProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *AppProjectSpec) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AppProjectSpec.Merge(m, src)
|
|
}
|
|
func (m *AppProjectSpec) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AppProjectSpec) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AppProjectSpec.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AppProjectSpec proto.InternalMessageInfo
|
|
|
|
func (m *AppProjectStatus) Reset() { *m = AppProjectStatus{} }
|
|
func (*AppProjectStatus) ProtoMessage() {}
|
|
func (*AppProjectStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{5}
|
|
}
|
|
func (m *AppProjectStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AppProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *AppProjectStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AppProjectStatus.Merge(m, src)
|
|
}
|
|
func (m *AppProjectStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AppProjectStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AppProjectStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AppProjectStatus proto.InternalMessageInfo
|
|
|
|
func (m *Application) Reset() { *m = Application{} }
|
|
func (*Application) ProtoMessage() {}
|
|
func (*Application) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{6}
|
|
}
|
|
func (m *Application) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Application) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Application.Merge(m, src)
|
|
}
|
|
func (m *Application) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Application) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Application.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Application proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationCondition) Reset() { *m = ApplicationCondition{} }
|
|
func (*ApplicationCondition) ProtoMessage() {}
|
|
func (*ApplicationCondition) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{7}
|
|
}
|
|
func (m *ApplicationCondition) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationCondition) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationCondition.Merge(m, src)
|
|
}
|
|
func (m *ApplicationCondition) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationCondition) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationCondition.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationCondition proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationDestination) Reset() { *m = ApplicationDestination{} }
|
|
func (*ApplicationDestination) ProtoMessage() {}
|
|
func (*ApplicationDestination) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{8}
|
|
}
|
|
func (m *ApplicationDestination) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationDestination) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationDestination.Merge(m, src)
|
|
}
|
|
func (m *ApplicationDestination) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationDestination) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationDestination.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationDestination proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationDestinationServiceAccount) Reset() { *m = ApplicationDestinationServiceAccount{} }
|
|
func (*ApplicationDestinationServiceAccount) ProtoMessage() {}
|
|
func (*ApplicationDestinationServiceAccount) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{9}
|
|
}
|
|
func (m *ApplicationDestinationServiceAccount) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationDestinationServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationDestinationServiceAccount) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationDestinationServiceAccount.Merge(m, src)
|
|
}
|
|
func (m *ApplicationDestinationServiceAccount) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationDestinationServiceAccount) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationDestinationServiceAccount.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationDestinationServiceAccount proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationList) Reset() { *m = ApplicationList{} }
|
|
func (*ApplicationList) ProtoMessage() {}
|
|
func (*ApplicationList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{10}
|
|
}
|
|
func (m *ApplicationList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationList.Merge(m, src)
|
|
}
|
|
func (m *ApplicationList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationList proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationMatchExpression) Reset() { *m = ApplicationMatchExpression{} }
|
|
func (*ApplicationMatchExpression) ProtoMessage() {}
|
|
func (*ApplicationMatchExpression) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{11}
|
|
}
|
|
func (m *ApplicationMatchExpression) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationMatchExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationMatchExpression) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationMatchExpression.Merge(m, src)
|
|
}
|
|
func (m *ApplicationMatchExpression) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationMatchExpression) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationMatchExpression.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationMatchExpression proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationPreservedFields) Reset() { *m = ApplicationPreservedFields{} }
|
|
func (*ApplicationPreservedFields) ProtoMessage() {}
|
|
func (*ApplicationPreservedFields) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{12}
|
|
}
|
|
func (m *ApplicationPreservedFields) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationPreservedFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationPreservedFields) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationPreservedFields.Merge(m, src)
|
|
}
|
|
func (m *ApplicationPreservedFields) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationPreservedFields) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationPreservedFields.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationPreservedFields proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSet) Reset() { *m = ApplicationSet{} }
|
|
func (*ApplicationSet) ProtoMessage() {}
|
|
func (*ApplicationSet) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{13}
|
|
}
|
|
func (m *ApplicationSet) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSet) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSet.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSet) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSet) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSet.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSet proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetApplicationStatus) Reset() { *m = ApplicationSetApplicationStatus{} }
|
|
func (*ApplicationSetApplicationStatus) ProtoMessage() {}
|
|
func (*ApplicationSetApplicationStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{14}
|
|
}
|
|
func (m *ApplicationSetApplicationStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetApplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetApplicationStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetApplicationStatus.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetApplicationStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetApplicationStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetApplicationStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetApplicationStatus proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetCondition) Reset() { *m = ApplicationSetCondition{} }
|
|
func (*ApplicationSetCondition) ProtoMessage() {}
|
|
func (*ApplicationSetCondition) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{15}
|
|
}
|
|
func (m *ApplicationSetCondition) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetCondition) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetCondition.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetCondition) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetCondition) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetCondition.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetCondition proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetGenerator) Reset() { *m = ApplicationSetGenerator{} }
|
|
func (*ApplicationSetGenerator) ProtoMessage() {}
|
|
func (*ApplicationSetGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{16}
|
|
}
|
|
func (m *ApplicationSetGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetGenerator.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetGenerator proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetList) Reset() { *m = ApplicationSetList{} }
|
|
func (*ApplicationSetList) ProtoMessage() {}
|
|
func (*ApplicationSetList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{17}
|
|
}
|
|
func (m *ApplicationSetList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetList.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetList proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetNestedGenerator) Reset() { *m = ApplicationSetNestedGenerator{} }
|
|
func (*ApplicationSetNestedGenerator) ProtoMessage() {}
|
|
func (*ApplicationSetNestedGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{18}
|
|
}
|
|
func (m *ApplicationSetNestedGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetNestedGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetNestedGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetNestedGenerator.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetNestedGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetNestedGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetNestedGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetNestedGenerator proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetResourceIgnoreDifferences) Reset() {
|
|
*m = ApplicationSetResourceIgnoreDifferences{}
|
|
}
|
|
func (*ApplicationSetResourceIgnoreDifferences) ProtoMessage() {}
|
|
func (*ApplicationSetResourceIgnoreDifferences) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{19}
|
|
}
|
|
func (m *ApplicationSetResourceIgnoreDifferences) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetResourceIgnoreDifferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetResourceIgnoreDifferences) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetResourceIgnoreDifferences.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetResourceIgnoreDifferences) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetResourceIgnoreDifferences) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetResourceIgnoreDifferences.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetResourceIgnoreDifferences proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetRolloutStep) Reset() { *m = ApplicationSetRolloutStep{} }
|
|
func (*ApplicationSetRolloutStep) ProtoMessage() {}
|
|
func (*ApplicationSetRolloutStep) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{20}
|
|
}
|
|
func (m *ApplicationSetRolloutStep) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetRolloutStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetRolloutStep) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetRolloutStep.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetRolloutStep) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetRolloutStep) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetRolloutStep.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetRolloutStep proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetRolloutStrategy) Reset() { *m = ApplicationSetRolloutStrategy{} }
|
|
func (*ApplicationSetRolloutStrategy) ProtoMessage() {}
|
|
func (*ApplicationSetRolloutStrategy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{21}
|
|
}
|
|
func (m *ApplicationSetRolloutStrategy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetRolloutStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetRolloutStrategy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetRolloutStrategy.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetRolloutStrategy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetRolloutStrategy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetRolloutStrategy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetRolloutStrategy proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetSpec) Reset() { *m = ApplicationSetSpec{} }
|
|
func (*ApplicationSetSpec) ProtoMessage() {}
|
|
func (*ApplicationSetSpec) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{22}
|
|
}
|
|
func (m *ApplicationSetSpec) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetSpec) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetSpec.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetSpec) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetSpec) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetSpec.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetSpec proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetStatus) Reset() { *m = ApplicationSetStatus{} }
|
|
func (*ApplicationSetStatus) ProtoMessage() {}
|
|
func (*ApplicationSetStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{23}
|
|
}
|
|
func (m *ApplicationSetStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetStatus.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetStatus proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetStrategy) Reset() { *m = ApplicationSetStrategy{} }
|
|
func (*ApplicationSetStrategy) ProtoMessage() {}
|
|
func (*ApplicationSetStrategy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{24}
|
|
}
|
|
func (m *ApplicationSetStrategy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetStrategy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetStrategy.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetStrategy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetStrategy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetStrategy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetStrategy proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetSyncPolicy) Reset() { *m = ApplicationSetSyncPolicy{} }
|
|
func (*ApplicationSetSyncPolicy) ProtoMessage() {}
|
|
func (*ApplicationSetSyncPolicy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{25}
|
|
}
|
|
func (m *ApplicationSetSyncPolicy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetSyncPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetSyncPolicy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetSyncPolicy.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetSyncPolicy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetSyncPolicy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetSyncPolicy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetSyncPolicy proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetTemplate) Reset() { *m = ApplicationSetTemplate{} }
|
|
func (*ApplicationSetTemplate) ProtoMessage() {}
|
|
func (*ApplicationSetTemplate) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{26}
|
|
}
|
|
func (m *ApplicationSetTemplate) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetTemplate) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetTemplate.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetTemplate) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetTemplate) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetTemplate.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetTemplate proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetTemplateMeta) Reset() { *m = ApplicationSetTemplateMeta{} }
|
|
func (*ApplicationSetTemplateMeta) ProtoMessage() {}
|
|
func (*ApplicationSetTemplateMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{27}
|
|
}
|
|
func (m *ApplicationSetTemplateMeta) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetTemplateMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetTemplateMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetTemplateMeta.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetTemplateMeta) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetTemplateMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetTemplateMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetTemplateMeta proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetTerminalGenerator) Reset() { *m = ApplicationSetTerminalGenerator{} }
|
|
func (*ApplicationSetTerminalGenerator) ProtoMessage() {}
|
|
func (*ApplicationSetTerminalGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{28}
|
|
}
|
|
func (m *ApplicationSetTerminalGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetTerminalGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetTerminalGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetTerminalGenerator.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetTerminalGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetTerminalGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetTerminalGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetTerminalGenerator proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetTree) Reset() { *m = ApplicationSetTree{} }
|
|
func (*ApplicationSetTree) ProtoMessage() {}
|
|
func (*ApplicationSetTree) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{29}
|
|
}
|
|
func (m *ApplicationSetTree) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetTree) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetTree.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetTree) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetTree) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetTree.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetTree proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSetWatchEvent) Reset() { *m = ApplicationSetWatchEvent{} }
|
|
func (*ApplicationSetWatchEvent) ProtoMessage() {}
|
|
func (*ApplicationSetWatchEvent) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{30}
|
|
}
|
|
func (m *ApplicationSetWatchEvent) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSetWatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSetWatchEvent) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSetWatchEvent.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSetWatchEvent) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSetWatchEvent) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSetWatchEvent.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSetWatchEvent proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSource) Reset() { *m = ApplicationSource{} }
|
|
func (*ApplicationSource) ProtoMessage() {}
|
|
func (*ApplicationSource) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{31}
|
|
}
|
|
func (m *ApplicationSource) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSource) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSource.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSource) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSource) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSource.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSource proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSourceDirectory) Reset() { *m = ApplicationSourceDirectory{} }
|
|
func (*ApplicationSourceDirectory) ProtoMessage() {}
|
|
func (*ApplicationSourceDirectory) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{32}
|
|
}
|
|
func (m *ApplicationSourceDirectory) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSourceDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSourceDirectory) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSourceDirectory.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSourceDirectory) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSourceDirectory) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSourceDirectory.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSourceDirectory proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSourceHelm) Reset() { *m = ApplicationSourceHelm{} }
|
|
func (*ApplicationSourceHelm) ProtoMessage() {}
|
|
func (*ApplicationSourceHelm) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{33}
|
|
}
|
|
func (m *ApplicationSourceHelm) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSourceHelm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSourceHelm) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSourceHelm.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSourceHelm) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSourceHelm) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSourceHelm.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSourceHelm proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSourceJsonnet) Reset() { *m = ApplicationSourceJsonnet{} }
|
|
func (*ApplicationSourceJsonnet) ProtoMessage() {}
|
|
func (*ApplicationSourceJsonnet) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{34}
|
|
}
|
|
func (m *ApplicationSourceJsonnet) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSourceJsonnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSourceJsonnet) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSourceJsonnet.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSourceJsonnet) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSourceJsonnet) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSourceJsonnet.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSourceJsonnet proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSourceKustomize) Reset() { *m = ApplicationSourceKustomize{} }
|
|
func (*ApplicationSourceKustomize) ProtoMessage() {}
|
|
func (*ApplicationSourceKustomize) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{35}
|
|
}
|
|
func (m *ApplicationSourceKustomize) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSourceKustomize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSourceKustomize) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSourceKustomize.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSourceKustomize) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSourceKustomize) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSourceKustomize.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSourceKustomize proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSourcePlugin) Reset() { *m = ApplicationSourcePlugin{} }
|
|
func (*ApplicationSourcePlugin) ProtoMessage() {}
|
|
func (*ApplicationSourcePlugin) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{36}
|
|
}
|
|
func (m *ApplicationSourcePlugin) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSourcePlugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSourcePlugin) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSourcePlugin.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSourcePlugin) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSourcePlugin) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSourcePlugin.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSourcePlugin proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSourcePluginParameter) Reset() { *m = ApplicationSourcePluginParameter{} }
|
|
func (*ApplicationSourcePluginParameter) ProtoMessage() {}
|
|
func (*ApplicationSourcePluginParameter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{37}
|
|
}
|
|
func (m *ApplicationSourcePluginParameter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSourcePluginParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSourcePluginParameter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSourcePluginParameter.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSourcePluginParameter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSourcePluginParameter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSourcePluginParameter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSourcePluginParameter proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSpec) Reset() { *m = ApplicationSpec{} }
|
|
func (*ApplicationSpec) ProtoMessage() {}
|
|
func (*ApplicationSpec) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{38}
|
|
}
|
|
func (m *ApplicationSpec) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSpec) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSpec.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSpec) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSpec) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSpec.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSpec proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationStatus) Reset() { *m = ApplicationStatus{} }
|
|
func (*ApplicationStatus) ProtoMessage() {}
|
|
func (*ApplicationStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{39}
|
|
}
|
|
func (m *ApplicationStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationStatus.Merge(m, src)
|
|
}
|
|
func (m *ApplicationStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationStatus proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSummary) Reset() { *m = ApplicationSummary{} }
|
|
func (*ApplicationSummary) ProtoMessage() {}
|
|
func (*ApplicationSummary) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{40}
|
|
}
|
|
func (m *ApplicationSummary) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationSummary) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSummary.Merge(m, src)
|
|
}
|
|
func (m *ApplicationSummary) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSummary) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSummary.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSummary proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationTree) Reset() { *m = ApplicationTree{} }
|
|
func (*ApplicationTree) ProtoMessage() {}
|
|
func (*ApplicationTree) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{41}
|
|
}
|
|
func (m *ApplicationTree) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationTree) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationTree.Merge(m, src)
|
|
}
|
|
func (m *ApplicationTree) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationTree) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationTree.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationTree proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationWatchEvent) Reset() { *m = ApplicationWatchEvent{} }
|
|
func (*ApplicationWatchEvent) ProtoMessage() {}
|
|
func (*ApplicationWatchEvent) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{42}
|
|
}
|
|
func (m *ApplicationWatchEvent) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationWatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ApplicationWatchEvent) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationWatchEvent.Merge(m, src)
|
|
}
|
|
func (m *ApplicationWatchEvent) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationWatchEvent) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationWatchEvent.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationWatchEvent proto.InternalMessageInfo
|
|
|
|
func (m *Backoff) Reset() { *m = Backoff{} }
|
|
func (*Backoff) ProtoMessage() {}
|
|
func (*Backoff) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{43}
|
|
}
|
|
func (m *Backoff) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Backoff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Backoff) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Backoff.Merge(m, src)
|
|
}
|
|
func (m *Backoff) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Backoff) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Backoff.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Backoff proto.InternalMessageInfo
|
|
|
|
func (m *BasicAuthBitbucketServer) Reset() { *m = BasicAuthBitbucketServer{} }
|
|
func (*BasicAuthBitbucketServer) ProtoMessage() {}
|
|
func (*BasicAuthBitbucketServer) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{44}
|
|
}
|
|
func (m *BasicAuthBitbucketServer) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *BasicAuthBitbucketServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *BasicAuthBitbucketServer) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BasicAuthBitbucketServer.Merge(m, src)
|
|
}
|
|
func (m *BasicAuthBitbucketServer) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *BasicAuthBitbucketServer) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BasicAuthBitbucketServer.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BasicAuthBitbucketServer proto.InternalMessageInfo
|
|
|
|
func (m *BearerTokenBitbucket) Reset() { *m = BearerTokenBitbucket{} }
|
|
func (*BearerTokenBitbucket) ProtoMessage() {}
|
|
func (*BearerTokenBitbucket) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{45}
|
|
}
|
|
func (m *BearerTokenBitbucket) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *BearerTokenBitbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *BearerTokenBitbucket) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BearerTokenBitbucket.Merge(m, src)
|
|
}
|
|
func (m *BearerTokenBitbucket) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *BearerTokenBitbucket) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BearerTokenBitbucket.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BearerTokenBitbucket proto.InternalMessageInfo
|
|
|
|
func (m *BearerTokenBitbucketCloud) Reset() { *m = BearerTokenBitbucketCloud{} }
|
|
func (*BearerTokenBitbucketCloud) ProtoMessage() {}
|
|
func (*BearerTokenBitbucketCloud) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{46}
|
|
}
|
|
func (m *BearerTokenBitbucketCloud) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *BearerTokenBitbucketCloud) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *BearerTokenBitbucketCloud) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BearerTokenBitbucketCloud.Merge(m, src)
|
|
}
|
|
func (m *BearerTokenBitbucketCloud) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *BearerTokenBitbucketCloud) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BearerTokenBitbucketCloud.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BearerTokenBitbucketCloud proto.InternalMessageInfo
|
|
|
|
func (m *ChartDetails) Reset() { *m = ChartDetails{} }
|
|
func (*ChartDetails) ProtoMessage() {}
|
|
func (*ChartDetails) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{47}
|
|
}
|
|
func (m *ChartDetails) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ChartDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ChartDetails) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ChartDetails.Merge(m, src)
|
|
}
|
|
func (m *ChartDetails) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ChartDetails) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ChartDetails.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ChartDetails proto.InternalMessageInfo
|
|
|
|
func (m *Cluster) Reset() { *m = Cluster{} }
|
|
func (*Cluster) ProtoMessage() {}
|
|
func (*Cluster) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{48}
|
|
}
|
|
func (m *Cluster) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Cluster) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Cluster.Merge(m, src)
|
|
}
|
|
func (m *Cluster) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Cluster) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Cluster.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Cluster proto.InternalMessageInfo
|
|
|
|
func (m *ClusterCacheInfo) Reset() { *m = ClusterCacheInfo{} }
|
|
func (*ClusterCacheInfo) ProtoMessage() {}
|
|
func (*ClusterCacheInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{49}
|
|
}
|
|
func (m *ClusterCacheInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ClusterCacheInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ClusterCacheInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ClusterCacheInfo.Merge(m, src)
|
|
}
|
|
func (m *ClusterCacheInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ClusterCacheInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ClusterCacheInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ClusterCacheInfo proto.InternalMessageInfo
|
|
|
|
func (m *ClusterConfig) Reset() { *m = ClusterConfig{} }
|
|
func (*ClusterConfig) ProtoMessage() {}
|
|
func (*ClusterConfig) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{50}
|
|
}
|
|
func (m *ClusterConfig) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ClusterConfig) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ClusterConfig.Merge(m, src)
|
|
}
|
|
func (m *ClusterConfig) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ClusterConfig) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ClusterConfig.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ClusterConfig proto.InternalMessageInfo
|
|
|
|
func (m *ClusterGenerator) Reset() { *m = ClusterGenerator{} }
|
|
func (*ClusterGenerator) ProtoMessage() {}
|
|
func (*ClusterGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{51}
|
|
}
|
|
func (m *ClusterGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ClusterGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ClusterGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ClusterGenerator.Merge(m, src)
|
|
}
|
|
func (m *ClusterGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ClusterGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ClusterGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ClusterGenerator proto.InternalMessageInfo
|
|
|
|
func (m *ClusterInfo) Reset() { *m = ClusterInfo{} }
|
|
func (*ClusterInfo) ProtoMessage() {}
|
|
func (*ClusterInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{52}
|
|
}
|
|
func (m *ClusterInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ClusterInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ClusterInfo.Merge(m, src)
|
|
}
|
|
func (m *ClusterInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ClusterInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ClusterInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ClusterInfo proto.InternalMessageInfo
|
|
|
|
func (m *ClusterList) Reset() { *m = ClusterList{} }
|
|
func (*ClusterList) ProtoMessage() {}
|
|
func (*ClusterList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{53}
|
|
}
|
|
func (m *ClusterList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ClusterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ClusterList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ClusterList.Merge(m, src)
|
|
}
|
|
func (m *ClusterList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ClusterList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ClusterList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ClusterList proto.InternalMessageInfo
|
|
|
|
func (m *ClusterResourceRestrictionItem) Reset() { *m = ClusterResourceRestrictionItem{} }
|
|
func (*ClusterResourceRestrictionItem) ProtoMessage() {}
|
|
func (*ClusterResourceRestrictionItem) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{54}
|
|
}
|
|
func (m *ClusterResourceRestrictionItem) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ClusterResourceRestrictionItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ClusterResourceRestrictionItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ClusterResourceRestrictionItem.Merge(m, src)
|
|
}
|
|
func (m *ClusterResourceRestrictionItem) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ClusterResourceRestrictionItem) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ClusterResourceRestrictionItem.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ClusterResourceRestrictionItem proto.InternalMessageInfo
|
|
|
|
func (m *Command) Reset() { *m = Command{} }
|
|
func (*Command) ProtoMessage() {}
|
|
func (*Command) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{55}
|
|
}
|
|
func (m *Command) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Command) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Command.Merge(m, src)
|
|
}
|
|
func (m *Command) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Command) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Command.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Command proto.InternalMessageInfo
|
|
|
|
func (m *CommitMetadata) Reset() { *m = CommitMetadata{} }
|
|
func (*CommitMetadata) ProtoMessage() {}
|
|
func (*CommitMetadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{56}
|
|
}
|
|
func (m *CommitMetadata) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CommitMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *CommitMetadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommitMetadata.Merge(m, src)
|
|
}
|
|
func (m *CommitMetadata) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CommitMetadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommitMetadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommitMetadata proto.InternalMessageInfo
|
|
|
|
func (m *ComparedTo) Reset() { *m = ComparedTo{} }
|
|
func (*ComparedTo) ProtoMessage() {}
|
|
func (*ComparedTo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{57}
|
|
}
|
|
func (m *ComparedTo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ComparedTo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ComparedTo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ComparedTo.Merge(m, src)
|
|
}
|
|
func (m *ComparedTo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ComparedTo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ComparedTo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ComparedTo proto.InternalMessageInfo
|
|
|
|
func (m *ComponentParameter) Reset() { *m = ComponentParameter{} }
|
|
func (*ComponentParameter) ProtoMessage() {}
|
|
func (*ComponentParameter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{58}
|
|
}
|
|
func (m *ComponentParameter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ComponentParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ComponentParameter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ComponentParameter.Merge(m, src)
|
|
}
|
|
func (m *ComponentParameter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ComponentParameter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ComponentParameter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ComponentParameter proto.InternalMessageInfo
|
|
|
|
func (m *ConfigManagementPlugin) Reset() { *m = ConfigManagementPlugin{} }
|
|
func (*ConfigManagementPlugin) ProtoMessage() {}
|
|
func (*ConfigManagementPlugin) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{59}
|
|
}
|
|
func (m *ConfigManagementPlugin) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ConfigManagementPlugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ConfigManagementPlugin) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ConfigManagementPlugin.Merge(m, src)
|
|
}
|
|
func (m *ConfigManagementPlugin) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ConfigManagementPlugin) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ConfigManagementPlugin.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ConfigManagementPlugin proto.InternalMessageInfo
|
|
|
|
func (m *ConfigMapKeyRef) Reset() { *m = ConfigMapKeyRef{} }
|
|
func (*ConfigMapKeyRef) ProtoMessage() {}
|
|
func (*ConfigMapKeyRef) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{60}
|
|
}
|
|
func (m *ConfigMapKeyRef) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ConfigMapKeyRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ConfigMapKeyRef) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ConfigMapKeyRef.Merge(m, src)
|
|
}
|
|
func (m *ConfigMapKeyRef) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ConfigMapKeyRef) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ConfigMapKeyRef.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ConfigMapKeyRef proto.InternalMessageInfo
|
|
|
|
func (m *ConnectionState) Reset() { *m = ConnectionState{} }
|
|
func (*ConnectionState) ProtoMessage() {}
|
|
func (*ConnectionState) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{61}
|
|
}
|
|
func (m *ConnectionState) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ConnectionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ConnectionState) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ConnectionState.Merge(m, src)
|
|
}
|
|
func (m *ConnectionState) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ConnectionState) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ConnectionState.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ConnectionState proto.InternalMessageInfo
|
|
|
|
func (m *DrySource) Reset() { *m = DrySource{} }
|
|
func (*DrySource) ProtoMessage() {}
|
|
func (*DrySource) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{62}
|
|
}
|
|
func (m *DrySource) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DrySource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *DrySource) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DrySource.Merge(m, src)
|
|
}
|
|
func (m *DrySource) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DrySource) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DrySource.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DrySource proto.InternalMessageInfo
|
|
|
|
func (m *DuckTypeGenerator) Reset() { *m = DuckTypeGenerator{} }
|
|
func (*DuckTypeGenerator) ProtoMessage() {}
|
|
func (*DuckTypeGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{63}
|
|
}
|
|
func (m *DuckTypeGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DuckTypeGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *DuckTypeGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DuckTypeGenerator.Merge(m, src)
|
|
}
|
|
func (m *DuckTypeGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DuckTypeGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DuckTypeGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DuckTypeGenerator proto.InternalMessageInfo
|
|
|
|
func (m *EnvEntry) Reset() { *m = EnvEntry{} }
|
|
func (*EnvEntry) ProtoMessage() {}
|
|
func (*EnvEntry) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{64}
|
|
}
|
|
func (m *EnvEntry) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *EnvEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *EnvEntry) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_EnvEntry.Merge(m, src)
|
|
}
|
|
func (m *EnvEntry) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *EnvEntry) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_EnvEntry.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_EnvEntry proto.InternalMessageInfo
|
|
|
|
func (m *ExecProviderConfig) Reset() { *m = ExecProviderConfig{} }
|
|
func (*ExecProviderConfig) ProtoMessage() {}
|
|
func (*ExecProviderConfig) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{65}
|
|
}
|
|
func (m *ExecProviderConfig) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ExecProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ExecProviderConfig) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ExecProviderConfig.Merge(m, src)
|
|
}
|
|
func (m *ExecProviderConfig) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ExecProviderConfig) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ExecProviderConfig.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ExecProviderConfig proto.InternalMessageInfo
|
|
|
|
func (m *GitDirectoryGeneratorItem) Reset() { *m = GitDirectoryGeneratorItem{} }
|
|
func (*GitDirectoryGeneratorItem) ProtoMessage() {}
|
|
func (*GitDirectoryGeneratorItem) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{66}
|
|
}
|
|
func (m *GitDirectoryGeneratorItem) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GitDirectoryGeneratorItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *GitDirectoryGeneratorItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GitDirectoryGeneratorItem.Merge(m, src)
|
|
}
|
|
func (m *GitDirectoryGeneratorItem) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GitDirectoryGeneratorItem) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GitDirectoryGeneratorItem.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GitDirectoryGeneratorItem proto.InternalMessageInfo
|
|
|
|
func (m *GitFileGeneratorItem) Reset() { *m = GitFileGeneratorItem{} }
|
|
func (*GitFileGeneratorItem) ProtoMessage() {}
|
|
func (*GitFileGeneratorItem) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{67}
|
|
}
|
|
func (m *GitFileGeneratorItem) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GitFileGeneratorItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *GitFileGeneratorItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GitFileGeneratorItem.Merge(m, src)
|
|
}
|
|
func (m *GitFileGeneratorItem) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GitFileGeneratorItem) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GitFileGeneratorItem.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GitFileGeneratorItem proto.InternalMessageInfo
|
|
|
|
func (m *GitGenerator) Reset() { *m = GitGenerator{} }
|
|
func (*GitGenerator) ProtoMessage() {}
|
|
func (*GitGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{68}
|
|
}
|
|
func (m *GitGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GitGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *GitGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GitGenerator.Merge(m, src)
|
|
}
|
|
func (m *GitGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GitGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GitGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GitGenerator proto.InternalMessageInfo
|
|
|
|
func (m *GnuPGPublicKey) Reset() { *m = GnuPGPublicKey{} }
|
|
func (*GnuPGPublicKey) ProtoMessage() {}
|
|
func (*GnuPGPublicKey) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{69}
|
|
}
|
|
func (m *GnuPGPublicKey) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GnuPGPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *GnuPGPublicKey) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GnuPGPublicKey.Merge(m, src)
|
|
}
|
|
func (m *GnuPGPublicKey) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GnuPGPublicKey) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GnuPGPublicKey.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GnuPGPublicKey proto.InternalMessageInfo
|
|
|
|
func (m *GnuPGPublicKeyList) Reset() { *m = GnuPGPublicKeyList{} }
|
|
func (*GnuPGPublicKeyList) ProtoMessage() {}
|
|
func (*GnuPGPublicKeyList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{70}
|
|
}
|
|
func (m *GnuPGPublicKeyList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GnuPGPublicKeyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *GnuPGPublicKeyList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GnuPGPublicKeyList.Merge(m, src)
|
|
}
|
|
func (m *GnuPGPublicKeyList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GnuPGPublicKeyList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GnuPGPublicKeyList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GnuPGPublicKeyList proto.InternalMessageInfo
|
|
|
|
func (m *HealthStatus) Reset() { *m = HealthStatus{} }
|
|
func (*HealthStatus) ProtoMessage() {}
|
|
func (*HealthStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{71}
|
|
}
|
|
func (m *HealthStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HealthStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HealthStatus.Merge(m, src)
|
|
}
|
|
func (m *HealthStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HealthStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HealthStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HealthStatus proto.InternalMessageInfo
|
|
|
|
func (m *HelmFileParameter) Reset() { *m = HelmFileParameter{} }
|
|
func (*HelmFileParameter) ProtoMessage() {}
|
|
func (*HelmFileParameter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{72}
|
|
}
|
|
func (m *HelmFileParameter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HelmFileParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HelmFileParameter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HelmFileParameter.Merge(m, src)
|
|
}
|
|
func (m *HelmFileParameter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HelmFileParameter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HelmFileParameter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HelmFileParameter proto.InternalMessageInfo
|
|
|
|
func (m *HelmOptions) Reset() { *m = HelmOptions{} }
|
|
func (*HelmOptions) ProtoMessage() {}
|
|
func (*HelmOptions) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{73}
|
|
}
|
|
func (m *HelmOptions) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HelmOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HelmOptions) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HelmOptions.Merge(m, src)
|
|
}
|
|
func (m *HelmOptions) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HelmOptions) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HelmOptions.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HelmOptions proto.InternalMessageInfo
|
|
|
|
func (m *HelmParameter) Reset() { *m = HelmParameter{} }
|
|
func (*HelmParameter) ProtoMessage() {}
|
|
func (*HelmParameter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{74}
|
|
}
|
|
func (m *HelmParameter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HelmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HelmParameter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HelmParameter.Merge(m, src)
|
|
}
|
|
func (m *HelmParameter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HelmParameter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HelmParameter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HelmParameter proto.InternalMessageInfo
|
|
|
|
func (m *HostInfo) Reset() { *m = HostInfo{} }
|
|
func (*HostInfo) ProtoMessage() {}
|
|
func (*HostInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{75}
|
|
}
|
|
func (m *HostInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HostInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HostInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HostInfo.Merge(m, src)
|
|
}
|
|
func (m *HostInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HostInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HostInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HostInfo proto.InternalMessageInfo
|
|
|
|
func (m *HostResourceInfo) Reset() { *m = HostResourceInfo{} }
|
|
func (*HostResourceInfo) ProtoMessage() {}
|
|
func (*HostResourceInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{76}
|
|
}
|
|
func (m *HostResourceInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HostResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HostResourceInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HostResourceInfo.Merge(m, src)
|
|
}
|
|
func (m *HostResourceInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HostResourceInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HostResourceInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HostResourceInfo proto.InternalMessageInfo
|
|
|
|
func (m *HydrateOperation) Reset() { *m = HydrateOperation{} }
|
|
func (*HydrateOperation) ProtoMessage() {}
|
|
func (*HydrateOperation) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{77}
|
|
}
|
|
func (m *HydrateOperation) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HydrateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HydrateOperation) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HydrateOperation.Merge(m, src)
|
|
}
|
|
func (m *HydrateOperation) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HydrateOperation) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HydrateOperation.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HydrateOperation proto.InternalMessageInfo
|
|
|
|
func (m *HydrateTo) Reset() { *m = HydrateTo{} }
|
|
func (*HydrateTo) ProtoMessage() {}
|
|
func (*HydrateTo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{78}
|
|
}
|
|
func (m *HydrateTo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *HydrateTo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *HydrateTo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HydrateTo.Merge(m, src)
|
|
}
|
|
func (m *HydrateTo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *HydrateTo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HydrateTo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HydrateTo proto.InternalMessageInfo
|
|
|
|
func (m *Info) Reset() { *m = Info{} }
|
|
func (*Info) ProtoMessage() {}
|
|
func (*Info) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{79}
|
|
}
|
|
func (m *Info) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Info) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Info.Merge(m, src)
|
|
}
|
|
func (m *Info) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Info) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Info.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Info proto.InternalMessageInfo
|
|
|
|
func (m *InfoItem) Reset() { *m = InfoItem{} }
|
|
func (*InfoItem) ProtoMessage() {}
|
|
func (*InfoItem) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{80}
|
|
}
|
|
func (m *InfoItem) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *InfoItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *InfoItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InfoItem.Merge(m, src)
|
|
}
|
|
func (m *InfoItem) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *InfoItem) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InfoItem.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InfoItem proto.InternalMessageInfo
|
|
|
|
func (m *JWTToken) Reset() { *m = JWTToken{} }
|
|
func (*JWTToken) ProtoMessage() {}
|
|
func (*JWTToken) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{81}
|
|
}
|
|
func (m *JWTToken) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *JWTToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *JWTToken) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_JWTToken.Merge(m, src)
|
|
}
|
|
func (m *JWTToken) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *JWTToken) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_JWTToken.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_JWTToken proto.InternalMessageInfo
|
|
|
|
func (m *JWTTokens) Reset() { *m = JWTTokens{} }
|
|
func (*JWTTokens) ProtoMessage() {}
|
|
func (*JWTTokens) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{82}
|
|
}
|
|
func (m *JWTTokens) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *JWTTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *JWTTokens) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_JWTTokens.Merge(m, src)
|
|
}
|
|
func (m *JWTTokens) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *JWTTokens) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_JWTTokens.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_JWTTokens proto.InternalMessageInfo
|
|
|
|
func (m *JsonnetVar) Reset() { *m = JsonnetVar{} }
|
|
func (*JsonnetVar) ProtoMessage() {}
|
|
func (*JsonnetVar) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{83}
|
|
}
|
|
func (m *JsonnetVar) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *JsonnetVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *JsonnetVar) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_JsonnetVar.Merge(m, src)
|
|
}
|
|
func (m *JsonnetVar) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *JsonnetVar) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_JsonnetVar.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_JsonnetVar proto.InternalMessageInfo
|
|
|
|
func (m *KnownTypeField) Reset() { *m = KnownTypeField{} }
|
|
func (*KnownTypeField) ProtoMessage() {}
|
|
func (*KnownTypeField) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{84}
|
|
}
|
|
func (m *KnownTypeField) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KnownTypeField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KnownTypeField) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KnownTypeField.Merge(m, src)
|
|
}
|
|
func (m *KnownTypeField) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KnownTypeField) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KnownTypeField.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KnownTypeField proto.InternalMessageInfo
|
|
|
|
func (m *KustomizeGvk) Reset() { *m = KustomizeGvk{} }
|
|
func (*KustomizeGvk) ProtoMessage() {}
|
|
func (*KustomizeGvk) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{85}
|
|
}
|
|
func (m *KustomizeGvk) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizeGvk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizeGvk) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizeGvk.Merge(m, src)
|
|
}
|
|
func (m *KustomizeGvk) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizeGvk) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizeGvk.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizeGvk proto.InternalMessageInfo
|
|
|
|
func (m *KustomizeOptions) Reset() { *m = KustomizeOptions{} }
|
|
func (*KustomizeOptions) ProtoMessage() {}
|
|
func (*KustomizeOptions) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{86}
|
|
}
|
|
func (m *KustomizeOptions) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizeOptions) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizeOptions.Merge(m, src)
|
|
}
|
|
func (m *KustomizeOptions) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizeOptions) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizeOptions.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizeOptions proto.InternalMessageInfo
|
|
|
|
func (m *KustomizePatch) Reset() { *m = KustomizePatch{} }
|
|
func (*KustomizePatch) ProtoMessage() {}
|
|
func (*KustomizePatch) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{87}
|
|
}
|
|
func (m *KustomizePatch) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizePatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizePatch) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizePatch.Merge(m, src)
|
|
}
|
|
func (m *KustomizePatch) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizePatch) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizePatch.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizePatch proto.InternalMessageInfo
|
|
|
|
func (m *KustomizeReplica) Reset() { *m = KustomizeReplica{} }
|
|
func (*KustomizeReplica) ProtoMessage() {}
|
|
func (*KustomizeReplica) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{88}
|
|
}
|
|
func (m *KustomizeReplica) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizeReplica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizeReplica) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizeReplica.Merge(m, src)
|
|
}
|
|
func (m *KustomizeReplica) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizeReplica) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizeReplica.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizeReplica proto.InternalMessageInfo
|
|
|
|
func (m *KustomizeResId) Reset() { *m = KustomizeResId{} }
|
|
func (*KustomizeResId) ProtoMessage() {}
|
|
func (*KustomizeResId) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{89}
|
|
}
|
|
func (m *KustomizeResId) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizeResId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizeResId) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizeResId.Merge(m, src)
|
|
}
|
|
func (m *KustomizeResId) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizeResId) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizeResId.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizeResId proto.InternalMessageInfo
|
|
|
|
func (m *KustomizeSelector) Reset() { *m = KustomizeSelector{} }
|
|
func (*KustomizeSelector) ProtoMessage() {}
|
|
func (*KustomizeSelector) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{90}
|
|
}
|
|
func (m *KustomizeSelector) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizeSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizeSelector) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizeSelector.Merge(m, src)
|
|
}
|
|
func (m *KustomizeSelector) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizeSelector) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizeSelector.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizeSelector proto.InternalMessageInfo
|
|
|
|
func (m *KustomizeVersion) Reset() { *m = KustomizeVersion{} }
|
|
func (*KustomizeVersion) ProtoMessage() {}
|
|
func (*KustomizeVersion) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{91}
|
|
}
|
|
func (m *KustomizeVersion) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KustomizeVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *KustomizeVersion) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KustomizeVersion.Merge(m, src)
|
|
}
|
|
func (m *KustomizeVersion) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KustomizeVersion) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KustomizeVersion.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KustomizeVersion proto.InternalMessageInfo
|
|
|
|
func (m *ListGenerator) Reset() { *m = ListGenerator{} }
|
|
func (*ListGenerator) ProtoMessage() {}
|
|
func (*ListGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{92}
|
|
}
|
|
func (m *ListGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ListGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListGenerator.Merge(m, src)
|
|
}
|
|
func (m *ListGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListGenerator proto.InternalMessageInfo
|
|
|
|
func (m *ManagedNamespaceMetadata) Reset() { *m = ManagedNamespaceMetadata{} }
|
|
func (*ManagedNamespaceMetadata) ProtoMessage() {}
|
|
func (*ManagedNamespaceMetadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{93}
|
|
}
|
|
func (m *ManagedNamespaceMetadata) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ManagedNamespaceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ManagedNamespaceMetadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ManagedNamespaceMetadata.Merge(m, src)
|
|
}
|
|
func (m *ManagedNamespaceMetadata) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ManagedNamespaceMetadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ManagedNamespaceMetadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ManagedNamespaceMetadata proto.InternalMessageInfo
|
|
|
|
func (m *MatrixGenerator) Reset() { *m = MatrixGenerator{} }
|
|
func (*MatrixGenerator) ProtoMessage() {}
|
|
func (*MatrixGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{94}
|
|
}
|
|
func (m *MatrixGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *MatrixGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *MatrixGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MatrixGenerator.Merge(m, src)
|
|
}
|
|
func (m *MatrixGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *MatrixGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MatrixGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MatrixGenerator proto.InternalMessageInfo
|
|
|
|
func (m *MergeGenerator) Reset() { *m = MergeGenerator{} }
|
|
func (*MergeGenerator) ProtoMessage() {}
|
|
func (*MergeGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{95}
|
|
}
|
|
func (m *MergeGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *MergeGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *MergeGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MergeGenerator.Merge(m, src)
|
|
}
|
|
func (m *MergeGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *MergeGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MergeGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MergeGenerator proto.InternalMessageInfo
|
|
|
|
func (m *NestedMatrixGenerator) Reset() { *m = NestedMatrixGenerator{} }
|
|
func (*NestedMatrixGenerator) ProtoMessage() {}
|
|
func (*NestedMatrixGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{96}
|
|
}
|
|
func (m *NestedMatrixGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *NestedMatrixGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *NestedMatrixGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_NestedMatrixGenerator.Merge(m, src)
|
|
}
|
|
func (m *NestedMatrixGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *NestedMatrixGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_NestedMatrixGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_NestedMatrixGenerator proto.InternalMessageInfo
|
|
|
|
func (m *NestedMergeGenerator) Reset() { *m = NestedMergeGenerator{} }
|
|
func (*NestedMergeGenerator) ProtoMessage() {}
|
|
func (*NestedMergeGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{97}
|
|
}
|
|
func (m *NestedMergeGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *NestedMergeGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *NestedMergeGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_NestedMergeGenerator.Merge(m, src)
|
|
}
|
|
func (m *NestedMergeGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *NestedMergeGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_NestedMergeGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_NestedMergeGenerator proto.InternalMessageInfo
|
|
|
|
func (m *OCIMetadata) Reset() { *m = OCIMetadata{} }
|
|
func (*OCIMetadata) ProtoMessage() {}
|
|
func (*OCIMetadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{98}
|
|
}
|
|
func (m *OCIMetadata) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OCIMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OCIMetadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OCIMetadata.Merge(m, src)
|
|
}
|
|
func (m *OCIMetadata) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OCIMetadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OCIMetadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OCIMetadata proto.InternalMessageInfo
|
|
|
|
func (m *Operation) Reset() { *m = Operation{} }
|
|
func (*Operation) ProtoMessage() {}
|
|
func (*Operation) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{99}
|
|
}
|
|
func (m *Operation) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Operation) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Operation.Merge(m, src)
|
|
}
|
|
func (m *Operation) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Operation) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Operation.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Operation proto.InternalMessageInfo
|
|
|
|
func (m *OperationInitiator) Reset() { *m = OperationInitiator{} }
|
|
func (*OperationInitiator) ProtoMessage() {}
|
|
func (*OperationInitiator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{100}
|
|
}
|
|
func (m *OperationInitiator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OperationInitiator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OperationInitiator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OperationInitiator.Merge(m, src)
|
|
}
|
|
func (m *OperationInitiator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OperationInitiator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OperationInitiator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OperationInitiator proto.InternalMessageInfo
|
|
|
|
func (m *OperationState) Reset() { *m = OperationState{} }
|
|
func (*OperationState) ProtoMessage() {}
|
|
func (*OperationState) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{101}
|
|
}
|
|
func (m *OperationState) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OperationState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OperationState) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OperationState.Merge(m, src)
|
|
}
|
|
func (m *OperationState) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OperationState) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OperationState.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OperationState proto.InternalMessageInfo
|
|
|
|
func (m *OptionalArray) Reset() { *m = OptionalArray{} }
|
|
func (*OptionalArray) ProtoMessage() {}
|
|
func (*OptionalArray) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{102}
|
|
}
|
|
func (m *OptionalArray) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OptionalArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OptionalArray) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OptionalArray.Merge(m, src)
|
|
}
|
|
func (m *OptionalArray) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OptionalArray) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OptionalArray.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OptionalArray proto.InternalMessageInfo
|
|
|
|
func (m *OptionalMap) Reset() { *m = OptionalMap{} }
|
|
func (*OptionalMap) ProtoMessage() {}
|
|
func (*OptionalMap) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{103}
|
|
}
|
|
func (m *OptionalMap) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OptionalMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OptionalMap) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OptionalMap.Merge(m, src)
|
|
}
|
|
func (m *OptionalMap) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OptionalMap) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OptionalMap.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OptionalMap proto.InternalMessageInfo
|
|
|
|
func (m *OrphanedResourceKey) Reset() { *m = OrphanedResourceKey{} }
|
|
func (*OrphanedResourceKey) ProtoMessage() {}
|
|
func (*OrphanedResourceKey) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{104}
|
|
}
|
|
func (m *OrphanedResourceKey) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OrphanedResourceKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OrphanedResourceKey) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrphanedResourceKey.Merge(m, src)
|
|
}
|
|
func (m *OrphanedResourceKey) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OrphanedResourceKey) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrphanedResourceKey.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrphanedResourceKey proto.InternalMessageInfo
|
|
|
|
func (m *OrphanedResourcesMonitorSettings) Reset() { *m = OrphanedResourcesMonitorSettings{} }
|
|
func (*OrphanedResourcesMonitorSettings) ProtoMessage() {}
|
|
func (*OrphanedResourcesMonitorSettings) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{105}
|
|
}
|
|
func (m *OrphanedResourcesMonitorSettings) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OrphanedResourcesMonitorSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OrphanedResourcesMonitorSettings) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrphanedResourcesMonitorSettings.Merge(m, src)
|
|
}
|
|
func (m *OrphanedResourcesMonitorSettings) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OrphanedResourcesMonitorSettings) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrphanedResourcesMonitorSettings.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrphanedResourcesMonitorSettings proto.InternalMessageInfo
|
|
|
|
func (m *OverrideIgnoreDiff) Reset() { *m = OverrideIgnoreDiff{} }
|
|
func (*OverrideIgnoreDiff) ProtoMessage() {}
|
|
func (*OverrideIgnoreDiff) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{106}
|
|
}
|
|
func (m *OverrideIgnoreDiff) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OverrideIgnoreDiff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *OverrideIgnoreDiff) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OverrideIgnoreDiff.Merge(m, src)
|
|
}
|
|
func (m *OverrideIgnoreDiff) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OverrideIgnoreDiff) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OverrideIgnoreDiff.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OverrideIgnoreDiff proto.InternalMessageInfo
|
|
|
|
func (m *PluginConfigMapRef) Reset() { *m = PluginConfigMapRef{} }
|
|
func (*PluginConfigMapRef) ProtoMessage() {}
|
|
func (*PluginConfigMapRef) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{107}
|
|
}
|
|
func (m *PluginConfigMapRef) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PluginConfigMapRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PluginConfigMapRef) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PluginConfigMapRef.Merge(m, src)
|
|
}
|
|
func (m *PluginConfigMapRef) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PluginConfigMapRef) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PluginConfigMapRef.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PluginConfigMapRef proto.InternalMessageInfo
|
|
|
|
func (m *PluginGenerator) Reset() { *m = PluginGenerator{} }
|
|
func (*PluginGenerator) ProtoMessage() {}
|
|
func (*PluginGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{108}
|
|
}
|
|
func (m *PluginGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PluginGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PluginGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PluginGenerator.Merge(m, src)
|
|
}
|
|
func (m *PluginGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PluginGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PluginGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PluginGenerator proto.InternalMessageInfo
|
|
|
|
func (m *PluginInput) Reset() { *m = PluginInput{} }
|
|
func (*PluginInput) ProtoMessage() {}
|
|
func (*PluginInput) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{109}
|
|
}
|
|
func (m *PluginInput) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PluginInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PluginInput) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PluginInput.Merge(m, src)
|
|
}
|
|
func (m *PluginInput) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PluginInput) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PluginInput.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PluginInput proto.InternalMessageInfo
|
|
|
|
func (m *ProjectRole) Reset() { *m = ProjectRole{} }
|
|
func (*ProjectRole) ProtoMessage() {}
|
|
func (*ProjectRole) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{110}
|
|
}
|
|
func (m *ProjectRole) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ProjectRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ProjectRole) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProjectRole.Merge(m, src)
|
|
}
|
|
func (m *ProjectRole) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ProjectRole) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProjectRole.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProjectRole proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGenerator) Reset() { *m = PullRequestGenerator{} }
|
|
func (*PullRequestGenerator) ProtoMessage() {}
|
|
func (*PullRequestGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{111}
|
|
}
|
|
func (m *PullRequestGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGenerator.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGenerator proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorAzureDevOps) Reset() { *m = PullRequestGeneratorAzureDevOps{} }
|
|
func (*PullRequestGeneratorAzureDevOps) ProtoMessage() {}
|
|
func (*PullRequestGeneratorAzureDevOps) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{112}
|
|
}
|
|
func (m *PullRequestGeneratorAzureDevOps) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorAzureDevOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorAzureDevOps) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorAzureDevOps.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorAzureDevOps) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorAzureDevOps) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorAzureDevOps.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorAzureDevOps proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorBitbucket) Reset() { *m = PullRequestGeneratorBitbucket{} }
|
|
func (*PullRequestGeneratorBitbucket) ProtoMessage() {}
|
|
func (*PullRequestGeneratorBitbucket) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{113}
|
|
}
|
|
func (m *PullRequestGeneratorBitbucket) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorBitbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorBitbucket) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorBitbucket.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorBitbucket) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorBitbucket) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorBitbucket.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorBitbucket proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorBitbucketServer) Reset() { *m = PullRequestGeneratorBitbucketServer{} }
|
|
func (*PullRequestGeneratorBitbucketServer) ProtoMessage() {}
|
|
func (*PullRequestGeneratorBitbucketServer) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{114}
|
|
}
|
|
func (m *PullRequestGeneratorBitbucketServer) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorBitbucketServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorBitbucketServer) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorBitbucketServer.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorBitbucketServer) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorBitbucketServer) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorBitbucketServer.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorBitbucketServer proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorFilter) Reset() { *m = PullRequestGeneratorFilter{} }
|
|
func (*PullRequestGeneratorFilter) ProtoMessage() {}
|
|
func (*PullRequestGeneratorFilter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{115}
|
|
}
|
|
func (m *PullRequestGeneratorFilter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorFilter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorFilter.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorFilter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorFilter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorFilter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorFilter proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorGitLab) Reset() { *m = PullRequestGeneratorGitLab{} }
|
|
func (*PullRequestGeneratorGitLab) ProtoMessage() {}
|
|
func (*PullRequestGeneratorGitLab) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{116}
|
|
}
|
|
func (m *PullRequestGeneratorGitLab) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorGitLab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorGitLab) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorGitLab.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorGitLab) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorGitLab) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorGitLab.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorGitLab proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorGitea) Reset() { *m = PullRequestGeneratorGitea{} }
|
|
func (*PullRequestGeneratorGitea) ProtoMessage() {}
|
|
func (*PullRequestGeneratorGitea) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{117}
|
|
}
|
|
func (m *PullRequestGeneratorGitea) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorGitea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorGitea) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorGitea.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorGitea) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorGitea) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorGitea.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorGitea proto.InternalMessageInfo
|
|
|
|
func (m *PullRequestGeneratorGithub) Reset() { *m = PullRequestGeneratorGithub{} }
|
|
func (*PullRequestGeneratorGithub) ProtoMessage() {}
|
|
func (*PullRequestGeneratorGithub) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{118}
|
|
}
|
|
func (m *PullRequestGeneratorGithub) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PullRequestGeneratorGithub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *PullRequestGeneratorGithub) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullRequestGeneratorGithub.Merge(m, src)
|
|
}
|
|
func (m *PullRequestGeneratorGithub) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PullRequestGeneratorGithub) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullRequestGeneratorGithub.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullRequestGeneratorGithub proto.InternalMessageInfo
|
|
|
|
func (m *RefTarget) Reset() { *m = RefTarget{} }
|
|
func (*RefTarget) ProtoMessage() {}
|
|
func (*RefTarget) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{119}
|
|
}
|
|
func (m *RefTarget) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RefTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RefTarget) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RefTarget.Merge(m, src)
|
|
}
|
|
func (m *RefTarget) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RefTarget) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RefTarget.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RefTarget proto.InternalMessageInfo
|
|
|
|
func (m *RepoCreds) Reset() { *m = RepoCreds{} }
|
|
func (*RepoCreds) ProtoMessage() {}
|
|
func (*RepoCreds) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{120}
|
|
}
|
|
func (m *RepoCreds) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RepoCreds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RepoCreds) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RepoCreds.Merge(m, src)
|
|
}
|
|
func (m *RepoCreds) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RepoCreds) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RepoCreds.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RepoCreds proto.InternalMessageInfo
|
|
|
|
func (m *RepoCredsList) Reset() { *m = RepoCredsList{} }
|
|
func (*RepoCredsList) ProtoMessage() {}
|
|
func (*RepoCredsList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{121}
|
|
}
|
|
func (m *RepoCredsList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RepoCredsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RepoCredsList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RepoCredsList.Merge(m, src)
|
|
}
|
|
func (m *RepoCredsList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RepoCredsList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RepoCredsList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RepoCredsList proto.InternalMessageInfo
|
|
|
|
func (m *Repository) Reset() { *m = Repository{} }
|
|
func (*Repository) ProtoMessage() {}
|
|
func (*Repository) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{122}
|
|
}
|
|
func (m *Repository) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *Repository) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Repository.Merge(m, src)
|
|
}
|
|
func (m *Repository) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Repository) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Repository.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Repository proto.InternalMessageInfo
|
|
|
|
func (m *RepositoryCertificate) Reset() { *m = RepositoryCertificate{} }
|
|
func (*RepositoryCertificate) ProtoMessage() {}
|
|
func (*RepositoryCertificate) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{123}
|
|
}
|
|
func (m *RepositoryCertificate) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RepositoryCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RepositoryCertificate) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RepositoryCertificate.Merge(m, src)
|
|
}
|
|
func (m *RepositoryCertificate) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RepositoryCertificate) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RepositoryCertificate.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RepositoryCertificate proto.InternalMessageInfo
|
|
|
|
func (m *RepositoryCertificateList) Reset() { *m = RepositoryCertificateList{} }
|
|
func (*RepositoryCertificateList) ProtoMessage() {}
|
|
func (*RepositoryCertificateList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{124}
|
|
}
|
|
func (m *RepositoryCertificateList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RepositoryCertificateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RepositoryCertificateList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RepositoryCertificateList.Merge(m, src)
|
|
}
|
|
func (m *RepositoryCertificateList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RepositoryCertificateList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RepositoryCertificateList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RepositoryCertificateList proto.InternalMessageInfo
|
|
|
|
func (m *RepositoryList) Reset() { *m = RepositoryList{} }
|
|
func (*RepositoryList) ProtoMessage() {}
|
|
func (*RepositoryList) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{125}
|
|
}
|
|
func (m *RepositoryList) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RepositoryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RepositoryList) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RepositoryList.Merge(m, src)
|
|
}
|
|
func (m *RepositoryList) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RepositoryList) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RepositoryList.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RepositoryList proto.InternalMessageInfo
|
|
|
|
func (m *ResourceAction) Reset() { *m = ResourceAction{} }
|
|
func (*ResourceAction) ProtoMessage() {}
|
|
func (*ResourceAction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{126}
|
|
}
|
|
func (m *ResourceAction) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceAction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceAction.Merge(m, src)
|
|
}
|
|
func (m *ResourceAction) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceAction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceAction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceAction proto.InternalMessageInfo
|
|
|
|
func (m *ResourceActionDefinition) Reset() { *m = ResourceActionDefinition{} }
|
|
func (*ResourceActionDefinition) ProtoMessage() {}
|
|
func (*ResourceActionDefinition) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{127}
|
|
}
|
|
func (m *ResourceActionDefinition) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceActionDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceActionDefinition) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceActionDefinition.Merge(m, src)
|
|
}
|
|
func (m *ResourceActionDefinition) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceActionDefinition) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceActionDefinition.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceActionDefinition proto.InternalMessageInfo
|
|
|
|
func (m *ResourceActionParam) Reset() { *m = ResourceActionParam{} }
|
|
func (*ResourceActionParam) ProtoMessage() {}
|
|
func (*ResourceActionParam) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{128}
|
|
}
|
|
func (m *ResourceActionParam) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceActionParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceActionParam) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceActionParam.Merge(m, src)
|
|
}
|
|
func (m *ResourceActionParam) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceActionParam) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceActionParam.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceActionParam proto.InternalMessageInfo
|
|
|
|
func (m *ResourceActions) Reset() { *m = ResourceActions{} }
|
|
func (*ResourceActions) ProtoMessage() {}
|
|
func (*ResourceActions) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{129}
|
|
}
|
|
func (m *ResourceActions) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceActions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceActions) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceActions.Merge(m, src)
|
|
}
|
|
func (m *ResourceActions) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceActions) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceActions.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceActions proto.InternalMessageInfo
|
|
|
|
func (m *ResourceDiff) Reset() { *m = ResourceDiff{} }
|
|
func (*ResourceDiff) ProtoMessage() {}
|
|
func (*ResourceDiff) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{130}
|
|
}
|
|
func (m *ResourceDiff) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceDiff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceDiff) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceDiff.Merge(m, src)
|
|
}
|
|
func (m *ResourceDiff) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceDiff) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceDiff.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceDiff proto.InternalMessageInfo
|
|
|
|
func (m *ResourceIgnoreDifferences) Reset() { *m = ResourceIgnoreDifferences{} }
|
|
func (*ResourceIgnoreDifferences) ProtoMessage() {}
|
|
func (*ResourceIgnoreDifferences) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{131}
|
|
}
|
|
func (m *ResourceIgnoreDifferences) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceIgnoreDifferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceIgnoreDifferences) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceIgnoreDifferences.Merge(m, src)
|
|
}
|
|
func (m *ResourceIgnoreDifferences) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceIgnoreDifferences) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceIgnoreDifferences.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceIgnoreDifferences proto.InternalMessageInfo
|
|
|
|
func (m *ResourceNetworkingInfo) Reset() { *m = ResourceNetworkingInfo{} }
|
|
func (*ResourceNetworkingInfo) ProtoMessage() {}
|
|
func (*ResourceNetworkingInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{132}
|
|
}
|
|
func (m *ResourceNetworkingInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceNetworkingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceNetworkingInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceNetworkingInfo.Merge(m, src)
|
|
}
|
|
func (m *ResourceNetworkingInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceNetworkingInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceNetworkingInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceNetworkingInfo proto.InternalMessageInfo
|
|
|
|
func (m *ResourceNode) Reset() { *m = ResourceNode{} }
|
|
func (*ResourceNode) ProtoMessage() {}
|
|
func (*ResourceNode) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{133}
|
|
}
|
|
func (m *ResourceNode) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceNode) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceNode.Merge(m, src)
|
|
}
|
|
func (m *ResourceNode) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceNode) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceNode.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceNode proto.InternalMessageInfo
|
|
|
|
func (m *ResourceOverride) Reset() { *m = ResourceOverride{} }
|
|
func (*ResourceOverride) ProtoMessage() {}
|
|
func (*ResourceOverride) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{134}
|
|
}
|
|
func (m *ResourceOverride) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceOverride) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceOverride.Merge(m, src)
|
|
}
|
|
func (m *ResourceOverride) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceOverride) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceOverride.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceOverride proto.InternalMessageInfo
|
|
|
|
func (m *ResourceRef) Reset() { *m = ResourceRef{} }
|
|
func (*ResourceRef) ProtoMessage() {}
|
|
func (*ResourceRef) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{135}
|
|
}
|
|
func (m *ResourceRef) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceRef) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceRef.Merge(m, src)
|
|
}
|
|
func (m *ResourceRef) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceRef) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceRef.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceRef proto.InternalMessageInfo
|
|
|
|
func (m *ResourceResult) Reset() { *m = ResourceResult{} }
|
|
func (*ResourceResult) ProtoMessage() {}
|
|
func (*ResourceResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{136}
|
|
}
|
|
func (m *ResourceResult) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceResult.Merge(m, src)
|
|
}
|
|
func (m *ResourceResult) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceResult proto.InternalMessageInfo
|
|
|
|
func (m *ResourceStatus) Reset() { *m = ResourceStatus{} }
|
|
func (*ResourceStatus) ProtoMessage() {}
|
|
func (*ResourceStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{137}
|
|
}
|
|
func (m *ResourceStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *ResourceStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceStatus.Merge(m, src)
|
|
}
|
|
func (m *ResourceStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourceStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceStatus proto.InternalMessageInfo
|
|
|
|
func (m *RetryStrategy) Reset() { *m = RetryStrategy{} }
|
|
func (*RetryStrategy) ProtoMessage() {}
|
|
func (*RetryStrategy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{138}
|
|
}
|
|
func (m *RetryStrategy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RetryStrategy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RetryStrategy.Merge(m, src)
|
|
}
|
|
func (m *RetryStrategy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RetryStrategy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RetryStrategy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RetryStrategy proto.InternalMessageInfo
|
|
|
|
func (m *RevisionHistory) Reset() { *m = RevisionHistory{} }
|
|
func (*RevisionHistory) ProtoMessage() {}
|
|
func (*RevisionHistory) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{139}
|
|
}
|
|
func (m *RevisionHistory) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RevisionHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RevisionHistory) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RevisionHistory.Merge(m, src)
|
|
}
|
|
func (m *RevisionHistory) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RevisionHistory) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RevisionHistory.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RevisionHistory proto.InternalMessageInfo
|
|
|
|
func (m *RevisionMetadata) Reset() { *m = RevisionMetadata{} }
|
|
func (*RevisionMetadata) ProtoMessage() {}
|
|
func (*RevisionMetadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{140}
|
|
}
|
|
func (m *RevisionMetadata) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RevisionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RevisionMetadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RevisionMetadata.Merge(m, src)
|
|
}
|
|
func (m *RevisionMetadata) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RevisionMetadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RevisionMetadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RevisionMetadata proto.InternalMessageInfo
|
|
|
|
func (m *RevisionReference) Reset() { *m = RevisionReference{} }
|
|
func (*RevisionReference) ProtoMessage() {}
|
|
func (*RevisionReference) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{141}
|
|
}
|
|
func (m *RevisionReference) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RevisionReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *RevisionReference) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RevisionReference.Merge(m, src)
|
|
}
|
|
func (m *RevisionReference) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RevisionReference) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RevisionReference.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RevisionReference proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGenerator) Reset() { *m = SCMProviderGenerator{} }
|
|
func (*SCMProviderGenerator) ProtoMessage() {}
|
|
func (*SCMProviderGenerator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{142}
|
|
}
|
|
func (m *SCMProviderGenerator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGenerator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGenerator.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGenerator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGenerator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGenerator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGenerator proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) Reset() { *m = SCMProviderGeneratorAWSCodeCommit{} }
|
|
func (*SCMProviderGeneratorAWSCodeCommit) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorAWSCodeCommit) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{143}
|
|
}
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorAWSCodeCommit.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorAWSCodeCommit.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorAWSCodeCommit proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorAzureDevOps) Reset() { *m = SCMProviderGeneratorAzureDevOps{} }
|
|
func (*SCMProviderGeneratorAzureDevOps) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorAzureDevOps) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{144}
|
|
}
|
|
func (m *SCMProviderGeneratorAzureDevOps) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorAzureDevOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorAzureDevOps) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorAzureDevOps.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorAzureDevOps) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorAzureDevOps) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorAzureDevOps.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorAzureDevOps proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorBitbucket) Reset() { *m = SCMProviderGeneratorBitbucket{} }
|
|
func (*SCMProviderGeneratorBitbucket) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorBitbucket) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{145}
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucket) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucket) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorBitbucket.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucket) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucket) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorBitbucket.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorBitbucket proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorBitbucketServer) Reset() { *m = SCMProviderGeneratorBitbucketServer{} }
|
|
func (*SCMProviderGeneratorBitbucketServer) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorBitbucketServer) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{146}
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucketServer) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucketServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucketServer) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorBitbucketServer.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucketServer) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucketServer) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorBitbucketServer.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorBitbucketServer proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorFilter) Reset() { *m = SCMProviderGeneratorFilter{} }
|
|
func (*SCMProviderGeneratorFilter) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorFilter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{147}
|
|
}
|
|
func (m *SCMProviderGeneratorFilter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorFilter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorFilter.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorFilter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorFilter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorFilter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorFilter proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorGitea) Reset() { *m = SCMProviderGeneratorGitea{} }
|
|
func (*SCMProviderGeneratorGitea) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorGitea) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{148}
|
|
}
|
|
func (m *SCMProviderGeneratorGitea) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorGitea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorGitea) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorGitea.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorGitea) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorGitea) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorGitea.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorGitea proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorGithub) Reset() { *m = SCMProviderGeneratorGithub{} }
|
|
func (*SCMProviderGeneratorGithub) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorGithub) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{149}
|
|
}
|
|
func (m *SCMProviderGeneratorGithub) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorGithub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorGithub) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorGithub.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorGithub) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorGithub) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorGithub.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorGithub proto.InternalMessageInfo
|
|
|
|
func (m *SCMProviderGeneratorGitlab) Reset() { *m = SCMProviderGeneratorGitlab{} }
|
|
func (*SCMProviderGeneratorGitlab) ProtoMessage() {}
|
|
func (*SCMProviderGeneratorGitlab) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{150}
|
|
}
|
|
func (m *SCMProviderGeneratorGitlab) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SCMProviderGeneratorGitlab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SCMProviderGeneratorGitlab) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SCMProviderGeneratorGitlab.Merge(m, src)
|
|
}
|
|
func (m *SCMProviderGeneratorGitlab) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SCMProviderGeneratorGitlab) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SCMProviderGeneratorGitlab.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SCMProviderGeneratorGitlab proto.InternalMessageInfo
|
|
|
|
func (m *SecretRef) Reset() { *m = SecretRef{} }
|
|
func (*SecretRef) ProtoMessage() {}
|
|
func (*SecretRef) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{151}
|
|
}
|
|
func (m *SecretRef) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SecretRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SecretRef) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SecretRef.Merge(m, src)
|
|
}
|
|
func (m *SecretRef) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SecretRef) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SecretRef.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SecretRef proto.InternalMessageInfo
|
|
|
|
func (m *SignatureKey) Reset() { *m = SignatureKey{} }
|
|
func (*SignatureKey) ProtoMessage() {}
|
|
func (*SignatureKey) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{152}
|
|
}
|
|
func (m *SignatureKey) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignatureKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SignatureKey) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignatureKey.Merge(m, src)
|
|
}
|
|
func (m *SignatureKey) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignatureKey) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignatureKey.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignatureKey proto.InternalMessageInfo
|
|
|
|
func (m *SourceHydrator) Reset() { *m = SourceHydrator{} }
|
|
func (*SourceHydrator) ProtoMessage() {}
|
|
func (*SourceHydrator) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{153}
|
|
}
|
|
func (m *SourceHydrator) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceHydrator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceHydrator) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceHydrator.Merge(m, src)
|
|
}
|
|
func (m *SourceHydrator) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceHydrator) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceHydrator.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceHydrator proto.InternalMessageInfo
|
|
|
|
func (m *SourceHydratorStatus) Reset() { *m = SourceHydratorStatus{} }
|
|
func (*SourceHydratorStatus) ProtoMessage() {}
|
|
func (*SourceHydratorStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{154}
|
|
}
|
|
func (m *SourceHydratorStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceHydratorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceHydratorStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceHydratorStatus.Merge(m, src)
|
|
}
|
|
func (m *SourceHydratorStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceHydratorStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceHydratorStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceHydratorStatus proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrity) Reset() { *m = SourceIntegrity{} }
|
|
func (*SourceIntegrity) ProtoMessage() {}
|
|
func (*SourceIntegrity) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{155}
|
|
}
|
|
func (m *SourceIntegrity) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrity) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrity.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrity) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrity) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrity.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrity proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrityCheckResult) Reset() { *m = SourceIntegrityCheckResult{} }
|
|
func (*SourceIntegrityCheckResult) ProtoMessage() {}
|
|
func (*SourceIntegrityCheckResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{156}
|
|
}
|
|
func (m *SourceIntegrityCheckResult) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrityCheckResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrityCheckResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrityCheckResult.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrityCheckResult) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrityCheckResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrityCheckResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrityCheckResult proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrityCheckResultItem) Reset() { *m = SourceIntegrityCheckResultItem{} }
|
|
func (*SourceIntegrityCheckResultItem) ProtoMessage() {}
|
|
func (*SourceIntegrityCheckResultItem) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{157}
|
|
}
|
|
func (m *SourceIntegrityCheckResultItem) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrityCheckResultItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrityCheckResultItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrityCheckResultItem.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrityCheckResultItem) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrityCheckResultItem) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrityCheckResultItem.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrityCheckResultItem proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrityGit) Reset() { *m = SourceIntegrityGit{} }
|
|
func (*SourceIntegrityGit) ProtoMessage() {}
|
|
func (*SourceIntegrityGit) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{158}
|
|
}
|
|
func (m *SourceIntegrityGit) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrityGit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrityGit) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrityGit.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrityGit) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrityGit) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrityGit.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrityGit proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrityGitPolicy) Reset() { *m = SourceIntegrityGitPolicy{} }
|
|
func (*SourceIntegrityGitPolicy) ProtoMessage() {}
|
|
func (*SourceIntegrityGitPolicy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{159}
|
|
}
|
|
func (m *SourceIntegrityGitPolicy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrityGitPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrityGitPolicy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrityGitPolicy.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrityGitPolicy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrityGitPolicy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrityGitPolicy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrityGitPolicy proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrityGitPolicyGPG) Reset() { *m = SourceIntegrityGitPolicyGPG{} }
|
|
func (*SourceIntegrityGitPolicyGPG) ProtoMessage() {}
|
|
func (*SourceIntegrityGitPolicyGPG) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{160}
|
|
}
|
|
func (m *SourceIntegrityGitPolicyGPG) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrityGitPolicyGPG) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrityGitPolicyGPG) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrityGitPolicyGPG.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrityGitPolicyGPG) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrityGitPolicyGPG) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrityGitPolicyGPG.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrityGitPolicyGPG proto.InternalMessageInfo
|
|
|
|
func (m *SourceIntegrityGitPolicyRepo) Reset() { *m = SourceIntegrityGitPolicyRepo{} }
|
|
func (*SourceIntegrityGitPolicyRepo) ProtoMessage() {}
|
|
func (*SourceIntegrityGitPolicyRepo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{161}
|
|
}
|
|
func (m *SourceIntegrityGitPolicyRepo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SourceIntegrityGitPolicyRepo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SourceIntegrityGitPolicyRepo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SourceIntegrityGitPolicyRepo.Merge(m, src)
|
|
}
|
|
func (m *SourceIntegrityGitPolicyRepo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SourceIntegrityGitPolicyRepo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SourceIntegrityGitPolicyRepo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SourceIntegrityGitPolicyRepo proto.InternalMessageInfo
|
|
|
|
func (m *SuccessfulHydrateOperation) Reset() { *m = SuccessfulHydrateOperation{} }
|
|
func (*SuccessfulHydrateOperation) ProtoMessage() {}
|
|
func (*SuccessfulHydrateOperation) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{162}
|
|
}
|
|
func (m *SuccessfulHydrateOperation) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SuccessfulHydrateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SuccessfulHydrateOperation) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SuccessfulHydrateOperation.Merge(m, src)
|
|
}
|
|
func (m *SuccessfulHydrateOperation) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SuccessfulHydrateOperation) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SuccessfulHydrateOperation.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SuccessfulHydrateOperation proto.InternalMessageInfo
|
|
|
|
func (m *SyncOperation) Reset() { *m = SyncOperation{} }
|
|
func (*SyncOperation) ProtoMessage() {}
|
|
func (*SyncOperation) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{163}
|
|
}
|
|
func (m *SyncOperation) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncOperation) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncOperation.Merge(m, src)
|
|
}
|
|
func (m *SyncOperation) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncOperation) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncOperation.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncOperation proto.InternalMessageInfo
|
|
|
|
func (m *SyncOperationResource) Reset() { *m = SyncOperationResource{} }
|
|
func (*SyncOperationResource) ProtoMessage() {}
|
|
func (*SyncOperationResource) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{164}
|
|
}
|
|
func (m *SyncOperationResource) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncOperationResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncOperationResource) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncOperationResource.Merge(m, src)
|
|
}
|
|
func (m *SyncOperationResource) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncOperationResource) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncOperationResource.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncOperationResource proto.InternalMessageInfo
|
|
|
|
func (m *SyncOperationResult) Reset() { *m = SyncOperationResult{} }
|
|
func (*SyncOperationResult) ProtoMessage() {}
|
|
func (*SyncOperationResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{165}
|
|
}
|
|
func (m *SyncOperationResult) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncOperationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncOperationResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncOperationResult.Merge(m, src)
|
|
}
|
|
func (m *SyncOperationResult) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncOperationResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncOperationResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncOperationResult proto.InternalMessageInfo
|
|
|
|
func (m *SyncPolicy) Reset() { *m = SyncPolicy{} }
|
|
func (*SyncPolicy) ProtoMessage() {}
|
|
func (*SyncPolicy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{166}
|
|
}
|
|
func (m *SyncPolicy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncPolicy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncPolicy.Merge(m, src)
|
|
}
|
|
func (m *SyncPolicy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncPolicy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncPolicy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncPolicy proto.InternalMessageInfo
|
|
|
|
func (m *SyncPolicyAutomated) Reset() { *m = SyncPolicyAutomated{} }
|
|
func (*SyncPolicyAutomated) ProtoMessage() {}
|
|
func (*SyncPolicyAutomated) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{167}
|
|
}
|
|
func (m *SyncPolicyAutomated) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncPolicyAutomated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncPolicyAutomated) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncPolicyAutomated.Merge(m, src)
|
|
}
|
|
func (m *SyncPolicyAutomated) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncPolicyAutomated) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncPolicyAutomated.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncPolicyAutomated proto.InternalMessageInfo
|
|
|
|
func (m *SyncSource) Reset() { *m = SyncSource{} }
|
|
func (*SyncSource) ProtoMessage() {}
|
|
func (*SyncSource) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{168}
|
|
}
|
|
func (m *SyncSource) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncSource) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncSource.Merge(m, src)
|
|
}
|
|
func (m *SyncSource) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncSource) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncSource.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncSource proto.InternalMessageInfo
|
|
|
|
func (m *SyncStatus) Reset() { *m = SyncStatus{} }
|
|
func (*SyncStatus) ProtoMessage() {}
|
|
func (*SyncStatus) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{169}
|
|
}
|
|
func (m *SyncStatus) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncStatus) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncStatus.Merge(m, src)
|
|
}
|
|
func (m *SyncStatus) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncStatus) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncStatus.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncStatus proto.InternalMessageInfo
|
|
|
|
func (m *SyncStrategy) Reset() { *m = SyncStrategy{} }
|
|
func (*SyncStrategy) ProtoMessage() {}
|
|
func (*SyncStrategy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{170}
|
|
}
|
|
func (m *SyncStrategy) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncStrategy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncStrategy.Merge(m, src)
|
|
}
|
|
func (m *SyncStrategy) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncStrategy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncStrategy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncStrategy proto.InternalMessageInfo
|
|
|
|
func (m *SyncStrategyApply) Reset() { *m = SyncStrategyApply{} }
|
|
func (*SyncStrategyApply) ProtoMessage() {}
|
|
func (*SyncStrategyApply) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{171}
|
|
}
|
|
func (m *SyncStrategyApply) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncStrategyApply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncStrategyApply) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncStrategyApply.Merge(m, src)
|
|
}
|
|
func (m *SyncStrategyApply) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncStrategyApply) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncStrategyApply.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncStrategyApply proto.InternalMessageInfo
|
|
|
|
func (m *SyncStrategyHook) Reset() { *m = SyncStrategyHook{} }
|
|
func (*SyncStrategyHook) ProtoMessage() {}
|
|
func (*SyncStrategyHook) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{172}
|
|
}
|
|
func (m *SyncStrategyHook) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncStrategyHook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncStrategyHook) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncStrategyHook.Merge(m, src)
|
|
}
|
|
func (m *SyncStrategyHook) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncStrategyHook) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncStrategyHook.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncStrategyHook proto.InternalMessageInfo
|
|
|
|
func (m *SyncWindow) Reset() { *m = SyncWindow{} }
|
|
func (*SyncWindow) ProtoMessage() {}
|
|
func (*SyncWindow) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{173}
|
|
}
|
|
func (m *SyncWindow) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SyncWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *SyncWindow) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncWindow.Merge(m, src)
|
|
}
|
|
func (m *SyncWindow) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SyncWindow) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncWindow.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncWindow proto.InternalMessageInfo
|
|
|
|
func (m *TLSClientConfig) Reset() { *m = TLSClientConfig{} }
|
|
func (*TLSClientConfig) ProtoMessage() {}
|
|
func (*TLSClientConfig) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{174}
|
|
}
|
|
func (m *TLSClientConfig) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TLSClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *TLSClientConfig) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TLSClientConfig.Merge(m, src)
|
|
}
|
|
func (m *TLSClientConfig) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TLSClientConfig) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TLSClientConfig.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TLSClientConfig proto.InternalMessageInfo
|
|
|
|
func (m *TagFilter) Reset() { *m = TagFilter{} }
|
|
func (*TagFilter) ProtoMessage() {}
|
|
func (*TagFilter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_61f9a313aedaeae9, []int{175}
|
|
}
|
|
func (m *TagFilter) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TagFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
func (m *TagFilter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TagFilter.Merge(m, src)
|
|
}
|
|
func (m *TagFilter) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TagFilter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TagFilter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TagFilter proto.InternalMessageInfo
|
|
|
|
func init() {
|
|
proto.RegisterType((*AWSAuthConfig)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AWSAuthConfig")
|
|
proto.RegisterType((*AppHealthStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AppHealthStatus")
|
|
proto.RegisterType((*AppProject)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AppProject")
|
|
proto.RegisterType((*AppProjectList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AppProjectList")
|
|
proto.RegisterType((*AppProjectSpec)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AppProjectSpec")
|
|
proto.RegisterType((*AppProjectStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AppProjectStatus")
|
|
proto.RegisterMapType((map[string]JWTTokens)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.AppProjectStatus.JwtTokensByRoleEntry")
|
|
proto.RegisterType((*Application)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Application")
|
|
proto.RegisterType((*ApplicationCondition)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationCondition")
|
|
proto.RegisterType((*ApplicationDestination)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationDestination")
|
|
proto.RegisterType((*ApplicationDestinationServiceAccount)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationDestinationServiceAccount")
|
|
proto.RegisterType((*ApplicationList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationList")
|
|
proto.RegisterType((*ApplicationMatchExpression)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationMatchExpression")
|
|
proto.RegisterType((*ApplicationPreservedFields)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationPreservedFields")
|
|
proto.RegisterType((*ApplicationSet)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSet")
|
|
proto.RegisterType((*ApplicationSetApplicationStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetApplicationStatus")
|
|
proto.RegisterType((*ApplicationSetCondition)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetCondition")
|
|
proto.RegisterType((*ApplicationSetGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetGenerator")
|
|
proto.RegisterType((*ApplicationSetList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetList")
|
|
proto.RegisterType((*ApplicationSetNestedGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetNestedGenerator")
|
|
proto.RegisterType((*ApplicationSetResourceIgnoreDifferences)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetResourceIgnoreDifferences")
|
|
proto.RegisterType((*ApplicationSetRolloutStep)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetRolloutStep")
|
|
proto.RegisterType((*ApplicationSetRolloutStrategy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetRolloutStrategy")
|
|
proto.RegisterType((*ApplicationSetSpec)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetSpec")
|
|
proto.RegisterType((*ApplicationSetStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetStatus")
|
|
proto.RegisterType((*ApplicationSetStrategy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetStrategy")
|
|
proto.RegisterType((*ApplicationSetSyncPolicy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetSyncPolicy")
|
|
proto.RegisterType((*ApplicationSetTemplate)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetTemplate")
|
|
proto.RegisterType((*ApplicationSetTemplateMeta)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetTemplateMeta")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetTemplateMeta.AnnotationsEntry")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetTemplateMeta.LabelsEntry")
|
|
proto.RegisterType((*ApplicationSetTerminalGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetTerminalGenerator")
|
|
proto.RegisterType((*ApplicationSetTree)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetTree")
|
|
proto.RegisterType((*ApplicationSetWatchEvent)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSetWatchEvent")
|
|
proto.RegisterType((*ApplicationSource)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSource")
|
|
proto.RegisterType((*ApplicationSourceDirectory)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourceDirectory")
|
|
proto.RegisterType((*ApplicationSourceHelm)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourceHelm")
|
|
proto.RegisterType((*ApplicationSourceJsonnet)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourceJsonnet")
|
|
proto.RegisterType((*ApplicationSourceKustomize)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourceKustomize")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourceKustomize.CommonAnnotationsEntry")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourceKustomize.CommonLabelsEntry")
|
|
proto.RegisterType((*ApplicationSourcePlugin)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourcePlugin")
|
|
proto.RegisterType((*ApplicationSourcePluginParameter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSourcePluginParameter")
|
|
proto.RegisterType((*ApplicationSpec)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSpec")
|
|
proto.RegisterType((*ApplicationStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationStatus")
|
|
proto.RegisterType((*ApplicationSummary)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationSummary")
|
|
proto.RegisterType((*ApplicationTree)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationTree")
|
|
proto.RegisterType((*ApplicationWatchEvent)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ApplicationWatchEvent")
|
|
proto.RegisterType((*Backoff)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Backoff")
|
|
proto.RegisterType((*BasicAuthBitbucketServer)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.BasicAuthBitbucketServer")
|
|
proto.RegisterType((*BearerTokenBitbucket)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.BearerTokenBitbucket")
|
|
proto.RegisterType((*BearerTokenBitbucketCloud)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.BearerTokenBitbucketCloud")
|
|
proto.RegisterType((*ChartDetails)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ChartDetails")
|
|
proto.RegisterType((*Cluster)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Cluster")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Cluster.AnnotationsEntry")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Cluster.LabelsEntry")
|
|
proto.RegisterType((*ClusterCacheInfo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterCacheInfo")
|
|
proto.RegisterType((*ClusterConfig)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterConfig")
|
|
proto.RegisterType((*ClusterGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterGenerator")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterGenerator.ValuesEntry")
|
|
proto.RegisterType((*ClusterInfo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterInfo")
|
|
proto.RegisterType((*ClusterList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterList")
|
|
proto.RegisterType((*ClusterResourceRestrictionItem)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ClusterResourceRestrictionItem")
|
|
proto.RegisterType((*Command)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Command")
|
|
proto.RegisterType((*CommitMetadata)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.CommitMetadata")
|
|
proto.RegisterType((*ComparedTo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ComparedTo")
|
|
proto.RegisterType((*ComponentParameter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ComponentParameter")
|
|
proto.RegisterType((*ConfigManagementPlugin)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ConfigManagementPlugin")
|
|
proto.RegisterType((*ConfigMapKeyRef)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ConfigMapKeyRef")
|
|
proto.RegisterType((*ConnectionState)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ConnectionState")
|
|
proto.RegisterType((*DrySource)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.DrySource")
|
|
proto.RegisterType((*DuckTypeGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.DuckTypeGenerator")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.DuckTypeGenerator.ValuesEntry")
|
|
proto.RegisterType((*EnvEntry)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.EnvEntry")
|
|
proto.RegisterType((*ExecProviderConfig)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ExecProviderConfig")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ExecProviderConfig.EnvEntry")
|
|
proto.RegisterType((*GitDirectoryGeneratorItem)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.GitDirectoryGeneratorItem")
|
|
proto.RegisterType((*GitFileGeneratorItem)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.GitFileGeneratorItem")
|
|
proto.RegisterType((*GitGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.GitGenerator")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.GitGenerator.ValuesEntry")
|
|
proto.RegisterType((*GnuPGPublicKey)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.GnuPGPublicKey")
|
|
proto.RegisterType((*GnuPGPublicKeyList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.GnuPGPublicKeyList")
|
|
proto.RegisterType((*HealthStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HealthStatus")
|
|
proto.RegisterType((*HelmFileParameter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HelmFileParameter")
|
|
proto.RegisterType((*HelmOptions)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HelmOptions")
|
|
proto.RegisterType((*HelmParameter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HelmParameter")
|
|
proto.RegisterType((*HostInfo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HostInfo")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HostInfo.LabelsEntry")
|
|
proto.RegisterType((*HostResourceInfo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HostResourceInfo")
|
|
proto.RegisterType((*HydrateOperation)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HydrateOperation")
|
|
proto.RegisterType((*HydrateTo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.HydrateTo")
|
|
proto.RegisterType((*Info)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Info")
|
|
proto.RegisterType((*InfoItem)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.InfoItem")
|
|
proto.RegisterType((*JWTToken)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.JWTToken")
|
|
proto.RegisterType((*JWTTokens)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.JWTTokens")
|
|
proto.RegisterType((*JsonnetVar)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.JsonnetVar")
|
|
proto.RegisterType((*KnownTypeField)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KnownTypeField")
|
|
proto.RegisterType((*KustomizeGvk)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizeGvk")
|
|
proto.RegisterType((*KustomizeOptions)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizeOptions")
|
|
proto.RegisterType((*KustomizePatch)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizePatch")
|
|
proto.RegisterMapType((map[string]bool)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizePatch.OptionsEntry")
|
|
proto.RegisterType((*KustomizeReplica)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizeReplica")
|
|
proto.RegisterType((*KustomizeResId)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizeResId")
|
|
proto.RegisterType((*KustomizeSelector)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizeSelector")
|
|
proto.RegisterType((*KustomizeVersion)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.KustomizeVersion")
|
|
proto.RegisterType((*ListGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ListGenerator")
|
|
proto.RegisterType((*ManagedNamespaceMetadata)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ManagedNamespaceMetadata")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ManagedNamespaceMetadata.AnnotationsEntry")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ManagedNamespaceMetadata.LabelsEntry")
|
|
proto.RegisterType((*MatrixGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.MatrixGenerator")
|
|
proto.RegisterType((*MergeGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.MergeGenerator")
|
|
proto.RegisterType((*NestedMatrixGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.NestedMatrixGenerator")
|
|
proto.RegisterType((*NestedMergeGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.NestedMergeGenerator")
|
|
proto.RegisterType((*OCIMetadata)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OCIMetadata")
|
|
proto.RegisterType((*Operation)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Operation")
|
|
proto.RegisterType((*OperationInitiator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OperationInitiator")
|
|
proto.RegisterType((*OperationState)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OperationState")
|
|
proto.RegisterType((*OptionalArray)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OptionalArray")
|
|
proto.RegisterType((*OptionalMap)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OptionalMap")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OptionalMap.MapEntry")
|
|
proto.RegisterType((*OrphanedResourceKey)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OrphanedResourceKey")
|
|
proto.RegisterType((*OrphanedResourcesMonitorSettings)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OrphanedResourcesMonitorSettings")
|
|
proto.RegisterType((*OverrideIgnoreDiff)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.OverrideIgnoreDiff")
|
|
proto.RegisterType((*PluginConfigMapRef)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PluginConfigMapRef")
|
|
proto.RegisterType((*PluginGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PluginGenerator")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PluginGenerator.ValuesEntry")
|
|
proto.RegisterType((*PluginInput)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PluginInput")
|
|
proto.RegisterMapType((PluginParameters)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PluginInput.ParametersEntry")
|
|
proto.RegisterType((*ProjectRole)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ProjectRole")
|
|
proto.RegisterType((*PullRequestGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGenerator")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGenerator.ValuesEntry")
|
|
proto.RegisterType((*PullRequestGeneratorAzureDevOps)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorAzureDevOps")
|
|
proto.RegisterType((*PullRequestGeneratorBitbucket)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorBitbucket")
|
|
proto.RegisterType((*PullRequestGeneratorBitbucketServer)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorBitbucketServer")
|
|
proto.RegisterType((*PullRequestGeneratorFilter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorFilter")
|
|
proto.RegisterType((*PullRequestGeneratorGitLab)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorGitLab")
|
|
proto.RegisterType((*PullRequestGeneratorGitea)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorGitea")
|
|
proto.RegisterType((*PullRequestGeneratorGithub)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.PullRequestGeneratorGithub")
|
|
proto.RegisterType((*RefTarget)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RefTarget")
|
|
proto.RegisterType((*RepoCreds)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RepoCreds")
|
|
proto.RegisterType((*RepoCredsList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RepoCredsList")
|
|
proto.RegisterType((*Repository)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.Repository")
|
|
proto.RegisterType((*RepositoryCertificate)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RepositoryCertificate")
|
|
proto.RegisterType((*RepositoryCertificateList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RepositoryCertificateList")
|
|
proto.RegisterType((*RepositoryList)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RepositoryList")
|
|
proto.RegisterType((*ResourceAction)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceAction")
|
|
proto.RegisterType((*ResourceActionDefinition)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceActionDefinition")
|
|
proto.RegisterType((*ResourceActionParam)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceActionParam")
|
|
proto.RegisterType((*ResourceActions)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceActions")
|
|
proto.RegisterType((*ResourceDiff)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceDiff")
|
|
proto.RegisterType((*ResourceIgnoreDifferences)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceIgnoreDifferences")
|
|
proto.RegisterType((*ResourceNetworkingInfo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceNetworkingInfo")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceNetworkingInfo.LabelsEntry")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceNetworkingInfo.TargetLabelsEntry")
|
|
proto.RegisterType((*ResourceNode)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceNode")
|
|
proto.RegisterType((*ResourceOverride)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceOverride")
|
|
proto.RegisterType((*ResourceRef)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceRef")
|
|
proto.RegisterType((*ResourceResult)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceResult")
|
|
proto.RegisterType((*ResourceStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.ResourceStatus")
|
|
proto.RegisterType((*RetryStrategy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RetryStrategy")
|
|
proto.RegisterType((*RevisionHistory)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RevisionHistory")
|
|
proto.RegisterType((*RevisionMetadata)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RevisionMetadata")
|
|
proto.RegisterType((*RevisionReference)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.RevisionReference")
|
|
proto.RegisterType((*SCMProviderGenerator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGenerator")
|
|
proto.RegisterMapType((map[string]string)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGenerator.ValuesEntry")
|
|
proto.RegisterType((*SCMProviderGeneratorAWSCodeCommit)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorAWSCodeCommit")
|
|
proto.RegisterType((*SCMProviderGeneratorAzureDevOps)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorAzureDevOps")
|
|
proto.RegisterType((*SCMProviderGeneratorBitbucket)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorBitbucket")
|
|
proto.RegisterType((*SCMProviderGeneratorBitbucketServer)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorBitbucketServer")
|
|
proto.RegisterType((*SCMProviderGeneratorFilter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorFilter")
|
|
proto.RegisterType((*SCMProviderGeneratorGitea)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorGitea")
|
|
proto.RegisterType((*SCMProviderGeneratorGithub)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorGithub")
|
|
proto.RegisterType((*SCMProviderGeneratorGitlab)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SCMProviderGeneratorGitlab")
|
|
proto.RegisterType((*SecretRef)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SecretRef")
|
|
proto.RegisterType((*SignatureKey)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SignatureKey")
|
|
proto.RegisterType((*SourceHydrator)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceHydrator")
|
|
proto.RegisterType((*SourceHydratorStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceHydratorStatus")
|
|
proto.RegisterType((*SourceIntegrity)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrity")
|
|
proto.RegisterType((*SourceIntegrityCheckResult)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrityCheckResult")
|
|
proto.RegisterType((*SourceIntegrityCheckResultItem)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrityCheckResultItem")
|
|
proto.RegisterType((*SourceIntegrityGit)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrityGit")
|
|
proto.RegisterType((*SourceIntegrityGitPolicy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrityGitPolicy")
|
|
proto.RegisterType((*SourceIntegrityGitPolicyGPG)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrityGitPolicyGPG")
|
|
proto.RegisterType((*SourceIntegrityGitPolicyRepo)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SourceIntegrityGitPolicyRepo")
|
|
proto.RegisterType((*SuccessfulHydrateOperation)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SuccessfulHydrateOperation")
|
|
proto.RegisterType((*SyncOperation)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncOperation")
|
|
proto.RegisterType((*SyncOperationResource)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncOperationResource")
|
|
proto.RegisterType((*SyncOperationResult)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncOperationResult")
|
|
proto.RegisterType((*SyncPolicy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncPolicy")
|
|
proto.RegisterType((*SyncPolicyAutomated)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncPolicyAutomated")
|
|
proto.RegisterType((*SyncSource)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncSource")
|
|
proto.RegisterType((*SyncStatus)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncStatus")
|
|
proto.RegisterType((*SyncStrategy)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncStrategy")
|
|
proto.RegisterType((*SyncStrategyApply)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncStrategyApply")
|
|
proto.RegisterType((*SyncStrategyHook)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncStrategyHook")
|
|
proto.RegisterType((*SyncWindow)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.SyncWindow")
|
|
proto.RegisterType((*TLSClientConfig)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.TLSClientConfig")
|
|
proto.RegisterType((*TagFilter)(nil), "github.com.hanzoai.cd.pkg.apis.application.v1alpha1.TagFilter")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("github.com/hanzoai/cd/pkg/apis/application/v1alpha1/generated.proto", fileDescriptor_61f9a313aedaeae9)
|
|
}
|
|
|
|
var fileDescriptor_61f9a313aedaeae9 = []byte{
|
|
// 13067 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x6c, 0x24, 0xc9,
|
|
0x75, 0xd8, 0xf5, 0xcc, 0x90, 0x9c, 0x79, 0xfc, 0x5a, 0xd6, 0xed, 0xde, 0xf1, 0xf6, 0xf6, 0x8e,
|
|
0xab, 0x3e, 0xeb, 0x74, 0x8e, 0x4e, 0xa4, 0xef, 0xa4, 0x93, 0xcf, 0x3e, 0xeb, 0x24, 0x0e, 0xb9,
|
|
0xcb, 0xe5, 0x2e, 0xb9, 0xe4, 0xd5, 0x70, 0x77, 0xad, 0x93, 0x6c, 0xa9, 0x39, 0x53, 0x1c, 0xf6,
|
|
0xb2, 0xa7, 0x7b, 0xae, 0xbb, 0x87, 0xbb, 0x3c, 0x7d, 0xf8, 0x6c, 0x47, 0x96, 0x8d, 0xd8, 0x3e,
|
|
0xc1, 0x96, 0x23, 0x7f, 0x02, 0x4e, 0x20, 0xc7, 0x08, 0x82, 0x40, 0xb1, 0x13, 0x47, 0x80, 0x0d,
|
|
0xff, 0x70, 0xe0, 0x18, 0xfa, 0x13, 0x5b, 0x48, 0xec, 0xd8, 0x08, 0x6c, 0xc2, 0x5a, 0x27, 0x46,
|
|
0x60, 0x20, 0x88, 0x8d, 0x24, 0x08, 0xb2, 0x30, 0xe2, 0xa0, 0xbe, 0xab, 0x7b, 0x7a, 0xc8, 0xe1,
|
|
0xf4, 0x2c, 0xef, 0xa4, 0xdc, 0xbf, 0x99, 0x7a, 0xaf, 0xde, 0xab, 0xae, 0x8f, 0x57, 0xaf, 0x5e,
|
|
0xbd, 0xf7, 0x0a, 0x96, 0x9a, 0x6e, 0xbc, 0xdb, 0xd9, 0x9e, 0xaf, 0x07, 0xad, 0x85, 0x5d, 0xc7,
|
|
0x7f, 0x3d, 0x70, 0xdc, 0x85, 0x7a, 0x63, 0xa1, 0xbd, 0xd7, 0x5c, 0x70, 0xda, 0x6e, 0xb4, 0xe0,
|
|
0xb4, 0xdb, 0x9e, 0x5b, 0x77, 0x62, 0x37, 0xf0, 0x17, 0xf6, 0x9f, 0x73, 0xbc, 0xf6, 0xae, 0xf3,
|
|
0xdc, 0x42, 0x93, 0xf8, 0x24, 0x74, 0x62, 0xd2, 0x98, 0x6f, 0x87, 0x41, 0x1c, 0xa0, 0xf7, 0x6b,
|
|
0x22, 0xf3, 0x82, 0xc8, 0x7c, 0xbd, 0x31, 0xdf, 0xde, 0x6b, 0xce, 0x53, 0x22, 0xf3, 0x06, 0x91,
|
|
0x79, 0x49, 0xe4, 0xfc, 0xfb, 0x0c, 0xce, 0xcd, 0xa0, 0x19, 0x2c, 0x30, 0x5a, 0xdb, 0x9d, 0x1d,
|
|
0xf6, 0x8f, 0xfd, 0x61, 0xbf, 0x38, 0x8f, 0xf3, 0xf6, 0xde, 0x8b, 0xd1, 0xbc, 0x1b, 0xd0, 0x56,
|
|
0x2d, 0xd4, 0x83, 0x90, 0x2c, 0xec, 0x77, 0xb5, 0xe3, 0xfc, 0x15, 0x8d, 0x43, 0xee, 0xc6, 0xc4,
|
|
0x8f, 0xdc, 0xc0, 0x8f, 0xde, 0x47, 0x9b, 0x40, 0xc2, 0x7d, 0x12, 0x9a, 0x5f, 0x65, 0x20, 0x64,
|
|
0x51, 0xfa, 0x80, 0xa6, 0xd4, 0x72, 0xea, 0xbb, 0xae, 0x4f, 0xc2, 0x03, 0x5d, 0xbd, 0x45, 0x62,
|
|
0x27, 0xab, 0xd6, 0x42, 0xaf, 0x5a, 0x61, 0xc7, 0x8f, 0xdd, 0x16, 0xe9, 0xaa, 0xf0, 0xc1, 0xe3,
|
|
0x2a, 0x44, 0xf5, 0x5d, 0xd2, 0x72, 0xba, 0xea, 0xbd, 0xbf, 0x57, 0xbd, 0x4e, 0xec, 0x7a, 0x0b,
|
|
0xae, 0x1f, 0x47, 0x71, 0x98, 0xae, 0x64, 0xff, 0xa2, 0x05, 0x93, 0x8b, 0xb7, 0x6a, 0x8b, 0x9d,
|
|
0x78, 0x77, 0x29, 0xf0, 0x77, 0xdc, 0x26, 0x7a, 0x01, 0xc6, 0xeb, 0x5e, 0x27, 0x8a, 0x49, 0x78,
|
|
0xdd, 0x69, 0x91, 0x59, 0xeb, 0xa2, 0xf5, 0x4c, 0xa5, 0xfa, 0xf0, 0xd7, 0x0e, 0xe7, 0x1e, 0xba,
|
|
0x77, 0x38, 0x37, 0xbe, 0xa4, 0x41, 0xd8, 0xc4, 0x43, 0xdf, 0x0e, 0x63, 0x61, 0xe0, 0x91, 0x45,
|
|
0x7c, 0x7d, 0xb6, 0xc0, 0xaa, 0x4c, 0x8b, 0x2a, 0x63, 0x98, 0x17, 0x63, 0x09, 0xa7, 0xa8, 0xed,
|
|
0x30, 0xd8, 0x71, 0x3d, 0x32, 0x5b, 0x4c, 0xa2, 0x6e, 0xf2, 0x62, 0x2c, 0xe1, 0xf6, 0x2f, 0x14,
|
|
0x60, 0x7a, 0xb1, 0xdd, 0xbe, 0x42, 0x1c, 0x2f, 0xde, 0xad, 0xc5, 0x4e, 0xdc, 0x89, 0x90, 0x0b,
|
|
0xa3, 0x11, 0xfb, 0x25, 0xda, 0xf6, 0x8a, 0xa8, 0x3d, 0xca, 0xe1, 0xf7, 0x0f, 0xe7, 0x3e, 0x9c,
|
|
0x3d, 0x7f, 0x9b, 0x6e, 0x1c, 0xb4, 0xa3, 0xf7, 0x11, 0xbf, 0xe9, 0xfa, 0x84, 0xf5, 0xcc, 0x2e,
|
|
0xa3, 0x3b, 0x6f, 0x92, 0x5f, 0x0a, 0x1a, 0x04, 0x0b, 0x06, 0xb4, 0xa5, 0x2d, 0x12, 0x45, 0x4e,
|
|
0x93, 0xa4, 0x3f, 0x6a, 0x9d, 0x17, 0x63, 0x09, 0x47, 0x21, 0x20, 0xcf, 0x89, 0xe2, 0xad, 0xd0,
|
|
0xf1, 0x23, 0x97, 0x4e, 0xea, 0x2d, 0xb7, 0xc5, 0xbf, 0x6f, 0xfc, 0xf9, 0xbf, 0x37, 0xcf, 0x87,
|
|
0x66, 0xde, 0x1c, 0x1a, 0xbd, 0x12, 0xe8, 0xcc, 0x99, 0xdf, 0x7f, 0x6e, 0x9e, 0xd6, 0xa8, 0x3e,
|
|
0x72, 0xef, 0x70, 0x0e, 0xad, 0x75, 0x51, 0xc2, 0x19, 0xd4, 0xed, 0xdf, 0x2d, 0x00, 0x2c, 0xb6,
|
|
0xdb, 0x9b, 0x61, 0x70, 0x9b, 0xd4, 0x63, 0xf4, 0x49, 0x28, 0x53, 0x52, 0x0d, 0x27, 0x76, 0x58,
|
|
0xd7, 0x8c, 0x3f, 0xff, 0x1d, 0xfd, 0x31, 0xde, 0xd8, 0xa6, 0xf5, 0xd7, 0x49, 0xec, 0x54, 0x91,
|
|
0xf8, 0x40, 0xd0, 0x65, 0x58, 0x51, 0x45, 0x04, 0x4a, 0x51, 0x9b, 0xd4, 0x59, 0x67, 0x8c, 0x3f,
|
|
0xbf, 0x34, 0x3f, 0xc0, 0x12, 0x9f, 0xd7, 0x0d, 0xae, 0xb5, 0x49, 0xbd, 0x3a, 0x21, 0x18, 0x96,
|
|
0xe8, 0x3f, 0xcc, 0xc8, 0xa3, 0x96, 0x1a, 0x61, 0xde, 0x7f, 0x97, 0xf2, 0x32, 0x62, 0xc4, 0xaa,
|
|
0x53, 0xc9, 0x89, 0x22, 0x47, 0xd9, 0xfe, 0x43, 0x0b, 0xa6, 0x34, 0xf2, 0x9a, 0x1b, 0xc5, 0xe8,
|
|
0xe3, 0x5d, 0x5d, 0x39, 0xdf, 0x5f, 0x57, 0xd2, 0xda, 0xac, 0x23, 0xcf, 0x08, 0x66, 0x65, 0x59,
|
|
0x62, 0x74, 0x63, 0x03, 0x46, 0xdc, 0x98, 0xb4, 0xa2, 0xd9, 0xc2, 0xc5, 0xe2, 0x33, 0xe3, 0xcf,
|
|
0x7f, 0x38, 0xe7, 0xe7, 0x55, 0x27, 0x05, 0xaf, 0x91, 0x55, 0x4a, 0x15, 0x73, 0xe2, 0xf6, 0x8f,
|
|
0x4d, 0x9b, 0x9f, 0x45, 0xbb, 0x17, 0x3d, 0x07, 0xe3, 0x51, 0xd0, 0x09, 0xeb, 0x04, 0x93, 0x76,
|
|
0x40, 0xd7, 0x4f, 0x91, 0xce, 0x69, 0xba, 0xae, 0x6b, 0xba, 0x18, 0x9b, 0x38, 0xe8, 0x73, 0x16,
|
|
0x4c, 0x34, 0x48, 0x14, 0xbb, 0x3e, 0xe3, 0x2f, 0xdb, 0x7c, 0x6d, 0xd0, 0x36, 0xcb, 0xc2, 0x65,
|
|
0x4d, 0xb3, 0x7a, 0x56, 0xb4, 0x7f, 0xc2, 0x28, 0x8c, 0x70, 0x82, 0x2d, 0x15, 0x4b, 0x0d, 0x12,
|
|
0xd5, 0x43, 0xb7, 0x4d, 0xff, 0x0b, 0xc1, 0xa1, 0xc4, 0xd2, 0xb2, 0x06, 0x61, 0x13, 0x0f, 0x11,
|
|
0x18, 0xa1, 0x62, 0x27, 0x9a, 0x2d, 0xb1, 0x66, 0x7f, 0x64, 0xa0, 0x66, 0x8b, 0x2e, 0xa4, 0x82,
|
|
0x4c, 0xf7, 0x35, 0xfd, 0x17, 0x61, 0x4e, 0x1d, 0xfd, 0x9a, 0x05, 0xb3, 0x42, 0x1a, 0x62, 0xc2,
|
|
0xbb, 0xef, 0xd6, 0xae, 0x1b, 0x13, 0xcf, 0x8d, 0xe2, 0xd9, 0x11, 0xc6, 0xba, 0x36, 0x10, 0xeb,
|
|
0xa5, 0x24, 0x51, 0x4c, 0xa2, 0x38, 0x74, 0xeb, 0x14, 0x87, 0x8e, 0x75, 0xf5, 0xa2, 0x68, 0xcd,
|
|
0xec, 0x52, 0x0f, 0xe6, 0xb8, 0x67, 0xb3, 0xd0, 0x4f, 0x5b, 0x70, 0xde, 0x77, 0x5a, 0x24, 0x6a,
|
|
0x3b, 0x8c, 0x30, 0x03, 0x57, 0x3d, 0xa7, 0xbe, 0xc7, 0x5a, 0x3d, 0xca, 0x5a, 0xbd, 0xd0, 0xdf,
|
|
0xb4, 0x5f, 0x09, 0x83, 0x4e, 0xfb, 0x9a, 0xeb, 0x37, 0xaa, 0xb6, 0x68, 0xd1, 0xf9, 0xeb, 0x3d,
|
|
0x49, 0xe3, 0x23, 0xd8, 0xa2, 0x9f, 0xb7, 0x60, 0x26, 0x08, 0xdb, 0xbb, 0x8e, 0x4f, 0x1a, 0x12,
|
|
0x1a, 0xcd, 0x8e, 0xb1, 0x35, 0x78, 0x63, 0xa0, 0x2e, 0xdc, 0x48, 0x53, 0x5b, 0x0f, 0x7c, 0x37,
|
|
0x0e, 0xc2, 0x1a, 0x89, 0x63, 0xd7, 0x6f, 0x46, 0xd5, 0x73, 0xf7, 0x0e, 0xe7, 0x66, 0xba, 0xb0,
|
|
0x70, 0x77, 0x33, 0x50, 0x08, 0xe3, 0xd1, 0x81, 0x5f, 0xbf, 0xe5, 0xfa, 0x8d, 0xe0, 0x4e, 0x34,
|
|
0x5b, 0xce, 0xb1, 0x7c, 0x6b, 0x8a, 0x8e, 0x58, 0x80, 0x9a, 0x2e, 0x36, 0x99, 0x64, 0x0f, 0x93,
|
|
0x9e, 0x5c, 0x95, 0x61, 0x0f, 0x93, 0x9e, 0x3a, 0x47, 0xb0, 0x45, 0x9f, 0x85, 0xc9, 0xc8, 0x6d,
|
|
0xfa, 0x4e, 0xdc, 0x09, 0xc9, 0x35, 0x72, 0x10, 0xcd, 0x02, 0x6b, 0xc7, 0xe2, 0x60, 0x7d, 0x61,
|
|
0x50, 0xaa, 0x9e, 0x13, 0x2d, 0x9b, 0x34, 0x4b, 0x23, 0x9c, 0x64, 0x97, 0xb5, 0xe0, 0xf4, 0xd4,
|
|
0x1d, 0x3f, 0xfd, 0x05, 0xa7, 0x27, 0x77, 0xcf, 0x66, 0xa1, 0x8f, 0xc0, 0x19, 0x5e, 0xa4, 0xfa,
|
|
0x3c, 0x9a, 0x9d, 0x60, 0x22, 0xf8, 0xec, 0xbd, 0xc3, 0xb9, 0x33, 0xb5, 0x14, 0x0c, 0x77, 0x61,
|
|
0xa3, 0xd7, 0x60, 0xae, 0x4d, 0xc2, 0x96, 0x1b, 0x6f, 0xf8, 0xde, 0x81, 0x14, 0xec, 0xf5, 0xa0,
|
|
0x4d, 0x1a, 0xa2, 0x39, 0xd1, 0xec, 0xe4, 0x45, 0xeb, 0x99, 0x72, 0xf5, 0x3d, 0xa2, 0x99, 0x73,
|
|
0x9b, 0x47, 0xa3, 0xe3, 0xe3, 0xe8, 0xa1, 0xdf, 0xb6, 0xe0, 0xbc, 0x21, 0x88, 0x6b, 0x24, 0xdc,
|
|
0x77, 0xeb, 0x64, 0xb1, 0x5e, 0x0f, 0x3a, 0x7e, 0x1c, 0xcd, 0x4e, 0xb1, 0xae, 0xfe, 0xe8, 0x10,
|
|
0x77, 0x83, 0x24, 0x07, 0x3d, 0x51, 0x7b, 0xa2, 0x44, 0xf8, 0x88, 0x06, 0xa2, 0x1f, 0xb6, 0x60,
|
|
0x9a, 0xf7, 0xe3, 0xaa, 0x1f, 0x93, 0x66, 0xe8, 0xc6, 0x07, 0xb3, 0xd3, 0x4c, 0x9a, 0x2c, 0x0f,
|
|
0x36, 0x57, 0x93, 0xb4, 0xaa, 0x0f, 0xdf, 0x3b, 0x9c, 0x9b, 0x4e, 0x15, 0xe2, 0x34, 0x47, 0xfb,
|
|
0xab, 0x05, 0x38, 0x93, 0xd6, 0x47, 0xd0, 0x2f, 0x59, 0x30, 0x7d, 0xfb, 0x4e, 0xbc, 0x15, 0xec,
|
|
0x11, 0x3f, 0xaa, 0x1e, 0xd0, 0x0d, 0x85, 0x6d, 0xc9, 0xe3, 0xcf, 0xbf, 0x3a, 0x14, 0x85, 0x67,
|
|
0xfe, 0x6a, 0x92, 0xf8, 0x25, 0x3f, 0x0e, 0x0f, 0xaa, 0x8f, 0x8a, 0x0e, 0x9d, 0xbe, 0x7a, 0x6b,
|
|
0xcb, 0x84, 0xe2, 0x74, 0x5b, 0xce, 0xff, 0x90, 0x05, 0x67, 0xb3, 0x48, 0xa0, 0x33, 0x50, 0xdc,
|
|
0x23, 0x07, 0x5c, 0xfd, 0xc6, 0xf4, 0x27, 0xda, 0x82, 0x91, 0x7d, 0xc7, 0xeb, 0x10, 0xa1, 0x19,
|
|
0xbe, 0x3c, 0x50, 0xfb, 0x55, 0x83, 0x30, 0x27, 0xf6, 0xdd, 0x85, 0x17, 0x2d, 0xfb, 0x5f, 0x15,
|
|
0x61, 0xdc, 0x98, 0x28, 0xa7, 0xa0, 0xe4, 0xee, 0x24, 0x94, 0xdc, 0xe5, 0xbc, 0x53, 0xbb, 0xa7,
|
|
0x96, 0xeb, 0xa7, 0xb4, 0xdc, 0xcb, 0xb9, 0x39, 0x1d, 0xa9, 0xe6, 0xa2, 0x3d, 0xa8, 0x04, 0x6d,
|
|
0x7a, 0xf8, 0xa3, 0xfa, 0x53, 0x29, 0xc7, 0x38, 0x6d, 0x48, 0x2a, 0xd5, 0xc9, 0x7b, 0x87, 0x73,
|
|
0x15, 0xf5, 0x17, 0x6b, 0xfa, 0xf6, 0x1f, 0x5b, 0x70, 0xd6, 0x68, 0xda, 0x52, 0xe0, 0x37, 0xd8,
|
|
0xb9, 0x05, 0x5d, 0x84, 0x52, 0x7c, 0xd0, 0x96, 0xe7, 0x4a, 0xd5, 0x2f, 0x5b, 0x07, 0x6d, 0x82,
|
|
0x19, 0xe4, 0xed, 0x7e, 0xe8, 0xfa, 0x69, 0x0b, 0x1e, 0xc9, 0x96, 0x5c, 0xe8, 0x69, 0x18, 0xe5,
|
|
0x46, 0x05, 0xf1, 0x75, 0x7a, 0x24, 0x58, 0x29, 0x16, 0x50, 0xb4, 0x00, 0x15, 0xb5, 0xb5, 0x8a,
|
|
0x6f, 0x9c, 0x11, 0xa8, 0x15, 0xbd, 0x1f, 0x6b, 0x1c, 0xda, 0x69, 0xf4, 0x8f, 0xd0, 0x7a, 0x55,
|
|
0xa7, 0xb1, 0x53, 0x38, 0x83, 0xd0, 0x33, 0xcc, 0xb7, 0xf5, 0x23, 0x4f, 0x1f, 0x5c, 0x1b, 0x6b,
|
|
0x70, 0xae, 0x41, 0x76, 0x9c, 0x8e, 0x17, 0x27, 0x39, 0x8a, 0x46, 0x3f, 0x21, 0x2a, 0x9f, 0x5b,
|
|
0xce, 0x42, 0xc2, 0xd9, 0x75, 0xed, 0xff, 0x68, 0xb1, 0xf3, 0xbf, 0xfc, 0xac, 0x53, 0x38, 0x9b,
|
|
0x91, 0xe4, 0xd9, 0xec, 0x23, 0x79, 0x17, 0x65, 0x8f, 0xc3, 0xd9, 0x4f, 0x58, 0x70, 0xde, 0xc0,
|
|
0x5a, 0x77, 0xe2, 0xfa, 0xee, 0xa5, 0xbb, 0xed, 0x90, 0x44, 0x11, 0x9d, 0x49, 0x4f, 0x18, 0x12,
|
|
0xb6, 0x3a, 0x2e, 0x28, 0x14, 0xaf, 0x91, 0x03, 0x2e, 0x6e, 0x9f, 0x85, 0x32, 0x5f, 0x6a, 0x41,
|
|
0x28, 0xc6, 0x46, 0x7d, 0xd2, 0x86, 0x28, 0xc7, 0x0a, 0x03, 0xd9, 0x30, 0xca, 0xe4, 0x29, 0x15,
|
|
0x34, 0x54, 0xdb, 0x00, 0x3a, 0xdc, 0x37, 0x59, 0x09, 0x16, 0x10, 0x3b, 0x4a, 0x34, 0x67, 0x33,
|
|
0x24, 0x6c, 0x1a, 0x34, 0x2e, 0xbb, 0xc4, 0x6b, 0x44, 0xf4, 0xdc, 0xe8, 0xf8, 0x7e, 0x10, 0x8b,
|
|
0x23, 0xa0, 0x71, 0x6e, 0x5c, 0xd4, 0xc5, 0xd8, 0xc4, 0xa1, 0x4c, 0x3d, 0x67, 0x9b, 0x78, 0xbc,
|
|
0x23, 0x05, 0xd3, 0x35, 0x56, 0x82, 0x05, 0xc4, 0xfe, 0x7a, 0x81, 0x9d, 0x50, 0x95, 0xfc, 0x22,
|
|
0xa7, 0x61, 0xc3, 0x70, 0x13, 0xe2, 0x7d, 0x25, 0xb7, 0xd0, 0x25, 0xbd, 0xed, 0x18, 0xaf, 0xa5,
|
|
0x24, 0xfc, 0xea, 0x30, 0x98, 0x1d, 0x6d, 0xcb, 0xf8, 0xa5, 0x22, 0xcc, 0x25, 0x2b, 0x74, 0x6d,
|
|
0x10, 0xf4, 0x28, 0x6d, 0x30, 0x4a, 0x5b, 0xf8, 0x0c, 0x7c, 0x6c, 0xe2, 0xf5, 0x10, 0xb6, 0x85,
|
|
0x07, 0x29, 0x6c, 0xcd, 0xbd, 0xa0, 0x78, 0xcc, 0x5e, 0xb0, 0xa4, 0x3a, 0xbb, 0xc4, 0x30, 0xdf,
|
|
0xdb, 0x65, 0x16, 0x7c, 0x6c, 0x33, 0x0c, 0x9a, 0x6c, 0x85, 0xed, 0x13, 0x7a, 0xdc, 0xca, 0x30,
|
|
0xf8, 0x5d, 0x84, 0x52, 0x14, 0x93, 0xf6, 0xec, 0x48, 0x52, 0xd0, 0xd6, 0x62, 0xd2, 0xc6, 0x0c,
|
|
0x82, 0x3e, 0x04, 0xd3, 0xb1, 0x13, 0x36, 0x49, 0x1c, 0x92, 0x7d, 0x97, 0x99, 0x8a, 0xd9, 0x49,
|
|
0xb9, 0xc2, 0x15, 0xc1, 0x2d, 0x06, 0xc2, 0x12, 0x84, 0xd3, 0xb8, 0xf6, 0x5f, 0x15, 0xe0, 0xd1,
|
|
0xe4, 0xf8, 0xe8, 0xad, 0xf1, 0xc3, 0x89, 0xad, 0xf1, 0xbd, 0xe6, 0xd6, 0x78, 0xff, 0x70, 0xee,
|
|
0xf1, 0x1e, 0xd5, 0xbe, 0x69, 0x76, 0x4e, 0xb4, 0x92, 0x1a, 0xa1, 0x85, 0xae, 0x11, 0x7a, 0xa2,
|
|
0xc7, 0x37, 0xa6, 0x34, 0x99, 0xa7, 0x61, 0x34, 0x24, 0x4e, 0x14, 0xf8, 0x62, 0x9c, 0xd4, 0x62,
|
|
0xc0, 0xac, 0x14, 0x0b, 0xa8, 0xfd, 0x77, 0xe5, 0x74, 0x67, 0xaf, 0x70, 0xf3, 0x77, 0x10, 0xa2,
|
|
0x4f, 0x42, 0x89, 0x9d, 0x15, 0xb9, 0x90, 0xa9, 0x0e, 0xb4, 0x32, 0xe9, 0xf6, 0xa1, 0x28, 0x56,
|
|
0xcb, 0x74, 0xb0, 0x68, 0x11, 0x66, 0x94, 0x51, 0x00, 0xe5, 0xba, 0x3c, 0x95, 0x15, 0x72, 0xd8,
|
|
0x31, 0xc5, 0x51, 0x4c, 0x33, 0x9a, 0xa0, 0x72, 0x5e, 0x9d, 0xe0, 0x14, 0x13, 0xf4, 0x71, 0x28,
|
|
0x36, 0xdd, 0x58, 0x0c, 0xe2, 0x60, 0x27, 0xf1, 0x15, 0xd7, 0xf8, 0xa0, 0x31, 0xba, 0xe7, 0xac,
|
|
0xb8, 0x31, 0xa6, 0x64, 0xd1, 0xa7, 0x61, 0x3c, 0xaa, 0xb7, 0x36, 0xc3, 0x60, 0xdf, 0x6d, 0x90,
|
|
0x50, 0x28, 0x90, 0x83, 0x49, 0xb4, 0xda, 0xd2, 0xba, 0xa4, 0xa3, 0xb9, 0x71, 0x2b, 0x88, 0x86,
|
|
0x60, 0x93, 0x1d, 0x3d, 0x2b, 0x3d, 0x2a, 0x3e, 0x74, 0x99, 0xd4, 0xd9, 0x62, 0x92, 0x07, 0x6c,
|
|
0x36, 0x09, 0x06, 0x55, 0x9f, 0x97, 0x3b, 0xf5, 0x3d, 0xba, 0x82, 0x74, 0x3b, 0x1e, 0xbf, 0x77,
|
|
0x38, 0xf7, 0xe8, 0x52, 0x36, 0x2b, 0xdc, 0xab, 0x0d, 0xb4, 0x77, 0xda, 0x1d, 0xcf, 0xc3, 0xe4,
|
|
0xb5, 0x0e, 0x61, 0xc6, 0xb3, 0xc1, 0x7b, 0x67, 0x53, 0xd3, 0x49, 0xf5, 0x8e, 0x01, 0xc1, 0x26,
|
|
0x3b, 0xb4, 0x0b, 0xa3, 0x2d, 0x27, 0x0e, 0xdd, 0xbb, 0xc2, 0x50, 0x36, 0xd8, 0xa1, 0x65, 0x9d,
|
|
0x91, 0xd0, 0x3c, 0xd9, 0x96, 0xcd, 0x0b, 0xb1, 0xa0, 0x8f, 0x1a, 0x30, 0xd2, 0x22, 0x61, 0x93,
|
|
0xcc, 0x96, 0x73, 0x5c, 0x01, 0xac, 0x53, 0x0a, 0x9a, 0x4f, 0x85, 0x6a, 0x47, 0xac, 0x0c, 0x73,
|
|
0xe2, 0xe8, 0xfb, 0xa0, 0x1c, 0x11, 0x8f, 0xd4, 0xa9, 0x7e, 0x53, 0x61, 0x8c, 0xde, 0xdf, 0xa7,
|
|
0x8a, 0x47, 0x15, 0x8b, 0x9a, 0xa8, 0xca, 0x17, 0x8a, 0xfc, 0x87, 0x15, 0x49, 0xda, 0x5d, 0x6d,
|
|
0xaf, 0xd3, 0x74, 0xfd, 0x59, 0xc8, 0xd1, 0x5d, 0x9b, 0x8c, 0x44, 0xaa, 0xbb, 0x78, 0x21, 0x16,
|
|
0xf4, 0xed, 0x3f, 0xb5, 0x00, 0x25, 0x25, 0xd0, 0x29, 0xa8, 0xb0, 0xbb, 0x49, 0x15, 0x76, 0x69,
|
|
0x08, 0x5a, 0x47, 0x0f, 0x2d, 0xf6, 0x7e, 0x19, 0x52, 0x22, 0xfb, 0x3a, 0x89, 0x62, 0xd2, 0x78,
|
|
0x47, 0xcc, 0xbe, 0x23, 0x66, 0xbf, 0x05, 0xc5, 0xec, 0x76, 0x4a, 0xcc, 0xbe, 0x6c, 0x2c, 0x5a,
|
|
0xed, 0x3a, 0xf0, 0x09, 0xe5, 0x5b, 0x60, 0xb6, 0xc0, 0x40, 0xa0, 0x0b, 0xf9, 0x6a, 0x6d, 0xe3,
|
|
0x7a, 0xa6, 0x80, 0xfd, 0x44, 0x52, 0xc0, 0xe6, 0x65, 0xf1, 0x2d, 0x2c, 0x5b, 0x7f, 0xcf, 0x82,
|
|
0xf7, 0x24, 0x85, 0x8f, 0x9c, 0x26, 0xab, 0x4d, 0x3f, 0x08, 0xc9, 0xb2, 0xbb, 0xb3, 0x43, 0x42,
|
|
0xe2, 0xd7, 0x49, 0xa4, 0x0c, 0x28, 0x56, 0x2f, 0x03, 0x0a, 0xfa, 0x00, 0x4c, 0xdc, 0x8e, 0x02,
|
|
0x7f, 0x33, 0x70, 0x7d, 0x21, 0x4a, 0xa8, 0x52, 0x7f, 0xe6, 0xde, 0xe1, 0xdc, 0x04, 0xed, 0x48,
|
|
0x59, 0x8e, 0x13, 0x58, 0x68, 0x09, 0x66, 0x6e, 0xbf, 0xb6, 0xe9, 0xc4, 0xc6, 0xd9, 0x5d, 0x9e,
|
|
0xb2, 0xd9, 0xad, 0xd2, 0xd5, 0x57, 0x52, 0x40, 0xdc, 0x8d, 0x6f, 0xff, 0x54, 0x01, 0x1e, 0x4b,
|
|
0x7d, 0x48, 0xe0, 0x79, 0x41, 0x27, 0xa6, 0xc7, 0x0e, 0xf4, 0x33, 0x16, 0x9c, 0x69, 0x25, 0xcd,
|
|
0x03, 0x91, 0x30, 0x13, 0x6f, 0xe4, 0x95, 0xec, 0x29, 0xb3, 0x43, 0x75, 0x56, 0x74, 0xcc, 0x99,
|
|
0x14, 0x20, 0xc2, 0x5d, 0x4d, 0x40, 0xdf, 0x07, 0x95, 0x96, 0x73, 0xf7, 0x46, 0xbb, 0xe1, 0xc4,
|
|
0xf2, 0x14, 0xd8, 0xfb, 0xa8, 0xde, 0x89, 0x5d, 0x6f, 0x9e, 0xbb, 0xa0, 0xcc, 0xaf, 0xfa, 0xf1,
|
|
0x46, 0x58, 0x8b, 0x43, 0xd7, 0x6f, 0x72, 0x03, 0xe2, 0xba, 0x24, 0x83, 0x35, 0x45, 0xfb, 0x8b,
|
|
0x56, 0x7a, 0x6b, 0x51, 0x9d, 0x12, 0x3a, 0x31, 0x69, 0x1e, 0xa0, 0x08, 0x46, 0xe8, 0x89, 0x4c,
|
|
0x76, 0xc6, 0xf5, 0x21, 0x6c, 0x73, 0x46, 0xbf, 0xeb, 0x1d, 0x8f, 0xfe, 0x8b, 0x30, 0xe7, 0x65,
|
|
0xff, 0x65, 0x39, 0xbd, 0xa1, 0xb3, 0x8b, 0xf5, 0xe7, 0x01, 0x9a, 0xc1, 0x16, 0x69, 0xb5, 0x3d,
|
|
0xda, 0x1b, 0x16, 0xbb, 0x83, 0x51, 0x66, 0x88, 0x15, 0x05, 0xc1, 0x06, 0x16, 0x7a, 0xc3, 0x02,
|
|
0x68, 0xca, 0x19, 0x2e, 0x37, 0xeb, 0xb5, 0x21, 0x7c, 0x85, 0x5e, 0x36, 0xba, 0x09, 0x8a, 0x0f,
|
|
0x36, 0x78, 0xa2, 0x03, 0x28, 0xc7, 0xb2, 0xd1, 0x7c, 0x3f, 0xbb, 0x36, 0x04, 0xfe, 0xf2, 0x0b,
|
|
0xb5, 0x92, 0xa2, 0xbe, 0x5f, 0xb1, 0x43, 0x9f, 0x01, 0x88, 0x0e, 0xfc, 0xfa, 0x66, 0xe0, 0xb9,
|
|
0xf5, 0x03, 0xb1, 0xcd, 0xad, 0x0f, 0xc3, 0x3e, 0xa2, 0x88, 0x56, 0xa7, 0xe8, 0x97, 0xeb, 0xff,
|
|
0xd8, 0x60, 0x88, 0x3a, 0x50, 0x8e, 0xc4, 0x44, 0x12, 0x1b, 0xdb, 0xb5, 0xa1, 0x18, 0x67, 0x38,
|
|
0x49, 0x21, 0x1d, 0xc5, 0x3f, 0xac, 0x58, 0xa1, 0x9f, 0xb4, 0x60, 0xba, 0x9d, 0x34, 0xae, 0x89,
|
|
0x4d, 0x2c, 0xf7, 0x5a, 0x4e, 0xd9, 0xec, 0xb8, 0x3d, 0x22, 0x55, 0x88, 0xd3, 0xcc, 0xa9, 0x00,
|
|
0xd3, 0x53, 0x72, 0xa3, 0xcd, 0xed, 0x7b, 0x63, 0x5a, 0x80, 0xad, 0xa4, 0x81, 0xb8, 0x1b, 0x1f,
|
|
0x6d, 0xc2, 0x59, 0xda, 0xba, 0x03, 0xae, 0xfc, 0xc9, 0x4d, 0x21, 0x62, 0x5b, 0x58, 0xb9, 0x7a,
|
|
0x41, 0xcc, 0x02, 0x76, 0x1f, 0x90, 0xc6, 0xc1, 0x99, 0x35, 0xd1, 0xef, 0x59, 0x70, 0xc1, 0x65,
|
|
0x52, 0xdc, 0x34, 0x6a, 0x6b, 0x81, 0x2e, 0xae, 0xbd, 0x3f, 0x3e, 0x8c, 0x35, 0xdf, 0x6b, 0xd3,
|
|
0xa8, 0x7e, 0x9b, 0x68, 0xf8, 0x85, 0xd5, 0x23, 0x5a, 0x82, 0x8f, 0x6c, 0x27, 0xfa, 0x4e, 0x98,
|
|
0x94, 0x53, 0x7e, 0x93, 0x4a, 0x50, 0xb6, 0x2b, 0x56, 0xaa, 0x33, 0xf7, 0x0e, 0xe7, 0x26, 0xb7,
|
|
0x4c, 0x00, 0x4e, 0xe2, 0xd9, 0xff, 0xa9, 0x94, 0xb8, 0x40, 0x51, 0x96, 0x3f, 0x26, 0x36, 0xea,
|
|
0xd2, 0x30, 0x22, 0x85, 0xdf, 0x30, 0xc4, 0x86, 0xb2, 0xb6, 0x68, 0xb1, 0xa1, 0x8a, 0x22, 0x6c,
|
|
0xf0, 0xa4, 0x5a, 0xe2, 0x8c, 0x93, 0x36, 0x2b, 0x0a, 0x01, 0xb6, 0x35, 0x84, 0x96, 0x74, 0xdf,
|
|
0x69, 0x3d, 0x26, 0x5a, 0x34, 0xd3, 0x05, 0xc2, 0xdd, 0x2d, 0x41, 0x31, 0x54, 0x42, 0xe5, 0x3a,
|
|
0x52, 0xcc, 0x71, 0x08, 0x92, 0x73, 0x43, 0xb4, 0x42, 0x5d, 0x80, 0x68, 0x27, 0x11, 0xcd, 0x08,
|
|
0xbd, 0x0c, 0x53, 0xea, 0xcf, 0x12, 0xbb, 0xf9, 0xa0, 0x52, 0xad, 0x58, 0x7d, 0x44, 0xd4, 0x9a,
|
|
0xc2, 0x09, 0x28, 0x4e, 0x61, 0x23, 0x17, 0x46, 0xb9, 0x3f, 0xa2, 0x10, 0x48, 0x83, 0x1d, 0x2d,
|
|
0x4c, 0x5f, 0x46, 0x6d, 0x18, 0xe3, 0xa5, 0x58, 0x30, 0xb0, 0xff, 0x2e, 0x79, 0x87, 0x65, 0x48,
|
|
0xae, 0x3e, 0xee, 0xe7, 0x3e, 0x67, 0xc1, 0x78, 0x18, 0x78, 0x9e, 0xeb, 0x37, 0xa9, 0x70, 0x15,
|
|
0x7b, 0x3f, 0x1e, 0xe6, 0xf6, 0x2b, 0xa4, 0x28, 0xd3, 0xc6, 0xb1, 0x66, 0x85, 0x4d, 0xbe, 0xe8,
|
|
0x25, 0x98, 0x6c, 0x10, 0x8f, 0xd0, 0xba, 0x1b, 0x21, 0x3d, 0x2b, 0x71, 0x0b, 0xb1, 0xf2, 0x1f,
|
|
0x59, 0x36, 0x81, 0x38, 0x89, 0x6b, 0xff, 0x99, 0x05, 0xb3, 0xbd, 0x36, 0x0e, 0x44, 0xe0, 0x71,
|
|
0x29, 0x27, 0xd5, 0x98, 0x6d, 0xf8, 0x92, 0x9e, 0xd8, 0xde, 0x9f, 0x12, 0x7c, 0x1e, 0xdf, 0xec,
|
|
0x8d, 0x8a, 0x8f, 0xa2, 0x83, 0x5e, 0x85, 0x33, 0x46, 0xa7, 0x44, 0xaa, 0x33, 0x2b, 0xd5, 0x79,
|
|
0xaa, 0x83, 0x2d, 0xa6, 0x60, 0xf7, 0x0f, 0xe7, 0x1e, 0x49, 0x97, 0x89, 0x9d, 0xad, 0x8b, 0x0e,
|
|
0xd5, 0x29, 0x1f, 0xc9, 0xde, 0x95, 0xd1, 0x9b, 0x56, 0x97, 0xf5, 0x61, 0x63, 0x88, 0xbb, 0x3e,
|
|
0x33, 0x4f, 0x28, 0xaf, 0x8d, 0xde, 0x38, 0xa7, 0x7f, 0xe3, 0x6e, 0xff, 0x66, 0x09, 0x8e, 0x68,
|
|
0x50, 0x1f, 0x87, 0x84, 0x13, 0x5f, 0x8a, 0xfe, 0xb0, 0xa5, 0xae, 0xc1, 0xb8, 0x1c, 0xfa, 0xd8,
|
|
0x90, 0x7b, 0x9a, 0x9f, 0xca, 0x22, 0xee, 0xda, 0xa1, 0x96, 0x7b, 0xf2, 0x9e, 0x0d, 0x7d, 0xc9,
|
|
0x4a, 0xde, 0xdf, 0x71, 0x5f, 0xc8, 0x4f, 0x0e, 0xbb, 0x29, 0xc6, 0x5d, 0x20, 0x6f, 0x8f, 0xbe,
|
|
0x53, 0xea, 0x75, 0x4b, 0x38, 0x0f, 0xb0, 0xe3, 0xfa, 0x8e, 0xe7, 0xbe, 0x4e, 0xcf, 0x5c, 0x23,
|
|
0x4c, 0xef, 0x60, 0x6a, 0xdb, 0x65, 0x55, 0x8a, 0x0d, 0x8c, 0xf3, 0xdf, 0x05, 0xe3, 0xc6, 0x07,
|
|
0x67, 0x38, 0xa2, 0x9c, 0x35, 0x1d, 0x51, 0x2a, 0x86, 0x23, 0xc9, 0xf9, 0x97, 0xe1, 0x4c, 0xba,
|
|
0x81, 0x27, 0xa9, 0x6f, 0x7f, 0x75, 0x2c, 0x7d, 0xb3, 0xb6, 0x45, 0xc2, 0x16, 0x6d, 0xda, 0x3b,
|
|
0xd6, 0xae, 0x77, 0xac, 0x5d, 0xdf, 0x9a, 0x97, 0x0a, 0xc2, 0x92, 0x33, 0xf6, 0x60, 0x2d, 0x39,
|
|
0x09, 0x93, 0x54, 0x79, 0xe8, 0x26, 0x29, 0xfb, 0xd3, 0xe9, 0x23, 0xfb, 0x56, 0x48, 0x08, 0xda,
|
|
0x81, 0x11, 0x3f, 0x68, 0x10, 0xa9, 0x41, 0x2f, 0xe6, 0x52, 0x10, 0xaf, 0x07, 0x0d, 0xc3, 0x35,
|
|
0x9c, 0xfe, 0x8b, 0x30, 0x27, 0x6f, 0xff, 0xb7, 0x2e, 0x4d, 0xe3, 0x16, 0x33, 0xa5, 0xec, 0x13,
|
|
0x3f, 0x46, 0xd7, 0x12, 0xda, 0xd6, 0x77, 0xa6, 0xae, 0x7c, 0xdf, 0xd3, 0x2b, 0xa2, 0xe7, 0x0e,
|
|
0xa5, 0x30, 0xcf, 0x48, 0x18, 0x8a, 0xd9, 0x0f, 0x5b, 0x30, 0xe5, 0x24, 0x38, 0xe5, 0x0d, 0xd4,
|
|
0x30, 0x6f, 0x00, 0x94, 0x1a, 0x9b, 0xd2, 0xd9, 0x52, 0x2c, 0xed, 0x37, 0x47, 0x21, 0xa1, 0xa5,
|
|
0xf3, 0xa9, 0xfc, 0xed, 0x30, 0x16, 0x92, 0x76, 0x70, 0x03, 0xaf, 0x89, 0x6f, 0xd5, 0xe1, 0x41,
|
|
0xbc, 0x18, 0x4b, 0x38, 0xdd, 0x86, 0xdb, 0x4e, 0xbc, 0x2b, 0xf6, 0x57, 0xb5, 0x0d, 0x6f, 0x3a,
|
|
0xf1, 0x2e, 0x66, 0x10, 0xaa, 0x69, 0xc7, 0x89, 0x8b, 0x76, 0x71, 0xa1, 0xac, 0x9a, 0x98, 0xbc,
|
|
0x86, 0xc7, 0x29, 0x6c, 0xb4, 0x0b, 0xa5, 0x5d, 0xe2, 0xb5, 0xc4, 0xbc, 0xbe, 0x9a, 0xbb, 0x77,
|
|
0xd8, 0x27, 0x5e, 0x21, 0x5e, 0x8b, 0x8b, 0x6b, 0xfa, 0x0b, 0x33, 0x0e, 0xe8, 0xd3, 0x50, 0xd9,
|
|
0xeb, 0x44, 0x71, 0xd0, 0x72, 0x5f, 0x97, 0x16, 0xdd, 0x8d, 0xe1, 0xb0, 0xbb, 0x26, 0xc9, 0x72,
|
|
0x1b, 0x9a, 0xfa, 0x8b, 0x35, 0x43, 0xca, 0xbd, 0xe1, 0x86, 0x6c, 0x11, 0x1c, 0x08, 0x73, 0xec,
|
|
0x90, 0xb8, 0x2f, 0x4b, 0xb2, 0x9c, 0xbb, 0xfa, 0x8b, 0x35, 0x43, 0xd4, 0x56, 0xf2, 0x63, 0x9c,
|
|
0xb1, 0x5e, 0x1b, 0x0e, 0x6b, 0x2e, 0x3b, 0x32, 0xe5, 0xc8, 0x53, 0x30, 0x52, 0xdf, 0x75, 0xc2,
|
|
0x78, 0x76, 0x82, 0x4d, 0x07, 0xb5, 0x1e, 0x97, 0x68, 0x21, 0xe6, 0x30, 0xf4, 0x04, 0x14, 0x43,
|
|
0xb2, 0xc3, 0xfc, 0xa4, 0x0d, 0xd7, 0x2a, 0x4c, 0x76, 0x30, 0x2d, 0x57, 0x4a, 0xe0, 0xd4, 0x51,
|
|
0x4a, 0x60, 0xec, 0x34, 0x37, 0x43, 0xb2, 0xe3, 0xde, 0x65, 0xae, 0xc4, 0x86, 0x12, 0xb8, 0x25,
|
|
0x01, 0x58, 0xe3, 0xd8, 0x5f, 0x2a, 0x24, 0xd5, 0xce, 0x64, 0x0f, 0xf2, 0xa5, 0x51, 0xef, 0x84,
|
|
0x91, 0x34, 0x1c, 0x1a, 0x4b, 0x83, 0x15, 0x63, 0x09, 0x47, 0x77, 0x61, 0xec, 0x76, 0x14, 0xf8,
|
|
0xbe, 0x5a, 0xd9, 0xeb, 0xc3, 0xe9, 0xd3, 0xab, 0x9c, 0xa8, 0xe6, 0x2c, 0x0a, 0xb0, 0x64, 0x47,
|
|
0x1b, 0x49, 0xee, 0xd6, 0xbd, 0x4e, 0xa3, 0xcb, 0x11, 0xe7, 0x12, 0x2f, 0xc6, 0x12, 0x4e, 0x51,
|
|
0x5d, 0x9f, 0xa3, 0x96, 0x92, 0xa8, 0xab, 0xbe, 0x40, 0x15, 0x70, 0xfb, 0x9f, 0x95, 0xe1, 0x5c,
|
|
0xe6, 0x42, 0xa2, 0x8a, 0x21, 0x53, 0xbd, 0x2e, 0xbb, 0x1e, 0x91, 0x0e, 0x67, 0x4c, 0x31, 0xbc,
|
|
0xa9, 0x4a, 0xb1, 0x81, 0x81, 0xf6, 0x01, 0xda, 0x4e, 0xe8, 0xb4, 0x88, 0x32, 0xde, 0x0f, 0xaa,
|
|
0x7f, 0x51, 0xf6, 0x9b, 0x92, 0x94, 0x36, 0x85, 0xa8, 0xa2, 0x08, 0x1b, 0x9c, 0xd0, 0x0b, 0x30,
|
|
0x1e, 0x12, 0x8f, 0x38, 0x11, 0x73, 0xd3, 0x4f, 0x87, 0x25, 0x61, 0x0d, 0xc2, 0x26, 0x1e, 0x7a,
|
|
0x5a, 0xb9, 0xe4, 0x95, 0x92, 0x1e, 0x2c, 0x49, 0xb7, 0x3c, 0xf4, 0x23, 0x16, 0x4c, 0xed, 0xb8,
|
|
0x1e, 0xd1, 0xdc, 0x45, 0x34, 0xd1, 0xe5, 0x81, 0xbf, 0xed, 0xb2, 0x49, 0x4e, 0x8b, 0xcc, 0x44,
|
|
0x71, 0x84, 0x53, 0x5c, 0xe9, 0xa0, 0xee, 0x93, 0x90, 0xc9, 0xda, 0xd1, 0xe4, 0xa0, 0xde, 0xe4,
|
|
0xc5, 0x58, 0xc2, 0xd1, 0x22, 0x4c, 0xb7, 0x9d, 0x28, 0x5a, 0x0a, 0x49, 0x83, 0xf8, 0xb1, 0xeb,
|
|
0x78, 0x3c, 0x7c, 0xa7, 0xac, 0x3d, 0xcf, 0x37, 0x93, 0x60, 0x9c, 0xc6, 0x47, 0x1f, 0x85, 0x47,
|
|
0xb9, 0x55, 0x6d, 0xdd, 0x8d, 0x22, 0xd7, 0x6f, 0xea, 0x41, 0x17, 0x36, 0xc5, 0x39, 0x41, 0xea,
|
|
0xd1, 0xd5, 0x6c, 0x34, 0xdc, 0xab, 0x3e, 0x7a, 0x16, 0xca, 0xd1, 0x9e, 0xdb, 0x5e, 0x0a, 0x1b,
|
|
0x11, 0xbb, 0xfe, 0x2a, 0x6b, 0x2b, 0x75, 0x4d, 0x94, 0x63, 0x85, 0x81, 0xea, 0x30, 0xc1, 0x47,
|
|
0x82, 0xbb, 0x12, 0x0a, 0x21, 0xfa, 0xbe, 0x9e, 0xda, 0x89, 0x08, 0xd1, 0x9d, 0xc7, 0xce, 0x9d,
|
|
0x4b, 0xf2, 0x32, 0x8e, 0x5f, 0x22, 0xdd, 0x34, 0xc8, 0xe0, 0x04, 0xd1, 0xe4, 0xa9, 0x72, 0xbc,
|
|
0x8f, 0x53, 0xe5, 0x0b, 0x30, 0xbe, 0xd7, 0xd9, 0x26, 0xa2, 0xe7, 0x85, 0xb4, 0x53, 0x93, 0xee,
|
|
0x9a, 0x06, 0x61, 0x13, 0x8f, 0x79, 0x71, 0xb6, 0x5d, 0xf1, 0x2f, 0x9a, 0x9d, 0x34, 0xbc, 0x38,
|
|
0x37, 0x57, 0x65, 0x31, 0x36, 0x71, 0x68, 0xd3, 0x68, 0x5f, 0x6c, 0x91, 0x88, 0xc5, 0x7a, 0xd0,
|
|
0xee, 0x52, 0x4d, 0xab, 0x49, 0x00, 0xd6, 0x38, 0x68, 0x13, 0xce, 0xd2, 0x3f, 0x35, 0x16, 0xa2,
|
|
0x7c, 0xd3, 0xf1, 0xdc, 0x06, 0x77, 0x32, 0x9c, 0x4e, 0x9a, 0x82, 0x6b, 0x19, 0x38, 0x38, 0xb3,
|
|
0xe6, 0x77, 0x97, 0x7f, 0xf6, 0x97, 0xe7, 0x1e, 0x7a, 0xe3, 0x4f, 0x2f, 0x3e, 0x64, 0x7f, 0xbe,
|
|
0x90, 0xd4, 0xa4, 0x4c, 0xd1, 0x85, 0x6e, 0x53, 0x01, 0x15, 0xdf, 0x74, 0x42, 0xa9, 0xd0, 0x0d,
|
|
0x16, 0x96, 0x25, 0xc8, 0xdd, 0x74, 0x42, 0x53, 0xc2, 0x31, 0xba, 0x58, 0x32, 0x40, 0x0e, 0x94,
|
|
0x62, 0xcf, 0xc9, 0x17, 0xbe, 0x69, 0x30, 0xd2, 0x46, 0xb6, 0xb5, 0xc5, 0x08, 0x33, 0xd2, 0xe8,
|
|
0x02, 0x3d, 0x49, 0x6e, 0xcb, 0xbb, 0x44, 0x71, 0x0a, 0xdc, 0x8e, 0x30, 0x2b, 0xb5, 0xff, 0x7a,
|
|
0x22, 0x63, 0x47, 0x51, 0x2a, 0x00, 0x7a, 0x1e, 0x80, 0x4e, 0x16, 0xb1, 0x45, 0x71, 0x7d, 0x4b,
|
|
0x09, 0xb2, 0xeb, 0x0a, 0x82, 0x0d, 0x2c, 0x59, 0xa7, 0xd6, 0xd9, 0xa1, 0x75, 0x0a, 0xdd, 0x75,
|
|
0x38, 0x04, 0x1b, 0x58, 0xe8, 0x03, 0x30, 0xea, 0xb6, 0x9c, 0xa6, 0x72, 0x2c, 0xbe, 0x40, 0x25,
|
|
0xd8, 0x2a, 0x2b, 0xb9, 0x7f, 0x38, 0x37, 0xa5, 0x1a, 0xc4, 0x8a, 0xb0, 0xc0, 0x45, 0xbf, 0x60,
|
|
0xc1, 0x44, 0x3d, 0x68, 0xb5, 0x02, 0x9f, 0x1f, 0xe5, 0x85, 0x39, 0xc2, 0x19, 0xb2, 0x5e, 0x34,
|
|
0xbf, 0x64, 0xf0, 0xe0, 0xf6, 0x08, 0x15, 0x67, 0x6a, 0x82, 0x70, 0xa2, 0x31, 0xa6, 0xa0, 0x1b,
|
|
0x39, 0x46, 0xd0, 0x7d, 0xc5, 0x82, 0x19, 0x5e, 0xd7, 0x30, 0x2c, 0x88, 0xb8, 0xc9, 0x9d, 0x07,
|
|
0xf3, 0x35, 0x5d, 0x26, 0x16, 0x65, 0x18, 0xef, 0x82, 0xe3, 0xee, 0xb6, 0xa1, 0x15, 0x98, 0xd9,
|
|
0x09, 0xc2, 0x3a, 0x31, 0xbf, 0x5f, 0x08, 0x67, 0x45, 0xe8, 0x72, 0x1a, 0x01, 0x77, 0xd7, 0x41,
|
|
0x37, 0xe1, 0x11, 0xa3, 0xd0, 0xfc, 0x7c, 0x2e, 0x9f, 0x9f, 0x14, 0xd4, 0x1e, 0xb9, 0x9c, 0x89,
|
|
0x85, 0x7b, 0xd4, 0x4e, 0x8a, 0xc2, 0x4a, 0x1f, 0xa2, 0xf0, 0x13, 0xf0, 0x58, 0xbd, 0xbb, 0x67,
|
|
0xf6, 0xa3, 0xce, 0x76, 0xc4, 0xa5, 0x75, 0xb9, 0xfa, 0x2e, 0x41, 0xe0, 0xb1, 0xa5, 0x5e, 0x88,
|
|
0xb8, 0x37, 0x0d, 0x14, 0x41, 0x39, 0x24, 0x6c, 0x54, 0x22, 0x11, 0x57, 0x38, 0x98, 0xc1, 0x45,
|
|
0x2b, 0xe8, 0x9c, 0x9a, 0xde, 0x76, 0x44, 0x41, 0x84, 0x15, 0x23, 0xe4, 0xc3, 0x58, 0x9b, 0x1e,
|
|
0xf1, 0x44, 0x80, 0xe0, 0xa0, 0x27, 0x38, 0xc5, 0x93, 0x5d, 0x29, 0x19, 0x69, 0x16, 0x38, 0x6d,
|
|
0x2c, 0x99, 0x50, 0x6d, 0xab, 0x1e, 0xb4, 0xda, 0x81, 0x4f, 0xfc, 0x58, 0x6e, 0x0c, 0x53, 0xfc,
|
|
0x02, 0x48, 0x96, 0x62, 0x03, 0xa3, 0x6b, 0x7f, 0xd6, 0x68, 0xb3, 0x33, 0x47, 0xec, 0xcf, 0x06,
|
|
0xb5, 0x5e, 0xf5, 0xe9, 0x06, 0xc2, 0xac, 0x96, 0xb7, 0xdc, 0x78, 0x37, 0xe8, 0xc4, 0xf2, 0x38,
|
|
0x2f, 0x36, 0x1f, 0xb5, 0x81, 0xac, 0x65, 0xe0, 0xe0, 0xcc, 0x9a, 0xe9, 0xdd, 0x72, 0x7a, 0xb0,
|
|
0xdd, 0xf2, 0x4c, 0x1f, 0xbb, 0x65, 0x0d, 0xce, 0xb1, 0x16, 0x08, 0x3d, 0x57, 0x1a, 0x47, 0xa3,
|
|
0x59, 0xc4, 0x1a, 0xaf, 0x42, 0x60, 0xd6, 0xb2, 0x90, 0x70, 0x76, 0xdd, 0xf3, 0x1f, 0x86, 0x99,
|
|
0x2e, 0x49, 0x76, 0x22, 0xc3, 0xe7, 0x32, 0x3c, 0x92, 0x2d, 0x3c, 0x4e, 0x64, 0xfe, 0xfc, 0x47,
|
|
0x29, 0xc7, 0x75, 0xe3, 0x2c, 0xd6, 0x87, 0xe1, 0xfc, 0x7b, 0xa1, 0x48, 0xfc, 0x7d, 0xb1, 0x61,
|
|
0x7e, 0x68, 0xa0, 0xc9, 0x7c, 0xc9, 0xdf, 0xe7, 0x22, 0x8f, 0x59, 0x10, 0x2f, 0xf9, 0xfb, 0x98,
|
|
0x92, 0x44, 0x3f, 0x66, 0x25, 0x34, 0x7f, 0x6e, 0x65, 0xbf, 0x31, 0xcc, 0xa3, 0x66, 0xdf, 0x87,
|
|
0x01, 0xfb, 0xb7, 0x0a, 0x70, 0xf1, 0x38, 0x22, 0x7d, 0x74, 0xd6, 0x53, 0x30, 0x1a, 0x31, 0xf7,
|
|
0x18, 0xb1, 0x03, 0x8d, 0xd3, 0x35, 0xcb, 0x1d, 0x66, 0x3e, 0x81, 0x05, 0x08, 0xd5, 0xa1, 0xd8,
|
|
0x72, 0xda, 0xc2, 0x2e, 0xfb, 0x91, 0x01, 0xe3, 0xf8, 0xe8, 0x7f, 0xc7, 0x5b, 0x77, 0xda, 0x7c,
|
|
0x62, 0x1b, 0x05, 0x98, 0x52, 0x47, 0x7b, 0x30, 0xe2, 0x84, 0xa1, 0x23, 0xfd, 0x33, 0xaa, 0xb9,
|
|
0xd8, 0x2c, 0x52, 0x4a, 0xfc, 0xe6, 0x3b, 0x51, 0x84, 0x39, 0x0f, 0xfb, 0x8f, 0xc7, 0x12, 0xb1,
|
|
0x5e, 0xcc, 0xaf, 0xe6, 0x36, 0x8c, 0x0a, 0x7b, 0xac, 0x35, 0xa4, 0x18, 0x49, 0x1e, 0x93, 0xcd,
|
|
0xac, 0x07, 0x22, 0xe7, 0x85, 0xe0, 0x80, 0x7e, 0xc8, 0x62, 0x29, 0x26, 0x64, 0xdc, 0x9c, 0x38,
|
|
0x61, 0x0f, 0x35, 0xd1, 0x85, 0x99, 0xaf, 0x42, 0x16, 0x62, 0x93, 0xa9, 0xc8, 0x8d, 0xc3, 0xce,
|
|
0x1a, 0xdd, 0xb9, 0x71, 0xd8, 0xd9, 0x41, 0xc2, 0x51, 0x90, 0xe1, 0x41, 0x33, 0x78, 0x2e, 0x82,
|
|
0x3e, 0x7c, 0x66, 0xbe, 0x64, 0xc1, 0x8c, 0x9b, 0xf6, 0x92, 0x10, 0xe7, 0xd1, 0xeb, 0xb9, 0xcc,
|
|
0xa7, 0xdd, 0xbe, 0x17, 0x4a, 0x1d, 0xe9, 0x02, 0xe1, 0xee, 0x36, 0xa0, 0x8f, 0x41, 0xc9, 0xf5,
|
|
0x77, 0x02, 0xa1, 0x7b, 0x7d, 0xd7, 0x40, 0x6d, 0x59, 0xf5, 0x77, 0x02, 0xbd, 0x1c, 0xe9, 0x3f,
|
|
0xcc, 0x88, 0xa2, 0x35, 0x38, 0x2b, 0xe3, 0x77, 0xae, 0xb8, 0x51, 0x1c, 0x84, 0x07, 0x6b, 0x6e,
|
|
0xcb, 0x8d, 0x99, 0xde, 0x54, 0xac, 0xce, 0xd2, 0xdd, 0x08, 0x67, 0xc0, 0x71, 0x66, 0x2d, 0xf4,
|
|
0x1a, 0x8c, 0x49, 0xcf, 0x84, 0x72, 0x8e, 0x93, 0x7c, 0xf7, 0x94, 0x56, 0x13, 0xa5, 0x26, 0x5c,
|
|
0x13, 0x24, 0x1f, 0xf4, 0x03, 0x30, 0xc5, 0x7f, 0x5e, 0x39, 0x68, 0xf0, 0x98, 0xc1, 0x4a, 0x0e,
|
|
0xb3, 0x70, 0x2d, 0x41, 0xaa, 0x8a, 0xee, 0x1d, 0xce, 0x4d, 0x25, 0xcb, 0x70, 0x8a, 0x9d, 0xfd,
|
|
0x67, 0xe3, 0xd0, 0xed, 0xb8, 0x91, 0xf4, 0xd2, 0xb0, 0x4e, 0xcb, 0x4b, 0xc3, 0x81, 0x52, 0xa4,
|
|
0xbd, 0x16, 0x06, 0x5f, 0x2f, 0x82, 0x99, 0xbe, 0x66, 0x3e, 0xf0, 0xeb, 0x98, 0x91, 0x46, 0x9e,
|
|
0x72, 0xe4, 0x28, 0xe6, 0xbb, 0xd0, 0xee, 0xc7, 0x97, 0x03, 0x05, 0x30, 0xb6, 0xcb, 0x27, 0x98,
|
|
0x38, 0x48, 0x2d, 0x0f, 0xd8, 0x89, 0x89, 0xc9, 0xaa, 0xa7, 0x93, 0x28, 0xc0, 0x92, 0x0b, 0xfa,
|
|
0x4c, 0xc2, 0xff, 0x88, 0x2f, 0xff, 0xdc, 0x91, 0x8d, 0xfd, 0x3b, 0x1f, 0x7d, 0x12, 0x26, 0x42,
|
|
0x52, 0x0f, 0xfc, 0xba, 0xeb, 0x91, 0xc6, 0xa2, 0xbc, 0x15, 0x3b, 0x49, 0xcc, 0x1a, 0xb3, 0xc7,
|
|
0x60, 0x83, 0x06, 0x4e, 0x50, 0xa4, 0xeb, 0x45, 0x05, 0xb2, 0xd3, 0xce, 0x27, 0xe2, 0xa2, 0x60,
|
|
0x29, 0x5f, 0xb4, 0x3c, 0x23, 0xc5, 0xd7, 0x4b, 0xb2, 0x0c, 0xa7, 0xd8, 0xa1, 0x57, 0x01, 0x82,
|
|
0x6d, 0xee, 0xa6, 0xb7, 0x18, 0x8b, 0x6b, 0x83, 0x93, 0x7c, 0xe0, 0x14, 0x0f, 0x7e, 0x95, 0x14,
|
|
0xb0, 0x41, 0x0d, 0x5d, 0x03, 0xe0, 0x4b, 0x61, 0xeb, 0xa0, 0x2d, 0x8f, 0x58, 0x32, 0xd4, 0x10,
|
|
0x6a, 0x0a, 0x72, 0xff, 0x70, 0xae, 0xdb, 0x32, 0xcb, 0xee, 0x9a, 0x8c, 0xea, 0x28, 0x84, 0xb1,
|
|
0xa8, 0xd3, 0x6a, 0x39, 0xea, 0x7a, 0x21, 0x7f, 0x38, 0x2d, 0x27, 0x67, 0x48, 0x33, 0x5e, 0x80,
|
|
0x25, 0x23, 0x74, 0x9b, 0x8a, 0x63, 0x21, 0x60, 0xf8, 0xfa, 0xe0, 0x0a, 0x02, 0x37, 0x9c, 0x7d,
|
|
0x50, 0x1e, 0x10, 0x70, 0x06, 0xce, 0xfd, 0xc3, 0xb9, 0x47, 0x92, 0xe5, 0x6b, 0x81, 0x88, 0x74,
|
|
0xcd, 0xa4, 0x89, 0xae, 0xca, 0x7c, 0x59, 0xf4, 0x6b, 0x65, 0xb2, 0x96, 0x67, 0x74, 0xbe, 0x2c,
|
|
0x56, 0xdc, 0xbb, 0xab, 0xcc, 0xca, 0x68, 0x1d, 0x1e, 0xae, 0x07, 0x7e, 0x1c, 0x06, 0x9e, 0xc7,
|
|
0x53, 0xe6, 0xf1, 0x43, 0x2e, 0xbf, 0x87, 0x78, 0x5c, 0x34, 0xfb, 0xe1, 0xa5, 0x6e, 0x14, 0x9c,
|
|
0x55, 0x8f, 0xea, 0xbd, 0x69, 0xa9, 0x3e, 0x95, 0xe7, 0xf6, 0x3c, 0x41, 0x4a, 0x88, 0x1c, 0x65,
|
|
0x1c, 0x3e, 0x46, 0xbe, 0xff, 0x4a, 0x2a, 0xca, 0x49, 0x8c, 0xd4, 0x07, 0x60, 0x82, 0xdc, 0x8d,
|
|
0x49, 0xe8, 0x3b, 0xde, 0x0d, 0xbc, 0x26, 0xad, 0xf8, 0x6c, 0xf5, 0x5d, 0x32, 0xca, 0x71, 0x02,
|
|
0x0b, 0xd9, 0xca, 0xa8, 0x64, 0x04, 0x8e, 0x73, 0xa3, 0x92, 0x32, 0x21, 0xbd, 0x00, 0xe3, 0x6e,
|
|
0xb4, 0xd8, 0x6e, 0x6f, 0xec, 0x2c, 0xb6, 0xdb, 0x3c, 0xba, 0xba, 0xac, 0x95, 0xab, 0x55, 0x0d,
|
|
0xc2, 0x26, 0x9e, 0xfd, 0xc5, 0x62, 0x42, 0xc3, 0x3c, 0xcd, 0x6b, 0x60, 0xf4, 0x59, 0x98, 0x94,
|
|
0xf9, 0xa4, 0x58, 0xb9, 0x38, 0x0b, 0x0d, 0x81, 0x9f, 0x72, 0x78, 0xdb, 0x30, 0xe9, 0xe3, 0x24,
|
|
0x3b, 0xb4, 0x0d, 0x23, 0xbb, 0x41, 0x14, 0xcb, 0x13, 0xd2, 0x60, 0x67, 0xb0, 0x2b, 0x41, 0x14,
|
|
0x33, 0x3d, 0x49, 0x7d, 0x23, 0x2d, 0x89, 0x30, 0x27, 0x4d, 0x87, 0x25, 0xda, 0x75, 0xc2, 0x46,
|
|
0xc2, 0xfd, 0x51, 0x0d, 0x4b, 0x4d, 0x83, 0xb0, 0x89, 0x67, 0xff, 0x99, 0x95, 0xb8, 0x05, 0x7a,
|
|
0x50, 0xd7, 0xe3, 0x77, 0x92, 0x61, 0xef, 0x85, 0x1c, 0x27, 0x27, 0x33, 0xbf, 0xc3, 0xb1, 0x81,
|
|
0xf3, 0xf6, 0x4f, 0x59, 0x30, 0x56, 0x75, 0xea, 0x7b, 0xc1, 0xce, 0x0e, 0x7a, 0x16, 0xca, 0x8d,
|
|
0x4e, 0x68, 0x06, 0xde, 0x2b, 0x3b, 0xd0, 0xb2, 0x28, 0xc7, 0x0a, 0x83, 0xae, 0x85, 0x1d, 0xa7,
|
|
0x2e, 0xb3, 0x3c, 0x14, 0xf9, 0x5a, 0xb8, 0xcc, 0x4a, 0xb0, 0x80, 0xd0, 0x4e, 0x6f, 0x39, 0x77,
|
|
0x65, 0xe5, 0xf4, 0x0d, 0xd4, 0xba, 0x06, 0x61, 0x13, 0xcf, 0xfe, 0x2d, 0x0b, 0x66, 0xab, 0x4e,
|
|
0xe4, 0xd6, 0x17, 0x3b, 0xf1, 0x6e, 0xd5, 0x8d, 0xb7, 0x3b, 0xf5, 0x3d, 0x12, 0xf3, 0x24, 0x20,
|
|
0xb4, 0x95, 0x9d, 0x88, 0x2e, 0x49, 0x75, 0x4e, 0x55, 0xad, 0xbc, 0x21, 0xca, 0xb1, 0xc2, 0x40,
|
|
0xaf, 0xc1, 0x78, 0xdb, 0x89, 0xa2, 0x3b, 0x41, 0xd8, 0xc0, 0x64, 0x27, 0x57, 0x0a, 0xa0, 0x1a,
|
|
0xa9, 0x87, 0x24, 0xc6, 0x64, 0x47, 0xf8, 0xa6, 0x68, 0xb2, 0xd8, 0xe4, 0x61, 0xbf, 0x61, 0xc1,
|
|
0xd9, 0x2a, 0x71, 0x42, 0x12, 0xb2, 0x8c, 0x41, 0xaa, 0xfd, 0x68, 0x17, 0xca, 0x31, 0x2d, 0xa1,
|
|
0x0d, 0xb1, 0x86, 0xd2, 0x10, 0xe6, 0x55, 0xb2, 0x25, 0x68, 0x62, 0x45, 0xdd, 0xfe, 0x9c, 0x05,
|
|
0x8f, 0x65, 0x35, 0x61, 0xc9, 0x0b, 0x3a, 0x8d, 0x53, 0x6c, 0xc7, 0xcf, 0x5b, 0x30, 0xc1, 0x2e,
|
|
0xb8, 0x97, 0x49, 0xec, 0xb8, 0x5e, 0x57, 0xa6, 0x44, 0xab, 0xcf, 0x4c, 0x89, 0x17, 0xa1, 0xb4,
|
|
0x1b, 0xb4, 0x48, 0xda, 0xed, 0xe2, 0x4a, 0xd0, 0x22, 0x98, 0x41, 0xd0, 0x73, 0x74, 0xa6, 0xb9,
|
|
0x7e, 0xec, 0xd0, 0x95, 0x26, 0x6d, 0xfe, 0xd3, 0x7c, 0x96, 0xa9, 0x62, 0x6c, 0xe2, 0xd8, 0x5f,
|
|
0xac, 0xc0, 0x98, 0x70, 0x7b, 0xea, 0x3b, 0xf3, 0x8c, 0x34, 0x90, 0x14, 0x7a, 0x1a, 0x48, 0x6e,
|
|
0xc3, 0x68, 0x9d, 0x25, 0xab, 0x15, 0x0a, 0x76, 0x35, 0x8f, 0x0b, 0x1c, 0x4f, 0x7b, 0xab, 0x5b,
|
|
0xc3, 0xff, 0x63, 0xc1, 0x01, 0x7d, 0xde, 0x82, 0xe9, 0x7a, 0xe0, 0xfb, 0xa4, 0xae, 0xd5, 0xc1,
|
|
0x52, 0x0e, 0xb5, 0x7e, 0x29, 0x49, 0x4b, 0x5f, 0x8a, 0xa6, 0x00, 0x38, 0xcd, 0x15, 0xbd, 0x04,
|
|
0x93, 0xbc, 0x87, 0x6e, 0x26, 0xee, 0x27, 0x74, 0xbe, 0x3c, 0x13, 0x88, 0x93, 0xb8, 0x68, 0x9e,
|
|
0x5f, 0xef, 0x88, 0xac, 0x73, 0xa3, 0xda, 0xc2, 0x6b, 0xe4, 0x9b, 0x33, 0x30, 0x50, 0x08, 0x28,
|
|
0x24, 0x3b, 0x21, 0x89, 0x76, 0x85, 0x3b, 0x18, 0x53, 0x45, 0xc7, 0x06, 0xcb, 0x0f, 0x81, 0xbb,
|
|
0x28, 0xe1, 0x0c, 0xea, 0x68, 0x5b, 0x9c, 0xe2, 0xcb, 0x39, 0x24, 0xb3, 0x18, 0xd4, 0x9e, 0x87,
|
|
0xf9, 0x39, 0x18, 0x61, 0x5b, 0x0f, 0xd3, 0x7c, 0x8b, 0x3c, 0x3c, 0x92, 0x6d, 0x4c, 0x98, 0x97,
|
|
0xa3, 0x65, 0x38, 0x93, 0x4a, 0xe0, 0x17, 0x89, 0x7b, 0x04, 0x15, 0x1c, 0x97, 0x4a, 0xfd, 0x17,
|
|
0xe1, 0xae, 0x1a, 0xa6, 0x19, 0x67, 0xfc, 0x18, 0x33, 0x4e, 0x5b, 0x79, 0x08, 0x73, 0x53, 0xff,
|
|
0x95, 0x3c, 0xdf, 0xdd, 0x97, 0x3b, 0xf0, 0xdf, 0x4f, 0xb9, 0x03, 0x4f, 0x32, 0xbe, 0xeb, 0xb9,
|
|
0xf8, 0x9e, 0xdc, 0xf7, 0xf7, 0xad, 0xf4, 0xe5, 0xfd, 0x9f, 0x16, 0xc8, 0x51, 0x5c, 0x72, 0xea,
|
|
0xbb, 0x84, 0x4e, 0x90, 0x8c, 0xf8, 0x0d, 0xeb, 0x44, 0xf1, 0x1b, 0x0b, 0x50, 0xa1, 0xfd, 0xc4,
|
|
0xab, 0xf2, 0xfd, 0x5a, 0x99, 0x22, 0x16, 0x37, 0x57, 0x45, 0x2d, 0x8d, 0x83, 0x02, 0x98, 0xf1,
|
|
0x9c, 0x28, 0x66, 0x2d, 0xa8, 0x1d, 0xf8, 0xf5, 0x01, 0x53, 0xb0, 0xb0, 0x38, 0xad, 0xb5, 0x34,
|
|
0x21, 0xdc, 0x4d, 0xdb, 0xfe, 0x8d, 0x11, 0x98, 0x4c, 0x48, 0xbd, 0x13, 0x6e, 0xf4, 0xcf, 0x42,
|
|
0x59, 0x6e, 0xc2, 0xe9, 0xb4, 0x53, 0x6a, 0xa7, 0x56, 0x18, 0x74, 0x1f, 0xda, 0xd6, 0xfb, 0x63,
|
|
0x5a, 0x31, 0x31, 0xb6, 0x4e, 0x6c, 0xe2, 0x31, 0x81, 0x1b, 0x7b, 0xd1, 0x92, 0xe7, 0x12, 0x3f,
|
|
0xe6, 0xcd, 0xcc, 0x25, 0x70, 0xb7, 0xd6, 0x6a, 0x26, 0x2d, 0x2d, 0x70, 0x53, 0x00, 0x9c, 0xe6,
|
|
0x8a, 0x3e, 0x05, 0x93, 0xce, 0x9d, 0x48, 0xa7, 0x46, 0x17, 0x3e, 0xc1, 0x83, 0xed, 0x36, 0x89,
|
|
0x24, 0xeb, 0xdc, 0x0a, 0x9e, 0x28, 0xc2, 0x49, 0x5e, 0xe8, 0x4d, 0x0b, 0x10, 0xb9, 0x4b, 0xea,
|
|
0xd2, 0x59, 0x59, 0x34, 0x61, 0x34, 0xc7, 0x31, 0xfb, 0x52, 0x17, 0x39, 0x2e, 0x9e, 0xbb, 0xcb,
|
|
0x71, 0x06, 0x6b, 0x74, 0x15, 0x50, 0xc3, 0x8d, 0x9c, 0x6d, 0x8f, 0x2c, 0x05, 0x2d, 0x19, 0x07,
|
|
0x2c, 0x6e, 0x8f, 0xcf, 0x8b, 0x4e, 0x45, 0xcb, 0x5d, 0x18, 0x38, 0xa3, 0x16, 0x9b, 0x49, 0x61,
|
|
0x70, 0xf7, 0xe0, 0x46, 0xe8, 0x31, 0x71, 0x6f, 0xce, 0x24, 0x51, 0x8e, 0x15, 0x86, 0xfd, 0x87,
|
|
0x45, 0xb5, 0x5c, 0xb5, 0xaf, 0xbd, 0x63, 0x38, 0x0d, 0x5b, 0x83, 0x3b, 0x0d, 0x6b, 0xef, 0x9f,
|
|
0xee, 0x58, 0x76, 0x33, 0x3c, 0xb6, 0x70, 0xba, 0xe1, 0xb1, 0x07, 0x89, 0x9c, 0x6d, 0xe3, 0xcf,
|
|
0xbf, 0x32, 0x14, 0x2f, 0xff, 0x79, 0xee, 0x85, 0x94, 0xda, 0x1e, 0x52, 0x3e, 0x67, 0xcf, 0x42,
|
|
0x79, 0xc7, 0x73, 0x58, 0xa2, 0x12, 0xb6, 0xf0, 0x0c, 0x0f, 0xa9, 0xcb, 0xa2, 0x1c, 0x2b, 0x0c,
|
|
0x2a, 0xc5, 0x0d, 0xa2, 0x27, 0x92, 0xc2, 0x5f, 0x2b, 0xc2, 0xb8, 0xb1, 0x5f, 0x67, 0xaa, 0x5a,
|
|
0xd6, 0xdb, 0x43, 0xd5, 0x2a, 0x9c, 0x40, 0xd5, 0xda, 0x87, 0x4a, 0x5d, 0x6e, 0x2a, 0xb9, 0x12,
|
|
0xd8, 0xa7, 0x77, 0x28, 0xbd, 0x9d, 0xa8, 0x22, 0xac, 0x59, 0xa1, 0x95, 0x44, 0x50, 0x66, 0xe2,
|
|
0x0c, 0x9e, 0x15, 0x3e, 0x29, 0xf6, 0xa3, 0xee, 0x3a, 0xe9, 0x9b, 0xef, 0x91, 0xe3, 0x6f, 0xbe,
|
|
0xed, 0xdf, 0xb7, 0xd4, 0x50, 0x9e, 0x42, 0x82, 0x1b, 0x27, 0x99, 0xe0, 0xe6, 0x7b, 0xf2, 0xf4,
|
|
0x6e, 0xaf, 0xe4, 0xf9, 0x16, 0x3c, 0x79, 0x74, 0x2a, 0x68, 0xf4, 0x14, 0x8c, 0x34, 0xc3, 0xa0,
|
|
0xd3, 0x16, 0x1b, 0xa7, 0xa2, 0xc3, 0x92, 0x6c, 0x63, 0x0e, 0xa3, 0x87, 0x99, 0x3d, 0xd7, 0x6f,
|
|
0xa4, 0x0f, 0x33, 0xd7, 0x5c, 0xbf, 0x81, 0x19, 0xa4, 0x8f, 0xdc, 0x9e, 0xd7, 0x61, 0x6c, 0x29,
|
|
0x68, 0xb5, 0x1c, 0xbf, 0x81, 0xde, 0x0d, 0x63, 0x75, 0xfe, 0x53, 0x58, 0xd3, 0xd8, 0xdd, 0xb0,
|
|
0x80, 0x62, 0x09, 0x43, 0x17, 0xa0, 0xe4, 0x84, 0x4d, 0x69, 0x41, 0x63, 0xde, 0x63, 0x8b, 0x61,
|
|
0x33, 0xc2, 0xac, 0xd4, 0xfe, 0x1b, 0x0b, 0xa6, 0x68, 0x15, 0x97, 0xf5, 0x2b, 0xeb, 0xd1, 0xa7,
|
|
0x61, 0xd4, 0xe9, 0xc4, 0xbb, 0x41, 0xd7, 0xd9, 0x6c, 0x91, 0x95, 0x62, 0x01, 0xa5, 0x8d, 0x55,
|
|
0xf9, 0x1e, 0x8c, 0xc6, 0x2e, 0xd3, 0x55, 0xc4, 0x20, 0x54, 0xf3, 0x8d, 0x3a, 0xdb, 0x59, 0x17,
|
|
0x98, 0x35, 0x5e, 0x8c, 0x25, 0x9c, 0x12, 0xdb, 0x0e, 0x1a, 0x07, 0xc2, 0x05, 0x56, 0x11, 0xab,
|
|
0x06, 0x8d, 0x03, 0xcc, 0x20, 0xe8, 0x09, 0x28, 0x46, 0xbb, 0x8e, 0xbc, 0x06, 0x97, 0xbe, 0xda,
|
|
0xb5, 0x2b, 0x8b, 0x98, 0x96, 0xab, 0xa0, 0x82, 0xd0, 0x4b, 0x3b, 0xa5, 0x26, 0x83, 0x0a, 0x42,
|
|
0xcf, 0xfe, 0xc9, 0x12, 0x30, 0x67, 0x16, 0x27, 0x24, 0x8d, 0xad, 0x80, 0xe5, 0xde, 0x7d, 0x10,
|
|
0xf7, 0xca, 0xfa, 0x4c, 0xfb, 0x36, 0xbc, 0x5b, 0x36, 0xae, 0x1e, 0x8b, 0xa7, 0x74, 0xf5, 0x98,
|
|
0x7d, 0x65, 0x5c, 0x7a, 0xeb, 0xaf, 0x8c, 0xed, 0x1f, 0xb7, 0x00, 0x29, 0xb7, 0x23, 0xed, 0x9d,
|
|
0xb1, 0x00, 0x15, 0xe5, 0xe7, 0x24, 0xd6, 0x82, 0x96, 0xba, 0x12, 0x80, 0x35, 0x4e, 0x1f, 0xd6,
|
|
0x8a, 0xa7, 0xe4, 0x06, 0x58, 0x4c, 0xca, 0x09, 0xb6, 0x6d, 0x8a, 0xfd, 0xd0, 0xfe, 0x17, 0x05,
|
|
0x78, 0x84, 0xeb, 0x59, 0xeb, 0x8e, 0xef, 0x34, 0x49, 0x8b, 0xb6, 0xaa, 0x5f, 0xef, 0x9a, 0x57,
|
|
0xe9, 0xc1, 0xd9, 0x95, 0x31, 0x01, 0x03, 0x8a, 0x43, 0x2e, 0x3a, 0xb8, 0xb0, 0x58, 0xf5, 0xdd,
|
|
0x18, 0x33, 0x9a, 0xe8, 0x36, 0x94, 0xe5, 0x9b, 0x41, 0x62, 0x33, 0xcb, 0x47, 0x5f, 0xc9, 0x75,
|
|
0xa1, 0x94, 0x10, 0xac, 0xe8, 0x53, 0xcd, 0xc3, 0x0b, 0xea, 0x7b, 0x74, 0xf1, 0xa6, 0x35, 0x8f,
|
|
0x35, 0x51, 0x8e, 0x15, 0x86, 0xdd, 0x82, 0x69, 0xd9, 0x63, 0xed, 0x6b, 0xe4, 0x00, 0x93, 0x1d,
|
|
0xba, 0x6f, 0xd7, 0x65, 0x91, 0xf1, 0x7a, 0x91, 0xda, 0xb7, 0x97, 0x4c, 0x20, 0x4e, 0xe2, 0xca,
|
|
0x9c, 0xbb, 0x85, 0xec, 0x9c, 0xbb, 0xf6, 0xbf, 0xb1, 0x20, 0xad, 0x38, 0x30, 0x93, 0x96, 0xf9,
|
|
0x14, 0x51, 0xaf, 0xd4, 0xdb, 0x27, 0x48, 0xcc, 0xf9, 0x71, 0x18, 0x77, 0x62, 0xaa, 0x06, 0x72,
|
|
0x8b, 0x4b, 0x71, 0xb0, 0xcb, 0xbf, 0xf5, 0xa0, 0xe1, 0xee, 0xb8, 0xcc, 0xd2, 0x62, 0x92, 0xb3,
|
|
0xff, 0xba, 0x04, 0x95, 0xe5, 0xf0, 0xe0, 0xe4, 0x41, 0x59, 0xdd, 0x21, 0x57, 0x85, 0x13, 0x85,
|
|
0x5c, 0xc9, 0xa0, 0xae, 0x62, 0xcf, 0xa0, 0x2e, 0x19, 0x94, 0x55, 0x3a, 0xdd, 0xa0, 0xac, 0x91,
|
|
0xb7, 0x34, 0x28, 0x6b, 0xf4, 0xad, 0x0b, 0xca, 0x1a, 0x3b, 0x9d, 0xa0, 0x2c, 0xfb, 0xb0, 0x04,
|
|
0x33, 0x5d, 0x01, 0xb1, 0xe8, 0x45, 0x98, 0x50, 0xab, 0x4f, 0xda, 0xc8, 0x2b, 0xa6, 0x83, 0xb6,
|
|
0x86, 0xe1, 0x04, 0x66, 0x1f, 0x02, 0x77, 0x15, 0x1e, 0x0e, 0xc9, 0x6b, 0x1d, 0xd2, 0x21, 0x8b,
|
|
0x3b, 0x31, 0x09, 0x6b, 0xa4, 0x1e, 0xf8, 0x0d, 0x7e, 0x4b, 0x58, 0xac, 0x3e, 0x7a, 0xef, 0x70,
|
|
0xee, 0x61, 0xdc, 0x0d, 0xc6, 0x59, 0x75, 0x50, 0x1b, 0x26, 0x3d, 0xf3, 0xb8, 0x28, 0x66, 0xe7,
|
|
0x40, 0x27, 0x4d, 0x25, 0x85, 0x12, 0xc5, 0x38, 0xc9, 0x20, 0x71, 0xe6, 0x1c, 0x39, 0xdd, 0x33,
|
|
0xe7, 0xeb, 0xea, 0xcc, 0xc9, 0xfd, 0xa8, 0xf0, 0x70, 0x82, 0x9f, 0xfb, 0x39, 0x74, 0xe6, 0x39,
|
|
0x46, 0xbe, 0x02, 0x65, 0xe9, 0x1b, 0xda, 0x97, 0x73, 0xa5, 0x49, 0xa7, 0xc7, 0x6e, 0xfc, 0x85,
|
|
0x12, 0x64, 0x58, 0x45, 0xa8, 0xbc, 0xd4, 0xda, 0x77, 0x42, 0x5e, 0x9e, 0x4c, 0x03, 0x47, 0x01,
|
|
0x77, 0x87, 0xe5, 0x5a, 0xd8, 0xe6, 0x90, 0x8c, 0x39, 0xda, 0x43, 0x56, 0x6d, 0x5e, 0xca, 0x4b,
|
|
0xf6, 0x79, 0x00, 0x7d, 0x5c, 0x13, 0x0a, 0xb7, 0x72, 0xb4, 0xd1, 0xa7, 0x3a, 0x6c, 0x60, 0xb1,
|
|
0x4b, 0x76, 0x3f, 0x8a, 0x1d, 0xcf, 0xbb, 0xe2, 0xfa, 0xb1, 0x50, 0xc2, 0xf5, 0x25, 0xbb, 0x06,
|
|
0x61, 0x13, 0x0f, 0x5d, 0x05, 0xd4, 0xe6, 0xed, 0x32, 0xce, 0xf6, 0x4c, 0xd0, 0x19, 0x66, 0xa2,
|
|
0xcd, 0x2e, 0x0c, 0x9c, 0x51, 0x0b, 0xbd, 0xa2, 0x2e, 0x7a, 0xc6, 0x06, 0x09, 0xbc, 0x82, 0xee,
|
|
0xfb, 0x9c, 0xf3, 0x1f, 0x34, 0x66, 0xcb, 0x49, 0x66, 0xd9, 0x2e, 0x3c, 0xb6, 0xe2, 0xc6, 0x4a,
|
|
0xa6, 0xaa, 0xd9, 0xcd, 0x8e, 0x82, 0x72, 0x77, 0xb3, 0x7a, 0xee, 0x6e, 0x46, 0xfc, 0x64, 0x21,
|
|
0x19, 0xe4, 0x99, 0x8e, 0x9f, 0xb4, 0xeb, 0x70, 0x76, 0xc5, 0x8d, 0x2f, 0xbb, 0x1e, 0x79, 0x80,
|
|
0x4c, 0x7e, 0x7e, 0x14, 0x26, 0xcc, 0xbc, 0x0c, 0x27, 0xd1, 0x05, 0x3e, 0x47, 0x0f, 0x33, 0xa2,
|
|
0x23, 0x5c, 0xe5, 0xc9, 0x70, 0x7d, 0xd0, 0xdc, 0x10, 0xd9, 0x7d, 0x6a, 0x9c, 0x67, 0x34, 0x2b,
|
|
0x6c, 0xf2, 0x45, 0x3e, 0x8c, 0xec, 0xb0, 0x98, 0xc0, 0x62, 0x0e, 0x1f, 0xb4, 0xac, 0xae, 0xd6,
|
|
0x52, 0x81, 0x07, 0x13, 0x72, 0x36, 0x54, 0x3d, 0x0d, 0x93, 0x01, 0xe7, 0x46, 0x0c, 0x87, 0xd0,
|
|
0x7b, 0x14, 0x46, 0xaf, 0x5d, 0x68, 0x64, 0x80, 0x5d, 0xc8, 0xdc, 0x13, 0x46, 0x4f, 0x77, 0x4f,
|
|
0x60, 0xc1, 0x9c, 0xf1, 0x2e, 0x3b, 0x20, 0x89, 0x78, 0xb2, 0x31, 0xf6, 0xe9, 0x46, 0x30, 0x67,
|
|
0x02, 0x8c, 0xd3, 0xf8, 0xa8, 0xa3, 0xb6, 0x95, 0x72, 0x8e, 0x8b, 0x26, 0x73, 0xb2, 0x3e, 0xe8,
|
|
0x1d, 0xe5, 0xc7, 0x0b, 0x30, 0xb5, 0xe2, 0x77, 0x36, 0x57, 0x36, 0x3b, 0xdb, 0x9e, 0x5b, 0xbf,
|
|
0x46, 0x0e, 0xe8, 0xb6, 0xb1, 0x47, 0x0e, 0x56, 0x97, 0xd3, 0xc6, 0x9e, 0x6b, 0xb4, 0x10, 0x73,
|
|
0x18, 0x95, 0x98, 0x3b, 0xae, 0xdf, 0x24, 0x61, 0x3b, 0x74, 0xc5, 0x1d, 0x90, 0x21, 0x31, 0x2f,
|
|
0x6b, 0x10, 0x36, 0xf1, 0x28, 0xed, 0xe0, 0x8e, 0xaf, 0x12, 0x58, 0x29, 0xda, 0x1b, 0xb4, 0x10,
|
|
0x73, 0x18, 0x45, 0x8a, 0xc3, 0x8e, 0x30, 0xc9, 0x1a, 0x48, 0x5b, 0xb4, 0x10, 0x73, 0x98, 0x30,
|
|
0xbe, 0x30, 0xcf, 0xbe, 0x91, 0x2e, 0xe3, 0x0b, 0x73, 0x85, 0x91, 0x70, 0x8a, 0xba, 0x47, 0x0e,
|
|
0x96, 0x9d, 0xd8, 0x49, 0xdb, 0x4e, 0xae, 0xf1, 0x62, 0x2c, 0xe1, 0x2c, 0x89, 0x75, 0xb2, 0x3b,
|
|
0xbe, 0x59, 0x92, 0x58, 0x27, 0x5b, 0xdd, 0xc3, 0xd4, 0xf7, 0xb3, 0x05, 0x98, 0x78, 0xe7, 0x81,
|
|
0xd9, 0xcc, 0xb7, 0x8e, 0x6e, 0xc1, 0x4c, 0x57, 0xc8, 0x78, 0x1f, 0x3a, 0xd6, 0xb1, 0x19, 0x3c,
|
|
0x6c, 0x0c, 0xe3, 0x94, 0xb0, 0x4c, 0x20, 0xb9, 0x04, 0x33, 0x7c, 0xd5, 0x52, 0x4e, 0x2c, 0x02,
|
|
0x58, 0x05, 0xfd, 0xb3, 0xdb, 0xcd, 0x9b, 0x69, 0x20, 0xee, 0xc6, 0xb7, 0x7f, 0xc2, 0x82, 0xc9,
|
|
0x44, 0xf0, 0xfe, 0x90, 0xb4, 0x41, 0xb6, 0xac, 0x03, 0xe6, 0x5f, 0xce, 0x82, 0x72, 0x52, 0xde,
|
|
0x86, 0x97, 0x35, 0x08, 0x9b, 0x78, 0xf6, 0x57, 0x8b, 0x50, 0x96, 0x0e, 0x73, 0x7d, 0x34, 0xe5,
|
|
0x87, 0x2c, 0x98, 0x54, 0x37, 0xca, 0x4c, 0x67, 0x2a, 0xe4, 0x08, 0x37, 0xa4, 0x8c, 0x95, 0xa9,
|
|
0xcc, 0xdf, 0x09, 0xf4, 0xe9, 0x03, 0x9b, 0x3c, 0x70, 0x92, 0x25, 0xba, 0x09, 0x10, 0x1d, 0x44,
|
|
0x31, 0x69, 0x19, 0x97, 0x17, 0xb6, 0x31, 0xb9, 0xe6, 0xeb, 0x41, 0x48, 0xe8, 0x54, 0xba, 0x1e,
|
|
0x34, 0x48, 0x4d, 0x61, 0x6a, 0x5d, 0x52, 0x97, 0x61, 0x83, 0x12, 0x7a, 0x4d, 0x39, 0x39, 0x94,
|
|
0x72, 0xec, 0xd5, 0xb2, 0x37, 0xfb, 0xf1, 0x72, 0xc8, 0xe1, 0x5e, 0x60, 0x7f, 0xa5, 0x00, 0x67,
|
|
0xd2, 0x1d, 0x88, 0x3e, 0x06, 0x13, 0xb2, 0xaf, 0x0c, 0xd3, 0x92, 0xf4, 0x49, 0x9c, 0xc0, 0x06,
|
|
0xec, 0xfe, 0xe1, 0xdc, 0x5c, 0xf7, 0xcb, 0xe4, 0xf3, 0x26, 0x0a, 0x4e, 0x10, 0xe3, 0xbe, 0x07,
|
|
0xc2, 0x13, 0xa6, 0x7a, 0xb0, 0xd8, 0x6e, 0x0b, 0x07, 0x02, 0xc3, 0xf7, 0xc0, 0x84, 0xe2, 0x14,
|
|
0x36, 0xda, 0x84, 0xb3, 0x46, 0xc9, 0x75, 0xe2, 0x36, 0x77, 0xb7, 0x83, 0x50, 0x9e, 0x79, 0x2f,
|
|
0x68, 0xa7, 0xe8, 0x6e, 0x1c, 0x9c, 0x59, 0x93, 0x2a, 0x3b, 0x75, 0xa7, 0xed, 0xd4, 0xdd, 0xf8,
|
|
0x40, 0x5c, 0x22, 0x29, 0x69, 0xbd, 0x24, 0xca, 0xb1, 0xc2, 0xb0, 0x7f, 0xae, 0x04, 0x67, 0xb8,
|
|
0x3b, 0x30, 0x51, 0xbe, 0xed, 0xe8, 0x63, 0x50, 0x89, 0x62, 0x27, 0xe4, 0x86, 0x2c, 0xeb, 0xc4,
|
|
0x82, 0x4a, 0x27, 0x1a, 0x90, 0x44, 0xb0, 0xa6, 0x87, 0x5e, 0x65, 0x99, 0xe3, 0xdc, 0x68, 0x97,
|
|
0x51, 0x2f, 0x0c, 0x66, 0x26, 0xbb, 0xac, 0x28, 0x60, 0x83, 0x1a, 0xfa, 0x1e, 0x18, 0x69, 0xef,
|
|
0x3a, 0x91, 0xb4, 0xd8, 0x3e, 0x2d, 0xa5, 0xc2, 0x26, 0x2d, 0xbc, 0x7f, 0x38, 0x77, 0x2e, 0xfd,
|
|
0xa9, 0x0c, 0x80, 0x79, 0x25, 0x53, 0xa6, 0x97, 0x8e, 0x91, 0xe9, 0x4f, 0xc3, 0x68, 0x23, 0x3c,
|
|
0xa8, 0x5d, 0x59, 0x4c, 0x3f, 0x64, 0xb3, 0xcc, 0x4a, 0xb1, 0x80, 0x52, 0x09, 0xb4, 0xcb, 0x59,
|
|
0x36, 0x28, 0xf2, 0x68, 0x52, 0xb1, 0xb8, 0xa2, 0x41, 0xd8, 0xc4, 0x63, 0x09, 0xa1, 0x52, 0x3e,
|
|
0xe2, 0x63, 0xc3, 0x8b, 0xfc, 0xe9, 0xd7, 0x3b, 0xfc, 0x12, 0x54, 0x44, 0x0b, 0xb7, 0x02, 0xf4,
|
|
0x22, 0x4c, 0x70, 0xcb, 0x60, 0x35, 0x74, 0xfc, 0xfa, 0x6e, 0xda, 0xee, 0xb3, 0x65, 0xc0, 0x70,
|
|
0x02, 0xd3, 0x5e, 0x87, 0x52, 0x9f, 0x92, 0xb4, 0xaf, 0x23, 0xfe, 0x2b, 0x50, 0xa6, 0xe4, 0xe4,
|
|
0xc9, 0x6a, 0x18, 0x24, 0x03, 0x28, 0xcb, 0x27, 0x2c, 0x91, 0x0d, 0x45, 0xd7, 0x91, 0x1e, 0x44,
|
|
0x6a, 0xe5, 0xac, 0x46, 0x51, 0x87, 0xcd, 0x36, 0x0a, 0x44, 0x4f, 0x41, 0x91, 0xdc, 0x6d, 0xa7,
|
|
0x5d, 0x85, 0x2e, 0xdd, 0x6d, 0xbb, 0x21, 0x89, 0x28, 0x12, 0xb9, 0xdb, 0x46, 0xe7, 0xa1, 0xe0,
|
|
0x36, 0xc4, 0x44, 0x04, 0x81, 0x53, 0x58, 0x5d, 0xc6, 0x05, 0xb7, 0x61, 0x07, 0x50, 0x51, 0x6f,
|
|
0x66, 0xa2, 0x6d, 0xa9, 0x30, 0x59, 0x39, 0x1c, 0xbc, 0x25, 0xb9, 0x1e, 0xaa, 0x52, 0x07, 0x40,
|
|
0xe7, 0xad, 0x18, 0xd6, 0xf6, 0x7a, 0x11, 0x4a, 0xf5, 0x40, 0xe4, 0x15, 0x2a, 0x6b, 0x32, 0x4c,
|
|
0x4f, 0x62, 0x10, 0xfb, 0x16, 0x4c, 0x5d, 0xf3, 0x83, 0x3b, 0xec, 0xa9, 0x2b, 0x96, 0xb7, 0x9a,
|
|
0x12, 0xde, 0xa1, 0x3f, 0xd2, 0xea, 0x38, 0x83, 0x62, 0x0e, 0x53, 0xa9, 0x6c, 0x0b, 0xbd, 0x52,
|
|
0xd9, 0xda, 0x6f, 0x58, 0x30, 0xa1, 0x8c, 0xb4, 0x2b, 0xfb, 0x7b, 0xfd, 0xdd, 0xe9, 0x1a, 0x29,
|
|
0x22, 0x0a, 0xc7, 0xa4, 0x88, 0x90, 0xd7, 0xbf, 0xc5, 0x5e, 0xd7, 0xbf, 0xf6, 0xff, 0xb2, 0xe0,
|
|
0x8c, 0x6a, 0x82, 0xd4, 0x87, 0x5e, 0x84, 0x89, 0xed, 0x8e, 0xeb, 0x35, 0x64, 0x42, 0xee, 0xd4,
|
|
0x2a, 0xa9, 0x1a, 0x30, 0x9c, 0xc0, 0x44, 0xcf, 0x03, 0x6c, 0xbb, 0xbe, 0x13, 0x1e, 0x6c, 0x6a,
|
|
0x05, 0x4c, 0x6d, 0xce, 0x55, 0x05, 0xc1, 0x06, 0x16, 0x8a, 0xa0, 0xbc, 0x2f, 0x2f, 0xfb, 0x8b,
|
|
0xc3, 0x48, 0x71, 0x20, 0xba, 0x41, 0xcf, 0x7b, 0xe5, 0x34, 0xa0, 0x18, 0xd9, 0x7f, 0x5b, 0x80,
|
|
0xa9, 0x64, 0x7e, 0x82, 0x3e, 0x0c, 0x1c, 0x4f, 0xc1, 0x08, 0x4b, 0x59, 0x90, 0x9e, 0x4f, 0x3c,
|
|
0x83, 0x36, 0x87, 0xa1, 0xdb, 0x30, 0xca, 0x05, 0x47, 0xae, 0x77, 0x55, 0x55, 0xdb, 0x94, 0xfd,
|
|
0x96, 0x59, 0x93, 0xc4, 0x35, 0x87, 0xe0, 0x80, 0x3e, 0x05, 0x63, 0x41, 0xdb, 0x4c, 0xaa, 0xba,
|
|
0x39, 0x84, 0x44, 0x0d, 0x22, 0x62, 0x5a, 0xe8, 0x37, 0x6a, 0x72, 0xc9, 0x01, 0x97, 0x1c, 0xcf,
|
|
0x7f, 0x37, 0x4c, 0x98, 0x98, 0xc7, 0xa9, 0x38, 0x65, 0x53, 0xc5, 0xf9, 0x07, 0xe6, 0xb4, 0x13,
|
|
0x19, 0x28, 0xfa, 0x58, 0xd0, 0x37, 0x60, 0xa4, 0xae, 0xfc, 0x1b, 0x07, 0x7a, 0xf0, 0x41, 0xe5,
|
|
0x64, 0x63, 0xde, 0x27, 0x9c, 0x9a, 0xfd, 0xfb, 0x96, 0x31, 0x19, 0x30, 0x89, 0x56, 0x1b, 0xc8,
|
|
0x85, 0x62, 0x73, 0x7f, 0x4f, 0xa8, 0x0d, 0x8b, 0xf9, 0x7a, 0x75, 0x65, 0x7f, 0x4f, 0x2f, 0x1e,
|
|
0xb3, 0x14, 0x53, 0x1e, 0x7d, 0xdc, 0x28, 0x24, 0xd2, 0x92, 0x14, 0x8f, 0x4f, 0x4b, 0x62, 0xbf,
|
|
0x59, 0x80, 0x99, 0xae, 0x19, 0x84, 0x5e, 0x83, 0x91, 0x90, 0x7e, 0x9c, 0xf8, 0xaa, 0xa5, 0xbc,
|
|
0x89, 0x44, 0xa2, 0xd5, 0x86, 0xde, 0x85, 0x93, 0xe5, 0x98, 0x73, 0x42, 0x57, 0x01, 0x69, 0x9f,
|
|
0x5b, 0x75, 0x8b, 0xc1, 0xbf, 0x54, 0x59, 0x63, 0x17, 0xbb, 0x30, 0x70, 0x46, 0x2d, 0xf4, 0x52,
|
|
0xfa, 0x32, 0x24, 0x95, 0x70, 0xfb, 0xa8, 0x7b, 0x0d, 0xfb, 0x0b, 0xe6, 0x84, 0xbb, 0xa9, 0xc5,
|
|
0x63, 0xde, 0xa3, 0x64, 0x97, 0xac, 0x2c, 0xf6, 0x2b, 0x2b, 0xed, 0x5f, 0x2f, 0xc0, 0x64, 0x22,
|
|
0xdb, 0x2e, 0xf2, 0xa0, 0x4c, 0x3c, 0x76, 0xf7, 0x2e, 0xb7, 0xd1, 0xbc, 0xef, 0xef, 0x28, 0x11,
|
|
0x78, 0x49, 0xd0, 0xc5, 0x8a, 0xc3, 0x5b, 0xe9, 0x5e, 0xf8, 0x22, 0x4c, 0xc8, 0x66, 0x7c, 0xd4,
|
|
0x69, 0x79, 0xe9, 0x4e, 0xbb, 0x64, 0xc0, 0x70, 0x02, 0xd3, 0xfe, 0xb5, 0x22, 0xcc, 0x72, 0x17,
|
|
0x85, 0x86, 0x9a, 0xf9, 0xca, 0x8d, 0xe8, 0x07, 0x75, 0xba, 0x6b, 0x2b, 0xc7, 0xc3, 0xf0, 0xbd,
|
|
0xe8, 0xf7, 0xe5, 0xdd, 0xfe, 0x33, 0x29, 0xef, 0x76, 0x7e, 0x8a, 0xfe, 0xfe, 0xe1, 0x36, 0xe4,
|
|
0x9b, 0xcb, 0xdd, 0xfd, 0x67, 0x0a, 0x30, 0x9d, 0x7a, 0xdc, 0x0f, 0xfd, 0x48, 0xf2, 0xf5, 0x19,
|
|
0x2b, 0xc7, 0x8d, 0xdf, 0x91, 0x2f, 0xc0, 0x9d, 0xe8, 0x0d, 0x9a, 0xd3, 0x5d, 0x05, 0xf6, 0xef,
|
|
0x14, 0x60, 0x2a, 0xf9, 0x16, 0xe1, 0xdb, 0xa7, 0x5b, 0xde, 0x0b, 0x15, 0xf6, 0x5e, 0xd7, 0x35,
|
|
0x72, 0x20, 0x6f, 0x11, 0xf9, 0x63, 0x49, 0xb2, 0x10, 0x6b, 0xf8, 0x5b, 0xf8, 0x8e, 0x8f, 0xfd,
|
|
0x8f, 0x2d, 0x38, 0xc7, 0xbf, 0x2d, 0x3d, 0xc3, 0x7e, 0x34, 0xab, 0x2b, 0xb7, 0x86, 0xd2, 0xae,
|
|
0x54, 0xde, 0xf5, 0xe3, 0x3a, 0x93, 0xea, 0x17, 0x67, 0x45, 0x23, 0x93, 0xc3, 0xfd, 0xf6, 0x69,
|
|
0xe3, 0x89, 0x06, 0xdc, 0xfe, 0xa3, 0x02, 0x8c, 0x6f, 0x2c, 0xad, 0x2a, 0xc1, 0xbb, 0x00, 0x95,
|
|
0x7a, 0x48, 0x1c, 0x6d, 0x6a, 0x31, 0xdd, 0xd6, 0x24, 0x00, 0x6b, 0x1c, 0x7a, 0x86, 0xe1, 0x2e,
|
|
0x9d, 0x51, 0xfa, 0x0c, 0xc3, 0x3d, 0x3e, 0x23, 0x2c, 0xe1, 0xe8, 0x59, 0x28, 0xb3, 0xb0, 0xeb,
|
|
0x1b, 0xa1, 0xdc, 0x27, 0xf4, 0x79, 0x96, 0x95, 0xe3, 0x35, 0xac, 0x30, 0x28, 0xe1, 0x46, 0x50,
|
|
0x8f, 0x28, 0x72, 0xca, 0xfa, 0xb1, 0x4c, 0x8b, 0xf1, 0x1a, 0x96, 0x70, 0x96, 0x5c, 0x92, 0x99,
|
|
0x0a, 0x28, 0xf2, 0x48, 0xb2, 0xd1, 0xdc, 0xa6, 0x40, 0xd1, 0x35, 0xce, 0x49, 0x92, 0x90, 0xa6,
|
|
0x82, 0x20, 0xc7, 0xfa, 0x0b, 0x82, 0xb4, 0xbf, 0x52, 0x84, 0x8a, 0x36, 0x60, 0x7d, 0x52, 0xe4,
|
|
0x0a, 0xc9, 0x93, 0xce, 0xbf, 0x76, 0xe0, 0xd7, 0x15, 0x45, 0xee, 0x08, 0x60, 0xa4, 0x0a, 0xf9,
|
|
0x2c, 0x8c, 0xbb, 0xbe, 0x1b, 0xbb, 0x0e, 0xb3, 0xbe, 0xe5, 0x7a, 0x93, 0x5c, 0x31, 0x59, 0xe5,
|
|
0x04, 0x83, 0xd0, 0xbc, 0xac, 0x57, 0x3c, 0xb0, 0xc9, 0x10, 0xdd, 0x12, 0x21, 0x77, 0xc5, 0xbc,
|
|
0x89, 0x73, 0xca, 0xa9, 0x38, 0xbb, 0x26, 0x55, 0x75, 0xe3, 0x30, 0x5f, 0xe6, 0x28, 0x4c, 0x29,
|
|
0xa8, 0xd7, 0x60, 0xd4, 0xd1, 0x81, 0x15, 0x63, 0x4e, 0xdf, 0x8e, 0x00, 0x75, 0x7f, 0xf9, 0x09,
|
|
0xe3, 0x9a, 0x16, 0xa0, 0xe2, 0x74, 0xe2, 0xa0, 0x45, 0x3b, 0x45, 0xdc, 0x9c, 0xeb, 0xc8, 0x2d,
|
|
0x09, 0xc0, 0x1a, 0xc7, 0xfe, 0xbf, 0x25, 0x48, 0xe5, 0xf0, 0x40, 0x01, 0x54, 0x54, 0x16, 0x8f,
|
|
0x5c, 0x11, 0xbf, 0x7a, 0xb2, 0xa8, 0x36, 0xa8, 0x22, 0xac, 0x79, 0x20, 0x57, 0x1a, 0x29, 0xf9,
|
|
0xfa, 0xad, 0xa5, 0x8d, 0x94, 0xd5, 0x7e, 0xef, 0xa8, 0xe8, 0x44, 0x5c, 0xe0, 0x09, 0x10, 0xe7,
|
|
0x8f, 0xb5, 0x68, 0x1e, 0xf7, 0x0a, 0xfb, 0x5d, 0x9e, 0x94, 0x0a, 0x93, 0xa8, 0xe3, 0xc5, 0x62,
|
|
0xf0, 0xaf, 0xe4, 0x5f, 0x38, 0x9c, 0x9e, 0xce, 0x4e, 0xc5, 0xff, 0x63, 0x83, 0x57, 0xd2, 0xda,
|
|
0x3c, 0xfa, 0x40, 0xad, 0xcd, 0x63, 0x43, 0xb5, 0x36, 0x3f, 0x0f, 0xc0, 0xa6, 0x32, 0x0f, 0xd8,
|
|
0x28, 0x33, 0x6b, 0xa0, 0xda, 0x2c, 0xb0, 0x82, 0x60, 0x03, 0xcb, 0xfe, 0x0e, 0x48, 0xe6, 0x50,
|
|
0x43, 0x73, 0x32, 0x53, 0x1b, 0xbf, 0x35, 0x63, 0x71, 0xad, 0x89, 0xec, 0x6a, 0x5f, 0xb1, 0xc0,
|
|
0xcc, 0xef, 0x86, 0x76, 0x79, 0xfe, 0x38, 0x2b, 0xc7, 0x75, 0x8c, 0x41, 0x6e, 0x7e, 0xdd, 0x69,
|
|
0xa7, 0x7c, 0x8f, 0x64, 0x12, 0xb9, 0xf3, 0x1f, 0x84, 0xb2, 0x84, 0x9e, 0x48, 0x6b, 0xfd, 0x2c,
|
|
0x3c, 0x2c, 0x33, 0x5a, 0xc8, 0x9b, 0x13, 0x71, 0x13, 0x7f, 0x3a, 0x61, 0x17, 0xbf, 0x6e, 0xc1,
|
|
0xc5, 0x74, 0x03, 0xa2, 0xf5, 0xc0, 0x77, 0xe3, 0x20, 0xac, 0x91, 0x38, 0x76, 0xfd, 0x26, 0xcb,
|
|
0xd3, 0x7b, 0xc7, 0x09, 0xe5, 0x9b, 0x50, 0x4c, 0x0a, 0xde, 0x72, 0x42, 0x1f, 0xb3, 0x52, 0xd4,
|
|
0x86, 0x51, 0xee, 0x79, 0x2e, 0x4e, 0x21, 0x83, 0xad, 0x84, 0x8c, 0x5e, 0xd0, 0xa7, 0x1f, 0xee,
|
|
0xec, 0x8e, 0x05, 0x1f, 0xfb, 0xcf, 0x2d, 0x40, 0x1b, 0xfb, 0x24, 0x0c, 0xdd, 0x86, 0xe1, 0x22,
|
|
0xcf, 0x5e, 0x37, 0x35, 0x5e, 0x31, 0x35, 0x53, 0xb1, 0xa4, 0x5e, 0x37, 0x35, 0xfe, 0x65, 0xbf,
|
|
0x6e, 0x5a, 0x38, 0xd9, 0xeb, 0xa6, 0x68, 0x03, 0xce, 0xb5, 0xf8, 0x31, 0x8a, 0x3f, 0x39, 0xc8,
|
|
0xcf, 0x54, 0x2a, 0x7f, 0xc0, 0x63, 0xf7, 0x0e, 0xe7, 0xce, 0xad, 0x67, 0x21, 0xe0, 0xec, 0x7a,
|
|
0xf6, 0x07, 0x01, 0x71, 0x17, 0xd3, 0xa5, 0x2c, 0xb7, 0xd0, 0x9e, 0xa6, 0x04, 0xfb, 0x7f, 0x97,
|
|
0x60, 0x3a, 0xf5, 0x1a, 0x09, 0x3d, 0xb0, 0x76, 0xfb, 0xa1, 0x0e, 0xba, 0x03, 0x77, 0xb7, 0xaa,
|
|
0x2f, 0x87, 0x56, 0x02, 0x23, 0xae, 0xdf, 0xee, 0xc4, 0xb9, 0x32, 0x92, 0x70, 0xde, 0xab, 0x94,
|
|
0x8e, 0x61, 0xbb, 0xa7, 0x7f, 0x31, 0xa7, 0x3e, 0x4c, 0xaf, 0x58, 0xf3, 0xb8, 0x51, 0x3a, 0x5d,
|
|
0xc3, 0xc5, 0x5d, 0xe5, 0x4c, 0x34, 0x92, 0xc3, 0xde, 0x9a, 0x9a, 0x06, 0x0f, 0xda, 0x9f, 0xe8,
|
|
0x57, 0x0b, 0x30, 0x6e, 0x0c, 0x10, 0xfa, 0xd9, 0x64, 0xce, 0x52, 0x2b, 0xf7, 0x97, 0x30, 0xb2,
|
|
0xf3, 0x3a, 0x2b, 0x29, 0xff, 0x92, 0xa7, 0xbb, 0xd3, 0x95, 0xde, 0x3f, 0x9c, 0x3b, 0x93, 0x4a,
|
|
0x48, 0x9a, 0x48, 0x61, 0x7a, 0xfe, 0x33, 0x30, 0x9d, 0x22, 0x93, 0xf1, 0xa5, 0x5b, 0xe6, 0x97,
|
|
0xe6, 0xb6, 0x91, 0x99, 0x3d, 0xf5, 0x65, 0xda, 0x53, 0x22, 0x43, 0x42, 0xe0, 0x91, 0x3e, 0x0c,
|
|
0x84, 0x29, 0x45, 0xbf, 0xd0, 0x67, 0xb6, 0x93, 0x67, 0xa0, 0xdc, 0x0e, 0x3c, 0xb7, 0xee, 0xaa,
|
|
0xe4, 0xe5, 0x2c, 0xbf, 0xca, 0xa6, 0x28, 0xc3, 0x0a, 0x8a, 0x7c, 0xa8, 0xdc, 0xbe, 0x13, 0xf3,
|
|
0x4b, 0x36, 0x61, 0xe4, 0xcf, 0x79, 0xb7, 0xa6, 0x54, 0x0d, 0x75, 0x79, 0x87, 0x35, 0x0b, 0x64,
|
|
0xc3, 0x28, 0xdb, 0xc3, 0x64, 0xe0, 0x25, 0xbb, 0x76, 0x60, 0x9b, 0x5b, 0x84, 0x05, 0xc4, 0xfe,
|
|
0x3f, 0x00, 0x67, 0xb3, 0x5e, 0x74, 0x42, 0x11, 0x8c, 0xf2, 0xa6, 0xe5, 0x7a, 0xd8, 0x2f, 0x8b,
|
|
0xf4, 0x0a, 0xa3, 0x23, 0x5a, 0xc3, 0x7e, 0x63, 0xc1, 0x4a, 0x30, 0xf5, 0x9c, 0x6d, 0x31, 0x1f,
|
|
0x86, 0xca, 0x74, 0xcd, 0xd1, 0x4c, 0xd7, 0x1c, 0xce, 0xd4, 0x73, 0xb6, 0x51, 0x00, 0x23, 0x4d,
|
|
0x37, 0x26, 0x8e, 0xb0, 0x77, 0x5c, 0x1f, 0x26, 0x4f, 0xe2, 0x70, 0x05, 0x8a, 0xfd, 0xc4, 0x9c,
|
|
0x0f, 0xfa, 0x92, 0x05, 0xd3, 0xdb, 0xc9, 0x3c, 0x49, 0x42, 0xf8, 0x7d, 0xef, 0xf0, 0x5e, 0xe4,
|
|
0x4a, 0xd2, 0xe7, 0x6f, 0xf8, 0xa6, 0x0a, 0x71, 0xba, 0x15, 0xe8, 0x75, 0x18, 0xdb, 0x71, 0x3d,
|
|
0xe3, 0x71, 0x90, 0xe1, 0x0d, 0xc0, 0x65, 0x46, 0x57, 0xeb, 0xfb, 0xfc, 0x7f, 0x84, 0x25, 0xc3,
|
|
0x5e, 0xbb, 0xca, 0x68, 0xce, 0x5d, 0x65, 0xec, 0x74, 0x77, 0x95, 0x1f, 0x80, 0x8a, 0xea, 0x54,
|
|
0x91, 0x7e, 0x06, 0x0f, 0x7f, 0x50, 0xb9, 0x3d, 0x47, 0xfd, 0xc5, 0x9a, 0x27, 0xfa, 0xbc, 0x05,
|
|
0xe3, 0xce, 0xeb, 0x9d, 0x90, 0x34, 0xc8, 0x7e, 0xd0, 0x8e, 0x44, 0x82, 0xd6, 0xad, 0xa1, 0xb5,
|
|
0x61, 0x91, 0xd2, 0x5e, 0x26, 0xfb, 0x1b, 0xed, 0x48, 0x44, 0x72, 0xeb, 0x02, 0x6c, 0x72, 0x46,
|
|
0x9f, 0x51, 0x1b, 0x2c, 0xe4, 0x48, 0xa5, 0x9d, 0xd5, 0x86, 0xbe, 0x92, 0x0f, 0x10, 0x78, 0xbc,
|
|
0x1e, 0xf8, 0xb1, 0xeb, 0x77, 0xc8, 0x86, 0x8f, 0x49, 0x3b, 0xb8, 0x1e, 0xc4, 0x97, 0x83, 0x8e,
|
|
0xdf, 0xb8, 0x14, 0x86, 0x41, 0xc8, 0x92, 0xe9, 0x18, 0x4f, 0xaf, 0x2e, 0xf5, 0x46, 0xc5, 0x47,
|
|
0xd1, 0xc9, 0xb3, 0x99, 0xff, 0x51, 0x01, 0xe6, 0x8e, 0xe9, 0x62, 0xf4, 0x22, 0x4c, 0x04, 0x61,
|
|
0xd3, 0xf1, 0xdd, 0xd7, 0xcd, 0x4c, 0x6f, 0x4a, 0x19, 0xdc, 0x30, 0x60, 0x38, 0x81, 0x69, 0x26,
|
|
0x0e, 0x2a, 0x1c, 0x93, 0x38, 0xe8, 0x22, 0x94, 0x42, 0xd2, 0x0e, 0xd2, 0x27, 0x18, 0x16, 0x25,
|
|
0xc9, 0x20, 0xe8, 0x09, 0x28, 0x3a, 0x6d, 0x57, 0xd8, 0xe1, 0xd4, 0xc1, 0x6c, 0x71, 0x73, 0x15,
|
|
0xd3, 0xf2, 0x44, 0x8e, 0xb2, 0x91, 0x07, 0x99, 0xa3, 0x8c, 0xee, 0x69, 0xe2, 0x5a, 0x68, 0x54,
|
|
0xef, 0x69, 0xc9, 0x7b, 0x1b, 0xfb, 0x73, 0x45, 0x78, 0xe2, 0xc8, 0xe5, 0xa3, 0xfd, 0xa4, 0xad,
|
|
0x23, 0xfc, 0xa4, 0x65, 0xaf, 0x14, 0x8e, 0xeb, 0x95, 0x62, 0x8f, 0x5e, 0x79, 0x1d, 0x2a, 0xdb,
|
|
0x32, 0x2f, 0x5e, 0xae, 0x77, 0xe9, 0x7b, 0x65, 0xd7, 0x13, 0x62, 0x40, 0x42, 0xb1, 0x66, 0x47,
|
|
0x8f, 0x23, 0x89, 0x9c, 0x39, 0x23, 0x39, 0xf6, 0xb6, 0x9e, 0xb9, 0xe9, 0xb8, 0x00, 0xe8, 0x95,
|
|
0x7f, 0xc7, 0xfe, 0xe5, 0x12, 0x3c, 0xd5, 0xc7, 0xde, 0x64, 0xce, 0x54, 0xab, 0xcf, 0x99, 0xfa,
|
|
0x4d, 0x39, 0x26, 0x9f, 0xce, 0x1a, 0x92, 0xd5, 0xa1, 0x0d, 0xc9, 0xd1, 0xa3, 0xc1, 0x8c, 0xef,
|
|
0x7e, 0x44, 0xea, 0x9d, 0x90, 0x88, 0x18, 0x2a, 0x6d, 0x7c, 0x17, 0xe5, 0x58, 0x61, 0xd0, 0xa3,
|
|
0x64, 0xdd, 0xa1, 0xcb, 0x79, 0x2c, 0x5f, 0xda, 0x14, 0x33, 0xa8, 0x9a, 0xab, 0x42, 0x4b, 0x8b,
|
|
0x74, 0x45, 0x73, 0xea, 0xf6, 0xef, 0x5a, 0x70, 0xbe, 0xb7, 0xb6, 0x80, 0x9e, 0x83, 0xf1, 0x6d,
|
|
0xe6, 0xb3, 0xb7, 0xce, 0x7c, 0x75, 0xc4, 0xec, 0x60, 0x9f, 0xa9, 0x8b, 0xb1, 0x89, 0x83, 0x96,
|
|
0x60, 0xc6, 0x74, 0xf6, 0x5b, 0x37, 0x9c, 0x7c, 0x98, 0xa5, 0x61, 0x2b, 0x0d, 0xc4, 0xdd, 0xf8,
|
|
0x68, 0x1e, 0x20, 0x76, 0x63, 0x8f, 0xf0, 0xda, 0x7c, 0x2e, 0x31, 0xc3, 0xdb, 0x96, 0x2a, 0xc5,
|
|
0x06, 0x86, 0xfd, 0x07, 0xc5, 0xec, 0xcf, 0xe0, 0x9a, 0xe6, 0x49, 0x26, 0xb8, 0x98, 0xbe, 0x85,
|
|
0x3e, 0x04, 0x6d, 0xf1, 0x94, 0x04, 0x6d, 0xa9, 0x97, 0xa0, 0x45, 0xcb, 0x70, 0xc6, 0x78, 0xe6,
|
|
0x95, 0xa7, 0xd9, 0xe1, 0xb7, 0x2f, 0x2a, 0xc3, 0xdd, 0x66, 0x0a, 0x8e, 0xbb, 0x6a, 0xbc, 0x3d,
|
|
0x27, 0xe6, 0x6f, 0x17, 0xe0, 0xb1, 0x9e, 0x3a, 0xfd, 0x29, 0xed, 0x1f, 0xe6, 0x60, 0x97, 0x1e,
|
|
0xe8, 0x60, 0x9b, 0x43, 0x30, 0x72, 0xec, 0x10, 0xf4, 0xb3, 0x07, 0xff, 0xbb, 0x42, 0xcf, 0x15,
|
|
0x41, 0x0f, 0x7a, 0xdf, 0x6a, 0x1d, 0xf8, 0x12, 0x4c, 0x3a, 0xed, 0x36, 0xc7, 0x63, 0x3e, 0xfd,
|
|
0xa9, 0x8c, 0x9a, 0x8b, 0x26, 0x10, 0x27, 0x71, 0xfb, 0xea, 0xcf, 0xff, 0x60, 0x41, 0x05, 0x93,
|
|
0x1d, 0x2e, 0xbd, 0x90, 0x23, 0x7a, 0xc6, 0xca, 0xf1, 0xf4, 0x00, 0xed, 0xc6, 0xc8, 0x65, 0x41,
|
|
0xfe, 0x59, 0x5d, 0x9b, 0x37, 0x4d, 0x83, 0x7a, 0x41, 0xb5, 0xd8, 0xfb, 0x05, 0x55, 0xfb, 0x6f,
|
|
0x27, 0xe8, 0x57, 0xb5, 0x83, 0xa5, 0x90, 0x34, 0x22, 0x3a, 0x9a, 0x9d, 0xd0, 0x13, 0x53, 0x42,
|
|
0x8d, 0xe6, 0x0d, 0xbc, 0x86, 0x69, 0x79, 0xe2, 0x26, 0xae, 0x70, 0xa2, 0x0c, 0x83, 0xc5, 0x63,
|
|
0x33, 0x0c, 0xbe, 0x04, 0x93, 0x51, 0xb4, 0xbb, 0x19, 0xba, 0xfb, 0x4e, 0x4c, 0xae, 0x11, 0x99,
|
|
0x49, 0x48, 0xa7, 0xe9, 0xaa, 0x5d, 0xd1, 0x40, 0x9c, 0xc4, 0x45, 0x2b, 0x30, 0xa3, 0x13, 0xfe,
|
|
0x91, 0x30, 0x66, 0xa1, 0x70, 0x7c, 0x02, 0xa8, 0x4c, 0x32, 0x3a, 0x45, 0xa0, 0x40, 0xc0, 0xdd,
|
|
0x75, 0xa8, 0x3c, 0x4d, 0x14, 0xd2, 0x86, 0x8c, 0x26, 0xe5, 0x69, 0x82, 0x0e, 0x6d, 0x4b, 0x57,
|
|
0x0d, 0xb4, 0x0e, 0x0f, 0xf3, 0xf9, 0xb0, 0xd8, 0x6e, 0x1b, 0x5f, 0x34, 0x96, 0x4c, 0x0f, 0xbf,
|
|
0xd2, 0x8d, 0x82, 0xb3, 0xea, 0xa1, 0x17, 0x60, 0x5c, 0x15, 0xaf, 0x2e, 0x8b, 0x5b, 0x25, 0x65,
|
|
0x16, 0x53, 0x64, 0x56, 0x1b, 0xd8, 0xc4, 0x43, 0x1f, 0x85, 0x47, 0xf5, 0x5f, 0x1e, 0xd4, 0xcd,
|
|
0x6f, 0x56, 0x97, 0x45, 0xc2, 0x54, 0xf5, 0xb0, 0xd7, 0x4a, 0x26, 0x5a, 0x03, 0xf7, 0xaa, 0x8f,
|
|
0xb6, 0xe1, 0xbc, 0x02, 0x5d, 0xf2, 0x63, 0x16, 0xfc, 0x18, 0x91, 0xaa, 0x13, 0xb1, 0xeb, 0x7f,
|
|
0x60, 0xdf, 0x69, 0x0b, 0xea, 0xe7, 0x57, 0xdc, 0xf8, 0x4a, 0x16, 0x26, 0x5e, 0xc3, 0x47, 0x50,
|
|
0x41, 0x0b, 0x50, 0x21, 0xbe, 0xb3, 0xed, 0x91, 0x8d, 0xa5, 0x55, 0x71, 0x56, 0xd4, 0x7e, 0xf5,
|
|
0x12, 0x80, 0x35, 0x8e, 0x72, 0x11, 0x9f, 0xe8, 0xe5, 0x22, 0x8e, 0x36, 0xe1, 0x6c, 0xb3, 0xde,
|
|
0xa6, 0x5a, 0xa2, 0x5b, 0x27, 0x8b, 0x75, 0xe6, 0xaf, 0x4a, 0x07, 0x86, 0xe7, 0xed, 0x57, 0x91,
|
|
0x35, 0x2b, 0x4b, 0x9b, 0x5d, 0x38, 0x38, 0xb3, 0x26, 0x73, 0x62, 0x0e, 0x83, 0xbb, 0x07, 0xb3,
|
|
0x0f, 0xa7, 0x9c, 0x98, 0x69, 0x21, 0xe6, 0x30, 0x74, 0x15, 0x10, 0x8b, 0x25, 0xbb, 0x12, 0xc7,
|
|
0x6d, 0xa5, 0x96, 0xce, 0x9e, 0x4d, 0x46, 0xd1, 0x5f, 0xee, 0xc2, 0xc0, 0x19, 0xb5, 0xa8, 0x22,
|
|
0xe3, 0x07, 0x8c, 0xfa, 0xec, 0xa3, 0x49, 0x45, 0xe6, 0x3a, 0x2f, 0xc6, 0x12, 0x8e, 0x3e, 0x0e,
|
|
0xb3, 0x9d, 0x88, 0xb0, 0xa3, 0xec, 0xad, 0x20, 0xdc, 0xf3, 0x02, 0xa7, 0xb1, 0xca, 0x5e, 0x65,
|
|
0x8d, 0x0f, 0x66, 0x67, 0x19, 0xf3, 0x8b, 0xa2, 0xee, 0xec, 0x8d, 0x1e, 0x78, 0xb8, 0x27, 0x85,
|
|
0x74, 0x46, 0xd0, 0xc7, 0xfa, 0xcc, 0x08, 0xba, 0x09, 0x67, 0xe5, 0x2e, 0xb6, 0xb1, 0xb4, 0xaa,
|
|
0x3e, 0x7a, 0xf6, 0x7c, 0xf2, 0x49, 0xb8, 0xd5, 0x0c, 0x1c, 0x9c, 0x59, 0x13, 0xed, 0xc1, 0x13,
|
|
0xcc, 0xe6, 0x21, 0x06, 0x67, 0x33, 0x74, 0xfd, 0xba, 0xdb, 0x76, 0x3c, 0xbe, 0x24, 0x57, 0x1b,
|
|
0xb3, 0x4f, 0xb0, 0xa6, 0xbd, 0x5b, 0x90, 0x7e, 0x62, 0xf1, 0x28, 0x64, 0x7c, 0x34, 0x2d, 0x74,
|
|
0x07, 0xde, 0x75, 0x04, 0x02, 0xdf, 0x51, 0x66, 0x9f, 0x64, 0x0c, 0xbf, 0x5d, 0x30, 0x7c, 0xd7,
|
|
0xe2, 0x71, 0x15, 0xf0, 0xf1, 0x34, 0x7b, 0x7e, 0xe5, 0x16, 0xf1, 0x1d, 0xf6, 0x95, 0x73, 0x7d,
|
|
0x7c, 0xa5, 0x44, 0xc6, 0x47, 0xd3, 0x42, 0xbb, 0x70, 0x81, 0x21, 0x2c, 0xd6, 0x63, 0x77, 0x5f,
|
|
0xa7, 0xa2, 0xb9, 0xe4, 0x37, 0xda, 0x81, 0xeb, 0xc7, 0xb3, 0x17, 0x19, 0xaf, 0x6f, 0x13, 0xbc,
|
|
0x2e, 0x2c, 0x1e, 0x81, 0x8b, 0x8f, 0xa4, 0x64, 0xff, 0x7b, 0x0b, 0x26, 0xd5, 0xf6, 0x73, 0x0a,
|
|
0x91, 0xc8, 0xf5, 0x64, 0x24, 0xf2, 0xcb, 0x03, 0xef, 0xdb, 0xac, 0xc1, 0x3d, 0x22, 0x6b, 0xfe,
|
|
0x72, 0x06, 0x40, 0xef, 0xed, 0x4a, 0x89, 0xb2, 0x7a, 0x2a, 0x51, 0x6f, 0xdb, 0x7d, 0x35, 0x2b,
|
|
0x8b, 0xe7, 0xc8, 0x5b, 0x92, 0xc5, 0xb3, 0x06, 0xe7, 0xe4, 0xea, 0xe7, 0x57, 0xe1, 0x57, 0x82,
|
|
0x48, 0xed, 0xce, 0xc6, 0x73, 0x8c, 0xab, 0x59, 0x48, 0x38, 0xbb, 0x6e, 0x42, 0xe9, 0x1e, 0x3b,
|
|
0x56, 0xe9, 0x56, 0x1b, 0xd2, 0xda, 0x8e, 0x7c, 0x1a, 0x35, 0xb5, 0x21, 0xad, 0x5d, 0xae, 0x61,
|
|
0x8d, 0x93, 0xad, 0x95, 0x54, 0x86, 0xa4, 0x95, 0xc0, 0x89, 0xb5, 0x12, 0xb9, 0x3f, 0x8e, 0xf7,
|
|
0xdc, 0x1f, 0xe5, 0x0d, 0xdd, 0x44, 0xcf, 0x1b, 0xba, 0x97, 0x61, 0xca, 0xf5, 0x77, 0x49, 0xe8,
|
|
0xc6, 0xa4, 0xc1, 0x96, 0x00, 0xdb, 0x3b, 0xcb, 0x5a, 0x27, 0x5d, 0x4d, 0x40, 0x71, 0x0a, 0x3b,
|
|
0xb9, 0xa9, 0x4f, 0xf5, 0xb1, 0xa9, 0xf7, 0x50, 0xa5, 0xa6, 0x87, 0xa3, 0x4a, 0x9d, 0xc9, 0xaf,
|
|
0x4a, 0xcd, 0x3c, 0x50, 0x55, 0x0a, 0x0d, 0x45, 0x95, 0xea, 0x4b, 0x4b, 0x31, 0x4c, 0x24, 0x67,
|
|
0x8f, 0x31, 0x91, 0xf4, 0xd2, 0xa3, 0xce, 0x0d, 0xac, 0x47, 0x65, 0xab, 0x48, 0x8f, 0xbc, 0xa3,
|
|
0x22, 0x0d, 0x45, 0x45, 0x7a, 0x0a, 0x46, 0x1a, 0xa4, 0x1d, 0xef, 0xce, 0x3e, 0xce, 0x26, 0xab,
|
|
0x1a, 0xff, 0x65, 0x5a, 0x88, 0x39, 0x0c, 0xc5, 0x70, 0xf1, 0x0e, 0xd9, 0xde, 0x0d, 0x82, 0xbd,
|
|
0x75, 0xc7, 0x77, 0x77, 0x88, 0x48, 0x38, 0x7f, 0xcb, 0x09, 0x5b, 0x22, 0x11, 0x78, 0x63, 0xf6,
|
|
0x02, 0x6b, 0xc2, 0x33, 0xa2, 0xfe, 0xc5, 0x5b, 0xc7, 0xe0, 0xe3, 0x63, 0x29, 0xbe, 0xa3, 0xbd,
|
|
0x7d, 0x33, 0x6b, 0x6f, 0x3f, 0x5a, 0x80, 0x73, 0x5a, 0xd1, 0xa1, 0xfb, 0x8c, 0xbb, 0x43, 0xf7,
|
|
0x7c, 0xf6, 0x6a, 0x3d, 0xf7, 0x17, 0x31, 0xd2, 0x2b, 0xe8, 0xbc, 0x12, 0x0a, 0x82, 0x0d, 0x2c,
|
|
0x96, 0xa5, 0x80, 0x84, 0xec, 0x95, 0xa7, 0xb4, 0x16, 0xb4, 0x24, 0xca, 0xb1, 0xc2, 0xa0, 0x8b,
|
|
0x8b, 0xfe, 0x16, 0xb9, 0x70, 0xd2, 0x2f, 0x12, 0x2c, 0x69, 0x10, 0x36, 0xf1, 0xd0, 0x33, 0x9c,
|
|
0x09, 0xdb, 0x8a, 0xa9, 0x26, 0x34, 0xc1, 0x0d, 0x4a, 0x6a, 0xf7, 0x55, 0x50, 0xd9, 0x1c, 0x96,
|
|
0x3c, 0x63, 0xa4, 0xbb, 0x39, 0xcc, 0x3f, 0x5a, 0x61, 0xd8, 0x7f, 0x65, 0xc1, 0x63, 0x99, 0x5d,
|
|
0x71, 0x0a, 0x4a, 0x6d, 0x90, 0x54, 0x6a, 0xaf, 0xe6, 0x34, 0x46, 0x19, 0x8d, 0xef, 0xa1, 0xe0,
|
|
0x7e, 0xdd, 0x82, 0x29, 0x8d, 0x7f, 0x0a, 0x5f, 0xf8, 0xc9, 0xe4, 0x17, 0xe6, 0x36, 0xb7, 0x55,
|
|
0xba, 0x3e, 0xe9, 0x37, 0x0b, 0xa0, 0xde, 0x04, 0x59, 0xac, 0xc7, 0xfd, 0x05, 0x34, 0xb6, 0x61,
|
|
0x94, 0xb9, 0x5b, 0x45, 0xb9, 0x5c, 0x42, 0x93, 0x6c, 0x99, 0xc7, 0x96, 0xbe, 0x52, 0x67, 0x7f,
|
|
0x23, 0x2c, 0xf8, 0xb0, 0x27, 0xc7, 0xa4, 0x30, 0x2e, 0x26, 0x35, 0x56, 0x25, 0x74, 0x15, 0x06,
|
|
0xd5, 0xb6, 0xdc, 0x7a, 0xe0, 0x2f, 0x79, 0x4e, 0x14, 0x09, 0xbd, 0x5f, 0x69, 0x5b, 0xab, 0x12,
|
|
0x80, 0x35, 0x0e, 0x73, 0xc0, 0x72, 0xa3, 0xb6, 0xe7, 0x1c, 0x18, 0x26, 0x54, 0x23, 0x79, 0x9b,
|
|
0x02, 0x61, 0x13, 0xcf, 0x6e, 0xc1, 0x6c, 0xf2, 0x23, 0x96, 0xc9, 0x0e, 0x8b, 0x4c, 0xe8, 0xab,
|
|
0x17, 0x17, 0xa0, 0xe2, 0xb0, 0x5a, 0x6b, 0x1d, 0x47, 0x2c, 0x7c, 0xed, 0xb1, 0x2f, 0x01, 0x58,
|
|
0xe3, 0xd8, 0xdf, 0x09, 0x0f, 0x67, 0xf4, 0x59, 0x1f, 0x5e, 0xa3, 0xff, 0xb2, 0x00, 0xd3, 0xc9,
|
|
0x9a, 0x11, 0x0b, 0xaa, 0xe5, 0x6d, 0x76, 0xa3, 0x7a, 0xb0, 0x4f, 0xc2, 0x03, 0xda, 0x0c, 0x2b,
|
|
0x15, 0x54, 0xdb, 0x85, 0x81, 0x33, 0x6a, 0xb1, 0xc7, 0x78, 0x1a, 0xea, 0xd3, 0xe5, 0xac, 0x58,
|
|
0x1f, 0xc2, 0xac, 0xd0, 0x1d, 0x6a, 0xfa, 0xc3, 0x29, 0x4e, 0xd8, 0x64, 0x4b, 0x75, 0x66, 0x16,
|
|
0x5d, 0x54, 0xed, 0xb8, 0x5e, 0xec, 0xfa, 0xe2, 0x4b, 0xc5, 0x7c, 0x51, 0x3a, 0xf3, 0x7a, 0x37,
|
|
0x0a, 0xce, 0xaa, 0x67, 0xff, 0x79, 0x09, 0x54, 0x46, 0x1c, 0xe6, 0x80, 0x3c, 0x24, 0xaf, 0xed,
|
|
0x93, 0x06, 0x62, 0xab, 0x01, 0x2e, 0x1d, 0xe5, 0x40, 0xc8, 0x8d, 0xe0, 0xe6, 0x4d, 0x98, 0xea,
|
|
0xb0, 0x2d, 0x0d, 0xc2, 0x26, 0x1e, 0x6d, 0x89, 0xe7, 0xee, 0x13, 0x5e, 0x69, 0x34, 0xd9, 0x92,
|
|
0x35, 0x09, 0xc0, 0x1a, 0x87, 0xa5, 0xce, 0x77, 0x77, 0x76, 0x84, 0x45, 0x57, 0xa7, 0xce, 0x77,
|
|
0x77, 0x76, 0x30, 0x83, 0xf0, 0x17, 0xd8, 0x82, 0x3d, 0x71, 0x4e, 0x34, 0x5e, 0x60, 0x0b, 0xf6,
|
|
0x30, 0x83, 0xd0, 0x51, 0xf2, 0x83, 0xb0, 0xe5, 0x78, 0xee, 0xeb, 0xa4, 0xa1, 0xb8, 0x88, 0xf3,
|
|
0xa1, 0x1a, 0xa5, 0xeb, 0xdd, 0x28, 0x38, 0xab, 0x1e, 0x4f, 0xd5, 0x49, 0x1a, 0x6e, 0x3d, 0x36,
|
|
0xa9, 0x41, 0x72, 0x1e, 0x6f, 0x76, 0x61, 0xe0, 0x8c, 0x5a, 0x68, 0x11, 0xa6, 0x65, 0x46, 0x23,
|
|
0x99, 0x66, 0x74, 0x3c, 0x99, 0x28, 0x10, 0x27, 0xc1, 0x38, 0x8d, 0x4f, 0x05, 0x55, 0x4b, 0xe4,
|
|
0xad, 0x66, 0xc7, 0x49, 0x43, 0x50, 0xc9, 0x7c, 0xd6, 0x58, 0x61, 0xd8, 0x3f, 0x58, 0xa4, 0xbb,
|
|
0x67, 0x8f, 0x64, 0xf0, 0xa7, 0x16, 0x25, 0x90, 0x9c, 0x91, 0xa5, 0x3e, 0x66, 0xe4, 0x07, 0x60,
|
|
0xe2, 0x76, 0x14, 0xf8, 0xca, 0x15, 0x7f, 0xa4, 0xa7, 0x2b, 0xbe, 0x81, 0x95, 0xed, 0x8a, 0x3f,
|
|
0x3a, 0x2c, 0x57, 0xfc, 0xb1, 0x01, 0x5d, 0xf1, 0xbf, 0x32, 0x02, 0xea, 0x41, 0xdd, 0xeb, 0x24,
|
|
0xbe, 0x13, 0x84, 0x7b, 0xae, 0xdf, 0x64, 0x69, 0x7a, 0xbe, 0x64, 0xc9, 0x4c, 0x3f, 0x6b, 0x66,
|
|
0x40, 0xf8, 0xf7, 0xe5, 0x7b, 0xef, 0x34, 0xc1, 0x63, 0x7e, 0xcb, 0xa0, 0xcf, 0xdd, 0xca, 0x52,
|
|
0x89, 0x84, 0xc4, 0x75, 0x5c, 0xa2, 0x21, 0x28, 0x06, 0x90, 0xb7, 0x5e, 0x3b, 0x52, 0xde, 0x7e,
|
|
0x24, 0x57, 0xb3, 0x30, 0xd9, 0xd1, 0x9a, 0xea, 0x96, 0xa2, 0x8d, 0x0d, 0x3e, 0xe8, 0x07, 0xd4,
|
|
0x75, 0x21, 0x8f, 0xb5, 0xbb, 0x35, 0xcc, 0x8e, 0xe8, 0x27, 0x2e, 0x1e, 0xc3, 0x98, 0xeb, 0x37,
|
|
0xe9, 0x5c, 0x10, 0x5e, 0xcc, 0xef, 0xc9, 0xca, 0xeb, 0xb6, 0x16, 0x38, 0x8d, 0xaa, 0xe3, 0x39,
|
|
0x7e, 0x9d, 0x84, 0xab, 0x1c, 0x5d, 0x9f, 0x85, 0x45, 0x01, 0x96, 0x84, 0xba, 0x5e, 0xf8, 0x1d,
|
|
0xe9, 0xe7, 0x85, 0xdf, 0xf3, 0x1f, 0x86, 0x99, 0xae, 0x91, 0x3b, 0x51, 0x3c, 0x7c, 0x8e, 0xd4,
|
|
0x6e, 0x6f, 0x8e, 0xea, 0x8d, 0xe9, 0x7a, 0xd0, 0x60, 0xaf, 0xc2, 0x86, 0x7a, 0x18, 0x85, 0x1e,
|
|
0x9a, 0x7f, 0x3a, 0xa8, 0x0d, 0xc4, 0x28, 0xc4, 0x26, 0x27, 0x3a, 0x0d, 0xdb, 0x4e, 0x48, 0xfc,
|
|
0x07, 0x34, 0x0d, 0x37, 0x15, 0x6d, 0x6c, 0xf0, 0x41, 0x9f, 0x48, 0x04, 0x7c, 0x7e, 0x68, 0xe0,
|
|
0x80, 0x4f, 0x96, 0x26, 0x37, 0xeb, 0x81, 0xc5, 0xcf, 0x5b, 0x30, 0xe5, 0x27, 0x66, 0x67, 0xae,
|
|
0x10, 0x91, 0xec, 0x09, 0xcf, 0x5f, 0x51, 0x4f, 0x96, 0xe1, 0x14, 0xdb, 0xac, 0x1d, 0x69, 0xe4,
|
|
0x84, 0x3b, 0x92, 0x7e, 0x8b, 0x7a, 0xb4, 0xe7, 0x5b, 0xd4, 0x44, 0xbd, 0xf6, 0x3f, 0x96, 0x23,
|
|
0x57, 0x4d, 0xe2, 0xa9, 0x7f, 0xc8, 0x78, 0xe6, 0xff, 0x96, 0x19, 0xe1, 0x7d, 0xf2, 0x27, 0xe1,
|
|
0x27, 0x7b, 0x45, 0x82, 0x53, 0x55, 0xed, 0x8c, 0xec, 0x08, 0x19, 0x39, 0x46, 0x77, 0x35, 0xce,
|
|
0x57, 0x2b, 0xb6, 0x6a, 0x57, 0xbb, 0x22, 0x01, 0x58, 0xe3, 0x50, 0x2d, 0xaa, 0x13, 0x91, 0x8d,
|
|
0x36, 0xf1, 0xd7, 0xdc, 0xed, 0x48, 0xb8, 0xa3, 0xa8, 0x45, 0x70, 0x43, 0x83, 0xb0, 0x89, 0xc7,
|
|
0xc2, 0xd0, 0xeb, 0x66, 0xde, 0x16, 0x1d, 0x86, 0x2e, 0xd4, 0x4b, 0x09, 0x47, 0x5f, 0xc8, 0x7c,
|
|
0x4a, 0x26, 0x57, 0xc4, 0x74, 0x57, 0x9c, 0xdc, 0xc9, 0xde, 0x90, 0x41, 0xbf, 0x68, 0xc1, 0x39,
|
|
0x5e, 0x2a, 0x3b, 0xf0, 0x46, 0xbb, 0xe1, 0xc4, 0x24, 0xca, 0xf5, 0x4c, 0x5f, 0x46, 0xb3, 0xf4,
|
|
0x55, 0x45, 0x16, 0x37, 0x9c, 0xdd, 0x08, 0xf4, 0x23, 0x16, 0x4c, 0xef, 0x25, 0xf2, 0xa6, 0x49,
|
|
0xd1, 0x3f, 0x60, 0xe6, 0xa1, 0x04, 0x2d, 0xbd, 0x8c, 0x92, 0xe5, 0x11, 0x4e, 0x33, 0xb5, 0xff,
|
|
0xc6, 0x02, 0x53, 0x0e, 0x9e, 0x7e, 0x96, 0xb5, 0x93, 0x6b, 0x69, 0x52, 0xf1, 0x1b, 0xe9, 0xa9,
|
|
0xf8, 0x3d, 0x01, 0xc5, 0x8e, 0xdb, 0x10, 0xaa, 0xbf, 0xf6, 0x7b, 0x59, 0x5d, 0xc6, 0xb4, 0xdc,
|
|
0xfe, 0x2f, 0x23, 0xda, 0x38, 0x20, 0x22, 0x94, 0xbf, 0x25, 0x3e, 0x7b, 0x57, 0x25, 0x47, 0xe6,
|
|
0x5f, 0xbe, 0xd9, 0x95, 0x1c, 0xf9, 0xe5, 0x41, 0x02, 0xcf, 0x79, 0x17, 0xf5, 0xca, 0x8d, 0x3c,
|
|
0x76, 0x4c, 0xd4, 0xb9, 0x07, 0x65, 0x7a, 0x3e, 0x62, 0x56, 0xbd, 0x72, 0xa2, 0x59, 0xe5, 0x2b,
|
|
0xa2, 0xfc, 0xfe, 0xe1, 0xdc, 0xf7, 0x0c, 0xd2, 0x30, 0x59, 0x1f, 0x2b, 0x0e, 0xa8, 0x03, 0x15,
|
|
0xfa, 0x9b, 0x85, 0xc8, 0x8b, 0xb3, 0xd7, 0x2d, 0x25, 0x1c, 0x25, 0x60, 0x48, 0x11, 0xf8, 0x9a,
|
|
0x13, 0x6a, 0x43, 0x85, 0x22, 0x72, 0xb6, 0xfc, 0x90, 0x86, 0x55, 0xd0, 0xba, 0x04, 0xdc, 0x3f,
|
|
0x9c, 0xfb, 0xd0, 0x20, 0x6c, 0x15, 0x01, 0xac, 0x99, 0x18, 0xdb, 0xdf, 0x78, 0xaf, 0xed, 0xcf,
|
|
0xfe, 0x1f, 0x25, 0x3d, 0xcf, 0x45, 0xfe, 0xec, 0x6f, 0x89, 0x79, 0xfe, 0x62, 0x6a, 0x9e, 0x5f,
|
|
0xec, 0x9a, 0xe7, 0x53, 0xb4, 0xcf, 0x32, 0x72, 0x7a, 0x9f, 0x92, 0x42, 0x70, 0xbc, 0xb5, 0x80,
|
|
0x29, 0x40, 0xaf, 0x75, 0xdc, 0x90, 0x44, 0x9b, 0x61, 0xc7, 0x77, 0xfd, 0x26, 0x9b, 0xad, 0x65,
|
|
0x53, 0x01, 0x4a, 0x80, 0x71, 0x1a, 0x9f, 0x1e, 0xc9, 0xe9, 0x74, 0xb8, 0xe5, 0xec, 0xf3, 0x29,
|
|
0x67, 0xe4, 0x32, 0xad, 0x89, 0x72, 0xac, 0x30, 0xd0, 0x2e, 0x5c, 0x90, 0x04, 0x96, 0x89, 0x47,
|
|
0xe8, 0x07, 0x31, 0x9f, 0xdd, 0xb0, 0xc5, 0xc3, 0x60, 0xb8, 0x47, 0x96, 0xba, 0x45, 0xc0, 0x47,
|
|
0xe0, 0xe2, 0x23, 0x29, 0xd9, 0x7f, 0xc0, 0x7c, 0x40, 0x8c, 0xec, 0x20, 0x74, 0xd2, 0x79, 0x6e,
|
|
0xcb, 0x95, 0x29, 0x57, 0xd5, 0xa4, 0x5b, 0xa3, 0x85, 0x98, 0xc3, 0x90, 0x0f, 0x63, 0xdb, 0x4e,
|
|
0x7d, 0x2f, 0xd8, 0xd9, 0xc9, 0xf5, 0x56, 0x5a, 0x95, 0xd3, 0x60, 0xa9, 0xd4, 0xc7, 0xc4, 0x9f,
|
|
0xfb, 0xfa, 0x27, 0x96, 0x4c, 0xf8, 0xa3, 0x1a, 0xec, 0x9d, 0x73, 0x61, 0x49, 0x33, 0x1e, 0xd5,
|
|
0xe0, 0xcf, 0x9f, 0x4b, 0xb8, 0xfd, 0xaf, 0x47, 0x60, 0x5a, 0xba, 0x61, 0x5e, 0x71, 0x23, 0xe6,
|
|
0x05, 0x62, 0x3e, 0x38, 0x51, 0x38, 0xf6, 0xc1, 0x89, 0xef, 0x07, 0x68, 0x90, 0xb6, 0x17, 0x1c,
|
|
0x30, 0x15, 0xb1, 0x74, 0x62, 0x15, 0x51, 0x1d, 0x1d, 0x96, 0x15, 0x15, 0x6c, 0x50, 0x14, 0x99,
|
|
0x68, 0xf9, 0xfb, 0x15, 0xa9, 0x4c, 0xb4, 0xc6, 0x7b, 0x8a, 0xa3, 0xa7, 0xf2, 0x9e, 0xa2, 0x0b,
|
|
0xd3, 0xbc, 0x65, 0x2a, 0x5b, 0xc7, 0x00, 0x49, 0x39, 0x58, 0x74, 0xe5, 0x72, 0x92, 0x0c, 0x4e,
|
|
0xd3, 0x35, 0x5f, 0x4d, 0x2c, 0x9f, 0xd2, 0xab, 0x89, 0xef, 0x85, 0x8a, 0x1c, 0xd5, 0x68, 0xb6,
|
|
0xa2, 0x53, 0x41, 0xc9, 0x41, 0x8f, 0xb0, 0x86, 0xa7, 0x53, 0x08, 0xc1, 0x29, 0xa7, 0x10, 0xb2,
|
|
0xff, 0x29, 0x3b, 0x3f, 0xf0, 0xd6, 0x9c, 0xf8, 0x3d, 0xd1, 0x2b, 0xc6, 0x7b, 0xa2, 0x27, 0x1b,
|
|
0xbc, 0x72, 0xea, 0xdd, 0xd1, 0x0b, 0x50, 0x8a, 0x9d, 0xa6, 0x0c, 0xe6, 0x66, 0xd0, 0x2d, 0xa7,
|
|
0x19, 0x61, 0x56, 0x7a, 0x92, 0x9c, 0xdc, 0x2f, 0xc1, 0x64, 0xe4, 0x36, 0x7d, 0x27, 0xee, 0x84,
|
|
0xc4, 0xb8, 0xc8, 0xd3, 0xce, 0x4f, 0x26, 0x10, 0x27, 0x71, 0xd1, 0xeb, 0x00, 0x21, 0x51, 0x87,
|
|
0x93, 0xd1, 0x1c, 0xf3, 0x45, 0x2d, 0x70, 0x49, 0xce, 0xcc, 0x09, 0xa3, 0x0e, 0x25, 0x06, 0x37,
|
|
0xf4, 0xcb, 0x16, 0x9c, 0x93, 0xf9, 0xea, 0x63, 0xd2, 0x0c, 0xdd, 0xf8, 0x40, 0xa4, 0xe1, 0x19,
|
|
0xcb, 0x11, 0x96, 0x5d, 0x4b, 0x52, 0x5c, 0xda, 0x25, 0xf5, 0x3d, 0x91, 0x8d, 0x87, 0xd9, 0x0b,
|
|
0x6b, 0x59, 0x1c, 0x71, 0x76, 0x43, 0xec, 0x4f, 0xc3, 0x4c, 0xd7, 0x77, 0xa1, 0x26, 0x8c, 0xd6,
|
|
0xd9, 0x6b, 0xb4, 0xb9, 0xd2, 0xa2, 0x26, 0x1f, 0xb4, 0x95, 0x4f, 0x3f, 0xd1, 0x32, 0x2c, 0xc8,
|
|
0xdb, 0xdf, 0x18, 0x87, 0xb3, 0xb5, 0xa5, 0x75, 0xf9, 0x6a, 0xd6, 0xb0, 0xa3, 0xe6, 0xb3, 0x48,
|
|
0x3f, 0xf0, 0xa8, 0xf9, 0x1e, 0x4c, 0x3d, 0x23, 0x6a, 0xde, 0x33, 0xa2, 0xe6, 0x13, 0x81, 0xce,
|
|
0xc5, 0x1c, 0x81, 0xce, 0x59, 0x7c, 0xfb, 0x09, 0x74, 0x1e, 0x76, 0x14, 0xfd, 0x91, 0xed, 0x38,
|
|
0x51, 0x14, 0xbd, 0x4a, 0x28, 0x90, 0x27, 0xe8, 0xb2, 0xc7, 0x70, 0x64, 0x26, 0x14, 0x50, 0x31,
|
|
0xdf, 0x3c, 0x68, 0x58, 0xec, 0x9c, 0x5b, 0x43, 0xe3, 0xdb, 0x47, 0xcc, 0xb7, 0x08, 0x57, 0x36,
|
|
0x12, 0x08, 0x8c, 0xe5, 0x48, 0x20, 0x90, 0xd5, 0x88, 0x63, 0x13, 0x08, 0xbc, 0x04, 0x93, 0x75,
|
|
0x2f, 0xf0, 0xc9, 0x66, 0x18, 0xc4, 0x41, 0x3d, 0xf0, 0xc4, 0xf9, 0x4d, 0x3f, 0xd9, 0x6a, 0x02,
|
|
0x71, 0x12, 0xb7, 0x57, 0xf6, 0x81, 0x4a, 0xce, 0xec, 0x03, 0x70, 0xba, 0xd9, 0x07, 0x74, 0xc8,
|
|
0xfd, 0x78, 0x8e, 0x90, 0xfb, 0xac, 0xde, 0xef, 0x2b, 0xe4, 0xfe, 0x4d, 0x0b, 0x26, 0x9d, 0x3b,
|
|
0xec, 0x0c, 0xc3, 0x05, 0x26, 0xbb, 0x7c, 0x1b, 0x7f, 0xfe, 0xe6, 0xf0, 0x66, 0xe2, 0xad, 0x9a,
|
|
0xa6, 0x5e, 0x9d, 0x61, 0xa1, 0x55, 0x66, 0x11, 0x4e, 0xf2, 0xcf, 0x13, 0x9d, 0xff, 0xc5, 0x02,
|
|
0xbc, 0xeb, 0xd8, 0x26, 0x20, 0x1f, 0x20, 0x76, 0x9a, 0x62, 0x2e, 0xaa, 0x4c, 0xcf, 0x83, 0x7c,
|
|
0xee, 0x96, 0x24, 0x23, 0x22, 0x4d, 0x15, 0x55, 0x6c, 0x70, 0x60, 0xee, 0xdc, 0x81, 0xd7, 0x95,
|
|
0x61, 0x1c, 0x07, 0x1e, 0xc1, 0x0c, 0x42, 0x15, 0xa6, 0x90, 0x34, 0xa9, 0xa2, 0x5f, 0x4c, 0x2a,
|
|
0x4c, 0x98, 0x95, 0x62, 0x01, 0x45, 0x2f, 0xc0, 0xb8, 0xe3, 0x79, 0x3c, 0xea, 0x95, 0x44, 0xe2,
|
|
0x95, 0x64, 0x9d, 0x7c, 0x58, 0x83, 0xb0, 0x89, 0x67, 0xff, 0xe7, 0x02, 0xcc, 0x1d, 0x23, 0x23,
|
|
0xba, 0x92, 0x16, 0x8c, 0xf4, 0x9d, 0xb4, 0x40, 0x04, 0xf4, 0x8d, 0xf6, 0x08, 0xe8, 0x7b, 0x01,
|
|
0xc6, 0x63, 0xe2, 0xb4, 0x84, 0x4b, 0x68, 0x3a, 0x17, 0xe7, 0x96, 0x06, 0x61, 0x13, 0x0f, 0xbd,
|
|
0x0e, 0x53, 0x4e, 0xbd, 0x4e, 0xa2, 0x48, 0x46, 0xee, 0x09, 0xb3, 0x77, 0xde, 0x68, 0x40, 0x76,
|
|
0x77, 0xb0, 0x98, 0xa0, 0x8c, 0x53, 0x9c, 0xd2, 0xdd, 0x5c, 0xe9, 0xb3, 0x9b, 0x7f, 0xae, 0x00,
|
|
0x4f, 0x1c, 0xb9, 0x23, 0xf5, 0x1d, 0x42, 0xd9, 0x89, 0x48, 0x98, 0x9e, 0x2e, 0x37, 0x22, 0x12,
|
|
0x62, 0x06, 0x61, 0x7d, 0xd3, 0x6e, 0x2b, 0xd7, 0xfd, 0xa1, 0xc5, 0x15, 0xf3, 0xbe, 0x49, 0x50,
|
|
0xc6, 0x29, 0x4e, 0x83, 0x4e, 0xc1, 0xdf, 0x28, 0xc1, 0x53, 0x7d, 0xec, 0xd6, 0x43, 0x0c, 0xbb,
|
|
0x4e, 0x64, 0x0d, 0x28, 0x9e, 0x6e, 0xd6, 0x80, 0xc1, 0x3a, 0xe9, 0x9d, 0x64, 0x03, 0xdd, 0x31,
|
|
0xdd, 0xff, 0xbc, 0x00, 0xe7, 0x7b, 0x6b, 0x16, 0xe8, 0x43, 0x30, 0x1d, 0x2a, 0x27, 0x3d, 0x33,
|
|
0xe1, 0xc0, 0xc3, 0xdc, 0xc0, 0x95, 0x00, 0xe1, 0x34, 0x2e, 0x9a, 0x07, 0x68, 0x3b, 0xf1, 0x6e,
|
|
0x74, 0xe9, 0xae, 0x1b, 0xc5, 0x22, 0xb7, 0xe1, 0x14, 0xbf, 0x3f, 0x95, 0xa5, 0xd8, 0xc0, 0xa0,
|
|
0xec, 0xd8, 0xbf, 0xe5, 0xe0, 0x7a, 0x10, 0xf3, 0x4a, 0xfc, 0xc4, 0xf9, 0xb0, 0x7c, 0x0b, 0xd3,
|
|
0x00, 0xe1, 0x34, 0x2e, 0x65, 0xc7, 0xae, 0xe3, 0x79, 0x43, 0x4b, 0x3a, 0x45, 0xc1, 0x9a, 0x2a,
|
|
0xc5, 0x06, 0x46, 0x3a, 0x95, 0xc2, 0xc8, 0xf1, 0xa9, 0x14, 0xec, 0x37, 0x8a, 0xf0, 0x58, 0x4f,
|
|
0x35, 0xb4, 0x3f, 0xf9, 0xf3, 0xb6, 0x49, 0x67, 0x30, 0xe0, 0x2a, 0x3a, 0x59, 0x60, 0xfc, 0x26,
|
|
0x9c, 0x15, 0xaf, 0xe2, 0x2e, 0x86, 0xf5, 0x5d, 0x77, 0x9f, 0x34, 0xd8, 0xac, 0x11, 0x2b, 0x40,
|
|
0xf9, 0xce, 0x5f, 0xca, 0xc0, 0xc1, 0x99, 0x35, 0xed, 0x5f, 0x29, 0x66, 0x4f, 0x59, 0x11, 0x46,
|
|
0x3f, 0x78, 0x76, 0xa0, 0xb7, 0xcd, 0xc0, 0x74, 0x45, 0xce, 0x97, 0x4e, 0x10, 0x39, 0x9f, 0x1a,
|
|
0xd5, 0x91, 0x3e, 0x47, 0x75, 0xf8, 0xe3, 0xf4, 0xe5, 0x91, 0x9e, 0xe3, 0x44, 0x0f, 0xcb, 0x7d,
|
|
0xdd, 0x63, 0x2c, 0xc3, 0x19, 0xd7, 0x67, 0xb4, 0x6b, 0x9d, 0x6d, 0x91, 0xb8, 0x8f, 0xa7, 0x90,
|
|
0x56, 0x71, 0x56, 0xab, 0x29, 0x38, 0xee, 0xaa, 0xf1, 0xf6, 0x49, 0x89, 0x30, 0xe0, 0xd8, 0x9c,
|
|
0x6c, 0xe7, 0xd8, 0x80, 0x73, 0xb2, 0x07, 0x76, 0x9d, 0x90, 0x34, 0xc4, 0xc6, 0x1e, 0x89, 0x80,
|
|
0xba, 0xc7, 0x78, 0x50, 0x5e, 0x06, 0x02, 0xce, 0xae, 0xc7, 0x1e, 0xc7, 0x0d, 0xda, 0x6e, 0x5d,
|
|
0x1c, 0x1e, 0xf5, 0xe3, 0xb8, 0xb4, 0x10, 0x73, 0x98, 0xde, 0xaf, 0x2a, 0x0f, 0x72, 0xbf, 0xe2,
|
|
0xa1, 0x38, 0x19, 0xd3, 0x14, 0xd2, 0xa1, 0x38, 0x59, 0xd3, 0x34, 0xab, 0xa6, 0xfd, 0xfd, 0x50,
|
|
0x51, 0x03, 0xc7, 0xa3, 0x24, 0xd4, 0xb2, 0xeb, 0x8a, 0x92, 0x50, 0x6b, 0xce, 0xc0, 0xa2, 0xb3,
|
|
0x8b, 0x1e, 0xa0, 0x52, 0x62, 0x83, 0x7e, 0x01, 0x2d, 0xb7, 0xdf, 0x0f, 0x13, 0xca, 0xa8, 0xd9,
|
|
0xef, 0x5b, 0xc7, 0xf6, 0x5f, 0x14, 0x20, 0xf5, 0xf0, 0x1f, 0x0a, 0xa0, 0xd2, 0x08, 0x0f, 0x78,
|
|
0x61, 0xae, 0x14, 0xe8, 0xcb, 0x92, 0x8a, 0xbe, 0xc5, 0x53, 0x45, 0x58, 0xf3, 0x40, 0x11, 0x4f,
|
|
0x36, 0x2e, 0x38, 0x16, 0x72, 0xa4, 0xd5, 0xa8, 0x29, 0x32, 0xe6, 0x53, 0xa6, 0xb2, 0x0c, 0x1b,
|
|
0x6c, 0xd0, 0x1e, 0x54, 0x76, 0xe5, 0x73, 0x86, 0xb9, 0xa4, 0xac, 0x7a, 0x14, 0x91, 0xab, 0x91,
|
|
0xea, 0x2f, 0xd6, 0xf4, 0xed, 0x2f, 0x17, 0xe1, 0x6c, 0xb2, 0x97, 0xc5, 0x1d, 0xeb, 0x3f, 0xb1,
|
|
0xe0, 0x51, 0xcf, 0x89, 0xe2, 0x5a, 0x87, 0x1d, 0x5c, 0x76, 0x3a, 0xde, 0x46, 0x2a, 0xfb, 0xfc,
|
|
0x80, 0x36, 0x1c, 0x45, 0x2f, 0xfd, 0xc6, 0x65, 0xf5, 0xf1, 0x7b, 0x87, 0x73, 0x8f, 0xae, 0x65,
|
|
0xf3, 0xc4, 0xbd, 0x1a, 0x83, 0x3e, 0x6f, 0xc1, 0x99, 0x7a, 0x27, 0x0c, 0x89, 0x1f, 0xeb, 0x16,
|
|
0xf2, 0xa1, 0xba, 0x94, 0xa7, 0xdb, 0x74, 0xbb, 0xce, 0x52, 0x19, 0xbb, 0x94, 0x62, 0x81, 0xbb,
|
|
0x98, 0xa2, 0x8f, 0xf2, 0x1e, 0x5b, 0x0a, 0x5a, 0x6d, 0x2a, 0x3c, 0x96, 0xc3, 0x03, 0x95, 0x24,
|
|
0x85, 0xcb, 0x5d, 0x15, 0x90, 0xb9, 0x96, 0x8d, 0x86, 0x7b, 0xd5, 0xb7, 0x3b, 0x30, 0x9d, 0xb2,
|
|
0x83, 0xa3, 0x6d, 0x28, 0x36, 0x95, 0x49, 0x7b, 0x65, 0x18, 0xa6, 0xf7, 0x15, 0x37, 0xae, 0x8e,
|
|
0xd1, 0x85, 0xbb, 0xe2, 0xc6, 0x98, 0x12, 0xb7, 0x7f, 0xce, 0x82, 0xf3, 0xbd, 0xed, 0xf3, 0xe8,
|
|
0x53, 0x30, 0x5a, 0xa7, 0x7f, 0xa5, 0x85, 0xa3, 0x36, 0xe4, 0x0b, 0x00, 0xe6, 0x03, 0xa8, 0x0c,
|
|
0x15, 0x0c, 0x10, 0x61, 0xc1, 0xd2, 0xf6, 0xe0, 0xc9, 0xa3, 0x6b, 0xf6, 0x11, 0xe5, 0xf1, 0x0c,
|
|
0x94, 0xdb, 0x61, 0xb0, 0xed, 0xc9, 0x28, 0x1e, 0x99, 0xa4, 0x57, 0x94, 0x61, 0x05, 0xb5, 0x7f,
|
|
0xc2, 0x02, 0xd4, 0xdd, 0x5d, 0xe8, 0x8e, 0x91, 0xe5, 0xd7, 0xca, 0x11, 0x58, 0xd1, 0x4d, 0x9a,
|
|
0x25, 0x0a, 0x3e, 0xe8, 0x95, 0x34, 0xd8, 0xfe, 0x3b, 0x0b, 0x66, 0x7b, 0x55, 0x42, 0xfb, 0x30,
|
|
0xc2, 0x8e, 0x21, 0xa2, 0x49, 0xaf, 0x0c, 0xb5, 0x49, 0x74, 0xcb, 0x30, 0x9f, 0xca, 0xa0, 0xdb,
|
|
0x0a, 0x67, 0x87, 0xf6, 0xa0, 0xd8, 0x6c, 0x37, 0xc5, 0xe2, 0xdb, 0x1c, 0x2a, 0xd7, 0x95, 0xcd,
|
|
0x15, 0x31, 0x37, 0x37, 0x57, 0x30, 0xe5, 0x62, 0xbf, 0x61, 0xc1, 0xe3, 0x47, 0x60, 0xa3, 0x25,
|
|
0x28, 0xb5, 0x82, 0x86, 0x1c, 0xfd, 0x05, 0x39, 0xfa, 0xeb, 0x41, 0x83, 0x3d, 0x9f, 0x7c, 0x44,
|
|
0xd5, 0x75, 0xf6, 0x30, 0x28, 0xad, 0x8c, 0x2e, 0x40, 0x69, 0x8f, 0x1c, 0x24, 0x2e, 0xfd, 0xd8,
|
|
0x4b, 0x39, 0xac, 0xd4, 0xfe, 0x10, 0x5c, 0x38, 0xaa, 0x97, 0x8e, 0xc9, 0x5c, 0x64, 0xff, 0x20,
|
|
0x3d, 0x78, 0xf6, 0x14, 0x87, 0xff, 0x7f, 0xbc, 0xdd, 0xfb, 0x3b, 0xa3, 0x30, 0x99, 0x78, 0x88,
|
|
0x23, 0xe1, 0x93, 0x60, 0x1d, 0xeb, 0x93, 0xc0, 0xa2, 0xc8, 0x3b, 0xbe, 0x78, 0x80, 0xd2, 0x8c,
|
|
0x22, 0xef, 0xf8, 0x04, 0x73, 0x98, 0xe8, 0x49, 0xdc, 0xf1, 0x85, 0x93, 0x84, 0xd9, 0x93, 0xb8,
|
|
0xe3, 0x63, 0x01, 0x45, 0x77, 0x60, 0x82, 0xed, 0xc3, 0xc2, 0xe5, 0x43, 0x68, 0xc2, 0x8b, 0x83,
|
|
0x6f, 0xf8, 0xf2, 0x65, 0x19, 0xe6, 0xb0, 0x6e, 0x96, 0xe0, 0x04, 0x23, 0xf4, 0x29, 0xa8, 0xa8,
|
|
0x67, 0xd2, 0xc5, 0xa5, 0xee, 0xd5, 0xa1, 0xbc, 0x69, 0x92, 0x52, 0x72, 0xd4, 0x2b, 0x13, 0x58,
|
|
0xf3, 0x43, 0xb7, 0x95, 0x6b, 0xc5, 0xd8, 0x50, 0x5d, 0x2b, 0x20, 0xc3, 0xad, 0xe2, 0xbd, 0x50,
|
|
0x69, 0x89, 0xb0, 0x6b, 0xee, 0xed, 0x20, 0xdf, 0xa0, 0x92, 0x85, 0x58, 0xc3, 0xd1, 0x73, 0x30,
|
|
0x1e, 0xb1, 0xef, 0x89, 0x0d, 0x3f, 0x05, 0x66, 0x9b, 0xa8, 0xe9, 0x62, 0x6c, 0xe2, 0x98, 0xbe,
|
|
0x14, 0xf0, 0x56, 0xf8, 0x52, 0x8c, 0x1f, 0xe3, 0x4b, 0x51, 0x83, 0x73, 0x4e, 0x27, 0x0e, 0xae,
|
|
0x10, 0xc7, 0x5b, 0x8c, 0x63, 0xd2, 0x6a, 0xc7, 0x11, 0x7f, 0x95, 0x65, 0x82, 0xdd, 0x28, 0x29,
|
|
0x37, 0xdc, 0x1a, 0xf1, 0x76, 0xba, 0x90, 0x70, 0x76, 0x5d, 0xfb, 0xd7, 0x2c, 0x38, 0x97, 0x39,
|
|
0xf0, 0x6f, 0xdf, 0x20, 0x25, 0xfb, 0xbf, 0x97, 0xe0, 0xe1, 0x8c, 0x07, 0x78, 0x50, 0xdb, 0x5c,
|
|
0x09, 0x56, 0x0e, 0x5f, 0xe2, 0xa4, 0x6b, 0xac, 0x1c, 0x92, 0x8c, 0xe9, 0x7f, 0x32, 0x1f, 0x28,
|
|
0xed, 0x87, 0x54, 0x3c, 0x15, 0x3f, 0x24, 0x63, 0x42, 0x97, 0xde, 0x8a, 0x09, 0x3d, 0x72, 0xcc,
|
|
0x84, 0xfe, 0x55, 0x0b, 0x66, 0x5b, 0x3d, 0x1e, 0xb1, 0x14, 0x17, 0xce, 0xeb, 0x43, 0x7d, 0x19,
|
|
0xb3, 0x7a, 0xe1, 0xde, 0xe1, 0x5c, 0xcf, 0x07, 0x42, 0x71, 0xcf, 0xc6, 0xd8, 0xff, 0xb6, 0x08,
|
|
0xec, 0xc4, 0x25, 0x74, 0xa4, 0x8e, 0xf9, 0x24, 0x97, 0x95, 0xf3, 0x19, 0x29, 0x4e, 0x53, 0xbd,
|
|
0xe4, 0xc5, 0xfb, 0x2b, 0xeb, 0x61, 0xaf, 0xb4, 0x4c, 0x2b, 0xf4, 0x21, 0xd3, 0xea, 0xf2, 0xa5,
|
|
0xb3, 0xe2, 0xd0, 0x5e, 0x3a, 0xab, 0xa4, 0x5f, 0x39, 0x3b, 0x7a, 0x1c, 0x4b, 0x6f, 0xa7, 0x71,
|
|
0xfc, 0xaa, 0xc5, 0x25, 0x47, 0xaa, 0xcf, 0xd1, 0x9c, 0xd4, 0x04, 0xf8, 0x4b, 0x49, 0x95, 0x2e,
|
|
0x2d, 0xe0, 0x19, 0x28, 0x47, 0x42, 0xac, 0x0a, 0x6d, 0x81, 0x29, 0xd7, 0x52, 0xd4, 0x62, 0x05,
|
|
0x45, 0xf3, 0x00, 0x8e, 0xe7, 0x05, 0x77, 0x2e, 0xb5, 0xda, 0xf1, 0x81, 0xd4, 0x19, 0xe8, 0x89,
|
|
0x7d, 0x51, 0x95, 0x62, 0x03, 0x03, 0xbd, 0x1b, 0xc6, 0x78, 0x72, 0xa0, 0x86, 0xb0, 0x20, 0x8f,
|
|
0xd3, 0x85, 0xc5, 0x53, 0x07, 0x35, 0xb0, 0x84, 0xd9, 0x3f, 0x6d, 0x81, 0x71, 0xe6, 0x47, 0x2f,
|
|
0xca, 0xf8, 0x45, 0x6e, 0xe4, 0x4a, 0x5b, 0x69, 0xcd, 0x8c, 0xc4, 0x38, 0x81, 0xd9, 0xc7, 0x9b,
|
|
0xc5, 0xcc, 0x2f, 0xb4, 0x1d, 0xdc, 0xc0, 0x6b, 0xe9, 0xb0, 0x17, 0xcc, 0x8b, 0xb1, 0x84, 0xdb,
|
|
0xff, 0xb0, 0x20, 0x5a, 0xc5, 0xcf, 0xfd, 0xda, 0x2d, 0xd9, 0x3a, 0xa1, 0x5b, 0x72, 0x04, 0x50,
|
|
0x17, 0x47, 0xd7, 0xad, 0x20, 0x97, 0xb1, 0x64, 0x49, 0x91, 0xd1, 0xc6, 0x12, 0x5d, 0x86, 0x0d,
|
|
0x36, 0x09, 0xe9, 0x5d, 0x3c, 0x56, 0x7a, 0x27, 0x44, 0x5b, 0xe9, 0x68, 0xd1, 0x66, 0xff, 0xa9,
|
|
0x05, 0x09, 0x9d, 0x0d, 0x35, 0x61, 0x84, 0x36, 0xf7, 0x40, 0x88, 0x8b, 0xcb, 0xb9, 0xf5, 0x42,
|
|
0x2a, 0x95, 0xc5, 0x62, 0x64, 0x3f, 0x31, 0xa7, 0x8f, 0xea, 0xc2, 0xf3, 0x3a, 0x8f, 0x15, 0xc3,
|
|
0xe4, 0x73, 0x25, 0x08, 0xf6, 0xf8, 0xe1, 0x45, 0x3b, 0x6f, 0xdb, 0x2f, 0xc2, 0x4c, 0x57, 0x5b,
|
|
0xa8, 0xc2, 0xc0, 0x92, 0x17, 0x89, 0x45, 0xa4, 0x14, 0x06, 0x96, 0xb6, 0x07, 0x73, 0x98, 0xfd,
|
|
0x65, 0x0b, 0xce, 0xa4, 0xc9, 0xa3, 0x37, 0x2d, 0x98, 0x89, 0xd2, 0xf4, 0x86, 0xdc, 0x53, 0x2a,
|
|
0x78, 0xaa, 0x0b, 0x84, 0xbb, 0x79, 0xdb, 0x5f, 0x2e, 0xf1, 0x89, 0x7d, 0xcb, 0xf5, 0x1b, 0xc1,
|
|
0x1d, 0xa5, 0xe6, 0x58, 0x3d, 0xd5, 0x9c, 0x67, 0xa1, 0x1c, 0xd5, 0x77, 0x49, 0xa3, 0xe3, 0x75,
|
|
0xe5, 0x7a, 0xa9, 0x89, 0x72, 0xac, 0x30, 0x58, 0xd6, 0x8b, 0x8e, 0x30, 0x37, 0xa5, 0x66, 0xde,
|
|
0xb2, 0x28, 0xc7, 0x0a, 0x03, 0x7d, 0x00, 0x26, 0x8c, 0x8f, 0x94, 0x93, 0x8f, 0x9d, 0x0b, 0x8c,
|
|
0xbd, 0x39, 0xc2, 0x09, 0x2c, 0x2a, 0x88, 0x94, 0xca, 0x24, 0xf7, 0x62, 0x26, 0x88, 0x94, 0x58,
|
|
0x8c, 0xb0, 0x81, 0xc1, 0x12, 0xc9, 0x78, 0x9d, 0x88, 0x39, 0x9d, 0x8c, 0x6a, 0x7b, 0xc6, 0x92,
|
|
0x28, 0xc3, 0x0a, 0x8a, 0x9e, 0x07, 0x68, 0x39, 0x7e, 0xc7, 0xf1, 0x68, 0x0f, 0x09, 0xb3, 0xb8,
|
|
0x5a, 0x6b, 0xeb, 0x0a, 0x82, 0x0d, 0x2c, 0xfa, 0xc5, 0xb1, 0xdb, 0x22, 0xaf, 0x06, 0xbe, 0x0c,
|
|
0x82, 0xd1, 0x4e, 0x47, 0xa2, 0x1c, 0x2b, 0x0c, 0xf4, 0x22, 0x8c, 0x3b, 0x7e, 0x83, 0xeb, 0x77,
|
|
0x41, 0x28, 0x3c, 0x1c, 0xd4, 0xb1, 0xf0, 0x46, 0x44, 0x16, 0x35, 0x14, 0x9b, 0xa8, 0xe9, 0x17,
|
|
0x97, 0xa0, 0xcf, 0x17, 0x97, 0x5e, 0x10, 0x5b, 0xeb, 0x3e, 0x09, 0xc3, 0x8e, 0x8c, 0x05, 0x50,
|
|
0xd5, 0x6a, 0x1a, 0x84, 0x4d, 0x3c, 0xfb, 0xbf, 0x5a, 0x30, 0xad, 0x13, 0xd5, 0x31, 0xeb, 0x7b,
|
|
0xe2, 0xb6, 0xc1, 0x3a, 0xf6, 0xb6, 0x21, 0x99, 0x57, 0xa8, 0xd0, 0x57, 0x5e, 0x21, 0x33, 0xe5,
|
|
0x4f, 0xf1, 0xc8, 0x94, 0x3f, 0xef, 0x86, 0xb1, 0x3d, 0x72, 0x60, 0xe4, 0x06, 0x62, 0x9b, 0xcb,
|
|
0x35, 0x5e, 0x84, 0x25, 0x0c, 0xd9, 0x30, 0x5a, 0x77, 0x54, 0x8a, 0xe1, 0x09, 0xe1, 0x9f, 0xba,
|
|
0xc8, 0x90, 0x04, 0xc4, 0xde, 0x80, 0x8a, 0xf2, 0x1f, 0x92, 0x36, 0x7b, 0x2b, 0xdb, 0x66, 0x4f,
|
|
0x25, 0x81, 0xe1, 0x01, 0xa5, 0x25, 0x01, 0xf3, 0x9b, 0x12, 0x0e, 0x51, 0xd5, 0x8f, 0x7e, 0xed,
|
|
0x1b, 0x4f, 0x3e, 0xf4, 0xf5, 0x6f, 0x3c, 0xf9, 0xd0, 0x9f, 0x7c, 0xe3, 0xc9, 0x87, 0xde, 0xb8,
|
|
0xf7, 0xa4, 0xf5, 0xb5, 0x7b, 0x4f, 0x5a, 0x5f, 0xbf, 0xf7, 0xa4, 0xf5, 0x27, 0xf7, 0x9e, 0xb4,
|
|
0xfe, 0xfc, 0xde, 0x93, 0xd6, 0x17, 0xfe, 0xe2, 0xc9, 0x87, 0x5e, 0x7d, 0x7f, 0x76, 0xbc, 0x50,
|
|
0x7b, 0xaf, 0xb9, 0x40, 0x57, 0xff, 0x82, 0x31, 0xe5, 0x17, 0xe4, 0xea, 0xff, 0x7f, 0x01, 0x00,
|
|
0x00, 0xff, 0xff, 0x09, 0x4c, 0xa0, 0x8a, 0x23, 0x08, 0x01, 0x00,
|
|
}
|
|
|
|
func (m *AWSAuthConfig) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AWSAuthConfig) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *AWSAuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Profile)
|
|
copy(dAtA[i:], m.Profile)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Profile)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.RoleARN)
|
|
copy(dAtA[i:], m.RoleARN)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.RoleARN)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.ClusterName)
|
|
copy(dAtA[i:], m.ClusterName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *AppHealthStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AppHealthStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *AppHealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.LastTransitionTime != nil {
|
|
{
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *AppProject) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AppProject) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *AppProject) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *AppProjectList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AppProjectList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *AppProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *AppProjectSpec) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AppProjectSpec) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *AppProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SourceIntegrity != nil {
|
|
{
|
|
size, err := m.SourceIntegrity.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
}
|
|
if len(m.DestinationServiceAccounts) > 0 {
|
|
for iNdEx := len(m.DestinationServiceAccounts) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.DestinationServiceAccounts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
}
|
|
i--
|
|
if m.PermitOnlyProjectScopedClusters {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x68
|
|
if len(m.SourceNamespaces) > 0 {
|
|
for iNdEx := len(m.SourceNamespaces) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.SourceNamespaces[iNdEx])
|
|
copy(dAtA[i:], m.SourceNamespaces[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SourceNamespaces[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
}
|
|
if len(m.ClusterResourceBlacklist) > 0 {
|
|
for iNdEx := len(m.ClusterResourceBlacklist) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ClusterResourceBlacklist[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
}
|
|
if len(m.SignatureKeys) > 0 {
|
|
for iNdEx := len(m.SignatureKeys) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.SignatureKeys[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
}
|
|
if len(m.NamespaceResourceWhitelist) > 0 {
|
|
for iNdEx := len(m.NamespaceResourceWhitelist) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.NamespaceResourceWhitelist[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
}
|
|
if len(m.SyncWindows) > 0 {
|
|
for iNdEx := len(m.SyncWindows) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.SyncWindows[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
}
|
|
if m.OrphanedResources != nil {
|
|
{
|
|
size, err := m.OrphanedResources.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.NamespaceResourceBlacklist) > 0 {
|
|
for iNdEx := len(m.NamespaceResourceBlacklist) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.NamespaceResourceBlacklist[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
if len(m.ClusterResourceWhitelist) > 0 {
|
|
for iNdEx := len(m.ClusterResourceWhitelist) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ClusterResourceWhitelist[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.Roles) > 0 {
|
|
for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
i -= len(m.Description)
|
|
copy(dAtA[i:], m.Description)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if len(m.Destinations) > 0 {
|
|
for iNdEx := len(m.Destinations) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Destinations[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.SourceRepos) > 0 {
|
|
for iNdEx := len(m.SourceRepos) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.SourceRepos[iNdEx])
|
|
copy(dAtA[i:], m.SourceRepos[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SourceRepos[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *AppProjectStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AppProjectStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *AppProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.JWTTokensByRole) > 0 {
|
|
keysForJWTTokensByRole := make([]string, 0, len(m.JWTTokensByRole))
|
|
for k := range m.JWTTokensByRole {
|
|
keysForJWTTokensByRole = append(keysForJWTTokensByRole, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForJWTTokensByRole)
|
|
for iNdEx := len(keysForJWTTokensByRole) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.JWTTokensByRole[string(keysForJWTTokensByRole[iNdEx])]
|
|
baseI := i
|
|
{
|
|
size, err := (&v).MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForJWTTokensByRole[iNdEx])
|
|
copy(dAtA[i:], keysForJWTTokensByRole[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForJWTTokensByRole[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Application) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Application) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Operation != nil {
|
|
{
|
|
size, err := m.Operation.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
{
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationCondition) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationCondition) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.LastTransitionTime != nil {
|
|
{
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationDestination) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationDestination) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationDestination) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Server)
|
|
copy(dAtA[i:], m.Server)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Server)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationDestinationServiceAccount) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationDestinationServiceAccount) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationDestinationServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.DefaultServiceAccount)
|
|
copy(dAtA[i:], m.DefaultServiceAccount)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DefaultServiceAccount)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Server)
|
|
copy(dAtA[i:], m.Server)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Server)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationMatchExpression) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationMatchExpression) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationMatchExpression) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Values) > 0 {
|
|
for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Values[iNdEx])
|
|
copy(dAtA[i:], m.Values[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Values[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.Operator)
|
|
copy(dAtA[i:], m.Operator)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Key)
|
|
copy(dAtA[i:], m.Key)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationPreservedFields) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationPreservedFields) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationPreservedFields) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Labels) > 0 {
|
|
for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Labels[iNdEx])
|
|
copy(dAtA[i:], m.Labels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Labels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Annotations) > 0 {
|
|
for iNdEx := len(m.Annotations) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Annotations[iNdEx])
|
|
copy(dAtA[i:], m.Annotations[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Annotations[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSet) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSet) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetApplicationStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetApplicationStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetApplicationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.TargetRevisions) > 0 {
|
|
for iNdEx := len(m.TargetRevisions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.TargetRevisions[iNdEx])
|
|
copy(dAtA[i:], m.TargetRevisions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetRevisions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i -= len(m.Step)
|
|
copy(dAtA[i:], m.Step)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Step)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if m.LastTransitionTime != nil {
|
|
{
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(m.Application)
|
|
copy(dAtA[i:], m.Application)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Application)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetCondition) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetCondition) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Reason)
|
|
copy(dAtA[i:], m.Reason)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if m.LastTransitionTime != nil {
|
|
{
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Plugin != nil {
|
|
{
|
|
size, err := m.Plugin.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if m.Selector != nil {
|
|
{
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.Merge != nil {
|
|
{
|
|
size, err := m.Merge.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.Matrix != nil {
|
|
{
|
|
size, err := m.Matrix.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.PullRequest != nil {
|
|
{
|
|
size, err := m.PullRequest.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.ClusterDecisionResource != nil {
|
|
{
|
|
size, err := m.ClusterDecisionResource.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.SCMProvider != nil {
|
|
{
|
|
size, err := m.SCMProvider.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Git != nil {
|
|
{
|
|
size, err := m.Git.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Clusters != nil {
|
|
{
|
|
size, err := m.Clusters.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.List != nil {
|
|
{
|
|
size, err := m.List.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetNestedGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetNestedGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetNestedGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Plugin != nil {
|
|
{
|
|
size, err := m.Plugin.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if m.Selector != nil {
|
|
{
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.Merge != nil {
|
|
{
|
|
size, err := m.Merge.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.Matrix != nil {
|
|
{
|
|
size, err := m.Matrix.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.PullRequest != nil {
|
|
{
|
|
size, err := m.PullRequest.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.ClusterDecisionResource != nil {
|
|
{
|
|
size, err := m.ClusterDecisionResource.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.SCMProvider != nil {
|
|
{
|
|
size, err := m.SCMProvider.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Git != nil {
|
|
{
|
|
size, err := m.Git.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Clusters != nil {
|
|
{
|
|
size, err := m.Clusters.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.List != nil {
|
|
{
|
|
size, err := m.List.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetResourceIgnoreDifferences) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetResourceIgnoreDifferences) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetResourceIgnoreDifferences) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.JQPathExpressions) > 0 {
|
|
for iNdEx := len(m.JQPathExpressions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.JQPathExpressions[iNdEx])
|
|
copy(dAtA[i:], m.JQPathExpressions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.JQPathExpressions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.JSONPointers) > 0 {
|
|
for iNdEx := len(m.JSONPointers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.JSONPointers[iNdEx])
|
|
copy(dAtA[i:], m.JSONPointers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.JSONPointers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStep) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStep) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStep) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.MaxUpdate != nil {
|
|
{
|
|
size, err := m.MaxUpdate.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.MatchExpressions) > 0 {
|
|
for iNdEx := len(m.MatchExpressions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.MatchExpressions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStrategy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStrategy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Steps) > 0 {
|
|
for iNdEx := len(m.Steps) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Steps[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetSpec) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetSpec) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TemplatePatch != nil {
|
|
i -= len(*m.TemplatePatch)
|
|
copy(dAtA[i:], *m.TemplatePatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.TemplatePatch)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.IgnoreApplicationDifferences) > 0 {
|
|
for iNdEx := len(m.IgnoreApplicationDifferences) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.IgnoreApplicationDifferences[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
}
|
|
i--
|
|
if m.ApplyNestedSelectors {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x40
|
|
if len(m.GoTemplateOptions) > 0 {
|
|
for iNdEx := len(m.GoTemplateOptions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.GoTemplateOptions[iNdEx])
|
|
copy(dAtA[i:], m.GoTemplateOptions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GoTemplateOptions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
}
|
|
if m.PreservedFields != nil {
|
|
{
|
|
size, err := m.PreservedFields.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Strategy != nil {
|
|
{
|
|
size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.SyncPolicy != nil {
|
|
{
|
|
size, err := m.SyncPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if len(m.Generators) > 0 {
|
|
for iNdEx := len(m.Generators) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Generators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i--
|
|
if m.GoTemplate {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Health.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ResourcesCount))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
if len(m.Resources) > 0 {
|
|
for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.ApplicationStatus) > 0 {
|
|
for iNdEx := len(m.ApplicationStatus) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ApplicationStatus[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Conditions) > 0 {
|
|
for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetStrategy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetStrategy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.DeletionOrder)
|
|
copy(dAtA[i:], m.DeletionOrder)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DeletionOrder)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if m.RollingSync != nil {
|
|
{
|
|
size, err := m.RollingSync.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetSyncPolicy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetSyncPolicy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetSyncPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ApplicationsSync != nil {
|
|
i -= len(*m.ApplicationsSync)
|
|
copy(dAtA[i:], *m.ApplicationsSync)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ApplicationsSync)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i--
|
|
if m.PreserveResourcesOnDeletion {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetTemplate) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetTemplate) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.ApplicationSetTemplateMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetTemplateMeta) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetTemplateMeta) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetTemplateMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Finalizers) > 0 {
|
|
for iNdEx := len(m.Finalizers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Finalizers[iNdEx])
|
|
copy(dAtA[i:], m.Finalizers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Finalizers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.Annotations) > 0 {
|
|
keysForAnnotations := make([]string, 0, len(m.Annotations))
|
|
for k := range m.Annotations {
|
|
keysForAnnotations = append(keysForAnnotations, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Annotations[string(keysForAnnotations[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForAnnotations[iNdEx])
|
|
copy(dAtA[i:], keysForAnnotations[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
keysForLabels := make([]string, 0, len(m.Labels))
|
|
for k := range m.Labels {
|
|
keysForLabels = append(keysForLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Labels[string(keysForLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForLabels[iNdEx])
|
|
copy(dAtA[i:], keysForLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetTerminalGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetTerminalGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetTerminalGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Selector != nil {
|
|
{
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.Plugin != nil {
|
|
{
|
|
size, err := m.Plugin.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.PullRequest != nil {
|
|
{
|
|
size, err := m.PullRequest.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.ClusterDecisionResource != nil {
|
|
{
|
|
size, err := m.ClusterDecisionResource.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.SCMProvider != nil {
|
|
{
|
|
size, err := m.SCMProvider.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Git != nil {
|
|
{
|
|
size, err := m.Git.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Clusters != nil {
|
|
{
|
|
size, err := m.Clusters.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.List != nil {
|
|
{
|
|
size, err := m.List.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetTree) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetTree) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetTree) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Nodes) > 0 {
|
|
for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSetWatchEvent) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSetWatchEvent) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSetWatchEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.ApplicationSet.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSource) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSource) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.TagPrefix)
|
|
copy(dAtA[i:], m.TagPrefix)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TagPrefix)))
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x72
|
|
i -= len(m.Ref)
|
|
copy(dAtA[i:], m.Ref)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Ref)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
i -= len(m.Chart)
|
|
copy(dAtA[i:], m.Chart)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Chart)))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
if m.Plugin != nil {
|
|
{
|
|
size, err := m.Plugin.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.Directory != nil {
|
|
{
|
|
size, err := m.Directory.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if m.Kustomize != nil {
|
|
{
|
|
size, err := m.Kustomize.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.Helm != nil {
|
|
{
|
|
size, err := m.Helm.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
i -= len(m.TargetRevision)
|
|
copy(dAtA[i:], m.TargetRevision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetRevision)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.RepoURL)
|
|
copy(dAtA[i:], m.RepoURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.RepoURL)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSourceDirectory) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSourceDirectory) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSourceDirectory) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Include)
|
|
copy(dAtA[i:], m.Include)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Include)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Exclude)
|
|
copy(dAtA[i:], m.Exclude)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Exclude)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Jsonnet.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i--
|
|
if m.Recurse {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSourceHelm) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSourceHelm) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSourceHelm) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.SkipSchemaValidation {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x78
|
|
i--
|
|
if m.SkipTests {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x70
|
|
if len(m.APIVersions) > 0 {
|
|
for iNdEx := len(m.APIVersions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.APIVersions[iNdEx])
|
|
copy(dAtA[i:], m.APIVersions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
}
|
|
i -= len(m.KubeVersion)
|
|
copy(dAtA[i:], m.KubeVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeVersion)))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
if m.ValuesObject != nil {
|
|
{
|
|
size, err := m.ValuesObject.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
i--
|
|
if m.SkipCrds {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x48
|
|
i--
|
|
if m.IgnoreMissingValueFiles {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x40
|
|
i--
|
|
if m.PassCredentials {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
if len(m.FileParameters) > 0 {
|
|
for iNdEx := len(m.FileParameters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.FileParameters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
i -= len(m.Values)
|
|
copy(dAtA[i:], m.Values)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Values)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.ReleaseName)
|
|
copy(dAtA[i:], m.ReleaseName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReleaseName)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if len(m.Parameters) > 0 {
|
|
for iNdEx := len(m.Parameters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Parameters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.ValueFiles) > 0 {
|
|
for iNdEx := len(m.ValueFiles) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.ValueFiles[iNdEx])
|
|
copy(dAtA[i:], m.ValueFiles[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ValueFiles[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSourceJsonnet) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSourceJsonnet) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSourceJsonnet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Libs) > 0 {
|
|
for iNdEx := len(m.Libs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Libs[iNdEx])
|
|
copy(dAtA[i:], m.Libs[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Libs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.TLAs) > 0 {
|
|
for iNdEx := len(m.TLAs) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.TLAs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.ExtVars) > 0 {
|
|
for iNdEx := len(m.ExtVars) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ExtVars[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSourceKustomize) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSourceKustomize) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSourceKustomize) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.LabelIncludeTemplates {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x90
|
|
i--
|
|
if m.IgnoreMissingComponents {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x88
|
|
if len(m.APIVersions) > 0 {
|
|
for iNdEx := len(m.APIVersions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.APIVersions[iNdEx])
|
|
copy(dAtA[i:], m.APIVersions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
}
|
|
i -= len(m.KubeVersion)
|
|
copy(dAtA[i:], m.KubeVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeVersion)))
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
i--
|
|
if m.LabelWithoutSelector {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x70
|
|
if len(m.Components) > 0 {
|
|
for iNdEx := len(m.Components) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Components[iNdEx])
|
|
copy(dAtA[i:], m.Components[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Components[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
}
|
|
if len(m.Patches) > 0 {
|
|
for iNdEx := len(m.Patches) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Patches[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
}
|
|
if len(m.Replicas) > 0 {
|
|
for iNdEx := len(m.Replicas) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Replicas[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
}
|
|
i--
|
|
if m.CommonAnnotationsEnvsubst {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x50
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
i--
|
|
if m.ForceCommonAnnotations {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x40
|
|
i--
|
|
if m.ForceCommonLabels {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
if len(m.CommonAnnotations) > 0 {
|
|
keysForCommonAnnotations := make([]string, 0, len(m.CommonAnnotations))
|
|
for k := range m.CommonAnnotations {
|
|
keysForCommonAnnotations = append(keysForCommonAnnotations, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForCommonAnnotations)
|
|
for iNdEx := len(keysForCommonAnnotations) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.CommonAnnotations[string(keysForCommonAnnotations[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForCommonAnnotations[iNdEx])
|
|
copy(dAtA[i:], keysForCommonAnnotations[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForCommonAnnotations[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
if len(m.CommonLabels) > 0 {
|
|
keysForCommonLabels := make([]string, 0, len(m.CommonLabels))
|
|
for k := range m.CommonLabels {
|
|
keysForCommonLabels = append(keysForCommonLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForCommonLabels)
|
|
for iNdEx := len(keysForCommonLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.CommonLabels[string(keysForCommonLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForCommonLabels[iNdEx])
|
|
copy(dAtA[i:], keysForCommonLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForCommonLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if len(m.Images) > 0 {
|
|
for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Images[iNdEx])
|
|
copy(dAtA[i:], m.Images[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Images[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.NameSuffix)
|
|
copy(dAtA[i:], m.NameSuffix)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.NameSuffix)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.NamePrefix)
|
|
copy(dAtA[i:], m.NamePrefix)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.NamePrefix)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSourcePlugin) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSourcePlugin) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSourcePlugin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Parameters) > 0 {
|
|
for iNdEx := len(m.Parameters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Parameters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.Env) > 0 {
|
|
for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Env[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSourcePluginParameter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSourcePluginParameter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSourcePluginParameter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.String_ != nil {
|
|
i -= len(*m.String_)
|
|
copy(dAtA[i:], *m.String_)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.String_)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.OptionalArray != nil {
|
|
{
|
|
size, err := m.OptionalArray.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.OptionalMap != nil {
|
|
{
|
|
size, err := m.OptionalMap.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSpec) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSpec) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SourceHydrator != nil {
|
|
{
|
|
size, err := m.SourceHydrator.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for iNdEx := len(m.Sources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Sources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
}
|
|
if m.RevisionHistoryLimit != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if len(m.Info) > 0 {
|
|
for iNdEx := len(m.Info) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Info[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
if len(m.IgnoreDifferences) > 0 {
|
|
for iNdEx := len(m.IgnoreDifferences) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.IgnoreDifferences[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if m.SyncPolicy != nil {
|
|
{
|
|
size, err := m.SyncPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Destination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if m.Source != nil {
|
|
{
|
|
size, err := m.Source.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.SourceHydrator.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x72
|
|
i -= len(m.ControllerNamespace)
|
|
copy(dAtA[i:], m.ControllerNamespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ControllerNamespace)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
if len(m.SourceTypes) > 0 {
|
|
for iNdEx := len(m.SourceTypes) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.SourceTypes[iNdEx])
|
|
copy(dAtA[i:], m.SourceTypes[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SourceTypes[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
}
|
|
i -= len(m.ResourceHealthSource)
|
|
copy(dAtA[i:], m.ResourceHealthSource)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceHealthSource)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
{
|
|
size, err := m.Summary.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
i -= len(m.SourceType)
|
|
copy(dAtA[i:], m.SourceType)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SourceType)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
if m.ObservedAt != nil {
|
|
{
|
|
size, err := m.ObservedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.OperationState != nil {
|
|
{
|
|
size, err := m.OperationState.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.ReconciledAt != nil {
|
|
{
|
|
size, err := m.ReconciledAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.Conditions) > 0 {
|
|
for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.History) > 0 {
|
|
for iNdEx := len(m.History) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.History[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Health.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Sync.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if len(m.Resources) > 0 {
|
|
for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationSummary) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSummary) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationSummary) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.IsAppOfApps {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
if len(m.Images) > 0 {
|
|
for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Images[iNdEx])
|
|
copy(dAtA[i:], m.Images[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Images[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.ExternalURLs) > 0 {
|
|
for iNdEx := len(m.ExternalURLs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.ExternalURLs[iNdEx])
|
|
copy(dAtA[i:], m.ExternalURLs[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalURLs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationTree) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationTree) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationTree) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ShardsCount))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
if len(m.Hosts) > 0 {
|
|
for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Hosts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.OrphanedNodes) > 0 {
|
|
for iNdEx := len(m.OrphanedNodes) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.OrphanedNodes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Nodes) > 0 {
|
|
for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ApplicationWatchEvent) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationWatchEvent) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ApplicationWatchEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Application.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Backoff) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Backoff) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Backoff) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.MaxDuration)
|
|
copy(dAtA[i:], m.MaxDuration)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.MaxDuration)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if m.Factor != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.Factor))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
i -= len(m.Duration)
|
|
copy(dAtA[i:], m.Duration)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Duration)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *BasicAuthBitbucketServer) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *BasicAuthBitbucketServer) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *BasicAuthBitbucketServer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.PasswordRef != nil {
|
|
{
|
|
size, err := m.PasswordRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(m.Username)
|
|
copy(dAtA[i:], m.Username)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Username)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *BearerTokenBitbucket) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *BearerTokenBitbucket) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *BearerTokenBitbucket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *BearerTokenBitbucketCloud) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *BearerTokenBitbucketCloud) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *BearerTokenBitbucketCloud) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ChartDetails) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ChartDetails) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ChartDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Maintainers) > 0 {
|
|
for iNdEx := len(m.Maintainers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Maintainers[iNdEx])
|
|
copy(dAtA[i:], m.Maintainers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Maintainers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.Home)
|
|
copy(dAtA[i:], m.Home)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Home)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Description)
|
|
copy(dAtA[i:], m.Description)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Cluster) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Cluster) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Annotations) > 0 {
|
|
keysForAnnotations := make([]string, 0, len(m.Annotations))
|
|
for k := range m.Annotations {
|
|
keysForAnnotations = append(keysForAnnotations, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Annotations[string(keysForAnnotations[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForAnnotations[iNdEx])
|
|
copy(dAtA[i:], keysForAnnotations[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
keysForLabels := make([]string, 0, len(m.Labels))
|
|
for k := range m.Labels {
|
|
keysForLabels = append(keysForLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Labels[string(keysForLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForLabels[iNdEx])
|
|
copy(dAtA[i:], keysForLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
}
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
i--
|
|
if m.ClusterResources {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x50
|
|
if m.Shard != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.Shard))
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
{
|
|
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
if m.RefreshRequestedAt != nil {
|
|
{
|
|
size, err := m.RefreshRequestedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.Namespaces) > 0 {
|
|
for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Namespaces[iNdEx])
|
|
copy(dAtA[i:], m.Namespaces[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespaces[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i -= len(m.ServerVersion)
|
|
copy(dAtA[i:], m.ServerVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerVersion)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
{
|
|
size, err := m.ConnectionState.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
{
|
|
size, err := m.Config.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Server)
|
|
copy(dAtA[i:], m.Server)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Server)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ClusterCacheInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ClusterCacheInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ClusterCacheInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.LastCacheSyncTime != nil {
|
|
{
|
|
size, err := m.LastCacheSyncTime.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.APIsCount))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ResourcesCount))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ClusterConfig) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ClusterConfig) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ClusterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.ProxyUrl)
|
|
copy(dAtA[i:], m.ProxyUrl)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProxyUrl)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
i--
|
|
if m.DisableCompression {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
if m.ExecProviderConfig != nil {
|
|
{
|
|
size, err := m.ExecProviderConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.AWSAuthConfig != nil {
|
|
{
|
|
size, err := m.AWSAuthConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
{
|
|
size, err := m.TLSClientConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.BearerToken)
|
|
copy(dAtA[i:], m.BearerToken)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.BearerToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Password)
|
|
copy(dAtA[i:], m.Password)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Password)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Username)
|
|
copy(dAtA[i:], m.Username)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Username)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ClusterGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ClusterGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ClusterGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.FlatList {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
if len(m.Values) > 0 {
|
|
keysForValues := make([]string, 0, len(m.Values))
|
|
for k := range m.Values {
|
|
keysForValues = append(keysForValues, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
for iNdEx := len(keysForValues) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Values[string(keysForValues[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForValues[iNdEx])
|
|
copy(dAtA[i:], keysForValues[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForValues[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ClusterInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ClusterInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ClusterInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.APIVersions) > 0 {
|
|
for iNdEx := len(m.APIVersions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.APIVersions[iNdEx])
|
|
copy(dAtA[i:], m.APIVersions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ApplicationsCount))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
{
|
|
size, err := m.CacheInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.ServerVersion)
|
|
copy(dAtA[i:], m.ServerVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerVersion)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.ConnectionState.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ClusterList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ClusterList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ClusterList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ClusterResourceRestrictionItem) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ClusterResourceRestrictionItem) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ClusterResourceRestrictionItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Command) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Command) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Args) > 0 {
|
|
for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Args[iNdEx])
|
|
copy(dAtA[i:], m.Args[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Args[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Command) > 0 {
|
|
for iNdEx := len(m.Command) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Command[iNdEx])
|
|
copy(dAtA[i:], m.Command[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Command[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CommitMetadata) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CommitMetadata) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CommitMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.RepoURL)
|
|
copy(dAtA[i:], m.RepoURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.RepoURL)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.SHA)
|
|
copy(dAtA[i:], m.SHA)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SHA)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Body)
|
|
copy(dAtA[i:], m.Body)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Body)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Subject)
|
|
copy(dAtA[i:], m.Subject)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subject)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Date)
|
|
copy(dAtA[i:], m.Date)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Date)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Author)
|
|
copy(dAtA[i:], m.Author)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Author)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ComparedTo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ComparedTo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ComparedTo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.IgnoreDifferences) > 0 {
|
|
for iNdEx := len(m.IgnoreDifferences) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.IgnoreDifferences[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for iNdEx := len(m.Sources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Sources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Destination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.Source.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ComponentParameter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ComponentParameter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ComponentParameter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Component)
|
|
copy(dAtA[i:], m.Component)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Component)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ConfigManagementPlugin) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ConfigManagementPlugin) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ConfigManagementPlugin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.LockRepo {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
{
|
|
size, err := m.Generate.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if m.Init != nil {
|
|
{
|
|
size, err := m.Init.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ConfigMapKeyRef) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ConfigMapKeyRef) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ConfigMapKeyRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Key)
|
|
copy(dAtA[i:], m.Key)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.ConfigMapName)
|
|
copy(dAtA[i:], m.ConfigMapName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ConfigMapName)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ConnectionState) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ConnectionState) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ConnectionState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ModifiedAt != nil {
|
|
{
|
|
size, err := m.ModifiedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DrySource) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *DrySource) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DrySource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Plugin != nil {
|
|
{
|
|
size, err := m.Plugin.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.Directory != nil {
|
|
{
|
|
size, err := m.Directory.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Kustomize != nil {
|
|
{
|
|
size, err := m.Kustomize.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.Helm != nil {
|
|
{
|
|
size, err := m.Helm.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.TargetRevision)
|
|
copy(dAtA[i:], m.TargetRevision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetRevision)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.RepoURL)
|
|
copy(dAtA[i:], m.RepoURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.RepoURL)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DuckTypeGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *DuckTypeGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DuckTypeGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Values) > 0 {
|
|
keysForValues := make([]string, 0, len(m.Values))
|
|
for k := range m.Values {
|
|
keysForValues = append(keysForValues, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
for iNdEx := len(keysForValues) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Values[string(keysForValues[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForValues[iNdEx])
|
|
copy(dAtA[i:], keysForValues[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForValues[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
{
|
|
size, err := m.LabelSelector.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if m.RequeueAfterSeconds != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RequeueAfterSeconds))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.ConfigMapRef)
|
|
copy(dAtA[i:], m.ConfigMapRef)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ConfigMapRef)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *EnvEntry) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *EnvEntry) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *EnvEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ExecProviderConfig) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ExecProviderConfig) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ExecProviderConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Config != nil {
|
|
{
|
|
size, err := m.Config.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
i--
|
|
if m.ProvideClusterInfo {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
i -= len(m.InstallHint)
|
|
copy(dAtA[i:], m.InstallHint)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.InstallHint)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.APIVersion)
|
|
copy(dAtA[i:], m.APIVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if len(m.Env) > 0 {
|
|
keysForEnv := make([]string, 0, len(m.Env))
|
|
for k := range m.Env {
|
|
keysForEnv = append(keysForEnv, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForEnv)
|
|
for iNdEx := len(keysForEnv) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Env[string(keysForEnv[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForEnv[iNdEx])
|
|
copy(dAtA[i:], keysForEnv[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForEnv[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.Args) > 0 {
|
|
for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Args[iNdEx])
|
|
copy(dAtA[i:], m.Args[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Args[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.Command)
|
|
copy(dAtA[i:], m.Command)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Command)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GitDirectoryGeneratorItem) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GitDirectoryGeneratorItem) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GitDirectoryGeneratorItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Exclude {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GitFileGeneratorItem) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GitFileGeneratorItem) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GitFileGeneratorItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Exclude {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GitGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GitGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GitGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Values) > 0 {
|
|
keysForValues := make([]string, 0, len(m.Values))
|
|
for k := range m.Values {
|
|
keysForValues = append(keysForValues, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
for iNdEx := len(keysForValues) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Values[string(keysForValues[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForValues[iNdEx])
|
|
copy(dAtA[i:], keysForValues[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForValues[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
}
|
|
i -= len(m.PathParamPrefix)
|
|
copy(dAtA[i:], m.PathParamPrefix)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathParamPrefix)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
if m.RequeueAfterSeconds != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RequeueAfterSeconds))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
i -= len(m.Revision)
|
|
copy(dAtA[i:], m.Revision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if len(m.Files) > 0 {
|
|
for iNdEx := len(m.Files) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Files[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.Directories) > 0 {
|
|
for iNdEx := len(m.Directories) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Directories[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.RepoURL)
|
|
copy(dAtA[i:], m.RepoURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.RepoURL)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GnuPGPublicKey) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GnuPGPublicKey) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GnuPGPublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.KeyData)
|
|
copy(dAtA[i:], m.KeyData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.KeyData)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.SubType)
|
|
copy(dAtA[i:], m.SubType)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SubType)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Trust)
|
|
copy(dAtA[i:], m.Trust)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Trust)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Fingerprint)
|
|
copy(dAtA[i:], m.Fingerprint)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Fingerprint)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.KeyID)
|
|
copy(dAtA[i:], m.KeyID)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.KeyID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GnuPGPublicKeyList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GnuPGPublicKeyList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GnuPGPublicKeyList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HealthStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HealthStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.LastTransitionTime != nil {
|
|
{
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HelmFileParameter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HelmFileParameter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HelmFileParameter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HelmOptions) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HelmOptions) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HelmOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ValuesFileSchemes) > 0 {
|
|
for iNdEx := len(m.ValuesFileSchemes) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.ValuesFileSchemes[iNdEx])
|
|
copy(dAtA[i:], m.ValuesFileSchemes[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ValuesFileSchemes[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HelmParameter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HelmParameter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HelmParameter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.ForceString {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HostInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HostInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HostInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Labels) > 0 {
|
|
keysForLabels := make([]string, 0, len(m.Labels))
|
|
for k := range m.Labels {
|
|
keysForLabels = append(keysForLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Labels[string(keysForLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForLabels[iNdEx])
|
|
copy(dAtA[i:], keysForLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
{
|
|
size, err := m.SystemInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if len(m.ResourcesInfo) > 0 {
|
|
for iNdEx := len(m.ResourcesInfo) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ResourcesInfo[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HostResourceInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HostResourceInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HostResourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Capacity))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.RequestedByNeighbors))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.RequestedByApp))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(m.ResourceName)
|
|
copy(dAtA[i:], m.ResourceName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceName)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HydrateOperation) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HydrateOperation) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HydrateOperation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.SourceHydrator.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.HydratedSHA)
|
|
copy(dAtA[i:], m.HydratedSHA)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.HydratedSHA)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.DrySHA)
|
|
copy(dAtA[i:], m.DrySHA)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DrySHA)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Phase)
|
|
copy(dAtA[i:], m.Phase)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if m.FinishedAt != nil {
|
|
{
|
|
size, err := m.FinishedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
{
|
|
size, err := m.StartedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *HydrateTo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *HydrateTo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *HydrateTo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.TargetBranch)
|
|
copy(dAtA[i:], m.TargetBranch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetBranch)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Info) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Info) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Info) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *InfoItem) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *InfoItem) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *InfoItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *JWTToken) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *JWTToken) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *JWTToken) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.ID)
|
|
copy(dAtA[i:], m.ID)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ID)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ExpiresAt))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.IssuedAt))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *JWTTokens) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *JWTTokens) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *JWTTokens) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *JsonnetVar) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *JsonnetVar) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *JsonnetVar) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Code {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KnownTypeField) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KnownTypeField) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KnownTypeField) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Field)
|
|
copy(dAtA[i:], m.Field)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizeGvk) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizeGvk) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizeGvk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizeOptions) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizeOptions) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizeOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Versions) > 0 {
|
|
for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Versions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.BinaryPath)
|
|
copy(dAtA[i:], m.BinaryPath)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.BinaryPath)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.BuildOptions)
|
|
copy(dAtA[i:], m.BuildOptions)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.BuildOptions)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizePatch) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizePatch) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizePatch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Options) > 0 {
|
|
keysForOptions := make([]string, 0, len(m.Options))
|
|
for k := range m.Options {
|
|
keysForOptions = append(keysForOptions, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
|
|
for iNdEx := len(keysForOptions) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Options[string(keysForOptions[iNdEx])]
|
|
baseI := i
|
|
i--
|
|
if v {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(keysForOptions[iNdEx])
|
|
copy(dAtA[i:], keysForOptions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForOptions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if m.Target != nil {
|
|
{
|
|
size, err := m.Target.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.Patch)
|
|
copy(dAtA[i:], m.Patch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Patch)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizeReplica) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizeReplica) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizeReplica) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Count.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizeResId) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizeResId) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizeResId) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.KustomizeGvk.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizeSelector) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizeSelector) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizeSelector) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.LabelSelector)
|
|
copy(dAtA[i:], m.LabelSelector)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.AnnotationSelector)
|
|
copy(dAtA[i:], m.AnnotationSelector)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AnnotationSelector)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.KustomizeResId.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KustomizeVersion) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KustomizeVersion) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KustomizeVersion) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.BuildOptions)
|
|
copy(dAtA[i:], m.BuildOptions)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.BuildOptions)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ListGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.ElementsYaml)
|
|
copy(dAtA[i:], m.ElementsYaml)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ElementsYaml)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if len(m.Elements) > 0 {
|
|
for iNdEx := len(m.Elements) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Elements[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ManagedNamespaceMetadata) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ManagedNamespaceMetadata) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ManagedNamespaceMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Annotations) > 0 {
|
|
keysForAnnotations := make([]string, 0, len(m.Annotations))
|
|
for k := range m.Annotations {
|
|
keysForAnnotations = append(keysForAnnotations, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Annotations[string(keysForAnnotations[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForAnnotations[iNdEx])
|
|
copy(dAtA[i:], keysForAnnotations[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
keysForLabels := make([]string, 0, len(m.Labels))
|
|
for k := range m.Labels {
|
|
keysForLabels = append(keysForLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Labels[string(keysForLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForLabels[iNdEx])
|
|
copy(dAtA[i:], keysForLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *MatrixGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *MatrixGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *MatrixGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if len(m.Generators) > 0 {
|
|
for iNdEx := len(m.Generators) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Generators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *MergeGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *MergeGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *MergeGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if len(m.MergeKeys) > 0 {
|
|
for iNdEx := len(m.MergeKeys) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.MergeKeys[iNdEx])
|
|
copy(dAtA[i:], m.MergeKeys[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.MergeKeys[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Generators) > 0 {
|
|
for iNdEx := len(m.Generators) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Generators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *NestedMatrixGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *NestedMatrixGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *NestedMatrixGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Generators) > 0 {
|
|
for iNdEx := len(m.Generators) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Generators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *NestedMergeGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *NestedMergeGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *NestedMergeGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.MergeKeys) > 0 {
|
|
for iNdEx := len(m.MergeKeys) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.MergeKeys[iNdEx])
|
|
copy(dAtA[i:], m.MergeKeys[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.MergeKeys[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.Generators) > 0 {
|
|
for iNdEx := len(m.Generators) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Generators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OCIMetadata) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OCIMetadata) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OCIMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Description)
|
|
copy(dAtA[i:], m.Description)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.SourceURL)
|
|
copy(dAtA[i:], m.SourceURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SourceURL)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.DocsURL)
|
|
copy(dAtA[i:], m.DocsURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DocsURL)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.ImageURL)
|
|
copy(dAtA[i:], m.ImageURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ImageURL)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Authors)
|
|
copy(dAtA[i:], m.Authors)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Authors)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.CreatedAt)
|
|
copy(dAtA[i:], m.CreatedAt)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CreatedAt)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Operation) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Operation) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Operation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.Retry.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if len(m.Info) > 0 {
|
|
for iNdEx := len(m.Info) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Info[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
{
|
|
size, err := m.InitiatedBy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if m.Sync != nil {
|
|
{
|
|
size, err := m.Sync.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OperationInitiator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OperationInitiator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OperationInitiator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Automated {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(m.Username)
|
|
copy(dAtA[i:], m.Username)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Username)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OperationState) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OperationState) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OperationState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.RetryCount))
|
|
i--
|
|
dAtA[i] = 0x40
|
|
if m.FinishedAt != nil {
|
|
{
|
|
size, err := m.FinishedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
{
|
|
size, err := m.StartedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
if m.SyncResult != nil {
|
|
{
|
|
size, err := m.SyncResult.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Phase)
|
|
copy(dAtA[i:], m.Phase)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.Operation.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OptionalArray) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OptionalArray) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OptionalArray) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Array) > 0 {
|
|
for iNdEx := len(m.Array) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Array[iNdEx])
|
|
copy(dAtA[i:], m.Array[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Array[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OptionalMap) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OptionalMap) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OptionalMap) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Map) > 0 {
|
|
keysForMap := make([]string, 0, len(m.Map))
|
|
for k := range m.Map {
|
|
keysForMap = append(keysForMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMap)
|
|
for iNdEx := len(keysForMap) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Map[string(keysForMap[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForMap[iNdEx])
|
|
copy(dAtA[i:], keysForMap[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForMap[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OrphanedResourceKey) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OrphanedResourceKey) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OrphanedResourceKey) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OrphanedResourcesMonitorSettings) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OrphanedResourcesMonitorSettings) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OrphanedResourcesMonitorSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Ignore) > 0 {
|
|
for iNdEx := len(m.Ignore) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Ignore[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Warn != nil {
|
|
i--
|
|
if *m.Warn {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *OverrideIgnoreDiff) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OverrideIgnoreDiff) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *OverrideIgnoreDiff) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ManagedFieldsManagers) > 0 {
|
|
for iNdEx := len(m.ManagedFieldsManagers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.ManagedFieldsManagers[iNdEx])
|
|
copy(dAtA[i:], m.ManagedFieldsManagers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ManagedFieldsManagers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.JQPathExpressions) > 0 {
|
|
for iNdEx := len(m.JQPathExpressions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.JQPathExpressions[iNdEx])
|
|
copy(dAtA[i:], m.JQPathExpressions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.JQPathExpressions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.JSONPointers) > 0 {
|
|
for iNdEx := len(m.JSONPointers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.JSONPointers[iNdEx])
|
|
copy(dAtA[i:], m.JSONPointers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.JSONPointers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PluginConfigMapRef) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PluginConfigMapRef) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PluginConfigMapRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PluginGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PluginGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PluginGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Values) > 0 {
|
|
keysForValues := make([]string, 0, len(m.Values))
|
|
for k := range m.Values {
|
|
keysForValues = append(keysForValues, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
for iNdEx := len(keysForValues) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Values[string(keysForValues[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForValues[iNdEx])
|
|
copy(dAtA[i:], keysForValues[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForValues[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if m.RequeueAfterSeconds != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RequeueAfterSeconds))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.ConfigMapRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PluginInput) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PluginInput) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PluginInput) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Parameters) > 0 {
|
|
keysForParameters := make([]string, 0, len(m.Parameters))
|
|
for k := range m.Parameters {
|
|
keysForParameters = append(keysForParameters, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForParameters)
|
|
for iNdEx := len(keysForParameters) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Parameters[string(keysForParameters[iNdEx])]
|
|
baseI := i
|
|
{
|
|
size, err := (&v).MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForParameters[iNdEx])
|
|
copy(dAtA[i:], keysForParameters[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForParameters[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ProjectRole) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ProjectRole) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ProjectRole) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Groups) > 0 {
|
|
for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Groups[iNdEx])
|
|
copy(dAtA[i:], m.Groups[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Groups[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.JWTTokens) > 0 {
|
|
for iNdEx := len(m.JWTTokens) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.JWTTokens[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if len(m.Policies) > 0 {
|
|
for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Policies[iNdEx])
|
|
copy(dAtA[i:], m.Policies[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Policies[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.Description)
|
|
copy(dAtA[i:], m.Description)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.ContinueOnRepoNotFoundError {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x58
|
|
if len(m.Values) > 0 {
|
|
keysForValues := make([]string, 0, len(m.Values))
|
|
for k := range m.Values {
|
|
keysForValues = append(keysForValues, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
for iNdEx := len(keysForValues) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Values[string(keysForValues[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForValues[iNdEx])
|
|
copy(dAtA[i:], keysForValues[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForValues[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
}
|
|
if m.AzureDevOps != nil {
|
|
{
|
|
size, err := m.AzureDevOps.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.Bitbucket != nil {
|
|
{
|
|
size, err := m.Bitbucket.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
if m.RequeueAfterSeconds != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RequeueAfterSeconds))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if len(m.Filters) > 0 {
|
|
for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Filters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if m.BitbucketServer != nil {
|
|
{
|
|
size, err := m.BitbucketServer.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Gitea != nil {
|
|
{
|
|
size, err := m.Gitea.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.GitLab != nil {
|
|
{
|
|
size, err := m.GitLab.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Github != nil {
|
|
{
|
|
size, err := m.Github.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorAzureDevOps) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorAzureDevOps) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorAzureDevOps) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Labels) > 0 {
|
|
for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Labels[iNdEx])
|
|
copy(dAtA[i:], m.Labels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Labels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Repo)
|
|
copy(dAtA[i:], m.Repo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repo)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Organization)
|
|
copy(dAtA[i:], m.Organization)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Organization)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucket) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucket) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.BearerToken != nil {
|
|
{
|
|
size, err := m.BearerToken.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.BasicAuth != nil {
|
|
{
|
|
size, err := m.BasicAuth.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Repo)
|
|
copy(dAtA[i:], m.Repo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repo)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucketServer) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucketServer) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucketServer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CARef != nil {
|
|
{
|
|
size, err := m.CARef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
if m.BearerToken != nil {
|
|
{
|
|
size, err := m.BearerToken.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.BasicAuth != nil {
|
|
{
|
|
size, err := m.BasicAuth.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Repo)
|
|
copy(dAtA[i:], m.Repo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repo)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorFilter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TitleMatch != nil {
|
|
i -= len(*m.TitleMatch)
|
|
copy(dAtA[i:], *m.TitleMatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.TitleMatch)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.TargetBranchMatch != nil {
|
|
i -= len(*m.TargetBranchMatch)
|
|
copy(dAtA[i:], *m.TargetBranchMatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.TargetBranchMatch)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.BranchMatch != nil {
|
|
i -= len(*m.BranchMatch)
|
|
copy(dAtA[i:], *m.BranchMatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.BranchMatch)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitLab) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitLab) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitLab) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CARef != nil {
|
|
{
|
|
size, err := m.CARef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
i -= len(m.PullRequestState)
|
|
copy(dAtA[i:], m.PullRequestState)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PullRequestState)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
if len(m.Labels) > 0 {
|
|
for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Labels[iNdEx])
|
|
copy(dAtA[i:], m.Labels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Labels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitea) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitea) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitea) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Labels) > 0 {
|
|
for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Labels[iNdEx])
|
|
copy(dAtA[i:], m.Labels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Labels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Repo)
|
|
copy(dAtA[i:], m.Repo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repo)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGithub) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGithub) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGithub) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Labels) > 0 {
|
|
for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Labels[iNdEx])
|
|
copy(dAtA[i:], m.Labels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Labels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i -= len(m.AppSecretName)
|
|
copy(dAtA[i:], m.AppSecretName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AppSecretName)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Repo)
|
|
copy(dAtA[i:], m.Repo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repo)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RefTarget) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RefTarget) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RefTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Chart)
|
|
copy(dAtA[i:], m.Chart)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Chart)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.TargetRevision)
|
|
copy(dAtA[i:], m.TargetRevision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetRevision)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RepoCreds) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RepoCreds) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RepoCreds) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.AzureActiveDirectoryEndpoint)
|
|
copy(dAtA[i:], m.AzureActiveDirectoryEndpoint)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureActiveDirectoryEndpoint)))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x82
|
|
i -= len(m.AzureServicePrincipalTenantId)
|
|
copy(dAtA[i:], m.AzureServicePrincipalTenantId)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureServicePrincipalTenantId)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xfa
|
|
i -= len(m.AzureServicePrincipalClientSecret)
|
|
copy(dAtA[i:], m.AzureServicePrincipalClientSecret)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureServicePrincipalClientSecret)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xf2
|
|
i -= len(m.AzureServicePrincipalClientId)
|
|
copy(dAtA[i:], m.AzureServicePrincipalClientId)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureServicePrincipalClientId)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xea
|
|
i--
|
|
if m.InsecureOCIForceHttp {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xd0
|
|
i -= len(m.BearerToken)
|
|
copy(dAtA[i:], m.BearerToken)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.BearerToken)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xca
|
|
i--
|
|
if m.UseAzureWorkloadIdentity {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xc0
|
|
i -= len(m.NoProxy)
|
|
copy(dAtA[i:], m.NoProxy)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.NoProxy)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xba
|
|
i--
|
|
if m.ForceHttpBasicAuth {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xa0
|
|
i -= len(m.Proxy)
|
|
copy(dAtA[i:], m.Proxy)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Proxy)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x9a
|
|
i -= len(m.GCPServiceAccountKey)
|
|
copy(dAtA[i:], m.GCPServiceAccountKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GCPServiceAccountKey)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
i--
|
|
if m.EnableOCI {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x58
|
|
i -= len(m.GitHubAppEnterpriseBaseURL)
|
|
copy(dAtA[i:], m.GitHubAppEnterpriseBaseURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GitHubAppEnterpriseBaseURL)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.GithubAppInstallationId))
|
|
i--
|
|
dAtA[i] = 0x48
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.GithubAppId))
|
|
i--
|
|
dAtA[i] = 0x40
|
|
i -= len(m.GithubAppPrivateKey)
|
|
copy(dAtA[i:], m.GithubAppPrivateKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GithubAppPrivateKey)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.TLSClientCertKey)
|
|
copy(dAtA[i:], m.TLSClientCertKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TLSClientCertKey)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.TLSClientCertData)
|
|
copy(dAtA[i:], m.TLSClientCertData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TLSClientCertData)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.SSHPrivateKey)
|
|
copy(dAtA[i:], m.SSHPrivateKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SSHPrivateKey)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Password)
|
|
copy(dAtA[i:], m.Password)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Password)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Username)
|
|
copy(dAtA[i:], m.Username)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Username)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.URL)
|
|
copy(dAtA[i:], m.URL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.URL)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RepoCredsList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RepoCredsList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RepoCredsList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Repository) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Repository) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Repository) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.AzureActiveDirectoryEndpoint)
|
|
copy(dAtA[i:], m.AzureActiveDirectoryEndpoint)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureActiveDirectoryEndpoint)))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x82
|
|
i -= len(m.AzureServicePrincipalTenantId)
|
|
copy(dAtA[i:], m.AzureServicePrincipalTenantId)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureServicePrincipalTenantId)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xfa
|
|
i -= len(m.AzureServicePrincipalClientSecret)
|
|
copy(dAtA[i:], m.AzureServicePrincipalClientSecret)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureServicePrincipalClientSecret)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xf2
|
|
i -= len(m.AzureServicePrincipalClientId)
|
|
copy(dAtA[i:], m.AzureServicePrincipalClientId)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AzureServicePrincipalClientId)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xea
|
|
i--
|
|
if m.WebhookManifestCacheWarmDisabled {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xe0
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Depth))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xd8
|
|
i--
|
|
if m.InsecureOCIForceHttp {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xd0
|
|
i -= len(m.BearerToken)
|
|
copy(dAtA[i:], m.BearerToken)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.BearerToken)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xca
|
|
i--
|
|
if m.UseAzureWorkloadIdentity {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xc0
|
|
i -= len(m.NoProxy)
|
|
copy(dAtA[i:], m.NoProxy)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.NoProxy)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xba
|
|
i--
|
|
if m.ForceHttpBasicAuth {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xb0
|
|
i -= len(m.GCPServiceAccountKey)
|
|
copy(dAtA[i:], m.GCPServiceAccountKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GCPServiceAccountKey)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xaa
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xa2
|
|
i -= len(m.Proxy)
|
|
copy(dAtA[i:], m.Proxy)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Proxy)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x9a
|
|
i -= len(m.GitHubAppEnterpriseBaseURL)
|
|
copy(dAtA[i:], m.GitHubAppEnterpriseBaseURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GitHubAppEnterpriseBaseURL)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x92
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.GithubAppInstallationId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x88
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.GithubAppId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x80
|
|
i -= len(m.GithubAppPrivateKey)
|
|
copy(dAtA[i:], m.GithubAppPrivateKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GithubAppPrivateKey)))
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
i--
|
|
if m.EnableOCI {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x70
|
|
i--
|
|
if m.InheritedCreds {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x68
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
i -= len(m.Type)
|
|
copy(dAtA[i:], m.Type)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
i -= len(m.TLSClientCertKey)
|
|
copy(dAtA[i:], m.TLSClientCertKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TLSClientCertKey)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
i -= len(m.TLSClientCertData)
|
|
copy(dAtA[i:], m.TLSClientCertData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TLSClientCertData)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
i--
|
|
if m.EnableLFS {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x40
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
i--
|
|
if m.InsecureIgnoreHostKey {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
{
|
|
size, err := m.ConnectionState.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.SSHPrivateKey)
|
|
copy(dAtA[i:], m.SSHPrivateKey)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SSHPrivateKey)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Password)
|
|
copy(dAtA[i:], m.Password)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Password)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Username)
|
|
copy(dAtA[i:], m.Username)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Username)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Repo)
|
|
copy(dAtA[i:], m.Repo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repo)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RepositoryCertificate) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RepositoryCertificate) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RepositoryCertificate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.CertInfo)
|
|
copy(dAtA[i:], m.CertInfo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CertInfo)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
if m.CertData != nil {
|
|
i -= len(m.CertData)
|
|
copy(dAtA[i:], m.CertData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CertData)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.CertSubType)
|
|
copy(dAtA[i:], m.CertSubType)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CertSubType)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.CertType)
|
|
copy(dAtA[i:], m.CertType)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CertType)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.ServerName)
|
|
copy(dAtA[i:], m.ServerName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerName)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RepositoryCertificateList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RepositoryCertificateList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RepositoryCertificateList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RepositoryList) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RepositoryList) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RepositoryList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceAction) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceAction) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceAction) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.DisplayName)
|
|
copy(dAtA[i:], m.DisplayName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DisplayName)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.IconClass)
|
|
copy(dAtA[i:], m.IconClass)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.IconClass)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i--
|
|
if m.Disabled {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
if len(m.Params) > 0 {
|
|
for iNdEx := len(m.Params) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Params[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceActionDefinition) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceActionDefinition) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceActionDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.ActionLua)
|
|
copy(dAtA[i:], m.ActionLua)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ActionLua)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceActionParam) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceActionParam) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceActionParam) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceActions) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceActions) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceActions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.MergeBuiltinActions {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
if len(m.Definitions) > 0 {
|
|
for iNdEx := len(m.Definitions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Definitions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.ActionDiscoveryLua)
|
|
copy(dAtA[i:], m.ActionDiscoveryLua)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ActionDiscoveryLua)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceDiff) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceDiff) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceDiff) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Modified {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x60
|
|
i -= len(m.ResourceVersion)
|
|
copy(dAtA[i:], m.ResourceVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
i -= len(m.PredictedLiveState)
|
|
copy(dAtA[i:], m.PredictedLiveState)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PredictedLiveState)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
i -= len(m.NormalizedLiveState)
|
|
copy(dAtA[i:], m.NormalizedLiveState)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.NormalizedLiveState)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
i--
|
|
if m.Hook {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x40
|
|
i -= len(m.Diff)
|
|
copy(dAtA[i:], m.Diff)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Diff)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.LiveState)
|
|
copy(dAtA[i:], m.LiveState)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.LiveState)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.TargetState)
|
|
copy(dAtA[i:], m.TargetState)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetState)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceIgnoreDifferences) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceIgnoreDifferences) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceIgnoreDifferences) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ManagedFieldsManagers) > 0 {
|
|
for iNdEx := len(m.ManagedFieldsManagers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.ManagedFieldsManagers[iNdEx])
|
|
copy(dAtA[i:], m.ManagedFieldsManagers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ManagedFieldsManagers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
}
|
|
if len(m.JQPathExpressions) > 0 {
|
|
for iNdEx := len(m.JQPathExpressions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.JQPathExpressions[iNdEx])
|
|
copy(dAtA[i:], m.JQPathExpressions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.JQPathExpressions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
if len(m.JSONPointers) > 0 {
|
|
for iNdEx := len(m.JSONPointers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.JSONPointers[iNdEx])
|
|
copy(dAtA[i:], m.JSONPointers[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.JSONPointers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceNetworkingInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceNetworkingInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceNetworkingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ExternalURLs) > 0 {
|
|
for iNdEx := len(m.ExternalURLs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.ExternalURLs[iNdEx])
|
|
copy(dAtA[i:], m.ExternalURLs[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalURLs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.Ingress) > 0 {
|
|
for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
keysForLabels := make([]string, 0, len(m.Labels))
|
|
for k := range m.Labels {
|
|
keysForLabels = append(keysForLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Labels[string(keysForLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForLabels[iNdEx])
|
|
copy(dAtA[i:], keysForLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.TargetRefs) > 0 {
|
|
for iNdEx := len(m.TargetRefs) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.TargetRefs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.TargetLabels) > 0 {
|
|
keysForTargetLabels := make([]string, 0, len(m.TargetLabels))
|
|
for k := range m.TargetLabels {
|
|
keysForTargetLabels = append(keysForTargetLabels, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForTargetLabels)
|
|
for iNdEx := len(keysForTargetLabels) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.TargetLabels[string(keysForTargetLabels[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForTargetLabels[iNdEx])
|
|
copy(dAtA[i:], keysForTargetLabels[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForTargetLabels[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceNode) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CreatedAt != nil {
|
|
{
|
|
size, err := m.CreatedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.Health != nil {
|
|
{
|
|
size, err := m.Health.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.Images) > 0 {
|
|
for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Images[iNdEx])
|
|
copy(dAtA[i:], m.Images[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Images[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i -= len(m.ResourceVersion)
|
|
copy(dAtA[i:], m.ResourceVersion)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
if m.NetworkingInfo != nil {
|
|
{
|
|
size, err := m.NetworkingInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Info) > 0 {
|
|
for iNdEx := len(m.Info) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Info[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.ParentRefs) > 0 {
|
|
for iNdEx := len(m.ParentRefs) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ParentRefs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
{
|
|
size, err := m.ResourceRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceOverride) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceOverride) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceOverride) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.IgnoreResourceUpdates.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i--
|
|
if m.UseOpenLibs {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
if len(m.KnownTypeFields) > 0 {
|
|
for iNdEx := len(m.KnownTypeFields) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.KnownTypeFields[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
i -= len(m.Actions)
|
|
copy(dAtA[i:], m.Actions)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Actions)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.IgnoreDifferences.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.HealthLua)
|
|
copy(dAtA[i:], m.HealthLua)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.HealthLua)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceRef) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceRef) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.UID)
|
|
copy(dAtA[i:], m.UID)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceResult) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceResult) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Images) > 0 {
|
|
for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Images[iNdEx])
|
|
copy(dAtA[i:], m.Images[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Images[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
}
|
|
i -= len(m.SyncPhase)
|
|
copy(dAtA[i:], m.SyncPhase)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SyncPhase)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
i -= len(m.HookPhase)
|
|
copy(dAtA[i:], m.HookPhase)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.HookPhase)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
i -= len(m.HookType)
|
|
copy(dAtA[i:], m.HookType)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.HookType)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResourceStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourceStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResourceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.RequiresDeletionConfirmation {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x58
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.SyncWave))
|
|
i--
|
|
dAtA[i] = 0x50
|
|
i--
|
|
if m.RequiresPruning {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x48
|
|
i--
|
|
if m.Hook {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x40
|
|
if m.Health != nil {
|
|
{
|
|
size, err := m.Health.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Version)
|
|
copy(dAtA[i:], m.Version)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RetryStrategy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RetryStrategy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RetryStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Refresh {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
if m.Backoff != nil {
|
|
{
|
|
size, err := m.Backoff.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Limit))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RevisionHistory) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RevisionHistory) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RevisionHistory) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.InitiatedBy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
if len(m.Revisions) > 0 {
|
|
for iNdEx := len(m.Revisions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Revisions[iNdEx])
|
|
copy(dAtA[i:], m.Revisions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revisions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for iNdEx := len(m.Sources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Sources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
}
|
|
if m.DeployStartedAt != nil {
|
|
{
|
|
size, err := m.DeployStartedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
{
|
|
size, err := m.Source.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ID))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
{
|
|
size, err := m.DeployedAt.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Revision)
|
|
copy(dAtA[i:], m.Revision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RevisionMetadata) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RevisionMetadata) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RevisionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SourceIntegrityResult != nil {
|
|
{
|
|
size, err := m.SourceIntegrityResult.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.References) > 0 {
|
|
for iNdEx := len(m.References) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.References[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
i -= len(m.SignatureInfo)
|
|
copy(dAtA[i:], m.SignatureInfo)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SignatureInfo)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
i -= len(m.Message)
|
|
copy(dAtA[i:], m.Message)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if len(m.Tags) > 0 {
|
|
for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Tags[iNdEx])
|
|
copy(dAtA[i:], m.Tags[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Tags[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if m.Date != nil {
|
|
{
|
|
size, err := m.Date.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(m.Author)
|
|
copy(dAtA[i:], m.Author)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Author)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RevisionReference) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *RevisionReference) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RevisionReference) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Commit != nil {
|
|
{
|
|
size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGenerator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGenerator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.AWSCodeCommit != nil {
|
|
{
|
|
size, err := m.AWSCodeCommit.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if len(m.Values) > 0 {
|
|
keysForValues := make([]string, 0, len(m.Values))
|
|
for k := range m.Values {
|
|
keysForValues = append(keysForValues, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
for iNdEx := len(keysForValues) - 1; iNdEx >= 0; iNdEx-- {
|
|
v := m.Values[string(keysForValues[iNdEx])]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(keysForValues[iNdEx])
|
|
copy(dAtA[i:], keysForValues[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForValues[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
if m.RequeueAfterSeconds != nil {
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RequeueAfterSeconds))
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
i -= len(m.CloneProtocol)
|
|
copy(dAtA[i:], m.CloneProtocol)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CloneProtocol)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
if len(m.Filters) > 0 {
|
|
for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Filters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
}
|
|
if m.AzureDevOps != nil {
|
|
{
|
|
size, err := m.AzureDevOps.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Gitea != nil {
|
|
{
|
|
size, err := m.Gitea.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.BitbucketServer != nil {
|
|
{
|
|
size, err := m.BitbucketServer.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Bitbucket != nil {
|
|
{
|
|
size, err := m.Bitbucket.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Gitlab != nil {
|
|
{
|
|
size, err := m.Gitlab.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Github != nil {
|
|
{
|
|
size, err := m.Github.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
i -= len(m.Region)
|
|
copy(dAtA[i:], m.Region)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Region)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Role)
|
|
copy(dAtA[i:], m.Role)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Role)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if len(m.TagFilters) > 0 {
|
|
for iNdEx := len(m.TagFilters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.TagFilters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAzureDevOps) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAzureDevOps) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAzureDevOps) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x48
|
|
if m.AccessTokenRef != nil {
|
|
{
|
|
size, err := m.AccessTokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
i -= len(m.TeamProject)
|
|
copy(dAtA[i:], m.TeamProject)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TeamProject)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.Organization)
|
|
copy(dAtA[i:], m.Organization)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Organization)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucket) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucket) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
if m.AppPasswordRef != nil {
|
|
{
|
|
size, err := m.AppPasswordRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.User)
|
|
copy(dAtA[i:], m.User)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucketServer) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucketServer) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucketServer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CARef != nil {
|
|
{
|
|
size, err := m.CARef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
if m.BearerToken != nil {
|
|
{
|
|
size, err := m.BearerToken.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
if m.BasicAuth != nil {
|
|
{
|
|
size, err := m.BasicAuth.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Project)
|
|
copy(dAtA[i:], m.Project)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Project)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorFilter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.BranchMatch != nil {
|
|
i -= len(*m.BranchMatch)
|
|
copy(dAtA[i:], *m.BranchMatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.BranchMatch)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.LabelMatch != nil {
|
|
i -= len(*m.LabelMatch)
|
|
copy(dAtA[i:], *m.LabelMatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.LabelMatch)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.PathsDoNotExist) > 0 {
|
|
for iNdEx := len(m.PathsDoNotExist) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.PathsDoNotExist[iNdEx])
|
|
copy(dAtA[i:], m.PathsDoNotExist[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathsDoNotExist[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.PathsExist) > 0 {
|
|
for iNdEx := len(m.PathsExist) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.PathsExist[iNdEx])
|
|
copy(dAtA[i:], m.PathsExist[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathsExist[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.RepositoryMatch != nil {
|
|
i -= len(*m.RepositoryMatch)
|
|
copy(dAtA[i:], *m.RepositoryMatch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.RepositoryMatch)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitea) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitea) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitea) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.ExcludeArchivedRepos {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGithub) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGithub) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGithub) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.ExcludeArchivedRepos {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
i -= len(m.AppSecretName)
|
|
copy(dAtA[i:], m.AppSecretName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.AppSecretName)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Organization)
|
|
copy(dAtA[i:], m.Organization)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Organization)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitlab) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitlab) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitlab) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.IncludeArchivedRepos {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x50
|
|
if m.CARef != nil {
|
|
{
|
|
size, err := m.CARef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
i -= len(m.Topic)
|
|
copy(dAtA[i:], m.Topic)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Topic)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
if m.IncludeSharedProjects != nil {
|
|
i--
|
|
if *m.IncludeSharedProjects {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
i--
|
|
if m.AllBranches {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
if m.TokenRef != nil {
|
|
{
|
|
size, err := m.TokenRef.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i -= len(m.API)
|
|
copy(dAtA[i:], m.API)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.API)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i--
|
|
if m.IncludeSubgroups {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SecretRef) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SecretRef) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SecretRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Key)
|
|
copy(dAtA[i:], m.Key)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.SecretName)
|
|
copy(dAtA[i:], m.SecretName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignatureKey) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SignatureKey) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignatureKey) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.KeyID)
|
|
copy(dAtA[i:], m.KeyID)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.KeyID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceHydrator) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceHydrator) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceHydrator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.HydrateTo != nil {
|
|
{
|
|
size, err := m.HydrateTo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
{
|
|
size, err := m.SyncSource.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
{
|
|
size, err := m.DrySource.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceHydratorStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceHydratorStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceHydratorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.LastComparedDryRevision)
|
|
copy(dAtA[i:], m.LastComparedDryRevision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.LastComparedDryRevision)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
if m.CurrentOperation != nil {
|
|
{
|
|
size, err := m.CurrentOperation.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.LastSuccessfulOperation != nil {
|
|
{
|
|
size, err := m.LastSuccessfulOperation.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrity) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrity) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrity) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Git != nil {
|
|
{
|
|
size, err := m.Git.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResult) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResult) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Checks) > 0 {
|
|
for iNdEx := len(m.Checks) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Checks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResultItem) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResultItem) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResultItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Problems) > 0 {
|
|
for iNdEx := len(m.Problems) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Problems[iNdEx])
|
|
copy(dAtA[i:], m.Problems[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Problems[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGit) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGit) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrityGit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Policies) > 0 {
|
|
for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Policies[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.GPG != nil {
|
|
{
|
|
size, err := m.GPG.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Repos) > 0 {
|
|
for iNdEx := len(m.Repos) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Repos[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyGPG) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyGPG) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyGPG) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Keys) > 0 {
|
|
for iNdEx := len(m.Keys) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Keys[iNdEx])
|
|
copy(dAtA[i:], m.Keys[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Keys[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
i -= len(m.Mode)
|
|
copy(dAtA[i:], m.Mode)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Mode)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyRepo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyRepo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyRepo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.URL)
|
|
copy(dAtA[i:], m.URL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.URL)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SuccessfulHydrateOperation) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SuccessfulHydrateOperation) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SuccessfulHydrateOperation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.SourceHydrator.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
i -= len(m.HydratedSHA)
|
|
copy(dAtA[i:], m.HydratedSHA)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.HydratedSHA)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
i -= len(m.DrySHA)
|
|
copy(dAtA[i:], m.DrySHA)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DrySHA)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncOperation) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncOperation) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncOperation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.SelfHealAttemptsCount))
|
|
i--
|
|
dAtA[i] = 0x60
|
|
if len(m.Revisions) > 0 {
|
|
for iNdEx := len(m.Revisions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Revisions[iNdEx])
|
|
copy(dAtA[i:], m.Revisions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revisions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for iNdEx := len(m.Sources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Sources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
}
|
|
if len(m.SyncOptions) > 0 {
|
|
for iNdEx := len(m.SyncOptions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.SyncOptions[iNdEx])
|
|
copy(dAtA[i:], m.SyncOptions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SyncOptions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
}
|
|
if len(m.Manifests) > 0 {
|
|
for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Manifests[iNdEx])
|
|
copy(dAtA[i:], m.Manifests[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Manifests[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
}
|
|
if m.Source != nil {
|
|
{
|
|
size, err := m.Source.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.Resources) > 0 {
|
|
for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
if m.SyncStrategy != nil {
|
|
{
|
|
size, err := m.SyncStrategy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
i--
|
|
if m.DryRun {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
i--
|
|
if m.Prune {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(m.Revision)
|
|
copy(dAtA[i:], m.Revision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncOperationResource) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncOperationResource) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncOperationResource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
i -= len(m.Name)
|
|
copy(dAtA[i:], m.Name)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Group)
|
|
copy(dAtA[i:], m.Group)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncOperationResult) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncOperationResult) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncOperationResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ManagedNamespaceMetadata != nil {
|
|
{
|
|
size, err := m.ManagedNamespaceMetadata.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.Revisions) > 0 {
|
|
for iNdEx := len(m.Revisions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Revisions[iNdEx])
|
|
copy(dAtA[i:], m.Revisions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revisions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for iNdEx := len(m.Sources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Sources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
{
|
|
size, err := m.Source.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Revision)
|
|
copy(dAtA[i:], m.Revision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
if len(m.Resources) > 0 {
|
|
for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncPolicy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncPolicy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ManagedNamespaceMetadata != nil {
|
|
{
|
|
size, err := m.ManagedNamespaceMetadata.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Retry != nil {
|
|
{
|
|
size, err := m.Retry.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.SyncOptions) > 0 {
|
|
for iNdEx := len(m.SyncOptions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.SyncOptions[iNdEx])
|
|
copy(dAtA[i:], m.SyncOptions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SyncOptions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Automated != nil {
|
|
{
|
|
size, err := m.Automated.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncPolicyAutomated) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncPolicyAutomated) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncPolicyAutomated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Enabled != nil {
|
|
i--
|
|
if *m.Enabled {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.AllowEmpty != nil {
|
|
i--
|
|
if *m.AllowEmpty {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if m.SelfHeal != nil {
|
|
i--
|
|
if *m.SelfHeal {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Prune != nil {
|
|
i--
|
|
if *m.Prune {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncSource) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncSource) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncSource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.RepoURL)
|
|
copy(dAtA[i:], m.RepoURL)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.RepoURL)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Path)
|
|
copy(dAtA[i:], m.Path)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.TargetBranch)
|
|
copy(dAtA[i:], m.TargetBranch)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetBranch)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncStatus) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncStatus) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Revisions) > 0 {
|
|
for iNdEx := len(m.Revisions) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Revisions[iNdEx])
|
|
copy(dAtA[i:], m.Revisions[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revisions[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
i -= len(m.Revision)
|
|
copy(dAtA[i:], m.Revision)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
{
|
|
size, err := m.ComparedTo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Status)
|
|
copy(dAtA[i:], m.Status)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncStrategy) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncStrategy) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Hook != nil {
|
|
{
|
|
size, err := m.Hook.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Apply != nil {
|
|
{
|
|
size, err := m.Apply.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncStrategyApply) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncStrategyApply) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncStrategyApply) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.Force {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncStrategyHook) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncStrategyHook) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncStrategyHook) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
{
|
|
size, err := m.SyncStrategyApply.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SyncWindow) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SyncWindow) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SyncWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i--
|
|
if m.SyncOverrun {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x58
|
|
i -= len(m.Description)
|
|
copy(dAtA[i:], m.Description)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
i--
|
|
if m.UseAndOperator {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x48
|
|
i -= len(m.TimeZone)
|
|
copy(dAtA[i:], m.TimeZone)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TimeZone)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
i--
|
|
if m.ManualSync {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
if len(m.Clusters) > 0 {
|
|
for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Clusters[iNdEx])
|
|
copy(dAtA[i:], m.Clusters[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Clusters[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
}
|
|
if len(m.Namespaces) > 0 {
|
|
for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Namespaces[iNdEx])
|
|
copy(dAtA[i:], m.Namespaces[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespaces[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if len(m.Applications) > 0 {
|
|
for iNdEx := len(m.Applications) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Applications[iNdEx])
|
|
copy(dAtA[i:], m.Applications[iNdEx])
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Applications[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
i -= len(m.Duration)
|
|
copy(dAtA[i:], m.Duration)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Duration)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
i -= len(m.Schedule)
|
|
copy(dAtA[i:], m.Schedule)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Schedule)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Kind)
|
|
copy(dAtA[i:], m.Kind)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TLSClientConfig) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *TLSClientConfig) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TLSClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CAData != nil {
|
|
i -= len(m.CAData)
|
|
copy(dAtA[i:], m.CAData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CAData)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.KeyData != nil {
|
|
i -= len(m.KeyData)
|
|
copy(dAtA[i:], m.KeyData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.KeyData)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.CertData != nil {
|
|
i -= len(m.CertData)
|
|
copy(dAtA[i:], m.CertData)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CertData)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
i -= len(m.ServerName)
|
|
copy(dAtA[i:], m.ServerName)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerName)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i--
|
|
if m.Insecure {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TagFilter) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *TagFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TagFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(m.Key)
|
|
copy(dAtA[i:], m.Key)
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
|
|
offset -= sovGenerated(v)
|
|
base := offset
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return base
|
|
}
|
|
func (m *AWSAuthConfig) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ClusterName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.RoleARN)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Profile)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *AppHealthStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.LastTransitionTime != nil {
|
|
l = m.LastTransitionTime.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AppProject) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ObjectMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Spec.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Status.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *AppProjectList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AppProjectSpec) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.SourceRepos) > 0 {
|
|
for _, s := range m.SourceRepos {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Destinations) > 0 {
|
|
for _, e := range m.Destinations {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Description)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Roles) > 0 {
|
|
for _, e := range m.Roles {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.ClusterResourceWhitelist) > 0 {
|
|
for _, e := range m.ClusterResourceWhitelist {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.NamespaceResourceBlacklist) > 0 {
|
|
for _, e := range m.NamespaceResourceBlacklist {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.OrphanedResources != nil {
|
|
l = m.OrphanedResources.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.SyncWindows) > 0 {
|
|
for _, e := range m.SyncWindows {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.NamespaceResourceWhitelist) > 0 {
|
|
for _, e := range m.NamespaceResourceWhitelist {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.SignatureKeys) > 0 {
|
|
for _, e := range m.SignatureKeys {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.ClusterResourceBlacklist) > 0 {
|
|
for _, e := range m.ClusterResourceBlacklist {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.SourceNamespaces) > 0 {
|
|
for _, s := range m.SourceNamespaces {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
if len(m.DestinationServiceAccounts) > 0 {
|
|
for _, e := range m.DestinationServiceAccounts {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.SourceIntegrity != nil {
|
|
l = m.SourceIntegrity.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AppProjectStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.JWTTokensByRole) > 0 {
|
|
for k, v := range m.JWTTokensByRole {
|
|
_ = k
|
|
_ = v
|
|
l = v.Size()
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Application) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ObjectMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Spec.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Status.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Operation != nil {
|
|
l = m.Operation.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationCondition) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.LastTransitionTime != nil {
|
|
l = m.LastTransitionTime.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationDestination) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Server)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationDestinationServiceAccount) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Server)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.DefaultServiceAccount)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationMatchExpression) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Key)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Operator)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Values) > 0 {
|
|
for _, s := range m.Values {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationPreservedFields) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Annotations) > 0 {
|
|
for _, s := range m.Annotations {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
for _, s := range m.Labels {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSet) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ObjectMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Spec.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Status.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetApplicationStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Application)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.LastTransitionTime != nil {
|
|
l = m.LastTransitionTime.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Step)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.TargetRevisions) > 0 {
|
|
for _, s := range m.TargetRevisions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetCondition) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.LastTransitionTime != nil {
|
|
l = m.LastTransitionTime.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Reason)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.List != nil {
|
|
l = m.List.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Clusters != nil {
|
|
l = m.Clusters.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Git != nil {
|
|
l = m.Git.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.SCMProvider != nil {
|
|
l = m.SCMProvider.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.ClusterDecisionResource != nil {
|
|
l = m.ClusterDecisionResource.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.PullRequest != nil {
|
|
l = m.PullRequest.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Matrix != nil {
|
|
l = m.Matrix.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Merge != nil {
|
|
l = m.Merge.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Selector != nil {
|
|
l = m.Selector.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Plugin != nil {
|
|
l = m.Plugin.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetNestedGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.List != nil {
|
|
l = m.List.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Clusters != nil {
|
|
l = m.Clusters.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Git != nil {
|
|
l = m.Git.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.SCMProvider != nil {
|
|
l = m.SCMProvider.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.ClusterDecisionResource != nil {
|
|
l = m.ClusterDecisionResource.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.PullRequest != nil {
|
|
l = m.PullRequest.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Matrix != nil {
|
|
l = m.Matrix.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Merge != nil {
|
|
l = m.Merge.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Selector != nil {
|
|
l = m.Selector.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Plugin != nil {
|
|
l = m.Plugin.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetResourceIgnoreDifferences) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.JSONPointers) > 0 {
|
|
for _, s := range m.JSONPointers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.JQPathExpressions) > 0 {
|
|
for _, s := range m.JQPathExpressions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStep) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.MatchExpressions) > 0 {
|
|
for _, e := range m.MatchExpressions {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.MaxUpdate != nil {
|
|
l = m.MaxUpdate.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetRolloutStrategy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Steps) > 0 {
|
|
for _, e := range m.Steps {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetSpec) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
if len(m.Generators) > 0 {
|
|
for _, e := range m.Generators {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.SyncPolicy != nil {
|
|
l = m.SyncPolicy.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Strategy != nil {
|
|
l = m.Strategy.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.PreservedFields != nil {
|
|
l = m.PreservedFields.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.GoTemplateOptions) > 0 {
|
|
for _, s := range m.GoTemplateOptions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
if len(m.IgnoreApplicationDifferences) > 0 {
|
|
for _, e := range m.IgnoreApplicationDifferences {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.TemplatePatch != nil {
|
|
l = len(*m.TemplatePatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Conditions) > 0 {
|
|
for _, e := range m.Conditions {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.ApplicationStatus) > 0 {
|
|
for _, e := range m.ApplicationStatus {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Resources) > 0 {
|
|
for _, e := range m.Resources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 1 + sovGenerated(uint64(m.ResourcesCount))
|
|
l = m.Health.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetStrategy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.RollingSync != nil {
|
|
l = m.RollingSync.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.DeletionOrder)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetSyncPolicy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
if m.ApplicationsSync != nil {
|
|
l = len(*m.ApplicationsSync)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetTemplate) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ApplicationSetTemplateMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Spec.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetTemplateMeta) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Labels) > 0 {
|
|
for k, v := range m.Labels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Annotations) > 0 {
|
|
for k, v := range m.Annotations {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Finalizers) > 0 {
|
|
for _, s := range m.Finalizers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetTerminalGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.List != nil {
|
|
l = m.List.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Clusters != nil {
|
|
l = m.Clusters.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Git != nil {
|
|
l = m.Git.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.SCMProvider != nil {
|
|
l = m.SCMProvider.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.ClusterDecisionResource != nil {
|
|
l = m.ClusterDecisionResource.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.PullRequest != nil {
|
|
l = m.PullRequest.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Plugin != nil {
|
|
l = m.Plugin.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Selector != nil {
|
|
l = m.Selector.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetTree) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Nodes) > 0 {
|
|
for _, e := range m.Nodes {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSetWatchEvent) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.ApplicationSet.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSource) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.RepoURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TargetRevision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Helm != nil {
|
|
l = m.Helm.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Kustomize != nil {
|
|
l = m.Kustomize.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Directory != nil {
|
|
l = m.Directory.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Plugin != nil {
|
|
l = m.Plugin.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.Chart)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Ref)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TagPrefix)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSourceDirectory) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
l = m.Jsonnet.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Exclude)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Include)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSourceHelm) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.ValueFiles) > 0 {
|
|
for _, s := range m.ValueFiles {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Parameters) > 0 {
|
|
for _, e := range m.Parameters {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.ReleaseName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Values)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.FileParameters) > 0 {
|
|
for _, e := range m.FileParameters {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
n += 2
|
|
n += 2
|
|
if m.ValuesObject != nil {
|
|
l = m.ValuesObject.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.KubeVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.APIVersions) > 0 {
|
|
for _, s := range m.APIVersions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSourceJsonnet) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.ExtVars) > 0 {
|
|
for _, e := range m.ExtVars {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.TLAs) > 0 {
|
|
for _, e := range m.TLAs {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Libs) > 0 {
|
|
for _, s := range m.Libs {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSourceKustomize) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.NamePrefix)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.NameSuffix)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Images) > 0 {
|
|
for _, s := range m.Images {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.CommonLabels) > 0 {
|
|
for k, v := range m.CommonLabels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.CommonAnnotations) > 0 {
|
|
for k, v := range m.CommonAnnotations {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
n += 2
|
|
n += 2
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
if len(m.Replicas) > 0 {
|
|
for _, e := range m.Replicas {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Patches) > 0 {
|
|
for _, e := range m.Patches {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Components) > 0 {
|
|
for _, s := range m.Components {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
l = len(m.KubeVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.APIVersions) > 0 {
|
|
for _, s := range m.APIVersions {
|
|
l = len(s)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 3
|
|
n += 3
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSourcePlugin) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Env) > 0 {
|
|
for _, e := range m.Env {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Parameters) > 0 {
|
|
for _, e := range m.Parameters {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSourcePluginParameter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.OptionalMap != nil {
|
|
l = m.OptionalMap.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.OptionalArray != nil {
|
|
l = m.OptionalArray.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.String_ != nil {
|
|
l = len(*m.String_)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSpec) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Source != nil {
|
|
l = m.Source.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = m.Destination.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Project)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.SyncPolicy != nil {
|
|
l = m.SyncPolicy.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.IgnoreDifferences) > 0 {
|
|
for _, e := range m.IgnoreDifferences {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Info) > 0 {
|
|
for _, e := range m.Info {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.RevisionHistoryLimit != nil {
|
|
n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for _, e := range m.Sources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.SourceHydrator != nil {
|
|
l = m.SourceHydrator.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Resources) > 0 {
|
|
for _, e := range m.Resources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.Sync.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Health.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.History) > 0 {
|
|
for _, e := range m.History {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Conditions) > 0 {
|
|
for _, e := range m.Conditions {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.ReconciledAt != nil {
|
|
l = m.ReconciledAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.OperationState != nil {
|
|
l = m.OperationState.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.ObservedAt != nil {
|
|
l = m.ObservedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.SourceType)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Summary.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ResourceHealthSource)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.SourceTypes) > 0 {
|
|
for _, s := range m.SourceTypes {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.ControllerNamespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.SourceHydrator.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSummary) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.ExternalURLs) > 0 {
|
|
for _, s := range m.ExternalURLs {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Images) > 0 {
|
|
for _, s := range m.Images {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationTree) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Nodes) > 0 {
|
|
for _, e := range m.Nodes {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.OrphanedNodes) > 0 {
|
|
for _, e := range m.OrphanedNodes {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Hosts) > 0 {
|
|
for _, e := range m.Hosts {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 1 + sovGenerated(uint64(m.ShardsCount))
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationWatchEvent) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Application.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *Backoff) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Duration)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Factor != nil {
|
|
n += 1 + sovGenerated(uint64(*m.Factor))
|
|
}
|
|
l = len(m.MaxDuration)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *BasicAuthBitbucketServer) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Username)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.PasswordRef != nil {
|
|
l = m.PasswordRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *BearerTokenBitbucket) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *BearerTokenBitbucketCloud) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ChartDetails) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Description)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Home)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Maintainers) > 0 {
|
|
for _, s := range m.Maintainers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Cluster) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Server)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Config.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.ConnectionState.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ServerVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Namespaces) > 0 {
|
|
for _, s := range m.Namespaces {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.RefreshRequestedAt != nil {
|
|
l = m.RefreshRequestedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = m.Info.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Shard != nil {
|
|
n += 1 + sovGenerated(uint64(*m.Shard))
|
|
}
|
|
n += 2
|
|
l = len(m.Project)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Labels) > 0 {
|
|
for k, v := range m.Labels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Annotations) > 0 {
|
|
for k, v := range m.Annotations {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ClusterCacheInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovGenerated(uint64(m.ResourcesCount))
|
|
n += 1 + sovGenerated(uint64(m.APIsCount))
|
|
if m.LastCacheSyncTime != nil {
|
|
l = m.LastCacheSyncTime.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ClusterConfig) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Username)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Password)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.BearerToken)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.TLSClientConfig.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.AWSAuthConfig != nil {
|
|
l = m.AWSAuthConfig.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.ExecProviderConfig != nil {
|
|
l = m.ExecProviderConfig.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
l = len(m.ProxyUrl)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ClusterGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.Selector.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Values) > 0 {
|
|
for k, v := range m.Values {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *ClusterInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ConnectionState.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ServerVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.CacheInfo.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 1 + sovGenerated(uint64(m.ApplicationsCount))
|
|
if len(m.APIVersions) > 0 {
|
|
for _, s := range m.APIVersions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ClusterList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ClusterResourceRestrictionItem) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *Command) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Command) > 0 {
|
|
for _, s := range m.Command {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Args) > 0 {
|
|
for _, s := range m.Args {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CommitMetadata) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Author)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Date)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Subject)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Body)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SHA)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.RepoURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ComparedTo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.Source.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Destination.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Sources) > 0 {
|
|
for _, e := range m.Sources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.IgnoreDifferences) > 0 {
|
|
for _, e := range m.IgnoreDifferences {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ComponentParameter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Component)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ConfigManagementPlugin) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Init != nil {
|
|
l = m.Init.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = m.Generate.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *ConfigMapKeyRef) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ConfigMapName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Key)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ConnectionState) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.ModifiedAt != nil {
|
|
l = m.ModifiedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DrySource) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.RepoURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TargetRevision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Helm != nil {
|
|
l = m.Helm.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Kustomize != nil {
|
|
l = m.Kustomize.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Directory != nil {
|
|
l = m.Directory.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Plugin != nil {
|
|
l = m.Plugin.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DuckTypeGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ConfigMapRef)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.RequeueAfterSeconds != nil {
|
|
n += 1 + sovGenerated(uint64(*m.RequeueAfterSeconds))
|
|
}
|
|
l = m.LabelSelector.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Values) > 0 {
|
|
for k, v := range m.Values {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *EnvEntry) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ExecProviderConfig) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Command)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Args) > 0 {
|
|
for _, s := range m.Args {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Env) > 0 {
|
|
for k, v := range m.Env {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
l = len(m.APIVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.InstallHint)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
if m.Config != nil {
|
|
l = m.Config.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GitDirectoryGeneratorItem) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *GitFileGeneratorItem) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *GitGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.RepoURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Directories) > 0 {
|
|
for _, e := range m.Directories {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Files) > 0 {
|
|
for _, e := range m.Files {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.RequeueAfterSeconds != nil {
|
|
n += 1 + sovGenerated(uint64(*m.RequeueAfterSeconds))
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.PathParamPrefix)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Values) > 0 {
|
|
for k, v := range m.Values {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GnuPGPublicKey) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.KeyID)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Fingerprint)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Owner)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Trust)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SubType)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.KeyData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *GnuPGPublicKeyList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *HealthStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.LastTransitionTime != nil {
|
|
l = m.LastTransitionTime.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *HelmFileParameter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *HelmOptions) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.ValuesFileSchemes) > 0 {
|
|
for _, s := range m.ValuesFileSchemes {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *HelmParameter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *HostInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.ResourcesInfo) > 0 {
|
|
for _, e := range m.ResourcesInfo {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.SystemInfo.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Labels) > 0 {
|
|
for k, v := range m.Labels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *HostResourceInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ResourceName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 1 + sovGenerated(uint64(m.RequestedByApp))
|
|
n += 1 + sovGenerated(uint64(m.RequestedByNeighbors))
|
|
n += 1 + sovGenerated(uint64(m.Capacity))
|
|
return n
|
|
}
|
|
|
|
func (m *HydrateOperation) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.StartedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.FinishedAt != nil {
|
|
l = m.FinishedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.Phase)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.DrySHA)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.HydratedSHA)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.SourceHydrator.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *HydrateTo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TargetBranch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *Info) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *InfoItem) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *JWTToken) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovGenerated(uint64(m.IssuedAt))
|
|
n += 1 + sovGenerated(uint64(m.ExpiresAt))
|
|
l = len(m.ID)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *JWTTokens) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *JsonnetVar) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *KnownTypeField) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Field)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizeGvk) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizeOptions) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.BuildOptions)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.BinaryPath)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Versions) > 0 {
|
|
for _, e := range m.Versions {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizePatch) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Patch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Target != nil {
|
|
l = m.Target.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Options) > 0 {
|
|
for k, v := range m.Options {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + 1
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizeReplica) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Count.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizeResId) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.KustomizeGvk.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizeSelector) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.KustomizeResId.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.AnnotationSelector)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.LabelSelector)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *KustomizeVersion) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.BuildOptions)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ListGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Elements) > 0 {
|
|
for _, e := range m.Elements {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ElementsYaml)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ManagedNamespaceMetadata) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Labels) > 0 {
|
|
for k, v := range m.Labels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Annotations) > 0 {
|
|
for k, v := range m.Annotations {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *MatrixGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Generators) > 0 {
|
|
for _, e := range m.Generators {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *MergeGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Generators) > 0 {
|
|
for _, e := range m.Generators {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.MergeKeys) > 0 {
|
|
for _, s := range m.MergeKeys {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *NestedMatrixGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Generators) > 0 {
|
|
for _, e := range m.Generators {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *NestedMergeGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Generators) > 0 {
|
|
for _, e := range m.Generators {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.MergeKeys) > 0 {
|
|
for _, s := range m.MergeKeys {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *OCIMetadata) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.CreatedAt)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Authors)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ImageURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.DocsURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SourceURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Description)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *Operation) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Sync != nil {
|
|
l = m.Sync.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = m.InitiatedBy.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Info) > 0 {
|
|
for _, e := range m.Info {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.Retry.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *OperationInitiator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Username)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *OperationState) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.Operation.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Phase)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.SyncResult != nil {
|
|
l = m.SyncResult.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = m.StartedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.FinishedAt != nil {
|
|
l = m.FinishedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 1 + sovGenerated(uint64(m.RetryCount))
|
|
return n
|
|
}
|
|
|
|
func (m *OptionalArray) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Array) > 0 {
|
|
for _, s := range m.Array {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *OptionalMap) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Map) > 0 {
|
|
for k, v := range m.Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *OrphanedResourceKey) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *OrphanedResourcesMonitorSettings) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Warn != nil {
|
|
n += 2
|
|
}
|
|
if len(m.Ignore) > 0 {
|
|
for _, e := range m.Ignore {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *OverrideIgnoreDiff) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.JSONPointers) > 0 {
|
|
for _, s := range m.JSONPointers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.JQPathExpressions) > 0 {
|
|
for _, s := range m.JQPathExpressions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.ManagedFieldsManagers) > 0 {
|
|
for _, s := range m.ManagedFieldsManagers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PluginConfigMapRef) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *PluginGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ConfigMapRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.RequeueAfterSeconds != nil {
|
|
n += 1 + sovGenerated(uint64(*m.RequeueAfterSeconds))
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Values) > 0 {
|
|
for k, v := range m.Values {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PluginInput) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Parameters) > 0 {
|
|
for k, v := range m.Parameters {
|
|
_ = k
|
|
_ = v
|
|
l = v.Size()
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ProjectRole) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Description)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Policies) > 0 {
|
|
for _, s := range m.Policies {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.JWTTokens) > 0 {
|
|
for _, e := range m.JWTTokens {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Groups) > 0 {
|
|
for _, s := range m.Groups {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Github != nil {
|
|
l = m.Github.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.GitLab != nil {
|
|
l = m.GitLab.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Gitea != nil {
|
|
l = m.Gitea.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.BitbucketServer != nil {
|
|
l = m.BitbucketServer.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Filters) > 0 {
|
|
for _, e := range m.Filters {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.RequeueAfterSeconds != nil {
|
|
n += 1 + sovGenerated(uint64(*m.RequeueAfterSeconds))
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Bitbucket != nil {
|
|
l = m.Bitbucket.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.AzureDevOps != nil {
|
|
l = m.AzureDevOps.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Values) > 0 {
|
|
for k, v := range m.Values {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorAzureDevOps) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Organization)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Project)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Repo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
for _, s := range m.Labels {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucket) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Owner)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Repo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.BasicAuth != nil {
|
|
l = m.BasicAuth.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.BearerToken != nil {
|
|
l = m.BearerToken.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorBitbucketServer) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Project)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Repo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.BasicAuth != nil {
|
|
l = m.BasicAuth.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.BearerToken != nil {
|
|
l = m.BearerToken.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
if m.CARef != nil {
|
|
l = m.CARef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.BranchMatch != nil {
|
|
l = len(*m.BranchMatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.TargetBranchMatch != nil {
|
|
l = len(*m.TargetBranchMatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.TitleMatch != nil {
|
|
l = len(*m.TitleMatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitLab) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Project)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
for _, s := range m.Labels {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.PullRequestState)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
if m.CARef != nil {
|
|
l = m.CARef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGitea) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Owner)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Repo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
if len(m.Labels) > 0 {
|
|
for _, s := range m.Labels {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PullRequestGeneratorGithub) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Owner)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Repo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.AppSecretName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Labels) > 0 {
|
|
for _, s := range m.Labels {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RefTarget) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.Repo.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TargetRevision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Chart)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *RepoCreds) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.URL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Username)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Password)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SSHPrivateKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TLSClientCertData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TLSClientCertKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.GithubAppPrivateKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 1 + sovGenerated(uint64(m.GithubAppId))
|
|
n += 1 + sovGenerated(uint64(m.GithubAppInstallationId))
|
|
l = len(m.GitHubAppEnterpriseBaseURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.GCPServiceAccountKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Proxy)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
n += 3
|
|
l = len(m.NoProxy)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
n += 3
|
|
l = len(m.BearerToken)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
n += 3
|
|
l = len(m.AzureServicePrincipalClientId)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.AzureServicePrincipalClientSecret)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.AzureServicePrincipalTenantId)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.AzureActiveDirectoryEndpoint)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *RepoCredsList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Repository) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Repo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Username)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Password)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SSHPrivateKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.ConnectionState.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
n += 2
|
|
n += 2
|
|
l = len(m.TLSClientCertData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TLSClientCertKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Type)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
n += 2
|
|
l = len(m.GithubAppPrivateKey)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2 + sovGenerated(uint64(m.GithubAppId))
|
|
n += 2 + sovGenerated(uint64(m.GithubAppInstallationId))
|
|
l = len(m.GitHubAppEnterpriseBaseURL)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.Proxy)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.Project)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.GCPServiceAccountKey)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
n += 3
|
|
l = len(m.NoProxy)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
n += 3
|
|
l = len(m.BearerToken)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
n += 3
|
|
n += 2 + sovGenerated(uint64(m.Depth))
|
|
n += 3
|
|
l = len(m.AzureServicePrincipalClientId)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.AzureServicePrincipalClientSecret)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.AzureServicePrincipalTenantId)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
l = len(m.AzureActiveDirectoryEndpoint)
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *RepositoryCertificate) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ServerName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.CertType)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.CertSubType)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.CertData != nil {
|
|
l = len(m.CertData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.CertInfo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *RepositoryCertificateList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RepositoryList) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ListMeta.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceAction) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Params) > 0 {
|
|
for _, e := range m.Params {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
l = len(m.IconClass)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.DisplayName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceActionDefinition) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ActionLua)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceActionParam) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceActions) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ActionDiscoveryLua)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Definitions) > 0 {
|
|
for _, e := range m.Definitions {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceDiff) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TargetState)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.LiveState)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Diff)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
l = len(m.NormalizedLiveState)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.PredictedLiveState)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.ResourceVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceIgnoreDifferences) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.JSONPointers) > 0 {
|
|
for _, s := range m.JSONPointers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.JQPathExpressions) > 0 {
|
|
for _, s := range m.JQPathExpressions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.ManagedFieldsManagers) > 0 {
|
|
for _, s := range m.ManagedFieldsManagers {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceNetworkingInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.TargetLabels) > 0 {
|
|
for k, v := range m.TargetLabels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.TargetRefs) > 0 {
|
|
for _, e := range m.TargetRefs {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Labels) > 0 {
|
|
for k, v := range m.Labels {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Ingress) > 0 {
|
|
for _, e := range m.Ingress {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.ExternalURLs) > 0 {
|
|
for _, s := range m.ExternalURLs {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceNode) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.ResourceRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.ParentRefs) > 0 {
|
|
for _, e := range m.ParentRefs {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Info) > 0 {
|
|
for _, e := range m.Info {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.NetworkingInfo != nil {
|
|
l = m.NetworkingInfo.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.ResourceVersion)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Images) > 0 {
|
|
for _, s := range m.Images {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.Health != nil {
|
|
l = m.Health.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.CreatedAt != nil {
|
|
l = m.CreatedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceOverride) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.HealthLua)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.IgnoreDifferences.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Actions)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.KnownTypeFields) > 0 {
|
|
for _, e := range m.KnownTypeFields {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
l = m.IgnoreResourceUpdates.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceRef) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.UID)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceResult) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.HookType)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.HookPhase)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SyncPhase)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Images) > 0 {
|
|
for _, s := range m.Images {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResourceStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Health != nil {
|
|
l = m.Health.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
n += 2
|
|
n += 1 + sovGenerated(uint64(m.SyncWave))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *RetryStrategy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovGenerated(uint64(m.Limit))
|
|
if m.Backoff != nil {
|
|
l = m.Backoff.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *RevisionHistory) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.DeployedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 1 + sovGenerated(uint64(m.ID))
|
|
l = m.Source.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.DeployStartedAt != nil {
|
|
l = m.DeployStartedAt.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for _, e := range m.Sources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Revisions) > 0 {
|
|
for _, s := range m.Revisions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = m.InitiatedBy.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *RevisionMetadata) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Author)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.Date != nil {
|
|
l = m.Date.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Tags) > 0 {
|
|
for _, s := range m.Tags {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Message)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.SignatureInfo)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.References) > 0 {
|
|
for _, e := range m.References {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.SourceIntegrityResult != nil {
|
|
l = m.SourceIntegrityResult.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RevisionReference) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Commit != nil {
|
|
l = m.Commit.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGenerator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Github != nil {
|
|
l = m.Github.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Gitlab != nil {
|
|
l = m.Gitlab.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Bitbucket != nil {
|
|
l = m.Bitbucket.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.BitbucketServer != nil {
|
|
l = m.BitbucketServer.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Gitea != nil {
|
|
l = m.Gitea.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.AzureDevOps != nil {
|
|
l = m.AzureDevOps.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Filters) > 0 {
|
|
for _, e := range m.Filters {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.CloneProtocol)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.RequeueAfterSeconds != nil {
|
|
n += 1 + sovGenerated(uint64(*m.RequeueAfterSeconds))
|
|
}
|
|
l = m.Template.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Values) > 0 {
|
|
for k, v := range m.Values {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.AWSCodeCommit != nil {
|
|
l = m.AWSCodeCommit.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.TagFilters) > 0 {
|
|
for _, e := range m.TagFilters {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Role)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Region)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorAzureDevOps) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Organization)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.TeamProject)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.AccessTokenRef != nil {
|
|
l = m.AccessTokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucket) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Owner)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.User)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.AppPasswordRef != nil {
|
|
l = m.AppPasswordRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorBitbucketServer) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Project)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.BasicAuth != nil {
|
|
l = m.BasicAuth.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
if m.BearerToken != nil {
|
|
l = m.BearerToken.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
if m.CARef != nil {
|
|
l = m.CARef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.RepositoryMatch != nil {
|
|
l = len(*m.RepositoryMatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.PathsExist) > 0 {
|
|
for _, s := range m.PathsExist {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.PathsDoNotExist) > 0 {
|
|
for _, s := range m.PathsDoNotExist {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.LabelMatch != nil {
|
|
l = len(*m.LabelMatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.BranchMatch != nil {
|
|
l = len(*m.BranchMatch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitea) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Owner)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
n += 2
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGithub) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Organization)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.AppSecretName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SCMProviderGeneratorGitlab) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
l = len(m.API)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.TokenRef != nil {
|
|
l = m.TokenRef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
n += 2
|
|
if m.IncludeSharedProjects != nil {
|
|
n += 2
|
|
}
|
|
l = len(m.Topic)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.CARef != nil {
|
|
l = m.CARef.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SecretRef) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.SecretName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Key)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SignatureKey) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.KeyID)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SourceHydrator) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.DrySource.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.SyncSource.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.HydrateTo != nil {
|
|
l = m.HydrateTo.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceHydratorStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.LastSuccessfulOperation != nil {
|
|
l = m.LastSuccessfulOperation.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.CurrentOperation != nil {
|
|
l = m.CurrentOperation.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
l = len(m.LastComparedDryRevision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrity) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Git != nil {
|
|
l = m.Git.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResult) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Checks) > 0 {
|
|
for _, e := range m.Checks {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrityCheckResultItem) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Problems) > 0 {
|
|
for _, s := range m.Problems {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrityGit) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Policies) > 0 {
|
|
for _, e := range m.Policies {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Repos) > 0 {
|
|
for _, e := range m.Repos {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.GPG != nil {
|
|
l = m.GPG.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyGPG) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Mode)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Keys) > 0 {
|
|
for _, s := range m.Keys {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SourceIntegrityGitPolicyRepo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.URL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SuccessfulHydrateOperation) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.DrySHA)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.HydratedSHA)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.SourceHydrator.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SyncOperation) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
n += 2
|
|
if m.SyncStrategy != nil {
|
|
l = m.SyncStrategy.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Resources) > 0 {
|
|
for _, e := range m.Resources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.Source != nil {
|
|
l = m.Source.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.Manifests) > 0 {
|
|
for _, s := range m.Manifests {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.SyncOptions) > 0 {
|
|
for _, s := range m.SyncOptions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Sources) > 0 {
|
|
for _, e := range m.Sources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Revisions) > 0 {
|
|
for _, s := range m.Revisions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 1 + sovGenerated(uint64(m.SelfHealAttemptsCount))
|
|
return n
|
|
}
|
|
|
|
func (m *SyncOperationResource) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Group)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Name)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SyncOperationResult) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Resources) > 0 {
|
|
for _, e := range m.Resources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.Source.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Sources) > 0 {
|
|
for _, e := range m.Sources {
|
|
l = e.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Revisions) > 0 {
|
|
for _, s := range m.Revisions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.ManagedNamespaceMetadata != nil {
|
|
l = m.ManagedNamespaceMetadata.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SyncPolicy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Automated != nil {
|
|
l = m.Automated.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if len(m.SyncOptions) > 0 {
|
|
for _, s := range m.SyncOptions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if m.Retry != nil {
|
|
l = m.Retry.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.ManagedNamespaceMetadata != nil {
|
|
l = m.ManagedNamespaceMetadata.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SyncPolicyAutomated) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Prune != nil {
|
|
n += 2
|
|
}
|
|
if m.SelfHeal != nil {
|
|
n += 2
|
|
}
|
|
if m.AllowEmpty != nil {
|
|
n += 2
|
|
}
|
|
if m.Enabled != nil {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SyncSource) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TargetBranch)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Path)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.RepoURL)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SyncStatus) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Status)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = m.ComparedTo.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Revisions) > 0 {
|
|
for _, s := range m.Revisions {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SyncStrategy) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Apply != nil {
|
|
l = m.Apply.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.Hook != nil {
|
|
l = m.Hook.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SyncStrategyApply) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *SyncStrategyHook) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = m.SyncStrategyApply.Size()
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *SyncWindow) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Schedule)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Duration)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if len(m.Applications) > 0 {
|
|
for _, s := range m.Applications {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Namespaces) > 0 {
|
|
for _, s := range m.Namespaces {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
if len(m.Clusters) > 0 {
|
|
for _, s := range m.Clusters {
|
|
l = len(s)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
}
|
|
n += 2
|
|
l = len(m.TimeZone)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
l = len(m.Description)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
n += 2
|
|
return n
|
|
}
|
|
|
|
func (m *TLSClientConfig) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
l = len(m.ServerName)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
if m.CertData != nil {
|
|
l = len(m.CertData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.KeyData != nil {
|
|
l = len(m.KeyData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
if m.CAData != nil {
|
|
l = len(m.CAData)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TagFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Key)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
l = len(m.Value)
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func sovGenerated(x uint64) (n int) {
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
}
|
|
func sozGenerated(x uint64) (n int) {
|
|
return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *AWSAuthConfig) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&AWSAuthConfig{`,
|
|
`ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
|
|
`RoleARN:` + fmt.Sprintf("%v", this.RoleARN) + `,`,
|
|
`Profile:` + fmt.Sprintf("%v", this.Profile) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AppHealthStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&AppHealthStatus{`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`LastTransitionTime:` + strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AppProject) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&AppProject{`,
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "AppProjectSpec", "AppProjectSpec", 1), `&`, ``, 1) + `,`,
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "AppProjectStatus", "AppProjectStatus", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AppProjectList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]AppProject{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "AppProject", "AppProject", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&AppProjectList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AppProjectSpec) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForDestinations := "[]ApplicationDestination{"
|
|
for _, f := range this.Destinations {
|
|
repeatedStringForDestinations += strings.Replace(strings.Replace(f.String(), "ApplicationDestination", "ApplicationDestination", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForDestinations += "}"
|
|
repeatedStringForRoles := "[]ProjectRole{"
|
|
for _, f := range this.Roles {
|
|
repeatedStringForRoles += strings.Replace(strings.Replace(f.String(), "ProjectRole", "ProjectRole", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForRoles += "}"
|
|
repeatedStringForClusterResourceWhitelist := "[]ClusterResourceRestrictionItem{"
|
|
for _, f := range this.ClusterResourceWhitelist {
|
|
repeatedStringForClusterResourceWhitelist += strings.Replace(strings.Replace(f.String(), "ClusterResourceRestrictionItem", "ClusterResourceRestrictionItem", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForClusterResourceWhitelist += "}"
|
|
repeatedStringForNamespaceResourceBlacklist := "[]GroupKind{"
|
|
for _, f := range this.NamespaceResourceBlacklist {
|
|
repeatedStringForNamespaceResourceBlacklist += fmt.Sprintf("%v", f) + ","
|
|
}
|
|
repeatedStringForNamespaceResourceBlacklist += "}"
|
|
repeatedStringForSyncWindows := "[]*SyncWindow{"
|
|
for _, f := range this.SyncWindows {
|
|
repeatedStringForSyncWindows += strings.Replace(f.String(), "SyncWindow", "SyncWindow", 1) + ","
|
|
}
|
|
repeatedStringForSyncWindows += "}"
|
|
repeatedStringForNamespaceResourceWhitelist := "[]GroupKind{"
|
|
for _, f := range this.NamespaceResourceWhitelist {
|
|
repeatedStringForNamespaceResourceWhitelist += fmt.Sprintf("%v", f) + ","
|
|
}
|
|
repeatedStringForNamespaceResourceWhitelist += "}"
|
|
repeatedStringForSignatureKeys := "[]SignatureKey{"
|
|
for _, f := range this.SignatureKeys {
|
|
repeatedStringForSignatureKeys += strings.Replace(strings.Replace(f.String(), "SignatureKey", "SignatureKey", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSignatureKeys += "}"
|
|
repeatedStringForClusterResourceBlacklist := "[]ClusterResourceRestrictionItem{"
|
|
for _, f := range this.ClusterResourceBlacklist {
|
|
repeatedStringForClusterResourceBlacklist += strings.Replace(strings.Replace(f.String(), "ClusterResourceRestrictionItem", "ClusterResourceRestrictionItem", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForClusterResourceBlacklist += "}"
|
|
repeatedStringForDestinationServiceAccounts := "[]ApplicationDestinationServiceAccount{"
|
|
for _, f := range this.DestinationServiceAccounts {
|
|
repeatedStringForDestinationServiceAccounts += strings.Replace(strings.Replace(f.String(), "ApplicationDestinationServiceAccount", "ApplicationDestinationServiceAccount", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForDestinationServiceAccounts += "}"
|
|
s := strings.Join([]string{`&AppProjectSpec{`,
|
|
`SourceRepos:` + fmt.Sprintf("%v", this.SourceRepos) + `,`,
|
|
`Destinations:` + repeatedStringForDestinations + `,`,
|
|
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
|
`Roles:` + repeatedStringForRoles + `,`,
|
|
`ClusterResourceWhitelist:` + repeatedStringForClusterResourceWhitelist + `,`,
|
|
`NamespaceResourceBlacklist:` + repeatedStringForNamespaceResourceBlacklist + `,`,
|
|
`OrphanedResources:` + strings.Replace(this.OrphanedResources.String(), "OrphanedResourcesMonitorSettings", "OrphanedResourcesMonitorSettings", 1) + `,`,
|
|
`SyncWindows:` + repeatedStringForSyncWindows + `,`,
|
|
`NamespaceResourceWhitelist:` + repeatedStringForNamespaceResourceWhitelist + `,`,
|
|
`SignatureKeys:` + repeatedStringForSignatureKeys + `,`,
|
|
`ClusterResourceBlacklist:` + repeatedStringForClusterResourceBlacklist + `,`,
|
|
`SourceNamespaces:` + fmt.Sprintf("%v", this.SourceNamespaces) + `,`,
|
|
`PermitOnlyProjectScopedClusters:` + fmt.Sprintf("%v", this.PermitOnlyProjectScopedClusters) + `,`,
|
|
`DestinationServiceAccounts:` + repeatedStringForDestinationServiceAccounts + `,`,
|
|
`SourceIntegrity:` + strings.Replace(this.SourceIntegrity.String(), "SourceIntegrity", "SourceIntegrity", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AppProjectStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForJWTTokensByRole := make([]string, 0, len(this.JWTTokensByRole))
|
|
for k := range this.JWTTokensByRole {
|
|
keysForJWTTokensByRole = append(keysForJWTTokensByRole, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForJWTTokensByRole)
|
|
mapStringForJWTTokensByRole := "map[string]JWTTokens{"
|
|
for _, k := range keysForJWTTokensByRole {
|
|
mapStringForJWTTokensByRole += fmt.Sprintf("%v: %v,", k, this.JWTTokensByRole[k])
|
|
}
|
|
mapStringForJWTTokensByRole += "}"
|
|
s := strings.Join([]string{`&AppProjectStatus{`,
|
|
`JWTTokensByRole:` + mapStringForJWTTokensByRole + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Application) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Application{`,
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ApplicationSpec", "ApplicationSpec", 1), `&`, ``, 1) + `,`,
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ApplicationStatus", "ApplicationStatus", 1), `&`, ``, 1) + `,`,
|
|
`Operation:` + strings.Replace(this.Operation.String(), "Operation", "Operation", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationCondition) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationCondition{`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`LastTransitionTime:` + strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationDestination) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationDestination{`,
|
|
`Server:` + fmt.Sprintf("%v", this.Server) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationDestinationServiceAccount) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationDestinationServiceAccount{`,
|
|
`Server:` + fmt.Sprintf("%v", this.Server) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`DefaultServiceAccount:` + fmt.Sprintf("%v", this.DefaultServiceAccount) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]Application{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Application", "Application", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&ApplicationList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationMatchExpression) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationMatchExpression{`,
|
|
`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
|
|
`Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
|
|
`Values:` + fmt.Sprintf("%v", this.Values) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationPreservedFields) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationPreservedFields{`,
|
|
`Annotations:` + fmt.Sprintf("%v", this.Annotations) + `,`,
|
|
`Labels:` + fmt.Sprintf("%v", this.Labels) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSet) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSet{`,
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ApplicationSetSpec", "ApplicationSetSpec", 1), `&`, ``, 1) + `,`,
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ApplicationSetStatus", "ApplicationSetStatus", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetApplicationStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetApplicationStatus{`,
|
|
`Application:` + fmt.Sprintf("%v", this.Application) + `,`,
|
|
`LastTransitionTime:` + strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Step:` + fmt.Sprintf("%v", this.Step) + `,`,
|
|
`TargetRevisions:` + fmt.Sprintf("%v", this.TargetRevisions) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetCondition) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetCondition{`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`LastTransitionTime:` + strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1) + `,`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetGenerator{`,
|
|
`List:` + strings.Replace(this.List.String(), "ListGenerator", "ListGenerator", 1) + `,`,
|
|
`Clusters:` + strings.Replace(this.Clusters.String(), "ClusterGenerator", "ClusterGenerator", 1) + `,`,
|
|
`Git:` + strings.Replace(this.Git.String(), "GitGenerator", "GitGenerator", 1) + `,`,
|
|
`SCMProvider:` + strings.Replace(this.SCMProvider.String(), "SCMProviderGenerator", "SCMProviderGenerator", 1) + `,`,
|
|
`ClusterDecisionResource:` + strings.Replace(this.ClusterDecisionResource.String(), "DuckTypeGenerator", "DuckTypeGenerator", 1) + `,`,
|
|
`PullRequest:` + strings.Replace(this.PullRequest.String(), "PullRequestGenerator", "PullRequestGenerator", 1) + `,`,
|
|
`Matrix:` + strings.Replace(this.Matrix.String(), "MatrixGenerator", "MatrixGenerator", 1) + `,`,
|
|
`Merge:` + strings.Replace(this.Merge.String(), "MergeGenerator", "MergeGenerator", 1) + `,`,
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
`Plugin:` + strings.Replace(this.Plugin.String(), "PluginGenerator", "PluginGenerator", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]ApplicationSet{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ApplicationSet", "ApplicationSet", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&ApplicationSetList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetNestedGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetNestedGenerator{`,
|
|
`List:` + strings.Replace(this.List.String(), "ListGenerator", "ListGenerator", 1) + `,`,
|
|
`Clusters:` + strings.Replace(this.Clusters.String(), "ClusterGenerator", "ClusterGenerator", 1) + `,`,
|
|
`Git:` + strings.Replace(this.Git.String(), "GitGenerator", "GitGenerator", 1) + `,`,
|
|
`SCMProvider:` + strings.Replace(this.SCMProvider.String(), "SCMProviderGenerator", "SCMProviderGenerator", 1) + `,`,
|
|
`ClusterDecisionResource:` + strings.Replace(this.ClusterDecisionResource.String(), "DuckTypeGenerator", "DuckTypeGenerator", 1) + `,`,
|
|
`PullRequest:` + strings.Replace(this.PullRequest.String(), "PullRequestGenerator", "PullRequestGenerator", 1) + `,`,
|
|
`Matrix:` + strings.Replace(fmt.Sprintf("%v", this.Matrix), "JSON", "v11.JSON", 1) + `,`,
|
|
`Merge:` + strings.Replace(fmt.Sprintf("%v", this.Merge), "JSON", "v11.JSON", 1) + `,`,
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
`Plugin:` + strings.Replace(this.Plugin.String(), "PluginGenerator", "PluginGenerator", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetResourceIgnoreDifferences) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetResourceIgnoreDifferences{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`JSONPointers:` + fmt.Sprintf("%v", this.JSONPointers) + `,`,
|
|
`JQPathExpressions:` + fmt.Sprintf("%v", this.JQPathExpressions) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetRolloutStep) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForMatchExpressions := "[]ApplicationMatchExpression{"
|
|
for _, f := range this.MatchExpressions {
|
|
repeatedStringForMatchExpressions += strings.Replace(strings.Replace(f.String(), "ApplicationMatchExpression", "ApplicationMatchExpression", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForMatchExpressions += "}"
|
|
s := strings.Join([]string{`&ApplicationSetRolloutStep{`,
|
|
`MatchExpressions:` + repeatedStringForMatchExpressions + `,`,
|
|
`MaxUpdate:` + strings.Replace(fmt.Sprintf("%v", this.MaxUpdate), "IntOrString", "intstr.IntOrString", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetRolloutStrategy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForSteps := "[]ApplicationSetRolloutStep{"
|
|
for _, f := range this.Steps {
|
|
repeatedStringForSteps += strings.Replace(strings.Replace(f.String(), "ApplicationSetRolloutStep", "ApplicationSetRolloutStep", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSteps += "}"
|
|
s := strings.Join([]string{`&ApplicationSetRolloutStrategy{`,
|
|
`Steps:` + repeatedStringForSteps + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetSpec) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForGenerators := "[]ApplicationSetGenerator{"
|
|
for _, f := range this.Generators {
|
|
repeatedStringForGenerators += strings.Replace(strings.Replace(f.String(), "ApplicationSetGenerator", "ApplicationSetGenerator", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForGenerators += "}"
|
|
repeatedStringForIgnoreApplicationDifferences := "[]ApplicationSetResourceIgnoreDifferences{"
|
|
for _, f := range this.IgnoreApplicationDifferences {
|
|
repeatedStringForIgnoreApplicationDifferences += strings.Replace(strings.Replace(f.String(), "ApplicationSetResourceIgnoreDifferences", "ApplicationSetResourceIgnoreDifferences", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForIgnoreApplicationDifferences += "}"
|
|
s := strings.Join([]string{`&ApplicationSetSpec{`,
|
|
`GoTemplate:` + fmt.Sprintf("%v", this.GoTemplate) + `,`,
|
|
`Generators:` + repeatedStringForGenerators + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`SyncPolicy:` + strings.Replace(this.SyncPolicy.String(), "ApplicationSetSyncPolicy", "ApplicationSetSyncPolicy", 1) + `,`,
|
|
`Strategy:` + strings.Replace(this.Strategy.String(), "ApplicationSetStrategy", "ApplicationSetStrategy", 1) + `,`,
|
|
`PreservedFields:` + strings.Replace(this.PreservedFields.String(), "ApplicationPreservedFields", "ApplicationPreservedFields", 1) + `,`,
|
|
`GoTemplateOptions:` + fmt.Sprintf("%v", this.GoTemplateOptions) + `,`,
|
|
`ApplyNestedSelectors:` + fmt.Sprintf("%v", this.ApplyNestedSelectors) + `,`,
|
|
`IgnoreApplicationDifferences:` + repeatedStringForIgnoreApplicationDifferences + `,`,
|
|
`TemplatePatch:` + valueToStringGenerated(this.TemplatePatch) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForConditions := "[]ApplicationSetCondition{"
|
|
for _, f := range this.Conditions {
|
|
repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "ApplicationSetCondition", "ApplicationSetCondition", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForConditions += "}"
|
|
repeatedStringForApplicationStatus := "[]ApplicationSetApplicationStatus{"
|
|
for _, f := range this.ApplicationStatus {
|
|
repeatedStringForApplicationStatus += strings.Replace(strings.Replace(f.String(), "ApplicationSetApplicationStatus", "ApplicationSetApplicationStatus", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForApplicationStatus += "}"
|
|
repeatedStringForResources := "[]ResourceStatus{"
|
|
for _, f := range this.Resources {
|
|
repeatedStringForResources += strings.Replace(strings.Replace(f.String(), "ResourceStatus", "ResourceStatus", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForResources += "}"
|
|
s := strings.Join([]string{`&ApplicationSetStatus{`,
|
|
`Conditions:` + repeatedStringForConditions + `,`,
|
|
`ApplicationStatus:` + repeatedStringForApplicationStatus + `,`,
|
|
`Resources:` + repeatedStringForResources + `,`,
|
|
`ResourcesCount:` + fmt.Sprintf("%v", this.ResourcesCount) + `,`,
|
|
`Health:` + strings.Replace(strings.Replace(this.Health.String(), "HealthStatus", "HealthStatus", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetStrategy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetStrategy{`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`RollingSync:` + strings.Replace(this.RollingSync.String(), "ApplicationSetRolloutStrategy", "ApplicationSetRolloutStrategy", 1) + `,`,
|
|
`DeletionOrder:` + fmt.Sprintf("%v", this.DeletionOrder) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetSyncPolicy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetSyncPolicy{`,
|
|
`PreserveResourcesOnDeletion:` + fmt.Sprintf("%v", this.PreserveResourcesOnDeletion) + `,`,
|
|
`ApplicationsSync:` + valueToStringGenerated(this.ApplicationsSync) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetTemplate) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetTemplate{`,
|
|
`ApplicationSetTemplateMeta:` + strings.Replace(strings.Replace(this.ApplicationSetTemplateMeta.String(), "ApplicationSetTemplateMeta", "ApplicationSetTemplateMeta", 1), `&`, ``, 1) + `,`,
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ApplicationSpec", "ApplicationSpec", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetTemplateMeta) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForLabels := make([]string, 0, len(this.Labels))
|
|
for k := range this.Labels {
|
|
keysForLabels = append(keysForLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
mapStringForLabels := "map[string]string{"
|
|
for _, k := range keysForLabels {
|
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
|
}
|
|
mapStringForLabels += "}"
|
|
keysForAnnotations := make([]string, 0, len(this.Annotations))
|
|
for k := range this.Annotations {
|
|
keysForAnnotations = append(keysForAnnotations, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
mapStringForAnnotations := "map[string]string{"
|
|
for _, k := range keysForAnnotations {
|
|
mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
|
|
}
|
|
mapStringForAnnotations += "}"
|
|
s := strings.Join([]string{`&ApplicationSetTemplateMeta{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Labels:` + mapStringForLabels + `,`,
|
|
`Annotations:` + mapStringForAnnotations + `,`,
|
|
`Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetTerminalGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetTerminalGenerator{`,
|
|
`List:` + strings.Replace(this.List.String(), "ListGenerator", "ListGenerator", 1) + `,`,
|
|
`Clusters:` + strings.Replace(this.Clusters.String(), "ClusterGenerator", "ClusterGenerator", 1) + `,`,
|
|
`Git:` + strings.Replace(this.Git.String(), "GitGenerator", "GitGenerator", 1) + `,`,
|
|
`SCMProvider:` + strings.Replace(this.SCMProvider.String(), "SCMProviderGenerator", "SCMProviderGenerator", 1) + `,`,
|
|
`ClusterDecisionResource:` + strings.Replace(this.ClusterDecisionResource.String(), "DuckTypeGenerator", "DuckTypeGenerator", 1) + `,`,
|
|
`PullRequest:` + strings.Replace(this.PullRequest.String(), "PullRequestGenerator", "PullRequestGenerator", 1) + `,`,
|
|
`Plugin:` + strings.Replace(this.Plugin.String(), "PluginGenerator", "PluginGenerator", 1) + `,`,
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetTree) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForNodes := "[]ResourceNode{"
|
|
for _, f := range this.Nodes {
|
|
repeatedStringForNodes += strings.Replace(strings.Replace(f.String(), "ResourceNode", "ResourceNode", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForNodes += "}"
|
|
s := strings.Join([]string{`&ApplicationSetTree{`,
|
|
`Nodes:` + repeatedStringForNodes + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSetWatchEvent) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSetWatchEvent{`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`ApplicationSet:` + strings.Replace(strings.Replace(this.ApplicationSet.String(), "ApplicationSet", "ApplicationSet", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSource) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSource{`,
|
|
`RepoURL:` + fmt.Sprintf("%v", this.RepoURL) + `,`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`TargetRevision:` + fmt.Sprintf("%v", this.TargetRevision) + `,`,
|
|
`Helm:` + strings.Replace(fmt.Sprintf("%v", this.Helm), "ApplicationSourceHelm", "ApplicationSourceHelm", 1) + `,`,
|
|
`Kustomize:` + strings.Replace(this.Kustomize.String(), "ApplicationSourceKustomize", "ApplicationSourceKustomize", 1) + `,`,
|
|
`Directory:` + strings.Replace(this.Directory.String(), "ApplicationSourceDirectory", "ApplicationSourceDirectory", 1) + `,`,
|
|
`Plugin:` + strings.Replace(this.Plugin.String(), "ApplicationSourcePlugin", "ApplicationSourcePlugin", 1) + `,`,
|
|
`Chart:` + fmt.Sprintf("%v", this.Chart) + `,`,
|
|
`Ref:` + fmt.Sprintf("%v", this.Ref) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`TagPrefix:` + fmt.Sprintf("%v", this.TagPrefix) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSourceDirectory) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSourceDirectory{`,
|
|
`Recurse:` + fmt.Sprintf("%v", this.Recurse) + `,`,
|
|
`Jsonnet:` + strings.Replace(strings.Replace(this.Jsonnet.String(), "ApplicationSourceJsonnet", "ApplicationSourceJsonnet", 1), `&`, ``, 1) + `,`,
|
|
`Exclude:` + fmt.Sprintf("%v", this.Exclude) + `,`,
|
|
`Include:` + fmt.Sprintf("%v", this.Include) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSourceJsonnet) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForExtVars := "[]JsonnetVar{"
|
|
for _, f := range this.ExtVars {
|
|
repeatedStringForExtVars += strings.Replace(strings.Replace(f.String(), "JsonnetVar", "JsonnetVar", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForExtVars += "}"
|
|
repeatedStringForTLAs := "[]JsonnetVar{"
|
|
for _, f := range this.TLAs {
|
|
repeatedStringForTLAs += strings.Replace(strings.Replace(f.String(), "JsonnetVar", "JsonnetVar", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForTLAs += "}"
|
|
s := strings.Join([]string{`&ApplicationSourceJsonnet{`,
|
|
`ExtVars:` + repeatedStringForExtVars + `,`,
|
|
`TLAs:` + repeatedStringForTLAs + `,`,
|
|
`Libs:` + fmt.Sprintf("%v", this.Libs) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSourceKustomize) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForReplicas := "[]KustomizeReplica{"
|
|
for _, f := range this.Replicas {
|
|
repeatedStringForReplicas += strings.Replace(strings.Replace(f.String(), "KustomizeReplica", "KustomizeReplica", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForReplicas += "}"
|
|
repeatedStringForPatches := "[]KustomizePatch{"
|
|
for _, f := range this.Patches {
|
|
repeatedStringForPatches += strings.Replace(strings.Replace(f.String(), "KustomizePatch", "KustomizePatch", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForPatches += "}"
|
|
keysForCommonLabels := make([]string, 0, len(this.CommonLabels))
|
|
for k := range this.CommonLabels {
|
|
keysForCommonLabels = append(keysForCommonLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForCommonLabels)
|
|
mapStringForCommonLabels := "map[string]string{"
|
|
for _, k := range keysForCommonLabels {
|
|
mapStringForCommonLabels += fmt.Sprintf("%v: %v,", k, this.CommonLabels[k])
|
|
}
|
|
mapStringForCommonLabels += "}"
|
|
keysForCommonAnnotations := make([]string, 0, len(this.CommonAnnotations))
|
|
for k := range this.CommonAnnotations {
|
|
keysForCommonAnnotations = append(keysForCommonAnnotations, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForCommonAnnotations)
|
|
mapStringForCommonAnnotations := "map[string]string{"
|
|
for _, k := range keysForCommonAnnotations {
|
|
mapStringForCommonAnnotations += fmt.Sprintf("%v: %v,", k, this.CommonAnnotations[k])
|
|
}
|
|
mapStringForCommonAnnotations += "}"
|
|
s := strings.Join([]string{`&ApplicationSourceKustomize{`,
|
|
`NamePrefix:` + fmt.Sprintf("%v", this.NamePrefix) + `,`,
|
|
`NameSuffix:` + fmt.Sprintf("%v", this.NameSuffix) + `,`,
|
|
`Images:` + fmt.Sprintf("%v", this.Images) + `,`,
|
|
`CommonLabels:` + mapStringForCommonLabels + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`CommonAnnotations:` + mapStringForCommonAnnotations + `,`,
|
|
`ForceCommonLabels:` + fmt.Sprintf("%v", this.ForceCommonLabels) + `,`,
|
|
`ForceCommonAnnotations:` + fmt.Sprintf("%v", this.ForceCommonAnnotations) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`CommonAnnotationsEnvsubst:` + fmt.Sprintf("%v", this.CommonAnnotationsEnvsubst) + `,`,
|
|
`Replicas:` + repeatedStringForReplicas + `,`,
|
|
`Patches:` + repeatedStringForPatches + `,`,
|
|
`Components:` + fmt.Sprintf("%v", this.Components) + `,`,
|
|
`LabelWithoutSelector:` + fmt.Sprintf("%v", this.LabelWithoutSelector) + `,`,
|
|
`KubeVersion:` + fmt.Sprintf("%v", this.KubeVersion) + `,`,
|
|
`APIVersions:` + fmt.Sprintf("%v", this.APIVersions) + `,`,
|
|
`IgnoreMissingComponents:` + fmt.Sprintf("%v", this.IgnoreMissingComponents) + `,`,
|
|
`LabelIncludeTemplates:` + fmt.Sprintf("%v", this.LabelIncludeTemplates) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSourcePlugin) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForEnv := "[]*EnvEntry{"
|
|
for _, f := range this.Env {
|
|
repeatedStringForEnv += strings.Replace(f.String(), "EnvEntry", "EnvEntry", 1) + ","
|
|
}
|
|
repeatedStringForEnv += "}"
|
|
repeatedStringForParameters := "[]ApplicationSourcePluginParameter{"
|
|
for _, f := range this.Parameters {
|
|
repeatedStringForParameters += strings.Replace(strings.Replace(f.String(), "ApplicationSourcePluginParameter", "ApplicationSourcePluginParameter", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForParameters += "}"
|
|
s := strings.Join([]string{`&ApplicationSourcePlugin{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Env:` + repeatedStringForEnv + `,`,
|
|
`Parameters:` + repeatedStringForParameters + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSourcePluginParameter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSourcePluginParameter{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`OptionalMap:` + strings.Replace(this.OptionalMap.String(), "OptionalMap", "OptionalMap", 1) + `,`,
|
|
`OptionalArray:` + strings.Replace(this.OptionalArray.String(), "OptionalArray", "OptionalArray", 1) + `,`,
|
|
`String_:` + valueToStringGenerated(this.String_) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSpec) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForIgnoreDifferences := "[]ResourceIgnoreDifferences{"
|
|
for _, f := range this.IgnoreDifferences {
|
|
repeatedStringForIgnoreDifferences += strings.Replace(strings.Replace(f.String(), "ResourceIgnoreDifferences", "ResourceIgnoreDifferences", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForIgnoreDifferences += "}"
|
|
repeatedStringForInfo := "[]Info{"
|
|
for _, f := range this.Info {
|
|
repeatedStringForInfo += strings.Replace(strings.Replace(f.String(), "Info", "Info", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForInfo += "}"
|
|
repeatedStringForSources := "[]ApplicationSource{"
|
|
for _, f := range this.Sources {
|
|
repeatedStringForSources += strings.Replace(strings.Replace(f.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSources += "}"
|
|
s := strings.Join([]string{`&ApplicationSpec{`,
|
|
`Source:` + strings.Replace(this.Source.String(), "ApplicationSource", "ApplicationSource", 1) + `,`,
|
|
`Destination:` + strings.Replace(strings.Replace(this.Destination.String(), "ApplicationDestination", "ApplicationDestination", 1), `&`, ``, 1) + `,`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`SyncPolicy:` + strings.Replace(this.SyncPolicy.String(), "SyncPolicy", "SyncPolicy", 1) + `,`,
|
|
`IgnoreDifferences:` + repeatedStringForIgnoreDifferences + `,`,
|
|
`Info:` + repeatedStringForInfo + `,`,
|
|
`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
|
|
`Sources:` + repeatedStringForSources + `,`,
|
|
`SourceHydrator:` + strings.Replace(this.SourceHydrator.String(), "SourceHydrator", "SourceHydrator", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForResources := "[]ResourceStatus{"
|
|
for _, f := range this.Resources {
|
|
repeatedStringForResources += strings.Replace(strings.Replace(f.String(), "ResourceStatus", "ResourceStatus", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForResources += "}"
|
|
repeatedStringForHistory := "[]RevisionHistory{"
|
|
for _, f := range this.History {
|
|
repeatedStringForHistory += strings.Replace(strings.Replace(f.String(), "RevisionHistory", "RevisionHistory", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForHistory += "}"
|
|
repeatedStringForConditions := "[]ApplicationCondition{"
|
|
for _, f := range this.Conditions {
|
|
repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "ApplicationCondition", "ApplicationCondition", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForConditions += "}"
|
|
s := strings.Join([]string{`&ApplicationStatus{`,
|
|
`Resources:` + repeatedStringForResources + `,`,
|
|
`Sync:` + strings.Replace(strings.Replace(this.Sync.String(), "SyncStatus", "SyncStatus", 1), `&`, ``, 1) + `,`,
|
|
`Health:` + strings.Replace(strings.Replace(this.Health.String(), "AppHealthStatus", "AppHealthStatus", 1), `&`, ``, 1) + `,`,
|
|
`History:` + repeatedStringForHistory + `,`,
|
|
`Conditions:` + repeatedStringForConditions + `,`,
|
|
`ReconciledAt:` + strings.Replace(fmt.Sprintf("%v", this.ReconciledAt), "Time", "v1.Time", 1) + `,`,
|
|
`OperationState:` + strings.Replace(this.OperationState.String(), "OperationState", "OperationState", 1) + `,`,
|
|
`ObservedAt:` + strings.Replace(fmt.Sprintf("%v", this.ObservedAt), "Time", "v1.Time", 1) + `,`,
|
|
`SourceType:` + fmt.Sprintf("%v", this.SourceType) + `,`,
|
|
`Summary:` + strings.Replace(strings.Replace(this.Summary.String(), "ApplicationSummary", "ApplicationSummary", 1), `&`, ``, 1) + `,`,
|
|
`ResourceHealthSource:` + fmt.Sprintf("%v", this.ResourceHealthSource) + `,`,
|
|
`SourceTypes:` + fmt.Sprintf("%v", this.SourceTypes) + `,`,
|
|
`ControllerNamespace:` + fmt.Sprintf("%v", this.ControllerNamespace) + `,`,
|
|
`SourceHydrator:` + strings.Replace(strings.Replace(this.SourceHydrator.String(), "SourceHydratorStatus", "SourceHydratorStatus", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationSummary) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationSummary{`,
|
|
`ExternalURLs:` + fmt.Sprintf("%v", this.ExternalURLs) + `,`,
|
|
`Images:` + fmt.Sprintf("%v", this.Images) + `,`,
|
|
`IsAppOfApps:` + fmt.Sprintf("%v", this.IsAppOfApps) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationTree) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForNodes := "[]ResourceNode{"
|
|
for _, f := range this.Nodes {
|
|
repeatedStringForNodes += strings.Replace(strings.Replace(f.String(), "ResourceNode", "ResourceNode", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForNodes += "}"
|
|
repeatedStringForOrphanedNodes := "[]ResourceNode{"
|
|
for _, f := range this.OrphanedNodes {
|
|
repeatedStringForOrphanedNodes += strings.Replace(strings.Replace(f.String(), "ResourceNode", "ResourceNode", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForOrphanedNodes += "}"
|
|
repeatedStringForHosts := "[]HostInfo{"
|
|
for _, f := range this.Hosts {
|
|
repeatedStringForHosts += strings.Replace(strings.Replace(f.String(), "HostInfo", "HostInfo", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForHosts += "}"
|
|
s := strings.Join([]string{`&ApplicationTree{`,
|
|
`Nodes:` + repeatedStringForNodes + `,`,
|
|
`OrphanedNodes:` + repeatedStringForOrphanedNodes + `,`,
|
|
`Hosts:` + repeatedStringForHosts + `,`,
|
|
`ShardsCount:` + fmt.Sprintf("%v", this.ShardsCount) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ApplicationWatchEvent) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ApplicationWatchEvent{`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`Application:` + strings.Replace(strings.Replace(this.Application.String(), "Application", "Application", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Backoff) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Backoff{`,
|
|
`Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
|
|
`Factor:` + valueToStringGenerated(this.Factor) + `,`,
|
|
`MaxDuration:` + fmt.Sprintf("%v", this.MaxDuration) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *BasicAuthBitbucketServer) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&BasicAuthBitbucketServer{`,
|
|
`Username:` + fmt.Sprintf("%v", this.Username) + `,`,
|
|
`PasswordRef:` + strings.Replace(this.PasswordRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *BearerTokenBitbucket) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&BearerTokenBitbucket{`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *BearerTokenBitbucketCloud) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&BearerTokenBitbucketCloud{`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ChartDetails) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ChartDetails{`,
|
|
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
|
`Home:` + fmt.Sprintf("%v", this.Home) + `,`,
|
|
`Maintainers:` + fmt.Sprintf("%v", this.Maintainers) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Cluster) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForLabels := make([]string, 0, len(this.Labels))
|
|
for k := range this.Labels {
|
|
keysForLabels = append(keysForLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
mapStringForLabels := "map[string]string{"
|
|
for _, k := range keysForLabels {
|
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
|
}
|
|
mapStringForLabels += "}"
|
|
keysForAnnotations := make([]string, 0, len(this.Annotations))
|
|
for k := range this.Annotations {
|
|
keysForAnnotations = append(keysForAnnotations, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
mapStringForAnnotations := "map[string]string{"
|
|
for _, k := range keysForAnnotations {
|
|
mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
|
|
}
|
|
mapStringForAnnotations += "}"
|
|
s := strings.Join([]string{`&Cluster{`,
|
|
`Server:` + fmt.Sprintf("%v", this.Server) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Config:` + strings.Replace(strings.Replace(this.Config.String(), "ClusterConfig", "ClusterConfig", 1), `&`, ``, 1) + `,`,
|
|
`ConnectionState:` + strings.Replace(strings.Replace(this.ConnectionState.String(), "ConnectionState", "ConnectionState", 1), `&`, ``, 1) + `,`,
|
|
`ServerVersion:` + fmt.Sprintf("%v", this.ServerVersion) + `,`,
|
|
`Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
|
|
`RefreshRequestedAt:` + strings.Replace(fmt.Sprintf("%v", this.RefreshRequestedAt), "Time", "v1.Time", 1) + `,`,
|
|
`Info:` + strings.Replace(strings.Replace(this.Info.String(), "ClusterInfo", "ClusterInfo", 1), `&`, ``, 1) + `,`,
|
|
`Shard:` + valueToStringGenerated(this.Shard) + `,`,
|
|
`ClusterResources:` + fmt.Sprintf("%v", this.ClusterResources) + `,`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`Labels:` + mapStringForLabels + `,`,
|
|
`Annotations:` + mapStringForAnnotations + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ClusterCacheInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ClusterCacheInfo{`,
|
|
`ResourcesCount:` + fmt.Sprintf("%v", this.ResourcesCount) + `,`,
|
|
`APIsCount:` + fmt.Sprintf("%v", this.APIsCount) + `,`,
|
|
`LastCacheSyncTime:` + strings.Replace(fmt.Sprintf("%v", this.LastCacheSyncTime), "Time", "v1.Time", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ClusterConfig) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ClusterConfig{`,
|
|
`Username:` + fmt.Sprintf("%v", this.Username) + `,`,
|
|
`Password:` + fmt.Sprintf("%v", this.Password) + `,`,
|
|
`BearerToken:` + fmt.Sprintf("%v", this.BearerToken) + `,`,
|
|
`TLSClientConfig:` + strings.Replace(strings.Replace(this.TLSClientConfig.String(), "TLSClientConfig", "TLSClientConfig", 1), `&`, ``, 1) + `,`,
|
|
`AWSAuthConfig:` + strings.Replace(this.AWSAuthConfig.String(), "AWSAuthConfig", "AWSAuthConfig", 1) + `,`,
|
|
`ExecProviderConfig:` + strings.Replace(this.ExecProviderConfig.String(), "ExecProviderConfig", "ExecProviderConfig", 1) + `,`,
|
|
`DisableCompression:` + fmt.Sprintf("%v", this.DisableCompression) + `,`,
|
|
`ProxyUrl:` + fmt.Sprintf("%v", this.ProxyUrl) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ClusterGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForValues := make([]string, 0, len(this.Values))
|
|
for k := range this.Values {
|
|
keysForValues = append(keysForValues, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
mapStringForValues := "map[string]string{"
|
|
for _, k := range keysForValues {
|
|
mapStringForValues += fmt.Sprintf("%v: %v,", k, this.Values[k])
|
|
}
|
|
mapStringForValues += "}"
|
|
s := strings.Join([]string{`&ClusterGenerator{`,
|
|
`Selector:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1), `&`, ``, 1) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`Values:` + mapStringForValues + `,`,
|
|
`FlatList:` + fmt.Sprintf("%v", this.FlatList) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ClusterInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ClusterInfo{`,
|
|
`ConnectionState:` + strings.Replace(strings.Replace(this.ConnectionState.String(), "ConnectionState", "ConnectionState", 1), `&`, ``, 1) + `,`,
|
|
`ServerVersion:` + fmt.Sprintf("%v", this.ServerVersion) + `,`,
|
|
`CacheInfo:` + strings.Replace(strings.Replace(this.CacheInfo.String(), "ClusterCacheInfo", "ClusterCacheInfo", 1), `&`, ``, 1) + `,`,
|
|
`ApplicationsCount:` + fmt.Sprintf("%v", this.ApplicationsCount) + `,`,
|
|
`APIVersions:` + fmt.Sprintf("%v", this.APIVersions) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ClusterList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]Cluster{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Cluster", "Cluster", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&ClusterList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ClusterResourceRestrictionItem) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ClusterResourceRestrictionItem{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command{`,
|
|
`Command:` + fmt.Sprintf("%v", this.Command) + `,`,
|
|
`Args:` + fmt.Sprintf("%v", this.Args) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CommitMetadata) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CommitMetadata{`,
|
|
`Author:` + fmt.Sprintf("%v", this.Author) + `,`,
|
|
`Date:` + fmt.Sprintf("%v", this.Date) + `,`,
|
|
`Subject:` + fmt.Sprintf("%v", this.Subject) + `,`,
|
|
`Body:` + fmt.Sprintf("%v", this.Body) + `,`,
|
|
`SHA:` + fmt.Sprintf("%v", this.SHA) + `,`,
|
|
`RepoURL:` + fmt.Sprintf("%v", this.RepoURL) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ComparedTo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForSources := "[]ApplicationSource{"
|
|
for _, f := range this.Sources {
|
|
repeatedStringForSources += strings.Replace(strings.Replace(f.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSources += "}"
|
|
repeatedStringForIgnoreDifferences := "[]ResourceIgnoreDifferences{"
|
|
for _, f := range this.IgnoreDifferences {
|
|
repeatedStringForIgnoreDifferences += strings.Replace(strings.Replace(f.String(), "ResourceIgnoreDifferences", "ResourceIgnoreDifferences", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForIgnoreDifferences += "}"
|
|
s := strings.Join([]string{`&ComparedTo{`,
|
|
`Source:` + strings.Replace(strings.Replace(this.Source.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + `,`,
|
|
`Destination:` + strings.Replace(strings.Replace(this.Destination.String(), "ApplicationDestination", "ApplicationDestination", 1), `&`, ``, 1) + `,`,
|
|
`Sources:` + repeatedStringForSources + `,`,
|
|
`IgnoreDifferences:` + repeatedStringForIgnoreDifferences + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ComponentParameter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ComponentParameter{`,
|
|
`Component:` + fmt.Sprintf("%v", this.Component) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ConfigManagementPlugin) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ConfigManagementPlugin{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Init:` + strings.Replace(this.Init.String(), "Command", "Command", 1) + `,`,
|
|
`Generate:` + strings.Replace(strings.Replace(this.Generate.String(), "Command", "Command", 1), `&`, ``, 1) + `,`,
|
|
`LockRepo:` + fmt.Sprintf("%v", this.LockRepo) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ConfigMapKeyRef) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ConfigMapKeyRef{`,
|
|
`ConfigMapName:` + fmt.Sprintf("%v", this.ConfigMapName) + `,`,
|
|
`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ConnectionState) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ConnectionState{`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`ModifiedAt:` + strings.Replace(fmt.Sprintf("%v", this.ModifiedAt), "Time", "v1.Time", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DrySource) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DrySource{`,
|
|
`RepoURL:` + fmt.Sprintf("%v", this.RepoURL) + `,`,
|
|
`TargetRevision:` + fmt.Sprintf("%v", this.TargetRevision) + `,`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`Helm:` + strings.Replace(fmt.Sprintf("%v", this.Helm), "ApplicationSourceHelm", "ApplicationSourceHelm", 1) + `,`,
|
|
`Kustomize:` + strings.Replace(this.Kustomize.String(), "ApplicationSourceKustomize", "ApplicationSourceKustomize", 1) + `,`,
|
|
`Directory:` + strings.Replace(this.Directory.String(), "ApplicationSourceDirectory", "ApplicationSourceDirectory", 1) + `,`,
|
|
`Plugin:` + strings.Replace(this.Plugin.String(), "ApplicationSourcePlugin", "ApplicationSourcePlugin", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DuckTypeGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForValues := make([]string, 0, len(this.Values))
|
|
for k := range this.Values {
|
|
keysForValues = append(keysForValues, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
mapStringForValues := "map[string]string{"
|
|
for _, k := range keysForValues {
|
|
mapStringForValues += fmt.Sprintf("%v: %v,", k, this.Values[k])
|
|
}
|
|
mapStringForValues += "}"
|
|
s := strings.Join([]string{`&DuckTypeGenerator{`,
|
|
`ConfigMapRef:` + fmt.Sprintf("%v", this.ConfigMapRef) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`RequeueAfterSeconds:` + valueToStringGenerated(this.RequeueAfterSeconds) + `,`,
|
|
`LabelSelector:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "v1.LabelSelector", 1), `&`, ``, 1) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`Values:` + mapStringForValues + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *EnvEntry) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&EnvEntry{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ExecProviderConfig) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForEnv := make([]string, 0, len(this.Env))
|
|
for k := range this.Env {
|
|
keysForEnv = append(keysForEnv, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForEnv)
|
|
mapStringForEnv := "map[string]string{"
|
|
for _, k := range keysForEnv {
|
|
mapStringForEnv += fmt.Sprintf("%v: %v,", k, this.Env[k])
|
|
}
|
|
mapStringForEnv += "}"
|
|
s := strings.Join([]string{`&ExecProviderConfig{`,
|
|
`Command:` + fmt.Sprintf("%v", this.Command) + `,`,
|
|
`Args:` + fmt.Sprintf("%v", this.Args) + `,`,
|
|
`Env:` + mapStringForEnv + `,`,
|
|
`APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
|
|
`InstallHint:` + fmt.Sprintf("%v", this.InstallHint) + `,`,
|
|
`ProvideClusterInfo:` + fmt.Sprintf("%v", this.ProvideClusterInfo) + `,`,
|
|
`Config:` + strings.Replace(fmt.Sprintf("%v", this.Config), "RawExtension", "runtime.RawExtension", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GitDirectoryGeneratorItem) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GitDirectoryGeneratorItem{`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`Exclude:` + fmt.Sprintf("%v", this.Exclude) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GitFileGeneratorItem) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GitFileGeneratorItem{`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`Exclude:` + fmt.Sprintf("%v", this.Exclude) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GitGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForDirectories := "[]GitDirectoryGeneratorItem{"
|
|
for _, f := range this.Directories {
|
|
repeatedStringForDirectories += strings.Replace(strings.Replace(f.String(), "GitDirectoryGeneratorItem", "GitDirectoryGeneratorItem", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForDirectories += "}"
|
|
repeatedStringForFiles := "[]GitFileGeneratorItem{"
|
|
for _, f := range this.Files {
|
|
repeatedStringForFiles += strings.Replace(strings.Replace(f.String(), "GitFileGeneratorItem", "GitFileGeneratorItem", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForFiles += "}"
|
|
keysForValues := make([]string, 0, len(this.Values))
|
|
for k := range this.Values {
|
|
keysForValues = append(keysForValues, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
mapStringForValues := "map[string]string{"
|
|
for _, k := range keysForValues {
|
|
mapStringForValues += fmt.Sprintf("%v: %v,", k, this.Values[k])
|
|
}
|
|
mapStringForValues += "}"
|
|
s := strings.Join([]string{`&GitGenerator{`,
|
|
`RepoURL:` + fmt.Sprintf("%v", this.RepoURL) + `,`,
|
|
`Directories:` + repeatedStringForDirectories + `,`,
|
|
`Files:` + repeatedStringForFiles + `,`,
|
|
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
|
|
`RequeueAfterSeconds:` + valueToStringGenerated(this.RequeueAfterSeconds) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`PathParamPrefix:` + fmt.Sprintf("%v", this.PathParamPrefix) + `,`,
|
|
`Values:` + mapStringForValues + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GnuPGPublicKey) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GnuPGPublicKey{`,
|
|
`KeyID:` + fmt.Sprintf("%v", this.KeyID) + `,`,
|
|
`Fingerprint:` + fmt.Sprintf("%v", this.Fingerprint) + `,`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`Trust:` + fmt.Sprintf("%v", this.Trust) + `,`,
|
|
`SubType:` + fmt.Sprintf("%v", this.SubType) + `,`,
|
|
`KeyData:` + fmt.Sprintf("%v", this.KeyData) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GnuPGPublicKeyList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]GnuPGPublicKey{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "GnuPGPublicKey", "GnuPGPublicKey", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&GnuPGPublicKeyList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HealthStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HealthStatus{`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`LastTransitionTime:` + strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HelmFileParameter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HelmFileParameter{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HelmOptions) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HelmOptions{`,
|
|
`ValuesFileSchemes:` + fmt.Sprintf("%v", this.ValuesFileSchemes) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HelmParameter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HelmParameter{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`ForceString:` + fmt.Sprintf("%v", this.ForceString) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HostInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForResourcesInfo := "[]HostResourceInfo{"
|
|
for _, f := range this.ResourcesInfo {
|
|
repeatedStringForResourcesInfo += strings.Replace(strings.Replace(f.String(), "HostResourceInfo", "HostResourceInfo", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForResourcesInfo += "}"
|
|
keysForLabels := make([]string, 0, len(this.Labels))
|
|
for k := range this.Labels {
|
|
keysForLabels = append(keysForLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
mapStringForLabels := "map[string]string{"
|
|
for _, k := range keysForLabels {
|
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
|
}
|
|
mapStringForLabels += "}"
|
|
s := strings.Join([]string{`&HostInfo{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`ResourcesInfo:` + repeatedStringForResourcesInfo + `,`,
|
|
`SystemInfo:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.SystemInfo), "NodeSystemInfo", "v12.NodeSystemInfo", 1), `&`, ``, 1) + `,`,
|
|
`Labels:` + mapStringForLabels + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HostResourceInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HostResourceInfo{`,
|
|
`ResourceName:` + fmt.Sprintf("%v", this.ResourceName) + `,`,
|
|
`RequestedByApp:` + fmt.Sprintf("%v", this.RequestedByApp) + `,`,
|
|
`RequestedByNeighbors:` + fmt.Sprintf("%v", this.RequestedByNeighbors) + `,`,
|
|
`Capacity:` + fmt.Sprintf("%v", this.Capacity) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HydrateOperation) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HydrateOperation{`,
|
|
`StartedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
|
`FinishedAt:` + strings.Replace(fmt.Sprintf("%v", this.FinishedAt), "Time", "v1.Time", 1) + `,`,
|
|
`Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`DrySHA:` + fmt.Sprintf("%v", this.DrySHA) + `,`,
|
|
`HydratedSHA:` + fmt.Sprintf("%v", this.HydratedSHA) + `,`,
|
|
`SourceHydrator:` + strings.Replace(strings.Replace(this.SourceHydrator.String(), "SourceHydrator", "SourceHydrator", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *HydrateTo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&HydrateTo{`,
|
|
`TargetBranch:` + fmt.Sprintf("%v", this.TargetBranch) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Info) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Info{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *InfoItem) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&InfoItem{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *JWTToken) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&JWTToken{`,
|
|
`IssuedAt:` + fmt.Sprintf("%v", this.IssuedAt) + `,`,
|
|
`ExpiresAt:` + fmt.Sprintf("%v", this.ExpiresAt) + `,`,
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *JWTTokens) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]JWTToken{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "JWTToken", "JWTToken", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&JWTTokens{`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *JsonnetVar) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&JsonnetVar{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`Code:` + fmt.Sprintf("%v", this.Code) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KnownTypeField) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KnownTypeField{`,
|
|
`Field:` + fmt.Sprintf("%v", this.Field) + `,`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizeGvk) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KustomizeGvk{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizeOptions) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForVersions := "[]KustomizeVersion{"
|
|
for _, f := range this.Versions {
|
|
repeatedStringForVersions += strings.Replace(strings.Replace(f.String(), "KustomizeVersion", "KustomizeVersion", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForVersions += "}"
|
|
s := strings.Join([]string{`&KustomizeOptions{`,
|
|
`BuildOptions:` + fmt.Sprintf("%v", this.BuildOptions) + `,`,
|
|
`BinaryPath:` + fmt.Sprintf("%v", this.BinaryPath) + `,`,
|
|
`Versions:` + repeatedStringForVersions + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizePatch) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForOptions := make([]string, 0, len(this.Options))
|
|
for k := range this.Options {
|
|
keysForOptions = append(keysForOptions, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
|
|
mapStringForOptions := "map[string]bool{"
|
|
for _, k := range keysForOptions {
|
|
mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
|
|
}
|
|
mapStringForOptions += "}"
|
|
s := strings.Join([]string{`&KustomizePatch{`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`Patch:` + fmt.Sprintf("%v", this.Patch) + `,`,
|
|
`Target:` + strings.Replace(this.Target.String(), "KustomizeSelector", "KustomizeSelector", 1) + `,`,
|
|
`Options:` + mapStringForOptions + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizeReplica) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KustomizeReplica{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Count:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Count), "IntOrString", "intstr.IntOrString", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizeResId) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KustomizeResId{`,
|
|
`KustomizeGvk:` + strings.Replace(strings.Replace(this.KustomizeGvk.String(), "KustomizeGvk", "KustomizeGvk", 1), `&`, ``, 1) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizeSelector) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KustomizeSelector{`,
|
|
`KustomizeResId:` + strings.Replace(strings.Replace(this.KustomizeResId.String(), "KustomizeResId", "KustomizeResId", 1), `&`, ``, 1) + `,`,
|
|
`AnnotationSelector:` + fmt.Sprintf("%v", this.AnnotationSelector) + `,`,
|
|
`LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KustomizeVersion) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KustomizeVersion{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`BuildOptions:` + fmt.Sprintf("%v", this.BuildOptions) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForElements := "[]JSON{"
|
|
for _, f := range this.Elements {
|
|
repeatedStringForElements += fmt.Sprintf("%v", f) + ","
|
|
}
|
|
repeatedStringForElements += "}"
|
|
s := strings.Join([]string{`&ListGenerator{`,
|
|
`Elements:` + repeatedStringForElements + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`ElementsYaml:` + fmt.Sprintf("%v", this.ElementsYaml) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ManagedNamespaceMetadata) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForLabels := make([]string, 0, len(this.Labels))
|
|
for k := range this.Labels {
|
|
keysForLabels = append(keysForLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
mapStringForLabels := "map[string]string{"
|
|
for _, k := range keysForLabels {
|
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
|
}
|
|
mapStringForLabels += "}"
|
|
keysForAnnotations := make([]string, 0, len(this.Annotations))
|
|
for k := range this.Annotations {
|
|
keysForAnnotations = append(keysForAnnotations, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
mapStringForAnnotations := "map[string]string{"
|
|
for _, k := range keysForAnnotations {
|
|
mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
|
|
}
|
|
mapStringForAnnotations += "}"
|
|
s := strings.Join([]string{`&ManagedNamespaceMetadata{`,
|
|
`Labels:` + mapStringForLabels + `,`,
|
|
`Annotations:` + mapStringForAnnotations + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *MatrixGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForGenerators := "[]ApplicationSetNestedGenerator{"
|
|
for _, f := range this.Generators {
|
|
repeatedStringForGenerators += strings.Replace(strings.Replace(f.String(), "ApplicationSetNestedGenerator", "ApplicationSetNestedGenerator", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForGenerators += "}"
|
|
s := strings.Join([]string{`&MatrixGenerator{`,
|
|
`Generators:` + repeatedStringForGenerators + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *MergeGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForGenerators := "[]ApplicationSetNestedGenerator{"
|
|
for _, f := range this.Generators {
|
|
repeatedStringForGenerators += strings.Replace(strings.Replace(f.String(), "ApplicationSetNestedGenerator", "ApplicationSetNestedGenerator", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForGenerators += "}"
|
|
s := strings.Join([]string{`&MergeGenerator{`,
|
|
`Generators:` + repeatedStringForGenerators + `,`,
|
|
`MergeKeys:` + fmt.Sprintf("%v", this.MergeKeys) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *NestedMatrixGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForGenerators := "[]ApplicationSetTerminalGenerator{"
|
|
for _, f := range this.Generators {
|
|
repeatedStringForGenerators += strings.Replace(strings.Replace(f.String(), "ApplicationSetTerminalGenerator", "ApplicationSetTerminalGenerator", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForGenerators += "}"
|
|
s := strings.Join([]string{`&NestedMatrixGenerator{`,
|
|
`Generators:` + repeatedStringForGenerators + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *NestedMergeGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForGenerators := "[]ApplicationSetTerminalGenerator{"
|
|
for _, f := range this.Generators {
|
|
repeatedStringForGenerators += strings.Replace(strings.Replace(f.String(), "ApplicationSetTerminalGenerator", "ApplicationSetTerminalGenerator", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForGenerators += "}"
|
|
s := strings.Join([]string{`&NestedMergeGenerator{`,
|
|
`Generators:` + repeatedStringForGenerators + `,`,
|
|
`MergeKeys:` + fmt.Sprintf("%v", this.MergeKeys) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OCIMetadata) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&OCIMetadata{`,
|
|
`CreatedAt:` + fmt.Sprintf("%v", this.CreatedAt) + `,`,
|
|
`Authors:` + fmt.Sprintf("%v", this.Authors) + `,`,
|
|
`ImageURL:` + fmt.Sprintf("%v", this.ImageURL) + `,`,
|
|
`DocsURL:` + fmt.Sprintf("%v", this.DocsURL) + `,`,
|
|
`SourceURL:` + fmt.Sprintf("%v", this.SourceURL) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Operation) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForInfo := "[]*Info{"
|
|
for _, f := range this.Info {
|
|
repeatedStringForInfo += strings.Replace(f.String(), "Info", "Info", 1) + ","
|
|
}
|
|
repeatedStringForInfo += "}"
|
|
s := strings.Join([]string{`&Operation{`,
|
|
`Sync:` + strings.Replace(this.Sync.String(), "SyncOperation", "SyncOperation", 1) + `,`,
|
|
`InitiatedBy:` + strings.Replace(strings.Replace(this.InitiatedBy.String(), "OperationInitiator", "OperationInitiator", 1), `&`, ``, 1) + `,`,
|
|
`Info:` + repeatedStringForInfo + `,`,
|
|
`Retry:` + strings.Replace(strings.Replace(this.Retry.String(), "RetryStrategy", "RetryStrategy", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OperationInitiator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&OperationInitiator{`,
|
|
`Username:` + fmt.Sprintf("%v", this.Username) + `,`,
|
|
`Automated:` + fmt.Sprintf("%v", this.Automated) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OperationState) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&OperationState{`,
|
|
`Operation:` + strings.Replace(strings.Replace(this.Operation.String(), "Operation", "Operation", 1), `&`, ``, 1) + `,`,
|
|
`Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`SyncResult:` + strings.Replace(this.SyncResult.String(), "SyncOperationResult", "SyncOperationResult", 1) + `,`,
|
|
`StartedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
|
`FinishedAt:` + strings.Replace(fmt.Sprintf("%v", this.FinishedAt), "Time", "v1.Time", 1) + `,`,
|
|
`RetryCount:` + fmt.Sprintf("%v", this.RetryCount) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OptionalArray) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&OptionalArray{`,
|
|
`Array:` + fmt.Sprintf("%v", this.Array) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OptionalMap) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForMap := make([]string, 0, len(this.Map))
|
|
for k := range this.Map {
|
|
keysForMap = append(keysForMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMap)
|
|
mapStringForMap := "map[string]string{"
|
|
for _, k := range keysForMap {
|
|
mapStringForMap += fmt.Sprintf("%v: %v,", k, this.Map[k])
|
|
}
|
|
mapStringForMap += "}"
|
|
s := strings.Join([]string{`&OptionalMap{`,
|
|
`Map:` + mapStringForMap + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OrphanedResourceKey) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&OrphanedResourceKey{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OrphanedResourcesMonitorSettings) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForIgnore := "[]OrphanedResourceKey{"
|
|
for _, f := range this.Ignore {
|
|
repeatedStringForIgnore += strings.Replace(strings.Replace(f.String(), "OrphanedResourceKey", "OrphanedResourceKey", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForIgnore += "}"
|
|
s := strings.Join([]string{`&OrphanedResourcesMonitorSettings{`,
|
|
`Warn:` + valueToStringGenerated(this.Warn) + `,`,
|
|
`Ignore:` + repeatedStringForIgnore + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *OverrideIgnoreDiff) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&OverrideIgnoreDiff{`,
|
|
`JSONPointers:` + fmt.Sprintf("%v", this.JSONPointers) + `,`,
|
|
`JQPathExpressions:` + fmt.Sprintf("%v", this.JQPathExpressions) + `,`,
|
|
`ManagedFieldsManagers:` + fmt.Sprintf("%v", this.ManagedFieldsManagers) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PluginConfigMapRef) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PluginConfigMapRef{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PluginGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForValues := make([]string, 0, len(this.Values))
|
|
for k := range this.Values {
|
|
keysForValues = append(keysForValues, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
mapStringForValues := "map[string]string{"
|
|
for _, k := range keysForValues {
|
|
mapStringForValues += fmt.Sprintf("%v: %v,", k, this.Values[k])
|
|
}
|
|
mapStringForValues += "}"
|
|
s := strings.Join([]string{`&PluginGenerator{`,
|
|
`ConfigMapRef:` + strings.Replace(strings.Replace(this.ConfigMapRef.String(), "PluginConfigMapRef", "PluginConfigMapRef", 1), `&`, ``, 1) + `,`,
|
|
`Input:` + strings.Replace(strings.Replace(this.Input.String(), "PluginInput", "PluginInput", 1), `&`, ``, 1) + `,`,
|
|
`RequeueAfterSeconds:` + valueToStringGenerated(this.RequeueAfterSeconds) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`Values:` + mapStringForValues + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PluginInput) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForParameters := make([]string, 0, len(this.Parameters))
|
|
for k := range this.Parameters {
|
|
keysForParameters = append(keysForParameters, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForParameters)
|
|
mapStringForParameters := "PluginParameters{"
|
|
for _, k := range keysForParameters {
|
|
mapStringForParameters += fmt.Sprintf("%v: %v,", k, this.Parameters[k])
|
|
}
|
|
mapStringForParameters += "}"
|
|
s := strings.Join([]string{`&PluginInput{`,
|
|
`Parameters:` + mapStringForParameters + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ProjectRole) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForJWTTokens := "[]JWTToken{"
|
|
for _, f := range this.JWTTokens {
|
|
repeatedStringForJWTTokens += strings.Replace(strings.Replace(f.String(), "JWTToken", "JWTToken", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForJWTTokens += "}"
|
|
s := strings.Join([]string{`&ProjectRole{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
|
`Policies:` + fmt.Sprintf("%v", this.Policies) + `,`,
|
|
`JWTTokens:` + repeatedStringForJWTTokens + `,`,
|
|
`Groups:` + fmt.Sprintf("%v", this.Groups) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForFilters := "[]PullRequestGeneratorFilter{"
|
|
for _, f := range this.Filters {
|
|
repeatedStringForFilters += strings.Replace(strings.Replace(f.String(), "PullRequestGeneratorFilter", "PullRequestGeneratorFilter", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForFilters += "}"
|
|
keysForValues := make([]string, 0, len(this.Values))
|
|
for k := range this.Values {
|
|
keysForValues = append(keysForValues, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
mapStringForValues := "map[string]string{"
|
|
for _, k := range keysForValues {
|
|
mapStringForValues += fmt.Sprintf("%v: %v,", k, this.Values[k])
|
|
}
|
|
mapStringForValues += "}"
|
|
s := strings.Join([]string{`&PullRequestGenerator{`,
|
|
`Github:` + strings.Replace(this.Github.String(), "PullRequestGeneratorGithub", "PullRequestGeneratorGithub", 1) + `,`,
|
|
`GitLab:` + strings.Replace(this.GitLab.String(), "PullRequestGeneratorGitLab", "PullRequestGeneratorGitLab", 1) + `,`,
|
|
`Gitea:` + strings.Replace(this.Gitea.String(), "PullRequestGeneratorGitea", "PullRequestGeneratorGitea", 1) + `,`,
|
|
`BitbucketServer:` + strings.Replace(this.BitbucketServer.String(), "PullRequestGeneratorBitbucketServer", "PullRequestGeneratorBitbucketServer", 1) + `,`,
|
|
`Filters:` + repeatedStringForFilters + `,`,
|
|
`RequeueAfterSeconds:` + valueToStringGenerated(this.RequeueAfterSeconds) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`Bitbucket:` + strings.Replace(this.Bitbucket.String(), "PullRequestGeneratorBitbucket", "PullRequestGeneratorBitbucket", 1) + `,`,
|
|
`AzureDevOps:` + strings.Replace(this.AzureDevOps.String(), "PullRequestGeneratorAzureDevOps", "PullRequestGeneratorAzureDevOps", 1) + `,`,
|
|
`Values:` + mapStringForValues + `,`,
|
|
`ContinueOnRepoNotFoundError:` + fmt.Sprintf("%v", this.ContinueOnRepoNotFoundError) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorAzureDevOps) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorAzureDevOps{`,
|
|
`Organization:` + fmt.Sprintf("%v", this.Organization) + `,`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`Repo:` + fmt.Sprintf("%v", this.Repo) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`Labels:` + fmt.Sprintf("%v", this.Labels) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorBitbucket) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorBitbucket{`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`Repo:` + fmt.Sprintf("%v", this.Repo) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`BasicAuth:` + strings.Replace(this.BasicAuth.String(), "BasicAuthBitbucketServer", "BasicAuthBitbucketServer", 1) + `,`,
|
|
`BearerToken:` + strings.Replace(this.BearerToken.String(), "BearerTokenBitbucketCloud", "BearerTokenBitbucketCloud", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorBitbucketServer) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorBitbucketServer{`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`Repo:` + fmt.Sprintf("%v", this.Repo) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`BasicAuth:` + strings.Replace(this.BasicAuth.String(), "BasicAuthBitbucketServer", "BasicAuthBitbucketServer", 1) + `,`,
|
|
`BearerToken:` + strings.Replace(this.BearerToken.String(), "BearerTokenBitbucket", "BearerTokenBitbucket", 1) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`CARef:` + strings.Replace(this.CARef.String(), "ConfigMapKeyRef", "ConfigMapKeyRef", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorFilter{`,
|
|
`BranchMatch:` + valueToStringGenerated(this.BranchMatch) + `,`,
|
|
`TargetBranchMatch:` + valueToStringGenerated(this.TargetBranchMatch) + `,`,
|
|
`TitleMatch:` + valueToStringGenerated(this.TitleMatch) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorGitLab) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorGitLab{`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`Labels:` + fmt.Sprintf("%v", this.Labels) + `,`,
|
|
`PullRequestState:` + fmt.Sprintf("%v", this.PullRequestState) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`CARef:` + strings.Replace(this.CARef.String(), "ConfigMapKeyRef", "ConfigMapKeyRef", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorGitea) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorGitea{`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`Repo:` + fmt.Sprintf("%v", this.Repo) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`Labels:` + fmt.Sprintf("%v", this.Labels) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PullRequestGeneratorGithub) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PullRequestGeneratorGithub{`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`Repo:` + fmt.Sprintf("%v", this.Repo) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`AppSecretName:` + fmt.Sprintf("%v", this.AppSecretName) + `,`,
|
|
`Labels:` + fmt.Sprintf("%v", this.Labels) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RefTarget) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RefTarget{`,
|
|
`Repo:` + strings.Replace(strings.Replace(this.Repo.String(), "Repository", "Repository", 1), `&`, ``, 1) + `,`,
|
|
`TargetRevision:` + fmt.Sprintf("%v", this.TargetRevision) + `,`,
|
|
`Chart:` + fmt.Sprintf("%v", this.Chart) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RepoCreds) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RepoCreds{`,
|
|
`URL:` + fmt.Sprintf("%v", this.URL) + `,`,
|
|
`Username:` + fmt.Sprintf("%v", this.Username) + `,`,
|
|
`Password:` + fmt.Sprintf("%v", this.Password) + `,`,
|
|
`SSHPrivateKey:` + fmt.Sprintf("%v", this.SSHPrivateKey) + `,`,
|
|
`TLSClientCertData:` + fmt.Sprintf("%v", this.TLSClientCertData) + `,`,
|
|
`TLSClientCertKey:` + fmt.Sprintf("%v", this.TLSClientCertKey) + `,`,
|
|
`GithubAppPrivateKey:` + fmt.Sprintf("%v", this.GithubAppPrivateKey) + `,`,
|
|
`GithubAppId:` + fmt.Sprintf("%v", this.GithubAppId) + `,`,
|
|
`GithubAppInstallationId:` + fmt.Sprintf("%v", this.GithubAppInstallationId) + `,`,
|
|
`GitHubAppEnterpriseBaseURL:` + fmt.Sprintf("%v", this.GitHubAppEnterpriseBaseURL) + `,`,
|
|
`EnableOCI:` + fmt.Sprintf("%v", this.EnableOCI) + `,`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`GCPServiceAccountKey:` + fmt.Sprintf("%v", this.GCPServiceAccountKey) + `,`,
|
|
`Proxy:` + fmt.Sprintf("%v", this.Proxy) + `,`,
|
|
`ForceHttpBasicAuth:` + fmt.Sprintf("%v", this.ForceHttpBasicAuth) + `,`,
|
|
`NoProxy:` + fmt.Sprintf("%v", this.NoProxy) + `,`,
|
|
`UseAzureWorkloadIdentity:` + fmt.Sprintf("%v", this.UseAzureWorkloadIdentity) + `,`,
|
|
`BearerToken:` + fmt.Sprintf("%v", this.BearerToken) + `,`,
|
|
`InsecureOCIForceHttp:` + fmt.Sprintf("%v", this.InsecureOCIForceHttp) + `,`,
|
|
`AzureServicePrincipalClientId:` + fmt.Sprintf("%v", this.AzureServicePrincipalClientId) + `,`,
|
|
`AzureServicePrincipalClientSecret:` + fmt.Sprintf("%v", this.AzureServicePrincipalClientSecret) + `,`,
|
|
`AzureServicePrincipalTenantId:` + fmt.Sprintf("%v", this.AzureServicePrincipalTenantId) + `,`,
|
|
`AzureActiveDirectoryEndpoint:` + fmt.Sprintf("%v", this.AzureActiveDirectoryEndpoint) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RepoCredsList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]RepoCreds{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "RepoCreds", "RepoCreds", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&RepoCredsList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Repository) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Repository{`,
|
|
`Repo:` + fmt.Sprintf("%v", this.Repo) + `,`,
|
|
`Username:` + fmt.Sprintf("%v", this.Username) + `,`,
|
|
`Password:` + fmt.Sprintf("%v", this.Password) + `,`,
|
|
`SSHPrivateKey:` + fmt.Sprintf("%v", this.SSHPrivateKey) + `,`,
|
|
`ConnectionState:` + strings.Replace(strings.Replace(this.ConnectionState.String(), "ConnectionState", "ConnectionState", 1), `&`, ``, 1) + `,`,
|
|
`InsecureIgnoreHostKey:` + fmt.Sprintf("%v", this.InsecureIgnoreHostKey) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`EnableLFS:` + fmt.Sprintf("%v", this.EnableLFS) + `,`,
|
|
`TLSClientCertData:` + fmt.Sprintf("%v", this.TLSClientCertData) + `,`,
|
|
`TLSClientCertKey:` + fmt.Sprintf("%v", this.TLSClientCertKey) + `,`,
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`InheritedCreds:` + fmt.Sprintf("%v", this.InheritedCreds) + `,`,
|
|
`EnableOCI:` + fmt.Sprintf("%v", this.EnableOCI) + `,`,
|
|
`GithubAppPrivateKey:` + fmt.Sprintf("%v", this.GithubAppPrivateKey) + `,`,
|
|
`GithubAppId:` + fmt.Sprintf("%v", this.GithubAppId) + `,`,
|
|
`GithubAppInstallationId:` + fmt.Sprintf("%v", this.GithubAppInstallationId) + `,`,
|
|
`GitHubAppEnterpriseBaseURL:` + fmt.Sprintf("%v", this.GitHubAppEnterpriseBaseURL) + `,`,
|
|
`Proxy:` + fmt.Sprintf("%v", this.Proxy) + `,`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`GCPServiceAccountKey:` + fmt.Sprintf("%v", this.GCPServiceAccountKey) + `,`,
|
|
`ForceHttpBasicAuth:` + fmt.Sprintf("%v", this.ForceHttpBasicAuth) + `,`,
|
|
`NoProxy:` + fmt.Sprintf("%v", this.NoProxy) + `,`,
|
|
`UseAzureWorkloadIdentity:` + fmt.Sprintf("%v", this.UseAzureWorkloadIdentity) + `,`,
|
|
`BearerToken:` + fmt.Sprintf("%v", this.BearerToken) + `,`,
|
|
`InsecureOCIForceHttp:` + fmt.Sprintf("%v", this.InsecureOCIForceHttp) + `,`,
|
|
`Depth:` + fmt.Sprintf("%v", this.Depth) + `,`,
|
|
`WebhookManifestCacheWarmDisabled:` + fmt.Sprintf("%v", this.WebhookManifestCacheWarmDisabled) + `,`,
|
|
`AzureServicePrincipalClientId:` + fmt.Sprintf("%v", this.AzureServicePrincipalClientId) + `,`,
|
|
`AzureServicePrincipalClientSecret:` + fmt.Sprintf("%v", this.AzureServicePrincipalClientSecret) + `,`,
|
|
`AzureServicePrincipalTenantId:` + fmt.Sprintf("%v", this.AzureServicePrincipalTenantId) + `,`,
|
|
`AzureActiveDirectoryEndpoint:` + fmt.Sprintf("%v", this.AzureActiveDirectoryEndpoint) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RepositoryCertificate) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RepositoryCertificate{`,
|
|
`ServerName:` + fmt.Sprintf("%v", this.ServerName) + `,`,
|
|
`CertType:` + fmt.Sprintf("%v", this.CertType) + `,`,
|
|
`CertSubType:` + fmt.Sprintf("%v", this.CertSubType) + `,`,
|
|
`CertData:` + valueToStringGenerated(this.CertData) + `,`,
|
|
`CertInfo:` + fmt.Sprintf("%v", this.CertInfo) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RepositoryCertificateList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]RepositoryCertificate{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "RepositoryCertificate", "RepositoryCertificate", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&RepositoryCertificateList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RepositoryList) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForItems := "[]*Repository{"
|
|
for _, f := range this.Items {
|
|
repeatedStringForItems += strings.Replace(f.String(), "Repository", "Repository", 1) + ","
|
|
}
|
|
repeatedStringForItems += "}"
|
|
s := strings.Join([]string{`&RepositoryList{`,
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
`Items:` + repeatedStringForItems + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceAction) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForParams := "[]ResourceActionParam{"
|
|
for _, f := range this.Params {
|
|
repeatedStringForParams += strings.Replace(strings.Replace(f.String(), "ResourceActionParam", "ResourceActionParam", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForParams += "}"
|
|
s := strings.Join([]string{`&ResourceAction{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Params:` + repeatedStringForParams + `,`,
|
|
`Disabled:` + fmt.Sprintf("%v", this.Disabled) + `,`,
|
|
`IconClass:` + fmt.Sprintf("%v", this.IconClass) + `,`,
|
|
`DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceActionDefinition) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceActionDefinition{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`ActionLua:` + fmt.Sprintf("%v", this.ActionLua) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceActionParam) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceActionParam{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceActions) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForDefinitions := "[]ResourceActionDefinition{"
|
|
for _, f := range this.Definitions {
|
|
repeatedStringForDefinitions += strings.Replace(strings.Replace(f.String(), "ResourceActionDefinition", "ResourceActionDefinition", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForDefinitions += "}"
|
|
s := strings.Join([]string{`&ResourceActions{`,
|
|
`ActionDiscoveryLua:` + fmt.Sprintf("%v", this.ActionDiscoveryLua) + `,`,
|
|
`Definitions:` + repeatedStringForDefinitions + `,`,
|
|
`MergeBuiltinActions:` + fmt.Sprintf("%v", this.MergeBuiltinActions) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceDiff) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceDiff{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`TargetState:` + fmt.Sprintf("%v", this.TargetState) + `,`,
|
|
`LiveState:` + fmt.Sprintf("%v", this.LiveState) + `,`,
|
|
`Diff:` + fmt.Sprintf("%v", this.Diff) + `,`,
|
|
`Hook:` + fmt.Sprintf("%v", this.Hook) + `,`,
|
|
`NormalizedLiveState:` + fmt.Sprintf("%v", this.NormalizedLiveState) + `,`,
|
|
`PredictedLiveState:` + fmt.Sprintf("%v", this.PredictedLiveState) + `,`,
|
|
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
|
|
`Modified:` + fmt.Sprintf("%v", this.Modified) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceIgnoreDifferences) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceIgnoreDifferences{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`JSONPointers:` + fmt.Sprintf("%v", this.JSONPointers) + `,`,
|
|
`JQPathExpressions:` + fmt.Sprintf("%v", this.JQPathExpressions) + `,`,
|
|
`ManagedFieldsManagers:` + fmt.Sprintf("%v", this.ManagedFieldsManagers) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceNetworkingInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForTargetRefs := "[]ResourceRef{"
|
|
for _, f := range this.TargetRefs {
|
|
repeatedStringForTargetRefs += strings.Replace(strings.Replace(f.String(), "ResourceRef", "ResourceRef", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForTargetRefs += "}"
|
|
repeatedStringForIngress := "[]LoadBalancerIngress{"
|
|
for _, f := range this.Ingress {
|
|
repeatedStringForIngress += fmt.Sprintf("%v", f) + ","
|
|
}
|
|
repeatedStringForIngress += "}"
|
|
keysForTargetLabels := make([]string, 0, len(this.TargetLabels))
|
|
for k := range this.TargetLabels {
|
|
keysForTargetLabels = append(keysForTargetLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForTargetLabels)
|
|
mapStringForTargetLabels := "map[string]string{"
|
|
for _, k := range keysForTargetLabels {
|
|
mapStringForTargetLabels += fmt.Sprintf("%v: %v,", k, this.TargetLabels[k])
|
|
}
|
|
mapStringForTargetLabels += "}"
|
|
keysForLabels := make([]string, 0, len(this.Labels))
|
|
for k := range this.Labels {
|
|
keysForLabels = append(keysForLabels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
mapStringForLabels := "map[string]string{"
|
|
for _, k := range keysForLabels {
|
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
|
}
|
|
mapStringForLabels += "}"
|
|
s := strings.Join([]string{`&ResourceNetworkingInfo{`,
|
|
`TargetLabels:` + mapStringForTargetLabels + `,`,
|
|
`TargetRefs:` + repeatedStringForTargetRefs + `,`,
|
|
`Labels:` + mapStringForLabels + `,`,
|
|
`Ingress:` + repeatedStringForIngress + `,`,
|
|
`ExternalURLs:` + fmt.Sprintf("%v", this.ExternalURLs) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceNode) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForParentRefs := "[]ResourceRef{"
|
|
for _, f := range this.ParentRefs {
|
|
repeatedStringForParentRefs += strings.Replace(strings.Replace(f.String(), "ResourceRef", "ResourceRef", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForParentRefs += "}"
|
|
repeatedStringForInfo := "[]InfoItem{"
|
|
for _, f := range this.Info {
|
|
repeatedStringForInfo += strings.Replace(strings.Replace(f.String(), "InfoItem", "InfoItem", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForInfo += "}"
|
|
s := strings.Join([]string{`&ResourceNode{`,
|
|
`ResourceRef:` + strings.Replace(strings.Replace(this.ResourceRef.String(), "ResourceRef", "ResourceRef", 1), `&`, ``, 1) + `,`,
|
|
`ParentRefs:` + repeatedStringForParentRefs + `,`,
|
|
`Info:` + repeatedStringForInfo + `,`,
|
|
`NetworkingInfo:` + strings.Replace(this.NetworkingInfo.String(), "ResourceNetworkingInfo", "ResourceNetworkingInfo", 1) + `,`,
|
|
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
|
|
`Images:` + fmt.Sprintf("%v", this.Images) + `,`,
|
|
`Health:` + strings.Replace(this.Health.String(), "HealthStatus", "HealthStatus", 1) + `,`,
|
|
`CreatedAt:` + strings.Replace(fmt.Sprintf("%v", this.CreatedAt), "Time", "v1.Time", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceOverride) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForKnownTypeFields := "[]KnownTypeField{"
|
|
for _, f := range this.KnownTypeFields {
|
|
repeatedStringForKnownTypeFields += strings.Replace(strings.Replace(f.String(), "KnownTypeField", "KnownTypeField", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForKnownTypeFields += "}"
|
|
s := strings.Join([]string{`&ResourceOverride{`,
|
|
`HealthLua:` + fmt.Sprintf("%v", this.HealthLua) + `,`,
|
|
`IgnoreDifferences:` + strings.Replace(strings.Replace(this.IgnoreDifferences.String(), "OverrideIgnoreDiff", "OverrideIgnoreDiff", 1), `&`, ``, 1) + `,`,
|
|
`Actions:` + fmt.Sprintf("%v", this.Actions) + `,`,
|
|
`KnownTypeFields:` + repeatedStringForKnownTypeFields + `,`,
|
|
`UseOpenLibs:` + fmt.Sprintf("%v", this.UseOpenLibs) + `,`,
|
|
`IgnoreResourceUpdates:` + strings.Replace(strings.Replace(this.IgnoreResourceUpdates.String(), "OverrideIgnoreDiff", "OverrideIgnoreDiff", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceRef) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceRef{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`UID:` + fmt.Sprintf("%v", this.UID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceResult) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceResult{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`HookType:` + fmt.Sprintf("%v", this.HookType) + `,`,
|
|
`HookPhase:` + fmt.Sprintf("%v", this.HookPhase) + `,`,
|
|
`SyncPhase:` + fmt.Sprintf("%v", this.SyncPhase) + `,`,
|
|
`Images:` + fmt.Sprintf("%v", this.Images) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResourceStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResourceStatus{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`Health:` + strings.Replace(this.Health.String(), "HealthStatus", "HealthStatus", 1) + `,`,
|
|
`Hook:` + fmt.Sprintf("%v", this.Hook) + `,`,
|
|
`RequiresPruning:` + fmt.Sprintf("%v", this.RequiresPruning) + `,`,
|
|
`SyncWave:` + fmt.Sprintf("%v", this.SyncWave) + `,`,
|
|
`RequiresDeletionConfirmation:` + fmt.Sprintf("%v", this.RequiresDeletionConfirmation) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RetryStrategy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RetryStrategy{`,
|
|
`Limit:` + fmt.Sprintf("%v", this.Limit) + `,`,
|
|
`Backoff:` + strings.Replace(this.Backoff.String(), "Backoff", "Backoff", 1) + `,`,
|
|
`Refresh:` + fmt.Sprintf("%v", this.Refresh) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RevisionHistory) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForSources := "[]ApplicationSource{"
|
|
for _, f := range this.Sources {
|
|
repeatedStringForSources += strings.Replace(strings.Replace(f.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSources += "}"
|
|
s := strings.Join([]string{`&RevisionHistory{`,
|
|
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
|
|
`DeployedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.DeployedAt), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
`Source:` + strings.Replace(strings.Replace(this.Source.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + `,`,
|
|
`DeployStartedAt:` + strings.Replace(fmt.Sprintf("%v", this.DeployStartedAt), "Time", "v1.Time", 1) + `,`,
|
|
`Sources:` + repeatedStringForSources + `,`,
|
|
`Revisions:` + fmt.Sprintf("%v", this.Revisions) + `,`,
|
|
`InitiatedBy:` + strings.Replace(strings.Replace(this.InitiatedBy.String(), "OperationInitiator", "OperationInitiator", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RevisionMetadata) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForReferences := "[]RevisionReference{"
|
|
for _, f := range this.References {
|
|
repeatedStringForReferences += strings.Replace(strings.Replace(f.String(), "RevisionReference", "RevisionReference", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForReferences += "}"
|
|
s := strings.Join([]string{`&RevisionMetadata{`,
|
|
`Author:` + fmt.Sprintf("%v", this.Author) + `,`,
|
|
`Date:` + strings.Replace(fmt.Sprintf("%v", this.Date), "Time", "v1.Time", 1) + `,`,
|
|
`Tags:` + fmt.Sprintf("%v", this.Tags) + `,`,
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
`SignatureInfo:` + fmt.Sprintf("%v", this.SignatureInfo) + `,`,
|
|
`References:` + repeatedStringForReferences + `,`,
|
|
`SourceIntegrityResult:` + strings.Replace(this.SourceIntegrityResult.String(), "SourceIntegrityCheckResult", "SourceIntegrityCheckResult", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RevisionReference) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RevisionReference{`,
|
|
`Commit:` + strings.Replace(this.Commit.String(), "CommitMetadata", "CommitMetadata", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGenerator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForFilters := "[]SCMProviderGeneratorFilter{"
|
|
for _, f := range this.Filters {
|
|
repeatedStringForFilters += strings.Replace(strings.Replace(f.String(), "SCMProviderGeneratorFilter", "SCMProviderGeneratorFilter", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForFilters += "}"
|
|
keysForValues := make([]string, 0, len(this.Values))
|
|
for k := range this.Values {
|
|
keysForValues = append(keysForValues, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForValues)
|
|
mapStringForValues := "map[string]string{"
|
|
for _, k := range keysForValues {
|
|
mapStringForValues += fmt.Sprintf("%v: %v,", k, this.Values[k])
|
|
}
|
|
mapStringForValues += "}"
|
|
s := strings.Join([]string{`&SCMProviderGenerator{`,
|
|
`Github:` + strings.Replace(this.Github.String(), "SCMProviderGeneratorGithub", "SCMProviderGeneratorGithub", 1) + `,`,
|
|
`Gitlab:` + strings.Replace(this.Gitlab.String(), "SCMProviderGeneratorGitlab", "SCMProviderGeneratorGitlab", 1) + `,`,
|
|
`Bitbucket:` + strings.Replace(this.Bitbucket.String(), "SCMProviderGeneratorBitbucket", "SCMProviderGeneratorBitbucket", 1) + `,`,
|
|
`BitbucketServer:` + strings.Replace(this.BitbucketServer.String(), "SCMProviderGeneratorBitbucketServer", "SCMProviderGeneratorBitbucketServer", 1) + `,`,
|
|
`Gitea:` + strings.Replace(this.Gitea.String(), "SCMProviderGeneratorGitea", "SCMProviderGeneratorGitea", 1) + `,`,
|
|
`AzureDevOps:` + strings.Replace(this.AzureDevOps.String(), "SCMProviderGeneratorAzureDevOps", "SCMProviderGeneratorAzureDevOps", 1) + `,`,
|
|
`Filters:` + repeatedStringForFilters + `,`,
|
|
`CloneProtocol:` + fmt.Sprintf("%v", this.CloneProtocol) + `,`,
|
|
`RequeueAfterSeconds:` + valueToStringGenerated(this.RequeueAfterSeconds) + `,`,
|
|
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "ApplicationSetTemplate", "ApplicationSetTemplate", 1), `&`, ``, 1) + `,`,
|
|
`Values:` + mapStringForValues + `,`,
|
|
`AWSCodeCommit:` + strings.Replace(this.AWSCodeCommit.String(), "SCMProviderGeneratorAWSCodeCommit", "SCMProviderGeneratorAWSCodeCommit", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorAWSCodeCommit) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForTagFilters := "[]*TagFilter{"
|
|
for _, f := range this.TagFilters {
|
|
repeatedStringForTagFilters += strings.Replace(f.String(), "TagFilter", "TagFilter", 1) + ","
|
|
}
|
|
repeatedStringForTagFilters += "}"
|
|
s := strings.Join([]string{`&SCMProviderGeneratorAWSCodeCommit{`,
|
|
`TagFilters:` + repeatedStringForTagFilters + `,`,
|
|
`Role:` + fmt.Sprintf("%v", this.Role) + `,`,
|
|
`Region:` + fmt.Sprintf("%v", this.Region) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorAzureDevOps) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorAzureDevOps{`,
|
|
`Organization:` + fmt.Sprintf("%v", this.Organization) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TeamProject:` + fmt.Sprintf("%v", this.TeamProject) + `,`,
|
|
`AccessTokenRef:` + strings.Replace(this.AccessTokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorBitbucket) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorBitbucket{`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`User:` + fmt.Sprintf("%v", this.User) + `,`,
|
|
`AppPasswordRef:` + strings.Replace(this.AppPasswordRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorBitbucketServer) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorBitbucketServer{`,
|
|
`Project:` + fmt.Sprintf("%v", this.Project) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`BasicAuth:` + strings.Replace(this.BasicAuth.String(), "BasicAuthBitbucketServer", "BasicAuthBitbucketServer", 1) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`BearerToken:` + strings.Replace(this.BearerToken.String(), "BearerTokenBitbucket", "BearerTokenBitbucket", 1) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`CARef:` + strings.Replace(this.CARef.String(), "ConfigMapKeyRef", "ConfigMapKeyRef", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorFilter{`,
|
|
`RepositoryMatch:` + valueToStringGenerated(this.RepositoryMatch) + `,`,
|
|
`PathsExist:` + fmt.Sprintf("%v", this.PathsExist) + `,`,
|
|
`PathsDoNotExist:` + fmt.Sprintf("%v", this.PathsDoNotExist) + `,`,
|
|
`LabelMatch:` + valueToStringGenerated(this.LabelMatch) + `,`,
|
|
`BranchMatch:` + valueToStringGenerated(this.BranchMatch) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorGitea) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorGitea{`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`ExcludeArchivedRepos:` + fmt.Sprintf("%v", this.ExcludeArchivedRepos) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorGithub) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorGithub{`,
|
|
`Organization:` + fmt.Sprintf("%v", this.Organization) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`AppSecretName:` + fmt.Sprintf("%v", this.AppSecretName) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`ExcludeArchivedRepos:` + fmt.Sprintf("%v", this.ExcludeArchivedRepos) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SCMProviderGeneratorGitlab) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SCMProviderGeneratorGitlab{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`IncludeSubgroups:` + fmt.Sprintf("%v", this.IncludeSubgroups) + `,`,
|
|
`API:` + fmt.Sprintf("%v", this.API) + `,`,
|
|
`TokenRef:` + strings.Replace(this.TokenRef.String(), "SecretRef", "SecretRef", 1) + `,`,
|
|
`AllBranches:` + fmt.Sprintf("%v", this.AllBranches) + `,`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`IncludeSharedProjects:` + valueToStringGenerated(this.IncludeSharedProjects) + `,`,
|
|
`Topic:` + fmt.Sprintf("%v", this.Topic) + `,`,
|
|
`CARef:` + strings.Replace(this.CARef.String(), "ConfigMapKeyRef", "ConfigMapKeyRef", 1) + `,`,
|
|
`IncludeArchivedRepos:` + fmt.Sprintf("%v", this.IncludeArchivedRepos) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SecretRef) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SecretRef{`,
|
|
`SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
|
|
`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignatureKey) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignatureKey{`,
|
|
`KeyID:` + fmt.Sprintf("%v", this.KeyID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceHydrator) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SourceHydrator{`,
|
|
`DrySource:` + strings.Replace(strings.Replace(this.DrySource.String(), "DrySource", "DrySource", 1), `&`, ``, 1) + `,`,
|
|
`SyncSource:` + strings.Replace(strings.Replace(this.SyncSource.String(), "SyncSource", "SyncSource", 1), `&`, ``, 1) + `,`,
|
|
`HydrateTo:` + strings.Replace(this.HydrateTo.String(), "HydrateTo", "HydrateTo", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceHydratorStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SourceHydratorStatus{`,
|
|
`LastSuccessfulOperation:` + strings.Replace(this.LastSuccessfulOperation.String(), "SuccessfulHydrateOperation", "SuccessfulHydrateOperation", 1) + `,`,
|
|
`CurrentOperation:` + strings.Replace(this.CurrentOperation.String(), "HydrateOperation", "HydrateOperation", 1) + `,`,
|
|
`LastComparedDryRevision:` + fmt.Sprintf("%v", this.LastComparedDryRevision) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrity) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SourceIntegrity{`,
|
|
`Git:` + strings.Replace(this.Git.String(), "SourceIntegrityGit", "SourceIntegrityGit", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrityCheckResult) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForChecks := "[]SourceIntegrityCheckResultItem{"
|
|
for _, f := range this.Checks {
|
|
repeatedStringForChecks += strings.Replace(strings.Replace(f.String(), "SourceIntegrityCheckResultItem", "SourceIntegrityCheckResultItem", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForChecks += "}"
|
|
s := strings.Join([]string{`&SourceIntegrityCheckResult{`,
|
|
`Checks:` + repeatedStringForChecks + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrityCheckResultItem) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SourceIntegrityCheckResultItem{`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Problems:` + fmt.Sprintf("%v", this.Problems) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrityGit) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForPolicies := "[]*SourceIntegrityGitPolicy{"
|
|
for _, f := range this.Policies {
|
|
repeatedStringForPolicies += strings.Replace(f.String(), "SourceIntegrityGitPolicy", "SourceIntegrityGitPolicy", 1) + ","
|
|
}
|
|
repeatedStringForPolicies += "}"
|
|
s := strings.Join([]string{`&SourceIntegrityGit{`,
|
|
`Policies:` + repeatedStringForPolicies + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrityGitPolicy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForRepos := "[]SourceIntegrityGitPolicyRepo{"
|
|
for _, f := range this.Repos {
|
|
repeatedStringForRepos += strings.Replace(strings.Replace(f.String(), "SourceIntegrityGitPolicyRepo", "SourceIntegrityGitPolicyRepo", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForRepos += "}"
|
|
s := strings.Join([]string{`&SourceIntegrityGitPolicy{`,
|
|
`Repos:` + repeatedStringForRepos + `,`,
|
|
`GPG:` + strings.Replace(this.GPG.String(), "SourceIntegrityGitPolicyGPG", "SourceIntegrityGitPolicyGPG", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrityGitPolicyGPG) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SourceIntegrityGitPolicyGPG{`,
|
|
`Mode:` + fmt.Sprintf("%v", this.Mode) + `,`,
|
|
`Keys:` + fmt.Sprintf("%v", this.Keys) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SourceIntegrityGitPolicyRepo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SourceIntegrityGitPolicyRepo{`,
|
|
`URL:` + fmt.Sprintf("%v", this.URL) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SuccessfulHydrateOperation) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SuccessfulHydrateOperation{`,
|
|
`DrySHA:` + fmt.Sprintf("%v", this.DrySHA) + `,`,
|
|
`HydratedSHA:` + fmt.Sprintf("%v", this.HydratedSHA) + `,`,
|
|
`SourceHydrator:` + strings.Replace(strings.Replace(this.SourceHydrator.String(), "SourceHydrator", "SourceHydrator", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncOperation) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForResources := "[]SyncOperationResource{"
|
|
for _, f := range this.Resources {
|
|
repeatedStringForResources += strings.Replace(strings.Replace(f.String(), "SyncOperationResource", "SyncOperationResource", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForResources += "}"
|
|
repeatedStringForSources := "[]ApplicationSource{"
|
|
for _, f := range this.Sources {
|
|
repeatedStringForSources += strings.Replace(strings.Replace(f.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSources += "}"
|
|
s := strings.Join([]string{`&SyncOperation{`,
|
|
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
|
|
`Prune:` + fmt.Sprintf("%v", this.Prune) + `,`,
|
|
`DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
|
|
`SyncStrategy:` + strings.Replace(this.SyncStrategy.String(), "SyncStrategy", "SyncStrategy", 1) + `,`,
|
|
`Resources:` + repeatedStringForResources + `,`,
|
|
`Source:` + strings.Replace(this.Source.String(), "ApplicationSource", "ApplicationSource", 1) + `,`,
|
|
`Manifests:` + fmt.Sprintf("%v", this.Manifests) + `,`,
|
|
`SyncOptions:` + fmt.Sprintf("%v", this.SyncOptions) + `,`,
|
|
`Sources:` + repeatedStringForSources + `,`,
|
|
`Revisions:` + fmt.Sprintf("%v", this.Revisions) + `,`,
|
|
`SelfHealAttemptsCount:` + fmt.Sprintf("%v", this.SelfHealAttemptsCount) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncOperationResource) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncOperationResource{`,
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncOperationResult) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForResources := "[]*ResourceResult{"
|
|
for _, f := range this.Resources {
|
|
repeatedStringForResources += strings.Replace(f.String(), "ResourceResult", "ResourceResult", 1) + ","
|
|
}
|
|
repeatedStringForResources += "}"
|
|
repeatedStringForSources := "[]ApplicationSource{"
|
|
for _, f := range this.Sources {
|
|
repeatedStringForSources += strings.Replace(strings.Replace(f.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + ","
|
|
}
|
|
repeatedStringForSources += "}"
|
|
s := strings.Join([]string{`&SyncOperationResult{`,
|
|
`Resources:` + repeatedStringForResources + `,`,
|
|
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
|
|
`Source:` + strings.Replace(strings.Replace(this.Source.String(), "ApplicationSource", "ApplicationSource", 1), `&`, ``, 1) + `,`,
|
|
`Sources:` + repeatedStringForSources + `,`,
|
|
`Revisions:` + fmt.Sprintf("%v", this.Revisions) + `,`,
|
|
`ManagedNamespaceMetadata:` + strings.Replace(this.ManagedNamespaceMetadata.String(), "ManagedNamespaceMetadata", "ManagedNamespaceMetadata", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncPolicy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncPolicy{`,
|
|
`Automated:` + strings.Replace(this.Automated.String(), "SyncPolicyAutomated", "SyncPolicyAutomated", 1) + `,`,
|
|
`SyncOptions:` + fmt.Sprintf("%v", this.SyncOptions) + `,`,
|
|
`Retry:` + strings.Replace(this.Retry.String(), "RetryStrategy", "RetryStrategy", 1) + `,`,
|
|
`ManagedNamespaceMetadata:` + strings.Replace(this.ManagedNamespaceMetadata.String(), "ManagedNamespaceMetadata", "ManagedNamespaceMetadata", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncPolicyAutomated) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncPolicyAutomated{`,
|
|
`Prune:` + valueToStringGenerated(this.Prune) + `,`,
|
|
`SelfHeal:` + valueToStringGenerated(this.SelfHeal) + `,`,
|
|
`AllowEmpty:` + valueToStringGenerated(this.AllowEmpty) + `,`,
|
|
`Enabled:` + valueToStringGenerated(this.Enabled) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncSource) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncSource{`,
|
|
`TargetBranch:` + fmt.Sprintf("%v", this.TargetBranch) + `,`,
|
|
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
|
|
`RepoURL:` + fmt.Sprintf("%v", this.RepoURL) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncStatus) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncStatus{`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`ComparedTo:` + strings.Replace(strings.Replace(this.ComparedTo.String(), "ComparedTo", "ComparedTo", 1), `&`, ``, 1) + `,`,
|
|
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
|
|
`Revisions:` + fmt.Sprintf("%v", this.Revisions) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncStrategy) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncStrategy{`,
|
|
`Apply:` + strings.Replace(this.Apply.String(), "SyncStrategyApply", "SyncStrategyApply", 1) + `,`,
|
|
`Hook:` + strings.Replace(this.Hook.String(), "SyncStrategyHook", "SyncStrategyHook", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncStrategyApply) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncStrategyApply{`,
|
|
`Force:` + fmt.Sprintf("%v", this.Force) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncStrategyHook) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncStrategyHook{`,
|
|
`SyncStrategyApply:` + strings.Replace(strings.Replace(this.SyncStrategyApply.String(), "SyncStrategyApply", "SyncStrategyApply", 1), `&`, ``, 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SyncWindow) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SyncWindow{`,
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
`Schedule:` + fmt.Sprintf("%v", this.Schedule) + `,`,
|
|
`Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
|
|
`Applications:` + fmt.Sprintf("%v", this.Applications) + `,`,
|
|
`Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
|
|
`Clusters:` + fmt.Sprintf("%v", this.Clusters) + `,`,
|
|
`ManualSync:` + fmt.Sprintf("%v", this.ManualSync) + `,`,
|
|
`TimeZone:` + fmt.Sprintf("%v", this.TimeZone) + `,`,
|
|
`UseAndOperator:` + fmt.Sprintf("%v", this.UseAndOperator) + `,`,
|
|
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
|
`SyncOverrun:` + fmt.Sprintf("%v", this.SyncOverrun) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TLSClientConfig) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TLSClientConfig{`,
|
|
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`,
|
|
`ServerName:` + fmt.Sprintf("%v", this.ServerName) + `,`,
|
|
`CertData:` + valueToStringGenerated(this.CertData) + `,`,
|
|
`KeyData:` + valueToStringGenerated(this.KeyData) + `,`,
|
|
`CAData:` + valueToStringGenerated(this.CAData) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TagFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TagFilter{`,
|
|
`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringGenerated(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *AWSAuthConfig) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AWSAuthConfig: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AWSAuthConfig: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ClusterName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RoleARN", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RoleARN = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Profile", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Profile = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AppHealthStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AppHealthStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AppHealthStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = github_com_hanzoai_cd_gitops_engine_pkg_health.HealthStatusCode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastTransitionTime == nil {
|
|
m.LastTransitionTime = &v1.Time{}
|
|
}
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AppProject) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AppProject: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AppProject: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AppProjectList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AppProjectList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AppProjectList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, AppProject{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AppProjectSpec) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AppProjectSpec: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AppProjectSpec: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceRepos", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SourceRepos = append(m.SourceRepos, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Destinations", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Destinations = append(m.Destinations, ApplicationDestination{})
|
|
if err := m.Destinations[len(m.Destinations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Description = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Roles = append(m.Roles, ProjectRole{})
|
|
if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterResourceWhitelist", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ClusterResourceWhitelist = append(m.ClusterResourceWhitelist, ClusterResourceRestrictionItem{})
|
|
if err := m.ClusterResourceWhitelist[len(m.ClusterResourceWhitelist)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceResourceBlacklist", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceResourceBlacklist = append(m.NamespaceResourceBlacklist, v1.GroupKind{})
|
|
if err := m.NamespaceResourceBlacklist[len(m.NamespaceResourceBlacklist)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OrphanedResources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.OrphanedResources == nil {
|
|
m.OrphanedResources = &OrphanedResourcesMonitorSettings{}
|
|
}
|
|
if err := m.OrphanedResources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncWindows", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SyncWindows = append(m.SyncWindows, &SyncWindow{})
|
|
if err := m.SyncWindows[len(m.SyncWindows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceResourceWhitelist", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceResourceWhitelist = append(m.NamespaceResourceWhitelist, v1.GroupKind{})
|
|
if err := m.NamespaceResourceWhitelist[len(m.NamespaceResourceWhitelist)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignatureKeys", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SignatureKeys = append(m.SignatureKeys, SignatureKey{})
|
|
if err := m.SignatureKeys[len(m.SignatureKeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterResourceBlacklist", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ClusterResourceBlacklist = append(m.ClusterResourceBlacklist, ClusterResourceRestrictionItem{})
|
|
if err := m.ClusterResourceBlacklist[len(m.ClusterResourceBlacklist)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceNamespaces", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SourceNamespaces = append(m.SourceNamespaces, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PermitOnlyProjectScopedClusters", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.PermitOnlyProjectScopedClusters = bool(v != 0)
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DestinationServiceAccounts", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DestinationServiceAccounts = append(m.DestinationServiceAccounts, ApplicationDestinationServiceAccount{})
|
|
if err := m.DestinationServiceAccounts[len(m.DestinationServiceAccounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceIntegrity", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SourceIntegrity == nil {
|
|
m.SourceIntegrity = &SourceIntegrity{}
|
|
}
|
|
if err := m.SourceIntegrity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AppProjectStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AppProjectStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AppProjectStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JWTTokensByRole", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.JWTTokensByRole == nil {
|
|
m.JWTTokensByRole = make(map[string]JWTTokens)
|
|
}
|
|
var mapkey string
|
|
mapvalue := &JWTTokens{}
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &JWTTokens{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.JWTTokensByRole[mapkey] = *mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Application) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Application: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Application: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Operation == nil {
|
|
m.Operation = &Operation{}
|
|
}
|
|
if err := m.Operation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationCondition) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationCondition: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationCondition: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastTransitionTime == nil {
|
|
m.LastTransitionTime = &v1.Time{}
|
|
}
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationDestination) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationDestination: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationDestination: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Server = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationDestinationServiceAccount) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationDestinationServiceAccount: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationDestinationServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Server = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceAccount", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DefaultServiceAccount = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, Application{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationMatchExpression) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationMatchExpression: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationMatchExpression: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Key = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Operator = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationPreservedFields) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationPreservedFields: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationPreservedFields: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Annotations = append(m.Annotations, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSet) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSet: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSet: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetApplicationStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetApplicationStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetApplicationStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Application = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastTransitionTime == nil {
|
|
m.LastTransitionTime = &v1.Time{}
|
|
}
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = ProgressiveSyncStatusCode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Step", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Step = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetRevisions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetRevisions = append(m.TargetRevisions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetCondition) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetCondition: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = ApplicationSetConditionType(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastTransitionTime == nil {
|
|
m.LastTransitionTime = &v1.Time{}
|
|
}
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = ApplicationSetConditionStatus(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.List == nil {
|
|
m.List = &ListGenerator{}
|
|
}
|
|
if err := m.List.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Clusters == nil {
|
|
m.Clusters = &ClusterGenerator{}
|
|
}
|
|
if err := m.Clusters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Git", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Git == nil {
|
|
m.Git = &GitGenerator{}
|
|
}
|
|
if err := m.Git.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SCMProvider", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SCMProvider == nil {
|
|
m.SCMProvider = &SCMProviderGenerator{}
|
|
}
|
|
if err := m.SCMProvider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterDecisionResource", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ClusterDecisionResource == nil {
|
|
m.ClusterDecisionResource = &DuckTypeGenerator{}
|
|
}
|
|
if err := m.ClusterDecisionResource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PullRequest", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.PullRequest == nil {
|
|
m.PullRequest = &PullRequestGenerator{}
|
|
}
|
|
if err := m.PullRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Matrix", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Matrix == nil {
|
|
m.Matrix = &MatrixGenerator{}
|
|
}
|
|
if err := m.Matrix.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Merge", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Merge == nil {
|
|
m.Merge = &MergeGenerator{}
|
|
}
|
|
if err := m.Merge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Selector == nil {
|
|
m.Selector = &v1.LabelSelector{}
|
|
}
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Plugin == nil {
|
|
m.Plugin = &PluginGenerator{}
|
|
}
|
|
if err := m.Plugin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, ApplicationSet{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetNestedGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetNestedGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetNestedGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.List == nil {
|
|
m.List = &ListGenerator{}
|
|
}
|
|
if err := m.List.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Clusters == nil {
|
|
m.Clusters = &ClusterGenerator{}
|
|
}
|
|
if err := m.Clusters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Git", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Git == nil {
|
|
m.Git = &GitGenerator{}
|
|
}
|
|
if err := m.Git.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SCMProvider", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SCMProvider == nil {
|
|
m.SCMProvider = &SCMProviderGenerator{}
|
|
}
|
|
if err := m.SCMProvider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterDecisionResource", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ClusterDecisionResource == nil {
|
|
m.ClusterDecisionResource = &DuckTypeGenerator{}
|
|
}
|
|
if err := m.ClusterDecisionResource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PullRequest", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.PullRequest == nil {
|
|
m.PullRequest = &PullRequestGenerator{}
|
|
}
|
|
if err := m.PullRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Matrix", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Matrix == nil {
|
|
m.Matrix = &v11.JSON{}
|
|
}
|
|
if err := m.Matrix.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Merge", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Merge == nil {
|
|
m.Merge = &v11.JSON{}
|
|
}
|
|
if err := m.Merge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Selector == nil {
|
|
m.Selector = &v1.LabelSelector{}
|
|
}
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Plugin == nil {
|
|
m.Plugin = &PluginGenerator{}
|
|
}
|
|
if err := m.Plugin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetResourceIgnoreDifferences) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetResourceIgnoreDifferences: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetResourceIgnoreDifferences: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JSONPointers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JSONPointers = append(m.JSONPointers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JQPathExpressions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JQPathExpressions = append(m.JQPathExpressions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetRolloutStep) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetRolloutStep: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetRolloutStep: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.MatchExpressions = append(m.MatchExpressions, ApplicationMatchExpression{})
|
|
if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MaxUpdate", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.MaxUpdate == nil {
|
|
m.MaxUpdate = &intstr.IntOrString{}
|
|
}
|
|
if err := m.MaxUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetRolloutStrategy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetRolloutStrategy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetRolloutStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Steps = append(m.Steps, ApplicationSetRolloutStep{})
|
|
if err := m.Steps[len(m.Steps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetSpec) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetSpec: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GoTemplate", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.GoTemplate = bool(v != 0)
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generators", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Generators = append(m.Generators, ApplicationSetGenerator{})
|
|
if err := m.Generators[len(m.Generators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncPolicy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SyncPolicy == nil {
|
|
m.SyncPolicy = &ApplicationSetSyncPolicy{}
|
|
}
|
|
if err := m.SyncPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Strategy == nil {
|
|
m.Strategy = &ApplicationSetStrategy{}
|
|
}
|
|
if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PreservedFields", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.PreservedFields == nil {
|
|
m.PreservedFields = &ApplicationPreservedFields{}
|
|
}
|
|
if err := m.PreservedFields.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GoTemplateOptions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GoTemplateOptions = append(m.GoTemplateOptions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplyNestedSelectors", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ApplyNestedSelectors = bool(v != 0)
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreApplicationDifferences", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.IgnoreApplicationDifferences = append(m.IgnoreApplicationDifferences, ApplicationSetResourceIgnoreDifferences{})
|
|
if err := m.IgnoreApplicationDifferences[len(m.IgnoreApplicationDifferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TemplatePatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.TemplatePatch = &s
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Conditions = append(m.Conditions, ApplicationSetCondition{})
|
|
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationStatus", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ApplicationStatus = append(m.ApplicationStatus, ApplicationSetApplicationStatus{})
|
|
if err := m.ApplicationStatus[len(m.ApplicationStatus)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Resources = append(m.Resources, ResourceStatus{})
|
|
if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourcesCount", wireType)
|
|
}
|
|
m.ResourcesCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ResourcesCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Health.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetStrategy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetStrategy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RollingSync", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RollingSync == nil {
|
|
m.RollingSync = &ApplicationSetRolloutStrategy{}
|
|
}
|
|
if err := m.RollingSync.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeletionOrder", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DeletionOrder = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetSyncPolicy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetSyncPolicy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetSyncPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PreserveResourcesOnDeletion", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.PreserveResourcesOnDeletion = bool(v != 0)
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationsSync", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := ApplicationsSyncPolicy(dAtA[iNdEx:postIndex])
|
|
m.ApplicationsSync = &s
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetTemplate) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetTemplate: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetTemplate: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationSetTemplateMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ApplicationSetTemplateMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetTemplateMeta) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetTemplateMeta: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetTemplateMeta: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Labels == nil {
|
|
m.Labels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Labels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Annotations == nil {
|
|
m.Annotations = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Annotations[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetTerminalGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetTerminalGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetTerminalGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.List == nil {
|
|
m.List = &ListGenerator{}
|
|
}
|
|
if err := m.List.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Clusters == nil {
|
|
m.Clusters = &ClusterGenerator{}
|
|
}
|
|
if err := m.Clusters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Git", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Git == nil {
|
|
m.Git = &GitGenerator{}
|
|
}
|
|
if err := m.Git.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SCMProvider", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SCMProvider == nil {
|
|
m.SCMProvider = &SCMProviderGenerator{}
|
|
}
|
|
if err := m.SCMProvider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterDecisionResource", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ClusterDecisionResource == nil {
|
|
m.ClusterDecisionResource = &DuckTypeGenerator{}
|
|
}
|
|
if err := m.ClusterDecisionResource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PullRequest", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.PullRequest == nil {
|
|
m.PullRequest = &PullRequestGenerator{}
|
|
}
|
|
if err := m.PullRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Plugin == nil {
|
|
m.Plugin = &PluginGenerator{}
|
|
}
|
|
if err := m.Plugin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Selector == nil {
|
|
m.Selector = &v1.LabelSelector{}
|
|
}
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetTree) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetTree: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetTree: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Nodes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Nodes = append(m.Nodes, ResourceNode{})
|
|
if err := m.Nodes[len(m.Nodes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSetWatchEvent) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSetWatchEvent: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSetWatchEvent: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = k8s_io_apimachinery_pkg_watch.EventType(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationSet", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ApplicationSet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSource) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSource: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RepoURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetRevision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetRevision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Helm", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Helm == nil {
|
|
m.Helm = &ApplicationSourceHelm{}
|
|
}
|
|
if err := m.Helm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kustomize", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Kustomize == nil {
|
|
m.Kustomize = &ApplicationSourceKustomize{}
|
|
}
|
|
if err := m.Kustomize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Directory == nil {
|
|
m.Directory = &ApplicationSourceDirectory{}
|
|
}
|
|
if err := m.Directory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Plugin == nil {
|
|
m.Plugin = &ApplicationSourcePlugin{}
|
|
}
|
|
if err := m.Plugin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Chart", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Chart = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Ref = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TagPrefix", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TagPrefix = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSourceDirectory) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSourceDirectory: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSourceDirectory: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Recurse", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Recurse = bool(v != 0)
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Jsonnet", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Jsonnet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Exclude", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Exclude = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Include", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Include = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSourceHelm) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSourceHelm: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSourceHelm: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ValueFiles", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ValueFiles = append(m.ValueFiles, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Parameters = append(m.Parameters, HelmParameter{})
|
|
if err := m.Parameters[len(m.Parameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReleaseName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ReleaseName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Values = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FileParameters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FileParameters = append(m.FileParameters, HelmFileParameter{})
|
|
if err := m.FileParameters[len(m.FileParameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PassCredentials", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.PassCredentials = bool(v != 0)
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreMissingValueFiles", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IgnoreMissingValueFiles = bool(v != 0)
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SkipCrds", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.SkipCrds = bool(v != 0)
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ValuesObject", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ValuesObject == nil {
|
|
m.ValuesObject = &runtime.RawExtension{}
|
|
}
|
|
if err := m.ValuesObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KubeVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KubeVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIVersions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.APIVersions = append(m.APIVersions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SkipTests", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.SkipTests = bool(v != 0)
|
|
case 15:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SkipSchemaValidation", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.SkipSchemaValidation = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSourceJsonnet) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSourceJsonnet: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSourceJsonnet: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExtVars", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ExtVars = append(m.ExtVars, JsonnetVar{})
|
|
if err := m.ExtVars[len(m.ExtVars)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TLAs", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TLAs = append(m.TLAs, JsonnetVar{})
|
|
if err := m.TLAs[len(m.TLAs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Libs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Libs = append(m.Libs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSourceKustomize) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSourceKustomize: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSourceKustomize: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamePrefix", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamePrefix = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NameSuffix", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NameSuffix = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Images = append(m.Images, KustomizeImage(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CommonLabels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CommonLabels == nil {
|
|
m.CommonLabels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.CommonLabels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CommonAnnotations", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CommonAnnotations == nil {
|
|
m.CommonAnnotations = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.CommonAnnotations[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ForceCommonLabels", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ForceCommonLabels = bool(v != 0)
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ForceCommonAnnotations", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ForceCommonAnnotations = bool(v != 0)
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CommonAnnotationsEnvsubst", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.CommonAnnotationsEnvsubst = bool(v != 0)
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Replicas = append(m.Replicas, KustomizeReplica{})
|
|
if err := m.Replicas[len(m.Replicas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Patches", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Patches = append(m.Patches, KustomizePatch{})
|
|
if err := m.Patches[len(m.Patches)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Components", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Components = append(m.Components, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LabelWithoutSelector", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.LabelWithoutSelector = bool(v != 0)
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KubeVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KubeVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIVersions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.APIVersions = append(m.APIVersions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 17:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreMissingComponents", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IgnoreMissingComponents = bool(v != 0)
|
|
case 18:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LabelIncludeTemplates", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.LabelIncludeTemplates = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSourcePlugin) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSourcePlugin: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSourcePlugin: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Env = append(m.Env, &EnvEntry{})
|
|
if err := m.Env[len(m.Env)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Parameters = append(m.Parameters, ApplicationSourcePluginParameter{})
|
|
if err := m.Parameters[len(m.Parameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSourcePluginParameter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSourcePluginParameter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSourcePluginParameter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OptionalMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.OptionalMap == nil {
|
|
m.OptionalMap = &OptionalMap{}
|
|
}
|
|
if err := m.OptionalMap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OptionalArray", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.OptionalArray == nil {
|
|
m.OptionalArray = &OptionalArray{}
|
|
}
|
|
if err := m.OptionalArray.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field String_", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.String_ = &s
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSpec) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSpec: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSpec: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Source == nil {
|
|
m.Source = &ApplicationSource{}
|
|
}
|
|
if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Destination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncPolicy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SyncPolicy == nil {
|
|
m.SyncPolicy = &SyncPolicy{}
|
|
}
|
|
if err := m.SyncPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreDifferences", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.IgnoreDifferences = append(m.IgnoreDifferences, ResourceIgnoreDifferences{})
|
|
if err := m.IgnoreDifferences[len(m.IgnoreDifferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Info = append(m.Info, Info{})
|
|
if err := m.Info[len(m.Info)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RevisionHistoryLimit = &v
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Sources = append(m.Sources, ApplicationSource{})
|
|
if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceHydrator", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SourceHydrator == nil {
|
|
m.SourceHydrator = &SourceHydrator{}
|
|
}
|
|
if err := m.SourceHydrator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Resources = append(m.Resources, ResourceStatus{})
|
|
if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sync", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Sync.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Health.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field History", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.History = append(m.History, RevisionHistory{})
|
|
if err := m.History[len(m.History)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Conditions = append(m.Conditions, ApplicationCondition{})
|
|
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReconciledAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ReconciledAt == nil {
|
|
m.ReconciledAt = &v1.Time{}
|
|
}
|
|
if err := m.ReconciledAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OperationState", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.OperationState == nil {
|
|
m.OperationState = &OperationState{}
|
|
}
|
|
if err := m.OperationState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObservedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ObservedAt == nil {
|
|
m.ObservedAt = &v1.Time{}
|
|
}
|
|
if err := m.ObservedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceType", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SourceType = ApplicationSourceType(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Summary.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceHealthSource", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceHealthSource = ResourceHealthLocation(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceTypes", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SourceTypes = append(m.SourceTypes, ApplicationSourceType(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ControllerNamespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ControllerNamespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceHydrator", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.SourceHydrator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSummary) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationSummary: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSummary: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExternalURLs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ExternalURLs = append(m.ExternalURLs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Images = append(m.Images, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IsAppOfApps", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IsAppOfApps = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationTree) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationTree: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationTree: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Nodes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Nodes = append(m.Nodes, ResourceNode{})
|
|
if err := m.Nodes[len(m.Nodes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OrphanedNodes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.OrphanedNodes = append(m.OrphanedNodes, ResourceNode{})
|
|
if err := m.OrphanedNodes[len(m.OrphanedNodes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Hosts = append(m.Hosts, HostInfo{})
|
|
if err := m.Hosts[len(m.Hosts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ShardsCount", wireType)
|
|
}
|
|
m.ShardsCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ShardsCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationWatchEvent) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ApplicationWatchEvent: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationWatchEvent: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = k8s_io_apimachinery_pkg_watch.EventType(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Backoff) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Backoff: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Backoff: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Duration = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Factor", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Factor = &v
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MaxDuration", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.MaxDuration = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *BasicAuthBitbucketServer) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: BasicAuthBitbucketServer: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: BasicAuthBitbucketServer: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Username = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PasswordRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.PasswordRef == nil {
|
|
m.PasswordRef = &SecretRef{}
|
|
}
|
|
if err := m.PasswordRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *BearerTokenBitbucket) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: BearerTokenBitbucket: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: BearerTokenBitbucket: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *BearerTokenBitbucketCloud) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: BearerTokenBitbucketCloud: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: BearerTokenBitbucketCloud: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ChartDetails) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ChartDetails: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ChartDetails: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Description = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Home", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Home = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Maintainers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Maintainers = append(m.Maintainers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Cluster) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Cluster: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Cluster: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Server = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConnectionState", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ConnectionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ServerVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RefreshRequestedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RefreshRequestedAt == nil {
|
|
m.RefreshRequestedAt = &v1.Time{}
|
|
}
|
|
if err := m.RefreshRequestedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Shard = &v
|
|
case 10:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterResources", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ClusterResources = bool(v != 0)
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Labels == nil {
|
|
m.Labels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Labels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Annotations == nil {
|
|
m.Annotations = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Annotations[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ClusterCacheInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ClusterCacheInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ClusterCacheInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourcesCount", wireType)
|
|
}
|
|
m.ResourcesCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ResourcesCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIsCount", wireType)
|
|
}
|
|
m.APIsCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.APIsCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastCacheSyncTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastCacheSyncTime == nil {
|
|
m.LastCacheSyncTime = &v1.Time{}
|
|
}
|
|
if err := m.LastCacheSyncTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ClusterConfig) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ClusterConfig: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ClusterConfig: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Username = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Password = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BearerToken = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TLSClientConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.TLSClientConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AWSAuthConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AWSAuthConfig == nil {
|
|
m.AWSAuthConfig = &AWSAuthConfig{}
|
|
}
|
|
if err := m.AWSAuthConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExecProviderConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ExecProviderConfig == nil {
|
|
m.ExecProviderConfig = &ExecProviderConfig{}
|
|
}
|
|
if err := m.ExecProviderConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DisableCompression", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.DisableCompression = bool(v != 0)
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ProxyUrl", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ProxyUrl = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ClusterGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ClusterGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ClusterGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Values == nil {
|
|
m.Values = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Values[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FlatList", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.FlatList = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ClusterInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ClusterInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ClusterInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConnectionState", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ConnectionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ServerVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CacheInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.CacheInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationsCount", wireType)
|
|
}
|
|
m.ApplicationsCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ApplicationsCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIVersions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.APIVersions = append(m.APIVersions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ClusterList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ClusterList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ClusterList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, Cluster{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ClusterResourceRestrictionItem) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ClusterResourceRestrictionItem: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ClusterResourceRestrictionItem: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Command) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Command: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Command: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CommitMetadata) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CommitMetadata: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CommitMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Author", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Author = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Date", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Date = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Subject = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Body = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SHA", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SHA = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RepoURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ComparedTo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ComparedTo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ComparedTo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Destination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Sources = append(m.Sources, ApplicationSource{})
|
|
if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreDifferences", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.IgnoreDifferences = append(m.IgnoreDifferences, ResourceIgnoreDifferences{})
|
|
if err := m.IgnoreDifferences[len(m.IgnoreDifferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ComponentParameter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ComponentParameter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ComponentParameter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Component = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ConfigManagementPlugin) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ConfigManagementPlugin: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ConfigManagementPlugin: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Init", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Init == nil {
|
|
m.Init = &Command{}
|
|
}
|
|
if err := m.Init.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generate", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Generate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LockRepo", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.LockRepo = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ConfigMapKeyRef) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ConfigMapKeyRef: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ConfigMapKeyRef: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ConfigMapName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Key = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ConnectionState) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ConnectionState: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ConnectionState: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ModifiedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ModifiedAt == nil {
|
|
m.ModifiedAt = &v1.Time{}
|
|
}
|
|
if err := m.ModifiedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DrySource) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: DrySource: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DrySource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RepoURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetRevision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetRevision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Helm", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Helm == nil {
|
|
m.Helm = &ApplicationSourceHelm{}
|
|
}
|
|
if err := m.Helm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kustomize", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Kustomize == nil {
|
|
m.Kustomize = &ApplicationSourceKustomize{}
|
|
}
|
|
if err := m.Kustomize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Directory == nil {
|
|
m.Directory = &ApplicationSourceDirectory{}
|
|
}
|
|
if err := m.Directory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Plugin == nil {
|
|
m.Plugin = &ApplicationSourcePlugin{}
|
|
}
|
|
if err := m.Plugin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DuckTypeGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: DuckTypeGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DuckTypeGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ConfigMapRef = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequeueAfterSeconds", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequeueAfterSeconds = &v
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.LabelSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Values == nil {
|
|
m.Values = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Values[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *EnvEntry) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: EnvEntry: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: EnvEntry: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ExecProviderConfig) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ExecProviderConfig: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ExecProviderConfig: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Command = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Env == nil {
|
|
m.Env = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Env[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.APIVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InstallHint", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.InstallHint = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ProvideClusterInfo", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ProvideClusterInfo = bool(v != 0)
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Config == nil {
|
|
m.Config = &runtime.RawExtension{}
|
|
}
|
|
if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GitDirectoryGeneratorItem) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GitDirectoryGeneratorItem: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GitDirectoryGeneratorItem: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Exclude", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Exclude = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GitFileGeneratorItem) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GitFileGeneratorItem: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GitFileGeneratorItem: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Exclude", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Exclude = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GitGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GitGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GitGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RepoURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Directories", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Directories = append(m.Directories, GitDirectoryGeneratorItem{})
|
|
if err := m.Directories[len(m.Directories)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Files", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Files = append(m.Files, GitFileGeneratorItem{})
|
|
if err := m.Files[len(m.Files)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequeueAfterSeconds", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequeueAfterSeconds = &v
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PathParamPrefix", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PathParamPrefix = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Values == nil {
|
|
m.Values = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Values[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GnuPGPublicKey) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GnuPGPublicKey: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GnuPGPublicKey: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KeyID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KeyID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Fingerprint", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Fingerprint = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Trust", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Trust = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SubType", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SubType = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KeyData", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KeyData = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GnuPGPublicKeyList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GnuPGPublicKeyList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GnuPGPublicKeyList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, GnuPGPublicKey{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HealthStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HealthStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HealthStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = github_com_hanzoai_cd_gitops_engine_pkg_health.HealthStatusCode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastTransitionTime == nil {
|
|
m.LastTransitionTime = &v1.Time{}
|
|
}
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HelmFileParameter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HelmFileParameter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HelmFileParameter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HelmOptions) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HelmOptions: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HelmOptions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ValuesFileSchemes", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ValuesFileSchemes = append(m.ValuesFileSchemes, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HelmParameter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HelmParameter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HelmParameter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ForceString", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ForceString = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HostInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HostInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HostInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourcesInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourcesInfo = append(m.ResourcesInfo, HostResourceInfo{})
|
|
if err := m.ResourcesInfo[len(m.ResourcesInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SystemInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.SystemInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Labels == nil {
|
|
m.Labels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Labels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HostResourceInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HostResourceInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HostResourceInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceName = k8s_io_api_core_v1.ResourceName(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequestedByApp", wireType)
|
|
}
|
|
m.RequestedByApp = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.RequestedByApp |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequestedByNeighbors", wireType)
|
|
}
|
|
m.RequestedByNeighbors = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.RequestedByNeighbors |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
|
|
}
|
|
m.Capacity = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Capacity |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HydrateOperation) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HydrateOperation: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HydrateOperation: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.FinishedAt == nil {
|
|
m.FinishedAt = &v1.Time{}
|
|
}
|
|
if err := m.FinishedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Phase = HydrateOperationPhase(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DrySHA", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DrySHA = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HydratedSHA", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HydratedSHA = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceHydrator", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.SourceHydrator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *HydrateTo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: HydrateTo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: HydrateTo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetBranch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetBranch = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Info) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Info: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Info: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *InfoItem) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: InfoItem: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: InfoItem: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *JWTToken) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: JWTToken: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: JWTToken: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IssuedAt", wireType)
|
|
}
|
|
m.IssuedAt = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.IssuedAt |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExpiresAt", wireType)
|
|
}
|
|
m.ExpiresAt = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ExpiresAt |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *JWTTokens) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: JWTTokens: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: JWTTokens: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, JWTToken{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *JsonnetVar) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: JsonnetVar: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: JsonnetVar: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Code = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KnownTypeField) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KnownTypeField: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KnownTypeField: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Field = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizeGvk) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizeGvk: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizeGvk: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizeOptions) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizeOptions: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizeOptions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BuildOptions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BuildOptions = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BinaryPath", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BinaryPath = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Versions = append(m.Versions, KustomizeVersion{})
|
|
if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizePatch) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizePatch: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizePatch: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Patch = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Target == nil {
|
|
m.Target = &KustomizeSelector{}
|
|
}
|
|
if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Options == nil {
|
|
m.Options = make(map[string]bool)
|
|
}
|
|
var mapkey string
|
|
var mapvalue bool
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvalue = bool(mapvaluetemp != 0)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Options[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizeReplica) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizeReplica: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizeReplica: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Count.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizeResId) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizeResId: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizeResId: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KustomizeGvk", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.KustomizeGvk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizeSelector) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizeSelector: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizeSelector: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KustomizeResId", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.KustomizeResId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AnnotationSelector", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AnnotationSelector = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.LabelSelector = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KustomizeVersion) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KustomizeVersion: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KustomizeVersion: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BuildOptions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BuildOptions = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ListGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Elements", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Elements = append(m.Elements, v11.JSON{})
|
|
if err := m.Elements[len(m.Elements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ElementsYaml", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ElementsYaml = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ManagedNamespaceMetadata) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ManagedNamespaceMetadata: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ManagedNamespaceMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Labels == nil {
|
|
m.Labels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Labels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Annotations == nil {
|
|
m.Annotations = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Annotations[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *MatrixGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: MatrixGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: MatrixGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generators", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Generators = append(m.Generators, ApplicationSetNestedGenerator{})
|
|
if err := m.Generators[len(m.Generators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *MergeGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: MergeGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: MergeGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generators", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Generators = append(m.Generators, ApplicationSetNestedGenerator{})
|
|
if err := m.Generators[len(m.Generators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MergeKeys", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.MergeKeys = append(m.MergeKeys, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *NestedMatrixGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: NestedMatrixGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: NestedMatrixGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generators", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Generators = append(m.Generators, ApplicationSetTerminalGenerator{})
|
|
if err := m.Generators[len(m.Generators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *NestedMergeGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: NestedMergeGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: NestedMergeGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generators", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Generators = append(m.Generators, ApplicationSetTerminalGenerator{})
|
|
if err := m.Generators[len(m.Generators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MergeKeys", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.MergeKeys = append(m.MergeKeys, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OCIMetadata) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OCIMetadata: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OCIMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CreatedAt = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Authors", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Authors = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ImageURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ImageURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DocsURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DocsURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SourceURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Description = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Operation) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Operation: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Operation: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sync", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sync == nil {
|
|
m.Sync = &SyncOperation{}
|
|
}
|
|
if err := m.Sync.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedBy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.InitiatedBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Info = append(m.Info, &Info{})
|
|
if err := m.Info[len(m.Info)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Retry", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Retry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OperationInitiator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OperationInitiator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OperationInitiator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Username = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Automated", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Automated = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OperationState) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OperationState: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OperationState: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Operation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Phase = github_com_hanzoai_cd_gitops_engine_pkg_sync_common.OperationPhase(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncResult", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SyncResult == nil {
|
|
m.SyncResult = &SyncOperationResult{}
|
|
}
|
|
if err := m.SyncResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.FinishedAt == nil {
|
|
m.FinishedAt = &v1.Time{}
|
|
}
|
|
if err := m.FinishedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryCount", wireType)
|
|
}
|
|
m.RetryCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.RetryCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OptionalArray) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OptionalArray: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OptionalArray: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Array", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Array = append(m.Array, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OptionalMap) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OptionalMap: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OptionalMap: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Map == nil {
|
|
m.Map = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OrphanedResourceKey) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OrphanedResourceKey: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OrphanedResourceKey: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OrphanedResourcesMonitorSettings) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OrphanedResourcesMonitorSettings: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OrphanedResourcesMonitorSettings: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Warn", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.Warn = &b
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Ignore", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Ignore = append(m.Ignore, OrphanedResourceKey{})
|
|
if err := m.Ignore[len(m.Ignore)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OverrideIgnoreDiff) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: OverrideIgnoreDiff: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OverrideIgnoreDiff: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JSONPointers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JSONPointers = append(m.JSONPointers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JQPathExpressions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JQPathExpressions = append(m.JQPathExpressions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ManagedFieldsManagers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ManagedFieldsManagers = append(m.ManagedFieldsManagers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PluginConfigMapRef) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PluginConfigMapRef: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PluginConfigMapRef: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PluginGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PluginGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PluginGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ConfigMapRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequeueAfterSeconds", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequeueAfterSeconds = &v
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Values == nil {
|
|
m.Values = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Values[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PluginInput) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PluginInput: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PluginInput: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Parameters == nil {
|
|
m.Parameters = make(PluginParameters)
|
|
}
|
|
var mapkey string
|
|
mapvalue := &v11.JSON{}
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &v11.JSON{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Parameters[mapkey] = *mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ProjectRole) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ProjectRole: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ProjectRole: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Description = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Policies", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Policies = append(m.Policies, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JWTTokens", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JWTTokens = append(m.JWTTokens, JWTToken{})
|
|
if err := m.JWTTokens[len(m.JWTTokens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Github", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Github == nil {
|
|
m.Github = &PullRequestGeneratorGithub{}
|
|
}
|
|
if err := m.Github.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GitLab", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.GitLab == nil {
|
|
m.GitLab = &PullRequestGeneratorGitLab{}
|
|
}
|
|
if err := m.GitLab.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Gitea", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Gitea == nil {
|
|
m.Gitea = &PullRequestGeneratorGitea{}
|
|
}
|
|
if err := m.Gitea.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BitbucketServer", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BitbucketServer == nil {
|
|
m.BitbucketServer = &PullRequestGeneratorBitbucketServer{}
|
|
}
|
|
if err := m.BitbucketServer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Filters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Filters = append(m.Filters, PullRequestGeneratorFilter{})
|
|
if err := m.Filters[len(m.Filters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequeueAfterSeconds", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequeueAfterSeconds = &v
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Bitbucket", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Bitbucket == nil {
|
|
m.Bitbucket = &PullRequestGeneratorBitbucket{}
|
|
}
|
|
if err := m.Bitbucket.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureDevOps", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AzureDevOps == nil {
|
|
m.AzureDevOps = &PullRequestGeneratorAzureDevOps{}
|
|
}
|
|
if err := m.AzureDevOps.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Values == nil {
|
|
m.Values = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Values[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContinueOnRepoNotFoundError", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ContinueOnRepoNotFoundError = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorAzureDevOps) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorAzureDevOps: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorAzureDevOps: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Organization = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorBitbucket) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorBitbucket: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorBitbucket: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BasicAuth", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BasicAuth == nil {
|
|
m.BasicAuth = &BasicAuthBitbucketServer{}
|
|
}
|
|
if err := m.BasicAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BearerToken == nil {
|
|
m.BearerToken = &BearerTokenBitbucketCloud{}
|
|
}
|
|
if err := m.BearerToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorBitbucketServer) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorBitbucketServer: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorBitbucketServer: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BasicAuth", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BasicAuth == nil {
|
|
m.BasicAuth = &BasicAuthBitbucketServer{}
|
|
}
|
|
if err := m.BasicAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BearerToken == nil {
|
|
m.BearerToken = &BearerTokenBitbucket{}
|
|
}
|
|
if err := m.BearerToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CARef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CARef == nil {
|
|
m.CARef = &ConfigMapKeyRef{}
|
|
}
|
|
if err := m.CARef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorFilter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorFilter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorFilter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BranchMatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.BranchMatch = &s
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetBranchMatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.TargetBranchMatch = &s
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TitleMatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.TitleMatch = &s
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorGitLab) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorGitLab: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorGitLab: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PullRequestState", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PullRequestState = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CARef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CARef == nil {
|
|
m.CARef = &ConfigMapKeyRef{}
|
|
}
|
|
if err := m.CARef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorGitea) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorGitea: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorGitea: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PullRequestGeneratorGithub) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorGithub: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PullRequestGeneratorGithub: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AppSecretName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AppSecretName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RefTarget) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RefTarget: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RefTarget: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetRevision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetRevision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Chart", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Chart = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RepoCreds) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RepoCreds: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RepoCreds: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.URL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Username = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Password = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SSHPrivateKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SSHPrivateKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TLSClientCertData", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TLSClientCertData = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TLSClientCertKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TLSClientCertKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GithubAppPrivateKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GithubAppPrivateKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GithubAppId", wireType)
|
|
}
|
|
m.GithubAppId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GithubAppId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GithubAppInstallationId", wireType)
|
|
}
|
|
m.GithubAppInstallationId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GithubAppInstallationId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GitHubAppEnterpriseBaseURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GitHubAppEnterpriseBaseURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field EnableOCI", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.EnableOCI = bool(v != 0)
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GCPServiceAccountKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GCPServiceAccountKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 19:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Proxy", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Proxy = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 20:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ForceHttpBasicAuth", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ForceHttpBasicAuth = bool(v != 0)
|
|
case 23:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NoProxy", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NoProxy = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 24:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UseAzureWorkloadIdentity", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.UseAzureWorkloadIdentity = bool(v != 0)
|
|
case 25:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BearerToken = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 26:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InsecureOCIForceHttp", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.InsecureOCIForceHttp = bool(v != 0)
|
|
case 29:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureServicePrincipalClientId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureServicePrincipalClientId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 30:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureServicePrincipalClientSecret", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureServicePrincipalClientSecret = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 31:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureServicePrincipalTenantId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureServicePrincipalTenantId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 32:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureActiveDirectoryEndpoint", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureActiveDirectoryEndpoint = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RepoCredsList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RepoCredsList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RepoCredsList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, RepoCreds{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Repository) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Repository: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Repository: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Username = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Password = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SSHPrivateKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SSHPrivateKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConnectionState", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ConnectionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InsecureIgnoreHostKey", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.InsecureIgnoreHostKey = bool(v != 0)
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field EnableLFS", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.EnableLFS = bool(v != 0)
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TLSClientCertData", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TLSClientCertData = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TLSClientCertKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TLSClientCertKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Type = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InheritedCreds", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.InheritedCreds = bool(v != 0)
|
|
case 14:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field EnableOCI", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.EnableOCI = bool(v != 0)
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GithubAppPrivateKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GithubAppPrivateKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GithubAppId", wireType)
|
|
}
|
|
m.GithubAppId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GithubAppId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 17:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GithubAppInstallationId", wireType)
|
|
}
|
|
m.GithubAppInstallationId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GithubAppInstallationId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 18:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GitHubAppEnterpriseBaseURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GitHubAppEnterpriseBaseURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 19:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Proxy", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Proxy = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 20:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 21:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GCPServiceAccountKey", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GCPServiceAccountKey = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 22:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ForceHttpBasicAuth", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ForceHttpBasicAuth = bool(v != 0)
|
|
case 23:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NoProxy", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NoProxy = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 24:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UseAzureWorkloadIdentity", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.UseAzureWorkloadIdentity = bool(v != 0)
|
|
case 25:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BearerToken = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 26:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InsecureOCIForceHttp", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.InsecureOCIForceHttp = bool(v != 0)
|
|
case 27:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Depth", wireType)
|
|
}
|
|
m.Depth = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Depth |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 28:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WebhookManifestCacheWarmDisabled", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.WebhookManifestCacheWarmDisabled = bool(v != 0)
|
|
case 29:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureServicePrincipalClientId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureServicePrincipalClientId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 30:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureServicePrincipalClientSecret", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureServicePrincipalClientSecret = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 31:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureServicePrincipalTenantId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureServicePrincipalTenantId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 32:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureActiveDirectoryEndpoint", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AzureActiveDirectoryEndpoint = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RepositoryCertificate) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RepositoryCertificate: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RepositoryCertificate: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ServerName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CertType", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CertType = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CertSubType", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CertSubType = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CertData", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CertData = append(m.CertData[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.CertData == nil {
|
|
m.CertData = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CertInfo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CertInfo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RepositoryCertificateList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RepositoryCertificateList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RepositoryCertificateList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, RepositoryCertificate{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RepositoryList) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RepositoryList: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RepositoryList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, &Repository{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceAction) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceAction: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceAction: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Params = append(m.Params, ResourceActionParam{})
|
|
if err := m.Params[len(m.Params)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Disabled = bool(v != 0)
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IconClass", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.IconClass = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DisplayName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceActionDefinition) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceActionDefinition: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceActionDefinition: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActionLua", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActionLua = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceActionParam) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceActionParam: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceActionParam: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceActions) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceActions: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceActions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActionDiscoveryLua", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActionDiscoveryLua = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Definitions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Definitions = append(m.Definitions, ResourceActionDefinition{})
|
|
if err := m.Definitions[len(m.Definitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MergeBuiltinActions", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.MergeBuiltinActions = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceDiff) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceDiff: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceDiff: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetState", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetState = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LiveState", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.LiveState = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Diff", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Diff = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Hook", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Hook = bool(v != 0)
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NormalizedLiveState", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NormalizedLiveState = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PredictedLiveState", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PredictedLiveState = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Modified", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Modified = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceIgnoreDifferences) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceIgnoreDifferences: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceIgnoreDifferences: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JSONPointers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JSONPointers = append(m.JSONPointers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JQPathExpressions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JQPathExpressions = append(m.JQPathExpressions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ManagedFieldsManagers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ManagedFieldsManagers = append(m.ManagedFieldsManagers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceNetworkingInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceNetworkingInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceNetworkingInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetLabels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TargetLabels == nil {
|
|
m.TargetLabels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.TargetLabels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetRefs", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetRefs = append(m.TargetRefs, ResourceRef{})
|
|
if err := m.TargetRefs[len(m.TargetRefs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Labels == nil {
|
|
m.Labels = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Labels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Ingress = append(m.Ingress, v12.LoadBalancerIngress{})
|
|
if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExternalURLs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ExternalURLs = append(m.ExternalURLs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceNode) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceNode: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceNode: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ResourceRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentRefs", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ParentRefs = append(m.ParentRefs, ResourceRef{})
|
|
if err := m.ParentRefs[len(m.ParentRefs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Info = append(m.Info, InfoItem{})
|
|
if err := m.Info[len(m.Info)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NetworkingInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.NetworkingInfo == nil {
|
|
m.NetworkingInfo = &ResourceNetworkingInfo{}
|
|
}
|
|
if err := m.NetworkingInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Images = append(m.Images, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Health == nil {
|
|
m.Health = &HealthStatus{}
|
|
}
|
|
if err := m.Health.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CreatedAt == nil {
|
|
m.CreatedAt = &v1.Time{}
|
|
}
|
|
if err := m.CreatedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceOverride) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceOverride: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceOverride: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HealthLua", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HealthLua = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreDifferences", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.IgnoreDifferences.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Actions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Actions = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KnownTypeFields", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KnownTypeFields = append(m.KnownTypeFields, KnownTypeField{})
|
|
if err := m.KnownTypeFields[len(m.KnownTypeFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UseOpenLibs", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.UseOpenLibs = bool(v != 0)
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreResourceUpdates", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.IgnoreResourceUpdates.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceRef) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceRef: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceRef: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceResult) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceResult: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceResult: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = github_com_hanzoai_cd_gitops_engine_pkg_sync_common.ResultCode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HookType", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HookType = github_com_hanzoai_cd_gitops_engine_pkg_sync_common.HookType(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HookPhase", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HookPhase = github_com_hanzoai_cd_gitops_engine_pkg_sync_common.OperationPhase(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncPhase", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SyncPhase = github_com_hanzoai_cd_gitops_engine_pkg_sync_common.SyncPhase(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Images = append(m.Images, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourceStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ResourceStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = SyncStatusCode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Health == nil {
|
|
m.Health = &HealthStatus{}
|
|
}
|
|
if err := m.Health.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Hook", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Hook = bool(v != 0)
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequiresPruning", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequiresPruning = bool(v != 0)
|
|
case 10:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncWave", wireType)
|
|
}
|
|
m.SyncWave = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.SyncWave |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequiresDeletionConfirmation", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequiresDeletionConfirmation = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RetryStrategy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RetryStrategy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RetryStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
|
|
}
|
|
m.Limit = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Limit |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Backoff", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Backoff == nil {
|
|
m.Backoff = &Backoff{}
|
|
}
|
|
if err := m.Backoff.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Refresh", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Refresh = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RevisionHistory) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RevisionHistory: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RevisionHistory: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeployedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.DeployedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
}
|
|
m.ID = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ID |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeployStartedAt", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.DeployStartedAt == nil {
|
|
m.DeployStartedAt = &v1.Time{}
|
|
}
|
|
if err := m.DeployStartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Sources = append(m.Sources, ApplicationSource{})
|
|
if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revisions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revisions = append(m.Revisions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedBy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.InitiatedBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RevisionMetadata) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RevisionMetadata: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RevisionMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Author", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Author = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Date", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Date == nil {
|
|
m.Date = &v1.Time{}
|
|
}
|
|
if err := m.Date.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignatureInfo", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SignatureInfo = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field References", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.References = append(m.References, RevisionReference{})
|
|
if err := m.References[len(m.References)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceIntegrityResult", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SourceIntegrityResult == nil {
|
|
m.SourceIntegrityResult = &SourceIntegrityCheckResult{}
|
|
}
|
|
if err := m.SourceIntegrityResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RevisionReference) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: RevisionReference: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RevisionReference: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Commit == nil {
|
|
m.Commit = &CommitMetadata{}
|
|
}
|
|
if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGenerator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGenerator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGenerator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Github", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Github == nil {
|
|
m.Github = &SCMProviderGeneratorGithub{}
|
|
}
|
|
if err := m.Github.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Gitlab", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Gitlab == nil {
|
|
m.Gitlab = &SCMProviderGeneratorGitlab{}
|
|
}
|
|
if err := m.Gitlab.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Bitbucket", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Bitbucket == nil {
|
|
m.Bitbucket = &SCMProviderGeneratorBitbucket{}
|
|
}
|
|
if err := m.Bitbucket.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BitbucketServer", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BitbucketServer == nil {
|
|
m.BitbucketServer = &SCMProviderGeneratorBitbucketServer{}
|
|
}
|
|
if err := m.BitbucketServer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Gitea", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Gitea == nil {
|
|
m.Gitea = &SCMProviderGeneratorGitea{}
|
|
}
|
|
if err := m.Gitea.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AzureDevOps", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AzureDevOps == nil {
|
|
m.AzureDevOps = &SCMProviderGeneratorAzureDevOps{}
|
|
}
|
|
if err := m.AzureDevOps.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Filters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Filters = append(m.Filters, SCMProviderGeneratorFilter{})
|
|
if err := m.Filters[len(m.Filters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CloneProtocol", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CloneProtocol = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequeueAfterSeconds", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RequeueAfterSeconds = &v
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Values == nil {
|
|
m.Values = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Values[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AWSCodeCommit", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AWSCodeCommit == nil {
|
|
m.AWSCodeCommit = &SCMProviderGeneratorAWSCodeCommit{}
|
|
}
|
|
if err := m.AWSCodeCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorAWSCodeCommit) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorAWSCodeCommit: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorAWSCodeCommit: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TagFilters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TagFilters = append(m.TagFilters, &TagFilter{})
|
|
if err := m.TagFilters[len(m.TagFilters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Role = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Region = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorAzureDevOps) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorAzureDevOps: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorAzureDevOps: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Organization = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TeamProject", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TeamProject = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AccessTokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AccessTokenRef == nil {
|
|
m.AccessTokenRef = &SecretRef{}
|
|
}
|
|
if err := m.AccessTokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucket) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorBitbucket: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorBitbucket: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.User = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AppPasswordRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AppPasswordRef == nil {
|
|
m.AppPasswordRef = &SecretRef{}
|
|
}
|
|
if err := m.AppPasswordRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorBitbucketServer) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorBitbucketServer: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorBitbucketServer: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Project = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BasicAuth", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BasicAuth == nil {
|
|
m.BasicAuth = &BasicAuthBitbucketServer{}
|
|
}
|
|
if err := m.BasicAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BearerToken == nil {
|
|
m.BearerToken = &BearerTokenBitbucket{}
|
|
}
|
|
if err := m.BearerToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CARef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CARef == nil {
|
|
m.CARef = &ConfigMapKeyRef{}
|
|
}
|
|
if err := m.CARef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorFilter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorFilter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorFilter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RepositoryMatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.RepositoryMatch = &s
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PathsExist", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PathsExist = append(m.PathsExist, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PathsDoNotExist", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PathsDoNotExist = append(m.PathsDoNotExist, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LabelMatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.LabelMatch = &s
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BranchMatch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.BranchMatch = &s
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorGitea) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorGitea: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorGitea: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExcludeArchivedRepos", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ExcludeArchivedRepos = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorGithub) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorGithub: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorGithub: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Organization = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AppSecretName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AppSecretName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExcludeArchivedRepos", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ExcludeArchivedRepos = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SCMProviderGeneratorGitlab) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorGitlab: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SCMProviderGeneratorGitlab: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IncludeSubgroups", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IncludeSubgroups = bool(v != 0)
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field API", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.API = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TokenRef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TokenRef == nil {
|
|
m.TokenRef = &SecretRef{}
|
|
}
|
|
if err := m.TokenRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AllBranches = bool(v != 0)
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IncludeSharedProjects", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.IncludeSharedProjects = &b
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Topic = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CARef", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CARef == nil {
|
|
m.CARef = &ConfigMapKeyRef{}
|
|
}
|
|
if err := m.CARef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IncludeArchivedRepos", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IncludeArchivedRepos = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SecretRef) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SecretRef: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SecretRef: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SecretName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Key = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignatureKey) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SignatureKey: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignatureKey: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KeyID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KeyID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceHydrator) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceHydrator: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceHydrator: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DrySource", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.DrySource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncSource", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.SyncSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HydrateTo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.HydrateTo == nil {
|
|
m.HydrateTo = &HydrateTo{}
|
|
}
|
|
if err := m.HydrateTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceHydratorStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceHydratorStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceHydratorStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastSuccessfulOperation", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastSuccessfulOperation == nil {
|
|
m.LastSuccessfulOperation = &SuccessfulHydrateOperation{}
|
|
}
|
|
if err := m.LastSuccessfulOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CurrentOperation", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CurrentOperation == nil {
|
|
m.CurrentOperation = &HydrateOperation{}
|
|
}
|
|
if err := m.CurrentOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastComparedDryRevision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.LastComparedDryRevision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrity) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrity: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrity: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Git", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Git == nil {
|
|
m.Git = &SourceIntegrityGit{}
|
|
}
|
|
if err := m.Git.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrityCheckResult) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrityCheckResult: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrityCheckResult: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Checks", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Checks = append(m.Checks, SourceIntegrityCheckResultItem{})
|
|
if err := m.Checks[len(m.Checks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrityCheckResultItem) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrityCheckResultItem: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrityCheckResultItem: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Problems", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Problems = append(m.Problems, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrityGit) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrityGit: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrityGit: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Policies", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Policies = append(m.Policies, &SourceIntegrityGitPolicy{})
|
|
if err := m.Policies[len(m.Policies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrityGitPolicy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrityGitPolicy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrityGitPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Repos", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Repos = append(m.Repos, SourceIntegrityGitPolicyRepo{})
|
|
if err := m.Repos[len(m.Repos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GPG", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.GPG == nil {
|
|
m.GPG = &SourceIntegrityGitPolicyGPG{}
|
|
}
|
|
if err := m.GPG.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrityGitPolicyGPG) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrityGitPolicyGPG: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrityGitPolicyGPG: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Mode = SourceIntegrityGitPolicyGPGMode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Keys = append(m.Keys, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SourceIntegrityGitPolicyRepo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SourceIntegrityGitPolicyRepo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SourceIntegrityGitPolicyRepo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.URL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SuccessfulHydrateOperation) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SuccessfulHydrateOperation: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SuccessfulHydrateOperation: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DrySHA", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DrySHA = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HydratedSHA", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HydratedSHA = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SourceHydrator", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.SourceHydrator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncOperation) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncOperation: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncOperation: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Prune = bool(v != 0)
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.DryRun = bool(v != 0)
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncStrategy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SyncStrategy == nil {
|
|
m.SyncStrategy = &SyncStrategy{}
|
|
}
|
|
if err := m.SyncStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Resources = append(m.Resources, SyncOperationResource{})
|
|
if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Source == nil {
|
|
m.Source = &ApplicationSource{}
|
|
}
|
|
if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Manifests", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Manifests = append(m.Manifests, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncOptions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SyncOptions = append(m.SyncOptions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Sources = append(m.Sources, ApplicationSource{})
|
|
if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revisions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revisions = append(m.Revisions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SelfHealAttemptsCount", wireType)
|
|
}
|
|
m.SelfHealAttemptsCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.SelfHealAttemptsCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncOperationResource) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncOperationResource: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncOperationResource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncOperationResult) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncOperationResult: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncOperationResult: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Resources = append(m.Resources, &ResourceResult{})
|
|
if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Sources = append(m.Sources, ApplicationSource{})
|
|
if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revisions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revisions = append(m.Revisions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ManagedNamespaceMetadata", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ManagedNamespaceMetadata == nil {
|
|
m.ManagedNamespaceMetadata = &ManagedNamespaceMetadata{}
|
|
}
|
|
if err := m.ManagedNamespaceMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncPolicy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncPolicy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Automated", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Automated == nil {
|
|
m.Automated = &SyncPolicyAutomated{}
|
|
}
|
|
if err := m.Automated.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncOptions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SyncOptions = append(m.SyncOptions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Retry", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Retry == nil {
|
|
m.Retry = &RetryStrategy{}
|
|
}
|
|
if err := m.Retry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ManagedNamespaceMetadata", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ManagedNamespaceMetadata == nil {
|
|
m.ManagedNamespaceMetadata = &ManagedNamespaceMetadata{}
|
|
}
|
|
if err := m.ManagedNamespaceMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncPolicyAutomated) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncPolicyAutomated: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncPolicyAutomated: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.Prune = &b
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SelfHeal", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.SelfHeal = &b
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AllowEmpty", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.AllowEmpty = &b
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.Enabled = &b
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncSource) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncSource: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncSource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetBranch", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetBranch = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Path = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoURL", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RepoURL = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncStatus) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncStatus: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncStatus: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Status = SyncStatusCode(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ComparedTo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.ComparedTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Revisions", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revisions = append(m.Revisions, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncStrategy) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncStrategy: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Apply", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Apply == nil {
|
|
m.Apply = &SyncStrategyApply{}
|
|
}
|
|
if err := m.Apply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Hook", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Hook == nil {
|
|
m.Hook = &SyncStrategyHook{}
|
|
}
|
|
if err := m.Hook.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncStrategyApply) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncStrategyApply: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncStrategyApply: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Force = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncStrategyHook) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncStrategyHook: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncStrategyHook: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncStrategyApply", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.SyncStrategyApply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SyncWindow) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SyncWindow: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SyncWindow: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Schedule = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Duration = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Applications", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Applications = append(m.Applications, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Clusters = append(m.Clusters, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ManualSync", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ManualSync = bool(v != 0)
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TimeZone", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TimeZone = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UseAndOperator", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.UseAndOperator = bool(v != 0)
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Description = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SyncOverrun", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.SyncOverrun = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TLSClientConfig) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: TLSClientConfig: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TLSClientConfig: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Insecure = bool(v != 0)
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ServerName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CertData", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CertData = append(m.CertData[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.CertData == nil {
|
|
m.CertData = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KeyData", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KeyData = append(m.KeyData[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.KeyData == nil {
|
|
m.KeyData = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CAData", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CAData = append(m.CAData[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.CAData == nil {
|
|
m.CAData = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TagFilter) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: TagFilter: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TagFilter: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Key = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGenerated
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipGenerated(dAtA []byte) (n int, err error) {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
depth := 0
|
|
for iNdEx < l {
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
wireType := int(wire & 0x7)
|
|
switch wireType {
|
|
case 0:
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx++
|
|
if dAtA[iNdEx-1] < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 1:
|
|
iNdEx += 8
|
|
case 2:
|
|
var length int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowGenerated
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
length |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if length < 0 {
|
|
return 0, ErrInvalidLengthGenerated
|
|
}
|
|
iNdEx += length
|
|
case 3:
|
|
depth++
|
|
case 4:
|
|
if depth == 0 {
|
|
return 0, ErrUnexpectedEndOfGroupGenerated
|
|
}
|
|
depth--
|
|
case 5:
|
|
iNdEx += 4
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
if iNdEx < 0 {
|
|
return 0, ErrInvalidLengthGenerated
|
|
}
|
|
if depth == 0 {
|
|
return iNdEx, nil
|
|
}
|
|
}
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
|
|
ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
|
|
)
|