v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_attestation_policy_v1alpha1_attestation_policy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APKubernetes

type APKubernetes struct {
	NamespaceSelector *APLabelSelector `protobuf:"bytes,1,opt,name=namespace_selector,json=namespaceSelector,proto3,oneof" json:"namespace_selector,omitempty"`
	PodSelector       *APLabelSelector `protobuf:"bytes,2,opt,name=pod_selector,json=podSelector,proto3,oneof" json:"pod_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*APKubernetes) Descriptor deprecated

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

Deprecated: Use APKubernetes.ProtoReflect.Descriptor instead.

func (*APKubernetes) GetNamespaceSelector

func (x *APKubernetes) GetNamespaceSelector() *APLabelSelector

func (*APKubernetes) GetPodSelector

func (x *APKubernetes) GetPodSelector() *APLabelSelector

func (*APKubernetes) ProtoMessage

func (*APKubernetes) ProtoMessage()

func (*APKubernetes) ProtoReflect

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

func (*APKubernetes) Reset

func (x *APKubernetes) Reset()

func (*APKubernetes) String

func (x *APKubernetes) String() string

type APLabelSelector

type APLabelSelector struct {
	MatchLabels      map[string]string    `` /* 182-byte string literal not displayed */
	MatchExpressions []*APMatchExpression `protobuf:"bytes,2,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
	// contains filtered or unexported fields
}

This definition has been adapted from the LabelSelector message in Kubernetes. https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto

func (*APLabelSelector) Descriptor deprecated

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

Deprecated: Use APLabelSelector.ProtoReflect.Descriptor instead.

func (*APLabelSelector) GetMatchExpressions

func (x *APLabelSelector) GetMatchExpressions() []*APMatchExpression

func (*APLabelSelector) GetMatchLabels

func (x *APLabelSelector) GetMatchLabels() map[string]string

func (*APLabelSelector) ProtoMessage

func (*APLabelSelector) ProtoMessage()

func (*APLabelSelector) ProtoReflect

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

func (*APLabelSelector) Reset

func (x *APLabelSelector) Reset()

func (*APLabelSelector) String

func (x *APLabelSelector) String() string

type APMatchExpression

type APMatchExpression struct {
	Key      string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Operator string   `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Values   []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*APMatchExpression) Descriptor deprecated

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

Deprecated: Use APMatchExpression.ProtoReflect.Descriptor instead.

func (*APMatchExpression) GetKey

func (x *APMatchExpression) GetKey() string

func (*APMatchExpression) GetOperator

func (x *APMatchExpression) GetOperator() string

func (*APMatchExpression) GetValues

func (x *APMatchExpression) GetValues() []string

func (*APMatchExpression) ProtoMessage

func (*APMatchExpression) ProtoMessage()

func (*APMatchExpression) ProtoReflect

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

func (*APMatchExpression) Reset

func (x *APMatchExpression) Reset()

func (*APMatchExpression) String

func (x *APMatchExpression) String() string

type AttestationPolicy

type AttestationPolicy struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Policy:
	//
	//	*AttestationPolicy_Kubernetes
	Policy isAttestationPolicy_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

func (*AttestationPolicy) Descriptor deprecated

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

Deprecated: Use AttestationPolicy.ProtoReflect.Descriptor instead.

func (*AttestationPolicy) GetKubernetes

func (x *AttestationPolicy) GetKubernetes() *APKubernetes

func (*AttestationPolicy) GetName

func (x *AttestationPolicy) GetName() string

func (*AttestationPolicy) GetPolicy

func (m *AttestationPolicy) GetPolicy() isAttestationPolicy_Policy

func (*AttestationPolicy) ProtoMessage

func (*AttestationPolicy) ProtoMessage()

func (*AttestationPolicy) ProtoReflect

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

func (*AttestationPolicy) Reset

func (x *AttestationPolicy) Reset()

func (*AttestationPolicy) String

func (x *AttestationPolicy) String() string

type AttestationPolicy_Kubernetes

type AttestationPolicy_Kubernetes struct {
	Kubernetes *APKubernetes `protobuf:"bytes,2,opt,name=kubernetes,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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