@7k-inari/api-client 0.3.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -103,6 +103,20 @@ export enum EventType {
|
|
|
103
103
|
* @generated from enum value: EVENT_TYPE_COMMAND_NACK = 12;
|
|
104
104
|
*/
|
|
105
105
|
COMMAND_NACK = 12,
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* server→agent: deliver an ESO SecretStore to tenant Git (plan §4.1).
|
|
109
|
+
*
|
|
110
|
+
* @generated from enum value: EVENT_TYPE_SECRET_STORE_APPLY = 13;
|
|
111
|
+
*/
|
|
112
|
+
SECRET_STORE_APPLY = 13,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* server→agent: prune an ESO SecretStore from tenant Git (plan §4.1).
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum value: EVENT_TYPE_SECRET_STORE_DELETE = 14;
|
|
118
|
+
*/
|
|
119
|
+
SECRET_STORE_DELETE = 14,
|
|
106
120
|
}
|
|
107
121
|
// Retrieve enum metadata with: proto3.getEnumType(EventType)
|
|
108
122
|
proto3.util.setEnumType(EventType, "inari.agent.v1.EventType", [
|
|
@@ -119,6 +133,8 @@ proto3.util.setEnumType(EventType, "inari.agent.v1.EventType", [
|
|
|
119
133
|
{ no: 10, name: "EVENT_TYPE_RENDER_RGD_INSTANCE" },
|
|
120
134
|
{ no: 11, name: "EVENT_TYPE_COMMAND_ACK" },
|
|
121
135
|
{ no: 12, name: "EVENT_TYPE_COMMAND_NACK" },
|
|
136
|
+
{ no: 13, name: "EVENT_TYPE_SECRET_STORE_APPLY" },
|
|
137
|
+
{ no: 14, name: "EVENT_TYPE_SECRET_STORE_DELETE" },
|
|
122
138
|
]);
|
|
123
139
|
|
|
124
140
|
/**
|
|
@@ -544,6 +544,409 @@ export class RenderRgdInstance extends Message<RenderRgdInstance> {
|
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
+
/**
|
|
548
|
+
* SecretRef references a cluster-side Kubernetes Secret holding provider
|
|
549
|
+
* credentials. Only the reference ever transits the control plane — never
|
|
550
|
+
* credential values (plan §4.1/§5.10).
|
|
551
|
+
*
|
|
552
|
+
* @generated from message inari.agent.v1.SecretRef
|
|
553
|
+
*/
|
|
554
|
+
export class SecretRef extends Message<SecretRef> {
|
|
555
|
+
/**
|
|
556
|
+
* @generated from field: string name = 1;
|
|
557
|
+
*/
|
|
558
|
+
name = "";
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: string namespace = 2;
|
|
562
|
+
*/
|
|
563
|
+
namespace = "";
|
|
564
|
+
|
|
565
|
+
constructor(data?: PartialMessage<SecretRef>) {
|
|
566
|
+
super();
|
|
567
|
+
proto3.util.initPartial(data, this);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
571
|
+
static readonly typeName = "inari.agent.v1.SecretRef";
|
|
572
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
573
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
574
|
+
{ no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
575
|
+
]);
|
|
576
|
+
|
|
577
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretRef {
|
|
578
|
+
return new SecretRef().fromBinary(bytes, options);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretRef {
|
|
582
|
+
return new SecretRef().fromJson(jsonValue, options);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretRef {
|
|
586
|
+
return new SecretRef().fromJsonString(jsonString, options);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
static equals(a: SecretRef | PlainMessage<SecretRef> | undefined, b: SecretRef | PlainMessage<SecretRef> | undefined): boolean {
|
|
590
|
+
return proto3.util.equals(SecretRef, a, b);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* AwsSMProvider configures an ESO AWS Secrets Manager backend.
|
|
596
|
+
*
|
|
597
|
+
* @generated from message inari.agent.v1.AwsSMProvider
|
|
598
|
+
*/
|
|
599
|
+
export class AwsSMProvider extends Message<AwsSMProvider> {
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: string region = 1;
|
|
602
|
+
*/
|
|
603
|
+
region = "";
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 2;
|
|
607
|
+
*/
|
|
608
|
+
authSecretRef?: SecretRef;
|
|
609
|
+
|
|
610
|
+
constructor(data?: PartialMessage<AwsSMProvider>) {
|
|
611
|
+
super();
|
|
612
|
+
proto3.util.initPartial(data, this);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
616
|
+
static readonly typeName = "inari.agent.v1.AwsSMProvider";
|
|
617
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
618
|
+
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
619
|
+
{ no: 2, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
620
|
+
]);
|
|
621
|
+
|
|
622
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsSMProvider {
|
|
623
|
+
return new AwsSMProvider().fromBinary(bytes, options);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AwsSMProvider {
|
|
627
|
+
return new AwsSMProvider().fromJson(jsonValue, options);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AwsSMProvider {
|
|
631
|
+
return new AwsSMProvider().fromJsonString(jsonString, options);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
static equals(a: AwsSMProvider | PlainMessage<AwsSMProvider> | undefined, b: AwsSMProvider | PlainMessage<AwsSMProvider> | undefined): boolean {
|
|
635
|
+
return proto3.util.equals(AwsSMProvider, a, b);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* VaultProvider configures an ESO HashiCorp Vault backend.
|
|
641
|
+
*
|
|
642
|
+
* @generated from message inari.agent.v1.VaultProvider
|
|
643
|
+
*/
|
|
644
|
+
export class VaultProvider extends Message<VaultProvider> {
|
|
645
|
+
/**
|
|
646
|
+
* @generated from field: string server = 1;
|
|
647
|
+
*/
|
|
648
|
+
server = "";
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: string path = 2;
|
|
652
|
+
*/
|
|
653
|
+
path = "";
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 3;
|
|
657
|
+
*/
|
|
658
|
+
authSecretRef?: SecretRef;
|
|
659
|
+
|
|
660
|
+
constructor(data?: PartialMessage<VaultProvider>) {
|
|
661
|
+
super();
|
|
662
|
+
proto3.util.initPartial(data, this);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
666
|
+
static readonly typeName = "inari.agent.v1.VaultProvider";
|
|
667
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
668
|
+
{ no: 1, name: "server", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
669
|
+
{ no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
670
|
+
{ no: 3, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
671
|
+
]);
|
|
672
|
+
|
|
673
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VaultProvider {
|
|
674
|
+
return new VaultProvider().fromBinary(bytes, options);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VaultProvider {
|
|
678
|
+
return new VaultProvider().fromJson(jsonValue, options);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VaultProvider {
|
|
682
|
+
return new VaultProvider().fromJsonString(jsonString, options);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
static equals(a: VaultProvider | PlainMessage<VaultProvider> | undefined, b: VaultProvider | PlainMessage<VaultProvider> | undefined): boolean {
|
|
686
|
+
return proto3.util.equals(VaultProvider, a, b);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* GcpSMProvider configures an ESO GCP Secret Manager backend.
|
|
692
|
+
*
|
|
693
|
+
* @generated from message inari.agent.v1.GcpSMProvider
|
|
694
|
+
*/
|
|
695
|
+
export class GcpSMProvider extends Message<GcpSMProvider> {
|
|
696
|
+
/**
|
|
697
|
+
* @generated from field: string project_id = 1;
|
|
698
|
+
*/
|
|
699
|
+
projectId = "";
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 2;
|
|
703
|
+
*/
|
|
704
|
+
authSecretRef?: SecretRef;
|
|
705
|
+
|
|
706
|
+
constructor(data?: PartialMessage<GcpSMProvider>) {
|
|
707
|
+
super();
|
|
708
|
+
proto3.util.initPartial(data, this);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
712
|
+
static readonly typeName = "inari.agent.v1.GcpSMProvider";
|
|
713
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
714
|
+
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
715
|
+
{ no: 2, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
716
|
+
]);
|
|
717
|
+
|
|
718
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GcpSMProvider {
|
|
719
|
+
return new GcpSMProvider().fromBinary(bytes, options);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GcpSMProvider {
|
|
723
|
+
return new GcpSMProvider().fromJson(jsonValue, options);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GcpSMProvider {
|
|
727
|
+
return new GcpSMProvider().fromJsonString(jsonString, options);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
static equals(a: GcpSMProvider | PlainMessage<GcpSMProvider> | undefined, b: GcpSMProvider | PlainMessage<GcpSMProvider> | undefined): boolean {
|
|
731
|
+
return proto3.util.equals(GcpSMProvider, a, b);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* AzureKVProvider configures an ESO Azure Key Vault backend.
|
|
737
|
+
*
|
|
738
|
+
* @generated from message inari.agent.v1.AzureKVProvider
|
|
739
|
+
*/
|
|
740
|
+
export class AzureKVProvider extends Message<AzureKVProvider> {
|
|
741
|
+
/**
|
|
742
|
+
* @generated from field: string vault_url = 1;
|
|
743
|
+
*/
|
|
744
|
+
vaultUrl = "";
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* @generated from field: string tenant_id = 2;
|
|
748
|
+
*/
|
|
749
|
+
tenantId = "";
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 3;
|
|
753
|
+
*/
|
|
754
|
+
authSecretRef?: SecretRef;
|
|
755
|
+
|
|
756
|
+
constructor(data?: PartialMessage<AzureKVProvider>) {
|
|
757
|
+
super();
|
|
758
|
+
proto3.util.initPartial(data, this);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
762
|
+
static readonly typeName = "inari.agent.v1.AzureKVProvider";
|
|
763
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
764
|
+
{ no: 1, name: "vault_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
765
|
+
{ no: 2, name: "tenant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
766
|
+
{ no: 3, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
767
|
+
]);
|
|
768
|
+
|
|
769
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AzureKVProvider {
|
|
770
|
+
return new AzureKVProvider().fromBinary(bytes, options);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AzureKVProvider {
|
|
774
|
+
return new AzureKVProvider().fromJson(jsonValue, options);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AzureKVProvider {
|
|
778
|
+
return new AzureKVProvider().fromJsonString(jsonString, options);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
static equals(a: AzureKVProvider | PlainMessage<AzureKVProvider> | undefined, b: AzureKVProvider | PlainMessage<AzureKVProvider> | undefined): boolean {
|
|
782
|
+
return proto3.util.equals(AzureKVProvider, a, b);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* SecretStoreApply directs the agent to render an ESO SecretStore (scope
|
|
788
|
+
* "cluster", namespaced) or ClusterSecretStore (scope "platform") manifest
|
|
789
|
+
* and write it to the tenant state repo (Settings design §3.2, plan §4.1).
|
|
790
|
+
*
|
|
791
|
+
* @generated from message inari.agent.v1.SecretStoreApply
|
|
792
|
+
*/
|
|
793
|
+
export class SecretStoreApply extends Message<SecretStoreApply> {
|
|
794
|
+
/**
|
|
795
|
+
* @generated from field: string command_id = 1;
|
|
796
|
+
*/
|
|
797
|
+
commandId = "";
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* @generated from field: string name = 2;
|
|
801
|
+
*/
|
|
802
|
+
name = "";
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* "platform" or "cluster".
|
|
806
|
+
*
|
|
807
|
+
* @generated from field: string scope = 3;
|
|
808
|
+
*/
|
|
809
|
+
scope = "";
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @generated from oneof inari.agent.v1.SecretStoreApply.provider
|
|
813
|
+
*/
|
|
814
|
+
provider: {
|
|
815
|
+
/**
|
|
816
|
+
* @generated from field: inari.agent.v1.AwsSMProvider aws_sm = 4;
|
|
817
|
+
*/
|
|
818
|
+
value: AwsSMProvider;
|
|
819
|
+
case: "awsSm";
|
|
820
|
+
} | {
|
|
821
|
+
/**
|
|
822
|
+
* @generated from field: inari.agent.v1.VaultProvider vault = 5;
|
|
823
|
+
*/
|
|
824
|
+
value: VaultProvider;
|
|
825
|
+
case: "vault";
|
|
826
|
+
} | {
|
|
827
|
+
/**
|
|
828
|
+
* @generated from field: inari.agent.v1.GcpSMProvider gcp_sm = 6;
|
|
829
|
+
*/
|
|
830
|
+
value: GcpSMProvider;
|
|
831
|
+
case: "gcpSm";
|
|
832
|
+
} | {
|
|
833
|
+
/**
|
|
834
|
+
* @generated from field: inari.agent.v1.AzureKVProvider azure_kv = 7;
|
|
835
|
+
*/
|
|
836
|
+
value: AzureKVProvider;
|
|
837
|
+
case: "azureKv";
|
|
838
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* @generated from field: inari.agent.v1.GitTarget target = 8;
|
|
842
|
+
*/
|
|
843
|
+
target?: GitTarget;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* @generated from field: inari.agent.v1.CommitPolicy policy = 9;
|
|
847
|
+
*/
|
|
848
|
+
policy = CommitPolicy.UNSPECIFIED;
|
|
849
|
+
|
|
850
|
+
constructor(data?: PartialMessage<SecretStoreApply>) {
|
|
851
|
+
super();
|
|
852
|
+
proto3.util.initPartial(data, this);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
856
|
+
static readonly typeName = "inari.agent.v1.SecretStoreApply";
|
|
857
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
858
|
+
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
859
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
860
|
+
{ no: 3, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
861
|
+
{ no: 4, name: "aws_sm", kind: "message", T: AwsSMProvider, oneof: "provider" },
|
|
862
|
+
{ no: 5, name: "vault", kind: "message", T: VaultProvider, oneof: "provider" },
|
|
863
|
+
{ no: 6, name: "gcp_sm", kind: "message", T: GcpSMProvider, oneof: "provider" },
|
|
864
|
+
{ no: 7, name: "azure_kv", kind: "message", T: AzureKVProvider, oneof: "provider" },
|
|
865
|
+
{ no: 8, name: "target", kind: "message", T: GitTarget },
|
|
866
|
+
{ no: 9, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
|
|
867
|
+
]);
|
|
868
|
+
|
|
869
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretStoreApply {
|
|
870
|
+
return new SecretStoreApply().fromBinary(bytes, options);
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretStoreApply {
|
|
874
|
+
return new SecretStoreApply().fromJson(jsonValue, options);
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretStoreApply {
|
|
878
|
+
return new SecretStoreApply().fromJsonString(jsonString, options);
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
static equals(a: SecretStoreApply | PlainMessage<SecretStoreApply> | undefined, b: SecretStoreApply | PlainMessage<SecretStoreApply> | undefined): boolean {
|
|
882
|
+
return proto3.util.equals(SecretStoreApply, a, b);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* SecretStoreDelete directs the agent to prune a previously applied ESO
|
|
888
|
+
* SecretStore manifest from the tenant state repo.
|
|
889
|
+
*
|
|
890
|
+
* @generated from message inari.agent.v1.SecretStoreDelete
|
|
891
|
+
*/
|
|
892
|
+
export class SecretStoreDelete extends Message<SecretStoreDelete> {
|
|
893
|
+
/**
|
|
894
|
+
* @generated from field: string command_id = 1;
|
|
895
|
+
*/
|
|
896
|
+
commandId = "";
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @generated from field: string name = 2;
|
|
900
|
+
*/
|
|
901
|
+
name = "";
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* @generated from field: string scope = 3;
|
|
905
|
+
*/
|
|
906
|
+
scope = "";
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* @generated from field: inari.agent.v1.GitTarget target = 4;
|
|
910
|
+
*/
|
|
911
|
+
target?: GitTarget;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: inari.agent.v1.CommitPolicy policy = 5;
|
|
915
|
+
*/
|
|
916
|
+
policy = CommitPolicy.UNSPECIFIED;
|
|
917
|
+
|
|
918
|
+
constructor(data?: PartialMessage<SecretStoreDelete>) {
|
|
919
|
+
super();
|
|
920
|
+
proto3.util.initPartial(data, this);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
924
|
+
static readonly typeName = "inari.agent.v1.SecretStoreDelete";
|
|
925
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
926
|
+
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
927
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
928
|
+
{ no: 3, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
929
|
+
{ no: 4, name: "target", kind: "message", T: GitTarget },
|
|
930
|
+
{ no: 5, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
|
|
931
|
+
]);
|
|
932
|
+
|
|
933
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretStoreDelete {
|
|
934
|
+
return new SecretStoreDelete().fromBinary(bytes, options);
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretStoreDelete {
|
|
938
|
+
return new SecretStoreDelete().fromJson(jsonValue, options);
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretStoreDelete {
|
|
942
|
+
return new SecretStoreDelete().fromJsonString(jsonString, options);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
static equals(a: SecretStoreDelete | PlainMessage<SecretStoreDelete> | undefined, b: SecretStoreDelete | PlainMessage<SecretStoreDelete> | undefined): boolean {
|
|
946
|
+
return proto3.util.equals(SecretStoreDelete, a, b);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
|
|
547
950
|
/**
|
|
548
951
|
* CommandAck reports the outcome of a command back to the gateway. Sent as an
|
|
549
952
|
* agent→server event (EVENT_TYPE_COMMAND_ACK or, with
|