Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 6.52 KB

V1DeleteOptions.md

File metadata and controls

186 lines (101 loc) · 6.52 KB

V1DeleteOptions

Properties

Name Type Description Notes
ApiVersion Pointer to string APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources [optional]
GracePeriodSeconds Pointer to int64 The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. [optional]
Kind Pointer to string Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds [optional]
OrphanDependents Pointer to bool Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. [optional]
Preconditions Pointer to V1Preconditions [optional]
PropagationPolicy Pointer to V1DeletionPropagation [optional]

Methods

NewV1DeleteOptions

func NewV1DeleteOptions() *V1DeleteOptions

NewV1DeleteOptions instantiates a new V1DeleteOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewV1DeleteOptionsWithDefaults

func NewV1DeleteOptionsWithDefaults() *V1DeleteOptions

NewV1DeleteOptionsWithDefaults instantiates a new V1DeleteOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetApiVersion

func (o *V1DeleteOptions) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *V1DeleteOptions) GetApiVersionOk() (*string, bool)

GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetApiVersion

func (o *V1DeleteOptions) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *V1DeleteOptions) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetGracePeriodSeconds

func (o *V1DeleteOptions) GetGracePeriodSeconds() int64

GetGracePeriodSeconds returns the GracePeriodSeconds field if non-nil, zero value otherwise.

GetGracePeriodSecondsOk

func (o *V1DeleteOptions) GetGracePeriodSecondsOk() (*int64, bool)

GetGracePeriodSecondsOk returns a tuple with the GracePeriodSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGracePeriodSeconds

func (o *V1DeleteOptions) SetGracePeriodSeconds(v int64)

SetGracePeriodSeconds sets GracePeriodSeconds field to given value.

HasGracePeriodSeconds

func (o *V1DeleteOptions) HasGracePeriodSeconds() bool

HasGracePeriodSeconds returns a boolean if a field has been set.

GetKind

func (o *V1DeleteOptions) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *V1DeleteOptions) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *V1DeleteOptions) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *V1DeleteOptions) HasKind() bool

HasKind returns a boolean if a field has been set.

GetOrphanDependents

func (o *V1DeleteOptions) GetOrphanDependents() bool

GetOrphanDependents returns the OrphanDependents field if non-nil, zero value otherwise.

GetOrphanDependentsOk

func (o *V1DeleteOptions) GetOrphanDependentsOk() (*bool, bool)

GetOrphanDependentsOk returns a tuple with the OrphanDependents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOrphanDependents

func (o *V1DeleteOptions) SetOrphanDependents(v bool)

SetOrphanDependents sets OrphanDependents field to given value.

HasOrphanDependents

func (o *V1DeleteOptions) HasOrphanDependents() bool

HasOrphanDependents returns a boolean if a field has been set.

GetPreconditions

func (o *V1DeleteOptions) GetPreconditions() V1Preconditions

GetPreconditions returns the Preconditions field if non-nil, zero value otherwise.

GetPreconditionsOk

func (o *V1DeleteOptions) GetPreconditionsOk() (*V1Preconditions, bool)

GetPreconditionsOk returns a tuple with the Preconditions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPreconditions

func (o *V1DeleteOptions) SetPreconditions(v V1Preconditions)

SetPreconditions sets Preconditions field to given value.

HasPreconditions

func (o *V1DeleteOptions) HasPreconditions() bool

HasPreconditions returns a boolean if a field has been set.

GetPropagationPolicy

func (o *V1DeleteOptions) GetPropagationPolicy() V1DeletionPropagation

GetPropagationPolicy returns the PropagationPolicy field if non-nil, zero value otherwise.

GetPropagationPolicyOk

func (o *V1DeleteOptions) GetPropagationPolicyOk() (*V1DeletionPropagation, bool)

GetPropagationPolicyOk returns a tuple with the PropagationPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPropagationPolicy

func (o *V1DeleteOptions) SetPropagationPolicy(v V1DeletionPropagation)

SetPropagationPolicy sets PropagationPolicy field to given value.

HasPropagationPolicy

func (o *V1DeleteOptions) HasPropagationPolicy() bool

HasPropagationPolicy returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]