invocation_policy

package
v1.508.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bazel_invocation_policy_invocation_policy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllowValues

type AllowValues struct {
	AllowedValues []string `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues" json:"allowed_values,omitempty"`
	// Types that are assignable to ReplacementValue:
	//
	//	*AllowValues_NewValue
	//	*AllowValues_UseDefault
	ReplacementValue isAllowValues_ReplacementValue `protobuf_oneof:"replacement_value"`
	// contains filtered or unexported fields
}

func (*AllowValues) Descriptor deprecated

func (*AllowValues) Descriptor() ([]byte, []int)

Deprecated: Use AllowValues.ProtoReflect.Descriptor instead.

func (*AllowValues) GetAllowedValues

func (x *AllowValues) GetAllowedValues() []string

func (*AllowValues) GetNewValue

func (x *AllowValues) GetNewValue() string

func (*AllowValues) GetReplacementValue

func (m *AllowValues) GetReplacementValue() isAllowValues_ReplacementValue

func (*AllowValues) GetUseDefault

func (x *AllowValues) GetUseDefault() *UseDefault

func (*AllowValues) ProtoMessage

func (*AllowValues) ProtoMessage()

func (*AllowValues) ProtoReflect

func (x *AllowValues) ProtoReflect() protoreflect.Message

func (*AllowValues) Reset

func (x *AllowValues) Reset()

func (*AllowValues) String

func (x *AllowValues) String() string

type AllowValues_NewValue

type AllowValues_NewValue struct {
	NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,oneof"`
}

type AllowValues_UseDefault

type AllowValues_UseDefault struct {
	UseDefault *UseDefault `protobuf:"bytes,4,opt,name=use_default,json=useDefault,oneof"`
}

type DisallowValues

type DisallowValues struct {
	DisallowedValues []string `protobuf:"bytes,1,rep,name=disallowed_values,json=disallowedValues" json:"disallowed_values,omitempty"`
	// Types that are assignable to ReplacementValue:
	//
	//	*DisallowValues_NewValue
	//	*DisallowValues_UseDefault
	ReplacementValue isDisallowValues_ReplacementValue `protobuf_oneof:"replacement_value"`
	// contains filtered or unexported fields
}

func (*DisallowValues) Descriptor deprecated

func (*DisallowValues) Descriptor() ([]byte, []int)

Deprecated: Use DisallowValues.ProtoReflect.Descriptor instead.

func (*DisallowValues) GetDisallowedValues

func (x *DisallowValues) GetDisallowedValues() []string

func (*DisallowValues) GetNewValue

func (x *DisallowValues) GetNewValue() string

func (*DisallowValues) GetReplacementValue

func (m *DisallowValues) GetReplacementValue() isDisallowValues_ReplacementValue

func (*DisallowValues) GetUseDefault

func (x *DisallowValues) GetUseDefault() *UseDefault

func (*DisallowValues) ProtoMessage

func (*DisallowValues) ProtoMessage()

func (*DisallowValues) ProtoReflect

func (x *DisallowValues) ProtoReflect() protoreflect.Message

func (*DisallowValues) Reset

func (x *DisallowValues) Reset()

func (*DisallowValues) String

func (x *DisallowValues) String() string

type DisallowValues_NewValue

type DisallowValues_NewValue struct {
	NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,oneof"`
}

type DisallowValues_UseDefault

type DisallowValues_UseDefault struct {
	UseDefault *UseDefault `protobuf:"bytes,4,opt,name=use_default,json=useDefault,oneof"`
}

type FlagPolicy

type FlagPolicy struct {
	FlagName *string  `protobuf:"bytes,1,opt,name=flag_name,json=flagName" json:"flag_name,omitempty"`
	Commands []string `protobuf:"bytes,2,rep,name=commands" json:"commands,omitempty"`
	// Types that are assignable to Operation:
	//
	//	*FlagPolicy_SetValue
	//	*FlagPolicy_UseDefault
	//	*FlagPolicy_DisallowValues
	//	*FlagPolicy_AllowValues
	Operation isFlagPolicy_Operation `protobuf_oneof:"operation"`
	// contains filtered or unexported fields
}

func (*FlagPolicy) Descriptor deprecated

func (*FlagPolicy) Descriptor() ([]byte, []int)

Deprecated: Use FlagPolicy.ProtoReflect.Descriptor instead.

func (*FlagPolicy) GetAllowValues

func (x *FlagPolicy) GetAllowValues() *AllowValues

func (*FlagPolicy) GetCommands

func (x *FlagPolicy) GetCommands() []string

func (*FlagPolicy) GetDisallowValues

func (x *FlagPolicy) GetDisallowValues() *DisallowValues

func (*FlagPolicy) GetFlagName

func (x *FlagPolicy) GetFlagName() string

func (*FlagPolicy) GetOperation

func (m *FlagPolicy) GetOperation() isFlagPolicy_Operation

func (*FlagPolicy) GetSetValue

func (x *FlagPolicy) GetSetValue() *SetValue

func (*FlagPolicy) GetUseDefault

func (x *FlagPolicy) GetUseDefault() *UseDefault

func (*FlagPolicy) ProtoMessage

func (*FlagPolicy) ProtoMessage()

func (*FlagPolicy) ProtoReflect

func (x *FlagPolicy) ProtoReflect() protoreflect.Message

func (*FlagPolicy) Reset

func (x *FlagPolicy) Reset()

func (*FlagPolicy) String

func (x *FlagPolicy) String() string

type FlagPolicy_AllowValues

type FlagPolicy_AllowValues struct {
	AllowValues *AllowValues `protobuf:"bytes,6,opt,name=allow_values,json=allowValues,oneof"`
}

type FlagPolicy_DisallowValues

type FlagPolicy_DisallowValues struct {
	DisallowValues *DisallowValues `protobuf:"bytes,5,opt,name=disallow_values,json=disallowValues,oneof"`
}

type FlagPolicy_SetValue

type FlagPolicy_SetValue struct {
	SetValue *SetValue `protobuf:"bytes,3,opt,name=set_value,json=setValue,oneof"`
}

type FlagPolicy_UseDefault

type FlagPolicy_UseDefault struct {
	UseDefault *UseDefault `protobuf:"bytes,4,opt,name=use_default,json=useDefault,oneof"`
}

type InvocationPolicy

type InvocationPolicy struct {
	FlagPolicies []*FlagPolicy `protobuf:"bytes,1,rep,name=flag_policies,json=flagPolicies" json:"flag_policies,omitempty"`
	// contains filtered or unexported fields
}

func (*InvocationPolicy) Descriptor deprecated

func (*InvocationPolicy) Descriptor() ([]byte, []int)

Deprecated: Use InvocationPolicy.ProtoReflect.Descriptor instead.

func (*InvocationPolicy) GetFlagPolicies

func (x *InvocationPolicy) GetFlagPolicies() []*FlagPolicy

func (*InvocationPolicy) ProtoMessage

func (*InvocationPolicy) ProtoMessage()

func (*InvocationPolicy) ProtoReflect

func (x *InvocationPolicy) ProtoReflect() protoreflect.Message

func (*InvocationPolicy) Reset

func (x *InvocationPolicy) Reset()

func (*InvocationPolicy) String

func (x *InvocationPolicy) String() string

type SetValue

type SetValue struct {
	FlagValue   []string `protobuf:"bytes,1,rep,name=flag_value,json=flagValue" json:"flag_value,omitempty"`
	Overridable *bool    `protobuf:"varint,2,opt,name=overridable" json:"overridable,omitempty"`
	Append      *bool    `protobuf:"varint,3,opt,name=append" json:"append,omitempty"`
	// contains filtered or unexported fields
}

func (*SetValue) Descriptor deprecated

func (*SetValue) Descriptor() ([]byte, []int)

Deprecated: Use SetValue.ProtoReflect.Descriptor instead.

func (*SetValue) GetAppend

func (x *SetValue) GetAppend() bool

func (*SetValue) GetFlagValue

func (x *SetValue) GetFlagValue() []string

func (*SetValue) GetOverridable

func (x *SetValue) GetOverridable() bool

func (*SetValue) ProtoMessage

func (*SetValue) ProtoMessage()

func (*SetValue) ProtoReflect

func (x *SetValue) ProtoReflect() protoreflect.Message

func (*SetValue) Reset

func (x *SetValue) Reset()

func (*SetValue) String

func (x *SetValue) String() string

type UseDefault

type UseDefault struct {
	// contains filtered or unexported fields
}

func (*UseDefault) Descriptor deprecated

func (*UseDefault) Descriptor() ([]byte, []int)

Deprecated: Use UseDefault.ProtoReflect.Descriptor instead.

func (*UseDefault) ProtoMessage

func (*UseDefault) ProtoMessage()

func (*UseDefault) ProtoReflect

func (x *UseDefault) ProtoReflect() protoreflect.Message

func (*UseDefault) Reset

func (x *UseDefault) Reset()

func (*UseDefault) String

func (x *UseDefault) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL