mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-19 15:28:28 +00:00
6632 lines
180 KiB
Go
6632 lines
180 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: server/application/application.proto
|
|
|
|
package application // import "github.com/argoproj/argo-cd/server/application"
|
|
|
|
/*
|
|
Application Service
|
|
|
|
Application Service API performs CRUD actions against application resources
|
|
*/
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import v1alpha1 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1"
|
|
import repository "github.com/argoproj/argo-cd/reposerver/repository"
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
import v11 "k8s.io/api/core/v1"
|
|
import v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
|
|
import context "golang.org/x/net/context"
|
|
import grpc "google.golang.org/grpc"
|
|
|
|
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
|
|
|
|
import io "io"
|
|
|
|
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// ApplicationQuery is a query for application resources
|
|
type ApplicationQuery struct {
|
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
Refresh *string `protobuf:"bytes,2,opt,name=refresh" json:"refresh,omitempty"`
|
|
Projects []string `protobuf:"bytes,3,rep,name=project" json:"project,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationQuery) Reset() { *m = ApplicationQuery{} }
|
|
func (m *ApplicationQuery) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationQuery) ProtoMessage() {}
|
|
func (*ApplicationQuery) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{0}
|
|
}
|
|
func (m *ApplicationQuery) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationQuery.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationQuery) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationQuery.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationQuery) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationQuery) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationQuery.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationQuery proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationQuery) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationQuery) GetRefresh() string {
|
|
if m != nil && m.Refresh != nil {
|
|
return *m.Refresh
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationQuery) GetProjects() []string {
|
|
if m != nil {
|
|
return m.Projects
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ApplicationEventsQuery is a query for application resource events
|
|
type ApplicationResourceEventsQuery struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
ResourceNamespace string `protobuf:"bytes,2,req,name=resourceNamespace" json:"resourceNamespace"`
|
|
ResourceName string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName"`
|
|
ResourceUID string `protobuf:"bytes,4,req,name=resourceUID" json:"resourceUID"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) Reset() { *m = ApplicationResourceEventsQuery{} }
|
|
func (m *ApplicationResourceEventsQuery) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationResourceEventsQuery) ProtoMessage() {}
|
|
func (*ApplicationResourceEventsQuery) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{1}
|
|
}
|
|
func (m *ApplicationResourceEventsQuery) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationResourceEventsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationResourceEventsQuery.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationResourceEventsQuery) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationResourceEventsQuery.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationResourceEventsQuery) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationResourceEventsQuery) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationResourceEventsQuery.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationResourceEventsQuery proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationResourceEventsQuery) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) GetResourceNamespace() string {
|
|
if m != nil {
|
|
return m.ResourceNamespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) GetResourceName() string {
|
|
if m != nil {
|
|
return m.ResourceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) GetResourceUID() string {
|
|
if m != nil {
|
|
return m.ResourceUID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// ManifestQuery is a query for manifest resources
|
|
type ApplicationManifestQuery struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationManifestQuery) Reset() { *m = ApplicationManifestQuery{} }
|
|
func (m *ApplicationManifestQuery) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationManifestQuery) ProtoMessage() {}
|
|
func (*ApplicationManifestQuery) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{2}
|
|
}
|
|
func (m *ApplicationManifestQuery) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationManifestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationManifestQuery.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationManifestQuery) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationManifestQuery.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationManifestQuery) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationManifestQuery) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationManifestQuery.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationManifestQuery proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationManifestQuery) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationManifestQuery) GetRevision() string {
|
|
if m != nil {
|
|
return m.Revision
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApplicationResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationResponse) Reset() { *m = ApplicationResponse{} }
|
|
func (m *ApplicationResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationResponse) ProtoMessage() {}
|
|
func (*ApplicationResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{3}
|
|
}
|
|
func (m *ApplicationResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationResponse.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationResponse proto.InternalMessageInfo
|
|
|
|
type ApplicationCreateRequest struct {
|
|
Application v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application"`
|
|
Upsert *bool `protobuf:"varint,2,opt,name=upsert" json:"upsert,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationCreateRequest) Reset() { *m = ApplicationCreateRequest{} }
|
|
func (m *ApplicationCreateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationCreateRequest) ProtoMessage() {}
|
|
func (*ApplicationCreateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{4}
|
|
}
|
|
func (m *ApplicationCreateRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationCreateRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationCreateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationCreateRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationCreateRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationCreateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationCreateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationCreateRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationCreateRequest) GetApplication() v1alpha1.Application {
|
|
if m != nil {
|
|
return m.Application
|
|
}
|
|
return v1alpha1.Application{}
|
|
}
|
|
|
|
func (m *ApplicationCreateRequest) GetUpsert() bool {
|
|
if m != nil && m.Upsert != nil {
|
|
return *m.Upsert
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ApplicationUpdateRequest struct {
|
|
Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationUpdateRequest) Reset() { *m = ApplicationUpdateRequest{} }
|
|
func (m *ApplicationUpdateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationUpdateRequest) ProtoMessage() {}
|
|
func (*ApplicationUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{5}
|
|
}
|
|
func (m *ApplicationUpdateRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationUpdateRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationUpdateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationUpdateRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationUpdateRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationUpdateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationUpdateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationUpdateRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationUpdateRequest) GetApplication() *v1alpha1.Application {
|
|
if m != nil {
|
|
return m.Application
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ApplicationDeleteRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Cascade *bool `protobuf:"varint,2,opt,name=cascade" json:"cascade,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationDeleteRequest) Reset() { *m = ApplicationDeleteRequest{} }
|
|
func (m *ApplicationDeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationDeleteRequest) ProtoMessage() {}
|
|
func (*ApplicationDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{6}
|
|
}
|
|
func (m *ApplicationDeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationDeleteRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationDeleteRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationDeleteRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationDeleteRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationDeleteRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationDeleteRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationDeleteRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationDeleteRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationDeleteRequest) GetCascade() bool {
|
|
if m != nil && m.Cascade != nil {
|
|
return *m.Cascade
|
|
}
|
|
return false
|
|
}
|
|
|
|
// ApplicationSyncRequest is a request to apply the config state to live state
|
|
type ApplicationSyncRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision"`
|
|
DryRun bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun"`
|
|
Prune bool `protobuf:"varint,4,opt,name=prune" json:"prune"`
|
|
Strategy *v1alpha1.SyncStrategy `protobuf:"bytes,5,opt,name=strategy" json:"strategy,omitempty"`
|
|
Resources []v1alpha1.SyncOperationResource `protobuf:"bytes,7,rep,name=resources" json:"resources"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) Reset() { *m = ApplicationSyncRequest{} }
|
|
func (m *ApplicationSyncRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationSyncRequest) ProtoMessage() {}
|
|
func (*ApplicationSyncRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{7}
|
|
}
|
|
func (m *ApplicationSyncRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationSyncRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationSyncRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationSyncRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationSyncRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationSyncRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationSyncRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationSyncRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationSyncRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) GetRevision() string {
|
|
if m != nil {
|
|
return m.Revision
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) GetDryRun() bool {
|
|
if m != nil {
|
|
return m.DryRun
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) GetPrune() bool {
|
|
if m != nil {
|
|
return m.Prune
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) GetStrategy() *v1alpha1.SyncStrategy {
|
|
if m != nil {
|
|
return m.Strategy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) GetResources() []v1alpha1.SyncOperationResource {
|
|
if m != nil {
|
|
return m.Resources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ApplicationUpdateSpecRequest is a request to update application spec
|
|
type ApplicationUpdateSpecRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Spec v1alpha1.ApplicationSpec `protobuf:"bytes,2,req,name=spec" json:"spec"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationUpdateSpecRequest) Reset() { *m = ApplicationUpdateSpecRequest{} }
|
|
func (m *ApplicationUpdateSpecRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationUpdateSpecRequest) ProtoMessage() {}
|
|
func (*ApplicationUpdateSpecRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{8}
|
|
}
|
|
func (m *ApplicationUpdateSpecRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationUpdateSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationUpdateSpecRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationUpdateSpecRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationUpdateSpecRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationUpdateSpecRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationUpdateSpecRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationUpdateSpecRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationUpdateSpecRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationUpdateSpecRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationUpdateSpecRequest) GetSpec() v1alpha1.ApplicationSpec {
|
|
if m != nil {
|
|
return m.Spec
|
|
}
|
|
return v1alpha1.ApplicationSpec{}
|
|
}
|
|
|
|
// ApplicationPatchRequest is a request to patch an application
|
|
type ApplicationPatchRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Patch string `protobuf:"bytes,2,req,name=patch" json:"patch"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationPatchRequest) Reset() { *m = ApplicationPatchRequest{} }
|
|
func (m *ApplicationPatchRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationPatchRequest) ProtoMessage() {}
|
|
func (*ApplicationPatchRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{9}
|
|
}
|
|
func (m *ApplicationPatchRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationPatchRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationPatchRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationPatchRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationPatchRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationPatchRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationPatchRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationPatchRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationPatchRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationPatchRequest) GetPatch() string {
|
|
if m != nil {
|
|
return m.Patch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApplicationRollbackRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
ID int64 `protobuf:"varint,2,req,name=id" json:"id"`
|
|
DryRun bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun"`
|
|
Prune bool `protobuf:"varint,4,opt,name=prune" json:"prune"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) Reset() { *m = ApplicationRollbackRequest{} }
|
|
func (m *ApplicationRollbackRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationRollbackRequest) ProtoMessage() {}
|
|
func (*ApplicationRollbackRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{10}
|
|
}
|
|
func (m *ApplicationRollbackRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationRollbackRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationRollbackRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationRollbackRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationRollbackRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationRollbackRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationRollbackRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationRollbackRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationRollbackRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) GetID() int64 {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) GetDryRun() bool {
|
|
if m != nil {
|
|
return m.DryRun
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) GetPrune() bool {
|
|
if m != nil {
|
|
return m.Prune
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ApplicationResourceRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Namespace string `protobuf:"bytes,2,req,name=namespace" json:"namespace"`
|
|
ResourceName string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName"`
|
|
Version string `protobuf:"bytes,4,req,name=version" json:"version"`
|
|
Group string `protobuf:"bytes,5,req,name=group" json:"group"`
|
|
Kind string `protobuf:"bytes,6,req,name=kind" json:"kind"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) Reset() { *m = ApplicationResourceRequest{} }
|
|
func (m *ApplicationResourceRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationResourceRequest) ProtoMessage() {}
|
|
func (*ApplicationResourceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{11}
|
|
}
|
|
func (m *ApplicationResourceRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationResourceRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationResourceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationResourceRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationResourceRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationResourceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationResourceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationResourceRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationResourceRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) GetResourceName() string {
|
|
if m != nil {
|
|
return m.ResourceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) GetVersion() string {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) GetGroup() string {
|
|
if m != nil {
|
|
return m.Group
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) GetKind() string {
|
|
if m != nil {
|
|
return m.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApplicationResourcePatchRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Namespace string `protobuf:"bytes,2,req,name=namespace" json:"namespace"`
|
|
ResourceName string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName"`
|
|
Version string `protobuf:"bytes,4,req,name=version" json:"version"`
|
|
Group string `protobuf:"bytes,5,req,name=group" json:"group"`
|
|
Kind string `protobuf:"bytes,6,req,name=kind" json:"kind"`
|
|
Patch string `protobuf:"bytes,7,req,name=patch" json:"patch"`
|
|
PatchType string `protobuf:"bytes,8,req,name=patchType" json:"patchType"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) Reset() { *m = ApplicationResourcePatchRequest{} }
|
|
func (m *ApplicationResourcePatchRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationResourcePatchRequest) ProtoMessage() {}
|
|
func (*ApplicationResourcePatchRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{12}
|
|
}
|
|
func (m *ApplicationResourcePatchRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationResourcePatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationResourcePatchRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationResourcePatchRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationResourcePatchRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationResourcePatchRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationResourcePatchRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationResourcePatchRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationResourcePatchRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetResourceName() string {
|
|
if m != nil {
|
|
return m.ResourceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetVersion() string {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetGroup() string {
|
|
if m != nil {
|
|
return m.Group
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetKind() string {
|
|
if m != nil {
|
|
return m.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetPatch() string {
|
|
if m != nil {
|
|
return m.Patch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) GetPatchType() string {
|
|
if m != nil {
|
|
return m.PatchType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApplicationResourceDeleteRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Namespace string `protobuf:"bytes,2,req,name=namespace" json:"namespace"`
|
|
ResourceName string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName"`
|
|
Version string `protobuf:"bytes,4,req,name=version" json:"version"`
|
|
Group string `protobuf:"bytes,5,req,name=group" json:"group"`
|
|
Kind string `protobuf:"bytes,6,req,name=kind" json:"kind"`
|
|
Force *bool `protobuf:"varint,7,opt,name=force" json:"force,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) Reset() { *m = ApplicationResourceDeleteRequest{} }
|
|
func (m *ApplicationResourceDeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationResourceDeleteRequest) ProtoMessage() {}
|
|
func (*ApplicationResourceDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{13}
|
|
}
|
|
func (m *ApplicationResourceDeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationResourceDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationResourceDeleteRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationResourceDeleteRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationResourceDeleteRequest.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationResourceDeleteRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationResourceDeleteRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationResourceDeleteRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationResourceDeleteRequest proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetResourceName() string {
|
|
if m != nil {
|
|
return m.ResourceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetVersion() string {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetGroup() string {
|
|
if m != nil {
|
|
return m.Group
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetKind() string {
|
|
if m != nil {
|
|
return m.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) GetForce() bool {
|
|
if m != nil && m.Force != nil {
|
|
return *m.Force
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ApplicationResourceResponse struct {
|
|
Manifest string `protobuf:"bytes,1,req,name=manifest" json:"manifest"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationResourceResponse) Reset() { *m = ApplicationResourceResponse{} }
|
|
func (m *ApplicationResourceResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationResourceResponse) ProtoMessage() {}
|
|
func (*ApplicationResourceResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{14}
|
|
}
|
|
func (m *ApplicationResourceResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationResourceResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationResourceResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationResourceResponse.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationResourceResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationResourceResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationResourceResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationResourceResponse proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationResourceResponse) GetManifest() string {
|
|
if m != nil {
|
|
return m.Manifest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApplicationPodLogsQuery struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
Namespace string `protobuf:"bytes,2,req,name=namespace" json:"namespace"`
|
|
PodName *string `protobuf:"bytes,3,req,name=podName" json:"podName,omitempty"`
|
|
Container string `protobuf:"bytes,4,req,name=container" json:"container"`
|
|
SinceSeconds int64 `protobuf:"varint,5,req,name=sinceSeconds" json:"sinceSeconds"`
|
|
SinceTime *v1.Time `protobuf:"bytes,6,opt,name=sinceTime" json:"sinceTime,omitempty"`
|
|
TailLines int64 `protobuf:"varint,7,req,name=tailLines" json:"tailLines"`
|
|
Follow bool `protobuf:"varint,8,req,name=follow" json:"follow"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) Reset() { *m = ApplicationPodLogsQuery{} }
|
|
func (m *ApplicationPodLogsQuery) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplicationPodLogsQuery) ProtoMessage() {}
|
|
func (*ApplicationPodLogsQuery) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{15}
|
|
}
|
|
func (m *ApplicationPodLogsQuery) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ApplicationPodLogsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ApplicationPodLogsQuery.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ApplicationPodLogsQuery) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplicationPodLogsQuery.Merge(dst, src)
|
|
}
|
|
func (m *ApplicationPodLogsQuery) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ApplicationPodLogsQuery) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplicationPodLogsQuery.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplicationPodLogsQuery proto.InternalMessageInfo
|
|
|
|
func (m *ApplicationPodLogsQuery) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetPodName() string {
|
|
if m != nil && m.PodName != nil {
|
|
return *m.PodName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetContainer() string {
|
|
if m != nil {
|
|
return m.Container
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetSinceSeconds() int64 {
|
|
if m != nil {
|
|
return m.SinceSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetSinceTime() *v1.Time {
|
|
if m != nil {
|
|
return m.SinceTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetTailLines() int64 {
|
|
if m != nil {
|
|
return m.TailLines
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) GetFollow() bool {
|
|
if m != nil {
|
|
return m.Follow
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LogEntry struct {
|
|
Content string `protobuf:"bytes,1,req,name=content" json:"content"`
|
|
TimeStamp v1.Time `protobuf:"bytes,2,req,name=timeStamp" json:"timeStamp"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LogEntry) Reset() { *m = LogEntry{} }
|
|
func (m *LogEntry) String() string { return proto.CompactTextString(m) }
|
|
func (*LogEntry) ProtoMessage() {}
|
|
func (*LogEntry) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{16}
|
|
}
|
|
func (m *LogEntry) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *LogEntry) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LogEntry.Merge(dst, src)
|
|
}
|
|
func (m *LogEntry) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *LogEntry) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LogEntry.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LogEntry proto.InternalMessageInfo
|
|
|
|
func (m *LogEntry) GetContent() string {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *LogEntry) GetTimeStamp() v1.Time {
|
|
if m != nil {
|
|
return m.TimeStamp
|
|
}
|
|
return v1.Time{}
|
|
}
|
|
|
|
type OperationTerminateRequest struct {
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OperationTerminateRequest) Reset() { *m = OperationTerminateRequest{} }
|
|
func (m *OperationTerminateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*OperationTerminateRequest) ProtoMessage() {}
|
|
func (*OperationTerminateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{17}
|
|
}
|
|
func (m *OperationTerminateRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OperationTerminateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_OperationTerminateRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *OperationTerminateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OperationTerminateRequest.Merge(dst, src)
|
|
}
|
|
func (m *OperationTerminateRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OperationTerminateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OperationTerminateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OperationTerminateRequest proto.InternalMessageInfo
|
|
|
|
func (m *OperationTerminateRequest) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OperationTerminateResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OperationTerminateResponse) Reset() { *m = OperationTerminateResponse{} }
|
|
func (m *OperationTerminateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*OperationTerminateResponse) ProtoMessage() {}
|
|
func (*OperationTerminateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{18}
|
|
}
|
|
func (m *OperationTerminateResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *OperationTerminateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_OperationTerminateResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *OperationTerminateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OperationTerminateResponse.Merge(dst, src)
|
|
}
|
|
func (m *OperationTerminateResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *OperationTerminateResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OperationTerminateResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OperationTerminateResponse proto.InternalMessageInfo
|
|
|
|
type ResourcesQuery struct {
|
|
ApplicationName *string `protobuf:"bytes,1,req,name=applicationName" json:"applicationName,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ResourcesQuery) Reset() { *m = ResourcesQuery{} }
|
|
func (m *ResourcesQuery) String() string { return proto.CompactTextString(m) }
|
|
func (*ResourcesQuery) ProtoMessage() {}
|
|
func (*ResourcesQuery) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{19}
|
|
}
|
|
func (m *ResourcesQuery) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResourcesQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ResourcesQuery.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ResourcesQuery) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourcesQuery.Merge(dst, src)
|
|
}
|
|
func (m *ResourcesQuery) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResourcesQuery) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourcesQuery.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourcesQuery proto.InternalMessageInfo
|
|
|
|
func (m *ResourcesQuery) GetApplicationName() string {
|
|
if m != nil && m.ApplicationName != nil {
|
|
return *m.ApplicationName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ManagedResourcesResponse struct {
|
|
Items []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ManagedResourcesResponse) Reset() { *m = ManagedResourcesResponse{} }
|
|
func (m *ManagedResourcesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ManagedResourcesResponse) ProtoMessage() {}
|
|
func (*ManagedResourcesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_application_66b618849375abb2, []int{20}
|
|
}
|
|
func (m *ManagedResourcesResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ManagedResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ManagedResourcesResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ManagedResourcesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ManagedResourcesResponse.Merge(dst, src)
|
|
}
|
|
func (m *ManagedResourcesResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ManagedResourcesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ManagedResourcesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ManagedResourcesResponse proto.InternalMessageInfo
|
|
|
|
func (m *ManagedResourcesResponse) GetItems() []*v1alpha1.ResourceDiff {
|
|
if m != nil {
|
|
return m.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ApplicationQuery)(nil), "application.ApplicationQuery")
|
|
proto.RegisterType((*ApplicationResourceEventsQuery)(nil), "application.ApplicationResourceEventsQuery")
|
|
proto.RegisterType((*ApplicationManifestQuery)(nil), "application.ApplicationManifestQuery")
|
|
proto.RegisterType((*ApplicationResponse)(nil), "application.ApplicationResponse")
|
|
proto.RegisterType((*ApplicationCreateRequest)(nil), "application.ApplicationCreateRequest")
|
|
proto.RegisterType((*ApplicationUpdateRequest)(nil), "application.ApplicationUpdateRequest")
|
|
proto.RegisterType((*ApplicationDeleteRequest)(nil), "application.ApplicationDeleteRequest")
|
|
proto.RegisterType((*ApplicationSyncRequest)(nil), "application.ApplicationSyncRequest")
|
|
proto.RegisterType((*ApplicationUpdateSpecRequest)(nil), "application.ApplicationUpdateSpecRequest")
|
|
proto.RegisterType((*ApplicationPatchRequest)(nil), "application.ApplicationPatchRequest")
|
|
proto.RegisterType((*ApplicationRollbackRequest)(nil), "application.ApplicationRollbackRequest")
|
|
proto.RegisterType((*ApplicationResourceRequest)(nil), "application.ApplicationResourceRequest")
|
|
proto.RegisterType((*ApplicationResourcePatchRequest)(nil), "application.ApplicationResourcePatchRequest")
|
|
proto.RegisterType((*ApplicationResourceDeleteRequest)(nil), "application.ApplicationResourceDeleteRequest")
|
|
proto.RegisterType((*ApplicationResourceResponse)(nil), "application.ApplicationResourceResponse")
|
|
proto.RegisterType((*ApplicationPodLogsQuery)(nil), "application.ApplicationPodLogsQuery")
|
|
proto.RegisterType((*LogEntry)(nil), "application.LogEntry")
|
|
proto.RegisterType((*OperationTerminateRequest)(nil), "application.OperationTerminateRequest")
|
|
proto.RegisterType((*OperationTerminateResponse)(nil), "application.OperationTerminateResponse")
|
|
proto.RegisterType((*ResourcesQuery)(nil), "application.ResourcesQuery")
|
|
proto.RegisterType((*ManagedResourcesResponse)(nil), "application.ManagedResourcesResponse")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// Client API for ApplicationService service
|
|
|
|
type ApplicationServiceClient interface {
|
|
// List returns list of applications
|
|
List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error)
|
|
// ListResourceEvents returns a list of event resources
|
|
ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*v11.EventList, error)
|
|
// Watch returns stream of application change events.
|
|
Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error)
|
|
// Create creates an application
|
|
Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
|
|
// Get returns an application by name
|
|
Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error)
|
|
// GetManifests returns application manifests
|
|
GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*repository.ManifestResponse, error)
|
|
// Update updates an application
|
|
Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
|
|
// UpdateSpec updates an application spec
|
|
UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSpec, error)
|
|
// Patch patch an application
|
|
Patch(ctx context.Context, in *ApplicationPatchRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
|
|
// Delete deletes an application
|
|
Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error)
|
|
// Sync syncs an application to its target state
|
|
Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
|
|
ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error)
|
|
ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationTree, error)
|
|
// Rollback syncs an application to its target state
|
|
Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
|
|
// TerminateOperation terminates the currently running operation
|
|
TerminateOperation(ctx context.Context, in *OperationTerminateRequest, opts ...grpc.CallOption) (*OperationTerminateResponse, error)
|
|
// GetResource returns single application resource
|
|
GetResource(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error)
|
|
// PatchResource patch single application resource
|
|
PatchResource(ctx context.Context, in *ApplicationResourcePatchRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error)
|
|
// DeleteResource deletes a single application resource
|
|
DeleteResource(ctx context.Context, in *ApplicationResourceDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error)
|
|
// PodLogs returns stream of log entries for the specified pod. Pod
|
|
PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error)
|
|
}
|
|
|
|
type applicationServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient {
|
|
return &applicationServiceClient{cc}
|
|
}
|
|
|
|
func (c *applicationServiceClient) List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error) {
|
|
out := new(v1alpha1.ApplicationList)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/List", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*v11.EventList, error) {
|
|
out := new(v11.EventList)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceEvents", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[0], "/application.ApplicationService/Watch", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &applicationServiceWatchClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type ApplicationService_WatchClient interface {
|
|
Recv() (*v1alpha1.ApplicationWatchEvent, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type applicationServiceWatchClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *applicationServiceWatchClient) Recv() (*v1alpha1.ApplicationWatchEvent, error) {
|
|
m := new(v1alpha1.ApplicationWatchEvent)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) {
|
|
out := new(v1alpha1.Application)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Create", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error) {
|
|
out := new(v1alpha1.Application)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Get", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*repository.ManifestResponse, error) {
|
|
out := new(repository.ManifestResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/GetManifests", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) {
|
|
out := new(v1alpha1.Application)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Update", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSpec, error) {
|
|
out := new(v1alpha1.ApplicationSpec)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/UpdateSpec", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Patch(ctx context.Context, in *ApplicationPatchRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) {
|
|
out := new(v1alpha1.Application)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Patch", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) {
|
|
out := new(ApplicationResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Delete", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) {
|
|
out := new(v1alpha1.Application)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Sync", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error) {
|
|
out := new(ManagedResourcesResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/ManagedResources", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationTree, error) {
|
|
out := new(v1alpha1.ApplicationTree)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/ResourceTree", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) {
|
|
out := new(v1alpha1.Application)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/Rollback", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) TerminateOperation(ctx context.Context, in *OperationTerminateRequest, opts ...grpc.CallOption) (*OperationTerminateResponse, error) {
|
|
out := new(OperationTerminateResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/TerminateOperation", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) GetResource(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) {
|
|
out := new(ApplicationResourceResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/GetResource", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) PatchResource(ctx context.Context, in *ApplicationResourcePatchRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) {
|
|
out := new(ApplicationResourceResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/PatchResource", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) DeleteResource(ctx context.Context, in *ApplicationResourceDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) {
|
|
out := new(ApplicationResponse)
|
|
err := c.cc.Invoke(ctx, "/application.ApplicationService/DeleteResource", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *applicationServiceClient) PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[1], "/application.ApplicationService/PodLogs", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &applicationServicePodLogsClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type ApplicationService_PodLogsClient interface {
|
|
Recv() (*LogEntry, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type applicationServicePodLogsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *applicationServicePodLogsClient) Recv() (*LogEntry, error) {
|
|
m := new(LogEntry)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
// Server API for ApplicationService service
|
|
|
|
type ApplicationServiceServer interface {
|
|
// List returns list of applications
|
|
List(context.Context, *ApplicationQuery) (*v1alpha1.ApplicationList, error)
|
|
// ListResourceEvents returns a list of event resources
|
|
ListResourceEvents(context.Context, *ApplicationResourceEventsQuery) (*v11.EventList, error)
|
|
// Watch returns stream of application change events.
|
|
Watch(*ApplicationQuery, ApplicationService_WatchServer) error
|
|
// Create creates an application
|
|
Create(context.Context, *ApplicationCreateRequest) (*v1alpha1.Application, error)
|
|
// Get returns an application by name
|
|
Get(context.Context, *ApplicationQuery) (*v1alpha1.Application, error)
|
|
// GetManifests returns application manifests
|
|
GetManifests(context.Context, *ApplicationManifestQuery) (*repository.ManifestResponse, error)
|
|
// Update updates an application
|
|
Update(context.Context, *ApplicationUpdateRequest) (*v1alpha1.Application, error)
|
|
// UpdateSpec updates an application spec
|
|
UpdateSpec(context.Context, *ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error)
|
|
// Patch patch an application
|
|
Patch(context.Context, *ApplicationPatchRequest) (*v1alpha1.Application, error)
|
|
// Delete deletes an application
|
|
Delete(context.Context, *ApplicationDeleteRequest) (*ApplicationResponse, error)
|
|
// Sync syncs an application to its target state
|
|
Sync(context.Context, *ApplicationSyncRequest) (*v1alpha1.Application, error)
|
|
ManagedResources(context.Context, *ResourcesQuery) (*ManagedResourcesResponse, error)
|
|
ResourceTree(context.Context, *ResourcesQuery) (*v1alpha1.ApplicationTree, error)
|
|
// Rollback syncs an application to its target state
|
|
Rollback(context.Context, *ApplicationRollbackRequest) (*v1alpha1.Application, error)
|
|
// TerminateOperation terminates the currently running operation
|
|
TerminateOperation(context.Context, *OperationTerminateRequest) (*OperationTerminateResponse, error)
|
|
// GetResource returns single application resource
|
|
GetResource(context.Context, *ApplicationResourceRequest) (*ApplicationResourceResponse, error)
|
|
// PatchResource patch single application resource
|
|
PatchResource(context.Context, *ApplicationResourcePatchRequest) (*ApplicationResourceResponse, error)
|
|
// DeleteResource deletes a single application resource
|
|
DeleteResource(context.Context, *ApplicationResourceDeleteRequest) (*ApplicationResponse, error)
|
|
// PodLogs returns stream of log entries for the specified pod. Pod
|
|
PodLogs(*ApplicationPodLogsQuery, ApplicationService_PodLogsServer) error
|
|
}
|
|
|
|
func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer) {
|
|
s.RegisterService(&_ApplicationService_serviceDesc, srv)
|
|
}
|
|
|
|
func _ApplicationService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationQuery)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).List(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/List",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).List(ctx, req.(*ApplicationQuery))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_ListResourceEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationResourceEventsQuery)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).ListResourceEvents(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/ListResourceEvents",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).ListResourceEvents(ctx, req.(*ApplicationResourceEventsQuery))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Watch_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(ApplicationQuery)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(ApplicationServiceServer).Watch(m, &applicationServiceWatchServer{stream})
|
|
}
|
|
|
|
type ApplicationService_WatchServer interface {
|
|
Send(*v1alpha1.ApplicationWatchEvent) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type applicationServiceWatchServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *applicationServiceWatchServer) Send(m *v1alpha1.ApplicationWatchEvent) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _ApplicationService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationCreateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Create(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Create",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Create(ctx, req.(*ApplicationCreateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationQuery)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Get(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Get",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Get(ctx, req.(*ApplicationQuery))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_GetManifests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationManifestQuery)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).GetManifests(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/GetManifests",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).GetManifests(ctx, req.(*ApplicationManifestQuery))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationUpdateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Update(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Update",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Update(ctx, req.(*ApplicationUpdateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_UpdateSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationUpdateSpecRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).UpdateSpec(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/UpdateSpec",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).UpdateSpec(ctx, req.(*ApplicationUpdateSpecRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationPatchRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Patch(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Patch",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Patch(ctx, req.(*ApplicationPatchRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationDeleteRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Delete(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Delete",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Delete(ctx, req.(*ApplicationDeleteRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Sync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationSyncRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Sync(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Sync",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Sync(ctx, req.(*ApplicationSyncRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_ManagedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResourcesQuery)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).ManagedResources(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/ManagedResources",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).ManagedResources(ctx, req.(*ResourcesQuery))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_ResourceTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResourcesQuery)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).ResourceTree(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/ResourceTree",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).ResourceTree(ctx, req.(*ResourcesQuery))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationRollbackRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).Rollback(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/Rollback",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).Rollback(ctx, req.(*ApplicationRollbackRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_TerminateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OperationTerminateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).TerminateOperation(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/TerminateOperation",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).TerminateOperation(ctx, req.(*OperationTerminateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_GetResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationResourceRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).GetResource(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/GetResource",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).GetResource(ctx, req.(*ApplicationResourceRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_PatchResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationResourcePatchRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).PatchResource(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/PatchResource",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).PatchResource(ctx, req.(*ApplicationResourcePatchRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_DeleteResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplicationResourceDeleteRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ApplicationServiceServer).DeleteResource(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/application.ApplicationService/DeleteResource",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ApplicationServiceServer).DeleteResource(ctx, req.(*ApplicationResourceDeleteRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ApplicationService_PodLogs_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(ApplicationPodLogsQuery)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(ApplicationServiceServer).PodLogs(m, &applicationServicePodLogsServer{stream})
|
|
}
|
|
|
|
type ApplicationService_PodLogsServer interface {
|
|
Send(*LogEntry) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type applicationServicePodLogsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *applicationServicePodLogsServer) Send(m *LogEntry) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
var _ApplicationService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "application.ApplicationService",
|
|
HandlerType: (*ApplicationServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "List",
|
|
Handler: _ApplicationService_List_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListResourceEvents",
|
|
Handler: _ApplicationService_ListResourceEvents_Handler,
|
|
},
|
|
{
|
|
MethodName: "Create",
|
|
Handler: _ApplicationService_Create_Handler,
|
|
},
|
|
{
|
|
MethodName: "Get",
|
|
Handler: _ApplicationService_Get_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetManifests",
|
|
Handler: _ApplicationService_GetManifests_Handler,
|
|
},
|
|
{
|
|
MethodName: "Update",
|
|
Handler: _ApplicationService_Update_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateSpec",
|
|
Handler: _ApplicationService_UpdateSpec_Handler,
|
|
},
|
|
{
|
|
MethodName: "Patch",
|
|
Handler: _ApplicationService_Patch_Handler,
|
|
},
|
|
{
|
|
MethodName: "Delete",
|
|
Handler: _ApplicationService_Delete_Handler,
|
|
},
|
|
{
|
|
MethodName: "Sync",
|
|
Handler: _ApplicationService_Sync_Handler,
|
|
},
|
|
{
|
|
MethodName: "ManagedResources",
|
|
Handler: _ApplicationService_ManagedResources_Handler,
|
|
},
|
|
{
|
|
MethodName: "ResourceTree",
|
|
Handler: _ApplicationService_ResourceTree_Handler,
|
|
},
|
|
{
|
|
MethodName: "Rollback",
|
|
Handler: _ApplicationService_Rollback_Handler,
|
|
},
|
|
{
|
|
MethodName: "TerminateOperation",
|
|
Handler: _ApplicationService_TerminateOperation_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetResource",
|
|
Handler: _ApplicationService_GetResource_Handler,
|
|
},
|
|
{
|
|
MethodName: "PatchResource",
|
|
Handler: _ApplicationService_PatchResource_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteResource",
|
|
Handler: _ApplicationService_DeleteResource_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "Watch",
|
|
Handler: _ApplicationService_Watch_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "PodLogs",
|
|
Handler: _ApplicationService_PodLogs_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "server/application/application.proto",
|
|
}
|
|
|
|
func (m *ApplicationQuery) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationQuery) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
if m.Refresh != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Refresh)))
|
|
i += copy(dAtA[i:], *m.Refresh)
|
|
}
|
|
if len(m.Projects) > 0 {
|
|
for _, s := range m.Projects {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
l = len(s)
|
|
for l >= 1<<7 {
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
|
l >>= 7
|
|
i++
|
|
}
|
|
dAtA[i] = uint8(l)
|
|
i++
|
|
i += copy(dAtA[i:], s)
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceNamespace)))
|
|
i += copy(dAtA[i:], m.ResourceNamespace)
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName)))
|
|
i += copy(dAtA[i:], m.ResourceName)
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceUID)))
|
|
i += copy(dAtA[i:], m.ResourceUID)
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationManifestQuery) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationManifestQuery) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Revision)))
|
|
i += copy(dAtA[i:], m.Revision)
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationCreateRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationCreateRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.Application.Size()))
|
|
n1, err := m.Application.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n1
|
|
if m.Upsert != nil {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
if *m.Upsert {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationUpdateRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationUpdateRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Application == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.Application.Size()))
|
|
n2, err := m.Application.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n2
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationDeleteRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationDeleteRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
if m.Cascade != nil {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
if *m.Cascade {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Revision)))
|
|
i += copy(dAtA[i:], m.Revision)
|
|
dAtA[i] = 0x18
|
|
i++
|
|
if m.DryRun {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
dAtA[i] = 0x20
|
|
i++
|
|
if m.Prune {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
if m.Strategy != nil {
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.Strategy.Size()))
|
|
n3, err := m.Strategy.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n3
|
|
}
|
|
if len(m.Resources) > 0 {
|
|
for _, msg := range m.Resources {
|
|
dAtA[i] = 0x3a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationUpdateSpecRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationUpdateSpecRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.Spec.Size()))
|
|
n4, err := m.Spec.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n4
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationPatchRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationPatchRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Patch)))
|
|
i += copy(dAtA[i:], m.Patch)
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.ID))
|
|
dAtA[i] = 0x18
|
|
i++
|
|
if m.DryRun {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
dAtA[i] = 0x20
|
|
i++
|
|
if m.Prune {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace)))
|
|
i += copy(dAtA[i:], m.Namespace)
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName)))
|
|
i += copy(dAtA[i:], m.ResourceName)
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Version)))
|
|
i += copy(dAtA[i:], m.Version)
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Group)))
|
|
i += copy(dAtA[i:], m.Group)
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind)))
|
|
i += copy(dAtA[i:], m.Kind)
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace)))
|
|
i += copy(dAtA[i:], m.Namespace)
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName)))
|
|
i += copy(dAtA[i:], m.ResourceName)
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Version)))
|
|
i += copy(dAtA[i:], m.Version)
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Group)))
|
|
i += copy(dAtA[i:], m.Group)
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind)))
|
|
i += copy(dAtA[i:], m.Kind)
|
|
dAtA[i] = 0x3a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Patch)))
|
|
i += copy(dAtA[i:], m.Patch)
|
|
dAtA[i] = 0x42
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.PatchType)))
|
|
i += copy(dAtA[i:], m.PatchType)
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace)))
|
|
i += copy(dAtA[i:], m.Namespace)
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName)))
|
|
i += copy(dAtA[i:], m.ResourceName)
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Version)))
|
|
i += copy(dAtA[i:], m.Version)
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Group)))
|
|
i += copy(dAtA[i:], m.Group)
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind)))
|
|
i += copy(dAtA[i:], m.Kind)
|
|
if m.Force != nil {
|
|
dAtA[i] = 0x38
|
|
i++
|
|
if *m.Force {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationResourceResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationResourceResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Manifest)))
|
|
i += copy(dAtA[i:], m.Manifest)
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace)))
|
|
i += copy(dAtA[i:], m.Namespace)
|
|
if m.PodName == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName")
|
|
} else {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName)))
|
|
i += copy(dAtA[i:], *m.PodName)
|
|
}
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Container)))
|
|
i += copy(dAtA[i:], m.Container)
|
|
dAtA[i] = 0x28
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.SinceSeconds))
|
|
if m.SinceTime != nil {
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.SinceTime.Size()))
|
|
n5, err := m.SinceTime.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n5
|
|
}
|
|
dAtA[i] = 0x38
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.TailLines))
|
|
dAtA[i] = 0x40
|
|
i++
|
|
if m.Follow {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *LogEntry) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *LogEntry) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(m.Content)))
|
|
i += copy(dAtA[i:], m.Content)
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(m.TimeStamp.Size()))
|
|
n6, err := m.TimeStamp.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n6
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *OperationTerminateRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OperationTerminateRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Name == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name)))
|
|
i += copy(dAtA[i:], *m.Name)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *OperationTerminateResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *OperationTerminateResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ResourcesQuery) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ResourcesQuery) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ApplicationName == nil {
|
|
return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName")
|
|
} else {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(len(*m.ApplicationName)))
|
|
i += copy(dAtA[i:], *m.ApplicationName)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ManagedResourcesResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ManagedResourcesResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for _, msg := range m.Items {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintApplication(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func encodeVarintApplication(dAtA []byte, offset int, v uint64) int {
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return offset + 1
|
|
}
|
|
func (m *ApplicationQuery) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if m.Refresh != nil {
|
|
l = len(*m.Refresh)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if len(m.Projects) > 0 {
|
|
for _, s := range m.Projects {
|
|
l = len(s)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationResourceEventsQuery) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.ResourceNamespace)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.ResourceName)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.ResourceUID)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationManifestQuery) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationCreateRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = m.Application.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.Upsert != nil {
|
|
n += 2
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationUpdateRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Application != nil {
|
|
l = m.Application.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationDeleteRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if m.Cascade != nil {
|
|
n += 2
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationSyncRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Revision)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
n += 2
|
|
n += 2
|
|
if m.Strategy != nil {
|
|
l = m.Strategy.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if len(m.Resources) > 0 {
|
|
for _, e := range m.Resources {
|
|
l = e.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationUpdateSpecRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = m.Spec.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationPatchRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Patch)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationRollbackRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
n += 1 + sovApplication(uint64(m.ID))
|
|
n += 2
|
|
n += 2
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationResourceRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.ResourceName)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Group)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationResourcePatchRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.ResourceName)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Group)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Patch)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.PatchType)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationResourceDeleteRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.ResourceName)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Version)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Group)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = len(m.Kind)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.Force != nil {
|
|
n += 2
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationResourceResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.Manifest)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ApplicationPodLogsQuery) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.PodName != nil {
|
|
l = len(*m.PodName)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
l = len(m.Container)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
n += 1 + sovApplication(uint64(m.SinceSeconds))
|
|
if m.SinceTime != nil {
|
|
l = m.SinceTime.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
n += 1 + sovApplication(uint64(m.TailLines))
|
|
n += 2
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *LogEntry) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.Content)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
l = m.TimeStamp.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *OperationTerminateRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Name != nil {
|
|
l = len(*m.Name)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *OperationTerminateResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResourcesQuery) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.ApplicationName != nil {
|
|
l = len(*m.ApplicationName)
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ManagedResourcesResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.Items) > 0 {
|
|
for _, e := range m.Items {
|
|
l = e.Size()
|
|
n += 1 + l + sovApplication(uint64(l))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovApplication(x uint64) (n int) {
|
|
for {
|
|
n++
|
|
x >>= 7
|
|
if x == 0 {
|
|
break
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
func sozApplication(x uint64) (n int) {
|
|
return sovApplication(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (m *ApplicationQuery) 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 ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationQuery: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationQuery: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Refresh", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Refresh = &s
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Projects", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Projects = append(m.Projects, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationResourceEventsQuery: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationResourceEventsQuery: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceNamespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceNamespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
case 3:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000004)
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceUID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceUID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000008)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceNamespace")
|
|
}
|
|
if hasFields[0]&uint64(0x00000004) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName")
|
|
}
|
|
if hasFields[0]&uint64(0x00000008) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceUID")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationManifestQuery: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationManifestQuery: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationResponse) 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 ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationCreateRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationCreateRequest: 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 msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Upsert", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.Upsert = &b
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationUpdateRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationUpdateRequest: 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 msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Application == nil {
|
|
m.Application = &v1alpha1.Application{}
|
|
}
|
|
if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationDeleteRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationDeleteRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cascade", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.Cascade = &b
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationSyncRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationSyncRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Revision = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
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 != 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 ErrIntOverflowApplication
|
|
}
|
|
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 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Strategy == nil {
|
|
m.Strategy = &v1alpha1.SyncStrategy{}
|
|
}
|
|
if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Resources = append(m.Resources, v1alpha1.SyncOperationResource{})
|
|
if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationUpdateSpecRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationUpdateSpecRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationPatchRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationPatchRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Patch = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationRollbackRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationRollbackRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
case 2:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ID |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
hasFields[0] |= uint64(0x00000002)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
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 != 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Prune = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("id")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationResourceRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationResourceRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
case 3:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000004)
|
|
case 4:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000008)
|
|
case 5:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000010)
|
|
case 6:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000020)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("namespace")
|
|
}
|
|
if hasFields[0]&uint64(0x00000004) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName")
|
|
}
|
|
if hasFields[0]&uint64(0x00000008) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version")
|
|
}
|
|
if hasFields[0]&uint64(0x00000010) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("group")
|
|
}
|
|
if hasFields[0]&uint64(0x00000020) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationResourcePatchRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationResourcePatchRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
case 3:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000004)
|
|
case 4:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000008)
|
|
case 5:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000010)
|
|
case 6:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000020)
|
|
case 7:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Patch = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000040)
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PatchType = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000080)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("namespace")
|
|
}
|
|
if hasFields[0]&uint64(0x00000004) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName")
|
|
}
|
|
if hasFields[0]&uint64(0x00000008) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version")
|
|
}
|
|
if hasFields[0]&uint64(0x00000010) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("group")
|
|
}
|
|
if hasFields[0]&uint64(0x00000020) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind")
|
|
}
|
|
if hasFields[0]&uint64(0x00000040) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch")
|
|
}
|
|
if hasFields[0]&uint64(0x00000080) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationResourceDeleteRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationResourceDeleteRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
case 3:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ResourceName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000004)
|
|
case 4:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000008)
|
|
case 5:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000010)
|
|
case 6:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000020)
|
|
case 7:
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.Force = &b
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("namespace")
|
|
}
|
|
if hasFields[0]&uint64(0x00000004) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName")
|
|
}
|
|
if hasFields[0]&uint64(0x00000008) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version")
|
|
}
|
|
if hasFields[0]&uint64(0x00000010) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("group")
|
|
}
|
|
if hasFields[0]&uint64(0x00000020) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationResourceResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationResourceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Manifest", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Manifest = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ApplicationPodLogsQuery: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ApplicationPodLogsQuery: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PodName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.PodName = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000004)
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Container = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000008)
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType)
|
|
}
|
|
m.SinceSeconds = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.SinceSeconds |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
hasFields[0] |= uint64(0x00000010)
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SinceTime == nil {
|
|
m.SinceTime = &v1.Time{}
|
|
}
|
|
if err := m.SinceTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType)
|
|
}
|
|
m.TailLines = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TailLines |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
hasFields[0] |= uint64(0x00000020)
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Follow = bool(v != 0)
|
|
hasFields[0] |= uint64(0x00000040)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("namespace")
|
|
}
|
|
if hasFields[0]&uint64(0x00000004) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName")
|
|
}
|
|
if hasFields[0]&uint64(0x00000008) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container")
|
|
}
|
|
if hasFields[0]&uint64(0x00000010) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("sinceSeconds")
|
|
}
|
|
if hasFields[0]&uint64(0x00000020) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("tailLines")
|
|
}
|
|
if hasFields[0]&uint64(0x00000040) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("follow")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *LogEntry) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: LogEntry: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: LogEntry: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Content = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TimeStamp", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := m.TimeStamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000002)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("content")
|
|
}
|
|
if hasFields[0]&uint64(0x00000002) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: OperationTerminateRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OperationTerminateRequest: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.Name = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *OperationTerminateResponse) 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 ErrIntOverflowApplication
|
|
}
|
|
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: OperationTerminateResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: OperationTerminateResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResourcesQuery) Unmarshal(dAtA []byte) error {
|
|
var hasFields [1]uint64
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
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: ResourcesQuery: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResourcesQuery: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := string(dAtA[iNdEx:postIndex])
|
|
m.ApplicationName = &s
|
|
iNdEx = postIndex
|
|
hasFields[0] |= uint64(0x00000001)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
if hasFields[0]&uint64(0x00000001) == 0 {
|
|
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName")
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ManagedResourcesResponse) 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 ErrIntOverflowApplication
|
|
}
|
|
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: ManagedResourcesResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ManagedResourcesResponse: 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 ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Items = append(m.Items, &v1alpha1.ResourceDiff{})
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipApplication(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthApplication
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipApplication(dAtA []byte) (n int, err error) {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowApplication
|
|
}
|
|
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, ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx++
|
|
if dAtA[iNdEx-1] < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
return iNdEx, nil
|
|
case 1:
|
|
iNdEx += 8
|
|
return iNdEx, nil
|
|
case 2:
|
|
var length int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
length |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
iNdEx += length
|
|
if length < 0 {
|
|
return 0, ErrInvalidLengthApplication
|
|
}
|
|
return iNdEx, nil
|
|
case 3:
|
|
for {
|
|
var innerWire uint64
|
|
var start int = iNdEx
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowApplication
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
innerWireType := int(innerWire & 0x7)
|
|
if innerWireType == 4 {
|
|
break
|
|
}
|
|
next, err := skipApplication(dAtA[start:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
iNdEx = start + next
|
|
}
|
|
return iNdEx, nil
|
|
case 4:
|
|
return iNdEx, nil
|
|
case 5:
|
|
iNdEx += 4
|
|
return iNdEx, nil
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
}
|
|
panic("unreachable")
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthApplication = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowApplication = fmt.Errorf("proto: integer overflow")
|
|
)
|
|
|
|
func init() {
|
|
proto.RegisterFile("server/application/application.proto", fileDescriptor_application_66b618849375abb2)
|
|
}
|
|
|
|
var fileDescriptor_application_66b618849375abb2 = []byte{
|
|
// 1666 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1c, 0xc5,
|
|
0x12, 0x7f, 0xbd, 0xbb, 0xf6, 0xda, 0x65, 0xbf, 0xbc, 0xbc, 0x7e, 0xf9, 0x98, 0x37, 0x71, 0xec,
|
|
0x55, 0xc7, 0x71, 0x1c, 0x27, 0x9e, 0x89, 0x4d, 0x04, 0x91, 0x15, 0x29, 0xc1, 0x24, 0x38, 0x46,
|
|
0x8e, 0x31, 0x6b, 0x47, 0x48, 0x48, 0x08, 0x4d, 0x66, 0xda, 0xbb, 0x83, 0x77, 0xa7, 0x87, 0x99,
|
|
0xd9, 0x45, 0x4b, 0x94, 0x03, 0x11, 0xe2, 0x84, 0x88, 0x10, 0x1c, 0x82, 0x04, 0x02, 0xe5, 0xc0,
|
|
0x89, 0x1b, 0xe2, 0xc2, 0x81, 0x1b, 0x52, 0x8e, 0x48, 0x70, 0x8e, 0x90, 0xe1, 0x6f, 0xe0, 0x8c,
|
|
0xba, 0xe7, 0xab, 0xc7, 0xde, 0x9d, 0x75, 0xc8, 0x72, 0xc8, 0xad, 0xa7, 0xba, 0xba, 0xea, 0xd7,
|
|
0xd5, 0xbf, 0xae, 0xae, 0xda, 0x85, 0x69, 0x9f, 0x7a, 0x6d, 0xea, 0xe9, 0x86, 0xeb, 0x36, 0x6c,
|
|
0xd3, 0x08, 0x6c, 0xe6, 0xc8, 0x63, 0xcd, 0xf5, 0x58, 0xc0, 0xf0, 0x98, 0x24, 0x52, 0x8f, 0xd4,
|
|
0x58, 0x8d, 0x09, 0xb9, 0xce, 0x47, 0xa1, 0x8a, 0x3a, 0x51, 0x63, 0xac, 0xd6, 0xa0, 0xba, 0xe1,
|
|
0xda, 0xba, 0xe1, 0x38, 0x2c, 0x10, 0xca, 0x7e, 0x34, 0x4b, 0x76, 0x2e, 0xf9, 0x9a, 0xcd, 0xc4,
|
|
0xac, 0xc9, 0x3c, 0xaa, 0xb7, 0x17, 0xf4, 0x1a, 0x75, 0xa8, 0x67, 0x04, 0xd4, 0x8a, 0x74, 0x2e,
|
|
0xa6, 0x3a, 0x4d, 0xc3, 0xac, 0xdb, 0x0e, 0xf5, 0x3a, 0xba, 0xbb, 0x53, 0xe3, 0x02, 0x5f, 0x6f,
|
|
0xd2, 0xc0, 0xe8, 0xb6, 0x6a, 0xb5, 0x66, 0x07, 0xf5, 0xd6, 0x6d, 0xcd, 0x64, 0x4d, 0xdd, 0xf0,
|
|
0x04, 0xb0, 0xb7, 0xc5, 0x60, 0xde, 0xb4, 0xd2, 0xd5, 0xf2, 0xf6, 0xda, 0x0b, 0x46, 0xc3, 0xad,
|
|
0x1b, 0xfb, 0x4d, 0x2d, 0xe7, 0x99, 0xf2, 0xa8, 0xcb, 0xa2, 0x58, 0x89, 0xa1, 0x1d, 0x30, 0xaf,
|
|
0x23, 0x0d, 0x43, 0x1b, 0xa4, 0x0e, 0x87, 0x5f, 0x4c, 0x7d, 0xbd, 0xd6, 0xa2, 0x5e, 0x07, 0x63,
|
|
0x28, 0x39, 0x46, 0x93, 0x2a, 0xa8, 0x82, 0x66, 0x47, 0xab, 0x62, 0x8c, 0x15, 0x28, 0x7b, 0x74,
|
|
0xdb, 0xa3, 0x7e, 0x5d, 0x29, 0x08, 0x71, 0xfc, 0x89, 0x67, 0xa0, 0xcc, 0x1d, 0x53, 0x33, 0x50,
|
|
0x8a, 0x95, 0xe2, 0xec, 0xe8, 0xf2, 0xf8, 0xee, 0xe3, 0xa9, 0x91, 0x8d, 0x50, 0xe4, 0x57, 0xe3,
|
|
0x49, 0xf2, 0x03, 0x82, 0x49, 0xc9, 0x55, 0x95, 0xfa, 0xac, 0xe5, 0x99, 0xf4, 0x7a, 0x9b, 0x3a,
|
|
0x81, 0xbf, 0xd7, 0x71, 0x21, 0x71, 0xbc, 0x08, 0xff, 0xf5, 0x22, 0xd5, 0x75, 0xa3, 0x49, 0x7d,
|
|
0xd7, 0x30, 0xa9, 0x52, 0xe0, 0x0a, 0xcb, 0xa5, 0x47, 0x8f, 0xa7, 0xfe, 0x55, 0xdd, 0x3f, 0x8d,
|
|
0x67, 0x61, 0x5c, 0x16, 0x2a, 0x45, 0x49, 0x3d, 0x33, 0x83, 0x67, 0x60, 0x2c, 0xfe, 0xbe, 0xb5,
|
|
0x7a, 0x4d, 0x29, 0x49, 0x8a, 0xf2, 0x04, 0xd9, 0x00, 0x45, 0xc2, 0x7e, 0xd3, 0x70, 0xec, 0x6d,
|
|
0xea, 0x07, 0xbd, 0x51, 0x57, 0x60, 0xc4, 0xa3, 0x6d, 0xdb, 0xb7, 0x99, 0x13, 0xc6, 0x2b, 0x32,
|
|
0x9a, 0x48, 0xc9, 0x51, 0xf8, 0x5f, 0x36, 0x1a, 0x2e, 0x73, 0x7c, 0x4a, 0x1e, 0xa2, 0x8c, 0xa7,
|
|
0x97, 0x3c, 0x6a, 0x04, 0xb4, 0x4a, 0xdf, 0x69, 0x51, 0x3f, 0xc0, 0x0e, 0xc8, 0xc4, 0x16, 0x0e,
|
|
0xc7, 0x16, 0x5f, 0xd6, 0x52, 0x1a, 0x68, 0x31, 0x0d, 0xc4, 0xe0, 0x2d, 0xd3, 0xd2, 0xdc, 0x9d,
|
|
0x9a, 0xc6, 0x19, 0xa5, 0xc9, 0x97, 0x24, 0x66, 0x94, 0x26, 0x79, 0x8a, 0x77, 0x2d, 0xe9, 0xe1,
|
|
0x63, 0x30, 0xdc, 0x72, 0x7d, 0xea, 0x05, 0x62, 0x0f, 0x23, 0xd5, 0xe8, 0x8b, 0x7c, 0x90, 0x05,
|
|
0x79, 0xcb, 0xb5, 0x24, 0x90, 0xf5, 0x7f, 0x10, 0x64, 0x06, 0x1e, 0xb9, 0x91, 0x41, 0x71, 0x8d,
|
|
0x36, 0x68, 0x8a, 0xa2, 0xdb, 0xa1, 0x28, 0x50, 0x36, 0x0d, 0xdf, 0x34, 0x2c, 0x1a, 0xed, 0x27,
|
|
0xfe, 0x24, 0xbf, 0x17, 0xe0, 0x98, 0x64, 0x6a, 0xb3, 0xe3, 0x98, 0x79, 0x86, 0xfa, 0x9e, 0x2e,
|
|
0x9e, 0x80, 0x61, 0xcb, 0xeb, 0x54, 0x5b, 0x8e, 0x52, 0xe4, 0x9e, 0xa2, 0xf9, 0x48, 0x86, 0x55,
|
|
0x18, 0x72, 0xbd, 0x96, 0x43, 0x95, 0x92, 0x34, 0x19, 0x8a, 0xb0, 0x09, 0x23, 0x7e, 0xc0, 0x6f,
|
|
0x79, 0xad, 0xa3, 0x0c, 0x55, 0xd0, 0xec, 0xd8, 0xe2, 0xca, 0x53, 0xc4, 0x8e, 0xef, 0x64, 0x33,
|
|
0x32, 0x57, 0x4d, 0x0c, 0xe3, 0x00, 0x46, 0x63, 0x76, 0xfb, 0x4a, 0xb9, 0x52, 0x9c, 0x1d, 0x5b,
|
|
0xdc, 0x78, 0x4a, 0x2f, 0xaf, 0xba, 0x3c, 0x37, 0x49, 0x17, 0x3b, 0xda, 0x56, 0xea, 0x88, 0x3c,
|
|
0x40, 0x30, 0xb1, 0x8f, 0x36, 0x9b, 0x2e, 0xcd, 0x8d, 0xb5, 0x05, 0x25, 0xdf, 0xa5, 0xa6, 0xb8,
|
|
0xf2, 0x63, 0x8b, 0xaf, 0x0c, 0x86, 0x47, 0xdc, 0x69, 0x84, 0x4f, 0x58, 0x27, 0xab, 0x70, 0x5c,
|
|
0x9a, 0xde, 0x30, 0x02, 0xb3, 0x9e, 0x07, 0x8a, 0x1f, 0x20, 0xd7, 0xc9, 0x24, 0xa2, 0x50, 0x44,
|
|
0x3e, 0x44, 0xa0, 0xca, 0x94, 0x65, 0x8d, 0xc6, 0x6d, 0xc3, 0xdc, 0xc9, 0x37, 0x57, 0xb0, 0x2d,
|
|
0x61, 0xab, 0xb8, 0x0c, 0xdc, 0xd6, 0xee, 0xe3, 0xa9, 0xc2, 0xea, 0xb5, 0x6a, 0xc1, 0xb6, 0xfe,
|
|
0x3e, 0x93, 0xc8, 0xaf, 0x7b, 0x80, 0x44, 0xe7, 0x90, 0x07, 0x84, 0xc0, 0xa8, 0xd3, 0x35, 0xc9,
|
|
0xa6, 0xe2, 0x27, 0x48, 0xae, 0x93, 0x50, 0x6e, 0x53, 0x4f, 0xdc, 0x12, 0x39, 0xb1, 0xc6, 0x42,
|
|
0x0e, 0xbe, 0xe6, 0xb1, 0x96, 0xab, 0x0c, 0xc9, 0x51, 0x14, 0x22, 0xac, 0x40, 0x69, 0xc7, 0x76,
|
|
0x2c, 0x65, 0x58, 0x9a, 0x12, 0x12, 0xf2, 0x79, 0x01, 0xa6, 0xba, 0x6c, 0xab, 0xef, 0x99, 0x3d,
|
|
0x03, 0x7b, 0x4b, 0x79, 0x55, 0xde, 0xc7, 0x2b, 0x8e, 0x5f, 0x0c, 0xb6, 0x3a, 0x2e, 0x55, 0x46,
|
|
0x64, 0xfc, 0x89, 0x98, 0xfc, 0x89, 0xa0, 0xd2, 0x25, 0x36, 0xfd, 0x53, 0xe3, 0x33, 0x12, 0x9c,
|
|
0x6d, 0xe6, 0x99, 0x54, 0x29, 0x27, 0x5c, 0x47, 0xd5, 0x50, 0x44, 0xae, 0xc0, 0x89, 0xae, 0x54,
|
|
0x0f, 0x5f, 0x55, 0x9e, 0xb0, 0x9b, 0xd1, 0x9b, 0x1d, 0x6e, 0x3b, 0x4e, 0xd8, 0xb1, 0x94, 0xfc,
|
|
0x54, 0xc8, 0x66, 0x00, 0x66, 0xad, 0xb1, 0x5a, 0x4e, 0x59, 0x72, 0x90, 0x80, 0x29, 0x50, 0x76,
|
|
0x99, 0x95, 0xc6, 0xaa, 0x1a, 0x7f, 0xf2, 0xd5, 0x26, 0x73, 0x02, 0x83, 0xd7, 0x8c, 0x99, 0x10,
|
|
0xa5, 0x62, 0x1e, 0x6e, 0xdf, 0x76, 0x4c, 0xba, 0x49, 0x4d, 0xe6, 0x58, 0xbe, 0x88, 0x55, 0x31,
|
|
0x0e, 0xb7, 0x3c, 0x83, 0x6f, 0xc0, 0xa8, 0xf8, 0xde, 0xb2, 0x9b, 0x54, 0x19, 0x16, 0x6f, 0xc6,
|
|
0x9c, 0x16, 0x16, 0xa7, 0x9a, 0x5c, 0x9c, 0xa6, 0xf9, 0x91, 0x17, 0xa7, 0x5a, 0x7b, 0x41, 0xe3,
|
|
0x2b, 0xaa, 0xe9, 0x62, 0x8e, 0x2b, 0x30, 0xec, 0xc6, 0x9a, 0xed, 0x88, 0x77, 0x21, 0x75, 0x98,
|
|
0x8a, 0x79, 0x42, 0xda, 0x66, 0x8d, 0x06, 0x7b, 0x57, 0x90, 0x30, 0x49, 0x48, 0xa1, 0x8c, 0xbc,
|
|
0x07, 0x23, 0x6b, 0xac, 0x76, 0xdd, 0x09, 0xbc, 0x0e, 0xa7, 0x01, 0xdf, 0x0e, 0x75, 0xb2, 0x41,
|
|
0x8f, 0x85, 0x78, 0x1d, 0x46, 0x03, 0xbb, 0x49, 0x37, 0x03, 0xa3, 0xe9, 0x46, 0xf9, 0xfd, 0x09,
|
|
0x70, 0x27, 0xc8, 0x62, 0x13, 0x44, 0x87, 0xff, 0x27, 0xaf, 0xd0, 0x16, 0xf5, 0x9a, 0xb6, 0x63,
|
|
0xe4, 0xb2, 0x9e, 0x4c, 0x80, 0xda, 0x6d, 0x41, 0x54, 0x8a, 0x5d, 0x85, 0x43, 0x31, 0x91, 0x22,
|
|
0x22, 0x68, 0xf0, 0x1f, 0xe9, 0x65, 0x59, 0x4f, 0xcc, 0x45, 0x5c, 0xdc, 0x3b, 0x49, 0x3a, 0xa0,
|
|
0xdc, 0x34, 0x1c, 0xa3, 0x46, 0xad, 0xc4, 0x50, 0x42, 0xc9, 0x37, 0x61, 0xc8, 0x0e, 0x68, 0xd3,
|
|
0x57, 0x90, 0x78, 0x7e, 0x9f, 0xe6, 0x91, 0x4f, 0xae, 0xb9, 0xbd, 0xbd, 0x5d, 0x0d, 0xad, 0x2e,
|
|
0x7e, 0x73, 0x1c, 0xb0, 0xfc, 0xe0, 0x51, 0xaf, 0x6d, 0x9b, 0x14, 0xdf, 0x47, 0x50, 0x5a, 0xb3,
|
|
0xfd, 0x00, 0x9f, 0xcc, 0x98, 0xda, 0xdb, 0x02, 0xa8, 0x03, 0x7a, 0x67, 0xb9, 0x2b, 0x32, 0x71,
|
|
0xef, 0x97, 0x3f, 0x3e, 0x2d, 0x1c, 0xc3, 0x47, 0x44, 0x37, 0xd5, 0x5e, 0x90, 0x9b, 0x1b, 0x1f,
|
|
0x7f, 0x84, 0x00, 0x73, 0xb5, 0x6c, 0x3f, 0x80, 0xcf, 0xf5, 0xc2, 0xd7, 0xa5, 0x6f, 0x50, 0x4f,
|
|
0x4a, 0xac, 0xd1, 0x78, 0xbb, 0xc6, 0x39, 0x22, 0x14, 0x04, 0x80, 0x39, 0x01, 0x60, 0x1a, 0x93,
|
|
0x6e, 0x00, 0xf4, 0x3b, 0x9c, 0x0a, 0x77, 0x75, 0x1a, 0xfa, 0xfd, 0x0a, 0xc1, 0xd0, 0xeb, 0x22,
|
|
0xdf, 0xf6, 0x89, 0xd0, 0xc6, 0x60, 0x22, 0x24, 0x7c, 0x09, 0xa8, 0xe4, 0x94, 0x80, 0x79, 0x12,
|
|
0x9f, 0x88, 0x61, 0xfa, 0x81, 0x47, 0x8d, 0x66, 0x06, 0xed, 0x05, 0x84, 0x1f, 0x22, 0x18, 0x0e,
|
|
0xdb, 0x02, 0x7c, 0xba, 0x17, 0xc4, 0x4c, 0xdb, 0xa0, 0x0e, 0xa8, 0xf8, 0x26, 0x67, 0x05, 0xc0,
|
|
0x53, 0xa4, 0xeb, 0x41, 0x2e, 0x65, 0x3a, 0x87, 0x4f, 0x10, 0x14, 0x57, 0x68, 0x5f, 0x9a, 0x0d,
|
|
0x0a, 0xd9, 0xbe, 0xd0, 0x75, 0x39, 0x61, 0x7c, 0x0f, 0xc1, 0xf8, 0x0a, 0x0d, 0xe2, 0xe6, 0xcd,
|
|
0xef, 0x1d, 0xbe, 0x4c, 0x7f, 0xa7, 0x4e, 0x68, 0x52, 0xd7, 0x1c, 0x4f, 0x25, 0x59, 0x62, 0x5e,
|
|
0xb8, 0x3e, 0x83, 0x4f, 0xe7, 0x91, 0xab, 0x99, 0xf8, 0xfc, 0x11, 0xc1, 0x70, 0x58, 0xf8, 0xf6,
|
|
0x76, 0x9f, 0xe9, 0xa7, 0x06, 0x16, 0xa3, 0xeb, 0x02, 0xe8, 0x15, 0xf5, 0x42, 0x77, 0xa0, 0xf2,
|
|
0x7a, 0x9e, 0x66, 0x2d, 0x23, 0x30, 0x34, 0x81, 0x3e, 0x7b, 0xb2, 0xdf, 0x21, 0x80, 0xb4, 0x72,
|
|
0xc7, 0x67, 0xf3, 0x37, 0x21, 0x55, 0xf7, 0xea, 0x00, 0x6b, 0x77, 0xa2, 0x89, 0xcd, 0xcc, 0xaa,
|
|
0x95, 0xbc, 0xa8, 0xf3, 0xca, 0x7e, 0x49, 0xd4, 0xf7, 0xf8, 0x4b, 0x04, 0x43, 0xa2, 0x42, 0xc4,
|
|
0xd3, 0xbd, 0x00, 0xcb, 0x05, 0xe4, 0xc0, 0x82, 0x3e, 0x23, 0x70, 0x56, 0x16, 0xf3, 0x88, 0xb9,
|
|
0x84, 0xe6, 0x70, 0x1b, 0x86, 0xc3, 0x22, 0xad, 0x37, 0x2b, 0x32, 0x45, 0x9c, 0x5a, 0xc9, 0xc9,
|
|
0x8f, 0x21, 0x31, 0xa3, 0x3b, 0x31, 0x97, 0x7b, 0x27, 0xbe, 0x46, 0x50, 0xe2, 0xdd, 0x1b, 0x3e,
|
|
0xd5, 0xcb, 0x9e, 0xd4, 0x0b, 0x0f, 0x2c, 0x2a, 0xe7, 0x04, 0xb4, 0xd3, 0x24, 0xff, 0xf4, 0x3a,
|
|
0x8e, 0xc9, 0x43, 0xf3, 0x00, 0xc1, 0xe1, 0xbd, 0xaf, 0x28, 0x3e, 0x91, 0x71, 0x92, 0x7d, 0xa6,
|
|
0xd5, 0x6c, 0x08, 0x7b, 0xbd, 0xc0, 0xe4, 0xaa, 0x40, 0xb1, 0x84, 0x2f, 0xf5, 0xbd, 0x10, 0xeb,
|
|
0xf1, 0x25, 0xe6, 0x86, 0xe6, 0x93, 0x86, 0x16, 0x7f, 0x8f, 0x60, 0x3c, 0xb6, 0xbb, 0xe5, 0x51,
|
|
0x9a, 0x0f, 0x6b, 0x40, 0xfc, 0xe7, 0x8e, 0xc8, 0x65, 0x81, 0xfd, 0x79, 0x7c, 0xf1, 0x80, 0xd8,
|
|
0x63, 0xcc, 0xf3, 0x01, 0x87, 0xf9, 0x2d, 0x82, 0x91, 0xb8, 0x2f, 0xc5, 0x67, 0x7a, 0x32, 0x29,
|
|
0xdb, 0xb9, 0x0e, 0xec, 0xf4, 0x75, 0x81, 0xfd, 0x2c, 0x99, 0xce, 0x3b, 0x7d, 0x2f, 0x72, 0xce,
|
|
0x19, 0xf0, 0x19, 0x02, 0x9c, 0x94, 0x67, 0x49, 0xc1, 0x86, 0x67, 0x32, 0xae, 0x7a, 0x56, 0x7e,
|
|
0xea, 0x99, 0xbe, 0x7a, 0xd9, 0x54, 0x3e, 0x97, 0x9b, 0xca, 0x59, 0xe2, 0xff, 0x63, 0x04, 0x63,
|
|
0x2b, 0x34, 0x29, 0x5c, 0x72, 0x02, 0x99, 0xed, 0xbc, 0xd5, 0xd9, 0xfe, 0x8a, 0x11, 0xa2, 0xf3,
|
|
0x02, 0xd1, 0x0c, 0xce, 0x0f, 0x55, 0x0c, 0xe0, 0x0b, 0x04, 0xff, 0x8e, 0xb2, 0x58, 0x24, 0x39,
|
|
0xdf, 0xcf, 0x53, 0x26, 0xe9, 0x1d, 0x1c, 0xd7, 0x73, 0x02, 0xd7, 0x3c, 0x39, 0x10, 0xae, 0xa5,
|
|
0xa8, 0x81, 0xbd, 0x8f, 0xe0, 0x50, 0x9c, 0xc4, 0x22, 0x7c, 0xf3, 0xfd, 0x3c, 0x3e, 0x69, 0xd2,
|
|
0x8b, 0x02, 0x36, 0x77, 0xb0, 0x80, 0xbd, 0x8f, 0xa0, 0x1c, 0x75, 0x7a, 0x39, 0xef, 0x82, 0xd4,
|
|
0x0a, 0xaa, 0x47, 0x33, 0x5a, 0x71, 0xa7, 0x43, 0x5e, 0x10, 0x6e, 0x17, 0xb0, 0x9e, 0xe7, 0xd6,
|
|
0x65, 0x96, 0xaf, 0xdf, 0x89, 0x5a, 0xc0, 0xbb, 0x7a, 0x83, 0xd5, 0xfc, 0x0b, 0x68, 0xf9, 0xf2,
|
|
0xa3, 0xdd, 0x49, 0xf4, 0xf3, 0xee, 0x24, 0xfa, 0x6d, 0x77, 0x12, 0xbd, 0xa1, 0xe5, 0xfd, 0xa4,
|
|
0xbf, 0xff, 0xaf, 0x8f, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xed, 0xa9, 0x4e, 0x16, 0x0f, 0x19,
|
|
0x00, 0x00,
|
|
}
|