import { Bucket } from '../../kubernetes/bucket' ; import { KubernetesObjectKinds } from '../../kubernetes/kubernetesTypes' ; import { SourceNode } from './sourceNode' ; /**
 * Defines Bucket tree view item for display in GitOps Sources tree view.
 */ export class BucketNode extends SourceNode { /**
     * Bucket kubernetes resource object
     */ resource : Bucket ; param bucket constructor ( bucket ) { super ( `${ KubernetesObjectKinds . Bucket }: ${ bucket . metadata ?. name }` , bucket ) ; this . resource = bucket ; } get contexts ( ) { return [ KubernetesObjectKinds . Bucket ] ; } }