2022-06-11 07:52:24 +00:00
// Copyright 2016-2018, Pulumi Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
2018-06-26 18:14:03 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
2022-06-11 07:52:24 +00:00
// versions:
2022-12-14 19:17:27 +00:00
// protoc-gen-go v1.28.1
2022-06-11 07:52:24 +00:00
// protoc v3.20.1
2022-07-12 13:45:03 +00:00
// source: pulumi/analyzer.proto
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
2018-07-12 01:07:50 +00:00
package pulumirpc
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
import (
2022-06-11 07:52:24 +00:00
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
2024-01-24 17:15:30 +00:00
emptypb "google.golang.org/protobuf/types/known/emptypb"
structpb "google.golang.org/protobuf/types/known/structpb"
2023-03-04 22:11:52 +00:00
reflect "reflect"
sync "sync"
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
)
2022-06-11 07:52:24 +00:00
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
2019-06-10 22:20:22 +00:00
// EnforcementLevel indicates the severity of a policy violation.
2019-06-24 00:51:15 +00:00
type EnforcementLevel int32
2019-06-10 22:20:22 +00:00
const (
2022-06-11 07:52:24 +00:00
EnforcementLevel_ADVISORY EnforcementLevel = 0 // Displayed to users, but does not block deployment.
EnforcementLevel_MANDATORY EnforcementLevel = 1 // Stops deployment, cannot be overridden.
EnforcementLevel_DISABLED EnforcementLevel = 2 // Disabled policies do not run during a deployment.
2023-10-09 18:31:17 +00:00
EnforcementLevel_REMEDIATE EnforcementLevel = 3 // Remediated policies actually fixes problems instead of issuing diagnostics.
2019-06-10 22:20:22 +00:00
)
2022-06-11 07:52:24 +00:00
// Enum value maps for EnforcementLevel.
var (
EnforcementLevel_name = map [ int32 ] string {
0 : "ADVISORY" ,
1 : "MANDATORY" ,
2 : "DISABLED" ,
2023-10-09 18:31:17 +00:00
3 : "REMEDIATE" ,
2022-06-11 07:52:24 +00:00
}
EnforcementLevel_value = map [ string ] int32 {
"ADVISORY" : 0 ,
"MANDATORY" : 1 ,
"DISABLED" : 2 ,
2023-10-09 18:31:17 +00:00
"REMEDIATE" : 3 ,
2022-06-11 07:52:24 +00:00
}
)
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( x EnforcementLevel ) Enum ( ) * EnforcementLevel {
p := new ( EnforcementLevel )
* p = x
return p
2019-06-10 22:20:22 +00:00
}
2019-06-24 00:51:15 +00:00
func ( x EnforcementLevel ) String ( ) string {
2022-06-11 07:52:24 +00:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
2019-06-10 22:20:22 +00:00
}
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( EnforcementLevel ) Descriptor ( ) protoreflect . EnumDescriptor {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_enumTypes [ 0 ] . Descriptor ( )
2019-06-10 22:20:22 +00:00
}
2022-06-11 07:52:24 +00:00
func ( EnforcementLevel ) Type ( ) protoreflect . EnumType {
2022-07-12 13:45:03 +00:00
return & file_pulumi_analyzer_proto_enumTypes [ 0 ]
2018-07-12 01:07:50 +00:00
}
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( x EnforcementLevel ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use EnforcementLevel.Descriptor instead.
func ( EnforcementLevel ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 0 }
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
type AnalyzeRequest struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Type string ` protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" ` // the type token of the resource.
Properties * structpb . Struct ` protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty" ` // the full properties to use for validation.
Urn string ` protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty" ` // the URN of the resource.
Name string ` protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" ` // the name for the resource's URN.
Options * AnalyzerResourceOptions ` protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty" ` // the resource options.
Provider * AnalyzerProviderResource ` protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty" ` // the resource's provider.
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) Reset ( ) {
* x = AnalyzeRequest { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 0 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzeRequest ) ProtoMessage ( ) { }
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 0 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use AnalyzeRequest.ProtoReflect.Descriptor instead.
func ( * AnalyzeRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 0 }
2022-06-11 07:52:24 +00:00
}
func ( x * AnalyzeRequest ) GetType ( ) string {
if x != nil {
return x . Type
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) GetProperties ( ) * structpb . Struct {
if x != nil {
return x . Properties
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) GetUrn ( ) string {
if x != nil {
return x . Urn
2019-11-21 21:01:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) GetName ( ) string {
if x != nil {
return x . Name
2019-11-21 21:01:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) GetOptions ( ) * AnalyzerResourceOptions {
if x != nil {
return x . Options
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeRequest ) GetProvider ( ) * AnalyzerProviderResource {
if x != nil {
return x . Provider
2020-02-08 00:11:34 +00:00
}
return nil
}
// AnalyzerResource defines the view of a Pulumi-managed resource as sent to Analyzers. The properties
2019-10-25 15:29:02 +00:00
// of the resource are specific to the type of analysis being performed. See the Analyzer
// service definition for more information.
type AnalyzerResource struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
Type string ` protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" ` // the type token of the resource.
Properties * structpb . Struct ` protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty" ` // the full properties to use for validation.
Urn string ` protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty" ` // the URN of the resource.
Name string ` protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" ` // the name for the resource's URN.
Options * AnalyzerResourceOptions ` protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty" ` // the resource options.
Provider * AnalyzerProviderResource ` protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty" ` // the resource's provider.
Parent string ` protobuf:"bytes,7,opt,name=parent,proto3" json:"parent,omitempty" ` // an optional parent URN that this child resource belongs to.
Dependencies [ ] string ` protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty" ` // a list of URNs that this resource depends on.
PropertyDependencies map [ string ] * AnalyzerPropertyDependencies ` protobuf:"bytes,9,rep,name=propertyDependencies,proto3" json:"propertyDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" ` // a map from property keys to the dependencies of the property.
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) Reset ( ) {
* x = AnalyzerResource { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 1 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzerResource ) ProtoMessage ( ) { }
func ( x * AnalyzerResource ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 1 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzerResource.ProtoReflect.Descriptor instead.
func ( * AnalyzerResource ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 1 }
2022-06-11 07:52:24 +00:00
}
2019-10-25 15:29:02 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetType ( ) string {
if x != nil {
return x . Type
2019-10-25 15:29:02 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetProperties ( ) * structpb . Struct {
if x != nil {
return x . Properties
2019-10-25 15:29:02 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetUrn ( ) string {
if x != nil {
return x . Urn
2019-11-21 21:01:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetName ( ) string {
if x != nil {
return x . Name
2019-11-21 21:01:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetOptions ( ) * AnalyzerResourceOptions {
if x != nil {
return x . Options
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetProvider ( ) * AnalyzerProviderResource {
if x != nil {
return x . Provider
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetParent ( ) string {
if x != nil {
return x . Parent
2020-02-08 00:11:34 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetDependencies ( ) [ ] string {
if x != nil {
return x . Dependencies
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResource ) GetPropertyDependencies ( ) map [ string ] * AnalyzerPropertyDependencies {
if x != nil {
return x . PropertyDependencies
2020-02-08 00:11:34 +00:00
}
return nil
}
// AnalyzerResourceOptions defines the options associated with a resource.
type AnalyzerResourceOptions struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
Protect bool ` protobuf:"varint,1,opt,name=protect,proto3" json:"protect,omitempty" ` // true if the resource should be marked protected.
IgnoreChanges [ ] string ` protobuf:"bytes,2,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty" ` // a list of property names to ignore during changes.
DeleteBeforeReplace bool ` protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty" ` // true if this resource should be deleted before replacement.
DeleteBeforeReplaceDefined bool ` protobuf:"varint,4,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty" ` // true if the deleteBeforeReplace property should be treated as defined even if it is false.
AdditionalSecretOutputs [ ] string ` protobuf:"bytes,5,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty" ` // a list of output properties that should also be treated as secret, in addition to ones we detect.
Aliases [ ] string ` protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty" ` // a list of additional URNs that shoud be considered the same.
CustomTimeouts * AnalyzerResourceOptions_CustomTimeouts ` protobuf:"bytes,7,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty" ` // a config block that will be used to configure timeouts for CRUD operations.
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) Reset ( ) {
* x = AnalyzerResourceOptions { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 2 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzerResourceOptions ) ProtoMessage ( ) { }
func ( x * AnalyzerResourceOptions ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 2 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzerResourceOptions.ProtoReflect.Descriptor instead.
func ( * AnalyzerResourceOptions ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 2 }
2022-06-11 07:52:24 +00:00
}
2020-02-08 00:11:34 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetProtect ( ) bool {
if x != nil {
return x . Protect
2020-02-08 00:11:34 +00:00
}
return false
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetIgnoreChanges ( ) [ ] string {
if x != nil {
return x . IgnoreChanges
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetDeleteBeforeReplace ( ) bool {
if x != nil {
return x . DeleteBeforeReplace
2020-02-08 00:11:34 +00:00
}
return false
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetDeleteBeforeReplaceDefined ( ) bool {
if x != nil {
return x . DeleteBeforeReplaceDefined
2020-02-08 00:11:34 +00:00
}
return false
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetAdditionalSecretOutputs ( ) [ ] string {
if x != nil {
return x . AdditionalSecretOutputs
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetAliases ( ) [ ] string {
if x != nil {
return x . Aliases
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions ) GetCustomTimeouts ( ) * AnalyzerResourceOptions_CustomTimeouts {
if x != nil {
return x . CustomTimeouts
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
// AnalyzerProviderResource provides information about a resource's provider.
type AnalyzerProviderResource struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
Type string ` protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" ` // the type token of the resource.
Properties * structpb . Struct ` protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty" ` // the full properties to use for validation.
Urn string ` protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty" ` // the URN of the resource.
Name string ` protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" ` // the name for the resource's URN.
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerProviderResource ) Reset ( ) {
* x = AnalyzerProviderResource { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 3 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2020-02-08 00:11:34 +00:00
}
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerProviderResource ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzerProviderResource ) ProtoMessage ( ) { }
func ( x * AnalyzerProviderResource ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 3 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
return mi . MessageOf ( x )
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzerProviderResource.ProtoReflect.Descriptor instead.
2020-02-08 00:11:34 +00:00
func ( * AnalyzerProviderResource ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 3 }
2020-02-08 00:11:34 +00:00
}
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerProviderResource ) GetType ( ) string {
if x != nil {
return x . Type
2020-02-08 00:11:34 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerProviderResource ) GetProperties ( ) * structpb . Struct {
if x != nil {
return x . Properties
2020-02-08 00:11:34 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerProviderResource ) GetUrn ( ) string {
if x != nil {
return x . Urn
2020-02-08 00:11:34 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerProviderResource ) GetName ( ) string {
if x != nil {
return x . Name
2020-02-08 00:11:34 +00:00
}
return ""
}
// AnalyzerPropertyDependencies describes the resources that a particular property depends on.
type AnalyzerPropertyDependencies struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-08 00:11:34 +00:00
2022-06-11 07:52:24 +00:00
Urns [ ] string ` protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty" ` // A list of URNs this property depends on.
2020-02-08 00:11:34 +00:00
}
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerPropertyDependencies ) Reset ( ) {
* x = AnalyzerPropertyDependencies { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 4 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerPropertyDependencies ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzerPropertyDependencies ) ProtoMessage ( ) { }
func ( x * AnalyzerPropertyDependencies ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 4 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2020-02-08 00:11:34 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzerPropertyDependencies.ProtoReflect.Descriptor instead.
func ( * AnalyzerPropertyDependencies ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 4 }
2022-06-11 07:52:24 +00:00
}
2020-02-08 00:11:34 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerPropertyDependencies ) GetUrns ( ) [ ] string {
if x != nil {
return x . Urns
2020-02-08 00:11:34 +00:00
}
return nil
}
2019-10-25 15:29:02 +00:00
type AnalyzeStackRequest struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2019-10-25 15:29:02 +00:00
2022-06-11 07:52:24 +00:00
Resources [ ] * AnalyzerResource ` protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty" `
2019-10-25 15:29:02 +00:00
}
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeStackRequest ) Reset ( ) {
* x = AnalyzeStackRequest { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 5 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeStackRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzeStackRequest ) ProtoMessage ( ) { }
func ( x * AnalyzeStackRequest ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 5 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2019-10-25 15:29:02 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzeStackRequest.ProtoReflect.Descriptor instead.
func ( * AnalyzeStackRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 5 }
2022-06-11 07:52:24 +00:00
}
2019-10-25 15:29:02 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeStackRequest ) GetResources ( ) [ ] * AnalyzerResource {
if x != nil {
return x . Resources
2019-10-25 15:29:02 +00:00
}
return nil
}
Make more progress on the new deployment model
This change restructures a lot more pertaining to deployments, snapshots,
environments, and the like.
The most notable change is that the notion of a deploy.Source is introduced,
which splits the responsibility between the deploy.Plan -- which simply
understands how to compute and carry out deployment plans -- and the idea
of something that can produce new objects on-demand during deployment.
The primary such implementation is evalSource, which encapsulates an
interpreter and takes a package, args, and config map, and proceeds to run
the interpreter in a distinct goroutine. It synchronizes as needed to
poke and prod the interpreter along its path to create new resource objects.
There are two other sources, however. First, a nullSource, which simply
refuses to create new objects. This can be handy when writing isolated
tests but is also used to simulate the "empty" environment as necessary to
do a complete teardown of the target environment. Second, a fixedSource,
which takes a pre-computed array of objects, and hands those, in order, to
the planning engine; this is mostly useful as a testing technique.
Boatloads of code is now changed and updated in the various CLI commands.
This further chugs along towards pulumi/lumi#90. The end is in sight.
2017-06-10 18:50:47 +00:00
type AnalyzeResponse struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
2022-06-11 07:52:24 +00:00
Diagnostics [ ] * AnalyzeDiagnostic ` protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty" ` // information about policy violations.
2018-07-12 01:07:50 +00:00
}
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeResponse ) Reset ( ) {
* x = AnalyzeResponse { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 6 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzeResponse ) ProtoMessage ( ) { }
func ( x * AnalyzeResponse ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 6 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzeResponse.ProtoReflect.Descriptor instead.
func ( * AnalyzeResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 6 }
2022-06-11 07:52:24 +00:00
}
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeResponse ) GetDiagnostics ( ) [ ] * AnalyzeDiagnostic {
if x != nil {
return x . Diagnostics
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}
return nil
}
2019-06-10 22:20:22 +00:00
type AnalyzeDiagnostic struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
PolicyName string ` protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty" ` // Name of the violated policy.
PolicyPackName string ` protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty" ` // Name of the policy pack the policy is in.
PolicyPackVersion string ` protobuf:"bytes,3,opt,name=policyPackVersion,proto3" json:"policyPackVersion,omitempty" ` // Version of the policy pack.
Description string ` protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" ` // Description of policy rule. e.g., "encryption enabled."
Message string ` protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" ` // Message to display on policy violation, e.g., remediation steps.
Tags [ ] string ` protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty" ` // Keywords/terms to associate with a policy, e.g., "cost".
EnforcementLevel EnforcementLevel ` protobuf:"varint,7,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty" ` // Severity of the policy violation.
Urn string ` protobuf:"bytes,8,opt,name=urn,proto3" json:"urn,omitempty" ` // URN of the resource that violates the policy.
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) Reset ( ) {
* x = AnalyzeDiagnostic { }
if protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 7 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-07-12 01:07:50 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzeDiagnostic ) ProtoMessage ( ) { }
func ( x * AnalyzeDiagnostic ) ProtoReflect ( ) protoreflect . Message {
2022-07-12 13:45:03 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 7 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzeDiagnostic.ProtoReflect.Descriptor instead.
func ( * AnalyzeDiagnostic ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 7 }
2022-06-11 07:52:24 +00:00
}
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetPolicyName ( ) string {
if x != nil {
return x . PolicyName
2019-06-13 23:12:08 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetPolicyPackName ( ) string {
if x != nil {
return x . PolicyPackName
2019-06-13 23:12:08 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetPolicyPackVersion ( ) string {
if x != nil {
return x . PolicyPackVersion
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetDescription ( ) string {
if x != nil {
return x . Description
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetMessage ( ) string {
if x != nil {
return x . Message
2019-06-10 22:20:22 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetTags ( ) [ ] string {
if x != nil {
return x . Tags
2019-06-10 22:20:22 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetEnforcementLevel ( ) EnforcementLevel {
if x != nil {
return x . EnforcementLevel
2019-06-10 22:20:22 +00:00
}
2019-06-24 00:51:15 +00:00
return EnforcementLevel_ADVISORY
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzeDiagnostic ) GetUrn ( ) string {
if x != nil {
return x . Urn
2019-11-21 21:01:15 +00:00
}
return ""
}
2023-10-09 18:31:17 +00:00
// Remediation is a single resource remediation result.
type Remediation struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
PolicyName string ` protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty" ` // Name of the policy that performed the remediation.
PolicyPackName string ` protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty" ` // Name of the policy pack the transform is in.
PolicyPackVersion string ` protobuf:"bytes,3,opt,name=policyPackVersion,proto3" json:"policyPackVersion,omitempty" ` // Version of the policy pack.
Description string ` protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" ` // Description of transform rule. e.g., "auto-tag resources."
Properties * structpb . Struct ` protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty" ` // the transformed properties to use.
Diagnostic string ` protobuf:"bytes,6,opt,name=diagnostic,proto3" json:"diagnostic,omitempty" ` // an optional warning diagnostic to emit, if a transform failed.
}
func ( x * Remediation ) Reset ( ) {
* x = Remediation { }
if protoimpl . UnsafeEnabled {
mi := & file_pulumi_analyzer_proto_msgTypes [ 8 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * Remediation ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Remediation ) ProtoMessage ( ) { }
func ( x * Remediation ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pulumi_analyzer_proto_msgTypes [ 8 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use Remediation.ProtoReflect.Descriptor instead.
func ( * Remediation ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 8 }
}
func ( x * Remediation ) GetPolicyName ( ) string {
if x != nil {
return x . PolicyName
}
return ""
}
func ( x * Remediation ) GetPolicyPackName ( ) string {
if x != nil {
return x . PolicyPackName
}
return ""
}
func ( x * Remediation ) GetPolicyPackVersion ( ) string {
if x != nil {
return x . PolicyPackVersion
}
return ""
}
func ( x * Remediation ) GetDescription ( ) string {
if x != nil {
return x . Description
}
return ""
}
func ( x * Remediation ) GetProperties ( ) * structpb . Struct {
if x != nil {
return x . Properties
}
return nil
}
func ( x * Remediation ) GetDiagnostic ( ) string {
if x != nil {
return x . Diagnostic
}
return ""
}
// RemediateResponse contains a sequence of remediations applied, in order.
type RemediateResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Remediations [ ] * Remediation ` protobuf:"bytes,1,rep,name=remediations,proto3" json:"remediations,omitempty" ` // the list of remediations that were applied.
}
func ( x * RemediateResponse ) Reset ( ) {
* x = RemediateResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_pulumi_analyzer_proto_msgTypes [ 9 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * RemediateResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * RemediateResponse ) ProtoMessage ( ) { }
func ( x * RemediateResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pulumi_analyzer_proto_msgTypes [ 9 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use RemediateResponse.ProtoReflect.Descriptor instead.
func ( * RemediateResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 9 }
}
func ( x * RemediateResponse ) GetRemediations ( ) [ ] * Remediation {
if x != nil {
return x . Remediations
}
return nil
}
2019-06-24 00:51:15 +00:00
// AnalyzerInfo provides metadata about a PolicyPack inside an analyzer.
type AnalyzerInfo struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" ` // Name of the PolicyPack.
DisplayName string ` protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty" ` // Pretty name for the PolicyPack.
Policies [ ] * PolicyInfo ` protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty" ` // Metadata about policies contained in PolicyPack.
Version string ` protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" ` // Version of the Policy Pack.
SupportsConfig bool ` protobuf:"varint,5,opt,name=supportsConfig,proto3" json:"supportsConfig,omitempty" ` // Whether the Policy Pack supports config.
InitialConfig map [ string ] * PolicyConfig ` protobuf:"bytes,6,rep,name=initialConfig,proto3" json:"initialConfig,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" ` // Map of policy name to config.
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) Reset ( ) {
* x = AnalyzerInfo { }
if protoimpl . UnsafeEnabled {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 10 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzerInfo ) ProtoMessage ( ) { }
func ( x * AnalyzerInfo ) ProtoReflect ( ) protoreflect . Message {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 10 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzerInfo.ProtoReflect.Descriptor instead.
func ( * AnalyzerInfo ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-10-09 18:31:17 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 10 }
2022-06-11 07:52:24 +00:00
}
2019-06-24 00:51:15 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) GetName ( ) string {
if x != nil {
return x . Name
2019-06-24 00:51:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) GetDisplayName ( ) string {
if x != nil {
return x . DisplayName
2019-06-24 00:51:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) GetPolicies ( ) [ ] * PolicyInfo {
if x != nil {
return x . Policies
2019-06-24 00:51:15 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) GetVersion ( ) string {
if x != nil {
return x . Version
2020-02-25 01:11:56 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) GetSupportsConfig ( ) bool {
if x != nil {
return x . SupportsConfig
2020-03-08 21:11:55 +00:00
}
return false
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerInfo ) GetInitialConfig ( ) map [ string ] * PolicyConfig {
if x != nil {
return x . InitialConfig
2020-03-30 19:52:05 +00:00
}
return nil
}
2020-03-08 21:11:55 +00:00
// PolicyInfo provides metadata about a policy within a Policy Pack.
2019-06-24 00:51:15 +00:00
type PolicyInfo struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-02-28 11:53:47 +00:00
2022-06-11 07:52:24 +00:00
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" ` // Name of the policy.
DisplayName string ` protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty" ` // Pretty name for the policy.
Description string ` protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" ` // Description of policy rule. e.g., "encryption enabled."
Message string ` protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty" ` // Message to display on policy violation, e.g., remediation steps.
EnforcementLevel EnforcementLevel ` protobuf:"varint,5,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty" ` // Severity of the policy violation.
ConfigSchema * PolicyConfigSchema ` protobuf:"bytes,6,opt,name=configSchema,proto3" json:"configSchema,omitempty" ` // Config schema for the policy.
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) Reset ( ) {
* x = PolicyInfo { }
if protoimpl . UnsafeEnabled {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 11 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * PolicyInfo ) ProtoMessage ( ) { }
func ( x * PolicyInfo ) ProtoReflect ( ) protoreflect . Message {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 11 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2019-06-24 00:51:15 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use PolicyInfo.ProtoReflect.Descriptor instead.
func ( * PolicyInfo ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-10-09 18:31:17 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 11 }
2022-06-11 07:52:24 +00:00
}
2019-06-24 00:51:15 +00:00
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) GetName ( ) string {
if x != nil {
return x . Name
2019-06-24 00:51:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) GetDisplayName ( ) string {
if x != nil {
return x . DisplayName
2019-06-24 00:51:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) GetDescription ( ) string {
if x != nil {
return x . Description
2019-06-24 00:51:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) GetMessage ( ) string {
if x != nil {
return x . Message
2019-06-24 00:51:15 +00:00
}
return ""
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) GetEnforcementLevel ( ) EnforcementLevel {
if x != nil {
return x . EnforcementLevel
2019-06-24 00:51:15 +00:00
}
return EnforcementLevel_ADVISORY
2019-06-10 22:20:22 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyInfo ) GetConfigSchema ( ) * PolicyConfigSchema {
if x != nil {
return x . ConfigSchema
2020-03-08 21:11:55 +00:00
}
return nil
}
// PolicyConfigSchema provides the schema for a policy's configuration.
type PolicyConfigSchema struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-03-08 21:11:55 +00:00
2022-06-11 07:52:24 +00:00
Properties * structpb . Struct ` protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty" ` // JSON schema for each property.
Required [ ] string ` protobuf:"bytes,2,rep,name=required,proto3" json:"required,omitempty" ` // Required properties.
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfigSchema ) Reset ( ) {
* x = PolicyConfigSchema { }
if protoimpl . UnsafeEnabled {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 12 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfigSchema ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * PolicyConfigSchema ) ProtoMessage ( ) { }
func ( x * PolicyConfigSchema ) ProtoReflect ( ) protoreflect . Message {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 12 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use PolicyConfigSchema.ProtoReflect.Descriptor instead.
func ( * PolicyConfigSchema ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-10-09 18:31:17 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 12 }
2022-06-11 07:52:24 +00:00
}
2020-03-08 21:11:55 +00:00
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfigSchema ) GetProperties ( ) * structpb . Struct {
if x != nil {
return x . Properties
2020-03-08 21:11:55 +00:00
}
return nil
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfigSchema ) GetRequired ( ) [ ] string {
if x != nil {
return x . Required
2020-03-08 21:11:55 +00:00
}
return nil
}
// PolicyConfig provides configuration for a policy.
type PolicyConfig struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2020-03-08 21:11:55 +00:00
2022-06-11 07:52:24 +00:00
EnforcementLevel EnforcementLevel ` protobuf:"varint,1,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty" ` // Enforcement level of the policy.
Properties * structpb . Struct ` protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty" ` // Configuration properties of the policy.
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfig ) Reset ( ) {
* x = PolicyConfig { }
if protoimpl . UnsafeEnabled {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 13 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfig ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * PolicyConfig ) ProtoMessage ( ) { }
func ( x * PolicyConfig ) ProtoReflect ( ) protoreflect . Message {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 13 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use PolicyConfig.ProtoReflect.Descriptor instead.
func ( * PolicyConfig ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-10-09 18:31:17 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 13 }
2022-06-11 07:52:24 +00:00
}
2020-03-08 21:11:55 +00:00
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfig ) GetEnforcementLevel ( ) EnforcementLevel {
if x != nil {
return x . EnforcementLevel
2020-03-08 21:11:55 +00:00
}
return EnforcementLevel_ADVISORY
}
2022-06-11 07:52:24 +00:00
func ( x * PolicyConfig ) GetProperties ( ) * structpb . Struct {
if x != nil {
return x . Properties
2020-03-08 21:11:55 +00:00
}
return nil
}
// ConfigureAnalyzerRequest provides configuration information to the analyzer.
type ConfigureAnalyzerRequest struct {
2022-06-11 07:52:24 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
PolicyConfig map [ string ] * PolicyConfig ` protobuf:"bytes,1,rep,name=policyConfig,proto3" json:"policyConfig,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" ` // Map of policy name to config.
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * ConfigureAnalyzerRequest ) Reset ( ) {
* x = ConfigureAnalyzerRequest { }
if protoimpl . UnsafeEnabled {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 14 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ConfigureAnalyzerRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ConfigureAnalyzerRequest ) ProtoMessage ( ) { }
func ( x * ConfigureAnalyzerRequest ) ProtoReflect ( ) protoreflect . Message {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 14 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use ConfigureAnalyzerRequest.ProtoReflect.Descriptor instead.
2020-03-08 21:11:55 +00:00
func ( * ConfigureAnalyzerRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-10-09 18:31:17 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 14 }
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * ConfigureAnalyzerRequest ) GetPolicyConfig ( ) map [ string ] * PolicyConfig {
if x != nil {
return x . PolicyConfig
}
return nil
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
// CustomTimeouts allows a user to be able to create a set of custom timeout parameters.
type AnalyzerResourceOptions_CustomTimeouts struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Create float64 ` protobuf:"fixed64,1,opt,name=create,proto3" json:"create,omitempty" ` // The create resource timeout in seconds.
Update float64 ` protobuf:"fixed64,2,opt,name=update,proto3" json:"update,omitempty" ` // The update resource timeout in seconds.
Delete float64 ` protobuf:"fixed64,3,opt,name=delete,proto3" json:"delete,omitempty" ` // The delete resource timeout in seconds.
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions_CustomTimeouts ) Reset ( ) {
* x = AnalyzerResourceOptions_CustomTimeouts { }
if protoimpl . UnsafeEnabled {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 16 ]
2022-06-11 07:52:24 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions_CustomTimeouts ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( * AnalyzerResourceOptions_CustomTimeouts ) ProtoMessage ( ) { }
func ( x * AnalyzerResourceOptions_CustomTimeouts ) ProtoReflect ( ) protoreflect . Message {
2023-10-09 18:31:17 +00:00
mi := & file_pulumi_analyzer_proto_msgTypes [ 16 ]
2022-06-11 07:52:24 +00:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
// Deprecated: Use AnalyzerResourceOptions_CustomTimeouts.ProtoReflect.Descriptor instead.
func ( * AnalyzerResourceOptions_CustomTimeouts ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescGZIP ( ) , [ ] int { 2 , 0 }
2022-06-11 07:52:24 +00:00
}
2020-03-08 21:11:55 +00:00
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions_CustomTimeouts ) GetCreate ( ) float64 {
if x != nil {
return x . Create
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
return 0
}
func ( x * AnalyzerResourceOptions_CustomTimeouts ) GetUpdate ( ) float64 {
if x != nil {
return x . Update
}
return 0
2020-03-08 21:11:55 +00:00
}
2022-06-11 07:52:24 +00:00
func ( x * AnalyzerResourceOptions_CustomTimeouts ) GetDelete ( ) float64 {
if x != nil {
return x . Delete
}
return 0
}
2022-07-12 13:45:03 +00:00
var File_pulumi_analyzer_proto protoreflect . FileDescriptor
var file_pulumi_analyzer_proto_rawDesc = [ ] byte {
0x0a , 0x15 , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x2f , 0x61 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 ,
0x72 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x09 , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 ,
0x70 , 0x63 , 0x1a , 0x13 , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x2f , 0x70 , 0x6c , 0x75 , 0x67 , 0x69 ,
0x6e , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x1b , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2f ,
0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2f , 0x65 , 0x6d , 0x70 , 0x74 , 0x79 , 0x2e , 0x70 ,
0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x1c , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2f , 0x70 , 0x72 , 0x6f ,
0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2f , 0x73 , 0x74 , 0x72 , 0x75 , 0x63 , 0x74 , 0x2e , 0x70 , 0x72 , 0x6f ,
0x74 , 0x6f , 0x22 , 0x82 , 0x02 , 0x0a , 0x0e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x52 , 0x65 ,
0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x12 , 0x12 , 0x0a , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x12 , 0x37 , 0x0a , 0x0a , 0x70 , 0x72 , 0x6f ,
0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x17 , 0x2e ,
0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2e ,
0x53 , 0x74 , 0x72 , 0x75 , 0x63 , 0x74 , 0x52 , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 ,
0x65 , 0x73 , 0x12 , 0x10 , 0x0a , 0x03 , 0x75 , 0x72 , 0x6e , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 ,
0x03 , 0x75 , 0x72 , 0x6e , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 ,
0x28 , 0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x3c , 0x0a , 0x07 , 0x6f , 0x70 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x73 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x22 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 ,
0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 ,
0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x4f , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 , 0x52 , 0x07 , 0x6f ,
0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 , 0x12 , 0x3f , 0x0a , 0x08 , 0x70 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 ,
0x65 , 0x72 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x23 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d ,
0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x50 , 0x72 , 0x6f ,
0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x52 , 0x08 , 0x70 ,
0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x22 , 0x9d , 0x04 , 0x0a , 0x10 , 0x41 , 0x6e , 0x61 , 0x6c ,
0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x12 , 0x12 , 0x0a , 0x04 ,
0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 ,
0x12 , 0x37 , 0x0a , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x18 , 0x02 ,
0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x17 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 ,
0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2e , 0x53 , 0x74 , 0x72 , 0x75 , 0x63 , 0x74 , 0x52 , 0x0a , 0x70 ,
0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x12 , 0x10 , 0x0a , 0x03 , 0x75 , 0x72 , 0x6e ,
0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x75 , 0x72 , 0x6e , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e ,
0x61 , 0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 ,
0x3c , 0x0a , 0x07 , 0x6f , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b ,
0x32 , 0x22 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 ,
0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x4f , 0x70 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x73 , 0x52 , 0x07 , 0x6f , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 , 0x12 , 0x3f , 0x0a ,
0x08 , 0x70 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 ,
0x23 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c ,
0x79 , 0x7a , 0x65 , 0x72 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f ,
0x75 , 0x72 , 0x63 , 0x65 , 0x52 , 0x08 , 0x70 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x12 , 0x16 ,
0x0a , 0x06 , 0x70 , 0x61 , 0x72 , 0x65 , 0x6e , 0x74 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x06 ,
0x70 , 0x61 , 0x72 , 0x65 , 0x6e , 0x74 , 0x12 , 0x22 , 0x0a , 0x0c , 0x64 , 0x65 , 0x70 , 0x65 , 0x6e , 0x64 ,
0x65 , 0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x18 , 0x08 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x0c , 0x64 , 0x65 ,
0x70 , 0x65 , 0x6e , 0x64 , 0x65 , 0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x12 , 0x69 , 0x0a , 0x14 , 0x70 , 0x72 ,
0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 , 0x44 , 0x65 , 0x70 , 0x65 , 0x6e , 0x64 , 0x65 , 0x6e , 0x63 , 0x69 ,
0x65 , 0x73 , 0x18 , 0x09 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x35 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d ,
0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 ,
0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x2e , 0x50 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 , 0x44 , 0x65 ,
0x70 , 0x65 , 0x6e , 0x64 , 0x65 , 0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x52 ,
0x14 , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 , 0x44 , 0x65 , 0x70 , 0x65 , 0x6e , 0x64 , 0x65 ,
0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x1a , 0x70 , 0x0a , 0x19 , 0x50 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 ,
0x79 , 0x44 , 0x65 , 0x70 , 0x65 , 0x6e , 0x64 , 0x65 , 0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x45 , 0x6e , 0x74 ,
0x72 , 0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 ,
0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x3d , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x02 , 0x20 ,
0x01 , 0x28 , 0x0b , 0x32 , 0x27 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e ,
0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x50 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 ,
0x44 , 0x65 , 0x70 , 0x65 , 0x6e , 0x64 , 0x65 , 0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x52 , 0x05 , 0x76 , 0x61 ,
0x6c , 0x75 , 0x65 , 0x3a , 0x02 , 0x38 , 0x01 , 0x22 , 0xd4 , 0x03 , 0x0a , 0x17 , 0x41 , 0x6e , 0x61 , 0x6c ,
0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x4f , 0x70 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x73 , 0x12 , 0x18 , 0x0a , 0x07 , 0x70 , 0x72 , 0x6f , 0x74 , 0x65 , 0x63 , 0x74 , 0x18 , 0x01 ,
0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x07 , 0x70 , 0x72 , 0x6f , 0x74 , 0x65 , 0x63 , 0x74 , 0x12 , 0x24 , 0x0a ,
0x0d , 0x69 , 0x67 , 0x6e , 0x6f , 0x72 , 0x65 , 0x43 , 0x68 , 0x61 , 0x6e , 0x67 , 0x65 , 0x73 , 0x18 , 0x02 ,
0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x0d , 0x69 , 0x67 , 0x6e , 0x6f , 0x72 , 0x65 , 0x43 , 0x68 , 0x61 , 0x6e ,
0x67 , 0x65 , 0x73 , 0x12 , 0x30 , 0x0a , 0x13 , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x42 , 0x65 , 0x66 ,
0x6f , 0x72 , 0x65 , 0x52 , 0x65 , 0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x08 ,
0x52 , 0x13 , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x42 , 0x65 , 0x66 , 0x6f , 0x72 , 0x65 , 0x52 , 0x65 ,
0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x12 , 0x3e , 0x0a , 0x1a , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x42 ,
0x65 , 0x66 , 0x6f , 0x72 , 0x65 , 0x52 , 0x65 , 0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x44 , 0x65 , 0x66 , 0x69 ,
0x6e , 0x65 , 0x64 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x1a , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 ,
2022-06-11 07:52:24 +00:00
0x65 , 0x42 , 0x65 , 0x66 , 0x6f , 0x72 , 0x65 , 0x52 , 0x65 , 0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x44 , 0x65 ,
2022-07-12 13:45:03 +00:00
0x66 , 0x69 , 0x6e , 0x65 , 0x64 , 0x12 , 0x38 , 0x0a , 0x17 , 0x61 , 0x64 , 0x64 , 0x69 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x61 , 0x6c , 0x53 , 0x65 , 0x63 , 0x72 , 0x65 , 0x74 , 0x4f , 0x75 , 0x74 , 0x70 , 0x75 , 0x74 , 0x73 ,
0x18 , 0x05 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x17 , 0x61 , 0x64 , 0x64 , 0x69 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x61 , 0x6c , 0x53 , 0x65 , 0x63 , 0x72 , 0x65 , 0x74 , 0x4f , 0x75 , 0x74 , 0x70 , 0x75 , 0x74 , 0x73 , 0x12 ,
0x18 , 0x0a , 0x07 , 0x61 , 0x6c , 0x69 , 0x61 , 0x73 , 0x65 , 0x73 , 0x18 , 0x06 , 0x20 , 0x03 , 0x28 , 0x09 ,
0x52 , 0x07 , 0x61 , 0x6c , 0x69 , 0x61 , 0x73 , 0x65 , 0x73 , 0x12 , 0x59 , 0x0a , 0x0e , 0x63 , 0x75 , 0x73 ,
0x74 , 0x6f , 0x6d , 0x54 , 0x69 , 0x6d , 0x65 , 0x6f , 0x75 , 0x74 , 0x73 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 ,
0x0b , 0x32 , 0x31 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e ,
0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x4f , 0x70 ,
0x74 , 0x69 , 0x6f , 0x6e , 0x73 , 0x2e , 0x43 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x54 , 0x69 , 0x6d , 0x65 ,
0x6f , 0x75 , 0x74 , 0x73 , 0x52 , 0x0e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x54 , 0x69 , 0x6d , 0x65 ,
0x6f , 0x75 , 0x74 , 0x73 , 0x1a , 0x58 , 0x0a , 0x0e , 0x43 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x54 , 0x69 ,
0x6d , 0x65 , 0x6f , 0x75 , 0x74 , 0x73 , 0x12 , 0x16 , 0x0a , 0x06 , 0x63 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 ,
0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x06 , 0x63 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x12 , 0x16 ,
0x0a , 0x06 , 0x75 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x06 ,
0x75 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x12 , 0x16 , 0x0a , 0x06 , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 ,
0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x06 , 0x64 , 0x65 , 0x6c , 0x65 , 0x74 , 0x65 , 0x22 , 0x8d ,
0x01 , 0x0a , 0x18 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 ,
0x64 , 0x65 , 0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x12 , 0x12 , 0x0a , 0x04 , 0x74 ,
0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x12 ,
0x37 , 0x0a , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x18 , 0x02 , 0x20 ,
0x01 , 0x28 , 0x0b , 0x32 , 0x17 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f ,
0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2e , 0x53 , 0x74 , 0x72 , 0x75 , 0x63 , 0x74 , 0x52 , 0x0a , 0x70 , 0x72 ,
0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x12 , 0x10 , 0x0a , 0x03 , 0x75 , 0x72 , 0x6e , 0x18 ,
0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x75 , 0x72 , 0x6e , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 ,
0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x22 , 0x32 ,
0x0a , 0x1c , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x50 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 ,
0x74 , 0x79 , 0x44 , 0x65 , 0x70 , 0x65 , 0x6e , 0x64 , 0x65 , 0x6e , 0x63 , 0x69 , 0x65 , 0x73 , 0x12 , 0x12 ,
0x0a , 0x04 , 0x75 , 0x72 , 0x6e , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x04 , 0x75 , 0x72 ,
0x6e , 0x73 , 0x22 , 0x50 , 0x0a , 0x13 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x53 , 0x74 , 0x61 ,
0x63 , 0x6b , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x12 , 0x39 , 0x0a , 0x09 , 0x72 , 0x65 , 0x73 ,
0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x1b , 0x2e , 0x70 ,
0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 ,
0x72 , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x52 , 0x09 , 0x72 , 0x65 , 0x73 , 0x6f , 0x75 ,
0x72 , 0x63 , 0x65 , 0x73 , 0x22 , 0x51 , 0x0a , 0x0f , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x52 ,
0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x3e , 0x0a , 0x0b , 0x64 , 0x69 , 0x61 , 0x67 , 0x6e ,
0x6f , 0x73 , 0x74 , 0x69 , 0x63 , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x1c , 0x2e , 0x70 ,
0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 ,
0x44 , 0x69 , 0x61 , 0x67 , 0x6e , 0x6f , 0x73 , 0x74 , 0x69 , 0x63 , 0x52 , 0x0b , 0x64 , 0x69 , 0x61 , 0x67 ,
0x6e , 0x6f , 0x73 , 0x74 , 0x69 , 0x63 , 0x73 , 0x22 , 0xb4 , 0x02 , 0x0a , 0x11 , 0x41 , 0x6e , 0x61 , 0x6c ,
0x79 , 0x7a , 0x65 , 0x44 , 0x69 , 0x61 , 0x67 , 0x6e , 0x6f , 0x73 , 0x74 , 0x69 , 0x63 , 0x12 , 0x1e , 0x0a ,
0x0a , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x0a , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x26 , 0x0a ,
0x0e , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 , 0x61 , 0x63 , 0x6b , 0x4e , 0x61 , 0x6d , 0x65 , 0x18 ,
0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0e , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 , 0x61 , 0x63 ,
0x6b , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x2c , 0x0a , 0x11 , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 ,
0x61 , 0x63 , 0x6b , 0x56 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 ,
0x52 , 0x11 , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 , 0x61 , 0x63 , 0x6b , 0x56 , 0x65 , 0x72 , 0x73 ,
0x69 , 0x6f , 0x6e , 0x12 , 0x20 , 0x0a , 0x0b , 0x64 , 0x65 , 0x73 , 0x63 , 0x72 , 0x69 , 0x70 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x64 , 0x65 , 0x73 , 0x63 , 0x72 , 0x69 ,
0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x18 , 0x0a , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 ,
0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x12 ,
0x12 , 0x0a , 0x04 , 0x74 , 0x61 , 0x67 , 0x73 , 0x18 , 0x06 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x04 , 0x74 ,
0x61 , 0x67 , 0x73 , 0x12 , 0x47 , 0x0a , 0x10 , 0x65 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 , 0x65 , 0x6d , 0x65 ,
0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x1b , 0x2e ,
0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x45 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 ,
0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x52 , 0x10 , 0x65 , 0x6e , 0x66 , 0x6f ,
0x72 , 0x63 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x12 , 0x10 , 0x0a , 0x03 ,
2023-10-09 18:31:17 +00:00
0x75 , 0x72 , 0x6e , 0x18 , 0x08 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x75 , 0x72 , 0x6e , 0x22 , 0xfe ,
0x01 , 0x0a , 0x0b , 0x52 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x1e ,
0x0a , 0x0a , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 ,
0x28 , 0x09 , 0x52 , 0x0a , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x26 ,
0x0a , 0x0e , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 , 0x61 , 0x63 , 0x6b , 0x4e , 0x61 , 0x6d , 0x65 ,
0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0e , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 , 0x61 ,
0x63 , 0x6b , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x2c , 0x0a , 0x11 , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 ,
0x50 , 0x61 , 0x63 , 0x6b , 0x56 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x11 , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x50 , 0x61 , 0x63 , 0x6b , 0x56 , 0x65 , 0x72 ,
0x73 , 0x69 , 0x6f , 0x6e , 0x12 , 0x20 , 0x0a , 0x0b , 0x64 , 0x65 , 0x73 , 0x63 , 0x72 , 0x69 , 0x70 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x64 , 0x65 , 0x73 , 0x63 , 0x72 ,
0x69 , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x37 , 0x0a , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 ,
0x74 , 0x69 , 0x65 , 0x73 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x17 , 0x2e , 0x67 , 0x6f , 0x6f ,
0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2e , 0x53 , 0x74 , 0x72 ,
0x75 , 0x63 , 0x74 , 0x52 , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x12 ,
0x1e , 0x0a , 0x0a , 0x64 , 0x69 , 0x61 , 0x67 , 0x6e , 0x6f , 0x73 , 0x74 , 0x69 , 0x63 , 0x18 , 0x06 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x64 , 0x69 , 0x61 , 0x67 , 0x6e , 0x6f , 0x73 , 0x74 , 0x69 , 0x63 , 0x22 ,
0x4f , 0x0a , 0x11 , 0x52 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 ,
0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x3a , 0x0a , 0x0c , 0x72 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x73 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x70 , 0x75 , 0x6c ,
0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x52 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x52 , 0x0c , 0x72 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 ,
0x22 , 0xe6 , 0x02 , 0x0a , 0x0c , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x49 , 0x6e , 0x66 ,
0x6f , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 ,
0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x20 , 0x0a , 0x0b , 0x64 , 0x69 , 0x73 , 0x70 , 0x6c , 0x61 , 0x79 ,
0x4e , 0x61 , 0x6d , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x64 , 0x69 , 0x73 , 0x70 ,
0x6c , 0x61 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x31 , 0x0a , 0x08 , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 ,
0x69 , 0x65 , 0x73 , 0x18 , 0x03 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 ,
0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x50 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x49 , 0x6e , 0x66 , 0x6f ,
0x52 , 0x08 , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x69 , 0x65 , 0x73 , 0x12 , 0x18 , 0x0a , 0x07 , 0x76 , 0x65 ,
0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 , 0x76 , 0x65 , 0x72 ,
0x73 , 0x69 , 0x6f , 0x6e , 0x12 , 0x26 , 0x0a , 0x0e , 0x73 , 0x75 , 0x70 , 0x70 , 0x6f , 0x72 , 0x74 , 0x73 ,
0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0e , 0x73 , 0x75 ,
0x70 , 0x70 , 0x6f , 0x72 , 0x74 , 0x73 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x12 , 0x50 , 0x0a , 0x0d ,
0x69 , 0x6e , 0x69 , 0x74 , 0x69 , 0x61 , 0x6c , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x18 , 0x06 , 0x20 ,
0x03 , 0x28 , 0x0b , 0x32 , 0x2a , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e ,
0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x49 , 0x6e , 0x66 , 0x6f , 0x2e , 0x49 , 0x6e , 0x69 ,
0x74 , 0x69 , 0x61 , 0x6c , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x52 ,
0x0d , 0x69 , 0x6e , 0x69 , 0x74 , 0x69 , 0x61 , 0x6c , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x1a , 0x59 ,
0x0a , 0x12 , 0x49 , 0x6e , 0x69 , 0x74 , 0x69 , 0x61 , 0x6c , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x45 ,
0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x2d , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 ,
0x02 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x17 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 ,
0x63 , 0x2e , 0x50 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x52 , 0x05 ,
0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x3a , 0x02 , 0x38 , 0x01 , 0x22 , 0x8a , 0x02 , 0x0a , 0x0a , 0x50 , 0x6f ,
0x6c , 0x69 , 0x63 , 0x79 , 0x49 , 0x6e , 0x66 , 0x6f , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 ,
0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x20 , 0x0a , 0x0b ,
0x64 , 0x69 , 0x73 , 0x70 , 0x6c , 0x61 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x0b , 0x64 , 0x69 , 0x73 , 0x70 , 0x6c , 0x61 , 0x79 , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x20 ,
0x0a , 0x0b , 0x64 , 0x65 , 0x73 , 0x63 , 0x72 , 0x69 , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x18 , 0x03 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x64 , 0x65 , 0x73 , 0x63 , 0x72 , 0x69 , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x12 , 0x18 , 0x0a , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x12 , 0x47 , 0x0a , 0x10 , 0x65 , 0x6e ,
0x66 , 0x6f , 0x72 , 0x63 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x18 , 0x05 ,
0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x1b , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 ,
0x2e , 0x45 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 ,
0x6c , 0x52 , 0x10 , 0x65 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 ,
0x76 , 0x65 , 0x6c , 0x12 , 0x41 , 0x0a , 0x0c , 0x63 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x53 , 0x63 , 0x68 ,
0x65 , 0x6d , 0x61 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x1d , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 ,
0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x50 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 ,
0x69 , 0x67 , 0x53 , 0x63 , 0x68 , 0x65 , 0x6d , 0x61 , 0x52 , 0x0c , 0x63 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 ,
0x53 , 0x63 , 0x68 , 0x65 , 0x6d , 0x61 , 0x22 , 0x69 , 0x0a , 0x12 , 0x50 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 ,
0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x53 , 0x63 , 0x68 , 0x65 , 0x6d , 0x61 , 0x12 , 0x37 , 0x0a , 0x0a ,
0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b ,
0x32 , 0x17 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 ,
0x75 , 0x66 , 0x2e , 0x53 , 0x74 , 0x72 , 0x75 , 0x63 , 0x74 , 0x52 , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 ,
0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x12 , 0x1a , 0x0a , 0x08 , 0x72 , 0x65 , 0x71 , 0x75 , 0x69 , 0x72 , 0x65 ,
0x64 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x08 , 0x72 , 0x65 , 0x71 , 0x75 , 0x69 , 0x72 , 0x65 ,
0x64 , 0x22 , 0x90 , 0x01 , 0x0a , 0x0c , 0x50 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 ,
0x69 , 0x67 , 0x12 , 0x47 , 0x0a , 0x10 , 0x65 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 , 0x65 , 0x6d , 0x65 , 0x6e ,
0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x1b , 0x2e , 0x70 ,
0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x45 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 , 0x65 ,
0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x52 , 0x10 , 0x65 , 0x6e , 0x66 , 0x6f , 0x72 ,
0x63 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x12 , 0x37 , 0x0a , 0x0a , 0x70 ,
0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x69 , 0x65 , 0x73 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 ,
0x17 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 ,
0x66 , 0x2e , 0x53 , 0x74 , 0x72 , 0x75 , 0x63 , 0x74 , 0x52 , 0x0a , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 ,
0x74 , 0x69 , 0x65 , 0x73 , 0x22 , 0xcf , 0x01 , 0x0a , 0x18 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x75 ,
0x72 , 0x65 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 ,
0x74 , 0x12 , 0x59 , 0x0a , 0x0c , 0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 ,
0x67 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x35 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 ,
2022-07-12 13:45:03 +00:00
0x72 , 0x70 , 0x63 , 0x2e , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x75 , 0x72 , 0x65 , 0x41 , 0x6e , 0x61 ,
2023-10-09 18:31:17 +00:00
0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x2e , 0x50 , 0x6f , 0x6c ,
0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x52 , 0x0c ,
0x70 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x1a , 0x58 , 0x0a , 0x11 ,
0x50 , 0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x45 , 0x6e , 0x74 , 0x72 ,
0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 ,
0x6b , 0x65 , 0x79 , 0x12 , 0x2d , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 ,
0x28 , 0x0b , 0x32 , 0x17 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x50 ,
0x6f , 0x6c , 0x69 , 0x63 , 0x79 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c ,
0x75 , 0x65 , 0x3a , 0x02 , 0x38 , 0x01 , 0x2a , 0x4c , 0x0a , 0x10 , 0x45 , 0x6e , 0x66 , 0x6f , 0x72 , 0x63 ,
0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x4c , 0x65 , 0x76 , 0x65 , 0x6c , 0x12 , 0x0c , 0x0a , 0x08 , 0x41 , 0x44 ,
0x56 , 0x49 , 0x53 , 0x4f , 0x52 , 0x59 , 0x10 , 0x00 , 0x12 , 0x0d , 0x0a , 0x09 , 0x4d , 0x41 , 0x4e , 0x44 ,
0x41 , 0x54 , 0x4f , 0x52 , 0x59 , 0x10 , 0x01 , 0x12 , 0x0c , 0x0a , 0x08 , 0x44 , 0x49 , 0x53 , 0x41 , 0x42 ,
0x4c , 0x45 , 0x44 , 0x10 , 0x02 , 0x12 , 0x0d , 0x0a , 0x09 , 0x52 , 0x45 , 0x4d , 0x45 , 0x44 , 0x49 , 0x41 ,
0x54 , 0x45 , 0x10 , 0x03 , 0x32 , 0xb8 , 0x03 , 0x0a , 0x08 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 ,
0x72 , 0x12 , 0x42 , 0x0a , 0x07 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x12 , 0x19 , 0x2e , 0x70 ,
0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 ,
0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x1a , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 ,
0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f ,
0x6e , 0x73 , 0x65 , 0x22 , 0x00 , 0x12 , 0x4c , 0x0a , 0x0c , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 ,
0x53 , 0x74 , 0x61 , 0x63 , 0x6b , 0x12 , 0x1e , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 ,
0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x53 , 0x74 , 0x61 , 0x63 , 0x6b , 0x52 , 0x65 ,
0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x1a , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 ,
0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 ,
0x65 , 0x22 , 0x00 , 0x12 , 0x46 , 0x0a , 0x09 , 0x52 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 , 0x65 ,
0x12 , 0x19 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 ,
0x6c , 0x79 , 0x7a , 0x65 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x1c , 0x2e , 0x70 , 0x75 ,
0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x52 , 0x65 , 0x6d , 0x65 , 0x64 , 0x69 , 0x61 , 0x74 ,
0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x00 , 0x12 , 0x44 , 0x0a , 0x0f , 0x47 ,
0x65 , 0x74 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x49 , 0x6e , 0x66 , 0x6f , 0x12 , 0x16 ,
0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 ,
0x2e , 0x45 , 0x6d , 0x70 , 0x74 , 0x79 , 0x1a , 0x17 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 ,
0x70 , 0x63 , 0x2e , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x49 , 0x6e , 0x66 , 0x6f , 0x22 ,
0x00 , 0x12 , 0x40 , 0x0a , 0x0d , 0x47 , 0x65 , 0x74 , 0x50 , 0x6c , 0x75 , 0x67 , 0x69 , 0x6e , 0x49 , 0x6e ,
0x66 , 0x6f , 0x12 , 0x16 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 ,
0x6f , 0x62 , 0x75 , 0x66 , 0x2e , 0x45 , 0x6d , 0x70 , 0x74 , 0x79 , 0x1a , 0x15 , 0x2e , 0x70 , 0x75 , 0x6c ,
0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x50 , 0x6c , 0x75 , 0x67 , 0x69 , 0x6e , 0x49 , 0x6e , 0x66 ,
0x6f , 0x22 , 0x00 , 0x12 , 0x4a , 0x0a , 0x09 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x75 , 0x72 , 0x65 ,
0x12 , 0x23 , 0x2e , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x2e , 0x43 , 0x6f , 0x6e ,
0x66 , 0x69 , 0x67 , 0x75 , 0x72 , 0x65 , 0x41 , 0x6e , 0x61 , 0x6c , 0x79 , 0x7a , 0x65 , 0x72 , 0x52 , 0x65 ,
0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x16 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 ,
0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2e , 0x45 , 0x6d , 0x70 , 0x74 , 0x79 , 0x22 , 0x00 , 0x42 ,
0x34 , 0x5a , 0x32 , 0x67 , 0x69 , 0x74 , 0x68 , 0x75 , 0x62 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x70 , 0x75 ,
0x6c , 0x75 , 0x6d , 0x69 , 0x2f , 0x70 , 0x75 , 0x6c , 0x75 , 0x6d , 0x69 , 0x2f , 0x73 , 0x64 , 0x6b , 0x2f ,
0x76 , 0x33 , 0x2f , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x2f , 0x67 , 0x6f , 0x3b , 0x70 , 0x75 , 0x6c , 0x75 ,
0x6d , 0x69 , 0x72 , 0x70 , 0x63 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
2022-06-11 07:52:24 +00:00
}
var (
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_rawDescOnce sync . Once
file_pulumi_analyzer_proto_rawDescData = file_pulumi_analyzer_proto_rawDesc
2022-06-11 07:52:24 +00:00
)
2022-07-12 13:45:03 +00:00
func file_pulumi_analyzer_proto_rawDescGZIP ( ) [ ] byte {
file_pulumi_analyzer_proto_rawDescOnce . Do ( func ( ) {
file_pulumi_analyzer_proto_rawDescData = protoimpl . X . CompressGZIP ( file_pulumi_analyzer_proto_rawDescData )
2022-06-11 07:52:24 +00:00
} )
2022-07-12 13:45:03 +00:00
return file_pulumi_analyzer_proto_rawDescData
2022-06-11 07:52:24 +00:00
}
2023-03-04 22:11:52 +00:00
var file_pulumi_analyzer_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 1 )
2023-10-09 18:31:17 +00:00
var file_pulumi_analyzer_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 19 )
2023-03-04 22:11:52 +00:00
var file_pulumi_analyzer_proto_goTypes = [ ] interface { } {
( EnforcementLevel ) ( 0 ) , // 0: pulumirpc.EnforcementLevel
( * AnalyzeRequest ) ( nil ) , // 1: pulumirpc.AnalyzeRequest
( * AnalyzerResource ) ( nil ) , // 2: pulumirpc.AnalyzerResource
( * AnalyzerResourceOptions ) ( nil ) , // 3: pulumirpc.AnalyzerResourceOptions
( * AnalyzerProviderResource ) ( nil ) , // 4: pulumirpc.AnalyzerProviderResource
( * AnalyzerPropertyDependencies ) ( nil ) , // 5: pulumirpc.AnalyzerPropertyDependencies
( * AnalyzeStackRequest ) ( nil ) , // 6: pulumirpc.AnalyzeStackRequest
( * AnalyzeResponse ) ( nil ) , // 7: pulumirpc.AnalyzeResponse
( * AnalyzeDiagnostic ) ( nil ) , // 8: pulumirpc.AnalyzeDiagnostic
2023-10-09 18:31:17 +00:00
( * Remediation ) ( nil ) , // 9: pulumirpc.Remediation
( * RemediateResponse ) ( nil ) , // 10: pulumirpc.RemediateResponse
( * AnalyzerInfo ) ( nil ) , // 11: pulumirpc.AnalyzerInfo
( * PolicyInfo ) ( nil ) , // 12: pulumirpc.PolicyInfo
( * PolicyConfigSchema ) ( nil ) , // 13: pulumirpc.PolicyConfigSchema
( * PolicyConfig ) ( nil ) , // 14: pulumirpc.PolicyConfig
( * ConfigureAnalyzerRequest ) ( nil ) , // 15: pulumirpc.ConfigureAnalyzerRequest
nil , // 16: pulumirpc.AnalyzerResource.PropertyDependenciesEntry
( * AnalyzerResourceOptions_CustomTimeouts ) ( nil ) , // 17: pulumirpc.AnalyzerResourceOptions.CustomTimeouts
nil , // 18: pulumirpc.AnalyzerInfo.InitialConfigEntry
nil , // 19: pulumirpc.ConfigureAnalyzerRequest.PolicyConfigEntry
( * structpb . Struct ) ( nil ) , // 20: google.protobuf.Struct
( * emptypb . Empty ) ( nil ) , // 21: google.protobuf.Empty
( * PluginInfo ) ( nil ) , // 22: pulumirpc.PluginInfo
2023-03-04 22:11:52 +00:00
}
2022-07-12 13:45:03 +00:00
var file_pulumi_analyzer_proto_depIdxs = [ ] int32 {
2023-10-09 18:31:17 +00:00
20 , // 0: pulumirpc.AnalyzeRequest.properties:type_name -> google.protobuf.Struct
2022-06-11 07:52:24 +00:00
3 , // 1: pulumirpc.AnalyzeRequest.options:type_name -> pulumirpc.AnalyzerResourceOptions
4 , // 2: pulumirpc.AnalyzeRequest.provider:type_name -> pulumirpc.AnalyzerProviderResource
2023-10-09 18:31:17 +00:00
20 , // 3: pulumirpc.AnalyzerResource.properties:type_name -> google.protobuf.Struct
2022-06-11 07:52:24 +00:00
3 , // 4: pulumirpc.AnalyzerResource.options:type_name -> pulumirpc.AnalyzerResourceOptions
4 , // 5: pulumirpc.AnalyzerResource.provider:type_name -> pulumirpc.AnalyzerProviderResource
2023-10-09 18:31:17 +00:00
16 , // 6: pulumirpc.AnalyzerResource.propertyDependencies:type_name -> pulumirpc.AnalyzerResource.PropertyDependenciesEntry
17 , // 7: pulumirpc.AnalyzerResourceOptions.customTimeouts:type_name -> pulumirpc.AnalyzerResourceOptions.CustomTimeouts
20 , // 8: pulumirpc.AnalyzerProviderResource.properties:type_name -> google.protobuf.Struct
2022-06-11 07:52:24 +00:00
2 , // 9: pulumirpc.AnalyzeStackRequest.resources:type_name -> pulumirpc.AnalyzerResource
8 , // 10: pulumirpc.AnalyzeResponse.diagnostics:type_name -> pulumirpc.AnalyzeDiagnostic
0 , // 11: pulumirpc.AnalyzeDiagnostic.enforcementLevel:type_name -> pulumirpc.EnforcementLevel
2023-10-09 18:31:17 +00:00
20 , // 12: pulumirpc.Remediation.properties:type_name -> google.protobuf.Struct
9 , // 13: pulumirpc.RemediateResponse.remediations:type_name -> pulumirpc.Remediation
12 , // 14: pulumirpc.AnalyzerInfo.policies:type_name -> pulumirpc.PolicyInfo
18 , // 15: pulumirpc.AnalyzerInfo.initialConfig:type_name -> pulumirpc.AnalyzerInfo.InitialConfigEntry
0 , // 16: pulumirpc.PolicyInfo.enforcementLevel:type_name -> pulumirpc.EnforcementLevel
13 , // 17: pulumirpc.PolicyInfo.configSchema:type_name -> pulumirpc.PolicyConfigSchema
20 , // 18: pulumirpc.PolicyConfigSchema.properties:type_name -> google.protobuf.Struct
0 , // 19: pulumirpc.PolicyConfig.enforcementLevel:type_name -> pulumirpc.EnforcementLevel
20 , // 20: pulumirpc.PolicyConfig.properties:type_name -> google.protobuf.Struct
19 , // 21: pulumirpc.ConfigureAnalyzerRequest.policyConfig:type_name -> pulumirpc.ConfigureAnalyzerRequest.PolicyConfigEntry
5 , // 22: pulumirpc.AnalyzerResource.PropertyDependenciesEntry.value:type_name -> pulumirpc.AnalyzerPropertyDependencies
14 , // 23: pulumirpc.AnalyzerInfo.InitialConfigEntry.value:type_name -> pulumirpc.PolicyConfig
14 , // 24: pulumirpc.ConfigureAnalyzerRequest.PolicyConfigEntry.value:type_name -> pulumirpc.PolicyConfig
1 , // 25: pulumirpc.Analyzer.Analyze:input_type -> pulumirpc.AnalyzeRequest
6 , // 26: pulumirpc.Analyzer.AnalyzeStack:input_type -> pulumirpc.AnalyzeStackRequest
1 , // 27: pulumirpc.Analyzer.Remediate:input_type -> pulumirpc.AnalyzeRequest
21 , // 28: pulumirpc.Analyzer.GetAnalyzerInfo:input_type -> google.protobuf.Empty
21 , // 29: pulumirpc.Analyzer.GetPluginInfo:input_type -> google.protobuf.Empty
15 , // 30: pulumirpc.Analyzer.Configure:input_type -> pulumirpc.ConfigureAnalyzerRequest
7 , // 31: pulumirpc.Analyzer.Analyze:output_type -> pulumirpc.AnalyzeResponse
7 , // 32: pulumirpc.Analyzer.AnalyzeStack:output_type -> pulumirpc.AnalyzeResponse
10 , // 33: pulumirpc.Analyzer.Remediate:output_type -> pulumirpc.RemediateResponse
11 , // 34: pulumirpc.Analyzer.GetAnalyzerInfo:output_type -> pulumirpc.AnalyzerInfo
22 , // 35: pulumirpc.Analyzer.GetPluginInfo:output_type -> pulumirpc.PluginInfo
21 , // 36: pulumirpc.Analyzer.Configure:output_type -> google.protobuf.Empty
31 , // [31:37] is the sub-list for method output_type
25 , // [25:31] is the sub-list for method input_type
25 , // [25:25] is the sub-list for extension type_name
25 , // [25:25] is the sub-list for extension extendee
0 , // [0:25] is the sub-list for field type_name
2022-06-11 07:52:24 +00:00
}
2022-07-12 13:45:03 +00:00
func init ( ) { file_pulumi_analyzer_proto_init ( ) }
func file_pulumi_analyzer_proto_init ( ) {
if File_pulumi_analyzer_proto != nil {
2022-06-11 07:52:24 +00:00
return
}
2022-07-12 13:45:03 +00:00
file_pulumi_plugin_proto_init ( )
2022-06-11 07:52:24 +00:00
if ! protoimpl . UnsafeEnabled {
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 0 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzeRequest ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 1 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzerResource ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 2 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzerResourceOptions ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 3 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzerProviderResource ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 4 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzerPropertyDependencies ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 5 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzeStackRequest ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 6 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzeResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 7 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzeDiagnostic ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 8 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-10-09 18:31:17 +00:00
switch v := v . ( * Remediation ) ; i {
2022-06-11 07:52:24 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 9 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-10-09 18:31:17 +00:00
switch v := v . ( * RemediateResponse ) ; i {
2022-06-11 07:52:24 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 10 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-10-09 18:31:17 +00:00
switch v := v . ( * AnalyzerInfo ) ; i {
2022-06-11 07:52:24 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 11 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-10-09 18:31:17 +00:00
switch v := v . ( * PolicyInfo ) ; i {
2022-06-11 07:52:24 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 12 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-10-09 18:31:17 +00:00
switch v := v . ( * PolicyConfigSchema ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_pulumi_analyzer_proto_msgTypes [ 13 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * PolicyConfig ) ; i {
2022-06-11 07:52:24 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2022-07-12 13:45:03 +00:00
file_pulumi_analyzer_proto_msgTypes [ 14 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-10-09 18:31:17 +00:00
switch v := v . ( * ConfigureAnalyzerRequest ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_pulumi_analyzer_proto_msgTypes [ 16 ] . Exporter = func ( v interface { } , i int ) interface { } {
2022-06-11 07:52:24 +00:00
switch v := v . ( * AnalyzerResourceOptions_CustomTimeouts ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
}
type x struct { }
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
2022-07-12 13:45:03 +00:00
RawDescriptor : file_pulumi_analyzer_proto_rawDesc ,
2022-06-11 07:52:24 +00:00
NumEnums : 1 ,
2023-10-09 18:31:17 +00:00
NumMessages : 19 ,
2022-06-11 07:52:24 +00:00
NumExtensions : 0 ,
NumServices : 1 ,
} ,
2022-07-12 13:45:03 +00:00
GoTypes : file_pulumi_analyzer_proto_goTypes ,
DependencyIndexes : file_pulumi_analyzer_proto_depIdxs ,
EnumInfos : file_pulumi_analyzer_proto_enumTypes ,
MessageInfos : file_pulumi_analyzer_proto_msgTypes ,
2022-06-11 07:52:24 +00:00
} . Build ( )
2022-07-12 13:45:03 +00:00
File_pulumi_analyzer_proto = out . File
file_pulumi_analyzer_proto_rawDesc = nil
file_pulumi_analyzer_proto_goTypes = nil
file_pulumi_analyzer_proto_depIdxs = nil
Add basic analyzer support
This change introduces the basic requirements for analyzers, as per
pulumi/coconut#119. In particular, an analyzer can implement either,
or both, of the RPC methods, Analyze and AnalyzeResource. The former
is meant to check an overall deployment (e.g., to ensure it has been
signed off on) and the latter is to check individual resources (e.g.,
to ensure properties of them are correct, such as checking style,
security, etc. rules). These run simultaneous to overall checking.
Analyzers are loaded as plugins just like providers are. The difference
is mainly in their naming ("analyzer-" prefix, rather than "resource-"),
and the RPC methods that they support.
This isn't 100% functional since we need a way to specify at the CLI
that a particular analyzer should be run, in addition to a way of
recording which analyzers certain projects should use in their manifests.
2017-03-11 07:49:17 +00:00
}