v1beta1

package
v0.0.244 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvisoryApplyConfiguration

type AdvisoryApplyConfiguration struct {
	ID   *string `json:"id,omitempty"`
	Link *string `json:"link,omitempty"`
}

AdvisoryApplyConfiguration represents a declarative configuration of the Advisory type for use with apply.

func Advisory

func Advisory() *AdvisoryApplyConfiguration

AdvisoryApplyConfiguration constructs a declarative configuration of the Advisory type for use with apply.

func (*AdvisoryApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

WithLink sets the Link field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Link field is set to the value of the last call.

type ApplicationProfileApplyConfiguration

type ApplicationProfileApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ApplicationProfileSpecApplyConfiguration            `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.ApplicationProfileStatus `json:"status,omitempty"`
}

ApplicationProfileApplyConfiguration represents a declarative configuration of the ApplicationProfile type for use with apply.

func ApplicationProfile

func ApplicationProfile(name, namespace string) *ApplicationProfileApplyConfiguration

ApplicationProfile constructs a declarative configuration of the ApplicationProfile type for use with apply.

func (*ApplicationProfileApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *ApplicationProfileApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ApplicationProfileApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ApplicationProfileApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ApplicationProfileApplyConfiguration) GetNamespace added in v0.0.221

func (b *ApplicationProfileApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ApplicationProfileApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b ApplicationProfileApplyConfiguration) IsApplyConfiguration()

func (*ApplicationProfileApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ApplicationProfileApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ApplicationProfileApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ApplicationProfileApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ApplicationProfileApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ApplicationProfileApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ApplicationProfileApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ApplicationProfileApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ApplicationProfileContainerApplyConfiguration

type ApplicationProfileContainerApplyConfiguration struct {
	Name                 *string                                 `json:"name,omitempty"`
	Capabilities         []string                                `json:"capabilities,omitempty"`
	Execs                []ExecCallsApplyConfiguration           `json:"execs,omitempty"`
	Opens                []OpenCallsApplyConfiguration           `json:"opens,omitempty"`
	Syscalls             []string                                `json:"syscalls,omitempty"`
	SeccompProfile       *SingleSeccompProfileApplyConfiguration `json:"seccompProfile,omitempty"`
	Endpoints            []HTTPEndpointApplyConfiguration        `json:"endpoints,omitempty"`
	ImageID              *string                                 `json:"imageID,omitempty"`
	ImageTag             *string                                 `json:"imageTag,omitempty"`
	PolicyByRuleId       map[string]RulePolicyApplyConfiguration `json:"rulePolicies,omitempty"`
	IdentifiedCallStacks []IdentifiedCallStackApplyConfiguration `json:"identifiedCallStacks,omitempty"`
}

ApplicationProfileContainerApplyConfiguration represents a declarative configuration of the ApplicationProfileContainer type for use with apply.

func ApplicationProfileContainer

func ApplicationProfileContainer() *ApplicationProfileContainerApplyConfiguration

ApplicationProfileContainerApplyConfiguration constructs a declarative configuration of the ApplicationProfileContainer type for use with apply.

func (*ApplicationProfileContainerApplyConfiguration) WithCapabilities

WithCapabilities adds the given value to the Capabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Capabilities field.

func (*ApplicationProfileContainerApplyConfiguration) WithEndpoints

WithEndpoints adds the given value to the Endpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Endpoints field.

func (*ApplicationProfileContainerApplyConfiguration) WithExecs

WithExecs adds the given value to the Execs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Execs field.

func (*ApplicationProfileContainerApplyConfiguration) WithIdentifiedCallStacks

WithIdentifiedCallStacks adds the given value to the IdentifiedCallStacks field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IdentifiedCallStacks field.

func (*ApplicationProfileContainerApplyConfiguration) WithImageID

WithImageID sets the ImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageID field is set to the value of the last call.

func (*ApplicationProfileContainerApplyConfiguration) WithImageTag

WithImageTag sets the ImageTag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageTag field is set to the value of the last call.

func (*ApplicationProfileContainerApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ApplicationProfileContainerApplyConfiguration) WithOpens

WithOpens adds the given value to the Opens field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Opens field.

func (*ApplicationProfileContainerApplyConfiguration) WithPolicyByRuleId

WithPolicyByRuleId puts the entries into the PolicyByRuleId field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the PolicyByRuleId field, overwriting an existing map entries in PolicyByRuleId field with the same key.

func (*ApplicationProfileContainerApplyConfiguration) WithSeccompProfile

WithSeccompProfile sets the SeccompProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SeccompProfile field is set to the value of the last call.

func (*ApplicationProfileContainerApplyConfiguration) WithSyscalls

WithSyscalls adds the given value to the Syscalls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Syscalls field.

type ApplicationProfileSpecApplyConfiguration

type ApplicationProfileSpecApplyConfiguration struct {
	Architectures       []string                                        `json:"architectures,omitempty"`
	Containers          []ApplicationProfileContainerApplyConfiguration `json:"containers,omitempty"`
	InitContainers      []ApplicationProfileContainerApplyConfiguration `json:"initContainers,omitempty"`
	EphemeralContainers []ApplicationProfileContainerApplyConfiguration `json:"ephemeralContainers,omitempty"`
}

ApplicationProfileSpecApplyConfiguration represents a declarative configuration of the ApplicationProfileSpec type for use with apply.

func ApplicationProfileSpec

func ApplicationProfileSpec() *ApplicationProfileSpecApplyConfiguration

ApplicationProfileSpecApplyConfiguration constructs a declarative configuration of the ApplicationProfileSpec type for use with apply.

func (*ApplicationProfileSpecApplyConfiguration) WithArchitectures

WithArchitectures adds the given value to the Architectures field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Architectures field.

func (*ApplicationProfileSpecApplyConfiguration) WithContainers

WithContainers adds the given value to the Containers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Containers field.

func (*ApplicationProfileSpecApplyConfiguration) WithEphemeralContainers

WithEphemeralContainers adds the given value to the EphemeralContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EphemeralContainers field.

func (*ApplicationProfileSpecApplyConfiguration) WithInitContainers

WithInitContainers adds the given value to the InitContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InitContainers field.

type ArgApplyConfiguration

type ArgApplyConfiguration struct {
	// the index for syscall arguments in seccomp
	Index *uint64 `json:"index,omitempty"`
	// the value for syscall arguments in seccomp
	Value *uint64 `json:"value,omitempty"`
	// the value for syscall arguments in seccomp
	ValueTwo *uint64 `json:"valueTwo,omitempty"`
	// the operator for syscall arguments in seccomp
	Op *seccomp.Operator `json:"op,omitempty"`
}

ArgApplyConfiguration represents a declarative configuration of the Arg type for use with apply.

Arg defines the specific syscall in seccomp.

func Arg

func Arg() *ArgApplyConfiguration

ArgApplyConfiguration constructs a declarative configuration of the Arg type for use with apply.

func (*ArgApplyConfiguration) WithIndex

func (b *ArgApplyConfiguration) WithIndex(value uint64) *ArgApplyConfiguration

WithIndex sets the Index field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Index field is set to the value of the last call.

func (*ArgApplyConfiguration) WithOp

WithOp sets the Op field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Op field is set to the value of the last call.

func (*ArgApplyConfiguration) WithValue

func (b *ArgApplyConfiguration) WithValue(value uint64) *ArgApplyConfiguration

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

func (*ArgApplyConfiguration) WithValueTwo

func (b *ArgApplyConfiguration) WithValueTwo(value uint64) *ArgApplyConfiguration

WithValueTwo sets the ValueTwo field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ValueTwo field is set to the value of the last call.

type CPEApplyConfiguration

type CPEApplyConfiguration struct {
	Value  *string `json:"cpe,omitempty"`
	Source *string `json:"source,omitempty"`
}

CPEApplyConfiguration represents a declarative configuration of the CPE type for use with apply.

func CPE

func CPE() *CPEApplyConfiguration

CPEApplyConfiguration constructs a declarative configuration of the CPE type for use with apply.

func (*CPEApplyConfiguration) WithSource

func (b *CPEApplyConfiguration) WithSource(value string) *CPEApplyConfiguration

WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.

func (*CPEApplyConfiguration) WithValue

func (b *CPEApplyConfiguration) WithValue(value string) *CPEApplyConfiguration

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type CallStackApplyConfiguration

type CallStackApplyConfiguration struct {
	Root *CallStackNodeApplyConfiguration `json:"root,omitempty"`
}

CallStackApplyConfiguration represents a declarative configuration of the CallStack type for use with apply.

func CallStack

func CallStack() *CallStackApplyConfiguration

CallStackApplyConfiguration constructs a declarative configuration of the CallStack type for use with apply.

func (*CallStackApplyConfiguration) WithRoot

WithRoot sets the Root field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Root field is set to the value of the last call.

type CallStackNodeApplyConfiguration

type CallStackNodeApplyConfiguration struct {
	Children []CallStackNodeApplyConfiguration `json:"children,omitempty"`
	Frame    *StackFrameApplyConfiguration     `json:"frame,omitempty"`
}

CallStackNodeApplyConfiguration represents a declarative configuration of the CallStackNode type for use with apply.

func CallStackNode

func CallStackNode() *CallStackNodeApplyConfiguration

CallStackNodeApplyConfiguration constructs a declarative configuration of the CallStackNode type for use with apply.

func (*CallStackNodeApplyConfiguration) WithChildren

WithChildren adds the given value to the Children field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Children field.

func (*CallStackNodeApplyConfiguration) WithFrame

WithFrame sets the Frame field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Frame field is set to the value of the last call.

type ComponentApplyConfiguration

type ComponentApplyConfiguration struct {
	// ID is an IRI identifying the component. It is optional as the component
	// can also be identified using hashes or software identifiers.
	ID *string `json:"@id,omitempty"`
	// Hashes is a map of hashes to identify the component using cryptographic
	// hashes.
	Hashes map[softwarecompositionv1beta1.Algorithm]softwarecompositionv1beta1.Hash `json:"hashes,omitempty"`
	// Identifiers is a list of software identifiers that describe the component.
	Identifiers map[softwarecompositionv1beta1.IdentifierType]string `json:"identifiers,omitempty"`
	// Supplier is an optional machine-readable identifier for the supplier of
	// the component. Valid examples include email address or IRIs.
	Supplier *string `json:"supplier,omitempty"`
}

ComponentApplyConfiguration represents a declarative configuration of the Component type for use with apply.

func Component

func Component() *ComponentApplyConfiguration

ComponentApplyConfiguration constructs a declarative configuration of the Component type for use with apply.

func (*ComponentApplyConfiguration) WithHashes

WithHashes puts the entries into the Hashes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Hashes field, overwriting an existing map entries in Hashes field with the same key.

func (*ComponentApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ComponentApplyConfiguration) WithIdentifiers

WithIdentifiers puts the entries into the Identifiers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Identifiers field, overwriting an existing map entries in Identifiers field with the same key.

func (*ComponentApplyConfiguration) WithSupplier

WithSupplier sets the Supplier field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Supplier field is set to the value of the last call.

type ConditionApplyConfiguration

type ConditionApplyConfiguration struct {
	// Type of this condition. At most one of each condition type may apply to
	// a resource at any point in time.
	Type *softwarecompositionv1beta1.ConditionType `json:"type,omitempty"`
	// Status of this condition; is it currently True, False, or Unknown?
	Status *v1.ConditionStatus `json:"status,omitempty"`
	// LastTransitionTime is the last time this condition transitioned from one
	// status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// A Reason for this condition's last transition from one status to another.
	Reason *softwarecompositionv1beta1.ConditionReason `json:"reason,omitempty"`
	// A Message containing details about this condition's last transition from
	// one status to another, if any.
	Message *string `json:"message,omitempty"`
}

ConditionApplyConfiguration represents a declarative configuration of the Condition type for use with apply.

func Condition

func Condition() *ConditionApplyConfiguration

ConditionApplyConfiguration constructs a declarative configuration of the Condition type for use with apply.

func (*ConditionApplyConfiguration) WithLastTransitionTime

func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration

WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.

func (*ConditionApplyConfiguration) WithMessage

WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.

func (*ConditionApplyConfiguration) WithReason

WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.

func (*ConditionApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ConditionApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type ConditionedStatusApplyConfiguration

type ConditionedStatusApplyConfiguration struct {
	// Conditions of the resource.
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

ConditionedStatusApplyConfiguration represents a declarative configuration of the ConditionedStatus type for use with apply.

func ConditionedStatus

func ConditionedStatus() *ConditionedStatusApplyConfiguration

ConditionedStatusApplyConfiguration constructs a declarative configuration of the ConditionedStatus type for use with apply.

func (*ConditionedStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

type ConfigurationScanSummaryApplyConfiguration

type ConfigurationScanSummaryApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ConfigurationScanSummarySpecApplyConfiguration `json:"spec,omitempty"`
}

ConfigurationScanSummaryApplyConfiguration represents a declarative configuration of the ConfigurationScanSummary type for use with apply.

ConfigurationScanSummary is a summary for a group of WorkloadConfigurationScanSummary objects for a given scope (ex. namespace).

func ConfigurationScanSummary

func ConfigurationScanSummary(name, namespace string) *ConfigurationScanSummaryApplyConfiguration

ConfigurationScanSummary constructs a declarative configuration of the ConfigurationScanSummary type for use with apply.

func (*ConfigurationScanSummaryApplyConfiguration) GetAPIVersion added in v0.0.221

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ConfigurationScanSummaryApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ConfigurationScanSummaryApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ConfigurationScanSummaryApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ConfigurationScanSummaryApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b ConfigurationScanSummaryApplyConfiguration) IsApplyConfiguration()

func (*ConfigurationScanSummaryApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ConfigurationScanSummaryApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ConfigurationScanSummaryApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ConfigurationScanSummaryApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ConfigurationScanSummaryApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ConfigurationScanSummaryApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ConfigurationScanSummarySpecApplyConfiguration

type ConfigurationScanSummarySpecApplyConfiguration struct {
	Severities                                  *WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration  `json:"severities,omitempty"`
	WorkloadConfigurationScanSummaryIdentifiers []WorkloadConfigurationScanSummaryIdentifierApplyConfiguration `json:"summaryRef,omitempty"`
}

ConfigurationScanSummarySpecApplyConfiguration represents a declarative configuration of the ConfigurationScanSummarySpec type for use with apply.

func ConfigurationScanSummarySpec

func ConfigurationScanSummarySpec() *ConfigurationScanSummarySpecApplyConfiguration

ConfigurationScanSummarySpecApplyConfiguration constructs a declarative configuration of the ConfigurationScanSummarySpec type for use with apply.

func (*ConfigurationScanSummarySpecApplyConfiguration) WithSeverities

WithSeverities sets the Severities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severities field is set to the value of the last call.

func (*ConfigurationScanSummarySpecApplyConfiguration) WithWorkloadConfigurationScanSummaryIdentifiers

WithWorkloadConfigurationScanSummaryIdentifiers adds the given value to the WorkloadConfigurationScanSummaryIdentifiers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WorkloadConfigurationScanSummaryIdentifiers field.

type ContainerProfileApplyConfiguration

type ContainerProfileApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ContainerProfileSpecApplyConfiguration            `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.ContainerProfileStatus `json:"status,omitempty"`
}

ContainerProfileApplyConfiguration represents a declarative configuration of the ContainerProfile type for use with apply.

func ContainerProfile

func ContainerProfile(name, namespace string) *ContainerProfileApplyConfiguration

ContainerProfile constructs a declarative configuration of the ContainerProfile type for use with apply.

func (*ContainerProfileApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *ContainerProfileApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ContainerProfileApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ContainerProfileApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ContainerProfileApplyConfiguration) GetNamespace added in v0.0.221

func (b *ContainerProfileApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ContainerProfileApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b ContainerProfileApplyConfiguration) IsApplyConfiguration()

func (*ContainerProfileApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ContainerProfileApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ContainerProfileApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ContainerProfileApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ContainerProfileApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ContainerProfileApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ContainerProfileApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ContainerProfileApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ContainerProfileSpecApplyConfiguration

type ContainerProfileSpecApplyConfiguration struct {
	// WARNING report fields from ApplicationProfileContainer here
	Architectures        []string                                `json:"architectures,omitempty"`
	Capabilities         []string                                `json:"capabilities,omitempty"`
	Execs                []ExecCallsApplyConfiguration           `json:"execs,omitempty"`
	Opens                []OpenCallsApplyConfiguration           `json:"opens,omitempty"`
	Syscalls             []string                                `json:"syscalls,omitempty"`
	SeccompProfile       *SingleSeccompProfileApplyConfiguration `json:"seccompProfile,omitempty"`
	Endpoints            []HTTPEndpointApplyConfiguration        `json:"endpoints,omitempty"`
	ImageID              *string                                 `json:"imageID,omitempty"`
	ImageTag             *string                                 `json:"imageTag,omitempty"`
	PolicyByRuleId       map[string]RulePolicyApplyConfiguration `json:"rulePolicies,omitempty"`
	IdentifiedCallStacks []IdentifiedCallStackApplyConfiguration `json:"identifiedCallStacks,omitempty"`
	// WARNING report fields from NetworkNeighborhoodContainer here, increment proto IDs by 100
	v1.LabelSelectorApplyConfiguration `json:",inline"`
	Ingress                            []NetworkNeighborApplyConfiguration `json:"ingress,omitempty"`
	Egress                             []NetworkNeighborApplyConfiguration `json:"egress,omitempty"`
}

ContainerProfileSpecApplyConfiguration represents a declarative configuration of the ContainerProfileSpec type for use with apply.

func ContainerProfileSpec

func ContainerProfileSpec() *ContainerProfileSpecApplyConfiguration

ContainerProfileSpecApplyConfiguration constructs a declarative configuration of the ContainerProfileSpec type for use with apply.

func (*ContainerProfileSpecApplyConfiguration) WithArchitectures

WithArchitectures adds the given value to the Architectures field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Architectures field.

func (*ContainerProfileSpecApplyConfiguration) WithCapabilities

WithCapabilities adds the given value to the Capabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Capabilities field.

func (*ContainerProfileSpecApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Egress field.

func (*ContainerProfileSpecApplyConfiguration) WithEndpoints

WithEndpoints adds the given value to the Endpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Endpoints field.

func (*ContainerProfileSpecApplyConfiguration) WithExecs

WithExecs adds the given value to the Execs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Execs field.

func (*ContainerProfileSpecApplyConfiguration) WithIdentifiedCallStacks

WithIdentifiedCallStacks adds the given value to the IdentifiedCallStacks field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IdentifiedCallStacks field.

func (*ContainerProfileSpecApplyConfiguration) WithImageID

WithImageID sets the ImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageID field is set to the value of the last call.

func (*ContainerProfileSpecApplyConfiguration) WithImageTag

WithImageTag sets the ImageTag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageTag field is set to the value of the last call.

func (*ContainerProfileSpecApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.

func (*ContainerProfileSpecApplyConfiguration) WithMatchExpressions

WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchExpressions field.

func (*ContainerProfileSpecApplyConfiguration) WithMatchLabels

WithMatchLabels puts the entries into the MatchLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.

func (*ContainerProfileSpecApplyConfiguration) WithOpens

WithOpens adds the given value to the Opens field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Opens field.

func (*ContainerProfileSpecApplyConfiguration) WithPolicyByRuleId

WithPolicyByRuleId puts the entries into the PolicyByRuleId field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the PolicyByRuleId field, overwriting an existing map entries in PolicyByRuleId field with the same key.

func (*ContainerProfileSpecApplyConfiguration) WithSeccompProfile

WithSeccompProfile sets the SeccompProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SeccompProfile field is set to the value of the last call.

func (*ContainerProfileSpecApplyConfiguration) WithSyscalls

WithSyscalls adds the given value to the Syscalls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Syscalls field.

type ControlSeverityApplyConfiguration

type ControlSeverityApplyConfiguration struct {
	Severity    *string  `json:"severity,omitempty"`
	ScoreFactor *float32 `json:"scoreFactor,omitempty"`
}

ControlSeverityApplyConfiguration represents a declarative configuration of the ControlSeverity type for use with apply.

func ControlSeverity

func ControlSeverity() *ControlSeverityApplyConfiguration

ControlSeverityApplyConfiguration constructs a declarative configuration of the ControlSeverity type for use with apply.

func (*ControlSeverityApplyConfiguration) WithScoreFactor

WithScoreFactor sets the ScoreFactor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScoreFactor field is set to the value of the last call.

func (*ControlSeverityApplyConfiguration) WithSeverity

WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.

type CoordinatesApplyConfiguration

type CoordinatesApplyConfiguration struct {
	RealPath *string `json:"path,omitempty"`
	// The path where all path ancestors have no hardlinks / symlinks
	FileSystemID *string `json:"layerID,omitempty"`
}

CoordinatesApplyConfiguration represents a declarative configuration of the Coordinates type for use with apply.

Coordinates contains the minimal information needed to describe how to find a file within any possible source object (e.g. image and directory sources)

func Coordinates

func Coordinates() *CoordinatesApplyConfiguration

CoordinatesApplyConfiguration constructs a declarative configuration of the Coordinates type for use with apply.

func (*CoordinatesApplyConfiguration) WithFileSystemID

WithFileSystemID sets the FileSystemID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FileSystemID field is set to the value of the last call.

func (*CoordinatesApplyConfiguration) WithRealPath

WithRealPath sets the RealPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RealPath field is set to the value of the last call.

type CvssApplyConfiguration

type CvssApplyConfiguration struct {
	Version        *string                        `json:"version,omitempty"`
	Vector         *string                        `json:"vector,omitempty"`
	Metrics        *CvssMetricsApplyConfiguration `json:"metrics,omitempty"`
	VendorMetadata *json.RawMessage               `json:"vendorMetadata,omitempty"`
}

CvssApplyConfiguration represents a declarative configuration of the Cvss type for use with apply.

func Cvss

func Cvss() *CvssApplyConfiguration

CvssApplyConfiguration constructs a declarative configuration of the Cvss type for use with apply.

func (*CvssApplyConfiguration) WithMetrics

WithMetrics sets the Metrics field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metrics field is set to the value of the last call.

func (*CvssApplyConfiguration) WithVector

WithVector sets the Vector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vector field is set to the value of the last call.

func (*CvssApplyConfiguration) WithVendorMetadata

func (b *CvssApplyConfiguration) WithVendorMetadata(value json.RawMessage) *CvssApplyConfiguration

WithVendorMetadata sets the VendorMetadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VendorMetadata field is set to the value of the last call.

func (*CvssApplyConfiguration) WithVersion

func (b *CvssApplyConfiguration) WithVersion(value string) *CvssApplyConfiguration

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type CvssMetricsApplyConfiguration

type CvssMetricsApplyConfiguration struct {
	BaseScore           *float64 `json:"baseScore,omitempty"`
	ExploitabilityScore *float64 `json:"exploitabilityScore,omitempty"`
	ImpactScore         *float64 `json:"impactScore,omitempty"`
}

CvssMetricsApplyConfiguration represents a declarative configuration of the CvssMetrics type for use with apply.

func CvssMetrics

func CvssMetrics() *CvssMetricsApplyConfiguration

CvssMetricsApplyConfiguration constructs a declarative configuration of the CvssMetrics type for use with apply.

func (*CvssMetricsApplyConfiguration) WithBaseScore

WithBaseScore sets the BaseScore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BaseScore field is set to the value of the last call.

func (*CvssMetricsApplyConfiguration) WithExploitabilityScore

func (b *CvssMetricsApplyConfiguration) WithExploitabilityScore(value float64) *CvssMetricsApplyConfiguration

WithExploitabilityScore sets the ExploitabilityScore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExploitabilityScore field is set to the value of the last call.

func (*CvssMetricsApplyConfiguration) WithImpactScore

WithImpactScore sets the ImpactScore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImpactScore field is set to the value of the last call.

type DescriptorApplyConfiguration

type DescriptorApplyConfiguration struct {
	Name                  *string          `json:"name,omitempty"`
	Version               *string          `json:"version,omitempty"`
	Configuration         *json.RawMessage `json:"configuration,omitempty"`
	VulnerabilityDBStatus *json.RawMessage `json:"db,omitempty"`
}

DescriptorApplyConfiguration represents a declarative configuration of the Descriptor type for use with apply.

func Descriptor

func Descriptor() *DescriptorApplyConfiguration

DescriptorApplyConfiguration constructs a declarative configuration of the Descriptor type for use with apply.

func (*DescriptorApplyConfiguration) WithConfiguration

WithConfiguration sets the Configuration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Configuration field is set to the value of the last call.

func (*DescriptorApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DescriptorApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

func (*DescriptorApplyConfiguration) WithVulnerabilityDBStatus

func (b *DescriptorApplyConfiguration) WithVulnerabilityDBStatus(value json.RawMessage) *DescriptorApplyConfiguration

WithVulnerabilityDBStatus sets the VulnerabilityDBStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VulnerabilityDBStatus field is set to the value of the last call.

type DigestApplyConfiguration

type DigestApplyConfiguration struct {
	Algorithm *string `json:"algorithm,omitempty"`
	Value     *string `json:"value,omitempty"`
}

DigestApplyConfiguration represents a declarative configuration of the Digest type for use with apply.

func Digest

func Digest() *DigestApplyConfiguration

DigestApplyConfiguration constructs a declarative configuration of the Digest type for use with apply.

func (*DigestApplyConfiguration) WithAlgorithm

func (b *DigestApplyConfiguration) WithAlgorithm(value string) *DigestApplyConfiguration

WithAlgorithm sets the Algorithm field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Algorithm field is set to the value of the last call.

func (*DigestApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type DistributionApplyConfiguration

type DistributionApplyConfiguration struct {
	Name    *string  `json:"name,omitempty"`
	Version *string  `json:"version,omitempty"`
	IDLike  []string `json:"idLike,omitempty"`
}

DistributionApplyConfiguration represents a declarative configuration of the Distribution type for use with apply.

func Distribution

func Distribution() *DistributionApplyConfiguration

DistributionApplyConfiguration constructs a declarative configuration of the Distribution type for use with apply.

func (*DistributionApplyConfiguration) WithIDLike

WithIDLike adds the given value to the IDLike field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IDLike field.

func (*DistributionApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DistributionApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type ELFSecurityFeaturesApplyConfiguration

type ELFSecurityFeaturesApplyConfiguration struct {
	SymbolTableStripped           *bool                                          `json:"symbolTableStripped,omitempty"`
	StackCanary                   *bool                                          `json:"stackCanary,omitempty"`
	NoExecutable                  *bool                                          `json:"nx,omitempty"`
	RelocationReadOnly            *softwarecompositionv1beta1.RelocationReadOnly `json:"relRO,omitempty"`
	PositionIndependentExecutable *bool                                          `json:"pie,omitempty"`
	DynamicSharedObject           *bool                                          `json:"dso,omitempty"`
	// LlvmSafeStack represents a compiler-based security mechanism that separates the stack into a safe stack for storing return addresses and other critical data, and an unsafe stack for everything else, to mitigate stack-based memory corruption errors
	// see https://clang.llvm.org/docs/SafeStack.html
	LlvmSafeStack *bool `json:"safeStack,omitempty"`
	// ControlFlowIntegrity represents runtime checks to ensure a program's control flow adheres to the legal paths determined at compile time, thus protecting against various types of control-flow hijacking attacks
	// see https://clang.llvm.org/docs/ControlFlowIntegrity.html
	LlvmControlFlowIntegrity *bool `json:"cfi,omitempty"`
	// ClangFortifySource is a broad suite of extensions to libc aimed at catching misuses of common library functions
	// see https://android.googlesource.com/platform//bionic/+/d192dbecf0b2a371eb127c0871f77a9caf81c4d2/docs/clang_fortify_anatomy.md
	ClangFortifySource *bool `json:"fortify,omitempty"`
}

ELFSecurityFeaturesApplyConfiguration represents a declarative configuration of the ELFSecurityFeatures type for use with apply.

func ELFSecurityFeatures

func ELFSecurityFeatures() *ELFSecurityFeaturesApplyConfiguration

ELFSecurityFeaturesApplyConfiguration constructs a declarative configuration of the ELFSecurityFeatures type for use with apply.

func (*ELFSecurityFeaturesApplyConfiguration) WithClangFortifySource

WithClangFortifySource sets the ClangFortifySource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClangFortifySource field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithDynamicSharedObject

WithDynamicSharedObject sets the DynamicSharedObject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DynamicSharedObject field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithLlvmControlFlowIntegrity

WithLlvmControlFlowIntegrity sets the LlvmControlFlowIntegrity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LlvmControlFlowIntegrity field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithLlvmSafeStack

WithLlvmSafeStack sets the LlvmSafeStack field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LlvmSafeStack field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithNoExecutable

WithNoExecutable sets the NoExecutable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoExecutable field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithPositionIndependentExecutable

func (b *ELFSecurityFeaturesApplyConfiguration) WithPositionIndependentExecutable(value bool) *ELFSecurityFeaturesApplyConfiguration

WithPositionIndependentExecutable sets the PositionIndependentExecutable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PositionIndependentExecutable field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithRelocationReadOnly

WithRelocationReadOnly sets the RelocationReadOnly field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RelocationReadOnly field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithStackCanary

WithStackCanary sets the StackCanary field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StackCanary field is set to the value of the last call.

func (*ELFSecurityFeaturesApplyConfiguration) WithSymbolTableStripped

WithSymbolTableStripped sets the SymbolTableStripped field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SymbolTableStripped field is set to the value of the last call.

type ExecCallsApplyConfiguration

type ExecCallsApplyConfiguration struct {
	Path *string  `json:"path,omitempty"`
	Args []string `json:"args,omitempty"`
	Envs []string `json:"envs,omitempty"`
}

ExecCallsApplyConfiguration represents a declarative configuration of the ExecCalls type for use with apply.

func ExecCalls

func ExecCalls() *ExecCallsApplyConfiguration

ExecCallsApplyConfiguration constructs a declarative configuration of the ExecCalls type for use with apply.

func (*ExecCallsApplyConfiguration) WithArgs

WithArgs adds the given value to the Args field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Args field.

func (*ExecCallsApplyConfiguration) WithEnvs

WithEnvs adds the given value to the Envs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Envs field.

func (*ExecCallsApplyConfiguration) WithPath

WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.

type ExecutableApplyConfiguration

type ExecutableApplyConfiguration struct {
	// Format denotes either ELF, Mach-O, or PE
	Format              *softwarecompositionv1beta1.ExecutableFormat `json:"format,omitempty"`
	HasExports          *bool                                        `json:"hasExports,omitempty"`
	HasEntrypoint       *bool                                        `json:"hasEntrypoint,omitempty"`
	ImportedLibraries   []string                                     `json:"importedLibraries,omitempty"`
	ELFSecurityFeatures *ELFSecurityFeaturesApplyConfiguration       `json:"elfSecurityFeatures,omitempty"`
}

ExecutableApplyConfiguration represents a declarative configuration of the Executable type for use with apply.

func Executable

func Executable() *ExecutableApplyConfiguration

ExecutableApplyConfiguration constructs a declarative configuration of the Executable type for use with apply.

func (*ExecutableApplyConfiguration) WithELFSecurityFeatures

WithELFSecurityFeatures sets the ELFSecurityFeatures field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ELFSecurityFeatures field is set to the value of the last call.

func (*ExecutableApplyConfiguration) WithFormat

WithFormat sets the Format field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Format field is set to the value of the last call.

func (*ExecutableApplyConfiguration) WithHasEntrypoint

func (b *ExecutableApplyConfiguration) WithHasEntrypoint(value bool) *ExecutableApplyConfiguration

WithHasEntrypoint sets the HasEntrypoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasEntrypoint field is set to the value of the last call.

func (*ExecutableApplyConfiguration) WithHasExports

WithHasExports sets the HasExports field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasExports field is set to the value of the last call.

func (*ExecutableApplyConfiguration) WithImportedLibraries

func (b *ExecutableApplyConfiguration) WithImportedLibraries(values ...string) *ExecutableApplyConfiguration

WithImportedLibraries adds the given value to the ImportedLibraries field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ImportedLibraries field.

type FileLicenseApplyConfiguration

type FileLicenseApplyConfiguration struct {
	Value          *string                                 `json:"value,omitempty"`
	SPDXExpression *string                                 `json:"spdxExpression,omitempty"`
	Type           *softwarecompositionv1beta1.LicenseType `json:"type,omitempty"`
	Evidence       *FileLicenseEvidenceApplyConfiguration  `json:"evidence,omitempty"`
}

FileLicenseApplyConfiguration represents a declarative configuration of the FileLicense type for use with apply.

func FileLicense

func FileLicense() *FileLicenseApplyConfiguration

FileLicenseApplyConfiguration constructs a declarative configuration of the FileLicense type for use with apply.

func (*FileLicenseApplyConfiguration) WithEvidence

WithEvidence sets the Evidence field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Evidence field is set to the value of the last call.

func (*FileLicenseApplyConfiguration) WithSPDXExpression

WithSPDXExpression sets the SPDXExpression field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SPDXExpression field is set to the value of the last call.

func (*FileLicenseApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*FileLicenseApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type FileLicenseEvidenceApplyConfiguration

type FileLicenseEvidenceApplyConfiguration struct {
	Confidence *int64 `json:"confidence,omitempty"`
	Offset     *int64 `json:"offset,omitempty"`
	Extent     *int64 `json:"extent,omitempty"`
}

FileLicenseEvidenceApplyConfiguration represents a declarative configuration of the FileLicenseEvidence type for use with apply.

func FileLicenseEvidence

func FileLicenseEvidence() *FileLicenseEvidenceApplyConfiguration

FileLicenseEvidenceApplyConfiguration constructs a declarative configuration of the FileLicenseEvidence type for use with apply.

func (*FileLicenseEvidenceApplyConfiguration) WithConfidence

WithConfidence sets the Confidence field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Confidence field is set to the value of the last call.

func (*FileLicenseEvidenceApplyConfiguration) WithExtent

WithExtent sets the Extent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Extent field is set to the value of the last call.

func (*FileLicenseEvidenceApplyConfiguration) WithOffset

WithOffset sets the Offset field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Offset field is set to the value of the last call.

type FileMetadataEntryApplyConfiguration

type FileMetadataEntryApplyConfiguration struct {
	Mode            *int64  `json:"mode,omitempty"`
	Type            *string `json:"type,omitempty"`
	LinkDestination *string `json:"linkDestination,omitempty"`
	UserID          *int64  `json:"userID,omitempty"`
	GroupID         *int64  `json:"groupID,omitempty"`
	MIMEType        *string `json:"mimeType,omitempty"`
	Size_           *int64  `json:"size,omitempty"`
}

FileMetadataEntryApplyConfiguration represents a declarative configuration of the FileMetadataEntry type for use with apply.

func FileMetadataEntry

func FileMetadataEntry() *FileMetadataEntryApplyConfiguration

FileMetadataEntryApplyConfiguration constructs a declarative configuration of the FileMetadataEntry type for use with apply.

func (*FileMetadataEntryApplyConfiguration) WithGroupID

WithGroupID sets the GroupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupID field is set to the value of the last call.

func (*FileMetadataEntryApplyConfiguration) WithLinkDestination

WithLinkDestination sets the LinkDestination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LinkDestination field is set to the value of the last call.

func (*FileMetadataEntryApplyConfiguration) WithMIMEType

WithMIMEType sets the MIMEType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MIMEType field is set to the value of the last call.

func (*FileMetadataEntryApplyConfiguration) WithMode

WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.

func (*FileMetadataEntryApplyConfiguration) WithSize_

WithSize_ sets the Size_ field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size_ field is set to the value of the last call.

func (*FileMetadataEntryApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*FileMetadataEntryApplyConfiguration) WithUserID

WithUserID sets the UserID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserID field is set to the value of the last call.

type FixApplyConfiguration

type FixApplyConfiguration struct {
	Versions []string `json:"versions,omitempty"`
	State    *string  `json:"state,omitempty"`
}

FixApplyConfiguration represents a declarative configuration of the Fix type for use with apply.

func Fix

func Fix() *FixApplyConfiguration

FixApplyConfiguration constructs a declarative configuration of the Fix type for use with apply.

func (*FixApplyConfiguration) WithState

func (b *FixApplyConfiguration) WithState(value string) *FixApplyConfiguration

WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.

func (*FixApplyConfiguration) WithVersions

func (b *FixApplyConfiguration) WithVersions(values ...string) *FixApplyConfiguration

WithVersions adds the given value to the Versions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Versions field.

type GeneratedNetworkPolicyApplyConfiguration

type GeneratedNetworkPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkPolicyApplyConfiguration `json:"spec,omitempty"`
	PoliciesRef                      []PolicyRefApplyConfiguration    `json:"policyRef,omitempty"`
}

GeneratedNetworkPolicyApplyConfiguration represents a declarative configuration of the GeneratedNetworkPolicy type for use with apply.

GeneratedNetworkPolicy represents a generated NetworkPolicy.

func GeneratedNetworkPolicy

func GeneratedNetworkPolicy(name, namespace string) *GeneratedNetworkPolicyApplyConfiguration

GeneratedNetworkPolicy constructs a declarative configuration of the GeneratedNetworkPolicy type for use with apply.

func (*GeneratedNetworkPolicyApplyConfiguration) GetAPIVersion added in v0.0.221

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*GeneratedNetworkPolicyApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*GeneratedNetworkPolicyApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*GeneratedNetworkPolicyApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (GeneratedNetworkPolicyApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b GeneratedNetworkPolicyApplyConfiguration) IsApplyConfiguration()

func (*GeneratedNetworkPolicyApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*GeneratedNetworkPolicyApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*GeneratedNetworkPolicyApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*GeneratedNetworkPolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*GeneratedNetworkPolicyApplyConfiguration) WithPoliciesRef

WithPoliciesRef adds the given value to the PoliciesRef field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PoliciesRef field.

func (*GeneratedNetworkPolicyApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*GeneratedNetworkPolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type GrypeDocumentApplyConfiguration

type GrypeDocumentApplyConfiguration struct {
	Matches        []MatchApplyConfiguration        `json:"matches,omitempty"`
	IgnoredMatches []IgnoredMatchApplyConfiguration `json:"ignoredMatches,omitempty"`
	Source         *SourceApplyConfiguration        `json:"source,omitempty"`
	Distro         *DistributionApplyConfiguration  `json:"distro,omitempty"`
	Descriptor_    *DescriptorApplyConfiguration    `json:"descriptor,omitempty"`
}

GrypeDocumentApplyConfiguration represents a declarative configuration of the GrypeDocument type for use with apply.

GrypeDocument is the document that represents the vulnerability manifest in the Grype’s JSON format

func GrypeDocument

func GrypeDocument() *GrypeDocumentApplyConfiguration

GrypeDocumentApplyConfiguration constructs a declarative configuration of the GrypeDocument type for use with apply.

func (*GrypeDocumentApplyConfiguration) WithDescriptor_

WithDescriptor_ sets the Descriptor_ field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Descriptor_ field is set to the value of the last call.

func (*GrypeDocumentApplyConfiguration) WithDistro

WithDistro sets the Distro field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Distro field is set to the value of the last call.

func (*GrypeDocumentApplyConfiguration) WithIgnoredMatches

WithIgnoredMatches adds the given value to the IgnoredMatches field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IgnoredMatches field.

func (*GrypeDocumentApplyConfiguration) WithMatches

WithMatches adds the given value to the Matches field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Matches field.

func (*GrypeDocumentApplyConfiguration) WithSource

WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.

type GrypePackageApplyConfiguration

type GrypePackageApplyConfiguration struct {
	Name         *string                                  `json:"name,omitempty"`
	Version      *string                                  `json:"version,omitempty"`
	Type         *softwarecompositionv1beta1.SyftType     `json:"type,omitempty"`
	Locations    []SyftCoordinatesApplyConfiguration      `json:"locations,omitempty"`
	Language     *softwarecompositionv1beta1.SyftLanguage `json:"language,omitempty"`
	Licenses     []string                                 `json:"licenses,omitempty"`
	CPEs         []string                                 `json:"cpes,omitempty"`
	PURL         *string                                  `json:"purl,omitempty"`
	Upstreams    []UpstreamPackageApplyConfiguration      `json:"upstreams,omitempty"`
	MetadataType *softwarecompositionv1beta1.MetadataType `json:"metadataType,omitempty"`
	Metadata     *json.RawMessage                         `json:"metadata,omitempty"`
}

GrypePackageApplyConfiguration represents a declarative configuration of the GrypePackage type for use with apply.

func GrypePackage

func GrypePackage() *GrypePackageApplyConfiguration

GrypePackageApplyConfiguration constructs a declarative configuration of the GrypePackage type for use with apply.

func (*GrypePackageApplyConfiguration) WithCPEs

WithCPEs adds the given value to the CPEs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CPEs field.

func (*GrypePackageApplyConfiguration) WithLanguage

WithLanguage sets the Language field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Language field is set to the value of the last call.

func (*GrypePackageApplyConfiguration) WithLicenses

WithLicenses adds the given value to the Licenses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Licenses field.

func (*GrypePackageApplyConfiguration) WithLocations

WithLocations adds the given value to the Locations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Locations field.

func (*GrypePackageApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

func (*GrypePackageApplyConfiguration) WithMetadataType

WithMetadataType sets the MetadataType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MetadataType field is set to the value of the last call.

func (*GrypePackageApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*GrypePackageApplyConfiguration) WithPURL

WithPURL sets the PURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PURL field is set to the value of the last call.

func (*GrypePackageApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*GrypePackageApplyConfiguration) WithUpstreams

WithUpstreams adds the given value to the Upstreams field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Upstreams field.

func (*GrypePackageApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type HTTPEndpointApplyConfiguration

type HTTPEndpointApplyConfiguration struct {
	Endpoint  *string                  `json:"endpoint,omitempty"`
	Methods   []string                 `json:"methods,omitempty"`
	Internal  *bool                    `json:"internal,omitempty"`
	Direction *consts.NetworkDirection `json:"direction,omitempty"`
	Headers   *json.RawMessage         `json:"headers,omitempty"`
}

HTTPEndpointApplyConfiguration represents a declarative configuration of the HTTPEndpoint type for use with apply.

func HTTPEndpoint

func HTTPEndpoint() *HTTPEndpointApplyConfiguration

HTTPEndpointApplyConfiguration constructs a declarative configuration of the HTTPEndpoint type for use with apply.

func (*HTTPEndpointApplyConfiguration) WithDirection

WithDirection sets the Direction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Direction field is set to the value of the last call.

func (*HTTPEndpointApplyConfiguration) WithEndpoint

WithEndpoint sets the Endpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Endpoint field is set to the value of the last call.

func (*HTTPEndpointApplyConfiguration) WithHeaders

WithHeaders sets the Headers field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Headers field is set to the value of the last call.

func (*HTTPEndpointApplyConfiguration) WithInternal

WithInternal sets the Internal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Internal field is set to the value of the last call.

func (*HTTPEndpointApplyConfiguration) WithMethods

WithMethods adds the given value to the Methods field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Methods field.

type IPBlockApplyConfiguration

type IPBlockApplyConfiguration struct {
	// cidr is a string representing the IPBlock
	// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
	CIDR   *string  `json:"cidr,omitempty"`
	Except []string `json:"except,omitempty"`
}

IPBlockApplyConfiguration represents a declarative configuration of the IPBlock type for use with apply.

IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

func IPBlock

func IPBlock() *IPBlockApplyConfiguration

IPBlockApplyConfiguration constructs a declarative configuration of the IPBlock type for use with apply.

func (*IPBlockApplyConfiguration) WithCIDR

WithCIDR sets the CIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CIDR field is set to the value of the last call.

func (*IPBlockApplyConfiguration) WithExcept

WithExcept adds the given value to the Except field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Except field.

type IdentifiedCallStackApplyConfiguration

type IdentifiedCallStackApplyConfiguration struct {
	CallID    *softwarecompositionv1beta1.CallID `json:"callID,omitempty"`
	CallStack *CallStackApplyConfiguration       `json:"callStack,omitempty"`
}

IdentifiedCallStackApplyConfiguration represents a declarative configuration of the IdentifiedCallStack type for use with apply.

func IdentifiedCallStack

func IdentifiedCallStack() *IdentifiedCallStackApplyConfiguration

IdentifiedCallStackApplyConfiguration constructs a declarative configuration of the IdentifiedCallStack type for use with apply.

func (*IdentifiedCallStackApplyConfiguration) WithCallID

WithCallID sets the CallID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CallID field is set to the value of the last call.

func (*IdentifiedCallStackApplyConfiguration) WithCallStack

WithCallStack sets the CallStack field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CallStack field is set to the value of the last call.

type IgnoreRuleApplyConfiguration

type IgnoreRuleApplyConfiguration struct {
	Vulnerability *string                              `json:"vulnerability,omitempty"`
	FixState      *string                              `json:"fix-state,omitempty"`
	Package       *IgnoreRulePackageApplyConfiguration `json:"package,omitempty"`
}

IgnoreRuleApplyConfiguration represents a declarative configuration of the IgnoreRule type for use with apply.

func IgnoreRule

func IgnoreRule() *IgnoreRuleApplyConfiguration

IgnoreRuleApplyConfiguration constructs a declarative configuration of the IgnoreRule type for use with apply.

func (*IgnoreRuleApplyConfiguration) WithFixState

WithFixState sets the FixState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixState field is set to the value of the last call.

func (*IgnoreRuleApplyConfiguration) WithPackage

WithPackage sets the Package field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Package field is set to the value of the last call.

func (*IgnoreRuleApplyConfiguration) WithVulnerability

WithVulnerability sets the Vulnerability field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vulnerability field is set to the value of the last call.

type IgnoreRulePackageApplyConfiguration

type IgnoreRulePackageApplyConfiguration struct {
	Name         *string `json:"name,omitempty"`
	Version      *string `json:"version,omitempty"`
	Language     *string `json:"language,omitempty"`
	Type         *string `json:"type,omitempty"`
	Location     *string `json:"location,omitempty"`
	UpstreamName *string `json:"upstream-name,omitempty"`
}

IgnoreRulePackageApplyConfiguration represents a declarative configuration of the IgnoreRulePackage type for use with apply.

func IgnoreRulePackage

func IgnoreRulePackage() *IgnoreRulePackageApplyConfiguration

IgnoreRulePackageApplyConfiguration constructs a declarative configuration of the IgnoreRulePackage type for use with apply.

func (*IgnoreRulePackageApplyConfiguration) WithLanguage added in v0.0.221

WithLanguage sets the Language field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Language field is set to the value of the last call.

func (*IgnoreRulePackageApplyConfiguration) WithLocation

WithLocation sets the Location field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Location field is set to the value of the last call.

func (*IgnoreRulePackageApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*IgnoreRulePackageApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*IgnoreRulePackageApplyConfiguration) WithUpstreamName

WithUpstreamName sets the UpstreamName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpstreamName field is set to the value of the last call.

func (*IgnoreRulePackageApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type IgnoredMatchApplyConfiguration

type IgnoredMatchApplyConfiguration struct {
	AppliedIgnoreRules []IgnoreRuleApplyConfiguration `json:"appliedIgnoreRules,omitempty"`
}

IgnoredMatchApplyConfiguration represents a declarative configuration of the IgnoredMatch type for use with apply.

func IgnoredMatch

func IgnoredMatch() *IgnoredMatchApplyConfiguration

IgnoredMatchApplyConfiguration constructs a declarative configuration of the IgnoredMatch type for use with apply.

func (*IgnoredMatchApplyConfiguration) WithAppliedIgnoreRules

WithAppliedIgnoreRules adds the given value to the AppliedIgnoreRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AppliedIgnoreRules field.

type KnownServerApplyConfiguration

type KnownServerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *softwarecompositionv1beta1.KnownServerSpec `json:"spec,omitempty"`
}

KnownServerApplyConfiguration represents a declarative configuration of the KnownServer type for use with apply.

KnownServer represents a known server, containing information about its IP addresses and servers. The purpose is to enrich the GeneratedNetworkPolicy CRD

func KnownServer

func KnownServer(name, namespace string) *KnownServerApplyConfiguration

KnownServer constructs a declarative configuration of the KnownServer type for use with apply.

func (*KnownServerApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *KnownServerApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*KnownServerApplyConfiguration) GetKind added in v0.0.221

func (b *KnownServerApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*KnownServerApplyConfiguration) GetName

func (b *KnownServerApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*KnownServerApplyConfiguration) GetNamespace added in v0.0.221

func (b *KnownServerApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (KnownServerApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b KnownServerApplyConfiguration) IsApplyConfiguration()

func (*KnownServerApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*KnownServerApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *KnownServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KnownServerApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*KnownServerApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*KnownServerApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*KnownServerApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*KnownServerApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type KnownServerEntryApplyConfiguration

type KnownServerEntryApplyConfiguration struct {
	IPBlock *string `json:"ipBlock,omitempty"`
	Server  *string `json:"server,omitempty"`
	Name    *string `json:"name,omitempty"`
}

KnownServerEntryApplyConfiguration represents a declarative configuration of the KnownServerEntry type for use with apply.

func KnownServerEntry

func KnownServerEntry() *KnownServerEntryApplyConfiguration

KnownServerEntryApplyConfiguration constructs a declarative configuration of the KnownServerEntry type for use with apply.

func (*KnownServerEntryApplyConfiguration) WithIPBlock

WithIPBlock sets the IPBlock field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPBlock field is set to the value of the last call.

func (*KnownServerEntryApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*KnownServerEntryApplyConfiguration) WithServer

WithServer sets the Server field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Server field is set to the value of the last call.

type LicenseApplyConfiguration

type LicenseApplyConfiguration struct {
	Value          *string                                 `json:"value,omitempty"`
	SPDXExpression *string                                 `json:"spdxExpression,omitempty"`
	Type           *softwarecompositionv1beta1.LicenseType `json:"type,omitempty"`
	URLs           []string                                `json:"urls,omitempty"`
	Locations      []softwarecompositionv1beta1.Location   `json:"locations,omitempty"`
}

LicenseApplyConfiguration represents a declarative configuration of the License type for use with apply.

func License

func License() *LicenseApplyConfiguration

LicenseApplyConfiguration constructs a declarative configuration of the License type for use with apply.

func (*LicenseApplyConfiguration) WithLocations

WithLocations adds the given value to the Locations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Locations field.

func (*LicenseApplyConfiguration) WithSPDXExpression

func (b *LicenseApplyConfiguration) WithSPDXExpression(value string) *LicenseApplyConfiguration

WithSPDXExpression sets the SPDXExpression field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SPDXExpression field is set to the value of the last call.

func (*LicenseApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*LicenseApplyConfiguration) WithURLs

WithURLs adds the given value to the URLs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the URLs field.

func (*LicenseApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type LinuxReleaseApplyConfiguration

type LinuxReleaseApplyConfiguration struct {
	PrettyName       *string                             `json:"prettyName,omitempty"`
	Name             *string                             `json:"name,omitempty"`
	ID               *string                             `json:"id,omitempty"`
	IDLike           *softwarecompositionv1beta1.IDLikes `json:"idLike,omitempty"`
	Version          *string                             `json:"version,omitempty"`
	VersionID        *string                             `json:"versionID,omitempty"`
	VersionCodename  *string                             `json:"versionCodename,omitempty"`
	BuildID          *string                             `json:"buildID,omitempty"`
	ImageID          *string                             `json:"imageID,omitempty"`
	ImageVersion     *string                             `json:"imageVersion,omitempty"`
	Variant          *string                             `json:"variant,omitempty"`
	VariantID        *string                             `json:"variantID,omitempty"`
	HomeURL          *string                             `json:"homeURL,omitempty"`
	SupportURL       *string                             `json:"supportURL,omitempty"`
	BugReportURL     *string                             `json:"bugReportURL,omitempty"`
	PrivacyPolicyURL *string                             `json:"privacyPolicyURL,omitempty"`
	CPEName          *string                             `json:"cpeName,omitempty"`
	SupportEnd       *string                             `json:"supportEnd,omitempty"`
}

LinuxReleaseApplyConfiguration represents a declarative configuration of the LinuxRelease type for use with apply.

func LinuxRelease

func LinuxRelease() *LinuxReleaseApplyConfiguration

LinuxReleaseApplyConfiguration constructs a declarative configuration of the LinuxRelease type for use with apply.

func (*LinuxReleaseApplyConfiguration) WithBugReportURL

WithBugReportURL sets the BugReportURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BugReportURL field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithBuildID

WithBuildID sets the BuildID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildID field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithCPEName

WithCPEName sets the CPEName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPEName field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithHomeURL

WithHomeURL sets the HomeURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HomeURL field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithIDLike

WithIDLike sets the IDLike field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IDLike field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithImageID

WithImageID sets the ImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageID field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithImageVersion

WithImageVersion sets the ImageVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageVersion field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithPrettyName

WithPrettyName sets the PrettyName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrettyName field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithPrivacyPolicyURL

WithPrivacyPolicyURL sets the PrivacyPolicyURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrivacyPolicyURL field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithSupportEnd

WithSupportEnd sets the SupportEnd field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SupportEnd field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithSupportURL

WithSupportURL sets the SupportURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SupportURL field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithVariant

WithVariant sets the Variant field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Variant field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithVariantID

WithVariantID sets the VariantID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VariantID field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithVersionCodename

WithVersionCodename sets the VersionCodename field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VersionCodename field is set to the value of the last call.

func (*LinuxReleaseApplyConfiguration) WithVersionID

WithVersionID sets the VersionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VersionID field is set to the value of the last call.

type LocationDataApplyConfiguration

type LocationDataApplyConfiguration struct {
	// note: it is IMPORTANT to ignore anything but the coordinates for a Location when considering the ID (hash value)
	// since the coordinates are the minimally correct ID for a location (symlinks should not come into play)
	VirtualPath *string `json:"accessPath,omitempty"`
}

LocationDataApplyConfiguration represents a declarative configuration of the LocationData type for use with apply.

func LocationData

func LocationData() *LocationDataApplyConfiguration

LocationDataApplyConfiguration constructs a declarative configuration of the LocationData type for use with apply.

func (*LocationDataApplyConfiguration) WithVirtualPath

WithVirtualPath sets the VirtualPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VirtualPath field is set to the value of the last call.

type LocationMetadataApplyConfiguration

type LocationMetadataApplyConfiguration struct {
	Annotations map[string]string `json:"annotations,omitempty"`
}

LocationMetadataApplyConfiguration represents a declarative configuration of the LocationMetadata type for use with apply.

func LocationMetadata

func LocationMetadata() *LocationMetadataApplyConfiguration

LocationMetadataApplyConfiguration constructs a declarative configuration of the LocationMetadata type for use with apply.

func (*LocationMetadataApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

type MatchApplyConfiguration

type MatchApplyConfiguration struct {
	Vulnerability          *VulnerabilityApplyConfiguration          `json:"vulnerability,omitempty"`
	RelatedVulnerabilities []VulnerabilityMetadataApplyConfiguration `json:"relatedVulnerabilities,omitempty"`
	MatchDetails           []MatchDetailsApplyConfiguration          `json:"matchDetails,omitempty"`
	Artifact               *GrypePackageApplyConfiguration           `json:"artifact,omitempty"`
}

MatchApplyConfiguration represents a declarative configuration of the Match type for use with apply.

func Match

func Match() *MatchApplyConfiguration

MatchApplyConfiguration constructs a declarative configuration of the Match type for use with apply.

func (*MatchApplyConfiguration) WithArtifact

WithArtifact sets the Artifact field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Artifact field is set to the value of the last call.

func (*MatchApplyConfiguration) WithMatchDetails

WithMatchDetails adds the given value to the MatchDetails field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchDetails field.

func (*MatchApplyConfiguration) WithRelatedVulnerabilities

WithRelatedVulnerabilities adds the given value to the RelatedVulnerabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RelatedVulnerabilities field.

func (*MatchApplyConfiguration) WithVulnerability

WithVulnerability sets the Vulnerability field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vulnerability field is set to the value of the last call.

type MatchDetailsApplyConfiguration

type MatchDetailsApplyConfiguration struct {
	Type       *string          `json:"type,omitempty"`
	Matcher    *string          `json:"matcher,omitempty"`
	SearchedBy *json.RawMessage `json:"searchedBy,omitempty"`
	Found      *json.RawMessage `json:"found,omitempty"`
}

MatchDetailsApplyConfiguration represents a declarative configuration of the MatchDetails type for use with apply.

func MatchDetails

func MatchDetails() *MatchDetailsApplyConfiguration

MatchDetailsApplyConfiguration constructs a declarative configuration of the MatchDetails type for use with apply.

func (*MatchDetailsApplyConfiguration) WithFound

WithFound sets the Found field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Found field is set to the value of the last call.

func (*MatchDetailsApplyConfiguration) WithMatcher

WithMatcher sets the Matcher field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Matcher field is set to the value of the last call.

func (*MatchDetailsApplyConfiguration) WithSearchedBy

WithSearchedBy sets the SearchedBy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SearchedBy field is set to the value of the last call.

func (*MatchDetailsApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type MetadataApplyConfiguration

type MetadataApplyConfiguration struct {
	// Context is the URL pointing to the jsonld context definition
	Context *string `json:"@context,omitempty"`
	// ID is the identifying string for the VEX document. This should be unique per
	// document.
	ID *string `json:"@id,omitempty"`
	// Author is the identifier for the author of the VEX statement, ideally a common
	// name, may be a URI. [author] is an individual or organization. [author]
	// identity SHOULD be cryptographically associated with the signature of the VEX
	// statement or document or transport.
	Author *string `json:"author,omitempty"`
	// AuthorRole describes the role of the document Author.
	AuthorRole *string `json:"role,omitempty"`
	// Timestamp defines the time at which the document was issued.
	Timestamp *string `json:"timestamp,omitempty"`
	// LastUpdated marks the time when the document had its last update. When the
	// document changes both version and this field should be updated.
	LastUpdated *string `json:"last_updated,omitempty"`
	// Version is the document version. It must be incremented when any content
	// within the VEX document changes, including any VEX statements included within
	// the VEX document.
	Version *int64 `json:"version,omitempty"`
	// Tooling expresses how the VEX document and contained VEX statements were
	// generated. It's optional. It may specify tools or automated processes used in
	// the document or statement generation.
	Tooling *string `json:"tooling,omitempty"`
	// Supplier is an optional field.
	Supplier *string `json:"supplier,omitempty"`
}

MetadataApplyConfiguration represents a declarative configuration of the Metadata type for use with apply.

func Metadata

func Metadata() *MetadataApplyConfiguration

MetadataApplyConfiguration constructs a declarative configuration of the Metadata type for use with apply.

func (*MetadataApplyConfiguration) WithAuthor

WithAuthor sets the Author field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Author field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithAuthorRole

WithAuthorRole sets the AuthorRole field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthorRole field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithContext

WithContext sets the Context field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Context field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithLastUpdated

WithLastUpdated sets the LastUpdated field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdated field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithSupplier

WithSupplier sets the Supplier field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Supplier field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithTimestamp

WithTimestamp sets the Timestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timestamp field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithTooling

WithTooling sets the Tooling field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tooling field is set to the value of the last call.

func (*MetadataApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type NetworkNeighborApplyConfiguration

type NetworkNeighborApplyConfiguration struct {
	Identifier *string `json:"identifier,omitempty"`
	// A unique identifier for this entry
	Type *softwarecompositionv1beta1.CommunicationType `json:"type,omitempty"`
	DNS  *string                                       `json:"dns,omitempty"`
	// DEPRECATED - use DNSNames instead.
	DNSNames          []string                            `json:"dnsNames,omitempty"`
	Ports             []NetworkPortApplyConfiguration     `json:"ports,omitempty"`
	PodSelector       *v1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
	NamespaceSelector *v1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	IPAddress         *string                             `json:"ipAddress,omitempty"`
}

NetworkNeighborApplyConfiguration represents a declarative configuration of the NetworkNeighbor type for use with apply.

NetworkNeighbor represents a single network communication made by this resource.

func NetworkNeighbor

func NetworkNeighbor() *NetworkNeighborApplyConfiguration

NetworkNeighborApplyConfiguration constructs a declarative configuration of the NetworkNeighbor type for use with apply.

func (*NetworkNeighborApplyConfiguration) WithDNS

WithDNS sets the DNS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNS field is set to the value of the last call.

func (*NetworkNeighborApplyConfiguration) WithDNSNames

WithDNSNames adds the given value to the DNSNames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DNSNames field.

func (*NetworkNeighborApplyConfiguration) WithIPAddress

WithIPAddress sets the IPAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAddress field is set to the value of the last call.

func (*NetworkNeighborApplyConfiguration) WithIdentifier

WithIdentifier sets the Identifier field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Identifier field is set to the value of the last call.

func (*NetworkNeighborApplyConfiguration) WithNamespaceSelector

WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.

func (*NetworkNeighborApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

func (*NetworkNeighborApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

func (*NetworkNeighborApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type NetworkNeighborhoodApplyConfiguration

type NetworkNeighborhoodApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkNeighborhoodSpecApplyConfiguration `json:"spec,omitempty"`
}

NetworkNeighborhoodApplyConfiguration represents a declarative configuration of the NetworkNeighborhood type for use with apply.

NetworkNeighborhood represents a list of network communications for a specific workload.

func NetworkNeighborhood

func NetworkNeighborhood(name, namespace string) *NetworkNeighborhoodApplyConfiguration

NetworkNeighborhood constructs a declarative configuration of the NetworkNeighborhood type for use with apply.

func (*NetworkNeighborhoodApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *NetworkNeighborhoodApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*NetworkNeighborhoodApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*NetworkNeighborhoodApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*NetworkNeighborhoodApplyConfiguration) GetNamespace added in v0.0.221

func (b *NetworkNeighborhoodApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (NetworkNeighborhoodApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b NetworkNeighborhoodApplyConfiguration) IsApplyConfiguration()

func (*NetworkNeighborhoodApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*NetworkNeighborhoodApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *NetworkNeighborhoodApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkNeighborhoodApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*NetworkNeighborhoodApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*NetworkNeighborhoodApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*NetworkNeighborhoodApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*NetworkNeighborhoodApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type NetworkNeighborhoodContainerApplyConfiguration

type NetworkNeighborhoodContainerApplyConfiguration struct {
	Name    *string                             `json:"name,omitempty"`
	Ingress []NetworkNeighborApplyConfiguration `json:"ingress,omitempty"`
	Egress  []NetworkNeighborApplyConfiguration `json:"egress,omitempty"`
}

NetworkNeighborhoodContainerApplyConfiguration represents a declarative configuration of the NetworkNeighborhoodContainer type for use with apply.

func NetworkNeighborhoodContainer

func NetworkNeighborhoodContainer() *NetworkNeighborhoodContainerApplyConfiguration

NetworkNeighborhoodContainerApplyConfiguration constructs a declarative configuration of the NetworkNeighborhoodContainer type for use with apply.

func (*NetworkNeighborhoodContainerApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Egress field.

func (*NetworkNeighborhoodContainerApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.

func (*NetworkNeighborhoodContainerApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type NetworkNeighborhoodSpecApplyConfiguration

type NetworkNeighborhoodSpecApplyConfiguration struct {
	v1.LabelSelectorApplyConfiguration `json:",inline"`
	Containers                         []NetworkNeighborhoodContainerApplyConfiguration `json:"containers,omitempty"`
	InitContainers                     []NetworkNeighborhoodContainerApplyConfiguration `json:"initContainers,omitempty"`
	EphemeralContainers                []NetworkNeighborhoodContainerApplyConfiguration `json:"ephemeralContainers,omitempty"`
}

NetworkNeighborhoodSpecApplyConfiguration represents a declarative configuration of the NetworkNeighborhoodSpec type for use with apply.

func NetworkNeighborhoodSpec

func NetworkNeighborhoodSpec() *NetworkNeighborhoodSpecApplyConfiguration

NetworkNeighborhoodSpecApplyConfiguration constructs a declarative configuration of the NetworkNeighborhoodSpec type for use with apply.

func (*NetworkNeighborhoodSpecApplyConfiguration) WithContainers

WithContainers adds the given value to the Containers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Containers field.

func (*NetworkNeighborhoodSpecApplyConfiguration) WithEphemeralContainers

WithEphemeralContainers adds the given value to the EphemeralContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EphemeralContainers field.

func (*NetworkNeighborhoodSpecApplyConfiguration) WithInitContainers

WithInitContainers adds the given value to the InitContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InitContainers field.

func (*NetworkNeighborhoodSpecApplyConfiguration) WithMatchExpressions

WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchExpressions field.

func (*NetworkNeighborhoodSpecApplyConfiguration) WithMatchLabels

WithMatchLabels puts the entries into the MatchLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.

type NetworkPolicyApplyConfiguration

type NetworkPolicyApplyConfiguration struct {
	Kind                             *string `json:"kind,omitempty"`
	APIVersion                       *string `json:"apiVersion,omitempty"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkPolicySpecApplyConfiguration `json:"spec,omitempty"`
}

NetworkPolicyApplyConfiguration represents a declarative configuration of the NetworkPolicy type for use with apply.

func NetworkPolicy

func NetworkPolicy() *NetworkPolicyApplyConfiguration

NetworkPolicyApplyConfiguration constructs a declarative configuration of the NetworkPolicy type for use with apply.

func (*NetworkPolicyApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*NetworkPolicyApplyConfiguration) GetNamespace added in v0.0.221

func (b *NetworkPolicyApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (*NetworkPolicyApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*NetworkPolicyApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*NetworkPolicyApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*NetworkPolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*NetworkPolicyApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*NetworkPolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type NetworkPolicyEgressRuleApplyConfiguration

type NetworkPolicyEgressRuleApplyConfiguration struct {
	Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
	To    []NetworkPolicyPeerApplyConfiguration `json:"to,omitempty"`
}

NetworkPolicyEgressRuleApplyConfiguration represents a declarative configuration of the NetworkPolicyEgressRule type for use with apply.

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

func NetworkPolicyEgressRule

func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration

NetworkPolicyEgressRuleApplyConfiguration constructs a declarative configuration of the NetworkPolicyEgressRule type for use with apply.

func (*NetworkPolicyEgressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

func (*NetworkPolicyEgressRuleApplyConfiguration) WithTo

WithTo adds the given value to the To field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the To field.

type NetworkPolicyIngressRuleApplyConfiguration

type NetworkPolicyIngressRuleApplyConfiguration struct {
	Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
	From  []NetworkPolicyPeerApplyConfiguration `json:"from,omitempty"`
}

NetworkPolicyIngressRuleApplyConfiguration represents a declarative configuration of the NetworkPolicyIngressRule type for use with apply.

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

func NetworkPolicyIngressRule

func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration

NetworkPolicyIngressRuleApplyConfiguration constructs a declarative configuration of the NetworkPolicyIngressRule type for use with apply.

func (*NetworkPolicyIngressRuleApplyConfiguration) WithFrom

WithFrom adds the given value to the From field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the From field.

func (*NetworkPolicyIngressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

type NetworkPolicyPeerApplyConfiguration

type NetworkPolicyPeerApplyConfiguration struct {
	PodSelector       *v1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
	NamespaceSelector *v1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	IPBlock           *IPBlockApplyConfiguration          `json:"ipBlock,omitempty"`
}

NetworkPolicyPeerApplyConfiguration represents a declarative configuration of the NetworkPolicyPeer type for use with apply.

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

func NetworkPolicyPeer

func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration

NetworkPolicyPeerApplyConfiguration constructs a declarative configuration of the NetworkPolicyPeer type for use with apply.

func (*NetworkPolicyPeerApplyConfiguration) WithIPBlock

WithIPBlock sets the IPBlock field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPBlock field is set to the value of the last call.

func (*NetworkPolicyPeerApplyConfiguration) WithNamespaceSelector

WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.

func (*NetworkPolicyPeerApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

type NetworkPolicyPortApplyConfiguration

type NetworkPolicyPortApplyConfiguration struct {
	Protocol *v1.Protocol `json:"protocol,omitempty"`
	Port     *int32       `json:"port,omitempty"`
	EndPort  *int32       `json:"endPort,omitempty"`
}

NetworkPolicyPortApplyConfiguration represents a declarative configuration of the NetworkPolicyPort type for use with apply.

NetworkPolicyPort describes a port to allow traffic on

func NetworkPolicyPort

func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration

NetworkPolicyPortApplyConfiguration constructs a declarative configuration of the NetworkPolicyPort type for use with apply.

func (*NetworkPolicyPortApplyConfiguration) WithEndPort

WithEndPort sets the EndPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndPort field is set to the value of the last call.

func (*NetworkPolicyPortApplyConfiguration) WithPort

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*NetworkPolicyPortApplyConfiguration) WithProtocol

WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.

type NetworkPolicySpecApplyConfiguration

type NetworkPolicySpecApplyConfiguration struct {
	// podSelector selects the pods to which this NetworkPolicy object applies.
	// The array of ingress rules is applied to any pods selected by this field.
	// Multiple network policies can select the same set of pods. In this case,
	// the ingress rules for each are combined additively.
	// This field is NOT optional and follows standard label selector semantics.
	// An empty podSelector matches all pods in this namespace.
	PodSelector *v1.LabelSelectorApplyConfiguration          `json:"podSelector,omitempty"`
	Ingress     []NetworkPolicyIngressRuleApplyConfiguration `json:"ingress,omitempty"`
	Egress      []NetworkPolicyEgressRuleApplyConfiguration  `json:"egress,omitempty"`
	PolicyTypes []softwarecompositionv1beta1.PolicyType      `json:"policyTypes,omitempty"`
}

NetworkPolicySpecApplyConfiguration represents a declarative configuration of the NetworkPolicySpec type for use with apply.

NetworkPolicySpec provides the specification of a NetworkPolicy

func NetworkPolicySpec

func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration

NetworkPolicySpecApplyConfiguration constructs a declarative configuration of the NetworkPolicySpec type for use with apply.

func (*NetworkPolicySpecApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Egress field.

func (*NetworkPolicySpecApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.

func (*NetworkPolicySpecApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

func (*NetworkPolicySpecApplyConfiguration) WithPolicyTypes

WithPolicyTypes adds the given value to the PolicyTypes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PolicyTypes field.

type NetworkPortApplyConfiguration

type NetworkPortApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
	// protocol-port
	Protocol *softwarecompositionv1beta1.Protocol `json:"protocol,omitempty"`
	Port     *int32                               `json:"port,omitempty"`
}

NetworkPortApplyConfiguration represents a declarative configuration of the NetworkPort type for use with apply.

func NetworkPort

func NetworkPort() *NetworkPortApplyConfiguration

NetworkPortApplyConfiguration constructs a declarative configuration of the NetworkPort type for use with apply.

func (*NetworkPortApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkPortApplyConfiguration) WithPort

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*NetworkPortApplyConfiguration) WithProtocol

WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.

type OpenCallsApplyConfiguration

type OpenCallsApplyConfiguration struct {
	Path  *string  `json:"path,omitempty"`
	Flags []string `json:"flags,omitempty"`
}

OpenCallsApplyConfiguration represents a declarative configuration of the OpenCalls type for use with apply.

func OpenCalls

func OpenCalls() *OpenCallsApplyConfiguration

OpenCallsApplyConfiguration constructs a declarative configuration of the OpenCalls type for use with apply.

func (*OpenCallsApplyConfiguration) WithFlags

WithFlags adds the given value to the Flags field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Flags field.

func (*OpenCallsApplyConfiguration) WithPath

WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.

type OpenVulnerabilityExchangeContainerApplyConfiguration

type OpenVulnerabilityExchangeContainerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VEXApplyConfiguration `json:"spec,omitempty"`
}

OpenVulnerabilityExchangeContainerApplyConfiguration represents a declarative configuration of the OpenVulnerabilityExchangeContainer type for use with apply.

func OpenVulnerabilityExchangeContainer

func OpenVulnerabilityExchangeContainer(name, namespace string) *OpenVulnerabilityExchangeContainerApplyConfiguration

OpenVulnerabilityExchangeContainer constructs a declarative configuration of the OpenVulnerabilityExchangeContainer type for use with apply.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) GetAPIVersion added in v0.0.221

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OpenVulnerabilityExchangeContainerApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*OpenVulnerabilityExchangeContainerApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PackageBasicDataApplyConfiguration

type PackageBasicDataApplyConfiguration struct {
	ID        *string                               `json:"id,omitempty"`
	Name      *string                               `json:"name,omitempty"`
	Version   *string                               `json:"version,omitempty"`
	Type      *string                               `json:"type,omitempty"`
	FoundBy   *string                               `json:"foundBy,omitempty"`
	Locations []softwarecompositionv1beta1.Location `json:"locations,omitempty"`
	Licenses  *softwarecompositionv1beta1.Licenses  `json:"licenses,omitempty"`
	Language  *string                               `json:"language,omitempty"`
	CPEs      *softwarecompositionv1beta1.CPEs      `json:"cpes,omitempty"`
	PURL      *string                               `json:"purl,omitempty"`
}

PackageBasicDataApplyConfiguration represents a declarative configuration of the PackageBasicData type for use with apply.

PackageBasicData contains non-ambiguous values (type-wise) from pkg.SyftPackage.

func PackageBasicData

func PackageBasicData() *PackageBasicDataApplyConfiguration

PackageBasicDataApplyConfiguration constructs a declarative configuration of the PackageBasicData type for use with apply.

func (*PackageBasicDataApplyConfiguration) WithCPEs

WithCPEs sets the CPEs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPEs field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithFoundBy

WithFoundBy sets the FoundBy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FoundBy field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithLanguage

WithLanguage sets the Language field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Language field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithLicenses

WithLicenses sets the Licenses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Licenses field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithLocations

WithLocations adds the given value to the Locations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Locations field.

func (*PackageBasicDataApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithPURL

WithPURL sets the PURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PURL field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*PackageBasicDataApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type PackageCustomDataApplyConfiguration

type PackageCustomDataApplyConfiguration struct {
	MetadataType *string          `json:"metadataType,omitempty"`
	Metadata     *json.RawMessage `json:"metadata,omitempty"`
}

PackageCustomDataApplyConfiguration represents a declarative configuration of the PackageCustomData type for use with apply.

PackageCustomData contains ambiguous values (type-wise) from pkg.SyftPackage.

func PackageCustomData

func PackageCustomData() *PackageCustomDataApplyConfiguration

PackageCustomDataApplyConfiguration constructs a declarative configuration of the PackageCustomData type for use with apply.

func (*PackageCustomDataApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

func (*PackageCustomDataApplyConfiguration) WithMetadataType

WithMetadataType sets the MetadataType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MetadataType field is set to the value of the last call.

type PolicyRefApplyConfiguration

type PolicyRefApplyConfiguration struct {
	IPBlock    *string `json:"ipBlock,omitempty"`
	OriginalIP *string `json:"originalIP,omitempty"`
	DNS        *string `json:"dns,omitempty"`
	Name       *string `json:"name,omitempty"`
	Server     *string `json:"server,omitempty"`
}

PolicyRefApplyConfiguration represents a declarative configuration of the PolicyRef type for use with apply.

func PolicyRef

func PolicyRef() *PolicyRefApplyConfiguration

PolicyRefApplyConfiguration constructs a declarative configuration of the PolicyRef type for use with apply.

func (*PolicyRefApplyConfiguration) WithDNS

WithDNS sets the DNS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNS field is set to the value of the last call.

func (*PolicyRefApplyConfiguration) WithIPBlock

WithIPBlock sets the IPBlock field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPBlock field is set to the value of the last call.

func (*PolicyRefApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PolicyRefApplyConfiguration) WithOriginalIP

WithOriginalIP sets the OriginalIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OriginalIP field is set to the value of the last call.

func (*PolicyRefApplyConfiguration) WithServer

WithServer sets the Server field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Server field is set to the value of the last call.

type ProductApplyConfiguration

type ProductApplyConfiguration struct {
	Subcomponents []softwarecompositionv1beta1.Subcomponent `json:"subcomponents,omitempty"`
}

ProductApplyConfiguration represents a declarative configuration of the Product type for use with apply.

func Product

func Product() *ProductApplyConfiguration

ProductApplyConfiguration constructs a declarative configuration of the Product type for use with apply.

func (*ProductApplyConfiguration) WithSubcomponents

WithSubcomponents adds the given value to the Subcomponents field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Subcomponents field.

type ReportMetaApplyConfiguration

type ReportMetaApplyConfiguration struct {
	CreatedAt *v1.Time `json:"createdAt,omitempty"`
}

ReportMetaApplyConfiguration represents a declarative configuration of the ReportMeta type for use with apply.

ReportMeta describes metadata about a report

func ReportMeta

func ReportMeta() *ReportMetaApplyConfiguration

ReportMetaApplyConfiguration constructs a declarative configuration of the ReportMeta type for use with apply.

func (*ReportMetaApplyConfiguration) WithCreatedAt

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

type RulePathApplyConfiguration

type RulePathApplyConfiguration struct {
	FailedPath   *string `json:"failedPath,omitempty"`
	FixPath      *string `json:"fixPath,omitempty"`
	FixPathValue *string `json:"fixPathValue,omitempty"`
	FixCommand   *string `json:"fixCommand,omitempty"`
}

RulePathApplyConfiguration represents a declarative configuration of the RulePath type for use with apply.

func RulePath

func RulePath() *RulePathApplyConfiguration

RulePathApplyConfiguration constructs a declarative configuration of the RulePath type for use with apply.

func (*RulePathApplyConfiguration) WithFailedPath

WithFailedPath sets the FailedPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedPath field is set to the value of the last call.

func (*RulePathApplyConfiguration) WithFixCommand

WithFixCommand sets the FixCommand field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixCommand field is set to the value of the last call.

func (*RulePathApplyConfiguration) WithFixPath

WithFixPath sets the FixPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixPath field is set to the value of the last call.

func (*RulePathApplyConfiguration) WithFixPathValue

func (b *RulePathApplyConfiguration) WithFixPathValue(value string) *RulePathApplyConfiguration

WithFixPathValue sets the FixPathValue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixPathValue field is set to the value of the last call.

type RulePolicyApplyConfiguration

type RulePolicyApplyConfiguration struct {
	AllowedProcesses []string `json:"processAllowed,omitempty"`
	AllowedContainer *bool    `json:"containerAllowed,omitempty"`
}

RulePolicyApplyConfiguration represents a declarative configuration of the RulePolicy type for use with apply.

func RulePolicy

func RulePolicy() *RulePolicyApplyConfiguration

RulePolicyApplyConfiguration constructs a declarative configuration of the RulePolicy type for use with apply.

func (*RulePolicyApplyConfiguration) WithAllowedContainer

func (b *RulePolicyApplyConfiguration) WithAllowedContainer(value bool) *RulePolicyApplyConfiguration

WithAllowedContainer sets the AllowedContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowedContainer field is set to the value of the last call.

func (*RulePolicyApplyConfiguration) WithAllowedProcesses

func (b *RulePolicyApplyConfiguration) WithAllowedProcesses(values ...string) *RulePolicyApplyConfiguration

WithAllowedProcesses adds the given value to the AllowedProcesses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllowedProcesses field.

type RuleStatusApplyConfiguration

type RuleStatusApplyConfiguration struct {
	Status    *string `json:"status,omitempty"`
	SubStatus *string `json:"subStatus,omitempty"`
}

RuleStatusApplyConfiguration represents a declarative configuration of the RuleStatus type for use with apply.

func RuleStatus

func RuleStatus() *RuleStatusApplyConfiguration

RuleStatusApplyConfiguration constructs a declarative configuration of the RuleStatus type for use with apply.

func (*RuleStatusApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RuleStatusApplyConfiguration) WithSubStatus

WithSubStatus sets the SubStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubStatus field is set to the value of the last call.

type SBOMSyftApplyConfiguration

type SBOMSyftApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SBOMSyftSpecApplyConfiguration            `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.SBOMSyftStatus `json:"status,omitempty"`
}

SBOMSyftApplyConfiguration represents a declarative configuration of the SBOMSyft type for use with apply.

SBOMSyft is a custom resource that describes an SBOM in the Syft format.

func SBOMSyft

func SBOMSyft(name, namespace string) *SBOMSyftApplyConfiguration

SBOMSyft constructs a declarative configuration of the SBOMSyft type for use with apply.

func (*SBOMSyftApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *SBOMSyftApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SBOMSyftApplyConfiguration) GetKind added in v0.0.221

func (b *SBOMSyftApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SBOMSyftApplyConfiguration) GetName

func (b *SBOMSyftApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*SBOMSyftApplyConfiguration) GetNamespace added in v0.0.221

func (b *SBOMSyftApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SBOMSyftApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b SBOMSyftApplyConfiguration) IsApplyConfiguration()

func (*SBOMSyftApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithAnnotations

func (b *SBOMSyftApplyConfiguration) WithAnnotations(entries map[string]string) *SBOMSyftApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*SBOMSyftApplyConfiguration) WithCreationTimestamp

func (b *SBOMSyftApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SBOMSyftApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *SBOMSyftApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SBOMSyftApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithDeletionTimestamp

func (b *SBOMSyftApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SBOMSyftApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithFinalizers

func (b *SBOMSyftApplyConfiguration) WithFinalizers(values ...string) *SBOMSyftApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*SBOMSyftApplyConfiguration) WithGenerateName

func (b *SBOMSyftApplyConfiguration) WithGenerateName(value string) *SBOMSyftApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*SBOMSyftApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SBOMSyftApplyConfiguration) WithResourceVersion

func (b *SBOMSyftApplyConfiguration) WithResourceVersion(value string) *SBOMSyftApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*SBOMSyftApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type SBOMSyftFilteredApplyConfiguration

type SBOMSyftFilteredApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SBOMSyftSpecApplyConfiguration            `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.SBOMSyftStatus `json:"status,omitempty"`
}

SBOMSyftFilteredApplyConfiguration represents a declarative configuration of the SBOMSyftFiltered type for use with apply.

SBOMSyftFiltered is a custom resource that describes a filtered SBOM in the Syft format.

Being filtered means that the SBOM contains only the relevant vulnerable materials.

func SBOMSyftFiltered

func SBOMSyftFiltered(name, namespace string) *SBOMSyftFilteredApplyConfiguration

SBOMSyftFiltered constructs a declarative configuration of the SBOMSyftFiltered type for use with apply.

func (*SBOMSyftFilteredApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *SBOMSyftFilteredApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SBOMSyftFilteredApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SBOMSyftFilteredApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*SBOMSyftFilteredApplyConfiguration) GetNamespace added in v0.0.221

func (b *SBOMSyftFilteredApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SBOMSyftFilteredApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b SBOMSyftFilteredApplyConfiguration) IsApplyConfiguration()

func (*SBOMSyftFilteredApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*SBOMSyftFilteredApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *SBOMSyftFilteredApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SBOMSyftFilteredApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*SBOMSyftFilteredApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*SBOMSyftFilteredApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SBOMSyftFilteredApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*SBOMSyftFilteredApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type SBOMSyftSpecApplyConfiguration

type SBOMSyftSpecApplyConfiguration struct {
	Metadata *SPDXMetaApplyConfiguration     `json:"metadata,omitempty"`
	Syft     *SyftDocumentApplyConfiguration `json:"syft,omitempty"`
}

SBOMSyftSpecApplyConfiguration represents a declarative configuration of the SBOMSyftSpec type for use with apply.

SBOMSyftSpec is the specification of a Syft SBOM

func SBOMSyftSpec

func SBOMSyftSpec() *SBOMSyftSpecApplyConfiguration

SBOMSyftSpecApplyConfiguration constructs a declarative configuration of the SBOMSyftSpec type for use with apply.

func (*SBOMSyftSpecApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

func (*SBOMSyftSpecApplyConfiguration) WithSyft

WithSyft sets the Syft field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Syft field is set to the value of the last call.

type SPDXMetaApplyConfiguration

type SPDXMetaApplyConfiguration struct {
	Tool   *ToolMetaApplyConfiguration   `json:"tool,omitempty"`
	Report *ReportMetaApplyConfiguration `json:"report,omitempty"`
}

SPDXMetaApplyConfiguration represents a declarative configuration of the SPDXMeta type for use with apply.

SPDXMeta describes metadata about an SPDX-formatted SBOM

func SPDXMeta

func SPDXMeta() *SPDXMetaApplyConfiguration

SPDXMetaApplyConfiguration constructs a declarative configuration of the SPDXMeta type for use with apply.

func (*SPDXMetaApplyConfiguration) WithReport

WithReport sets the Report field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Report field is set to the value of the last call.

func (*SPDXMetaApplyConfiguration) WithTool

WithTool sets the Tool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tool field is set to the value of the last call.

type ScannedControlApplyConfiguration

type ScannedControlApplyConfiguration struct {
	ControlID *string                                 `json:"controlID,omitempty"`
	Name      *string                                 `json:"name,omitempty"`
	Severity  *ControlSeverityApplyConfiguration      `json:"severity,omitempty"`
	Status    *ScannedControlStatusApplyConfiguration `json:"status,omitempty"`
	Rules     []ScannedControlRuleApplyConfiguration  `json:"rules,omitempty"`
}

ScannedControlApplyConfiguration represents a declarative configuration of the ScannedControl type for use with apply.

func ScannedControl

func ScannedControl() *ScannedControlApplyConfiguration

ScannedControlApplyConfiguration constructs a declarative configuration of the ScannedControl type for use with apply.

func (*ScannedControlApplyConfiguration) WithControlID

WithControlID sets the ControlID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ControlID field is set to the value of the last call.

func (*ScannedControlApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ScannedControlApplyConfiguration) WithRules

WithRules adds the given value to the Rules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Rules field.

func (*ScannedControlApplyConfiguration) WithSeverity

WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.

func (*ScannedControlApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

type ScannedControlRuleApplyConfiguration

type ScannedControlRuleApplyConfiguration struct {
	Name                  *string                       `json:"name,omitempty"`
	Status                *RuleStatusApplyConfiguration `json:"status,omitempty"`
	ControlConfigurations map[string]json.RawMessage    `json:"controlConfigurations,omitempty"`
	Paths                 []RulePathApplyConfiguration  `json:"paths,omitempty"`
	AppliedIgnoreRules    []string                      `json:"appliedIgnoreRules,omitempty"`
	RelatedResourcesIDs   []string                      `json:"relatedResourcesIDs,omitempty"`
}

ScannedControlRuleApplyConfiguration represents a declarative configuration of the ScannedControlRule type for use with apply.

func ScannedControlRule

func ScannedControlRule() *ScannedControlRuleApplyConfiguration

ScannedControlRuleApplyConfiguration constructs a declarative configuration of the ScannedControlRule type for use with apply.

func (*ScannedControlRuleApplyConfiguration) WithAppliedIgnoreRules

WithAppliedIgnoreRules adds the given value to the AppliedIgnoreRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AppliedIgnoreRules field.

func (*ScannedControlRuleApplyConfiguration) WithControlConfigurations

WithControlConfigurations puts the entries into the ControlConfigurations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ControlConfigurations field, overwriting an existing map entries in ControlConfigurations field with the same key.

func (*ScannedControlRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ScannedControlRuleApplyConfiguration) WithPaths

WithPaths adds the given value to the Paths field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Paths field.

func (*ScannedControlRuleApplyConfiguration) WithRelatedResourcesIDs

WithRelatedResourcesIDs adds the given value to the RelatedResourcesIDs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RelatedResourcesIDs field.

func (*ScannedControlRuleApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

type ScannedControlStatusApplyConfiguration

type ScannedControlStatusApplyConfiguration struct {
	Status    *string `json:"status,omitempty"`
	SubStatus *string `json:"subStatus,omitempty"`
	Info      *string `json:"info,omitempty"`
}

ScannedControlStatusApplyConfiguration represents a declarative configuration of the ScannedControlStatus type for use with apply.

func ScannedControlStatus

func ScannedControlStatus() *ScannedControlStatusApplyConfiguration

ScannedControlStatusApplyConfiguration constructs a declarative configuration of the ScannedControlStatus type for use with apply.

func (*ScannedControlStatusApplyConfiguration) WithInfo

WithInfo sets the Info field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Info field is set to the value of the last call.

func (*ScannedControlStatusApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ScannedControlStatusApplyConfiguration) WithSubStatus

WithSubStatus sets the SubStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubStatus field is set to the value of the last call.

type ScannedControlSummaryApplyConfiguration

type ScannedControlSummaryApplyConfiguration struct {
	ControlID *string                                 `json:"controlID,omitempty"`
	Severity  *ControlSeverityApplyConfiguration      `json:"severity,omitempty"`
	Status    *ScannedControlStatusApplyConfiguration `json:"status,omitempty"`
}

ScannedControlSummaryApplyConfiguration represents a declarative configuration of the ScannedControlSummary type for use with apply.

func ScannedControlSummary

func ScannedControlSummary() *ScannedControlSummaryApplyConfiguration

ScannedControlSummaryApplyConfiguration constructs a declarative configuration of the ScannedControlSummary type for use with apply.

func (*ScannedControlSummaryApplyConfiguration) WithControlID

WithControlID sets the ControlID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ControlID field is set to the value of the last call.

func (*ScannedControlSummaryApplyConfiguration) WithSeverity

WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.

func (*ScannedControlSummaryApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

type SchemaApplyConfiguration

type SchemaApplyConfiguration struct {
	Version *string `json:"version,omitempty"`
	URL     *string `json:"url,omitempty"`
}

SchemaApplyConfiguration represents a declarative configuration of the Schema type for use with apply.

func Schema

func Schema() *SchemaApplyConfiguration

SchemaApplyConfiguration constructs a declarative configuration of the Schema type for use with apply.

func (*SchemaApplyConfiguration) WithURL

WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.

func (*SchemaApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type SeccompProfileApplyConfiguration

type SeccompProfileApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SeccompProfileSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SeccompProfileStatusApplyConfiguration `json:"status,omitempty"`
}

SeccompProfileApplyConfiguration represents a declarative configuration of the SeccompProfile type for use with apply.

func SeccompProfile

func SeccompProfile(name, namespace string) *SeccompProfileApplyConfiguration

SeccompProfile constructs a declarative configuration of the SeccompProfile type for use with apply.

func (*SeccompProfileApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *SeccompProfileApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SeccompProfileApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SeccompProfileApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*SeccompProfileApplyConfiguration) GetNamespace added in v0.0.221

func (b *SeccompProfileApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SeccompProfileApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b SeccompProfileApplyConfiguration) IsApplyConfiguration()

func (*SeccompProfileApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*SeccompProfileApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *SeccompProfileApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SeccompProfileApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*SeccompProfileApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*SeccompProfileApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SeccompProfileApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type SeccompProfileSpecApplyConfiguration

type SeccompProfileSpecApplyConfiguration struct {
	Containers          []SingleSeccompProfileApplyConfiguration `json:"containers,omitempty"`
	InitContainers      []SingleSeccompProfileApplyConfiguration `json:"initContainers,omitempty"`
	EphemeralContainers []SingleSeccompProfileApplyConfiguration `json:"ephemeralContainers,omitempty"`
}

SeccompProfileSpecApplyConfiguration represents a declarative configuration of the SeccompProfileSpec type for use with apply.

func SeccompProfileSpec

func SeccompProfileSpec() *SeccompProfileSpecApplyConfiguration

SeccompProfileSpecApplyConfiguration constructs a declarative configuration of the SeccompProfileSpec type for use with apply.

func (*SeccompProfileSpecApplyConfiguration) WithContainers

WithContainers adds the given value to the Containers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Containers field.

func (*SeccompProfileSpecApplyConfiguration) WithEphemeralContainers

WithEphemeralContainers adds the given value to the EphemeralContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EphemeralContainers field.

func (*SeccompProfileSpecApplyConfiguration) WithInitContainers

WithInitContainers adds the given value to the InitContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InitContainers field.

type SeccompProfileStatusApplyConfiguration

type SeccompProfileStatusApplyConfiguration struct {
	Containers map[string]SingleSeccompProfileStatusApplyConfiguration `json:"containers,omitempty"`
}

SeccompProfileStatusApplyConfiguration represents a declarative configuration of the SeccompProfileStatus type for use with apply.

func SeccompProfileStatus

func SeccompProfileStatus() *SeccompProfileStatusApplyConfiguration

SeccompProfileStatusApplyConfiguration constructs a declarative configuration of the SeccompProfileStatus type for use with apply.

func (*SeccompProfileStatusApplyConfiguration) WithContainers

WithContainers puts the entries into the Containers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Containers field, overwriting an existing map entries in Containers field with the same key.

type SeveritySummaryApplyConfiguration

type SeveritySummaryApplyConfiguration struct {
	Critical   *VulnerabilityCountersApplyConfiguration `json:"critical,omitempty"`
	High       *VulnerabilityCountersApplyConfiguration `json:"high,omitempty"`
	Medium     *VulnerabilityCountersApplyConfiguration `json:"medium,omitempty"`
	Low        *VulnerabilityCountersApplyConfiguration `json:"low,omitempty"`
	Negligible *VulnerabilityCountersApplyConfiguration `json:"negligible,omitempty"`
	Unknown    *VulnerabilityCountersApplyConfiguration `json:"unknown,omitempty"`
}

SeveritySummaryApplyConfiguration represents a declarative configuration of the SeveritySummary type for use with apply.

SeveritySummary is a summary of all vulnerabilities included in vulnerability manifest

func SeveritySummary

func SeveritySummary() *SeveritySummaryApplyConfiguration

SeveritySummaryApplyConfiguration constructs a declarative configuration of the SeveritySummary type for use with apply.

func (*SeveritySummaryApplyConfiguration) WithCritical

WithCritical sets the Critical field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Critical field is set to the value of the last call.

func (*SeveritySummaryApplyConfiguration) WithHigh

WithHigh sets the High field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the High field is set to the value of the last call.

func (*SeveritySummaryApplyConfiguration) WithLow

WithLow sets the Low field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Low field is set to the value of the last call.

func (*SeveritySummaryApplyConfiguration) WithMedium

WithMedium sets the Medium field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Medium field is set to the value of the last call.

func (*SeveritySummaryApplyConfiguration) WithNegligible

WithNegligible sets the Negligible field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Negligible field is set to the value of the last call.

func (*SeveritySummaryApplyConfiguration) WithUnknown

WithUnknown sets the Unknown field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unknown field is set to the value of the last call.

type SingleSeccompProfileApplyConfiguration

type SingleSeccompProfileApplyConfiguration struct {
	Name *string                                     `json:"name,omitempty"`
	Path *string                                     `json:"path,omitempty"`
	Spec *SingleSeccompProfileSpecApplyConfiguration `json:"spec,omitempty"`
}

SingleSeccompProfileApplyConfiguration represents a declarative configuration of the SingleSeccompProfile type for use with apply.

func SingleSeccompProfile

func SingleSeccompProfile() *SingleSeccompProfileApplyConfiguration

SingleSeccompProfileApplyConfiguration constructs a declarative configuration of the SingleSeccompProfile type for use with apply.

func (*SingleSeccompProfileApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SingleSeccompProfileApplyConfiguration) WithPath

WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.

func (*SingleSeccompProfileApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

type SingleSeccompProfileSpecApplyConfiguration

type SingleSeccompProfileSpecApplyConfiguration struct {
	// Common spec fields for all profiles.
	SpecBaseApplyConfiguration `json:",inline"`
	// BaseProfileName is the name of base profile (in the same namespace) that
	// will be unioned into this profile. Base profiles can be references as
	// remote OCI artifacts as well when prefixed with `oci://`.
	BaseProfileName *string `json:"baseProfileName,omitempty"`
	// the default action for seccomp
	DefaultAction *seccomp.Action `json:"defaultAction,omitempty"`
	// the architecture used for system calls
	Architectures []softwarecompositionv1beta1.Arch `json:"architectures,omitempty"`
	// path of UNIX domain socket to contact a seccomp agent for SCMP_ACT_NOTIFY
	ListenerPath *string `json:"listenerPath,omitempty"`
	// opaque data to pass to the seccomp agent
	ListenerMetadata *string `json:"listenerMetadata,omitempty"`
	// match a syscall in seccomp. While this property is OPTIONAL, some values
	// of defaultAction are not useful without syscalls entries. For example,
	// if defaultAction is SCMP_ACT_KILL and syscalls is empty or unset, the
	// kernel will kill the container process on its first syscall
	Syscalls []*softwarecompositionv1beta1.Syscall `json:"syscalls,omitempty"`
	// list of flags to use with seccomp(2)
	Flags []softwarecompositionv1beta1.Flag `json:"flags,omitempty"`
}

SingleSeccompProfileSpecApplyConfiguration represents a declarative configuration of the SingleSeccompProfileSpec type for use with apply.

func SingleSeccompProfileSpec

func SingleSeccompProfileSpec() *SingleSeccompProfileSpecApplyConfiguration

SingleSeccompProfileSpecApplyConfiguration constructs a declarative configuration of the SingleSeccompProfileSpec type for use with apply.

func (*SingleSeccompProfileSpecApplyConfiguration) WithArchitectures

WithArchitectures adds the given value to the Architectures field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Architectures field.

func (*SingleSeccompProfileSpecApplyConfiguration) WithBaseProfileName

WithBaseProfileName sets the BaseProfileName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BaseProfileName field is set to the value of the last call.

func (*SingleSeccompProfileSpecApplyConfiguration) WithDefaultAction

WithDefaultAction sets the DefaultAction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultAction field is set to the value of the last call.

func (*SingleSeccompProfileSpecApplyConfiguration) WithDisabled

WithDisabled sets the Disabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Disabled field is set to the value of the last call.

func (*SingleSeccompProfileSpecApplyConfiguration) WithFlags

WithFlags adds the given value to the Flags field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Flags field.

func (*SingleSeccompProfileSpecApplyConfiguration) WithListenerMetadata

WithListenerMetadata sets the ListenerMetadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ListenerMetadata field is set to the value of the last call.

func (*SingleSeccompProfileSpecApplyConfiguration) WithListenerPath

WithListenerPath sets the ListenerPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ListenerPath field is set to the value of the last call.

func (*SingleSeccompProfileSpecApplyConfiguration) WithSyscalls

WithSyscalls adds the given value to the Syscalls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Syscalls field.

type SingleSeccompProfileStatusApplyConfiguration

type SingleSeccompProfileStatusApplyConfiguration struct {
	StatusBaseApplyConfiguration `json:",inline"`
	Path                         *string  `json:"path,omitempty"`
	ActiveWorkloads              []string `json:"activeWorkloads,omitempty"`
	// The path that should be provided to the `securityContext.seccompProfile.localhostProfile`
	// field of a Pod or container spec
	LocalhostProfile *string `json:"localhostProfile,omitempty"`
}

SingleSeccompProfileStatusApplyConfiguration represents a declarative configuration of the SingleSeccompProfileStatus type for use with apply.

func SingleSeccompProfileStatus

func SingleSeccompProfileStatus() *SingleSeccompProfileStatusApplyConfiguration

SingleSeccompProfileStatusApplyConfiguration constructs a declarative configuration of the SingleSeccompProfileStatus type for use with apply.

func (*SingleSeccompProfileStatusApplyConfiguration) WithActiveWorkloads

WithActiveWorkloads adds the given value to the ActiveWorkloads field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ActiveWorkloads field.

func (*SingleSeccompProfileStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*SingleSeccompProfileStatusApplyConfiguration) WithLocalhostProfile

WithLocalhostProfile sets the LocalhostProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LocalhostProfile field is set to the value of the last call.

func (*SingleSeccompProfileStatusApplyConfiguration) WithPath

WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.

func (*SingleSeccompProfileStatusApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

type SourceApplyConfiguration

type SourceApplyConfiguration struct {
	Type   *string          `json:"type,omitempty"`
	Target *json.RawMessage `json:"target,omitempty"`
}

SourceApplyConfiguration represents a declarative configuration of the Source type for use with apply.

func Source

func Source() *SourceApplyConfiguration

SourceApplyConfiguration constructs a declarative configuration of the Source type for use with apply.

func (*SourceApplyConfiguration) WithTarget

WithTarget sets the Target field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Target field is set to the value of the last call.

func (*SourceApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type SpecBaseApplyConfiguration

type SpecBaseApplyConfiguration struct {
	Disabled *bool `json:"disabled,omitempty"`
}

SpecBaseApplyConfiguration represents a declarative configuration of the SpecBase type for use with apply.

func SpecBase

func SpecBase() *SpecBaseApplyConfiguration

SpecBaseApplyConfiguration constructs a declarative configuration of the SpecBase type for use with apply.

func (*SpecBaseApplyConfiguration) WithDisabled

WithDisabled sets the Disabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Disabled field is set to the value of the last call.

type StackFrameApplyConfiguration

type StackFrameApplyConfiguration struct {
	FileID    *string `json:"fileID,omitempty"`
	Lineno    *string `json:"lineno,omitempty"`
	FrameType *int64  `json:"frameType,omitempty"`
}

StackFrameApplyConfiguration represents a declarative configuration of the StackFrame type for use with apply.

func StackFrame

func StackFrame() *StackFrameApplyConfiguration

StackFrameApplyConfiguration constructs a declarative configuration of the StackFrame type for use with apply.

func (*StackFrameApplyConfiguration) WithFileID

WithFileID sets the FileID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FileID field is set to the value of the last call.

func (*StackFrameApplyConfiguration) WithFrameType

WithFrameType sets the FrameType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FrameType field is set to the value of the last call.

func (*StackFrameApplyConfiguration) WithLineno

WithLineno sets the Lineno field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lineno field is set to the value of the last call.

type StatementApplyConfiguration

type StatementApplyConfiguration struct {
	// ID is an optional identifier for the statement. It takes an IRI and must
	// be unique for each statement in the document.
	ID *string `json:"@id,omitempty"`
	// [vul_id] SHOULD use existing and well known identifiers, for example:
	// CVE, the Global Security Database (GSD), or a supplier’s vulnerability
	// tracking system. It is expected that vulnerability identification systems
	// are external to and maintained separately from VEX.
	//
	// [vul_id] MAY be URIs or URLs.
	// [vul_id] MAY be arbitrary and MAY be created by the VEX statement [author].
	Vulnerability *VexVulnerabilityApplyConfiguration `json:"vulnerability,omitempty"`
	// Timestamp is the time at which the information expressed in the Statement
	// was known to be true.
	Timestamp *string `json:"timestamp,omitempty"`
	// LastUpdated records the time when the statement last had a modification
	LastUpdated *string `json:"last_updated,omitempty"`
	// Product
	// Product details MUST specify what Status applies to.
	// Product details MUST include [product_id] and MAY include [subcomponent_id].
	Products []ProductApplyConfiguration `json:"products,omitempty"`
	// A VEX statement MUST provide Status of the vulnerabilities with respect to the
	// products and components listed in the statement. Status MUST be one of the
	// Status const values, some of which have further options and requirements.
	Status *softwarecompositionv1beta1.Status `json:"status,omitempty"`
	// [status_notes] MAY convey information about how [status] was determined
	// and MAY reference other VEX information.
	StatusNotes *string `json:"status_notes,omitempty"`
	// For ”not_affected” status, a VEX statement MUST include a status Justification
	// that further explains the status.
	Justification *softwarecompositionv1beta1.Justification `json:"justification,omitempty"`
	// For ”not_affected” status, a VEX statement MAY include an ImpactStatement
	// that contains a description why the vulnerability cannot be exploited.
	ImpactStatement *string `json:"impact_statement,omitempty"`
	// For "affected" status, a VEX statement MUST include an ActionStatement that
	// SHOULD describe actions to remediate or mitigate [vul_id].
	ActionStatement          *string `json:"action_statement,omitempty"`
	ActionStatementTimestamp *string `json:"action_statement_timestamp,omitempty"`
}

StatementApplyConfiguration represents a declarative configuration of the Statement type for use with apply.

func Statement

func Statement() *StatementApplyConfiguration

StatementApplyConfiguration constructs a declarative configuration of the Statement type for use with apply.

func (*StatementApplyConfiguration) WithActionStatement

func (b *StatementApplyConfiguration) WithActionStatement(value string) *StatementApplyConfiguration

WithActionStatement sets the ActionStatement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ActionStatement field is set to the value of the last call.

func (*StatementApplyConfiguration) WithActionStatementTimestamp

func (b *StatementApplyConfiguration) WithActionStatementTimestamp(value string) *StatementApplyConfiguration

WithActionStatementTimestamp sets the ActionStatementTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ActionStatementTimestamp field is set to the value of the last call.

func (*StatementApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*StatementApplyConfiguration) WithImpactStatement

func (b *StatementApplyConfiguration) WithImpactStatement(value string) *StatementApplyConfiguration

WithImpactStatement sets the ImpactStatement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImpactStatement field is set to the value of the last call.

func (*StatementApplyConfiguration) WithJustification

WithJustification sets the Justification field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Justification field is set to the value of the last call.

func (*StatementApplyConfiguration) WithLastUpdated

WithLastUpdated sets the LastUpdated field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdated field is set to the value of the last call.

func (*StatementApplyConfiguration) WithProducts

WithProducts adds the given value to the Products field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Products field.

func (*StatementApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*StatementApplyConfiguration) WithStatusNotes

WithStatusNotes sets the StatusNotes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StatusNotes field is set to the value of the last call.

func (*StatementApplyConfiguration) WithTimestamp

WithTimestamp sets the Timestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timestamp field is set to the value of the last call.

func (*StatementApplyConfiguration) WithVulnerability

WithVulnerability sets the Vulnerability field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vulnerability field is set to the value of the last call.

type StatusBaseApplyConfiguration

type StatusBaseApplyConfiguration struct {
	ConditionedStatusApplyConfiguration `json:",inline"`
	Status                              *softwarecompositionv1beta1.ProfileState `json:"status,omitempty"`
}

StatusBaseApplyConfiguration represents a declarative configuration of the StatusBase type for use with apply.

func StatusBase

func StatusBase() *StatusBaseApplyConfiguration

StatusBaseApplyConfiguration constructs a declarative configuration of the StatusBase type for use with apply.

func (*StatusBaseApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*StatusBaseApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

type SyftCoordinatesApplyConfiguration

type SyftCoordinatesApplyConfiguration struct {
	RealPath     *string `json:"path,omitempty"`
	FileSystemID *string `json:"layerID,omitempty"`
}

SyftCoordinatesApplyConfiguration represents a declarative configuration of the SyftCoordinates type for use with apply.

func SyftCoordinates

func SyftCoordinates() *SyftCoordinatesApplyConfiguration

SyftCoordinatesApplyConfiguration constructs a declarative configuration of the SyftCoordinates type for use with apply.

func (*SyftCoordinatesApplyConfiguration) WithFileSystemID

WithFileSystemID sets the FileSystemID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FileSystemID field is set to the value of the last call.

func (*SyftCoordinatesApplyConfiguration) WithRealPath

WithRealPath sets the RealPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RealPath field is set to the value of the last call.

type SyftDescriptorApplyConfiguration

type SyftDescriptorApplyConfiguration struct {
	Name          *string          `json:"name,omitempty"`
	Version       *string          `json:"version,omitempty"`
	Configuration *json.RawMessage `json:"configuration,omitempty"`
}

SyftDescriptorApplyConfiguration represents a declarative configuration of the SyftDescriptor type for use with apply.

SyftDescriptor describes what created the document as well as surrounding metadata

func SyftDescriptor

func SyftDescriptor() *SyftDescriptorApplyConfiguration

SyftDescriptorApplyConfiguration constructs a declarative configuration of the SyftDescriptor type for use with apply.

func (*SyftDescriptorApplyConfiguration) WithConfiguration

WithConfiguration sets the Configuration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Configuration field is set to the value of the last call.

func (*SyftDescriptorApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SyftDescriptorApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type SyftDocumentApplyConfiguration

type SyftDocumentApplyConfiguration struct {
	Artifacts []softwarecompositionv1beta1.SyftPackage `json:"artifacts,omitempty"`
	// Artifacts is the list of packages discovered and placed into the catalog
	ArtifactRelationships []SyftRelationshipApplyConfiguration `json:"artifactRelationships,omitempty"`
	Files                 []SyftFileApplyConfiguration         `json:"files,omitempty"`
	// note: must have omitempty
	SyftSource *SyftSourceApplyConfiguration `json:"source,omitempty"`
	// SyftSource represents the original object that was cataloged
	Distro *LinuxReleaseApplyConfiguration `json:"distro,omitempty"`
	// Distro represents the Linux distribution that was detected from the source
	SyftDescriptor *SyftDescriptorApplyConfiguration `json:"descriptor,omitempty"`
	// SyftDescriptor is a block containing self-describing information about syft
	Schema *SchemaApplyConfiguration `json:"schema,omitempty"`
}

SyftDocumentApplyConfiguration represents a declarative configuration of the SyftDocument type for use with apply.

SyftDocument represents the syft cataloging findings as a JSON document

func SyftDocument

func SyftDocument() *SyftDocumentApplyConfiguration

SyftDocumentApplyConfiguration constructs a declarative configuration of the SyftDocument type for use with apply.

func (*SyftDocumentApplyConfiguration) WithArtifactRelationships

WithArtifactRelationships adds the given value to the ArtifactRelationships field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ArtifactRelationships field.

func (*SyftDocumentApplyConfiguration) WithArtifacts

WithArtifacts adds the given value to the Artifacts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Artifacts field.

func (*SyftDocumentApplyConfiguration) WithDistro

WithDistro sets the Distro field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Distro field is set to the value of the last call.

func (*SyftDocumentApplyConfiguration) WithFiles

WithFiles adds the given value to the Files field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Files field.

func (*SyftDocumentApplyConfiguration) WithSchema

WithSchema sets the Schema field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Schema field is set to the value of the last call.

func (*SyftDocumentApplyConfiguration) WithSyftDescriptor

WithSyftDescriptor sets the SyftDescriptor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SyftDescriptor field is set to the value of the last call.

func (*SyftDocumentApplyConfiguration) WithSyftSource

WithSyftSource sets the SyftSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SyftSource field is set to the value of the last call.

type SyftFileApplyConfiguration

type SyftFileApplyConfiguration struct {
	ID         *string                              `json:"id,omitempty"`
	Location   *CoordinatesApplyConfiguration       `json:"location,omitempty"`
	Metadata   *FileMetadataEntryApplyConfiguration `json:"metadata,omitempty"`
	Contents   *string                              `json:"contents,omitempty"`
	Digests    []DigestApplyConfiguration           `json:"digests,omitempty"`
	Licenses   []FileLicenseApplyConfiguration      `json:"licenses,omitempty"`
	Executable *ExecutableApplyConfiguration        `json:"executable,omitempty"`
}

SyftFileApplyConfiguration represents a declarative configuration of the SyftFile type for use with apply.

func SyftFile

func SyftFile() *SyftFileApplyConfiguration

SyftFileApplyConfiguration constructs a declarative configuration of the SyftFile type for use with apply.

func (*SyftFileApplyConfiguration) WithContents

WithContents sets the Contents field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Contents field is set to the value of the last call.

func (*SyftFileApplyConfiguration) WithDigests

WithDigests adds the given value to the Digests field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Digests field.

func (*SyftFileApplyConfiguration) WithExecutable

WithExecutable sets the Executable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Executable field is set to the value of the last call.

func (*SyftFileApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*SyftFileApplyConfiguration) WithLicenses

WithLicenses adds the given value to the Licenses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Licenses field.

func (*SyftFileApplyConfiguration) WithLocation

WithLocation sets the Location field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Location field is set to the value of the last call.

func (*SyftFileApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

type SyftRelationshipApplyConfiguration

type SyftRelationshipApplyConfiguration struct {
	Parent   *string          `json:"parent,omitempty"`
	Child    *string          `json:"child,omitempty"`
	Type     *string          `json:"type,omitempty"`
	Metadata *json.RawMessage `json:"metadata,omitempty"`
}

SyftRelationshipApplyConfiguration represents a declarative configuration of the SyftRelationship type for use with apply.

func SyftRelationship

func SyftRelationship() *SyftRelationshipApplyConfiguration

SyftRelationshipApplyConfiguration constructs a declarative configuration of the SyftRelationship type for use with apply.

func (*SyftRelationshipApplyConfiguration) WithChild

WithChild sets the Child field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Child field is set to the value of the last call.

func (*SyftRelationshipApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

func (*SyftRelationshipApplyConfiguration) WithParent

WithParent sets the Parent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Parent field is set to the value of the last call.

func (*SyftRelationshipApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type SyftSourceApplyConfiguration

type SyftSourceApplyConfiguration struct {
	ID       *string          `json:"id,omitempty"`
	Name     *string          `json:"name,omitempty"`
	Version  *string          `json:"version,omitempty"`
	Type     *string          `json:"type,omitempty"`
	Metadata *json.RawMessage `json:"metadata,omitempty"`
}

SyftSourceApplyConfiguration represents a declarative configuration of the SyftSource type for use with apply.

SyftSource object represents the thing that was cataloged

func SyftSource

func SyftSource() *SyftSourceApplyConfiguration

SyftSourceApplyConfiguration constructs a declarative configuration of the SyftSource type for use with apply.

func (*SyftSourceApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*SyftSourceApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

func (*SyftSourceApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SyftSourceApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*SyftSourceApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type SyscallApplyConfiguration

type SyscallApplyConfiguration struct {
	// the names of the syscalls
	Names []string `json:"names,omitempty"`
	// the action for seccomp rules
	Action *seccomp.Action `json:"action,omitempty"`
	// the errno return code to use. Some actions like SCMP_ACT_ERRNO and
	// SCMP_ACT_TRACE allow to specify the errno code to return
	ErrnoRet *uint64 `json:"errnoRet,omitempty"`
	// the specific syscall in seccomp
	Args []*softwarecompositionv1beta1.Arg `json:"args,omitempty"`
}

SyscallApplyConfiguration represents a declarative configuration of the Syscall type for use with apply.

Syscall defines a syscall in seccomp.

func Syscall

func Syscall() *SyscallApplyConfiguration

SyscallApplyConfiguration constructs a declarative configuration of the Syscall type for use with apply.

func (*SyscallApplyConfiguration) WithAction

WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.

func (*SyscallApplyConfiguration) WithArgs

WithArgs adds the given value to the Args field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Args field.

func (*SyscallApplyConfiguration) WithErrnoRet

WithErrnoRet sets the ErrnoRet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ErrnoRet field is set to the value of the last call.

func (*SyscallApplyConfiguration) WithNames

WithNames adds the given value to the Names field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Names field.

type ToolMetaApplyConfiguration

type ToolMetaApplyConfiguration struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

ToolMetaApplyConfiguration represents a declarative configuration of the ToolMeta type for use with apply.

ToolMeta describes metadata about a tool that generated an artifact

func ToolMeta

func ToolMeta() *ToolMetaApplyConfiguration

ToolMetaApplyConfiguration constructs a declarative configuration of the ToolMeta type for use with apply.

func (*ToolMetaApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ToolMetaApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type UpstreamPackageApplyConfiguration

type UpstreamPackageApplyConfiguration struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

UpstreamPackageApplyConfiguration represents a declarative configuration of the UpstreamPackage type for use with apply.

func UpstreamPackage

func UpstreamPackage() *UpstreamPackageApplyConfiguration

UpstreamPackageApplyConfiguration constructs a declarative configuration of the UpstreamPackage type for use with apply.

func (*UpstreamPackageApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*UpstreamPackageApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type VEXApplyConfiguration

type VEXApplyConfiguration struct {
	Statements []StatementApplyConfiguration `json:"statements,omitempty"`
}

VEXApplyConfiguration represents a declarative configuration of the VEX type for use with apply.

func VEX

func VEX() *VEXApplyConfiguration

VEXApplyConfiguration constructs a declarative configuration of the VEX type for use with apply.

func (*VEXApplyConfiguration) WithStatements

WithStatements adds the given value to the Statements field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Statements field.

type VexVulnerabilityApplyConfiguration

type VexVulnerabilityApplyConfiguration struct {
	// ID is an IRI to reference the vulnerability in the statement.
	ID *string `json:"@id,omitempty"`
	// Name is the main vulnerability identifier.
	Name *string `json:"name,omitempty"`
	// Description is a short free form text description of the vulnerability.
	Description *string `json:"description,omitempty"`
	// Aliases is a list of other vulnerability identifier strings that
	// locate the vulnerability in other tracking systems.
	Aliases []string `json:"aliases,omitempty"`
}

VexVulnerabilityApplyConfiguration represents a declarative configuration of the VexVulnerability type for use with apply.

func VexVulnerability

func VexVulnerability() *VexVulnerabilityApplyConfiguration

VexVulnerabilityApplyConfiguration constructs a declarative configuration of the VexVulnerability type for use with apply.

func (*VexVulnerabilityApplyConfiguration) WithAliases

WithAliases adds the given value to the Aliases field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Aliases field.

func (*VexVulnerabilityApplyConfiguration) WithDescription

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VexVulnerabilityApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*VexVulnerabilityApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type VulnerabilitiesComponentsApplyConfiguration

type VulnerabilitiesComponentsApplyConfiguration struct {
	ImageVulnerabilitiesObj    *VulnerabilitiesObjScopeApplyConfiguration `json:"all,omitempty"`
	WorkloadVulnerabilitiesObj *VulnerabilitiesObjScopeApplyConfiguration `json:"relevant,omitempty"`
}

VulnerabilitiesComponentsApplyConfiguration represents a declarative configuration of the VulnerabilitiesComponents type for use with apply.

func VulnerabilitiesComponents

func VulnerabilitiesComponents() *VulnerabilitiesComponentsApplyConfiguration

VulnerabilitiesComponentsApplyConfiguration constructs a declarative configuration of the VulnerabilitiesComponents type for use with apply.

func (*VulnerabilitiesComponentsApplyConfiguration) WithImageVulnerabilitiesObj

WithImageVulnerabilitiesObj sets the ImageVulnerabilitiesObj field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageVulnerabilitiesObj field is set to the value of the last call.

func (*VulnerabilitiesComponentsApplyConfiguration) WithWorkloadVulnerabilitiesObj

WithWorkloadVulnerabilitiesObj sets the WorkloadVulnerabilitiesObj field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkloadVulnerabilitiesObj field is set to the value of the last call.

type VulnerabilitiesObjScopeApplyConfiguration

type VulnerabilitiesObjScopeApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
	Kind      *string `json:"kind,omitempty"`
}

VulnerabilitiesObjScopeApplyConfiguration represents a declarative configuration of the VulnerabilitiesObjScope type for use with apply.

func VulnerabilitiesObjScope

func VulnerabilitiesObjScope() *VulnerabilitiesObjScopeApplyConfiguration

VulnerabilitiesObjScopeApplyConfiguration constructs a declarative configuration of the VulnerabilitiesObjScope type for use with apply.

func (*VulnerabilitiesObjScopeApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VulnerabilitiesObjScopeApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VulnerabilitiesObjScopeApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

type VulnerabilityApplyConfiguration

type VulnerabilityApplyConfiguration struct {
	Fix        *FixApplyConfiguration       `json:"fix,omitempty"`
	Advisories []AdvisoryApplyConfiguration `json:"advisories,omitempty"`
}

VulnerabilityApplyConfiguration represents a declarative configuration of the Vulnerability type for use with apply.

func Vulnerability

func Vulnerability() *VulnerabilityApplyConfiguration

VulnerabilityApplyConfiguration constructs a declarative configuration of the Vulnerability type for use with apply.

func (*VulnerabilityApplyConfiguration) WithAdvisories

WithAdvisories adds the given value to the Advisories field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Advisories field.

func (*VulnerabilityApplyConfiguration) WithFix

WithFix sets the Fix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Fix field is set to the value of the last call.

type VulnerabilityCountersApplyConfiguration

type VulnerabilityCountersApplyConfiguration struct {
	All      *int64 `json:"all,omitempty"`
	Relevant *int64 `json:"relevant,omitempty"`
}

VulnerabilityCountersApplyConfiguration represents a declarative configuration of the VulnerabilityCounters type for use with apply.

VulnerabilityCounters describes a counter of vulnerabilities.

Intended to store relevant and total vulnerabilities in the future.

func VulnerabilityCounters

func VulnerabilityCounters() *VulnerabilityCountersApplyConfiguration

VulnerabilityCountersApplyConfiguration constructs a declarative configuration of the VulnerabilityCounters type for use with apply.

func (*VulnerabilityCountersApplyConfiguration) WithAll

WithAll sets the All field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the All field is set to the value of the last call.

func (*VulnerabilityCountersApplyConfiguration) WithRelevant

WithRelevant sets the Relevant field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Relevant field is set to the value of the last call.

type VulnerabilityManifestApplyConfiguration

type VulnerabilityManifestApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VulnerabilityManifestSpecApplyConfiguration            `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.VulnerabilityManifestStatus `json:"status,omitempty"`
}

VulnerabilityManifestApplyConfiguration represents a declarative configuration of the VulnerabilityManifest type for use with apply.

VulnerabilityManifest is a custom resource that describes a manifest of found vulnerabilities.

func VulnerabilityManifest

func VulnerabilityManifest(name, namespace string) *VulnerabilityManifestApplyConfiguration

VulnerabilityManifest constructs a declarative configuration of the VulnerabilityManifest type for use with apply.

func (*VulnerabilityManifestApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *VulnerabilityManifestApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VulnerabilityManifestApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VulnerabilityManifestApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*VulnerabilityManifestApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VulnerabilityManifestApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b VulnerabilityManifestApplyConfiguration) IsApplyConfiguration()

func (*VulnerabilityManifestApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*VulnerabilityManifestApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*VulnerabilityManifestApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*VulnerabilityManifestApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VulnerabilityManifestApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VulnerabilityManifestApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VulnerabilityManifestMetaApplyConfiguration

type VulnerabilityManifestMetaApplyConfiguration struct {
	WithRelevancy *bool                                              `json:"withRelevancy,omitempty"`
	Tool          *VulnerabilityManifestToolMetaApplyConfiguration   `json:"tool,omitempty"`
	Report        *VulnerabilityManifestReportMetaApplyConfiguration `json:"report,omitempty"`
}

VulnerabilityManifestMetaApplyConfiguration represents a declarative configuration of the VulnerabilityManifestMeta type for use with apply.

VulnerabilityManifestMeta holds metadata about a vulnerability manifest

func VulnerabilityManifestMeta

func VulnerabilityManifestMeta() *VulnerabilityManifestMetaApplyConfiguration

VulnerabilityManifestMetaApplyConfiguration constructs a declarative configuration of the VulnerabilityManifestMeta type for use with apply.

func (*VulnerabilityManifestMetaApplyConfiguration) WithReport

WithReport sets the Report field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Report field is set to the value of the last call.

func (*VulnerabilityManifestMetaApplyConfiguration) WithTool

WithTool sets the Tool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tool field is set to the value of the last call.

func (*VulnerabilityManifestMetaApplyConfiguration) WithWithRelevancy

WithWithRelevancy sets the WithRelevancy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WithRelevancy field is set to the value of the last call.

type VulnerabilityManifestReportMetaApplyConfiguration

type VulnerabilityManifestReportMetaApplyConfiguration struct {
	CreatedAt *v1.Time `json:"createdAt,omitempty"`
}

VulnerabilityManifestReportMetaApplyConfiguration represents a declarative configuration of the VulnerabilityManifestReportMeta type for use with apply.

VulnerabilityManifestReportMeta holds metadata about the specific report tied to a vulnerability manifest

func VulnerabilityManifestReportMeta

func VulnerabilityManifestReportMeta() *VulnerabilityManifestReportMetaApplyConfiguration

VulnerabilityManifestReportMetaApplyConfiguration constructs a declarative configuration of the VulnerabilityManifestReportMeta type for use with apply.

func (*VulnerabilityManifestReportMetaApplyConfiguration) WithCreatedAt

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

type VulnerabilityManifestSpecApplyConfiguration

type VulnerabilityManifestSpecApplyConfiguration struct {
	Metadata *VulnerabilityManifestMetaApplyConfiguration `json:"metadata,omitempty"`
	Payload  *GrypeDocumentApplyConfiguration             `json:"payload,omitempty"`
}

VulnerabilityManifestSpecApplyConfiguration represents a declarative configuration of the VulnerabilityManifestSpec type for use with apply.

func VulnerabilityManifestSpec

func VulnerabilityManifestSpec() *VulnerabilityManifestSpecApplyConfiguration

VulnerabilityManifestSpecApplyConfiguration constructs a declarative configuration of the VulnerabilityManifestSpec type for use with apply.

func (*VulnerabilityManifestSpecApplyConfiguration) WithMetadata

WithMetadata sets the Metadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Metadata field is set to the value of the last call.

func (*VulnerabilityManifestSpecApplyConfiguration) WithPayload

WithPayload sets the Payload field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Payload field is set to the value of the last call.

type VulnerabilityManifestSummaryApplyConfiguration

type VulnerabilityManifestSummaryApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VulnerabilityManifestSummarySpecApplyConfiguration     `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.VulnerabilityManifestStatus `json:"status,omitempty"`
}

VulnerabilityManifestSummaryApplyConfiguration represents a declarative configuration of the VulnerabilityManifestSummary type for use with apply.

VulnerabilityManifestSummary is a summary of a VulnerabilityManifest.

func VulnerabilityManifestSummary

func VulnerabilityManifestSummary(name, namespace string) *VulnerabilityManifestSummaryApplyConfiguration

VulnerabilityManifestSummary constructs a declarative configuration of the VulnerabilityManifestSummary type for use with apply.

func (*VulnerabilityManifestSummaryApplyConfiguration) GetAPIVersion added in v0.0.221

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VulnerabilityManifestSummaryApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VulnerabilityManifestSummaryApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*VulnerabilityManifestSummaryApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VulnerabilityManifestSummaryApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b VulnerabilityManifestSummaryApplyConfiguration) IsApplyConfiguration()

func (*VulnerabilityManifestSummaryApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VulnerabilityManifestSummaryApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VulnerabilityManifestSummarySpecApplyConfiguration

type VulnerabilityManifestSummarySpecApplyConfiguration struct {
	Severities      *SeveritySummaryApplyConfiguration           `json:"severities,omitempty"`
	Vulnerabilities *VulnerabilitiesComponentsApplyConfiguration `json:"vulnerabilitiesRef,omitempty"`
}

VulnerabilityManifestSummarySpecApplyConfiguration represents a declarative configuration of the VulnerabilityManifestSummarySpec type for use with apply.

func VulnerabilityManifestSummarySpec

func VulnerabilityManifestSummarySpec() *VulnerabilityManifestSummarySpecApplyConfiguration

VulnerabilityManifestSummarySpecApplyConfiguration constructs a declarative configuration of the VulnerabilityManifestSummarySpec type for use with apply.

func (*VulnerabilityManifestSummarySpecApplyConfiguration) WithSeverities

WithSeverities sets the Severities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severities field is set to the value of the last call.

func (*VulnerabilityManifestSummarySpecApplyConfiguration) WithVulnerabilities

WithVulnerabilities sets the Vulnerabilities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vulnerabilities field is set to the value of the last call.

type VulnerabilityManifestToolMetaApplyConfiguration

type VulnerabilityManifestToolMetaApplyConfiguration struct {
	Name            *string `json:"name,omitempty"`
	Version         *string `json:"version,omitempty"`
	DatabaseVersion *string `json:"databaseVersion,omitempty"`
}

VulnerabilityManifestToolMetaApplyConfiguration represents a declarative configuration of the VulnerabilityManifestToolMeta type for use with apply.

VulnerabilityManifestToolMeta describes data about the tool used to generate the vulnerability manifest’s report

func VulnerabilityManifestToolMeta

func VulnerabilityManifestToolMeta() *VulnerabilityManifestToolMetaApplyConfiguration

VulnerabilityManifestToolMetaApplyConfiguration constructs a declarative configuration of the VulnerabilityManifestToolMeta type for use with apply.

func (*VulnerabilityManifestToolMetaApplyConfiguration) WithDatabaseVersion

WithDatabaseVersion sets the DatabaseVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatabaseVersion field is set to the value of the last call.

func (*VulnerabilityManifestToolMetaApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VulnerabilityManifestToolMetaApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type VulnerabilityMetadataApplyConfiguration

type VulnerabilityMetadataApplyConfiguration struct {
	ID          *string                  `json:"id,omitempty"`
	DataSource  *string                  `json:"dataSource,omitempty"`
	Namespace   *string                  `json:"namespace,omitempty"`
	Severity    *string                  `json:"severity,omitempty"`
	URLs        []string                 `json:"urls,omitempty"`
	Description *string                  `json:"description,omitempty"`
	Cvss        []CvssApplyConfiguration `json:"cvss,omitempty"`
}

VulnerabilityMetadataApplyConfiguration represents a declarative configuration of the VulnerabilityMetadata type for use with apply.

func VulnerabilityMetadata

func VulnerabilityMetadata() *VulnerabilityMetadataApplyConfiguration

VulnerabilityMetadataApplyConfiguration constructs a declarative configuration of the VulnerabilityMetadata type for use with apply.

func (*VulnerabilityMetadataApplyConfiguration) WithCvss

WithCvss adds the given value to the Cvss field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Cvss field.

func (*VulnerabilityMetadataApplyConfiguration) WithDataSource

WithDataSource sets the DataSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataSource field is set to the value of the last call.

func (*VulnerabilityMetadataApplyConfiguration) WithDescription

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VulnerabilityMetadataApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*VulnerabilityMetadataApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VulnerabilityMetadataApplyConfiguration) WithSeverity

WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.

func (*VulnerabilityMetadataApplyConfiguration) WithURLs

WithURLs adds the given value to the URLs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the URLs field.

type VulnerabilitySummaryApplyConfiguration

type VulnerabilitySummaryApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VulnerabilitySummarySpecApplyConfiguration            `json:"spec,omitempty"`
	Status                           *softwarecompositionv1beta1.VulnerabilitySummaryStatus `json:"status,omitempty"`
}

VulnerabilitySummaryApplyConfiguration represents a declarative configuration of the VulnerabilitySummary type for use with apply.

VulnerabilitySummary is a summary of a vulnerabilities for a given scope.

func VulnerabilitySummary

func VulnerabilitySummary(name, namespace string) *VulnerabilitySummaryApplyConfiguration

VulnerabilitySummary constructs a declarative configuration of the VulnerabilitySummary type for use with apply.

func (*VulnerabilitySummaryApplyConfiguration) GetAPIVersion added in v0.0.221

func (b *VulnerabilitySummaryApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VulnerabilitySummaryApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VulnerabilitySummaryApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*VulnerabilitySummaryApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VulnerabilitySummaryApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b VulnerabilitySummaryApplyConfiguration) IsApplyConfiguration()

func (*VulnerabilitySummaryApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*VulnerabilitySummaryApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*VulnerabilitySummaryApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*VulnerabilitySummaryApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VulnerabilitySummaryApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VulnerabilitySummaryApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VulnerabilitySummarySpecApplyConfiguration

type VulnerabilitySummarySpecApplyConfiguration struct {
	Severities                 *SeveritySummaryApplyConfiguration          `json:"severities,omitempty"`
	WorkloadVulnerabilitiesObj []VulnerabilitiesObjScopeApplyConfiguration `json:"vulnerabilitiesRef,omitempty"`
}

VulnerabilitySummarySpecApplyConfiguration represents a declarative configuration of the VulnerabilitySummarySpec type for use with apply.

func VulnerabilitySummarySpec

func VulnerabilitySummarySpec() *VulnerabilitySummarySpecApplyConfiguration

VulnerabilitySummarySpecApplyConfiguration constructs a declarative configuration of the VulnerabilitySummarySpec type for use with apply.

func (*VulnerabilitySummarySpecApplyConfiguration) WithSeverities

WithSeverities sets the Severities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severities field is set to the value of the last call.

func (*VulnerabilitySummarySpecApplyConfiguration) WithWorkloadVulnerabilitiesObj

WithWorkloadVulnerabilitiesObj adds the given value to the WorkloadVulnerabilitiesObj field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WorkloadVulnerabilitiesObj field.

type WorkloadConfigurationScanApplyConfiguration

type WorkloadConfigurationScanApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *WorkloadConfigurationScanSpecApplyConfiguration `json:"spec,omitempty"`
}

WorkloadConfigurationScanApplyConfiguration represents a declarative configuration of the WorkloadConfigurationScan type for use with apply.

WorkloadConfigurationScan is a custom resource that describes a configuration scan result of a workload.

func WorkloadConfigurationScan

func WorkloadConfigurationScan(name, namespace string) *WorkloadConfigurationScanApplyConfiguration

WorkloadConfigurationScan constructs a declarative configuration of the WorkloadConfigurationScan type for use with apply.

func (*WorkloadConfigurationScanApplyConfiguration) GetAPIVersion added in v0.0.221

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*WorkloadConfigurationScanApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*WorkloadConfigurationScanApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*WorkloadConfigurationScanApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (WorkloadConfigurationScanApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b WorkloadConfigurationScanApplyConfiguration) IsApplyConfiguration()

func (*WorkloadConfigurationScanApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*WorkloadConfigurationScanApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*WorkloadConfigurationScanApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*WorkloadConfigurationScanApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*WorkloadConfigurationScanApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*WorkloadConfigurationScanApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration

type WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration struct {
	Critical *int64 `json:"critical,omitempty"`
	High     *int64 `json:"high,omitempty"`
	Medium   *int64 `json:"medium,omitempty"`
	Low      *int64 `json:"low,omitempty"`
	Unknown  *int64 `json:"unknown,omitempty"`
}

WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration represents a declarative configuration of the WorkloadConfigurationScanSeveritiesSummary type for use with apply.

func WorkloadConfigurationScanSeveritiesSummary

func WorkloadConfigurationScanSeveritiesSummary() *WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration

WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration constructs a declarative configuration of the WorkloadConfigurationScanSeveritiesSummary type for use with apply.

func (*WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration) WithCritical

WithCritical sets the Critical field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Critical field is set to the value of the last call.

func (*WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration) WithHigh

WithHigh sets the High field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the High field is set to the value of the last call.

func (*WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration) WithLow

WithLow sets the Low field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Low field is set to the value of the last call.

func (*WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration) WithMedium

WithMedium sets the Medium field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Medium field is set to the value of the last call.

func (*WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration) WithUnknown

WithUnknown sets the Unknown field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unknown field is set to the value of the last call.

type WorkloadConfigurationScanSpecApplyConfiguration

type WorkloadConfigurationScanSpecApplyConfiguration struct {
	Controls       map[string]ScannedControlApplyConfiguration   `json:"controls,omitempty"`
	RelatedObjects []WorkloadScanRelatedObjectApplyConfiguration `json:"relatedObjects,omitempty"`
}

WorkloadConfigurationScanSpecApplyConfiguration represents a declarative configuration of the WorkloadConfigurationScanSpec type for use with apply.

func WorkloadConfigurationScanSpec

func WorkloadConfigurationScanSpec() *WorkloadConfigurationScanSpecApplyConfiguration

WorkloadConfigurationScanSpecApplyConfiguration constructs a declarative configuration of the WorkloadConfigurationScanSpec type for use with apply.

func (*WorkloadConfigurationScanSpecApplyConfiguration) WithControls

WithControls puts the entries into the Controls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Controls field, overwriting an existing map entries in Controls field with the same key.

func (*WorkloadConfigurationScanSpecApplyConfiguration) WithRelatedObjects

WithRelatedObjects adds the given value to the RelatedObjects field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RelatedObjects field.

type WorkloadConfigurationScanSummaryApplyConfiguration

type WorkloadConfigurationScanSummaryApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *WorkloadConfigurationScanSummarySpecApplyConfiguration `json:"spec,omitempty"`
}

WorkloadConfigurationScanSummaryApplyConfiguration represents a declarative configuration of the WorkloadConfigurationScanSummary type for use with apply.

WorkloadConfigurationScanSummary is a summary of a WorkloadConfigurationScan

func WorkloadConfigurationScanSummary

func WorkloadConfigurationScanSummary(name, namespace string) *WorkloadConfigurationScanSummaryApplyConfiguration

WorkloadConfigurationScanSummary constructs a declarative configuration of the WorkloadConfigurationScanSummary type for use with apply.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) GetAPIVersion added in v0.0.221

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) GetKind added in v0.0.221

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) GetNamespace added in v0.0.221

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (WorkloadConfigurationScanSummaryApplyConfiguration) IsApplyConfiguration added in v0.0.221

func (b WorkloadConfigurationScanSummaryApplyConfiguration) IsApplyConfiguration()

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type WorkloadConfigurationScanSummaryIdentifierApplyConfiguration

type WorkloadConfigurationScanSummaryIdentifierApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Kind      *string `json:"kind,omitempty"`
	Name      *string `json:"name,omitempty"`
}

WorkloadConfigurationScanSummaryIdentifierApplyConfiguration represents a declarative configuration of the WorkloadConfigurationScanSummaryIdentifier type for use with apply.

WorkloadConfigurationScanSummaryIdentifier includes information needed to identify a WorkloadConfigurationScanSummary object

func WorkloadConfigurationScanSummaryIdentifier

func WorkloadConfigurationScanSummaryIdentifier() *WorkloadConfigurationScanSummaryIdentifierApplyConfiguration

WorkloadConfigurationScanSummaryIdentifierApplyConfiguration constructs a declarative configuration of the WorkloadConfigurationScanSummaryIdentifier type for use with apply.

func (*WorkloadConfigurationScanSummaryIdentifierApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryIdentifierApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*WorkloadConfigurationScanSummaryIdentifierApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

type WorkloadConfigurationScanSummarySpecApplyConfiguration

type WorkloadConfigurationScanSummarySpecApplyConfiguration struct {
	Severities *WorkloadConfigurationScanSeveritiesSummaryApplyConfiguration `json:"severities,omitempty"`
	Controls   map[string]ScannedControlSummaryApplyConfiguration            `json:"controls,omitempty"`
}

WorkloadConfigurationScanSummarySpecApplyConfiguration represents a declarative configuration of the WorkloadConfigurationScanSummarySpec type for use with apply.

func WorkloadConfigurationScanSummarySpec

func WorkloadConfigurationScanSummarySpec() *WorkloadConfigurationScanSummarySpecApplyConfiguration

WorkloadConfigurationScanSummarySpecApplyConfiguration constructs a declarative configuration of the WorkloadConfigurationScanSummarySpec type for use with apply.

func (*WorkloadConfigurationScanSummarySpecApplyConfiguration) WithControls

WithControls puts the entries into the Controls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Controls field, overwriting an existing map entries in Controls field with the same key.

func (*WorkloadConfigurationScanSummarySpecApplyConfiguration) WithSeverities

WithSeverities sets the Severities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severities field is set to the value of the last call.

type WorkloadScanRelatedObjectApplyConfiguration

type WorkloadScanRelatedObjectApplyConfiguration struct {
	Namespace  *string `json:"namespace,omitempty"`
	APIGroup   *string `json:"apiGroup,omitempty"`
	APIVersion *string `json:"apiVersion,omitempty"`
	Kind       *string `json:"kind,omitempty"`
	Name       *string `json:"name,omitempty"`
}

WorkloadScanRelatedObjectApplyConfiguration represents a declarative configuration of the WorkloadScanRelatedObject type for use with apply.

func WorkloadScanRelatedObject

func WorkloadScanRelatedObject() *WorkloadScanRelatedObjectApplyConfiguration

WorkloadScanRelatedObjectApplyConfiguration constructs a declarative configuration of the WorkloadScanRelatedObject type for use with apply.

func (*WorkloadScanRelatedObjectApplyConfiguration) WithAPIGroup

WithAPIGroup sets the APIGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIGroup field is set to the value of the last call.

func (*WorkloadScanRelatedObjectApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*WorkloadScanRelatedObjectApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*WorkloadScanRelatedObjectApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*WorkloadScanRelatedObjectApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

Source Files

Jump to

Keyboard shortcuts

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