conflict

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright The KubeVirt Authors *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conflict

type Conflict struct {
	Message string
	k8sfield.Path
}

func New

func New(name string, moreNames ...string) *Conflict

func NewFromPath

func NewFromPath(path *k8sfield.Path) *Conflict

func NewWithMessage

func NewWithMessage(message, name string, moreNames ...string) *Conflict

func (Conflict) Error

func (c Conflict) Error() string

func (Conflict) NewChild

func (c Conflict) NewChild(name string, moreNames ...string) *Conflict

func (Conflict) StatusCause

func (c Conflict) StatusCause() metav1.StatusCause

func (Conflict) StatusCauses

func (c Conflict) StatusCauses() []metav1.StatusCause

type Conflicts

type Conflicts []*Conflict

func (Conflicts) Error

func (c Conflicts) Error() string

func (Conflicts) StatusCauses

func (c Conflicts) StatusCauses() []metav1.StatusCause

func (Conflicts) String

func (c Conflicts) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳